/*! For license information please see ../../../../../../../../LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1692:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}));var n=(t=>(t.ACCOUNT="office_account",t.ACCOUNT_EDIT="office_account_edit",t.BETS_HISTORY="office_history",t.BONUSES_DEPOSIT="office_bonuses_deposit",t.BONUSES_WAGER="office_bonuses_wager",t.BRING_FRIEND="office_bringfriend",t.CASINO="office_casino",t.CASINO_VIP_CASHBACK="office_casino_vip_cashback",t.CHANGE_PASSWORD="office_change_password",t.DEDUCE="office_deduce",t.HISTORY_PAY="office_historypay",t.MENU="office_menu",t.MENU_PROFILE="office_menu_profile",t.MENU_SETTINGS="office_menu_settings",t.MENU_PROMO="office_menu_promo",t.MESSAGES="office_messages",t.OFFICE="office",t.PAYCHECK="office_paycheck",t.PROMOTION="office_promotion",t.RECHARGE="office_recharge",t.REWARDS="office_rewards",t.REQUEST="office_admin_request",t.SECURITY="office_security",t.SETTINGS="office_settings",t.RESPONSIBLE_GAMBLING="office_responsible",t.SUPPORT="office_support",t.PHONE_BINDING="office_phone_binding",t.PHONE_ACTIVATE="office_phone_activate",t.PHONE_CHANGE="office_phone_change",t.SECURITY_QUESTION="office_security_question",t.ENABLE_TWO_FACTOR_AUTH="office_enable_two_factor_auth",t.DISABLE_TWO_FACTOR_AUTH="office_disable_two_factor_auth",t.SESSION_HISTORY="office_session_history",t.SECURITY_AUTH_BY_EMAIL="security_auth_by_email",t.CHANGE_EMAIL="office_email_change",t.ACTIVATION_EMAIL="office_activation_email",t.SETTINGS_WALLETS="office_settings_wallets",t.SETTINGS_ACCOUNT="office_settings_account",t.SETTINGS_DISALLOW_SPORTS="office_settings_disallow_sports",t.SETTINGS_MAILING="office_settings_mailing",t.SETTINGS_PROMO_CODE_CHECK="office_settings_promo_code_check",t.SETTINGS_CASHBACK="office_settings_cashback",t.SETTINGS_BONUSES="office_settings_bonuses",t.INTERACTIVE_MANAGER_BETS="office_manager_bets",t.BETS_HISTORY_MAIL="office_bets_history_mail",t.BETS_HISTORY_CLEAR="office_bets_history_clear",t.VERIFICATION="office_verification",t.EMAIL_SUBSCRIPTION="office_email_subscription",t.SAVE_AUTHORIZATION_DATA="saveAuthorizationData",t))(n||{}),o=(t=>(t.ACCOUNT="office_account",t.ACCOUNT_EDIT="office_account_edit",t.BETS_HISTORY="office_history",t.BRING_FRIEND="office_bringfriend",t.BRING_FRIEND_RULES="office_bring_friend_rules",t.BRING_FRIEND_BANNERS="office_bring_friend_banners",t.BRING_FRIEND_MAIN="office_bring_friend_main",t.CASINO="office_casino",t.CASINO_VIP_CASHBACK="office_casino_vip_cashback",t.CHANGE_PASSWORD="office_change_password",t.DEDUCE="office_deduce",t.HISTORY_PAY="office_historypay",t.MENU="office_menu",t.MENU_PROFILE="office_menu_profile",t.MENU_SETTINGS="office_menu_settings",t.MENU_PROMO="office_menu_promo",t.MESSAGES="office_messages",t.OFFICE="office",t.PAYCHECK="office_paycheck",t.PROMOTION="office_promotion",t.RECHARGE="office_recharge",t.REQUEST="office_admin_request",t.SECURITY="office_security",t.SETTINGS="office_settings",t.SUPPORT="office_support",t.PHONE_BINDING="office_phone_binding",t.PHONE_ACTIVATE="office_phone_activate",t.PHONE_CHANGE="office_phone_change",t.SECURITY_QUESTION="office_security_question",t.ENABLE_TWO_FACTOR_AUTH="office_enable_two_factor_auth",t.DISABLE_TWO_FACTOR_AUTH="office_disable_two_factor_auth",t.SESSION_HISTORY="office_session_history",t.SECURITY_AUTH_BY_EMAIL="security_auth_by_email",t.CHANGE_EMAIL="office_email_change",t.ACTIVATION_EMAIL="office_activation_email",t.SETTINGS_WALLETS="office_settings_wallets",t.SETTINGS_ACCOUNT="office_settings_account",t.SETTINGS_DISALLOW_SPORTS="office_settings_disallow_sports",t.SETTINGS_MAILING="office_settings_mailing",t.SETTINGS_PROMO_CODE_CHECK="office_settings_promo_code_check",t.SETTINGS_CASHBACK="office_settings_cashback",t.SETTINGS_BONUSES="office_settings_bonuses",t.SETTINGS_BONUSES_GIFTS="office_settings_bonuses_gifts",t.INTERACTIVE_MANAGER_BETS="office_manager_bets",t.BETS_HISTORY_MAIL="office_bets_history_mail",t.BETS_HISTORY_CLEAR="office_bets_history_clear",t.RESPONSIBLE="office_responsible",t.REWARDS="office_rewards",t.ACCOUNT_VERIFICATION="office_account_verification",t))(o||{})},1847:function(t,e,r){"use strict";var n=r(1),o=Object(n.e)({name:"AuthFormCustomPixel"}),f=(r(2373),r(4)),component=Object(f.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"auth-form-custom-pixel",attrs:{id:"content_pic"}},[e("img",{attrs:{src:"/web-api/default/img/icons/pixels2.svg?v="+Math.floor(Date.now()/1e3)}})])}),[],!1,null,"fbbf36be",null);e.a=component.exports},2018:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return E}));var n=r(48),o=r(138),f=r(111),c=r(4595),h=(t,e,r)=>new Promise(((n,o)=>{var f=t=>{try{h(r.next(t))}catch(t){o(t)}},c=t=>{try{h(r.throw(t))}catch(t){o(t)}},h=t=>t.done?n(t.value):Promise.resolve(t.value).then(f,c);h((r=r.apply(t,e)).next())}));const _={[-32002]:"reg_eth_error_text_1",4001:"reg_eth_error_text_2"};let l=[];const E=()=>{const{notificationError:e}=Object(f.v)(),{webApi:r}=Object(f.k)(),E=Object(n.a)(),y=Object(f.J)(),d=Object(f.L)(),T=()=>{var t;return null==(t=window.ethereum)?void 0:t.isMetaMask},A=()=>h(void 0,null,(function*(){if(l.length>0)return l;try{const t=yield r.getRequest("/api/metamask/v1/extension-links",{headers:o.a}),{links:e}=t;if(!Array.isArray(e))throw new TypeError("Invalid data structure");return l=e,e}catch(t){throw E.error("Failed to get MetaMask extension links",t),t}}));return{getMetamaskAuthData:()=>h(void 0,null,(function*(){if(T()){const f=yield h(void 0,null,(function*(){var t;try{const[e]=yield null==(t=window.ethereum)?void 0:t.request({method:"eth_requestAccounts"});return e}catch(t){const code=null==t?void 0:t.code;throw e(y(_[code]||"main_error")),t}})),c=yield h(void 0,null,(function*(){try{const{data:{attributes:{message:t}}}=yield r.getRequest("/api/internal/socialnetwork/metamask/message",{headers:o.a});return t}catch(t){throw E.error("Failed to get message (Sign in with Ethereum)",t),t}})),l=yield(n={account:f,SIWEMessage:c},h(void 0,null,(function*(){var e;try{const{account:r,SIWEMessage:o}=n,f=`0x${t.from(o,"utf8").toString("hex")}`;return yield null==(e=window.ethereum)?void 0:e.request({method:"personal_sign",params:[f,r]})}catch(t){throw E.error("Failed to get signature (Sign in with Ethereum)",t),t}})));return{account:f,SIWESign:l}}var n;d.hideAll(),yield h(void 0,null,(function*(){try{const t=yield A();T()||d.show(Object(c.a)(),{extensionOptions:t})}catch(t){throw E.error("Failed to show install metamask modal",t),t}}))})),requestMetamaskRegistration:t=>h(void 0,null,(function*(){try{return yield r.postRequest(`/registration/socialregistration?${t}`)}catch(t){throw E.error("Failed to request Metamask registration",t),t}}))}}}).call(this,r(3346).Buffer)},2020:function(t,e,r){"use strict";r.d(e,"a",(function(){return m}));var n=r(1),o=r(949),f=r(85),c=r(5),h=r(2305),_=r(105),l=r(2640),E=Object.defineProperty,y=Object.defineProperties,d=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,S=(t,e,r)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;const I={ok:"reg_social_short_name_odnoklassniki",vk:"reg_social_short_name_vk"},m=t=>{const e=Object(n.j)("useT")(),{socialRegByGeo:r,geoCountryCode:E,socialRegFromCms:m,authFormSocialLinkStyle:v}=Object(_.a)(),R=v===l.a.WITHOUT_TEXT_DESCRIPTION,O=m.map((t=>({id:t,translateKey:`social_${t}`}))),N=t=>{const r=I[t.id];return r?e(r):t.name},P=Object(n.b)((()=>{const t=E.toUpperCase(),e=r[t];return Object(o.a)(e)?e.split(",").map((t=>O.find((({id:e})=>e===t)))).filter((t=>Object(f.a)(t))):void 0})),C=Object(n.b)((()=>{var r,o;return null!=(o=Object(n.G)(t))?o:(null!=(r=Object(n.G)(P))?r:O).filter((t=>h.a[t.id])).map((t=>{var r;return{id:t.id,name:e(t.translateKey),ico:null!=(r=h.a[t.id])?r:c.B.QUESTION,value:t.id}}))})),U=Object(n.b)((()=>Object(n.G)(C).map((t=>{return a=((a,b)=>{for(var t in b||(b={}))A.call(b,t)&&S(a,t,b[t]);if(T)for(var t of T(b))w.call(b,t)&&S(a,t,b[t]);return a})({},t),b={name:R?"":N(t)},y(a,d(b));var a,b}))));return{socialLinks:C,socialLinksShortName:U}}},2031:function(t,e,r){t.exports={}},2373:function(t,e,r){"use strict";r(2031)},2640:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=(t=>(t[t.DEFAULT=0]="DEFAULT",t[t.WITH_TEXT_DESCRIPTION=1]="WITH_TEXT_DESCRIPTION",t[t.WITHOUT_TEXT_DESCRIPTION=2]="WITHOUT_TEXT_DESCRIPTION",t))(n||{})},3346:function(t,e,r){"use strict";(function(t){var n=r(3347),o=r(3348),f=r(3349);function c(){return _.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(t,e){if(c()=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|t}function A(t,e){if(_.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(t).length;default:if(n)return X(t).length;e=(""+e).toLowerCase(),n=!0}}function w(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,r);case"utf8":case"utf-8":return B(this,e,r);case"ascii":return L(this,e,r);case"latin1":case"binary":return Y(this,e,r);case"base64":return U(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function S(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function I(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=_.from(e,n)),_.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"==typeof e)return e&=255,_.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){var i,f=1,c=t.length,h=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;f=2,c/=2,h/=2,r/=2}function _(t,e){return 1===f?t[e]:t.readUInt16BE(e*f)}if(o){var l=-1;for(i=r;ic&&(r=c-h),i=r;i>=0;i--){for(var E=!0,y=0;yo&&(n=o):n=o;var f=e.length;if(f%2!=0)throw new TypeError("Invalid hex string");n>f/2&&(n=f/2);for(var i=0;i>8,o=r%256,f.push(o),f.push(n);return f}(e,t.length-r),t,r,n)}function U(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function B(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:_>223?3:_>191?2:1;if(i+E<=r)switch(E){case 1:_<128&&(l=_);break;case 2:128==(192&(o=t[i+1]))&&(h=(31&_)<<6|63&o)>127&&(l=h);break;case 3:o=t[i+1],f=t[i+2],128==(192&o)&&128==(192&f)&&(h=(15&_)<<12|(63&o)<<6|63&f)>2047&&(h<55296||h>57343)&&(l=h);break;case 4:o=t[i+1],f=t[i+2],c=t[i+3],128==(192&o)&&128==(192&f)&&128==(192&c)&&(h=(15&_)<<18|(63&o)<<12|(63&f)<<6|63&c)>65535&&h<1114112&&(l=h)}null===l?(l=65533,E=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=E}return function(t){var e=t.length;if(e<=M)return String.fromCharCode.apply(String,t);var r="",i=0;for(;i0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},_.prototype.compare=function(t,e,r,n,o){if(!_.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var f=(o>>>=0)-(n>>>=0),c=(r>>>=0)-(e>>>=0),h=Math.min(f,c),l=this.slice(n,o),E=t.slice(e,r),i=0;io)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var f=!1;;)switch(n){case"hex":return v(this,t,e,r);case"utf8":case"utf-8":return R(this,t,e,r);case"ascii":return O(this,t,e,r);case"latin1":case"binary":return N(this,t,e,r);case"base64":return P(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,r);default:if(f)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),f=!0}},_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function L(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var o="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function H(t,e,r,n,o,f){if(!_.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function x(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function F(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function j(t,e,r,n,o,f){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function W(t,e,r,n,f){return f||j(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function V(t,e,r,n,f){return f||j(t,0,r,8),o.write(t,e,r,n,52,8),r+8}_.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(o*=256);)n+=this[t+--e]*o;return n},_.prototype.readUInt8=function(t,e){return e||k(t,1,this.length),this[t]},_.prototype.readUInt16LE=function(t,e){return e||k(t,2,this.length),this[t]|this[t+1]<<8},_.prototype.readUInt16BE=function(t,e){return e||k(t,2,this.length),this[t]<<8|this[t+1]},_.prototype.readUInt32LE=function(t,e){return e||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},_.prototype.readUInt32BE=function(t,e){return e||k(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},_.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||k(t,e,this.length);for(var n=this[t],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*e)),n},_.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||k(t,e,this.length);for(var i=e,n=1,o=this[t+--i];i>0&&(n*=256);)o+=this[t+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},_.prototype.readInt8=function(t,e){return e||k(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},_.prototype.readInt16LE=function(t,e){e||k(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},_.prototype.readInt16BE=function(t,e){e||k(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},_.prototype.readInt32LE=function(t,e){return e||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},_.prototype.readInt32BE=function(t,e){return e||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},_.prototype.readFloatLE=function(t,e){return e||k(t,4,this.length),o.read(this,t,!0,23,4)},_.prototype.readFloatBE=function(t,e){return e||k(t,4,this.length),o.read(this,t,!1,23,4)},_.prototype.readDoubleLE=function(t,e){return e||k(t,8,this.length),o.read(this,t,!0,52,8)},_.prototype.readDoubleBE=function(t,e){return e||k(t,8,this.length),o.read(this,t,!1,52,8)},_.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||H(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i=0&&(o*=256);)this[e+i]=t/o&255;return e+r},_.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,1,255,0),_.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},_.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,2,65535,0),_.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},_.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,2,65535,0),_.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},_.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,4,4294967295,0),_.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},_.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,4,4294967295,0),_.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},_.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);H(this,t,e,r,o-1,-o)}var i=0,f=1,sub=0;for(this[e]=255&t;++i>0)-sub&255;return e+r},_.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);H(this,t,e,r,o-1,-o)}var i=r-1,f=1,sub=0;for(this[e+i]=255&t;--i>=0&&(f*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/f>>0)-sub&255;return e+r},_.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,1,127,-128),_.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},_.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,2,32767,-32768),_.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},_.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,2,32767,-32768),_.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},_.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,4,2147483647,-2147483648),_.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},_.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),_.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},_.prototype.writeFloatLE=function(t,e,r){return W(this,t,e,!0,r)},_.prototype.writeFloatBE=function(t,e,r){return W(this,t,e,!1,r)},_.prototype.writeDoubleLE=function(t,e,r){return V(this,t,e,!0,r)},_.prototype.writeDoubleBE=function(t,e,r){return V(this,t,e,!1,r)},_.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(o<1e3||!_.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&f.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&f.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&f.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&f.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;f.push(r)}else if(r<2048){if((e-=2)<0)break;f.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;f.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;f.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return f}function Q(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(K,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function J(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(77))},3347:function(t,e,r){"use strict";e.byteLength=function(t){var e=h(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=h(t),c=n[0],_=n[1],l=new f(function(t,e,r){return 3*(e+r)/4-r}(0,c,_)),E=0,y=_>0?c-4:c;for(r=0;r>16&255,l[E++]=e>>8&255,l[E++]=255&e;2===_&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,l[E++]=255&e);1===_&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,l[E++]=e>>8&255,l[E++]=255&e);return l},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,f=[],c=16383,h=0,l=r-o;hl?l:h+c));1===o?(e=t[r-1],f.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],f.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return f.join("")};for(var n=[],o=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,c=code.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function _(t,e,r){for(var o,f,output=[],c=e;c>18&63]+n[f>>12&63]+n[f>>6&63]+n[63&f]);return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},3348:function(t,e){e.read=function(t,e,r,n,o){var f,c,h=8*o-n-1,_=(1<>1,E=-7,i=r?o-1:0,y=r?-1:1,s=t[e+i];for(i+=y,f=s&(1<<-E)-1,s>>=-E,E+=h;E>0;f=256*f+t[e+i],i+=y,E-=8);for(c=f&(1<<-E)-1,f>>=-E,E+=n;E>0;c=256*c+t[e+i],i+=y,E-=8);if(0===f)f=1-l;else{if(f===_)return c?NaN:1/0*(s?-1:1);c+=Math.pow(2,n),f-=l}return(s?-1:1)*c*Math.pow(2,f-n)},e.write=function(t,e,r,n,o,f){var c,h,_,l=8*f-o-1,E=(1<>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=n?0:f-1,d=n?1:-1,s=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(h=isNaN(e)?1:0,c=E):(c=Math.floor(Math.log(e)/Math.LN2),e*(_=Math.pow(2,-c))<1&&(c--,_*=2),(e+=c+y>=1?rt/_:rt*Math.pow(2,1-y))*_>=2&&(c++,_/=2),c+y>=E?(h=0,c=E):c+y>=1?(h=(e*_-1)*Math.pow(2,o),c+=y):(h=e*Math.pow(2,y-1)*Math.pow(2,o),c=0));o>=8;t[r+i]=255&h,i+=d,h/=256,o-=8);for(c=c<0;t[r+i]=255&c,i+=d,c/=256,l-=8);t[r+i-d]|=128*s}},3349:function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},4595:function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(156),o=r(379),f=r(380),c=r(381);const h=()=>(({name:t,component:component,componentLoader:e=n.a,middleware:r=[],excludesMiddleware:h=[]})=>({name:t,component:component,componentLoader:e,middleware:[o.a,f.a,...r,c.a].filter((t=>!h.includes(t)))}))({name:"METAMASK_AUTH_MODAL",component:()=>r.e(426).then(r.bind(null,4781))})}}]);