!function(t){"function"==typeof define&&define.amd?define(t):t()}(function(){"use strict";function t(t,n,e,r,i,o,u){try{var a=t[o](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,i)}function n(n){return function(){var e=this,r=arguments;return new Promise(function(i,o){var u=n.apply(e,r);function a(n){t(u,i,o,a,c,"next",n)}function c(n){t(u,i,o,a,c,"throw",n)}a(void 0)})}}function e(){return e=Object.assign?Object.assign.bind():function(t){for(var n=1;n3?(i=v===r)&&(a=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=e<2&&dr||r>v)&&(o[4]=e,o[5]=r,p.n=v,u=0))}if(i||e>1)return c;throw l=!0,r}return function(i,f,v){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&d(f,v),u=f,a=v;(n=u<2?t:a)||!l;){o||(u?u<3?(u>1&&(p.n=-1),d(u,a)):p.n=a:p.v=a);try{if(s=2,o){if(u||(i="next"),n=o[i]){if(!(n=n.call(o,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,u<2&&(u=0)}else 1===u&&(n=o.return)&&n.call(o),u<2&&(a=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=t}else if((n=(l=p.n<0)?a:e.call(r,p))!==c)break}catch(n){o=t,u=1,a=n}finally{s=1}}return{value:n,done:l}}}(e,o,u),!0),f}var c={};function s(){}function f(){}function l(){}n=Object.getPrototypeOf;var p=[][o]?n(n([][o]())):(i(n={},o,function(){return this}),n),d=l.prototype=s.prototype=Object.create(p);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,i(t,u,"GeneratorFunction")),t.prototype=Object.create(d),t}return f.prototype=l,i(d,"constructor",l),i(l,"constructor",f),f.displayName="GeneratorFunction",i(l,u,"GeneratorFunction"),i(d),i(d,u,"Generator"),i(d,o,function(){return this}),i(d,"toString",function(){return"[object Generator]"}),(r=function(){return{w:a,m:v}})()}function i(t,n,e,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}i=function(t,n,e,r){function u(n,e){i(t,n,function(t){return this._invoke(n,e,t)})}n?o?o(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(u("next",0),u("throw",1),u("return",2))},i(t,n,e,r)}var o,u,a,c;!function(){const t={NODE_ENV:"production",COMPLIANCE_BUILD_FORMAT:"umd"};try{if(process)return process.env=Object.assign({},process.env),void Object.assign(process.env,t)}catch(t){}globalThis.process={env:t}}();var s,f=((null===(o=window.ByVendors)||void 0===o?void 0:o.byDynamicDomain)||{}).API2_HOST,l=((null===(u=window.ByVendors)||void 0===u?void 0:u.byUniframeToolkit)||function(){}).UniRequest,p=((null===(a=window.ByVendors)||void 0===a?void 0:a.byEnv)||{}).SITE_ID,d=((null===(c=window.ByVendors)||void 0===c?void 0:c.byMetas)||{}).BRAND_NAME_UPPER,v=function(t,n){return!t||t===n},h=function(t,n){if(!Array.isArray(t)||!t.length)return{};var r=n.siteId,i=n.account,o=n.regulationCountry,u=t.reduce(function(t,n){if(null==n||!n.action)return t;var e=n.siteId,u=n.account,a=n.rc,c=n.logic;"GLOBAL"===e&&(e=d);var s=!1;if(v(e,r)&&("or"===c?v(u,i)||v(a,o):v(u,i)&&v(a,o))&&(s=!0),s){var f=t[n.element];t[n.element]=((null==f?void 0:f.priority)||0)>(n.priority||0)?f:n}return t},{});return Object.entries(u).reduce(function(t,n){var r,i=n[0],o=n[1];return e({},t,((r={})[i]=e({action:o.action},o.ext&&{ext:o.ext}),r))},{})},y=new l({credentials:"include",headers:{Accept:"application/json","Content-Type":"application/json",platform:"pc"}});null==y||null===(s=y.addInstanceResponseInterceptors)||void 0===s||s.call(y,[function(){var t=n(r().m(function t(n,e,i){var o,u,a,c,s,f;return r().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,o=n.clone(),t.n=1,o.json();case 1:if(u=t.v){t.n=2;break}return t.a(2);case 2:return a=u.ret_code,[10007,33003,10009].includes(a)&&(null!==(c=n.url)&&void 0!==c&&null!==(s=c.includes)&&void 0!==s&&s.call(c,"/v2/private/user/profile")||i.clearOneCache()),t.a(2,n);case 3:return t.p=3,f=t.v,t.a(2,f)}},t,null,[[0,3]])}));return function(n,e,r){return t.apply(this,arguments)}}()]);var g=function(){var t=n(r().m(function t(){var n;return r().w(function(t){for(;;)if(0===t.n)return t.a(2,null==y||null===(n=y.get)||void 0===n?void 0:n.call(y,f+"/compliance/v1/wall/regulation-info",{useCache:!0}))},t)}));return function(){return t.apply(this,arguments)}}(),b="REGULATION_RESTRICT_OPERATE",w=function(){var t=localStorage.getItem(b);if(t)try{var n=JSON.parse(t),e=n.expiredTime,r=n.restrictOperate;if(Date.now()<=e)return r}catch(t){console.log("getLocalRegulationInfo error===>",t)}return null},O=function(t){var n=Date.now()+1e4;localStorage.setItem(b,JSON.stringify({restrictOperate:t,expiredTime:n}))},C=function(){var t=n(r().m(function t(){var n,e,i,o;return r().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,w();case 1:if(n=t.v){t.n=3;break}return t.n=2,g();case 2:i=t.v,o=i.data,n=null==o||null===(e=o.result)||void 0===e?void 0:e.restrictOperate,O(n);case 3:return t.a(2,n?"EEA":"");case 4:return t.p=4,t.v,t.a(2,null)}},t,null,[[0,4]])}));return function(){return t.apply(this,arguments)}}(),m=function(){function t(t){var n=this;this.version="0.24.1",this.initialConfig=h(t,{siteId:p}),this.latestConfig={},this.subscribers=[],this.profileReady=!1,this.regulationReady=!1,this.needAccount=!1,this.filtersParams={account:"",regulationCountry:""},this.regulatedSiteHosts=p,this.config=t,this.parseConfig=h,"undefined"!=typeof window&&C().then(function(t){n.setRegulationCountry(t)})}var n=t.prototype;return n.setAccount=function(t){var n=String(t);n&&(this.filtersParams.account=n,this.profileReady=!0,this.updateLatestConfig())},n.setRegulationCountry=function(t){var n=this;this.filtersParams.regulationCountry=t,this.regulationReady=!0,this.updateLatestConfig(function(t){n.initialConfig=t})},n.setNeedAccount=function(t){this.needAccount=t},n.updateLatestConfig=function(t){var n=this.latestConfig,r=this.parseConfig(this.config,e({siteId:this.regulatedSiteHosts},this.filtersParams));(function(t,n){return Object.keys(t).length===Object.keys(n).length&&Object.entries(n).every(function(n){var e=n[0],r=n[1];return t[e]&&t[e].action===r.action&&t[e].ext===r.ext})})(n,r)||(this.latestConfig=r,null==t||t(r),this.publish())},n.subscribe=function(t){var n=this;return"function"==typeof t&&(this.needAccount&&!this.profileReady||!this.regulationReady||t(this.latestConfig),this.subscribers.push(t)),function(){n.unsubscribe(t)}},n.unsubscribe=function(t){this.subscribers=this.subscribers.filter(function(n){return n!==t})},n.publish=function(){var t=this;this.subscribers.forEach(function(n){return n(t.latestConfig)})},n.injectConfig=function(t){this.config=t,this.updateLatestConfig()},t}(),_=new m([{"element":"smartBanner","siteId":"IDN","action":"hide"},{"element":"heroBanner","siteId":"EU","action":"show","ext":"{\n \"config\": {\n \"showHotCoins\": false,\n \"defaultImgUrl\": \"/common-static/images/533895be7902445b8d94a381749d92cb_0ccaf2c95d6677f196cd7555cb818927.png\",\n \"noKycImgUrl\": \"/common-static/images/332dbe2e386e44ea9f1ac07f08798b99_87ce56fac0fabefc738d7fa61aae62bb.png\",\n \"hasKycImgUrl\": \"/common-static/images/d84a264f887d4b43bd99d96830aa5732_756a0272bb34d83ac6fc2ae91f08c4ed.png\",\n \"showMiCARTag\": true,\n \"title\": {\n \"key\": \"yourCryptoJourneyV2\"\n },\n \"subTitle\": {\n \"key\": \"byEuFullyCompliant\"\n },\n \"theme\": \"dark\",\n \"qrCodeUrl\": \"/common-static/images/3d0d359d69b64ec88f5addea97a77cf1_751a883f081083f8f32943b62fd582a5.png\",\n \"disclaimerText\": {\n \"key\": \"micarLicense\",\n \"link\": \"/{locale}/legal/risk-disclosure\"\n }\n }\n}","priority":1},{"element":"heroBanner","siteId":"THA","action":"show","ext":"{\n \"config\": {\n \"showHotCoins\": true,\n \"showMiCARTag\": false,\n \"title\": {\n \"key\": \"yourCryptoJourneyV2\"\n },\n \"noLoginSubTitle\": {\n \"key\": \"NewSignUpClaim\",\n \"style\": {\n \"color\": \"#F7A600\"\n }\n },\n \"h5BgImgUrl\": \"/common-static/images/9bd376cd78a4497b9fb519f974bf284d_2a73551a29f43825c96a57af4dec625a.png\",\n \"pcBgImgUrl\": \"/common-static/images/5d0a710275b74e3da066812f3d04380b_880a6347304e7ce56c92f08a1d8253ee.png\",\n \"theme\": \"dark\",\n \"qrCodeUrl\": \"/common-static/images/f83183b119cd4e76858162e4c2a75ab8_598efab9da61179a0cb7d5eb581feecc.png\"\n }\n}","priority":1},{"element":"theme","siteId":"THA","action":"show","ext":"{\"config\": \"dark\"}","priority":1},{"element":"smartBanner","siteId":"JPN","action":"hide"},{"element":"rwaSupDerivatives","siteId":"BYBIT","action":"show"},{"element":"rwaSupTradfi","siteId":"BYBIT","action":"show"},{"element":"fixedDownloadQrCodeUrl","siteId":"JPN","action":"show","ext":"{\n \"config\": \"/common-static/images/9c4c394bec32437680b9dcf10d1e2415_62e7ad242059952513a958bbc6125b0a.png\"\n}","priority":1},{"element":"appDownloadQrCodeUrl","siteId":"JPN","action":"show","ext":"{\n \"config\": \"/common-static/images/9c4c394bec32437680b9dcf10d1e2415_62e7ad242059952513a958bbc6125b0a.png\"\n}","priority":1},{"element":"heroBanner","siteId":"JPN","action":"show","ext":"{\n \"config\": {\n \"showHotCoins\": false,\n \"defaultImgUrl\": \"/common-static/images/194f151f7b454a91b24420785a3a06ed_900911471533257bd0bbb0273ab658bd.png\",\n \"noKycImgUrl\": \"/common-static/images/194f151f7b454a91b24420785a3a06ed_900911471533257bd0bbb0273ab658bd.png\",\n \"hasKycImgUrl\": \"/common-static/images/194f151f7b454a91b24420785a3a06ed_900911471533257bd0bbb0273ab658bd.png\",\n \"showMiCARTag\": false,\n \"title\": {\n \"key\": \"yourCryptoJourneyV2\",\n \"pcStyle\": {\n \"$1\": {\n \"fontSize\": \"140px\",\n \"fontWeight\": \"800\"\n },\n \"$2\": {\n \"fontSize\": \"40px\",\n \"fontWeight\": \"600\"\n }\n }\n },\n \"h5BgImgUrl\": \"/common-static/images/1a10ba2879fd493f955316d4f9936f38_0c265bf57c05c5a0ca6cb11a4fffedf2.png\",\n \"pcBgImgUrl\": \"/common-static/images/ff7851434e304b128f6d9c1ba8d94f38_10473db1d98a4cdc192d62e725b67fab.png\",\n \"tagKey\": \"moneyPartners\",\n \"tagStyle\": {\n \"fontSize\": \"36px\"\n },\n \"registerGroupVariant\": \"inside\",\n \"theme\": \"light\",\n \"qrCodeUrl\": \"/common-static/images/9c4c394bec32437680b9dcf10d1e2415_62e7ad242059952513a958bbc6125b0a.png\"\n }\n}","priority":1},{"element":"heroBanner","action":"show","ext":"{\n \"config\": {\n \"theme\": \"dark\",\n \"title\": {\n \"key\": \"yourCryptoJourneyV2\"\n },\n \"qrCodeUrl\": \"/common-static/images/f83183b119cd4e76858162e4c2a75ab8_598efab9da61179a0cb7d5eb581feecc.png\"\n }\n}"},{"element":"heroBanner","siteId":"BYBIT","action":"show","ext":"{\n \"config\": {\n \"showHotCoins\": true,\n \"showMiCARTag\": false,\n \"title\": {\n \"key\": \"yourCryptoJourneyV2\"\n },\n \"noLoginSubTitle\": {\n \"key\": \"NewSignUpClaim\",\n \"style\": {\n \"color\": \"#F7A600\"\n }\n },\n \"h5BgImgUrl\": \"/common-static/images/9bd376cd78a4497b9fb519f974bf284d_2a73551a29f43825c96a57af4dec625a.png\",\n \"pcBgImgUrl\": \"/common-static/images/5d0a710275b74e3da066812f3d04380b_880a6347304e7ce56c92f08a1d8253ee.png\",\n \"theme\": \"dark\",\n \"qrCodeUrl\": \"/common-static/images/f83183b119cd4e76858162e4c2a75ab8_598efab9da61179a0cb7d5eb581feecc.png\"\n }\n}","priority":1},{"element":"appDownloadQrCodeUrl","siteId":"EU","action":"show","ext":"{\n \"config\": \"/common-static/images/5ba377b925cb4adb8a99df5ec4d1d3f4_751a883f081083f8f32943b62fd582a5.png\"\n}","priority":1},{"element":"appDownloadQrCodeUrl","action":"show","ext":"{\n \"config\": \"/common-static/images/e535a85ad4cc49cb870f31c257596425_a59df0b25405547f2e9f0b9c888755ac.png\"\n}"},{"element":"fixedDownloadQrCodeUrl","siteId":"EU","action":"show","ext":"{\n \"config\": \"/common-static/images/6727c308c8734e4685898b77353a73fe_57556beb8a9fe1452c663cfaea16cd86.png\"\n}","priority":1},{"element":"fixedDownloadQrCodeUrl","action":"show","ext":"{\n \"config\": \"/common-static/images/5d7a225276a34fe0ac5f5f0a03bd283a_156dbbf9dda34e5abeb8067c25ed2177.png\"\n}"},{"element":"navFooter","siteId":"JPN","action":"hide","priority":1},{"element":"navFooter","action":"show"},{"element":"bannerImgDelay","action":"show","ext":"{\"config\": 8000}"},{"element":"bannerImgDelay","siteId":"JPN","action":"show","ext":"{\"config\": 0}","priority":1},{"element":"theme","action":"show","ext":"{\"config\": \"light\"}"},{"element":"theme","siteId":"BYBIT","action":"show","ext":"{\n \"config\": \"dark\",\n \"localeSiteConfig\": {\n \"en-GB\": {\n \"ext\": { \"config\": \"light\" }\n }\n }\n}","priority":1},{"element":"theme","siteId":"EU","action":"show","ext":"{\"config\": \"dark\"}","priority":1},{"element":"theme","siteId":"JPN","action":"show","ext":"{\"config\": \"light\"}","priority":1},{"element":"adaBot","action":"show"},{"element":"comingSoonPageConfig","siteId":"TUR","action":"show","ext":"{\"start\": 1775250000000, \"end\": 1775422800000, \"hideAda\": true, \"forceShowComingSoon\": \"magic\"}"},{"element":"DiversityProduct","siteId":"IDN","action":"hide"},{"element":"disableDerivatives","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"pt-BR,en-GB\"}"},{"element":"H5Partner","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"H5SecurityDisplay","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"H5HelpCenter","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"H5Statistics","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"H5GuidedDownload","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"GuidedDownload","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"Partner","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"FAQ","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"disableDownloadApp","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"Statistics","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"DiversityProduct","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"disableNewUserAward","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"disableDemoTrading","siteId":"BYBIT","action":"hide","ext":"{\"locale\": \"en-GB\"}"},{"element":"disableDerivatives","siteId":"EU","action":"hide"},{"element":"H5Partner","siteId":"HKG","action":"hide"},{"element":"Partner","siteId":"HKG","action":"hide"},{"element":"Partner","siteId":"EU","action":"hide"},{"element":"FAQ","siteId":"EU","action":"hide"},{"element":"H5SecurityDisplay","siteId":"ARE","action":"hide"},{"element":"H5Market","siteId":"ARE","action":"hide"},{"element":"GuidedDownload","siteId":"ARE","action":"hide"},{"element":"Partner","siteId":"ARE","action":"hide"},{"element":"H5Partner","siteId":"ARE","action":"hide"},{"element":"H5HelpCenter","siteId":"ARE","action":"hide"},{"element":"H5GuidedDownload","siteId":"ARE","action":"hide"},{"element":"H5Statistics","siteId":"ARE","action":"hide"},{"element":"FAQ","siteId":"ARE","action":"hide"},{"element":"disableDownloadApp","siteId":"ARE","action":"hide"},{"element":"Statistics","siteId":"ARE","action":"hide"},{"element":"DiversityProduct","siteId":"ARE","action":"hide"},{"element":"disableDerivatives","siteId":"ARE","action":"hide"},{"element":"disableNewUserAward","siteId":"ARE","action":"hide"},{"element":"disableDemoTrading","siteId":"ARE","action":"hide"},{"element":"H5Market","siteId":"EU","action":"hide"},{"element":"H5ABTestBanner","siteId":"BYBIT","action":"hide"},{"element":"H5ABTestBanner","siteId":"IDN","action":"hide"},{"element":"H5ABTestBanner","siteId":"GEO","action":"hide"},{"element":"H5ABTestBanner","siteId":"NLD","action":"hide"},{"element":"H5ABTestBanner","siteId":"ARE","action":"hide"},{"element":"H5ABTestBanner","siteId":"HKG","action":"hide"},{"element":"H5ABTestBanner","siteId":"KAZ","action":"hide"},{"element":"H5ABTestBanner","siteId":"TUR","action":"hide"},{"element":"H5ABTestBanner","siteId":"EU","action":"hide"},{"element":"H5Statistics","siteId":"KAZ","action":"hide"},{"element":"H5Statistics","siteId":"HKG","action":"hide"},{"element":"disableDownloadApp","siteId":"IDN","action":"hide"},{"element":"H5Partner","siteId":"IDN","action":"hide"},{"element":"H5HelpCenter","siteId":"IDN","action":"hide"},{"element":"H5GuidedDownload","siteId":"IDN","action":"hide"},{"element":"H5Statistics","siteId":"IDN","action":"hide"},{"element":"Partner","siteId":"IDN","action":"hide"},{"element":"FAQ","siteId":"IDN","action":"hide"},{"element":"GuidedDownload","siteId":"IDN","action":"hide"},{"element":"Statistics","siteId":"IDN","action":"hide"},{"element":"disableDerivatives","siteId":"IDN","action":"hide"},{"element":"disableNewUserAward","siteId":"IDN","action":"hide"},{"element":"disableDownloadApp","siteId":"GEO","action":"hide"},{"element":"H5Partner","siteId":"GEO","action":"hide"},{"element":"H5HelpCenter","siteId":"GEO","action":"hide"},{"element":"H5GuidedDownload","siteId":"GEO","action":"hide"},{"element":"H5Market","siteId":"GEO","action":"hide"},{"element":"H5Statistics","siteId":"GEO","action":"hide"},{"element":"Partner","siteId":"GEO","action":"hide"},{"element":"FAQ","siteId":"GEO","action":"hide"},{"element":"GuidedDownload","siteId":"GEO","action":"hide"},{"element":"Statistics","siteId":"GEO","action":"hide"},{"element":"DiversityProduct","siteId":"GEO","action":"hide"},{"element":"disableDerivatives","siteId":"GEO","action":"hide"},{"element":"disableNewUserAward","siteId":"GEO","action":"hide"},{"element":"disableDemoTrading","siteId":"GEO","action":"hide"},{"element":"H5Partner","siteId":"EU","action":"hide"},{"element":"H5HelpCenter","siteId":"EU","action":"hide"},{"element":"H5Statistics","siteId":"EU","action":"hide"},{"element":"Market","siteId":"EU","action":"custom","ext":"{\"disableHotSymbolApi\": true}"},{"element":"Banner","siteId":"BYBIT","action":"hide","rc":"EEA"},{"element":"disableDemoTrading","siteId":"BYBIT","account":"2","action":"hide","priority":1},{"element":"disableDemoTrading","siteId":"TUR","action":"hide"},{"element":"disableDemoTrading","siteId":"NLD","action":"hide"},{"element":"disableDemoTrading","siteId":"EU","action":"hide"},{"element":"disableDemoTrading","siteId":"HKG","action":"hide"},{"element":"disableDemoTrading","siteId":"KAZ","action":"hide"},{"element":"disableDerivatives","siteId":"BYBIT","account":"2","action":"hide"},{"element":"disableDownloadApp","siteId":"KAZ","action":"hide"},{"element":"disableDownloadApp","siteId":"HKG","action":"hide"},{"element":"disableNewUserAward","siteId":"BYBIT","action":"hide","rc":"EEA"},{"element":"disableNewUserAward","siteId":"NLD","action":"hide"},{"element":"disableNewUserAward","siteId":"TUR","action":"hide"},{"element":"disableNewUserAward","siteId":"HKG","action":"hide"},{"element":"disableNewUserAward","siteId":"KAZ","action":"hide"},{"element":"disableNewUserAward","siteId":"EU","action":"hide"},{"element":"ThirdLogin","siteId":"KAZ","action":"hide"},{"element":"ThirdLogin","siteId":"TUR","action":"hide"},{"element":"disableDerivatives","siteId":"HKG","action":"hide"},{"element":"disableDerivatives","siteId":"TUR","action":"hide"},{"element":"disableDerivatives","siteId":"NLD","action":"hide"},{"element":"Announcement"},{"element":"CryptoJourney"},{"element":"Advertising"},{"element":"CreateAccountGlobal"}]);"undefined"!=typeof window&&(window.RegulatedSiteHosts=p,window.byComplianceConfig=_,window.ByComplianceConfig=m)});