(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors~ea1f58e8"],{"0d66":function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return t("transition",e._g(e._b({},"transition",e.$attrs,!1),e.listeners),[e._t("default")],2)},n=[],a=i("5530"),r=i("589d"),o=i.n(r),c={name:"transition-expand",props:{duration:{type:Number,default:150}},computed:{listeners(){return Object(a["a"])(Object(a["a"])({},this.$listeners),{},{enter:this.enter,leave:this.leave})}},methods:{enter(e,t){o()(e,"slideDown",{duration:this.duration,easing:[.4,0,.2,1],complete:t}),this.$emit("enter",e,t)},leave(e,t){o()(e,"slideUp",{duration:this.duration,easing:[.4,0,.2,1],complete:t}),this.$emit("leave",e,t)}}},d=c,l=i("2877"),u=Object(l["a"])(d,s,n,!1,null,null,null);t["a"]=u.exports},"0ebc":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"b",(function(){return _}));i("d9e2");var s=i("9ab4"),n=i("9029"),a=i("1dab"),r=i("3fbc"),o=i("ccd5");class c extends Error{constructor(e){super(e),this.name="PushNotificationsError"}}const d=864e5,l="not supported",u="request with errors limit exceeded",h=new r["b"];class _{constructor(){_._instance||(_._instance=this)}static getInstance(){return _._instance}static get dataProvider(){return r["b"].getInstance()}static isSupported(){return(n["isWindows"]&&n["isOpera"]||!n["isIOS"]&&n["isChrome"])&&!o["d"].pushNotificationsDisabled.get()}static isAllowToSubscribeInApp(e){const t=!!((null===e||void 0===e?void 0:e.isWebView)&&(null===e||void 0===e?void 0:e.firebaseProjectName)&&(null===e||void 0===e?void 0:e.mobilePushToken)&&(null===e||void 0===e?void 0:e.version)),i=!!(a["c"]&&o["d"].firebaseProjectName.get()&&o["d"].firebaseToken.get()&&o["d"].webViewVersion.get());return t||i}static getCheckInterval(e=45e3){const t=o["d"].notificationDate.get(),i=parseInt(String(t))-Date.now();return i>0?i:e}static setCheckTomorrow(){const e=Date.now()+d;o["d"].notificationDate.set(e,{path:"/",expires:new Date(e)})}static subscribeInApp(e,t){return Object(s["a"])(this,void 0,void 0,(function*(){_.isAllowToSubscribeInApp(e)&&(yield h.subscribeInApp(e,t))}))}static subscribe(e){window.open(`${r["a"]}?${h.makeSubscribeParams(e)}`,"_blank")}static sleep(e=0){return new Promise(t=>{setTimeout(t,e)})}static runCheckSubscription(e){return Object(s["a"])(this,void 0,void 0,(function*(){let t=0;const i=()=>Object(s["a"])(this,void 0,void 0,(function*(){if(t>=3)throw new c(u);const s=yield h.getSubscribeStatus(e),n=s.status;return"error"===n?(t++,yield i()):"refresh"===n&&(_.isSubscribed=!1,_.subscribe(e)),_.isSubscribed="not_subscribed"!==n,_.isSubscribed}));return yield i()}))}static immediatelyCheckSubscription(e){return Object(s["a"])(this,void 0,void 0,(function*(){if(!_.isSupported())throw _.isSubscribed=!0,new c(l);return!o["d"].notificationDate.get()&&(yield _.runCheckSubscription(e))}))}static checkSubscription(e){return Object(s["a"])(this,void 0,void 0,(function*(){if(!_.isSupported())throw _.isSubscribed=!0,new c(l);return yield _.sleep(_.getCheckInterval()),yield _.runCheckSubscription(e)}))}checkSubscription(e){return _.checkSubscription(e)}}_.isSubscribed=null},2201:function(e,t,i){},2973:function(e,t,i){"use strict";var s=i("5530"),n=(i("caad"),i("4d63"),i("c607"),i("ac1f"),i("00b4"),i("2532"),i("5319"),i("2ca0"),i("88c3")),a=i("7bb1"),r=i("5527");i("498a2");const o=e=>"string"===typeof e?!!e.trim():!!e,c=()=>n["a"].t("validation.password_required"),d={required_named:{params:["commonCase","customText"],message:(e,{commonCase:t=!1,customText:i=""})=>{const s=i||e,a=t?s:s.toLowerCase();return n["a"].t("validation.required_named",{text:a}).toString()}},required_named_iban:{params:["commonCase","customText"],message:(e,{customText:t=""})=>{const i=t||e;return n["a"].t("validation.required_named_iban",{text:i}).toString()}},required_named_tin:{params:["commonCase","customText"],message:(e,{customText:t=""})=>{const i=t||e;return n["a"].t("validation.required_named_tin",{text:i}).toString()}},required_named_city:{message:()=>n["a"].t("validation.city_required")},required_named_cpf:{message:()=>n["a"].t("validation.cpf_required")},required_named_state:{message:()=>n["a"].t("validation.state_required")},required_named_address:{message:()=>n["a"].t("validation.address_required")},required_named_country:{message:()=>n["a"].t("validation.country_required")},required_named_postal_code:{message:()=>n["a"].t("validation.postcode_required")},required_named_account_owner_name:{message:()=>n["a"].t("validation.account_owner_name_required")},required_named_for_select:{params:["text"],message:e=>n["a"].t("validation.required_named_for_select",{text:e.toLowerCase()})},required_named_select_bank_name:{message:()=>n["a"].t("validation.required_select_bank_name")},required_named_select_bank_type:{message:()=>n["a"].t("validation.required_select_bank_type")},required_bank_root:{message:()=>n["a"].t("validation.required_select_bank_root")},required_named_select_region:{message:()=>n["a"].t("validation.required_select_region")},required_named_select_bank_account_type:{message:()=>n["a"].t("validation.required_select_bank_account_type")},required_named_select_pix_key_type:{message:()=>n["a"].t("validation.required_select_pix_key_type")},required_named_select_pix_account_type:{message:()=>n["a"].t("validation.required_select_pix_account_type")},required_named_select_pix_type:{message:()=>n["a"].t("validation.required_select_pix_type")},required_named_select_picpay_account_type:{message:()=>n["a"].t("validation.required_select_picpay_account")},required_named_select_document_type:{message:()=>n["a"].t("validation.required_select_document_type")},required_named_select_account_type:{message:()=>n["a"].t("validation.required_select_account_type")},required_named_select_country:{message:()=>n["a"].t("validation.required_select_country")},required_named_select_state:{message:()=>n["a"].t("validation.required_select_state")},required_named_select_transaction_type:{message:()=>n["a"].t("validation.required_named_select_transaction_type")},required_named_ifsc:{message:()=>n["a"].t("validation.ifsc_required")},required_named_select_security_question:{message:()=>n["a"].t("validation.required_select_security_answer")},required_named_password:{message:c},required_named_document_id:{message:()=>n["a"].t("validation.document_id_required")},required_named_select_bank_id:{message:()=>n["a"].t("validation.required_select_bank_id")},required_named_account_number:{message:()=>n["a"].t("validation.required_named_account_number")}},l=e=>Object(s["a"])(Object(s["a"])({},e),{},{validate:e=>({valid:o(e),required:!0}),computesRequired:!0}),u=e=>{Object.keys(e).forEach(t=>{Object(a["c"])(t,l(e[t]))})};i("fb6a");const h={required_named:{params:["commonCase","firstLowerCase"],message:(e,{commonCase:t,firstLowerCase:i})=>{let s=t?e:e.toLowerCase();return s=i?`${s[0].toLowerCase()}${s.slice(1)}`:s,n["a"].t("validation.required_named",{text:s}).toString()}},required_named_driving_licence:{message:()=>n["a"].t("validation.driving_licence")},required_named_account:{message:()=>n["a"].t("validation.account_required")},required_named_address:{message:()=>n["a"].t("validation.address_required")},required_named_bank_name:{message:()=>n["a"].t("validation.bank_name_required")},required_named_birthday:{message:()=>n["a"].t("validation.birthday_required")},required_named_branch_code:{message:()=>n["a"].t("validation.branch_code_required")},required_named_card_number:{message:()=>n["a"].t("validation.card_number_required")},required_named_city:{message:()=>n["a"].t("validation.city_required")},required_named_country:{message:()=>n["a"].t("validation.country_required")},required_named_cpf:{message:()=>n["a"].t("validation.cpf_required")},required_named_password:{message:()=>n["a"].t("validation.password_required")},required_named_password_one_time:{message:()=>n["a"].t("validation.password_one_time_required")},required_named_phone:{message:()=>n["a"].t("validation.phone_required")},required_named_phone_code:{message:()=>n["a"].t("validation.phone_code_required")},required_named_postal_code:{message:()=>n["a"].t("validation.required_postal_code")},required_named_select_bank_account_type:{message:()=>n["a"].t("validation.required_select_bank_account_type")},required_named_select_bank_name:{message:()=>n["a"].t("validation.required_select_bank_name")},required_named_select_document_type:{message:()=>n["a"].t("validation.required_select_document_type")},required_named_select_picpay_account_type:{message:()=>n["a"].t("validation.required_select_picpay_account_type")},required_named_select_pix_account_type:{message:()=>n["a"].t("validation.required_select_pix_account_type")},required_named_select_pix_key_type:{message:()=>n["a"].t("validation.required_select_pix_account_type")},required_named_select_security_question:{message:()=>n["a"].t("validation.required_select_security_question")},required_named_select_state:{message:()=>n["a"].t("validation.required_select_state")},required_named_state:{message:()=>n["a"].t("validation.state_required")},required_named_wallet_number:{message:()=>n["a"].t("validation.wallet_number_required")},required_named_native_customer_firstname:{message:()=>n["a"].t("validation.native_customer_firstname_required")},required_named_native_customer_lastname:{message:()=>n["a"].t("validation.native_customer_lastname_required")},required_named_native_customer_fullname:{message:()=>n["a"].t("validation.native_customer_fullname_required")}};i("4de4"),i("c975"),i("d81d"),i("466d");var _=i("7fe9"),m=i("0325"),g=i("1fa8"),p=i("210f"),b=i("52ff");const f=9,v=10,y=11,C=14,O=e=>{const t=e.replace(/\D/g,""),i=e.length!==C,s=t.length!==y,n=t.split("").every(e=>e===t[0]);if(i||s||n)return!1;let a=0;for(let c=1;c<=f;++c)a+=parseInt(t.substring(c-1,c))*(y-c);let r=10*a%y;[v,y].includes(r)&&(r=0);const o=parseInt(t.substring(f,v));return r===o};var S=i("8066");const w=e=>-1===(null===e||void 0===e?void 0:e.indexOf(" ")),j=()=>n["a"].t("validation.is_not").toString(),P=(e,{length:t},i)=>n["a"].t("validation.min",{text:i?Object(g["d"])(e):e,amount:t}).toString(),E=(e,{length:t})=>n["a"].t("validation.max",{text:Object(g["d"])(e),amount:t}).toString(),A=e=>n["a"].t("validation.spaces_not_allowed",{text:e}).toString();u(d),Object(a["c"])("account_number_nz",{validate:e=>({valid:new RegExp(/^\d{15,16}$/).test(e||"")}),message:()=>n["a"].t("validation.account_number_nz").toString()}),Object(a["c"])("2FA_key",{validate:e=>new RegExp(/^\d{6}$/).test(e||""),message:()=>n["a"].t("validation.2_fa_key").toString()}),Object(a["c"])("account_id_length",{validate:(e,{min:t,max:i})=>0===t&&e.length>t||e.lengthn["a"].t("payments.purse_incorrect").toString()}),Object(a["c"])("address_too_long",{validate:e=>({valid:Boolean(e&&e.trim().length<=100),required:!0}),message:()=>n["a"].t("validation.address_too_long").toString(),computesRequired:!0}),Object(a["c"])("age_confirm",{validate:e=>e,message:()=>n["a"].t("validation.age_confirm").toString(),computesRequired:!0}),Object(a["c"])("amount_incorrect",Object(s["a"])(Object(s["a"])({},r["max_value"]),{},{message:()=>n["a"].t("validation.amount_incorrect").toString()})),Object(a["c"])("bank_account",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.match(/^[a-zA-Z0-9-.]{9,18}$/))}),message:()=>n["a"].t("validation.invalid_bank_account").toString()}),Object(a["c"])("bank_branch",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.match(/^[A-Z|a-z]{4}[0][a-zA-Z0-9]{6}$/))}),message:()=>n["a"].t("validation.invalid_bank_branch").toString()}),Object(a["c"])("card_code",{validate:e=>Boolean(e&&e.length>0&&3===e.length),message:()=>n["a"].t("payments.errors.invalid_code").toString()}),Object(a["c"])("card_holder",{validate:_["p"],message:()=>n["a"].t("payments.alert_card_holder").toString()}),Object(a["c"])("two_word_card_holder",{validate:_["r"],message:()=>n["a"].t("payments.alert_card_holder").toString()}),Object(a["c"])("card_number",{validate:(e,{card:t,brands:i,binList:s=[],separator:a=" "})=>{const r=Object(_["q"])(e,s,a);if(r.error){const e=(null!==i&&void 0!==i&&i.length?m["m"].filter(e=>i.includes(e)):m["m"]).map(e=>n["a"].t("payments.brands."+e)).join(", "),t="card_type_brands"===r.error?{brands:e}:{};return n["a"].t("payments.errors."+r.error,t).toString()}return!(i&&i.length&&!i.includes(t.type))||n["a"].t("payments.errors.nonsupport_card_brand",{brands:n["a"].t("payments.brands."+t.type)}).toString()},params:["card","brands","binList","separator"],computesRequired:!0}),Object(a["c"])("cashout_max_amount",Object(s["a"])(Object(s["a"])({},r["max_value"]),{},{message:()=>n["a"].t("payments.amount_max").toString()})),Object(a["c"])("cashout_min_amount",Object(s["a"])(Object(s["a"])({},r["min_value"]),{},{message:()=>n["a"].t("payments.amount_min").toString()})),Object(a["c"])("cpf_number",{validate:O,message:()=>n["a"].t("validation.cpf_number")}),Object(a["c"])("email",Object(s["a"])(Object(s["a"])({},r["email"]),{},{message:()=>n["a"].t("validation.email").toString()})),Object(a["c"])("email_confirmed",{validate:(e,{emailValue:t,confirmedAt:i})=>Boolean(!t||i),params:["emailValue","confirmedAt"],message:()=>n["a"].t("profile.your_email_not_confirmed").toString()}),Object(a["c"])("email_latin_only",{validate:e=>!e||(e=e.split("@").shift()||"",!new RegExp(/[а-я]+/gi).test(e)),message:()=>n["a"].t("validation.email_latin_only").toString(),computesRequired:!0}),Object(a["c"])("ifsc_code",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.match(/^[A-Za-z]{4}0[A-Z0-9a-z]{6}$/))}),message:()=>n["a"].t("validation.invalid_number").toString()}),Object(a["c"])("is_not",Object(s["a"])(Object(s["a"])({},r["is_not"]),{},{message:j})),Object(a["c"])("length",Object(s["a"])(Object(s["a"])({},r["length"]),{},{message:(e,{length:t})=>n["a"].t("validation.length",{text:e,amount:t}).toString()})),Object(a["c"])("max",Object(s["a"])(Object(s["a"])({},r["max"]),{},{message:E})),Object(a["c"])("min",Object(s["a"])(Object(s["a"])({},r["min"]),{},{message:P})),Object(a["c"])("min_amount",Object(s["a"])(Object(s["a"])({},r["min_value"]),{},{params:["min","currency"],message:(e,{min:t,currency:i})=>n["a"].t("payments.amount_minimal",{amount:t,currency:i}).toString()})),Object(a["c"])("min_value",Object(s["a"])(Object(s["a"])({},r["min_value"]),{},{message:(e,{min:t})=>n["a"].t("validation.min_value",{value:Object(S["c"])(t)})})),Object(a["c"])("max_amount",Object(s["a"])(Object(s["a"])({},r["max_value"]),{},{params:["max","currency"],message:(e,{max:t,currency:i})=>n["a"].t("payments.amount_max",{amount:t,currency:i}).toString()})),Object(a["c"])("max_flexepin",Object(s["a"])(Object(s["a"])({},r["max"]),{},{message:()=>n["a"].t("payments.flexepin_length").toString()})),Object(a["c"])("max_value",Object(s["a"])(Object(s["a"])({},r["max_value"]),{},{message:(e,{max:t})=>n["a"].t("validation.max_value",{value:Object(S["c"])(t)})})),Object(a["c"])("length_voucher_number",Object(s["a"])(Object(s["a"])({},r["length"]),{},{message:()=>n["a"].t("payments.flexepin_length").toString()})),Object(a["c"])("max_neosurf",Object(s["a"])(Object(s["a"])({},r["max"]),{},{message:()=>n["a"].t("payments.neosurf_length").toString()})),Object(a["c"])("max_routing_number",{validate:e=>({valid:Boolean(e&&(e.trim().length<8||e.trim().length>9)),required:!0}),message:()=>n["a"].t("payments.routing_number_length").toString()}),Object(a["c"])("max_ssn",Object(s["a"])(Object(s["a"])({},r["max"]),{},{message:()=>n["a"].t("payments.ssn_length").toString()})),Object(a["c"])("password_confirmed",Object(s["a"])(Object(s["a"])({},r["is"]),{},{message:()=>n["a"].t("validation.password_confirmed").toString()})),Object(a["c"])("password_current_equal",Object(s["a"])(Object(s["a"])({},r["is_not"]),{},{message:()=>n["a"].t("validation.password_current_equal").toString()})),Object(a["c"])("password_email_equal",Object(s["a"])(Object(s["a"])({},r["is_not"]),{},{message:()=>n["a"].t("validation.password_email_equal").toString()})),Object(a["c"])("postal_code",{validate:(e,{country:t})=>({valid:Boolean(e&&t)&&(!Object(b["b"])(t)||Object(b["a"])(e,t)),required:!0}),params:["country"],message:()=>n["a"].t("validation.zipcode_not_valid").toString(),computesRequired:!0}),Object(a["c"])("required",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("validation.required").toString()})),Object(a["c"])("required_2FA_key",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:e=>n["a"].t("validation.password_one_time_required",{text:e}).toString()+". "+`${n["a"].t("profile.profile_security.profile_security_two_fa.sync_time").toString()}`})),Object(a["c"])("required_account_type",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("payments.account_type_empty").toString()})),Object(a["c"])("required_amount",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("payments.amount_empty").toString()})),Object(a["c"])("required_card",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("validation.required_card").toString()})),Object(a["c"])("required_card_code",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("payments.errors.empty_code").toString()})),Object(a["c"])("required_card_field",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:e=>n["a"].t("payments.errors.empty_"+e).toString()})),Object(a["c"])("required_currency",{validate:e=>!(!e||!e.code),message:e=>n["a"].t("validation.currency_not_chosen",{text:e}).toString(),computesRequired:!0}),Object(a["c"])("required_gender",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("validation.required_gender").toString()})),Object(a["c"])("required_named_gender",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("validation.required_gender").toString()})),Object(a["c"])("required_last_four_card_number_digits",{validate:e=>({valid:4===(null===e||void 0===e?void 0:e.length),required:!0}),message:()=>n["a"].t("validation.required_last_four_card_number_digits").toString(),computesRequired:!0}),Object(a["c"])("required_named_email",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.trim()),required:!0}),message:()=>n["a"].t("validation.email_required").toString(),computesRequired:!0}),Object(a["c"])("required_named_firstname",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.trim()),required:!0}),message:()=>n["a"].t("validation.firstname_required").toString(),computesRequired:!0}),Object(a["c"])("required_named_lastname",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.trim()),required:!0}),message:()=>n["a"].t("validation.lastname_required").toString(),computesRequired:!0}),Object(a["c"])("required_named_date_of_birth",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("validation.date_of_birth_required")})),Object(a["c"])("required_named_nickname",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.trim()),required:!0}),message:()=>n["a"].t("validation.nickname_required").toString(),computesRequired:!0}),Object(a["c"])("required_payeer",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.match(/^P[0-9]{8,10}$/i)),required:!0}),message:()=>n["a"].t("payments.required_payeer").toString(),computesRequired:!0}),Object(a["c"])("required_named_return_common_message",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.trim()),required:!0}),message:e=>n["a"].t(e).toString(),computesRequired:!0}),Object(a["c"])("required_routing_number",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("payments.routing_number_empty").toString()})),Object(a["c"])("required_security_answer",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("validation.security_answer").toString()})),Object(a["c"])("required_ssn",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("payments.ssn_empty").toString()})),Object(a["c"])("required_voucher",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("payments.voucher_empty").toString()})),Object(a["c"])("sms_limit_timeout",{validate:(e,{timeout:t})=>!(t&&t.date-(new Date).valueOf()>0)||n["a"].t("validation."+t.type).toString(),params:["timeout"]}),Object(a["c"])("spaces_not_allowed",{validate:e=>({valid:w(e),required:!0}),message:A,computesRequired:!0}),Object(a["c"])("tin",{validate:e=>({valid:Boolean(e&&11===e.trim().length),required:!0}),message:()=>n["a"].t("validation.invalid_tin").toString(),computesRequired:!0}),Object(a["c"])("too_many_symbols",{validate:e=>({valid:Boolean(e&&e.trim().length<=50),required:!0}),message:()=>n["a"].t("validation.too_many_symbols").toString(),computesRequired:!0}),Object(a["c"])("upi_address",{validate:e=>({valid:Boolean(null===e||void 0===e?void 0:e.match(/^[a-zA-Z0-9.\-_]{2,256}@[a-zA-Z]{2,64}$/))}),message:()=>n["a"].t("validation.invalid_number").toString()}),Object(a["c"])("valid_phone_number",{validate:(e,{countryCode:t,provider:i,qiwiCountries:s,forbiddenCountries:n,allowedCountriesPhoneCodes:a})=>Object(p["c"])(e,t,i,s,n,a),params:["countryCode","provider","qiwiCountries","forbiddenCountries","allowedCountriesPhoneCodes"],message:()=>n["a"].t("payments.phone_incorrect").toString()}),Object(a["c"])("webmoney_account_id",{validate:e=>new RegExp(/^[BEGHKLPRVXYZ][0-9]{12}$/gi).test(e||""),message:()=>n["a"].t("payments.purse_incorrect").toString()}),Object(a["c"])("password_validation",{params:["email","field","isCapitalizeFirstLetter"],validate:(e,{email:t,field:i,isCapitalizeFirstLetter:s=!0})=>{const n=8,a=128;return o(e)?t&&!r["is_not"].validate(e,{other:t})?j():r["min"].validate(e,{length:n})?r["max"].validate(e,{length:a})?!!w(e)||A(i):E(i,{length:a}):P(i,{length:n},s):c()},computesRequired:!0}),Object(a["c"])("required_limit_period",{validate:e=>!(!e||!e.code),message:e=>n["a"].t("validation.limit_period_not_chosen",{text:e}),computesRequired:!0}),Object(a["c"])("available_period",{validate:(e,{periods:t,oldValue:i})=>{if(e&&t&&i){const s=t.findIndex(({code:e})=>e===i),n=t.findIndex(({code:t})=>t===e.code);return n<=s}return!0},params:["periods","oldValue"],message:()=>n["a"].t("validation.available_period")}),Object(a["c"])("min_session_value",Object(s["a"])(Object(s["a"])({},r["min_value"]),{},{params:["min"],message:(e,{min:t})=>n["a"].t("validation.min_session_value",{amount:t})})),Object(a["c"])("max_session_value",Object(s["a"])(Object(s["a"])({},r["max_value"]),{},{params:["max"],message:(e,{max:t})=>n["a"].t("validation.max_session_value",{amount:t})})),Object(a["c"])("valid_non_zero_limit",{validate:e=>"string"===typeof e?{valid:+(null===e||void 0===e?void 0:e.replace(/[^0-9+-]/g,""))>0,required:!0}:{valid:e>0,required:!0},message:()=>n["a"].t("validation.zero_limit_relevant_value").toString()}),Object(a["c"])("deposit_limit",{validate:(e,{limits:t,currency:i})=>t.every(t=>{const s=t.account_limits.find(e=>e.currency===i.code);return!s||s.amount_cents-(s.current_value_amount_cents+Number(e)*i.subunits_to_unit)>=0}),params:["limits","currency"],message:()=>n["a"].t("limits.errors.deposit").toString()}),Object(a["c"])("divisible_by_500",{validate:(e,{from:t=500})=>Object(S["b"])(parseFloat(e),500,t),params:["from"],message:(e,{from:t})=>n["a"].t("validation.divisible_by_500"+(1e3===t?"_from_1000":""))}),Object(a["c"])("first_letter",{validate:(e,{availableValues:t=[]})=>t.includes(e[0]),params:["availableValues"],message:()=>n["a"].t("validation.required_moneygo_wallet")}),u(h),Object(a["c"])("available_period",{validate:(e,{periods:t,oldValue:i})=>{if(e&&t&&i){const s=t.findIndex(e=>e.code===i),n=t.findIndex(t=>t.code===e.code);return n<=s}return!0},params:["periods","oldValue"],message:()=>n["a"].t("validation.available_period").toString()}),Object(a["c"])("card_date",{validate:(e="")=>{const t=e.replace(/\D/g,"");if(!t)return!1;const i="1"===t[0]?/^1[0-2][0-9]{2}$/:/^0[1-9][0-9]{2}$/;return i.test(t)},message:()=>n["a"].t("payments.errors.validity"),computesRequired:!0}),Object(a["c"])("card_type",{validate:(e,{type:t,supportedTypes:i})=>{if(!t||!e)return!0;const s="maestro"===t?"mastercard":t;if(!i.length||i.includes(s))return!0;const a=n["a"].t("payments.brands."+t);return n["a"].t("payments.errors.nonsupport_card_brand",{brands:a}).toString()},params:["type","supportedTypes"]}),Object(a["c"])("cashout_max_amount",Object(s["a"])(Object(s["a"])({},r["max_value"]),{},{message:()=>n["a"].t("payments.amount_max").toString()})),Object(a["c"])("cashout_min_amount",Object(s["a"])(Object(s["a"])({},r["min_value"]),{},{message:()=>n["a"].t("payments.amount_min").toString()})),Object(a["c"])("max_session_value",Object(s["a"])(Object(s["a"])({},r["max_value"]),{},{params:["max"],message:(e,{max:t})=>n["a"].t("validation.max_session_value",{amount:t}).toString()})),Object(a["c"])("min_session_value",Object(s["a"])(Object(s["a"])({},r["min_value"]),{},{params:["min"],message:(e,{min:t})=>n["a"].t("validation.min_session_value",{amount:t}).toString()})),Object(a["c"])("required_amount_short",Object(s["a"])(Object(s["a"])({},r["required"]),{},{message:()=>n["a"].t("payments.amount_empty_short").toString()})),Object(a["c"])("required_limit_period",{validate:e=>Boolean(null===e||void 0===e?void 0:e.code),message:e=>n["a"].t("validation.required_limit_period",{text:e}).toString(),computesRequired:!0}),Object(a["c"])("valid_br_phone_number",{validate:e=>{const t=e.startsWith("+")?Object(p["b"])(e).replace(/[\s|-]/g,""):e;return new RegExp(/^[0-9]{11}$/g).test(t)},message:()=>n["a"].t("payments.phone_incorrect").toString()}),Object(a["c"])("valid_ru_phone_number",{validate:e=>e.startsWith("+7"),message:()=>n["a"].t("payments.phone_incorrect").toString()})},"2b03":function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"micro-app-support-container"},[t("micro-app-support",{ref:"mfCustomElement",attrs:{"site-name":e.siteName,theme:e.theme?`${e.siteName}-${e.theme}`:e.siteName,uuid:e.getPlayerUuid,"player-id":e.getPlayerId,"activator-enabled":!1,lang:e.getLangCode,"first-name":e.getFirstName,"last-name":e.getLastName,email:e.getEmail,ip:e.sessionIp,browser:e.sessionBrowser,os:e.sessionOs,country:e.getCountry,city:e.getCity,address:e.getAddress,"postal-code":e.getPostalCode,state:e.getState}}),e.displayActivator?t("div",{staticClass:"activator-button",on:{click:e.forceDisplayView}},[e._t("icon",(function(){return[t("icon",{attrs:{"icon-name":"headset",size:"size-20"}})]}))],2):e._e()],1)},n=[],a=i("1da1"),r=i("5530"),o=(i("ac1f"),i("5319"),i("5d2a")),c=i("e0c4"),d=i("ca47"),l=i("a026"),u={name:"support-micro-app",components:{icon:o["a"]},props:{siteName:{type:String,default:""},theme:{type:String,default:""},activatorEnabled:{type:Boolean,default:!1}},data(){return{supportViewVisible:!1}},computed:Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])({},Object(d["e"])("player",["getLangCode","getPlayerUuid","getPlayerId","getStatuses","isStaffUser","getFirstName","getLastName","getEmail","getCountry","getCity","getAddress","getPostalCode","getState"])),Object(d["e"])("modal",{hasOpenedModals:"hasOpened"})),Object(d["e"])("chat",["getAssets"])),Object(d["e"])("playerSessions",["getActiveSession"])),{},{sessionIp(){var e;return null===(e=this.getActiveSession)||void 0===e?void 0:e.ip},sessionBrowser(){var e;return null===(e=this.getActiveSession)||void 0===e?void 0:e.browser},sessionOs(){var e;return null===(e=this.getActiveSession)||void 0===e?void 0:e.os},displayActivator(){return this.activatorEnabled&&!this.supportViewVisible}}),mounted(){this.mountWidget(),window.addEventListener("chat-micro-app-unread",this.handleUnreadEvent),window.addEventListener("chat-micro-app-register",this.handleOpenRegister),window.addEventListener("chat-micro-app-hide",this.handleCloseView),this.$bus.on("chat-micro-app-open",this.forceDisplayView)},beforeDestroy(){window.dispatchEvent(new Event("chat-micro-app-destroy")),window.removeEventListener("chat-micro-app-unread",this.handleUnreadEvent),window.removeEventListener("chat-micro-app-register",this.handleOpenRegister),window.removeEventListener("chat-micro-app-hide",this.handleCloseView),this.$bus.off("chat-micro-app-open",this.forceDisplayView)},methods:Object(r["a"])(Object(r["a"])(Object(r["a"])({},Object(d["d"])("modal",{openModal:"open"})),Object(d["d"])("chat",["updateAssets","setUnreadBadge"])),{},{handleUnreadEvent(e){this.setUnreadBadge(e.detail.value)},handleCloseView(){this.supportViewVisible=!1},forceDisplayView(){this.$refs.mfCustomElement.setAttribute("force-show",!0),this.supportViewVisible=!0},handleOpenRegister(){const e={name:"registration",component:Object(l["defineAsyncComponent"])(()=>Promise.all([i.e("chunk-2045dfae"),i.e("chunk-8e522eca"),i.e("chunk-72f67ffc"),i.e("chunk-e6ddf7d4"),i.e("auth")]).then(i.bind(null,"8037")))};"legzo"===this.siteName&&(e.props={noScroll:!0},e.replace=!0),this.openModal(e)},mountWidget(){var e=this;return Object(a["a"])((function*(){var t,i;yield e.updateAssets(),e.jsLoadedSize=0,null===(t=e.getAssets.css)||void 0===t||t.forEach(e=>{const t=document.createElement("link");t.rel="stylesheet",t.href=c["b"]+e.replace(/^\//g,""),document.head.appendChild(t)}),null===(i=e.getAssets.js)||void 0===i||i.forEach(t=>{const i=document.createElement("script");i.src=c["b"]+t.replace(/^\//g,""),i.onload=()=>{var t;e.jsLoadedSize++,e.jsLoadedSize===(null===(t=e.getAssets)||void 0===t?void 0:t.js.length)&&window.dispatchEvent(new Event("chat-micro-app-loaded"))},document.head.appendChild(i)})}))()}})},h=u,_=(i("719f"),i("2877")),m=Object(_["a"])(h,s,n,!1,null,null,null);t["a"]=m.exports},3205:function(e,t,i){"use strict";var s=i("0ebc");i.d(t,"a",(function(){return s["b"]}));i("3fbc")},"346c":function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return e.showBlock?t("div",{staticClass:"seo-block",attrs:{id:"seo-block"},domProps:{innerHTML:e._s(e.content)}}):e._e()},n=[],a=i("5530"),r=(i("caad"),i("ac1f"),i("5319"),i("2ca0"),i("ca47")),o=i("7b2b"),c=i("13ea"),d=i.n(c),l={name:"seo-block",props:{alwaysShow:{type:Boolean,default:!1}},computed:Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])({},Object(r["e"])("seoText",{seoText:"getData"})),Object(r["e"])("player",["getLangCode"])),Object(r["e"])("cmsConfig",["getDomainMain"])),{},{formattedRoute(){const e=this.$route.path;return this.getLangCode?e.replace(this.getLangCode,"")||"/":e},isSeoTextEmpty(){return d()(this.seoText)},fullRouteMatchContent(){var e;const t=(null===(e=this.seoText)||void 0===e?void 0:e[this.formattedRoute])||{},i=t.type,s=t.content;return"url"===i?s:null},matchByRouteMaskContent(){for(const e in this.seoText){if(!this.seoText.hasOwnProperty(e))continue;const t=this.seoText[e],i=t.type,s=t.url,n=t.content;if("rule"===i&&this.formattedRoute.startsWith(s.replace(/\*/,"")))return n}return null},content(){return this.isSeoTextEmpty?null:this.fullRouteMatchContent||this.matchByRouteMaskContent},showBlock(){return this.content||this.alwaysShow}}),watch:{seoText(){var e;null!==(e=this.seoText)&&void 0!==e&&e["/"]||!this.getDomainMain||!["ru","en"].includes(this.getLangCode)||o["b"].sentry.captureNamedException({name:o["a"].Seo,message:"SEO text not found in root domain"})}}},u=l,h=(i("9622"),i("2877")),_=Object(h["a"])(u,s,n,!1,null,null,null);t["a"]=_.exports},"39cf":function(e,t,i){"use strict";i.r(t);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"game-currency-usd"},[e.showCloseBtn?t("div",{staticClass:"game-currency-usd__close",on:{click:e.close}},[t("icon",{staticClass:"game-currency-usd__close-ic",attrs:{"icon-name":e.iconClose}})],1):e._e(),t("div",{staticClass:"game-currency-usd__body"},[t("div",{staticClass:"game-currency-usd__img-wr"},[t("img",{staticClass:"game-currency-usd__img",attrs:{src:e.currencySrc,alt:e.currencyAlt}})]),t("div",{staticClass:"game-currency-usd__text"},[e._v(" "+e._s(e.$t("game_currency_usd.text"))+" ")])]),t("btn",e._b({staticClass:"game-currency-usd__btn",attrs:{btn8:"",radius:"","stop-propagation":""},on:{click:e.openBalance}},"btn",e.modalProps.changeBtnProps||{},!1),[e._v(" "+e._s(e.$t("change"))+" ")])],1)},n=[],a=i("5530"),r=i("ca47"),o=i("0594"),c=i("5d2a"),d=i("ccd5"),l=i("a026"),u={name:"game-currency-usd",components:{Btn:o["a"],Icon:c["a"]},props:{modalProps:{type:Object,default:()=>({changeBtnProps:{},iconCloseBtn:"close",showCloseBtnInMobile:!1})}},computed:Object(a["a"])(Object(a["a"])(Object(a["a"])({},Object(r["e"])("breakpoints",["isMobile"])),Object(r["e"])("currencies",["getCurrencies"])),{},{currencySrc(){var e;return null===(e=this.getCurrencies["USD"])||void 0===e?void 0:e.icon},currencyAlt(){var e;return null===(e=this.getCurrencies["USD"])||void 0===e?void 0:e.symbol},showCloseBtn(){return this.modalProps.showCloseBtnInMobile||!this.isMobile},iconClose(){return this.modalProps.iconCloseBtn||"close"}}),created(){this.$bus.on("close-game-currency-usd",this.close)},mounted(){d["d"].wasModalGameCurrencyUsdShown.set(!0)},beforeDestroy(){this.$bus.off("close-game-currency-usd",this.close)},methods:Object(a["a"])(Object(a["a"])(Object(a["a"])({},Object(r["d"])("modal",{openModal:"open",closeModal:"close",currentModal:"current"})),Object(r["d"])("playerAccounts",["setShowBalanceInGameCurrency"])),{},{openBalance(){var e,t;this.setShowBalanceInGameCurrency(!0),this.$bus.emit("toggle-converter",""),this.openModal({name:"balance",props:{noScroll:!0},component:Object(l["defineAsyncComponent"])(()=>Promise.all([i.e("chunk-2045dfae"),i.e("chunk-8e522eca"),i.e("chunk-3342b499"),i.e("chunk-72f67ffc"),i.e("deposit")]).then(i.bind(null,"1c12")))}),null===(e=(t=this.modalProps).resolve)||void 0===e||e.call(t,"open")},close(){var e,t,i;this.setShowBalanceInGameCurrency(!1),this.closeModal(this.currentModal),null===(e=(t=this.modalProps).resolve)||void 0===e||e.call(t,"close"),null!==(i=this.modalProps)&&void 0!==i&&i.toDeposit&&this.$bus.emit("show-deposit-modal")}})},h=u,_=(i("8e08"),i("2877")),m=Object(_["a"])(h,s,n,!1,null,null,null);t["default"]=m.exports},"3fbc":function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return _}));var s=i("3835"),n=(i("9861"),i("88a7"),i("271a"),i("5494"),i("9ab4")),a=i("10ea"),r=i("266f"),o=i("1dab"),c=i("ccd5");const d="https://fresh-notification.com/",l=d+"api/v1/subscribe/in-app",u=d+"api/v1/is-subscribed",h=e=>new URLSearchParams({firebase_project_id:e.projectId||c["d"].firebaseProjectId.get()||"",firebase_project_name:e.firebaseProjectName||c["d"].firebaseProjectName.get()||"",firebase_token:e.mobilePushToken||c["d"].firebaseToken.get()||"",locale:e.locale||"",mobile_type:e.isWebView||o["c"],platform:"mob",release_version:e.version||c["d"].webViewVersion.get()||"",user_uuid:e.uuid||""}).toString();class _{constructor(){_._instance||(_._instance=this)}static getInstance(){return _._instance}subscribeInApp(e,t){return Object(n["a"])(this,void 0,void 0,(function*(){const i={"Content-Type":"application/x-www-form-urlencoded"};t&&(i.Authorization="Bearer "+t);const n=yield Object(a["c"])({method:"post",url:l,body:h(e),headers:i}),r=Object(s["a"])(n,2),o=r[1];if(o)return o.data}))}makeSubscribeParams(e){var t,i;return new URLSearchParams({client_id:String((null===(i=null===(t=window.webDataApi)||void 0===t?void 0:t[0])||void 0===i?void 0:i.client_id)||null),goto:Object(r["b"])(),lang:String(e.langCode),session_id:String(window.statapi_session_id),user_id:String(e.userId||null),user_uuid:String(e.userUuid||null),token:String(e.token||null)}).toString()}makeSubscribeStatusParams(e){return{token:String(e.token),user_id:String(e.userId),user_uuid:String(e.userUuid)}}getSubscribeStatus(e){return Object(n["a"])(this,void 0,void 0,(function*(){const t={};e.token&&(t.Authorization="Bearer "+e.token);const i=yield Object(a["c"])({method:"get",url:u,params:this.makeSubscribeStatusParams(e),headers:t,withCredentials:!0}),n=Object(s["a"])(i,2),r=n[1];return r?r.data:{status:"not_subscribed"}}))}}},"572e":function(e,t,i){},"6c9e":function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.clickOutside,expression:"clickOutside"}],staticClass:"vue-tel-input",class:{"vue-tel-input--no-results":!e.isDropDownListVisible,disabled:e.disabled},attrs:{disabled:e.disabled}},[t("div",{class:["vti__dropdown",{open:e.open}],attrs:{tabindex:e.dropdownOptions&&e.dropdownOptions.tabindex?e.dropdownOptions.tabindex:0},on:{click:e.toggleDropdown}},[t("span",{staticClass:"vti__selection",attrs:{"data-test":e.dataTestVtiSelection}},[e.enabledFlags?[e.imageFlagInsteadOfBg?t("img",{staticClass:"vti__flag-img",attrs:{src:e.getImg(e.activeCountry.iso2),alt:e.activeCountry.iso2}}):t("div",{class:["vti__flag",e.activeCountry.iso2.toLowerCase()]})]:e._e(),e.enabledCountryCode?t("span",{staticClass:"vti__country-code"},[e._v(" "+e._s("+"+e.activeCountry.dialCode)+" ")]):e._e(),t("span",{staticClass:"vti__dropdown-arrow"},[e._v(" "+e._s(e.open?"▲":"▼")+" ")])],2),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isDropDownListVisible,expression:"isDropDownListVisible"}],ref:"list",staticClass:"vti__dropdown-list",class:e.dropdownOpenDirection,attrs:{"data-test":e.dataTestList}},e._l(e.sortedCountries,(function(i,s){return t("li",{key:i.iso2+(i.preferred?"-preferred":""),class:["vti__dropdown-item",e.getItemClass(s,i.iso2)],attrs:{name:i.name,index:s},on:{click:function(t){return e.choose(i)},mousemove:function(t){return e.mouseMove(s)}}},[e.enabledFlags?[e.imageFlagInsteadOfBg?t("img",{staticClass:"vti__flag-img",attrs:{src:e.getImg(i.iso2),alt:i.iso2}}):t("div",{class:["vti__flag",i.iso2.toLowerCase()]})]:e._e(),t("strong",[e._v(e._s(i.name))]),e.dropdownOptions.disabledDialCode?e._e():t("span",[e._v(e._s("+"+i.dialCode))])],2)})),0)]),e.open?t("input",{ref:"inputSearch",class:["vti__input",e.inputClasses],attrs:{type:"text","data-test":e.dataTestInput,placeholder:e.$t("phone_number_search")},domProps:{value:e.countryCodeSearch},on:{input:e.onInputSearch,keydown:e.keyboardNav}}):t("input",{directives:[{name:"model",rawName:"v-model",value:e.phone,expression:"phone"}],ref:"input",class:["vti__input",e.inputClasses],attrs:{id:e.inputId,type:"tel",autocomplete:e.autocomplete,autofocus:e.autofocus,disabled:e.disabled,maxlength:e.maxLen,name:e.name,placeholder:e.parsedPlaceholder,readonly:e.readonly,required:e.required,"data-test":e.dataTestInput,size:e.minSizeInput,tabindex:e.inputOptions&&e.inputOptions.tabindex?e.inputOptions.tabindex:0},domProps:{value:e.phone},on:{blur:e.onBlur,focus:e.onFocus,input:[function(t){t.target.composing||(e.phone=t.target.value)},e.onInput],keyup:e.keyUp}}),e.open&&e.showCloseButton?t("div",{staticClass:"vti__close",on:{click:e.toggleDropdown}},[e._v(" × ")]):e._e()])},n=[],a=i("1da1"),r=i("5530"),o=(i("d9e2"),i("4de4"),i("caad"),i("c975"),i("d81d"),i("4e82"),i("4d63"),i("c607"),i("ac1f"),i("00b4"),i("2532"),i("2ca0"),i("498a2"),i("bf19"),i("ca47")),c=i("6c84"),d=i("a689"),l=i.n(d);const u={allCountries:[],autocomplete:"on",autofocus:!1,customValidate:!1,defaultCountry:"",disabled:!1,disabledFetchingCountry:!1,dropdownDirectionAbove:!1,dropdownOptions:{},dynamicPlaceholder:!1,enabledCountryCode:!0,enabledFlags:!0,ignoredCountries:[],inputClasses:"",inputId:"",inputOptions:{},invalidMsg:"",maxLen:25,mode:"",name:"telephone",onlyCountries:[],placeholder:"Enter a phone number",preferredCountries:[],readonly:!1,required:!1,showCloseButton:!1,validCharactersOnly:!1,wrapperClasses:"",imageFlagInsteadOfBg:!1},h=/[`~!@#$%^&*()_|+\-=?№;:'",.×÷₽€£¥₩°•○●□■♤♡◇♧☆¡¿◾《》¤<>{}[\]\\/]/;var _={name:"phone-picker",directives:{},props:{value:{type:String,default:""},allCountries:{type:Array,default:u.allCountries},autocomplete:{type:String,default:u.autocomplete},autofocus:{type:Boolean,default:u.autofocus},customValidate:{type:[Boolean,RegExp],default:u.customValidate},defaultCountry:{type:String,default:u.defaultCountry},disabled:{type:Boolean,default:u.disabled},disabledFetchingCountry:{type:Boolean,default:u.disabledFetchingCountry},dropdownDirectionAbove:{type:Boolean,default:u.dropdownDirectionAbove},dropdownOptions:{type:Object,default(){return u.dropdownOptions}},dynamicPlaceholder:{type:Boolean,default:u.dynamicPlaceholder},enabledCountryCode:{type:Boolean,default:u.enabledCountryCode},enabledFlags:{type:Boolean,default:u.enabledFlags},ignoredCountries:{type:Array,default(){return u.ignoredCountries}},inputClasses:{type:[String,Array,Object],default:u.inputClasses},inputId:{type:String,default:u.inputId},inputOptions:{type:Object,default(){return u.inputOptions}},invalidMsg:{type:String,default:u.invalidMsg},maxLen:{type:Number,default:u.maxLen},name:{type:String,default:u.name},mode:{type:String,default:u.mode},onlyCountries:{type:Array,default:()=>u.onlyCountries},placeholder:{type:String,default:u.placeholder},preferredCountries:{type:Array,default:()=>u.preferredCountries},readonly:{type:Boolean,default:u.readonly},required:{type:Boolean,default:u.required},showCloseButton:{type:Boolean,default:u.showCloseButton},validCharactersOnly:{type:Boolean,default:u.validCharactersOnly},wrapperClasses:{type:[String,Array,Object],default:u.wrapperClasses},imageFlagInsteadOfBg:{type:Boolean,default:u.imageFlagInsteadOfBg},dataTestList:{type:String,default:void 0},dataTestVtiSelection:{type:String,default:void 0},dataTestInput:{type:String,default:void 0},minSizeInput:{type:Number,default:void 0}},data(){return{phone:"",activeCountry:{iso2:""},open:!1,finishMounted:!1,selectedIndex:null,typeToFindInput:"",typeToFindTimer:null,cursorPosition:0,dropdownOpenDirection:"below",countryCodeSearch:""}},computed:Object(r["a"])(Object(r["a"])({},Object(o["e"])("globalCountries",["getCountriesKeyBy"])),{},{isDropDownListVisible(){return this.open&&this.sortedCountries.length},parsedPlaceholder(){return this.placeholder},parsedMode(){if(this.customValidate)return"input";if(this.mode){if(["international","national"].includes(this.mode))return this.mode;console.error('Invalid value of prop "mode"')}return this.phone&&"+"===this.phone[0]?"international":"national"},filteredCountries(){return this.onlyCountries.length?this.allCountries.filter(e=>this.onlyCountries.some(t=>t.toUpperCase()===e.iso2)):this.ignoredCountries.length?this.allCountries.filter(e=>{const t=e.iso2;return!this.ignoredCountries.includes(t.toUpperCase())&&!this.ignoredCountries.includes(t.toLowerCase())}):this.allCountries},sortedCountries(){const e=this.getCountries(this.preferredCountries).map(e=>Object(r["a"])(Object(r["a"])({},e),{},{preferred:!0})),t=this.filteredCountries.filter(e=>!this.preferredCountries.includes(e.iso2.toLowerCase())),i=[...e,...t],s=this.countryCodeSearch.trim().toLowerCase();let n="name";return s?(isNaN(s)||(n="dialCode"),this.filterList(i,n,s)):i},phoneObject(){const e=l()(this.phone,this.activeCountry.iso2).toJSON();return Object.assign(e,{isValid:e.valid,country:this.activeCountry}),e},phoneText(){let e="input";return this.phoneObject.valid&&(e=this.parsedMode),this.phoneObject.number[e]||""}}),watch:{"phoneObject.valid"(e){e&&(this.phone=this.phoneText),this.$emit("validate",this.phoneObject)},value(){this.phone=this.value},open(e){e?(this.setDropdownPosition(),this.setFocusOnSearch(),this.cleanSearch(),this.$emit("open")):this.$emit("close")},phone(e,t){if(!this.$refs.input)return;const i=this.validCharactersOnly&&!this.testCharacters(),s=this.customValidate&&!this.testCustomValidate(),n=e&&!e.includes("+"),a=this.validCharactersOnly&&c["d"].includes("3");if(a&&n)this.$nextTick(()=>{this.phone="+"+e});else{if(i||s)this.$nextTick(()=>{this.phone=t});else if(e&&"+"===e[0]){const t=l()(e).getRegionCode();t&&(this.activeCountry=this.findCountry(t)||this.activeCountry)}this.cursorPosition{this.setCaretPosition(this.$refs.input,this.cursorPosition)})}},activeCountry(e){e&&e.iso2&&this.$emit("country-changed",e)}},mounted(){this.initializeCountry().then(()=>{!this.phone&&this.inputOptions&&this.inputOptions.showDialCode&&this.activeCountry.dialCode&&(this.phone="+"+this.activeCountry.dialCode),this.$emit("validate",this.phoneObject)}).catch(console.error).then(()=>{this.finishMounted=!0})},created(){this.value&&(this.phone=this.value.trim())},methods:{setCaretPosition(e,t){const i=t+1;if(null!==e&&void 0!==e&&e.setSelectionRange)return e.focus(),void e.setSelectionRange(i,i);if(null!==e&&void 0!==e&&e.createTextRange){const t=e.createTextRange();t.collapse(!0),t.moveEnd("character",i),t.moveStart("character",i),t.select()}},initializeCountry(){return new Promise(e=>{if(this.phone&&"+"===this.phone[0]){const t=l()(this.phone).getRegionCode();if(t)return this.choose(t),void e()}if(this.defaultCountry){const t=this.findCountry(this.defaultCountry);if(t)return this.choose(t),void e()}const t=this.findCountry(this.preferredCountries[0])||this.filteredCountries[0];this.disabledFetchingCountry?(this.choose(t),e()):this.getCountry().then(e=>{this.activeCountry=this.findCountry(e)||this.activeCountry}).catch(e=>{console.warn(e),this.choose(t)}).then(()=>{e()})})},getCountries(){const e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>this.findCountry(e)).filter(Boolean)},findCountry(){const e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.filteredCountries.find(t=>t.iso2===e.toUpperCase())},getItemClass(e,t){const i=this.selectedIndex===e,s=e===this.preferredCountries.length-1,n=this.preferredCountries.some(e=>e.toUpperCase()===t);return{highlighted:i,"last-preferred":s,preferred:n}},choose(e){const t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];let i=e;"string"===typeof i&&(i=this.findCountry(i)),i&&(this.activeCountry=i||this.activeCountry||{},this.phone&&"+"===this.phone[0]&&this.activeCountry.iso2&&this.phoneObject.number.national?this.phone=l()(this.phoneObject.number.national,this.activeCountry.iso2).getNumber("international"):this.inputOptions&&this.inputOptions.showDialCode&&i&&(this.phone="+".concat(i.dialCode)),t&&this.$emit("input",this.phoneText,this.phoneObject))},testCharacters(){const e=/^[()\-+0-9\s]*$/;return e.test(this.phone)},testCustomValidate(){return this.customValidate instanceof RegExp&&this.customValidate.test(this.phone)},onInput(e){this.validCharactersOnly&&!this.testCharacters()||this.customValidate&&!this.testCustomValidate()||(this.$refs.input.setCustomValidity(this.phoneObject.valid?"":this.invalidMsg),this.$emit("input",this.phoneText,this.phoneObject),e&&e.target&&(this.cursorPosition=e.target.selectionStart,this.phone=e.target.value))},onBlur(){this.$emit("blur")},onFocus(e){this.$emit("focus",e)},onEnter(){this.$emit("enter")},onSpace(){this.$emit("space")},focus(){this.$refs.input.focus()},toggleDropdown(e,t){this.disabled||(this.scrollTo(),this.open=!t&&!this.open)},keyboardNav(e){if(27===e.keyCode)this.reset();else if(40===e.keyCode){e.preventDefault(),this.open=!0,null===this.selectedIndex?this.selectedIndex=0:this.selectedIndex=Math.min(this.sortedCountries.length-1,this.selectedIndex+1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop+t.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight&&(this.$refs.list.scrollTop=t.offsetTop-this.$refs.list.clientHeight+t.clientHeight)}else if(38===e.keyCode){e.preventDefault(),this.open=!0,null===this.selectedIndex?this.selectedIndex=this.sortedCountries.length-1:this.selectedIndex=Math.max(0,this.selectedIndex-1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTope.iso2).indexOf(this.activeCountry.iso2),this.open=!1},setDropdownPosition(){if(this.dropdownDirectionAbove)return void(this.dropdownOpenDirection="above");const e=window.innerHeight-this.$el.getBoundingClientRect().bottom,t=e>200;this.dropdownOpenDirection=t?"below":"above"},getCountry(){return fetch("https://ip2c.org/s").then(e=>e.text()).then(e=>{const t=(e||"").toString();if(!t||"1"!==t[0])throw new Error("unable to fetch the country");return t.substr(2,2)})},mouseMove(e){this.selectedIndex=e},keyUp(e){13===e.keyCode&&this.onEnter(e),32===e.keyCode&&this.onSpace(e)},filterList(e,t,i){return e.filter(e=>{var s;return null===(s=e[t])||void 0===s?void 0:s.toLowerCase().includes(i)}).sort((e,s)=>{const n=e[t].toLowerCase().startsWith(i);return n&&s[t].toLowerCase().startsWith(i)?e[t]>s[t]?1:-1:n?-1:1})},onInputSearch(e){var t,i,s;this.checkSymbol(null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value)?e.target.value=this.countryCodeSearch:(this.selectedIndex=0,null===(i=this.$refs.list)||void 0===i||null===(s=i.querySelector(".vti__dropdown-item"))||void 0===s||s.scrollIntoView({block:"nearest"}),this.countryCodeSearch=e.target.value)},scrollTo(){var e=this;return Object(a["a"])((function*(){var t;const i=null===(t=e.$refs.list)||void 0===t?void 0:t.querySelector(`.vti__dropdown-item[name="${e.activeCountry.name}"`);yield e.$nextTick(),e.selectedIndex=parseInt(null===i||void 0===i?void 0:i.getAttribute("index")),null===i||void 0===i||i.scrollIntoView({block:"center"})}))()},clickOutside(e){this.toggleDropdown(e,!0)},setFocusOnSearch(){var e=this;return Object(a["a"])((function*(){var t;yield e.$nextTick(),null===(t=e.$refs.inputSearch)||void 0===t||t.focus()}))()},cleanSearch(){this.countryCodeSearch=""},checkSymbol(e){var t;return h.test(e)||""===(null===(t=e[0])||void 0===t?void 0:t.trim())},getImg(e){var t;return null===(t=this.getCountriesKeyBy[e.toUpperCase()])||void 0===t?void 0:t.img}}},m=_,g=(i("c2ec"),i("2877")),p=Object(g["a"])(m,s,n,!1,null,null,null);t["a"]=p.exports},"72d3":function(e,t,i){"use strict";i("d9e2"),i("caad"),i("14d9"),i("13d5"),i("ac1f"),i("2532"),i("5319");var s=i("a89c"),n=i("b8bd"),a=i.n(n),r=i("9b02"),o=i.n(r),c=i("7b2b");class d{constructor({vue:e}){this._config={},this._userId=0,this._countSuccessConnections=0,this._disconnectTimestamp=0,this._resolvedHandler={},this._vue=e}init(e){if(this._config=e,!this._instance)return this._instance=this.createInstance(e),void this._setEvents();this._instance.configure(e)}getInstance(){return this._instance}createInstance(e){return new a.a(e)}disconnect(){return new Promise(e=>{this._instance?(this._instance.once("disconnect",()=>{e()}),this._instance.disconnect()):e()})}connect(){return new Promise((e,t)=>{if(this._instance)return this._instance.once("connect",()=>{e()}),void this._instance.connect();t(new Error("Centrifuge instance is null"))})}isConnected(){return!!this._instance&&this._instance._isConnected()}isConnecting(){return!!this._instance&&this._instance._isConnecting()}isDisconnected(){return!!this._instance&&this._instance._isDisconnected()}setSentryTimeout(e,t){this._resolvedHandler[e]=t}deleteSentryTimeout(e){e&&this._resolvedHandler[e]&&(clearTimeout(this._resolvedHandler[e]),delete this._resolvedHandler[e])}subscribe(e,t,i=!1,s=!1){if(i&&!o()(this._config,"user"))return;const n=this._instance.subscribe(this._prepareChannel(e),t);return s&&n.on("message",t=>{var i,s;(null===(s=null===(i=null===t||void 0===t?void 0:t.data)||void 0===i?void 0:i.payload)||void 0===s?void 0:s.payment_id)&&this.setSentryTimeout(t.data.payload.payment_id,setTimeout(()=>{c["b"].sentry.addBreadcrumb({category:c["a"].Payment,message:"Channel: "+e,data:t}),c["b"].sentry.captureNamedException({name:c["a"].Payment,message:`VUE: ${e} didn't processed `}),this.deleteSentryTimeout(t.data.payload.payment_id)},1e4))}),this._sentrySubscriptionLogging(n),n}getSubscription(e){if(this._instance)return e=this._prepareChannel(e),this._instance._getSub(e)}detectPureConnection(){return this.isConnected()?this._pureConnectionEstablishedHandler():this._pureNoConnectionHandler()}setShortPingPongInterval(){this.init(Object.assign(Object.assign({},this._config),{pingInterval:s["g"],pongWaitTimeout:s["i"]}))}unsetShortPingPongInterval(){this.init(Object.assign(Object.assign({},this._config),{pingInterval:s["f"],pongWaitTimeout:s["h"]}))}unsubscribe(e,t,i=!1){const s=this.getSubscription(e);s&&(s.off("message",t),s.unsubscribe(),i&&delete this._instance._subs[e])}setUserId(e){this._userId=e}_pureConnectionEstablishedHandler(){const e=this.getSubscription(s["d"].PAYMENT_ACTIONS);if(!e)return c["b"].sentry.addBreadcrumb({category:c["a"].Centrifuge,message:"Update subscriptions"}),this._vue.prototype.$bus.emit("centrifuge-resubscribe"),!1;const t=s["l"][e._status];return(t===s["m"]||t===s["n"])&&(c["b"].sentry.addBreadcrumb({category:c["a"].Centrifuge,message:"Payments channel resubscribe"}),e.subscribe(),!0)}_pureNoConnectionHandler(){if(c["b"].sentry.addBreadcrumb({category:c["a"].Centrifuge,message:"Count success connections",data:{count:this._countSuccessConnections}}),0===this._countSuccessConnections)return!0;if(Date.now()-this._disconnectTimestamp>s["e"]){const e={message:"Connection wait limit exceeded since last disconnect",data:{time:Date.now()-this._disconnectTimestamp}};return c["b"].sentry.addBreadcrumb(Object.assign({category:c["a"].Centrifuge},e)),c["b"].sentry.setContext({name:c["a"].Centrifuge,context:e}),!0}return!1}_prepareChannel(e){return e.replace("{user_id}",this._userId.toString())}_sentrySubscriptionLogging(e){s["k"].forEach(t=>{e.on(t,e=>{this._sentryAddSubscriptionBreadcrumb(t,e)})})}_sentryAddSubscriptionBreadcrumb(e,t){const i=o()(t,"channel",""),n=this._prepareChannel(s["d"].PAYMENT_ACTIONS);i===n&&c["b"].sentry.addBreadcrumb({category:c["a"].Centrifuge,message:"Centrifuge subscription "+e,data:{context:t}})}_setEvents(){this._instance.on("connect",e=>{c["b"].sentry.addBreadcrumb({category:c["a"].Centrifuge,message:"Centrifuge connect: "+String(e)}),c["b"].sentry.setContext({name:c["a"].Centrifuge,context:e}),this._countSuccessConnections++}),this._instance.on("disconnect",e=>{this._disconnectTimestamp=Date.now(),c["b"].sentry.addBreadcrumb({category:c["a"].Centrifuge,message:"Centrifuge disconnect",data:{context:e},level:"error"}),c["b"].sentry.setContext({name:c["a"].Centrifuge,context:e})}),this._instance.on("cleared_subscriptions",e=>{c["b"].sentry.addBreadcrumb({category:c["a"].Centrifuge,message:"Centrifuge cleared subscriptions",data:{context:e},level:"error"}),c["b"].sentry.setContext({name:c["a"].Centrifuge,context:e})}),this._instance.on("error",e=>{c["b"].sentry.addBreadcrumb({category:c["a"].Centrifuge,message:"Centrifuge error",data:{context:e},level:"error"}),c["b"].sentry.setContext({name:c["a"].Centrifuge,context:e})}),this._instance.on("on-change-centrifuge-status",e=>{this._vue.prototype.$bus.emit("on-change-centrifuge-status",e)})}getActiveChannels(e){const t=this._instance._subs,i=Object.keys(t);return i.reduce((i,n)=>{const a=n.includes(e),r=t[n]._status===s["c"];return a&&r&&i.push(n),i},[])}}t["a"]={install(e){e.prototype.$centrifuge=new d({vue:e})}}},"964c":function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return e.currentTime?t("div",{staticClass:"current-local-time",attrs:{"data-test":"quick-bar__local-time"}},[e.showTitleAbove?t("p",{staticClass:"current-local-time__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),t("span",{staticClass:"current-local-time__count"},[e._v(" "+e._s(e.currentTime)+" ")]),e.showTitleAbove?e._e():t("p",{staticClass:"current-local-time__title"},[e._v(" "+e._s(e.title)+" ")])]):e._e()},n=[],a=i("5530"),r=i("ca47"),o=i("4ec6"),c={name:"current-local-time",props:{title:{type:String,required:!0},format:{type:String,default:"HH:mm:ss"},intervalInMs:{type:Number,default:1e3},showTitleAbove:{type:Boolean,default:!0}},data(){return{currentTime:""}},computed:Object(a["a"])(Object(a["a"])(Object(a["a"])({},Object(r["e"])("player",["getTimezone"])),Object(r["e"])("globalTimezones",["getTimezoneOffsetObjectCodeData"])),{},{calculatedOffset(){var e,t;return null!==(e=null!==(t=this.getTimezoneOffsetObjectCodeData[this.getTimezone])&&void 0!==t?t:Object(o["b"])())&&void 0!==e?e:0}}),created(){this.getTime(),this.timer=setInterval(this.getTime,this.intervalInMs)},beforeDestroy(){clearInterval(this.timer)},methods:{getTime(){this.currentTime=this.$moment().utcOffset(this.calculatedOffset).format(this.format)}}},d=c,l=(i("a264"),i("2877")),u=Object(l["a"])(d,s,n,!1,null,null,null);t["a"]=u.exports},9725:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var s=i("ccd5");function n(){return e=>{a(e)}}const a=e=>{e.subscribe(({type:e,payload:t})=>{var i;if("player/setData"===e&&t){const e=t.id||(null===(i=t.player)||void 0===i?void 0:i.id);if(!e)return;s["d"].userId.set(e.toString(),{expires:7})}})}},abb7:function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return e.getIsInitialBatchLoaded?t("div",{staticClass:"main-footer__animate-element main-footer__license"},[e.showLicense?t("div",{staticClass:"main-footer__license-img-wr",attrs:{id:"footer-license"},on:{click:e.addGTMEvent}},[e.showScriptedLogo?e.isCarrer?t("div",{ref:"license",staticClass:"main-footer__license-img"},[t("a",{attrs:{id:"validatorlink","data-domain":e.hostname,href:e.validatorLink,target:"_blank"}},[t("img",{attrs:{id:"validatorimg","data-domain":e.hostname,src:e.validatorImglink,alt:"validator",width:"128"}})])]):t("div",{ref:"license",staticClass:"main-footer__license-img",attrs:{id:"apg-"+e.apgSealId,"data-apg-seal-id":e.apgSealId,"data-test":"main-footer-license","data-apg-image-size":"128","data-apg-image-type":"basic-small"}}):t("div",{staticClass:"main-footer__license-img",attrs:{id:"license-img"}},[t("div",{staticClass:"modal-licence-wrapper"},[t("a",{class:["modal-licence",{"modal-licence--disabled":e.getDomainWebView}],attrs:{href:"/#licence"},on:{click:function(t){return t.preventDefault(),e.showLicenseModal.apply(null,arguments)}}},[t("img",{staticClass:"modal-licence__img",attrs:{alt:"validator",src:e.licenseImg}})])])])]):e._e(),t("div",{staticClass:"main-footer__license-text",class:{"main-footer__license-text-vertical-line":!e.isFromAustralia},domProps:{innerHTML:e._s(e.licenceText)}})]):e._e()},n=[],a=i("1da1"),r=i("5530"),o=(i("ac1f"),i("5319"),i("ca47")),c=i("a026"),d=i("1250"),l={name:"license-logo",props:{isCarrer:{type:Boolean,default:!1},showLicenseLogo:{type:Boolean,default:!0},isDarkLicenseLogo:{type:Boolean,default:!1}},computed:Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])({},Object(o["e"])("batches",["getIsInitialBatchLoaded"])),Object(o["e"])("breakpoints",["isMobile"])),Object(o["e"])("cmsConfig",["showSpecialLicence","getDomainMain","getDomainInfo","getDomainWebView","getIsWithLicense"])),Object(o["e"])("player",["getCountry","getCountryCode"])),{},{licenseImg(){return d["e"]?d["c"]:this.isDarkLicenseLogo?"/img/license-dark.png":"/img/license.png"},apgSealId(){var e,t;return(null===(e=this.getDomainInfo)||void 0===e||null===(t=e.settings)||void 0===t?void 0:t.licenceId)||"5aa8574f-8a58-46ba-b1df-0dd57ec93f85"},licenceText(){return this.showSpecialLicence?this.$t("main_footer.license_text_special"):this.getDomainMain?this.$t("main_footer.license_text_root"):this.$t("main_footer.license_text")},showScriptedLogo(){return this.getIsWithLicense&&(!this.getDomainWebView||this.getDomainWebView&&!this.isMobile)},hostname(){var e,t;const i=null===(e=this.getDomainInfo)||void 0===e||null===(t=e.settings)||void 0===t?void 0:t.licenceDomain;return"string"===typeof i?i:i?window.location.hostname:"fresh.casino"},showLicense(){return this.showLicenseLogo&&!this.isFromAustralia},isFromAustralia(){return"AU"===this.getCountry||"AU"===this.getCountryCode},validatorLink(){return d["e"]?`${d["d"]}${this.gcbSubLicenseToken}`:`${d["b"]}${this.hostname}`},validatorImglink(){return d["e"]?d["c"]:`${d["a"]}${this.hostname}`},gcbSubLicenseToken(){var e,t;return(null===(e=this.getDomainInfo)||void 0===e||null===(t=e.settings)||void 0===t?void 0:t.subLicenceGcbToken)||Object({VUE_APP_VERSION_ID:"419662",VUE_APP_NO_LOCAL_BATCH:"true",VUE_APP_CI_COMMIT_SHORT_SHA:"681166d1",NODE_ENV:"production",VUE_APP_IS_PRERENDER:"false",VUE_APP_INDEX:"3",VUE_APP_ID:"fresh",VUE_APP_HOST:"fresh.casino",VUE_APP_TITLE:"Казино Фреш (Fresh Casino) - игровые автоматы играть на официальном сайте",VUE_APP_KEYWORDS:"",VUE_APP_DESCRIPTION:"Интернет казино Fresh Casino это ассортимент игровых автоматов и слотов на любой вкус, в которые можно играть на официальном сайте казино Фреш на реальные деньги",VUE_APP_IMG_DIR:"/img/",VUE_APP_ICONS_DIR:"/img/icons/",VUE_APP_PLAYER_DEFAULT_CURRENCY:"RUB",VUE_APP_PLAYER_DEFAULT_COUNTRY:"ru",VUE_APP_PLAYER_DEFAULT_TIMEZONE:"ru",VUE_APP_PLAYER_DEFAULT_LANGUAGE:"ru",VUE_APP_PLAYER_ALTERNATE_LANGUAGE:"en",VUE_APP_BASE_URL:"/",VUE_APP_BATCH_URL:"batch",VUE_APP_MIRROR:"/",VUE_APP_REDIRECTOR:"https://iuhh.gerferor.com/imhgf/?jsonp=kanyf73kjd",VUE_APP_API_TIMEOUT:"180000",VUE_APP_QUERY_ATTEMPTS:"3",VUE_APP_DISABLE_REGISTRATION_REDIRECT:"false",VUE_APP_DISABLE_NOTIFICATIONS:"false",VUE_APP_DISABLE_PRELOADER:"false",VUE_APP_LIVECHAT_ID_EN:"8719586",VUE_APP_LIVECHAT_GROUP_EN:"10",VUE_APP_LIVECHAT_GROUP_EN_VIP:"26",VUE_APP_LIVECHAT_GROUP_EN_CANDIDATE:"204",VUE_APP_LIVECHAT_ID_DE:"8719586",VUE_APP_LIVECHAT_GROUP_DE:"82",VUE_APP_LIVECHAT_GROUP_DE_VIP:"83",VUE_APP_LIVECHAT_GROUP_DE_CANDIDATE:"204",VUE_APP_LIVECHAT_ID_FR:"8719586",VUE_APP_LIVECHAT_GROUP_FR:"85",VUE_APP_LIVECHAT_GROUP_FR_VIP:"26",VUE_APP_LIVECHAT_GROUP_FR_CANDIDATE:"204",VUE_APP_LIVECHAT_ID_FI:"8719586",VUE_APP_LIVECHAT_GROUP_FI:"10",VUE_APP_LIVECHAT_GROUP_FI_VIP:"26",VUE_APP_LIVECHAT_GROUP_FI_CANDIDATE:"204",VUE_APP_LIVECHAT_ID_ES:"8719586",VUE_APP_LIVECHAT_GROUP_ES:"91",VUE_APP_LIVECHAT_GROUP_ES_VIP:"26",VUE_APP_LIVECHAT_GROUP_ES_CANDIDATE:"204",VUE_APP_LIVECHAT_ID_PT:"8719586",VUE_APP_LIVECHAT_GROUP_PT:"94",VUE_APP_LIVECHAT_GROUP_PT_VIP:"95",VUE_APP_LIVECHAT_GROUP_PT_CANDIDATE:"204",VUE_APP_LIVECHAT_ID_JA:"8719586",VUE_APP_LIVECHAT_GROUP_JA:"205",VUE_APP_LIVECHAT_GROUP_JA_VIP:"206",VUE_APP_LIVECHAT_GROUP_JA_CANDIDATE:"204",VUE_APP_LIVECHAT_ID_RU:"8719586",VUE_APP_LIVECHAT_GROUP_RU:"4",VUE_APP_LIVECHAT_GROUP_RU_VIP:"21",VUE_APP_LIVECHAT_GROUP_RU_CANDIDATE:"170",VUE_APP_LIVECHAT_ID_KZ:"8719586",VUE_APP_LIVECHAT_GROUP_KZ:"4",VUE_APP_LIVECHAT_GROUP_KZ_VIP:"21",VUE_APP_LIVECHAT_GROUP_KZ_CANDIDATE:"170",VUE_APP_LIVECHAT_ID_UA:"8719586",VUE_APP_LIVECHAT_GROUP_UA:"4",VUE_APP_LIVECHAT_GROUP_UA_PREMIUM:"12",VUE_APP_LIVECHAT_GROUP_UA_VIP:"21",VUE_APP_LIVECHAT_GROUP_UA_CANDIDATE:"170",VUE_APP_LIVECHAT_ID_HI:"8719586",VUE_APP_LIVECHAT_GROUP_HI:"277",VUE_APP_LIVECHAT_GROUP_HI_VIP:"278",VUE_APP_LIVECHAT_GROUP_HI_CANDIDATE:"279",VUE_APP_LIVECHAT_ID_JP:"8719586",VUE_APP_LIVECHAT_GROUP_JP:"205",VUE_APP_LIVECHAT_GROUP_JP_VIP:"206",VUE_APP_LIVECHAT_GROUP_JP_CANDIDATE:"204",VUE_APP_LIVECHAT_STATUS_VIP:"VIP_SEGMENT",VUE_APP_LIVECHAT_STATUS_CANDIDATE:"CANDIDATE",VUE_APP_SUPPORT_MICRO_URL:"/chat/",VUE_APP_SERVICE_WORKER_ENABLED:"false",VUE_APP_PWA_ENABLED:"true",VUE_APP_ENABLE_LOCALSTORAGE_AUTH_FLAG:"false",VUE_APP_BETBY_BRAND_ID:"1895447167586410496",VUE_APP_BETBY_SCRIPT_URL:"https://freshcasino.sptpub.com/bt-renderer.min.js",VUE_APP_BETBY_THEME:"fresh-casino-light",VUE_APP_BETBY_THEME_LIGHT:"fresh-casino-light",VUE_APP_BETBY_THEME_DARK:"fresh-casino-dark",VUE_APP_PUSH_URL:"https://fresh-notification.com/",VUE_APP_ANALYTICS_URL:"https://fresh.st-analytics.work/",VUE_APP_SENTRY_DSN:"https://fff92c3d481d44dabcc4992d068f5e46@sentry.firmare.cc/6",VUE_APP_SENTRY_LOG_LEVEL:"1",VUE_APP_SENTRY_MAX_BREADCRUMBS:"50",VUE_APP_SENTRY_TRACES_SAMPLE_RATE:"1.0",VUE_APP_SENTRY_SAMPLE_RATE:"1",VUE_APP_IOS_FTP_PAYMENT_REDIRECT:"ftp://51.77.212.34",VUE_APP_APG_SEAL:"5aa8574f-8a58-46ba-b1df-0dd57ec93f85",VUE_APP_MESSENGER_MICRO_URL:"/messenger/",VUE_APP_UNIWEBVIEW_PROJECT_NAME:"fresh",VUE_APP_DEFAULT_DOMAIN_LICENSE:"fresh.casino",VUE_APP_DIGITAIN_SPORT_PARTNER:"f53b4ea9-f087-470e-bec5-50dc971e125b",VUE_APP_DIGITAIN_URL:"https://sport.fresh.dgtnsptpub.com/",BASE_URL:"/"}).VUE_APP_SUBLICENSE_GCB_TOKEN}}),watch:{getIsInitialBatchLoaded(e){e&&this.mountLicence()},getIsWithLicense(){this.mountLicence()},apgSealId(){this.mountLicence()}},mounted(){this.mountLicence()},methods:Object(r["a"])(Object(r["a"])({},Object(o["d"])("modal",{openModal:"open"})),{},{mountLicence(){var e=this;return Object(a["a"])((function*(){if(yield e.$nextTick(),!e.showScriptedLogo||!e.getIsInitialBatchLoaded||e.isCarrer)return;const t=document.createElement("script");t.type="text/javascript",t.async=!1,t.src=`https://${e.apgSealId}.snippet.antillephone.com/apg-seal.js`,t.onload=()=>{try{window["apg_"+e.apgSealId.replace(/-/g,"_")].init()}catch(t){console.debug(t)}},document.head.appendChild(t)}))()},addGTMEvent(){if(this.getDomainWebView)return!1;this.$analytics.clickEvent({button:this.GTM_ELEMENTS.footer.license})},showLicenseModal(){if(this.getDomainWebView)return!1;this.openModal({name:"licence",props:{},component:Object(c["defineAsyncComponent"])(()=>i.e("licence").then(i.bind(null,"70a6")))})}})},u=l,h=i("2877"),_=Object(h["a"])(u,s,n,!1,null,null,null);t["a"]=_.exports},b8bd:function(e,t,i){(function(t){i("d9e2"),i("c975"),i("baa5"),i("14d9"),i("fb6a"),i("e9c4"),i("ac1f"),i("5319");var s=i("e0ef");let n=null;function a(e,t){return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,t.prototype}function r(e,t){try{return e[t]}catch(i){return}}function o(e,t,i){for(var s=t||{},n=2,a=arguments.length;ni&&(n=i),Math.floor((1-s)*n)}function p(e){return"error"in e&&null!==e.error&&""!==e.error}function b(e){this._sockJS=null,this._isSockJS=!1,this._status="disconnected",this._reconnect=!0,this._reconnecting=!1,this._transport=null,this._transportName=null,this._transportClosed=!0,this._messageId=0,this._clientID=null,this._subs={},this._lastMessageID={},this._messages=[],this._isBatching=!1,this._isAuthBatching=!1,this._authChannels={},this._numRefreshFailed=0,this._refreshTimeout=null,this._pingInterval=null,this._pongTimeout=null,this._retries=0,this._callbacks={},this._latency=null,this._latencyStart=null,this._config={sockJS:null,retry:1e3,maxRetry:2e4,timeout:5e3,info:"",resubscribe:!0,ping:!0,pingInterval:3e4,pongWaitTimeout:5e3,debug:!1,insecure:!1,server:null,privateChannelPrefix:"$",onTransportClose:null,transports:["websocket","xdr-streaming","xhr-streaming","eventsource","iframe-eventsource","iframe-htmlfile","xdr-polling","xhr-polling","iframe-xhr-polling","jsonp-polling"],onRefresh:null,refreshEndpoint:"/centrifuge/refresh/",refreshHeaders:{},refreshParams:{},refreshData:{},refreshTransport:"ajax",refreshAttempts:null,refreshInterval:3e3,refreshFailed:null,onPrivateChannelAuth:null,authEndpoint:"/centrifuge/auth/",authHeaders:{},authParams:{},authTransport:"ajax"},e&&this.configure(e)}Object.create||(Object.create=function(){var e=function(){};return function(t){if(1!==arguments.length)throw new Error("Object.create implementation only accepts one parameter.");return e.prototype=t,new e}}()),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){if(!this)throw new TypeError('Array.prototype.indexOf() - can not convert "'+this+'" to object');var i=isFinite(t)?Math.floor(t):0,s=this instanceof Object?this:new Object(this),n=isFinite(s.length)?Math.floor(s.length):0;if(i>=n)return-1;if(i<0&&(i=Math.max(n+i,0)),void 0===e){do{if(i in s&&void 0===s[i])return i}while(++i0&&this._log("Only AJAX request allows to send custom headers, it is not possible with JSONP."),this._debug("sending JSONP request to",e);var r="centrifuge_jsonp_"+b._nextJSONPCallbackID.toString();b._nextJSONPCallbackID++;var o=t.document,c=o.createElement("script"),d=setTimeout((function(){b._jsonpCallbacks[r]=function(){},a(!0,"timeout")}),3e3);b._jsonpCallbacks[r]=function(e){clearTimeout(d),a(!1,e),delete b._jsonpCallbacks[r]};var l="";for(var u in i)i.hasOwnProperty(u)&&(l.length>0&&(l+="&"),l+=encodeURIComponent(u)+"="+encodeURIComponent(i[u]));var h="Centrifuge._jsonpCallbacks['"+r+"']";c.src=this._config.authEndpoint+"?callback="+encodeURIComponent(h)+"&data="+encodeURIComponent(JSON.stringify(n))+"&"+l;var _=o.getElementsByTagName("head")[0]||o.documentElement;_.insertBefore(c,_.firstChild)},f._ajax=function(e,i,s,n,a){var r=this;r._debug("sending AJAX request to",e);var o=t.XMLHttpRequest?new t.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),c="";for(var d in i)i.hasOwnProperty(d)&&(c.length>0&&(c+="&"),c+=encodeURIComponent(d)+"="+encodeURIComponent(i[d]));for(var l in c.length>0&&(c="?"+c),o.open("POST",e+c,!0),"withCredentials"in o&&(o.withCredentials=!0),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.setRequestHeader("Content-Type","application/json"),s)s.hasOwnProperty(l)&&o.setRequestHeader(l,s[l]);return o.onreadystatechange=function(){if(4===o.readyState)if(200===o.status){var e,t=!1;try{e=JSON.parse(o.responseText),t=!0}catch(i){a(!0,"JSON returned was invalid, yet status code was 200. Data was: "+o.responseText)}t&&a(!1,e)}else r._log("Couldn't get auth info from application",o.status),a(!0,o.status)},setTimeout((function(){o.send(JSON.stringify(n))}),20),o},f._log=function(){m("info",arguments)},f._debug=function(){!0===this._config.debug&&m("debug",arguments)},f._websocketSupported=function(){return!("function"!==typeof WebSocket&&"object"!==typeof WebSocket)},f._sockjsEndpoint=function(){var e=this._config.url;return e=e.replace("ws://","http://").replace("wss://","https://"),e=l(e),c(this._config.url,"connection")||(e+="/connection"),e},f._rawWebsocketEndpoint=function(){var e=this._config.url;return e=e.replace("http://","ws://").replace("https://","wss://"),e=l(e),c(this._config.url,"connection/websocket")||(e+="/connection/websocket"),e},f._configure=function(e){if(this._debug("Configuring centrifuge object with",e),e||(e={}),this._config=o(!1,this._config,e),!this._config.url)throw"Missing required configuration parameter 'url' specifying server URL";if(!this._config.user&&""!==this._config.user){if(!this._config.insecure)throw"Missing required configuration parameter 'user' specifying user's unique ID in your application";this._debug("user not found but this is OK for insecure mode - anonymous access will be used"),this._config.user=""}if(!this._config.timestamp){if(!this._config.insecure)throw"Missing required configuration parameter 'timestamp'";this._debug("token not found but this is OK for insecure mode")}if(!this._config.token){if(!this._config.insecure)throw"Missing required configuration parameter 'token' specifying the sign of authorization request";this._debug("timestamp not found but this is OK for insecure mode")}if(this._config.url=l(this._config.url),c(this._config.url,"connection"))if(this._debug("client will connect to SockJS endpoint"),null!==this._config.sockJS)this._debug("SockJS explicitly provided in options"),this._sockJS=this._config.sockJS;else{if("undefined"===typeof SockJS)throw"include SockJS client library before Centrifuge javascript client library or provide SockJS object in options or use raw Websocket connection endpoint";this._debug("use globally defined SockJS"),this._sockJS=SockJS}else c(this._config.url,"connection/websocket")?this._debug("client will connect to raw Websocket endpoint"):(this._debug("client will detect connection endpoint itself"),null!==this._config.sockJS?(this._debug("SockJS explicitly provided in options"),this._sockJS=this._config.sockJS):"undefined"===typeof SockJS?this._debug("SockJS not found"):(this._debug("use globally defined SockJS"),this._sockJS=SockJS))},f._setStatus=function(e){this._status!==e&&(this._debug("Status",this._status,"->",e),this._status=e,this.trigger("on-change-centrifuge-status",[this._status]))},f._isDisconnected=function(){return"disconnected"===this._status},f._isConnecting=function(){return"connecting"===this._status},f._isConnected=function(){return"connected"===this._status},f._nextMessageId=function(){return++this._messageId},f._resetRetry=function(){this._debug("reset retries count to 0"),this._retries=0},f._getRetryInterval=function(){var e=g(this._retries,this._config.retry,this._config.maxRetry);return this._retries+=1,e},f._clearConnectedState=function(e){for(var t in this._clientID=null,this._callbacks)if(this._callbacks.hasOwnProperty(t)){var i=this._callbacks[t],s=i.errback;if(!s)continue;s(this._createErrorObject("disconnected","retry"))}for(var n in this._callbacks={},this._subs)if(this._subs.hasOwnProperty(n)){var a=this._subs[n];e?(a._isSuccess()&&a._triggerUnsubscribe(),a._setSubscribing()):a._setUnsubscribed()}this._config.resubscribe&&this._reconnect||(this._subs={},this.trigger("cleared_subscriptions",{user:this._config.user,info:this._config.info,debug:this._config.debug}))},f._send=function(e){0!==e.length&&(1===e.length&&(e=e[0]),this._debug("Send",e),this._transport.send(JSON.stringify(e)))},f._setupTransport=function(){var e=this;if(this._isSockJS=!1,null!==this._sockJS){var t={transports:this._config.transports};null!==this._config.server&&(t.server=this._config.server),this._isSockJS=!0,this._transport=new this._sockJS(this._sockjsEndpoint(),null,t)}else{if(!this._websocketSupported())return void this._debug("No Websocket support and no SockJS configured, can not connect");this._transportClosed||(this._debug("Transport close"),this._transport.close()),this._transport=new WebSocket(this._rawWebsocketEndpoint())}this.onReady=()=>{clearInterval(n),this._transportClosed=!1,this._reconnecting=!1,this._isSockJS?(this._transportName=this._transport.transport,this._transport.onheartbeat=function(){this._restartPing()}):this._transportName="raw-websocket",this._resetRetry(),u(this._config.user)||this._log("user expected to be string"),u(this._config.info)||this._log("info expected to be string");var e={method:"connect",params:{user:this._config.user,info:this._config.info}};this._config.insecure||(e.params.timestamp=this._config.timestamp,e.params.token=this._config.token,u(this._config.timestamp)||this._log("timestamp expected to be string"),u(this._config.token)||this._log("token expected to be string")),this._addMessage(e),this._latencyStart=new Date},this._transport.onopen=()=>{clearInterval(n),n=setInterval(()=>{var e;(null===(e=this._transport)||void 0===e?void 0:e.readyState)===WebSocket.OPEN&&this.onReady()},1e3)},this._transport.onerror=function(t){clearInterval(n),e._debug("transport level error",t)},this._transport.onclose=function(t){clearInterval(n),e._transportClosed=!0;var i="connection closed",s=!0;if(t&&"reason"in t&&t.reason)try{var a=JSON.parse(t.reason);e._debug("reason is an advice object",a),e._debug("closeEvent is",t),i=a.reason,s=a.reconnect,"stale"===a.reason&&(s=!0,e._transportClosed=!1)}catch(o){i=t.reason,e._debug("reason is a plain string",i),s="disconnect"!==i}if(null!==e._config.onTransportClose&&e._config.onTransportClose({event:t,reason:i,reconnect:s}),e._disconnect(i,s),!0===e._reconnect){e._reconnecting=!0;var r=e._getRetryInterval();e._debug("reconnect after "+r+" milliseconds"),setTimeout((function(){!0===e._reconnect&&e._connect.call(e)}),r)}},this._transport.onmessage=function(t){var i;i=JSON.parse(t.data),e._debug("Received",i),e._receive(i),e._restartPing()}},f._connect=function(e){this.isConnected()?this._debug("connect called when already connected"):"connecting"!==this._status&&(this._debug("start connecting"),this._setStatus("connecting"),this._clientID=null,this._reconnect=!0,e&&this.on("connect",e),this._setupTransport())},f._disconnect=function(e,t){if(!this.isDisconnected()){this._setStatus("disconnecting"),this._debug("disconnected:",e,t);var i=t||!1;!1===i&&(this._reconnect=!1),this._clearConnectedState(i),this.isDisconnected()||(this._setStatus("disconnected"),this._refreshTimeout&&clearTimeout(this._refreshTimeout),!1===this._reconnecting&&this.trigger("disconnect",[{reason:e,reconnect:i}])),this._transportClosed||this._transport.close()}},f._refreshFailed=function(){this._numRefreshFailed=0,this.isDisconnected()||this._disconnect("refresh failed",!1),null!==this._config.refreshFailed&&this._config.refreshFailed()},f._refresh=function(){var e=this;if(this._debug("refresh credentials"),0===e._config.refreshAttempts)return this._debug("refresh attempts set to 0, do not send refresh request at all"),void e._refreshFailed();null!==e._refreshTimeout&&clearTimeout(e._refreshTimeout);var t=function(t,i){if(!0===t)return e._debug("error getting connection credentials from refresh endpoint",i),e._numRefreshFailed++,e._refreshTimeout&&clearTimeout(e._refreshTimeout),null!==e._config.refreshAttempts&&e._numRefreshFailed>=e._config.refreshAttempts?void e._refreshFailed():void(e._refreshTimeout=setTimeout((function(){e._refresh.call(e)}),e._config.refreshInterval+Math.round(1e3*Math.random())));e._numRefreshFailed=0,e._config.user=i.user,e._config.timestamp=i.timestamp,"info"in i&&(e._config.info=i.info),e._config.token=i.token,e.isDisconnected()?(e._debug("credentials refreshed, connect from scratch"),e._connect()):(e._debug("send refreshed credentials"),e._addMessage({method:"refresh",params:{user:e._config.user,timestamp:e._config.timestamp,info:e._config.info,token:e._config.token}}))};if(null!==this._config.onRefresh){var i={};this._config.onRefresh(i,t)}else{var s=this._config.refreshTransport.toLowerCase();if("ajax"===s)this._ajax(this._config.refreshEndpoint,this._config.refreshParams,this._config.refreshHeaders,this._config.refreshData,t);else{if("jsonp"!==s)throw"Unknown refresh transport "+s;this._jsonp(this._config.refreshEndpoint,this._config.refreshParams,this._config.refreshHeaders,this._config.refreshData,t)}}},f._subscribe=function(e){var t=e.channel;if(t in this._subs||(this._subs[t]=e),this.isConnected()){e._setSubscribing();var i={method:"subscribe",params:{channel:t}};if(d(t,this._config.privateChannelPrefix))this._isAuthBatching?this._authChannels[t]=!0:(this.startAuthBatching(),this._subscribe(e),this.stopAuthBatching());else{var s=this._recover(t);!0===s&&(i.params.recover=!0,i.params.last=this._getLastID(t)),this._addMessage(i)}}else e._setNew()},f._unsubscribe=function(e){this.isConnected()&&this._addMessage({method:"unsubscribe",params:{channel:e.channel}})},f._getSub=function(e){var t=this._subs[e];return t||null},f._connectResponse=function(e){if(!this.isConnected())if(this._debug("Connect response ",e),p(e))this.trigger("error",[{message:e}]);else{if(null!==this._latencyStart&&(this._latency=(new Date).getTime()-this._latencyStart.getTime(),this._latencyStart=null),!e.body)return;if(e.body.expires){var t=e.body.expired;if(t)return this._reconnecting=!0,this._disconnect("expired",!0),void this._refresh()}this._clientID=e.body.client,this._setStatus("connected"),this._refreshTimeout&&clearTimeout(this._refreshTimeout);var i=this;if(e.body.expires&&(this._refreshTimeout=setTimeout((function(){i._refresh.call(i)}),1e3*e.body.ttl)),this._config.resubscribe){for(var s in this.startBatching(),this.startAuthBatching(),this._subs)if(this._subs.hasOwnProperty(s)){var n=this._subs[s];n._shouldResubscribe()&&this._subscribe(n)}this.stopAuthBatching(),this.stopBatching(!0)}this._restartPing(),this.trigger("connect",[{client:e.body.client,transport:this._transportName,latency:this._latency}])}},f._stopPing=function(){null!==this._pongTimeout&&clearTimeout(this._pongTimeout),null!==this._pingInterval&&clearInterval(this._pingInterval)},f._startPing=function(){if(!(!0!==this._config.ping||this._config.pingInterval<=0)&&this.isConnected()){var e=this;this._pingInterval=setInterval((function(){e.isConnected()?(e.ping(),e._pongTimeout=setTimeout((function(){e._disconnect("no ping",!0)}),e._config.pongWaitTimeout)):e._stopPing()}),this._config.pingInterval)}},f._restartPing=function(){this._stopPing(),this._startPing()},f._disconnectResponse=function(e){if(p(e))this.trigger("error",[{message:e}]);else{var t=!1;"reconnect"in e.body&&(t=e.body.reconnect);var i="";"reason"in e.body&&(i=e.body.reason),this._disconnect(i,t)}},f._subscribeResponse=function(e){var t=e.body;if(null!==t){var i=t.channel,s=this._getSub(i);if(s&&s._isSubscribing())if(p(e))this.trigger("error",[{message:e}]),s._setSubscribeError(this._errorObjectFromMessage(e));else{var n=t.messages;if(n&&n.length>0)for(var a in n=n.reverse(),n)n.hasOwnProperty(a)&&this._messageResponse({body:n[a]});else"last"in t&&(this._lastMessageID[i]=t.last);var r=!1;"recovered"in t&&(r=t.recovered),s._setSubscribeSuccess(r)}}},f._unsubscribeResponse=function(e){var t=e.uid,i=e.body,s=i.channel,n=this._getSub(s);n&&(p(e)?this.trigger("error",[{message:e}]):t||n._setUnsubscribed())},f._publishResponse=function(e){var t=e.uid,i=e.body;if(t in this._callbacks){var s=this._callbacks[t];if(delete this._callbacks[t],p(e)){var n=s.errback;if(!n)return;n(this._errorObjectFromMessage(e)),this.trigger("error",[{message:e}])}else{var a=s.callback;if(!a)return;a(i)}}},f._presenceResponse=function(e){var t=e.uid,i=e.body;if(t in this._callbacks){var s=this._callbacks[t];if(delete this._callbacks[t],p(e)){var n=s.errback;if(!n)return;n(this._errorObjectFromMessage(e)),this.trigger("error",[{message:e}])}else{var a=s.callback;if(!a)return;a(i)}}},f._historyResponse=function(e){var t=e.uid,i=e.body;if(t in this._callbacks){var s=this._callbacks[t];if(delete this._callbacks[t],p(e)){var n=s.errback;if(!n)return;n(this._errorObjectFromMessage(e)),this.trigger("error",[{message:e}])}else{var a=s.callback;if(!a)return;a(i)}}},f._joinResponse=function(e){var t=e.body,i=t.channel,s=this._getSub(i);s&&s.trigger("join",[t])},f._leaveResponse=function(e){var t=e.body,i=t.channel,s=this._getSub(i);s&&s.trigger("leave",[t])},f._messageResponse=function(e){var t=e.body,i=t.channel;this._lastMessageID[i]=t.uid;var s=this._getSub(i);s&&s.trigger("message",[t])},f._refreshResponse=function(e){if(this._refreshTimeout&&clearTimeout(this._refreshTimeout),p(e))this.trigger("error",[{message:e}]);else if(e.body.expires){var t=this,i=e.body.expired;if(i)return void(t._refreshTimeout=setTimeout((function(){t._refresh.call(t)}),t._config.refreshInterval+Math.round(1e3*Math.random())));this._clientID=e.body.client,t._refreshTimeout=setTimeout((function(){t._refresh.call(t)}),1e3*e.body.ttl)}},f._dispatchMessage=function(e){if(void 0!==e&&null!==e){var t=e.method;if(t)switch(t){case"connect":this._connectResponse(e);break;case"disconnect":this._disconnectResponse(e);break;case"subscribe":this._subscribeResponse(e);break;case"unsubscribe":this._unsubscribeResponse(e);break;case"publish":this._publishResponse(e);break;case"presence":this._presenceResponse(e);break;case"history":this._historyResponse(e);break;case"join":this._joinResponse(e);break;case"leave":this._leaveResponse(e);break;case"ping":break;case"refresh":this._refreshResponse(e);break;case"message":this._messageResponse(e);break;default:this._debug("dispatch: got message with unknown method"+t);break}else this._debug("dispatch: got message with empty method")}else this._debug("dispatch: got undefined or null message")},f._receive=function(e){if(h(e))for(var t in e)e.hasOwnProperty(t)&&this._dispatchMessage(e[t]);else Object.prototype.toString.call(e)===Object.prototype.toString.call({})&&this._dispatchMessage(e)},f._flush=function(){var e=this._messages.slice(0);this._messages=[],this._send(e)},f._ping=function(){this._addMessage({method:"ping"})},f._recover=function(e){return e in this._lastMessageID},f._getLastID=function(e){var t=this._lastMessageID[e];return t?(this._debug("last uid found and sent for channel",e),t):(this._debug("no last uid found for channel",e),"")},f._createErrorObject=function(e,t){var i={error:e};return t&&(i.advice=t),i},f._errorObjectFromMessage=function(e){return this._createErrorObject(e.error,e.advice)},f._registerCall=function(e,t,i){var s=this;this._callbacks[e]={callback:t,errback:i},setTimeout((function(){delete s._callbacks[e],_(i)&&i(s._createErrorObject("timeout","retry"))}),this._config.timeout)},f._addMessage=function(e){var t=""+this._nextMessageId();return e.uid=t,!0===this._isBatching?this._messages.push(e):this._send([e]),t},f.getClientId=function(){return this._clientID},f.isConnected=f._isConnected,f.isDisconnected=f._isDisconnected,f.configure=function(e){this._configure.call(this,e)},f.connect=f._connect,f.disconnect=function(){this._disconnect("client",!1)},f.ping=f._ping,f.startBatching=function(){this._isBatching=!0},f.stopBatching=function(e){e=e||!1,this._isBatching=!1,!0===e&&this.flush()},f.flush=function(){this._flush()},f.startAuthBatching=function(){this._isAuthBatching=!0},f.stopAuthBatching=function(){var e,t;this._isAuthBatching=!1;var i=this._authChannels;this._authChannels={};var s=[];for(t in i)if(i.hasOwnProperty(t)){var n=this._getSub(t);if(!n)continue;s.push(t)}if(0!==s.length){var a={client:this.getClientId(),channels:s},r=this,o=function(i,n){if(!0!==i){var a;if(n.channels&&h(n.channels))for(e in a={},n.channels){var o=n.channels[e];o.channel&&(a[o.channel]=o)}else a=n;var c=!1;for(e in r._isBatching||(r.startBatching(),c=!0),s)if(s.hasOwnProperty(e)){t=s[e];var d=a[t];if(!d){r._subscribeResponse({error:"channel not found in authorization response",advice:"fix",body:{channel:t}});continue}if(d.status&&200!==d.status)r._subscribeResponse({error:d.status,body:{channel:t}});else{var l={method:"subscribe",params:{channel:t,client:r.getClientId(),info:d.info,sign:d.sign}},u=r._recover(t);!0===u&&(l.params.recover=!0,l.params.last=r._getLastID(t)),r._addMessage(l)}}c&&r.stopBatching(!0)}else for(e in r._debug("authorization request failed"),s)s.hasOwnProperty(e)&&(t=s[e],r._subscribeResponse({error:"authorization request failed",advice:"fix",body:{channel:t}}))};if(null!==this._config.onPrivateChannelAuth)this._config.onPrivateChannelAuth({data:a},o);else{var c=this._config.authTransport.toLowerCase();if("ajax"===c)this._ajax(this._config.authEndpoint,this._config.authParams,this._config.authHeaders,a,o);else{if("jsonp"!==c)throw"Unknown private channel auth transport "+c;this._jsonp(this._config.authEndpoint,this._config.authParams,this._config.authHeaders,a,o)}}}},f.subscribe=function(e,t){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(!u(e))throw"Illegal argument type: channel must be a string";if(!this._config.resubscribe&&!this.isConnected())throw"Can not only subscribe in connected state when resubscribe option is off";var i=this._getSub(e);if(null!==i)return i._setEvents(t),i._isUnsubscribed()&&i.subscribe(),i;var s=new w(this,e,t);return this._subs[e]=s,s.subscribe(),s};var v=0,y=1,C=2,O=3,S=4;function w(e,t,i){this._status=v,this._error=null,this._centrifuge=e,this.channel=t,this._setEvents(i),this._isResubscribe=!1,this._recovered=!1,this._ready=!1,this._promise=null,this._noResubscribe=!1,this._initializePromise()}a(w,s);var j=w.prototype;j._initializePromise=function(){this._ready=!1;var e=this;this._promise=new Promise((function(t,i){e._resolve=function(i){e._ready=!0,t(i)},e._reject=function(t){e._ready=!0,i(t)}}))},j._setEvents=function(e){if(e)if(_(e))this.on("message",e);else if(Object.prototype.toString.call(e)===Object.prototype.toString.call({}))for(var t=["message","join","leave","unsubscribe","subscribe","error"],i=0,s=t.length;i{const i=Object.assign({},e);for(var s=0,n=Object.keys(t);s{if("object"!==typeof t[e][s])return!1;i[e][s]=Object.assign(Object.assign({},i[e][s]),t[e][s])}):i[e]=t[e]}return i},b={games:d["a"],gamesProviders:l["a"],gamesRestrictions:u["a"],bonuses:r["a"],payments:h["a"],deposit:c["a"],cashout:o["a"],theme:_["a"]},f=p(a()(Object(s["a"])(Object(s["a"])({},m),b)),g);t["a"]=f;Object(s["a"])(Object(s["a"])({},b),m)},d6f1:function(e,t,i){"use strict";i.d(t,"c",(function(){return a})),i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return o}));var s=i("5530"),n=i("ccd5");const a=(e,t)=>{var i;const a=null!==(i=n["d"].formData.get(e))&&void 0!==i?i:{};n["d"].formData.set(e,Object(s["a"])(Object(s["a"])({},a),t))},r=(e,t="")=>n["d"].formData.get(e,t),o=e=>{n["d"].formData.remove(e)}},e11b:function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return e.isWidgetOpened&&!e.isChatOpened?t("div",{staticClass:"live-chat-widget",attrs:{id:"liveChatWidget"}},[t("div",{staticClass:"live-chat-widget--header"},[t("div",{staticClass:"live-chat-widget--header__item title"},[e._v(" "+e._s(e.$t("liveChat.title"))+" ")]),t("div",{staticClass:"live-chat-widget--header__item collapse",on:{click:e.toggleFAQWidget}},[t("icon",{staticClass:"live-chat-widget--header__item_icon",attrs:{"icon-name":"close"}})],1)]),t("div",{staticClass:"live-chat-widget--content"},[e.isChatOpened?e._e():t("div",{staticClass:"live-chat-widget--content_faq"},[t("div",{staticClass:"live-chat-widget--content_faq_header"},[e._v(" "+e._s(e.$t("liveChat.faq.header"))+" ")]),t("ul",{staticClass:"live-chat-widget--content_faq_links"},e._l(e.liveChatFaq,(function(i){return t("li",{key:i.translationKey,attrs:{item:i}},[e.isFaqPage?t("a",{attrs:{href:`${e.languageForUrl}${i.link}`},on:{click:function(t){return t.preventDefault(),e.questionClick(i)}}},[t("icon",{attrs:{"icon-name":"doc",height:"16"}}),e._v(" "+e._s(e.$t(i.translationKey))+" ")],1):t("router-link",{attrs:{to:`${e.languageForUrl}${i.link}`},nativeOn:{click:function(t){return t.stopPropagation(),e.openMenu.apply(null,arguments)}}},[t("icon",{attrs:{"icon-name":"doc",height:"16"}}),e._v(" "+e._s(e.$t(i.translationKey))+" ")],1)],1)})),0),t("div",{staticClass:"live-chat-widget--content_faq_header"},[e._v(" "+e._s(e.$t("liveChat.faq.need_help"))+" ")]),t("div",{staticClass:"live-chat-widget--content_faq_chat",on:{click:e.toggleSupportChat}},[t("icon",{attrs:{"icon-name":"faq-menu",height:"18"}}),e._v(" "+e._s(e.$t("liveChat.faq.open_chat"))+" ")],1)])])]):e._e()},n=[],a=i("1da1"),r=i("5530"),o=i("5d2a"),c=i("ca47"),d=i("23bd"),l=i("52b3"),u=i.n(l),h=i("63ea"),_=i.n(h),m=i("589d"),g=i.n(m),p=i("28cb"),b=i("10ba"),f=i("b047"),v=i.n(f),y=i("ccd5"),C={name:"live-chat-widget",components:{Icon:o["a"]},data(){var e,t;return{isWidgetOpened:null!==(e=y["d"].liveChatWidgetOpened.get())&&void 0!==e&&e,isChatOpened:null!==(t=y["d"].liveChatOpened.get())&&void 0!==t&&t,isFirstTimeLiveChatOpened:!1}},computed:Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])({},Object(c["e"])("player",["getPlayer"])),Object(c["e"])("cmsConfig",["liveChatFaq"])),Object(c["e"])("breakpoints",["isMobile"])),Object(c["e"])("batches",["getIsInitialBatchLoaded"])),{},{language(){return this.getPlayer.language||window.domainInfo.language},languageForUrl(){return this.getPlayer.languageForUrl||""},isFaqPage(){var e;return"faq"===(null===(e=this.$route.meta)||void 0===e?void 0:e.code)}}),watch:{getIsInitialBatchLoaded(){this.reopenLiveChat()},isChatOpened(e){var t=this;return Object(a["a"])((function*(){const i={detail:{open:e}};window.dispatchEvent(new CustomEvent("chat-micro-app-livechat",i)),window.LiveChatWidget||(yield Object(d["c"])(t.getPlayer)),!e||t.isFirstTimeLiveChatOpened||b["a"].isMobile||t.sendCloseLiveChatAnalytics()}))()},getPlayer(e,t){var i=this;return Object(a["a"])((function*(){if(!i.getIsInitialBatchLoaded)return;const s=u()(e.statuses,t.statuses,_.a).length>0,n=e.language!==t.language||s||e.id!==t.id;n&&i.reopenLiveChat()}))()}},created(){this.$bus.on("live-chat-toggle-faq",this.toggleFAQWidget),this.$bus.on("live-chat-toggle-chat",this.toggleSupportChat),this.$bus.on("player-logged-out",this.clearChatPlayerData),window.addEventListener("live-chat-widget-closed",this.onLiveChatWidgetClosed),window.addEventListener("live-chat-widget-open",this.toggleSupportChat),window.addEventListener("live-chat-widget-close",this.toggleSupportChat),this.getIsInitialBatchLoaded&&this.reopenLiveChat(),this.$bus.emit("live-chat-widget-created")},beforeDestroy(){this.$bus.off("live-chat-toggle-faq",this.toggleFAQWidget),this.$bus.off("live-chat-toggle-chat",this.toggleSupportChat),this.$bus.off("player-logged-out"),window.removeEventListener("live-chat-widget-closed",this.onLiveChatWidgetClosed),window.removeEventListener("live-chat-widget-open",this.toggleSupportChat),window.removeEventListener("live-chat-widget-close",this.toggleSupportChat)},methods:Object(r["a"])(Object(r["a"])(Object(r["a"])({},Object(c["d"])("menu",["changeBurger","toggleMenu"])),Object(c["d"])("overlay",["closeOverlay","addBodyOverflow","removeBodyOverflow"])),{},{openMenu(){this.closeOverlay(),this.toggleMenu({toggleValue:!1}),this.changeBurger({state:""})},toggleFAQWidget(){this.isWidgetOpened=!this.isWidgetOpened,this.isWidgetOpened?(this.isChatOpened&&this.toggleSupportChat(),y["d"].liveChatWidgetOpened.set(this.isWidgetOpened)):y["d"].liveChatWidgetOpened.remove()},toggleSupportChat(){this.isChatOpened=!this.isChatOpened,this.isChatOpened?this.openChatHandler():this.closeChatHandler()},openChatHandler(){y["d"].liveChatOpened.set(this.isChatOpened),Object(d["b"])(),this.isWidgetOpened&&this.toggleFAQWidget(),this.isMobile&&this.addBodyOverflow()},closeChatHandler(){y["d"].liveChatOpened.remove(),Object(d["a"])(),this.isMobile&&this.removeBodyOverflow()},reopenLiveChat:v()(Object(a["a"])((function*(){yield Object(d["c"])(this.getPlayer),this.isChatOpened&&Object(d["b"])(),yield this.$nextTick(),window.LiveChatWidget.on("visibility_changed",e=>{"maximized"!==e.visibility&&(this.isChatOpened=!1,y["d"].liveChatOpened.remove())})})),1e3),onLiveChatWidgetClosed(){this.isChatOpened&&this.toggleSupportChat()},clearChatPlayerData(){var e,t,i,s;window.__lc&&window.LiveChatWidget&&(window.__lc.visitor={name:" ",email:" "},null===(e=window.LiveChatWidget)||void 0===e||e.call("set_customer_name",null===(t=window.__lc.visitor)||void 0===t?void 0:t.name),null===(i=window.LiveChatWidget)||void 0===i||i.call("set_customer_email",null===(s=window.__lc.visitor)||void 0===s?void 0:s.email))},questionClick(e){const t=e.link.split("#")[1];if(!t)return;const i=document.getElementById(t);null!==i&&void 0!==i&&i.classList.contains("open")?g()(i,"scroll",{duration:200,offset:Object(p["a"])()}):Object(p["c"])(i,g.a)},sendCloseLiveChatAnalytics(){window.LiveChatWidget&&(window.LiveChatWidget.on("customer_status_changed",e=>{"browsing"===e.status&&this.$analytics.clickEvent({button:"support_livechat-close"})}),window.LiveChatWidget.on("visibility_changed",e=>{"minimized"!==e.visibility&&"hidden"!==e.visibility||this.$analytics.clickEvent({button:"support_livechat-minimize"})}),this.isFirstTimeLiveChatOpened=!0)}})},O=C,S=(i("162b"),i("2877")),w=Object(S["a"])(O,s,n,!1,null,null,null);t["a"]=w.exports},ee9f:function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return e.gameCurrencyList.length?t("div",{staticClass:"converter-game",class:{"converter-game--mobile":e.isMobile,"converter-game--after-registration":e.modalProps.isRegistration}},[t("div",{staticClass:"converter-game__header",class:e.modalProps.headerClass},[t("div",{staticClass:"converter-game__title"},[e._v(" "+e._s(e.$t("converter_modal.title"))+" ")]),e.showClose?t("div",{staticClass:"converter-game__close",on:{click:e.onClose}},[t("icon",{staticClass:"converter-game__close-ic",attrs:{"icon-name":e.iconCloseBtn}})],1):e._e()]),t("div",{staticClass:"converter-game__block"},[t("p",{staticClass:"converter-game__text"},[e._v(" "+e._s(e.$t("converter_modal.currency_info"))+" ")]),t("p",{staticClass:"converter-game__text"},[e._v(" "+e._s(e.$t("converter_modal.currency_crypto_info"))+" ")])]),t("div",{directives:[{name:"bar",rawName:"v-bar"},{name:"vbar-smooth-scroll",rawName:"v-vbar-smooth-scroll"}],staticClass:"converter-game__scroll"},[t("div",{staticClass:"converter-game__wrap"},[t("div",{staticClass:"converter-game__list"},e._l(e.gameCurrencyList,(function(i){return t("div",{key:i.code,staticClass:"converter-game__item",class:{active:e.selectedCurrency===i.code,"converter-game__item--mobile":e.isMobile,"converter-game__item--loading":e.getIsSpinnerVisible(i.code),"converter-game__item--after-registration":e.modalProps.isRegistration},on:{click:function(t){return e.setCurrency(i.code)}}},[i.icon?t("div",{staticClass:"converter-game__item-icon-wr"},[t("img",{staticClass:"converter-game__item-icon",attrs:{src:i.icon,alt:i.code}})]):i.symbol?t("div",{staticClass:"converter-game__item-symbol"},[e._v(" "+e._s(i.symbol)+" ")]):e._e(),t("div",{staticClass:"converter-game__item-name"},[e._v(" "+e._s(i.code)+" ")]),e.getIsSpinnerVisible(i.code)?t("spinner",{staticClass:"converter-game__item-spinner"}):e._e()],1)})),0)])]),e.isMobile?e._e():t("btn",e._b({staticClass:"converter-game__button",attrs:{orange:"",btn8:"",spinner:!!e.pendingCurrency,disabled:!!e.pendingCurrency},on:{click:e.changeCurrency}},"btn",e.submitBtnProps,!1),[e._v(" "+e._s(e.$t("converter_modal.submit"))+" ")])],1):e._e()},n=[],a=i("1da1"),r=i("5530"),o=(i("4de4"),i("caad"),i("14d9"),i("13d5"),i("2532"),i("ca47")),c=i("0594"),d=i("5d2a"),l=i("c7c0"),u=i("c235"),h=i("c7b5"),_=i("1fa8"),m=i("a89c"),g=i("dd39"),p={name:"converter-game-modal",components:{Btn:c["a"],Icon:d["a"],Spinner:l["a"]},mixins:[u["a"],h["a"],g["a"]],props:{game:{type:Object,default:()=>({})},modalProps:{type:Object,default:()=>({})},isReopenGameModal:{type:Boolean,default:!0},isReInitialGame:{type:Boolean,default:!1},hasSpinner:{type:Boolean,default:!1},submitBtnProps:{type:Object,default:()=>({})},gtmElements:{type:Object,default:()=>({})}},data(){return{selectedCurrency:"",pendingCurrency:null}},computed:Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])({},Object(o["e"])("currencies",["getCurrencies","getConvertableCurrenciesTo"])),Object(o["e"])("player",["getGameCurrencyCode","getLanguageForUrl"])),Object(o["e"])("modal",["getOpenedModalName"])),Object(o["e"])("breakpoints",["isMobile"])),Object(o["e"])("preloader",["getIsVisible"])),{},{gameCurrencyList(){var e;if(null!==(e=this.gameForBottomSheet)&&void 0!==e&&e.play_url){const e=Object.keys(this.gameForBottomSheet.play_url),t=this.getConvertableCurrenciesTo.filter(t=>e.includes(t));return this.getCurrenciesByCode(t)}return this.getCurrenciesByCode(this.getConvertableCurrenciesTo)},playUrl(){return`${this.getLanguageForUrl}${this.gameForBottomSheet.slug}`},showClose(){return(this.modalProps.isRegistration||this.modalProps.showCloseBtn)&&!this.isMobile},iconCloseBtn(){var e;return(null===(e=this.modalProps)||void 0===e?void 0:e.iconCloseBtn)||"close"}}),watch:{gameForBottomSheet(e,t){null!==e&&void 0!==e&&e.play_url||"play"!==this.getOpenedModalName||(null===e||void 0===e?void 0:e.id)===(null===t||void 0===t?void 0:t.id)||(this.gameForBottomSheet=t)},gameCurrencyList(){this.setDefaultCurrency()},getIsVisible(){var e=this;return Object(a["a"])((function*(){yield e.$nextTick(),window.dispatchEvent(new Event("resize"))}))()}},mounted(){this.gameForBottomSheet.play_url||(this.gameForBottomSheet=this.game),this.isMobile||this.setDefaultCurrency()},beforeDestroy(){this.modalProps.isRegistration&&this.showDepositModalAfterRegistration()},methods:Object(r["a"])(Object(r["a"])(Object(r["a"])(Object(r["a"])({},Object(o["d"])("player",["editGameCurrency"])),Object(o["d"])("modal",{closeModal:"close"})),Object(o["d"])("jackpots",["handleOdometerMessage"])),{},{setCurrency(e){var t;this.selectedCurrency=e,null!==(t=this.gtmElements.gameCurrency)&&void 0!==t&&t.select&&this.$analytics.clickEvent({button:this.gtmElements.gameCurrency.select,currency:e,process_id:this.$analytics.processId()}),this.isMobile&&this.changeCurrency()},setDefaultCurrency(){if(!this.gameCurrencyList.length)return;const e=this.gameCurrencyList.find(({code:e})=>e===this.getGameCurrencyCode);this.selectedCurrency=(null===e||void 0===e?void 0:e.code)||this.gameCurrencyList[0].code},changeCurrency(){var e=this;return Object(a["a"])((function*(){if(!e.selectedCurrency||e.pendingCurrency)return;e.pendingCurrency=e.selectedCurrency;const t=e.getGameCurrencyCode,i=yield e.editGameCurrency(e.selectedCurrency),s=i.error;e.pendingCurrency=null,s?e.showErrorNotify(s):(e.$bus._events["resubscribe-odometer"]?e.$bus.emit("resubscribe-odometer"):(e.$centrifuge.unsubscribe(`${m["d"].PUBLIC_ODOMETER}:${t}`,e.handleOdometerMessage,!0),e.$centrifuge.subscribe(`${m["d"].PUBLIC_ODOMETER}:${e.getGameCurrencyCode}`,e.handleOdometerMessage)),e.showSuccessNotify(e.selectedCurrency),e.$emit("change"))}))()},showErrorNotify(e){this.showNotify({text:Object(_["d"])(e.errorsArray[0].msg)})},showSuccessNotify(e){var t;const i=this.$t(`currency.${e.toLowerCase()}_long_title`),s=`${e} ${i}`;this.isReopenGameModal&&null!==(t=this.gameForBottomSheet)&&void 0!==t&&t.play_url&&this.reInitialGameModal(),this.modalProps.isRegistration&&this.closeModal(),this.$bus.emit("toggle-converter",""),this.showNotify({type:"success",text:this.$t("converter_modal.game_currency_selected",{currency:s})})},reInitialGameModal(){this.isReInitialGame?this.$bus.emit("re-init-game-data",!0):this.$router.push(this.playUrl).catch(()=>{})},getCurrenciesByCode(e){return e.reduce((e,t)=>{const i=this.getCurrencies[t];return i&&e.push(i),e},[])},onClose(){this.$bus.emit("close-converter-game-modal"),this.closeModal()},getIsSpinnerVisible(e){return this.hasSpinner&&e===this.pendingCurrency&&!this.isVisibleBtnChangeCurrency}})},b=p,f=(i("d419"),i("9b9f"),i("2877")),v=Object(f["a"])(b,s,n,!1,null,null,null);t["a"]=v.exports},ef24:function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return t("mounting-portal",{attrs:{"mount-to":e.idContainerForMountTo,append:"",slim:"","target-slim":"",disabled:!e.mountInPortal}},[t("div",e._g({ref:"bottomSheet",staticClass:"bottom-sheet",class:e.classNames,style:e.styles},e.handlers),[t("transition",{attrs:{name:"fade"}},[e.overlay?t("div",e._g({ref:"bottomSheetBackdrop",staticClass:"bottom-sheet__backdrop",style:{background:e.overlayColor}},e.handlers)):e._e()]),t("div",{ref:"bottomSheetCard",staticClass:"bottom-sheet__card",class:e.cardClassNames,style:e.cardStyles,attrs:{"data-test":e.dataTestCard}},[t("div",{ref:"pan",staticClass:"bottom-sheet__pan",attrs:{"data-test":e.dataTestPan},on:{mouseup:e.handlerOnPan}},[t("div",{staticClass:"bottom-sheet__bar"})]),e.title?t("div",{staticClass:"bottom-sheet__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),e.hasScroll?t("div",{directives:[{name:"bar",rawName:"v-bar"},{name:"vbar-smooth-scroll",rawName:"v-vbar-smooth-scroll"}],ref:"bottomSheetCardContent",staticClass:"bottom-sheet__content",attrs:{"data-test":e.dataTestContent}},[t("div",{staticClass:"bottom-sheet__scroll"},[t("div",{staticClass:"bottom-sheet__content-inner"},[e._t("default",null,{modalProps:e.modalProps,isBottomSheetOpened:e.opened})],2)])]):t("div",{ref:"bottomSheetCardContent",staticClass:"bottom-sheet__content"},[e._t("default",null,{modalProps:e.modalProps,isBottomSheetOpened:e.opened})],2),e._t("bottom-fixed")],2)],1)])},n=[],a=i("1da1"),r=i("5530"),o=(i("caad"),i("ac1f"),i("00b4"),i("ca47")),c=i("c8b5"),d=i.n(c),l=i("7391"),u=i("2b88"),h=i("ad2d"),_={name:"bottom-sheet",components:{MountingPortal:u["MountingPortal"]},mixins:[l["a"]],provide(){return{hammer:this.hammer}},inject:{parentHammer:{from:"hammer",default:()=>({})}},props:{modifier:{type:String,default:""},className:{type:String,default:""},initialOpen:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},maxWidth:{type:String,default:"100%"},maxHeight:{type:String,default:"95%"},clickToClose:{type:Boolean,default:!0},effect:{type:String,default:"fx-default"},rounded:{type:Boolean,default:!0},swipeAble:{type:Boolean,default:!0},isFullScreen:{type:Boolean,default:!1},overlayColor:{type:String,default:"#0000004D"},backgroundScrollable:{type:Boolean,default:!1},backgroundClickable:{type:Boolean,default:!1},hasScroll:{type:Boolean,default:!0},mountInPortal:{type:Boolean,default:!1},dataTestPan:{type:String,default:void 0},dataTestCard:{type:String,default:void 0},dataTestContent:{type:String,default:void 0},panEnabled:{type:Boolean,default:!0},handleOnly:{type:Boolean,default:!1},title:{type:String,default:""},animationSpeed:{type:Number,default:h["a"]}},data(){const e=this;return{inited:!1,opened:!1,contentH:"auto",hammer:{pan:null,content:null},contentScroll:0,cardP:null,cardH:null,moving:!1,stripe:0,height:"",handlers:{mouseup:e.clickOnBottomSheet,touchend:e.clickOnBottomSheet},modalProps:{}}},computed:{classNames(){return{opened:this.opened,closed:!this.opened,moving:this.moving,["bottom-sheet--"+this.modifier]:this.modifier,["bottom-sheet--"+this.className]:this.className}},styles(){return{pointerEvents:this.backgroundClickable&&!1===this.clickToClose?"none":"all"}},cardClassNames(){return{stripe:this.stripe,square:!this.rounded,[this.effect]:this.effect}},cardStyles(){return{bottom:this.cardP+"px",transition:`all ${this.animationSpeed}ms ease`,maxWidth:this.maxWidth,maxHeight:this.height||this.maxHeight,height:this.isFullScreen?"100%":"auto",pointerEvents:"all"}},idContainerForMountTo(){return this.isLandingPage?"#no_layout_page":"#app"}},watch:{opened(e){e||(this.handleRemoveBottomSheet(),this.sendEmitOnDestroy())}},created(){this.$bus.on("bottom-sheet-update-content",this.updateContent)},mounted(){this.initialOpen&&this.open()},beforeDestroy(){var e,t,i,s;this.$bus.off("bottom-sheet-update-content",this.updateContent),null===(e=this.hammer)||void 0===e||null===(t=e.pan)||void 0===t||t.destroy(),null===(i=this.hammer)||void 0===i||null===(s=i.content)||void 0===s||s.destroy(),this.backgroundScrollable||(this.removeBodyOverflow(),this.$bus.emit("set-main-wrapper-error-class",!1)),this.handleRemoveBottomSheet()},methods:Object(r["a"])(Object(r["a"])(Object(r["a"])({},Object(o["d"])("bottomSheet",["addBottomSheet","removeBottomSheet"])),Object(o["d"])("overlay",["addBodyOverflow","removeBodyOverflow"])),{},{isIphone(){let e=/iPhone/.test(navigator.userAgent)&&!window.MSStream,t=window.screen.width/window.screen.height;return e&&"0.462"===t.toFixed(3)},handleRemoveBottomSheet(){this.opened&&this.close(),this.className?this.removeBottomSheet({name:this.className}):this.removeBottomSheet()},handleAddBottomSheet(){this.addBottomSheet({name:this.className||this._uid})},move(e,t){const i=30;if(!this.swipeAble)return;let s=-e.deltaY;"content"===t&&"panup"===e.type||"content"===t&&"pandown"===e.type&&this.contentScroll>=0?this.$refs.bottomSheetCardContent.scrollTop=this.contentScroll+s:"panup"!==e.type&&"pandown"!==e.type||(this.moving=!0,e.deltaY>i&&(this.cardP=s)),e.isFinal&&(this.contentScroll=this.$refs.bottomSheetCardContent.scrollTop,this.moving=!1,this.cardP<-i?(this.opened=!1,this.cardP=-this.cardH-this.stripe,document.body.style.overflow="",this.switchParentHammer(!0),this.isCloseEmitted||(this.sendEmitOnClose("move"),this.isCloseEmitted=!0),this.$bus.emit("toggle-converter","")):this.cardP=0)},initHammer(){this.inited=!0;const e={recognizers:[[d.a.Pan,{direction:d.a.DIRECTION_VERTICAL}]]};this.hammer.pan=new d.a(this.$refs.pan,e),this.hammer.content=new d.a(this.$refs.bottomSheetCardContent,e),this.hammer.pan.on("panstart panup pandown panend",e=>{this.move(e,"pan")}),this.handleOnly||this.hammer.content.on("panstart panup pandown panend",e=>{this.move(e,"content")})},calculateHammerParam(){var e,t;const i=20,s=["fx-slide-from-right","fx-slide-from-left"].includes(this.effect),n=(null===(e=this.$refs.pan)||void 0===e?void 0:e.clientHeight)||0;this.contentH="auto",this.stripe=this.isIphone()?i:0,this.cardH=(null===(t=this.$refs.bottomSheetCard)||void 0===t?void 0:t.clientHeight)||0,this.contentH=this.cardH-n+"px",this.$refs.bottomSheetCard&&(this.$refs.bottomSheetCard.style.maxHeight=this.getMaxHeight),this.cardP=s?0:-this.cardH-this.stripe,this.inited||this.initHammer()},init(){return new Promise(e=>{setTimeout(()=>{this.calculateHammerParam(),e()})})},open({modalProps:e}={}){var t=this;return Object(a["a"])((function*(){yield t.init(),t.modalProps=e,t.opened=!0,t.cardP=0,t.isCloseEmitted=!1,t.backgroundScrollable||(t.addBodyOverflow(),t.$bus.emit("set-main-wrapper-error-class",!0)),t.switchParentHammer(!1),t.$emit("opened"),t.$bus.emit("bottom-sheet-opened",!0),t.handleAddBottomSheet()}))()},close(e=!0){var t;this.opened=!1,this.cardP="fx-slide-from-right"===this.effect||"fx-slide-from-left"===this.effect?0:-this.cardH-this.stripe,this.removeBodyOverflow(),this.switchParentHammer(!0),this.$bus.emit("set-main-wrapper-error-class",!1),this.$bus.emit("bottom-sheet-opened",!1);const i=null===(t=this.$refs.bottomSheet)||void 0===t?void 0:t.querySelector(".vb-visible");var s;i&&(null===(s=i.querySelector(".vb-content"))||void 0===s||s.scrollTo(0,0));e&&!this.isCloseEmitted&&(this.sendEmitOnClose("close"),this.isCloseEmitted=!0)},sendEmitOnClose(e){this.$emit("before-close",e),setTimeout(()=>{this.$emit("closed",e)},this.animationSpeed)},sendEmitOnDestroy(e){setTimeout(()=>{this.$emit("destroy",e)},this.animationSpeed)},clickOnBottomSheet(e){!this.clickToClose||e.target!==this.$refs.bottomSheet&&e.target!==this.$refs.bottomSheetBackdrop||(e.preventDefault(),this.close())},switchParentHammer(e=!1){const t=this.parentHammer,i=t.pan,s=t.content;i instanceof d.a.Manager&&i.set({enable:e}),s instanceof d.a.Manager&&s.set({enable:e})},updateContent(){var e=this;return Object(a["a"])((function*(){yield e.$nextTick(),e.height="80vh",setTimeout(()=>{e.height=""},100)}))()},handlerOnPan(){this.panEnabled&&(this.close(),this.$bus.emit("bottom-sheet-close-on-handler"))}})},m=_,g=(i("2ab3"),i("2877")),p=Object(g["a"])(m,s,n,!1,null,null,null);t["a"]=p.exports},f489:function(e,t,i){"use strict";var s=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"resize",rawName:"v-resize",value:e.onResize,expression:"onResize"}],staticClass:"micro-app-messenger-container-flex"},[t("micro-app-messenger",{ref:"messengerHost",style:"height: 100%;",attrs:{"site-name":e.siteName,theme:e.theme?`${e.siteName}-${e.theme}`:e.siteName,uuid:e.getPlayerUuid,"player-id":e.getPlayerId,lang:e.getLangCode,device:e.getDevice,"mobile-screen-overlap-flag":e.isMobile&&e.hasOpenedModals,"rem-value":e.getRemValue(),"is-site-header-fixed":e.isHeaderFixed}})],1)},n=[],a=i("5530"),r=i("ca47"),o=i("b047"),c=i.n(o);const d=1025,l=768;var u={name:"messenger-micro-app",props:{isHeaderFixed:{type:Boolean,default:!1},siteName:{type:String,default:""},theme:{type:String,default:""}},computed:Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])({},Object(r["e"])("breakpoints",["isMobile","isTablet","isLaptop","getScreenType"])),Object(r["e"])("player",["getLangCode","getPlayerUuid","getPlayerId"])),Object(r["e"])("modal",{hasOpenedModals:"hasOpened"})),{},{getDevice(){return"mobile-sm"===this.getScreenType?"mobile":this.getScreenType},getAssets(){return{js:["/messenger/bundle.messenger.js","/messenger/chunk.messenger.js"],css:["/messenger/styles.messenger.css"]}},isWidgetLoaded(){const e=this.getAssets,t=e.js,i=e.css;return t.every(e=>!!document.querySelector(`script[src="${e}"]`))&&i.every(e=>!!document.querySelector(`link[href="${e}"]`))}}),beforeDestroy(){this.$bus.off("toggle-micro-app-messenger",this.forceDisplayView),window.dispatchEvent(new CustomEvent("messenger-micro-app-destroy",{detail:{host:this.$refs.messengerHost}})),window.removeEventListener("trigger-messenger-opened-state",this.triggerMessenger),this.toggleOpenedFlag(!1)},mounted(){this.$bus.on("toggle-micro-app-messenger",this.forceDisplayView),this.isWidgetLoaded?this.dispatchMessengerLoaded():this.mountWidget()},methods:Object(a["a"])(Object(a["a"])({},Object(r["d"])("messenger",["toggleOpenedFlag"])),{},{mountWidget(){this.getAssets.css.forEach(e=>{const t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t)}),this.jsLoadedSize=0,this.getAssets.js.forEach(e=>{const t=document.createElement("script");t.src=e,t.onload=()=>{this.jsLoadedSize++,this.jsLoadedSize===this.getAssets.js.length&&this.dispatchMessengerLoaded()},document.head.appendChild(t)})},dispatchMessengerLoaded(){window.dispatchEvent(new CustomEvent("messenger-micro-app-loaded",{detail:{host:this.$refs.messengerHost}})),window.addEventListener("trigger-messenger-opened-state",this.triggerMessenger)},triggerMessenger(e){this.toggleOpenedFlag(e.detail)},forceDisplayView(e){this.$refs.messengerHost.setAttribute("show-messenger",e),this.toggleOpenedFlag(e)},onResize:c()((function(){return this.getRemValue()}),100),get2Rem(){return window.innerWidth>=d?3.56:window.innerWidth<=l?4:6.4},get4Rem(){return window.innerWidth<=l?54:60},get5Rem(){return window.innerWidth>=d?3.33:window.innerWidth<=l?3.6:6},get6Rem(){return window.innerWidth>=d?1.6:window.innerWidth<=l?1.66:2.5},get3Rem(){return this.isLaptop?18*window.innerWidth/1920:null},getRemValue(){return this.get3Rem()}})},h=u,_=(i("f9d3"),i("2877")),m=Object(_["a"])(h,s,n,!1,null,null,null);t["a"]=m.exports},f9d3:function(e,t,i){"use strict";i("2201")}}]);