import $_$ from './$_$.js';$_$();const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./2a9b7a366c.js","./9f7caaaaf6.js","./eb3821a60d.js","./484e1b9ac3.js","./a7e15c4845.js","./892c6f8e0f.js","./469783c97f.css","./9ab6d8e8ac.js","./918d15f9da.css","./4b0b80c51e.js","./92378e308c.css","./b0fc06344d.js","./5ae5bcf75c.css","./971fd910e9.js","./2dd619fc7a.css","./cf3713ed8d.js","./c92eff0290.css","./58f6a91bf5.js","./74e8bf35fc.css","./46e6817dd6.js","./85f43e6426.css","./5a438d9b8f.js","./47db9d217c.js","./42b53dd1a2.js","./6c8397f9d5.css","./a9f4faa64d.js","./a1e200f844.css","./e577767680.js","./56c51ee8b8.css","./b88247e1e4.js","./3526ffe1bd.css","./7097cc4078.js","./3216f135e2.css","./30385a8a6c.js","./cad597f06b.css","./ab8e7522c4.js","./1081d625ac.css","./5953df7dac.js","./4d8f353061.css","./8e02576cf2.js","./3ac64e2370.css","./9c7446d4ef.js","./c683825504.css","./22be32b7ea.js","./30a6a543f6.css","./9ef23bce9e.js","./e452f25b33.css","./81cf202c82.js","./c6d8406711.css","./d5ddc220b2.js","./b2527fab38.css","./cf4cd7fe14.js","./950fd29068.js","./5996e45d66.js","./6a457dfa19.css","./a3ddad22b7.js","./8b9981a575.js","./85ce0a46ec.css","./3978f8b107.css","./be66a82f7f.js","./984476dacb.css","./6a0a9e3315.js","./2b86251893.css","./ed81cc837b.js","./b81ca7567e.js","./5ebe85011d.js","./59461d7890.css","./d4f8f248b6.js","./1281c6e112.css","./9d862feb81.css","./f63b2be2be.js","./228a6fae5b.css","./2c04442ced.js","./78282646d0.js","./9b262bec22.js","./4cc0e98526.js","./226de1e5cb.css","./1c69b62ff1.css","./4bf116f9e1.js","./70df3c44d3.css","./25181c5050.js","./c482bf55ab.css","./7181b100d5.js","./f78aa469b3.css","./fd43faf77a.js","./fb10446205.css","./40769b8687.js","./9332bbc558.js","./f23b526083.js","./d38b956196.css","./f548ba3389.css","./4b5190f5b8.js","./2e7e95c197.css","./d71ac8722f.js"])))=>$_$() && i.map(i=>d[i]); var Au=Object.defineProperty,Pu=Object.defineProperties;var Lu=Object.getOwnPropertyDescriptors;var bi=Object.getOwnPropertySymbols;var wu=Object.prototype.hasOwnProperty,Nu=Object.prototype.propertyIsEnumerable;var Ri=(e,t,n)=>t in e?Au(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t)=>{for(var n in t||(t={}))wu.call(t,n)&&Ri(e,n,t[n]);if(bi)for(var n of bi(t))Nu.call(t,n)&&Ri(e,n,t[n]);return e},nt=(e,t)=>Pu(e,Lu(t));import{joinRelativeURL as vl,useNuxtApp as Vo,useRouter_6b031e as Nt,isChangingPage as Du,execAsync as v,createBlock as $,openBlock as g,default_8eb60a as Ol,createElementBlock as k,BettingRouteName as Ao,BonusSections as br,useSharedStore_b85e39 as zo,AppStorageKey as tt,useFatmanCollector as bl,useAppStorage as Kt,useLogger_b85e39 as ht,getConfig as _e,VALID_PUNCTUATION as Rr,default_9d3c17 as Mn,default_88453a as Rl,default_37cfed as Fn,getCountryCallingCode_9d3c17 as Al,default_822b7c as Uu,default_7ac351 as ku,isPossibleNumber as Bu,withMetadata as $u,useLogger_ec21ed as To,noop as Vr,isDef as ge,defineComponent as W,useVueDemiVModel as Fu,toRefs as un,wrapScopeProperty_6d714c as Mu,ref as J,computed_a82cbf as m,unref as o,onActivated as Gu,onDeactivated as Hu,onBeforeUnmount as ao,h_a82cbf as Ar,dateTimeFormatTypes as Vu,DEFAULT_TIME_DATE_FORMAT_TYPE as zu,V_MODEL_VALUE_KEY as Wu,shallowRef as $o,onBeforeMount as Gn,nextTick as Yt,isVue2 as Ku,createSharedComposable_62cfb9 as Yu,watchOnce as ju,useMemoryStorage_b85e39 as qu,useFingerprint as xu,createSharedComposable_4f3e37 as Jt,ModalStorage_852d9b as Xu,useRuntimeConfig_660506 as Pl,onAppUnmounted as Qu,defineAsyncComponent as bs,ExtendedPromise as Ai,inject as dt,useForm as Ll,useValidators as Zu,useCookies as _n,useApiInstances as zr,siteCaptcha as Ju,default_6f3c80 as pt,useT as Be,apiMethodFactory as K,genCurrencyParam as wl,useMemoryStorage_c7afb2 as Wr,useHttpModule as Et,useGlobalStore as ve,preloadModal as e_,overlayBlur as t_,lockBody as o_,default_7a1b84 as Nl,genLngParam as Rs,iconLogos as st,getConfigs as lo,isString_097ebc as gt,createModal_52c778 as jt,JsonApiHeaders as Fo,BLOCK_APPEAL_PATH as Dl,useAnalytics as Dt,useNotifications_ef35af as vt,useRouterMethodsByLang as ot,useUserConfigStore as As,useWebApi as Hn,X_CAPTCHA_TOKEN as Kr,errorAlert as n_,notCloseByClickOutside as Vn,onMounted as Ps,code as s_,useVModal_b85e39 as Ot,OfficeRouteName as rt,useRouterMethodsWithLang as r_,useDateTimeService as Es,iconName as Ce,REGEX_EMAIL as i_,watch_a82cbf as xe,OfficeRouteNames as Ls,crypt as Vt,default_2206c5 as Ul,resolveComponent as B,normalizeClass as Re,createVNode as C,createCommentVNode as Y,withCtx as y,default_8ca5cb as ws,createElementVNode as A,toDisplayString as N,renderSlot as qe,createTextVNode as G,WeightType as Ke,sizeType_3d53ba as M,resolveDirective as Xe,withDirectives as Te,ICON_LOGOS_PATH as Ns,themeType_d5f3b5 as he,Fragment as Se,renderList as Ge,default_92ac2a as so,default_c9092c as zn,whenever_ed8d85 as yo,ColorType as Wt,withModifiers as Mo,vShow as eo,default_59e09b as kl,default_e43c4a as Bl,isNumber as $l,isObject_337462 as Yr,deepMerge as a_,toFirstLetterUpperCase as Fl,default_c5c223 as l_,deepClone as c_,useRoute_b41010 as u_,useRoute_6b031e as at,onAppDestroyed as __,useCoreBus as Ml,useAnalyticsModules as qt,reactive as Gl,isArray_335f80 as d_,retry as p_,defineEmit_147c77 as Go,retryPromise as m_,useRouter_8e6467 as f_,default_c45810 as Hl,default_da8335 as Co,defaultThemeType as g_,copyToClipboard as jr,assert as Ln,HttpClient as sn,RequestError as Pr,default_7595e6 as h_,genTextParam as Vl,genGeoIdParam as E_,genConfirmCodeParam as Ds,genAccountIdParam as T_,ACCOUNT_ID_SNAKE as y_,genPasswordConfirmationParam as C_,genPasswordParam as I_,genCountryCodeParam as S_,genPhoneParam as v_,genTypedDateParam as Ts,DATE_TO as zl,DATE_FROM as Wl,CAPTCHA_ERROR as O_,default_e0f31a as b_,loadDictionary as R_,default_c4ec8b as A_,default_14a337 as P_,default_fd078a as Kl,default_ac4c13 as Yl,ThirdPartyRouteName as Pi,responsibleGamblingLogos as L_,default_d62bea as qr,resolveDynamicComponent as Ye,default_b60dee as xr,default_245000 as Wn,default_497e7e as jl,default_aaf9ee as ql,isRef as St,normalizeProps as Li,guardReactiveProps as wi,default_95284d as Kn,default_6a2650 as Us,useFormatCurrency as w_,mergeProps as Yn,withAsyncContext as Po,onUnmounted as ks,createSlots as jn,SelectionType as xl,useToggle_c8aebe as Xr,default_288f0d as Xl,toRef as Ni,default_fe3d47 as Ql,default_3b18f5 as Zl,genRefParam as Jl,default_aabf4e as Qr,normalizeStyle as cn,MEDIA_EXTENSIONS as io,default_3d64ac as qn,default_731783 as Zr,default_a2f2e4 as Jr,default_6583d2 as dn,default_ea6b71 as ei,RegistrationFirstDepositBonusSelectionType as Di,useMediaUrl as ti,injectRemoteComponent as ec,InformationRouteName as ze,unrefElement as N_,useRemoteProvider as D_,useScreenStore as U_,useEventResize as k_,default_edbda7 as tc,setInterval as B_,maskedPhone as $_,default_1ea938 as oc,statusType_0fe1fe as F_,ModalImageType as oi,default_d8df96 as Wo,default_b0482e as Ko,default_8bd027 as ro,default_a01ced as xn,default_b2801c as ys,wheneverOnce as M_,getFormattedLicenseText as G_,setBlockTracking as Ui,ICON_BONUS_PATH as H_,ICON_COLORED_SVG_PATH as V_,wrapMicrofrontRoutes as z_,default_4c9d6e as W_,default_5b8934 as K_,default_f08858 as Y_,default_a24695 as j_,default_a713f8 as q_,defineNuxtPlugin as co,createWebHashHistory as x_,createWebHistory as X_,createRouter as Q_,START_LOCATION as ki,shallowReactive as Z_,useError as nc,clearError as J_,showError as Nn,isReadonly as ed,toArray as sc,createError_16b807 as Bi,withoutBase as $i,isEqual as td,hasProtocol as od,default_568e3c as nd,default_9c5184 as sd,default_fa4184 as rd,default_1dd0e2 as id,default_e13083 as ad,default_95b993 as ld,default_82aae1 as cd,default_d4432b as ud,default_2879e5 as _d,default_e8178d as dd,default_998f03 as pd,default_5e3b14 as md,default_b2ba55 as fd,default_9a1004 as gd,default_eeee71 as hd,default_fb4011 as Ed,default_749566 as Td,default_6cb533 as yd,default_ee1b4c as Cd,default_7d50e0 as Id,default_a6c888 as Sd,default_930370 as vd,default_a78eb1 as Od,default_f5c6cf as bd,default_94c9ac as Rd,default_bbd4e1 as Ad,default_347f5c as Pd,default_d09372 as Ld,default_8e7c99 as wd,default_5fbe67 as Nd,default_c868a1 as Dd,default_3ba17f as Ud,default_3d4239 as kd,default_923f50 as Bd,default_ca65ef as $d,default_02beb9 as Fd,default_e4a85b as Md,default_8fd835 as Gd,default_c2893f as Hd,default_1e43eb as Vd,default_78dc03 as zd,default_1c2af4 as Wd,default_565479 as Kd,default_0fe3b5 as Yd,default_0c4981 as jd,default_897ad2 as qd,default_60efed as xd,default_6a90f2 as Xd,default_74ba69 as Qd,default_b8b6f5 as Zd,default_877151 as Jd,default_373a96 as ep,default_99c881 as tp,default_fc915e as op,default_1bae8c as np,default_a4980f as sp,default_8e1876 as rp,default_43fea7 as ip,default_198c81 as ap,default_28882b as lp,default_9853ce as cp,default_b0ca26 as up,default_4711aa as _p,default_74d990 as dp,default_c15e94 as pp,default_6a1b6b as mp,default_f544ce as fp,default_0d8da1 as gp,default_76591a as hp,default_20c0a8 as Ep,default_79a217 as Tp,default_77af2c as yp,default_e9a89b as Cp,default_fe930d as Ip,default_928f76 as Sp,default_8311e4 as vp,default_a6ecd4 as Op,default_052a92 as bp,default_e5f647 as Rp,default_a856f7 as Ap,default_26c89e as Pp,default_537df7 as Lp,default_8d752e as wp,default_bf3b47 as Np,default_87b97a as Dp,default_d2a4be as Up,default_19b54b as kp,default_5edf03 as Bp,default_a3bf10 as $p,default_a989dc as Fp,default_494832 as Mp,default_c456d2 as Gp,default_647494 as Hp,default_6dee80 as Vp,default_39d954 as zp,default_9a434d as Wp,default_5eeb41 as Kp,default_cb4910 as Yp,default_ad5cd4 as jp,default_2dca1f as qp,default_c000ac as xp,default_44da1f as Xp,default_3aaf49 as Qp,default_ec4f36 as Zp,default_697abc as Jp,default_5c69da as em,default_922323 as tm,default_8af084 as om,default_984ea7 as nm,default_bca03e as sm,default_9c3748 as rm,default_9dd23a as im,default_e97508 as am,default_7fd5fe as lm,default_d1e440 as cm,default_fd32fa as um,default_f11373 as _m,default_905097 as dm,default_7d5621 as pm,default_93dcb4 as mm,default_4c292b as fm,default_7a32f0 as gm,default_888a89 as hm,default_42944c as Em,default_2043ea as Tm,default_36b076 as ym,default_e6e420 as Cm,default_b98928 as Im,default_dbd7f4 as Sm,default_315325 as vm,default_0c36d0 as Om,default_bf590a as bm,default_b92324 as Rm,default_3d2ce0 as Am,default_ce6cd0 as Pm,default_f1709f as Lm,default_1cc602 as wm,default_4951ac as Nm,default_a1db29 as Dm,default_592ab5 as Um,apiInstances as km,DependencyName as Bm,useAnalyticsEvents as $m,loadConfigs as Fm,range as Mm,defineAppConfig as Gm,LeavingPage as wn,onScopeDispose as Hm,useDictionaryService as Vm,useTimeSettings as zm,provideComponent as et,isRemoteView as Wm,isEmbedded as Km,getServerDataKey as Ym,default_cb1620 as jm,default_8ba650 as qm,default_6acfd6 as xm,default_d7dc09 as Xm,default_67857a as Qm,default_2d6ac3 as Zm,default_83c079 as Jm,provide as ef,PageRouteSymbol as tf,onErrorCaptured as of,isNuxtError as nf,Suspense as sf,default_c6133a as rf,sharedEntry as af}from"../../../shared-assets/Desktop/__shared_base-app_c04bff29a2.js";const lf=()=>{var e;return((e=window==null?void 0:window[window.__APP])==null?void 0:e.config)||{}},Cs=()=>lf().app,cf=()=>Cs().baseURL,uf=()=>Cs().buildAssetsDir,_f=(...e)=>$_$() && vl(rc(),uf(),...e),rc=(...e)=>{$_$();const t=Cs().cdnURL||Cs().baseURL;return e.length?vl(t,...e):t};window.__buildAssetsURL=_f,window.__publicAssetsURL=rc;const df=!1,zs=[],pf={scrollBehavior(e,t,n){$_$();var u,_;const s=Vo(),r=(_=(u=Nt().options)==null?void 0:u.scrollBehaviorType)!=null?_:"auto";let i=n||void 0;const a=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!i&&t&&e&&a!==!1&&Du(e,t)&&(i={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Fi(e.hash),behavior:r}:!1;const l=d=>{var f;return!!((f=d.meta.pageTransition)!=null?f:df)},c=l(t)&&l(e)?"page:transition:finish":"page:finish";return new Promise(d=>{s.hooks.hookOnce(c,async()=>{$_$();let f,p;[f,p]=v(()=>new Promise(h=>setTimeout(h,0))),await f,p(),e.hash&&(i={el:e.hash,top:Fi(e.hash),behavior:r}),d(i)})})}};function Fi(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch(t){}return 0}const j=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},mf={};function ff(e,t){$_$();const n=Ol;return g(),$(n)}const gf=j(mf,[["render",ff]]);var Dn=(e=>(e.LOGIN_PASSWORD="login_password",e.LOGIN_PASSWORD_TWO_STEP_CODE="login_password_two_step_code",e.PHONE_PASSWORD="phone_password",e.SMS="sms",e.SOCIAL="social",e.PHONE_ACTIVATION="phone_activation",e.PHONE_VERIFICATION="phone_verification",e))(Dn||{});const QN={1:Dn.LOGIN_PASSWORD,2:Dn.PHONE_PASSWORD,3:Dn.SMS,4:Dn.SOCIAL},hf="comp_d";var ic=(e=>(e.RESPONSIBLE="responsible",e))(ic||{});const Ef=[{id:ic.RESPONSIBLE,title:"Responsible gambling",translationKey:"link_menu_responsible_gaming",url:"/information/rules/responsible"}];var Un=(e=>(e[e.AS_IMAGE=1]="AS_IMAGE",e[e.AS_FILE=2]="AS_FILE",e[e.COPY_DATA=3]="COPY_DATA",e[e.ON_EMAIL=4]="ON_EMAIL",e))(Un||{});const ps="return-url",Tf={};function yf(e,t){$_$();return g(),k("div")}const it=j(Tf,[["render",yf]]),Cf=Object.freeze(Object.defineProperty({__proto__:null,default:it},Symbol.toStringTag,{value:"Module"})),If=[{name:Ao.HOME,path:"",component:it,meta:{3:[301]}}],Sf=[{path:"bonus",children:[{name:"bonus",path:`${br.RULES}/:id`,component:it},{name:"bonuses-rules",path:br.RULES,component:it}]}],vf=()=>{$_$();const t=zo().get("welcomeApp/navigationIsBlocked",void 0);return{navigationBlock:()=>{t.value=!0},navigationUnblock:()=>{t.value=!1}}};var Of=Object.defineProperty,Mi=Object.getOwnPropertySymbols,bf=Object.prototype.hasOwnProperty,Rf=Object.prototype.propertyIsEnumerable,Gi=(e,t,n)=>t in e?Of(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hi=(e,t)=>{for(var n in t||(t={}))bf.call(t,n)&&Gi(e,n,t[n]);if(Mi)for(var n of Mi(t))Rf.call(t,n)&&Gi(e,n,t[n]);return e};const Vi=({appStorage:e,logger:t})=>{const n=async a=>{$_$();let l,c;try{[l,c]=v(()=>$_$() && e.setItem(tt.ANALYTICS_METRICS,a,{expireDate:new Date(Date.now()+864e5)})),await l,c()}catch(u){t.warn(`AnalyticsModule appStorage error ${u}`)}};return{setStorage:n,updateActionsMetrics:async(a,l)=>{$_$();let c,u;[c,u]=v(()=>n(Hi(Hi({},a),l))),await c,u()},resetStorage:async()=>{$_$();let a,l;[a,l]=v(()=>n({})),await a,l()},getStorage:async()=>{$_$();let a,l;try{const c=([a,l]=v(()=>$_$() && e.getItem(tt.ANALYTICS_METRICS)),a=await a,l(),a);return c!=null?c:void 0}catch(c){t.warn(`AnalyticsModule appStorage error ${c}`);return}}}},Af=({fatmanCollector:e,appStorage:t,logger:n,isFatmanAnalyticsAvailable:s})=>{const{push:r,send:i}=e!=null?e:{push(S,I,R){},send(S,I){}},a=(S,I)=>{s&&i(S,I)},l=(S,I)=>{s&&r(S,I)};return{sendClickRegistrationBtn:S=>{l(1e3,{s1:S})},sendEventSmsWasSend:()=>{l(1247)},sendFailSendSms:S=>{l(1253,{s1:S})},sendCorrectCodeFromSms:()=>{l(1252)},clickNotReceivedSms:async()=>{$_$();var S,I;let R,b;const{getStorage:D}=Vi({appStorage:t,logger:n}),w=(S=([R,b]=v(()=>D()),R=await R,b(),R))!=null?S:{},U=(I=w.authTryCounter)!=null?I:0,F=w.lastAuthPopUpCallTime,z=F?Math.trunc((Date.now()-F)/1e3):0;l(1004,{i1:U,i2:z})},sendSuccessfullBet:({couponType:S,coefType:I,userGeo:R,userRef:b})=>{a(1e4,{i1:S,i2:I,i3:b,s1:R.toLowerCase()})},sendSuccessfullReg:async({type:S,countryCode:I,geoCountryCode:R,userId:b})=>{$_$();var D,w,U,F;let z,q;const{getStorage:ee}=Vi({appStorage:t,logger:n}),x=(D=([z,q]=v(()=>ee()),z=await z,q(),z))!=null?D:{},oe=(w=x.regTryCounter)!=null?w:0,le=x.lastRegCallTime,Ee=le?Math.trunc((Date.now()-le)/1e3):0,ce=(F=I||((U=x==null?void 0:x.socialData)==null?void 0:U.countryCode)||R)==null?void 0:F.toLowerCase();b&&(e==null||e.setUserId(b)),a(1255,{i1:0,i2:Ee,i3:oe,s1:S,s2:ce})},sendPaymentsPageEvent:()=>{l(10002)},sendPaymentsStatus:S=>{a(10001,{i1:S})},sendEvent:a,sendCaptchaStatusSuccess:(S,I,R)=>{l(10190,{i1:S,s1:I,s2:R})},sendCaptchaStatusFailed:(S,I,R)=>{l(10191,{i1:S,s1:I,s2:R})},sendEventWithUserSetting:(S,I,R)=>{R&&(e==null||e.setUserId(R)),a(S,I)}}},Io=()=>{$_$();var e;const t=bl(),n=Kt(),s=ht(),r=(e=_e(509))!=null?e:!0;return Af({fatmanCollector:t,appStorage:n,logger:s,isFatmanAnalyticsAvailable:r})};var rs,Pf=new Uint8Array(16);function Lf(){if(!rs&&(rs=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!rs))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return rs(Pf)}const wf=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Nf(e){return typeof e=="string"&&wf.test(e)}var ut=[];for(var Ws=0;Ws<256;++Ws)ut.push((Ws+256).toString(16).substr(1));function Df(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(ut[e[t+0]]+ut[e[t+1]]+ut[e[t+2]]+ut[e[t+3]]+"-"+ut[e[t+4]]+ut[e[t+5]]+"-"+ut[e[t+6]]+ut[e[t+7]]+"-"+ut[e[t+8]]+ut[e[t+9]]+"-"+ut[e[t+10]]+ut[e[t+11]]+ut[e[t+12]]+ut[e[t+13]]+ut[e[t+14]]+ut[e[t+15]]).toLowerCase();if(!Nf(n))throw TypeError("Stringified UUID is invalid");return n}function Uf(e,t,n){e=e||{};var s=e.random||(e.rng||Lf)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,Df(s)}const ZN=()=>Uf();function kf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Zt=function e(t){kf(this,e),this.name=this.constructor.name,this.message=t,this.stack=new Error(t).stack};Zt.prototype=Object.create(Error.prototype);Zt.prototype.constructor=Zt;var ni=2,Bf=17,$f=3,Ro="0-90-9٠-٩۰-۹",si="++",Ff=";ext=",rn=function(t){return"([".concat(Ro,"]{1,").concat(t,"})")};function ac(e){var t="20",n="15",s="9",r="6",i="[  \\t,]*",a="[:\\..]?[  \\t,-]*",l="#?",c="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",u="(?:[xx##~~]|int|int)",_="[- ]+",d="[  \\t]*",f="(?:,{2}|;)",p=Ff+rn(t),h=i+c+a+rn(t)+l,E=i+u+a+rn(s)+l,T=_+rn(r)+"#",P=d+f+a+rn(n)+l,O=d+"(?:,)+"+a+rn(s)+l;return p+"|"+h+"|"+E+"|"+T+"|"+P+"|"+O}var Mf="["+Ro+"]{"+ni+"}",Gf="["+si+"]{0,1}(?:["+Rr+"]*["+Ro+"]){3,}["+Rr+Ro+"]*",Hf=new RegExp("^["+si+"]{0,1}(?:["+Rr+"]*["+Ro+"]){1,2}$","i"),Vf=Gf+"(?:"+ac()+")?",zf=new RegExp("^"+Mf+"$|^"+Vf+"$","i");function lc(e){return e.length>=ni&&zf.test(e)}function Wf(e){return Hf.test(e)}var zi=new RegExp("(?:"+ac()+")$","i");function Kf(e){var t=e.search(zi);if(t<0)return{};for(var n=e.slice(0,t),s=e.match(zi),r=1;r=r.length)break;i=r[s++]}else{if(s=r.next(),s.done)break;i=s.value}var a=i;t+=qf(a,t)||""}return t}function qf(e,t){return e==="+"?t?void 0:"+":jf(e)}function xf(e,t){return Zf(e)||Qf(e,t)||Xf()}function Xf(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Qf(e,t){var n=[],s=!0,r=!1,i=void 0;try{for(var a=e[Symbol.iterator](),l;!(s=(l=a.next()).done)&&(n.push(l.value),!(t&&n.length===t));s=!0);}catch(c){r=!0,i=c}finally{try{!s&&a.return!=null&&a.return()}finally{if(r)throw i}}return n}function Zf(e){if(Array.isArray(e))return e}function Jf(e){var t,n;e=e.replace(/^tel:/,"tel=");for(var i=e.split(";"),s=Array.isArray(i),r=0,i=s?i:i[Symbol.iterator]();;){var a;if(s){if(r>=i.length)break;a=i[r++]}else{if(r=i.next(),r.done)break;a=r.value}var l=a,c=l.split("="),u=xf(c,2),_=u[0],d=u[1];switch(_){case"tel":t=d;break;case"ext":n=d;break;case"phone-context":d[0]==="+"&&(t=d+t);break}}if(!lc(t))return{};var f={number:t};return n&&(f.ext=n),f}var eg=new RegExp("(["+Ro+"])");function tg(e,t,n,s){$_$();if(t){var r=new Mn(s);r.selectNumberingPlan(t,n);var i=new RegExp(r.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var a=e.match(eg);if(!(a&&a[1]!=null&&a[1].length>0&&a[1]==="0"))return e}}}function og(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),s=n.exec(e);if(s){var r,i,a=s.length-1,l=a>0&&s[a];if(t.nationalPrefixTransformRule()&&l)r=e.replace(n,t.nationalPrefixTransformRule()),a>1&&(i=s[1]);else{var c=s[0];r=e.slice(c.length),l&&(i=s[1])}var u;if(l){var _=e.indexOf(s[1]),d=e.slice(0,_);d===t.numberingPlan.nationalPrefix()&&(u=t.numberingPlan.nationalPrefix())}else u=s[0];return{nationalNumber:r,nationalPrefix:u,carrierCode:i}}}return{nationalNumber:e}}function Lr(e,t){$_$();var n=og(e,t),s=n.nationalNumber,r=n.carrierCode;if(!ng(e,s,t))return{nationalNumber:e};if(e.length!==s.length+(r?r.length:0)&&t.possibleLengths())switch(Rl(s,t)){case"TOO_SHORT":case"INVALID_LENGTH":return{nationalNumber:e}}return{nationalNumber:s,carrierCode:r}}function ng(e,t,n){$_$();return!(Fn(e,n.nationalNumberPattern())&&!Fn(t,n.nationalNumberPattern()))}function sg(e,t,n,s){$_$();var r=t?Al(t,s):n;if(e.indexOf(r)===0){s=new Mn(s),s.selectNumberingPlan(t,n);var i=e.slice(r.length),a=Lr(i,s),l=a.nationalNumber,c=Lr(e,s),u=c.nationalNumber;if(!Fn(u,s.nationalNumberPattern())&&Fn(l,s.nationalNumberPattern())||Rl(u,s)==="TOO_LONG")return{countryCallingCode:r,number:i}}return{number:e}}function rg(e,t,n,s){$_$();if(!e)return{};if(e[0]!=="+"){var r=tg(e,t,n,s);if(r&&r!==e)e="+"+r;else{if(t||n){var i=sg(e,t,n,s),a=i.countryCallingCode,l=i.number;if(a)return{countryCallingCode:a,number:l}}return{number:e}}}if(e[1]==="0")return{};s=new Mn(s);for(var c=2;c-1<=$f&&c<=e.length;){var u=e.slice(1,c);if(s.hasCallingCode(u))return s.selectNumberingPlan(u),{countryCallingCode:u,number:e.slice(c)};c++}return{}}function ig(e,t,n){var s=n.getCountryCodesForCallingCode(e);if(s)return s.length===1?s[0]:ag(s,t,n.metadata)}function ag(e,t,n){$_$();n=new Mn(n);for(var i=e,s=Array.isArray(i),r=0,i=s?i:i[Symbol.iterator]();;){var a;if(s){if(r>=i.length)break;a=i[r++]}else{if(r=i.next(),r.done)break;a=r.value}var l=a;if(n.country(l),n.leadingDigits()){if(t&&t.search(n.leadingDigits())===0)return l}else if(Uu({phone:t,country:l},void 0,n.metadata))return l}}var lg=250,cg=new RegExp("["+si+Ro+"]"),ug=new RegExp("[^"+Ro+"#]+$");function _g(e,t,n){$_$();if(t=t||{},n=new Mn(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new Zt("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var s=pg(e,t.v2,t.extract),r=s.number,i=s.ext,a=s.error;if(!r){if(t.v2)throw a==="TOO_SHORT"?new Zt("TOO_SHORT"):new Zt("NOT_A_NUMBER");return{}}var l=fg(r,t.defaultCountry,t.defaultCallingCode,n),c=l.country,u=l.nationalNumber,_=l.countryCallingCode,d=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new Zt("INVALID_COUNTRY");return{}}if(!u||u.lengthBf){if(t.v2)throw new Zt("TOO_LONG");return{}}if(t.v2){var f=new ku(_,u,n.metadata);return c&&(f.country=c),d&&(f.carrierCode=d),i&&(f.ext=i),f}var p=(t.extended?n.hasSelectedNumberingPlan():c)?Fn(u,n.nationalNumberPattern()):!1;return t.extended?{country:c,countryCallingCode:_,carrierCode:d,valid:p,possible:p?!0:!!(t.extended===!0&&n.possibleLengths()&&Bu(u,n)),phone:u,ext:i}:p?mg(c,u,i):{}}function dg(e,t,n){if(e){if(e.length>lg){if(n)throw new Zt("TOO_LONG");return}if(t===!1)return e;var s=e.search(cg);if(!(s<0))return e.slice(s).replace(ug,"")}}function pg(e,t,n){if(e&&e.indexOf("tel:")===0)return Jf(e);var s=dg(e,n,t);if(!s)return{};if(!lc(s))return Wf(s)?{error:"TOO_SHORT"}:{};var r=Kf(s);return r.ext?r:{number:s}}function mg(e,t,n){var s={country:e,phone:t};return n&&(s.ext=n),s}function fg(e,t,n,s){$_$();var r=rg(Wi(e),t,n,s.metadata),i=r.countryCallingCode,a=r.number,l;if(i)s.selectNumberingPlan(i);else if(a&&(t||n))s.selectNumberingPlan(t,n),t&&(l=t),i=n||Al(t,s.metadata);else return{};if(!a)return{countryCallingCode:i};var c=Lr(Wi(a),s),u=c.nationalNumber,_=c.carrierCode,d=ig(i,u,s);return d&&(l=d,d==="001"||s.country(l)),{country:l,countryCallingCode:i,nationalNumber:u,carrierCode:_}}function gg(e){for(var t=1;t=t?n:Math.floor(Math.random()*(t-e))+e}function is(e){return e[Dg(0,e.length)]}function Ug(e){return e.sort(()=>.5-Math.random())}function kg(e=[],t=[],n=16,s=!0){if(!(e.length+t.length)||nr.push(is(i))),s){const i=e.concat(t);for(let a=r.length;a{const n=[2,0,1,1,1,2];return t[e%100>4&&e%100<20?2:n[e%10<5?e%10:5]]},tD=(e,t=3)=>{const[n="",s=""]=e.split("@"),r=Math.min(n.length,t);return`${n.slice(0,-r)}${"*".repeat(r)}@${s}`},oD=e=>{var t;let n,s=e.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(s[1])?(n=/\brv[ :]+(\d+)/g.exec(e)||[],{name:"IE",version:(t=n[1])!=null?t:""}):s[1]==="Chrome"&&(n=e.match(/\b(OPR|Edge)\/(\d+)/),n)?(n=n.slice(1).join(" ").replace("OPR","Opera").split(" "),{name:n[0],version:n[1]}):(s=s[2]?[s[1],s[2]]:[navigator.appName,navigator.appVersion,"-?"],n=e.match(/version\/(\d+)/i),n&&s.splice(1,1,n[1]),{name:s[0],version:s[1]})},$g="modulepreload",Fg=function(e,t){return new URL(e,t).href},Ki={},X=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=Promise.allSettled(n.map(u=>{if(u=Fg(u,s),u in Ki&&!u.endsWith(".css"))return;Ki[u]=!0;const _=u.endsWith(".css"),d=_?'[rel="stylesheet"]':"";if(!!s)for(let h=a.length-1;h>=0;h--){const E=a[h];if(E.href===u&&(!_||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const p=document.createElement("link");if(p.rel=_?"stylesheet":$g,_||(p.as="script"),p.crossOrigin="",p.href=u,c&&p.setAttribute("nonce",c),document.head.appendChild(p),_)return new Promise((h,E)=>{p.addEventListener("load",h),p.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return r.then(a=>{for(const l of a||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},Mg=()=>X(()=>import("./2a9b7a366c.js").then(e=>e.domToImage),__vite__mapDeps([0,1]),import.meta.url),Gg=()=>X(()=>import("./eb3821a60d.js").then(e=>e.FileSaver_min),__vite__mapDeps([2,1]),import.meta.url),Hg=e=>e instanceof Element||e instanceof HTMLDocument,Vg=Object.freeze({fixImagesRender:!1}),zg=async(e,t,n="image.png",s=Vg)=>{$_$();let r,i;try{const{fixImagesRender:a}=s,{default:l}=([r,i]=v(()=>Gg()),r=await r,i(),r),{toBlob:c}=([r,i]=v(()=>Mg()),r=await r,i(),r),u=Hg(t)?t:t.$el;a&&([r,i]=v(()=>c(u)),await r,i());const _=([r,i]=v(()=>c(u)),r=await r,i(),r);l.saveAs(_,n)}catch(a){e.warn("error save img",a)}},Wg="+03",cc=(e,t,n,s,r=Wg)=>{$_$();const i=To();return{showLastSession:async(l=Vr)=>{$_$();let c,u;try{const{ip:_,dt_event:d}=([c,u]=v(()=>t.getRequest("/officeapi/lastsession")),c=await c,u(),c);if(!ge(_)||!ge(d))return;const f=`${d}${r}`,p=n.getFullDateAndTimeFormattedByDate(new Date(f).getTime()),h=`${e("main_last_session_time",{sessionTime:p})}
IP: ${_}`;s(h,{title:e("main_last_session_info"),onSubmit:l,onClose:l,overlay:!0})}catch(_){i.error("Failed to get last session data: ",_)}}}};var Yi,ri=W({name:"TimeCounting",props:{[Wu]:{type:Number,required:!0},format:{type:String,default:(Yi=Vu[zu])==null?void 0:Yi.timeFullFormat},inverse:{type:Boolean,default:!1},timeout:{type:Number,default:1e3},stopOnZeroDateFormatted:{type:Boolean,default:!1}},setup(e,{emit:t,slots:n}){$_$();const{modelValue:s,updateModelValue:r}=Fu(e),{inverse:i,timeout:a,stopOnZeroDateFormatted:l}=un(e),u=Mu("$dateTimeService")(),_=J(),d=J(Date.now()),f=m({get(){$_$();return o(s)},set(R){r(R),t("change",R)}}),p=m(()=>$_$() && new Date(o(f))),h=m(()=>$_$() && u.formatTimeWithCustomFormatter(o(p),e.format)),E=()=>{$_$();clearInterval(o(_))},T=R=>$_$() && !!(o(l)&&(o(i)&&R<1e3||!o(i)&&R>1e3)),P=R=>{$_$();const b=o(f)+R;T(b)?f.value=0:f.value=b},O=R=>{$_$();const b=o(f)-R;T(b)?f.value=0:f.value=b},L=()=>{$_$();const R=Date.now(),b=R-o(d);d.value=R,o(i)?O(b):P(b)},S=()=>{$_$();_.value=setInterval(()=>L(),o(a))},I=()=>{L()};return I(),S(),Gu(()=>{I(),S()}),Hu(E),ao(E),()=>{$_$();var R;return Ar("div",(R=n.default)==null?void 0:R.call(n,{date:o(p),dateFormatted:o(h),cancel:E}))}}});const no=(e,t)=>{$_$();if(typeof e!="function")throw new TypeError("lazyLoadView: first argument must be a function!");const n=$o();return W({name:"LazyLoad",inheritAttrs:!1,setup(s,{attrs:r,listeners:i,slots:a}){$_$();const l=To();return Gn(async()=>{$_$();let c,u;if([c,u]=v(()=>$_$() && Yt()),await c,u(),!o(n))try{const{default:_}=([c,u]=v(()=>e()),c=await c,u(),c);n.value=_}catch(_){l.error(`lazyLoadComponent: ${JSON.stringify(_)}`)}}),()=>{$_$();var c;return o(n)?Ar(o(n),Ku?{props:r,on:i}:r,(c=a.default)==null?void 0:c.call(a)):Ar(t)}}})},Kg=Yu(({windowWidth:e})=>{$_$();const t=m(()=>$_$() && o(e)>420),n=m(()=>$_$() && o(e)<420),s=m(()=>$_$() && !o(t)),r=m(()=>$_$() && o(e)>1024),i=m(()=>$_$() && !o(r)),a=m(()=>$_$() && o(e)>1920),l=m(()=>$_$() && o(e)>=1920),c=m(()=>$_$() && !o(a));return{sizeUpper420:t,sizeLower420:n,sizeLowerOrEqual420:s,sizeUpper1024:r,sizeLowerOrEqual1024:i,sizeUpper1920:a,sizeLowerOrEqual1920:c,sizeUpperOrEqual1920:l}}),Yg=()=>({triggerOnInactivity:(t,n,s)=>{$_$();let r;const i=setTimeout(()=>{r(),n()},s);r=ju(t,()=>{clearTimeout(i)})}}),uc=()=>{$_$();const e=qu(),t=ht();return xu({memoryStorage:e,logger:t})};var jg=Object.defineProperty,qg=Object.defineProperties,xg=Object.getOwnPropertyDescriptors,ji=Object.getOwnPropertySymbols,Xg=Object.prototype.hasOwnProperty,Qg=Object.prototype.propertyIsEnumerable,qi=(e,t,n)=>t in e?jg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,as=(e,t)=>{for(var n in t||(t={}))Xg.call(t,n)&&qi(e,n,t[n]);if(ji)for(var n of ji(t))Qg.call(t,n)&&qi(e,n,t[n]);return e},Ks=(e,t)=>qg(e,xg(t));const Zg=()=>{$_$();let e=0;const t=new Xu,n=$o([]),s=m(()=>$_$() && o(n)[o(n).length-1]),r=m(()=>$_$() && !!o(n)),{public:{nuxtAppName:i}}=Pl(),a=zo().get("notificationsSharedCounter",{});a.value[i]=0;const l=p=>{p(a.value),a.value=as({},a.value)},c=()=>{n.value=t.openModals.map(p=>{$_$();var h,E;return n.value.find(P=>P.name===p.name)||{name:p.name,closeEvent:p.closeEvent,component:bs({loader:p.modal.component,loadingComponent:p.modal.componentLoader}),props:(h=p.argsWhenShow[0])!=null?h:{},on:(E=p.argsWhenShow[1])!=null?E:{},close:()=>{t.hide(p.name)}}})},u=p=>t.hide(p),_=()=>t.hideAll(),d=(p,h,E)=>{$_$();e+=1;const T=`${p.name}_${e}`,P=new Ai,O=t.overShow(Ks(as({},p),{name:T}),h,E);return O.openEvent.watch(()=>{P.resolve(Ks(as({},O),{close:()=>t.hide(T)}))}),P},f=(p,h,E)=>{$_$();const T=new Ai,P=t.overShow(Ks(as({},p),{name:p.name}),h,E);return P.openEvent.watch(()=>{T.resolve(P)}),T};return t.openEvent.watch(()=>{l(p=>{p[i]++}),c()}),t.closeEvent.watch(()=>{l(p=>{p[i]--}),c()}),Qu(()=>{l(p=>{delete p[i]})}),{openNotifications:n,openNotification:s,notificationIsOpen:r,notificationShow:d,notificationHide:u,notificationHideAll:_,notificationShowOnce:f}},Jg=Jt(Zg);function pn(){$_$();return dt("useT")()}function eh(){$_$();return dt("useDateTimeService")()}function nD({T:e},t){$_$();return dt("useModalProgressLabels")({T:e},t)}function Xn(){$_$();return dt("useAnalytics")()}function _c(){return uc()}function Bs(){$_$();return dt("useVModal")()}function th(){$_$();return dt("useNotifications")()}function dc(){$_$();return dt("useRouteReturnUrl")()}function ii(){$_$();return Ll()}function $s(){$_$();const e=pn();return Zu(e)}function sD(){$_$();return dt("useAppStorage")()}function oh(){$_$();return dt("useShowRegistrationForm")()}function nh(){$_$();return dt("useCustomNotifications")()}function rD(){$_$();return dt("usePageLeave")()}function mn(){return{hide:()=>{var e;return(e=window.coreBus)==null?void 0:e.emit("hideHostVModal")}}}function sh(){$_$();return{reason:zo().get("blockingPlugin/reason",void 0)}}const ai=()=>{$_$();const e=_n(),{userApi:t}=zr(),n=sh(),s={},r={3:async()=>{$_$();let i,a;if(n.reason.value!==4)try{const l=([i,a]=v(()=>t.secure()),i=await i,a(),i);if(!Object.keys(l||[]).length)throw new Error("data is empty SecureMethods.GET_SECURE_DATA");const c=e.get("_glhf");s.ggru=l.ggru,s[`_grant_${c}`]=l[`_grant_${c}`],[i,a]=v(()=>r[1]()),await i,a()}catch(l){t.consoleError(l)}},1:async()=>{$_$();let i,a;s.ggru!==void 0?e.set("ggru",s.ggru):([i,a]=v(()=>r[3]()),await i,a())},2:()=>{const i=e.get("_glhf"),a="_grant_"+i;if(!i||s[a]===void 0)return;const l=new Date;l.setSeconds(l.getSeconds()+30*60),e.set(a,s[a],{expires:l,path:"/"})}};return r},pc=()=>{$_$();var e,t;const n={captcha_type:_e(490),lng:_e(-1004).id,hcaptchaPublicKey:(e=_e(489))!=null?e:"",captchaPublicKey:(t=_e(488))!=null?t:""},s=pn(),r=_e(490)==="google",i=_n(),{sendCaptchaStatusSuccess:a,sendCaptchaStatusFailed:l}=Io(),c=Ju({siteConfig:n,T:s,sendCaptchaAnalyticsSuccess:a,sendCaptchaAnalyticsFailed:l}),u=J();return{showReCaptchaPolicy:r,executeCaptcha:async f=>{$_$();let p,h;c&&!i.get("force_captcha_disable")&&(u.value=([p,h]=v(()=>c(f)),p=await p,h(),p))},captchaToken:u}},Do=({name:e,component:t,componentLoader:n=pt,middleware:s=[],excludesMiddleware:r=[]})=>$_$() && ({name:e,component:t,componentLoader:n,middleware:[...s].filter(i=>!r.includes(i))});var fn=(e=>(e.Login="LOGIN",e.Registration="REGISTRATION",e.VerifyOtp="VERIFY_OTP",e.TrustlyDeposit="TRUSTLY_DEPOSIT",e.NotificationAgeRestriction="NOTIFICATION_AGE_RESTRICTION",e))(fn||{}),rh=(e=>(e.NOTIFICATION_REGISTRATION_FIRST_DEPOSIT="NOTIFICATION_REGISTRATION_FIRST_DEPOSIT",e.NOTIFICATION_PAYBILLS_OUT_OF_SERVICE="NOTIFICATION_PAYBILLS_OUT_OF_SERVICE",e.NOTIFICATION_AUTH_BONUS="NOTIFICATION_AUTH_BONUS",e.NOTIFICATION_REGISTRATION_REQUEST_SENT="NOTIFICATION_REGISTRATION_REQUEST_SENT",e.NOTIFICATION_REGISTRATION_LEAVE="NOTIFICATION_REGISTRATION_LEAVE",e[e.NOTIFICATION_AGE_RESTRICTION=fn.NotificationAgeRestriction]="NOTIFICATION_AGE_RESTRICTION",e))(rh||{});const ih={NOTIFICATION_AUTH_BONUS:Do({name:"NOTIFICATION_AUTH_BONUS",component:()=>X(()=>import("./484e1b9ac3.js"),__vite__mapDeps([3,4,5,1,6]),import.meta.url)}),NOTIFICATION_PAYBILLS_OUT_OF_SERVICE:Do({name:"NOTIFICATION_PAYBILLS_OUT_OF_SERVICE",component:()=>X(()=>import("./9ab6d8e8ac.js"),__vite__mapDeps([7,8]),import.meta.url)}),NOTIFICATION_REGISTRATION_FIRST_DEPOSIT:Do({name:"NOTIFICATION_REGISTRATION_FIRST_DEPOSIT",component:()=>X(()=>import("./4b0b80c51e.js"),__vite__mapDeps([9,5,1,10]),import.meta.url)}),NOTIFICATION_REGISTRATION_REQUEST_SENT:Do({name:"NOTIFICATION_REGISTRATION_REQUEST_SENT",component:()=>X(()=>import("./b0fc06344d.js"),__vite__mapDeps([11,12]),import.meta.url)}),NOTIFICATION_SET_LIMITS:Do({name:"NOTIFICATION_SET_LIMITS",component:()=>X(()=>import("./971fd910e9.js"),__vite__mapDeps([13,14]),import.meta.url)}),NOTIFICATION_REGISTRATION_LEAVE:Do({name:"NOTIFICATION_REGISTRATION_LEAVE",component:()=>X(()=>import("./cf3713ed8d.js"),__vite__mapDeps([15,16]),import.meta.url)}),NOTIFICATION_AGE_RESTRICTION:Do({name:fn.NotificationAgeRestriction,component:()=>X(()=>import("./58f6a91bf5.js"),__vite__mapDeps([17,18]),import.meta.url)})};function iD(){return ih}const mc=async(e,t)=>{$_$();let n,s;e.reset(),[n,s]=v(()=>$_$() && Yt()),await n,s(),e.setError(t)},aD=()=>{$_$();const e=Be(),t=_e(1393);return{onSmsCodeResend:async s=>{$_$();let r,i;t&&([r,i]=v(()=>mc(s,e("auth_sms_enter_new_code"))),await r,i())}}},lD=()=>({addFieldErrorMessageOnInactivity:(t,n,s)=>{const{triggerOnInactivity:r}=Yg();r(()=>t.vmodel,()=>mc(t,n),s)}});K({url:"/account-api/api/office/cashback/rules",isUseXAuth:!0,expectedParams:V({},wl())});K({url:"/account-api/user/check-deposit-sum-threshold",isUseXAuth:!0});const ah=K({url:"/account-api/user/v1/phone-data"}),xi="phoneDataProvider",li=Jt(()=>{$_$();const e=Wr(),t=J(!1),n=J(e.getItem(xi)),s=async()=>{$_$();let a,l;if(ge(o(n)))return;const c=ht(),u=Et(),_=ve();try{t.value=!0,n.value=([a,l]=v(()=>ah(u,{headers:{"X-Language":_.getLanguage}}).execute()),a=await a,l(),a),e.setItem(xi,o(n))}catch(d){c.error("Error getting phone data",d)}finally{t.value=!1}},r=m(()=>{$_$();var a,l;return(l=(a=o(n))==null?void 0:a.countries)!=null?l:[]}),i=m(()=>{$_$();var a,l;return(l=(a=o(n))==null?void 0:a.masks.map(c=>({CountryId:c.countryId,Mask:c.mask,Min:c.min,Max:c.max})))!=null?l:[]});return{isLoading:t,countries:r,validationCountries:i,loadCountries:s}}),Xi=e=>{$_$();var t,n,s,r;return{id:typeof e.id=="number"?e.id:void 0,name:typeof e.name=="string"?e.name:void 0,phoneCode:e.phoneCode?`+${String((t=e.phoneCode)!=null?t:"").replace(/\+/g,"")}`:void 0,code:(r=(s=(n=e.code)==null?void 0:n.toString())==null?void 0:s.toLowerCase())!=null?r:void 0,otpChannels:Array.isArray(e.otpChannels)?e.otpChannels:void 0}},lh=()=>{$_$();const{countries:e}=li(),t=$o(),n=c=>{$_$();if(!c)return;const u=Xi(c);return o(e).find(_=>$_$() && _.id===u.id)},s=m(()=>$_$() && !n(o(t))),r=m(()=>{$_$();var c;return(c=o(t))==null?void 0:c.code}),i=m(()=>{$_$();var c;return(c=o(t))==null?void 0:c.id}),a=m(()=>{$_$();var c;const{code:u,id:_}=(c=o(t))!=null?c:{};return u||_?u!=null?u:_:void 0});return{isCustomPhoneCountry:s,currentCountryIco:a,currentCountryCode:r,currentCountryId:i,currentCountry:t,setCountry:c=>{var u;t.value=c?(u=n(c))!=null?u:Xi(c):void 0}}},ch=({name:e,component:t,componentLoader:n,middleware:s=[],excludesMiddleware:r=[],options:i})=>$_$() && ({name:e,component:t,componentLoader:n,options:i,middleware:[e_,...i!=null&&i.transparent?[t_,o_]:[],...s].filter(a=>!r.includes(a))}),uh=ch,_h=()=>uh({name:"SELECT_MODAL_PHONE_CODE",component:async()=>$_$() && Nl}),dh=()=>{$_$();const e=Be();return{showSelectCountries:({currentCountryIco:n,isManualCountryCode:s,selectPhoneCountry:r,focusPhoneCodeInput:i,vModal:a,countries:l})=>$_$() && a.show(_h(),{currentCountryIco:o(n),isManualCountryCode:s,countries:l,title:e("main_phone_num"),fieldLabel:e("main_code"),buttonLabel:e("main_go_to_back"),onSelect:c=>{r(c),i()}})}},fc=()=>({toggleAuthorizationBlock:()=>{document.dispatchEvent(new CustomEvent("toggleAuthForm"))}});var gc=(e=>(e.MENU_TOP="menu_top",e.MENU_BOTTOM="menu_bottom",e.PROMO="promo",e.POPUP_PROMO="popup_promo",e.MOMENT_BET="moment_bet",e.MENU_LEFT_COLLAPSED="menu_left_collapsed",e.HOW_TO_BET="how_to_bet",e.PLACE_A_BET="place_a_bet",e.MY_CASINO="my_casino",e.SHOWCASE_PROMO="showcase_promo",e.MENU_BONUS="menu_bonus",e.MENU_LEFT_FULL="menu_left_full",e.TOURNAMENTS="tournaments",e.COUPON_FULL="coupon_full",e.COUPON_EMPTY="coupon_empty",e.NOT_ACCOUNT_YET="auth_form_not_account_yet",e))(gc||{});const Qi=e=>({translationKey:`reg_auth_type_${e}`,value:e}),ph=e=>{const[t,...n]=e;return[Qi(t||"sms"),...n.map(Qi)]},hc=e=>{const n=ph(e),s=n.length>1,r=s&&n[0].value==="sms";return{codeDeliveryMethods:n,hasCodeDeliveryMethodsChoice:s,hasOnlySmsCodeDeliveryMethod:r}},Qn=Jt(()=>{$_$();var e;const t=J("login_password"),n=J(""),s=J(!1),r=$o({}),i=J(""),a=J(!1),l=J(""),{codeDeliveryMethods:c,hasOnlySmsCodeDeliveryMethod:u}=hc((e=_e(1834))!=null?e:[]);zo().bind("welcomeApp/isAuthLoading",s,!1);const d=J({currentForm:void 0,login:void 0,phone:void 0,phoneBySms:void 0,passwordLogin:void 0,passwordPhone:void 0,remember:void 0}),f=m(()=>$_$() && o(t)==="login_password"),p=m(()=>$_$() && o(t)==="phone_password"),h=m(()=>$_$() && o(t)==="sms"),E=m(()=>$_$() && o(f)||o(p)),T=m(()=>$_$() && o(t)==="login_password_two_step_code");return{currentForm:t,isFormLoginPassword:f,isFormLoginPasswordTwoFactor:T,isFormLoginPhonePassword:E,isFormPhonePassword:p,isFormSMSPassword:h,loading:s,message:i,responseType:n,defaultValues:d,isRememberMe:a,maskedPhone:l,setCurrentForm:(w="login_password")=>{$_$();t.value=w,o(d).currentForm||(d.value.currentForm=w)},setLoading:w=>{s.value=w},setResponseMessage:w=>{i.value=w},setResponseType:w=>{n.value=w},setUserInfo:w=>{r.value=w},setDefaultValues:({currentForm:w,login:U,phone:F,phoneBySms:z,passwordLogin:q,passwordPhone:ee,remember:x})=>{d.value={currentForm:w,login:U,phone:F,phoneBySms:z,passwordLogin:q,passwordPhone:ee,remember:x}},setRememberMe:w=>{a.value=w},setMaskedPhone:w=>{l.value=w},userInfo:r,codeDeliveryMethods:c,hasOnlySmsCodeDeliveryMethod:u}});var zt=(e=>(e.SOCIAL_AUTH="SocialAuth",e.SOCIAL_REG="SocialReg",e))(zt||{}),ci=(e=>(e.CLOSE_TAB="CloseTab",e))(ci||{});const mh=[3,7,8,9,11,13,28,1012,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012],fh=e=>e!==void 0?parseFloat(String(e)):void 0,gh=e=>!!e,hh=e=>e!==void 0?parseInt(String(e),10):void 0,Eh=e=>e,Ec=e=>{if(e!=null&&e.length)return[...new Set(e)].filter(t=>t!==null).sort((t,n)=>t-n).join(",")},Th=()=>{},yh=e=>e,Ch=e=>{const t=(Array.isArray(e)?e:[e]).reduce((n,s)=>(typeof s=="string"&&n.push(s),mh.includes(Number(s))&&n.push(Number(s)),n),[]);return Ec(t)},Ih=e=>{if(Array.isArray(e)&&(e!=null&&e.length))return e},Sh=e=>{if(Object.keys(e).length)return e},uo=(e,t)=>n=>nt(V({defaultValue:t},n),{validate:e}),Yo=uo(yh),Z=uo(Eh),ae=uo(gh,!1),Ut=uo(Ec),lt=uo(Ih),_o=uo(fh),Q=uo(hh,0),Tc=uo(Sh),vh=uo(Th),Oh=uo(Ch),yc="language",Ys="country",Cc="date_from",Ic="date_to",js="type",qs="partner",xs="countryId",Sc="country_id",Xs="regionId",bh="region_id",Qs="fields",Zi="settingId",Rh="setting_id",Ji="settingValue",Ah="setting_value",Zs="lineDisallowSport",Js="liveDisallowSport",er="checkSuccess",tr="question",Ph="question_id",ea="questionId",or="answer",ta="answerRepeat",Lh="answer_repeat",oa="sessionsQuantity",wh="sessions_quantity",nr="checkbox",sr="transferAmount",Nh="transfer_amount",na="referralUserId",Dh="referral_user_id",sa="isIncludeArchive",Uh="is_include_archive",ra="pageNumber",kh="page_number",ia="authByEmail",Bh="auth_by_email",aa="sessionId",$h="session_id",la="currencyId",Fh="currency_id",ca="appCode",Mh="app_code",ua="smsCode",Gh="sms_code",rr="hash",_a="oldPassword",Hh="old_password",da="endOtherSessions",Vh="end_other_sessions",wr="phoneNumber",zh="phone_number",pa="isSendSmsToApps",Wh="is_send_sms_to_apps",ma="userAnswer",Kh="user_answer",fa="bonusId",Yh="bonus_id",ir="query",ar="login",lr="photo",cr="authId",ur="authToken",_r="personalCode",dr="verificationType",pr="geo",mr="tokenGuid",fr="answers",gr="action",hr="limits",Er="refCode",Tr="firstBonusId",jh=({apiKey:e,defaultValue:t}={})=>({[Ys]:Q({key:Ys,apiKey:e!=null?e:Ys,defaultValue:t})}),qh=({apiKey:e,defaultValue:t}={})=>({[js]:Z({key:js,apiKey:e!=null?e:js,defaultValue:t})}),xh=({apiKey:e,defaultValue:t}={})=>({[qs]:Q({key:qs,apiKey:e!=null?e:qs,defaultValue:t!=null?t:null})}),Fs=({apiKey:e}={})=>({[xs]:Q({key:xs,apiKey:e!=null?e:xs})}),Xh=({apiKey:e}={})=>({[Xs]:Q({key:Xs,apiKey:e!=null?e:Xs})}),Qh=({apiKey:e}={})=>({[Qs]:lt({key:Qs,apiKey:e!=null?e:Qs})}),vc=({apiKey:e}={})=>({[Zi]:Z({key:Zi,apiKey:e!=null?e:Rh})}),Oc=({apiKey:e}={})=>({[Ji]:Yo({key:Ji,apiKey:e!=null?e:Ah})}),Zh=({apiKey:e}={})=>({[Zs]:lt({key:Zs,apiKey:e!=null?e:Zs})}),Jh=({apiKey:e}={})=>({[Js]:lt({key:Js,apiKey:e!=null?e:Js})}),eE=({apiKey:e}={})=>({[er]:ae({key:er,apiKey:e!=null?e:er})}),tE=({apiKey:e}={})=>({[tr]:Z({key:tr,apiKey:e!=null?e:tr})}),oE=({apiKey:e}={})=>({[ea]:Q({key:ea,apiKey:e!=null?e:Ph})}),bc=({apiKey:e}={})=>({[or]:Z({key:or,apiKey:e!=null?e:or})}),Rc=({apiKey:e}={})=>({[ta]:Z({key:ta,apiKey:e!=null?e:Lh})}),nE=({apiKey:e}={})=>({[oa]:Q({key:oa,apiKey:e!=null?e:wh})}),sE=({apiKey:e}={})=>({[nr]:ae({key:nr,apiKey:e!=null?e:nr})}),rE=({apiKey:e}={})=>({[sr]:Q({key:sr,apiKey:e!=null?e:sr})}),iE=({apiKey:e}={})=>({[na]:Q({key:na,apiKey:e!=null?e:Dh})}),aE=({apiKey:e}={})=>({[sa]:ae({key:sa,apiKey:e!=null?e:Uh})}),lE=({apiKey:e}={})=>({[ra]:Q({key:ra,apiKey:e!=null?e:kh})}),cE=({apiKey:e}={})=>({[ia]:ae({key:ia,apiKey:e!=null?e:Bh})}),ui=({apiKey:e}={})=>({[aa]:Z({key:aa,apiKey:e!=null?e:$h})}),uE=({apiKey:e}={})=>({[la]:Q({key:la,apiKey:e!=null?e:Fh})}),_E=({apiKey:e}={})=>({[ca]:Z({key:ca,apiKey:e!=null?e:Mh})}),dE=({apiKey:e}={})=>({[ua]:Z({key:ua,apiKey:e!=null?e:Gh})}),pE=({apiKey:e}={})=>({[rr]:Z({key:rr,apiKey:e!=null?e:rr})}),mE=({apiKey:e}={})=>({[_a]:Z({key:_a,apiKey:e!=null?e:Hh})}),fE=({apiKey:e}={})=>({[da]:ae({key:da,apiKey:e!=null?e:Vh})}),Ms=({apiKey:e}={})=>({[wr]:Z({key:wr,apiKey:e!=null?e:zh})}),gE=({apiKey:e}={})=>({[pa]:ae({key:pa,apiKey:e!=null?e:Wh})}),Ac=({apiKey:e}={})=>({[ma]:Z({key:ma,apiKey:e!=null?e:Kh})}),hE=({apiKey:e}={})=>({[fa]:Z({key:fa,apiKey:e!=null?e:Yh})}),EE=({apiKey:e}={})=>({[ir]:Z({key:ir,apiKey:e!=null?e:ir})}),TE=({apiKey:e}={})=>({[ar]:Z({key:ar,apiKey:e!=null?e:ar})}),yE=({apiKey:e}={})=>({[lr]:Z({key:lr,apiKey:e!=null?e:lr})}),Pc=({apiKey:e}={})=>({[cr]:Z({key:cr,apiKey:e!=null?e:cr})}),Lc=({apiKey:e}={})=>({[ur]:Z({key:ur,apiKey:e!=null?e:ur})}),wc=({apiKey:e}={})=>({[_r]:Q({key:_r,apiKey:e!=null?e:_r})}),Nc=({apiKey:e}={})=>({[dr]:Z({key:dr,apiKey:e!=null?e:dr})}),CE=({apiKey:e}={})=>({[pr]:Z({key:pr,apiKey:e!=null?e:pr})}),IE=({apiKey:e}={})=>({[mr]:Z({key:mr,apiKey:e!=null?e:mr})}),SE=({apiKey:e}={})=>({[fr]:lt({key:fr,apiKey:e!=null?e:fr})}),vE=({apiKey:e}={})=>({[gr]:Q({key:gr,apiKey:e!=null?e:gr})}),OE=({apiKey:e}={})=>({[hr]:lt({key:hr,apiKey:e!=null?e:hr})}),bE=({apiKey:e}={})=>({[Er]:Z({key:Er,apiKey:e!=null?e:Er})}),RE=({apiKey:e}={})=>({[Tr]:Z({key:Tr,apiKey:e!=null?e:Tr})});Z({key:"topGroups",apiKey:"topGroups"});Z({key:"lng",apiKey:"lng",defaultValue:"ru"});Z({key:"Language",apiKey:"Language",defaultValue:"ru"});Z({key:"text",apiKey:"text"});Z({key:"sportIds",apiKey:"sportIds"});Z({key:"group",apiKey:"group"});Z({key:"sportList",apiKey:"sportList"});Z({key:"sportMarket",apiKey:"item"});Z({key:"whence",apiKey:"whence"});Z({key:"gameId",apiKey:"gameId"});Z({key:"guid",apiKey:"Guid"});Z({key:"discipline",apiKey:"discipline"});Q({key:"Vers",apiKey:"Vers"});Q({key:"type",apiKey:"type",defaultValue:0});Q({key:"cyberType",apiKey:"cyberType"});Q({key:"count",apiKey:"count"});Q({key:"coefViewId",apiKey:"cfview"});Q({key:"page",apiKey:"page"});Q({key:"mode",apiKey:"mode"});Q({key:"cyberFlag",apiKey:"cyberFlag"});Q({key:"country",apiKey:"country"});Q({key:"cnt",apiKey:"cnt"});Q({key:"userId",apiKey:"userId",defaultValue:null});Q({key:"partner",apiKey:"partner",defaultValue:1});Q({key:"groupId",apiKey:"gr",defaultValue:null});Q({key:"filterSports",apiKey:"filterSports"});Q({key:"filterType",apiKey:"filterType"});Q({key:"fcountry",apiKey:"fcountry"});Q({key:"code",apiKey:"code"});Q({key:"zve",apiKey:"ZVE"});Q({key:"sportId",apiKey:"sport"});Q({key:"subSportId",apiKey:"subSport"});Q({key:"champId",apiKey:"champ"});Q({key:"champId",apiKey:"champid"});Q({key:"gameId",apiKey:"id"});Q({key:"permanentId",apiKey:"constId"});Q({key:"eventsCount",apiKey:"countevents"});Q({key:"groupMode",apiKey:"grMode"});Q({key:"marketType",apiKey:"marketType"});Q({key:"filterMs",apiKey:"filterMs"});Q({key:"limit",apiKey:"limit"});Q({key:"countBySport",apiKey:"countBySport"});Q({key:"sportCategoriesFlag",apiKey:"sportCategoriesFlag"});Q({key:"minOffset",apiKey:"minOffset"});Q({key:"tsFrom",apiKey:"tsFrom"});Q({key:"tsTo",apiKey:"tsTo"});Q({key:"src",apiKey:"src"});Q({key:"geo",apiKey:"geo"});Q({key:"teamId",apiKey:"xid"});Q({key:"vid",apiKey:"Vid",defaultValue:null});Q({key:"expressNum",apiKey:"expressNum"});Q({key:"saleBetId",apiKey:"SaleBetId",defaultValue:null});_o({key:"summ",apiKey:"Summ"});_o({key:"sum",apiKey:"Sum"});_o({key:"newSumCoupon",apiKey:"new_sum_cupon"});_o({key:"couponSum",apiKey:"coupon_sum"});_o({key:"betSum",apiKey:"betSum"});_o({key:"sumSale",apiKey:"sum_sale"});Q({key:"antiExpressCoef",apiKey:"AntiExpressCoef"});Q({key:"userIdBonus",apiKey:"UserIdBonus"});Q({key:"bet",apiKey:"bet"});Q({key:"betId",apiKey:"BetId"});Q({key:"timestampFrom",apiKey:"timestamp_from"});Q({key:"timestampTo",apiKey:"timestamp_to"});_o({key:"percent",apiKey:"Percent"});_o({key:"order",apiKey:"order"});Q({key:"notCalc",apiKey:"notCalc"});Q({key:"lastBetId",apiKey:"LastBetId"});Q({key:"feedType",apiKey:"FeedType",defaultValue:null});_o({key:"cf",apiKey:"cf",defaultValue:null});Q({key:"taxMode",apiKey:"taxMode",defaultValue:null});Q({key:"hasVideo",apiKey:"hasVideo"});Ut({key:"Params",apiKey:"Params"});Ut({key:"sports",apiKey:"sports"});Ut({key:"champs",apiKey:"champs"});Ut({key:"games",apiKey:"games"});Ut({key:"antiSports",apiKey:"antisports"});Ut({key:"subGames",apiKey:"subGames"});Ut({key:"pinnedGames",apiKey:"topGames"});Ut({key:"teams",apiKey:"teams"});Ut({key:"gameTypes",apiKey:"typeGames"});Ut({key:"filterSubSports",apiKey:"filterSubSports"});Ut({key:"topChamps",apiKey:"topChamps"});Ut({key:"visibleSports",apiKey:"visibleSports"});Ut({key:"champsOrder",apiKey:"champsOrder"});Oh({key:"menuSection",apiKey:"menuSection"});ae({key:"isShowAll",apiKey:"showAll"});ae({key:"isOnlySports",apiKey:"only_sports"});ae({key:"top",apiKey:"top"});ae({key:"getEmpty",apiKey:"getEmpty"});ae({key:"virtualSports",apiKey:"virtualSports"});ae({apiKey:"countryOnly",key:"countryOnly"});ae({key:"notLogin",apiKey:"notLogin"});ae({key:"countryFirst",apiKey:"countryFirst"});ae({key:"mobi",apiKey:"mobi"});ae({key:"altFlag",apiKey:"altFlag"});ae({key:"adult",apiKey:"adult"});ae({key:"gifEvent",apiKey:"gifEvent"});ae({key:"isSubGames",apiKey:"isSubGames"});ae({key:"groupEvents",apiKey:"GroupEvents"});ae({key:"mainEvents",apiKey:"mainevents"});ae({key:"withCountries",apiKey:"withCountries"});ae({key:"groupChamps",apiKey:"groupChamps"});ae({key:"allEventsGroup",apiKey:"allEventsGroupSubGames"});ae({key:"isRecommendations",apiKey:"isRecommendations"});ae({key:"noFilterBlockEvent",apiKey:"noFilterBlockEvent"});ae({key:"live",apiKey:"live",defaultValue:null});ae({key:"calcSystemsMin",apiKey:"CalcSystemsMin",defaultValue:null});ae({key:"isPowerBet",apiKey:"IsPowerBet",defaultValue:null});ae({key:"withLobby",apiKey:"WithLobby",defaultValue:null});ae({key:"strict",apiKey:"strict"});ae({key:"multi",apiKey:"multi"});ae({key:"isExpressBoost",apiKey:"IsExpressBoost"});ae({key:"calculateSaleInfo",apiKey:"CalculateSaleInfo",defaultValue:null});ae({key:"byBetSettlingDates",apiKey:"ByBetSettlingDates",defaultValue:null});ae({key:"onlyBetsForSale",apiKey:"OnlyBetsForSale",defaultValue:null});ae({key:"useArchive",apiKey:"UseArchive",defaultValue:null});ae({key:"calculateSummaryInfo",apiKey:"CalculateSummaryInfo",defaultValue:null});ae({key:"betsWithAutoSaleOrder",apiKey:"BetsWithAutoSaleOrder",defaultValue:null});ae({key:"isCalculatedDateType",apiKey:"is_calculated_date_type",defaultValue:null});ae({key:"isNewBuilder",apiKey:"isNewBuilder",defaultValue:null});vh({key:"multiEvent",apiKey:"multiEvent",defaultValue:0});Ut({key:"subSports",apiKey:"subSports",defaultValue:null});lt({key:"events",apiKey:"Events"});lt({key:"coupons",apiKey:"coupons"});lt({key:"eventsIndexes",apiKey:"EventsIndexes"});lt({key:"groupsSumms",apiKey:"GroupsSumms"});lt({key:"couponStatusIds",apiKey:"statuses"});lt({key:"typeIds",apiKey:"totoTypes"});lt({key:"typeIds",apiKey:"jackpotTypes"});lt({key:"feedTypes",apiKey:"feed_types"});lt({key:"betStatuses",apiKey:"BetStatuses"});lt({key:"betCommonStatuses",apiKey:"bet_common_statuses"});Tc({key:"coupon",apiKey:"coupon"});Yo({key:"team1Ids",apiKey:"Team1Ids"});Yo({key:"team2Ids",apiKey:"Team2Ids"});Yo({key:"events",apiKey:"events"});Z({key:"raceid",apiKey:"raceid"});Z({key:"horseRaceStatisticId",apiKey:"id"});Yo({key:"filterMarketGroups",apiKey:"filterMarketGroups"});Q({key:"checkCf",apiKey:"CheckCf",defaultValue:0});ae({key:"approvedBet",apiKey:"ApprovedBet"});ae({key:"notWait",apiKey:"notWait"});Z({key:"betGuid",apiKey:"betGUID"});Z({key:"promo",apiKey:"promo"});ae({key:"avanceBet",apiKey:"avanceBet"});ae({key:"isAutoBet",apiKey:"isAutoBet"});_o({key:"autoBetCf",apiKey:"autoBetCf"});ae({key:"dropOnScoreChange",apiKey:"DropOnScoreChange"});ae({key:"transformEventKind",apiKey:"TransformEventKind"});Z({key:"autoBetCfView",apiKey:"autoBetCfView"});ae({key:"VIPBetSumm",apiKey:"VIPBetSumm"});const AE=Z({key:"country",apiKey:"geo"}),Dc=Yo({key:"username",apiKey:"username"}),Uc=Z({key:"email",apiKey:"email"});Q({key:"regionId",apiKey:"region_id"});Q({key:"supportedTypes",apiKey:"supportedTypes"});const PE=Q({key:"currencyId",apiKey:"currencyId"});Z({key:"comment",apiKey:"comment"});Z({key:"phone",apiKey:"phone"});Z({key:"type",apiKey:"type"});Z({key:"countryId",apiKey:"countryId"});Z({key:"couponCode",apiKey:"CouponCode"});Z({key:"couponId",apiKey:"couponId"});Z({key:"curIso",apiKey:"curIso"});const kc=Z({key:"login",apiKey:"uLogin"}),Bc=Z({key:"password",apiKey:"uPassword"}),LE=Z({key:"pass",apiKey:"pass"}),_i=ae({key:"save",apiKey:"save"}),gn=Z({key:"componentsData",apiKey:"comp_d"}),wE=Z({key:"phoneNumber",apiKey:"phone_number"}),NE=Z({key:"countryCode",apiKey:"country_code"}),$c=Z({key:"phone",apiKey:"phone-number"}),DE=Z({key:"smsCode",apiKey:"sms-code"}),UE=Q({key:"methodId",apiKey:"method_id"}),kE=Z({key:"token",apiKey:"token"}),BE=Z({key:"sign",apiKey:"sign"}),$E=Z({key:"promoCode",apiKey:"promoCode"});Z({key:"setting_id",apiKey:"setting_id"});Yo({key:"setting_value",apiKey:"setting_value"});lt({key:"lineDisallowSport",apiKey:"lineDisallowSport"});lt({key:"liveDisallowSport",apiKey:"liveDisallowSport"});ae({key:"checkSuccess",apiKey:"checkSuccess"});Z({key:"question",apiKey:"question"});Q({key:"question_id",apiKey:"question_id"});Z({key:"answer",apiKey:"answer"});Z({key:"answer_repeat",apiKey:"answer_repeat"});Q({key:"sessions_quantity",apiKey:"sessions_quantity"});ae({key:"checkbox",apiKey:"checkbox"});Q({key:"transfer_amount",apiKey:"transfer_amount"});Q({key:"referral_user_id",apiKey:"referral_user_id"});ae({key:"auth_by_email",apiKey:"auth_by_email"});Z({key:"session_id",apiKey:"session_id"});Q({key:"currencyId",apiKey:"currency_id"});Z({key:"accountId",apiKey:"account_id"});Z({key:"appCode",apiKey:"app_code"});Z({key:"hash",apiKey:"hash"});Z({key:"password",apiKey:"password"});Z({key:"oldPassword",apiKey:"old_password"});Z({key:"passwordConfirmation",apiKey:"password_confirmation"});ae({key:"endOtherSessions",apiKey:"end_other_sessions"});Z({key:"confirmCode",apiKey:"confirm_code"});ae({key:"isSendSmsToApps",apiKey:"is_send_sms_to_apps"});Z({key:"userAnswer",apiKey:"user_answer"});Q({key:"bonusId",apiKey:"bonus_id"});const Fc=Z({key:"phoneCode",apiKey:"phone-code"}),FE=Z({key:"code",apiKey:"code"});Q({key:"oneClickBet",apiKey:"OneClickBet"});Q({key:"kind",apiKey:"Kind"});lt({key:"eventsByGames",apiKey:"eventsByGames"});ae({key:"isNewBetBuilder",apiKey:"IsNewBetBuilder",defaultValue:null});Tc({key:"builderCoupon",apiKey:"BuilderCoupon"});Q({key:"refId",apiKey:"refId"});const ME=K({url:"/social-api/user/social-network/v2/send",expectedParams:V(V(V(V(V(V({},qh()),Rs({apiKey:yc,defaultValue:null})),wl()),Fs()),bE()),RE())}),ls={},Mc=()=>{const{setCurrentForm:e,setMaskedPhone:t}=Qn(),n=(a,l={})=>(l!=null&&l.maskedPhone&&t(l.maskedPhone),e(a),new Promise(c=>{ls[a]=c})),s=(a,l=!0)=>{var c;(c=ls[a])==null||c.call(ls,l),ls[a]=void 0};return{waitForm:n,resolveVerificationForm:()=>{s("phone_verification")},resolveActivationForm:(a=!0)=>{s("phone_activation",a)}}},Nr={fb:st.FACEBOOK,google:st.GOOGLE,vk:st.VK,ok:st.OK_RU,yandex:st.YANDEX,mailru:st.E_MAIL_AT,telegram:st.TELEGRAM,kakaotalk:st.KAKAOTALK,twitter:st.TWITTER,itsme:st.ITSME,twitch:st.TWITCH,metamask:st.METAMASK,line:st.LINE,linkedin:st.LINKEDIN,apple:st.APPLE,discord:st.DISCORD},GE="show-extra",HE={ok:"reg_social_short_name_odnoklassniki",vk:"reg_social_short_name_vk"};var Dr=(e=>(e[e.DEFAULT=0]="DEFAULT",e[e.WITH_TEXT_DESCRIPTION=1]="WITH_TEXT_DESCRIPTION",e[e.WITHOUT_TEXT_DESCRIPTION=2]="WITHOUT_TEXT_DESCRIPTION",e))(Dr||{}),VE=Object.defineProperty,zE=Object.defineProperties,WE=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,KE=Object.prototype.hasOwnProperty,YE=Object.prototype.propertyIsEnumerable,ha=(e,t,n)=>t in e?VE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jE=(e,t)=>{for(var n in t||(t={}))KE.call(t,n)&&ha(e,n,t[n]);if(ga)for(var n of ga(t))YE.call(t,n)&&ha(e,n,t[n]);return e},qE=(e,t)=>zE(e,WE(t));const xE=Jt(()=>{$_$();const e=Be(),[t={},n,s=[],r=Dr.DEFAULT]=lo(644,-1012,587,209),i=Object.fromEntries(Object.entries(t).map(([E,T])=>[E.toLocaleUpperCase(),T])),a=n.code,l=r===Dr.WITHOUT_TEXT_DESCRIPTION,c=s.map(E=>E).filter(E=>Nr[E]).map(E=>$_$() && ({id:E,name:e(`social_${E}`),ico:Nr[E],value:E})),u=E=>{const T=E.value;let{name:P}=E;if(T&&T!==GE){const O=HE[T];O&&(P=e(O))}return P},_=a.toUpperCase(),d=i[_],f=gt(d)?d.split(",").map(E=>c.find(({id:T})=>$_$() && T===E)).filter(E=>$_$() && ge(E)):void 0,p=f!=null?f:c,h=p.map(E=>qE(jE({},E),{name:l?"":u(E)}));return{socialLinks:p,socialLinksShortName:h}}),XE=()=>$_$() && jt({name:"METAMASK_AUTH_MODAL",component:()=>X(()=>import("./46e6817dd6.js"),__vite__mapDeps([19,20]),import.meta.url)}),QE={[-32002]:"reg_eth_error_text_1",4001:"reg_eth_error_text_2"};let yr=[];const Gc=()=>{$_$();const{notificationError:e}=th(),{webApi:t}=zr(),n=ht(),s=pn(),r=Bs(),i=()=>{var p;return(p=window.ethereum)==null?void 0:p.isMetaMask},a=async()=>{$_$();let p,h;try{const E=([p,h]=v(()=>d()),p=await p,h(),p);i()||r.show(XE(),{extensionOptions:E})}catch(E){throw n.error("Failed to show install metamask modal",E),E}},l=async()=>{$_$();let p,h;try{const[E]=([p,h]=v(()=>{var T;return(T=window.ethereum)==null?void 0:T.request({method:"eth_requestAccounts"})}),p=await p,h(),p);return E}catch(E){const T=E==null?void 0:E.code;throw e(s(QE[T]||"main_error")),E}},c=async()=>{$_$();let p,h;try{const{data:{attributes:{message:E}}}=([p,h]=v(()=>$_$() && t.getRequest("/api/internal/socialnetwork/metamask/message",{headers:Fo})),p=await p,h(),p);return E}catch(E){throw n.error("Failed to get message (Sign in with Ethereum)",E),E}},u=async p=>{$_$();let h,E;try{const{account:T,SIWEMessage:P}=p,O=`0x${Buffer.from(P,"utf8").toString("hex")}`;return[h,E]=v(()=>{var S;return(S=window.ethereum)==null?void 0:S.request({method:"personal_sign",params:[O,T]})}),h=await h,E(),h}catch(T){throw n.error("Failed to get signature (Sign in with Ethereum)",T),T}},_=async()=>{$_$();let p,h;if(window.Buffer||(window.global=([p,h]=v(()=>X(()=>import("./5a438d9b8f.js").then(T=>T.browser),__vite__mapDeps([21,1]),import.meta.url)),p=await p,h(),p),window.Buffer=([p,h]=v(()=>X(()=>import("./47db9d217c.js").then(T=>T.index),__vite__mapDeps([22,1]),import.meta.url)),p=await p,h(),p).Buffer),i()){const T=([p,h]=v(()=>l()),p=await p,h(),p),P=([p,h]=v(()=>c()),p=await p,h(),p),O=([p,h]=v(()=>u({account:T,SIWEMessage:P})),p=await p,h(),p);return{account:T,SIWESign:O}}r.hideAll(),[p,h]=v(()=>a()),await p,h()},d=async()=>{$_$();let p,h;if(yr.length>0)return yr;try{const E=([p,h]=v(()=>$_$() && t.getRequest("/api/metamask/v1/extension-links",{headers:Fo})),p=await p,h(),p),{links:T}=E;if(!Array.isArray(T))throw new TypeError("Invalid data structure");return yr=T,T}catch(E){throw n.error("Failed to get MetaMask extension links",E),E}};return{getMetamaskAuthData:_,requestMetamaskRegistration:async p=>{$_$();let h,E;try{return[h,E]=v(()=>t.postRequest(`/registration/socialregistration?${p}`)),h=await h,E(),h}catch(T){throw n.error("Failed to request Metamask registration",T),T}}}},Hc=1e4,ZE=async({httpModule:e})=>{$_$();let t,n;try{const{response:s}=([t,n]=v(()=>$_$() && e(Dl,{timeout:Hc,method:"HEAD",redirect:"follow"}).execute({returnContext:!0})),t=await t,n(),t);return s?s.status>=200&&s.status<300:!1}catch(s){return!1}},di=()=>{$_$();const e=Be(),t=ve(),n=Dt(),s=Vo(),r=vf(),i=_e(490),{notificationError:a}=vt(),{routerPushWithLang:l}=ot(m(()=>t.getLanguage)),c=As(),u=Hn(),{executeCaptcha:_}=pc(),d=Et(),{stateQuery:f}=dc(),{waitForm:p}=Mc();return{authResponseHandler:async({response:T,needReloadPage:P=!1,captchaAlertCallback:O=()=>{},captchaAlertCancelCallback:L=()=>{},analyticsComponentName:S})=>{$_$();var I,R;let b,D;const w=parseInt((R=(I=T.type)!=null?I:T.id)!=null?R:-1,10),U=T.debug_message!==void 0?" "+T.debug_message:"",F=(T.message+U).trim();let z="",q=T.success;t.isRegistrationProcess=!0;const ee=()=>{$_$();const oe=window.location.href;window.location.replace(Dl),setTimeout(async()=>{$_$();let le,Ee;[le,Ee]=v(()=>t.actionLogout()),await le,Ee(),window.location.href===oe&&window.location.replace(oe)},Hc)},x=async()=>{$_$();let oe,le;r.navigationBlock(),[oe,le]=v(()=>Promise.all([t.actionAuthUser(),s.runWithContext(c.configsLoad)])),await oe,le();const{isConfirmed:Ee}=([oe,le]=v(()=>a(e("auth_account_access_limited"),{title:e("auth_account_blocked"),confirmButtonText:e("auth_appeal_block")})),oe=await oe,le(),oe);Ee&&([oe,le]=v(()=>ZE({httpModule:d})),oe=await oe,le(),oe)?ee():(q=!1,[oe,le]=v(()=>t.actionLogout()),await oe,le())};switch(w){case 1:case 9:case 190:case 191:case 3:case 176:{z=F;break}case 10:if(i==="disabled")[b,D]=v(()=>a(F)),await b,D();else try{[b,D]=v(()=>_({analyticsComponentName:S,successCallback:async(oe,le)=>{$_$();let Ee,ce;n.modules.captchaEvents.trackCaptchaPass("auth",le);const{message:ne}=([Ee,ce]=v(()=>$_$() && u.postRequest("/captcha/imnotrobot",{headers:{[Kr]:oe}})),Ee=await Ee,ce(),Ee);if(ne){[Ee,ce]=v(()=>$_$() && n_({T:e,text:ne})),await Ee,ce();return}O(oe)},cancelCallback:L})),await b,D()}catch(oe){}break;case 4:[b,D]=v(()=>$_$() && l({name:Ao.HOME})),await b,D(),t.isRegistrationProcess=!1;break;case 6:case 209:[b,D]=v(()=>a(F,{title:e("accountBlocked")})),await b,D();break;case 8:q=!1,window.location.replace(F);break;case 12:[b,D]=v(()=>x()),await b,D();break;case 114:[b,D]=v(()=>p("phone_verification",{maskedPhone:T.phone})),await b,D();break;case 115:{([b,D]=v(()=>p("phone_activation")),b=await b,D(),b)&&([b,D]=v(()=>p("phone_verification")),await b,D());break}case 177:[b,D]=v(()=>$_$() && l({name:"accountverify",query:o(f)})),await b,D();break;case 185:window.location.reload();break;case 199:window.location.href=T.message;break;case-1:z=F||e("auth_unknown_error");break;case 213:z=F;break}return q?(T.type!==182&&T.user&&(window.USER_VIDEO_ID=T.user.video_id),[b,D]=v(()=>t.actionAuthUser()),await b,D(),[b,D]=v(()=>s.runWithContext(c.configsLoad)),await b,D()):window.document.dispatchEvent(new CustomEvent("updateCustomCaptchaField")),P&&window.location.reload(),{resultId:w,isSuccessResponse:q,errorMessage:z}},isNeedUnsetForm:T=>![10,3].includes(T.type)}},JE=()=>{$_$();const e=Dt(),{sendEvent:t}=Io(),n=_n(),{setLoading:s,setCurrentForm:r,setResponseType:i,setUserInfo:a,setResponseMessage:l}=Qn(),{authResponseHandler:c}=di(),{requestMetamaskRegistration:u,getMetamaskAuthData:_}=Gc(),{notificationError:d}=vt(),f=ve();return{authViaMetamask:async h=>{$_$();let E,T;try{s(!0);const{account:P,SIWESign:O}=([E,T]=v(()=>_()),E=await E,T(),E);if(P&&O){const L=`type=${h}&account=${P}&signature=${O}`,S=([E,T]=v(()=>u(L)),E=await E,T(),E);if(s(!1),S!=null&&S.success){if(n.get("is_secret_code"))n.remove("is_secret_code"),i(S.type),a(S.user),l(S.message),r("login_password_two_step_code"),t(11293,{s1:"metamask"});else{const{errorMessage:I}=([E,T]=v(()=>c({response:S,captchaAlertCallback:()=>{d(S.message)}})),E=await E,T(),E);if(I)return d(I)}e.modules.auth.trackAuthSuccess(h),f.isRegistrationProcess=!1}}}catch(P){s(!1)}}}},Vc=()=>{$_$();const e=pn(),t=To(),n=Dt(),s=Et(),{sendEvent:r}=Io(),i=ve(),{setResponseType:a,setUserInfo:l,setCurrentForm:c}=Qn(),{socialLinks:u,socialLinksShortName:_}=xE(),{authViaMetamask:d}=JE(),{waitForm:f}=Mc(),p=typeof BroadcastChannel=="function"?new BroadcastChannel(zt.SOCIAL_AUTH):void 0,{notificationError:h}=vt(),E=async P=>{$_$();let O,L;const{url:S}=([O,L]=v(()=>ME(s,{params:{type:P,lng:i.getLanguage}}).execute()),O=await O,L(),O);return S};return{socialLinks:u,socialLinksShortName:_,onSocialAuth:async(P,O=!1)=>{$_$();let L,S;if(n.modules.auth.trackAuthClick({type:"social",social:P.id}),P.id==="metamask"){d(P.id);return}const I=async({detail:{openedWindow:D,isTwoFactor:w,errorMessage:U,registrationResponse:F}})=>{$_$();let z,q;p&&(!(F!=null&&F.userId)||!(F!=null&&F.password))?p.postMessage(ci.CLOSE_TAB):D&&D.close(),F.type===115&&([z,q]=v(()=>f("phone_activation")),z=await z,q(),z)&&([z,q]=v(()=>f("phone_verification")),await z,q()),F.type===114&&([z,q]=v(()=>f("phone_verification",{maskedPhone:F.phone})),await z,q()),w?(a(F.type),l(F.user),c("login_password_two_step_code"),r(11293,{s1:"social_form"})):(O?n.modules.header.trackLoginBySocialNetwork(P.id):n.modules.auth.trackAuthSuccess(P.id),U&&Yt(()=>h(U)),p||window.document.removeEventListener(zt.SOCIAL_AUTH,I),i.actionAuthUser())};p?p.onmessage=D=>I(D.data):window.document.addEventListener(zt.SOCIAL_AUTH,I);const R=window.open("about:blank","_blank");if(!R){t.error("Auth popup was blocked by the browser");return}R.document.writeln(`

${e("auth_popup_please_wait")}

`);const b=([L,S]=v(()=>$_$() && E(P.id)),L=await L,S(),L);R.location.href=b}}},eT=()=>$_$() && jt({name:"AUTH_FORM_TWO_STEP_MODAL",component:()=>X(()=>import("./42b53dd1a2.js"),__vite__mapDeps([23,5,1,24]),import.meta.url),componentLoader:pt,middleware:[Vn]}),tT=()=>{$_$();const e=Dt(),{showRegistrationForm:t}=oh(),n=r=>{e.modules.registrationEvents.trackRegistrationPageCall(r),e.modules.yandexEvents.trackRegOpenPopup(),e.modules.header.showRegistrationForm(),t({locationForAnalytics:"top"})},s=()=>{t({locationForAnalytics:"top"})};return Ps(()=>$_$() && Yt(()=>document.addEventListener("showRegistrationForm",s))),ao(()=>document.removeEventListener("showRegistrationForm",s)),{showRegistration:n}},oT=K({url:"/web-api/user/auth",method:"POST",expectedParams:{login:kc,password:Bc,save:_i,componentsData:gn}}),nT=K({url:"/web-api/user/auth",method:"POST",expectedParams:{phoneNumber:wE,countryCode:NE,password:Bc,save:_i,componentsData:gn}}),cD=K({url:"/web-api/sms-auth/check-code",method:"POST",expectedParams:{smsCode:DE,componentsData:gn}}),uD=K({url:"/web-api/user/twoauth/",method:"POST",expectedParams:{twoAuthCode:FE,componentsData:gn,save:_i}});K({url:"/web-api/socauth/twofactor/",method:"POST",expectedParams:{code:s_}});K({url:"/web-api/user/auth",method:"POST",expectedParams:V({methodId:UE,token:kE,sign:BE},Rs())});const _D=K({url:"/web-api/sms-auth/send-code",method:"POST",expectedParams:{phone:$c,phoneCode:Fc,componentsData:gn}}),dD=K({url:"/web-api/sms-auth/send-telegram-code",method:"POST",expectedParams:{phone:$c,phoneCode:Fc,componentsData:gn}});K({url:"/web-api/user/disconnect",method:"POST"});K({url:"/session-api/sessions/user",method:"GET"});K({url:"/web-api/oauth/rights",method:"POST"});K({url:"/web-api/oauth/auth",method:"POST"});K({url:"/external-api/fastLogin",method:"POST",expectedParams:{login:kc,pass:LE}});K({url:"/web-api/api/mobile/v1/token",method:"POST"});var Mt=(e=>(e[e.TG_REG_WIDGET_OPENED=10511]="TG_REG_WIDGET_OPENED",e[e.TG_REG_WIDGET_REG_SUCCESS=10512]="TG_REG_WIDGET_REG_SUCCESS",e[e.TG_REG_WIDGET_REG_ERROR=10513]="TG_REG_WIDGET_REG_ERROR",e[e.TG_REG_WIDGET_CLOSED=10514]="TG_REG_WIDGET_CLOSED",e[e.TG_REG_WIDGET_COUNTRY_OPENED=10515]="TG_REG_WIDGET_COUNTRY_OPENED",e[e.TG_REG_WIDGET_CURRENCY_OPENED=10516]="TG_REG_WIDGET_CURRENCY_OPENED",e[e.TG_REG_WIDGET_BONUS_OPENED=10517]="TG_REG_WIDGET_BONUS_OPENED",e[e.TG_REG_WIDGET_ANY_SELECT_EVENT=10518]="TG_REG_WIDGET_ANY_SELECT_EVENT",e[e.TG_REG_WIDGET_REG_CLICK=10519]="TG_REG_WIDGET_REG_CLICK",e[e.TG_REG_WIDGET_HAVE_ACC_CLICK=10520]="TG_REG_WIDGET_HAVE_ACC_CLICK",e[e.TG_REG_WIDGET_RULES_CLICK=10521]="TG_REG_WIDGET_RULES_CLICK",e[e.TG_REG_WIDGET_POLICY_CLICK=10522]="TG_REG_WIDGET_POLICY_CLICK",e[e.TG_AUTH_WIDGET_OPENED=10523]="TG_AUTH_WIDGET_OPENED",e[e.TG_AUTH_WIDGET_AUTH_SUCCESS=10524]="TG_AUTH_WIDGET_AUTH_SUCCESS",e[e.TG_AUTH_WIDGET_SOCIAL_AUTH_SUCCESS=10525]="TG_AUTH_WIDGET_SOCIAL_AUTH_SUCCESS",e[e.TG_AUTH_WIDGET_AUTH_ERROR=10526]="TG_AUTH_WIDGET_AUTH_ERROR",e[e.TG_AUTH_WIDGET_CLOSED=10527]="TG_AUTH_WIDGET_CLOSED",e[e.TG_AUTH_WIDGET_MAIL_TAB_CLICK=10528]="TG_AUTH_WIDGET_MAIL_TAB_CLICK",e[e.TG_AUTH_WIDGET_PHONE_TAB_CLICK=10529]="TG_AUTH_WIDGET_PHONE_TAB_CLICK",e[e.TG_AUTH_WIDGET_REMEMBER_ME=10530]="TG_AUTH_WIDGET_REMEMBER_ME",e[e.TG_AUTH_WIDGET_FORGOT_PASS=10531]="TG_AUTH_WIDGET_FORGOT_PASS",e[e.TG_AUTH_WIDGET_LOGIN_CLICK=10532]="TG_AUTH_WIDGET_LOGIN_CLICK",e[e.TG_AUTH_WIDGET_LOGIN_TG_CLICK=10533]="TG_AUTH_WIDGET_LOGIN_TG_CLICK",e[e.TG_AUTH_WIDGET_LOGIN_GOOGLE_CLICK=10534]="TG_AUTH_WIDGET_LOGIN_GOOGLE_CLICK",e))(Mt||{}),Is=(e=>(e[e.SET_SECURE_COOKIE1=1]="SET_SECURE_COOKIE1",e[e.SET_SECURE_COOKIE2=2]="SET_SECURE_COOKIE2",e[e.GET_SECURE_DATA=3]="GET_SECURE_DATA",e))(Is||{});const sT=()=>{$_$();const[e=0,t=[]]=lo(208,206),n=t.includes("sms"),s=e===1;return{isAvailableAuthViaSms:n,isSmsAuthInSocial:s,isSingleSocialView:e===2,isAuthViaSmsVisibleInSocial:n&&s}};var ye=(e=>(e[e.CANCEL=-1]="CANCEL",e[e.SPORT=0]="SPORT",e[e.CASINO=1]="CASINO",e[e.PROMOCODE=3]="PROMOCODE",e[e.DOUBLE=4]="DOUBLE",e[e.LOST_FIRST_BET=5]="LOST_FIRST_BET",e[e.FREEBET=6]="FREEBET",e[e.FIRST_BETS_CASHBACK=7]="FIRST_BETS_CASHBACK",e[e.INSURANCE=8]="INSURANCE",e[e.DISTRIBUTION_PROFITS=9]="DISTRIBUTION_PROFITS",e[e.SPORT_300_PERCENT=10]="SPORT_300_PERCENT",e[e.DAILY_BONUS=11]="DAILY_BONUS",e[e.BOOST=13]="BOOST",e[e.RISK_FREE_BONUS=14]="RISK_FREE_BONUS",e[e.TACTICAL=15]="TACTICAL",e[e.SPORT_BETTING=16]="SPORT_BETTING",e))(ye||{});const Ur={TO_FILE:0,TO_PIC:1,TO_EMAIL:2},kr={POPUP:"popup",WIDGET:"widget"},pD={[ye.CANCEL]:"modals_auth_bonus_no",[ye.SPORT]:"modals_auth_bonus_sport",[ye.CASINO]:"modals_auth_bonus_casino"},mD={[ye.SPORT]:"1st",[ye.CASINO]:"slot_first_deposit"},fD={password:"password",text:"text"},zc="dd-MM-yyyy",rT=()=>$_$() && jt({name:"REGISTRATION_BONUS_MODAL",component:()=>X(()=>import("./a9f4faa64d.js"),__vite__mapDeps([25,5,1,26]),import.meta.url),componentLoader:pt}),iT=()=>{$_$();const e=Ot();return{showBonusPopup:({analytics:n,title:s,description:r,btnText:i})=>{e.show(rT(),{analytics:n,title:s,description:r,btnText:i},{height:"auto",classes:"registration-bonus-modal"})}}},aT=()=>{$_$();const e=Kt(),{webApi:t}=zr(),n=ht(),[s=!1,r=!0]=lo(610,187),i=Dt(),{showBonusPopup:a}=iT(),l=m(()=>i.modules.registration[kr.POPUP]),c=new Set([rt.MENU_PROFILE,rt.RECHARGE,rt.MENU_SETTINGS,rt.MENU_PROMO]);return{isBonusPopupRoute:d=>!(d!=null&&d.name)||!c.has(d.name),executeRegistrationBonusPopup:async()=>{$_$();let d,f;const p=([d,f]=v(()=>$_$() && e.getItem(tt.SHOW_REGISTRATION_BONUS_MODAL)),d=await d,f(),d);if(!(!r||!p||!s))try{const{data:h}=([d,f]=v(()=>t.getRequest("/api/v3/bonuses/first-deposit")),d=await d,f(),d),{hasFirstDeposit:E,bonusPopupTitle:T,bonusPopupDescription:P,bonusPopupBtnText:O}=h;E&&a({analytics:o(l),title:T,description:P,btnText:O})}catch(h){n.error("error load first deposit bonus data",h)}}}},Ea=e=>$_$() && e?{[Kr]:e}:{};var lT=Object.defineProperty,Ta=Object.getOwnPropertySymbols,cT=Object.prototype.hasOwnProperty,uT=Object.prototype.propertyIsEnumerable,ya=(e,t,n)=>t in e?lT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ca=(e,t)=>{for(var n in t||(t={}))cT.call(t,n)&&ya(e,n,t[n]);if(Ta)for(var n of Ta(t))uT.call(t,n)&&ya(e,n,t[n]);return e};const pi=({defaultLogin:e,defaultPhone:t,defaultPasswordLogin:n,defaultPasswordPhone:s,defaultRemember:r=!1,shouldShowFirstDepositPopup:i=!0,shouldTrackAuthSuccessLegacy:a=!1,isUsedExtendedForm:l=!1,createBlockedModal:c,customPasswordVisibleIcon:u,customPasswordInvisibleIcon:_}={})=>{$_$();const d=Be(),{loading:f,isFormLoginPassword:p,isFormPhonePassword:h,currentForm:E,isFormSMSPassword:T,setLoading:P,setCurrentForm:O,setResponseType:L,setUserInfo:S,setResponseMessage:I,setRememberMe:R,hasOnlySmsCodeDeliveryMethod:b}=Qn(),D=Dt(),[w=[],U=!1,F=!1]=lo(206,259,235),z=_n(),{notificationRESTError:q}=nh(),ee=ve(),x=Et(),oe=ht(),{executeRegistrationBonusPopup:le}=aT(),{authResponseHandler:Ee,isNeedUnsetForm:ce}=di(),ne=Ot(),{addFieldData:te,resetForm:de,validateForm:se,formIsError:pe}=ii(),re=ai(),{notificationError:Ae,notificationPermanentInfo:we}=vt(),{validatorRequired:$e}=$s(),He=m({get:()=>ee.getTimeZone,set:ke=>ee.installTimeZone(ke)}),{routerPushWithLang:fe}=r_(m(()=>ee.getLanguage)),bt=Hn(),oo=Es(),{showLastSession:Rt}=cc(d,bt,oo,we),{getFingerprint:Tt}=_c(),{sendEvent:Fe}=Io(),{isAvailableAuthViaSms:Bt,isSmsAuthInSocial:At}=sT(),xt=J(!1),ct=J(!1),$t=J(0),Pt=50,Cn=d(b?"auth_enter_sms":"auth_enter_code"),So=m(()=>$_$() && o(xt)?"text":"password"),Xo=m(()=>$_$() && o(ct)),Qo=m(()=>ee==null?void 0:ee.getUserId),In=m(()=>$_$() && (o(Qo)||o(Xo))&&!o(f)),Sn=m(()=>Bt&&!At&&(w==null?void 0:w.length)>1),Zo=m(()=>{const ke=w.includes("id"),Je=w.includes("email");return w.includes("phone_number")&&(ke||Je)}),vn=u||Ce.EYE,Jo=_||Ce.EYE_SLASH,On=m(()=>$_$() && o(xt)?vn:Jo),en=m(()=>$_$() && o(xt)?d("auth_hide_password"):d("auth_show_password")),tn=m(()=>$_$() && o(f)||o(pe)),bn=m(()=>$_$() && o(f)),Rn=J(o(E)),An=m(()=>[{caption:d("auth_by_email"),value:"login_password"},{caption:d("auth_by_phone"),value:"phone_password"}]),Oe=m(()=>w.includes("email")?d("auth_user_login_id_email_2"):d("auth_user_login_id")),mt=te(m(()=>$_$() && ({required:!0,placeholder:o(Oe),validator:$e,visible:o(p),unresettable:l,defaultValue:e}))),Ft=te(m(()=>$_$() && ({required:!0,validator:ke=>$e(ke==null?void 0:ke.phoneNum),visible:o(h),unresettable:l,defaultValue:t}))),ft=te(m(()=>$_$() && ({required:!0,type:o(So),placeholder:d("auth_user_pass"),validator:$e,visible:!l,defaultValue:n}))),be=te(m(()=>$_$() && ({required:!0,type:o(So),placeholder:d("auth_user_pass"),validator:$e,visible:l&&o(p),unresettable:!0,defaultValue:n}))),Ue=te(m(()=>$_$() && ({required:!0,type:o(So),placeholder:d("auth_user_pass"),validator:$e,visible:l&&o(h),unresettable:!0,defaultValue:s}))),Xt=te({defaultValue:r}),yt=[mt,Ft],mo=[ft,be,Ue],fo=m(()=>$_$() && ![...yt,...mo].some(Je=>Je.visible&&!Je.value)&&!o(tn)),go=w.includes("email")?Ce.EMAIL:Ce.USER,vo=m(()=>$_$() && o(p)?w.includes("email")&&mt.value&&mt.value.match(i_)?"email":"id":"phone_number"),Lo=()=>{l?(be.setValue(""),Ue.setValue("")):ft.setValue(""),z.remove("inr")},ue=()=>{$_$();D.modules.auth.trackChangeLoginType({type:o(E)}),o(h)&&D.modules.header.changeInputTypeFieldOnPhoneInAuth(),o(p)&&D.modules.header.changeInputTypeFieldOnIdInAuth()},Me=()=>{$_$();D.modules.auth.trackAuthClick({type:o(E),remember:Xt==null?void 0:Xt.value})},Pe=()=>{$_$();D.modules.auth.trackSuccessLogin({captchaPassTime:o($t)}),D.modules.yandexEvents.trackAuthSuccess(),D.modules.auth.trackAuthSuccessSportRadar(o(Qo)),o(p)&&D.modules.header.trackAuthByEmail(),o(h)&&D.modules.header.trackAuthByPhone(),a&&(o(p)||o(h))&&D.modules.auth.trackAuthSuccess(o(p)?"email":"phone_number"),$t.value=0},Ie=async(ke,Je)=>{$_$();var Lt;return oT(x,{params:{login:Vt.encode((Lt=mt.value)==null?void 0:Lt.trim()),password:Vt.encode(l?be.value:ft.value),save:Xt.value||!1,componentsData:ke},headers:Ca({},Ea(Je))}).execute()},Ze=async(ke,Je)=>{$_$();var Lt,Ne,je,on;return nT(x,{params:{phoneNumber:Vt.encode((Ne=(Lt=Ft.value)==null?void 0:Lt.phoneNum)!=null?Ne:""),countryCode:(on=(je=Ft.value)==null?void 0:je.phoneCode.replace("+",""))!=null?on:"",password:Vt.encode(l?Ue.value||"":ft.value||""),save:Xt.value||!1,componentsData:ke},headers:Ca({},Ea(Je))}).execute()},Ct=async(ke,Je)=>$_$() && o(p)?Ie(ke,Je):Ze(ke,Je),Oo=[{field:mt,name:"login"},{field:Ft,name:"phoneNumber"},{field:ft,name:"password"},{field:be,name:"password"},{field:Ue,name:"password"}],wo=async({isAuthAfterCaptchaPass:ke=!1,captcha:Je,isTelegramWidget:Lt=!1}={})=>{$_$();let Ne,je;try{if(P(!0),[Ne,je]=v(()=>re[Is.GET_SECURE_DATA]()),await Ne,je(),ke?$t.value=o($t)===0?0:Date.now()-o($t):Me(),[Ne,je]=v(()=>se()),Ne=await Ne,je(),Ne){D.modules.auth.trackAuthFormFieldError({isLoginError:yt.some(({error:It,visible:Qt})=>Qt&&It),isPwdError:mo.some(({error:It,visible:Qt})=>Qt&&It)}),Oo.forEach(({field:It,name:Qt})=>{$_$();It.error&&It.visible&&D.modules.auth.trackAuthError(o(vo),It.error,Qt)});return}z.get("disable_secure_cookie")||re[Is.SET_SECURE_COOKIE2]();const{componentsData:bu}=([Ne,je]=v(()=>Tt()),Ne=await Ne,je(),Ne),Pn=([Ne,je]=v(()=>Ct(bu,Je)),Ne=await Ne,je(),Ne);if(He.value=z.get("tzo"),z.get("is_secret_code")){z.remove("is_secret_code"),L(Pn.type),S(Pn.user),I(Pn.message),O("login_password_two_step_code"),Fe(11293,{s1:"password_form"});return}const{isSuccessResponse:Ru,errorMessage:ss,resultId:nn}=([Ne,je]=v(()=>Ee({response:Pn,analyticsComponentName:"useAuthFormByPassword",captchaAlertCallback:It=>wo({isAuthAfterCaptchaPass:!0,captcha:It,isTelegramWidget:Lt}),captchaAlertCancelCallback:()=>Lo()})),Ne=await Ne,je(),Ne);(nn===3||nn===10)&&($t.value=Date.now()),ss&&(D.modules.auth.trackErrorLogin({errorCode:nn}),D.modules.auth.trackAuthError(o(vo),ss),D.modules.yandexEvents.trackAuthError(),Lt&&Fe(Mt.TG_AUTH_WIDGET_AUTH_ERROR,{i1:nn,s1:ss}),U&&c&&nn===213?(Lo(),ne.show(c())):([Ne,je]=v(()=>Ae(ss)),await Ne,je())),ce(Pn)&&Lo(),Ru&&(ct.value=!0,Pe(),Lt&&Fe(Mt.TG_AUTH_WIDGET_AUTH_SUCCESS,{s1:o(E),s2:`${o(Xt)}`}),nn===212?([Ne,je]=v(()=>we(d("verification_popup_text"),{title:d("verification_popup_title"),showCancelButton:!0,confirmButtonText:d("verification_popup_confirm"),cancelButtonText:d("main_undo"),hasCancel:!0,submitCaption:d("verification_popup_confirm"),cancelCaption:d("main_undo"),preConfirm:async()=>{$_$();let It,Qt;[It,Qt]=v(()=>$_$() && fe({name:rt.VERIFICATION})),await It,Qt(),ee.isRegistrationProcess=!1},onSubmit:async()=>{$_$();let It,Qt;[It,Qt]=v(()=>$_$() && fe({name:Ls.ACCOUNT_VERIFICATION})),await It,Qt(),ee.isRegistrationProcess=!1}})),await Ne,je()):i&&le(),F&&([Ne,je]=v(()=>Rt()),await Ne,je()),ee.isRegistrationProcess=!1)}catch(on){oe.error("loginPassAuth",on),[Ne,je]=v(()=>q(on)),await Ne,je(),Lo()}finally{P(!1)}},bo=()=>{$_$();xt.value=!o(xt)},No=()=>{$_$();de(),O(o(E)==="login_password"?"phone_password":"login_password"),ue()};return R(r),xe(Xt,()=>{R(Xt.value)}),{INPUT_MAX_LENGTH:Pt,sendWithCodeButtonText:Cn,authFormByPassLoading:f,authFormByPassIsLoginByEmail:p,authFormByPassIsLoginByPhone:h,authFormByPassIsLoginBySMS:T,authFormByPassCanShowToggleTypeBtn:Zo,authFormByPassIconForPasswordInput:On,authFormByPassTitleTogglePassword:en,authFormByPassSubmitDisabled:tn,isFieldsFilledAndSubmitEnabled:fo,authFormByPassFieldsDisabled:bn,authFormByPassEmailField:mt,authFormByPassPhoneField:Ft,authFormByPassPasswordField:ft,authFormExtendedLoginPasswordField:be,authFormExtendedPhonePasswordField:Ue,authFormByPassRememberMeField:Xt,authFormByPassIsSuccess:Xo,authFormByPassCurrentForm:Rn,authFormByPassTabsOptions:An,authFormByPassSwitchToEmailIconName:go,currentAuthType:vo,shouldHideLoginModal:In,isShowSmsAuthInForm:Sn,authFormByPassSubmit:wo,authFormByPassToggleViewPassword:bo,authFormByPassToggleForm:No}},_T=()=>$_$() && jt({name:"FORGOT_PASSWORD_MODAL",component:()=>X(()=>import("./e577767680.js").then(e=>e.ForgotAppModal),__vite__mapDeps([27,1,28]),import.meta.url),componentLoader:pt}),dT=W({name:"UiFieldReCaptcha",components:{UiFieldGoogleCaptchaTerms:Ul},props:{isCentered:{type:Boolean,default:!1},showAgreement:{type:Boolean,default:!0},isPrivacyInNewLine:{type:Boolean,default:!1}},setup(e){$_$();const[t="",n="",s="main_policy_disclaimer"]=lo(96,102,260),r=un(e),i=o(ve()),a=m(()=>i.getLanguage),l=o(a),c=m(()=>`https://policies.google.com/privacy?hl=${l}`),u=m(()=>`https://policies.google.com/terms?hl=${l}`),_=m(()=>$_$() && ({"ui-field-re-captcha--centered":o(r)}));return{googlePrivacyLink:c,googleTermsLink:u,privacyPolicyLink:t,rulesPageLink:n,agreementRegDictionaryKey:s,uiFieldReCaptchaClasses:_}}}),pT={key:0},mT=["href"],fT=["href"],gT=["href"],hT=["href"];function ET(e,t,n,s,r,i){$_$();const a=ws,l=B("UiFieldGoogleCaptchaTerms");return g(),k("div",{class:Re(["ui-field-re-captcha",e.uiFieldReCaptchaClasses])},[C(l,null,{default:y(()=>$_$() && [C(a,{tmp:"main_captcha_disclaimer"},{privacy:y(c=>$_$() && [e.isPrivacyInNewLine?(g(),k("br",pT)):Y("",!0),A("a",{target:"_blank",href:e.googlePrivacyLink},N(c),9,mT)]),rules:y(c=>$_$() && [A("a",{target:"_blank",href:e.googleTermsLink},N(c),9,fT)]),_:1})]),_:1}),e.showAgreement?(g(),$(l,{key:0},{default:y(()=>$_$() && [C(a,{tmp:e.agreementRegDictionaryKey},{rules:y(c=>$_$() && [A("a",{id:"regRules",href:e.rulesPageLink,target:"_blank"},N(c),9,gT)]),privacy:y(c=>$_$() && [A("a",{id:"regPolitics",href:e.privacyPolicyLink,target:"_blank"},N(c),9,hT)]),_:1},8,["tmp"])]),_:1})):Y("",!0)],2)}const TT=j(dT,[["render",ET],["__scopeId","data-v-f474443b"]]),yT=W({name:"RegistrationSeparator",props:{text:{type:String,default:""}}}),CT={class:"registration-separator"},IT={class:"registration-separator__label"};function ST(e,t,n,s,r,i){$_$();return g(),k("div",CT,[A("div",IT,[qe(e.$slots,"default",{},()=>$_$() && [G(N(e.text),1)],!0)])])}const vT=j(yT,[["render",ST],["__scopeId","data-v-dfe5fd0a"]]),OT=W({name:"AuthorizationContent",props:{shouldShowCloseButton:{type:Boolean,default:!0}},emits:["closeModal"],setup(e,{emit:t}){$_$();return{closeModal:()=>{t("closeModal")},iconName:Ce,sizeType:M,WeightType:Ke}}}),bT={class:"authorization-content"},RT={class:"authorization-content__container"},AT={class:"authorization-content__fields"};function PT(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("UiButton"),c=B("UiCaption"),u=Xe("tooltip");return g(),k("div",bT,[e.shouldShowCloseButton?Te((g(),$(l,{key:0,onClick:e.closeModal,"aria-label":e.$T("main_close"),size:e.sizeType.l,narrow:"",class:"authorization-content__close"},{default:y(()=>$_$() && [C(a,{ico:e.iconName.TIMES,size:e.sizeType.s},null,8,["ico","size"])]),_:1},8,["onClick","aria-label","size"])),[[u,e.$T("main_close")]]):Y("",!0),A("div",RT,[C(c,{weight:e.WeightType.BOLD,size:e.sizeType.xl,tag:"h3",class:"authorization-content__header"},{default:y(()=>$_$() && [G(N(e.$T("auth_login_to_account")),1)]),_:1},8,["weight","size"]),A("div",AT,[qe(e.$slots,"default",{},void 0,!0)])])])}const LT=j(OT,[["render",PT],["__scopeId","data-v-eb780e80"]]),wT=({rootClass:e,socialLinks:t})=>{const n=t.length>5;return{rootClasses:{[`${e}--size-s`]:n,[`${e}--size-m`]:!n}}},NT=W({name:"AuthFormExtendedSocial",setup(){$_$();const{onSocialAuth:e,socialLinks:t}=Vc(),{rootClasses:n}=wT({rootClass:"auth-form-extended-social",socialLinks:t});return{onSocialAuth:e,socialLinks:t,sizeType:M,themeType:he,ICON_LOGOS_PATH:Ns,rootClasses:n}}}),DT={class:"auth-form-extended-social__list"};function UT(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("UiButton"),c=Xe("tooltip");return g(),k("div",{class:Re(["auth-form-extended-social",e.rootClasses])},[A("ul",DT,[(g(!0),k(Se,null,Ge(e.socialLinks,u=>$_$() && (g(),k("li",{key:u.id,class:"auth-form-extended-social__item"},[Te((g(),$(l,{onClick:_=>e.onSocialAuth(u),theme:e.themeType.primary,"aria-label":u.name,size:e.sizeType.l,rounded:!1,narrow:"",decent:"",class:"auth-form-extended-social__button"},{default:y(()=>$_$() && [C(a,{ico:u.ico,path:e.ICON_LOGOS_PATH,size:e.sizeType.xl},null,8,["ico","path","size"])]),_:2},1032,["onClick","theme","aria-label","size"])),[[c,u.name]])]))),128))])],2)}const kT=j(NT,[["render",UT],["__scopeId","data-v-abc913ae"]]),BT=W({name:"AuthFormExtended_F",components:{UiInput:zn,AuthorizationContent:LT,UiSelection:so,UiFieldReCaptcha:TT,AuthFormExtendedSocial:kT,RegistrationSeparator:vT},props:{isEnableRememberMe:{required:!1,type:Boolean,default:!0},hasForgotPassword:{required:!1,type:Boolean,default:!0},isModalForm:{type:Boolean,default:!0}},setup(){$_$();var e;const t=Dt(),n=Bs(),s=mn(),{maybeResetReturnState:r}=dc(),{showRegistration:i}=tT(),{setCurrentForm:a,isFormLoginPasswordTwoFactor:l}=Qn(),{INPUT_MAX_LENGTH:c,authFormByPassLoading:u,authFormByPassIconForPasswordInput:_,authFormByPassTitleTogglePassword:d,isFieldsFilledAndSubmitEnabled:f,authFormByPassFieldsDisabled:p,authFormByPassEmailField:h,authFormExtendedLoginPasswordField:E,authFormByPassRememberMeField:T,shouldHideLoginModal:P,authFormByPassSubmit:O,authFormByPassToggleViewPassword:L}=pi({isUsedExtendedForm:!0,customPasswordVisibleIcon:Ce.EYE,customPasswordInvisibleIcon:Ce.EYE_SLASH});a("login_password");const S=()=>{s.hide()};xe(l,()=>{S(),t.modules.auth.trackForgotPasswordPopUp(),t.modules.header.clickForgotYourPwd(),n.show(eT(),{},{classes:"ui-modal"})});const I=()=>{r(),S()},R=()=>{S(),t.modules.auth.trackForgotPasswordPopUp(),t.modules.header.clickForgotYourPwd(),n.show(_T(),{},{classes:"ui-modal"})},b=()=>{S(),i({screen:gc.NOT_ACCOUNT_YET})},D=(e=_e(254))!=null?e:!0,{socialLinks:w}=Vc();return yo(P,S),{authFormByPassLoading:u,authFormByPassIconForPasswordInput:_,authFormByPassTitleTogglePassword:d,isFieldsFilledAndSubmitEnabled:f,authFormByPassFieldsDisabled:p,authFormByPassEmailField:h,authFormExtendedLoginPasswordField:E,authFormByPassRememberMeField:T,authFormByPassToggleViewPassword:L,showForgotPwdPopup:R,authFormByPassSubmit:O,themeType:he,ColorType:Wt,sizeType:M,closeModal:I,openRegistration:b,isShowRegistrationBtn:D,socialLinks:w,iconName:Ce,clearPassword:()=>{E.setValue("")},INPUT_MAX_LENGTH:c}}}),$T={class:"auth-form-extended-remember-user"},FT={key:1,class:"auth-form-extended-not-registered"};function MT(e,t,n,s,r,i){$_$();const a=B("UiInput"),l=B("UiIco"),c=B("UiButton"),u=B("UiCaption"),_=B("UiSelection"),d=B("RegistrationSeparator"),f=B("AuthFormExtendedSocial"),p=B("UiFieldReCaptcha"),h=B("AuthorizationContent"),E=Xe("tooltip");return g(),$(h,{onCloseModal:e.closeModal,class:"auth-form-extended",shouldShowCloseButton:e.isModalForm},{default:y(()=>$_$() && [A("form",{onSubmit:t[3]||(t[3]=Mo((...T)=>e.authFormByPassSubmit&&e.authFormByPassSubmit(...T),["prevent"])),autocomplete:"on",class:"auth-form-extended__form"},[C(a,{modelValue:e.authFormByPassEmailField.vmodel,"onUpdate:modelValue":t[0]||(t[0]=T=>e.authFormByPassEmailField.vmodel=T),size:e.sizeType.l,nativePlaceholder:e.$T("auth_user_login_id_email_2"),idValue:"username",theme:e.themeType.primary,error:e.authFormByPassEmailField.error,disabled:e.authFormByPassFieldsDisabled,autocomplete:"username",nameValue:"username",type:"text",maxlength:e.INPUT_MAX_LENGTH},null,8,["modelValue","size","nativePlaceholder","theme","error","disabled","maxlength"]),C(a,{ref:"passwordInput",modelValue:e.authFormExtendedLoginPasswordField.vmodel,"onUpdate:modelValue":t[1]||(t[1]=T=>e.authFormExtendedLoginPasswordField.vmodel=T),type:e.authFormExtendedLoginPasswordField.field.type,size:e.sizeType.l,theme:e.themeType.primary,nativePlaceholder:e.$T("auth_user_pass"),idValue:"username-password",error:e.authFormExtendedLoginPasswordField.error,disabled:e.authFormByPassFieldsDisabled,autocomplete:"current-password",nameValue:"username-password",maxlength:e.INPUT_MAX_LENGTH},{afterContent:y(()=>$_$() && [Te((g(),$(c,{onClick:e.clearPassword,"aria-label":e.$T("main_clear"),rounded:!1,decent:"",size:e.sizeType.m,narrow:""},{default:y(()=>$_$() && [C(l,{size:e.sizeType.m,ico:e.iconName.CIRCLE_XMARK_SOLID},null,8,["size","ico"])]),_:1},8,["onClick","aria-label","size"])),[[eo,e.authFormExtendedLoginPasswordField.vmodel],[E,e.$T("main_clear")]]),Te((g(),$(c,{ref:"toggleView",onClick:Mo(e.authFormByPassToggleViewPassword,["stop"]),"aria-label":e.authFormByPassTitleTogglePassword,rounded:!1,decent:"",size:e.sizeType.l,narrow:""},{default:y(()=>$_$() && [C(l,{size:e.sizeType.m,ico:e.authFormByPassIconForPasswordInput},null,8,["size","ico"])]),_:1},8,["onClick","aria-label","size"])),[[E,e.authFormByPassTitleTogglePassword]])]),_:1},8,["modelValue","type","size","theme","nativePlaceholder","error","disabled","maxlength"]),A("div",$T,[e.isEnableRememberMe?(g(),$(_,{key:0,ref:"storeCredentialsCheckbox",modelValue:e.authFormByPassRememberMeField.vmodel,"onUpdate:modelValue":t[2]||(t[2]=T=>e.authFormByPassRememberMeField.vmodel=T),type:"checkbox",theme:e.themeType.gray30,hasInnerOffset:!1,class:"auth-form-extended-remember-user__checkbox",disabled:e.authFormByPassFieldsDisabled,name:"store_credentials"},{default:y(()=>$_$() && [C(u,{size:e.sizeType.xs,color:e.ColorType.clrDecent},{default:y(()=>$_$() && [G(N(e.$T("auth_remember_user_me")),1)]),_:1},8,["size","color"])]),_:1},8,["modelValue","theme","disabled"])):Y("",!0),e.hasForgotPassword?(g(),$(u,{key:1,onClick:e.showForgotPwdPopup,size:e.sizeType.xs,color:e.ColorType.clrStrong,class:"auth-form-extended-remember-user__button"},{default:y(()=>$_$() && [G(N(e.$T("auth_forgot_pass")),1)]),_:1},8,["onClick","size","color"])):Y("",!0)]),C(c,{ref:"submit_button",theme:e.themeType.accent,size:e.sizeType.l,uppercase:!1,block:"",type:"submit",loading:e.authFormByPassLoading,disabled:!e.isFieldsFilledAndSubmitEnabled},{default:y(()=>$_$() && [C(u,{size:e.sizeType.m},{default:y(()=>$_$() && [G(N(e.$T("auth_enter")),1)]),_:1},8,["size"])]),_:1},8,["theme","size","loading","disabled"]),e.socialLinks.length?(g(),k(Se,{key:0},[C(d,{class:"auth-form-extended__separator",text:e.$T("main_or")},null,8,["text"]),C(f,{class:"auth-form-extended__socials"})],64)):Y("",!0),e.isShowRegistrationBtn?(g(),k("div",FT,[C(u,{size:e.sizeType.m,color:e.ColorType.clrDecent},{default:y(()=>$_$() && [G(N(e.$T("auth_not_register_yet1")),1)]),_:1},8,["size","color"]),C(u,{onClick:e.openRegistration,class:"auth-form-extended-not-registered__link",size:e.sizeType.m,color:e.ColorType.clrStrong},{default:y(()=>$_$() && [G(N(e.$T("reg_account_create")),1)]),_:1},8,["onClick","size","color"])])):Y("",!0),C(p,{isCentered:"",showAgreement:!1,isPrivacyInNewLine:!0,class:"auth-form-extended__recaptcha"})],32)]),_:1},8,["onCloseModal","shouldShowCloseButton"])}const mi=j(BT,[["render",MT],["__scopeId","data-v-c1636631"]]),GT=Object.freeze(Object.defineProperty({__proto__:null,default:mi},Symbol.toStringTag,{value:"Module"})),HT=W({name:"AuthFormMain_F",components:{AuthFormApp:mi}});function VT(e,t,n,s,r,i){$_$();const a=B("AuthFormApp");return g(),$(a,{class:"auth-form-main",isModalForm:!1})}const Wc=j(HT,[["render",VT],["__scopeId","data-v-ee1ab3f2"]]),gD=Object.freeze(Object.defineProperty({__proto__:null,default:Wc},Symbol.toStringTag,{value:"Module"})),hD={password:{isTitleVisible:!1},sms:{phoneLabelSize:M.xs,phoneLabelClass:void 0,phoneLabelIsUppercase:!0,phoneLabelTranslationKey:"auth_phone_label",codeLabelClassName:"auth-form-sms-form__label",codeLabelSize:M.xs,codeLabelIsUppercase:!0,isAvailableDescription:!0,isAvailablePhoneConfirmInfo:!0,isAvailableBackButton:!1,codeLabelWeight:Ke.THIN,isAvailablePhoneTitle:!1,resendFormToggleButtonSize:M.m,resendFormClassModifier:"separator"},twoStep:{titleSize:M.m,titleWeight:Ke.THIN,codePlaceholderTranslationKey:"main_two_factor_input_app_code",isVisibleSubtitle:!1,isVisibleBackToMainBtn:!1}},zT={password:{isTitleVisible:!0},sms:{phoneLabelSize:M.m,phoneLabelClass:"auth-form-sms-form__info",phoneLabelIsUppercase:!1,phoneLabelTranslationKey:"auth_send_code_desc",codeLabelClassName:"auth-form-sms-form__title",codeLabelSize:M.xl,codeLabelIsUppercase:!1,isAvailableDescription:!1,isAvailablePhoneConfirmInfo:!1,isAvailableBackButton:!0,codeLabelWeight:Ke.BOLD,isAvailablePhoneTitle:!0,resendFormToggleButtonSize:M.s,resendFormClassModifier:void 0},twoStep:{titleSize:M.xl,titleWeight:Ke.BOLD,codePlaceholderTranslationKey:"main_code",isVisibleSubtitle:!0,isVisibleBackToMainBtn:!0}},WT=()=>{$_$();var e;return{isExtendedAuthModalType:((e=_e(213))!=null?e:0)===1}},KT=W({__name:"AuthPage",setup(e){$_$();const t=_e(561),{isExtendedAuthModalType:n}=WT();return(s,r)=>$_$() && (g(),$(o(kl),{fullPage:!1,class:"auth-page"},{background:y(()=>$_$() && [C(o(Bl))]),default:y(()=>$_$() && [o(n)?(g(),$(mi,{key:0,isModalForm:!1})):(g(),$(o(Wc),{key:1,class:"auth-page__app",formsProps:o(zT),isLogoVisible:"",isExtendedPadding:"",isTextCentered:"",isRegistrationButtonVisible:o(t)},null,8,["formsProps","isRegistrationButtonVisible"]))]),_:1}))}}),YT=j(KT,[["__scopeId","data-v-4ae19460"]]),jT=[{path:"user",component:it,children:[{name:"accountverify",path:"accountverify",component:it}]},{name:"login",path:"user/login",component:YT,meta:{3:[133,191]}}],qT={path:"office",component:it,children:[{name:rt.RECHARGE,path:"recharge",component:it},{name:rt.DEDUCE,path:"deduce",component:it},{name:rt.VERIFICATION,path:"verification",component:it},{name:rt.IDENTIFICATION,path:"identification",component:it},{name:rt.RESPONSIBLE_GAMBLING,path:"responsible",component:it},{name:"office-any",path:":anyPath(.*)",component:it}],meta:{4:!0}},Ia={[ye.CANCEL]:"refuse-bonuses",[ye.SPORT]:"sport-bonus",[ye.CASINO]:"casino-bonus",[ye.PROMOCODE]:"promocode",[ye.DOUBLE]:"double",[ye.LOST_FIRST_BET]:"freebet",[ye.FREEBET]:"freebet",[ye.FIRST_BETS_CASHBACK]:"first_bets_cashback",[ye.INSURANCE]:"insurance",[ye.DISTRIBUTION_PROFITS]:"distribution_profits",[ye.SPORT_300_PERCENT]:"sport_300_percent",[ye.DAILY_BONUS]:"daily-bonus",[ye.BOOST]:"sport-bonus",[ye.RISK_FREE_BONUS]:"sport-bonus",[ye.TACTICAL]:"tactical-bonus",[ye.SPORT_BETTING]:"sport-bonus"},Cr="registrationFormData",Gs=()=>({getFormDraft:()=>{$_$();try{const s=sessionStorage.getItem(Cr);return gt(s)?JSON.parse(s):void 0}catch(s){return}},setFormDraft:s=>{sessionStorage.setItem(Cr,JSON.stringify(s))},cleanFormDraft:()=>{sessionStorage.removeItem(Cr)}}),xT=" ",XT=e=>{var t;return(t=Ia[e])!=null?t:Ia[ye.SPORT]},QT=e=>{$_$();var t;return ge((t=e==null?void 0:e.attributes)==null?void 0:t.id)},ZT=async(e,t)=>{$_$();var n,s,r,i,a;let l,c;const{getFormDraft:u}=Gs(),_=u();if(_&&_.bonus)return _.bonus;if(!t)return;const d=Kt(),f=(s=(n=e.find(({attributes:h})=>h==null?void 0:h.isSelected))==null?void 0:n.attributes)==null?void 0:s.id,p=([l,c]=v(()=>$_$() && d.getItem(tt.SELECTED_BONUS_ID)),l=await l,c(),l);return ge(f)?f:p!=null&&p.isPreselected?Number(p.value):(a=(i=(r=e[0])==null?void 0:r.attributes)==null?void 0:i.id)!=null?a:ye.SPORT},JT=async(e,t)=>{$_$();let n,s;const r=e.filter(i=>QT(i)).map(({attributes:{id:i,title:a,description:l,info:c,bonusCode:u,percent:_,max_bonus:d,freespin:f,currency_code:p}})=>$_$() && ({id:i,title:a,description:l,icon:XT(i),info:c,bonusCode:u,isCancel:ye.CANCEL===i,bonusAmount:`${d}${xT}${p}`,freeSpins:f,maxBonus:d,currencyCode:p,percent:_!=null?_:0}));return{value:([n,s]=v(()=>ZT(e,t)),n=await n,s(),n),items:r}},ey=e=>{const n=[["bonus",e==null?void 0:e.bonus]].filter(([r,i])=>$_$() && ge(i)&&i!==""),s=new URLSearchParams(n).toString();return s?`?${s}`:""},ty=(e=0)=>{$_$();const t=J(e),n=m(()=>$_$() && o(t)>0),s=m(()=>$_$() && o(t)>1);return{codeSendCount:t,codeIsSent:n,showResendCodeRecommendation:s,incrementCodeSendCount:()=>{t.value+=1},resetCodeSendCount:()=>{t.value=0}}},cs=tt.SAVED_REDIRECT_URL_KEY,jo=Jt(()=>{$_$();const e=Be(),t=J(),n=c=>$_$() && gt(c)&&c.startsWith("/"),s=c=>{c?localStorage.setItem(cs,c):localStorage.removeItem(cs),t.value=c},r=()=>{const c=localStorage.getItem(cs),u=n(c)?c:void 0;return t.value=u,u},i=()=>{localStorage.removeItem(cs),t.value=void 0},a=e("main_continue"),l=m(()=>$_$() && o(t)?a:void 0);return{isValidRedirectUrlParam:n,saveRedirectUrl:s,restoreSavedRedirectUrl:r,clearSavedRedirectUrl:i,redirectUrlQuery:t,redirectQueryButtonText:l}}),oy=()=>{$_$();const e=J(0),t=J(Date.now()),n=(r,i=Date.now())=>{e.value=r,t.value=i+r};return{sendCodeTimer:e,timeUntilUnblockedSendCode:t,updateTimeBlockingCodeSend:n,resetTimeBlockingCodeSend:()=>{n(0)}}},ny="busEventRegistrationTouched";var fi=(e=>(e[e.ONE_CLICK_ENABLED=79]="ONE_CLICK_ENABLED",e[e.ONE_CLICK_DISABLED=80]="ONE_CLICK_DISABLED",e))(fi||{});const sy=Jt(()=>{$_$();const e=bl(),t=_e(509),n=J(new Map);return(async()=>{$_$();var r;let i,a;if(t&&!((r=o(n))!=null&&r.size)){const l=([i,a]=v(()=>$_$() && Promise.all(Object.values(fi).filter($l).map(async c=>[c,await(e==null?void 0:e.isAbTestActive(c))]))),i=await i,a(),i);n.value=new Map(l)}})(),{abTestsAvailability:n}}),ry=e=>{switch(e){case"fast_reg":case"crypt_reg":return"/web-api/registration/oneclick";case"phone_reg":return"/web-api/registration/phone";case"short_reg":case"full_reg":case"xsl_landing_reg":return"/web-api/registration/full";case"full_reg_betax_bg":return"/web-api/registration/fullbetax";case"partner_reg":return"/web-api/registration/partner";case"ident_reg":return"/api/web/registration/v1/ident_reg/create";case"telegram_widget":return"/web-api/registration/telegramapp";default:return"/web-api/registration/oneclick"}};var Ho=(e=>(e.DEFAULT="default",e.WIDGET="widget",e.TG="tg",e.CUSTOM_WIDGET="customWidget",e.WIDGET_DEFAULT_CHINA="widgetDefaultChina",e.CUSTOM_VARIANT_A="customVariantA",e.CUSTOM_VARIANT_B="customVariantB",e.DEFAULT_WITH_ITS_ME="defaultWithItsMe",e))(Ho||{});const iy="RegistrationLayout",ay=new Set(["widget","customWidget","widgetDefaultChina"]);var ly=Object.defineProperty,Sa=Object.getOwnPropertySymbols,cy=Object.prototype.hasOwnProperty,uy=Object.prototype.propertyIsEnumerable,va=(e,t,n)=>t in e?ly(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_y=(e,t)=>{for(var n in t||(t={}))cy.call(t,n)&&va(e,n,t[n]);if(Sa)for(var n of Sa(t))uy.call(t,n)&&va(e,n,t[n]);return e};const dy=async(e=Ho.DEFAULT)=>{$_$();let t,n;const s=ht(),r=Et(),i=ve();try{const a=e===Ho.DEFAULT?"":`/${e}`;return[t,n]=v(()=>r(`/account-api/registration/form/web${a}`,{headers:{"X-Language":i.getLanguage}}).execute()),t=await t,n(),t}catch(a){s.error(a)}},py=async(e,t,n)=>{$_$();let s,r;const i=ry(e),a=ht(),l=Et(),{notificationError:c}=vt(),u=Be();try{return[s,r]=v(()=>$_$() && l(i,{method:"POST",body:t,headers:_y({},n?{[Kr]:n}:{})}).execute()),s=await s,r(),s}catch(_){a.error(_);const d=(_==null?void 0:_.message)||u("main_error_server");throw c(d),_}},my=async e=>{$_$();let t,n;const s=ht(),r=Et();try{return[t,n]=v(()=>r("/web-api/registration/getregion",{method:"POST",body:{country_id:e}}).execute()),t=await t,n(),t}catch(i){s.error(i)}},fy=async(e,t)=>{$_$();let n,s;const r=ht(),i=Et();try{return[n,s]=v(()=>i("/web-api/registration/getcity",{params:{country_id:e,region_id:t,noregion:!t}}).execute()),n=await n,s(),n}catch(a){r.error(a)}},gy=async(e="")=>{$_$();let t,n;const s=ht(),r=Et();try{return[t,n]=v(()=>r(`/web-api/api/v3/bonuses/welcome-bonuses${e}`).execute()),t=await t,n(),t}catch(i){return s.error(i),{data:[]}}},hy=async e=>{$_$();let t,n;const s=Et();[t,n]=v(()=>$_$() && s("/web-api/api/v3/bonuses/welcome-bonus",{method:"PUT",body:{data:{attributes:{id:e}}},headers:Fo}).execute()),await t,n()},Ey=async()=>{$_$();let e,t;const n=ht(),s=Et();try{return[e,t]=v(()=>s("/web-api/api/v3/bonuses/first-deposit").execute()),e=await e,t(),e}catch(r){return n.error(r),{}}};var kn=(e=>(e.EQUAL="equal",e.CONTAINS="contains",e.LESS_THAN="lessThan",e.GREATER_THAN="greaterThan",e))(kn||{});const Ty=(e,t)=>{$_$();const n=Yr(t)?t.id:t,s=ge(n)?String(n):"";switch(e.type){case kn.EQUAL:return s===String(e.value);case kn.CONTAINS:return s.includes(e.value);case kn.LESS_THAN:return Number(n)e.value;default:return!1}};var Le=(e=>(e.INPUT="RegistrationFieldInput",e.PHONE="RegistrationFieldPhone",e.PASSWORD="RegistrationFieldPassword",e.SELECT="RegistrationFieldSelect",e.COUNTRY="RegistrationFieldCountry",e.REGION="RegistrationFieldRegion",e.CITY="RegistrationFieldCity",e.CURRENCY="RegistrationFieldCurrency",e.CHECKBOX="RegistrationFieldCheckbox",e.LABEL="RegistrationFieldLabel",e.BUTTON="RegistrationFieldButton",e.SUBMIT="RegistrationFieldSubmit",e.PHONE_MEGA="RegistrationFieldPhoneMega",e.PHONE_CONFIRMATION="RegistrationFieldPhoneConfirmation",e.SOCIAL_SELECT="RegistrationFieldSocialSelect",e.DATEPICKER="RegistrationFieldDate",e.BONUS_CHOICE="RegistrationFieldBonusChoice",e.RADIO="RegistrationFieldRadio",e.REF_CODE_BTN="RegistrationFieldPromoCodeBtn",e.EMAIL="RegistrationFieldEmail",e.REF_CODE="RegistrationFieldRefCode",e))(Le||{}),Gt=(e=>(e.INPUT="input_text",e.EMAIL="email",e.MULTISELECT="multiselect",e.LABEL="label",e.CAPTCHA="captcha",e.CUSTOM_CAPTCHA="custom_captcha",e.BUTTON="button",e.PHONE_COUNTRY="phone_country",e.DATEPICKER="datepicker",e.DATE_BIRTHDAY="date_birthday",e.PHONE_CODE_BUTTON="phone_code_button",e.SOCIAL_TYPES="social_types",e.CHECKBOX="checkbox",e.LIST="html_list",e.BACKGROUND_CHECKBOX="bg_checkbox",e.DROPDOWN="dropdown",e.SELECT="select",e.BIRTHDAY="birthday",e.PASSWORD="password",e.PHONE="phone",e.SUBMIT="submit",e.RADIO="radio",e))(Gt||{}),H=(e=>(e.COUNTRY_ID="country_id",e.COUNTRY_CODE_ID="country_code_id",e.REGION_ID="region_id",e.CITY_ID="city_id",e.CURRENCY_ID="currency_id",e.NAME_ID="name",e.SURNAME_ID="surname",e.PASSWORD_ID="password",e.PASSWORD_REPEAT_ID="password_again",e.EMAIL_ID="email",e.DOC_NUM_ID="passport",e.DOC_SERIAL_NUM_ID="passport_series",e.DOCUMENT_TYPE_ID="document_type_id",e.DOC_DATE_OF_ISSUE_ID="passport_date",e.DOC_VALIDITY_DATE="passport_end_date",e.DOC_WHO_ISSUE="passport_who",e.CHECKBOX_DOCUMENT_ID="typedocument_id",e.PHONE_CODE_ID="tel_code",e.COUNTRY_CODE="country_code",e.PHONE_CONFIRM_BUTTON_ID="button_confirm_sms",e.PHONE_ID="phone",e.PHONE_BUTTON_ID="button_send_sms",e.GOOGLE_CAPTCHA_ID="google_captcha_response",e.CUSTOM_CAPTCHA_ID="custom_captcha",e.AGREE_POLICY_ID="agree-policy",e.BG_USL_ID="bg_usl",e.PARTNER_ACCOUNT_ID="partner_account",e.PARTNER_NICKNAME_ID="partner_nickname",e.PARTNER_PHONE_ID="partner_phone",e.PARTNER_EMAIL_ID="partner_email",e.PARTNER_RADIO_ID="partner_radio",e.BUTTON_REGISTRATION="button_registration",e.FIELD_CHECKBOX_PRIMARY_1="checkbox_primary_1",e.FIELD_CHECKBOX_PRIMARY_2="checkbox_primary_2",e.FIELD_CHECKBOX_PRIMARY_3="checkbox_primary_3",e.FIELD_CHECKBOX_TUNISIA_1="checkbox_tunisia_1",e.FIELD_CHECKBOX_TUNISIA_2="checkbox_tunisia_2",e.FIELD_CHECKBOX_TUNISIA_3="checkbox_tunisia_3",e.FIELD_CHECKBOX_PEP_ID="checkbox_pep",e.FIELD_LABEL_TUNISIA_1="tunisia_label_id_1",e.TEXT_SELECT_SOCIAL_NETWORK_ID="",e.FIELD_DATE_BIRTHDAY="date_birthday",e.FIRST_DEPOSIT_BONUS_SELECT_ID="first_deposit_bonus_choice",e.LABEL_ABOUT_IDENT="info_ident",e.BANK_ID="bank",e.CPF_ID="cpf",e.BANK_ACCOUNT="bank_account",e.BANK_ACCOUNT_OWNER="bank_account_owner",e.GENDER="gender",e.PARAM_IS_NEED_AUTH="connect",e.PARAM_IS_PAGE_REG="is_page",e.PARAM_IS_CRYPT_REG="is_crypt_reg",e.PARAM_IS_XSL_LANDING_REG="is_xsl_laning_reg",e.PARAM_IS_SHORT_REG="short_reg",e.PARAM_RECEIVE_NEWS="receive_news",e.PARAM_RECEIVE_RES="receive_res",e.PARAM_BONUS_CHOICE="bonus_choice",e.PARAM_FREEBET_CHOICE="freebet_choice",e.PARAM_CUSTOM_CAPTCHA_ID="custom_captcha_id",e.PARAM_CUSTOM_CAPTCHA_VALUE="custom_captcha_value",e.PARAM_IS_REMEMBER_AUTH="remember_auth",e.BIRTHDAY_ID="birthday",e.BIRTHPLACE="birthplace",e.REGISTRATION_NUMBER_ID="registration_number",e.DOCUMENT_NUMBER_ID="passport_number",e.ADDRESS_ID="address",e.POSTAL_CODE_ID="postal_code",e.CAPTCHA_ID="captcha",e.CITIZENSHIP="citizenship",e.CITIZENSHIP_ID="citizenship_id",e.CITY_V1_ID="city",e.COUNTRY_V1_ID="country",e.PHONE_CONFIRM_V1_ID="phone_confirm",e.PHONE_MEGA="phone_mega",e.PHONE_CONFIRMATION="phone_confirmation",e.SOCIAL_TYPES_ID="social_types_id",e.REF_CODE="ref_code",e.REF_CODE_BTN="ref_code_btn",e.AMOUNT="amount",e))(H||{});const yy={name:{[H.COUNTRY_ID]:Le.COUNTRY,[H.REGION_ID]:Le.REGION,[H.CITY_ID]:Le.CITY,[H.CURRENCY_ID]:Le.CURRENCY,[H.PHONE_ID]:Le.PHONE,[H.PASSWORD_ID]:Le.PASSWORD,[H.PASSWORD_REPEAT_ID]:Le.PASSWORD,[H.BUTTON_REGISTRATION]:Le.SUBMIT,[H.PHONE_MEGA]:Le.PHONE_MEGA,[H.PHONE_CONFIRMATION]:Le.PHONE_CONFIRMATION,[H.SOCIAL_TYPES_ID]:Le.SOCIAL_SELECT,[H.PARAM_BONUS_CHOICE]:Le.BONUS_CHOICE,[H.REF_CODE_BTN]:Le.REF_CODE_BTN,[H.EMAIL_ID]:Le.EMAIL,[H.REF_CODE]:Le.REF_CODE},type:{[Gt.INPUT]:Le.INPUT,[Gt.PHONE]:Le.PHONE,[Gt.DROPDOWN]:Le.SELECT,[Gt.CHECKBOX]:Le.CHECKBOX,[Gt.LABEL]:Le.LABEL,[Gt.BUTTON]:Le.BUTTON,[Gt.DATEPICKER]:Le.DATEPICKER,[Gt.RADIO]:Le.RADIO}},Cy=(e,t)=>{var n,s;const r=yy;return(s=(n=r.name[e])!=null?n:r.type[t])!=null?s:Le.INPUT};var ie=(e=>(e.TYPE="type",e.VALUE="value",e.ERROR="error",e.SOFT_ERROR="softError",e.LABEL="label",e.DESCRIPTION="description",e.PLACEHOLDER="placeholder",e.TOOLTIP="tooltip",e.FULL="full",e.REQUIRED="required",e.HIDDEN="hidden",e.DISABLED="disabled",e.SIZE="size",e.THEME="theme",e.CONFIG="config",e))(ie||{}),Ve=(e=>(e.COMPACT="compact",e.CAPTION_BTN="captionBtn",e.PASSWORD_GENERATOR="passwordGenerator",e.WIDGET_REMOVE_HEADER_TITLE="widgetRemoveHeaderTitle",e.WIDGET_REGISTER_WITH_SOCIAL="widgetRegisterWithSocial",e.COLOR_STYLER="colorStyler",e.NO_BORDER="noBorder",e.FORCE_UI_INPUT="forceUiInput",e.HIDE_INPUT_DESCRIPTION_PADDING="hideInputDescriptionPadding",e.NO_VALIDATE_ON_BLUR="noValidateOnBlur",e.SHOW_EMAIL_RECOMMENDATION_ON_VALUE="showEmailRecommendationOnValue",e.NO_UPPERCASE="noUppercase",e.IS_BLOCK="isBlock",e.NO_INNER_OFFSET="noInnerOffset",e.DISABLE_SUBMIT="disableSubmit",e.EXTENDED="extended",e.NO_EFFECT_ON_SUBMIT_BUTTON="noEffectOnSubmitButton",e.SHOW_BANNER_ON_SUBMIT_BUTTON="showBanner",e))(Ve||{}),Kc=(e=>(e.CHANGE_PROP="changeProp",e))(Kc||{});const Iy={[Le.COUNTRY]:{searchKeys:["Alpha2","name","aliases"],variables:{country_id:"id",tel_code:"phone_code"}},[Le.REGION]:{searchKeys:["name"]},[Le.CITY]:{searchKeys:["name"]},[Le.CURRENCY]:{searchKeys:["code","name","aliases"]},[Le.SELECT]:{searchKeys:["name"]}};var _t=(e=>(e.REQUIRED="required",e.LENGTH="length",e.REGEX="regex",e.COMPARE="compare",e.DATE_RANGE="date_range",e.DOMAIN_SUGGESTIONS="domain_suggestions",e.PARTIAL_COMPARE="partial_compare",e))(_t||{}),We=(e=>(e.COMPLETE_FORM="CompleteForm",e.COMPLETE_PHONE_REG="CompletePhoneReg",e.COMPLETE_AND_AUTH="CompleteAndAuth",e.ERROR_REGISTRATION="ErrorsRegistration",e.LOADING="Loading",e.SOCIAL="Social",e.AUTH_WAITING_LOADING="AuthWaitingLoading",e.COMPLETE_REQUEST="CompleteRequest",e.COMPLETE_EMAIL_SHOW_CONFIRMATION_WITH_REDIRECT="CompleteEmailShowConfirmationWithRedirect",e.COMPLETE_EMAIL_WITH_REDIRECT="CompleteEmailWithRedirect",e))(We||{}),Yc=(e=>(e.WITH_TIMER="social-reg-with-timer",e))(Yc||{}),ho=(e=>(e.ON_SUBMIT="tgOnSubmit",e.ON_SELECT_ANY="tgOnSelectAny",e.ON_OPENED_COUNTRY="tgOnOpenedCountry",e.ON_OPENED_CURRENCY="tgOnOpenedCurrency",e.ON_OPENED_BONUS="tgOnOpenedBonus",e.ON_CLICK_HAVE_ACC="tgOnClickHaveAcc",e.ON_CLICK_RULES="tgOnClickRules",e.ON_CLICK_POLICY="tgOnClickPolicy",e))(ho||{}),Eo=(e=>(e.ON_SUBMIT="onSubmit",e.ON_SELECT="onSelect",e.ON_OPENED="onOpened",e.ON_CLICK="onClick",e))(Eo||{}),Bn=(e=>(e.DYNAMIC="dynamic",e.PAY="pay",e.STATIC="static",e))(Bn||{}),Sy=Object.defineProperty,Oa=Object.getOwnPropertySymbols,vy=Object.prototype.hasOwnProperty,Oy=Object.prototype.propertyIsEnumerable,ba=(e,t,n)=>t in e?Sy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,by=(e,t)=>{for(var n in t||(t={}))vy.call(t,n)&&ba(e,n,t[n]);if(Oa)for(var n of Oa(t))Oy.call(t,n)&&ba(e,n,t[n]);return e};const Ry=(e,t,n)=>{$_$();var s,r,i;const a=(s=Iy[e])!=null?s:{},l=by({},t);return l.optionsRef&&!((r=l.options)!=null&&r.length)&&(l.options=(i=n==null?void 0:n[l.optionsRef])!=null?i:[]),a_(a,l)},Ay=e=>$_$() && iy+Fl(e),jc=e=>e.reduce((t,n)=>{$_$();const s=n.name,r=n.props.value;if(!r)return t;if(n.props.type===Gt.DROPDOWN)return t[s]=r.id,t;switch(s){case H.PHONE_ID:case H.PHONE_MEGA:t[H.PHONE_CODE_ID]=String(r==null?void 0:r.phoneCode),t[H.PHONE_ID]=r==null?void 0:r.phoneNum,t[H.COUNTRY_ID]=r==null?void 0:r.countryId;break;case H.GOOGLE_CAPTCHA_ID:t[s]=r==null?void 0:r.token;break;case H.CPF_ID:t[s]=r==null?void 0:r.cpf;break;case H.PASSWORD_ID:case H.PASSWORD_REPEAT_ID:t[s]=Vt.encode(r);break;default:t[s]=r}return t},{}),Py=(e,t)=>{$_$();const{type:n,bonus:s,needAuthRegTypes:r,componentsData:i}=t,a=jc(e);switch(n){case"xsl_landing_reg":a[H.PARAM_IS_XSL_LANDING_REG]=!0;break;case"crypt_reg":a[H.PARAM_IS_CRYPT_REG]=!0;break;case"short_reg":a[H.PARAM_IS_SHORT_REG]=!0;break}return ge(s)&&(a[H.FIRST_DEPOSIT_BONUS_SELECT_ID]=s),ge(a[H.PARAM_IS_NEED_AUTH])||(a[H.PARAM_IS_NEED_AUTH]=[...r,"fast_reg","crypt_promo","crypt_reg","partner_reg","telegram_widget"].includes(n)),a.comp_d=i,a},Ly=e=>Object.hasOwn(e,"phoneNum");function wy(e){$_$();const n=Yr(e)&&Ly(e)?e.phoneNum:e;return ge(n)&&String(n).trim()&&n!==!1?void 0:this.options.message}function Ny(e){$_$();if(gt(e)&&e!==""){const{max:t,min:n,maxMessage:s,minMessage:r}=this.options,i=e.trim().length;return ge(n)&&n>i?r:ge(t)&&t{$_$();if(e)return l_(e,e.includes(":")?`${t} ${ky}`:t,new Date)};function By(e){const{max:t,min:n,maxMessage:s,minMessage:r}=this.options,i=Ss(e);if(i){if(n&&it)return s}}const $y="@",Fy="{suggestion}";function My(e){$_$();const{message:t,suggestions:n=[]}=this.options;if(!e||!gt(e)||!gt(t))return;const s=e.slice(e.indexOf($y)+1),r=n.find(({typos:i})=>i.includes(s));return r?t.replace(Fy,r.suggestion):void 0}function Gy(e,t){var n,s;const{fieldNames:r,message:i}=this.options,a=String(e).toLowerCase();for(const l of r){const c=t(l),u=(s=(n=c==null?void 0:c.props)==null?void 0:n.value)!=null?s:"",_=String(u).trim().toLowerCase();if(_.length>0&&a.includes(_))return i}}var Hy=Object.defineProperty,Vy=Object.defineProperties,zy=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,Wy=Object.prototype.hasOwnProperty,Ky=Object.prototype.propertyIsEnumerable,Aa=(e,t,n)=>t in e?Hy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Br=(e,t)=>{for(var n in t||(t={}))Wy.call(t,n)&&Aa(e,n,t[n]);if(Ra)for(var n of Ra(t))Ky.call(t,n)&&Aa(e,n,t[n]);return e},$r=(e,t)=>Vy(e,zy(t));const Yy={[_t.REQUIRED]:wy,[_t.LENGTH]:Ny,[_t.REGEX]:Dy,[_t.COMPARE]:Uy,[_t.DATE_RANGE]:By,[_t.DOMAIN_SUGGESTIONS]:My,[_t.PARTIAL_COMPARE]:Gy},jy=e=>Yy[e],qy=e=>{switch(e.type){case _t.REGEX:return $r(Br({},e.options),{regExp:new RegExp(e.options.regex)});case _t.DATE_RANGE:return $r(Br({},e.options),{min:Ss(e.options.min),max:Ss(e.options.max)});default:return e.options}},xy=e=>{$_$();const t=jy(e.type);if(!ge(t))return;const n=qy(e);return $r(Br({},e),{options:n,validate:t})},qc=e=>$_$() && e.map(xy).filter(ge),Xy=e=>e.some(t=>t.type===_t.REQUIRED);var Qy=Object.defineProperty,Pa=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,Jy=Object.prototype.propertyIsEnumerable,La=(e,t,n)=>t in e?Qy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eC=(e,t)=>{for(var n in t||(t={}))Zy.call(t,n)&&La(e,n,t[n]);if(Pa)for(var n of Pa(t))Jy.call(t,n)&&La(e,n,t[n]);return e};const tC=e=>{const{sendEvent:t}=Io(),{analytics:n}=e,s={[ho.ON_SUBMIT]:{group:Eo.ON_SUBMIT,method:()=>t(Mt.TG_REG_WIDGET_REG_CLICK)},[ho.ON_SELECT_ANY]:{group:Eo.ON_SELECT,method:({selectName:i,selectedValue:a})=>t(Mt.TG_REG_WIDGET_ANY_SELECT_EVENT,{s1:i,s2:a})},[ho.ON_OPENED_COUNTRY]:{group:Eo.ON_OPENED,method:()=>t(Mt.TG_REG_WIDGET_COUNTRY_OPENED)},[ho.ON_OPENED_CURRENCY]:{group:Eo.ON_OPENED,method:()=>t(Mt.TG_REG_WIDGET_CURRENCY_OPENED)},[ho.ON_OPENED_BONUS]:{group:Eo.ON_OPENED,method:()=>t(Mt.TG_REG_WIDGET_BONUS_OPENED)},[ho.ON_CLICK_HAVE_ACC]:{group:Eo.ON_CLICK,method:()=>t(Mt.TG_REG_WIDGET_HAVE_ACC_CLICK)},[ho.ON_CLICK_RULES]:{group:Eo.ON_CLICK,method:()=>t(Mt.TG_REG_WIDGET_RULES_CLICK)},[ho.ON_CLICK_POLICY]:{group:Eo.ON_CLICK,method:()=>t(Mt.TG_REG_WIDGET_POLICY_CLICK)}};return eC({},(()=>{const i={};n==null||n.forEach(l=>{var c,u;const{group:_,method:d}=(c=s[l])!=null?c:{};i[_]||(i[_]=[]),(u=i[_])==null||u.push(d)});const a={};return Object.entries(i).forEach(([l,c])=>{a[l]=u=>{c.forEach(_=>{_(u)})}}),a})())};var oC=Object.defineProperty,nC=Object.defineProperties,sC=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,rC=Object.prototype.hasOwnProperty,iC=Object.prototype.propertyIsEnumerable,Na=(e,t,n)=>t in e?oC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uo=(e,t)=>{for(var n in t||(t={}))rC.call(t,n)&&Na(e,n,t[n]);if(wa)for(var n of wa(t))iC.call(t,n)&&Na(e,n,t[n]);return e},ko=(e,t)=>nC(e,sC(t));const aC=({forms:e,dictionaries:t,shouldSaveFormOnExit:n})=>{const{getFormDraft:s}=Gs(),r=s();if(n&&r){const{type:i,fields:a}=r,l=e.findIndex(c=>c.type===i);l!==-1&&(e[l].steps=e[l].steps.map(c=>ko(Uo({},c),{fields:c.fields.map(u=>u.map(_=>ko(Uo({},_),{props:ko(Uo({},_.props),{value:a[_.name]||_.props.value})})))})))}return e.map(i=>ko(Uo({},i),{steps:i.steps.map(a=>ko(Uo({},a),{formFieldsRows:a.fields.map(l=>l.map(c=>{$_$();var u;const _=Cy(c.name,c.props.type),d=Ry(_,(u=c.props.config)!=null?u:{},t),f=qc(c.validators),p=tC(c);return ko(Uo({},c),{componentName:_,props:ko(Uo({},c.props),{required:Xy(f),config:d,error:""}),decorators:new Set(Array.isArray(c.decorators)?c.decorators:[]),originalField:c_(c),validators:f,analytics:p})}))}))}))},lC=e=>e.map((t,n)=>({value:n,title:t.title,description:t.description,icon:t.icon})),cC=e=>e.map((t,n)=>({value:n,title:t.title,name:t.description||t.title,icon:t.icon,badge:t.badge||""})),hn=()=>{const e={};return{getSharedComposableByRegistrationLayout:n=>{$_$();const s=dt("registrationLayout");return e[s]||(e[s]=Jt(n)),e[s]}}};var vs=(e=>(e[e.DEFAULT=1]="DEFAULT",e[e.ACCOUNT_EXISTS=2]="ACCOUNT_EXISTS",e[e.COUNTRY_IDENTIFICATION=3]="COUNTRY_IDENTIFICATION",e[e.SERVER_ERROR=4]="SERVER_ERROR",e[e.ACCOUNT_EXISTS_SOCIAL=5]="ACCOUNT_EXISTS_SOCIAL",e[e.MULTIPLE_ACCOUNTS_WITH_EMAIL=6]="MULTIPLE_ACCOUNTS_WITH_EMAIL",e[e.COUNTRY_BLOCK=7]="COUNTRY_BLOCK",e[e.NOT_AVAILABLE=8]="NOT_AVAILABLE",e))(vs||{});const uC=e=>{var t,n,s;const r=(s=(n=(t=e.account_form)==null?void 0:t.user_id)!=null?n:e.user_id)!=null?s:e.login;return r?String(r):""},gi=e=>{var t,n,s,r,i,a,l,c,u,_,d,f,p,h,E,T,P,O,L,S,I,R,b,D,w,U;return{userId:uC(e),password:(s=(n=(t=e.account_form)==null?void 0:t.password)!=null?n:e.password)!=null?s:"",isAuth:(i=(r=e.is_authorized)!=null?r:e.is_auth)!=null?i:!1,socialProvider:(l=(a=e.provider)==null?void 0:a.toLowerCase())!=null?l:"",socialProviderName:(c=e.providerName)!=null?c:"",socialRegDesign:(_=(u=e==null?void 0:e.additionalConfig)==null?void 0:u.socialRegDesign)!=null?_:"",welcomeBonusDescription:(f=(d=e==null?void 0:e.additionalConfig)==null?void 0:d.welcomeBonusDescription)!=null?f:"",showConfirmEmail:(h=(p=e==null?void 0:e.additionalConfig)==null?void 0:p.confirmEmail)!=null?h:!0,mail:(E=e.mail)!=null?E:"",success:(T=e.success)!=null?T:!1,error:(P=e.error)!=null?P:"",errors:e.errors,alert:(O=e.alert)!=null?O:"",hasCaptchaError:e==null?void 0:e.captchaError,captchaType:e==null?void 0:e.captchaType,phone:(L=e.phone)!=null?L:"",percentFirstDeposit:(S=e.percentFirstDeposit)!=null?S:"",amountFirstDeposit:(I=e.amountFirstDeposit)!=null?I:"",bonusAmount:(R=e.bonusAmount)!=null?R:"",currencyFirstDeposit:(b=e.currencyFirstDeposit)!=null?b:"",message:(D=e.message)!=null?D:"",type:e.type,errorType:(w=e.error_type)!=null?w:vs.DEFAULT,redirectUrl:e.redirect_url,accountExists:(U=e.account_exists)!=null?U:!1}},_C=new Set(["registration","registrationIdentification"]),dC=()=>{$_$();const e=u_();return{isRegPage:m(()=>{$_$();var n;const s=(n=o(e).name)!=null?n:"";return _C.has(s)})}},Da={[Ls.ACCOUNT_VERIFICATION]:"registration_redirect_verification"},pC=10,po=()=>{$_$();var e,t,n,s;const r=(e=_e(258))!=null?e:!1,i=at(),a=Nt(),l=ve(),c=zo(),{getLinkWithLang:u}=ot(m(()=>l.getLanguage)),_=c.get("global/router/previousRoute"),d=c.get("redirect_url"),f=c.get("from_url"),p=I=>$_$() && I===o(i).path,h=m(()=>l.isUserAuth),E=(s=(n=a.resolve((t=o(d))!=null?t:""))==null?void 0:n.name)!=null?s:"",T=m(()=>$_$() && !!o(d)&&!p(o(d))),P=m(()=>{var I;return(I=Da==null?void 0:Da[E])!=null?I:"registration_redirect"});return{TIME_TO_REDIRECT:pC,isRedirectAvailable:T,goToRedirectUrl:()=>{$_$();o(h)&&o(T)&&ge(o(d))&&a.push(o(d))},setAfterRegistrationRedirectUrl:I=>{$_$();r&&I&>(I)&&!p(I)&&(d.value=I)},setRegistrationStartedFromUrl:()=>{$_$();var I,R,b;if(r){const w=o(i).name==="registration"?(b=(R=(I=o(_))==null?void 0:I.path)!=null?R:localStorage.getItem(tt.REGISTRATION_PREVIOUS_ROUTE_PATH))!=null?b:u({name:Ao.HOME}):o(i).path;f.value=w}},registrationRedirectTranslate:P,redirectUrl:d,startedFromUrl:f}},En=()=>{$_$();const e=at(),t=dt("routeRegistrationType"),n=dt("registrationLayout",Ho.DEFAULT),s=dt("modalMode",!1),r=dt("isInstantBet",!1),i=o(e).params.type==="socialregistration";return{routeRegistrationType:t,injectedLayout:n,isModalMode:s,isInstantBet:r,isSocialRegistrationPage:i}},hi=(e,t=!1)=>{$_$();e.hostPriority=t,window._MF_GUARDS.guards.add(e);const n=()=>window._MF_GUARDS.guards.delete(e);return __(n),n},Ir=0,mC=()=>{$_$();var e;const t=Ml(),n=qt(),{injectedLayout:s,routeRegistrationType:r,isSocialRegistrationPage:i}=En(),{abTestsAvailability:a}=sy(),l=_e(509),c=m(()=>$_$() && !!o(a).get(fi.ONE_CLICK_DISABLED)),u=J(!1),_=J(),d=J(),f=$o({}),p=J(),h=J(Ir),E=J(Ir),T=J(),P=J([]),O=J({}),L=J(),S=!1,I=J(!1),R=J(!1),b=J([]),D=J(""),{codeDeliveryMethods:w,hasCodeDeliveryMethodsChoice:U,hasOnlySmsCodeDeliveryMethod:F}=hc((e=_e(1836))!=null?e:[]),z=J(w[0].value),q=J(""),ee=J(!1);let x;const oe=Kt(),le=at(),Ee=Nt(),ce=m(()=>{$_$();var ue;return i?"soc_reg":(ue=o(P)[o(h)])==null?void 0:ue.type}),ne=m(()=>$_$() && ge(o(_))),te=m(()=>{$_$();var ue;return ay.has((ue=o(T))!=null?ue:s)}),de=m(()=>$_$() && o(ce)==="soc_reg"),se=m(()=>$_$() && o(ce)==="phone_reg"),pe=m(()=>$_$() && o(se)&&!F),re=Xn(),{executeCaptcha:Ae,captchaToken:we}=pc(),$e=ve(),{isRegPage:He}=dC(),fe=As(),bt=_n(),{getLocationWithLang:oo}=ot(m(()=>$e.getLanguage)),{setAfterRegistrationRedirectUrl:Rt,setRegistrationStartedFromUrl:Tt}=po(),Fe=re.modules.registration[o(te)?kr.WIDGET:kr.POPUP],{sendEventWithUserSetting:Bt,sendEvent:At}=Io(),{codeSendCount:xt,codeIsSent:ct,showResendCodeRecommendation:$t,incrementCodeSendCount:Pt,resetCodeSendCount:Cn}=ty(),{redirectUrlQuery:So}=jo(),{updateTimeBlockingCodeSend:Xo,timeUntilUnblockedSendCode:Qo,sendCodeTimer:In}=oy(),Sn=m(()=>$_$() && !F&&o($t)),Zo=m(()=>$_$() && o(f).userId),vn=m(()=>$_$() && Vt.decode(o(f).password)),Jo=ue=>{f.value=ue},On=ue=>{$_$();h.value=ue,n.registration.selectTypeRegistration(o(ce)),re.modules.registrationEvents.initRegistrationType(o(ce))},en=ue=>{E.value=ue},tn=ue=>{$_$();o(L)&&(L.value.value=ue)},bn=ue=>{I.value=ue},Rn=ue=>{z.value=ue},An=ue=>{R.value=ue},Oe=ue=>{x=ue},mt=()=>x,Ft=ue=>{$_$();const Me=ue?o(P).findIndex(({type:Ie})=>Ie===ue):-1,Pe=Me>=0?Me:o(h);return o(P)[Pe].steps.flatMap(Ie=>Ie.formFieldsRows.flat())},ft=async()=>{$_$();var ue,Me;let Pe,Ie;if(!o(d)){const Ct=ey((ue=o(le))==null?void 0:ue.query),{data:Oo}=([Pe,Ie]=v(()=>gy(Ct)),Pe=await Pe,Ie(),Pe);d.value=Oo}const Ze=!$e.isUserAuth&&!o(te);L.value=([Pe,Ie]=v(()=>{$_$();var Ct;return JT((Ct=o(d))!=null?Ct:[],Ze)}),Pe=await Pe,Ie(),Pe),ge((Me=o(L))==null?void 0:Me.value)&&([Pe,Ie]=v(()=>$_$() && oe.setItem(tt.SELECTED_BONUS_ID,o(L).value)),await Pe,Ie())},be=async()=>{$_$();let ue,Me;o(p)||(p.value=([ue,Me]=v(()=>Ey()),ue=await ue,Me(),ue).data)},Ue=async()=>{$_$();var ue,Me,Pe,Ie,Ze,Ct,Oo,wo;let bo,No;if(u.value=!0,!o(_)){const Je=([bo,No]=v(()=>dy(s)),bo=await bo,No(),bo);if(Je)_.value=Je;else throw new Error("[RegistrationNext]: config is undefined")}const ke=o(_);O.value=(ue=ke.additionalConfig)!=null?ue:{},D.value=(Pe=(Me=o(O))==null?void 0:Me.welcomeBonusDescription)!=null?Pe:"",q.value=(Ct=(Ze=(Ie=o(O))==null?void 0:Ie.firstDepositData)==null?void 0:Ze.bonusAmount)!=null?Ct:"",ee.value=!o(te)&&((Oo=o(O))==null?void 0:Oo.saveFormOnExit),T.value=ke.layout,b.value=(wo=ke.banners)!=null?wo:[],P.value=aC({forms:ke.forms,dictionaries:ke.dictionaries,shouldSaveFormOnExit:o(ee)}),l&&o(c)&&(P.value=o(P).filter(Je=>Je.type!=="fast_reg")),u.value=!1},Xt=ue=>{const Me=new Promise(Pe=>{const Ie=hi(()=>(Pe(!0),Ie(),Me),!0);ue()});return Me},yt=ue=>{$_$();o(ce)==="telegram_widget"&&At(Mt.TG_REG_WIDGET_REG_ERROR,{i1:ue.httpCode,s1:ue.message})},mo=(ue,Me)=>{$_$();var Pe;o(ce)==="full_reg"&&re.modules.registrationEvents.trackEmailApproveSent(),o(ce)==="telegram_widget"&&Bt(Mt.TG_REG_WIDGET_REG_SUCCESS,{s1:Me.country_id.toString(),s2:Me.currency_id.toString(),s3:Me.first_deposit_bonus_choice},parseInt((Pe=ue.userId)!=null?Pe:0,10))},fo=async ue=>{$_$();var Me;let Pe,Ie;const Ze=gi(ue);if(Ze.success){o(He)&&["fast_reg","phone_reg"].includes(o(ce))&&ge(fe.getIsDataAfterRegistration)&&fe.setDataAfterRegistration(!0),o(He)&&o(ce)!=="ident_reg"&&([Pe,Ie]=v(()=>Xt(()=>Ee.push(oo({name:"registration",query:{type:"success"}})))),await Pe,Ie()),Jo(Ze);const Ct=(Me=o(So))!=null?Me:Ze.redirectUrl;Rt(Ct),Tt(),[Pe,Ie]=v(()=>$_$() && Yt()),await Pe,Ie(),o(te)||$e.actionAuthUser(),bt.set("post_reg_type",o(ce))}},go=async ue=>{$_$();var Me,Pe;let Ie,Ze;if(!o(u))try{u.value=!0;const Ct=Ft(),Oo=(Me=_e(262))!=null?Me:[],{getFingerprint:wo}=uc(),{componentsData:bo}=([Ie,Ze]=v(()=>wo()),Ie=await Ie,Ze(),Ie);ue&&([Ie,Ze]=v(()=>Ae({analyticsComponentName:"useRegistrationFieldSubmit",successCallback:(Je,Lt)=>{re.modules.registrationEvents.setCaptchaTime(Lt),re.modules.captchaEvents.trackCaptchaPass("registration",Lt)}})),await Ie,Ze());const No=Py(o(Ct),{type:o(ce),bonus:(Pe=o(L))==null?void 0:Pe.value,needAuthRegTypes:Oo,isRememberAuth:S,componentsData:bo}),ke=([Ie,Ze]=v(()=>$_$() && py(o(ce),No,o(we))),Ie=await Ie,Ze(),Ie);return ke?(ke.errors||([Ie,Ze]=v(()=>fo(ke)),await Ie,Ze(),mo(ke,No)),ke):void 0}catch(Ct){yt(Ct)}finally{u.value=!1}};let vo=!1;return{isFetching:u,isReady:ne,activeTabIndex:h,activeStepIndex:E,type:ce,forms:P,choiceBonus:L,isPhoneConfirmed:I,codeSendCount:xt,codeIsSent:ct,isResendRecommendationVisible:Sn,codeDeliveryMethods:w,lastUsedCodeDeliveryMethod:z,hasCodeDeliveryMethodsChoice:U,hasOnlySmsCodeDeliveryMethod:F,isShowPhoneRegHeader:pe,registrationLayout:T,routeRegistrationType:r,DEFAULT_INDEX:Ir,timeUntilUnblockedSendCode:Qo,sendCodeTimer:In,isSendingSmsFrozen:R,registrationResponse:f,registrationAnalytics:Fe,firstDepositData:p,isRegPage:He,userLogin:Zo,userPassword:vn,isWidget:te,banners:b,welcomeBonusDescription:D,firstDepositBonusAmount:q,shouldSaveFormOnExit:ee,injectedLayout:s,isSocialRegTabActive:de,isPhoneRegTabActive:se,isSocialRegistrationPage:i,additionalConfig:O,getFlatFields:Ft,setRegistrationResponse:Jo,setChoiceBonusValue:tn,setActiveTabIndex:On,setActiveStepIndex:en,loadConfigCached:Ue,loadFirstDepositCached:be,loadBonusesCached:ft,sendRequest:go,setIsPhoneConfirmed:bn,incrementCodeSendCount:Pt,resetCodeSendCount:Cn,updateTimeBlockingCodeSend:Xo,setIsSendingSmsFrozen:An,setLastUsedCodeDeliveryMethod:Rn,getCheckRefCodePromise:mt,setCheckRefCodePromise:Oe,sendTouchEvent:()=>{vo||(t==null||t.emit(ny),vo=!0)}}},{getSharedComposableByRegistrationLayout:fC}=hn(),me=()=>fC(mC)(),to=()=>{$_$();const{registrationResponse:e}=me(),t=m(()=>$_$() && !!Object.keys(o(e)).length),n=m(()=>{$_$();var h;return!!((h=o(e))!=null&&h.isAuth)}),s=m(()=>{$_$();var h;return!!((h=o(e))!=null&&h.error)}),r=m(()=>{$_$();var h;return!!((h=o(e))!=null&&h.errors)}),i=m(()=>{$_$();var h;return!!((h=o(e))!=null&&h.success)}),a=m(()=>{$_$();var h;return(h=o(e))==null?void 0:h.errorType}),l=m(()=>{$_$();var h,E;return(E=(h=o(e))==null?void 0:h.userId)!=null?E:""}),c=m(()=>{$_$();var h,E;return(E=(h=o(e))==null?void 0:h.password)!=null?E:""}),u=m(()=>{$_$();var h,E;return(E=(h=o(e))==null?void 0:h.socialProvider)!=null?E:""}),_=m(()=>{$_$();var h,E;return(E=(h=o(e))==null?void 0:h.mail)!=null?E:""}),d=m(()=>{$_$();var h,E;return(E=(h=o(e))==null?void 0:h.phone)!=null?E:""}),f=m(()=>{$_$();var h,E;return(E=(h=o(e))==null?void 0:h.message)!=null?E:""}),p=m(()=>{$_$();var h,E;return(E=(h=o(e))==null?void 0:h.error)!=null?E:""});return{registrationResponse:e,isResponse:t,isResponseAuth:n,isResponseError:s,isResponseErrors:r,isResponseSuccess:i,responseUserId:l,responsePassword:c,responseMessage:f,responseSocialProvider:u,responseMail:_,responsePhone:d,responseError:p,responseErrorType:a}},gC=(e,t,n=[])=>{const s=[...e.validators.map(r=>r.validate.bind(r)),...n];for(let r=0;r{const{validatorPhoneNumber:e}=$s(),{validationCountries:t}=li(),n={[H.PHONE_MEGA]:[r=>$_$() && e(r==null?void 0:r.phoneNum,{countryId:r==null?void 0:r.countryId,validationCountries:o(t),required:!0})],[H.PHONE_ID]:[r=>$_$() && e(r==null?void 0:r.phoneNum,{countryId:r==null?void 0:r.countryId,validationCountries:o(t),required:!1})]};return{getStaticRegistrationFieldValidators:r=>n[r]}};var EC=Object.defineProperty,Ua=Object.getOwnPropertySymbols,TC=Object.prototype.hasOwnProperty,yC=Object.prototype.propertyIsEnumerable,ka=(e,t,n)=>t in e?EC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ba=(e,t)=>{for(var n in t||(t={}))TC.call(t,n)&&ka(e,n,t[n]);if(Ua)for(var n of Ua(t))yC.call(t,n)&&ka(e,n,t[n]);return e};const CC=()=>{$_$();const{activeTabIndex:e,activeStepIndex:t,forms:n,sendTouchEvent:s}=me(),{getStaticRegistrationFieldValidators:r}=hC(),i=J([]),a=J([]),l=m(()=>$_$() && o(a).flat()),c=m(()=>{$_$();var w;return(w=o(n)[o(e)])==null?void 0:w.steps.map(U=>U.formFieldsRows.flat()).flat()}),u=Gl([]),_=m(()=>$_$() && o(l).filter(w=>!w.props.hidden)),d=m(()=>$_$() && !o(_).some(U=>U.props.required&&!U.props.value||!!U.props.error)),f=(w,U=!1)=>$_$() && o(U?l:c).find(F=>F.name===w),p=w=>$_$() && o(i).find(U=>U.name===w),h=(w,U,F,z=!1)=>{$_$();const q=z?p:f,ee=gt(w)?q(w):w;ee&&(U===ie.CONFIG?ee.props[U]=Ba(Ba({},ee.props[U]),F):ee.props[U]=F)},E=(w,U)=>{$_$();const F=gt(w)?f(w):w;if(F)for(const[z,q]of Object.entries(U))h(F,z,q)},T=(w,U)=>{$_$();const F=gt(w)?f(w):w;F&&(F.props[U]=F.originalField.props[U])},P=()=>{u.length&&(u.forEach(w=>w()),u.splice(0,u.length))},O=()=>{$_$();P();const w=o(l);for(const U of w)if(ge(U.dependencies))for(const F of U.dependencies){const z=w.find(q=>$_$() && q.id===F.sourceFieldId);if(z){let q=!1;const ee=xe(()=>z.props.value,x=>{if(Ty(F.condition,x)){switch(F.action){case Kc.CHANGE_PROP:h(U,F.payload[0],F.payload[1]);break}q=!0}else{if(!q)return;T(U,F.payload[0]),F.payload[0]===ie.HIDDEN&&T(U,ie.VALUE),q=!1}},{immediate:!0});u.push(ee)}}},L=()=>{$_$();var w;(w=o(n))==null||w.forEach((U,F)=>{var z;(z=U.steps)==null||z.forEach((q,ee)=>{$_$();var x;const oe=(x=q.formFieldsRows)!=null?x:[];i.value.push(...oe.flatMap(le=>le!=null?le:[])),F===o(e)&&ee===o(t)&&(a.value=oe)})}),O()},S=()=>{P(),a.value=[]},I=w=>{$_$();const U=gt(w)?f(w):w;if(U&&U.validators){const F=gC(U,f,r(U.name));return h(U,ie.ERROR,F),!!F}return!1};return{fields:l,visibleFields:_,fieldConditions:u,isFieldsValid:d,formFieldsRows:a,findFieldByName:f,findGlobalFieldByName:p,changeFieldProps:E,changeFieldProp:h,resetFieldProp:T,applyFieldsConditions:O,setupFields:L,destroyFields:S,validateField:I,validateFields:()=>{$_$();const w=[Gt.BUTTON,Gt.LABEL,Gt.SUBMIT];return o(l).filter(U=>!w.includes(U.props.type)&&!U.props.hidden).forEach(U=>I(U)),o(l).every(U=>!U.props.error)},changeFieldValidators:(w,U)=>{$_$();const F=gt(w)?f(w):w;F&&(F.validators=qc(U))},resetFields:()=>{$_$();o(l).forEach(async w=>{$_$();let U,F;T(w,ie.VALUE),[U,F]=v(()=>$_$() && Yt()),await U,F(),T(w,ie.ERROR)})},sendTouchEvent:s}},{getSharedComposableByRegistrationLayout:IC}=hn(),De=()=>IC(CC)(),SC=()=>$_$() && jt({name:"RESPONSIBLE_GAMING_AGREEMENT_MODAL",component:()=>X(()=>import("./b88247e1e4.js"),__vite__mapDeps([29,1,30]),import.meta.url)}),Sr="RGAMS",vC={[H.SOCIAL_TYPES_ID]:"type",[H.COUNTRY_ID]:"countryId",[H.CURRENCY_ID]:"currency",[H.REF_CODE]:"refCode"},OC=({fields:e,bonus:t,language:n})=>{$_$();const s={language:n,firstBonusId:$l(t)?t.toString():""};e.forEach(({name:i,props:{value:a}})=>{$_$();var l;const c=(l=vC[i])!=null?l:i;if(a)switch(i){case H.COUNTRY_ID:case H.CURRENCY_ID:s[c]=a.id;break;default:s[c]=a}});const r=Object.entries(s).filter(([i,a])=>$_$() && ge(a)&&a!=="");return new URLSearchParams(r).toString()};var bC=Object.defineProperty,RC=Object.defineProperties,AC=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,PC=Object.prototype.hasOwnProperty,LC=Object.prototype.propertyIsEnumerable,Fa=(e,t,n)=>t in e?bC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,an=(e,t)=>{for(var n in t||(t={}))PC.call(t,n)&&Fa(e,n,t[n]);if($a)for(var n of $a(t))LC.call(t,n)&&Fa(e,n,t[n]);return e},wC=(e,t)=>RC(e,AC(t));const Os="registration:social",NC=()=>{$_$();var e;const t=Kt(),n=Hn(),s=at(),r=Nt(),i=To(),a=Dt(),l=Be(),c=_n(),{authResponseHandler:u}=di(),{setAfterRegistrationRedirectUrl:_,setRegistrationStartedFromUrl:d}=po(),{notificationError:f,notificationPermanentInfo:p}=vt(),{redirectUrlQuery:h}=jo(),E=ve(),{getLinkWithLang:T}=ot(m(()=>E.getLanguage)),P=T({name:Ao.HOME}),{setRegistrationResponse:O,firstDepositData:L,registrationAnalytics:S}=me(),{registrationResponse:I,isResponse:R,isResponseAuth:b,isResponseError:D,responseErrorType:w}=to(),{getFingerprint:U}=_c(),F=(e=_e(235))!=null?e:!1,z=Es(),{showLastSession:q}=cc(l,n,z,p),ee=J(!1),x=async(ne={})=>{$_$();var te;let de,se;try{const pe=typeof BroadcastChannel=="function"?new BroadcastChannel(zt.SOCIAL_AUTH):void 0;pe?(pe.onmessage=()=>window.close(),pe.postMessage({detail:an({},ne)})):([de,se]=v(()=>$_$() && p_(()=>$_$() && ge(window.opener),10,300)),await de,se(),(te=window.opener)==null||te.document.dispatchEvent(new CustomEvent(zt.SOCIAL_AUTH,{detail:wC(an({},ne),{openedWindow:window})})))}catch(pe){[de,se]=v(()=>$_$() && r.push(o(P))),await de,se()}},oe=async()=>{$_$();let ne,te;if(!o(b))return;if(c.get("is_secret_code")){c.remove("is_secret_code"),[ne,te]=v(()=>$_$() && x({isTwoFactor:!0,registrationResponse:o(I)})),await ne,te();return}const{isSuccessResponse:de,errorMessage:se}=([ne,te]=v(()=>$_$() && u({response:o(I),analyticsComponentName:"useAuthTwoFactorForm"})),ne=await ne,te(),ne);de?([ne,te]=v(()=>$_$() && x({errorMessage:se,registrationResponse:o(I)})),await ne,te()):se&&([ne,te]=v(()=>f(se)),await ne,te())},le=()=>{$_$();const ne=typeof BroadcastChannel=="function"?new BroadcastChannel(zt.SOCIAL_REG):void 0;!ne&&!window.opener||[vs.ACCOUNT_EXISTS,vs.ACCOUNT_EXISTS_SOCIAL].includes(o(w))&&(ne?(ne.onmessage=()=>window.close(),ne.postMessage({detail:{response:o(I)}})):window.opener.document.dispatchEvent(new CustomEvent(zt.SOCIAL_REG,{detail:{openedWindow:window,response:o(I)}})))},Ee=()=>{$_$();let ne={};try{const te=sessionStorage.getItem(Os),de=gt(te)?JSON.parse(te):void 0;ge(ne)&&Yr(ne)&&!d_(ne)&&(ne=de)}catch(te){}finally{sessionStorage.removeItem(Os)}return ne};return{loading:ee,isResponse:R,isResponseAuth:b,isResponseError:D,registrationResponse:I,registrationBySocial:async()=>{$_$();var ne,te,de,se,pe;let re,Ae;try{ee.value=!0;const we=o(s).query,$e=Ee(),{componentsData:He}=([re,Ae]=v(()=>U()),re=await re,Ae(),re),fe=gi(([re,Ae]=v(()=>$_$() && n.postRequest("/registration/socialregistration",{params:an(an({[hf]:He,referredFrom:localStorage.getItem(tt.REGISTRATION_PREVIOUS_ROUTE_PATH)},$e),we)})),re=await re,Ae(),re)),bt=o(L);fe.percentFirstDeposit&&ge(bt)&&(bt.percentFirstDeposit=fe.percentFirstDeposit),fe.userId&&(a.modules.registrationEvents.trackRegSocialCall(fe.socialProviderName),S.sendSuccessRegistrationEvent(fe.userId),S.trackRegistrationBySocialNetwork(fe.socialProvider)),O(an(an({},fe),fe.userId?{userId:Vt.decode(fe.userId),password:Vt.decode(fe.password)}:{})),_((ne=o(h))!=null?ne:fe.redirectUrl),d(),[re,Ae]=v(()=>$_$() && t.setItem(tt.SHOW_REGISTRATION_BONUS_MODAL,!0)),await re,Ae(),[re,Ae]=v(()=>oe()),await re,Ae(),F&&([re,Ae]=v(()=>$_$() && q(Vr)),await re,Ae()),fe.socialProviderName==="google_one_tap"&&r.back(),le()}catch(we){O({error:l("main_query_error")}),a.modules.registrationEvents.trackRegError(((de=(te=we.response)==null?void 0:te.error)==null?void 0:de.status)||((pe=(se=we.response)==null?void 0:se.error)==null?void 0:pe.code)||""),i.error("registrationBySocial: ",we)}finally{ee.value=!1}}}};var DC=Object.defineProperty,UC=Object.defineProperties,kC=Object.getOwnPropertyDescriptors,Ma=Object.getOwnPropertySymbols,BC=Object.prototype.hasOwnProperty,$C=Object.prototype.propertyIsEnumerable,Ga=(e,t,n)=>t in e?DC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,FC=(e,t)=>{for(var n in t||(t={}))BC.call(t,n)&&Ga(e,n,t[n]);if(Ma)for(var n of Ma(t))$C.call(t,n)&&Ga(e,n,t[n]);return e},MC=(e,t)=>UC(e,kC(t));const GC=()=>{$_$();const{notificationError:e}=vt(),t=ve(),n=To(),{requestMetamaskRegistration:s,getMetamaskAuthData:r}=Gc(),{setRegistrationResponse:i,registrationLayout:a}=me(),l=m(()=>$_$() && o(a)===Ho.CUSTOM_WIDGET);return{registerViaMetamask:async u=>{$_$();let _,d;const f=([_,d]=v(()=>r()),_=await _,d(),_);if(!f)return;const{SIWESign:p,account:h}=f;if(u&&p&&h){const E=new URLSearchParams(u);E.append("signature",p),E.append("account",h);const T=E.toString(),P=([_,d]=v(()=>s(T)),_=await _,d(),_);P.error_type?(e(P.error),n.error("Failed to complete registration: ",P.error)):(i(MC(FC({},gi(P)),{userId:Vt.decode(P.user_id),password:Vt.decode(P.password)})),o(l)||([_,d]=v(()=>t.actionAuthUser()),await _,d()))}}}},HC=new Set([H.CAPTCHA_ID,H.CUSTOM_CAPTCHA_ID,H.GOOGLE_CAPTCHA_ID,H.PARAM_CUSTOM_CAPTCHA_ID,H.PARAM_CUSTOM_CAPTCHA_VALUE,H.PASSWORD_ID,H.PASSWORD_REPEAT_ID]),Ei=()=>{$_$();const{getFlatFields:e,choiceBonus:t}=me(),n=ve(),{registerViaMetamask:s}=GC();return{submitRegistrationBySocial:i=>{$_$();var a;const l=e("soc_reg");try{const _=l.filter(f=>!HC.has(f.name)),d=jc(_);sessionStorage.setItem(Os,JSON.stringify(d))}catch(_){sessionStorage.removeItem(Os)}const c=OC({fields:l,bonus:(a=o(t))==null?void 0:a.value,language:n.getLanguage});if(i){s(c);return}const u=window.open("");if(ge(u)){const _="/social-api/user/social-network/send?";u.location=`${_}${c}`}}}},VC=-1,zC=new Set(["telegram_widget"]),WC=3,KC=5,YC=()=>{$_$();const e=To(),{isFetching:t,isReady:n,type:s,forms:r,registrationLayout:i,activeTabIndex:a,activeStepIndex:l,isWidget:c,isSocialRegTabActive:u,isPhoneConfirmed:_,setActiveStepIndex:d,loadConfigCached:f,loadFirstDepositCached:p,loadBonusesCached:h,sendRequest:E}=me(),T=at(),{saveRedirectUrl:P}=jo(),O=_e(2015),L=Ot(),S=Kt(),{isFieldsValid:I,setupFields:R,changeFieldProp:b,destroyFields:D,findFieldByName:w,findGlobalFieldByName:U}=De(),F=qt(),z=Xn(),q=Go("initialization-error"),{submitRegistrationBySocial:ee}=Ei(),x=m(()=>{$_$();if(o(t))return!0;const ne=w(H.SOCIAL_TYPES_ID,!0);if(o(u)&&ge(ne))return!ne.props.value;const te=w(H.PHONE_CONFIRMATION,!0);if(te&&!te.decorators.has(Ve.NO_EFFECT_ON_SUBMIT_BUTTON)&&!o(_))return!0;const de=w(H.BUTTON_REGISTRATION);return de!=null&&de.decorators.has(Ve.DISABLE_SUBMIT)?!o(I):!1}),oe=async()=>{$_$();let ne,te;try{[ne,te]=v(()=>$_$() && m_(()=>Promise.all([f(),p(),h()]),WC,KC*1e3)),await ne,te(),R(),F.registration.initRegistrationType(o(s)),z.modules.registrationEvents.initRegistrationType(o(s))}catch(de){q(),e.error("Registration initialization error: ",de)}},le=()=>{D()},Ee=ne=>{$_$();const{steps:te}=o(r)[o(a)],de=te.findIndex(se=>se.formFieldsRows.flat().some(pe=>ne[pe.name]));[VC,o(l)].includes(de)||(d(de),R())},ce=async ne=>{$_$();var te,de;let se,pe;if(O&&([se,pe]=v(()=>S.getItem(Sr)),se=await se,pe(),!se)){const $e=L.show(SC());$e.closeEvent.watch(async()=>{$_$();let He,fe;[He,fe]=v(()=>S.getItem(Sr)),He=await He,fe(),He&&ce()}),$e.errorEvent.watch(async()=>{$_$();let He,fe;[He,fe]=v(()=>S.setItem(Sr,"true")),await He,fe(),ce()});return}P((te=o(T).query)==null?void 0:te.redirectUrl);const re=ne||o(s);if(re==="soc_reg"){const $e=(de=U(H.SOCIAL_TYPES_ID))==null?void 0:de.props.value;return ee($e==="metamask")}const Ae=!zC.has(re),we=([se,pe]=v(()=>E(Ae)),se=await se,pe(),se);we!=null&&we.errors&&(Ee(we.errors),[se,pe]=v(()=>$_$() && Yt()),await se,pe(),Object.keys(we.errors).forEach(He=>{b(He,ie.ERROR,we.errors[He])}))};return{isFetching:t,isReady:n,isSubmitDisabled:x,type:s,forms:r,registrationLayout:i,isWidget:c,initialize:oe,destroy:le,submit:ce}},{getSharedComposableByRegistrationLayout:jC}=hn(),Zn=()=>jC(YC)(),qC=()=>{$_$();const{activeTabIndex:e,activeStepIndex:t,forms:n,setActiveStepIndex:s}=me(),{isSubmitDisabled:r}=Zn(),{isFieldsValid:i,setupFields:a,validateFields:l}=De(),c=m(()=>{$_$();var d;const{steps:f=[]}=(d=o(n)[o(e)])!=null?d:{};return f.length>1?lC(f):[]});return{activeStepIndex:t,stepsOptions:c,nextStep:()=>{$_$();o(r)||(l(),o(i)&&o(t){$_$();o(t)>0&&(s(o(t)-1),a())}}},{getSharedComposableByRegistrationLayout:xC}=hn(),xc=()=>xC(qC)(),XC={fast_reg:"fast",phone_reg:"phone",full_reg:"email",short_reg:"email_short",soc_reg:"social"},QC={fast:"fast_reg",phone:"phone_reg",email:"full_reg",email_short:"short_reg",social:"soc_reg"};var ZC=Object.defineProperty,JC=Object.defineProperties,eI=Object.getOwnPropertyDescriptors,Ha=Object.getOwnPropertySymbols,tI=Object.prototype.hasOwnProperty,oI=Object.prototype.propertyIsEnumerable,Va=(e,t,n)=>t in e?ZC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nI=(e,t)=>{for(var n in t||(t={}))tI.call(t,n)&&Va(e,n,t[n]);if(Ha)for(var n of Ha(t))oI.call(t,n)&&Va(e,n,t[n]);return e},sI=(e,t)=>JC(e,eI(t));const rI=()=>{$_$();const e=ve(),t=Nt(),n=at(),{getLocationWithLang:s}=ot(m(()=>e.getLanguage)),{notificationError:r}=vt(),i=Be(),a=Kt(),l=qt(),c=Ot(),{choiceBonus:u,setChoiceBonusValue:_,additionalConfig:d,sendTouchEvent:f}=me(),{isBonusCancelSeparated:p}=o(d),h=m(()=>{$_$();var S,I;return!!((I=(S=o(u))==null?void 0:S.items)!=null&&I.length)}),E=m(()=>{$_$();var S,I;return(I=(S=o(u))==null?void 0:S.items)!=null?I:[]}),T=m(()=>{$_$();var S;return(S=o(u))==null?void 0:S.value}),P=m(()=>{$_$();var S;return(S=o(u))==null?void 0:S.items.find(({id:I})=>$_$() && I===o(T))}),O=()=>{$_$();var S,I,R,b;const D=(S=o(P))==null?void 0:S.bonusCode;o(n).name==="registration"&&!c.checkShow(fn.TrustlyDeposit)&&((I=o(n).query)==null?void 0:I.bonus)!==D&&((R=o(n).query)!=null&&R.bonus||D)&&t.replace(s({name:"registration",query:sI(nI({},o(n).query),{bonus:D,redirectUrl:(b=o(n).query)==null?void 0:b.redirectUrl})}))},L=async S=>{$_$();let I,R;if(e.isUserAuth)try{[I,R]=v(()=>hy(S)),await I,R()}catch(b){r(i("reg_bonus_reselection_error"));return}_(S),f(),[I,R]=v(()=>$_$() && a.setItem(tt.SELECTED_BONUS_ID,o(S))),await I,R(),l.registration.trackBonusClick(S)};return xe(P,O,{immediate:!0}),{isBonusChoiceVisible:h,bonusItems:E,currentBonus:P,currentBonusId:T,isBonusCancelSeparated:p,changeBonus:L,updateBonusRouteParam:O}},{getSharedComposableByRegistrationLayout:iI}=hn(),kt=()=>iI(rI)(),aI=()=>{$_$();const{activeTabIndex:e,forms:t,setActiveTabIndex:n,setActiveStepIndex:s,DEFAULT_INDEX:r,isWidget:i}=me(),{setupFields:a}=De(),{currentBonus:l}=kt(),c=at(),u=f_(),_=ve(),{getLocationWithLang:d}=ot(m(()=>_.getLanguage)),{isInstantBet:f}=En(),p=m(()=>$_$() && o(i)?1:2),h=m(()=>{$_$();const S=o(t);return S.length>=o(p)?cC(S):[]}),E=m(()=>$_$() && o(c).name==="registration"),T=S=>{$_$();var I,R;if(o(E)){const b=o(t)[S].type;u.replace(d({name:"registration",query:{type:XC[b],bonus:(I=o(l))==null?void 0:I.bonusCode,redirectUrl:(R=o(c).query)==null?void 0:R.redirectUrl}}))}},P=S=>{n(S),T(S),s(r),a()};return{activeTabIndex:e,tabsOptions:h,changeTab:P,initRegistrationByRouteQuery:()=>{$_$();var S;if(o(E)){const I=(S=o(c).query)==null?void 0:S.type,R=QC[I],b=o(t).findIndex(({type:w})=>R===w);P(b===-1?r:b)}else if(f){const I=o(t).findIndex(({type:b})=>b==="fast_reg");P(I===-1?r:I)}},setTabByType:S=>{$_$();const I=o(t).findIndex(({type:R})=>R===S);I!==-1&&P(I)}}},{getSharedComposableByRegistrationLayout:lI}=hn(),Jn=()=>lI(aI)(),cI="registrationCitiesData",uI=Jt(()=>{$_$();const e=Wr(),t=J(!1);return{isLoading:t,loadCities:async(s,r)=>{$_$();let i,a;const l=`${cI}_${s}_${r!=null?r:""}`;let c=e.getItem(l);if(!ge(c)){t.value=!0;const{data:u=[]}=([i,a]=v(()=>fy(s,r)),i=await i,a(),i);c=u,e.setItem(l,c),t.value=!1}return c}}}),_I="registrationRegionsData",Xc=Jt(()=>{$_$();const e=Wr(),t=J(!1);return{isLoading:t,loadRegions:async s=>{$_$();let r,i;t.value=!0;const a=`${_I}_${s}`;let l=e.getItem(a);if(!ge(l)){const{data:c=[]}=([r,i]=v(()=>my(s)),r=await r,i(),r);l=c,e.setItem(a,l)}return t.value=!1,l}}}),qo=e=>{$_$();const t=J(),n=Go("update");return xe(()=>e.props.value,(s,r)=>{s!==r&&(t.value=s)},{immediate:!0}),xe(t,(s,r)=>{s!==r&&n({fieldName:e.name,value:s})},{deep:!0}),{model:t}},es=(e,t=!0)=>{$_$();const{model:n}=qo(e),s=m(()=>e.decorators.has(Ve.COMPACT)),r=m(()=>e.decorators.has(Ve.FORCE_UI_INPUT)),i=m(()=>$_$() && o(s)||o(r)?Hl:Co),a=m(()=>{var f;return(f=e.validators.find(({type:p})=>p===_t.LENGTH))==null?void 0:f.options.max}),l=m(()=>{$_$();var f,p;return(p=(f=e.props.config)==null?void 0:f.maxLength)!=null?p:o(a)}),c=m(()=>$_$() && !!e.props.description&&!e.props.error&&(t?!o(n):!0)),u=m(()=>!e.decorators.has(Ve.NO_BORDER)),_=m(()=>!e.decorators.has(Ve.NO_INNER_OFFSET)),d=m(()=>$_$() && !!o(n)&&!e.props.error);return{model:n,uiComponent:i,maxLength:l,isRecommendationVisible:c,isCompact:s,hasBorder:u,hasInnerOffset:_,isFilledAndValid:d,isForceUiInput:r}};var dI=Object.defineProperty,pI=Object.defineProperties,mI=Object.getOwnPropertyDescriptors,za=Object.getOwnPropertySymbols,fI=Object.prototype.hasOwnProperty,gI=Object.prototype.propertyIsEnumerable,Wa=(e,t,n)=>t in e?dI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hI=(e,t)=>{for(var n in t||(t={}))fI.call(t,n)&&Wa(e,n,t[n]);if(za)for(var n of za(t))gI.call(t,n)&&Wa(e,n,t[n]);return e},EI=(e,t)=>pI(e,mI(t));const TI=(e,t)=>{$_$();const{model:n}=qo(e),{changeFieldProp:s}=De(),r=m(()=>{var f;return(f=e.props.config.searchKeys)!=null?f:[]}),i=J([]),a=m(()=>{var f;return((f=e.props.config.options)!=null?f:[]).map(p=>{$_$();const h=t?t(p):p;return EI(hI({},h),{strForSearch:o(r).reduce((E,T)=>{var P,O;const L=Array.isArray(h[T])?(P=h[T].join(" "))!=null?P:"":(O=h[T])!=null?O:"";return E?`${E} ${L}`:L},"").toLowerCase()})})}),l=m(()=>$_$() && o(a).length<=1||e.props.disabled),c=m(()=>$_$() && ({label:e.props.label,internalSearch:!1,searchable:!!o(r).length,showNoOptions:!1})),u=f=>{$_$();f?i.value=o(a).filter(p=>p.strForSearch.includes(f.toLowerCase())):i.value=o(a)},_=()=>{if(e.props.config.selectFirst&&!e.props.value){const[f]=e.props.config.options;f&&s(e.name,ie.VALUE,f)}},d=f=>{f||_()};return _(),xe(()=>e.props.config.options,()=>{u()},{immediate:!0}),xe(()=>e.props.hidden,d,{immediate:!0}),{model:n,options:i,multiselectConfig:c,isDisabled:l,filterOptions:u}},Qc=e=>{$_$();const{model:t}=qo(e),n=m(()=>{$_$();var i;return(i=e.props.config.icoTheme)!=null?i:g_}),s=m(()=>{$_$();var i;return(i=e.props.config.icoSize)!=null?i:M.m}),r=m(()=>e.decorators.has(Ve.COMPACT));return ge(o(t))||(t.value=!1),{model:t,icoTheme:n,icoSize:s,isCompact:r}};var yI=Object.defineProperty,CI=Object.defineProperties,II=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,SI=Object.prototype.hasOwnProperty,vI=Object.prototype.propertyIsEnumerable,Ya=(e,t,n)=>t in e?yI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vr=(e,t)=>{for(var n in t||(t={}))SI.call(t,n)&&Ya(e,n,t[n]);if(Ka)for(var n of Ka(t))vI.call(t,n)&&Ya(e,n,t[n]);return e},ja=(e,t)=>CI(e,II(t));const OI=e=>{$_$();var t,n;const s={[ie.DISABLED]:!0,[ie.HIDDEN]:e.props.hidden,[ie.CONFIG]:ja(vr({},e.props.config),{options:[]})},r=qt(),{findFieldByName:i,changeFieldProps:a}=De(),{loadCities:l}=uI(),{isLoading:c}=Xc(),u=i(H.COUNTRY_ID),_=i(H.REGION_ID);let d=!0;const f=async(E,T)=>{$_$();let P,O;if(_&&o(c))return;const L=ja(vr({},s),{[ie.VALUE]:d?e.props.value:void 0,[ie.TOOLTIP]:e.originalField.props.tooltip});if(d&&(d=!1),!!(E.length&&!T))L[ie.HIDDEN]=!1;else{const I=([P,O]=v(()=>{$_$();var R;return l((R=u==null?void 0:u.props.value)==null?void 0:R.id,T==null?void 0:T.id)}),P=await P,O(),P);if(L[ie.CONFIG].options=I,L[ie.DISABLED]=!I.length,L[ie.TOOLTIP]="",L[ie.HIDDEN]=!I.length,I.length===1){const[R]=I;L[ie.VALUE]=R}}a(e.name,L)},p=E=>{a(e.name,vr({},s)),E&&(!_||_.props.hidden)&&f([],void 0)},h=()=>{r.registration.trackRegistrationFieldBlur(e.name,e.props.value)};return(n=(t=e.props.config)==null?void 0:t.options)!=null&&n.length||p(u==null?void 0:u.props.value),xe(()=>u==null?void 0:u.props.value,p),xe([()=>_==null?void 0:_.props.config.options,()=>_==null?void 0:_.props.value],([E,T])=>f(E,T)),{onBlur:h}},Zc=e=>{$_$();const t=Be(),{changeFieldProp:n}=De(),s=m(()=>e.decorators.has(Ve.PASSWORD_GENERATOR)),r=m(()=>{var d,f;return(f=(d=e.props.config)==null?void 0:d.isVisible)!=null?f:!1}),i=m(()=>{var d,f;return(f=(d=e.props.config)==null?void 0:d.passwordLength)!=null?f:10}),a=m(()=>$_$() && o(r)?Ce.EYE:Ce.EYE_SLASH),l=m(()=>$_$() && o(r)?t("reg_hide_password"):t("reg_show_password")),c=m(()=>$_$() && o(r)?"text":"password"),u=(d=!o(r))=>{$_$();n(H.PASSWORD_ID,ie.CONFIG,{isVisible:d}),n(H.PASSWORD_REPEAT_ID,ie.CONFIG,{isVisible:d})};return{isGeneratorEnabled:s,isValueVisible:r,visibilityIcon:a,visibilityLabel:l,htmlType:c,createPassword:()=>{$_$();const d=Bg(o(i));jr(d),n(H.PASSWORD_ID,ie.VALUE,d),n(H.PASSWORD_REPEAT_ID,ie.VALUE,d),u(!0)},toggleVisibility:u}},bI=e=>{$_$();const{nextStep:t,prevStep:n}=xc(),{isSubmitDisabled:s}=Zn(),r=m(()=>{var c,u;return!!((u=(c=e.props.config)==null?void 0:c.options)!=null&&u.nextStep)}),i=m(()=>{var c,u;return!!((u=(c=e.props.config)==null?void 0:c.options)!=null&&u.prevStep)});return{isDisabled:m(()=>$_$() && o(r)&&o(s)||e.props.disabled),onClick:()=>{$_$();o(r)&&t(),o(i)&&n()}}},RI=e=>{$_$();const{isFetching:t,isSubmitDisabled:n}=Zn(),{isInstantBet:s}=En(),r=pn(),i=m(()=>$_$() && o(n)||e.props.disabled),a=m(()=>$_$() && o(t)),l=m(()=>!e.decorators.has(Ve.NO_UPPERCASE)),c=m(()=>e.decorators.has(Ve.IS_BLOCK)),u=m(()=>e.decorators.has(Ve.SHOW_BANNER_ON_SUBMIT_BUTTON)),_=m(()=>s?r("reg_button_go_to_last_step"):e.props.label);return{isDisabled:i,isLoading:a,isUppercase:l,isBlock:c,isSubmitBannerVisible:u,label:_}},AI=e=>{const t=new Set(e),n=new Set;return{availableOtpChannels:t,onChangeCountry:l=>{t.clear(),l!=null&&l.otpChannels&&l.otpChannels.forEach(c=>{t.add(c)}),n.clear()},checkOtpChannelIsDisabled:l=>n.has(l),checkOtpChannelAvailability:l=>!t.size||t.has(l),disableOtpChannel:l=>n.add(l)}},Jc=e=>{$_$();var t,n;const{model:s}=qo(e),r=m(()=>{$_$();var x;return ge(o(s))&&!!((x=o(s))!=null&&x.phoneNum)}),i=m(()=>$_$() && !!e.props.description&&!e.props.error&&!o(r)),a=m(()=>e.decorators.has(Ve.COMPACT)),l=m(()=>e.decorators.has(Ve.CAPTION_BTN)),c=m(()=>{var x,oe;return(oe=(x=e.props.config)==null?void 0:x.isCountryCodeEditable)!=null?oe:!1}),u=m(()=>{var x,oe;return(oe=(x=e.props.config)==null?void 0:x.isManualCountryCode)!=null?oe:!1}),{countries:_,validationCountries:d,loadCountries:f,isLoading:p}=li(),{currentCountry:h,currentCountryIco:E,setCountry:T}=lh(),{onChangeCountry:P,checkOtpChannelAvailability:O,checkOtpChannelIsDisabled:L,disableOtpChannel:S}=AI((n=(t=o(h))==null?void 0:t.otpChannels)!=null?n:[]),{findFieldByName:I,changeFieldProp:R}=De(),b=I(H.COUNTRY_ID),D=m(()=>e.props.error||e.props.softError),w=Be(),U=m(()=>{const{placeholder:x,label:oe}=e.props;return x||oe||w("reg_phone_num")}),F=(x="")=>{R(e.name,ie.SOFT_ERROR,x)},z=x=>{$_$();T(x),P(o(h))},q=()=>{$_$();var x,oe,le,Ee;const ce={countryId:void 0,countryCode:"",phoneCode:""};if((x=b==null?void 0:b.props.config)!=null&&x.options){const[ne]=(le=(oe=b==null?void 0:b.props.config)==null?void 0:oe.options)!=null?le:[];ne&&(ce.countryId=ne==null?void 0:ne.id,ce.countryCode=(Ee=ne==null?void 0:ne.alpha2)==null?void 0:Ee.toLowerCase(),ce.phoneCode=ne==null?void 0:ne.phoneCode)}R(e.name,ie.VALUE,ce)},ee=x=>{$_$();var oe;if(!x){q();return}R(e.name,ie.VALUE,{countryId:x==null?void 0:x.id,countryCode:(oe=x==null?void 0:x.alpha2)==null?void 0:oe.toLowerCase(),phoneCode:x==null?void 0:x.phoneCode})};return e.name===H.PHONE_ID&&xe(()=>b==null?void 0:b.props.value,ee,{immediate:!0}),{model:s,isRecommendationVisible:i,isCompact:a,isCaptionBtn:l,isCountryCodeEditable:c,isManualCountryCode:u,isActiveLabel:r,currentCountryIco:E,currentCountry:h,checkOtpChannelAvailability:O,disableOtpChannel:S,checkOtpChannelIsDisabled:L,setPhoneFieldSoftError:F,phoneFieldErrorMessage:D,countries:_,validationCountries:d,isLoading:p,loadCountries:f,setCountry:z,placeholderLabel:U}};var PI=Object.defineProperty,LI=Object.defineProperties,wI=Object.getOwnPropertyDescriptors,qa=Object.getOwnPropertySymbols,NI=Object.prototype.hasOwnProperty,DI=Object.prototype.propertyIsEnumerable,xa=(e,t,n)=>t in e?PI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,UI=(e,t)=>{for(var n in t||(t={}))NI.call(t,n)&&xa(e,n,t[n]);if(qa)for(var n of qa(t))DI.call(t,n)&&xa(e,n,t[n]);return e},kI=(e,t)=>LI(e,wI(t));const BI=e=>{$_$();var t,n;const{findFieldByName:s,changeFieldProps:r}=De(),{loadRegions:i}=Xc(),a=s(H.COUNTRY_ID),l=async(c,u=!1)=>{$_$();let _,d;r(e.name,{[ie.DISABLED]:!0});let f=[],p=u?e.props.value:void 0;if(c&&(f=([_,d]=v(()=>$_$() && i(c.id)),_=await _,d(),_),f.length===1)){const[h]=f;p=h}r(e.name,{[ie.VALUE]:p,[ie.DISABLED]:!c,[ie.CONFIG]:kI(UI({},e.props.config),{options:f}),[ie.HIDDEN]:!f.length})};!((n=(t=e.props.config)==null?void 0:t.options)!=null&&n.length)&&(a!=null&&a.props.value)&&l(a==null?void 0:a.props.value,!0),xe(()=>a==null?void 0:a.props.value,c=>l(c))};class $I{constructor(t,{apiPath:n=t.$siteConfig.apiPath,scopeName:s="main"}={}){this.abortControllers=new Set,this.scopeInstanceMap=new Map,Ln(t.$cookies,"$cookies обязательное поле"),Ln(t.$httpClient,"$httpClient обязательное поле"),Ln(t.$siteConfig,"$siteConfig обязательное поле"),Ln(t.$T,"$T обязательное поле"),Ln(t.$logger,"$logger обязательное поле"),this.$cookies=t.$cookies,this.$httpClient=t.$httpClient,this.$siteConfig=t.$siteConfig,this.$T=t.$T,this.$logger=t.$logger,this.apiPath=n,this.scopeName=s}get textServerError(){return this.$T("main_error_server")}get className(){var t;return(t=this.constructor.name)!=null?t:"WebApi"}async request(t,n={}){$_$();let s,r;var i;const{apiPath:a=this.apiPath,method:l,params:c,abortController:u=this.$httpClient.createAbortController(),headers:_,timeout:d,hideLog:f,withoutCache:p,isUseXAuth:h=!1,isUseToken:E=!1}=n,T=`${a}${t}`,P={method:l,url:T,params:c,headers:_,isUseXAuth:h,isUseToken:E};u&&this.abortControllers.add(u);try{const O=Object.fromEntries(Object.entries({method:l,params:c,signal:u==null?void 0:u.signal,headers:_,timeout:d,withoutCache:p,isUseXAuth:h,isUseToken:E}).filter(([,S])=>S!==void 0)),{data:L}=([s,r]=v(()=>this.$httpClient.request(T,O)),s=await s,r(),s);return L}catch(O){throw this.parseError(nt(V({},O),{response:O.data,request:nt(V({},P),{statusCode:(i=O.request)==null?void 0:i.status}),hideLog:f}))}finally{u&&this.abortControllers.delete(u)}}newInstance(t){return new this.constructor(this,t)}scope(t){var n;const s=(n=this.scopeInstanceMap.get(t))!=null?n:this.newInstance({scopeName:t});return this.scopeInstanceMap.set(t,s),s}cancelRequest(t){t&&(t.abort(),this.abortControllers.delete(t))}cancelAllRequest(){return this.abortControllers.forEach(t=>this.cancelRequest(t)),this.scopeInstanceMap.forEach(t=>t.cancelAllRequest()),this}async getRequest(t,n={}){$_$();return this.request(t,nt(V({},n),{method:sn.METHOD_GET}))}async postRequest(t,n={}){$_$();return this.request(t,nt(V({},n),{method:sn.METHOD_POST}))}async putRequest(t,n){$_$();return this.request(t,nt(V({},n),{method:sn.METHOD_PUT}))}async deleteRequest(t,n){$_$();return this.request(t,nt(V({},n),{method:sn.METHOD_DELETE}))}async postFormData(t,n={}){const{headers:s={},params:r={}}=n,i=new FormData;return Object.entries(r).forEach(([a,l])=>i.set(a,l)),this.postRequest(t,nt(V({},n),{params:i,headers:nt(V({},s),{"Content-Type":"multipart/form-data"})}))}parseError({message:t="",status:n=sn.STATUS_ERROR,httpCode:s=500,response:r={},request:i={},hideLog:a}={}){$_$();var l,c,u;const _=n===sn.STATUS_CLOSE,d=r!=null&&r.errors?(c=(l=r.errors)==null?void 0:l[0])==null?void 0:c.detail:(u=r==null?void 0:r.message)!=null?u:t,f=d||this.textServerError;return new Pr({message:f,status:n,isCancel:_,response:r,messagePrefix:`${this.className}(${this.scopeName}): `,request:i,hideLog:a!=null?a:!1,httpCode:s,$logger:this.$logger})}checkSuccess(t){if(t&&!t.success)throw this.parseError({message:t.message||t.detail||this.$T("main_query_error"),response:t});return t}consoleError(...t){$_$();const[n,...s]=t;n instanceof Error&&n.hideLog||n instanceof Pr&&!s.length||this.$logger.error(`${this.className} Error: `,...t)}}const Xa=e=>e*1e3,FI=({cookies:e,httpInstance:t,logger:n})=>{const s=_=>{$_$();if(!_)return;const{exp:d}=h_(_);return d},r=()=>{var _;return(_=e.get("user_token"))!=null?_:""},i=_=>{const d=s(_),f=V({path:"/"},d?{expires:new Date(Xa(d))}:{});e.set("user_token",_,f)},a=_=>{const d=s(_);return!!(_&&d&&Date.now(){$_$();let _,d;try{const f=([_,d]=v(()=>t.getRequest("/web-api/user/gettoken")),_=await _,d(),_),{token:p}=f.data.data;return p!=null?p:""}catch(f){return n.error("Fetch token error",f),""}};return{getToken:r,setToken:i,checkToken:a,fetchToken:l,deleteToken:()=>{e.remove("user_token")},getFreshToken:async()=>{$_$();let _,d,f=r();return a(f)||(f=([_,d]=v(()=>l()),_=await _,d(),_),i(f)),f}}};class MI extends $I{constructor(t){super(t,{apiPath:""})}async serviceRequest(t,n={}){$_$();let s,r;const{isUseXAuth:i}=n;if(i){const{getFreshToken:a}=FI({cookies:this.$cookies,httpInstance:this.$httpClient,logger:this.$logger}),l=([s,r]=v(()=>a()),s=await s,r(),s);n.headers=nt(V({},n.headers),{"x-auth":`Bearer ${l}`})}return this.$httpClient.request(t,n)}}K({url:"/web-api/officeapi/sendadminrequest",method:"post",expectedParams:nt(V({},Vl()),{userName:Dc,email:Uc})});K({url:"/web-api/officeapi/gethistorypaymentsource",method:"get"});K({url:"/web-api/officeapi/sendadminrequest",method:"post",expectedParams:nt(V({},Vl()),{userName:Dc,email:Uc})});K({url:"/web-api/officeapi/getdeducedata"});K({url:"/web-api/officeapi/gethistorypaymentvirtualaccount",method:"post"});K({url:"/web-api/officeapi/gethistorypaymentmainaccount",method:"post",expectedParams:V(V({},aE()),lE())});K({url:"/web-api/getRegions",expectedParams:V({},Fs({apiKey:Sc}))});K({url:"/web-api/getCitiesByRegion",expectedParams:V(V({},Fs({apiKey:Sc})),Xh({apiKey:bh}))});K({url:"/service-api/SumSubService/token",method:"post",useMobileToken:!0,expectedQueryParams:V(V({},Nc()),E_())});K({url:"/web-api/officeapi/getLeftMenuData"});K({url:"/web-api/officeapi/getaccountdata",method:"GET"});K({url:"/web-api/officeapi/getnewpincode",method:"GET"});K({url:"/web-api/officeapi/saveaccountfields",method:"POST",expectedUrlParams:V({},Qh())});K({url:"/web-api/officeapi/saverequireddocuments",method:"POST"});K({url:"/web-api/user/createCurrencyAccount",method:"POST",expectedParams:V({},uE())});const GI=K({url:"/web-api/api/internal/v2/phone-actions/create-phone-number",method:"POST",expectedParams:V({},Ms()),transformParams:e=>({data:{attributes:V({},e)}})});K({url:"/web-api/api/internal/v2/phone-actions/update-phone-number",method:"POST",expectedParams:V(V(V({},Ms()),Ds()),Ac()),transformParams:e=>({data:{attributes:V({},e)}})});K({url:"/web-api/api/internal/v3/phone-number/update/check-confirm-code",expectedParams:V({},Ds())});K({url:"/web-api/api/internal/v3/phone-number/update/check-user-answer",expectedParams:V({},Ac())});K({url:"/web-api/officeapi/disconnecteverywhere",method:"POST"});K({url:"/web-api/officeapi/closesession",method:"POST",expectedParams:V({},ui())});const ED=K({url:"/web-api/api/internal/v1/phoneActions/createPhoneNumber/confirm",method:"POST",expectedParams:V(V(V({},Ms()),Ds()),gE({})),overrideParams(e,t){var n;e.isSendSmsToApps=(n=t==null?void 0:t.isSendSmsToApps)!=null?n:!1}});K({url:"/web-api/api/internal/v1/phoneActions/updatePhoneNumber/confirm",method:"POST",expectedParams:V({},Ds())});K({url:"/web-api/officeapi/refusebonus",method:"POST",expectedParams:V({},hE())});K({url:"/web-api/officeapi/twofactorauthdisable",method:"POST",expectedParams:V({},pE({}))});K({url:"/web-api/officeapi/twofactorauthenable",method:"POST",expectedParams:V(V({},_E()),dE())});K({url:"/web-api/api/internal/office/identification/config",isUseXAuth:!0});K({url:"/web-api/api/internal/office/identification/fail",isUseXAuth:!0});K({url:"/web-api/officeapi/getsessionid"});K({url:"/web-api/officeapi/gettwofactorqrcodeurl",method:"POST"});K({url:"/web-api/officeapi/getUserSecureQuestion",method:"POST"});K({url:"/web-api/officeapi/getusersecurequestion-with-phone",method:"POST"});K({url:"/web-api/api/internal/verigram/token",isUseXAuth:!0});K({url:"/web-api/api/internal/office/identification/data",method:"POST",isUseXAuth:!0});K({url:"/web-api/user/deleteCurrencyAccount",method:"POST",expectedParams:V({},T_({apiKey:y_}))});K({url:"/web-api/api/internal/v1/phoneActions/updatePhoneNumber/sendCode",method:"POST"});K({url:"/web-api/api/internal/office/account/login",method:"POST",expectedParams:V(V({},TE()),cE())});K({url:"/web-api/api/web/user/v1/password",method:"PUT",expectedParams:V(V(V(V({},mE()),I_()),C_()),fE()),transformParams:e=>({data:{attributes:V({},e)}})});K({url:"/web-api/api/internal/v3/phone-number/update",method:"POST",expectedParams:V(V({},v_()),S_()),transformParams:e=>({data:{attributes:V({},e)}})});K({url:"/web-api/officeapi/v1/user-information"});K({url:"/web-api/api/web/user/v1/settings"});K({url:"/web-api/officeapi/savesetting",method:"POST",expectedParams:V(V({},vc()),Oc())});K({url:"/web-api/api/web/user/v1/disallow-sports",method:"POST",expectedParams:V(V({},Zh()),Jh())});K({url:"/web-api/officeapi/saveSetting",method:"POST",expectedParams:V(V({},vc({})),Oc({})),overrideParams(e,t){var n;e.settingId=(n=t==null?void 0:t.settingId)!=null?n:"disable_auth_by_email"}});K({url:"/web-api/officeapi/getsecurequestions"});K({url:"/web-api/officeapi/getusersessions",method:"POST",expectedParams:V({},nE())});K({url:"/web-api/officeapi/sendSmsForTwoFactorActivation",method:"POST",expectedParams:V({},eE({}))});K({url:"/web-api/officeapi/setanswertosecurequestion",method:"POST",expectedParams:V(V(V({},oE()),bc()),Rc())});K({url:"/web-api/officeapi/setanswertocustomsecurequestion",method:"POST",expectedParams:V(V(V({},tE()),bc()),Rc())});K({url:"/web-api/officeapi/getrechargedata"});K({url:"/web-api/bringfriend/getBanners",method:"POST"});K({url:"/web-api/api/web/user/bringfriend/extended-referral-users",method:"post",expectedParams:V(V({},Ts({key:Wl,isStringType:!0,apiKey:Cc})),Ts({key:zl,isStringType:!0,apiKey:Ic})),transformParams:e=>({data:{attributes:V({},e)}})});K({url:"/web-api/bringfriend/getReferralUsers",method:"post",expectedParams:V(V({},Ts({key:Wl,isStringType:!0,apiKey:Cc})),Ts({key:zl,isStringType:!0,apiKey:Ic}))});K({url:"/web-api/api/v3/users/friend-reffer-tag"});K({url:"/web-api/bringfriend/registration",method:"POST",expectedParams:V({},sE())});K({url:"/web-api/bringfriend/removeReferralUser",method:"POST",expectedParams:V({},iE())});K({url:"/web-api/bringfriend/transferMoneyToMainAccount",method:"POST",expectedParams:V({},rE({apiKey:Nh}))});K({url:"/verification-api/api/v1/BackOffice/documents",isUseXAuth:!0});K({url:"/verification-api/api/v1/FaceId/verify",method:"POST",isUseXAuth:!0,expectedParams:V({},yE())});K({url:"/service-api/SumSubService/token",method:"POST",isUseXAuth:!0,expectedParams:V(V({},Nc()),CE())});K({url:"/service-api/smartidstandaloneservice/web/session/status",isUseXAuth:!0,expectedUrlParams:V({},ui())});K({url:"/service-api/mobileidstandaloneservice/web/session/status",isUseXAuth:!0,expectedUrlParams:V({},ui())});K({url:"/service-api/mobileidstandaloneservice/web/authentication",method:"POST",isUseXAuth:!0,expectedParams:V(V(V(V({},Pc()),Lc()),wc()),Ms({apiKey:wr}))});K({url:"/service-api/mobileidstandaloneservice/web/authentication/verificationCode",isUseXAuth:!0});K({url:"/service-api/smartidstandaloneservice/web/authentication",method:"POST",isUseXAuth:!0,expectedParams:V(V(V({},Pc()),Lc()),wc())});K({url:"/service-api/smartidstandaloneservice/web/authentication/verificationCode",isUseXAuth:!0});K({url:"/verification-api/api/v1/BackOffice/documents/upload",method:"POST",isUseXAuth:!0});K({url:"/verification-api/api/v1/BackOffice/documents/verify",method:"POST",isUseXAuth:!0});K({url:"/web-api/promo/getUserPromoCodesNew",expectedParams:V({},EE())});K({url:"/web-api/third-party/api/list-available-partitions"});K({url:"/limit-service-api/api/external/web/v3/limits",method:"get",isUseXAuth:!0});K({url:"/limit-service-api/api/external/web/v3/availablelimits",method:"get",isUseXAuth:!0});K({url:"/limit-service-api/api/external/web/v3/reasons/selfexclude",method:"get",isUseXAuth:!0});K({url:"/limit-service-api/api/external/web/v3/limits",method:"post",isUseXAuth:!0,expectedParams:V({},OE())});K({url:"/limit-service-api/api/external/web/v3/limitaction",method:"post",isUseXAuth:!0,expectedParams:V({},vE())});K({url:"/limit-service-api/api/external/web/v3/testanswers",method:"post",isUseXAuth:!0,expectedParams:V(V({},IE()),SE())});K({url:"/limit-service-api/limit/external/web/api/v1/BlockUser",method:"post",isUseXAuth:!0});K({url:"/limit-service-api/api/external/web/v3/limit",method:"delete",isUseXAuth:!0});var HI=Object.defineProperty,Qa=Object.getOwnPropertySymbols,VI=Object.prototype.hasOwnProperty,zI=Object.prototype.propertyIsEnumerable,Za=(e,t,n)=>t in e?HI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,WI=(e,t)=>{for(var n in t||(t={}))VI.call(t,n)&&Za(e,n,t[n]);if(Qa)for(var n of Qa(t))zI.call(t,n)&&Za(e,n,t[n]);return e};const eu=(e,t=!1)=>{$_$();var n,s;const r=Be(),i=ht(),a=Et(),l=_e(1393),{changeFieldProp:c,changeFieldProps:u,validateField:_,changeFieldValidators:d,findFieldByName:f}=De(),{isPhoneConfirmed:p,codeIsSent:h,incrementCodeSendCount:E,timeUntilUnblockedSendCode:T,sendCodeTimer:P,updateTimeBlockingCodeSend:O,isSendingSmsFrozen:L,setIsSendingSmsFrozen:S,codeDeliveryMethods:I,lastUsedCodeDeliveryMethod:R,hasCodeDeliveryMethodsChoice:b,hasOnlySmsCodeDeliveryMethod:D,setLastUsedCodeDeliveryMethod:w,isResendRecommendationVisible:U}=me(),{notificationError:F,notificationSuccess:z}=vt(),{sendEventSmsWasSend:q,sendFailSendSms:ee}=Io(),x=Xn(),{model:oe,isRecommendationVisible:le,currentCountry:Ee,checkOtpChannelIsDisabled:ce,checkOtpChannelAvailability:ne,disableOtpChannel:te,setPhoneFieldSoftError:de,phoneFieldErrorMessage:se,isCompact:pe,isCaptionBtn:re,countries:Ae,validationCountries:we,isActiveLabel:$e,isCountryCodeEditable:He,isManualCountryCode:fe,currentCountryIco:bt,loadCountries:oo,setCountry:Rt,isLoading:Tt}=Jc(e),Fe=ai(),{resendSmsButtonCaption:Bt,sendSmsButtonCaption:At,sendSmsButtonTooltip:xt,isVisibleCountdown:ct}=(n=e.props.config)!=null?n:{};let $t;const Pt=J(5),Cn=m(()=>$_$() && o(L)||e.props.disabled),So=m(()=>{$_$();var Oe;return o(L)||!((Oe=o(oe))!=null&&Oe.phoneNum)||!!e.props.error}),Xo=m(()=>e.decorators.has(Ve.FORCE_UI_INPUT)),Qo=m(()=>{var Oe;return(Oe=e.props.additionalConfig)==null?void 0:Oe.codesSize}),In=m(()=>$_$() && !b&&!D?r("reg_send_code_in",{codeType:r(o(I)[0].translationKey)}):xt),Sn=m(()=>$_$() && o(pe)&&!o(re)?"":o(h)&&Bt?Bt:!b&&!D?r("reg_send_code_in",{codeType:r(o(I)[0].translationKey)}):At!=null?At:r("reg_send_sms")),Zo=Oe=>{O(Oe),$t=setTimeout(()=>{$_$();o(p)||S(!1)},Oe)},vn=()=>{clearTimeout($t)},Jo=async Oe=>$_$() && GI(a,{params:{phoneNumber:Oe==null?void 0:Oe.fullPhone},headers:WI({},Fo)}).execute(),On=async(Oe,{phoneNum:mt,phoneCode:Ft})=>{$_$();let ft,be;try{return[ft,be]=v(()=>$_$() && a(`/web-api/api/web/registration/v2/${Oe}`,{method:"POST",body:{data:{attributes:{phone:mt,country_code:Ft}}},headers:Fo}).execute()),ft=await ft,be(),ft}catch(Ue){throw i.error(Ue),Ue}},en=Oe=>{$_$();u(H.PHONE_CONFIRMATION,{[ie.DISABLED]:Oe,[ie.CONFIG]:{maxLength:o(Pt)}}),d(H.PHONE_CONFIRMATION,[{type:_t.REQUIRED,options:{message:r("auth_required_field")}},{type:_t.LENGTH,options:{min:o(Pt),minMessage:r("phone_min_length",{value:o(Pt)}),max:void 0,maxMessage:void 0}}])},tn=async(Oe=o(R))=>{$_$();var mt,Ft,ft;let be,Ue;if(!_(e)){if(!ne(Oe)){te(Oe),de(r("auth_otp_channel_not_available",{codeType:r(`reg_auth_type_${Oe}`)}));return}de(""),S(!0);try{[be,Ue]=v(()=>Fe[Is.GET_SECURE_DATA]()),await be,Ue(),w(Oe);const{data:{attributes:{message:yt,additional_message:mo,code_length:fo}}}=o(re)?([be,Ue]=v(()=>Jo(e.props.value)),be=await be,Ue(),be):([be,Ue]=v(()=>On(Oe,e.props.value)),be=await be,Ue(),be);if(fo){const go=l&&o(h);E(),Pt.value=fo,en(!1),go&&(c(H.PHONE_CONFIRMATION,ie.VALUE,""),[be,Ue]=v(()=>$_$() && Yt()),await be,Ue(),c(H.PHONE_CONFIRMATION,ie.ERROR,r("auth_sms_enter_new_code")))}Zo(6e4*2),[be,Ue]=v(()=>z(mo?`${yt}

${mo}`:yt)),await be,Ue(),x.modules.registrationEvents.trackSendSms(),q()}catch(yt){if((Ft=(mt=yt.data)==null?void 0:mt.errors)!=null&&Ft.length){const mo=yt.data.errors.reduce((go,vo,Lo)=>`${go}${Lo?` `:""}${vo.detail}`,"");window.document.dispatchEvent(new CustomEvent("updateCustomCaptchaField"));const fo=yt.data.errors.map(go=>go.code).join(", ");x.modules.registrationEvents.trackRegPhoneError(fo),ee(fo),[be,Ue]=v(()=>F(mo)),await be,Ue()}else(ft=yt.response)!=null&&ft.error?([be,Ue]=v(()=>F(yt.response.error)),await be,Ue()):yt.message!==O_&&([be,Ue]=v(()=>F(r("main_query_error"))),await be,Ue(),i.error("field sms mixin sendSms error",yt));S(!1)}}};t&&!o((s=f(H.PHONE_CONFIRMATION))==null?void 0:s.props.value)&&c(H.PHONE_CONFIRMATION,ie.VALUE,""),en(!0);const bn=()=>{$_$();const Oe=Date.now(),mt=o(T);mt>Oe&&Zo(mt-Oe)},Rn=Oe=>$_$() && !o(p)&&o(R)===Oe&&o(P)>0,An=Oe=>$_$() && o(So)||ce(Oe);return bn(),{model:oe,isRecommendationVisible:le,currentCountry:Ee,isCompact:pe,isCaptionBtn:re,countries:Ae,validationCountries:we,isActiveLabel:$e,isCountryCodeEditable:He,isManualCountryCode:fe,currentCountryIco:bt,loadCountries:oo,setCountry:Rt,isLoading:Tt,sendSmsCaption:Sn,sendSmsTooltip:In,resendSmsButtonCaption:Bt,isVisibleCountdown:ct,codeIsSent:h,sendCodeTimer:P,timeUntilUnblock:T,isShowCodeSendTimer:Rn,isSendButtonDisabled:So,otpChannelIsDisabled:An,sendSms:tn,clearUnblockTime:vn,smsCodeLength:Pt,isFieldDisabled:Cn,isSendingSmsFrozen:L,isForceUiInput:Xo,codesSize:Qo,codeDeliveryMethods:I,hasCodeDeliveryMethodsChoice:b,hasOnlySmsCodeDeliveryMethod:D,isResendRecommendationVisible:U,phoneFieldErrorMessage:se,setPhoneFieldSoftError:de}},tu=e=>{$_$();var t,n;const s=Et(),r=ht(),{changeFieldProp:i,findFieldByName:a,validateField:l}=De(),c=Xn(),{sendCorrectCodeFromSms:u}=Io(),{notificationSuccess:_}=vt(),d=J(""),{model:f,uiComponent:p,maxLength:h,isCompact:E}=es(e),{isPhoneConfirmed:T,codeIsSent:P,isResendRecommendationVisible:O,setIsPhoneConfirmed:L}=me(),{confirmButtonText:S}=(n=(t=a(H.PHONE_MEGA))==null?void 0:t.props.config)!=null?n:{},I=m(()=>$_$() && !o(P)||o(T)),R=async({confirmationCode:D,phoneCode:w,phoneNumber:U})=>{$_$();let F,z;return[F,z]=v(()=>$_$() && s("/web-api/api/web/registration/v1/sms/confirm",{method:"POST",body:{data:{attributes:{[H.PHONE_CONFIRMATION]:D,[H.PHONE_ID]:U,[H.COUNTRY_CODE]:w}}},headers:Fo}).execute()),F=await F,z(),F};return{model:f,uiComponent:p,maxLength:h,confirmButtonText:S,isPhoneConfirmed:T,isConfirmDisabled:I,isCompact:E,codeConfirmErrorMessage:d,confirmPhone:async()=>{$_$();var D,w,U;let F,z;if(d.value="",!l(e))try{i(H.PHONE_CONFIRMATION,ie.ERROR,"");const ee=a(H.PHONE_MEGA),x=([F,z]=v(()=>{$_$();var oe,le,Ee,ce;return R({confirmationCode:o(f),phoneCode:(le=(oe=ee==null?void 0:ee.props)==null?void 0:oe.value)==null?void 0:le.phoneCode,phoneNumber:(ce=(Ee=ee==null?void 0:ee.props)==null?void 0:Ee.value)==null?void 0:ce.phoneNum})}),F=await F,z(),F);i(H.PHONE_MEGA,ie.DISABLED,!0),L(!0),c.modules.registrationEvents.trackRegPhoneCodeApproved(),u(),_((D=x==null?void 0:x.data)==null?void 0:D.message)}catch(ee){if((U=(w=ee.data)==null?void 0:w.errors)!=null&&U.length){const x=ee.data.errors.reduce((oe,le,Ee)=>`${oe}${Ee?` `:""}${le.detail}`,"");d.value=x}r.error("error confirm sms",ee)}},isResendRecommendationVisible:O}},ou=e=>{$_$();const{model:t}=qo(e),{changeFieldProp:n}=De(),{submitRegistrationBySocial:s}=Ei(),r=m(()=>e.decorators.has(Ve.WIDGET_REGISTER_WITH_SOCIAL)),i=m(()=>e.decorators.has(Ve.WIDGET_REMOVE_HEADER_TITLE)),a=m(()=>{var c,u,_;return(_=(u=(c=e.props.config)==null?void 0:c.networks)==null?void 0:u.map(({id:d,name:f})=>$_$() && ({id:d,name:f,ico:Nr[d],isToggled:o(t)===d,value:d})))!=null?_:[]});return{model:t,networks:a,widgetRemoveHeaderTitle:i,selectSocial:c=>{$_$();if(n(e.name,ie.VALUE,c),o(r))return s(c==="metamask")}}},KI=()=>{$_$();const e=Be(),t=_e(-1004).id,n=J(new b_(t));return{initialize:async()=>{$_$();let r,i;[r,i]=v(()=>$_$() && R_([105])),await r,i(),n.value=new A_(t,[e("datepicker_months_long_january"),e("datepicker_months_long_february"),e("datepicker_months_long_march"),e("datepicker_months_long_april"),e("datepicker_months_long_may"),e("datepicker_months_long_june"),e("datepicker_months_long_july"),e("datepicker_months_long_august"),e("datepicker_months_long_september"),e("datepicker_months_long_october"),e("datepicker_months_long_november"),e("datepicker_months_long_december")],[e("datepicker_months_short_january"),e("datepicker_months_short_february"),e("datepicker_months_short_march"),e("datepicker_months_short_april"),e("datepicker_months_short_may"),e("datepicker_months_short_june"),e("datepicker_months_short_july"),e("datepicker_months_short_august"),e("datepicker_months_short_september"),e("datepicker_months_short_october"),e("datepicker_months_short_november"),e("datepicker_months_short_december")],[e("datepicker_dow_short_sunday"),e("datepicker_dow_short_monday"),e("datepicker_dow_short_tuesday"),e("datepicker_dow_short_wednesday"),e("datepicker_dow_short_thursday"),e("datepicker_dow_short_friday"),e("datepicker_dow_short_saturday")])},translation:n}},YI=e=>{$_$();var t;const n=_e(-1004).id,{validateField:s}=De(),{model:r}=qo(e),i=(t=e.validators.find(p=>p.type===_t.DATE_RANGE))==null?void 0:t.options,a=J({from:i==null?void 0:i.max,to:i==null?void 0:i.min}),l=m({get:()=>$_$() && Ss(o(r)),set:p=>{$_$();ge(p)&&(r.value=P_(p,zc))}}),c=m(()=>e.decorators.has(Ve.COMPACT)),u=m(()=>e.decorators.has(Ve.COLOR_STYLER)),_=m(()=>$_$() && o(c)?Kl:Yl);yo(r,()=>s(e),{immediate:!0});const{initialize:d,translation:f}=KI();return{initialize:d,model:r,modelForDatePicker:l,disabledDates:a,lng:n,translation:f,dateRangeValidatorOptions:i,uiComponent:_,colorStyler:u}};var ln=(e=>(e.COUNTRY_ID="country_id",e.COUNTRY_CODE_ID="country_code_id",e.REGION_ID="region_id",e.CITY_ID="city_id",e.CURRENCY_ID="currency_id",e.CITIZENSHIP_ID="citizenship_id",e.REF_CODE_ID="ref_code",e.REF_CODE_BTN_ID="ref_code_btn",e.NAME_ID="name",e.SURNAME_ID="surname",e.PASSWORD_ID="password",e.PASSWORD_REPEAT_ID="password_again",e.EMAIL_ID="email",e.DOC_NUM_ID="passport",e.DOC_SERIAL_NUM_ID="passport_series",e.DOC_TYPE_ID="document_type_id",e.DOC_DATE_OF_ISSUE_ID="passport_date",e.DOC_VALIDITY_DATE="passport_end_date",e.DOC_WHO_ISSUE="passport_who",e.CHECKBOX_DOCUMENT_ID="typedocument_id",e.PHONE_CODE_ID="tel_code",e.COUNTRY_CODE="country_code",e.PHONE_CONFIRM_ID="phone_confirmation",e.PHONE_CONFIRM_BUTTON_ID="button_confirm_sms",e.PHONE_ID="phone",e.PHONE_BUTTON_ID="button_send_sms",e.GOOGLE_CAPTCHA_ID="google_captcha_response",e.CUSTOM_CAPTCHA_ID="custom_captcha",e.AGREE_POLICY_ID="agree-policy",e.BG_USL_ID="bg_usl",e.PARTNER_ACCOUNT_ID="partner_account",e.PARTNER_NICKNAME_ID="partner_nickname",e.PARTNER_PHONE_ID="partner_phone",e.PARTNER_EMAIL_ID="partner_email",e.PARTNER_RADIO_ID="partner_radio",e.SOCIAL_TYPES_ID="social_types_id",e.BUTTON_REGISTRATION="button_registration",e.FIELD_CHECKBOX_PRIMARY_1="checkbox_primary_1",e.FIELD_CHECKBOX_PRIMARY_2="checkbox_primary_2",e.FIELD_CHECKBOX_PRIMARY_3="checkbox_primary_3",e.FIELD_CHECKBOX_TUNISIA_1="checkbox_tunisia_1",e.FIELD_CHECKBOX_TUNISIA_2="checkbox_tunisia_2",e.FIELD_CHECKBOX_TUNISIA_3="checkbox_tunisia_3",e.FIELD_CHECKBOX_PEP_ID="checkbox_pep",e.FIELD_LABEL_TUNISIA_1="tunisia_label_id_1",e.TEXT_SELECT_SOCIAL_NETWORK_ID="",e.FIELD_DATE_BIRTHDAY="date_birthday",e.FIRST_DEPOSIT_BONUS_SELECT_ID="first_deposit_bonus_choice",e.LABEL_ABOUT_IDENT="info_ident",e.BANK_ID="bank",e.CPF_ID="cpf",e.BANK_ACCOUNT="bank_account",e.BANK_ACCOUNT_OWNER="bank_account_owner",e.GENDER="gender",e.PARAM_IS_NEED_AUTH="connect",e.PARAM_IS_PAGE_REG="is_page",e.PARAM_IS_CRYPT_REG="is_crypt_reg",e.PARAM_IS_XSL_LANDING_REG="is_xsl_laning_reg",e.PARAM_IS_SHORT_REG="short_reg",e.PARAM_RECEIVE_NEWS="receive_news",e.PARAM_RECEIVE_RES="receive_res",e.PARAM_BONUS_CHOICE="bonus_choice",e.PARAM_FREEBET_CHOICE="freebet_choice",e.PARAM_CUSTOM_CAPTCHA_ID="custom_captcha_id",e.PARAM_CUSTOM_CAPTCHA_VALUE="custom_captcha_value",e.FIELD_DOC_TYPE_ID="document_type_id",e.PARAM_IS_REMEMBER_AUTH="remember_auth",e.BIRTHDAY_ID="birthday",e.BIRTHPLACE="birthplace",e.REGISTRATION_NUMBER_ID="registration_number",e.DOCUMENT_NUMBER_ID="passport_number",e.ADDRESS_ID="address",e.POSTAL_CODE_ID="postal_code",e.CAPTCHA_ID="captcha",e.CITIZENSHIP_V1_ID="citizenship",e.CITY_V1_ID="city",e.COUNTRY_V1_ID="country",e.PHONE_CONFIRM_V1_ID="phone_confirm",e))(ln||{});const jI=new Set([ln.PHONE_CONFIRM_ID,ln.PASSWORD_ID,ln.PASSWORD_REPEAT_ID,ln.PHONE_CONFIRM_ID,ln.CAPTCHA_ID]),nu=()=>{const{setFormDraft:e}=Gs(),{getFlatFields:t,type:n,shouldSaveFormOnExit:s}=me(),{currentBonusId:r}=kt();return{saveForm:()=>{$_$();if(!o(s))return;const a={type:o(n),bonus:o(r),fields:Object.fromEntries(t().filter(({name:l,props:c})=>$_$() && !jI.has(l)&&ge(c.value)&&c.value!=="").map(({name:l,props:c})=>[l,c.value]))};e(a)}}};var su=(e=>(e.SLOTS="slots",e.LIVE_CASINO="casino",e.KENO="keno",e))(su||{}),fs=(e=>(e[e.GO_HOME=0]="GO_HOME",e[e.GO_BACK=1]="GO_BACK",e))(fs||{});const ts=()=>{$_$();const{isWidget:e}=me(),t=Ot(),n=mn();return{closeRegistrationModal:()=>$_$() && (o(e)?t:n).hide()}},qI="reg_route_to_home",xI="reg_route_continue",Ti=(e=qI)=>{$_$();var t,n;const s=ve(),r=(t=_e(1512))!=null?t:!1,{getLocationWithLang:i}=ot(m(()=>s.getLanguage)),a=i({name:Pi.SLOTS,params:{section:su.SLOTS}}),l=Kt(),c=at(),u=Nt(),_=To(),d=zo(),f=d.get("global/router/previousRoute"),p=d.get("global/router/routeBeforeRegistration"),{useLangLocation:h}=ot(m(()=>s.getLanguage)),E=h({name:Ao.HOME}),T=(n=_e(256))!=null?n:fs.GO_HOME,{closeRegistrationModal:P}=ts(),O={retrieveRoute:async()=>{$_$();let U,F,z;const{additionalConfig:q}=me(),{redirectUrl:ee}=po();return[U,F]=v(()=>$_$() && l.getItem(tt.RETURN_URL)),U=await U,F(),U===`/${Pi.SLOTS}`?z=o(a):o(c).name!=="registration"?z=o(p):o(q).showBackButton&&(z=o(ee)),z},storeRoute:async()=>{$_$();var U;let F,z;(U=o(c).query)!=null&&U.returnUrl&&r&&([F,z]=v(()=>{$_$();var q;return l.setItem(tt.RETURN_URL,(q=o(c).query)==null?void 0:q.returnUrl)}),await F,z())},buttonTranslationKey:e},L={retrieveRoute:async()=>{$_$();let U,F,z;return[U,F]=v(()=>O.retrieveRoute()),U=await U,F(),!U&&(z=([U,F]=v(()=>$_$() && l.getItem(tt.RETURN_URL)),U=await U,F(),U)),z},storeRoute:async()=>{$_$();var U,F,z;let q,ee,x;(U=o(c).query)!=null&&U.returnUrl&&r?x=(F=o(c).query)==null?void 0:F.returnUrl:x=(z=o(f))==null?void 0:z.fullPath,x&&([q,ee]=v(()=>$_$() && l.setItem(tt.RETURN_URL,x)),await q,ee())},buttonTranslationKey:xI},S=U=>{switch(U){case fs.GO_BACK:return L;case fs.GO_HOME:default:return O}},{retrieveRoute:I,storeRoute:R,buttonTranslationKey:b}=S(T),D=async()=>{$_$();let U,F;const z=J(o(E));try{const q=([U,F]=v(()=>I()),U=await U,F(),U);q&&(z.value=q)}catch(q){_.error("An error occurred while trying to get columns count from appStorage",q)}return z};return{getRoute:D,setRoute:R,buttonTranslationKey:b,routeBeforeRegistration:p,previousRoute:f,goToMainRoute:async()=>{$_$();var U,F;let z,q;try{const ee=([z,q]=v(()=>D()),z=await z,q(),z);((U=u.resolve(o(ee)))==null?void 0:U.fullPath)!==((F=o(c))==null?void 0:F.fullPath)&&u.push(o(ee))}finally{P()}}}},Tn=()=>{$_$();var e;const t=Nt(),n=at(),{closeRegistrationModal:s}=ts(),r=ve(),{getRoute:i}=Ti(),{isRedirectAvailable:a,goToRedirectUrl:l}=po(),c=(e=_e(263))!=null?e:!1,{isRegPage:u}=me(),_=m(()=>$_$() && o(r).isUserAuth),d=m(()=>$_$() && o(n).name==="login");yo(_,async()=>{$_$();let f,p;if(o(a))return l();if(o(u)||o(d)){const h=o(([f,p]=v(()=>i()),f=await f,p(),f));t.push(h)}else c||s()},{immediate:!0})};var XI=Object.defineProperty,QI=Object.defineProperties,ZI=Object.getOwnPropertyDescriptors,Ja=Object.getOwnPropertySymbols,JI=Object.prototype.hasOwnProperty,eS=Object.prototype.propertyIsEnumerable,el=(e,t,n)=>t in e?XI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tS=(e,t)=>{for(var n in t||(t={}))JI.call(t,n)&&el(e,n,t[n]);if(Ja)for(var n of Ja(t))eS.call(t,n)&&el(e,n,t[n]);return e},oS=(e,t)=>QI(e,ZI(t));const nS=()=>{$_$();const{banners:e}=me(),{findFieldByName:t}=De(),n=(u,_)=>{$_$();switch(u){case Bn.DYNAMIC:return"DynamicBanner";case Bn.PAY:return"PopularPaymentsBanner";case Bn.STATIC:return`Static${Fl(_)}Banner`}},s=u=>{$_$();var _,d;const f=t(u.fieldName);return!!f&&u.conditionValues.includes(((_=f.props.value)==null?void 0:_.id)||((d=f.props.value)==null?void 0:d.countryId))},r=m(()=>{$_$();const u={};for(const _ of o(e)){if(_.type===Bn.PAY&&!s(_))continue;const d=n(_.type,_.position);if(!d)continue;const f=oS(tS({},_),{componentName:d});u[_.position]||(u[_.position]=[]),u[_.position].push(f)}return u}),i=m(()=>{$_$();var u;return(u=o(r).top)!=null?u:[]}),a=m(()=>{$_$();var u;return(u=o(r).left)==null?void 0:u[0]}),l=m(()=>{$_$();var u;return(u=o(r).bottom)==null?void 0:u[0]}),c=m(()=>{$_$();var u;return(u=o(r).inside)==null?void 0:u[0]});return{topBanners:i,leftBanner:a,bottomBanner:l,insideBanner:c}},sS=()=>$_$() && jt({name:"SOCIALS_ALREADY_REGISTERED_MODAL",component:()=>X(()=>import("./7097cc4078.js"),__vite__mapDeps([31,32]),import.meta.url),componentLoader:pt}),ru=()=>{$_$();const e=Ot(),t=typeof BroadcastChannel=="function"?new BroadcastChannel(zt.SOCIAL_REG):void 0,{closeRegistrationModal:n}=ts(),s=({detail:r})=>{$_$();if(!ge(r))return;const{response:i,openedWindow:a}=r;n(),e.show(sS(),{error:i.error,provider:i.socialProvider,providerName:i.socialProviderName}),t?t.postMessage(ci.CLOSE_TAB):(document.removeEventListener(zt.SOCIAL_REG,s),a&&a.close())};Gn(()=>{t?t.onmessage=r=>s(r.data):document.addEventListener(zt.SOCIAL_REG,s)}),ao(()=>{t||document.removeEventListener(zt.SOCIAL_REG,s)})},iu=()=>{$_$();const[e,t=[],n=[]]=lo(384,1859,1868),s=L_.filter(({id:i})=>$_$() && t.includes(i)),r=Ef.filter(({id:i})=>$_$() && n.includes(i));return{visibleResponsibleGamblingLogos:s,visibleResponsibleGamblingLinks:r,isShowResponsibleGamblingBlock:e}},rS=()=>$_$() && jt({name:"REGISTRATION_LEAVE_MODAL",component:()=>X(()=>import("./30385a8a6c.js"),__vite__mapDeps([33,34]),import.meta.url),componentLoader:pt,middleware:[Vn]}),iS=()=>{$_$();const e="REGISTRATION_LEAVE_MODAL",t=Ot();return{showModal:r=>{t.overShow(rS(),r)},closeModal:()=>{t.hide()},modalName:e}},aS=()=>{window.mfNavigationGuards=window.mfNavigationGuards instanceof Map?window.mfNavigationGuards:new Map;const e=window.mfNavigationGuards,t=(s,r)=>{let i=e.get(s);return i||(i=n(s,r),e.set(s,i),i)},n=(s,r)=>{let i=!0,a=!1,l;const c=()=>{a||(i=!0,l==null||l(),l=void 0)};function u(){i||a||(l=hi(async({from:p,to:h})=>{$_$();let E,T;try{return[E,T]=v(()=>r({from:p,to:h,stop:c})),E=await E,T(),E===!0}catch(P){return!1}finally{i||Yt(u)}}))}return{start:()=>{!i||a||(i=!1,u())},stop:c,resume:()=>{!i||a||(i=!1,u())},remove:()=>{a||(c(),a=!0,e.delete(s))}}};return{createNavigationGuard:t}},lS=()=>{$_$();var e;const t=Xn(),n=mn(),{type:s,additionalConfig:r}=me(),i=(e=o(r).showExitConfirmationPopup)!=null?e:!1,{showModal:a,closeModal:l}=iS(),{createNavigationGuard:c}=aS();let u;const _=Nt(),{saveForm:d}=nu();let f=Vr;const p=L=>{$_$();var S;(S=t.modules.registrationEvents)==null||S.trackRegistrationLeave({result:L,option:o(s)})},h=c("registrationLeave",({from:L,to:S,stop:I})=>{if(L.fullPath.includes("registration")&&!S.fullPath.includes("registration")){if(i)return u=S,f(),!1;I(),d(),p("leave")}return u=void 0,!0}),E=()=>{n.hide()},T=()=>{p("stay"),l()},P=()=>{d(),p("leave"),l(),E(),h.stop(),u&&_.push(u.fullPath)},O=()=>{p("close"),l()};return f=()=>{a({onStayHandler:T,onLeaveHandler:P,onCloseHandler:O})},{navigationWatcher:h,onStayHandler:T,onLeaveHandler:P,onCloseHandler:O,showModal:f,closeModal:l,showExitConfirmationPopup:i}},cS=[H.PHONE_MEGA,H.PHONE_ID],uS=e=>cS.includes(e),yi=e=>{$_$();const{getCheckRefCodePromise:t}=me(),{changeFieldProp:n,validateField:s,validateFields:r,sendTouchEvent:i}=De(),{submit:a}=Zn(),l=qt(),c=m(()=>e.validators.some(E=>E.type===_t.REQUIRED));let u=!1;const _=E=>{const T=E!=null?E:e.name;uS(T)&&!e.props.error||s(T)};return{isRequired:c,onUpdate:({value:E,fieldName:T})=>{$_$();n(T,ie.VALUE,E),ge(E)&&(_(T),u&&i())},onBlur:()=>{e.decorators.has(Ve.NO_VALIDATE_ON_BLUR)||(l.registration.trackRegistrationFieldBlur(e.name,e.props.value,e.props.error),_())},onSubmit:async()=>{$_$();var E,T;let P,O;if(([P,O]=v(()=>t()),P=await P,O(),P)===!1)return;const S=r();(T=(E=e.analytics)==null?void 0:E.onSubmit)==null||T.call(E),S&&a()},onTouched:()=>{u=!0}}},_S=W({name:"RegistrationFieldInput",components:{UiInformer:qr},props:{field:{type:Object,required:!0},inputType:{type:String,default:"text"},isRequired:{type:Boolean,default:!1}},emits:["update","blur","focus","input"],setup(e){$_$();const t=m(()=>!e.field.decorators.has(Ve.SHOW_EMAIL_RECOMMENDATION_ON_VALUE)),{model:n,uiComponent:s,maxLength:r,isRecommendationVisible:i,hasBorder:a,hasInnerOffset:l}=es(e.field,o(t));return{model:n,uiComponent:s,maxLength:r,isRecommendationVisible:i,sizeType:M,hasBorder:a,hasInnerOffset:l}}}),dS={class:"registration-field-input"};function pS(e,t,n,s,r,i){$_$();const a=B("UiInformer"),l=Xe("tooltip");return g(),k("div",dS,[Te((g(),$(Ye(e.uiComponent),{modelValue:e.model,"onUpdate:modelValue":[t[0]||(t[0]=c=>e.model=c),t[3]||(t[3]=c=>e.$emit("input"))],onFocus:t[1]||(t[1]=c=>e.$emit("focus")),onBlur:t[2]||(t[2]=c=>e.$emit("blur")),title:e.field.props.title,type:e.inputType,disabled:e.field.props.disabled,label:e.field.props.label,placeholder:e.field.props.placeholder,theme:e.field.props.theme,size:e.field.props.size,error:e.field.props.error,maxlength:e.maxLength,hasBorder:e.hasBorder,hasInnerOffset:e.hasInnerOffset,required:e.isRequired},{afterContent:y(()=>$_$() && [qe(e.$slots,"afterContent",{},void 0,!0)]),message:y(()=>$_$() && [qe(e.$slots,"message",{},void 0,!0)]),_:3},40,["modelValue","title","type","disabled","label","placeholder","theme","size","error","maxlength","hasBorder","hasInnerOffset","required"])),[[l,e.field.props.tooltip]]),e.isRecommendationVisible?(g(),$(a,{key:0,size:e.sizeType.s,class:"registration-field-input__description"},{default:y(()=>$_$() && [G(N(e.field.props.description),1)]),_:1},8,["size"])):Y("",!0),qe(e.$slots,"default",{model:e.model},void 0,!0)])}const os=j(_S,[["render",pS],["__scopeId","data-v-ca9a9b34"]]),mS=W({name:"RegistrationFieldPhone",components:{UiInformer:qr,UiFieldPhone:Wn,UiInputPhone:xr},props:{field:{type:Object,required:!0}},emits:["update","focus","blur"],setup(e){$_$();const{model:t,isRecommendationVisible:n,currentCountry:s,isCompact:r,countries:i,validationCountries:a,isActiveLabel:l,isCountryCodeEditable:c,currentCountryIco:u,isLoading:_,placeholderLabel:d,loadCountries:f,setCountry:p}=Jc(e.field);return{model:t,isRecommendationVisible:n,currentCountry:s,isCompact:r,countries:i,validationCountries:a,isActiveLabel:l,isCountryCodeEditable:c,currentCountryIco:u,loadingCountries:_,placeholderLabel:d,loadCountries:f,setCountry:p,sizeType:M}}}),fS={class:"registration-field-phone registration-field-phone--with-code"},gS={key:0,dir:"auto",class:"registration-field-phone__prefix"};function hS(e,t,n,s,r,i){$_$();const a=B("UiInputPhone"),l=B("UiFieldPhone"),c=B("UiInformer"),u=Xe("tooltip");return g(),k("div",fS,[e.isCompact?Te((g(),$(a,{key:0,modelValue:e.model,"onUpdate:modelValue":t[0]||(t[0]=_=>e.model=_),error:e.field.props.error,countries:e.countries,validationCountries:e.validationCountries,loadingCountries:e.loadingCountries,loadCountries:e.loadCountries,currentCountry:e.currentCountry,currentCountryIco:e.currentCountryIco,setCountry:e.setCountry,theme:e.field.props.theme,isCountryCodeEditable:e.isCountryCodeEditable,label:e.placeholderLabel},null,8,["modelValue","error","countries","validationCountries","loadingCountries","loadCountries","currentCountry","currentCountryIco","setCountry","theme","isCountryCodeEditable","label"])),[[u,e.field.props.tooltip]]):Te((g(),$(l,{key:1,modelValue:e.model,"onUpdate:modelValue":t[1]||(t[1]=_=>e.model=_),onPhoneNumInputFocus:t[2]||(t[2]=_=>e.$emit("focus")),onPhoneNumInputBlur:t[3]||(t[3]=_=>e.$emit("blur")),placeholderLabel:e.placeholderLabel,isCountryCodeEditable:e.isCountryCodeEditable,isActiveLabel:e.isActiveLabel,error:e.field.props.error,countries:e.countries,validationCountries:e.validationCountries,loadingCountries:e.loadingCountries,loadCountries:e.loadCountries,currentCountry:e.currentCountry,currentCountryIco:e.currentCountryIco,setCountry:e.setCountry,labelPhoneCode:e.$T("main_code"),labelPhoneNumber:e.$T("main_phone_num")},{beforeInput:y(({isLabelOnPlaceholderPosition:_})=>$_$() && [_?Y("",!0):(g(),k("span",gS,[e.model?(g(),k(Se,{key:0},[G(" +"+N(e.model.phoneCode),1)],64)):Y("",!0)]))]),_:1},8,["modelValue","placeholderLabel","isCountryCodeEditable","isActiveLabel","error","countries","validationCountries","loadingCountries","loadCountries","currentCountry","currentCountryIco","setCountry","labelPhoneCode","labelPhoneNumber"])),[[u,e.field.props.tooltip]]),e.isRecommendationVisible?(g(),$(c,{key:2,size:e.sizeType.s,class:"registration-field-phone__description"},{default:y(()=>$_$() && [G(N(e.field.props.description),1)]),_:1},8,["size"])):Y("",!0)])}const ES=j(mS,[["render",hS],["__scopeId","data-v-540f9ce8"]]),TS=W({name:"RegistrationFieldPassword",components:{RegistrationFieldInput:os},props:{field:{type:Object,required:!0},isRequired:{type:Boolean,default:!1}},setup(e){$_$();const{isGeneratorEnabled:t,visibilityLabel:n,visibilityIcon:s,htmlType:r,createPassword:i,toggleVisibility:a}=Zc(e.field);return{isGeneratorEnabled:t,visibilityLabel:n,visibilityIcon:s,htmlType:r,createPassword:i,toggleVisibility:a,iconName:Ce,sizeType:M}}});function yS(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("UiButton"),c=B("RegistrationFieldInput"),u=Xe("tooltip");return g(),$(c,{field:e.field,inputType:e.htmlType,class:"registration-field-password",isRequired:e.isRequired},{afterContent:y(()=>$_$() && [e.isGeneratorEnabled?Te((g(),$(l,{key:0,onClick:e.createPassword,"aria-label":e.$T("reg_generate_password"),narrow:"",rounded:!1,class:"registration-field-password__button"},{default:y(()=>$_$() && [C(a,{size:e.sizeType.m,ico:e.iconName.KEY},null,8,["size","ico"])]),_:1},8,["onClick","aria-label"])),[[u,e.$T("reg_generate_password")]]):Y("",!0),Te((g(),$(l,{onClick:t[0]||(t[0]=_=>e.toggleVisibility()),"aria-label":e.visibilityLabel,narrow:"",rounded:!1,class:"registration-field-password__button"},{default:y(()=>$_$() && [C(a,{size:e.sizeType.m,ico:e.visibilityIcon},null,8,["size","ico"])]),_:1},8,["aria-label"])),[[u,e.visibilityLabel]])]),_:1},8,["field","inputType","isRequired"])}const CS=j(TS,[["render",yS],["__scopeId","data-v-d471d515"]]),ns=W({__name:"RegistrationFieldSelect",props:{field:{}},emits:["update","blur"],setup(e){$_$();const t=e,n=qt(),{model:s,options:r,multiselectConfig:i,isDisabled:a,filterOptions:l}=TI(t.field),c=m(()=>$_$() && t.field.decorators.has(Ve.COMPACT)?jl:ql),u=()=>{$_$();var _;n.registration.trackRegistrationFieldBlur(t.field.name,(_=o(s))==null?void 0:_.name)};return(_,d)=>{$_$();const f=B("UiCaption"),p=Xe("tooltip");return Te((g(),$(Ye(o(c)),{modelValue:o(s),"onUpdate:modelValue":d[0]||(d[0]=h=>$_$() && St(s)?s.value=h:null),onSearchChange:o(l),onBlur:d[1]||(d[1]=h=>_.$emit("blur")),onClose:u,class:"registration-field-select",options:o(r),label:_.field.props.placeholder,config:o(i),disabled:o(a),theme:_.field.props.theme,size:_.field.props.size,error:_.field.props.error,noResultMessage:_.$T("main_search_not_found")},{placeholder:y(()=>$_$() && [G(N(_.field.props.placeholder),1)]),customSingleLabel:y(h=>$_$() && [qe(_.$slots,"customSingleLabel",Li(wi(h)),()=>$_$() && [C(o(Us),null,{default:y(()=>$_$() && [C(f,{size:o(M).m},{default:y(()=>$_$() && [G(N(h.option.name),1)]),_:2},1032,["size"])]),_:2},1024)])]),customOption:y(h=>$_$() && [qe(_.$slots,"customOption",Li(wi(h)),()=>$_$() && [C(o(Kn),{captionSize:o(M).m},{caption:y(()=>$_$() && [G(N(h.option.name),1)]),_:2},1032,["captionSize"])])]),_:3},40,["modelValue","onSearchChange","options","label","config","disabled","theme","size","error","noResultMessage"])),[[p,_.field.props.tooltip]])}}}),IS=W({__name:"RegistrationFieldCountry",props:{field:{}},setup(e){$_$();const t=e,n=qt();return xe(()=>t.field.props.value,(s,r)=>{n.registration.trackCountryFieldChange(r==null?void 0:r.alpha2,s==null?void 0:s.alpha2)}),(s,r)=>{$_$();const i=B("UiIcoCountry"),a=B("UiCaption");return g(),$(ns,{field:s.field},{customSingleLabel:y(l=>$_$() && [C(o(Us),null,{default:y(()=>$_$() && [C(i,{ico:l.option.id},null,8,["ico"]),C(a,{size:o(M).m},{default:y(()=>$_$() && [G(N(l.option.name),1)]),_:2},1032,["size"])]),_:2},1024)]),customOption:y(l=>$_$() && [C(o(Kn),{captionSize:o(M).m},{ico:y(()=>$_$() && [C(i,{ico:l.option.id},null,8,["ico"])]),caption:y(()=>$_$() && [G(N(l.option.name),1)]),_:2},1032,["captionSize"])]),_:1},8,["field"])}}}),SS=W({name:"RegistrationFieldRegion",components:{RegistrationFieldSelect:ns},props:{field:{type:Object,required:!0}},setup(e){BI(e.field)}});function vS(e,t,n,s,r,i){$_$();const a=B("RegistrationFieldSelect");return g(),$(a,{field:e.field},null,8,["field"])}const OS=j(SS,[["render",vS]]),bS=W({name:"RegistrationFieldCity",components:{RegistrationFieldSelect:ns},props:{field:{type:Object,required:!0}},setup(e){OI(e.field)}});function RS(e,t,n,s,r,i){$_$();const a=B("RegistrationFieldSelect");return g(),$(a,{field:e.field},null,8,["field"])}const AS=j(bS,[["render",RS]]),PS=W({__name:"RegistrationFieldCurrency",props:{field:{}},setup(e){$_$();const t=e,[n,s,r=""]=lo(-1008,633,270),i=qt(),{getCurrencyValue:a}=w_({geoCurrency:n,amountTemplate:s}),l=c=>`${c.name} (${a(c.code,c.symbol)})`;return xe(()=>t.field.props.value,c=>{i.registration.trackCurrencyFieldChange(c==null?void 0:c.code)}),(c,u)=>{$_$();const _=B("UiCaption"),d=B("UiIco"),f=Xe("tooltip");return g(),$(ns,{field:c.field},{customSingleLabel:y(p=>$_$() && [C(o(Us),null,{default:y(()=>$_$() && [C(_,{size:o(M).m},{default:y(()=>$_$() && [G(N(l(p.option)),1)]),_:2},1032,["size"]),o(r)?Te((g(),$(d,{key:0,ico:o(Ce).INFO_CIRCLE,size:o(M).xs},null,8,["ico","size"])),[[f,c.$T(o(r))]]):Y("",!0)]),_:2},1024)]),customOption:y(p=>$_$() && [C(o(Kn),{captionSize:o(M).m},{caption:y(()=>$_$() && [G(N(l(p.option)),1)]),_:2},1032,["captionSize"])]),_:1},8,["field"])}}}),LS=W({name:"RegistrationFieldCheckbox",components:{UiSelection:so},props:{field:{type:Object,required:!0},hasInnerOffset:{type:Boolean,default:!0}},emits:["update","blur"],setup(e){$_$();const{model:t,icoSize:n,icoTheme:s,isCompact:r}=Qc(e.field),i=m(()=>$_$() && ({"registration-field-checkbox__label--is-compact":o(r)}));return{model:t,icoTheme:s,icoSize:n,registrationFieldCheckboxLabelClasses:i}}}),wS=["innerHTML"];function NS(e,t,n,s,r,i){$_$();const a=B("UiSelection");return g(),$(a,{modelValue:e.model,"onUpdate:modelValue":t[0]||(t[0]=l=>e.model=l),onBlur:t[1]||(t[1]=l=>e.$emit("blur")),disabled:e.field.props.disabled,type:"checkbox",theme:e.field.props.theme,size:e.field.props.size,icoTheme:e.icoTheme,icoSize:e.icoSize,class:"registration-field-checkbox",hasInnerOffset:e.hasInnerOffset},{default:y(()=>$_$() && [A("span",{class:Re(["registration-field-checkbox__label",e.registrationFieldCheckboxLabelClasses]),innerHTML:e.field.props.label},null,10,wS)]),_:1},8,["modelValue","disabled","theme","size","icoTheme","icoSize","hasInnerOffset"])}const DS=j(LS,[["render",NS],["__scopeId","data-v-6d4cd0c8"]]),US=W({__name:"RegistrationFieldButton",props:{field:{type:Object,required:!0}},setup(e){const t=e,{isDisabled:n,onClick:s}=bI(t.field);return(r,i)=>{$_$();const a=B("UiCaption"),l=B("UiButton");return g(),$(l,{onClick:o(s),disabled:o(n),theme:e.field.props.theme,size:e.field.props.size,class:"registration-field-submit"},{default:y(()=>$_$() && [C(a,{size:o(M).m},{default:y(()=>$_$() && [G(N(e.field.props.label),1)]),_:1},8,["size"])]),_:1},8,["onClick","disabled","theme","size"])}}}),kS=W({__name:"RegistrationFieldSubmit",props:{field:{}},setup(e){$_$();const t=e,n=Go("submit"),{isDisabled:s,isLoading:r,isUppercase:i,isBlock:a,label:l}=RI(t.field);return(c,u)=>{$_$();const _=B("UiCaption"),d=B("UiButton");return g(),$(d,{onClick:o(n),disabled:o(s),loading:o(r),theme:c.field.props.theme,size:c.field.props.size,uppercase:o(i),block:o(a),class:"registration-field-submit"},{default:y(()=>$_$() && [C(_,{size:o(M).m},{default:y(()=>$_$() && [G(N(o(l)),1)]),_:1},8,["size"])]),_:1},8,["onClick","disabled","loading","theme","size","uppercase","block"])}}}),BS=W({name:"RegistrationFieldLabel",props:{field:{type:Object,required:!0}},setup(e){$_$();return{registrationFieldLabelClasses:m(()=>({"registration-field-label--compact":e.field.decorators.has(Ve.COMPACT)}))}}}),$S=["innerHTML"];function FS(e,t,n,s,r,i){$_$();return g(),k("div",{class:Re(["registration-field-label",e.registrationFieldLabelClasses])},[A("div",{class:"registration-field-label__content",innerHTML:e.field.props.label},null,8,$S)],2)}const Fr=j(BS,[["render",FS],["__scopeId","data-v-228a29d3"]]),MS=W({name:"RegistrationFieldPhoneMegaAction",components:{TimeCounting:ri},inheritAttrs:!1,props:{disabled:{type:Boolean,default:!1},theme:{type:String,default:""},caption:{type:String,default:""},tooltip:{type:String,default:""},timeUntilUnblock:{type:Number,default:Date.now()}},emits:["sendSms"],setup(e){$_$();const{timeUntilUnblock:t}=un(e),n=J(0);return xe(t,s=>{n.value=s-Date.now()},{immediate:!0}),{iconName:Ce,sizeType:M,resendSmsAfter:n}}}),GS={class:"registration-field-phone-mega-actions__wrapper"},HS={class:"registration-field-phone-mega-actions__label"};function VS(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("TimeCounting"),c=B("UiCaption"),u=B("UiButton"),_=Xe("tooltip");return Te((g(),$(u,Yn({onClick:t[1]||(t[1]=d=>e.$emit("sendSms"))},e.$attrs,{theme:e.theme,disabled:e.disabled,uppercase:!1,narrow:"",class:"registration-field-phone-mega-actions"}),{default:y(()=>$_$() && [e.resendSmsAfter?(g(),$(l,{key:0,modelValue:e.resendSmsAfter,"onUpdate:modelValue":t[0]||(t[0]=d=>e.resendSmsAfter=d),stopOnZeroDateFormatted:"",inverse:"",format:"mm:ss"},{default:y(({dateFormatted:d})=>$_$() && [Te((g(),k("span",GS,[C(a,{size:e.sizeType.xs,ico:e.iconName.CLOCK,class:"registration-field-phone-mega-actions__icon"},null,8,["size","ico"]),A("span",HS,N(d),1)])),[[_,e.$T("reg_resend_sms_tooltip",{time:d})]])]),_:1},8,["modelValue"])):(g(),k(Se,{key:1},[e.caption?(g(),$(c,{key:0,size:e.sizeType.xs},{default:y(()=>$_$() && [G(N(e.caption),1)]),_:1},8,["size"])):(g(),$(a,{key:1,size:e.sizeType.m,ico:e.iconName.ENVELOPE},null,8,["size","ico"]))],64))]),_:1},16,["theme","disabled"])),[[_,e.tooltip]])}const zS=j(MS,[["render",VS],["__scopeId","data-v-2e7b5657"]]),WS=W({name:"RegistrationFieldNotification",props:{size:{type:String,default:M.xs}},setup(){$_$();return{sizeType:M,iconName:Ce}}}),KS={class:"registration-field-notification"};function YS(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("UiCaption");return g(),k("div",KS,[C(a,{ico:e.iconName.INFO_CIRCLE,size:e.sizeType.xs,class:"registration-field-notification__icon"},null,8,["ico","size"]),C(l,{size:e.size},{default:y(()=>$_$() && [qe(e.$slots,"default",{},void 0,!0)]),_:3},8,["size"])])}const Mr=j(WS,[["render",YS],["__scopeId","data-v-afad8671"]]),au=()=>{$_$();var e;const t=(e=_e(257))!=null?e:!1,{findFieldByName:n}=De(),s=n(H.PHONE_CONFIRMATION),r=n(H.PHONE_MEGA),i=m(()=>{$_$();var l,c;return((l=o(s))==null?void 0:l.props.tooltip)||((c=o(r))==null?void 0:c.props.description)});return{isPhoneTooltip:m(()=>$_$() && t&&o(i)),phoneTooltip:i}},jS={class:"registration-separator"},qS=W({__name:"RegistrationSeparator",props:{text:{default:""}},setup(e){return(t,n)=>{$_$();const s=B("UiCaption");return g(),k("div",jS,[t.text?(g(),$(s,{key:0,size:o(M).xs,color:o(Wt).clrDecent,uppercase:"",class:"registration-separator__label"},{default:y(()=>$_$() && [qe(t.$slots,"default",{},()=>$_$() && [G(N(t.text),1)],!0)]),_:3},8,["size","color"])):Y("",!0)])}}}),xS=j(qS,[["__scopeId","data-v-0a62daa9"]]),XS=e=>$_$() && e===0?he.primary:he.gray,tl={A:()=>X(()=>import("./892c6f8e0f.js").then(e=>e.registrationColorScheme),__vite__mapDeps([5,1]),import.meta.url),B:()=>X(()=>import("./892c6f8e0f.js").then(e=>e.registrationColorScheme$1),__vite__mapDeps([5,1]),import.meta.url),C:()=>X(()=>import("./892c6f8e0f.js").then(e=>e.registrationColorScheme$2),__vite__mapDeps([5,1]),import.meta.url),D:()=>X(()=>import("./892c6f8e0f.js").then(e=>e.registrationColorScheme$3),__vite__mapDeps([5,1]),import.meta.url)};async function xo(){$_$();var e,t,n;const r=(t=(e=Vo().$multiBuildConfig)==null?void 0:e.RegistrationColorScheme)==null?void 0:t.variant;return((n=tl[r])!=null?n:tl.A)().then(a=>{var l;return(l=a.default)!=null?l:a})}const QS=Object.freeze(Object.defineProperty({__proto__:null,default:xo},Symbol.toStringTag,{value:"Module"})),ZS={key:0,class:"registration-field-phone-mega-option__counter"},JS=W({__name:"RegistrationFieldPhoneMega",props:{field:{}},emits:["update","focus","blur"],async setup(e,{emit:t}){$_$();let n,s,r,i;const a=e,l=t,u=([r,i]=Po(()=>xo()),r=([n,s]=v(()=>r),n=await n,s(),n),i(),r)(),{model:_,currentCountry:d,isCompact:f,isCaptionBtn:p,countries:h,validationCountries:E,isManualCountryCode:T,currentCountryIco:P,loadCountries:O,setCountry:L,isLoading:S,sendSmsCaption:I,sendSmsTooltip:R,sendCodeTimer:b,timeUntilUnblock:D,isShowCodeSendTimer:w,otpChannelIsDisabled:U,sendSms:F,clearUnblockTime:z,isFieldDisabled:q,isForceUiInput:ee,codesSize:x,hasCodeDeliveryMethodsChoice:oe,codeDeliveryMethods:le,phoneFieldErrorMessage:Ee,setPhoneFieldSoftError:ce}=eu(a.field),ne=J(!1),{isPhoneTooltip:te,phoneTooltip:de}=au(),se=m(()=>$_$() && o(te)&&o(ne)&&!o(a.field.props.error)),pe=m(()=>$_$() && o(f)?M.xxs:M.xs),re=()=>{ne.value=!0,l("focus")},Ae=()=>{ne.value=!1,l("blur")},we=m(()=>$_$() && o(f)&&!o(p)?void 0:o(D)),$e=Be(),He=o(f)||o(ee)?{component:xr,props:{placeholder:$e("reg_you_phone")}}:{component:Wn,props:{placeholderLabel:$e("reg_you_phone")}},fe=m(()=>$_$() && ({"registration-field-phone-mega--compact":o(f)&&!o(p),"registration-field-phone-mega--extended":a.field.decorators.has(Ve.EXTENDED)})),bt=m(()=>$_$() && ({"registration-field-phone-mega__options--compact":o(f)})),oo=m(()=>$_$() && ({"registration-field-phone-mega__separator--compact":o(f)})),Rt=m(()=>$_$() && o(f)?M.m:M.l);return ks(z),(Tt,Fe)=>{$_$();const Bt=B("UiIco"),At=B("UiCaption"),xt=B("UiButton");return g(),k("div",{class:Re(["registration-field-phone-mega",o(fe)])},[(g(),$(Ye(o(He).component),Yn({modelValue:o(_),"onUpdate:modelValue":[Fe[1]||(Fe[1]=ct=>$_$() && St(_)?_.value=ct:null),Fe[2]||(Fe[2]=ct=>$_$() && o(ce)(""))],onPhoneNumInputFocus:re,onPhoneNumInputBlur:Ae,error:o(Ee),disabled:o(q),countries:o(h),validationCountries:o(E),loadCountries:o(O),loadingCountries:o(S),currentCountry:o(d),currentCountryIco:o(P),setCountry:o(L),noResultMessage:Tt.$T("main_search_not_found"),autocomplete:"off",isManualCountryCode:o(T),size:Tt.field.props.size,codesSize:o(x),theme:Tt.field.props.theme},o(He).props),{button:y(()=>$_$() && [o(oe)?Y("",!0):(g(),$(zS,{key:0,onSendSms:Fe[0]||(Fe[0]=ct=>$_$() && o(F)(o(le)[0].value)),theme:o(u).UiButton,caption:o(I),tooltip:o(R),disabled:o(U)(o(le)[0].value),timeUntilUnblock:o(we),class:"registration-field-phone-mega__send"},null,8,["theme","caption","tooltip","disabled","timeUntilUnblock"]))]),_:1},16,["modelValue","error","disabled","countries","validationCountries","loadCountries","loadingCountries","currentCountry","currentCountryIco","setCountry","noResultMessage","isManualCountryCode","size","codesSize","theme"])),o(se)?(g(),$(Mr,{key:0,size:o(pe),class:"registration-field-phone-mega__notification"},{default:y(()=>$_$() && [G(N(o(de)),1)]),_:1},8,["size"])):Y("",!0),o(oe)?(g(),k(Se,{key:1},[A("div",{class:Re([o(bt),"registration-field-phone-mega__options"])},[(g(!0),k(Se,null,Ge(o(le),(ct,$t)=>$_$() && (g(),$(xt,{key:ct.value,onClick:Pt=>$_$() && o(F)(ct.value),size:o(Rt),theme:o(XS)($t),disabled:o(U)(ct.value),class:"registration-field-phone-mega__option registration-field-phone-mega-option",block:""},{default:y(()=>$_$() && [o(w)(ct.value)?(g(),k("span",ZS,[C(Bt,{ico:o(Ce).CLOCK,size:o(M).xs},null,8,["ico","size"]),C(o(ri),{modelValue:o(b),"onUpdate:modelValue":Fe[3]||(Fe[3]=Pt=>$_$() && St(b)?b.value=Pt:null),stopOnZeroDateFormatted:"",inverse:"",format:"mm:ss",class:"registration-field-phone-mega-option__timer"},{default:y(({dateFormatted:Pt})=>$_$() && [G(N(Pt),1)]),_:1},8,["modelValue"]),o(f)?Y("",!0):(g(),$(At,{key:0,size:o(M).m,class:"registration-field-phone-mega-option__caption"},{default:y(()=>$_$() && [G(N(Tt.$T("reg_code_was_send_in",{codeType:Tt.$T(ct.translationKey)})),1)]),_:2},1032,["size"]))])):(g(),$(At,{key:1,size:o(M).m},{default:y(()=>$_$() && [G(N(Tt.$T("reg_send_code_in",{codeType:Tt.$T(ct.translationKey)})),1)]),_:2},1032,["size"]))]),_:2},1032,["onClick","size","theme","disabled"]))),128))],2),C(xS,{class:Re([o(oo),"registration-field-phone-mega__separator"])},null,8,["class"])],64)):Y("",!0)],2)}}}),ev=j(JS,[["__scopeId","data-v-5139c6d9"]]),tv={class:"registration-field-phone-confirmation"},ov=W({__name:"RegistrationFieldPhoneConfirmation",props:{field:{},inputType:{default:"text"},isConfirmationAvailable:{type:Boolean,default:!0}},emits:["update","blur"],async setup(e){$_$();let t,n,s,r;const i=e,l=([s,r]=Po(()=>xo()),s=([t,n]=v(()=>s),t=await t,n(),t),r(),s)(),{model:c,uiComponent:u,maxLength:_,isConfirmDisabled:d,confirmButtonText:f,isPhoneConfirmed:p,isCompact:h,codeConfirmErrorMessage:E,isResendRecommendationVisible:T,confirmPhone:P}=tu(i.field),{notificationError:O}=vt(),L=m(()=>$_$() && o(d)||i.field.props.error),S=m(()=>$_$() && ({"registration-field-phone-confirmation__button--compact":o(h),"registration-field-phone-confirmation__button--extended":i.field.decorators.has(Ve.EXTENDED)})),I=async b=>{$_$();let D,w;const U=/\W|_/g;U.test(b)&&([D,w]=v(()=>$_$() && Yt()),await D,w(),c.value=b.replace(U,""))},R=m(()=>$_$() && o(h)?f:"");return yo(E,b=>O(b)),(b,D)=>{$_$();const w=B("UiIco"),U=B("UiCaption"),F=B("UiButton"),z=B("UiInformer"),q=Xe("tooltip");return g(),k("div",tv,[Te((g(),$(Ye(o(u)),{modelValue:o(c),"onUpdate:modelValue":[D[0]||(D[0]=ee=>$_$() && St(c)?c.value=ee:null),I],onBlur:D[1]||(D[1]=ee=>b.$emit("blur")),disabled:o(p),type:b.inputType,label:b.field.props.label,placeholder:b.field.props.placeholder,theme:b.field.props.theme,size:b.field.props.size,error:b.field.props.error,maxlength:o(_)},jn({_:2},[b.isConfirmationAvailable?{name:"afterContent",fn:y(()=>$_$() && [Te((g(),$(F,{onClick:o(P),uppercase:!1,narrow:"",rounded:!1,class:Re(["registration-field-phone-confirmation__button",o(S)]),theme:o(l).UiButton,disabled:o(L)},{default:y(()=>$_$() && [o(h)?(g(),$(w,{key:0,size:o(M).m,ico:o(Ce).CHECK},null,8,["size","ico"])):(g(),$(U,{key:1,size:o(M).xs},{default:y(()=>$_$() && [G(N(o(f)),1)]),_:1},8,["size"]))]),_:1},8,["onClick","class","theme","disabled"])),[[q,o(R)]])]),key:"0"}:void 0]),1064,["modelValue","disabled","type","label","placeholder","theme","size","error","maxlength"])),[[q,b.field.props.tooltip]]),o(T)?(g(),$(z,{key:0,size:o(M).s},{default:y(()=>$_$() && [G(N(b.$T("registration_dictionary_code_not_received_question")),1)]),_:1},8,["size"])):Y("",!0)])}}}),nv=j(ov,[["__scopeId","data-v-8fd8dc2d"]]),sv=W({name:"RegistrationFieldSocialSelect",props:{field:{type:Object,required:!0}},setup(e){$_$();const{networks:t,widgetRemoveHeaderTitle:n,selectSocial:s}=ou(e.field);return{networks:t,selectSocial:s,ICON_LOGOS_PATH:Ns,sizeType:M,ColorType:Wt,themeType:he,widgetRemoveHeaderTitle:n}}}),rv={class:"registration-field-social-select"},iv={class:"registration-field-social-select__list"};function av(e,t,n,s,r,i){$_$();const a=B("UiCaption"),l=B("UiIco"),c=B("UiButton"),u=Xe("tooltip");return g(),k("div",rv,[e.widgetRemoveHeaderTitle?Y("",!0):(g(),$(a,{key:0,tag:"h2",size:e.sizeType.xs,color:e.ColorType.clrStrong,class:"registration-field-social-select__title"},{default:y(()=>$_$() && [G(N(e.$T("social_title")),1)]),_:1},8,["size","color"])),A("ul",iv,[(g(!0),k(Se,null,Ge(e.networks,_=>$_$() && (g(),k("li",{key:_.id},[Te((g(),$(c,{onClick:d=>$_$() && e.selectSocial(_.id),theme:e.themeType.gray30,size:e.sizeType.s,"aria-label":_.name,toggled:_.isToggled,rounded:!1,narrow:"",class:"registration-field-social-select__button"},{default:y(()=>$_$() && [C(l,{path:e.ICON_LOGOS_PATH,ico:_.ico,class:"registration-field-social-select__ico"},null,8,["path","ico"])]),_:2},1032,["onClick","theme","size","aria-label","toggled"])),[[u,_.name]])]))),128))])])}const lu=j(sv,[["render",av],["__scopeId","data-v-de84457c"]]),lv=W({__name:"RegistrationFieldDate",props:{field:{}},emits:["update","blur"],setup(e){$_$();const t=e,{initialize:n,modelForDatePicker:s,uiComponent:r,disabledDates:i,lng:a,translation:l}=YI(t.field);return Ps(()=>{n()}),(c,u)=>{$_$();const _=Xe("tooltip");return Te((g(),$(Ye(o(r)),{modelValue:o(s),"onUpdate:modelValue":u[0]||(u[0]=d=>$_$() && St(s)?s.value=d:null),onBlur:u[1]||(u[1]=d=>c.$emit("blur")),canUseInput:c.field.props.canUseInput,disabled:c.field.props.disabled,disabledDates:o(i),label:c.field.props.label,placeholder:c.field.props.placeholder,theme:c.field.props.theme,error:c.field.props.error,datepickerSize:o(M).s,lng:o(a),languageCode:o(a),translation:o(l),class:"registration-field-date-birthday"},null,40,["modelValue","canUseInput","disabled","disabledDates","label","placeholder","theme","error","datepickerSize","lng","languageCode","translation"])),[[_,c.field.props.tooltip]])}}}),cv=e=>{$_$();const{model:t}=qo(e),n=r=>{t.value=r},s=m(()=>e.props.config.options);return{model:t,setValue:n,options:s}},uv=W({name:"RegistrationFieldRadioIcon",props:{notificationText:{type:String,required:!0},notificationTitle:{type:String,default:""}},setup(){$_$();return{iconName:Ce}}});function _v(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=Xe("tooltip");return Te((g(),$(a,{ico:e.iconName.INFO_CIRCLE,class:"registration-field-checkbox-extended-icon"},null,8,["ico"])),[[l,e.notificationText]])}const dv=j(uv,[["render",_v]]),pv=W({name:"RegistrationFieldRadio",components:{RegistrationFieldRadioIcon:dv,UiSelection:so},props:{field:{type:Object,required:!0}},setup(e){$_$();const{model:t,setValue:n,options:s}=cv(e.field);return{SelectionType:xl,model:t,setValue:n,options:s}}}),mv={class:"registration-field-radio"},fv={class:"registration-field-radio-content"},gv=["innerHTML"],hv={class:"registration-field-radio-selections"},Ev={class:"registration-field-radio-selections__text"};function Tv(e,t,n,s,r,i){$_$();const a=B("RegistrationFieldRadioIcon"),l=B("UiSelection");return g(),k("div",mv,[A("div",fv,[A("p",{class:"registration-field-radio-content__title",innerHTML:e.field.props.label},null,8,gv),e.field.props.config.notificationText?(g(),$(a,{key:0,class:"registration-field-radio-content__icon",notificationText:e.field.props.config.notificationText,notificationTitle:e.field.props.config.notificationTitle},null,8,["notificationText","notificationTitle"])):Y("",!0)]),A("div",hv,[(g(!0),k(Se,null,Ge(e.options,(c,u)=>$_$() && (g(),$(l,{key:`radio-option-${u}`,onChange:_=>e.setValue(c.value),value:c.value,type:e.SelectionType.RADIO,class:"registration-field-radio-selections__selection",selectedValue:e.model},{default:y(()=>$_$() && [A("span",Ev,N(c.label),1)]),_:2},1032,["onChange","value","type","selectedValue"]))),128))])])}const yv=j(pv,[["render",Tv],["__scopeId","data-v-227ed577"]]),Cv={class:"registration-field-promo-code-btn"},Iv=W({__name:"RegistrationFieldPromoCodeBtn",props:{field:{}},setup(e){$_$();const[t,n]=Xr(!1);return(s,r)=>$_$() && (g(),k("div",Cv,[C(o(Xl),{onClick:o(t),size:o(M).s},{default:y(()=>$_$() && [G(N(s.$T("custom_registration_enter_promotional_code")),1)]),_:1},8,["onClick","size"]),o(n)?(g(),$(os,{key:0,field:s.field,class:"registration-field-promo-code-btn__info"},null,8,["field"])):Y("",!0)]))}}),Sv=j(Iv,[["__scopeId","data-v-a037e8af"]]),us="@",vv=({field:e,model:t,isFocused:n=!0})=>{$_$();const{changeFieldProp:s}=De(),r=_=>{$_$();const{domainSuggestions:d=[],filterDotsInPrefix:f=!1,maxSuggestions:p}=e.props.config;return!d.length||f&&(_!=null&&_.includes("."))?[]:(_&>(_)?d.filter(E=>E!==_&&E.startsWith(_)):d).slice(0,p)},i=_=>{const[d="",f=""]=_.split(us);return{localPart:d,domainPart:f}},a=m(()=>$_$() && i(o(t)).localPart),l=({option:_})=>{$_$();var d;const f=(d=o(t))!=null?d:"",{localPart:p}=i(f);s(e.name,ie.VALUE,`${p}${us}${_}`)},c=m(()=>{$_$();var _;if(!o(n)||!((_=o(t))!=null&&_.includes(us)))return[];const{domainPart:d}=i(o(t));return r(d)}),u=m(()=>$_$() && o(c).length>0);return{AT_SYMBOL:us,emailPartLocal:a,isDomainSuggestionsVisible:u,domainSuggestions:c,onEmailSelect:l}},Ov={class:"registration-field-email-domain-suggestions"},bv=W({__name:"RegistrationFieldEmailDomainSuggestions",props:{field:{},model:{},isFocused:{type:Boolean}},setup(e){$_$();const t=e,{AT_SYMBOL:n,domainSuggestions:s,emailPartLocal:r,isDomainSuggestionsVisible:i,onEmailSelect:a}=vv({field:t.field,model:Ni(t,"model"),isFocused:Ni(t,"isFocused")});return(l,c)=>$_$() && Te((g(),k("div",Ov,[C(o(Ql),null,{default:y(()=>$_$() && [C(o(Zl),{options:o(s)},{item:y(u=>$_$() && [C(o(Kn),{onMousedown:Mo(_=>$_$() && o(a)(u),["stop"]),onTouchstart:Mo(_=>$_$() && o(a)(u),["stop"]),captionSize:o(M).m},{caption:y(()=>$_$() && [G(N(o(r))+N(o(n))+N(u.option),1)]),_:2},1032,["onMousedown","onTouchstart","captionSize"])]),_:1},8,["options"])]),_:1})],512)),[[eo,o(i)]])}}),Rv=j(bv,[["__scopeId","data-v-691ff670"]]),Av=W({__name:"RegistrationFieldEmail",props:{field:{}},emits:["update","blur","focus"],setup(e,{emit:t}){$_$();const n=t,s=J(!1),r=l=>{n("update",l)},i=()=>{s.value=!1,n("blur")},a=()=>{s.value=!0,n("focus")};return(l,c)=>$_$() && (g(),$(os,{onFocus:a,onBlur:i,onUpdate:r,field:l.field},{default:y(({model:u})=>$_$() && [C(Rv,{field:l.field,model:u,isFocused:o(s)},null,8,["field","model","isFocused"])]),_:1},8,["field"]))}});K({url:"/service-api/accountService/GetRegisterBonuses",expectedParams:nt(V(V(V({},xh()),Rs({apiKey:yc})),Fs()),{currencyId:PE})});const Pv=K({url:"/service-api/restcore/api/External/v1/Web/CheckRegisterPromo",expectedParams:nt(V(V({},jh()),Jl()),{promoCode:$E})});var gs=(e=>(e.UPPERCASE="isUseToUpperCase",e.AUTO_FORMATTTING="isUseAutoFormatting",e.API_VALIDATION="isUseApiValidation",e))(gs||{});const Ci=()=>{$_$();const{findFieldByName:e}=De(),{type:t,isSocialRegistrationPage:n}=me(),s=_e(-1012);return{selectedCountry:m(()=>{$_$();var i,a;if(n)return s;if(o(t)==="phone_reg"){const c=(i=e(H.PHONE_MEGA))==null?void 0:i.props.value;return c?{code:c.countryCode,id:c.countryId}:s}const l=(a=e(H.COUNTRY_ID))==null?void 0:a.props.value;return l?{id:l.id,code:l.alpha2}:s})}},Lv=2,wv=e=>{$_$();const t=Et(),n=_e(-1e3),{selectedCountry:s}=Ci(),{changeFieldProp:r}=De(),{getCheckRefCodePromise:i,setCheckRefCodePromise:a}=me(),l=Be(),c=l("valid_ref_code"),u=l("invalid_ref_code"),_={},d=J(!1),p=(()=>{$_$();const{customization:I}=o(e).props;return Array.isArray(I)?I:[]})(),h=I=>I.toUpperCase(),E=I=>{const R=/\W|_/g;return R.test(I)?I.replace(R,""):I},T={[gs.UPPERCASE]:h,[gs.AUTO_FORMATTTING]:E},P=async()=>{$_$();let I,R;if(!p.length)return;[I,R]=v(()=>$_$() && Yt()),await I,R();const{value:b}=e.props,D=p.reduce((w,U)=>{const F=T[U];return F?F(w):w},b);r(e,ie.VALUE,D)},O=m(()=>$_$() && o(p).includes(gs.API_VALIDATION)),L=async I=>{$_$();let R,b;const D=`${o(s).id}${I}`,w=_[D];if(ge(w))return w;const{isAvailable:U}=([R,b]=v(()=>$_$() && Pv(t,{params:{country:o(s).id,ref:n,promoCode:I}}).execute()),R=await R,b(),R);return _[D]=U,U},S=async()=>{$_$();let I,R;if(!o(O)||ge(i()))return;d.value=!1,r(e,ie.ERROR,""),a(void 0);const{value:b}=o(e).props;if(!ge(b)||b.lengthD),I=await I,R(),I);a(void 0),w?d.value=!0:r(e,ie.ERROR,u)};return xe(s,S,{immediate:!0}),ao(()=>{a(void 0)}),{customize:P,validate:S,isRefCodeValid:d,refCodeSuccessMessage:c}},Nv={class:"registration-field-ref-code__message registration-field-ref-code__message--with-padding"},Dv={class:"registration-field-ref-code__message-text"},Uv=W({__name:"RegistrationFieldRefCode",props:{field:{},isRequired:{type:Boolean,default:!1}},setup(e){const{customize:t,validate:n,isRefCodeValid:s,refCodeSuccessMessage:r}=wv(e.field);return(i,a)=>{$_$();const l=B("UiIco");return g(),$(os,{onBlur:o(n),onInput:o(t),field:i.field,class:"registration-field-ref-code",isRequired:i.isRequired},jn({afterContent:y(()=>$_$() && [Te(C(l,{class:"registration-field-ref-code__check",size:o(M).m,ico:o(Ce).CHECK},null,8,["size","ico"]),[[eo,o(s)]])]),_:2},[o(s)?{name:"message",fn:y(()=>$_$() && [A("div",Nv,[A("div",Dv,N(o(r)),1)])]),key:"0"}:void 0]),1032,["onBlur","onInput","field","isRequired"])}}}),kv=j(Uv,[["__scopeId","data-v-178ec62c"]]),Bv=W({name:"RegistrationField",components:{RegistrationFieldInput:os,RegistrationFieldPhone:ES,RegistrationFieldPassword:CS,RegistrationFieldSelect:ns,RegistrationFieldCountry:IS,RegistrationFieldRegion:OS,RegistrationFieldCity:AS,RegistrationFieldCurrency:PS,RegistrationFieldCheckbox:DS,RegistrationFieldButton:US,RegistrationFieldSubmit:kS,RegistrationFieldLabel:Fr,RegistrationFieldPhoneMega:ev,RegistrationFieldPhoneConfirmation:nv,RegistrationFieldSocialSelect:lu,RegistrationFieldDate:lv,RegistrationFieldRadio:yv,RegistrationFieldPromoCodeBtn:Sv,RegistrationFieldEmail:Av,RegistrationFieldRefCode:kv},props:{field:{type:Object,required:!0}},setup(e){const{onBlur:t,onSubmit:n,onUpdate:s,onTouched:r}=yi(e.field);return{onUpdate:s,onBlur:t,onSubmit:n,onTouched:r}}});function $v(e,t,n,s,r,i){$_$();return g(),$(Ye(e.field.componentName),{onUpdate:e.onUpdate,onBlur:e.onBlur,onSubmit:e.onSubmit,onFocus:e.onTouched,onOpen:e.onTouched,onClick:e.onTouched,field:e.field},null,40,["onUpdate","onBlur","onSubmit","onFocus","onOpen","onClick","field"])}const wt=j(Bv,[["render",$v]]),Fv=W({name:"RegistrationBonusChoiceTerms",props:{bonus:{type:Object,required:!0}},setup(){$_$();return{iconName:Ce}}}),Mv={class:"registration-bonus-choice-terms"};function Gv(e,t,n,s,r,i){$_$();const a=B("UiIco");return g(),k("p",Mv,[C(a,{ico:e.iconName.EXCLAMATION_CIRCLE,class:"registration-bonus-choice-terms__ico"},null,8,["ico"]),(g(!0),k(Se,null,Ge(e.bonus.info,(l,c)=>$_$() && (g(),k("span",{key:`bonusInfo-${c}`,class:"registration-bonus-choice-terms__text"},N(l),1))),128))])}const Hv=j(Fv,[["render",Gv],["__scopeId","data-v-2e4e257c"]]),Vv=W({__name:"RegistrationBonusChoice",props:{flat:{type:Boolean,default:!1},column:{type:Boolean,default:!1},theme:{}},setup(e){const{bonusItems:t,currentBonusId:n,changeBonus:s}=kt(),r={"registration-bonus-choice--flat":e.flat,"registration-bonus-choice--column":e.column},i={"registration-bonus-choice__bonus--flat":e.flat};return(a,l)=>$_$() && (g(),k("ul",{class:Re(["registration-bonus-choice",r])},[(g(!0),k(Se,null,Ge(o(t),c=>{$_$();var u;return g(),k("li",{key:c.id,class:Re(["registration-bonus-choice__bonus",i])},[C(o(Qr),{onSelect:_=>$_$() && o(s)(c.id),ico:c.icon,value:c.id,selectedValue:o(n),name:"bonus",class:"registration-bonus-choice__select",unwanted:c.isCancel,column:a.flat,rounded:a.flat,theme:a.theme},jn({info:y(()=>$_$() && [G(N(c.description),1)]),_:2},[a.flat?void 0:{name:"title",fn:y(()=>$_$() && [G(N(c.title),1)]),key:"0"},(u=c.info)!=null&&u.length?{name:"terms",fn:y(()=>$_$() && [C(Hv,{bonus:c},null,8,["bonus"])]),key:"1"}:void 0]),1032,["onSelect","ico","value","selectedValue","unwanted","column","rounded","theme"])])}),128))]))}}),Hs=j(Vv,[["__scopeId","data-v-58d75d2a"]]),zv=W({name:"RegistrationBonusSelect",components:{UiSelection:so},props:{value:{type:[String,Number],required:!0},name:{type:String,required:!0},ico:{type:String,default:""},selectedValue:{type:[String,Number],required:!0},unwanted:{type:Boolean,default:!1}},emits:["change"],setup(e){$_$();const t=m(()=>({"registration-bonus-select--selected":e.selectedValue===e.value,"registration-bonus-select--unwanted":e.unwanted})),n=Go("change");return{registrationBonusSelectClasses:t,emitChange:n}}}),Wv={class:"registration-bonus-select__text"},Kv={class:"registration-bonus-select__title"},Yv={class:"registration-bonus-select__info"};function jv(e,t,n,s,r,i){$_$();const a=B("UiSelection");return g(),k("label",{class:Re([e.registrationBonusSelectClasses,"registration-bonus-select"])},[C(a,{onChange:e.emitChange,value:e.value,selectedValue:e.selectedValue,ico:e.ico,name:e.name,type:"radio",class:"registration-bonus-select__input",hasInnerOffset:!1},null,8,["onChange","value","selectedValue","ico","name"]),A("span",Wv,[A("span",Kv,[qe(e.$slots,"title",{},void 0,!0)]),A("span",Yv,[qe(e.$slots,"info",{},void 0,!0)])])],2)}const qv=j(zv,[["render",jv],["__scopeId","data-v-c244d990"]]),xv=W({name:"RegistrationBonusChoiceTile",components:{RegistrationBonusSelect:qv},props:{isBonusCancelSeparated:{type:Boolean,default:!1}},setup(e){$_$();const{bonusItems:t,currentBonusId:n,changeBonus:s}=kt(),r=m(()=>$_$() && o(t).reduce((c,u)=>$_$() && (c[u.id]=`registration_bonus_background_${u.icon.replace("-","_")}`,c),{})),i=m(()=>$_$() && o(t).find(c=>c.isCancel)),a=m(()=>$_$() && o(t).filter(c=>!(e.isBonusCancelSeparated&&c.isCancel))),l=m(()=>$_$() && o(i)&&e.isBonusCancelSeparated);return{iconsMap:r,currentBonusId:n,filteredBonuses:a,cancelBonus:i,hasCancelSeparated:l,changeBonus:s}}}),Xv={class:"registration-bonus-choice-tile"},Qv={class:"registration-bonus-choice-tile__list"};function Zv(e,t,n,s,r,i){$_$();const a=B("RegistrationBonusSelect");return g(),k("div",Xv,[A("ul",Qv,[(g(!0),k(Se,null,Ge(e.filteredBonuses,l=>$_$() && (g(),k("li",{key:l.id,class:"registration-bonus-choice-tile__item registration-bonus-choice-tile-item registration-bonus-choice-tile-item--bonus",style:cn(`background-image:url(${e.$mediaUrl(e.iconsMap[l.id])})`)},[C(a,{onChange:c=>$_$() && e.changeBonus(l.id),ico:l.icon,value:l.id,selectedValue:e.currentBonusId,unwanted:l.isCancel,name:"bonus",class:"registration-bonus-choice-tile-item__select"},{title:y(()=>$_$() && [G(N(l.title),1)]),info:y(()=>$_$() && [A("p",null,N(l.description),1)]),_:2},1032,["onChange","ico","value","selectedValue","unwanted"])],4))),128))]),e.hasCancelSeparated?(g(),k("div",{key:0,class:"registration-bonus-choice-tile__item registration-bonus-choice-tile-item registration-bonus-choice-tile-item--cancel",style:cn(`background-image:url(${e.$mediaUrl(e.iconsMap[e.cancelBonus.id])})`)},[C(a,{onChange:t[0]||(t[0]=l=>$_$() && e.changeBonus(e.cancelBonus.id)),ico:e.cancelBonus.icon,value:e.cancelBonus.id,selectedValue:e.currentBonusId,textInRow:"",name:"bonus",class:"registration-bonus-choice-tile-item__select"},{title:y(()=>$_$() && [G(N(e.cancelBonus.title),1)]),info:y(()=>$_$() && [G(N(e.cancelBonus.description),1)]),_:1},8,["ico","value","selectedValue"])],4)):Y("",!0)])}const cu=j(xv,[["render",Zv],["__scopeId","data-v-4c011b7c"]]),Jv=W({name:"RegistrationPaymentsCard",props:{payment:{type:Object,required:!0}},setup(e){$_$();return{paymentImg:m(()=>e.payment.icon.replace("paysytems","paysystems"))}}}),eO=["src","alt"];function tO(e,t,n,s,r,i){$_$();return g(),k("img",{src:e.paymentImg,alt:e.payment.name,class:"registration-payments-card"},null,8,eO)}const oO=j(Jv,[["render",tO]]),nO=K({url:"/paysystems/information/systems",expectedParams:V(nt(V({},Jl({apiKey:"ref_id"})),{paymentsGeo:AE}),Rs({apiKey:"lang"}))});var uu=(e=>(e.GET_PAY_SYSTEMS="getPaySystems",e))(uu||{});const sO=e=>{const t=n=>n?Array.isArray(n)?n:Object.values(n):[];return{deposits:t(e.deposits),withdraws:t(e.withdraws),groups:t(e.groups)}},ol=(e,t)=>e.map(n=>{$_$();const s=n.code==="all_systems"?t.length:t.filter(({type:r})=>r===n.code).length;return{name:n.name,counterId:n.id,code:n.code,count:s}}),rO=({groups:e,withdraws:t=[],deposits:n=[]})=>{const s=ol(e,n).filter(({count:i})=>!!i),r=ol(e,t).filter(({count:i})=>!!i);return{deposits:n,withdraws:t,depositsGroups:s,withdrawsGroups:r}},iO=()=>{$_$();var e;const t=To(),n=Et(),s=ve(),r=_e(-1012).code,i=_e(-1e3),a=(e=_e(268))!=null?e:15,l=J(),c=J(!0),u=m(()=>s.getLanguage),_=m(()=>{$_$();var p,h,E;return(E=(h=(p=o(l))==null?void 0:p.deposits)==null?void 0:h.filter(({type:T})=>T==="recommended"))!=null?E:[]}),d=m(()=>{$_$();var p,h,E;return(E=(h=o(_).length?o(_):(p=o(l))==null?void 0:p.deposits)==null?void 0:h.slice(0,a))!=null?E:[]});return{isLoading:c,topPaymentCards:d,getPayments:async(p=r)=>{$_$();let h,E;try{c.value=!0;const T=([h,E]=v(()=>$_$() && nO(n,{params:{country:p,lng:o(u),ref:i}}).execute()),h=await h,E(),h);T&&(l.value=rO(sO(T)))}catch(T){t.error(`${uu.GET_PAY_SYSTEMS} error`,T)}finally{c.value=!1}}}},aO={class:"registration-payments"},lO=W({__name:"RegistrationPayments",setup(e){$_$();const{selectedCountry:t}=Ci(),{isLoading:n,topPaymentCards:s,getPayments:r}=iO();return xe(t,i=>r(i.code),{immediate:!0}),(i,a)=>$_$() && (g(),k("div",aO,[o(n)?(g(),$(o(pt),{key:0})):(g(!0),k(Se,{key:1},Ge(o(s),l=>$_$() && (g(),$(oO,{key:l.name,payment:l,class:"registration-payments__item"},null,8,["payment"]))),128))]))}}),Ii=j(lO,[["__scopeId","data-v-247153f0"]]);var cO=Object.defineProperty,nl=Object.getOwnPropertySymbols,uO=Object.prototype.hasOwnProperty,_O=Object.prototype.propertyIsEnumerable,sl=(e,t,n)=>t in e?cO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dO=(e,t)=>{for(var n in t||(t={}))uO.call(t,n)&&sl(e,n,t[n]);if(nl)for(var n of nl(t))_O.call(t,n)&&sl(e,n,t[n]);return e};const pO={default:"DynamicBannerTextTemplateDefault",html:"DynamicBannerTextTemplateHtml",A:"DynamicBannerTextTemplateA",B:"DynamicBannerTextTemplateB",C:"DynamicBannerTextTemplateC",D:"DynamicBannerTextTemplateD"},mO=e=>{$_$();const{currentBonusId:t,currentBonus:n}=kt(),s=i=>{$_$();var a,l,c;switch(e.template){case"A":return{translationKey:i.translationKey,freeSpins:(a=o(n))==null?void 0:a.freeSpins,bonusAmount:(l=o(n))==null?void 0:l.bonusAmount};case"B":return{title:i.title,text:i.text};case"C":return{title:i.title};case"D":return{title:i.title,text:i.text};case"html":return{vHtml:(c=i.html)!=null?c:i.title};default:return{translationKey:i.translationKey}}};return{currentBonusBanner:m(()=>{$_$();var i,a,l;const c=(i=o(t))!=null?i:ye.CANCEL,u=(a=e.bonuses[c])!=null?a:{};return dO({textComponentName:pO[(l=e.template)!=null?l:"default"],textComponentProps:s(u)},u)})}},fO=W({name:"DynamicBanner",components:{DynamicBannerTextTemplateDefault:no(()=>X(()=>import("./ab8e7522c4.js"),__vite__mapDeps([35,36]),import.meta.url)),DynamicBannerTextTemplateA:no(()=>X(()=>import("./5953df7dac.js"),__vite__mapDeps([37,38]),import.meta.url)),DynamicBannerTextTemplateB:no(()=>X(()=>import("./8e02576cf2.js"),__vite__mapDeps([39,40]),import.meta.url)),DynamicBannerTextTemplateC:no(()=>X(()=>import("./9c7446d4ef.js"),__vite__mapDeps([41,42]),import.meta.url)),DynamicBannerTextTemplateD:no(()=>X(()=>import("./22be32b7ea.js"),__vite__mapDeps([43,44]),import.meta.url)),DynamicBannerTextTemplateHtml:no(()=>X(()=>import("./892c6f8e0f.js").then(e=>e.DynamicBannerTextTemplateHtml),__vite__mapDeps([5,1]),import.meta.url))},props:{bannerData:{type:Object,required:!0}},setup(e){$_$();const{currentBonusBanner:t}=mO(e.bannerData);return{currentBonusBanner:t,MEDIA_EXTENSIONS:io}}}),gO={class:"dynamic-banner"},hO={class:"dynamic-banner__picture"},EO=["srcset"],TO=["src","alt"];function yO(e,t,n,s,r,i){$_$();return g(),k("div",gO,[A("picture",hO,[A("source",{srcset:e.$mediaUrl(e.currentBonusBanner.image,e.MEDIA_EXTENSIONS.WEBP),type:"image/webp"},null,8,EO),A("img",{src:e.$mediaUrl(e.currentBonusBanner.image),alt:e.currentBonusBanner.title,class:"dynamic-banner__img"},null,8,TO)]),(g(),$(Ye(e.currentBonusBanner.textComponentName),Yn({class:"dynamic-banner__text"},e.currentBonusBanner.textComponentProps),null,16))])}const CO=j(fO,[["render",yO],["__scopeId","data-v-e92d0bac"]]),IO=W({name:"PopularPaymentsBanner",props:{bannerData:{type:Object,required:!0}},setup(){$_$();return{MEDIA_EXTENSIONS:io}}}),SO=["innerHTML"],vO={class:"popular-payments-banner-list"},OO=["srcset"],bO=["src","alt"];function RO(e,t,n,s,r,i){$_$();return g(),k("div",{class:"popular-payments-banner",style:cn(`background-image:url(${e.$mediaUrl("registration_popular_payments_background_desktop",e.MEDIA_EXTENSIONS.JPG)})`)},[A("h3",{class:"popular-payments-banner__title",innerHTML:e.bannerData.data.title},null,8,SO),A("div",vO,[(g(!0),k(Se,null,Ge(e.bannerData.data.icons,(a,l)=>$_$() && (g(),k("picture",{key:l,class:"popular-payments-banner-list__payment"},[A("source",{srcset:e.$mediaUrl(`registration_popular_payments_${a.icon}`,e.MEDIA_EXTENSIONS.WEBP),type:"image/webp"},null,8,OO),A("img",{src:e.$mediaUrl(`registration_popular_payments_${a.icon}`),alt:a.icon,class:"popular-payments-banner-list__img"},null,8,bO)]))),128))])],4)}const AO=j(IO,[["render",RO],["__scopeId","data-v-077d557e"]]),PO={default:"StaticBannerTextTemplateDefault",A:"StaticBannerTextTemplateA",B:"StaticBannerTextTemplateB",D:"StaticBannerTextTemplateD"},LO=e=>{$_$();const{bonusItems:t}=kt(),n=m(()=>$_$() && o(t).find(({id:a})=>$_$() && a===ye.CASINO)),s=m(()=>$_$() && o(t).find(({id:a})=>$_$() && a===ye.SPORT)),r=()=>{$_$();var a,l,c,u,_,d,f,p,h,E,T,P,O,L,S,I,R,b;switch(e.template){case"A":return{titleTranslationKey:e.titleTranslationKey,textTranslationKeys:(a=e.textTranslationKeys)!=null?a:[],sportBonusAmount:(c=(l=o(s))==null?void 0:l.maxBonus)!=null?c:"",sportBonusCurrency:(_=(u=o(s))==null?void 0:u.currencyCode)!=null?_:"",casinoBonusAmount:(f=(d=o(n))==null?void 0:d.maxBonus)!=null?f:"",casinoBonusCurrency:(h=(p=o(n))==null?void 0:p.currencyCode)!=null?h:""};case"D":return{titleTranslationKey:e.titleTranslationKey,textTranslationKeys:(E=e.textTranslationKeys)!=null?E:[],casinoBonusAmount:(P=(T=o(n))==null?void 0:T.maxBonus)!=null?P:0,casinoBonusCurrency:(L=(O=o(n))==null?void 0:O.currencyCode)!=null?L:"",sportBonusPercent:(I=(S=o(s))==null?void 0:S.percent)!=null?I:0,casinoBonusFreeSpins:(b=(R=o(n))==null?void 0:R.freeSpins)!=null?b:0};default:return{title:e.title,text:e.text}}};return{currentBonusBanner:m(()=>{var a;return{textComponentName:PO[(a=e.template)!=null?a:"default"],textComponentProps:r()}})}},wO=W({name:"StaticTopBanner",components:{StaticBannerTextTemplateDefault:no(()=>X(()=>import("./892c6f8e0f.js").then(e=>e.StaticBannerTextTemplateDefault),__vite__mapDeps([5,1]),import.meta.url)),StaticBannerTextTemplateA:no(()=>X(()=>import("./9ef23bce9e.js"),__vite__mapDeps([45,46]),import.meta.url)),StaticBannerTextTemplateB:no(()=>X(()=>import("./81cf202c82.js"),__vite__mapDeps([47,48]),import.meta.url)),StaticBannerTextTemplateD:no(()=>X(()=>import("./d5ddc220b2.js"),__vite__mapDeps([49,50]),import.meta.url))},props:{bannerData:{type:Object,required:!0}},setup(e){$_$();const{currentBonusBanner:t}=LO(e.bannerData),n=ve(),{getLinkWithLang:s}=ot(m(()=>n.getLanguage)),r=s({path:e.bannerData.routePath});return{currentBonusBanner:t,MEDIA_EXTENSIONS:io,link:r}}}),NO={class:"static-top-banner__picture"},DO=["srcset"],UO=["src","alt"];function kO(e,t,n,s,r,i){$_$();const a=qn;return g(),$(a,{to:e.link,class:"static-top-banner"},{default:y(()=>$_$() && [A("picture",NO,[A("source",{srcset:e.$mediaUrl(e.bannerData.image,e.MEDIA_EXTENSIONS.WEBP),type:"image/webp"},null,8,DO),A("img",{class:"static-top-banner__img",src:e.$mediaUrl(e.bannerData.image,e.MEDIA_EXTENSIONS.JPG),alt:e.bannerData.alt},null,8,UO)]),(g(),$(Ye(e.currentBonusBanner.textComponentName),Yn(e.currentBonusBanner.textComponentProps,{class:"static-top-banner__content"}),null,16))]),_:1},8,["to"])}const BO=j(wO,[["render",kO]]),$O=W({name:"StaticLeftBanner",props:{bannerData:{type:Object,required:!0}},setup(){$_$();return{MEDIA_EXTENSIONS:io,WeightType:Ke,sizeType:M,ColorType:Wt}}}),FO={class:"static-left-banner"},MO={class:"static-left-banner__picture"},GO=["srcset"],HO=["src","alt"],VO={class:"static-left-banner__info"};function zO(e,t,n,s,r,i){$_$();const a=B("UiCaption");return g(),k("div",FO,[A("picture",MO,[A("source",{srcset:e.$mediaUrl(e.bannerData.image,e.MEDIA_EXTENSIONS.WEBP),type:"image/webp"},null,8,GO),A("img",{src:e.$mediaUrl(e.bannerData.image),alt:e.bannerData.alt,class:"static-left-banner__img"},null,8,HO)]),A("div",VO,[C(a,{uppercase:"",tag:"p",weight:e.WeightType.BOLD,innerHTML:e.bannerData.title},null,8,["weight","innerHTML"]),C(a,{tag:"p",size:e.sizeType.m,color:e.ColorType.clrPrimary,innerHTML:e.bannerData.text},null,8,["size","color","innerHTML"])])])}const WO=j($O,[["render",zO],["__scopeId","data-v-067c5e56"]]),KO=W({__name:"RegistrationResponsibleGamblingLink",props:{link:{}},setup(e){$_$();const t=e,{link:n}=un(t),s=Be(),r=ve(),{getLinkWithLang:i}=ot(m(()=>r.getLanguage)),a=m(()=>$_$() && i(o(n).url)),l=m(()=>$_$() && s(o(n).translationKey||o(n).title));return(c,u)=>{$_$();const _=qn;return g(),$(_,{to:o(a),title:o(l),class:"registration-responsible-gambling-link"},{default:y(()=>$_$() && [G(N(o(l)),1)]),_:1},8,["to","title"])}}}),YO=j(KO,[["__scopeId","data-v-fb924d3f"]]),jO=["srcset"],qO=["src","alt"],xO=W({__name:"RegistrationResponsibleGamblingLogo",props:{logo:{}},setup(e){$_$();const t=e,{logo:n}=un(t),s=m(()=>$_$() && o(n).link?"a":"div"),r=m(()=>{$_$();const{link:i,name:a}=o(n);return i?{href:i,target:"_blank",title:a,"aria-label":a}:{}});return(i,a)=>$_$() && (g(),$(Ye(o(s)),Yn(o(r),{class:"registration-responsible-gambling-logo"}),{default:y(()=>$_$() && [A("picture",null,[A("source",{srcset:i.$mediaUrl(o(n).mediaKey,o(io).WEBP),type:"image/webp"},null,8,jO),A("img",{src:i.$mediaUrl(o(n).mediaKey),alt:o(n).name,class:"registration-responsible-gambling-logo__img"},null,8,qO)])]),_:1},16))}}),XO=j(xO,[["__scopeId","data-v-384844a8"]]),QO={class:"registration-responsible-gambling-list registration-responsible-gambling__links"},ZO={class:"registration-responsible-gambling-list registration-responsible-gambling__logos"},JO=W({__name:"RegistrationResponsibleGambling",setup(e){const{visibleResponsibleGamblingLogos:t,visibleResponsibleGamblingLinks:n}=iu(),s=n.length>1||t.length>3?"registration-responsible-gambling--column":"registration-responsible-gambling--default";return(r,i)=>$_$() && (g(),k("div",{class:Re(["registration-responsible-gambling",o(s)])},[A("ul",QO,[(g(!0),k(Se,null,Ge(o(n),(a,l)=>$_$() && (g(),k("li",{key:l,class:"registration-responsible-gambling-list__link"},[C(YO,{link:a,class:"registration-responsible-gambling__link"},null,8,["link"])]))),128))]),A("ul",ZO,[(g(!0),k(Se,null,Ge(o(t),(a,l)=>$_$() && (g(),k("li",{key:l,class:"registration-responsible-gambling-list__logo"},[C(XO,{logo:a,class:"registration-responsible-gambling__logo"},null,8,["logo"])]))),128))])],2))}}),_u=j(JO,[["__scopeId","data-v-2c94a5b3"]]);var eb=Object.defineProperty,tb=Object.defineProperties,ob=Object.getOwnPropertyDescriptors,rl=Object.getOwnPropertySymbols,nb=Object.prototype.hasOwnProperty,sb=Object.prototype.propertyIsEnumerable,il=(e,t,n)=>t in e?eb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rb=(e,t)=>{for(var n in t||(t={}))nb.call(t,n)&&il(e,n,t[n]);if(rl)for(var n of rl(t))sb.call(t,n)&&il(e,n,t[n]);return e},ib=(e,t)=>tb(e,ob(t));const ab={class:"registration"},lb={key:1,class:"registration__banner-left"},cb={class:"registration__content"},ub=["aria-label"],_b={class:"registration-tabs__item"},db={class:"registration__fields registration-fields"},pb={key:1,class:"registration-fields__header"},mb=W({name:"RegistrationLayoutDefault",components:{UiStepper:ei,UiTabs:dn,RegistrationFieldComponent:wt,RegistrationBonusChoice:Hs,UiAccordion:Jr,RegistrationBonusChoiceTile:cu,RegistrationPayments:Ii,DynamicBanner:CO,PopularPaymentsBanner:AO,StaticTopBanner:BO,StaticLeftBanner:WO,RegistrationResponsibleGambling:_u,UiTag:Zr}}),fb=W(ib(rb({},mb),{async setup(e){$_$();let t,n,s,r;const{isBonusChoiceVisible:i,isBonusCancelSeparated:a}=kt(),{tabsOptions:l,activeTabIndex:c,changeTab:u,initRegistrationByRouteQuery:_,setTabByType:d}=Jn(),{stepsOptions:f,activeStepIndex:p}=xc(),{formFieldsRows:h}=De(),E=mn(),{toggleAuthorizationBlock:T}=fc(),[P,O,L]=lo(269,267,371),{isModalMode:S,isInstantBet:I}=En(),{isShowResponsibleGamblingBlock:R}=iu(),{isShowPhoneRegHeader:b}=me(),D=m(()=>$_$() && o(i)&&P===Di.DEFAULT),w=m(()=>$_$() && o(i)&&P===Di.CARDS_IN_FORM),{topBanners:U,leftBanner:F,insideBanner:z}=nS(),[q,ee]=Xr(!0),{showModal:x,showExitConfirmationPopup:oe,navigationWatcher:le}=lS(),{saveForm:Ee}=nu(),ce=()=>{if(oe&&S){x();return}Ee(),S&&E.hide()},ne=()=>{ce(),T()},te=fe=>({"registration-fields__column--full":fe.props.full}),de=m(()=>$_$() && ({"registration__inner--with-banner-left":!!o(F)})),se={"registration__form-wrapper--rounded":O||R},pe=m(()=>$_$() && ({"registration__bonus-left--with-inside-banner":!!o(z)})),re=pn(),Ae=m(()=>$_$() && o(l).length&&!I),we=m(()=>re(I?"reg_title_instant_bet":"reg_title"));_(),Tn(),ru();const He=([s,r]=Po(()=>xo()),s=([t,n]=v(()=>s),t=await t,n(),t),r(),s)();return Ps(()=>{const{getFormDraft:fe}=Gs(),bt=fe();bt&&d(bt.type),le.start()}),ao(()=>{le.remove()}),(fe,bt)=>{$_$();const oo=B("UiIco"),Rt=B("UiCaption"),Tt=Xe("tooltip");return g(),k("div",ab,[(g(!0),k(Se,null,Ge(o(U),(Fe,Bt)=>$_$() && (g(),$(Ye(Fe.componentName),{key:Bt,bannerData:Fe,class:"registration__banner-top"},null,8,["bannerData"]))),128)),o(D)?(g(),k("div",{key:0,class:Re(["registration__bonus-left",o(pe)])},[C(Hs)],2)):Y("",!0),o(F)?(g(),k("div",lb,[(g(),$(Ye(o(F).componentName),{bannerData:o(F)},null,8,["bannerData"]))])):Y("",!0),A("div",cb,[o(z)?(g(),$(Ye(o(z).componentName),{key:0,bannerData:o(z),class:"registration__banner-inside"},null,8,["bannerData"])):Y("",!0),o(S)?Te((g(),k("button",{key:1,onClick:ce,"aria-label":fe.$T("main_close"),type:"button",class:"registration__close"},[C(oo,{ico:o(Ce).TIMES,size:o(M).s},null,8,["ico","size"])],8,ub)),[[Tt,fe.$T("main_close")]]):Y("",!0),A("div",{class:Re(["registration__inner",o(de)])},[A("div",{class:Re(["registration__form-wrapper",se])},[C(Rt,{tag:"h1",size:o(M).xl,weight:o(Ke).BOLD,uppercase:"",class:"registration__title"},{default:y(()=>$_$() && [G(N(o(we)),1)]),_:1},8,["size","weight"]),o(Ae)?(g(),$(o(dn),{key:0,"onUpdate:modelValue":o(u),modelValue:o(c),options:o(l),name:"registration_tabs",theme:o(He).UiTabsModal,class:"registration__tabs registration-tabs",indent:""},{container:y(({item:Fe})=>$_$() && [A("div",_b,[C(oo,{ico:Fe.icon},null,8,["ico"]),C(Rt,{size:o(M).m,class:"registration-tabs__caption"},{default:y(()=>$_$() && [G(N(Fe.title),1)]),_:2},1032,["size"]),Fe.badge?(g(),$(o(Zr),{key:0,size:o(M).xs,theme:o(he).bad,class:"registration-tabs__badge"},{default:y(()=>$_$() && [G(N(Fe.badge),1)]),_:2},1032,["size","theme"])):Y("",!0)])]),_:1},8,["onUpdate:modelValue","modelValue","options","theme"])):Y("",!0),o(f).length?(g(),$(o(ei),{key:1,count:o(f).length,current:o(p),class:"registration__steps"},{default:y(()=>$_$() && [G(N(fe.$T("main_step_from_to",{from:o(p)+1,to:o(f).length})),1)]),_:1},8,["count","current"])):Y("",!0),A("div",db,[o(w)?(g(),$(o(Jr),{key:0,onToggle:o(q),isOpen:o(ee),tooltip:fe.$T("coupon_expand_collapse"),theme:o(he).gray30,isHeaderClickable:"",initialIsOpen:"",class:"registration__bonus registration-bonus"},{title:y(()=>$_$() && [C(Rt,{size:o(M).l,weight:o(Ke).BOLD,class:"registration-bonus__title"},{default:y(()=>$_$() && [G(N(fe.$T("reg_welcome_bonus_select")),1)]),_:1},8,["size","weight"])]),body:y(()=>$_$() && [C(cu,{isBonusCancelSeparated:o(a)},null,8,["isBonusCancelSeparated"])]),_:1},8,["onToggle","isOpen","tooltip","theme"])):Y("",!0),o(b)?(g(),k("div",pb,[C(Rt,{size:o(M).m,weight:o(Ke).BOLD},{default:y(()=>$_$() && [G(N(fe.$T("auth_phone_label")),1)]),_:1},8,["size","weight"]),C(Rt,{size:o(M).m},{default:y(()=>$_$() && [G(N(fe.$T("reg_auth_phone_description")),1)]),_:1},8,["size"])])):Y("",!0),(g(!0),k(Se,null,Ge(o(h),(Fe,Bt)=>$_$() && (g(),k("div",{key:`row${o(c)}${Bt}`,class:"registration-fields__row"},[(g(!0),k(Se,null,Ge(Fe,At=>$_$() && Te((g(),k("div",{key:`${o(c)}${At.name}`,class:Re(["registration-fields__column",te(At)])},[C(wt,{field:At,class:"registration-fields__item"},null,8,["field"])],2)),[[eo,!At.props.hidden]])),128))]))),128))])]),o(L)?(g(),$(Rt,{key:0,size:o(M).xs,class:"registration-form-footer"},{default:y(()=>$_$() && [G(N(fe.$T("reg_have_an_account"))+" ",1),A("button",{onClick:Mo(ne,["prevent"]),type:"button",class:"registration-form-footer__link"},N(fe.$T("auth_enter")),1)]),_:1},8,["size"])):Y("",!0),o(O)?(g(),$(Ii,{key:1,class:"registration__payments"})):Y("",!0),o(R)?(g(),$(_u,{key:2,class:"registration__responsible-gambling"})):Y("",!0)],2)])])}}})),du=j(fb,[["__scopeId","data-v-fc6b0a59"]]),gb={class:"registration-layout-widget-form"},hb={key:1,class:"registration-layout-widget-form__header"},Eb=W({__name:"RegistrationLayoutWidgetForm",async setup(e){$_$();let t,n,s,r;const{tabsOptions:i,activeTabIndex:a,changeTab:l}=Jn(),{fields:c}=De(),{isShowPhoneRegHeader:u}=me(),d=([s,r]=Po(()=>xo()),s=([t,n]=v(()=>s),t=await t,n(),t),r(),s)();return(f,p)=>{$_$();const h=B("UiIco"),E=B("UiCaption");return g(),k("form",gb,[o(i).length?(g(),$(o(dn),{key:0,"onUpdate:modelValue":o(l),modelValue:o(a),options:o(i),theme:o(d).UiTabsWidget,name:"registration_widget_tabs",class:"registration-layout-widget-form__tabs",indent:""},{default:y(({item:T})=>$_$() && [C(h,{ico:T.icon,class:"registration-layout-widget-form__ico"},null,8,["ico"]),C(E,{size:o(M).m},{default:y(()=>$_$() && [G(N(T.title),1)]),_:2},1032,["size"])]),_:1},8,["onUpdate:modelValue","modelValue","options","theme"])):Y("",!0),o(u)?(g(),k("div",hb,[C(E,{size:o(M).m,weight:o(Ke).BOLD},{default:y(()=>$_$() && [G(N(f.$T("auth_phone_label")),1)]),_:1},8,["size","weight"]),C(E,{size:o(M).xs},{default:y(()=>$_$() && [G(N(f.$T("reg_auth_phone_description")),1)]),_:1},8,["size"])])):Y("",!0),(g(),k("div",{key:o(a),class:"registration-layout-widget-form__fields"},[(g(!0),k(Se,null,Ge(o(c),T=>$_$() && Te((g(),$(wt,{key:T.id,field:T,class:"registration-widget-form__field"},null,8,["field"])),[[eo,!T.props.hidden]])),128))]))])}}}),Tb=j(Eb,[["__scopeId","data-v-21f82de0"]]),yb=()=>$_$() && jt({name:"REGISTRATION_SUCCESS",component:()=>X(()=>import("./cf4cd7fe14.js"),__vite__mapDeps([51,52]),import.meta.url),componentLoader:pt,middleware:[Vn]}),pu=e=>{$_$();const t=Ot();return{showSuccessRegistrationWidgetModal:()=>{t.hide(),t.show(yb(),{registrationLayout:e},{clickToClose:!1,width:"95%",height:"auto",classes:"registration-modal"})}}},mu=(e=he.gray30)=>{$_$();const{firstDepositData:t,registrationAnalytics:n,injectedLayout:s}=me(),{showSuccessRegistrationWidgetModal:r}=pu(s),{isResponseSuccess:i}=to(),a=Nt(),l=ve(),{useLangLocation:c}=ot(m(()=>l.getLanguage)),u=c({name:"bonus",params:{id:"1st"}}),_=()=>{$_$();n.clickFirstDeposit(),a.push(o(u))},d=[`registration-layout-widget--theme-${e}`];return yo(i,()=>{r()}),{registrationLayoutWidgetClasses:d,firstDepositData:t,onClickFirstDeposit:_}},Cb={class:"registration-layout-widget__container"},Ib=W({__name:"RegistrationLayoutWidget",async setup(e){$_$();let t,n,s,r;const a=([s,r]=Po(()=>xo()),s=([t,n]=v(()=>s),t=await t,n(),t),r(),s)(),{registrationLayoutWidgetClasses:l,firstDepositData:c,onClickFirstDeposit:u}=mu(a.UIWidgetContainer);return(_,d)=>{$_$();var f;const p=B("UiCaption"),h=B("UiButton");return g(),k("div",{class:Re(["registration-layout-widget",o(l)])},[A("div",Cb,[C(p,{uppercase:"",weight:o(Ke).BOLD,class:"registration-layout-widget__title"},{default:y(()=>$_$() && [G(N(_.$T("reg_title")),1)]),_:1},8,["weight"]),C(Tb)]),(f=o(c))!=null&&f.hasFirstDeposit?(g(),$(h,{key:0,onClick:o(u),theme:o(he).primary,narrow:"",block:"",rounded:!1},{default:y(()=>$_$() && [C(p,{size:o(M).xs},{default:y(()=>$_$() && [G(N(o(c).bonusPopupTitle),1)]),_:1},8,["size"])]),_:1},8,["onClick","theme"])):Y("",!0)],2)}}}),Sb=j(Ib,[["__scopeId","data-v-cd412d56"]]),vb={class:"registration-bonus-widget"},Ob={class:"registration-bonus-widget__img"},bb=["srcset"],Rb=["src","alt"],Ab={class:"registration-bonus-widget__inner"},Pb=W({__name:"RegistrationBonusWidget",setup(e){$_$();const t=ye.CANCEL,{bonusItems:n,changeBonus:s,currentBonus:r}=kt(),i=ve(),{useLangLocation:a}=ot(m(()=>i.getLanguage)),l=a({name:"bonus",params:{id:"1st"}}),c=m(()=>{$_$();var _;return(_=o(n)[0])!=null?_:{id:t}}),u=m({get:()=>{$_$();var _,d;return((_=o(c))==null?void 0:_.id)===((d=o(r))==null?void 0:d.id)},set:_=>{$_$();var d,f;return s(_?(f=(d=o(c))==null?void 0:d.id)!=null?f:0:t)}});return(_,d)=>{$_$();const f=B("UiCaption"),p=qn;return g(),k("div",vb,[A("picture",Ob,[A("source",{srcset:_.$mediaUrl("registration_custom_page_bonus_package",o(io).WEBP),type:"image/webp"},null,8,bb),A("img",{src:_.$mediaUrl("registration_custom_page_bonus_package"),alt:_.$T("reg_bonus_choice")},null,8,Rb)]),A("div",Ab,[A("div",null,[C(f,{size:o(M).m},{default:y(()=>$_$() && [G(N(o(c).description),1)]),_:1},8,["size"]),C(p,{to:o(l)},{default:y(()=>$_$() && [C(f,{color:o(Wt).clrDecent,size:o(M).xs,class:"registration-bonus-widget__link"},{default:y(()=>$_$() && [G(N(_.$T("main_learn_more")),1)]),_:1},8,["color","size"])]),_:1},8,["to"])]),C(o(so),{modelValue:o(u),"onUpdate:modelValue":d[0]||(d[0]=h=>$_$() && St(u)?u.value=h:null),type:o(xl).TUMBLER,hasInnerOffset:!1,theme:o(he).primary100,icoTheme:o(he).primary100},null,8,["modelValue","type","theme","icoTheme"])])])}}}),Lb=j(Pb,[["__scopeId","data-v-43a28357"]]),wb={class:"registration-layout-custom-widget"},Nb={class:"registration-layout-custom-widget__wrapper"},Db={class:"registration-layout-custom-widget__inner"},Ub={class:"registration-layout-custom-widget-form"},kb={class:"registration-layout-custom-widget-form__divider registration-layout-custom-widget-form-divider"},Bb={class:"registration-layout-custom-widget__login registration-layout-custom-widget-login"},$b=W({__name:"RegistrationLayoutCustomWidget",setup(e){$_$();const{fields:t}=De(),{toggleAuthorizationBlock:n}=fc(),{injectedLayout:s}=me(),{showSuccessRegistrationWidgetModal:r}=pu(s),{isResponseSuccess:i}=to(),a=[H.SOCIAL_TYPES_ID,H.GOOGLE_CAPTCHA_ID],l=m(()=>$_$() && o(t).filter(_=>!a.includes(_.name))),c=m(()=>$_$() && o(t).find(_=>_.name===H.SOCIAL_TYPES_ID)),u=m(()=>$_$() && o(t).find(_=>_.name===H.GOOGLE_CAPTCHA_ID));return yo(i,()=>{r()}),(_,d)=>{$_$();const f=B("UiIco"),p=B("UiCaption"),h=B("UiButton"),E=B("UiScrollbar");return g(),k("div",wb,[A("div",Nb,[C(E,{class:"registration-layout-custom-widget__container"},{default:y(()=>$_$() && [A("div",Db,[C(f,{ico:o(Ce).COIN_22,class:"registration-layout-custom-widget__icon"},null,8,["ico"]),C(p,{tag:"h3",weight:o(Ke).BOLD,size:o(M).xl,class:"registration-layout-custom-widget__title"},{default:y(()=>$_$() && [G(N(_.$T("custom_registration_title")),1)]),_:1},8,["weight","size"]),C(Lb,{class:"registration-layout-custom-widget__bonus"}),o(u)?(g(),$(Fr,{key:0,field:o(u),class:"registration-layout-custom-widget__captcha"},null,8,["field"])):Y("",!0)]),C(E,{class:"registration-layout-custom-widget__scrollbar"},{default:y(()=>$_$() && [A("form",Ub,[(g(!0),k(Se,null,Ge(o(l),T=>$_$() && (g(),k("div",{key:`${T.name}`,class:"registration-layout-custom-widget-form__fields"},[Te(C(wt,{field:T,class:"registration-layout-custom-widget-form__field"},null,8,["field"]),[[eo,!T.props.hidden]])]))),128))]),A("div",kb,[C(p,{color:o(Wt).clrDecent,size:o(M).xs,uppercase:"",class:"registration-layout-custom-widget-form-divider__text"},{default:y(()=>$_$() && [G(N(_.$T("reg_or")),1)]),_:1},8,["color","size"])]),o(c)?(g(),$(lu,{key:0,field:o(c),class:"registration-layout-custom-widget-form__social"},null,8,["field"])):Y("",!0),A("div",Bb,[C(p,{tag:"p",weight:o(Ke).BOLD,color:o(Wt).clr,size:o(M).xs},{default:y(()=>$_$() && [G(N(_.$T("reg_already_have_account_question"))+" ",1),C(h,{onClick:Mo(o(n),["stop"]),uppercase:!1},{container:y(()=>$_$() && [C(p,{color:o(Wt).clrAccent,weight:o(Ke).BOLD},{default:y(()=>$_$() && [G(N(_.$T("custom_registration_login")),1)]),_:1},8,["color","weight"])]),_:1},8,["onClick"])]),_:1},8,["weight","color","size"])]),o(u)?(g(),$(Fr,{key:1,field:o(u),class:"registration-layout-custom-widget__bottom"},null,8,["field"])):Y("",!0)]),_:1})]),_:1})])])}}}),Fb=j($b,[["__scopeId","data-v-97a0d97d"]]),fu=()=>{$_$();var e;const{type:t}=me(),n=(e=_e(262))!=null?e:[];return{isNeedAuthAfterReg:m(()=>$_$() && n.includes(o(t)))}},Vs=()=>{$_$();const e=Be(),{type:t,firstDepositData:n,routeRegistrationType:s}=me(),{isResponseError:r,isResponseSuccess:i,isResponseAuth:a,responseUserId:l,responsePassword:c,responseMessage:u,responseSocialProvider:_,responseError:d,responseErrorType:f}=to(),{isNeedAuthAfterReg:p}=fu(),h=m(()=>$_$() && o(s)==="socialregistration"),E=m(()=>$_$() && o(l)&&o(c)),T=m(()=>$_$() && !!o(u)),P=m(()=>$_$() && o(d)||e("main_query_error")),O=m(()=>{$_$();var S;return!o(h)&&((S=o(n))==null?void 0:S.hasFirstDeposit)}),L=m(()=>$_$() && o(t)==="phone_reg");return{isResponseError:r,firstDepositData:n,showFirstDeposit:O,isResponseSuccess:i,showFormSaveAccountInfo:E,hasResponseMessage:T,isSocialReg:h,errorText:P,isPhoneRegType:L,isResponseAuth:a,responseSocialProvider:_,isNeedAuthAfterReg:p,responseErrorType:f}},gu=({enableShowRegistrationBonusModal:e}={enableShowRegistrationBonusModal:!1})=>{$_$();const t=Kt(),n=Dt(),s=_e(-1012).code,{sendSuccessfullReg:r}=Io(),{choiceBonus:i,setRegistrationResponse:a,type:l,registrationAnalytics:c,isWidget:u}=me(),{selectedCountry:_}=Ci(),{resetFields:d}=De(),{isPhoneRegType:f,isResponseSuccess:p,isSocialReg:h,isResponseAuth:E,responseSocialProvider:T,isResponseError:P,responseErrorType:O}=Vs(),L=m(()=>$_$() && ["short_reg","fast_reg"].includes(o(l))),S=m(()=>{$_$();var b;return o(p)&&o(L)&&((b=o(i))==null?void 0:b.items.length)&&o(u)}),I=m(()=>{$_$();var b;return o(p)&&o(L)&&((b=o(i))==null?void 0:b.items.length)}),R=async b=>{$_$();var D;let w,U;if((o(f)||e)&&([w,U]=v(()=>$_$() && t.setItem(tt.SHOW_REGISTRATION_BONUS_MODAL,!0)),await w,U()),o(p)){if(o(E))o(h)&&c.trackLoginBySocialNetwork(o(T));else{const q=([w,U]=v(()=>$_$() && t.getItem(tt.SELECTED_BONUS_ID)),w=await w,U(),w||void 0)||((D=o(i))==null?void 0:D.value);q&&c.bonusSelectAfterRegistration(q)}(o(h)?o(O):o(P))||(c.sendSuccessRegistrationEvent(o(b)),c.successfulRegistration(o(l),o(T)),n.modules.registrationEvents.trackRegDone(o(l)),n.modules.yandexEvents.trackRegFormSuccess(),r({type:o(l),countryCode:o(_).code,geoCountryCode:s,userId:o(b)}),d()),[w,U]=v(()=>$_$() && t.removeItem(tt.SELECTED_BONUS_ID)),await w,U()}};return ao(()=>{a({})}),{onSuccessInit:R,showBlockBonusChoice:S,showBlockBonusWithPreset:I}},Mb=(e,t)=>{$_$();var n;const s=ti(),r=(n=_e(436))!=null?n:!1,i=m(()=>({[`${e}--with-letters`]:r})),a=m(()=>{if(r&&t)return Object.entries(t).map(([l,c])=>({[l]:`url(${s(c)})`}))});return{decorationDynamicClasses:i,decorationDynamicStyles:a}},hu=()=>{$_$();var e;const{isPhoneRegType:t,isResponseSuccess:n,showFormSaveAccountInfo:s,hasResponseMessage:r,isResponseError:i,isNeedAuthAfterReg:a,responseErrorType:l}=Vs(),c=(e=_e(258))!=null?e:!1,{redirectUrl:u,startedFromUrl:_}=po(),{registrationResponse:d,type:f,isSocialRegTabActive:p,registrationLayout:h}=me(),{socialRegDesign:E,accountExists:T,socialProvider:P,showConfirmEmail:O}=o(d),L=m(()=>$_$() && o(h)===Ho.CUSTOM_WIDGET&&P==="metamask"),S=m(()=>$_$() && o(p)||o(L));return{componentName:m(()=>{$_$();const R=E===Yc.WITH_TIMER,b=!o(l);if(o(p)&&R&&(b||T))return We.SOCIAL;const D=o(S)?o(l):o(i);if(!o(n)||D)return We.ERROR_REGISTRATION;if(o(a))return We.AUTH_WAITING_LOADING;if(["fast_reg","soc_reg"].includes(o(f))||o(L))return o(s)?We.COMPLETE_FORM:We.LOADING;if(o(t))return We.COMPLETE_PHONE_REG;if(o(f)==="full_reg"){if(o(r))return We.COMPLETE_REQUEST;if(c&&o(u)&&o(_))return O?We.COMPLETE_EMAIL_SHOW_CONFIRMATION_WITH_REDIRECT:We.COMPLETE_EMAIL_WITH_REDIRECT}return We.COMPLETE_AND_AUTH})}},Eu="/sys-office-app-front",Gb=()=>$_$() && jt({name:"FaceIdIdentificationModal",component:async()=>$_$() && ({default:ec(Eu,"FaceIdIdentificationModal")}),componentLoader:pt}),Hb=()=>$_$() && jt({name:"IdentificationBonusModal",component:()=>X(()=>import("./5996e45d66.js"),__vite__mapDeps([53,54]),import.meta.url),componentLoader:pt}),Vb="identification-bonus",zb="faceid",Wb="office-any",Kb=new Set([rt.ACCOUNT,rt.ACCOUNT_EDIT,rt.IDENTIFICATION,rt.ACCOUNT_IDENTIFICATION_WELCOME,Ls.ACCOUNT_IDENTIFICATION,rt.MENU_PROFILE,rt.MENU,rt.MENU_SETTINGS,rt.MENU_PROMO,ze.INFORMATION,ze.CONTACTS,ze.ABOUT,ze.HOWBET,ze.RULES,ze.PAYMENT,ze.COOKIES,ze.POINTS,ze.TAXES,ze.MAIN_RULES,ze.SIMPLE_IDENTIFICATION,ze.CONSENT,ze.LICENSES,ze.PRIVACY_POLICY,ze.AMLKYC,ze.AML_POLICY,ze.KYC_POLICY,ze.DISPUTE_RESOLUTION,ze.RESPONSIBLE_GAMING,ze.SMS_BETS,ze.CONFIRM_TERMS,ze.CALC,ze.CASH_TERMINALS,ze.RULES_FRAME,"registration",Wb]),Yb=()=>{$_$();const e=Bs(),t=ve(),{getLinkWithLang:n}=ot(m(()=>t.getLanguage)),s=As(),r=_e(538),i=m(()=>s.verificationStatus===1),a=m(()=>$_$() && r&&o(i)&&!s.hasDeposit),l=m(()=>s.verificationTypes.includes(zb)),c=n({name:"bonus",params:{id:Vb}});return{isFaceIdAvailable:l,isNeedToShowIdentificationBonusModal:a,isAvailableIdentificationAction:d=>{$_$();const f=o(a),p=d.path!==c,h=!Kb.has(String(d.name));return f&&p&&h},showIdentificationBonusModal:d=>{e.show(d())}}},yn=()=>{$_$();const{isFaceIdAvailable:e,isAvailableIdentificationAction:t,showIdentificationBonusModal:n,isNeedToShowIdentificationBonusModal:s}=Yb(),r=Ot(),i=ve();return{showIdentificationModal:l=>{$_$();if(r.hide(),!t(l)){i.isRegistrationProcess=!1;return}const c=o(e)?Gb:Hb;n(c)},isNeedToShowIdentificationBonusModal:s}},jb=({requestType:e=J("account_info_base_request")}={})=>{$_$();const t=Be(),n=Hn(),s=Dt(),{notificationError:r}=vt(),{registrationAnalytics:i}=me(),{addFieldData:a,validateForm:l,formIsError:c}=ii(),{responseMail:u}=to(),{validatorEmail:_,validatorRequired:d}=$s(),f=qt(),p=J(!1),h=J(!1),E=J(""),T=a(m(()=>$_$() && ({defaultValue:o(u),validator:[d,_],disabled:o(p)}))),P=m(()=>$_$() && !T.value||o(c)||o(p)),O=()=>n.getRequest(`/user/mailing?umail=${T.value}&mail_type=social_registration_data`),L=async()=>{$_$();let I,R;return([I,R]=v(()=>$_$() && n.getRequest("/api/web/registration/v1/send_mail_reg_data",{headers:Fo})),I=await I,R(),I).data.attributes.message};return{accountInfoSendToEmailFormResponseMessage:E,accountInfoSendToEmailFormEmailField:T,accountInfoSendToEmailFormIsSuccess:h,accountInfoSendToEmailFormSubmitDisabled:P,accountInfoSendToEmailFormSubmit:async()=>{$_$();let I,R;try{if([I,R]=v(()=>l()),I=await I,R(),I)return;p.value=!0,i.saveLoginAndPwd(Ur.TO_EMAIL),s.modules.registrationEvents.trackRegPopupSave("email_send");let b;switch(o(e)){case"account_info_base_request":b=([I,R]=v(()=>O()),I=await I,R(),I);break;case"account_info_json_request":b=([I,R]=v(()=>L()),I=await I,R(),I);break}b?E.value=b:(E.value=t("reg_login_and_pass_sent_to_email"),h.value=!0,f.registration.trackCredentialsSave("email"))}catch(b){const D=(b==null?void 0:b.httpCode)===400;if(D&>(b==null?void 0:b.response))T.setError(b.response);else{const U=((b==null?void 0:b.httpCode)===429||D)&&(b==null?void 0:b.message)||t("main_query_error");[I,R]=v(()=>r(U)),await I,R()}}finally{p.value=!1}}}},qb=()=>{$_$();var e,t;const n=(t=(e=_e(261))==null?void 0:e.map(Number))!=null?t:[],s=a=>n.includes(a),r={asImage:s(Un.AS_IMAGE),asFile:s(Un.AS_FILE),copyData:s(Un.COPY_DATA),onEmail:s(Un.ON_EMAIL)};return{isAvailableToSaveCredentials:!!n.length,availableToSaveCredentialsOptions:r}},Tu=()=>{$_$();var e;const t=()=>X(()=>import("./eb3821a60d.js").then(D=>D.FileSaver_min),__vite__mapDeps([2,1]),import.meta.url),n=Be(),s=(e=_e(1))!=null?e:"",r=Dt(),i=J(),a=To(),{type:l,registrationAnalytics:c,registrationLayout:u}=me(),{responseUserId:_,responsePassword:d,responseSocialProvider:f}=to(),p=qt(),h=m(()=>$_$() && o(u)===Ho.CUSTOM_WIDGET&&o(f)==="metamask"),E=m(()=>$_$() && ["ident_reg","full_reg"].includes(o(l))),T=m(()=>$_$() && ["short_reg"].includes(o(l))),P=m(()=>$_$() && o(_)),O=m(()=>{$_$();const D=o(d);return(o(E)||o(T))&&!o(h)?Vt.decode(D):D}),L=m(()=>$_$() && `${n("registration_login",{login:o(P)})}\r ${n("registration_password",{password:o(O)})}`),S=m(()=>$_$() && "data:text/plain;charset=utf-8,"+encodeURIComponent(o(L))),I=D=>$_$() && `${[s,o(P),new Date().toLocaleDateString()].filter(Boolean).join("_")}.${D}`;return{accountInfoIsFullReg:E,accountInfoIsShortReg:T,accountInfoUserId:P,accountInfoPassword:O,accountInfoHrefForTxt:S,accountInfoElement:i,accountInfoGetNameFile:I,accountInfoSaveAsText:async D=>{$_$();let w,U;c.saveLoginAndPwd(Ur.TO_FILE),r.modules.registrationEvents.trackRegPopupSave("save_as_file"),p.registration.trackCredentialsSave("file"),D==null||D.preventDefault();const{default:F}=([w,U]=v(()=>t()),w=await w,U(),w),z=new Blob([new Uint8Array([239,187,191]),o(L)],{type:"text/plain;charset=utf-8;"});F.saveAs(z,I("txt"))},accountInfoSaveAsImg:async()=>{$_$();let D,w;r.modules.registrationEvents.trackRegPopupSave("save_as_pic"),c.saveLoginAndPwd(Ur.TO_PIC),p.registration.trackCredentialsSave("pic"),[D,w]=v(()=>$_$() && zg(a,N_(i),I("png"))),await D,w()}}},xb=e=>{$_$();const t=J(!1),{inject:n}=D_(),{additionalConfig:s}=me(),r=m(()=>{$_$();var l;return(l=o(s).isAllowEditLoginAfterReg)!=null?l:!1}),i=ec(Eu,"Dummy"),a=()=>{t.value=!0};return yo(t,()=>{$_$();const{showChangeAccountLoginModal:l}=n("officeApp/changeAccountLoginModal");l({isEditForm:!0,defaultValue:o(e),onChangeLogin:c=>{e.value=c}}),t.value=!1}),{showLoginChangeModal:a,officeDummyComponent:i,isAllowEditLoginAfterReg:r}},Xb=W({name:"RegistrationSuccessCopyItem",props:{name:{type:String,default:""},value:{type:String,default:""},isAnimationActive:{type:Boolean,default:!1}}}),Qb={class:"registration-success-copy-item"},Zb={class:"registration-success-copy-item__wrapper"},Jb={class:"registration-success-copy-item__name"},eR={key:0};function tR(e,t,n,s,r,i){$_$();return g(),k("div",Qb,[A("div",Zb,[A("span",Jb,N(e.name)+": ",1),A("span",{class:Re([{"registration-success-copy-item__text--copied":e.isAnimationActive},"registration-success-copy-item__text"])},N(e.value),3)]),e.$slots.action?(g(),k("div",eR,[qe(e.$slots,"action",{},void 0,!0)])):Y("",!0)])}const oR=j(Xb,[["render",tR],["__scopeId","data-v-7b98bb5e"]]),nR=()=>{$_$();let e;const n=J(!1),s=Dt(),r=()=>{n.value=!0,e=setTimeout(()=>{n.value=!1},1e3)},i=a=>{$_$();clearTimeout(e),s.modules.registrationEvents.trackRegPopupSave("copy_data"),jr(a),r()};return ks(()=>{clearTimeout(e)}),{isAnimationActive:n,copyValueToClipboard:i}},sR=W({name:"RegistrationSuccessCopyFields",components:{RegistrationSuccessCopyItem:oR},props:{login:{type:String,default:""},password:{type:String,default:""},isShowCopyFieldsBtn:{type:Boolean,default:!0}},setup(e){$_$();const{isAnimationActive:t,copyValueToClipboard:n}=nR(),s=J(e.login),r=m(()=>$_$() && `${o(s)} ${e.password}`),{officeDummyComponent:i,showLoginChangeModal:a,isAllowEditLoginAfterReg:l}=xb(s);return{themeType:he,sizeType:M,iconName:Ce,isAnimationActive:t,copyValueToClipboard:n,textToCopy:r,officeDummyComponent:i,isAllowEditLoginAfterReg:l,onEditLogin:()=>{a()},loginValue:s}}}),rR={class:"registration-success-copy-fields"},iR={class:"registration-success-copy-fields__content"};function aR(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("UiButton"),c=B("RegistrationSuccessCopyItem"),u=Xe("tooltip");return g(),k("div",rR,[A("div",iR,[C(c,{name:e.$T("reg_login"),value:e.loginValue,isAnimationActive:e.isAnimationActive,class:"registration-success-copy-fields__item"},{action:y(()=>$_$() && [e.isAllowEditLoginAfterReg?Te((g(),$(l,{key:0,onClick:e.onEditLogin,narrow:"",decent:"","aria-label":e.$T("main_button_edit"),size:e.sizeType.s},{default:y(()=>$_$() && [C(a,{ico:e.iconName.EDIT},null,8,["ico"])]),_:1},8,["onClick","aria-label","size"])),[[u,e.$T("main_button_edit")]]):Y("",!0)]),_:1},8,["name","value","isAnimationActive"]),C(c,{name:e.$T("reg_password"),value:e.password,isAnimationActive:e.isAnimationActive,class:"registration-success-copy-fields__item"},{action:y(()=>$_$() && [e.isAllowEditLoginAfterReg?Te((g(),$(l,{key:0,narrow:"",decent:"","aria-label":e.$T("office_account_tooltip_change_password"),size:e.sizeType.s},{default:y(()=>$_$() && [C(a,{ico:e.iconName.NOTIFICATION_ERROR},null,8,["ico"])]),_:1},8,["aria-label","size"])),[[u,e.$T("office_account_tooltip_change_password")]]):Y("",!0)]),_:1},8,["name","value","isAnimationActive"]),e.isAllowEditLoginAfterReg?Te((g(),$(Ye(e.officeDummyComponent),{key:0},null,512)),[[eo,!1]]):Y("",!0)]),e.isShowCopyFieldsBtn?Te((g(),$(l,{key:0,onClick:t[0]||(t[0]=_=>e.copyValueToClipboard(e.textToCopy)),narrow:"","data-html2canvas-ignore":"",theme:e.themeType.primary,"aria-label":e.$T("main_copy"),size:e.sizeType.l,class:"registration-success-copy-fields__button"},{default:y(()=>$_$() && [C(a,{ico:e.iconName.COPY_BG_REVERSE},null,8,["ico"])]),_:1},8,["theme","aria-label","size"])),[[u,e.$T("main_copy")]]):Y("",!0)])}const lR=j(sR,[["render",aR],["__scopeId","data-v-0417ad86"]]),cR=W({name:"RegistrationAccountInfoForImg",setup(){const{accountInfoUserId:e,accountInfoPassword:t}=Tu();return{accountInfoUserId:e,accountInfoPassword:t}}}),uR={class:"registration-account-info-for-img"},_R={class:"registration-account-info-for-img__content"};function dR(e,t,n,s,r,i){$_$();return g(),k("div",uR,[A("div",_R,[A("p",null,N(e.$T("reg_self_login"))+": "+N(e.accountInfoUserId),1),A("p",null,N(e.$T("reg_self_pass"))+": "+N(e.accountInfoPassword),1)])])}const pR=j(cR,[["render",dR],["__scopeId","data-v-b97b8e8a"]]),mR=W({name:"RegistrationContent",props:{shouldShowCloseButton:{type:Boolean,default:!0}},setup(){$_$();const{closeRegistrationModal:e}=ts(),{showIdentificationModal:t}=yn(),n=at();return{closeModal:()=>{$_$();e(),t(o(n))},iconName:Ce}}}),fR={class:"registration-content"},gR=["aria-label"],hR={class:"registration-content__container"},ER={class:"registration-content__title"};function TR(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=Xe("tooltip");return g(),k("div",fR,[e.shouldShowCloseButton?Te((g(),k("button",{key:0,onClick:t[0]||(t[0]=(...c)=>e.closeModal&&e.closeModal(...c)),"aria-label":e.$T("main_close"),type:"button",class:"registration-content__close registration-content-close"},[C(a,{ico:e.iconName.TIMES,class:"registration-content-close__ico"},null,8,["ico"])],8,gR)),[[l,e.$T("main_close")]]):Y("",!0),A("div",hR,[qe(e.$slots,"beforeTitle",{},void 0,!0),A("h1",ER,[qe(e.$slots,"title",{},void 0,!0)]),qe(e.$slots,"default",{},void 0,!0)]),qe(e.$slots,"afterContainer",{},void 0,!0)])}const yR=j(mR,[["render",TR],["__scopeId","data-v-7a000898"]]),CR=W({name:"RegistrationCompleteWarningInfo",setup(){$_$();return{iconName:Ce,sizeType:M}}}),IR={class:"registration-complete-warning-info"};function SR(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("UiCaption");return g(),k("div",IR,[C(a,{ico:e.iconName.WARNING_CIRCLE,class:"registration-complete-warning-info__ico"},null,8,["ico"]),C(l,{size:e.sizeType.xs,class:"registration-complete-warning-info__label"},{default:y(()=>$_$() && [G(N(e.$T("reg_bonus_first_deposit_warning")),1)]),_:1},8,["size"])])}const vR=j(CR,[["render",SR],["__scopeId","data-v-b2fddf68"]]),al={A:()=>X(()=>import("./892c6f8e0f.js").then(e=>e.registrationCompleteFormAccountInfoConfig),__vite__mapDeps([5,1]),import.meta.url),B:()=>X(()=>import("./892c6f8e0f.js").then(e=>e.registrationCompleteFormAccountInfoConfig$1),__vite__mapDeps([5,1]),import.meta.url)};async function yu(){$_$();var e,t,n;const r=(t=(e=Vo().$multiBuildConfig)==null?void 0:e.RegistrationCompleteFormAccountInfoConfig)==null?void 0:t.variant;return((n=al[r])!=null?n:al.A)().then(a=>{var l;return(l=a.default)!=null?l:a})}const OR=Object.freeze(Object.defineProperty({__proto__:null,default:yu},Symbol.toStringTag,{value:"Module"})),bR={class:"registration-complete-form-account-info__section"},RR={class:"registration-complete-form-account-info__section registration-complete-form-account-info__section--message"},AR={class:"registration-complete-form-account-info__section registration-complete-form-account-actions"},PR={key:0,class:"registration-complete-form-account-info__section registration-complete-form-account-actions"},LR={key:2,class:"registration-complete-form-account-info__section registration-complete-form-account-info__section--message"},wR=W({__name:"RegistrationCompleteFormAccountInfo",async setup(e){$_$();let t,n,s,r;const a=([s,r]=Po(()=>yu()),s=([t,n]=v(()=>s),t=await t,n(),t),r(),s)(),{isRegPage:l}=me();let c=!1;const u=Dt(),{accountInfoSendToEmailFormResponseMessage:_,accountInfoSendToEmailFormEmailField:d,accountInfoSendToEmailFormIsSuccess:f,accountInfoSendToEmailFormSubmitDisabled:p,accountInfoSendToEmailFormSubmit:h}=jb(),{accountInfoUserId:E,accountInfoPassword:T,accountInfoElement:P,accountInfoHrefForTxt:O,accountInfoGetNameFile:L,accountInfoSaveAsText:S,accountInfoSaveAsImg:I}=Tu(),R=()=>{c||(u.modules.registrationEvents.trackRegPopupSave("email_enter"),c=!0)},{availableToSaveCredentialsOptions:b}=qb();return(D,w)=>{$_$();const U=B("UiCaption"),F=B("UiButton");return g(),$(yR,{shouldShowCloseButton:!o(l),class:"registration-complete-form-account-info"},{beforeTitle:y(()=>$_$() && [C(pR,{ref_key:"accountInfoElement",ref:P},null,512)]),title:y(()=>$_$() && [G(N(D.$T("reg_thanks_registration")),1)]),default:y(()=>$_$() && [A("div",bR,[C(lR,{password:o(T),login:o(E),isShowCopyFieldsBtn:o(b).copyData},null,8,["password","login","isShowCopyFieldsBtn"])]),A("p",RR,N(D.$T("reg_save_id_pass")),1),A("div",AR,[o(b).asFile?(g(),$(F,{key:0,onClick:o(S),tag:"a",href:o(O),download:o(L)("txt"),isLink:"",size:o(M).l,theme:o(he).primary,block:"",class:"registration-complete-form-account-actions__action"},{default:y(()=>$_$() && [C(U,{size:o(M).m},{default:y(()=>$_$() && [G(N(D.$T("reg_save_as_txt")),1)]),_:1},8,["size"])]),_:1},8,["onClick","href","download","size","theme"])):Y("",!0),o(b).asImage?(g(),$(F,{key:1,onClick:o(I),theme:o(he).primary,size:o(M).l,block:"",class:"registration-complete-form-account-actions__action"},{default:y(()=>$_$() && [C(U,{size:o(M).m},{default:y(()=>$_$() && [G(N(D.$T("reg_save_as_img")),1)]),_:1},8,["size"])]),_:1},8,["onClick","theme","size"])):Y("",!0)]),!o(f)&&o(b).onEmail?(g(),k("div",PR,[C(o(Co),{modelValue:o(d).vmodel,"onUpdate:modelValue":w[0]||(w[0]=z=>{ $_$(); o(d).vmodel=z; }),onInput:o(d).validate,onFocus:R,type:"email",disabled:o(d).field.disabled,error:o(d).error,label:D.$T("reg_enter_email"),hasInnerOffset:!1,class:"registration-complete-form-account-actions__action"},null,8,["modelValue","onInput","disabled","error","label"]),C(F,{onClick:o(h),disabled:o(p),size:o(M).l,block:"",theme:o(he).accent,class:"registration-complete-form-account-actions__action"},{default:y(()=>$_$() && [C(U,{size:o(M).m},{default:y(()=>$_$() && [G(N(D.$T("reg_send_on_email")),1)]),_:1},8,["size"])]),_:1},8,["onClick","disabled","size","theme"])])):Y("",!0),o(a).showWarningInfo?(g(),$(vR,{key:1,class:"registration-complete-form-account-info__warning"})):Y("",!0),o(_)?(g(),k("p",LR,N(o(_)),1)):Y("",!0)]),_:1},8,["shouldShowCloseButton"])}}}),NR=j(wR,[["__scopeId","data-v-a99e53a4"]]),DR=()=>{$_$();const e=U_(),t=k_(),n=m(()=>{var r,i;return(i=(r=e.windowSize)==null?void 0:r.height)!=null?i:0});return{windowWidth:m(()=>{var r,i;return(i=(r=e.windowSize)==null?void 0:r.width)!=null?i:0}),windowHeight:n,watchWindowResize:t==null?void 0:t.watch,unwatchWindowResize:t==null?void 0:t.unwatch}},ll={A:()=>X(()=>import("./892c6f8e0f.js").then(e=>e.useRegistrationFirstDepositConfig),__vite__mapDeps([5,1]),import.meta.url),B:()=>X(()=>import("./a7e15c4845.js").then(e=>e.useRegistrationFirstDepositConfig),__vite__mapDeps([4,5,1]),import.meta.url)};async function Cu(){$_$();var e,t,n;const r=(t=(e=Vo().$multiBuildConfig)==null?void 0:e.useRegistrationFirstDepositConfig)==null?void 0:t.variant;return((n=ll[r])!=null?n:ll.A)().then(a=>{var l;return(l=a.default)!=null?l:a})}const UR=Object.freeze(Object.defineProperty({__proto__:null,default:Cu},Symbol.toStringTag,{value:"Module"}));var kR=Object.defineProperty,cl=Object.getOwnPropertySymbols,BR=Object.prototype.hasOwnProperty,$R=Object.prototype.propertyIsEnumerable,ul=(e,t,n)=>t in e?kR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,FR=(e,t)=>{for(var n in t||(t={}))BR.call(t,n)&&ul(e,n,t[n]);if(cl)for(var n of cl(t))$R.call(t,n)&&ul(e,n,t[n]);return e};const MR={class:"registration-first-deposit__title"},GR={class:"registration-first-deposit__text"},HR=W({__name:"RegistrationFirstDeposit",async setup(e){$_$();let t,n,s,r;const i=([s,r]=Po(()=>Cu()),s=([t,n]=v(()=>s),t=await t,n(),t),r(),s),{imageKeys:a,hasPadding:l,isBackgroundThemePlain:c,removeTopBorder:u,bonusTitle:_,bonusText:d,style:f}=i(),p=Ot(),h=Kt(),{windowWidth:E}=DR(),T=ti(),P=qt(),O=m(()=>{$_$();let z=a.Desktop;return o(E)<580?z=a.Mobi:o(E)<1024&&(z=a.Tablet),z.map(q=>`url('${T(q)}')`).join(", ")}),L=m(()=>$_$() && FR({backgroundImage:o(O)},f)),S={"registration-first-deposit--padding":!!l,"registration-first-deposit--border-top":!u},I={"registration-first-deposit__background--plain-theme":!!c},R=ve(),{routerPushWithLang:b}=ot(m(()=>R.getLanguage)),{choiceBonus:D,registrationAnalytics:w}=me(),U=async()=>{$_$();var z;let q,ee;w.getBonus();const oe=([q,ee]=v(()=>$_$() && h.getItem(tt.SELECTED_BONUS_ID)),q=await q,ee(),q||void 0)||((z=o(D))==null?void 0:z.value);oe&&w.bonusSelectAfterRegistration(oe),P.registration.trackDepositClick()},F=()=>{$_$();p.checkShow(fn.Registration)&&p.hide(),U(),b({name:Ls.RECHARGE})};return(z,q)=>{$_$();const ee=B("UiCaption"),x=B("UiButton");return g(),k("div",{class:Re(["registration-first-deposit",S])},[A("div",{style:cn(o(L)),class:Re(["registration-first-deposit__background",I])},[A("h2",MR,N(o(_)),1),A("p",GR,N(o(d)),1),C(x,{onClick:F,class:"registration-first-deposit__btn",theme:o(he).accent,size:o(M).m},{default:y(()=>$_$() && [C(ee,{size:o(M).m},{default:y(()=>$_$() && [G(N(z.$T("header_deposit")),1)]),_:1},8,["size"])]),_:1},8,["theme","size"])],4)])}}}),VR=j(HR,[["__scopeId","data-v-1ec188b7"]]),zR=W({name:"RegistrationCompleteForm",components:{RegistrationFirstDeposit:VR,RegistrationCompleteFormAccountInfo:NR,RegistrationPayments:Ii},setup(){$_$();const{showFirstDeposit:e}=Vs(),t=_e(267),{isRedirectAvailable:n,goToRedirectUrl:s}=po(),{isModalMode:r}=En(),{additionalConfig:i}=me(),{isNeedToShowIdentificationBonusModal:a}=yn(),l=m(()=>$_$() && o(e)||o(i).showDepositBanner);let c;const u=at().fullPath,_=()=>{c=hi(({to:d})=>new Promise(f=>{$_$();if(d.fullPath===u){f(!0),c==null||c(),Yt(_);return}f(!1),o(a)||s(),c==null||c()}))};return r?ks(()=>{$_$();o(a)||s()}):o(n)&&_(),ao(()=>c==null?void 0:c()),{isShowRegistrationPayments:t,showDeposit:l}}}),WR={class:"registration-complete-form"};function KR(e,t,n,s,r,i){$_$();const a=B("RegistrationCompleteFormAccountInfo"),l=B("RegistrationFirstDeposit"),c=B("RegistrationPayments");return g(),k("div",WR,[C(a,{class:"registration-complete-form__info"}),e.showDeposit?(g(),$(l,{key:0,class:"registration-complete-form__deposit"})):Y("",!0),e.isShowRegistrationPayments?(g(),$(c,{key:1,class:"registration-complete-form__payments"})):Y("",!0)])}const YR=j(zR,[["render",KR],["__scopeId","data-v-3558ae25"]]),_l=50,jR=W({name:"Timeline",components:{UiTimeline:tc},props:{time:{type:Number,default:60,validator(e){return e>=0}},ico:{type:String,default:void 0}},setup(e){$_$();const t=eh(),{time:n}=un(e),s=Go("timeIsUp"),r=J(0),i=J(0);let a;const l=m(()=>{$_$();const d=Math.ceil((o(i)-o(r))/1e3);return t.formatDuration(d)}),c=m(()=>$_$() && o(i)?100*o(r)/o(i):0),u=()=>{$_$();ge(a)&&clearInterval(a)},_=()=>{$_$();i.value=o(n)*1e3,r.value=0,o(i)>0&&(a=B_(()=>{$_$();o(i)>o(r)?r.value+=_l:(u(),s())},_l))};return Ps(_),ao(u),xe(n,()=>{u(),_()}),{progress:c,formattedRemainingTime:l,sizeType:M}}});function qR(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("UiTimeline");return g(),$(l,{percent:e.progress,class:"timeline"},{icon:y(()=>$_$() && [e.ico?(g(),$(a,{key:0,ico:e.ico,size:e.sizeType.xs},null,8,["ico","size"])):Y("",!0)]),content:y(()=>$_$() && [G(N(e.formattedRemainingTime),1)]),_:1},8,["percent"])}const Si=j(jR,[["render",qR]]),xR={class:"registration-complete-phone__content"},XR={key:0},QR={key:0},ZR=["innerHTML"],JR={class:"registration-complete-phone__footer"},eA=W({__name:"RegistrationCompletePhone",setup(e){$_$();const t=Be(),{responsePhone:n}=to(),s=ve(),{redirectQueryButtonText:r}=jo(),i=at(),a=m(()=>s.isUserAuth),{isRedirectAvailable:l,goToRedirectUrl:c,TIME_TO_REDIRECT:u,registrationRedirectTranslate:_}=po(),{goToMainRoute:d}=Ti(),{closeRegistrationModal:f}=ts(),{showIdentificationModal:p,isNeedToShowIdentificationBonusModal:h}=yn(),E=o(l)?"registration_to_personal_office":"main_ok",T=m(()=>$_$() && $_(o(n))),P=()=>$_$() && o(l)?c():d(),O=()=>{$_$();if(o(h)){o(i).name==="registration"?d():(f(),p(o(i)));return}P()},{additionalConfig:L}=me(),S=m(()=>$_$() && o(r)||o(L).phoneButtonText||t(E));return(I,R)=>{$_$();const b=B("UiCaption"),D=B("UiButton");return o(a)?(g(),$(o(oc),{key:1,onClose:O,status:o(F_).SUCCESS,buttonCloseTitle:I.$T("main_close"),class:"registration-complete-phone"},jn({title:y(()=>$_$() && [G(N(I.$T("phone_success_reg_title")),1)]),footer:y(()=>$_$() && [A("div",JR,[o(l)?(g(),$(Si,{key:0,onTimeIsUp:P,time:o(u),class:"registration-complete-phone__timeline"},null,8,["time"])):Y("",!0),C(D,{onClick:O,theme:o(he).accent},{default:y(()=>$_$() && [C(b,{size:o(M).m},{default:y(()=>$_$() && [G(N(o(S)),1)]),_:1},8,["size"])]),_:1},8,["theme"])])]),default:y(()=>$_$() && [A("div",xR,[A("p",null,N(I.$T("phone_success_reg_text")),1),o(l)?(g(),k("p",XR,N(I.$T("registration_phone_send_message",{phone:`+${o(T)}`})),1)):Y("",!0)])]),_:2},[o(r)?void 0:{name:"info",fn:y(()=>$_$() && [o(l)?(g(),k("div",QR,N(I.$T(o(_))),1)):(g(),k("div",{key:1,innerHTML:I.$T("phone_success_reg_info",{phone:o(n)})},null,8,ZR))]),key:"0"}]),1032,["status","buttonCloseTitle"])):(g(),$(o(pt),{key:0}))}}}),tA=j(eA,[["__scopeId","data-v-87c55cda"]]),dl=Object.freeze({CASINO_BONUS:"casino-bonus",DAILY_BONUS:"daily-bonus",FREEBET:"freebet",PERCENT:"percent",PROMOBALS:"promobals",REFUSE_BONUSES:"refuse-bonuses",SPORT_BONUS:"sport-bonus",TACTICAL_BONUS:"tactical-bonus",CARD_DIAMOND_BASKETBALL_BALL:"card-diamond-basketball-ball"}),vi=Object.freeze({PHONE_QR:"phone-qr",PHONE_QR_PROMO:"phone-qr-promo",PHONE_MODAL:"modal-phone",PHONE_MODAL_LOCK_OPEN:"modal-phone-lock-open",PHONE_MODAL_LOCK_CLOSE:"modal-phone-lock-close",PHONE_MODAL_QR:"modal-phone-qr",PHONE_MODAL_AUTH:"modal-phone-auth",PHONE_MODAL_RELOAD:"modal-phone-reload",MODAL_ENVELOPE:"modal-envelope",MODAL_ADBLOCK:"modal-adblock",MODAL_PASSWORD_RESET:"modal-password-reset",MODAL_USER_ATTENTION:"modal-user-attention",MODAL_USER_EXISTS:"modal-user-exists",MODAL_OAUTH:"modal-auth",MODAL_IDENTIFICATION:"modal-identification",MODAL_PASSPORT:"modal-passport",MODAL_BONUS:"modal-bonus",MODAL_GIFT:"modal-gift",MODAL_GIFT_BOX:"modal-gift-box",MODAL_LIMIT_AGE:"modal-limit-age",MODAL_PROMO_BONUSES:"modal-promo-bonuses",MODAL_MAIL_SEND:"modal-mail-send",MODAL_DATA_SAVED:"modal-data-saved",VERIFICATION_SUCCESS_MOBILE:"verification-success-mobile",VERIFICATION_SUM_SUB_SUCCESS_MOBILE:"verification-sum-sub-success-mobile",VERIFICATION_SUCCESS_DESKTOP:"verification-success-desktop",LOYALTY_RESEARCH_GRADE:"loyalty-research-grade",BETTING_ALPHABET_HEADER_BG:"betting-alphabet-header-bg",BETTING_ALPHABET_CHECKLIST:"betting-alphabet-checklist",BAG:"bag",PAYING_HAND:"paying-hand",DIAMOND:"diamond",DIAMOND_MOBILE:"diamond-mobile",GOOGLE:"google",TELEGRAM:"telegram",METAMASK:"metamask",METAMASK_BG:"metamask-bg",DISCORD:"discord",TWITCH:"twitch",TWITTER:"twitter",FOOTBALL_GOAL:"football-goal",CHAMP_PRELOADER_MAP:"champ-preloader-map",SHOWCASE_DECORATION_LINE:"showcase-decoration-line",SHOWCASE_CURRENCIES_OVERLAY:"showcase-currencies-overlay",SUMMER_SLOT_CUP:"summer-slot-cup",TIMER:"timer",SHIELD:"shield",SUPPORT:"support",GIFTS_REMINDER:"gifts-reminder",GIFTS_REMINDER_REFLECTION:"gifts-reminder-reflection",COMPLETED_PROFILE:"completed-profile",NUMBER_CONFIRMATION:"number-confirmation",GOOGLE_PLAY:"google-play",JOYPAD:"joypad",INVITE_FRIENDS_BONUS_COMPACT:"invite-friends-bonus-compact",INVITE_FRIENDS_BONUS_DESKTOP:"invite-friends-bonus-desktop",INVITE_FRIENDS_BONUS_MOBILE:"invite-friends-bonus-mobile",APPLE:"apple",LINE:"line",EMAIL_SUBSCRIPTION_WIDGET_ENVELOPES:"email-subscription-widget-envelopes",BONUS_ACCOUNT_WIDGET_GIFTS:"bonus-account-widget-gifts"}),hs=Object.freeze({AGE_18:"age-18",AGE_19:"age-19",AGE_20:"age-20",AGE_21:"age-21",CIRCLE_RHOMBUS:"circle-rhombus",FILE_CERTIFICATE:"file-certificate",FOOTBALL_GATES_BALL:"football-gates-ball",GIFT_PRESENT:"gift-present",HARIDUS_JA_TEADUSMINISTEERIUM:"haridus-ja-teadusministeerium",LOCK_SSL:"lock-ssl",MASTERCARD:"mastercard",SEVENS_STARS:"sevens-stars",SHIELD_LOCK:"shield-lock",TRUSTLY:"trustly",VISA:"visa"}),Iu="registration",oA=Object.freeze({PENALTY_FOOTBALL_GOAL:"penalty-football-goal",FOOTBALL_CORNER:"scoreboard-timeline-football-corners",FOOTBALL_GOAL:"scoreboard-timeline-football-goals",FOOTBALL_YELLOW_CARD:"scoreboard-timeline-football-yellow-cards",FOOTBALL_RED_CARD:"scoreboard-timeline-football-red-cards",MISSED_PENALTY:"scoreboard-timeline-missed-penalty",FIRST_PAT:"scoreboard-timeline-first-pat",SECOND_PAT:"scoreboard-timeline-second-pat",AMERICAN_FOOTBALL_FIELD_GOAL:"scoreboard-timeline-american-football-field-goal",AMERICAN_FOOTBALL_TOUCHDOWN:"scoreboard-timeline-american-football-touchdown",PUCK:"scoreboard-timeline-puck",CARDS:"scoreboard-timeline-cards",WHISTLE:"scoreboard-timeline-whistle",S_SHIELD:"scoreboard-timeline-s-shield",RUGBY_GOAL:"scoreboard-timeline-rugby-goal",RUGBY_TRY:"scoreboard-timeline-rugby-try",RUGBY_PENALTY:"scoreboard-timeline-rugby-penalty",AUSTRALIAN_FOOTBALL_BEHIND:"scoreboard-australian-football-behind",AUSTRALIAN_FOOTBALL_GOAL:"scoreboard-australian-football-goal",ARROWS:"scoreboard-timeline-arrows",BENCH:"scoreboard-timeline-bench",CIRCLE_BOLT:"scoreboard-timeline-circle-bolt"});oA.CIRCLE_BOLT;const Qe=Object.freeze({ACCOUNT_DISCOUNT:"account-discount",ALARM_CLOCK:"alarm-clock",ALERTS:"alerts",ALL_CATEGORY:"all-category",ANGLE:"angle",ANGLE_BOTTOM:"angle-bottom",ANGLE_LEFT:"angle-left",ANGLE_RIGHT:"angle-right",ANGLE_TOP:"angle-top",ANGLE_DOWN:"angle-down",ANGLE_UP:"angle-up",APP_DESKTOP:"app-desktop",APP_PHONE:"app-phone",APPLE_OF_FORTUNE:"apple-of-fortune",ARROW_DOWN:"arrow-down",ARROW_DOWN_LEFT:"arrow-down-left",ARROW_MAXIMIZE:"arrows-maximize",ARROW_LEFT_LONG:"arrow-left-long",ARROW_RIGHT:"arrow-right",ARROW_RIGHT_SERIF:"arrow-right-serif",ARROW_SIDE_LEFT:"arrow-side-left",ARROW_SIDE_RIGHT:"arrow-side-right",ARROW_RIGHT_ARROW_LEFT:"arrow-right-arrow-left",ARROW_ROTATE_RIGHT_ARROW_ROTATE_LEFT:"arrow-rotate-right-arrow-rotate-left",ARROW_UP:"arrow-up",ARROW_UP_RIGHT:"arrow-up-right",ARROWS_ALT:"arrows-alt",AWARD:"award",PLANE_AVIATOR:"plane-aviator",BACK:"back",BALL_SCIENTIST:"ball-scientist",BANNER:"banner",BACK_ARROW:"back-arrow",BADGE_GIFT:"badge-gift",BADGE_PERCENT:"badge-percent",BAG_MONEY:"bag-money",BALLONS:"ballons",BALLON_STAR:"baloon-star",BACCARAT:"baccarat",BAR_CARD:"bars-card",BASKET_MONEY:"basket-money",BELL:"bell",BET:"bet",BINOCULARS:"binoculars",BINGO:"bingo",BLOCKED:"blocked",BOLT_LIGHTNING:"bolt-lightning",BONUS:"bonus",BOOK_OPEN:"book-open",BOTTOM_NAVIGATION_TOGGLE:"bottom-navigation-toggle",BROADCAST:"broadcast",BROADCAST_TIME:"broadcast-time",BULB:"bulb",BULLETS:"bullets",BULLETS_NO:"bullets-no",BULLETS_YES:"bullets-yes",BULLHORN:"bullhorn",BULLSEYE_ARROW:"bullseye-arrow",CALCULATOR:"calculator",CALENDAR:"calendar",CALENDAR_CLOCK:"calendar-clock",CALENDAR_EMPTY:"calendar-empty",CAMERA:"camera",CARDS:"cards",CARDS_SPADE:"cards-spade",CHAMP_RESULTS:"champ-results",CASHBACK:"cashback",CASINO:"casino",CASINO_CHIP:"casino-chip",CAST:"cast",CHAMP:"champ",CHAMP_DEFAULT:"champs-default",CHART_ARROW_TOP:"chart-arrow-top",CHART_COLUMN:"chart-column",CHART_PIE_ALT:"chart-pie-alt",CHART_SIMPLE_STAR:"chart-simple-star",CHECK:"check",CHERRY:"cherry",CHEVRON_DOUBLE_DOWN:"chevron-double-down",CHEVRON_DOUBLE_DOWN_RESULTS:"chevron-double-down-results",CHEVRON_DOUBLE_LEFT:"chevron-double-left",CHEVRON_DOUBLE_RIGHT:"chevron-double-right",CHEVRON_DOUBLE_UP:"chevron-double-up",CHEVRON_DOUBLE_UP_RESULTS:"chevron-double-up-results",CHEVRON_DOWN:"chevron-down",CHEVRON_DOWN_RESULTS:"chevron-down-results",CHEVRON_LEFT:"chevron-left",CHEVRON_RIGHT:"chevron-right",CHIP:"chip",CHIP_SPADE:"chip-spade",CIRCLE_CALENDAR_DAYS:"circle-calendar-days",CIRCLE_ELLIPSIS:"circle-ellipsis",CIRCLE_EMPTY_EXCLAMATION:"circle-empty-exclamation",CIRCLE_EMPTY_QUESTION:"circle-empty-question",CIRCLE_INFO:"circle-info",CIRCLE_INFO_SOLID:"circle-info-solid",CIRCLE_PHONE_XMARK:"circle-phone-xmark",CIRCLE_PLAY:"circle-play",CIRCLE_SLICES:"circle-slices",CIRCLE_USER:"circle-user",CIRCLE_USERS:"circle-users",CLIP:"clip",CLOCK:"clock",CLOCK_ROTATE_LEFT:"clock-rotate-left",CLOCK_ROTATE_RIGHT:"clock-rotate-right",CLOCK_FILLED:"clock-filled",COEF_DOWN:"coef-down",COEF_GRAPH:"coef-graph",COEF_UP:"coef-up",COG:"cog",COIN_22:"coin-22",COINS_GROUP:"coins-group",COINS_GROUP_DOLLAR:"coins-group-dollar",COMET_GREEN:"comet-green",COMET_ORANGE:"comet-orange",COMMENT_DOTS:"comment-dots",COMMENT_INFO:"comment-info",COMPACT_VIEW:"compact-view",CONSTRUCTOR_BET:"constructor-bet",COOKIES_COLORED:"cookies-colored",COPY:"copy",COPY_BG_REVERSE:"copy-bg-reverse",COUPON:"coupon",COUPON_ALT:"coupon-alt",COURT_SPORT_LEFT:"court-sport-left",COURT_SPORT_RIGHT:"court-sport-right",CREDIT_CARD_ARROW_DOWN:"credit-card-arrow-down",CREDIT_CARD_ARROW_UP:"credit-card-arrow-up",CREDIT_CARD_ROTATE:"credit-card-rotate",CREDIT_CARD_XMARK:"credit-card-xmark",CRICKET:"cricket",CROWN:"crown",CROWN_FILLED:"crown-filled",CROWN_COLORED:"crown-colored",CROWN_VIP:"crown-vip",CIRCLE_CROWN_SOLID_STROKE:"circle-crown-solid-stroke",CUP:"cup",CUP_EMPTY:"cup-empty",CUBES:"cubes",CUPIS:"cupis",CUSTOMER_SERVICE:"customer-service",CYBER:"cyber",CYBER_SPORTS:"cyber-sports",CIRCLE_XMARK_SOLID:"circle-xmark-solid",CHIP_PERCENT:"chip-percent",CHIP_SPADES:"chip-spades",DART:"dart",DASH_ARROW_ROTATE_RIGHT_TEXT:"dash-arrow-rotate-right-text",DASHED_ROUTE_LINE:"dashed-route-line",DASHBOARD:"dashboard",DASHBOARD_STEPS:"dashboard-steps",DEALER:"dealer",DEFAULT_CHAMP:"default-champ",DESKTOP_NINE:"desktop-nine",DIAMOND:"diamond",DICE:"dice",DICE_COLORED:"dice-colored",DICE_D6:"dice-d6",DICE_THREE:"dice-three",DIAGONAL_LINES:"diagonal-lines",DISPLAY:"display",DOLLAR_SIGN:"dollar-sign",DOLLAR_SIGN_CIRCLE:"dollar-sign-circle",DOT_COLORED:"dot-colored",DOUBLE_PLATE_GROUP:"double-plate-group",DOWNLOAD:"download",DOWN_TINY_DOUBLE_CHEVRON:"down-tiny-double-chevron",DOTS_SQUARE:"dots-square",DROP_WINS:"drop-wins",EARTH_AFRICA:"earth-africa",EDIT:"edit",ELLIPSIS:"ellipsis",ELLIPSIS_HORIZONTAL:"ellipsis-horizontal",EMAIL:"email",ENVELOPE:"envelope",ENVELOPE_OPEN:"envelope-open",ERROR_CROSS:"error-cross",EURO_SIGN:"euro-sign",EVERYTHING:"everything",EXCHANGE_ALT:"exchange-alt",EXCLAMATION:"exclamation",EXCLAMATION_CIRCLE:"exclamation-circle",EXCLAMATION_POINT:"exclamation-point",EXCLAMATION_TRIANGLE:"exclamation-triangle",EXIT:"exit",EXPRESS:"express",EXTERNAL_LINK:"external-link",EYE_SLASH:"eye-slash",EYE:"eye",FACEBOOK_COLORED:"facebook-colored",FACE_HEADSET:"face-headset",FABERGE_EGG:"faberge-egg",FACELESS:"faceless",FAQ:"faq",FAST_GAMES:"fast-games",FAST_REG:"fast-reg",FAST_TICKET_DOLLAR:"fast-ticket-dollar",FAVORITE:"favorite",FIELD_ZONE:"field-zone",FIFTEEN:"fifteen",FILE:"file",FILE_EXCLAMATION:"file-exclamation",FILE_HAMMER:"file-hammer",FILE_LIST:"file-list",FILE_LINES_PEN:"file-lines-pen",FILTER:"filter",FILTER_LINE:"filter-line",FIRE_ALT:"fire-alt",FIRE_TIME:"fire-time",FIRE_FLAME:"fire-flame",FIRE_GRADIENT:"fire-gradient",FIRE_HOLDER:"fire-holder",FIX:"fix",FLAME:"flame",FLAME_COLORED:"flame-colored",FLAME_GRADIENT:"flame-gradient",FLAME_GRADIENT_1:"flame-gradient-1",FLAME_GRADIENT_2:"flame-gradient-2",FLAME_GRADIENT_3:"flame-gradient-3",FLAME_GRADIENT_4:"flame-gradient-4",FLAME_GRADIENT_5:"flame-gradient-5",FOLDER:"folder",FOLDER_PUNK:"folder-punk",FOOTBALL:"football",FOOTBALL_BALL:"football-ball",FOOTBALL_BOOT:"football-boot",FOOTBALL_CORNERS:"football-corners",FOOTBALL_FILTER:"football-filter",FOOTBALL_GOALS:"football-goals",FOOTBALL_RED_CARDS:"football-red-cards",FOOTBALL_RED_YELLOW_CARDS:"football-red-yellow-cards",FOOTBALL_SUBSTITUTION:"football-substitution",FOOTBALL_YELLOW_CARDS:"football-yellow-cards",FORTH:"forth",FORWARD_ARROW:"forward-arrow",FREE:"free",FRIENDS:"friends",FULL_REG:"full-reg",FULL_SCREEN_ALT:"full-screen-alt",FULL_SCREEN_OPEN:"full-screen-open",FULL_SCREEN_CLOSE:"full-screen-close",FULL_VIEW:"full-view",FULLSCREEN:"fullscreen",GAME_777:"game-777",GAMEPAD:"gamepad",GAMEPAD_BASKETBALL:"gamepad-basketball",GAMEPAD_MODERN_ALT:"gamepad-modern-alt",GEAR:"gear",GIFT:"gift",GIFT_SOLID:"gift-solid",GIFT_PERCENT:"gift-percent",GLASS:"glass",GLOBE:"globe",GLOBE_ASIA:"globe-asia",GRID_2:"grid-2",GRID_CHECKBOXES:"grid-checkboxes",HAND_CIRCLE_DOLLAR:"hand-circle-dollar",HANDSHAKE:"handshake",HANDSHAKE_CIRCLE_DOLLAR:"handshake-circle-dollar",HEADSET:"headset",HEADSET_FILLED:"headset-filled",HEALTH:"health",HEART:"heart",HEART_SOLID:"heart-solid",HIDE_AGENTS:"hide-agents",HISTORY:"history",HOME:"home",HOURGLASS:"hourglass",HOURGLASS_HALF:"hourglass-half",IDENTIFICATION:"identification",ISLAND_TREE_PALM:"island-tree-palm",IMAGE:"image",INFO:"info",INFO_CIRCLE:"info-circle",INFO_EMPTY_CIRCLE:"info-empty-circle",INSTAGRAM_COLORED:"instagram-colored",INVISIBLE:"invisible",ITEMS:"items",JOYSTICK:"joystick",KEY:"key",KEY_TILTED:"key-tilted",LANGUAGE:"language",LEFT_TINY_DOUBLE_CHEVRON:"left-tiny-double-chevron",LICENSES:"licenses",LIGHT_LONG_ARROW_LEFT:"light-long-arrow-left",LIGHT_LONG_ARROW_RIGHT:"light-long-arrow-right",LIGHT_STAR_EMPTY:"light-star-empty",LIGHTNING:"lightning",LIGHTNING_FILLED:"lightning-filled",LINK:"link",LIST:"list",LIVE:"live",LOCK:"lock",LOCK_OUTLINE:"lock-outline",LOGIN:"login",LOGOUT:"logout",LONG_ARROW_RIGHT:"long-arrow-right",LOTTO:"lotto",MAGNIFIER:"magnifier",MAGNIFYING_GLASS:"magnifying-glass",MAGNIFYING_GLASS_SOLID:"magnifying-glass-solid",MAGNIFYING_GLASS_XMARK:"magnifying-glass-xmark",MAILING:"mailing",MARKER_LIVE:"marker-live",MEGAPHONE:"megaphone",MEGA_WAYS:"mega-ways",MENU:"menu",MENU_MOBILE:"menu-mobile",MESSAGE:"message",MESSAGES:"messages",MESSAGE_DOLLAR:"message-dollar",MESSAGE_OUTLINE:"message-outline",MESSAGES_QUESTION:"messages-question",MICROPHONE:"microphone",MINIMIZE_SCREEN:"minimize-screen",MINUS:"minus",MINUS_CIRCLE:"minus-circle",MOBILE_ARROW_DOWN:"mobile-arrow-down",MONEY:"money",MONEY_BILL_ALT:"money-bill-alt",MORE:"more",MORE_DESKTOP:"more-desktop",NOTIFICATION_ALERT:"notification-alert",NOTIFICATION_DENIED:"notification-denied",NOTIFICATION_ERROR:"notification-error",NOTIFICATION_FAIL:"notification-fail",NOTIFICATION_INFO:"notification-info",NOTIFICATION_PENDING:"notification-pending",NOTIFICATION_QUESTION:"notification-question",NOTIFICATION_SUCCESS:"notification-success",NOTIFICATION_WARNING:"notification-warning",OLYMPIAD:"olympiad",OLYMPIC_TORCH:"olympic-torch",OLYMPIC_TORCH_COLORED:"olympic-torch-colored",ONE_AND_ZERO:"one-and-zero",ONE_CLICK:"one-click",ONLINE_CONSULTANT:"online-consultant",OTHER:"other",PAPER:"paper",PAR:"par",PASSPORT:"passport",PAUSE:"pause",PAUSE_CIRCLE:"pause-circle",PAYMENT_TERMINAL:"payment-terminal",PENALTY_MISSING:"penalty-missing",PENALTY_WIN:"penalty-win",PERCENT:"percent",PHONE:"phone",PHONE_ALT:"phone-alt",PHONE_DOLLAR:"phone-dollar",PHONE_HANGUP:"phone-hangup",PHONE_MISSED:"phone-missed",PHONE_XMARK:"phone-xmark",PHONE_REG:"phone-reg",PHONE_REVERT:"phone-revert",PLATE_GROUP:"plate-group",PLANET:"planet",PLAY:"play",PLAY_CIRCLE:"play-circle",PLAYER:"player",PLAYER_BET:"player-bet",PLUS:"plus",PLUS_CIRCLE:"plus-circle",PRAGMATIC_PLAY:"progmatic-play",POLITICIAN_PERSON:"politician-person",POPULARS:"populars",POKER:"poker",POWER_OFF:"power-off",PRESENTATION_SCREEN:"presentation-screen",PRINT:"print",PROMO:"promo",PROMO_CHECK:"promo-check",PROMO_SPORT:"promo-sport",PROVIDERS:"providers",PUZZLES:"puzzles",QR_CODE:"qr-code",QUESTION:"question",QUOTE:"quote",RANDOM:"random",RANKING_TROPHY:"ranking-trophy",RATING:"rating",RECEIPT:"receipt",RECENT:"recent",RECTANGLE_CHART_LINE_DOTS:"rectangle-chart-line-dots",REFRESH:"refresh",REGISTRATION:"registration",REMOVE:"remove",RENEW:"renew",REPLY:"reply",REQUEST:"request",RESULT_COEF:"result-coef",RESULTS:"results",RETRY:"retry",REWARD_SYSTEM:"reward-system",RIGHT_TINY_DOUBLE_CHEVRON:"right-tiny-double-chevron",ROCKET:"rocket",ROULETTE:"roulette",ROULETTE_777:"roulette-777",ROULETTE_SIMPLE:"roulette-simple",SACK:"sack",SCALE:"scale",SCALES:"scales",SCOREBOARD_TWO_ZERO:"scoreboard-two-zero",SQUARE_ARROW_UP_RIGHT:"square-arrow-up-right",SEARCH:"search",SEARCH_REGULAR:"search-regular",SELECTION_CHECK:"selection-check",SEND_MESSAGE:"send-message",SETTINGS:"settings",SETTINGS_FILLED:"settings-filled",SEVEN_BALL:"seven-ball",SEVEN_RECTANGLE_VERTICAL_HISTORY:"seven-rectangle-vertical-history",SHARE:"share",SHIELD:"shield",SHIELD_EXCLAMATION:"shield-exclamation",SHIELD_CHECK:"shield-check",SHIELD_DOLLAR:"shield-dollar",SHIELD_OUTLINE_CHECK:"shield-outline-check",SHOP:"shop",SHOP_COLORED:"shop-colored",SIGN_IN_ALT:"sign-in-alt",SIGN_OUT_ALT:"sign-out-alt",SIGN_UP:"sign-up",SIGNAL_STREAM:"signal-stream",SLIDERS_H:"sliders-h",SLOT_MACHINE:"slot-machine",SMS:"sms",SOC_REG:"soc-reg",SORT:"sort",SORT_BOLD:"sort-bold",SOUND_OFF:"sound-off",SPADE:"spade",SPADE_ALT:"spade-alt",SPIN_MACHINE:"spin-machine",SPORT:"sport",SPOT_DOLLAR:"spot-dollar",SQUARE_POLL_VERTICAL:"square-poll-vertical",STADIUM:"stadium",STAIRS:"stairs",STAR:"star",STAR_EMPTY:"star-empty",STAR_OUTLINED:"star-outlined",SLIDERS:"sliders",STAR_HALF:"star-half",STAR_ONE:"star-one",STAR_PLUS:"star-plus",STAR_STICK:"star-stick",STATS:"stats",STATUS_SUCCESS:"status-success",STEPS_FLOW:"steps-flow",STOPWATCH:"stopwatch",STREAM:"stream",SUCCESS_ARROW:"success-arrow",SUPPORT_COLORED:"support-colored",SWITCH_OFF:"switch-off",SWITCH_TYPE_DOTS:"switch-type-dots",SYNC_ALT:"sync-alt",TABLE_VIEW:"table-view",TABLET_MOBILE:"tablet-mobile",TALON:"talon",TEAM_CASH_CROWN:"team-cash-crown",TELEGRAM_COLORED:"telegram-colored",TELEGRAM_DOLLAR:"telegram-dollar",TELEGRAM_ROUNDED:"telegram-rounded",TH_LARGE:"th-large",TH_LARGE_PLAY:"th-large-play",THUMBS_UP:"thumbs-up",TICKET:"ticket",TICKET_DOLLARS:"ticket-dollars",TICKET_PERFORATED:"ticket-perforated",TICKET_SIMPLE:"ticket-simple",TICKET_STAR:"ticket-star",TIME:"time",TIME_HALF:"time-half",TIMER:"timer",TIMES:"times",TOGGLE_OFF:"toggle-off",TOGGLE_ON:"toggle-on",TONGUE:"tongue",TOTO:"toto",TOP_EVENTS:"top-events",TOUR_GRID:"tour-grid",TOUR_TABLE:"tour-table",TRANSLATION:"translation",TRASH:"trash",TRASH_ALT:"trash-alt",TRASH_CAN:"trash-can",TRIANGLE_EMPTY_EXCLAMATION:"triangle-empty-exclamation",TRIANGLE_SOLID_EXCLAMATION:"triangle-solid-exclamation",TRIANGLE_POWERBET:"triangle-powerbet",TROPHY_EURO_2024:"trophy-euro-2024",TROPHY_STAR:"trophy-star",TWENTY_ONE:"twenty-one",TWENTY_ONE_POINTS:"21-points",TWITTER_COLORED:"twitter-colored",CUP_STAR:"cup-star",UPDATE:"update",UPLOAD:"upload",USERS:"users",USER:"user",USER_LINE:"user-line",USER_ACCEPT:"user-accept",USER_BAN:"user-ban",USER_CIRCLE:"user-circle",USER_GROUP:"user-group",USER_LINES:"user-lines",USER_SQUARE:"user-square",USER_STAR:"user-star",VIP_CROWN:"vip-crown",VISIBLE:"visible",VOLUME:"volume",VOLUME_XMARK:"volume-xmark",VIP_TABLES:"vip-tables",WALLET:"wallet",WALLET_ALT:"wallet-alt",WARNING:"warning",WARNING_CIRCLE:"warning-circle",WATER_TEMPERATURE:"weather-water-temp",WAVE_LENGTH:"weather-wave-length",WEATHER_HUMIDITY:"weather-humidity",WEATHER_PRESSURE:"weather-pressure",WEATHER_TEMP:"weather-temp",WEATHER_WIND:"weather-wind",WELCOME_GIFT:"welcome-gift",WHEEL:"wheel",WHEEL_OF_FORTUNE:"wheel-of-fortune",WINDOW:"window",WINDOW_OPEN:"window-open",WREATH_LAUREL_STAR:"wreath-laurel-star",XMARK:"xmark",ZERO_ZERO:"zero-zero",ZONE:"zone",ZOOM_IN:"zoom-in",ELLIPSIS_VERTICAL:"ellipsis-vertical",TO_HOME_SCREEN:"to-home-screen"});Object.freeze([Qe.LONG_ARROW_RIGHT,Qe.BACK,Qe.BET,Qe.FORTH,Qe.FORWARD_ARROW,Qe.ANGLE_LEFT,Qe.ANGLE_RIGHT,Qe.ARROW_RIGHT_SERIF,Qe.CHEVRON_DOUBLE_LEFT,Qe.CHEVRON_DOUBLE_RIGHT,Qe.CHEVRON_LEFT,Qe.CHEVRON_RIGHT,Qe.FIX,Qe.FILE_LIST,Qe.LIGHT_LONG_ARROW_LEFT,Qe.LIGHT_LONG_ARROW_RIGHT,Qe.LOGOUT,Qe.SIGN_OUT_ALT,Qe.PHONE_REVERT,Qe.STAR_HALF]);const nA=W({name:"AuthFormAfterReg_F",components:{UiField:Co},props:{login:{type:String,default:""},password:{type:String,default:""}},setup(e){$_$();const{authFormByPassLoading:t,authFormByPassIconForPasswordInput:n,authFormByPassTitleTogglePassword:s,authFormByPassSubmitDisabled:r,authFormByPassFieldsDisabled:i,authFormByPassEmailField:a,authFormByPassPasswordField:l,authFormByPassSubmit:c,authFormByPassToggleViewPassword:u}=pi({defaultLogin:e.login,defaultPasswordLogin:e.password});return{iconName:Ce,themeType:he,sizeType:M,authFormByPassLoading:t,authFormByPassEmailField:a,authFormByPassPasswordField:l,authFormByPassFieldsDisabled:i,authFormByPassSubmitDisabled:r,authFormByPassTitleTogglePassword:s,authFormByPassIconForPasswordInput:n,authFormByPassSubmit:c,authFormByPassToggleViewPassword:u,copyUserLogin:()=>{$_$();const d=`${a.value} ${l.value}`;jr(d)}}},methods:{inject:dt}});function sA(e,t,n,s,r,i){$_$();const a=B("UiIco"),l=B("UiButton"),c=B("UiField"),u=B("UiCaption"),_=Xe("tooltip");return g(),k("form",{onSubmit:t[2]||(t[2]=Mo((...d)=>e.authFormByPassSubmit&&e.authFormByPassSubmit(...d),["prevent"])),class:"auth-form-after-reg"},[C(c,{ref:"loginInput",modelValue:e.authFormByPassEmailField.vmodel,"onUpdate:modelValue":t[0]||(t[0]=d=>e.authFormByPassEmailField.vmodel=d),error:e.authFormByPassEmailField.error,disabled:e.authFormByPassFieldsDisabled,label:e.$T("auth_user_login"),class:"auth-form-after-reg__field"},{afterContent:y(()=>$_$() && [Te((g(),$(l,{onClick:e.copyUserLogin,"aria-label":e.$T("main_copy"),narrow:"",class:"auth-form-after-reg__button"},{default:y(()=>$_$() && [C(a,{size:e.sizeType.xs,ico:e.iconName.COPY_BG_REVERSE},null,8,["size","ico"])]),_:1},8,["onClick","aria-label"])),[[_,e.$T("main_copy")]])]),_:1},8,["modelValue","error","disabled","label"]),C(c,{ref:"passwordInput",modelValue:e.authFormByPassPasswordField.vmodel,"onUpdate:modelValue":t[1]||(t[1]=d=>e.authFormByPassPasswordField.vmodel=d),error:e.authFormByPassPasswordField.error,disabled:e.authFormByPassFieldsDisabled,label:e.authFormByPassPasswordField.field.placeholder,type:e.authFormByPassPasswordField.field.type,class:"auth-form-after-reg__field"},{afterContent:y(()=>$_$() && [Te((g(),$(l,{ref:"toggleView",onClick:e.authFormByPassToggleViewPassword,"aria-label":e.authFormByPassTitleTogglePassword,narrow:"",class:"auth-form-after-reg__button"},{default:y(()=>$_$() && [C(a,{size:e.sizeType.xxs,ico:e.authFormByPassIconForPasswordInput},null,8,["size","ico"])]),_:1},8,["onClick","aria-label"])),[[_,e.authFormByPassTitleTogglePassword]])]),_:1},8,["modelValue","error","disabled","label","type"]),C(l,{ref:"submit_button",type:"submit",theme:e.themeType.accent,loading:e.authFormByPassLoading,disabled:e.authFormByPassSubmitDisabled,class:"auth-form-after-reg__submit",size:e.sizeType.l},{default:y(()=>$_$() && [C(u,{size:e.sizeType.m},{default:y(()=>$_$() && [G(N(e.$T("auth_enter")),1)]),_:1},8,["size"])]),_:1},8,["theme","loading","disabled","size"])],32)}const rA=j(nA,[["render",sA],["__scopeId","data-v-97e302ba"]]),iA=W({__name:"RegistrationCompleteAndAuth",async setup(e){$_$();let t,n,s,r;const a=([s,r]=Po(()=>xo()),s=([t,n]=v(()=>s),t=await t,n(),t),r(),s)(),{isNeedToShowIdentificationBonusModal:l}=yn(),{userLogin:c,userPassword:u,additionalConfig:_}=me(),{regCompleteTranslationKeyText:d}=o(_),f=m(()=>d!=null?d:"check_spam_folder"),p=oi.WINDOW;Tn();const{isRedirectAvailable:h,goToRedirectUrl:E}=po(),{goToMainRoute:T}=Ti(),P=()=>{$_$();o(l)||(o(h)?E():T())};return(O,L)=>{$_$();const S=ws,I=B("UiCaption");return g(),$(o(Wo),{onHideModal:P,closeButtonTitle:O.$T("main_close"),theme:o(a).UiModal,class:"registration-complete-and-auth"},{image:y(()=>$_$() && [C(o(xn),{type:o(p),theme:o(a).UiModalImage,coloredSvgName:o(vi).MODAL_OAUTH},null,8,["type","theme","coloredSvgName"])]),default:y(()=>$_$() && [C(o(Ko),{color:o(a).UiModalTitle},{default:y(()=>$_$() && [G(N(O.$T("need_auth")),1)]),_:1},8,["color"]),C(o(ro),null,{default:y(()=>$_$() && [A("div",null,N(O.$T("mail_will_be_send")),1),A("div",null,N(O.$T("please_confirm_mail")),1)]),_:1}),C(o(ro),null,{default:y(()=>$_$() && [C(I,{size:o(M).l,weight:o(Ke).BOLD},{default:y(()=>$_$() && [C(S,{tmp:o(f)},null,8,["tmp"])]),_:1},8,["size","weight"])]),_:1}),C(o(rA),{login:o(c),password:o(u)},null,8,["login","password"])]),_:1},8,["closeButtonTitle","theme"])}}}),aA=j(iA,[["__scopeId","data-v-e18a6c80"]]),lA=W({name:"RegistrationCompleteError",setup(){$_$();const{errorText:e}=Vs(),t=ve(),{getLinkWithLang:n}=ot(m(()=>t.getLanguage)),s=n({name:Ao.HOME});return{ColorType:Wt,WeightType:Ke,homeLink:s,errorText:e,themeType:he,sizeType:M}}}),cA={class:"registration-complete-error"};function uA(e,t,n,s,r,i){$_$();const a=B("UiCaption"),l=B("UiButton"),c=qn;return g(),k("div",cA,[C(a,{size:e.sizeType.l,color:e.ColorType.clrStrong,weight:e.WeightType.BOLD,class:"registration-complete-error__title"},{default:y(()=>$_$() && [G(N(e.errorText),1)]),_:1},8,["size","color","weight"]),C(c,{to:e.homeLink,custom:""},{default:y(({href:u,navigate:_})=>$_$() && [C(l,{onClick:_,tag:"a",href:u,size:e.sizeType.l,theme:e.themeType.primary,class:"registration-complete-error__button"},{default:y(()=>$_$() && [G(N(e.$T("error_page_home_link")),1)]),_:2},1032,["onClick","href","size","theme"])]),_:1},8,["to"])])}const _A=j(lA,[["render",uA],["__scopeId","data-v-06b2bbeb"]]),Oi=()=>{$_$();const e=ve(),{redirectQueryButtonText:t}=jo(),n=Be(),{userLogin:s,userPassword:r,additionalConfig:i}=me(),{authFormByPassSubmit:a}=pi({defaultLogin:o(s),defaultPasswordLogin:o(r)}),{goToRedirectUrl:l,TIME_TO_REDIRECT:c,registrationRedirectTranslate:u}=po(),{emailButtonText:_,registrationRedirectText:d}=o(i),f=o(t)||_||n("registration_to_personal_office"),p=o(t)?"":d!=null?d:n(o(u)),h=m(()=>e.isUserAuth);return{TIME_TO_REDIRECT:c,isAuthorized:h,goToRedirectUrl:l,authFormByPassSubmit:a,registrationRedirectTranslate:u,emailButtonText:f,registrationRedirectText:p}},dA=()=>{$_$();var e,t;const n=Be(),s=(e=_e(1))!=null?e:"",{registrationResponse:r}=to(),i=!!((t=o(r))!=null&&t.accountExists),a=n(i?"socials_already_reg_title":"phone_success_reg_text"),l=n(i?"registration_dictionary_saved_to_your_account":"registration_dictionary_your_account_linked",{name:s}),c=n(i?"registration_wait_redirect":"registration_redirect");return{title:a,text:l,desc:c,accountExists:i}},pA=W({__name:"RegistrationCompleteSocial",setup(e){$_$();const t=Ot(),{isAuthorized:n,TIME_TO_REDIRECT:s,goToRedirectUrl:r}=Oi(),{redirectUrlQuery:i,redirectQueryButtonText:a}=jo(),l=Be(),{isNeedToShowIdentificationBonusModal:c}=yn(),u=()=>{$_$();t.hide(),o(c)||r()},{title:_,text:d,desc:f,accountExists:p}=dA(),h=m(()=>{$_$();var T;return(T=o(a))!=null?T:l("registration_dictionary_deposit")}),E={"registration-complete-social__desc--exists":p};return(T,P)=>{$_$();const O=B("UiCaption"),L=B("UiButton");return g(),$(o(Wo),{onHideModal:u,closeButtonTitle:T.$T("main_close"),theme:o(he).gray100,class:"registration-complete-social",isClosable:o(n),loading:!o(n)},{image:y(()=>$_$() && [C(o(xn),{type:o(oi).WINDOW,coloredSvgName:o(vi).MODAL_USER_EXISTS},null,8,["type","coloredSvgName"])]),default:y(()=>$_$() && [C(o(Ko),null,{default:y(()=>$_$() && [G(N(o(_)),1)]),_:1}),C(o(ro),{class:"registration-complete-social__text"},{default:y(()=>$_$() && [G(N(o(d)),1)]),_:1}),o(i)?Y("",!0):(g(),$(o(ro),{key:0,class:Re(["registration-complete-social__desc",E])},{default:y(()=>$_$() && [G(N(o(f)),1)]),_:1})),C(Si,{onTimeIsUp:u,time:o(s)},null,8,["time"]),C(L,{onClick:u,theme:o(he).accent,class:"registration-complete-social__submit",size:o(M).l},{default:y(()=>$_$() && [C(O,{size:o(M).m},{default:y(()=>$_$() && [G(N(o(h)),1)]),_:1},8,["size"])]),_:1},8,["theme","size"])]),_:1},8,["closeButtonTitle","theme","isClosable","loading"])}}}),mA=j(pA,[["__scopeId","data-v-bb4e617b"]]),fA=W({name:"RegistrationCompleteLoading",components:{UiPreloader:pt}}),gA={class:"registration-complete-loading"};function hA(e,t,n,s,r,i){$_$();const a=B("UiPreloader");return g(),k("div",gA,[C(a,{class:"registration-complete-loading__preloader"})])}const Gr=j(fA,[["render",hA],["__scopeId","data-v-c9237818"]]),EA=W({name:"RegistrationCompleteAuthWaitingLoading",components:{UiPreloader:pt},setup(){Tn()}});function TA(e,t,n,s,r,i){$_$();const a=B("UiPreloader");return g(),$(a,{class:"registration-complete-auth-waiting-loading"})}const yA=j(EA,[["render",TA]]),CA=W({name:"RegistrationRequestSentModal",components:{UiModal:Wo,UiModalImage:xn,UiModalTitle:Ko,UiModalText:ro},setup(){$_$();const e=Ot(),t=at(),n=ve(),{responseMessage:s}=to(),{routerPushWithLang:r}=ot(m(()=>n.getLanguage)),i=Be(),a=m(()=>$_$() && o(s)||i("registration_request_text"));return{sizeType:M,MEDIA_EXTENSIONS:io,message:a,onClose:()=>{$_$();o(t).name==="registration"&&r({name:Ao.HOME}),e.hide()},themeType:he}}}),IA=["srcset"],SA=["src","alt"];function vA(e,t,n,s,r,i){$_$();const a=B("UiModalImage"),l=B("UiModalTitle"),c=B("UiModalText"),u=B("UiCaption"),_=B("UiButton"),d=B("UiModal");return g(),$(d,{onHideModal:e.onClose,closeButtonTitle:e.$T("main_close"),theme:e.themeType.gray100,class:"registration-request-sent-modal"},{image:y(()=>$_$() && [C(a,null,{default:y(()=>$_$() && [A("picture",null,[A("source",{srcset:e.$mediaUrl("modals_request_plane_desktop",e.MEDIA_EXTENSIONS.WEBP),type:"image/webp"},null,8,IA),A("img",{src:e.$mediaUrl("modals_request_plane_desktop"),alt:e.$T("registration_request_title"),class:"registration-request-sent-modal__image"},null,8,SA)])]),_:1})]),default:y(()=>$_$() && [C(l,null,{default:y(()=>$_$() && [G(N(e.$T("registration_request_title")),1)]),_:1}),C(c,null,{default:y(()=>$_$() && [G(N(e.message),1)]),_:1}),C(_,{onClick:e.onClose,theme:e.themeType.accent},{default:y(()=>$_$() && [C(u,{size:e.sizeType.m},{default:y(()=>$_$() && [G(N(e.$T("main_ok")),1)]),_:1},8,["size"])]),_:1},8,["onClick","theme"])]),_:1},8,["onHideModal","closeButtonTitle","theme"])}const OA=j(CA,[["render",vA],["__scopeId","data-v-6dff941e"]]),bA=W({__name:"RegistrationCompleteEmailWithRedirect",setup(e){$_$();const t=Ot(),{isAuthorized:n,TIME_TO_REDIRECT:s,goToRedirectUrl:r,authFormByPassSubmit:i,registrationRedirectText:a,emailButtonText:l}=Oi(),{isNeedToShowIdentificationBonusModal:c}=yn(),u=()=>{$_$();t.hide(),o(c)||r()};return i(),(_,d)=>{$_$();const f=B("UiCaption"),p=B("UiButton");return g(),$(o(Wo),{onHideModal:u,closeButtonTitle:_.$T("main_close"),theme:o(he).gray100,class:"registration-complete-email-with-redirect",isClosable:o(n),loading:!o(n)},{image:y(()=>$_$() && [C(o(xn),{type:o(oi).WINDOW,coloredSvgName:o(vi).MODAL_OAUTH},null,8,["type","coloredSvgName"])]),default:y(()=>$_$() && [C(o(Ko),null,{default:y(()=>$_$() && [G(N(_.$T("need_auth")),1)]),_:1}),C(o(ro),null,{default:y(()=>$_$() && [A("div",null,N(_.$T("mail_will_be_send")),1),A("div",null,N(_.$T("please_confirm_mail")),1)]),_:1}),C(o(ro),null,{default:y(()=>$_$() && [C(f,{size:o(M).l,weight:o(Ke).BOLD},{default:y(()=>$_$() && [G(N(_.$T("check_spam_folder")),1)]),_:1},8,["size","weight"])]),_:1}),C(o(ro),null,{default:y(()=>$_$() && [G(N(o(a)),1)]),_:1}),C(Si,{onTimeIsUp:u,time:o(s)},null,8,["time"]),C(p,{onClick:u,theme:o(he).accent,class:"registration-complete-email-with-redirect__submit",size:o(M).l},{default:y(()=>$_$() && [C(f,{size:o(M).m},{default:y(()=>$_$() && [G(N(o(l)),1)]),_:1},8,["size"])]),_:1},8,["theme","size"])]),_:1},8,["closeButtonTitle","theme","isClosable","loading"])}}}),RA=j(bA,[["__scopeId","data-v-8572ba5a"]]),AA=W({__name:"RegistrationCompleteAndRedirect",setup(e){const{authFormByPassSubmit:t}=Oi();return Tn(),t(),(n,s)=>$_$() && (g(),$(Gr))}}),PA=W({__name:"RegistrationSuccessSelectComponent",setup(e){$_$();const t={[We.COMPLETE_FORM]:YR,[We.COMPLETE_PHONE_REG]:tA,[We.COMPLETE_AND_AUTH]:aA,[We.ERROR_REGISTRATION]:_A,[We.SOCIAL]:mA,[We.LOADING]:Gr,[We.AUTH_WAITING_LOADING]:yA,[We.COMPLETE_REQUEST]:OA,[We.COMPLETE_EMAIL_SHOW_CONFIRMATION_WITH_REDIRECT]:RA,[We.COMPLETE_EMAIL_WITH_REDIRECT]:AA},{componentName:n}=hu(),s=m(()=>{$_$();var l;return(l=t[o(n)])!=null?l:Gr}),{restoreSavedRedirectUrl:r,clearSavedRedirectUrl:i}=jo(),{setAfterRegistrationRedirectUrl:a}=po();return Gn(()=>{$_$();const l=r();ge(l)&&a(l)}),ao(()=>{i()}),(l,c)=>$_$() && (g(),$(Ye(o(s)),{class:"registration-success-select-component"}))}}),LA=W({name:"RegistrationSuccessLayout",props:{isRemoveShadow:{type:Boolean,default:!1},isVisiblePopularPayments:{type:Boolean,default:!1},showLeftBanner:{type:Boolean,default:!1}},setup(e){$_$();const t=m(()=>({"registration-success-layout__bonuses--is-payments":e.isVisiblePopularPayments})),n=m(()=>({"registration-success-layout__content--remove-shadow":e.isRemoveShadow,"registration-success-layout__content--with-left-banner":e.showLeftBanner}));return{registrationLayoutBonusesClasses:t,registrationLayoutContentClasses:n}}}),wA={class:"registration-success-layout"},NA={class:"registration-success-layout__inner"},DA={key:0,class:"registration-success-layout__payments"},UA={key:0,class:"registration-success-layout__banner"};function kA(e,t,n,s,r,i){$_$();return g(),k("div",wA,[e.$slots.bonusesChoice?(g(),k("div",{key:0,class:Re([e.registrationLayoutBonusesClasses,"registration-success-layout__bonuses"])},[qe(e.$slots,"bonusesChoice",{},void 0,!0)],2)):Y("",!0),A("div",NA,[e.isVisiblePopularPayments?(g(),k("div",DA,[qe(e.$slots,"popularPayments",{},void 0,!0)])):Y("",!0),A("div",{class:Re(["registration-success-layout__content",e.registrationLayoutContentClasses])},[e.showLeftBanner?(g(),k("div",UA,[qe(e.$slots,"leftBanner",{},void 0,!0)])):Y("",!0),qe(e.$slots,"default",{},void 0,!0)],2)])])}const BA=j(LA,[["render",kA],["__scopeId","data-v-32205a80"]]),$A="registration-success",FA={"--registration-success-letters-top":"registration_letters_after_registration_top","--registration-success-letters-bottom":"registration_letters_after_registration_bottom"},MA=W({name:"RegistrationSuccess",components:{RegistrationSuccessLayout:BA,RegistrationBonusChoice:Hs,RegistrationSuccessSelectComponent:PA},setup(){$_$();const{onSuccessInit:e,showBlockBonusChoice:t}=gu(),n=_e(267),{isNeedAuthAfterReg:s}=fu(),{decorationDynamicClasses:r,decorationDynamicStyles:i}=Mb($A,FA),a=new Set([We.COMPLETE_EMAIL_SHOW_CONFIRMATION_WITH_REDIRECT,We.COMPLETE_PHONE_REG]),{componentName:l}=hu(),c=ve(),u=m(()=>c.isUserAuth),_=m(()=>$_$() && !o(u)&&a.has(o(l))),d=m(()=>$_$() && n||o(s)||o(_)),{responseUserId:f}=to(),p=m(()=>$_$() && parseInt(String(c.userId||o(f)),10));return yo(p,()=>e(p),{immediate:!0}),{showBlockBonusChoice:t,decorationDynamicClasses:r,decorationDynamicStyles:i,isRemoveShadow:d}}});function GA(e,t,n,s,r,i){$_$();const a=B("RegistrationBonusChoice"),l=B("RegistrationSuccessSelectComponent"),c=B("RegistrationSuccessLayout");return g(),$(c,{class:Re(["registration-success",e.decorationDynamicClasses]),isRemoveShadow:e.isRemoveShadow,style:cn(e.decorationDynamicStyles)},jn({default:y(()=>$_$() && [C(l)]),_:2},[e.showBlockBonusChoice?{name:"bonusesChoice",fn:y(()=>$_$() && [C(a)]),key:"0"}:void 0]),1032,["isRemoveShadow","style","class"])}const Hr=j(MA,[["render",GA],["__scopeId","data-v-b706620e"]]),HA={class:"registration-layout-widget-form"},VA=W({__name:"RegistrationLayoutWidgetForm",setup(e){const{tabsOptions:t,activeTabIndex:n,changeTab:s}=Jn(),{fields:r}=De();return(i,a)=>{$_$();const l=B("UiIco"),c=B("UiCaption");return g(),k("form",HA,[o(t).length?(g(),$(o(dn),{key:0,"onUpdate:modelValue":o(s),modelValue:o(n),options:o(t),theme:o(he).primary_40,name:"registration_widget_tabs",class:"registration-layout-widget-form__tabs",indent:""},{default:y(({item:u})=>$_$() && [C(l,{ico:u.icon,class:"registration-layout-widget-form__ico"},null,8,["ico"]),C(c,{size:o(M).m},{default:y(()=>$_$() && [G(N(u.title),1)]),_:2},1032,["size"])]),_:1},8,["onUpdate:modelValue","modelValue","options","theme"])):Y("",!0),(g(),k("div",{key:o(n),class:"registration-layout-widget-form__fields"},[(g(!0),k(Se,null,Ge(o(r),u=>$_$() && Te((g(),$(wt,{key:u.id,field:u,class:Re(["registration-layout-widget-form__field",{"registration-layout-widget-form__field--full":u.props.full}])},null,8,["field","class"])),[[eo,!u.props.hidden]])),128))]))])}}}),zA=j(VA,[["__scopeId","data-v-3935d808"]]),WA={class:"registration-layout-widget__footer"},KA=W({__name:"RegistrationLayoutWidget",setup(e){$_$();const{registrationLayoutWidgetClasses:t,firstDepositData:n,onClickFirstDeposit:s}=mu(he.primary_20);return(r,i)=>{$_$();var a;const l=B("UiCaption"),c=B("UiScrollbar"),u=B("UiButton");return g(),k("div",{class:Re([o(t),"registration-layout-widget"])},[C(c,{isOnlyVertical:"",class:"registration-layout-widget__container"},{default:y(()=>$_$() && [C(l,{tag:"h3",uppercase:"",weight:o(Ke).BOLD,class:"registration-layout-widget__title"},{default:y(()=>$_$() && [G(N(r.$T("reg_title")),1)]),_:1},8,["weight"]),C(zA)]),_:1}),A("div",WA,[(a=o(n))!=null&&a.hasFirstDeposit?(g(),$(u,{key:0,onClick:o(s),theme:o(he).primary,narrow:"",block:"",rounded:!1,class:"registration-layout-widget__deposit"},{default:y(()=>$_$() && [C(l,{size:o(M).xs},{default:y(()=>$_$() && [G(N(o(n).bonusPopupTitle),1)]),_:1},8,["size"])]),_:1},8,["onClick","theme"])):Y("",!0)])],2)}}}),YA=j(KA,[["__scopeId","data-v-d457ee60"]]),jA=()=>{$_$();const e=Be(),{findFieldByName:t}=De(),n=2,s=`Email / ${e("auth_user_pass")}`,r=m(()=>t(H.COUNTRY_ID)),i=m(()=>t(H.EMAIL_ID)),a=m(()=>t(H.PASSWORD_ID)),l=m(()=>t(H.PHONE_MEGA)),c=m(()=>t(H.PHONE_CONFIRMATION)),u=m(()=>t(H.REF_CODE)),_=m(()=>t(H.FIELD_CHECKBOX_PRIMARY_1)),d=m(()=>t(H.FIELD_CHECKBOX_PRIMARY_2)),f=m(()=>t(H.BUTTON_REGISTRATION)),p=m(()=>t(H.GOOGLE_CAPTCHA_ID));return{fieldCountry:r,fieldEmail:i,fieldPassword:a,fieldPhone:l,fieldPhoneConfirmation:c,fieldPromoCode:u,fieldCheckBox1:_,fieldCheckBox2:d,fieldButtonRegistration:f,fieldCaptcha:p,emailLabel:s,MINUTES_COUNT:n}},qA={class:"custom-registration-bonuses"},xA={class:"custom-registration-bonuses__wrapper"},XA=4,QA=W({__name:"CustomRegistrationBonuses",setup(e){$_$();const{bonusItems:t,currentBonusId:n,changeBonus:s}=kt(),{welcomeBonusDescription:r}=me(),i=m(()=>$_$() && ({"custom-registration-bonuses__list--extra":o(t).length>=XA}));return(a,l)=>{$_$();const c=B("UiCaption"),u=Xe("tooltip");return g(),k("div",qA,[A("div",xA,[C(c,{tag:"h2",size:o(M).m,weight:o(Ke).BOLD},{default:y(()=>$_$() && [G(N(a.$T("reg_welcome_bonus_select")),1)]),_:1},8,["size","weight"]),o(r)?Te((g(),$(o(ys),{key:0,class:"custom-registration-bonuses__ico",ico:"info-empty-circle"},null,512)),[[u,o(r)]]):Y("",!0)]),A("ul",{class:Re(["custom-registration-bonuses__list",o(i)])},[(g(!0),k(Se,null,Ge(o(t),_=>$_$() && (g(),k("li",{key:_.id,class:"custom-registration-bonuses__item"},[C(o(Qr),{onSelect:d=>$_$() && o(s)(_.id),ico:_.icon,selectedValue:o(n),value:_.id,name:"bonus",column:"",rounded:"",theme:o(he).primary,class:"custom-registration-bonuses__select"},{info:y(()=>$_$() && [G(N(_.description),1)]),_:2},1032,["onSelect","ico","selectedValue","value","theme"])]))),128))],2)])}}}),ZA=j(QA,[["__scopeId","data-v-681f407a"]]),JA={class:"custom-registration-field-checkbox"},eP=["innerHTML"],tP={key:0,class:"custom-registration-field-checkbox__error"},oP={class:"custom-registration-field-checkbox__text"},nP=W({__name:"CustomRegistrationFieldCheckbox",props:{field:{}},emits:["blur"],setup(e){const t=e,{model:n,icoSize:s,icoTheme:r}=Qc(t.field);return(i,a)=>$_$() && (g(),k("div",JA,[C(o(so),{modelValue:o(n),"onUpdate:modelValue":a[0]||(a[0]=l=>$_$() && St(n)?n.value=l:null),onBlur:a[1]||(a[1]=l=>i.$emit("blur")),disabled:i.field.props.disabled,type:"checkbox",size:i.field.props.size,theme:i.field.props.theme,error:i.field.props.error,icoTheme:o(r),icoSize:o(s),class:"custom-registration-field-checkbox__selection"},{default:y(()=>$_$() && [A("span",{class:"custom-registration-field-checkbox__label",innerHTML:i.field.props.label},null,8,eP)]),_:1},8,["modelValue","disabled","size","theme","error","icoTheme","icoSize"]),i.field.props.error?(g(),k("div",tP,[A("span",oP,N(i.field.props.error),1)])):Y("",!0)]))}}),sP=j(nP,[["__scopeId","data-v-b78a91d9"]]),rP=W({__name:"CustomRegistrationFieldPhoneConfirm",props:{field:{},confirmDisabled:{type:Boolean},length:{default:6}},setup(e){$_$();const t=e,n=Go("confirm"),s=Go("update:modelValue"),r=J(""),i=m(()=>$_$() && t.confirmDisabled||!o(r).toString().length||!!t.field.props.error);return xe(r,l=>{s(/\W|_/g.test(l)?"":l)}),(l,c)=>{$_$();const u=B("UiCaption"),_=B("UiButton");return g(),$(o(Co),{modelValue:o(r),"onUpdate:modelValue":c[0]||(c[0]=d=>$_$() && St(r)?r.value=d:null),disabled:l.field.props.disabled,label:l.field.props.label,placeholder:l.field.props.placeholder,theme:l.field.props.theme,size:o(M).m,error:l.field.props.error,maxlength:l.length,hasInnerOffset:!1,autocomplete:"one-time-code",autocapitalize:"none",spellcheck:"false",class:"custom-registration-field-phone-confirm"},{afterContent:y(()=>$_$() && [C(_,{onClick:o(n),theme:o(he).primary,disabled:o(i),uppercase:!1,rounded:!1,narrow:"",class:"custom-registration-field-phone-confirm__button"},{default:y(()=>$_$() && [C(u,{size:o(M).xs},{default:y(()=>$_$() && [G(N(l.$T("main_confirm")),1)]),_:1},8,["size"])]),_:1},8,["onClick","theme","disabled"])]),_:1},8,["modelValue","disabled","label","placeholder","theme","size","error","maxlength"])}}}),iP=j(rP,[["__scopeId","data-v-f94840fc"]]),aP={key:0,class:"custom-registration-field-phone-mega__container"},lP=W({__name:"CustomRegistrationFieldPhoneMega",props:{field:{}},setup(e){$_$();const t=e,{model:n,currentCountry:s,countries:r,validationCountries:i,isManualCountryCode:a,currentCountryIco:l,loadCountries:c,setCountry:u,isLoading:_,timeUntilUnblock:d,sendSms:f,clearUnblockTime:p,smsCodeLength:h,isSendingSmsFrozen:E,isFieldDisabled:T}=eu(t.field,!0),{findFieldByName:P,changeFieldProp:O}=De(),{showSelectCountries:L}=dh(),{isPhoneTooltip:S,phoneTooltip:I}=au(),R=P(H.PHONE_CONFIRMATION),{model:b,isPhoneConfirmed:D,codeConfirmErrorMessage:w,confirmPhone:U}=tu(R),F=te=>{b.value=te},z=()=>{O(H.PHONE_CONFIRMATION,ie.VALUE,""),O(H.PHONE_CONFIRMATION,ie.ERROR,""),f()},q=m(()=>{$_$();var te,de;return o(E)||!((de=(te=t.field.props)==null?void 0:te.value)!=null&&de.phoneNum)}),ee=m(()=>$_$() && ({"custom-registration-field-phone-mega--reverse":o(S),[`custom-registration-field-phone-mega--theme-${t.field.props.theme}`]:!!t.field.props.theme})),x=J(0);xe(d,()=>{$_$();x.value=o(d)?o(d)-Date.now():0},{immediate:!0}),yo(w,te=>{O(H.PHONE_CONFIRMATION,ie.ERROR,te)}),ks(p);const oe=J(!1),le=J(!1),Ee=m(()=>$_$() && o(le)&&!o(t.field.props.error)&&!o(oe)),ce=()=>{le.value=!0},ne=()=>{le.value=!1};return M_(()=>{$_$();var te,de;return(de=(te=o(n))==null?void 0:te.phoneNum)==null?void 0:de.length},()=>{oe.value=!0}),(te,de)=>{$_$();var se;const pe=B("UiCaption"),re=B("UiIco"),Ae=B("UiButton");return g(),k("div",{class:Re(["custom-registration-field-phone-mega",o(ee)])},[C(o(Wn),{modelValue:o(n),"onUpdate:modelValue":de[0]||(de[0]=we=>$_$() && St(n)?n.value=we:null),onPhoneNumInputBlur:ne,onPhoneNumInputFocus:ce,showSelectCountries:o(L),error:te.field.props.error,success:o(D),disabled:o(T),isManualCountryCode:o(a),countries:o(r),validationCountries:o(i),theme:te.field.props.theme,loadCountries:o(c),loadingCountries:o(_),currentCountry:o(s),currentCountryIco:o(l),setCountry:o(u),labelPhoneCode:te.$T("main_code"),labelPhoneNumber:`${te.$T("main_phone_num")}*`},null,8,["modelValue","showSelectCountries","error","success","disabled","isManualCountryCode","countries","validationCountries","theme","loadCountries","loadingCountries","currentCountry","currentCountryIco","setCountry","labelPhoneCode","labelPhoneNumber"]),o(D)?Y("",!0):(g(),k("div",aP,[o(S)?(g(),$(Mr,{key:0,class:"custom-registration-field-phone-mega__notification"},{default:y(()=>$_$() && [G(N(o(I)),1)]),_:1})):Y("",!0),o(Ee)?(g(),$(Mr,{key:1,class:"custom-registration-field-phone-mega__notification"},{default:y(()=>$_$() && [G(N(te.$T("auth_send_code_desc")),1)]),_:1})):Y("",!0),C(Ae,{onClick:z,disabled:o(q),theme:o(he).accent,block:""},{default:y(()=>{$_$();var we;return[(we=o(R))!=null&&we.props.disabled?(g(),$(pe,{key:0,size:o(M).m},{default:y(()=>$_$() && [G(N(te.$T("reg_send_sms")),1)]),_:1},8,["size"])):(g(),k(Se,{key:1},[C(re,{ico:o(Ce).CLOCK,size:o(M).xs},null,8,["ico","size"]),C(o(ri),{modelValue:o(x),"onUpdate:modelValue":de[1]||(de[1]=$e=>$_$() && St(x)?x.value=$e:null),stopOnZeroDateFormatted:"",inverse:"",format:"mm:ss",class:"custom-registration-field-phone-mega__timer"},{default:y(({dateFormatted:$e})=>$_$() && [G(N($e),1)]),_:1},8,["modelValue"]),C(pe,{size:o(M).m},{default:y(()=>$_$() && [G(N(te.$T("main_resend")),1)]),_:1},8,["size"])],64))]}),_:1},8,["disabled","theme"]),o(R)&&!((se=o(R))!=null&&se.props.disabled)?(g(),$(iP,{key:2,"onUpdate:modelValue":F,onConfirm:o(U),confirmDisabled:o(D),field:o(R),length:o(h)},null,8,["onConfirm","confirmDisabled","field","length"])):Y("",!0)]))],2)}}}),cP=j(lP,[["__scopeId","data-v-c56621e9"]]),uP=W({name:"CustomRegistrationField",components:{RegistrationFieldCheckbox:sP,RegistrationFieldPhoneMega:cP},props:{field:{type:Object,required:!0}},setup(e){const{isRequired:t,onBlur:n,onSubmit:s,onUpdate:r,onTouched:i}=yi(e.field);return{isRequired:t,onUpdate:r,onBlur:n,onSubmit:s,onTouched:i}}});function _P(e,t,n,s,r,i){$_$();return g(),$(Ye(e.field.componentName),{onUpdate:e.onUpdate,onBlur:e.onBlur,onSubmit:e.onSubmit,onFocus:e.onTouched,onOpen:e.onTouched,onClick:e.onTouched,isRequired:e.isRequired,field:e.field},null,40,["onUpdate","onBlur","onSubmit","onFocus","onOpen","onClick","isRequired","field"])}const pl=j(uP,[["render",_P]]),dP={class:"custom-registration-form"},pP={class:"custom-registration-form__text"},mP={class:"custom-registration-form__title"},fP={class:"custom-registration-form__description"},gP={key:0,class:"custom-registration-form-fields"},hP={class:"custom-registration-form-fields"},EP={class:"custom-registration-form-fields__title"},TP={class:"custom-registration-form-fields__inputs custom-registration-form-fields-inputs"},yP={key:0,class:"custom-registration-form-fields-inputs__input"},CP={key:1,class:"custom-registration-form-fields-inputs__input"},IP={key:1,class:"custom-registration-form-fields"},SP={class:"custom-registration-form-fields__title"},vP={class:"custom-registration-form-fields__inputs custom-registration-form-fields-inputs"},OP={class:"custom-registration-form-fields-inputs__input"},bP={key:0,class:"custom-registration-form-fields-inputs__input"},RP={key:2,class:"custom-registration-form-fields"},AP={class:"custom-registration-form-fields__title"},PP={class:"custom-registration-form__agrees custom-registration-form-agrees"},LP={class:"custom-registration-form__message"},wP=W({__name:"CustomRegistrationForm",setup(e){const{fieldCountry:t,fieldEmail:n,fieldPassword:s,fieldPhone:r,fieldPhoneConfirmation:i,fieldPromoCode:a,fieldCheckBox1:l,fieldCheckBox2:c,fieldButtonRegistration:u,fieldCaptcha:_,emailLabel:d,MINUTES_COUNT:f}=jA();return(p,h)=>$_$() && (g(),k("form",dP,[A("div",pP,[A("h2",mP,N(p.$T("reg_create_acc")),1),A("div",fP,N(p.$T("reg_take_your_time",{minutes:o(f)})),1)]),o(t)?(g(),k("div",gP,[C(wt,{field:o(t)},null,8,["field"])])):Y("",!0),A("div",hP,[A("div",EP,N(o(d))+" * ",1),A("div",TP,[o(n)?(g(),k("div",yP,[C(wt,{field:o(n)},null,8,["field"])])):Y("",!0),o(s)?(g(),k("div",CP,[C(wt,{field:o(s)},null,8,["field"])])):Y("",!0)])]),o(r)?(g(),k("div",IP,[A("div",SP,N(p.$T("main_phone_num"))+" * ",1),A("div",vP,[A("div",OP,[C(wt,{field:o(r)},null,8,["field"])]),o(i)?(g(),k("div",bP,[C(wt,{field:o(i)},null,8,["field"])])):Y("",!0)])])):Y("",!0),C(ZA),o(a)?(g(),k("div",RP,[A("p",AP,N(p.$T("coupon_tab_promo_code")),1),C(wt,{field:o(a)},null,8,["field"])])):Y("",!0),A("div",PP,[o(l)?(g(),$(pl,{key:0,field:o(l)},null,8,["field"])):Y("",!0),o(c)?(g(),$(pl,{key:1,field:o(c)},null,8,["field"])):Y("",!0)]),o(u)?(g(),$(wt,{key:3,field:o(u),class:"custom-registration-form__submit"},null,8,["field"])):Y("",!0),o(_)?(g(),$(wt,{key:4,field:o(_),class:"custom-registration-form__captcha"},null,8,["field"])):Y("",!0),A("span",LP,N(p.$T("reg_gambling_warning")),1)]))}}),NP=j(wP,[["__scopeId","data-v-59987330"]]),DP=()=>{$_$();const e=Be(),t=ve(),n=m(()=>t.getLanguage),{getLinkWithLang:s}=ot(n),[r,i,a=[],l=[]]=lo(1044,-2e3,264,265),c=i.filter(({content:d})=>d),u=m(()=>c.map(({id:d,content:f})=>$_$() && ({id:d,formattedText:G_({licenseText:f,lng:o(n),getLinkWithLang:s})}))),_=[{title:e("reg_licensed_and_secure"),icons:a.filter(d=>d!==hs.AGE_21||r)},{title:e("link_menu_payment_methods"),icons:l}];return{textLicenses:u,licensesPayments:_}},UP={class:"custom-registration-info-bottom"},kP={class:"custom-registration-info-bottom__licenses"},BP={class:"custom-registration-info-bottom__title"},$P={class:"custom-registration-info-bottom__icons"},FP={class:"custom-registration-info-bottom__licenses"},MP=["innerHTML"],GP=W({__name:"CustomRegistrationInfoBottom",setup(e){const{licensesPayments:t,textLicenses:n}=DP();return(s,r)=>$_$() && (g(),k("div",UP,[A("ul",kP,[(g(!0),k(Se,null,Ge(o(t),i=>$_$() && (g(),k("li",{key:i.title,class:"custom-registration-info-bottom__column"},[A("p",BP,N(i.title),1),A("div",$P,[(g(!0),k(Se,null,Ge(i.icons,a=>$_$() && (g(),$(o(ys),{key:a,ico:a,path:o(Iu),class:"custom-registration-info-bottom__ico"},null,8,["ico","path"]))),128))])]))),128))]),A("ul",FP,[r[0]||(Ui(-1,!0),(r[0]=(g(!0),k(Se,null,Ge(o(n),i=>$_$() && (g(),k("li",{key:i.id,class:"custom-registration-info-bottom__message custom-registration-info-bottom-message",innerHTML:i.formattedText},null,8,MP))),128))).cacheIndex=0,Ui(1),r[0])])]))}}),HP=j(GP,[["__scopeId","data-v-90811a7b"]]);var VP=Object.defineProperty,zP=Object.defineProperties,WP=Object.getOwnPropertyDescriptors,ml=Object.getOwnPropertySymbols,KP=Object.prototype.hasOwnProperty,YP=Object.prototype.propertyIsEnumerable,fl=(e,t,n)=>t in e?VP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jP=(e,t)=>{for(var n in t||(t={}))KP.call(t,n)&&fl(e,n,t[n]);if(ml)for(var n of ml(t))YP.call(t,n)&&fl(e,n,t[n]);return e},qP=(e,t)=>zP(e,WP(t));const xP={class:"custom-registration-info"},XP={class:"custom-registration-info__poster"},QP={class:"custom-registration-info__picture"},ZP=["srcset"],JP=["src"],eL={class:"custom-registration-info__content"},tL={class:"custom-registration-info__title custom-registration-info-title"},oL={class:"custom-registration-info-title__text"},nL={class:"u-visually-hidden"},sL=["src","alt"],rL={class:"custom-registration-info__message custom-registration-info-message"},iL={class:"custom-registration-info-message__text"},aL={class:"custom-registration-info__bonuses custom-registration-info-bonuses"},lL={class:"custom-registration-info-bonuses-item__container"},cL={class:"custom-registration-info-bonuses-item__content"},uL={class:"custom-registration-info-bonuses-item__title"},_L={class:"custom-registration-info-bonuses-item__description"},dL=W({__name:"CustomRegistrationInfo",setup(e){$_$();var t;const n={[ye.SPORT]:hs.FOOTBALL_GATES_BALL,[ye.CASINO]:hs.SEVENS_STARS,[ye.RISK_FREE_BONUS]:hs.FOOTBALL_GATES_BALL,[ye.TACTICAL]:dl.TACTICAL_BONUS},{bonusItems:s}=kt(),r=(t=_e(1))!=null?t:"",i=m(()=>$_$() && o(s).filter(({id:l})=>$_$() && l>-1).map(l=>$_$() && qP(jP({},l),{icon:n[l.id]}))),a=l=>$_$() && l===dl.TACTICAL_BONUS?H_:Iu;return(l,c)=>{$_$();const u=B("UiIco");return g(),k("div",xP,[A("div",XP,[A("picture",QP,[A("source",{srcset:l.$mediaUrl("registration_custom_page_poster",o(io).WEBP),type:"image/webp"},null,8,ZP),A("img",{src:l.$mediaUrl("registration_custom_page_poster"),class:"custom-registration-info__img"},null,8,JP)])]),A("div",eL,[A("h1",tL,[A("span",oL,[G(N(l.$T("reg_welcome_to"))+" ",1),A("span",nL,N(o(r)),1)]),A("img",{src:l.$mediaUrl("header_logo_light",o(io).SVG),alt:o(r),class:"custom-registration-info-title__img"},null,8,sL)]),A("div",rL,[A("p",iL,N(l.$T("reg_casino_promotion")),1)]),A("ul",aL,[(g(!0),k(Se,null,Ge(o(i),_=>$_$() && (g(),k("li",{key:_.id,class:"custom-registration-info-bonuses__item custom-registration-info-bonuses-item"},[A("div",lL,[C(u,{ico:_.icon,path:a(_.icon),class:"custom-registration-info-bonuses-item__ico"},null,8,["ico","path"]),A("div",cL,[A("span",uL,N(_.title),1),A("span",_L,N(_.description),1)])])]))),128))]),C(HP)])])}}}),pL=j(dL,[["__scopeId","data-v-e052a0f3"]]),mL=W({__name:"CustomRegistrationPreloader",setup(e){return(t,n)=>{$_$();const s=B("UiSkeleton");return g(),$(s,{theme:o(he).primary_40,class:"custom-registration-preloader"},{default:y(()=>$_$() && n[0]||(n[0]=[A("div",{class:"custom-registration-preloader__title"},null,-1),A("div",{class:"custom-registration-preloader__description"},null,-1),A("div",{class:"custom-registration-preloader__caption"},null,-1),A("div",{class:"custom-registration-preloader__field"},null,-1),A("div",{class:"custom-registration-preloader__field"},null,-1),A("div",{class:"custom-registration-preloader__caption"},null,-1),A("div",{class:"custom-registration-preloader__field"},null,-1),A("div",{class:"custom-registration-preloader__field"},null,-1),A("div",{class:"custom-registration-preloader__caption"},null,-1),A("div",{class:"custom-registration-preloader__bonuses"},null,-1),A("div",{class:"custom-registration-preloader__caption"},null,-1),A("div",{class:"custom-registration-preloader__field"},null,-1),A("div",{class:"custom-registration-preloader__checkbox1"},null,-1),A("div",{class:"custom-registration-preloader__checkbox2"},null,-1),A("div",{class:"custom-registration-preloader__field"},null,-1),A("div",{class:"custom-registration-preloader__message"},null,-1)])),_:1},8,["theme"])}}}),fL=j(mL,[["__scopeId","data-v-0cbca0f7"]]);var gl=Object.getOwnPropertySymbols,gL=Object.prototype.hasOwnProperty,hL=Object.prototype.propertyIsEnumerable,EL=(e,t)=>{var n={};for(var s in e)gL.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&gl)for(var s of gl(e))t.indexOf(s)<0&&hL.call(e,s)&&(n[s]=e[s]);return n};const TL=()=>{$_$();const{tabsOptions:e,activeTabIndex:t,changeTab:n,setTabByType:s}=Jn(),r=m(()=>$_$() && o(e).map(l=>{var c=l,{name:u}=c,_=EL(c,["name"]);return _})),i=J(!1);return{isRegistrationReady:i,setupCustomRegistration:()=>{s("phone_reg"),i.value=!0},tabs:r,activeTabIndex:t,changeTab:n}},yL=({createTrustlyDepositModal:e,createTrustlyStoreCredentialsModal:t})=>{$_$();const n=at(),s=Nt(),r=Ot(),i=Kt(),a=ve(),l=As(),c=Vo(),u=Ml(),_=_e(263),{useLangLocation:d}=ot(m(()=>a.getLanguage)),f=d({name:"registration"}),{updateBonusRouteParam:p}=kt(),h=async O=>{e&&_&&r.show(e(),O).closeEvent.watch(()=>{$_$();o(n).name==="registration"?p():s.push(o(f))})},E=async()=>{$_$();let O,L;if(!t)return;const S=([O,L]=v(()=>$_$() && i.getItem(tt.IS_PAY_AND_PLAY_REGISTRATION_PROCESS)),O=await O,L(),O);a.isUserAuth&&([O,L]=v(()=>c.runWithContext(l.configInstallLoad)),await O,L(),_&&S&&!l.phone_number&&!l.user_email&&r.show(t()))};return{maybeShowTrustlyDepositModal:h,maybeShowTrustlyStoreCredentialsModal:E,initialEvents:()=>{u==null||u.on("maybeShowTrustlyDepositModal",h),u==null||u.on("maybeShowTrustlyStoreCredentialsModal",E)},destroyEvents:()=>{u==null||u.off("maybeShowTrustlyDepositModal",h),u==null||u.off("maybeShowTrustlyStoreCredentialsModal",E)}}},CL=()=>$_$() && jt({name:fn.TrustlyDeposit,component:()=>X(()=>import("./a3ddad22b7.js"),__vite__mapDeps([55,52,1,56,57,58]),import.meta.url),componentLoader:pt,middleware:[Vn]}),IL=()=>$_$() && jt({name:"TRUSTLY_STORE_CREDENTIALS",component:()=>X(()=>import("./be66a82f7f.js"),__vite__mapDeps([59,52,1,60]),import.meta.url),componentLoader:pt,middleware:[Vn]}),SL={class:"trustly-deposit-widget-registration__inner"},vL="Trustly",OL=W({__name:"TrustlyDepositWidget",props:{theme:{default:he.primary_40},buttonCaptionSize:{default:M.l}},setup(e){$_$();const t=e,{maybeShowTrustlyDepositModal:n}=yL({createTrustlyDepositModal:CL,createTrustlyStoreCredentialsModal:IL}),s=m(()=>({[`registration-trustly--theme-${t.theme}`]:!!t.theme}));return(r,i)=>{$_$();const a=B("UiCaption"),l=B("UiIco");return g(),k("div",{class:Re(["trustly-deposit-widget",o(s)])},[C(a,{size:o(M).m,class:"trustly-deposit-widget__title"},{default:y(()=>$_$() && [G(N(r.$T("reg_through_service",{service:vL})),1)]),_:1},8,["size"]),A("button",{onClick:i[0]||(i[0]=(...c)=>$_$() && o(n)&&o(n)(...c)),class:"trustly-deposit-widget-registration",type:"button"},[A("span",SL,[C(l,{size:o(M).m,ico:o(st).TRUSTLY,path:o(Ns)},null,8,["size","ico","path"]),C(a,{size:r.buttonCaptionSize},{default:y(()=>$_$() && [G(N(r.$T("reg_dep_and_play_vv")),1)]),_:1},8,["size"])])])],2)}}}),Su=j(OL,[["__scopeId","data-v-bb524b81"]]),bL=Object.freeze(Object.defineProperty({__proto__:null,default:Su},Symbol.toStringTag,{value:"Module"})),RL={class:"registration-layout-custom-variant-a"},AL={class:"registration-layout-custom-variant-a__actions"},PL={class:"registration-layout-custom-variant-a-subtitle"},LL={class:"registration-layout-custom-variant-a-subtitle__text"},wL={class:"registration-layout-custom-variant-a-tabs__item"},NL={key:3},DL={class:"registration-layout-custom-variant-a__login registration-layout-custom-variant-a-login"},UL=W({__name:"RegistrationLayoutCustomVariantA",setup(e){$_$();const{tabs:t,activeTabIndex:n,changeTab:s,setupCustomRegistration:r,isRegistrationReady:i}=TL(),a=_e(263),l=()=>{document.dispatchEvent(new CustomEvent("toggleAuthForm"))};return r(),Tn(),(c,u)=>{$_$();const _=B("UiIco"),d=B("UiCaption");return g(),k("div",RL,[C(pL,{class:"registration-layout-custom-variant-a__info"}),A("div",AL,[o(a)?(g(),k(Se,{key:0},[C(Su,{class:"registration-layout-custom-variant-a__trustly-widget"}),A("div",PL,[A("span",LL,N(c.$T("reg_or")),1)])],64)):Y("",!0),o(t).length?(g(),$(o(dn),{key:1,"onUpdate:modelValue":o(s),modelValue:o(n),options:o(t),name:"registration_tabs",class:"registration-layout-custom-variant-a-tabs",theme:o(he).primary_20,indent:"",equal:"",rounded:!1},{container:y(({item:f})=>$_$() && [A("div",wL,[C(_,{ico:f.icon,size:o(M).m,class:"registration-layout-custom-variant-a-tabs__ico"},null,8,["ico","size"]),C(d,{size:o(M).m},{default:y(()=>$_$() && [G(N(f.title),1)]),_:2},1032,["size"])])]),_:1},8,["onUpdate:modelValue","modelValue","options","theme"])):Y("",!0),o(i)?(g(),$(NP,{key:o(n),class:"registration-layout-custom-variant-a__form"})):(g(),k("div",NL,[C(fL)])),A("div",DL,[A("span",null,N(c.$T("reg_have_an_account")),1),A("button",{onClick:l,type:"button",class:"registration-layout-custom-variant-a-login__btn"},N(c.$T("modal_login_registration_login")),1)])])])}}}),kL=j(UL,[["__scopeId","data-v-ba7e34b6"]]),BL={class:"custom-registration-socials"},$L={class:"custom-registration-socials__list"},FL=W({__name:"CustomRegistrationSocials",props:{field:{}},setup(e){const t=e,{changeFieldProp:n,findFieldByName:s}=De(),{networks:r}=ou(t.field),{submitRegistrationBySocial:i}=Ei(),{forms:a,setActiveTabIndex:l}=me(),c=u=>{$_$();var _,d,f,p,h,E;const T=(d=(_=s(H.REF_CODE))==null?void 0:_.props)==null?void 0:d.value,P=o(a).findIndex(({type:O})=>O==="soc_reg");l(P),n(H.REF_CODE,ie.VALUE,T),n(H.SOCIAL_TYPES_ID,ie.VALUE,u),n(H.COUNTRY_ID,ie.VALUE,(p=(f=s(H.COUNTRY_ID))==null?void 0:f.props.config.options)==null?void 0:p[0]),n(H.CURRENCY_ID,ie.VALUE,(E=(h=s(H.CURRENCY_ID))==null?void 0:h.props.config.options)==null?void 0:E[0]),i(u==="metamask")};return(u,_)=>{$_$();const d=B("UiIco"),f=B("UiButton"),p=Xe("tooltip");return g(),k("div",BL,[A("ul",$L,[(g(!0),k(Se,null,Ge(o(r),h=>$_$() && (g(),k("li",{key:h.id,class:"custom-registration-socials__item"},[Te((g(),$(f,{onClick:E=>$_$() && c(h.id),theme:o(he).primary,"aria-label":h.name,size:o(M).l,rounded:!1,narrow:"",decent:"",class:"custom-registration-socials__button"},{default:y(()=>$_$() && [C(d,{path:o(V_),ico:h.ico,size:o(M).xl},null,8,["path","ico","size"])]),_:2},1032,["onClick","theme","aria-label","size"])),[[p,h.name]])]))),128))])])}}}),ML=j(FL,[["__scopeId","data-v-3ebaf6c2"]]),GL={class:"custom-registration-separator"},HL={class:"custom-registration-separator__label"},VL=W({__name:"CustomRegistrationSeparator",props:{text:{default:""}},setup(e){return(t,n)=>$_$() && (g(),k("div",GL,[A("div",HL,[qe(t.$slots,"default",{},()=>$_$() && [G(N(t.text),1)],!0)])]))}}),zL=j(VL,[["__scopeId","data-v-f495e5c1"]]),WL=()=>({showLoginForm:()=>{var t;(t=window.coreBus)==null||t.emit("triggerShowLoginForm")}}),KL={class:"custom-registration-field-email"},YL=W({__name:"CustomRegistrationFieldEmail",props:{field:{}},setup(e){$_$();const t=e,{model:n,maxLength:s,isFilledAndValid:r,isForceUiInput:i,hasBorder:a}=es(t.field),l=m(()=>$_$() && o(i)?zn:Co);return(c,u)=>{$_$();const _=B("UiIco");return g(),k("div",KL,[(g(),$(Ye(o(l)),{modelValue:o(n),"onUpdate:modelValue":u[0]||(u[0]=d=>$_$() && St(n)?n.value=d:null),disabled:c.field.props.disabled,size:c.field.props.size,theme:c.field.props.theme,error:c.field.props.error,nativePlaceholder:c.field.props.placeholder,label:c.field.props.label,hasBorder:o(a),maxlength:o(s)},{afterContent:y(()=>$_$() && [Te(C(_,{class:"custom-registration-field-email__check",size:o(M).m,ico:o(Ce).CHECK},null,8,["size","ico"]),[[eo,o(r)]])]),_:1},8,["modelValue","disabled","size","theme","error","nativePlaceholder","label","hasBorder","maxlength"]))])}}}),jL=j(YL,[["__scopeId","data-v-c2604952"]]),qL={class:"custom-registration-field-password"},xL={key:0,class:"custom-registration-field-password__list"},XL=W({__name:"CustomRegistrationFieldPassword",props:{field:{}},setup(e){$_$();const t=e,{visibilityIcon:n,visibilityLabel:s,htmlType:r,toggleVisibility:i}=Zc(t.field),{model:a,maxLength:l,isFilledAndValid:c,hasBorder:u,isForceUiInput:_}=es(t.field),d=m(()=>$_$() && o(_)?zn:Co),f=m(()=>$_$() && !o(a)||!t.field.props.error?[]:t.field.validators.filter(E=>{var T;return(T=E.options.message)==null?void 0:T.trim()}).map(E=>{$_$();const T=E.validate.bind(E);return{message:E.options.message,status:T(o(a))?"error":"success"}})),p=m(()=>$_$() && o(f).length?" ":""),h=()=>{a.value=""};return(E,T)=>{$_$();const P=B("UiIco"),O=B("UiButton"),L=B("UiCaption"),S=Xe("tooltip");return g(),k("div",qL,[(g(),$(Ye(o(d)),{modelValue:o(a),"onUpdate:modelValue":T[1]||(T[1]=I=>$_$() && St(a)?a.value=I:null),type:o(r),size:E.field.props.size,error:o(p),label:E.field.props.label,nativePlaceholder:E.field.props.placeholder,title:E.field.props.title,theme:E.field.props.theme,maxlength:o(l),hasBorder:o(u),disabled:E.field.props.disabled,class:"custom-registration-field-password__field"},{afterContent:y(()=>$_$() && [o(c)?(g(),$(P,{key:0,class:"custom-registration-field-password__check",size:o(M).m,ico:o(Ce).CHECK},null,8,["size","ico"])):(g(),k(Se,{key:1},[o(a)?Te((g(),$(O,{key:0,onClick:h,"aria-label":E.$T("main_clear"),rounded:!1,decent:"",narrow:"",class:"custom-registration-field-password__button"},{default:y(()=>$_$() && [C(P,{size:o(M).m,ico:o(Ce).CIRCLE_XMARK_SOLID,class:"custom-registration-field-password__ico"},null,8,["size","ico"])]),_:1},8,["aria-label"])),[[S,E.$T("main_clear")]]):Y("",!0),Te((g(),$(O,{onClick:T[0]||(T[0]=I=>$_$() && o(i)()),"aria-label":o(s),rounded:!1,decent:"",narrow:"",class:"custom-registration-field-password__button"},{default:y(()=>$_$() && [C(P,{size:o(M).m,ico:o(n),class:"custom-registration-field-password__ico"},null,8,["size","ico"])]),_:1},8,["aria-label"])),[[S,o(s)]])],64))]),_:1},8,["modelValue","type","size","error","label","nativePlaceholder","title","theme","maxlength","hasBorder","disabled"])),o(f).length?(g(),k("ul",xL,[(g(!0),k(Se,null,Ge(o(f),(I,R)=>{$_$();var b;return g(),k("li",{key:R,class:Re(["custom-registration-field-password__item",`custom-registration-field-password__item--${I.status}`])},[C(P,{class:"custom-registration-field-password__arrow",size:o(M).m,ico:o(Ce).CHECK,square:(b=E.field.props.additionalConfig)==null?void 0:b.isValidationArrowSquare},null,8,["size","ico","square"]),C(L,{size:o(M).m,color:o(Wt).clrDecent,class:"custom-registration-field-password__name"},{default:y(()=>$_$() && [G(N(I.message),1)]),_:2},1032,["size","color"])],2)}),128))])):Y("",!0)])}}}),QL=j(XL,[["__scopeId","data-v-55214314"]]),ZL={class:"custom-registration-field-ref-code"},JL=["innerHTML"],ew=W({__name:"CustomRegistrationFieldRefCode",props:{field:{}},emits:["blur"],setup(e){$_$();const t=e,n=Be(),{maxLength:s,model:r,isFilledAndValid:i,hasBorder:a,hasInnerOffset:l,isForceUiInput:c}=es(t.field),{changeFieldValidators:u,changeFieldProp:_,resetFieldProp:d}=De(),f=J(!1),p=m(()=>$_$() && o(c)?zn:Co),h=[{type:_t.REQUIRED,options:{message:n("not_empty_ref_code")}}],E=T=>{if(!T){u(t.field,[]),_(t.field,ie.REQUIRED,!1),d(t.field,ie.ERROR),d(t.field,ie.VALUE);return}u(t.field,h),_(t.field,ie.REQUIRED,!0)};return xe(f,T=>E(T),{immediate:!0}),(T,P)=>{$_$();const O=B("UiSelection"),L=B("UiIco");return g(),k("div",ZL,[C(O,{modelValue:o(f),"onUpdate:modelValue":P[0]||(P[0]=S=>$_$() && St(f)?f.value=S:null),type:"checkbox",class:"custom-registration-field-ref-code__checkbox",theme:o(he).gray30,icoTheme:o(he).gray30,icoSize:o(M).l},{default:y(()=>$_$() && [A("span",{class:"custom-registration-field-ref-code__checkbox-label",innerHTML:T.field.props.placeholder},null,8,JL)]),_:1},8,["modelValue","theme","icoTheme","icoSize"]),o(f)?(g(),$(Ye(o(p)),{key:0,modelValue:o(r),"onUpdate:modelValue":P[1]||(P[1]=S=>$_$() && St(r)?r.value=S:null),onBlur:P[2]||(P[2]=S=>T.$emit("blur")),type:"text",disabled:T.field.props.disabled,label:T.field.props.label,theme:T.field.props.theme,size:T.field.props.size,error:T.field.props.error,maxlength:o(s),nativePlaceholder:T.field.props.placeholder,hasInnerOffset:o(l),hasBorder:o(a),class:"custom-registration-field-input custom-registration-field-ref-code__input"},{afterContent:y(()=>$_$() && [Te(C(L,{class:"custom-registration-field-ref-code__check",size:o(M).m,ico:o(Ce).CHECK},null,8,["size","ico"]),[[eo,o(i)]])]),_:1},40,["modelValue","disabled","label","theme","size","error","maxlength","nativePlaceholder","hasInnerOffset","hasBorder"])):Y("",!0)])}}}),tw=j(ew,[["__scopeId","data-v-c7f148bf"]]),ow={class:"custom-registration-field-label"},nw=["innerHTML"],sw=W({__name:"CustomRegistrationFieldLabel",props:{field:{}},setup(e){return(t,n)=>$_$() && (g(),k("div",ow,[A("div",{class:"custom-registration-field-label__content",innerHTML:t.field.props.label},null,8,nw)]))}}),rw=j(sw,[["__scopeId","data-v-f57c372e"]]),hl=W({__name:"CustomRegistrationField",props:{field:{}},setup(e){$_$();const t=e,{isRequired:n,onBlur:s,onSubmit:r,onUpdate:i,onTouched:a}=yi(t.field),l={[H.EMAIL_ID]:jL,[H.PASSWORD_ID]:QL,[H.REF_CODE]:tw,[H.AGREE_POLICY_ID]:rw},c=m(()=>l[t.field.name]);return(u,_)=>$_$() && o(c)?(g(),$(Ye(o(c)),{key:0,onUpdate:o(i),onBlur:o(s),onSubmit:o(r),onFocus:o(a),onOpen:o(a),onClick:o(a),isRequired:o(n),field:u.field},null,40,["onUpdate","onBlur","onSubmit","onFocus","onOpen","onClick","isRequired","field"])):(g(),$(wt,{key:1,field:u.field},null,8,["field"]))}}),iw=()=>{$_$();const{findFieldByName:e}=De(),{changeBonus:t,bonusItems:n,currentBonusId:s}=kt(),{getFlatFields:r}=me(),i=m(()=>e(H.GOOGLE_CAPTCHA_ID)),a=m(()=>r("soc_reg").find(({name:_})=>_===H.SOCIAL_TYPES_ID)),l=m(()=>$_$() && o(s)===ye.CANCEL),c=_=>_===H.GOOGLE_CAPTCHA_ID,u=m({get:()=>$_$() && !o(l),set:()=>$_$() && t(o(l)&&o(n).find(({id:_})=>$_$() && _===ye.SPORT)?ye.SPORT:ye.CANCEL)});return{googleCaptchaField:i,isGoogleCaptchaField:c,radioBtnModel:u,socialsField:a}},aw={class:"registration-layout-custom-variant-b"},lw={class:"registration-layout-custom-variant-b-background__bonus"},cw={class:"registration-layout-custom-variant-b-background__selection"},uw={class:"registration-layout-custom-variant-b-content"},_w={class:"registration-layout-custom-variant-b-content__header"},dw=["aria-label"],pw=W({__name:"RegistrationLayoutCustomVariantB",setup(e){const t=mn(),{showLoginForm:n}=WL(),{isModalMode:s}=En(),{isBonusChoiceVisible:r}=kt(),{formFieldsRows:i}=De(),{activeTabIndex:a,initRegistrationByRouteQuery:l}=Jn(),{firstDepositBonusAmount:c}=me(),{googleCaptchaField:u,isGoogleCaptchaField:_,radioBtnModel:d,socialsField:f}=iw(),p=()=>{s&&t.hide(),n()},h=E=>({"registration-layout-custom-variant-b-content__field--password":E.name===H.PASSWORD_ID,"registration-layout-custom-variant-b-content__field--submit":E.name===H.BUTTON_REGISTRATION});return ru(),Tn(),l(),(E,T)=>{$_$();const P=ws,O=B("UiCaption"),L=B("UiSelection"),S=B("UiIco"),I=Xe("tooltip");return g(),k("div",aw,[A("div",{class:"registration-layout-custom-variant-b-background",style:cn(`background-image:url(${E.$mediaUrl("registration_banner_desk",o(io).JPG)})`)},[o(c)?(g(),$(O,{key:0,weight:o(Ke).MEDIUM,tag:"h1",class:"registration-layout-custom-variant-b-background__title"},{default:y(()=>$_$() && [C(P,{tmp:"reg_registration_bonus_up_to"},{bonus:y(()=>$_$() && [A("span",lw,N(o(c)),1)]),_:1})]),_:1},8,["weight"])):Y("",!0),A("div",cw,[C(O,{size:o(M).m,color:o(Wt).clrDecent},{default:y(()=>$_$() && [G(N(E.$T("reg_use_bonus")),1)]),_:1},8,["size","color"]),C(L,{modelValue:o(d),"onUpdate:modelValue":T[0]||(T[0]=R=>$_$() && St(d)?d.value=R:null),type:"tumbler",hasInnerOffset:!1,theme:o(he).accentSecondary,icoTheme:o(he).accentSecondary,disabled:!o(r)},null,8,["modelValue","theme","icoTheme","disabled"])])],4),A("div",uw,[A("div",_w,[C(O,{tag:"h3",weight:o(Ke).MEDIUM,class:"registration-layout-custom-variant-b-content__title"},{default:y(()=>$_$() && [G(N(E.$T("reg_title")),1)]),_:1},8,["weight"]),o(s)?Te((g(),k("button",{key:0,onClick:T[1]||(T[1]=R=>$_$() && o(t).hide()),"aria-label":E.$T("main_close"),type:"button",class:"registration-layout-custom-variant-b-content-close"},[C(S,{ico:o(Ce).TIMES,class:"registration-layout-custom-variant-b-content-close__ico"},null,8,["ico"])],8,dw)),[[I,E.$T("main_close")]]):Y("",!0)]),(g(!0),k(Se,null,Ge(o(i),(R,b)=>$_$() && (g(),k("div",{key:b},[(g(!0),k(Se,null,Ge(R,D=>$_$() && (g(),k(Se,{key:`${o(a)}${D.name}`},[o(_)(D.name)?Y("",!0):Te((g(),k("div",{key:0,class:Re([h(D),"registration-layout-custom-variant-b-content__field"])},[C(hl,{field:D},null,8,["field"])],2)),[[eo,!D.props.hidden]])],64))),128))]))),128)),o(f)?(g(),k(Se,{key:0},[C(zL,{class:"registration-layout-custom-variant-b-content__separator",text:E.$T("main_or")},null,8,["text"]),C(ML,{field:o(f),class:"registration-layout-custom-variant-b-content__socials"},null,8,["field"])],64)):Y("",!0),C(O,{size:o(M).m,color:o(Wt).clrDecent,class:"registration-layout-custom-variant-b-content-login"},{default:y(()=>$_$() && [G(N(E.$T("reg_do_you_already_have_account_question"))+" ",1),A("span",{onClick:p,class:"registration-layout-custom-variant-b-content-login__link"},N(E.$T("auth_enter")),1)]),_:1},8,["size","color"]),o(u)?(g(),$(hl,{key:1,field:o(u),class:"registration-layout-custom-variant-b-content__captcha"},null,8,["field"])):Y("",!0)])])}}}),mw=j(pw,[["__scopeId","data-v-1641ef1c"]]);var fw=Object.defineProperty,gw=Object.defineProperties,hw=Object.getOwnPropertyDescriptors,El=Object.getOwnPropertySymbols,Ew=Object.prototype.hasOwnProperty,Tw=Object.prototype.propertyIsEnumerable,Tl=(e,t,n)=>t in e?fw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yw=(e,t)=>{for(var n in t||(t={}))Ew.call(t,n)&&Tl(e,n,t[n]);if(El)for(var n of El(t))Tw.call(t,n)&&Tl(e,n,t[n]);return e},Cw=(e,t)=>gw(e,hw(t));const Iw="https://idp.prd.itsme.services/v2/authorization",Sw={response_type:"code",claims:JSON.stringify({id_token:{gender:null,given_name:null,family_name:null,middle_name:null,birthdate:null,email:null,"http://itsme.services/v2/claim/BENationalNumber":null,"http://itsme.services/v2/claim/BEeidSn":null,"http://itsme.services/v2/claim/validityTo":null,"http://itsme.services/v2/claim/IDDocumentSN":null,"http://itsme.services/v2/claim/claim_citizenship_as_iso":null,address:null,phone_number:null,"http://itsme.services/v2/claim/physical_person_photo":null}})},vu=()=>{$_$();var e,t,n;const s=ve(),r=`${(e=window==null?void 0:window.location)==null?void 0:e.origin}/registration/socialregistration?from=itsme`,i=_e(519),a=Cw(yw({},Sw),{ui_locales:s.getLanguage,redirect_uri:r,client_id:(t=i.clientId)!=null?t:"",scope:`openid service:${(n=i.service)!=null?n:""} profile email phone address eid`});return{itsMeAuthLink:`${Iw}?${new URLSearchParams(a).toString()}`,currentLocation:r}},vw={class:"registration-its-me-start"},Ow={class:"registration-its-me-start__title"},bw={class:"registration-its-me-start__description"},Rw=W({__name:"RegistrationItsMeStart",setup(e){const t=Bs(),{itsMeAuthLink:n}=vu(),s=()=>{t.hide(),window.open(n,"_blank")};return(r,i)=>{$_$();const a=B("UiIco"),l=B("UiCaption"),c=B("UiButton");return g(),k("div",vw,[C(c,{onClick:s,class:"registration-its-me-start__button registration-its-me-start-button"},{default:y(()=>$_$() && [C(a,{ico:o(st).ITSME,path:o(Ns),size:o(M).m,class:"registration-its-me-start-button__ico"},null,8,["ico","path","size"]),C(l,{uppercase:"",size:o(M).m,class:"registration-its-me-start-button__text"},{default:y(()=>$_$() && [G(N(r.$T("reg_choose_method_button_itsme")),1)]),_:1},8,["size"])]),_:1}),A("div",Ow,[C(a,{ico:o(Ce).TIMER,class:"registration-its-me-start__ico"},null,8,["ico"]),C(l,{size:o(M).m,weight:o(Ke).BOLD},{default:y(()=>$_$() && [G(N(r.$T("reg_itsme_title")),1)]),_:1},8,["size","weight"])]),A("div",bw,[C(l,{size:o(M).m},{default:y(()=>$_$() && [G(N(r.$T("reg_itsme_description")),1)]),_:1},8,["size"])])])}}}),Aw=j(Rw,[["__scopeId","data-v-f71eed1f"]]),Pw={class:"registration-layout-default-with-its-me"},Lw={class:"registration-layout-default-with-its-me-modal__content"},ww=W({__name:"RegistrationLayoutDefaultWithItsMe",setup(e){$_$();const{isRegPage:t}=me(),[n,s]=Xr(!1),r=mn(),i=()=>r.hide();return(a,l)=>{$_$();const c=B("UiIco"),u=B("UiCaption"),_=B("UiButton");return g(),k("div",Pw,[o(s)?(g(),$(du,{key:0})):(g(),$(o(Wo),{key:1,onHideModal:i,closeButtonTitle:a.$T("main_close"),theme:o(he).gray100,class:"registration-layout-default-with-its-me-modal",isClosable:!o(t)},{default:y(()=>$_$() && [C(o(Ko),{class:"registration-layout-default-with-its-me-modal__title"},{default:y(()=>$_$() && [G(N(a.$T("reg_choose_method_title")),1)]),_:1}),A("div",Lw,[C(_,{onClick:o(n),theme:o(he).gray,size:o(M).l},{default:y(()=>$_$() && [C(c,{size:o(M).xs,ico:o(Ce).EMAIL},null,8,["size","ico"]),C(u,{size:o(M).m},{default:y(()=>$_$() && [G(N(a.$T("reg_choose_method_button_email")),1)]),_:1},8,["size"])]),_:1},8,["onClick","theme","size"]),C(Aw,{class:"registration-layout-default-with-its-me-modal__its-me"})])]),_:1},8,["closeButtonTitle","theme","isClosable"]))])}}}),Nw=j(ww,[["__scopeId","data-v-bb656402"]]);var Dw=Object.defineProperty,Uw=Object.defineProperties,kw=Object.getOwnPropertyDescriptors,yl=Object.getOwnPropertySymbols,Bw=Object.prototype.hasOwnProperty,$w=Object.prototype.propertyIsEnumerable,Cl=(e,t,n)=>t in e?Dw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_s=(e,t)=>{for(var n in t||(t={}))Bw.call(t,n)&&Cl(e,n,t[n]);if(yl)for(var n of yl(t))$w.call(t,n)&&Cl(e,n,t[n]);return e},Fw=(e,t)=>Uw(e,kw(t));const Mw=()=>{$_$();const e=at(),t=Nt(),n=ve(),s=ht(),{loadBonusesCached:r}=me(),{currentBonusId:i,bonusItems:a,changeBonus:l,isBonusChoiceVisible:c}=kt(),{notificationError:u}=vt(),{currentLocation:_}=vu(),{addFieldData:d,validateForm:f,formIsError:p}=ii(),{validatorRequired:h,validatorEmail:E}=$s(),{getLinkWithLang:T,useLangLocation:P}=ot(m(()=>n.getLanguage)),O=Et(),L=m(()=>$_$() && o(e).query.code),[{id:S},{id:I},R,b]=lo(-1012,-1008,96,102),D=T(R),w=T(b),{setRegistrationResponse:U}=me(),F=P({name:Ao.HOME}),{onSuccessInit:z}=gu(),q=d({defaultValue:!1,validator:h}),ee=m(()=>$_$() && !!o(q).error),x=d({defaultValue:!1,validator:h}),oe=m(()=>$_$() && !!o(x).error),le=d({defaultValue:!1}),Ee=d({defaultValue:"",validator:se=>se?E(se):h(se)}),ce=J(!1),ne=m(()=>$_$() && o(ce)||o(p)),te=async()=>{$_$();let se,pe;try{const re=o(a);if(re.length&&!o(i)){const Ae=re[re.length-1];[se,pe]=v(()=>$_$() && l(Ae==null?void 0:Ae.id)),await se,pe()}return O("/web-api/registration/socialregistration",{method:"POST",body:_s({module:!0,type:"itsme",CountryId:S,CurrencyId:I,SocialToken:o(L),SocialTokenSecret:_,email:o(Ee).value,checkbox_primary_1:o(q).value,checkbox_primary_2:o(x).value,checkbox_primary_3:o(le).value},o(c)?{first_deposit_bonus_choice:o(i)}:{})}).execute()}catch(re){s.error(re)}};return{submitAction:te,sendForm:async()=>{$_$();let se,pe;try{if(ce.value=!0,[se,pe]=v(()=>f()),se=await se,pe(),se)return;const re=([se,pe]=v(()=>te()),se=await se,pe(),se);if(!ge(re))return;if(re.error_type)[se,pe]=v(()=>u(re.error)),await se,pe();else{const Ae=Vt.decode(re.user_id.toString());U(_s(_s(Fw(_s({},re),{userId:Ae,socialProvider:re.provider,socialProviderName:re.providerName,isAuth:re.is_authorized}),ge(re.error_type)?{errorType:re.error_type}:{}),ge(re.error)?{error:re.error}:{}));const we=m(()=>parseInt(Ae,10));[se,pe]=v(()=>z(we)),await se,pe(),[se,pe]=v(()=>n.actionAuthUser()),await se,pe(),[se,pe]=v(()=>$_$() && t.push(o(F))),await se,pe()}}catch(re){u(re==null?void 0:re.message),s.error(re)}finally{ce.value=!1}},termsAndConditionsInputField:q,isTermsAndConditionsInputFieldHasError:ee,privacyPolicyInputField:x,isPrivacyPolicyInputFieldHasError:oe,marketingMessagesInputField:le,emailInputField:Ee,isSubmitDisabled:ne,termsLink:w,policyLink:D,isBonusChoiceVisible:c,currentBonusId:i,loadBonusesCached:r}},Gw={class:"registration-its-me-finish__inner"},Hw={class:"registration-its-me-finish__subtitle"},Vw={class:"registration-its-me-finish-agree__content"},zw={key:0,class:"registration-its-me-finish-agree__warning"},Ww={class:"registration-its-me-finish-agree__content"},Kw={key:0,class:"registration-its-me-finish-agree__warning"},Yw={class:"registration-its-me-finish-agree__content"},jw=W({__name:"RegistrationItsMeFinish",setup(e){const{sendForm:t,termsAndConditionsInputField:n,isTermsAndConditionsInputFieldHasError:s,privacyPolicyInputField:r,isPrivacyPolicyInputFieldHasError:i,marketingMessagesInputField:a,emailInputField:l,isSubmitDisabled:c,termsLink:u,policyLink:_,isBonusChoiceVisible:d,loadBonusesCached:f}=Mw();return f(),(p,h)=>{$_$();const E=B("UiCaption"),T=qn,P=ws,O=B("UiIco"),L=B("UiButton");return g(),$(o(Wo),{onHideModal:h[4]||(h[4]=S=>p.$vmodal.hide()),closeButtonTitle:p.$T("main_close"),isClosable:!1,theme:o(he).gray100,class:"registration-its-me-finish"},{default:y(()=>$_$() && [o(d)?(g(),$(Hs,{key:0,class:"registration-its-me-finish__bonus"})):Y("",!0),A("div",Gw,[C(o(Ko),{class:"registration-its-me-finish__title"},{default:y(()=>$_$() && [G(N(p.$T("reg_itsme_final_step_title")),1)]),_:1}),A("div",Hw,[C(E,{size:o(M).m},{default:y(()=>$_$() && [G(N(p.$T("reg_itsme_final_step_subtitle")),1)]),_:1},8,["size"])]),C(o(Co),{modelValue:o(l).vmodel,"onUpdate:modelValue":h[0]||(h[0]=S=>{ $_$(); o(l).vmodel=S; }),onBlur:o(l).validate,placeholder:p.$T("reg_itsme_final_step_email"),compact:"",error:o(l).error,class:"registration-its-me-finish__field"},null,8,["modelValue","onBlur","placeholder","error"]),C(o(so),{modelValue:o(n).vmodel,"onUpdate:modelValue":h[1]||(h[1]=S=>{ $_$(); o(n).vmodel=S; }),class:"registration-its-me-finish__agree registration-its-me-finish-agree",type:"checkbox",hasError:o(s)},{default:y(()=>$_$() && [A("div",Vw,[C(E,{size:o(M).xs,class:"registration-its-me-finish-agree__text"},{default:y(()=>$_$() && [C(P,{tmp:"reg_itsme_final_step_checkbox_1"},{rules:y(S=>$_$() && [C(T,{to:o(u),target:"_blank",class:"registration-its-me-finish__link"},{default:y(()=>$_$() && [G(N(S),1)]),_:2},1032,["to"])]),_:1})]),_:1},8,["size"]),o(s)?(g(),k("div",zw,[C(O,{ico:o(Ce).INFO_CIRCLE,size:o(M).xs,class:"registration-its-me-finish-agree__ico"},null,8,["ico","size"]),C(E,{size:o(M).xs},{default:y(()=>$_$() && [G(N(p.$T("reg_itsme_final_step_checkbox_warning")),1)]),_:1},8,["size"])])):Y("",!0)])]),_:1},8,["modelValue","hasError"]),C(o(so),{modelValue:o(r).vmodel,"onUpdate:modelValue":h[2]||(h[2]=S=>{ $_$(); o(r).vmodel=S; }),type:"checkbox",hasError:o(i),class:"registration-its-me-finish__agree registration-its-me-finish-agree"},{default:y(()=>$_$() && [A("div",Ww,[C(E,{size:o(M).xs,class:"registration-its-me-finish-agree__text"},{default:y(()=>$_$() && [C(P,{tmp:"reg_itsme_final_step_checkbox_2"},{policy:y(S=>$_$() && [C(T,{to:o(_),target:"_blank",class:"registration-its-me-finish__link"},{default:y(()=>$_$() && [G(N(S),1)]),_:2},1032,["to"])]),_:1})]),_:1},8,["size"]),o(i)?(g(),k("div",Kw,[C(O,{ico:o(Ce).INFO_CIRCLE,size:o(M).xs,class:"registration-its-me-finish-agree__ico"},null,8,["ico","size"]),C(E,{size:o(M).xs},{default:y(()=>$_$() && [G(N(p.$T("reg_itsme_final_step_checkbox_warning")),1)]),_:1},8,["size"])])):Y("",!0)])]),_:1},8,["modelValue","hasError"]),C(o(so),{modelValue:o(a).vmodel,"onUpdate:modelValue":h[3]||(h[3]=S=>{ $_$(); o(a).vmodel=S; }),type:"checkbox",class:"registration-its-me-finish__agree registration-its-me-finish-agree"},{default:y(()=>$_$() && [A("div",Yw,[C(E,{size:o(M).xs,class:"registration-its-me-finish-agree__text"},{default:y(()=>$_$() && [G(N(p.$T("reg_itsme_final_step_checkbox_3")),1)]),_:1},8,["size"])])]),_:1},8,["modelValue"]),C(o(ro),{size:o(M).s,class:"registration-its-me-finish__info"},{default:y(()=>$_$() && [G(N(p.$T("reg_itsme_final_step_info_sms")),1)]),_:1},8,["size"]),C(L,{onClick:o(t),theme:o(he).accent,disabled:o(c),class:"registration-its-me-finish__button"},{default:y(()=>$_$() && [C(E,{size:o(M).m},{default:y(()=>$_$() && [G(N(p.$T("reg_itsme_final_step_button")),1)]),_:1},8,["size"])]),_:1},8,["onClick","theme","disabled"])])]),_:1},8,["closeButtonTitle","theme"])}}}),qw=j(jw,[["__scopeId","data-v-7dcd1a50"]]),xw=()=>{$_$();const e=_e(255),t=at(),n=m(()=>$_$() && !!(o(t).query.code&&o(t).query.from==="itsme"));return{isItsMeFinishProcess:m(()=>$_$() && e&&o(n))}},Xw=W({__name:"RegistrationSocial",setup(e){$_$();const{loading:t,isResponse:n,registrationBySocial:s}=NC(),{isItsMeFinishProcess:r}=xw();Gn(s);const i=m(()=>$_$() && o(t)?pt:o(r)?qw:o(n)?Hr:"div");return(a,l)=>$_$() && (g(),$(Ye(o(i)),{class:"registration-social"}))}}),Qw=W({name:"RegistrationApp",components:{RegistrationLayoutDefault:du,RegistrationLayoutWidget:Sb,RegistrationLayoutCustomWidget:Fb,RegistrationLayoutWidgetDefaultChina:YA,RegistrationLayoutDefaultWithItsMe:Nw,RegistrationSuccess:Hr,RegistrationSocial:Xw,RegistrationLayoutCustomVariantA:kL,RegistrationLayoutCustomVariantB:mw},setup(){$_$();const{initialize:e,destroy:t,isReady:n,registrationLayout:s,isWidget:r}=Zn(),{isResponse:i}=to(),a=m(()=>{$_$();if(!o(r)&&o(i))return Hr;const l=o(s);if(l)return Ay(l)});return Gn(e),ao(t),{isReady:n,currentComponent:a}}});function Zw(e,t,n,s,r,i){$_$();const a=B("UiPreloader");return e.isReady?(g(),$(Ye(e.currentComponent),{key:1})):(g(),$(a,{key:0}))}const Jw=j(Qw,[["render",Zw]]),eN=W({name:"registration-next",components:{RegistrationApp:Jw}});function tN(e,t,n,s,r,i){$_$();const a=B("RegistrationApp");return g(),$(a)}const oN=j(eN,[["render",tN]]),Ou={3:[133],2:[3,6,12,15]},nN=[{name:"registration",path:"registration/:type(socialregistration)?",component:it},...If,...Sf,...jT,qT,{path:"bonus",component:it,children:[{name:"bonus",path:`${br.RULES}/:id`,component:it,props:!0}]},{name:"accountverify",path:"user/accountverify",component:it,meta:{2:[13,11,22,12,6,3]}},{name:"registration-next",path:"registration-next",component:oN,meta:Ou},{name:"mf",path:"/:anyPath(.*)",component:it}],sN=nN,rN=[{name:"main",path:"",component:gf,children:sN,meta:Ou}],iN=z_(rN),aN={hashMode:!1,scrollBehaviorType:"auto"},Ht=V(V(V(V({},aN),pf),W_),iN),lN=[K_,Y_,j_,q_],$n={"bonus-popup":()=>X(()=>import("./aba985cbdc.js"),[],import.meta.url)};function cN(e,t,n){$_$();const{pathname:s,search:r,hash:i}=t,a=e.indexOf("#");if(a>-1){const u=i.includes(e.slice(a))?e.slice(a).length:1;let _=i.slice(u);return _[0]!=="/"&&(_="/"+_),$i(_,"")}const l=$i(s,e),c=!n||td(l,n,{trailingSlash:!0})?l:n;return c+(c.includes("?")?"":r)+i}const uN=co({name:"nuxt:router",enforce:"pre",async setup(e){$_$();var T,P,O;let t,n,s=Pl().app.baseURL;Ht.hashMode&&!s.includes("#")&&(s+="#");const r=(P=(T=Ht.history)==null?void 0:T.call(Ht,s))!=null?P:Ht.hashMode?x_(s):X_(s),i=Ht.routes&&(O=([t,n]=v(()=>Ht.routes(zs)),t=await t,n(),t))!=null?O:zs;let a;const l=Q_(nt(V({},Ht),{scrollBehavior:(L,S,I)=>{$_$();if(S===ki){a=I;return}if(Ht.scrollBehavior){if(l.options.scrollBehavior=Ht.scrollBehavior,"scrollRestoration"in window.history){const R=l.beforeEach(()=>{R(),window.history.scrollRestoration="manual"})}return Ht.scrollBehavior(L,ki,a||I)}},history:r,routes:i}));"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const c=$o(l.currentRoute.value);l.afterEach((L,S)=>{c.value=S}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=cN(s,window.location,e.payload.path),_=$o(l.currentRoute.value),d=()=>{_.value=l.currentRoute.value};e.hook("page:finish",d),l.afterEach((L,S)=>{var I,R,b,D;((R=(I=L.matched[0])==null?void 0:I.components)==null?void 0:R.default)===((D=(b=S.matched[0])==null?void 0:b.components)==null?void 0:D.default)&&d()});const f={};for(const L in _.value)Object.defineProperty(f,L,{get:()=>_.value[L],enumerable:!0});e._route=Z_(f),e._middleware=e._middleware||{global:[],named:{}};const p=nc();l.afterEach(async(L,S,I)=>{$_$();let R,b;delete e._processingMiddleware,!e.isHydrating&&p.value&&([R,b]=v(()=>$_$() && e.runWithContext(J_)),await R,b()),I&&([R,b]=v(()=>e.callHook("page:loading:end")),await R,b())});try{[t,n]=v(()=>l.isReady()),await t,n()}catch(L){[t,n]=v(()=>e.runWithContext(()=>$_$() && Nn(L))),await t,n()}const h=u!==l.currentRoute.value.fullPath?l.resolve(u):l.currentRoute.value;d();const E=e.payload.state._layout;return l.beforeEach(async(L,S)=>{$_$();let I,R;[I,R]=v(()=>e.callHook("page:loading:start")),await I,R(),L.meta=Gl(L.meta),e.isHydrating&&E&&!ed(L.meta.layout)&&(L.meta.layout=E),e._processingMiddleware=!0;{const b=new Set([...lN,...e._middleware.global]);for(const D of L.matched){const w=D.meta.middleware;if(w)for(const U of sc(w))b.add(U)}for(const D of b){const w=typeof D=="string"?e._middleware.named[D]||([I,R]=v(()=>{var F;return(F=$n[D])==null?void 0:F.call($n).then(z=>z.default||z)}),I=await I,R(),I):D;if(!w)throw new Error(`Unknown route middleware: '${D}'.`);const U=([I,R]=v(()=>e.runWithContext(()=>w(L,S))),I=await I,R(),I);if(!e.payload.serverRendered&&e.isHydrating&&(U===!1||U instanceof Error)){const F=U||Bi({statusCode:404,statusMessage:`Page Not Found: ${u}`});return[I,R]=v(()=>e.runWithContext(()=>$_$() && Nn(F))),await I,R(),!1}if(U!==!0&&(U||U===!1))return U}}}),l.onError(async()=>{$_$();let L,S;delete e._processingMiddleware,[L,S]=v(()=>e.callHook("page:loading:end")),await L,S()}),l.afterEach(async(L,S)=>{$_$();let I,R;L.matched.length===0&&([I,R]=v(()=>e.runWithContext(()=>$_$() && Nn(Bi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${L.fullPath}`,data:{path:L.fullPath}})))),await I,R())}),e.hooks.hookOnce("app:created",async()=>{$_$();let L,S;try{"name"in h&&(h.name=void 0),[L,S]=v(()=>l.replace(nt(V({},h),{force:!0}))),await L,S(),l.options.scrollBehavior=Ht.scrollBehavior}catch(I){[L,S]=v(()=>e.runWithContext(()=>$_$() && Nn(I))),await L,S()}}),{provide:{router:l}}}}),_N=bs(()=>X(()=>import("./892c6f8e0f.js").then(e=>e.EscapeFromLayout),__vite__mapDeps([5,1]),import.meta.url).then(e=>e.default||e.default||e)),dN=bs(()=>X(()=>import("./5ba36aa472.js"),[],import.meta.url).then(e=>e.default||e.default||e)),pN=bs(()=>X(()=>import("./7f7cb681d3.js"),[],import.meta.url).then(e=>e.default||e.default||e)),mN=[["EscapeFromLayout",_N],["NuxtPageDurable",dN],["T",pN]],fN=co({name:"nuxt:global-components",setup(e){for(const[t,n]of mN)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),ds={},gN=co({name:"nuxt:prefetch",setup(e){$_$();const t=Nt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{$_$();var a;let s,r;const i=(a=n==null?void 0:n.meta)==null?void 0:a.layout;i&&typeof ds[i]=="function"&&([s,r]=v(()=>ds[i]()),await s,r())})}),e.hooks.hook("link:prefetch",n=>{$_$();if(od(n))return;const s=t.resolve(n);if(!s)return;const r=s.meta.layout;let i=sc(s.meta.middleware);i=i.filter(a=>typeof a=="string");for(const a of i)typeof $n[a]=="function"&&$n[a]();r&&typeof ds[r]=="function"&&ds[r]()})}}),hN=co(async()=>{}),EN=co(async()=>{}),TN=co(({vueApp:e})=>{$_$();e.component("BaseInput",nd).component("InputMask",sd).component("InputMaskPhone",rd).component("NetworkPicture",id).component("StatisticFrame",ad).component("StatisticModal",ld).component("UiAccordion",Jr).component("UiAlert",cd).component("UiAngle",ud).component("UiAngleV2",_d).component("UiBadge",dd).component("UiBar",pd).component("UiBarBlock",md).component("UiBarControl",fd).component("UiBarControls",gd).component("UiBarControlsItem",hd).component("UiBarDrops",Ed).component("UiBarDropsItem",Td).component("UiBarGroup",yd).component("UiBarHeader",Cd).component("UiBarSwitches",Id).component("UiBarToggle",Sd).component("UiBonusSelect",Qr).component("UiBonusTracker",vd).component("UiBreadcrumbs",Od).component("UiButton",bd).component("UiButtonBase",Rd).component("UiCaption",Ad).component("UiChooseGroup",Pd).component("UiCircleDiagram",Ld).component("UiClipboard",wd).component("UiCodeConfirmField",Nd).component("UiColoredSvg",Dd).component("UiColumnNav",Ud).component("UiColumnNavLink",kd).component("UiColumnNavList",Bd).component("UiColumnNavSection",$d).component("UiColumnNavTitle",Fd).component("UiColumnToggleButton",Md).component("UiContentWrapper",Gd).component("UiDatepicker",Hd).component("UiDatepickerRangeModal",Vd).component("UiDropdown",zd).component("UiDropdownContent",Wd).component("UiDropdownForm",Kd).component("UiDropdownFormCol",Yd).component("UiDropdownFormHeader",jd).component("UiDropdownFormRow",qd).component("UiDropdownFormSection",xd).component("UiDropdownPhoneCodes",Xd).component("UiDropdownTrigger",Qd).component("UiEmptyMessage",Zd).component("UiField",Co).component("UiFieldBase",Jd).component("UiFieldDatepicker",Yl).component("UiFieldDatepickerRange",ep).component("UiFieldGoogleCaptchaTerms",Ul).component("UiFieldPhone",Wn).component("UiFieldSelect",ql).component("UiFieldSelectModalTrigger",tp).component("UiHighlight",op).component("UiIco",ys).component("UiIcoBase",ys).component("UiIcoCountry",np).component("UiIcoCurrency",sp).component("UiIcoSport",rp).component("UiIcoTeam",ip).component("UiIcoTeamBase",ap).component("UiIcoV2",lp).component("UiImg",cp).component("UiImgV2",up).component("UiIndeterminateProgressIndicator",_p).component("UiInformer",qr).component("UiInlineButton",Xl).component("UiInput",Hl).component("UiInputBase",dp).component("UiInputButton",pp).component("UiInputDatepicker",Kl).component("UiInputImages",mp).component("UiInputImagesProgress",fp).component("UiInputPhone",xr).component("UiInputSelect",jl).component("UiInputv2",zn).component("UiLink",gp).component("UiMarket",hp).component("UiMessageBlock",Ep).component("UiMessageBlockV2",Tp).component("UiModal",Wo).component("UiModalImage",xn).component("UiModalText",ro).component("UiModalTitle",Ko).component("UiNav",yp).component("UiNavItem",Cp).component("UiNavItems",Ip).component("UiNavLink",Sp).component("UiNavLinkToggle",vp).component("UiNotification",Op).component("UiNotificationAlert",bp).component("UiNotificationBase",Rp).component("UiNotificationSnackbar",Ap).component("UiNotificationV2",Pp).component("UiNotifications",Lp).component("UiNumberInput",wp).component("UiOption",Kn).component("UiPhoneApprove",Np).component("UiPlug",kl).component("UiPlugBackground",Bl).component("UiPlugContacts",Dp).component("UiPlugHelp",Up).component("UiPlugMessage",kp).component("UiPlugSocials",Bp).component("UiPlugTile",$p).component("UiPlugTileLogo",Fp).component("UiPlugTileText",Mp).component("UiPlugTileTitle",Gp).component("UiPopup",Hp).component("UiPopupV2",oc).component("UiPreloader",pt).component("UiRange",Vp).component("UiRangeV2",zp).component("UiScrollToTop",Wp).component("UiScrollbar",Kp).component("UiSearch",Yp).component("UiSearchButton",jp).component("UiSection",qp).component("UiSectionContent",xp).component("UiSectionHead",Xp).component("UiSectionHeadMore",Qp).component("UiSectionNav",Zp).component("UiSelectContent",Ql).component("UiSelectItem",Jp).component("UiSelectModal",em).component("UiSelectModalCountry",tm).component("UiSelectModalCountryV2",om).component("UiSelectModalPhoneCode",Nl).component("UiSelectModalPhoneCodeV2",nm).component("UiSelectModalSelection",sm).component("UiSelectModalV2",rm).component("UiSelectOptions",Zl).component("UiSelectValue",Us).component("UiSelection",so).component("UiSelectionIco",im).component("UiShowcaseBar",am).component("UiShowcaseBarItem",lm).component("UiShowcaseCard",cm).component("UiSkeleton",um).component("UiSlider",_m).component("UiSliderGroup",dm).component("UiSliderSlide",pm).component("UiSocialSelect",mm).component("UiStatus",fm).component("UiStatusIcon",gm).component("UiStatusMarker",hm).component("UiStepper",ei).component("UiSwipeSlider",Em).component("UiSwipeSliderV2",Tm).component("UiSwitch",ym).component("UiSwitches",Cm).component("UiTable",Im).component("UiTableCell",Sm).component("UiTableRow",vm).component("UiTabs",dn).component("UiTag",Zr).component("UiTextContent",Om).component("UiTextModal",bm).component("UiTimeline",tc).component("UiTimer",Rm).component("UiTopEventsNotification",Am).component("UiTopEventsNotifications",Pm).component("UiTopEventsSection",Lm).component("UiTopEventsSwitch",wm).component("UiTopEventsSwitches",Nm).component("UiTopEventsSwitchesItem",Dm).component("UiTopEventsTabs",Um)}),yN=e=>new MI(e),CN={install(){$_$();km[Bm.SERVICE_API]=yN}};let Or=!1,Bo="one_click";const IN=()=>{$_$();const{sendEventGoogle:e}=$m(),t=O=>{Bo=O},n=(O="one_click")=>{Bo=O,e("reg_option",{option:O})},s=(O,L,S)=>{e(`reg_${Bo}_${O}_${S||(L?"done":"empty")}`)};return{trackRegistrationFieldBlur:s,trackCountryFieldChange:(O,L)=>{e(`reg_${Bo}_country_change_${O}_${L}`)},trackCurrencyFieldChange:O=>{e(`reg_${Bo}_currency_change_${O}`)},trackBonusClick:O=>{const L=O===ye.CANCEL?"_reject":"";e(`reg_${Bo}_bonus${L}`)},trackDepositClick:()=>{e(`reg_${Bo}_deposit`)},trackPhoneFieldBlur:(O,L,S)=>{s(O,L==null?void 0:L.phoneNum,S)},trackCredentialsSave:O=>{Or=!0,e(`reg_1click_login_save_${O}`)},trackLoginSave:()=>{Or=!0,e("reg_1click_login_save")},trackGreetingsUnsavedLeave:()=>{Or||e("reg_1click_greetings_unsaved")},trackSmsCodeApprove:(O,L)=>{e("sms_code_approved",{place:O,code:L})},trackSmsCodeDecline:(O,L,S)=>{e("sms_code_declined",{place:O,code:L,error:S})},trackSmsCodeUserRequest:O=>{e("sms_code_user_requested",{place:O})},trackSmsCodeClientError:(O,L)=>{e("sms_code_client_error",{place:O,error:L})},trackSmsCodeServerRequest:O=>{e("sms_code_server_requested",{place:O})},trackSmsCodeServerError:(O,L)=>{e("sms_code_server_error",{place:O,error:L})},initRegistrationType:t,selectTypeRegistration:n}},SN={registration:IN},vN=()=>{$_$();const e=qt();Object.entries(SN).forEach(([t,n])=>{e.addModule(t,n)})},ON=co(async e=>{$_$();let t,n;[t,n]=v(()=>$_$() && Fm(["d.auth","d.dicts"])),await t,n(),vN();const{vueApp:s}=e;s.use(CN)});var bN=Object.defineProperty,RN=Object.defineProperties,AN=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,PN=Object.prototype.hasOwnProperty,LN=Object.prototype.propertyIsEnumerable,Sl=(e,t,n)=>t in e?bN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wN=(e,t)=>{for(var n in t||(t={}))PN.call(t,n)&&Sl(e,n,t[n]);if(Il)for(var n of Il(t))LN.call(t,n)&&Sl(e,n,t[n]);return e},NN=(e,t)=>RN(e,AN(t));const DN=e=>e?{[ps]:encodeURIComponent(e)}:void 0,UN=Jt(()=>{$_$();const e=Nt(),t=at(),s=zo().get("global/useRouteReturnUrl/isDisabledResetReturnState",!1),r=m(()=>{$_$();const{query:c}=o(t);return c[ps]?decodeURIComponent(c[ps]):void 0}),i=m(()=>$_$() && DN(o(r)));return{returnUrl:r,stateQuery:i,maybeResetReturnState:async()=>{$_$();let c,u;if(o(r)){if(o(s)){s.value=!1;return}[c,u]=v(()=>$_$() && e.replace({query:NN(wN({},o(t).query),{[ps]:void 0})})),await c,u()}},disableNextResetReturnState:()=>{s.value=!0}}}),kN=({T:e},t)=>$_$() && ({modalProgressLabels:m(()=>$_$() && Mm(1,o(t)+1,1).map(s=>e("main_step_num",[s])))});Gm({myProject:{name:"Welcome app"}});const BN=()=>{$_$();const e=!!_e(671),t=_e(561);return{isEnableRegistration:m(()=>!e&&t),showRegistrationForm:({isInstantBet:r=!1,isKeepSelect:i=!1,locationForAnalytics:a=void 0}={})=>{window.coreBus.emit("triggerShowRegistrationForm",{isInstantBet:r,isKeepSelect:i,locationForAnalytics:a})}}},$N=()=>{$_$();const e=ht(),{notificationError:t}=vt();return{notificationRESTError:(s,r)=>{$_$();if(!(s instanceof Error)){e.warn("notificationRESTError: error not instanceof Error");return}const{message:i=""}=s;if(!(s instanceof Pr&&s.isCancel))return t(i,r)}}},FN=Jt(()=>{$_$();const e=J(!1),t=new wn;e.value=t.isHidden;const n=()=>{e.value=t.isHidden};return t.on(wn.LEAVING,n),t.on(wn.COME_BACK,n),Hm(()=>{$_$();t.remove(wn.LEAVING,n),t.remove(wn.COME_BACK,n)}),{hasLeftPage:e,leavingPage:t}}),MN=co(e=>{$_$();e.vueApp.provide("useAppStorage",Kt),e.vueApp.provide("useT",Be),e.vueApp.provide("useVModal",Ot),e.vueApp.provide("useWebApi",Hn),e.vueApp.provide("useAnalytics",Dt),e.vueApp.provide("useDateTimeService",Es),e.vueApp.provide("$dateTimeService",Es()),e.vueApp.provide("dictionaryService",Vm()),e.vueApp.provide("useNotifications",vt),e.vueApp.provide("useMediaUrl",ti),e.vueApp.provide("useGlobalStore",ve),e.vueApp.provide("useNotificationStore",Jg),e.vueApp.provide("useTimezoneSetting",zm),e.vueApp.provide("useRouteReturnUrl",UN),e.vueApp.provide("useShowRegistrationForm",BN),e.vueApp.provide("useModalProgressLabels",kN),e.vueApp.provide("useForm",Ll),e.vueApp.provide("UiFieldPhone",Wn),e.vueApp.provide("useScreenSize",Kg),e.vueApp.provide("usePageLeave",FN),e.vueApp.provide("useCustomNotifications",$N),e.vueApp.provide("useSecureCookie",ai)}),GN=co(()=>{$_$();et("LogoutButton",()=>X(()=>import("./6a0a9e3315.js"),__vite__mapDeps([61,5,1,62]),import.meta.url),{wrapperNodeAttributes:{class:"logout-button"}}),et("AuthFormApp",()=>X(()=>import("./ed81cc837b.js"),__vite__mapDeps([63,64,1,65,5,4,66,67,68,69]),import.meta.url),{wrapperNodeAttributes:{class:"auth-form-app"}}),et("Dummy",()=>X(()=>Promise.resolve().then(()=>Cf),void 0,import.meta.url),{wrapperNodeAttributes:{class:"welcome-app-dummy"}}),et("AuthFormSiteUpdates",()=>X(()=>import("./f63b2be2be.js"),__vite__mapDeps([70,5,1,71]),import.meta.url)),et("AuthDropdown",()=>X(()=>import("./2c04442ced.js"),__vite__mapDeps([72,5,1]),import.meta.url)),et("AuthFormExtended",()=>X(()=>Promise.resolve().then(()=>GT),void 0,import.meta.url)),et("RegistrationNextDesktop",()=>X(()=>import("./950fd29068.js").then(e=>e.RegistrationAppRoot_F),[],import.meta.url)),et("RegistrationNextMobile",()=>X(()=>import("./950fd29068.js").then(e=>e.RegistrationAppRoot_F),[],import.meta.url)),et("RegistrationApp",()=>X(()=>import("./950fd29068.js").then(e=>e.RegistrationAppRoot_F),[],import.meta.url)),et("AuthTelegramModal",()=>X(()=>import("./78282646d0.js"),__vite__mapDeps([73,74,64,1,65,5,4,66,75,76,77]),import.meta.url)),et("RegistrationTrustlyDesktop",()=>X(()=>import("./4bf116f9e1.js"),__vite__mapDeps([78,1,56,57,79]),import.meta.url)),et("TrustlyDepositWidgetDesktop",()=>X(()=>Promise.resolve().then(()=>bL),void 0,import.meta.url)),et("TrustlyDepositWidgetMobile",()=>X(()=>import("./25181c5050.js"),__vite__mapDeps([80,5,1,81]),import.meta.url)),et("TelegramUserWidget",()=>X(()=>import("./7181b100d5.js"),__vite__mapDeps([82,74,83]),import.meta.url)),et("ForgotAppModal",()=>X(()=>import("./e577767680.js").then(e=>e.ForgotAppModal),__vite__mapDeps([27,1,28]),import.meta.url)),et("ResponsibleGamingAgreementModal",()=>X(()=>import("./b88247e1e4.js"),__vite__mapDeps([29,1,30]),import.meta.url)),et("RegistrationFormRemoteProvider",()=>X(()=>import("./892c6f8e0f.js").then(e=>e.index),__vite__mapDeps([5,1]),import.meta.url)),et("WelcomeUserNotificationsWidget",()=>X(()=>import("./892c6f8e0f.js").then(e=>e.UserNotificationsWidget),__vite__mapDeps([5,1]),import.meta.url)),et("RegistrationCompletePhone",()=>X(()=>import("./fd43faf77a.js"),__vite__mapDeps([84,85]),import.meta.url))}),HN=async(e,t)=>{$_$();var n;let s,r;{(n=e.$multiBuildPreloadComponents)!=null||(e.$multiBuildPreloadComponents={});const i=("mbc-"+t).toLowerCase(),a=new Set;document.querySelectorAll("[data-"+i+"]").forEach(c=>{const u=c.dataset[i];u&&!a.has(u)&&a.add(u)});const l=Object.assign({"../.nuxt/loaders/loadAuthDropdownDesktop.ts":()=>X(()=>import("./892c6f8e0f.js").then(c=>c.loadAuthDropdownDesktop$1),__vite__mapDeps([5,1]),import.meta.url),"../.nuxt/loaders/loadAuthDropdownDesktopSync.ts":()=>X(()=>import("./40769b8687.js"),__vite__mapDeps([86,87,1,88,5,89,90,91,92]),import.meta.url),"../.nuxt/loaders/loadAuthDropdownTriggerConfigDesktop.ts":()=>X(()=>import("./892c6f8e0f.js").then(c=>c.loadAuthDropdownTriggerConfigDesktop$1),__vite__mapDeps([5,1]),import.meta.url),"../.nuxt/loaders/loadAuthDropdownTriggerConfigDesktopSync.ts":()=>X(()=>import("./d71ac8722f.js").then(c=>c.loadAuthDropdownTriggerConfigDesktopSync),__vite__mapDeps([93,5,1]),import.meta.url),"../.nuxt/loaders/loadLogoutButtonConfig.ts":()=>X(()=>import("./892c6f8e0f.js").then(c=>c.loadLogoutButtonConfig$1),__vite__mapDeps([5,1]),import.meta.url),"../.nuxt/loaders/loadLogoutButtonConfigSync.ts":()=>X(()=>import("./892c6f8e0f.js").then(c=>c.loadLogoutButtonConfigSync),__vite__mapDeps([5,1]),import.meta.url),"../.nuxt/loaders/loadRegistrationColorScheme.ts":()=>X(()=>Promise.resolve().then(()=>QS),void 0,import.meta.url),"../.nuxt/loaders/loadRegistrationColorSchemeSync.ts":()=>X(()=>import("./892c6f8e0f.js").then(c=>c.loadRegistrationColorSchemeSync),__vite__mapDeps([5,1]),import.meta.url),"../.nuxt/loaders/loadRegistrationCompleteFormAccountInfoConfig.ts":()=>X(()=>Promise.resolve().then(()=>OR),void 0,import.meta.url),"../.nuxt/loaders/loadRegistrationCompleteFormAccountInfoConfigSync.ts":()=>X(()=>import("./892c6f8e0f.js").then(c=>c.loadRegistrationCompleteFormAccountInfoConfigSync),__vite__mapDeps([5,1]),import.meta.url),"../.nuxt/loaders/loadRegistrationLayoutDefaultConfigMobile.ts":()=>X(()=>import("./892c6f8e0f.js").then(c=>c.loadRegistrationLayoutDefaultConfigMobile$1),__vite__mapDeps([5,1]),import.meta.url),"../.nuxt/loaders/loadRegistrationLayoutDefaultConfigMobileSync.ts":()=>X(()=>import("./892c6f8e0f.js").then(c=>c.loadRegistrationLayoutDefaultConfigMobileSync),__vite__mapDeps([5,1]),import.meta.url),"../.nuxt/loaders/loaduseRegistrationFirstDepositConfig.ts":()=>X(()=>Promise.resolve().then(()=>UR),void 0,import.meta.url),"../.nuxt/loaders/loaduseRegistrationFirstDepositConfigSync.ts":()=>X(()=>import("./a7e15c4845.js").then(c=>c.loaduseRegistrationFirstDepositConfigSync),__vite__mapDeps([4,5,1]),import.meta.url)});[s,r]=v(()=>Promise.all([...a].map(async c=>{$_$();var u,_;let d,f;try{for(const p in l)if(p.includes(`/load${c}.`)){const h=([d,f]=v(()=>{var T;return(T=l[p])==null?void 0:T.call(l)}),d=await d,f(),d),E=([d,f]=v(()=>{var T;return(T=h==null?void 0:h.default)==null?void 0:T.call(h)}),d=await d,f(),d);(_=(u=e.$multiBuildPreloadComponents)[c])!=null||(u[c]=E)}}catch(p){console.log(`MultiBuildComponent [${c}] is not preloaded`)}}))),await s,r()}},VN=co(async e=>{$_$();let t,n;!Wm()&&Km()&&([t,n]=v(()=>$_$() && HN(e,Ym())),await t,n())}),zN=[jm,qm,uN,xm,Xm,fN,gN,Qm,Zm,Jm,hN,EN,TN,ON,MN,GN,VN],WN={};function KN(e,t){$_$();const n=Ol;return g(),$(n)}const YN=j(WN,[["render",KN]]),jN={key:0},qN={__name:"nuxt-root",setup(e){$_$();const t=()=>null,n=Vo(),s=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",s);Nt().beforeEach(c)}const r=!1;ef(tf,at()),n.hooks.callHookWith(c=>c.map(u=>u()),"vue:setup");const i=nc(),a=!1;of((c,u,_)=>{$_$();if(n.hooks.callHook("vue:error",c,u,_).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),nf(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>$_$() && Nn(c)),!1});const l=!1;return(c,u)=>$_$() && (g(),$(sf,{onResolve:o(s)},{default:y(()=>$_$() && [o(a)?(g(),k("div",jN)):o(i)?(g(),$(o(rf),{key:1,error:o(i)},null,8,["error"])):o(l)?(g(),$(o(t),{key:2,context:o(l)},null,8,["context"])):o(r)?(g(),$(Ye(o(r)),{key:3})):(g(),$(o(YN),{key:4}))]),_:1},8,["onResolve"]))}};af({RootComponent:qN,plugins:zN,baseURL:cf,nuxtAppName:"__WELCOME_APP__"});export{gD as AuthFormApp,Dn as AuthFormType,pD as BONUS_BACKGROUND_IMAGE_KEY,mD as BONUS_LINK_PARAM,pl as CustomRegistrationField,zL as CustomRegistrationSeparator,ML as CustomRegistrationSocials,Iu as ICON_REGISTRATION_PATH,fn as ModalNames,fD as PASSWORD_FIELDS_TYPES,Sr as RESPONSIBLE_AGREEMENT_MODAL_STORAGE_KEY,pR as RegistrationAccountInfoForImg,Jw as RegistrationApp,ye as RegistrationBonus,Hs as RegistrationBonusChoice,Hv as RegistrationBonusChoiceTerms,Gr as RegistrationCompleteLoading,DS as RegistrationFieldCheckbox,Ve as RegistrationFieldDecorator,os as RegistrationFieldInput,H as RegistrationFieldName,Mr as RegistrationFieldNotification,CS as RegistrationFieldPassword,ev as RegistrationFieldPhoneMega,zS as RegistrationFieldPhoneMegaAction,ie as RegistrationFieldPropsNames,Ho as RegistrationLayout,oO as RegistrationPaymentsCard,Hr as RegistrationSuccess,We as RegistrationSuccessComponent,GE as SHOW_EXTRA,Mt as TelegramUserWidgetEvents,ri as TimeCounting,Si as Timeline,TT as UiFieldReCaptcha,X as __vitePreload,j as _export_sfc,Xw as _sfc_main,US as _sfc_main$1,hl as _sfc_main$2,AA as _sfc_main$3,GI as addNewPhone,hD as authDropdownConfig,QN as authFormParser,cD as bySmsCode,uD as byTwoStep,gn as componentsData,ED as confirmAddNewPhone,_T as createForgotPasswordModal,CL as createTrustlyDepositModal,IL as createTrustlyStoreCredentialsModal,JN as formatPhone,ZN as generateUuid,Ea as getCaptchaHeader,XS as getConfirmationCodeButtonTheme,Ay as getLayoutComponentName,iD as getNotifications,eD as getPluralForm,vi as iconColoredSvg,no as lazyLoad,tD as maskedEmail,oD as parseBrowserInfo,$c as phone,Fc as phoneCode,_D as sendSms,dD as sendTelegramCode,Tu as useAccountInfoForm,jb as useAccountInfoSendToEmailForm,Xn as useAnalytics,sD as useAppStorage,Vc as useAuthBySocial,pi as useAuthFormByPassword,Qn as useAuthFormStore,di as useAuthResponseHandler,Oi as useAutoLoginWithRedirect,AI as useAvailableOtpChannels,qb as useAvailableSaveCredentialsOptions,xb as useChangeLoginAfterReg,ty as useCodeSendCount,oy as useCodeSendTimer,TL as useCustomRegistration,iw as useCustomRegistration$1,jA as useCustomRegistrationForm,DP as useCustomRegistrationLicenses,mO as useDynamicBanner,Io as useFatmanService,Qc as useFieldCheckbox,OI as useFieldCity,vv as useFieldEmailDomainSuggestions,lD as useFieldErrorMessageOnInactivity,es as useFieldInput,Zc as useFieldPassword,Jc as useFieldPhone,tu as useFieldPhoneConfirmation,eu as useFieldPhoneMega,cv as useFieldRadio,BI as useFieldRegion,TI as useFieldSelect,ou as useFieldSocialSelect,RI as useFieldSubmit,_c as useFingerprint,uc as useFingerprintWithContext,ii as useForm,Mc as useFormAwaiter,Gs as useFormDraftStore,mn as useHostVModal,yn as useIdentificationBonusModal,vu as useItsMeSocial,Mw as useItsMeSocialFinish,cc as useLastSessionNotification,nD as useModalProgressLabels,Jg as useNotificationStore,th as useNotifications,hc as useOtpCodeDeliveryMethods,rD as usePageLeave,lh as usePhoneCountry,li as usePhoneDataProvider,au as usePhoneTooltip,po as useRedirectAfterRegistration,jo as useRedirectUrlQuery,nS as useRegistrationBanners,kt as useRegistrationBonus,aT as useRegistrationBonusPopup,NC as useRegistrationBySocial,dA as useRegistrationCompleteSocial,yi as useRegistrationField,YI as useRegistrationFieldDate,wv as useRegistrationFieldRefCodeCustomization,De as useRegistrationFields,Zn as useRegistrationForm,xw as useRegistrationItsMeDetector,lS as useRegistrationLeave,iO as useRegistrationPayments,to as useRegistrationResponse,En as useRegistrationStaticData,xc as useRegistrationSteps,me as useRegistrationStore,Tn as useRegistrationSucceedWatcher,nR as useRegistrationSuccessCopyField,Jn as useRegistrationTabs,Ti as useRouteAfterRegistration,dc as useRouteReturnUrl,hu as useSelectSuccessComponent,WL as useShowLoginForm,oh as useShowRegistrationForm,dh as useShowSelectCountries,pc as useSiteCaptcha,aD as useSmsResendHelper,xE as useSocialLinks,LO as useStaticBanner,Vs as useSuccessData,gu as useSuccessMain,pn as useT,yL as useTrustly,Bs as useVModal,$s as useValidators};