(window.webpackJsonp=window.webpackJsonp||[]).push([[488],{1215:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(1);const n=e=>({fieldParams:Object(o.b)((()=>Object(o.G)(e).field)),fieldError:Object(o.b)((()=>Object(o.G)(e).error)),fieldModel:Object(o.b)({get:()=>Object(o.G)(e).value,set(t){Object(o.G)(e).setValue(t),Object(o.G)(e).validate()}})})},1428:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o=r(1),n=r(1215);const l=(e,t,r)=>{const{fieldParams:l,fieldError:c,fieldModel:d}=Object(n.a)(e),O=Object(o.b)((()=>Object(o.G)(t)?"":Object(o.G)(l).placeholder)),f=Object(o.b)((()=>Object(o.G)(t)||Object(o.G)(r)?Object(o.G)(l).placeholder:"")),m=Object(o.b)((()=>Object(o.G)(l).inputType||"text")),_=Object(o.b)((()=>Boolean(Object(o.G)(d))&&!Object(o.G)(c)));return{fieldParams:l,fieldError:c,fieldModel:d,placeholderLabel:O,placeholder:f,tagType:m,isFilledAndValid:_}}},1493:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var o,n=r(170),l=r(1),c=r(205),d=r(83),O=Object(l.e)({name:"TimeCounting",props:{[c.c]:{type:Number,required:!0},format:{type:String,default:null==(o=n.d[n.b])?void 0:o.timeFullFormat},inverse:{type:Boolean,default:!1},timeout:{type:Number,default:1e3},stopOnZeroDateFormatted:{type:Boolean,default:!1}},setup(e,{emit:t,slots:r}){const{modelValue:o,updateModelValue:n}=Object(c.e)(e),{inverse:O,timeout:f,stopOnZeroDateFormatted:m}=Object(l.F)(e),_=Object(d.a)("$dateTimeService")(),j=Object(l.B)(),v=Object(l.B)(Date.now()),h=Object(l.b)({get:()=>Object(l.G)(o),set(e){n(e),t("change",e)}}),C=Object(l.b)((()=>new Date(Object(l.G)(h)))),E=Object(l.b)((()=>_.formatTimeWithCustomFormatter(Object(l.G)(C),e.format))),y=()=>{clearInterval(Object(l.G)(j))},T=time=>{const e=Object(l.G)(m)&&(Object(l.G)(O)&&time<1e3||!Object(l.G)(O)&&time>1e3);return Boolean(e)},I=()=>{const e=Date.now(),time=e-Object(l.G)(v);v.value=e,Object(l.G)(O)?(time=>{const e=Object(l.G)(h)-time;T(e)?h.value=0:h.value=e})(time):(time=>{const e=Object(l.G)(h)+time;T(e)?h.value=0:h.value=e})(time)},R=()=>{j.value=setInterval((()=>I()),Object(l.G)(f))},P=()=>{I()};return P(),R(),Object(l.q)((()=>{P(),R()})),Object(l.t)(y),Object(l.s)(y),()=>{var e;return Object(l.i)("div",null==(e=r.default)?void 0:e.call(r,{date:Object(l.G)(C),dateFormatted:Object(l.G)(E),cancel:y}))}}})},1514:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var o=r(1),n=r(34),l=r(200),c=r(111);const d={[r(1692).b.ACCOUNT_VERIFICATION]:"registration_redirect_verification"},O=()=>{var e,t,r,O;const{isAvailableRedirectAfterRegistration:f}=Object(c.H)(),m=Object(c.A)(),_=Object(c.C)(),j=Object(c.q)(),{getLinkWithLang:v}=Object(l.b)(j),{previousRoute:h}=Object(c.y)(),{afterRegistrationRedirectUrl:C,setAfterRegistrationRedirectUrl:E,setRegistrationStartedFromUrl:y}=Object(c.h)(),T=Object(o.b)((()=>j.getters.globalIsUserAuth)),I=null!=(O=null==(r=null==(t=_.resolve(null!=(e=Object(o.G)(C))?e:""))?void 0:t.route)?void 0:r.name)?O:"",R=Object(o.b)((()=>Boolean(Object(o.G)(C)&&Object(o.G)(C)!==Object(o.G)(m).path))),P=Object(o.b)((()=>{var e;return null!=(e=null==d?void 0:d[I])?e:"registration_redirect"}));return{isAuthorized:T,TIME_TO_REDIRECT:10,isRedirectAvailable:R,goToRedirectUrl:()=>{Object(o.G)(T)&&Object(o.G)(R)&&_.push(Object(o.G)(C))},setAfterRegistrationRedirectUrl:e=>{var t,r;if(!f)return;const n=null!=(r=null==(t=Object(o.G)(m).query)?void 0:t.redirectUrl)?r:e.redirectUrl;n&&n!==Object(o.G)(m).path&&E(n)},setRegistrationStartedFromUrl:()=>{var e,t;if(f){const r="registration"===Object(o.G)(m).name?null!=(t=null==(e=Object(o.G)(h))?void 0:e.path)?t:v({name:n.a.HOME}):Object(o.G)(m).path;y(r)}},registrationRedirectTranslate:P}}},1515:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o=r(1),n=r(1174);const l=()=>{const{registrationResponse:e}=Object(n.a)(),t=Object(o.b)((()=>Boolean(Object.keys(Object(o.G)(e)).length))),r=Object(o.b)((()=>{var t;return Boolean(null==(t=Object(o.G)(e))?void 0:t.isAuth)})),l=Object(o.b)((()=>{var t;return Boolean(null==(t=Object(o.G)(e))?void 0:t.error)})),c=Object(o.b)((()=>{var t;return Boolean(null==(t=Object(o.G)(e))?void 0:t.errors)})),d=Object(o.b)((()=>{var t;return Boolean(null==(t=Object(o.G)(e))?void 0:t.success)})),O=Object(o.b)((()=>{var t;return null==(t=Object(o.G)(e))?void 0:t.errorType})),f=Object(o.b)((()=>{var t,r;return null!=(r=null==(t=Object(o.G)(e))?void 0:t.userId)?r:""})),m=Object(o.b)((()=>{var t,r;return null!=(r=null==(t=Object(o.G)(e))?void 0:t.password)?r:""})),_=Object(o.b)((()=>{var t,r;return null!=(r=null==(t=Object(o.G)(e))?void 0:t.socialProvider)?r:""})),j=Object(o.b)((()=>{var t,r;return null!=(r=null==(t=Object(o.G)(e))?void 0:t.mail)?r:""})),v=Object(o.b)((()=>{var t,r;return null!=(r=null==(t=Object(o.G)(e))?void 0:t.phone)?r:""})),h=Object(o.b)((()=>{var t,r;return null!=(r=null==(t=Object(o.G)(e))?void 0:t.message)?r:""})),C=Object(o.b)((()=>{var t,r;return null!=(r=null==(t=Object(o.G)(e))?void 0:t.error)?r:""}));return{registrationResponse:e,isResponse:t,isResponseAuth:r,isResponseError:l,isResponseErrors:c,isResponseSuccess:d,responseUserId:f,responsePassword:m,responseMessage:h,responseSocialProvider:_,responseMail:j,responsePhone:v,responseError:C,responseErrorType:O}}},1554:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(10);const n={FormField:o.b.gray,UiSkeleton:o.b.gray100,UiButton:o.b.primary,UiTabsWidget:o.b.gray,UiTabsModal:o.b.gray}},1624:function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var o=r(1),n=r(1144),l=r(1179),c=r(1215),d=r(1174);const O=e=>{var t;return Array.isArray(e)?null!=(t=e.join(" "))?t:"":e};var f=r(111),m=Object.defineProperty,_=Object.defineProperties,j=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,E=(e,t,r)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const y=(e,t)=>{const r=Object(f.J)(),{setChildrenVisibility:m}=Object(d.a)(),{fieldParams:y,fieldError:T,fieldModel:I}=Object(c.a)(e),R=Object(o.B)(""),P=Object(o.b)((()=>{var e;return null==(e=Object(o.G)(y).options)?void 0:e.map((option=>{return a=((a,b)=>{for(var e in b||(b={}))h.call(b,e)&&E(a,e,b[e]);if(v)for(var e of v(b))C.call(b,e)&&E(a,e,b[e]);return a})({},option),b={strForSearch:Object(o.G)(y).searchKeys.reduce(((e,t)=>e?`${e} ${O(option[t])}`:O(option[t])),"").toLowerCase()},_(a,j(b));var a,b}))})),G=Object(o.b)((()=>{const{options:e}=Object(o.G)(y);if(e)return e.find((option=>option.id===Object(o.G)(I)))})),F=Object(o.b)((()=>{var e,t;return null!=(t=null==(e=Object(o.G)(G))?void 0:e.name)?t:""})),N=Object(o.b)((()=>{var e;return(null==(e=Object(o.G)(y).options)?void 0:e.length)<=1||Object(o.G)(y).disabled})),S=Object(o.b)((()=>Object(o.G)(t)?n.a:Object(f.f)())),A=Object(o.b)((()=>{var e;return null==(e=Object(o.G)(P))?void 0:e.filter((option=>option.strForSearch.includes(Object(o.G)(R))))})),D=Object(o.b)((()=>Object(o.G)(y).id===l.a.CITY_ID&&Object(o.G)(N)?r("req_select_region_first"):"")),U=Object(o.b)((()=>({label:Object(o.G)(y).label,internalSearch:!1,hideSelected:!0,searchable:Boolean(Object(o.G)(y).searchKeys.length),showNoOptions:!1}))),w=Object(o.b)((()=>"bonus"===Object(o.G)(y).customLabel)),B=Object(o.b)((()=>"currency"===Object(o.G)(y).customOption)),L=option=>{if(!option)return;const t=Object(o.G)(e);null==t||t.setValue(option.id),t.field.isParentField&&m(t.field.id,option.id)},M=()=>{const[option]=Object(o.G)(y).options,e=Object(o.G)(y).preselectFirst||1===Object(o.G)(y).options.length;Object(o.G)(I)||option&&e&&L(option)};return Object(o.r)(M),{fieldParams:y,fieldModel:I,fieldError:T,fieldOptions:P,selectedOption:G,isDisabled:N,selectedOptionName:F,multiselectConfig:U,currentComponent:S,optionsItems:A,tooltip:D,queryString:R,isFieldBonus:w,isFieldCurrency:B,selectValue:L,setQueryString:e=>{R.value=e.toLowerCase()},selectDefaultValue:M}}},1625:function(e,t,r){"use strict";r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return E}));var o=r(112),n=r(1889),l=r(1744),c=Object.defineProperty,d=Object.defineProperties,O=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,j=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const v=e=>{var t,r,o;const n=null!=(o=null!=(r=null==(t=e.account_form)?void 0:t.user_id)?r:e.user_id)?o:e.login;return n?String(n):""},h=e=>{var t,r,o,l,c,d,O,f,m,_,j,h,C,E,y,T,I,R,P;return{userId:v(e),password:null!=(o=null!=(r=null==(t=e.account_form)?void 0:t.password)?r:e.password)?o:"",isAuth:null!=(c=null!=(l=e.is_authorized)?l:e.is_auth)&&c,socialProvider:null!=(O=null==(d=e.provider)?void 0:d.toLowerCase())?O:"",socialProviderName:null!=(f=e.providerName)?f:"",mail:null!=(m=e.mail)?m:"",success:null!=(_=e.success)&&_,error:null!=(j=e.error)?j:"",errors:e.errors,alert:null!=(h=e.alert)?h:"",hasCaptchaError:null==e?void 0:e.captchaError,captchaType:null==e?void 0:e.captchaType,phone:null!=(C=e.phone)?C:"",percentFirstDeposit:null!=(E=e.percentFirstDeposit)?E:"",amountFirstDeposit:null!=(y=e.amountFirstDeposit)?y:"",bonusAmount:null!=(T=e.bonusAmount)?T:"",currencyFirstDeposit:null!=(I=e.currencyFirstDeposit)?I:"",message:null!=(R=e.message)?R:"",type:e.type,errorType:null!=(P=e.error_type)?P:n.a.DEFAULT,redirectUrl:e.redirect_url}},C=e=>{const{id:t,email:r,password:o}=e.data.attributes,n=h(e);return a=((a,b)=>{for(var e in b||(b={}))m.call(b,e)&&j(a,e,b[e]);if(f)for(var e of f(b))_.call(b,e)&&j(a,e,b[e]);return a})({},n),d(a,O({userId:t,mail:r,password:o,success:!0}));var a},E=({type:e,payload:t,registrationApi:r})=>r===l.a.V1?(({data:{attributes:{credentials:e={},message:t=""}={}}={}}={})=>({userId:e.email,email:e.email,password:e.password,message:t,errors:void 0,alert:void 0,success:Boolean(e.password)}))(t):e===o.a.IDENTIFICATION_REG_TYPE?C(t):h(t)},1743:function(e,t,r){e.exports={}},1744:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=(e=>(e.DEFAULT="default",e.V1="v1",e))(o||{})},1745:function(e,t,r){e.exports={}},1746:function(e,t,r){e.exports={}},1747:function(e,t,r){e.exports={}},1748:function(e,t,r){e.exports={}},1749:function(e,t,r){e.exports={}},1750:function(e,t,r){e.exports={}},1751:function(e,t,r){e.exports={}},1752:function(e,t,r){e.exports={}},1753:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return c})),r.d(t,"b",(function(){return d}));const o=14,n=input=>input.replaceAll(/[^0-9]/g,""),l=(e,t)=>{if(e.length!==t.length)throw new Error("Buffer length does not match weights length");const r=e.map(((e,r)=>{var o;return e*(null!=(o=t[r])?o:0)})).reduce(((a,e)=>e+a),0)%11;return r>=2?11-r:0},c=input=>{if(""===input.trim())return!1;const e=n(input);if(11!==e.length)return!1;const[t,r]=[e.substring(0,9),e.substring(9,11)],o=String(t).split("",9).map((e=>Number(e))),c=l(o,[10,9,8,7,6,5,4,3,2]),d=o.concat(c),O=l(d,[11,10,9,8,7,6,5,4,3,2]);return String(c)+String(O)===r},d=input=>{const e=n(input),[a,b,t,r]=[e.substring(0,3),e.substring(3,6),e.substring(6,9),e.substring(9,11)];let o=a;return(null==b?void 0:b.length)&&(o+="."+b),(null==t?void 0:t.length)&&(o+="."+t),(null==r?void 0:r.length)&&(o+="-"+r),o}},1754:function(e,t,r){e.exports={}},1755:function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var o=r(200),n=r(48),l=r(1),c=r(29),d=r(111),O=(e,t,r)=>new Promise(((o,n)=>{var l=e=>{try{d(r.next(e))}catch(e){n(e)}},c=e=>{try{d(r.throw(e))}catch(e){n(e)}},d=e=>e.done?o(e.value):Promise.resolve(e.value).then(l,c);d((r=r.apply(e,t)).next())}));const f=(e="reg_route_to_home")=>{const t=Object(d.d)(),r=Object(d.c)(),f=Object(d.q)(),{hasRedirectToSlots:m}=Object(d.H)(),{getLocationWithLang:_}=Object(o.a)(Object(l.b)((()=>f.getters.globalGetLanguage))),j=_({name:t.SLOTS,params:{section:r.SLOTS}}),v=Object(l.j)("useAppStorage")(),{routeBeforeRegistration:h,homeLink:C}=Object(d.s)(),E=Object(d.A)(),y=Object(n.a)(),{previousRoute:T}=Object(d.y)(),{routeAfterRegistrationStrategy:I}=Object(d.H)(),R={retrieveRoute:()=>O(void 0,null,(function*(){let e;return(yield v.getItem(c.a.RETURN_URL))===`/${t.SLOTS}`?e=Object(l.G)(j):"registration"!==Object(l.G)(E).name&&(e=Object(l.G)(h)),e})),storeRoute:()=>O(void 0,null,(function*(){var e,t;(null==(e=Object(l.G)(E).query)?void 0:e.returnUrl)&&m&&(yield v.setItem(c.a.RETURN_URL,null==(t=Object(l.G)(E).query)?void 0:t.returnUrl))})),buttonTranslationKey:e},P={retrieveRoute:()=>O(void 0,null,(function*(){let e;return(yield R.retrieveRoute())||(e=yield v.getItem(c.a.RETURN_URL)),e})),storeRoute:()=>O(void 0,null,(function*(){var e,t,r;let o;o=(null==(e=Object(l.G)(E).query)?void 0:e.returnUrl)&&m?null==(t=Object(l.G)(E).query)?void 0:t.returnUrl:null==(r=Object(l.G)(T))?void 0:r.fullPath,o&&(yield v.setItem(c.a.RETURN_URL,o))})),buttonTranslationKey:"reg_route_continue"},{retrieveRoute:G,storeRoute:F,buttonTranslationKey:N}=1===I?P:R;return{getRoute:()=>O(void 0,null,(function*(){const e=Object(l.B)(Object(l.G)(C));try{const t=yield G();t&&(e.value=t)}catch(e){y.error("An error occurred while trying to get columns count from appStorage",e)}return e})),setRoute:F,buttonTranslationKey:N}}},1885:function(e,t,r){"use strict";r.d(t,"a",(function(){return R}));var o=r(1),n=r(10),l=r(214),c=r(426),d=r(26),O=r(427),f=r(242),m=r(423),_=r(204);var j=r(422),v=Object.defineProperty,h=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=Object(o.e)({name:"UiInputPhone_F",components:{InputMaskPhone:c.a,UiInputBase:f.a,UiDropdownPhoneCodes:O.a},props:((e,t)=>{for(var r in t||(t={}))C.call(t,r)&&y(e,r,t[r]);if(h)for(var r of h(t))E.call(t,r)&&y(e,r,t[r]);return e})({[d.d]:{type:Object,default:void 0},disabled:{type:Boolean,default:!1},disabledSelect:{type:Boolean,default:!1},required:{type:Boolean,default:!1},label:{type:String,default:""},theme:{type:String,default:n.b.gray100},dropdownTheme:{type:String,default:n.b.gray100},size:{type:String,default:l.b.m},error:{type:String,default:""},searchable:{type:Boolean,default:!0},isManualCountryCode:{type:Boolean,default:!0},isCountryCodeEditable:{type:Boolean,default:!0},autocomplete:{type:String,default:""},idValue:{type:String,default:""},noResultMessage:{type:String,default:""},codesSize:{type:String,default:l.a}},j.a),emits:["update:modelValue"],setup(e){const{countryCode:t,countryId:r,phoneCode:n,phoneNum:l,countrySelectDisabled:c,fullPhone:O,focusPhoneCodeInput:f,isFocused:j,phoneNumInput:v,onPhoneNumInputFocus:h,onPhoneNumInputBlur:C}=(e=>{const t=Object(o.B)(),p=Object(o.B)(!1),s=Object(o.B)(!0),i=Object(_.a)("phoneNumInputFocus"),r=Object(_.a)("phoneNumInputBlur"),n=Object(o.B)(!0),l=Object(o.b)((()=>e.disabled||e.disabledSelect)),{countryCode:a,countryId:c,phoneCode:O,phoneNum:f,fullPhone:j}=Object(m.a)(Object(o.b)((()=>e[d.d])),e);return{countryCode:a,countryId:c,phoneCode:O,phoneNum:f,countrySelectDisabled:l,fullPhone:j,focusPhoneCodeInput:()=>{Object(o.G)(n)?n.value=!1:Object(o.p)((()=>{var e,r;return null==(r=null==(e=Object(o.G)(t))?void 0:e.$el)?void 0:r.focus()}))},isFocused:p,isLoading:s,phoneNumInput:t,onPhoneNumInputFocus:()=>{p.value=!0,i()},onPhoneNumInputBlur:()=>{p.value=!1,r()}}})(e),h2=Object(o.b)((()=>{var t;return!(null==(t=e.countries)?void 0:t.length)})),E=Object(o.b)((()=>(j.value||l.value)&&!e.isCountryCodeEditable)),y=Object(o.b)((()=>({[`input-phone--theme-${e.theme}`]:Boolean(e.theme)})));return Object(o.u)((()=>{var t;null==(t=e.loadCountries)||t.call(e)})),{countryCode:t,countryId:r,phoneCode:n,phoneNum:l,countrySelectDisabled:c,fullPhone:O,focusPhoneCodeInput:f,isShowPhoneCode:E,isFocused:j,isLoading:h2,phoneNumInput:v,inputPhoneClasses:y,onPhoneNumInputFocus:h,onPhoneNumInputBlur:C}}}),I=r(7),R=r.n(I)()({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("UiInputBase",{staticClass:"input-phone",class:e.inputPhoneClasses,attrs:{size:e.size,theme:e.theme,error:e.error,loading:e.isLoading,isFocused:e.isFocused,required:e.required}},[r("div",{staticClass:"input-phone__container"},[e.isCountryCodeEditable&&!e.isLoading?r("UiDropdownPhoneCodes",{staticClass:"input-phone__code",attrs:{countryCode:e.countryCode,countryId:e.countryId,disabled:e.countrySelectDisabled,searchable:e.searchable,theme:e.dropdownTheme,isManualCountryCode:e.isManualCountryCode,countries:e.countries,loadCountries:e.loadCountries,currentCountry:e.currentCountry,currentCountryIco:e.currentCountryIco,setCountry:e.setCountry,noResultMessage:e.noResultMessage,codesSize:e.codesSize},on:{focus:function(t){e.isFocused=!0},select:e.focusPhoneCodeInput,enter:e.focusPhoneCodeInput,"update:countryCode":function(t){e.countryCode=t},"update:country-code":function(t){e.countryCode=t},"update:countryId":function(t){e.countryId=t},"update:country-id":function(t){e.countryId=t}},model:{value:e.phoneCode,callback:function(t){e.phoneCode=t},expression:"phoneCode"}}):e._e(),e._v(" "),e.isShowPhoneCode?r("span",{staticClass:"input-phone__code"},[e._v("\n "+e._s("+ "+e.phoneCode)+"\n ")]):e._e(),e._v(" "),r("InputMaskPhone",{ref:"phoneNumInput",staticClass:"input-phone__number",attrs:{id:e.idValue,label:e.label,isFocused:e.isFocused,countryCode:e.countryCode,countryId:e.countryId,validationCountries:e.validationCountries,disabled:e.disabled,autocomplete:e.autocomplete},on:{focus:e.onPhoneNumInputFocus,blur:e.onPhoneNumInputBlur,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.$emit("submit")}},model:{value:e.phoneNum,callback:function(t){e.phoneNum=t},expression:"phoneNum"}})],1),e._v(" "),e._t("button")],2)},staticRenderFns:[]},void 0,T,"data-v-49d2be70",!1,void 0,!1,void 0,void 0,void 0)},1888:function(e,t,r){"use strict";r.d(t,"a",(function(){return w}));var o=r(1),n=r(48),l=r(928),c=r(200),d=r(228),O=r(138),f=r(215),m=r(112),_=r(1179),j=r(1625),v=r(1174),h=r(164),C=r(1239),E=r(1890),y=r(208),T=r(1744);const I=()=>{const{getField:e,changeDisabled:t,setRegistrationIsCodeConfirmSuccess:r}=Object(v.a)(),n=Object(o.j)("useNotifications"),{notificationError:l}=n(),c=Object(o.j)("useT")();return{processErrorsV1:o=>{const{fieldsErrors:n,commonTitle:d}=(({response:{errors:e=[]}})=>{const t=e.map((({title:title,detail:e,source:{pointer:t}})=>({title:title,message:e,fieldId:t.split("/")[3]}))),r=t[0]?t[0].title:c("error");return{fieldsErrors:Object.entries(t.reduce(((e,{fieldId:t,message:r})=>(e[t]=e[t]?`${e[t]}, ${r}`:r,e)),{})),commonTitle:r}})(o);n.forEach((([o,n])=>{const l=e(o);o===_.a.PHONE_ID&&([_.a.PHONE_CONFIRM_BUTTON_ID,_.a.PHONE_CONFIRM_ID,_.a.PHONE_BUTTON_ID,_.a.PHONE_ID].forEach((e=>t(e,!1))),r(!1),e(_.a.PHONE_CONFIRM_ID).setValue("")),null==l||l.setError(n)})),l(d)}}};var R=r(111),P=r(1514),G=Object.defineProperty,F=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,A=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,D=(a,b)=>{for(var e in b||(b={}))N.call(b,e)&&A(a,e,b[e]);if(F)for(var e of F(b))S.call(b,e)&&A(a,e,b[e]);return a},U=(e,t,r)=>new Promise(((o,n)=>{var l=e=>{try{d(r.next(e))}catch(e){n(e)}},c=e=>{try{d(r.throw(e))}catch(e){n(e)}},d=e=>e.done?o(e.value):Promise.resolve(e.value).then(l,c);d((r=r.apply(e,t)).next())}));const w=()=>{const e=Object(n.a)(),t=Object(l.a)(),r=Object(R.J)(),G=Object(R.N)(),{isV1Registration:F}=Object(R.H)(),N=Object(R.i)(),S=Object(R.q)(),A=Object(R.K)(),{executeCaptcha:w,captchaToken:B}=Object(R.G)(),{notificationError:L}=Object(R.v)(),{setAfterRegistrationRedirectUrl:M,setRegistrationStartedFromUrl:x}=Object(P.a)(),{fields:k,registrationType:H,registrationBonusId:Y,getField:z,setRegistrationResponse:V}=Object(v.a)(),$=Object(R.C)(),{getLocationWithLang:K}=Object(c.a)(Object(o.b)((()=>S.getters.globalGetLanguage))),W=Object(C.a)(),{processErrorsV1:X}=I(),J=Object(o.D)(!1),{getFingerprint:Z}=Object(R.o)(),{isNeedAuthAfterReg:Q}=Object(E.a)(),ee=e=>{const t=(({isRememberAuth:e=!1,componentsData:t=""}={})=>{const r={};switch(Object(o.G)(k).forEach((e=>{const t=Object(o.G)(e.field).id,n=Object(o.G)(e.value);if(n)switch(t){case _.a.PHONE_CODE_ID:r[t]=String(null==n?void 0:n.phoneCode),r[_.a.COUNTRY_ID]=null==n?void 0:n.countryId,(null==n?void 0:n.phoneNum)&&(r[_.a.PHONE_ID]=null==n?void 0:n.phoneNum);break;case _.a.GOOGLE_CAPTCHA_ID:r[t]=null==n?void 0:n.token;break;case _.a.CPF_ID:r[t]=null==n?void 0:n.cpf;break;case _.a.PASSWORD_ID:case _.a.PASSWORD_REPEAT_ID:r[t]=d.a.encode(n);break;default:r[t]=n}})),Object(o.G)(H)){case m.a.FULL_XSL_LANDING_REG_TYPE:r[_.a.PARAM_IS_XSL_LANDING_REG]=!0;break;case m.a.CRYPT_REG_TYPE:r[_.a.PARAM_IS_CRYPT_REG]=!0;break;case m.a.FULL_REG_TYPE:r[_.a.PARAM_RECEIVE_NEWS]=1,r[_.a.PARAM_RECEIVE_RES]=1;break;case m.a.SHORT_REG_TYPE:r[_.a.PARAM_IS_SHORT_REG]=!0}return Object(o.G)(Y)&&(r[_.a.FIRST_DEPOSIT_BONUS_SELECT_ID]=Object(o.G)(Y)),r[_.a.PARAM_IS_NEED_AUTH]=[m.a.FAST_REG_TYPE,m.a.CRYPT_PROMO_TYPE,m.a.CRYPT_REG_TYPE,m.a.PARTNER_REG_TYPE].includes(Object(o.G)(H))||Object(o.G)(Q),r[y.a]=t,e&&(r[_.a.PARAM_IS_REMEMBER_AUTH]=!0),r})(e);return Object(o.G)(H)===m.a.IDENTIFICATION_REG_TYPE?{data:{attributes:t}}:t},te=()=>U(void 0,null,(function*(){const e={[_.a.BUTTON_REGISTRATION]:_.a.BUTTON_REGISTRATION,[_.a.PHONE_BUTTON_ID]:_.a.PHONE_BUTTON_ID,[_.a.PHONE_CONFIRM_BUTTON_ID]:_.a.PHONE_CONFIRM_BUTTON_ID};yield U(void 0,null,(function*(){var e,t;const r=z(_.a.CAPTCHA_ID);yield null==(t=null==(e=null==r?void 0:r.value)?void 0:e.execute)?void 0:t.call(e)}));const t=Object(o.G)(k).filter((t=>{const r=!(t.field.parentFieldName&&!t.visible);return!(e[t.field.id]||!r)})).map((e=>{var t;const r=e.field.id;let o=null!=(t=e.value)&&t;return r===_.a.PASSWORD_ID&&(o=d.a.encode(e.value)),r===_.a.CAPTCHA_ID&&(o=null==o?void 0:o.token),r===_.a.PHONE_CODE_ID&&(o=o.phoneCode),r===_.a.PHONE_ID&&(o=null==o?void 0:o.phoneNum),r===_.a.PHONE_CONFIRM_V1_ID||r===_.a.PHONE_CONFIRM_ID?[_.a.PHONE_CONFIRM_V1_ID,o]:[r,o]}));return Object(o.G)(Y)&&t.push([_.a.FIRST_DEPOSIT_BONUS_SELECT_ID,Object(o.G)(Y)]),{data:{attributes:Object.fromEntries(t)}}})),re=(...n)=>U(void 0,[...n],(function*({isRememberAuth:n=!1,captchaToken:l=""}={}){var c,d,_,v;try{if(Object(o.G)(J))return;J.value=!0;const e=(()=>{if(F&&Object(o.G)(H)===m.a.FULL_REG_TYPE)return"/api/web/registration/v1/full_reg";switch(Object(o.G)(H)){case m.a.FAST_REG_TYPE:case m.a.CRYPT_REG_TYPE:return"/registration/oneclick";case m.a.PHONE_REG_TYPE:return"/registration/phone";case m.a.SHORT_REG_TYPE:case m.a.FULL_REG_TYPE:case m.a.FULL_XSL_LANDING_REG_TYPE:return"/registration/full";case m.a.FULL_REG_BETAX_BG_TYPE:return"/registration/fullbetax";case m.a.PARTNER_REG_TYPE:return"/registration/partner";case m.a.IDENTIFICATION_REG_TYPE:return"/api/web/registration/v1/ident_reg/create";default:return"/registration/oneclick"}})(),{componentsData:r}=yield Z(),c=F?yield te():ee({isRememberAuth:n,componentsData:r}),d=F||Object(o.G)(H)===m.a.IDENTIFICATION_REG_TYPE?O.a:{};N.modules.registrationEvents.trackRegistrationByType(Object(o.G)(H),c),N.modules.yandexEvents.trackRegForm();const _=yield G.postRequest(e,{params:c,headers:D(D({},d),l?{[f.b]:l}:{})}),v=Object(j.b)({type:Object(o.G)(H),payload:_,registrationApi:F?T.a.V1:T.a.DEFAULT});if(!v.success)return v.errors&&Object.keys(v.errors).forEach((e=>{var t;const r=e;null==(t=z(r))||t.setError(v.errors[r])})),void(v.alert&&((null==v?void 0:v.hasCaptchaError)?(yield w(),J.value=!1,yield re({isRememberAuth:n,captchaToken:Object(o.G)(B)})):yield L(v.alert)));W.isRegPage&&[m.a.FAST_REG_TYPE,m.a.PHONE_REG_TYPE].includes(Object(o.G)(H))&&void 0!==Object(o.G)(A).getters.configGetIsDataAfterRegistration&&Object(o.G)(A).commit("configSetDataAfterRegistration",!0),S.dispatch("globalActionAuthUser"),Object(o.G)(H)===m.a.FULL_REG_TYPE&&N.modules.registrationEvents.trackEmailApproveSent(),W.isRegPage&&Object(o.G)(H)!==m.a.IDENTIFICATION_REG_TYPE&&$.push(K({name:"registration",query:{type:h.a.SUCCESS_REGISTRATION}})),V(v),M(v),x(),t.set("post_reg_type",Object(o.G)(H))}catch(t){if(e.error("processRegistration",t),F)X(t);else{const e=null!=(c=null==t?void 0:t.message)?c:r("main_error_server");L(e)}N.modules.registrationEvents.trackRegError((null==(v=null==(_=null==(d=t.response)?void 0:d.errors)?void 0:_.map((e=>e.status)))?void 0:v.join(", "))||"")}finally{J.value=!1}}));return{registrationIsPending:J,registrationProcess:re}}},1889:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=(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))(o||{})},1890:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(1),n=r(111),l=r(1174);const c=()=>{const{registrationType:e}=Object(l.a)(),{needAuthRegTypes:t}=Object(n.H)();return{isNeedAuthAfterReg:Object(o.b)((()=>t.includes(Object(o.G)(e))))}}},1974:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));const o=({fieldClassName:e,fieldCustomization:t})=>(null==t?void 0:t.length)?t.map((t=>[`${e}--${t}`,!0])):[]},1975:function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return h}));var o=r(1),n=r(173),l=r(48),c=r(107),d=r(949),O=r(1179),f=r(1382),m=r(1753),_=r(1174),j=r(1215);const v=e=>(null==e?void 0:e.toLowerCase())===n.a.BR,h=(e,t,r)=>{var n,v,h;const C=Object(l.a)(),{fieldParams:E,fieldError:y,fieldModel:T}=Object(j.a)(e),{getField:I,changeDisabled:R,changeValidation:P}=Object(_.a)(),G=Object(o.G)(e),F=Object(o.B)(""),N=Object(o.j)("useT")(),S=Object(o.j)("useWebApi")(),A=Object(o.B)(!1),D=null==G?void 0:G.value,time=Object(o.B)(null!=(n=null==D?void 0:D.time)?n:0),U=Object(o.B)(null!=(v=null==D?void 0:D.isInfoReceived)&&v);F.value=null!=(h=null==D?void 0:D.cpf)?h:"";const w=Object(o.b)((()=>Object(o.G)(time)>0)),B=Object(o.b)((()=>{var e;return(null==(e=Object(o.G)(E))?void 0:e.disabled)||Object(o.G)(U)||Object(o.G)(A)})),L=Object(o.b)((()=>Object(o.G)(B)||!Object(m.c)(Object(o.G)(F)))),M={[f.a.RULE_USER_FUNCTION]:{value:r,message:"",fn:e=>{if(G.visible)if(null==e?void 0:e.cpf)try{if(!Object(m.c)(e.cpf))return N("invalid_cpf")}catch(e){return N("invalid_cpf")}else if(Object(o.G)(E).required)return N("main_enter_cpf_code");return!0}}};P(O.a.CPF_ID,M,Object(o.G)(E).required);const x=e=>{R(O.a.CPF_ID,e),R(O.a.NAME_ID,e),R(O.a.SURNAME_ID,e),R(O.a.FIELD_DATE_BIRTHDAY,e)},k=()=>{U.value=!1,null==G||G.setError("")},H=()=>({cpf:Object(o.G)(F),time:Object(o.G)(time),isInfoReceived:Object(o.G)(U),errorMessage:Object(o.G)(y)}),{isRegistrationFormInProcess:Y}=Object(_.a)();Object(o.I)(Y,(e=>{!e&&Object(o.G)(y)&&(R(O.a.CPF_ID,Object(o.G)(time)>0),U.value=!1)})),Object(o.I)(T,(e=>{""===(null==e?void 0:e.cpf)&&(F.value="",U.value=!1,time.value=0,x(!1))})),Object(o.I)(F,(e=>{e.includes(" ")||e.length!==r||(Object(m.c)(e)?k():G.setError(N("invalid_cpf"))),Object(o.G)(T)&&!e&&(T.value=void 0)})),Object(o.I)(time,(e=>{e||(k(),R(O.a.CPF_ID,!1))}));return{clearError:k,fieldError:y,fieldModel:F,fieldParams:E,inputDisabled:B,isInfoReceived:U,isLoading:A,loadCpfInfo:()=>{return e=void 0,r=null,o=function*(){var e,r,o,n,l;try{k(),A.value=!0;const t=H(),n=yield S.getRequest("/api/web/registration/v2/cpf/reg-data",{params:{cpf:Object(m.b)(t.cpf)}});if(void 0!==n.success&&!n.success)throw n;const{data:{attributes:{firstname:l,lastname:c,birthday:d}}}=n;U.value=!0,null==(e=I(O.a.NAME_ID))||e.setValue(l),null==(r=I(O.a.SURNAME_ID))||r.setValue(c);try{null==(o=I(O.a.FIELD_DATE_BIRTHDAY))||o.setValue(d)}catch(e){C.error("Failed to parse birthday from CFP: ",e)}T.value=t,x(!0)}catch(e){U.value=!1,time.value=1e3*t.timeout,x(!1),R(O.a.CPF_ID,!0);const r=null!=(l=null==(n=null==e?void 0:e.response)?void 0:n.errors)?l:null==e?void 0:e.errors;if(Array.isArray(r)&&r.length){const e=r.reduce(((e,t,r)=>`${e}${r?"\n":""}${t.detail}`),"");G.setError(e)}else if(Object(c.a)(r)){const e=Object.entries(r).reduce(((e,[,t],r)=>Object(d.a)(t)?`${e}${r?"\n":""}${t}`:e),"");G.setError(e)}else{const t=(429===(null==e?void 0:e.httpCode)||400===(null==e?void 0:e.httpCode))&&(null==e?void 0:e.message)||N("main_query_error");G.setError(t),C.error("error check cpf",e)}}finally{A.value=!1}},new Promise(((t,n)=>{var l=e=>{try{d(o.next(e))}catch(e){n(e)}},c=e=>{try{d(o.throw(e))}catch(e){n(e)}},d=e=>e.done?t(e.value):Promise.resolve(e.value).then(l,c);d((o=o.apply(e,r)).next())}));var e,r,o},initialize:()=>{const e=Object(o.G)(T);G&&!(null==e?void 0:e.cpf)&&(F.value="",k()),x(Object(o.G)(U)),R(O.a.CPF_ID,Object(o.G)(time)>0),U.value&&(U.value=!Object(o.G)(y)),G.setError((null==D?void 0:D.errorMessage)||Object(o.G)(y)||"")},saveIntermediateState:()=>{var e;const t=""!==(null==(e=T.value)?void 0:e.cpf)?H():void 0;null==G||G.setValue(t)},showTimer:w,submitDisabled:L,time:time}}},1976:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));const o={phoneConfirm:{message:"",value:5}}},2009:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var o=r(1),n=r(214),l=r(5),c=r(50),s=Object(o.e)({name:"UiEmailRecommendation",components:{UiIco:c.a},props:{size:{type:String,default:n.b.s}},setup:e=>({uiEmailRecommendationTextClasses:Object(o.b)((()=>({[`ui-email-recommendation__text--size-${e.size}`]:Boolean(e.size)}))),sizeType:n.b,iconName:l.B,UiIco:c.a})}),d=r(7),O=r.n(d)()({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"ui-email-recommendation"},[r("UiIco",{staticClass:"ui-email-recommendation__icon",attrs:{ico:e.iconName.INFO_CIRCLE,size:e.sizeType.xs}}),e._v(" "),r("span",{staticClass:"ui-email-recommendation__text",class:e.uiEmailRecommendationTextClasses},[e._t("default")],2)],1)},staticRenderFns:[]},void 0,s,"data-v-672ce2e4",!1,void 0,!1,void 0,void 0,void 0)},2017:function(e,t,r){"use strict";r(1743)},2019:function(e,t,r){"use strict";r(1745)},2021:function(e,t,r){"use strict";r(1746)},2022:function(e,t,r){"use strict";r(1747)},2023:function(e,t,r){"use strict";r(1748)},2024:function(e,t,r){"use strict";r(1749)},2025:function(e,t,r){"use strict";r(1750)},2026:function(e,t,r){"use strict";r(1751)},2027:function(e,t,r){"use strict";r(1752)},2028:function(e,t,r){"use strict";r(1754)},2276:function(e,t,r){"use strict";var o=r(1),n=r(140),l=r(214),c=r(10),d=r(643),O=r(641),f=r(5),m=r(1624),_=r(1174),j=r(1179),v=r(1428);var h=Object(o.e)({name:"RegistrationFieldDocNum",props:{field:{type:Object,required:!0},theme:{type:String,default:""},compact:{type:Boolean,default:!1}},setup(e){const{field:t,compact:r}=Object(o.F)(e),{fieldParams:n,fieldModel:h,fieldError:C,placeholderLabel:E,placeholder:y,tagType:T,isDisabled:I}=((e,t)=>{const{getField:r,changeValidation:n}=Object(_.a)(),{fieldParams:l,fieldError:c,fieldModel:d,placeholderLabel:O,placeholder:f,tagType:h}=Object(v.a)(e,t),C=r(j.a.DOC_TYPE_ID),E=C&&Object(m.a)(Object(o.B)(C)),y=Object(o.b)((()=>{if(E)return!Object(o.G)(E.selectedOption);const{disabled:e}=Object(o.G)(l);return e}));return E&&Object(o.I)(E.selectedOption,(t=>{var r,l;(null==t?void 0:t.validation)&&(n(Object(o.G)(e).field.id,t.validation,Boolean(null==(l=null==(r=t.validation)?void 0:r.required)?void 0:l.value)),Object(o.G)(e).value&&Object(o.G)(e).validate())})),{fieldParams:l,fieldError:c,fieldModel:d,placeholderLabel:O,placeholder:f,tagType:h,isDisabled:y}})(t,r);return{fieldParams:n,fieldModel:h,fieldComponent:Object(o.b)((()=>Object(o.G)(r)?d.a:O.a)),fieldError:C,placeholderLabel:E,placeholder:y,tagType:T,isDisabled:I,themeType:c.b,sizeType:l.b,iconName:f.B}}}),C=(r(2017),r(4)),E=Object(C.a)(h,(function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.fieldComponent,{tag:"component",staticClass:"registration-field-doc-num",attrs:{type:e.tagType,disabled:e.isDisabled,label:e.placeholderLabel,placeholder:e.placeholder,theme:e.theme,error:e.fieldError,maxlength:e.fieldParams.maxLength},model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})}),[],!1,null,"fd6d2d92",null).exports,y=r(1215),T=r(1239),I=r(85),R=r(29),P=r(48),G=r(378),F=r(112),N=r(1888),S=r(1513),A=r(111),D=r(228),U=r(1625),w=r(2018),B=Object.defineProperty,L=Object.defineProperties,M=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,Y=(e,t,r)=>t in e?B(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const z=()=>{const{notificationError:e}=Object(A.v)(),t=Object(A.q)(),r=Object(P.a)(),{setRegistrationResponse:o}=Object(_.a)(),{requestMetamaskRegistration:n,getMetamaskAuthData:l}=Object(w.a)();return{registerViaMetamask:c=>{return d=void 0,O=null,f=function*(){const d=yield l();if(!d)return;const{SIWESign:O,account:f}=d;if(c&&O&&f){const l=`${c}&signature=${O}&account=${f}`,d=yield n(l);d.error?(e(d.error),r.error("Failed to complete registration: ",d.error)):(o((a=((a,b)=>{for(var e in b||(b={}))k.call(b,e)&&Y(a,e,b[e]);if(x)for(var e of x(b))H.call(b,e)&&Y(a,e,b[e]);return a})({},Object(U.a)(d)),b={userId:D.a.decode(d.user_id),password:D.a.decode(d.password)},L(a,M(b)))),yield null==t?void 0:t.dispatch("globalActionAuthUser"))}var a,b},new Promise(((e,t)=>{var r=e=>{try{n(f.next(e))}catch(e){t(e)}},o=e=>{try{n(f.throw(e))}catch(e){t(e)}},n=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,o);n((f=f.apply(d,O)).next())}));var d,O,f}}};var V=(e,t,r)=>new Promise(((o,n)=>{var l=e=>{try{d(r.next(e))}catch(e){n(e)}},c=e=>{try{d(r.throw(e))}catch(e){n(e)}},d=e=>e.done?o(e.value):Promise.resolve(e.value).then(l,c);d((r=r.apply(e,t)).next())}));const $=({isRememberAuth:e=!1,isDisabledUntilInvalid:t=!1}={})=>{const r=Object(T.a)(),{isV1Registration:n,isAvailableCustomRegistration:l,isRegistrationButtonDisabled:c}=Object(A.H)(),d=Object(P.a)(),O=Object(A.l)(),{getStorage:f,updateActionsMetrics:m}=Object(A.j)({appStorage:O,logger:d}),v=Object(A.i)(),h=Object(o.B)(!1),{sendClickRegistrationBtn:C}=Object(A.n)(),{visibleFields:E,registrationType:y,registrationBonusId:D,getField:U,isFormValid:w,validateForm:B,registrationIsPhoneConfirmed:L,isNeedValidatePhoneConfirmation:M,setIsRegistrationFormInProcess:x,getSelectedCountryCode:k}=Object(_.a)(),{registrationIsPending:H,registrationProcess:Y}=Object(N.a)(),{registerViaMetamask:$}=z(),K=Object(A.q)(),W=Object(G.a)((()=>Object(o.G)(h)||Object(o.G)(H))),X=Object(o.B)(),J=Object(G.a)((()=>Object(o.G)(E).filter((e=>[S.a.CHECKBOX,S.a.BACKGROUND_CHECKBOX].includes(e.field.type)&&[j.a.AGREE_POLICY_ID,j.a.BG_USL_ID,j.a.FIELD_CHECKBOX_PRIMARY_1,j.a.FIELD_CHECKBOX_PRIMARY_2,j.a.FIELD_CHECKBOX_TUNISIA_1,j.a.FIELD_CHECKBOX_TUNISIA_2,j.a.FIELD_CHECKBOX_TUNISIA_3].includes(e.field.id)||e.field.id===j.a.BUTTON_REGISTRATION&&e.field.disabled||[j.a.SOCIAL_TYPES_ID].includes(e.field.id))))),Z=Object(o.b)((()=>Object(o.G)(E).filter((e=>Boolean(e))).filter((({field:e})=>e.required&&!e.hide)))),Q=Object(G.a)((()=>{var e;const r=U(j.a.BUTTON_REGISTRATION);return(!r||!(null==(e=r.field)?void 0:e.alwaysActive))&&(!!c||(Object(o.G)(W)||Object(o.G)(n?Z:J).some((e=>(e=>{var t;const r=U(e.field.id);return l?(null==(t=null==r?void 0:r.field)?void 0:t.required)&&!(null==r?void 0:r.value):!(null==r?void 0:r.value)})(e)))||Object(o.G)(M)&&!Object(o.G)(L)||t&&!Object(o.G)(w)))})),ee=U(j.a.CURRENCY_ID),te=U(j.a.REF_CODE_ID),re=U(j.a.COUNTRY_ID),ie=U(j.a.FIRST_DEPOSIT_BONUS_SELECT_ID),{executeCaptcha:oe,captchaToken:ae}=Object(A.G)(),ne=e=>{var t,r,n;const l={type:e,language:K.getters.globalGetLanguage,currency:null==ee?void 0:ee.value,countryId:null==re?void 0:re.value,refCode:null==te?void 0:te.value,firstBonusId:null!=(n=null!=(r=null==(t=Object(o.G)(ie))?void 0:t.value)?r:Object(o.G)(D))?n:Object(o.G)(X)},c=Object.entries(l).filter((([e,t])=>Object(I.a)(t)&&""!==t));return new URLSearchParams(c).toString()};return Object(o.r)((()=>V(void 0,null,(function*(){X.value=yield O.getItem(R.a.SELECTED_BONUS_ID)})))),{showPreloader:W,isDisabled:Q,submitRegistration:(...t)=>V(void 0,[...t],(function*({forceSocialRegistrationType:t}={}){var n,l,c,O;if(!Object(o.G)(Q))try{let d;const _=Object(o.G)(y)===F.a.SOC_REG_TYPE||!!t,T=null!=(l=null==(n=U(j.a.SOCIAL_TYPES_ID))?void 0:n.value)?l:t,R="metamask"===T;if(_&&!R&&(d=window.open("")),h.value=!0,x(!0),!t&&(yield B())){const e=Object(o.G)(E).filter((e=>e.error)).map((e=>e.field.id));if(e.length)return v.modules.registrationEvents.trackRegPageDataError(e.join(", ")),void v.modules.yandexEvents.trackRegFormError()}if(C(r.isWidget?"widget":"form"),_){const e=null!=(c=yield f())?c:{},t={currencyId:null==ee?void 0:ee.value,countryId:null==re?void 0:re.value,countryCode:k(),regType:null!=(O=Object(o.G)(D))?O:Object(o.G)(X).value,promocode:null==te?void 0:te.value};if(yield m(e,{socialData:t}),R){const e=ne(T);$(e)}else if(Object(I.a)(d)){const e=(e=>{let link="";e&&(link=`/social-api/user/social-network/send?${ne(e)}`);return link})(T);e?d.location=e:d.close()}}else r.analytics.clickStartRegistrationEvent(),Object(o.G)(y)!==F.a.PHONE_REG_TYPE&&(yield oe({analyticsComponentName:"useRegistrationFieldSubmit",successCallback:(e,time)=>{v.modules.registrationEvents.setCaptchaTime(time),v.modules.captchaEvents.trackCaptchaPass("registration",time)}})),yield Y({isRememberAuth:e,captchaToken:Object(o.G)(ae)})}catch(e){d.error("submitRegistration",e)}finally{h.value=!1,x(!1)}}))}};var K=Object(o.e)({name:"RegistrationFieldSubmit_F",props:{field:{type:Object,required:!0},compact:{type:Boolean,default:!1}},setup(e){const t=Object(T.a)(),r=Object(A.J)(),{field:n}=Object(o.F)(e),{fieldParams:d}=Object(y.a)(n),{isDisabled:O,showPreloader:f,submitRegistration:m}=$(),_=Object(o.b)((()=>e.compact?l.b.m:l.b.l)),j=Object(o.b)((()=>t.isInstantBet?r("reg_button_go_to_last_step"):Object(o.G)(d).needTranslate?r(Object(o.G)(d).text):Object(o.G)(d).text));return{themeType:c.b,sizeType:l.b,buttonSize:_,buttonText:j,fieldParams:d,isDisabled:O,showPreloader:f,submitRegistration:m}}}),W=Object(C.a)(K,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("UiButton",{staticClass:"registration-field-submit",attrs:{loading:e.showPreloader,disabled:e.isDisabled,theme:e.themeType.accent,size:e.buttonSize},on:{click:e.submitRegistration}},[r("UiCaption",[e._v("\n "+e._s(e.buttonText)+"\n ")])],1)}),[],!1,null,null,null).exports,X=Object(o.e)({name:"RegistrationFieldInfo",props:{compact:{type:Boolean,default:!1}},setup:e=>({registrationFieldInfoClasses:Object(o.b)((()=>({"registration-field-info--compact":e.compact})))})}),J=(r(2019),Object(C.a)(X,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"registration-field-info",class:e.registrationFieldInfoClasses},[r("div",{staticClass:"registration-field-info__content"},[e._t("default")],2)])}),[],!1,null,"5a785a1a",null).exports);var Z=Object(o.e)({name:"RegistrationFieldReCaptcha",components:{RegistrationFieldInfo:J},props:{field:{type:Object,required:!0},compact:{type:Boolean,default:!1}},setup(e){const{field:t}=Object(o.F)(e),{fieldParams:r,fieldError:n,isCaptchaAllow:l}=(e=>{const{isCapchaAllow:t,captcha_type:r}=Object(A.H)(),n=Object(o.D)(),{fieldParams:l,fieldError:c}=Object(y.a)(e),d="puzzle"===r,O=!d,f=Object(o.b)((()=>{var e;return d&&(null==(e=Object(o.G)(l))?void 0:e.shouldShowLabel)})),m=Object(o.b)((()=>t&&(O||Object(o.G)(f)))),{registrationRecaptchaRenderKey:j,setRegistrationRecaptchaRenderKey:v}=Object(_.a)(),h=Object(o.b)({set:e=>v(e),get:()=>Object(o.G)(j)});return Object(o.I)(e,(()=>{var t,r;Object(o.G)(e)&&(null==(r=null==(t=Object(o.G)(e))?void 0:t.value)?void 0:r.widgetId)!==Object(o.G)(n)&&(h.value+=1)})),{fieldParams:l,fieldError:c,isCaptchaAllow:m,recaptchaRenderKey:h,onRecaptchaExecute:e=>{n.value=e}}})(t),{labelCaptcha:c}=(()=>{const e=Object(A.i)(),t=Object(o.B)(),r=Object(o.B)(),n=Object(o.B)(),l=()=>e.modules.registrationEvents.trackRegistrationRulles("google_policy"),c=()=>e.modules.registrationEvents.trackRegistrationRulles("google_terms");return Object(o.u)((()=>{var e,d,O,f;r.value=null==(e=Object(o.G)(t))?void 0:e.querySelector("#registration_form_field_privacy_link"),n.value=null==(d=Object(o.G)(t))?void 0:d.querySelector("#registration_form_field_terms_link"),null==(O=Object(o.G)(r))||O.addEventListener("click",l),null==(f=Object(o.G)(n))||f.addEventListener("click",c)})),Object(o.s)((()=>{var e,t;null==(e=Object(o.G)(r))||e.removeEventListener("click",l),null==(t=Object(o.G)(n))||t.removeEventListener("click",c)})),{labelCaptcha:t}})();return{fieldParams:r,fieldError:n,isCaptchaAllow:l,labelCaptcha:c}}}),Q=Object(C.a)(Z,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.isCaptchaAllow?r("RegistrationFieldInfo",{staticClass:"registration-field-re-captcha",attrs:{compact:e.compact}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.fieldParams.shouldShowLabel,expression:"fieldParams.shouldShowLabel"}],ref:"labelCaptcha",domProps:{innerHTML:e._s(e.fieldParams.label)}}),e._v(" "),e.fieldError?r("div",{attrs:{title:e.fieldError}},[e._v("\n "+e._s(e.fieldError)+"\n ")]):e._e()]):e._e()}),[],!1,null,null,null).exports,ee=r(1456);var te=Object(o.e)({name:"RegistrationFieldHtmlLabel",components:{RegistrationFieldInfo:J},props:{field:{type:Object,required:!0},compact:{type:Boolean,default:!1}},setup(){const{onClickHtmlField:e}=(()=>{const e=Object(T.a)(),t=Object(A.i)();return{onClickHtmlField:r=>{const{target:o}=r;o instanceof Element&&(o.id===ee.e.RULES?(e.analytics.clickOnRules(),t.modules.registrationEvents.trackRegistrationRulles("rules")):(null==o?void 0:o.id)===ee.e.PRIVATE_POLICY&&(t.modules.registrationEvents.trackRegistrationRulles("politics"),e.analytics.clickOnPolicy()))}}})();return{onClickHtmlField:e}}}),re=Object(C.a)(te,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("RegistrationFieldInfo",{staticClass:"registration-field-html-label",class:e.field.field.cssClasses,attrs:{compact:e.compact}},[r("div",{domProps:{innerHTML:e._s(e.field.field.label)},on:{click:e.onClickHtmlField}})])}),[],!1,null,null,null).exports,ie=r(2020);var oe=Object(o.e)({name:"RegistrationFieldSocials",props:{field:{type:Object,required:!0}},setup(e){const{field:t}=Object(o.F)(e),{socialLinks:r,selectSocial:n}=(e=>{const{fieldParams:t}=Object(y.a)(e),{socialLinks:r,socialLinksShortName:n}=Object(ie.a)(Object(o.b)((()=>Object(o.G)(t).socialNetworks)));return{socialLinks:r,socialLinksShortName:n,selectSocial:t=>{Object(o.G)(e).setValue(t.type)}}})(t);return{themeType:c.b,sizeType:l.b,ICON_LOGOS_PATH:f.h,socialLinks:r,selectSocial:n}}}),ae=(r(2021),Object(C.a)(oe,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"registration-field-socials"},[r("h3",{staticClass:"registration-field-socials__title registration-field-socials-title"},[r("span",{staticClass:"registration-field-socials-title__content"},[e._v("\n "+e._s(e.$T("social_title"))+"\n ")])]),e._v(" "),r("ul",{staticClass:"registration-field-socials__list"},e._l(e.socialLinks,(function(t){return r("li",{key:t.id,staticClass:"registration-field-socials__item"},[r("UiButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.name,expression:"social.name"}],staticClass:"registration-field-socials__button",attrs:{theme:e.themeType.gray30,"aria-label":t.name,size:e.sizeType.s,toggled:t.type===e.field.value,rounded:!1,narrow:""},on:{click:function(r){return e.selectSocial(t)}}},[r("UiIco",{staticClass:"registration-field-socials__ico",attrs:{path:e.ICON_LOGOS_PATH,ico:t.ico}})],1)],1)})),0)])}),[],!1,null,"e486de1c",null).exports),ne=r(1885),le=r(2009);var se=Object(o.e)({name:"RegistrationFieldPhoneWithCode",components:{UiInputPhone:ne.a,UiEmailRecommendation:le.a},props:{field:{type:Object,required:!0},theme:{type:String,default:""},compact:{type:Boolean,default:!1}},setup(e){const{showPhoneActivationNotification:t}=Object(A.H)(),r=Object(A.e)(),{field:n}=Object(o.F)(e),{userApi:l}=Object(A.k)(),{fieldParams:c,fieldError:d,fieldModel:O,phoneCode:f,isActiveLabel:m,placeholderLabel:v}=(e=>{const{fieldError:t,fieldParams:r}=Object(y.a)(e),{getField:n,setDefaultCountyOptions:l}=Object(_.a)(),c=n(j.a.PHONE_CODE_ID);l();const d=Object(o.b)({get:()=>{var e;return null==(e=Object(o.G)(c))?void 0:e.value},set:t=>{var r,n;(null==(n=Object(o.G)(null==(r=Object(o.G)(c))?void 0:r.value))?void 0:n.phoneCode)!==(null==t?void 0:t.phoneCode)&&Object(o.G)(e).setError(""),Object(o.G)(e).setValue(t),null==c||c.setValue(t)}}),O=Object(o.b)((()=>{var e,t,r;return`+${null!=(r=null==(t=null==(e=Object(o.G)(c))?void 0:e.value)?void 0:t.phoneCode)?r:""}`})),f=Object(o.b)((()=>{var t,r;return Boolean(null==(r=null==(t=Object(o.G)(e))?void 0:t.value)?void 0:r.phoneNum)})),m=Object(A.J)(),v=Object(o.b)((()=>{var t,r;const{placeholder:n,title:title}=null!=(r=null==(t=Object(o.G)(e))?void 0:t.field)?r:{};return n||title||m("reg_phone_num")}));return{fieldParams:r,fieldError:t,fieldModel:d,fieldPhoneCode:c,phoneCode:O,isActiveLabel:f,placeholderLabel:v}})(n),{countries:h,loadCountries:C}=Object(A.w)(l),{currentCountry:E,currentCountryIco:T,setCountry:I}=Object(A.x)(),R=Object(o.D)(!1),P=Object(o.b)((()=>t&&Object(o.G)(R)&&!Object(o.G)(d)));return{UiFieldPhone:r,fieldParams:c,fieldError:d,fieldModel:O,placeholderLabel:v,isActiveLabel:m,phoneCode:f,countries:h,loadCountries:C,currentCountry:E,currentCountryIco:T,setCountry:I,tooltipIsShown:P,onBlur:()=>{R.value=!1},onFocus:()=>{R.value=!0}}}}),ce=(r(2022),Object(C.a)(se,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"registration-field-phone-with-code"},[e.compact?r("UiInputPhone",{attrs:{error:e.fieldError,countries:e.countries,loadCountries:e.loadCountries,currentCountry:e.currentCountry,currentCountryIco:e.currentCountryIco,setCountry:e.setCountry,theme:e.theme,isCountryCodeEditable:!1,label:e.$T("reg_phone_num")},model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}}):r(e.UiFieldPhone,{tag:"Component",attrs:{placeholderLabel:e.placeholderLabel,isCountryCodeEditable:!1,isActiveLabel:e.isActiveLabel,error:e.fieldError,countries:e.countries,loadCountries:e.loadCountries,currentCountry:e.currentCountry,currentCountryIco:e.currentCountryIco,setCountry:e.setCountry},on:{phoneNumInputFocus:e.onFocus,phoneNumInputBlur:e.onBlur},scopedSlots:e._u([{key:"beforeInput",fn:function(t){var o=t.isLabelOnPlaceholderPosition;return[r("span",{directives:[{name:"show",rawName:"v-show",value:!o,expression:"!isLabelOnPlaceholderPosition"}],staticClass:"registration-field-phone-with-code__prefix",attrs:{dir:"auto"}},[e._v("\n "+e._s(e.phoneCode)+"\n ")])]}}]),model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}}),e._v(" "),e.tooltipIsShown?r("UiEmailRecommendation",{staticClass:"registration-field-phone-with-code__notification"},[e._v("\n "+e._s(e.$T("phone_activation_notification"))+"\n ")]):e._e()],1)}),[],!1,null,"0d1a3f46",null).exports),ue=r(2368),de=r(2641),be=r(1382);var pe=Object(o.e)({name:"RegistrationFieldPassword_F",props:{field:{type:Object,required:!0},compact:{type:Boolean,default:!1},isAvailableGeneration:{type:Boolean,default:!0},theme:{type:String,default:""},size:{type:String,default:""}},setup(e){const{field:t,compact:r,isAvailableGeneration:n}=Object(o.F)(e),{showGeneratePwdBtn:c,placeholder:m,iconForButton:v,registrationIsHidePassword:h,inputType:C,fieldParams:E,fieldError:T,fieldModel:I,fieldButtonLabel:R,setPassword:P,togglePassword:G}=((e,t=!0)=>{const r=Object(A.J)(),{isV1Registration:n}=Object(A.H)(),{fieldParams:l,fieldError:c,fieldModel:d}=Object(y.a)(e),{registrationIsHidePassword:O,getField:m,setRegistrationIsHidePassword:v}=Object(_.a)(),h=Object(o.B)(""),C=Object(o.b)((()=>Object(o.G)(l).placeholder)),E=Object(o.b)((()=>Object(o.G)(l).id===j.a.PASSWORD_ID&&!n&&Object(o.G)(t))),T=Object(o.b)((()=>Object(o.G)(E)?f.B.KEY:f.B.SYNC_ALT)),I=Object(o.b)((()=>Object(o.G)(O)?f.B.EYE_SLASH:f.B.EYE)),R=Object(o.b)((()=>Object(o.G)(O)?"password":"text")),P=Object(o.b)((()=>Object(o.G)(O)?r("reg_show_password"):r("reg_hide_password"))),G=Object(o.b)((()=>{if(!Object(o.G)(d)||!Object(o.G)(c))return[];const t=Object(o.G)(Object(o.G)(l).validation);return Object.keys(t).filter((e=>e!==be.a.RULE_REQUIRED)).map((r=>({message:Object(o.G)(t[r]).message,status:Object(o.G)(e).errors.includes(Object(o.G)(t[r]).message)?"error":"success"})))})),F=Object(o.b)((()=>Object(o.G)(G).length?" ":"")),N=Object(o.b)((()=>Boolean(Object(o.G)(d))&&!Object(o.G)(c)));return{showGeneratePwdBtn:E,placeholder:C,validationDescription:G,iconForButton:T,visibilityIcon:I,registrationIsHidePassword:O,inputType:R,fieldParams:l,fieldError:c,fieldErrorStub:F,fieldModel:d,fieldButtonLabel:P,isFilledAndValid:N,setPassword:()=>{const t=Object(ue.a)(10),r=m(j.a.PASSWORD_REPEAT_ID);Object(o.G)(e).setValue(t),null==r||r.setValue(t),Object(de.a)(t),h.value=t,v(!1)},togglePassword:()=>{v(!Object(o.G)(O))},clearPassword:()=>{d.value=""}}})(t,n);return{fieldComponent:Object(o.b)((()=>Object(o.G)(r)?d.a:O.a)),showGeneratePwdBtn:c,placeholder:m,iconForButton:v,registrationIsHidePassword:h,inputType:C,fieldParams:E,fieldError:T,fieldModel:I,fieldButtonLabel:R,setPassword:P,togglePassword:G,sizeType:l.b,iconName:f.B}}}),Oe=(r(2023),Object(C.a)(pe,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r(e.fieldComponent,{tag:"component",staticClass:"registration-field-password",attrs:{type:e.inputType,title:e.fieldParams.title,error:e.fieldError,label:e.placeholder,theme:e.theme,size:e.size,placeholder:e.placeholder,maxlength:e.fieldParams.maxLength,disabled:e.fieldParams.disabled},scopedSlots:e._u([{key:"afterContent",fn:function(){return[e.showGeneratePwdBtn?r("UiButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$T("reg_generate_password"),expression:"$T('reg_generate_password')"}],staticClass:"registration-field-password__button",attrs:{"aria-label":e.$T("reg_generate_password"),rounded:!1,narrow:""},on:{click:e.setPassword}},[r("UiIco",{attrs:{size:e.sizeType.s,ico:e.iconForButton}})],1):e._e(),e._v(" "),r("UiButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldButtonLabel,expression:"fieldButtonLabel"}],staticClass:"registration-field-password__button",attrs:{"aria-label":e.fieldButtonLabel,rounded:!1,narrow:""},on:{click:e.togglePassword}},[r("UiIco",{attrs:{size:e.sizeType.xs,ico:e.registrationIsHidePassword?e.iconName.INVISIBLE:e.iconName.VISIBLE}})],1)]},proxy:!0}]),model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})}),[],!1,null,"592950c2",null).exports),fe=Object(o.e)({name:"RegistrationFieldInput",props:{field:{type:Object,required:!0},theme:{type:String,default:""},size:{type:String,default:""},compact:{type:Boolean,default:!1}},setup(e){const{field:t,compact:r}=Object(o.F)(e),{fieldParams:n,fieldModel:l,fieldError:c,placeholderLabel:f,placeholder:m,tagType:_}=Object(v.a)(t,r);return{fieldParams:n,fieldModel:l,fieldComponent:Object(o.b)((()=>Object(o.G)(r)?d.a:O.a)),fieldError:c,placeholderLabel:f,placeholder:m,tagType:_}}}),me=(r(2024),Object(C.a)(fe,(function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.fieldComponent,{tag:"component",staticClass:"registration-field-input",attrs:{type:e.tagType,disabled:e.fieldParams.disabled,label:e.placeholderLabel,placeholder:e.placeholder,theme:e.theme,size:e.size,error:e.fieldError,maxlength:e.fieldParams.maxLength},on:{blur:e.field.validate},model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})}),[],!1,null,"a568ee24",null).exports),_e=Object(o.e)({name:"RegistrationFieldRefCode_F",props:{field:{type:Object,required:!0},theme:{type:String,default:""},size:{type:String,default:""},compact:{type:Boolean,default:!1}},setup(e){const{field:t,compact:r}=Object(o.F)(e),{fieldParams:n,fieldModel:l,fieldError:c,placeholderLabel:f,placeholder:m,tagType:_}=Object(v.a)(t,r);return{fieldParams:n,fieldModel:l,fieldComponent:Object(o.b)((()=>Object(o.G)(r)?d.a:O.a)),fieldError:c,placeholderLabel:f,placeholder:m,tagType:_}}}),je=(r(2025),Object(C.a)(_e,(function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.fieldComponent,{tag:"component",staticClass:"registration-field-ref-code",attrs:{type:e.tagType,disabled:e.fieldParams.disabled,label:e.placeholderLabel,placeholder:e.placeholder,theme:e.theme,size:e.size,error:e.fieldError,maxlength:e.fieldParams.maxLength},on:{blur:e.field.validate},model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})}),[],!1,null,"10fa7668",null).exports),ve=r(950),ge=r(201);const he=()=>{const e=Object(P.a)(),t=Object(o.j)("useWebApi")(),r=Object(o.j)("useAnalytics")(),n=Object(o.j)("useNotifications"),{sendCorrectCodeFromSms:l}=Object(A.n)(),{notificationInfo:c}=n(),{getField:d,changeDisabled:O,setRegistrationIsCodeConfirmSuccess:f,setRegistrationIsPhoneConfirmed:m,registrationIsCodeConfirmSuccess:v}=Object(_.a)(),h=d(j.a.PHONE_CONFIRM_ID),C=d(j.a.PHONE_ID),E=d(j.a.PHONE_CODE_ID),T=Object(o.B)(""),I=Object(o.B)("");return{codeConfirmIsSuccess:v,codeConfirmErrorMessage:T,codeConfirmSuccessMessage:I,sendCodeConfirm:()=>{return n=void 0,c=null,d=function*(){var n,c,d,_,v;try{T.value="",I.value="";const{data:{message:e=""}}=yield t.postRequest("/api/web/registration/v1/sms/confirm",Object(ge.a)({[j.a.PHONE_CONFIRM_ID]:null==h?void 0:h.value,[j.a.PHONE_ID]:null==(c=Object(o.G)(null==(n=Object(o.G)(C))?void 0:n.value))?void 0:c.phoneNum,[j.a.COUNTRY_CODE]:null==(_=Object(o.G)(null==(d=Object(o.G)(E))?void 0:d.value))?void 0:_.phoneCode}));O(j.a.PHONE_ID,!0),O(j.a.PHONE_BUTTON_ID,!0),O(j.a.PHONE_CONFIRM_ID,!0),O(j.a.PHONE_CONFIRM_BUTTON_ID,!0),O(j.a.BUTTON_REGISTRATION,!1),f(!0),m(!0),r.modules.registrationEvents.trackRegPhoneCodeApproved(),l(),I.value=e}catch(t){if(null==(v=t.response.errors)?void 0:v.length){const e=t.response.errors.reduce(((e,t,r)=>`${e}${r?"\n":""}${t.detail}`),"");T.value=e}else e.error("error confirm sms",t)}},new Promise(((e,t)=>{var r=e=>{try{l(d.next(e))}catch(e){t(e)}},o=e=>{try{l(d.throw(e))}catch(e){t(e)}},l=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,o);l((d=d.apply(n,c)).next())}));var n,c,d},setConfirmDisable:()=>{const{fieldParams:e}=Object(y.a)(d(j.a.PHONE_CONFIRM_BUTTON_ID));void 0===Object(o.G)(e).disabled&&O(j.a.PHONE_CONFIRM_BUTTON_ID,!0)}}};var Ce=r(1554),Ee=r(1974),ye=(e,t,r)=>new Promise(((o,n)=>{var l=e=>{try{d(r.next(e))}catch(e){n(e)}},c=e=>{try{d(r.throw(e))}catch(e){n(e)}},d=e=>e.done?o(e.value):Promise.resolve(e.value).then(l,c);d((r=r.apply(e,t)).next())})),Te=Object(o.e)({name:"RegistrationFieldPhoneConfirm",props:{field:{type:Object,required:!0},theme:{type:String,default:""},size:{type:String,default:""},compact:{type:Boolean,default:!1},isForceUiInput:{type:Boolean,default:!1},isConfirmationAvailable:{type:Boolean,default:!0},icoSize:{type:String,default:l.b.xxs}},setup(e){const{notificationInfo:t,notificationError:r}=Object(A.v)(),{field:n,compact:m,isForceUiInput:h}=Object(o.F)(e),{getField:C}=Object(_.a)(),{codeConfirmSuccessMessage:E,codeConfirmErrorMessage:T,sendCodeConfirm:I,setConfirmDisable:R}=he(),{fieldParams:P,fieldModel:G,fieldError:F,placeholderLabel:N,placeholder:S,tagType:D}=Object(v.a)(n,m,h),U=Object(o.b)((()=>{var e;const t=Object(o.G)(P).validation[be.a.RULE_PHONE_CONFIRM];return null!=(e=null==t?void 0:t.value)?e:0})),{fieldParams:w}=Object(y.a)(C(j.a.PHONE_CONFIRM_BUTTON_ID)),B=Object(o.b)((()=>{const e=Object(o.G)(G)?Object(o.G)(G).toString():"";return Object(o.G)(w).disabled||0===e.length||""!==Object(o.G)(F)})),L=Object(o.b)((()=>{const e="registration-field-phone-confirm__button";return Object.fromEntries([[e,!0],[`${e}--compact`,Object(o.G)(m)],...Object(Ee.a)({fieldClassName:e,fieldCustomization:Object(o.G)(w).customization})])})),M=Object(o.b)((()=>Object(o.G)(m)||Object(o.G)(h)?d.a:O.a));return R(),Object(ve.a)(T,(e=>ye(this,null,(function*(){yield r(e)})))),Object(ve.a)(E,(e=>ye(this,null,(function*(){yield t(e)})))),{fieldParams:P,fieldLength:U,fieldModel:G,fieldError:F,fieldButtonParams:w,fieldComponent:M,buttonClasses:L,placeholderLabel:N,placeholder:S,tagType:D,sendCodeConfirm:I,replaceIncorrectSymbol:e=>{const t=/\W|_/g;t.test(e)&&(G.value=e.replace(t,""))},themeType:c.b,sizeType:l.b,iconName:f.B,registrationColorScheme:Ce.a,buttonDisabled:B}}}),Ie=(r(2026),Object(C.a)(Te,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r(e.fieldComponent,{tag:"component",staticClass:"registration-field-phone-confirm",attrs:{type:e.tagType,disabled:e.fieldParams.disabled,label:e.placeholderLabel,placeholder:e.placeholder,theme:e.theme,size:e.size,error:e.fieldError,maxlength:e.fieldLength},on:{input:e.replaceIncorrectSymbol},scopedSlots:e._u([e.isConfirmationAvailable?{key:"afterContent",fn:function(){return[r("UiButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.compact?e.fieldButtonParams.text:"",expression:"compact ? fieldButtonParams.text : ''"}],class:e.buttonClasses,attrs:{theme:e.registrationColorScheme.UiButton,uppercase:!1,disabled:e.buttonDisabled,"aria-label":e.compact?e.fieldButtonParams.text:"",narrow:"",rounded:!1},nativeOn:{click:function(t){return e.sendCodeConfirm.apply(null,arguments)}}},[e.compact?r("UiIco",{attrs:{size:e.icoSize,ico:e.iconName.CHECK}}):r("UiCaption",{attrs:{size:e.sizeType.xs}},[e._v("\n "+e._s(e.fieldButtonParams.text)+"\n ")])],1)]},proxy:!0}:null],null,!0),model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})}),[],!1,null,"73004d4c",null)),Re=Ie.exports,Pe=Object(o.e)({name:"RegistrationFieldList",props:{field:{type:Object,required:!0}},setup(e){const{field:{field:{items:t=[]}}}=e;return{items:t}}}),Ge=(r(2027),Object(C.a)(Pe,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"registration-field-list"},e._l(e.items,(function(t,o){return r("li",{key:o,staticClass:"registration-field-list__item"},[e._v("\n "+e._s(t)+"\n ")])})),0)}),[],!1,null,"02dcb7a8",null).exports);var Fe=r(236),Ne=r(75),Se=r(1493),Ae=r(1975),De=r(1753),Ue=Object(o.e)({name:"RegistrationFieldCpf",components:{TimeCounting:Se.a,UiButton:Fe.a,UiCaption:Ne.a,UiField:O.a},props:{field:{type:Object,required:!0},timeout:{type:Number,default:30},compact:{type:Boolean,default:!1}},setup(e){const{field:t}=Object(o.F)(e),{clearError:r,fieldError:n,fieldModel:d,fieldParams:O,inputDisabled:f,isInfoReceived:m,saveIntermediateState:_,initialize:j,loadCpfInfo:v,showTimer:h,submitDisabled:C,time:time}=Object(Ae.b)(t,e,De.a);Object(o.r)((()=>{j()})),Object(o.x)((()=>{_()}));return{CPF_PRETTY_LENGTH:De.a,fieldError:n,fieldModel:d,fieldParams:O,inputDisabled:f,isInfoReceived:m,loadCpfInfo:v,onInput:e=>{d.value=Object(De.b)(e),r()},showTimer:h,sizeType:l.b,submitDisabled:C,themeType:c.b,time:time}}}),we=(r(2028),Object(C.a)(Ue,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("UiField",{staticClass:"registration-field-cpf",attrs:{disabled:e.inputDisabled,label:e.fieldParams.title,required:e.fieldParams.required,maxlength:e.CPF_PRETTY_LENGTH,success:e.isInfoReceived,error:e.fieldError,type:"input",placeholder:e.fieldParams.placeholder},on:{input:e.onInput},scopedSlots:e._u([{key:"afterContent",fn:function(){return[r("UiButton",{staticClass:"registration-field-cpf__submit",attrs:{disabled:e.submitDisabled,uppercase:!1,rounded:!1,theme:e.themeType.primary},on:{click:function(t){return t.preventDefault(),e.loadCpfInfo.apply(null,arguments)}}},[r("UiCaption",{attrs:{size:e.sizeType.xs}},[e._v("\n "+e._s(e.$T("main_confirm"))+"\n ")]),e._v(" "),e.showTimer?r("TimeCounting",{staticClass:"registration-field-cpf__timer",attrs:{stopOnZeroDateFormatted:"",inverse:"",format:"mm:ss"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.dateFormatted;return[e._v("\n "+e._s(r)+"\n ")]}}],null,!1,2216555601),model:{value:e.time,callback:function(t){e.time=t},expression:"time"}}):e._e()],1)]},proxy:!0}]),model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})}),[],!1,null,"117f64f4",null)),Be=we.exports;const Le=(({multiselectField:e,countrySelectField:t,regionSelectField:r,currencySelectField:o,bankIdSelectField:n,emailField:l,inputField:c,refCodeField:d,phoneCountryField:O,phoneField:f,phoneConfirmField:m,datepickerField:_,dateBirthdayField:v,docNumField:h,docTypeField:C,newPasswordField:E,buttonField:y,captchaField:T,htmlLabelField:I,socialTypesField:R,registrationCheckBoxField:P,registrationListField:G,cpfField:F})=>({id:N,type:A})=>{switch(N){case j.a.EMAIL_ID:return l;case j.a.PASSWORD_ID:case j.a.PASSWORD_REPEAT_ID:return E;case j.a.COUNTRY_ID:case j.a.COUNTRY_V1_ID:if(t)return t;break;case j.a.REGION_ID:if(r)return r;break;case j.a.CURRENCY_ID:if(o)return o;break;case j.a.PHONE_CONFIRM_ID:if(m)return m;break;case j.a.DOC_NUM_ID:if(h)return h;break;case j.a.DOC_TYPE_ID:if(C)return C;break;case j.a.BANK_ID:if(n)return n;break;case j.a.CPF_ID:if(F)return F;break;case j.a.REF_CODE_ID:if(d)return d}switch(A){case S.a.INPUT:return c;case S.a.PHONE_COUNTRY:return O;case S.a.MULTISELECT:return e;case S.a.LABEL:return I;case S.a.DATEPICKER:return _;case S.a.CAPTCHA:return T;case S.a.DATE_BIRTHDAY:return v;case S.a.PHONE_CODE_BUTTON:return f;case S.a.SOCIAL_TYPES:return R;case S.a.BUTTON:return y;case S.a.CHECKBOX:return P;case S.a.LIST:return G;default:return c}})({multiselectField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4775)))),countrySelectField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4706)))),regionSelectField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4707)))),currencySelectField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4687)))),bankIdSelectField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4708)))),phoneCountryField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4652)))),datepickerField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4776)))),dateBirthdayField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4709)))),registrationCheckBoxField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4777)))),docTypeField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4710)))),emailField:Object(n.a)((()=>Promise.all([r.e(7),r.e(487)]).then(r.bind(null,4778)))),cpfField:Be,docNumField:E,registrationListField:Ge,phoneConfirmField:Re,inputField:me,refCodeField:je,phoneField:ce,newPasswordField:Oe,buttonField:W,captchaField:Q,htmlLabelField:re,socialTypesField:ae});var Me=Object(o.e)({name:"RegistrationFormField",props:{field:{type:Object,default:()=>({})},compact:{type:Boolean,default:!1},theme:{type:String,default:""},size:{type:String,default:l.a}},setup:e=>({fieldComponent:Object(o.b)((()=>Le({id:e.field.field.id,type:e.field.field.type})))})}),xe=Object(C.a)(Me,(function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.fieldComponent,{directives:[{name:"show",rawName:"v-show",value:e.field.visible,expression:"field.visible"}],tag:"component",staticClass:"registration-form-field",attrs:{field:e.field,theme:e.theme,compact:e.compact,size:e.size}})}),[],!1,null,null,null);t.a=xe.exports},2290:function(e,t,r){"use strict";r.d(t,"a",(function(){return j}));var o=r(1),n=r(111),l=r(112);const c=(e,t)=>t.length?e.slice().sort(((a,b)=>{const e=t.indexOf(a.field.id),r=t.indexOf(b.field.id);return-1===e?1:-1===r?-1:e-r})):e;var d=r(2306),O=r(1174),f=r(620),m=(e=>(e[e.OTHER_GROUP=1]="OTHER_GROUP",e[e.GEO_GROUP=2]="GEO_GROUP",e[e.USER_DATA_GROUP=3]="USER_DATA_GROUP",e[e.ACCOUNT_GROUP=4]="ACCOUNT_GROUP",e))(m||{});const _=[m.GEO_GROUP,m.USER_DATA_GROUP,m.ACCOUNT_GROUP,m.OTHER_GROUP],j=()=>{const{fastRegFieldsSort:e,phoneRegFieldsSort:t,socRegFieldsSort:r,shortRegFieldsSort:m,fullRowRegistrationFields:j,compactRowRegistrationFields:v}=Object(n.H)(),{sortFieldsForFullRegistration:h}=(()=>{const{isV1Registration:e,fullRegFieldsSort:t,fullRegV1FieldsSort:r}=Object(n.H)(),l=Object(o.b)((()=>e?r:t));return{sortFieldsForFullRegistration:Object(f.a)((e=>e.slice()),(e=>c(e,Object(o.G)(l))),(e=>e.reduce(((e,t)=>{const r=_.indexOf(t.field.group);return e[r]||(e[r]=[]),e[r].push(t),e}),{})),Object.values)}})(),{visibleFields:C,registrationType:E}=Object(O.a)(),y=new Set(j),T=new Set(v);return{formFieldsRows:Object(o.b)((()=>{const n=Object(o.G)(C).filter((e=>!d.a.includes(e.field.id)));switch(Object(o.G)(E)){case l.a.FULL_REG_TYPE:return h(n);case l.a.FAST_REG_TYPE:return[c(n,e)];case l.a.SOC_REG_TYPE:return[c(n,r)];case l.a.SHORT_REG_TYPE:return[c(n,m)];case l.a.PHONE_REG_TYPE:return[c(n,t)];default:return[n]}})),isFullRow:e=>y.has(e),isCompactRow:e=>T.has(e),isFieldIdEqual:(e,t)=>e===t,getFieldKey:e=>{var t;return null!=(t=e.field.id)?t:e.field.name+e.field.type}}}},2291:function(e,t,r){"use strict";r.d(t,"a",(function(){return R}));var o=r(1),n=r(200),l=r(2307),c=r(112),d=r(164);const O={[c.a.FAST_REG_TYPE]:d.a.FAST_REGISTRATION,[c.a.PHONE_REG_TYPE]:d.a.PHONE_REGISTRATION,[c.a.FULL_REG_TYPE]:d.a.FULL_REGISTRATION,[c.a.SHORT_REG_TYPE]:d.a.SHORT_REGISTRATION,[c.a.SOC_REG_TYPE]:d.a.SOCIAL_REGISTRATION},f=Object.fromEntries(Object.entries(O).map((([e,t])=>[t,e])));var m=r(1512),_=r(1174),j=r(1239),v=r(1888),h=r(1179);var C=r(1755),E=r(111);const y={phone:{message:"",value:""}};var T=r(1976),I=(e,t,r)=>new Promise(((o,n)=>{var l=e=>{try{d(r.next(e))}catch(e){n(e)}},c=e=>{try{d(r.throw(e))}catch(e){n(e)}},d=e=>e.done?o(e.value):Promise.resolve(e.value).then(l,c);d((r=r.apply(e,t)).next())}));const R=()=>{const e=Object(j.a)(),{bonusAmount:t,firstTabValue:r,registrationTabs:d,loadWelcomeBonuses:R,loadRegistrationData:P}=Object(m.a)(),G=Object(E.C)(),F=Object(E.A)(),N=Object(E.q)(),{getLocationWithLang:S}=Object(n.a)(Object(o.b)((()=>N.getters.globalGetLanguage))),{registrationIsLoadingFields:A,registrationType:D,setRegistrationType:U,fetchRegistrationFields:w,hasField:B,getField:L,changeValidation:M}=Object(_.a)(),x=Object(o.j)("useAnalytics")(),{registrationIsPending:k}=Object(v.a)(),{setRoute:H}=Object(C.a)(),Y=t=>I(void 0,null,(function*(){var r,n,d,f;if(yield H(),e.isRegPage&&t!==c.a.IDENTIFICATION_REG_TYPE){if(!Object(l.a)(O,t))return;Object(o.G)(F).query.type!==O[t]&&G.replace(S({name:"registration",query:{type:O[t]}}))}if(U(t),yield w(),B(h.a.PHONE_ID)){const e=L(h.a.PHONE_ID);yield M(h.a.PHONE_ID,y,null!=(n=null==(r=null==e?void 0:e.field)?void 0:r.required)&&n)}if(B(h.a.PHONE_CONFIRM_ID)){const e=L(h.a.PHONE_CONFIRM_ID);yield M(h.a.PHONE_CONFIRM_ID,T.a,null!=(f=null==(d=null==e?void 0:e.field)?void 0:d.required)&&f)}})),z=Object(o.b)((()=>Object(o.G)(d).length>1)),V=e.routeRegistrationType,$=Object(o.b)((()=>{const e=f[Object(o.G)(V)];return Object(o.G)(d).map((({value:e})=>e)).includes(e)?e:void 0}));return(()=>{const{registrationType:e,getField:t}=Object(_.a)();Object(o.I)(e,((e,r)=>{r&&e!==r&&[h.a.FIELD_CHECKBOX_PRIMARY_1,h.a.FIELD_CHECKBOX_PRIMARY_2,h.a.FIELD_CHECKBOX_PRIMARY_3].forEach((e=>{var r;return null==(r=t(e))?void 0:r.setValue(!1)}))}))})(),{bonusAmount:t,registrationTabs:d,isShowRegistrationTabs:z,registrationType:D,registrationIsPending:k,registrationIsLoadingFields:A,registrationTypeByRoute:$,setFormType:Y,setFormTypeAndAnalytics:t=>I(void 0,null,(function*(){Object(o.G)(A)||(x.modules.registrationEvents.selectTypeRegistration(t),e.analytics.selectTypeRegistration(t),yield Y(t))})),loadRegistration:()=>I(void 0,null,(function*(){yield R(),yield P();const t=Object(o.G)(d).some((({value:e})=>e===c.a.FAST_REG_TYPE)),n=e.isInstantBet&&Object(o.G)(t)?c.a.FAST_REG_TYPE:Object(o.G)($)||Object(o.G)(r);yield Y(n)})),checkIsTypeAvailable:e=>-1!==Object(o.G)(d).findIndex((({value:t})=>t===e))}}},2307:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));const o=(e,t)=>t in e},2368:function(e,t,r){"use strict";function o(e){return e[function(e,t,r=NaN){return e>=t?r:Math.floor(Math.random()*(t-e))+e}(0,e.length)]}function n(e=[],t=[],r=16,n=!0){if(!(e.length+t.length)||rl.push(o(e)))),n){const n=e.concat(t);for(let i=l.length;i.5-Math.random()))).join("");var c}function l(e=8){return e<3?"":n([["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],[0,1,2,3,4,5,6,7,8,9]],[],e)}r.d(t,"a",(function(){return l}))},2377:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=(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))(o||{})},2641:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));const o=text=>{(null==navigator?void 0:navigator.clipboard)?(text=>{null==navigator||navigator.clipboard.writeText(text).catch((e=>{console.error("copyToClipboard error",e)}))})(text):(text=>{const e=document.createElement("textarea");try{e.style.position="absolute",e.value=text,document.body.appendChild(e),e.select(),document.execCommand("copy")}catch(e){console.error("copyToClipboard error",e)}finally{e.remove()}})(text)}},3281:function(e,t,r){e.exports={}},3282:function(e,t,r){e.exports={}},3324:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o=r(1),a=Object(o.e)({name:"UiColumnBoxSection",props:{separated:{type:Boolean,default:!1}},setup:e=>({uiColumnBoxSectionClasses:Object(o.b)((()=>({"ui-column-box-section--separated":e.separated})))})}),n=r(7),l=r.n(n)()({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"ui-column-box-section",class:e.uiColumnBoxSectionClasses},[e._t("default")],2)},staticRenderFns:[]},void 0,a,"data-v-9dbfd54a",!1,void 0,!1,void 0,void 0,void 0)},3325:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(1),n=Object(o.e)({name:"UiColumnBoxContainer"}),l=r(7),c=r.n(l)()({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"ui-column-box-container"},[e._t("default")],2)},staticRenderFns:[]},void 0,n,"data-v-f820392c",!1,void 0,!1,void 0,void 0,void 0)},4556:function(e,t,r){"use strict";r(3281)},4557:function(e,t,r){"use strict";r(3282)},4594:function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o=r(1),n=r(214),l=r(75),i=Object(o.e)({name:"UiColumnBoxTitle",components:{UiCaption:l.a},setup:()=>({sizeType:n.b})}),c=r(7),d=r.n(c)()({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("h3",{staticClass:"ui-column-box-title"},[r("UiCaption",{attrs:{size:e.sizeType.l,uppercase:"",bold:""}},[e._t("default")],2)],1)},staticRenderFns:[]},void 0,i,void 0,!1,void 0,!1,void 0,void 0,void 0)},4661:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return Y}));var o=r(1),n=r(200),l=r(950),c=r(2610),d=r(3324),O=r(3325),f=Object(o.e)({name:"UiColumnBoxBlock"}),m=r(7),i=r.n(m)()({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"ui-column-box-block"},[e._t("default")],2)},staticRenderFns:[]},void 0,f,"data-v-0b34f2c6",!1,void 0,!1,void 0,void 0,void 0),_=r(4594),j=r(1149),v=r(214),h=r(10),C=r(111),E=r(1847),y=Object(o.e)({name:"RegistrationWidgetAppFieldsPreloader",setup:()=>({themeType:h.b})}),T=(r(4556),r(4)),I=Object(T.a)(y,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("UiSkeleton",{staticClass:"registration-widget-app-fields-preloader",attrs:{theme:e.themeType.gray30,repeat:3}},[r("div",{staticClass:"registration-widget-app-fields-preloader__field"})])}),[],!1,null,"3fc8811c",null).exports,R=r(2276),P=r(1239),G=r(2290),F=r(2291),N=r(1512),S=r(1174),A=r(1515),D=r(394),U=r(649),w=r(156);var B=r(1179),L=r(112),M=r(2377),x=r(1554),k=Object(o.e)({name:"RegistrationWidgetApp",components:{AuthFormCustomPixel:E.a,UiColumnBox:c.a,UiColumnBoxSection:d.a,UiColumnBoxContainer:O.a,UiColumnBoxBlock:i,UiColumnBoxTitle:_.a,RegistrationWidgetAppFieldsPreloader:I,UiTabs:j.a,RegistrationFormField:R.a},setup(){const e=Object(C.C)(),t=Object(C.L)(),c=Object(C.i)(),d=Object(P.a)(),{isRegistrationShown:O}=Object(C.z)(),{formFieldsRows:f,getFieldKey:m}=Object(G.a)(),{registrationTabs:_,registrationIsPending:j,registrationIsLoadingFields:E,setFormType:y,setFormTypeAndAnalytics:T,loadRegistration:I}=Object(F.a)(),{hasFirstDeposit:R,percent:k}=Object(N.a)(),H=Object(C.q)(),{useLangLocation:Y}=Object(n.a)(Object(o.b)((()=>H.getters.globalGetLanguage))),z=Y({name:Object(C.a)(),params:{id:"1st"}}),{registrationType:V,getField:$,changeDisabled:K}=Object(S.a)(),{isResponseSuccess:W}=Object(A.a)(),X=Object(o.b)((()=>({"registration-widget-app--loading":Object(o.G)(j)}))),J=Object(o.b)((()=>Object(o.G)(k).replace("%",""))),Z=()=>{t.hide(),t.show(Object(D.a)({name:"REGISTRATION_SUCCESS",component:()=>Promise.all([r.e(18),r.e(40),r.e(418)]).then(r.bind(null,4612)),componentLoader:w.a,middleware:[U.a]}),{isWidget:!0},{clickToClose:!1,width:"95%",height:"auto",classes:"registration-modal"})};Object(l.a)(W,(()=>{var e,t,r;Object(o.G)(V)===L.a.PHONE_REG_TYPE&&(null==(e=$(B.a.PHONE_ID))||e.setValue(void 0),null==(t=$(B.a.PHONE_CONFIRM_ID))||t.setValue(void 0),K(B.a.PHONE_ID,!1),K(B.a.PHONE_BUTTON_ID,!1),K(B.a.PHONE_CONFIRM_ID,!1),K(B.a.PHONE_CONFIRM_BUTTON_ID,!0),K(B.a.BUTTON_REGISTRATION,!0)),null==(r=$(B.a.REF_CODE_ID))||r.setValue(void 0),Z()}));return Object(o.r)(I),{onAnalitycs:e=>{e===B.a.BUTTON_REGISTRATION&&Object(o.G)(O)&&(c.modules.registrationEvents.trackRegistrationPageCall({screen:M.a.MENU_LEFT_FULL}),c.modules.yandexEvents.trackRegSidebar())},sizeType:v.b,themeType:h.b,hasFirstDeposit:R,percent:J,registrationTabs:_,registrationType:V,registrationIsPending:j,formFieldsRows:f,registrationIsLoadingFields:E,firstDepositRoute:z,registrationWidgetClasses:X,setFormType:y,setFormTypeAndAnalytics:T,showPopupSuccessForm:Z,onClickFirstDeposit:()=>{d.analytics.clickFirstDeposit(),e.push(Object(o.G)(z))},registrationColorScheme:x.a,getFieldKey:m}}}),H=(r(4557),Object(T.a)(k,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("UiColumnBox",{staticClass:"registration-widget-app",class:e.registrationWidgetClasses},[r("UiColumnBoxSection",{staticClass:"registration-widget-app__wrapper"},[r("UiColumnBoxContainer",{staticClass:"registration-widget-app__container"},[r("UiColumnBoxBlock",[r("UiColumnBoxTitle",{staticClass:"registration-widget-app__title"},[e._v("\n "+e._s(e.$T("reg_title"))+"\n ")]),e._v(" "),r("form",{staticClass:"registration-widget-app-form"},[r("UiTabs",{staticClass:"registration-widget-app-form__tabs",attrs:{value:e.registrationType,options:e.registrationTabs,theme:e.registrationColorScheme.UiTabsWidget,name:"registration_widget"},on:{input:e.setFormTypeAndAnalytics},scopedSlots:e._u([{key:"default",fn:function(t){var o=t.item;return[r("UiIco",{staticClass:"registration-widget-app-form__ico",attrs:{ico:o.ico}}),e._v(" "),r("UiCaption",{attrs:{size:e.sizeType.s}},[e._v("\n "+e._s(o.caption)+"\n ")])]}}])}),e._v(" "),e.registrationIsLoadingFields?r("RegistrationWidgetAppFieldsPreloader"):[r("AuthFormCustomPixel"),e._v(" "),e._l(e.formFieldsRows,(function(t,o){return r("div",{key:o,staticClass:"registration-widget-app-form__fields"},e._l(t,(function(t){return r("RegistrationFormField",{key:e.getFieldKey(t),staticClass:"registration-widget-app-form__field",attrs:{field:t,theme:e.registrationColorScheme.FormField,compact:""},nativeOn:{click:function(r){e.onAnalitycs(e.getFieldKey(t))}}})})),1)}))]],2)],1)],1)],1),e._v(" "),e.hasFirstDeposit?r("UiButton",{staticClass:"registration-widget-app__first-deposit",attrs:{theme:e.themeType.primary,narrow:"",rounded:!1},nativeOn:{click:function(t){return e.onClickFirstDeposit.apply(null,arguments)}}},[r("UiCaption",{attrs:{size:e.sizeType.xs}},[e._v("\n "+e._s(e.$T("reg_first_deposit",{percent:e.percent}))+"\n ")])],1):e._e(),e._v(" "),e.registrationIsPending?r("PreloaderComponent",{staticClass:"registration-widget-app__loader"}):e._e()],1)}),[],!1,null,"3a1e4a79",null)),Y=H.exports}}]);