(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{760:function(t,n,e){"use strict";function c(t,n,e,path,c){var o=n;-1!==n.indexOf(";")&&(o=escape(n));var r="".concat(t,"=").concat(o);if(e&&(r+="; domain=".concat(e)),path&&(r+="; path=".concat(path)),c>0){var f=new Date;f.setTime(f.getTime()+60*c*1e3),r+=";expires=".concat(f.toGMTString())}"undefined"!=typeof window&&(document.cookie=r)}function o(t){if("undefined"!=typeof window){var n=document.cookie.match("(^|;) ?".concat(t,"=([^;]*)(;|$)"));return n?unescape(n[2]):null}return null}e.d(n,"a",(function(){return c})),e.d(n,"b",(function(){return o}))},761:function(t,n,e){"use strict";function c(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function o(){return"".concat(c()).concat(c(),"-").concat(c(),"-").concat(c(),"-").concat(c(),"-").concat(c()).concat(c()).concat(c())}e.d(n,"a",(function(){return o}))},762:function(t,n,e){"use strict";(function(t){var c;e.d(n,"b",(function(){return d})),e.d(n,"a",(function(){return M}));var o={};"undefined"!=typeof window&&(c=window.location.hostname,window.location.protocol,o=window.__BYBIT_GLOBAL_CONFIG__||{});var r=/^[^.]+\.[^.]+\.[^.]+$/.test(c)||/^[^.]+\.[^.]+\.[^.]+\.(hk|uae|us|uk|jp|fr|de|au|ca|br|in|ru)$/.test(c),f=r&&/^[^.]*testnet[^.]*\./.test(c),d=r&&!f,_=!f&&!d,l=o.enableAutoman&&o.automan||{},A=l.AUTOMAN_RUNTIME_ENV,S=(l.AUTOMAN_API2_HOST,l.AUTOMAN_WS2_HOST,l.AUTOMAN_TMS_HOST),T=l.AUTOMAN_TMS_PATH,O=l.AUTOMAN_TMS_FULL_PATH,B=l.AUTOMAN_SERVICE_DOMAINS,E=(l.AUTOMAN_APM_ENABLED,l.AUTOMAN_APM_URL),I=(l.AUTOMAN_SENTRY_ENABLED,l.AUTOMAN_SENTRY_DSN),N=(l.AUTOMAN_LOGGER_ENABLED,l.AUTOMAN_LOGGER_URL),w=l.AUTOMAN_METRIC_URL,v=(l.AUTOMAN_METRIC_ENABLED,l.AUTOMAN_SENSORS_URL),m=(l.AUTOMAN_SENSORS_ENABLED,"local");f?m="testnet":d?m="prod":_&&(m="test");var M=A||m,R=_?"https://tms.ffe390afd658c19dcbf707e0597b846d.de":"",U=t.env.BYBIT_TMS_HOST||S||R,j=_?"/download/{{projectId}}/{{ns}}/{{lng}}/":"/translations/{{projectId}}/{{lng}}/{{ns}}.json",L=t.env.BYBIT_I18N_SOURCE_URL||T||j,h=(O||"".concat(U).concat(L),"");f?h="bybitglobal.com":d?h="bycbe.com, byapis.com":_&&(h="bybit-cn.com");t.env.BYBIT_SERVICE_DOMAINS;var y=(d?"https://apm.ffbbbdc6d3c353211fe2ba39c9f744cd.com":f&&"https://apm-testnet.ffbbbdc6d3c353211fe2ba39c9f744cd.com")||_&&"http://10.110.185.208:30859"||"http://10.120.140.129:30859",D=(t.env.BYBIT_APM_URL,"true"===t.env.BYBIT_APM_DISABLED),Y=(t.env.BYBIT_APM_DISABLED,t.env.BYBIT_SENTRY_DSN,t.env.BYBIT_SENTRY_DISABLED,d?"https://api.ffbbbdc6d3c353211fe2ba39c9f744cd.com/p/front":"https://api.ffbbbdc6d3c353211fe2ba39c9f744cd.com/p/front-testnet"),G=(t.env.BYBIT_LOGGER_URL,t.env.BYBIT_LOGGER_DISABLED,t.env.BYBIT_METRIC_URL,t.env.BYBIT_METRIC_DISABLED,d?"https://sc-datasink.ffe390afd658c19dcbf707e0597b846d.de/sa?project=production":"https://sc-datasink.ffe390afd658c19dcbf707e0597b846d.de/sa?project=default"),C=(t.env.BYBIT_SENSORS_URL,t.env.BYBIT_SENSORS_DISABLED,["cloud","announcements","sandbox","blog","newblog","learn"]);if(c&&C.some((function(t){return c.includes(t)}))){var P=new RegExp("(?:(?:".concat(C.join("|"),")-testnet|testnet-(?:").concat(C.join("|"),"))"),"g"),k=new RegExp("^(?:".concat(C.join("|"),")(?=.)"),"g");c.replace(P,"testnet").replace(k,"www")}}).call(this,e(34))},763:function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var c={set:function(t,n){return"undefined"!=typeof window&&window.localStorage?void 0===n?localStorage.removeItem(t):localStorage.setItem(t,n):null},setObject:function(t,n){return this.set(t,JSON.stringify(n))},get:function(t){if("undefined"!=typeof window&&window.localStorage)try{return localStorage.getItem(t)}catch(t){return null}return""},getObject:function(t){try{return JSON.parse(this.get(t))}catch(t){return{}}},remove:function(t){"undefined"!=typeof window&&window.localStorage&&localStorage.removeItem(t)}}},764:function(t,n,e){"use strict";(function(t){e.d(n,"a",(function(){return O}));e(49);var c=e(5),o=Object.prototype,r="object"==(void 0===t?"undefined":Object(c.a)(t))&&t&&t.Object===Object&&t,f="object"==("undefined"==typeof self?"undefined":Object(c.a)(self))&&self&&self.Object===Object&&self,d=((r||f||Function("return this")()).isFinite,Symbol?Symbol.toStringTag:void 0),_=(Symbol&&Symbol.isConcatSpreadable,o.toString),l=o.propertyIsEnumerable,A=o.hasOwnProperty,S=(parseInt,o.toString),T=function(t){return!!t&&"object"==Object(c.a)(t)},O=function(t){var n=Object(c.a)(t);return!!t&&("object"==n||"function"==n)};function B(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":d&&d in Object(t)?function(t){var n=A.call(t,d),e=t[d];try{t[d]=void 0;var c=!0}catch(t){}var o=_.call(t);return c&&(n?t[d]=e:delete t[d]),o}(t):S(t)}function E(t){return T(t)&&"[object Arguments]"==B(t)}E(function(){return arguments}())}).call(this,e(23))}}]);