diff --git a/index.2e0ff5c3.js.download b/index.2e0ff5c3.js.download new file mode 100644 index 0000000..0fa2ac4 --- /dev/null +++ b/index.2e0ff5c3.js.download @@ -0,0 +1,3 @@ +/*! For license information please see index.2e0ff5c3.js.LICENSE.txt */ +(()=>{var e={7006:(e,n,t)=>{"use strict";t.d(n,{Z:()=>c});var r=t(3144),o=t(5671),i=t(378),a=t(3949);const c=new((0,r.Z)((function e(){var n=this;(0,o.Z)(this,e),this.remove=function(e,t){var r=n.slist[e];r&&t&&r.forEach((function(e,n){e.id===t&&r.splice(n,1)}))},this.listen=function(e,t,r){if("function"!==typeof t)return null;n.slist[e]||(n.slist[e]=[]);var o="".concat(e).concat(n.slist[e].length);return n.slist[e].push({id:o,fn:t,once:r,count:0}),{id:o,remove:function(){n.remove(e,o)}}},this.trigger=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o{"use strict";t.d(n,{Bi:()=>_,IF:()=>w,w2:()=>N});var r=t(1413),o=t(8080),i=t(8927),a=t(9783),c=t(6430),s=t(378),l=t(1805),u=t(1103),d=t(3949),v=t(1911),f="okI18nVersion",h="en_US",p=o.Z.localeStore,m=o.Z.localeDevStore,g=o.Z.localeState,y=o.Z.hasLoadedModules,b=null,w=new Promise((function(e){b=e}));function _(e,n){var t=n.site,r=n.project,c=n.version,l=n.resourceType,u=void 0===l?"js":l,f=n.fetchBaseUrl,p=void 0===f?o.Z.fetchBaseUrl:f,m=(0,i.Z)().LANGUAGE_VERSIONS,g=n.locale||d.Z.locale||!(0,s.y)()&&a.Z.get("locale")||!(0,s.y)()&&a.Z.get("language")||h,y=t.toLowerCase(),b=r.toLowerCase(),w=g&&g.toLowerCase&&g.toLowerCase().replace(/-/g,"_"),_="".concat(y,"_").concat(b,"_").concat(w),x="".concat(p,"/").concat(t,"/").concat(b,"/").concat(w,".").concat(u),k=m[(0,v.jp)(r,!0)]||c;return{url:"".concat(x).concat(k?"?v=".concat(k):""),namespace:_,finalVersion:k,locale:g}}function x(e,n,t,o){var i=g[n]&&g[n].locale||d.Z.locale||a.Z.get("locale")||a.Z.get("language")||h,c=(0,v.a5)(),s=e||(0,r.Z)((0,r.Z)({},window&&window["".concat(n)]),{},{version:t,project:n}),l=(0,r.Z)((0,r.Z)((0,r.Z)({},m["".concat(n)]),s),c);(0,u.S1)(l,{locale:i.toLowerCase(),project:"".concat(n)});var f=[];g.fetchModules.map((function(e){return e.project===n?f.push((0,r.Z)((0,r.Z)({},e),{},{fetchDone:!0})):f.push(e)})),g.fetchModules=f;var p=g["".concat(n,"_").concat(o)];(null===p||void 0===p?void 0:p.updateView)&&(null===p||void 0===p||p.updateView());var y=g.fetchConfigs.find((function(e){return e.project==="".concat(n)}));y&&y.fastRender&&y.onLocaleReady(e||window["".concat(n)])}function k(e,n,t,i){var c=(window||{}).onLocaleDataReady,s=g[n.project]&&g[n.project].locale||d.Z.locale||a.Z.get("locale")||a.Z.get("language")||h;t||!window["".concat(n.project)]||i||n.noCache||window.addEventListener("load",(function(){try{var e=JSON.stringify(window["".concat(n.project)]),t=(0,v.Gc)(n.locale,e),o=localStorage.i18nDBversion||1e4;!t&&(0,l.S_)({project:n.project,locale:n.locale,version:n.version,data:(0,r.Z)((0,r.Z)({},window["".concat(n.project)]),{},{project:"".concat(n.project,"_").concat(n.locale),version:n.version})},Number.isNaN(o)?1e4:o)}catch(i){(0,v.pH)("i18n-multiLoaded-setDB-err",n)}}));var f=t||(0,r.Z)((0,r.Z)({},window&&window["".concat(n.project)]),{},{version:n.version,project:n.project}),w=(0,v.a5)(),_=(0,r.Z)((0,r.Z)((0,r.Z)({},m["".concat(n.project)]),f),w);if(c&&c(t||(window&&window["".concat(n.project)],{project:n.project})),e)return y.push(n.project),void b(_);(0,u.S1)(_,{locale:s.toLowerCase(),project:"".concat(n.project)}),o.Z.usingRemote?g["".concat(n.project,"_").concat(n.flag)]&&(p["".concat(n.project)]=t||window&&window["".concat(n.project)],x(t,n.project,n.version,n.flag)):p["".concat(n.project)]=t||window&&window["".concat(n.project)]}function Z(e,n,t){var r=document.createElement("script");r.setAttribute("src",e.url),r.onerror=n,r.onload=t,document.head.appendChild(r)}function N(e,n,t){var o,i,s=e.project,u=e.noCache,p=e.flag,m=e.noFetch;n&&!t&&(g[s]={},g[s].errorTimes=0);var b=_(0,e),w=b.finalVersion;if(y.includes(s))x(!1,s,w,p);else{var S=b.locale,j=function(){!function(e,n){var t=e.flag?g["".concat(e.project,"_").concat(e.flag)]:g[e.project];t.errorTimes+=1;var o=t.errorTimes;if(o>=4)(0,v.pH)("i18n-remote-data-err",e);else if(2===o){var i=h,c=e.locale||d.Z.locale||a.Z.get("locale")||a.Z.get("language");if(2===o&&(c!==i||g.urlTestLocale)){var s=g.fetchConfigs.find((function(n){return n.project===e.project})),l=e;s?(s.locale=i,s.flag=e.flag,g[e.project]=i):l.locale=i,n(e.flag?(0,r.Z)({},s):(0,r.Z)({},l),!e.flag,!0)}}else n((0,r.Z)({},e),!e.flag,!0)}(e,N)},C=function(){k(n,{project:s,version:w,locale:S,noCache:u,flag:p},!1)};if(window&&null!==(o=window)&&void 0!==o&&null!==(i=o.indexedDB)&&void 0!==i&&i.open&&!u&&!m){var E=c.Z.g.get(f)||{};(E[s]&&E[s][S]||"")===w?window&&window["".concat(s)]?k(n,{project:s,version:w,locale:S,noCache:u,flag:p},!1,!0):((0,l.VK)({project:s,version:w,locale:S},(function(e){if(e){var t=(0,v.Gc)(S,e.data||""),r=JSON.parse(e.data);r&&!t&&(window["".concat(s)]=r),w!==e.version||t?Z(b,j,C):k(n,{project:s,version:w,locale:S,noCache:u,flag:p},r)}else Z(b,j,C)}),(function(){Z(b,j,C)})),(0,v.UK)(s,b,Z,j,C)):window["".concat(s)]?k(n,{project:s,version:w,locale:S,noCache:u,flag:p},window["".concat(s)],!0):Z(b,j,C)}else!m&&Z(b,j,C),m&&C()}}},4300:(e,n,t)=>{"use strict";t.d(n,{Lg:()=>j,O4:()=>S,iK:()=>C,n6:()=>E,rg:()=>O});var r=t(1413),o=t(8927),i=t(8080),a=t(9551),c=t(9783),s=t(378),l=t(3949),u=t(1911),d=t(1103),v=t(4595),f=i.Z.isShowKeyMode,h=i.Z.isShowPureKey,p=i.Z.localeStore,m=i.Z.localeDevStore,g=i.Z.localeState,y=i.Z.SSRProviderModule,b=/<\/?[a-z][\s\S]*>/i,w=/(\n)|(\\n)/g,_="en_US",x=(0,l.E)(),k="toLocale cannot be used outside of LocaleProvider, issue key is ";function Z(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=x.okMarkLocaleTextSign,c=(0,o.Z)().LANGUAGE_VERSIONS;if(!f)return(0,a.j)(n,i,{noNeedFilter:!0});if(h)return(0,a.j)(e,i,{noNeedFilter:!0});var s=t,l=g.fetchConfigs[0];if(!l)return(0,a.j)(n,i,{noNeedFilter:!0});s||(s=l.project);var u=l.site,d=l.version,v=c[s];return v&&(d=v),r?"showkeyWithJSX?key=".concat(e,"?site=").concat(u,"?partName=").concat(t,"?project=").concat(s,"?version=").concat(d,"?content=").concat(n,"?showkeyWithJSX"):"showkey?key=".concat(e,"?site=").concat(u,"?partName=").concat(t,"?project=").concat(s,"?version=").concat(d,"?content=").concat(n,"?showkey")}function N(e){return Object.prototype.toString.call(e).includes("String")}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var o=t.partName,f=t.withJSX,h=t.useBr,S=void 0===h||h,j=(o=(0,u.jp)(o))||g.fetchModules&&g.fetchModules[0]&&g.fetchModules[0].project||"main";j=(0,u.jp)(j);var C,E,O=p[j];if((0,d.vN)()){var T,L;if((0,d.P$)()){var D=(0,d.jw)(y)||{};C=null===D||void 0===D?void 0:D.ssrModuleName,E=null===D||void 0===D?void 0:D.ssrLocale}var I,M=(0,d.nv)({locale:null===(T=E)||void 0===T?void 0:T.toLowerCase(),project:C});if(O=(null===(L=(0,d.tv)(M))||void 0===L?void 0:L.messages)||{},(0,s.y)()&&E)if(E!==(null===(I=l.Z.locale)||void 0===I?void 0:I.toLowerCase())){if("prod"!==(null===l.Z||void 0===l.Z?void 0:l.Z.envSign))throw new Error("".concat(k).concat(e));return""}}var A=g[j]&&g[j].locale||l.Z.locale||!(0,s.y)()&&c.Z.get("locale")||!(0,s.y)()&&c.Z.get("language")||_;(0,s.y)()&&(0,d.vN)()&&(j=C,A=E);var B=O&&O[e]||"";if(i.Z.isInDevMode&&!(0,s.y)()&&m[j]){var R=m[j][e];R&&(B=R)}if(!B)return Z(e,B,j);if(null!==x&&void 0!==x&&x.getFalconNeededRes&&(0,a.j)(B,"",{originContent:!0,msg:{project:j,key:e,content:B}}),!r.hasBr&&b.test(B)&&S&&(B=N(B)&&B.replace(w,"")),f)return Z(e,B,j,f);if(0===(Object.keys(n)||[]).length)return S&&N(B)&&B.indexOf("\n")>-1&&!r.hasBr&&!b.test(B)?(0,u.rn)(B):Z(e,B,j,f);var P="";return P=(0,v.wv)({project:j,locale:A.toLowerCase()},e,n,!0,"i18n"),S&&N(P)&&P.indexOf("\n")>-1&&!r.hasBr&&!b.test(B)?(0,u.rn)(P):Z(e,P,j,f)}catch(F){}}function j(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=S(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",null,(0,r.Z)((0,r.Z)({},n),{},{withJSX:!0}),{hasBr:!0});return(0,u.DU)(t,e)}function C(){var e=S.apply(void 0,arguments);return e.props?e.props.children:e}function E(e){var n=(0,u.jp)(e,!0);S[n]=function(n,t){return S(n,t,{partName:e})},C[n]=function(n,t){return C(n,t,{partName:e})},j[n]=function(n,t){return j(n,t,{partName:e})}}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{jsx:!1};return function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null!==e&&void 0!==e&&e.jsx?j(n,t,e):S(n,t,e)}}},6883:(e,n,t)=>{"use strict";t.d(n,{X4:()=>d,go:()=>v,t:()=>u});var r,o,i,a,c=t(8080),s=t(4300),l=t(378),u=s.O4,d=s.Lg,v=c.Z.localeStore,f=c.Z.localeState;(0,l.y)()||window&&(null===(r=window.location)||void 0===r||null===(o=r.search)||void 0===o||null===(i=o.slice(1))||void 0===i||null===(a=i.split("&"))||void 0===a||a.forEach((function(e){var n=e.split("=");"test_locale"===n[0]&&(f.urlTestLocale=n[1])})))},4595:(e,n,t)=>{"use strict";t.d(n,{AO:()=>v,BI:()=>i.BI,Eo:()=>i.Eo,Fg:()=>d,M3:()=>h,O7:()=>i.O7,P$:()=>o.P$,RW:()=>r.R,S1:()=>o.S1,SY:()=>u,a1:()=>i.a1,aQ:()=>f,ag:()=>c,jw:()=>o.jw,nv:()=>o.nv,o0:()=>s,tv:()=>o.tv,uf:()=>l,vN:()=>o.vN,wv:()=>p});var r=t(348),o=t(1103),i=t(5774),a=new r.R,c=a,s=a.formatDateTime,l=a.formatNumber,u=a.formatRelativeTime,d=a.getNumberInfo,v=a.parseLocaleNumber,f=a.percent,h=a.shortNumber,p=a.formatMessage},5774:(e,n,t)=>{"use strict";t.d(n,{BI:()=>c,Ei:()=>i,Eo:()=>s,O7:()=>r,a1:()=>a,rA:()=>o});var r="global",o="PLEASE_INIT_INTL",i="NOT_A_NUMBER",a={StandardDate:"yyyyMMMd",StandardYearMonth:"yyyyMMM",SimpleYearMonth:"yyyyMM",StandardMonthDay:"MMMd",SimpleMonthDay:"MMdd",SimpleDate:"yyyyMMdd",StandardTime:"hhmmss",SimpleTime:"HHmmss",StandardDateTime:"yyyyMMMdhhmmss",SimpleDateTime:"yyyyMMddHHmmss"},c={currency:"currency",percent:"percent",compact:"compact"},s={ceil:"ceil",floor:"floor"}},1805:(e,n,t)=>{"use strict";t.d(n,{S_:()=>u,VK:()=>d,r:()=>a});var r=t(1413),o=t(1911),i=t(6430),a="MULTILINGUAL_OKDB",c="okI18nVersion",s=function(e){var n=i.Z.g.get(c)||{};n[e.project]||(n[e.project]={}),n[e.project][e.locale]=e.version,i.Z.g.set(c,n)};function l(e){try{var n=(new Date).getTime(),t=!e.err&&(n-(null===e||void 0===e?void 0:e.startTime))/1e3||0;if(t>1){var i=(0,r.Z)((0,r.Z)({},null===e||void 0===e?void 0:e.msg),{},{timeout:t});(0,o.pH)(null===e||void 0===e?void 0:e.name,i)}else e.err&&(0,o.pH)(null===e||void 0===e?void 0:e.name,null===e||void 0===e?void 0:e.msg)}catch(a){(0,o.pH)("dbTimeOutReport-catch-err",null===e||void 0===e?void 0:e.msg)}}var u=function(e,n){var t,o,u,d;if(!n)return null;if(localStorage.i18nDBversion=Number(n)+1,n>=9007199254740992)return null===(u=window)||void 0===u||null===(d=u.indexedDB)||void 0===d||d.deleteDatabase(a),i.Z.g.set(c,{});var v={project:e.project,locale:e.locale,version:e.version},f=window&&(null===(t=window)||void 0===t||null===(o=t.indexedDB)||void 0===o?void 0:o.open(a,Number(n)+1));f.onsuccess=function(e){e.target.result.close()},f.onerror=function(){l({name:"setDB-open-err",err:"err",msg:(0,r.Z)((0,r.Z)({},v),{},{err:"open-err"})})},f.onblocked=function(){l({name:"setDB-onblocked-err",err:"err",msg:(0,r.Z)((0,r.Z)({},v),{},{err:"onblocked"})})},f.onupgradeneeded=function(n){var t=f.result;try{if(t.objectStoreNames.contains("".concat(e.project,"_").concat(e.locale))){var o=n.target.transaction.objectStore("".concat(e.project,"_").concat(e.locale)).put({project:e.data.project,version:e.data.version,data:JSON.stringify(e.data)});o.onsuccess=function(){s(e)},o.onerror=function(e){l({err:"err",name:"setDB-put-db-err",msg:(0,r.Z)((0,r.Z)({},v),{},{err:null===e||void 0===e?void 0:e.target})}),null===t||void 0===t||t.close()}}else{t.createObjectStore("".concat(e.project,"_").concat(e.locale),{keyPath:"project"}).createIndex("project","project",{unique:!1});var i=n.target.transaction.objectStore("".concat(e.project,"_").concat(e.locale)).add({project:e.data.project,version:e.data.version,data:JSON.stringify(e.data)});i.onsuccess=function(){s(e)},i.onerror=function(e){l({err:"err",name:"setDB-add-db-err",msg:(0,r.Z)((0,r.Z)({},v),{},{err:null===e||void 0===e?void 0:e.target})}),null===t||void 0===t||t.close()}}}catch(a){l({err:"err",name:"setDB-put-db-catch-err",msg:(0,r.Z)((0,r.Z)({},v),{},{err:null===a||void 0===a?void 0:a.message})})}}},d=function(e,n,t){var o,i,c=(new Date).getTime(),s=window&&(null===(o=window)||void 0===o||null===(i=o.indexedDB)||void 0===i?void 0:i.open(a));s.onsuccess=function(o){var i=o.target.result;try{if(i.objectStoreNames.contains("".concat(e.project,"_").concat(e.locale))){var a=i.transaction(["".concat(e.project,"_").concat(e.locale)]);a.oncomplete=function(){null===i||void 0===i||i.close()};var s=a.objectStore("".concat(e.project,"_").concat(e.locale)).get("".concat(e.project,"_").concat(e.locale));s.onsuccess=function(){if(s.result){var o=s.result;l({startTime:c,name:"getDB-got-db-timeout",msg:(0,r.Z)({},e)}),n(o)}else{l({startTime:c,name:"getDB-nogot-db-timeout",msg:(0,r.Z)({},e)}),t(e)}},s.onerror=function(n){l({startTime:c,name:"getDB-getRequest-onerror-timeout",msg:(0,r.Z)((0,r.Z)({},e),{},{err:null===n||void 0===n?void 0:n.target})}),t(e),null===i||void 0===i||i.close()}}else{l({startTime:c,name:"getDB-no-storeNames-timeout",msg:(0,r.Z)({},e)}),t(e)}}catch(u){l({startTime:c,name:"getDB-catch-err",err:"err",msg:(0,r.Z)((0,r.Z)({},e),{},{err:null===u||void 0===u?void 0:u.message})}),t(e),null===i||void 0===i||i.close()}},s.onerror=function(n){l({startTime:c,name:"getDB-onerror-err",err:"err",msg:(0,r.Z)((0,r.Z)({},e),{},{err:null===n||void 0===n?void 0:n.target})}),t(e),(null===s||void 0===s?void 0:s.close)&&(null===s||void 0===s||s.close())},s.onblocked=function(n){l({startTime:c,name:"getDB-onblocked-err",err:"err",msg:(0,r.Z)((0,r.Z)({},e),{},{err:null===n||void 0===n?void 0:n.target})}),t(e),(null===s||void 0===s?void 0:s.close)&&(null===s||void 0===s||s.close())}}},9483:(e,n,t)=>{"use strict";t.r(n),t.d(n,{BasicCalc:()=>A,Calc:()=>F,Cookies:()=>H.Z,CountDown:()=>J,DATE_TIME_FORMAT:()=>b.a1,DB:()=>yn,DEFAULT_PROJECT:()=>b.O7,Depth:()=>de,Hash:()=>Ln.Z,Intl:()=>b.RW,Locale:()=>ze.go,LocaleProvider:()=>Xe.Z,NoNeedLocale:()=>We,Query:()=>Tn,ROUNDINGMODE:()=>b.Eo,SSRGlobalStore:()=>b.jw,STYLE:()=>b.BI,URI:()=>In,addHash:()=>_n,browser:()=>s,calc:()=>U,date:()=>ce,dateFns:()=>ce,debounce:()=>Mn,deepClone:()=>An,deepCopy:()=>An,depth:()=>ve,detect:()=>c,domainEqual:()=>kn,filterPathnameXss:()=>wn.LV,filterQueryXss:()=>wn.Rp,formatDateTime:()=>b.o0,formatMessage:()=>b.wv,formatNumber:()=>b.uf,formatRelativeTime:()=>b.SY,getCacheKeyFromLocaleAndProject:()=>b.nv,getFetchInfo:()=>Je.Bi,getNumberInfo:()=>b.Fg,getQuery:()=>Zn,getRouteInfo:()=>Nn,hasGlobalStore:()=>b.P$,hasSSRCache:()=>b.vN,i18n:()=>b.ag,i18nJsInit:()=>Ue,init:()=>b.S1,isSSR:()=>r.y,linkTo:()=>Cn,loadCSS:()=>Pn,loadI18n:()=>Ye.d,loadJS:()=>Fn,loadLink:()=>Pn,loadScript:()=>Fn,localeKeys:()=>qn,logger:()=>Kn.k,message:()=>he,noNeedLocaleJS:()=>Ge,notLocale:()=>je.j,okGlobal:()=>o.Z,okMarkLocaleStatus:()=>je.z,parseLocaleNumber:()=>b.AO,percent:()=>b.aQ,prefixLangPath:()=>Sn.zN,shortNumber:()=>b.M3,ssrCache:()=>b.tv,storage:()=>ye.Z,stringDownload:()=>Un,subscribe:()=>pe.Z,t:()=>ze.t,tJSX:()=>ze.X4,tJs:()=>He,throttle:()=>Hn,to:()=>bn,toLocale:()=>Ve.O4,toLocaleFactory:()=>Ve.rg,toLocaleForRaw:()=>Ve.iK,toLocaleWithJSX:()=>Ve.Lg,validator:()=>Wn});var r=t(378),o=t(3949),i=[{key:"Wechat",reg:/(micromessenger)\/([\d.]+)/},{key:"UC",reg:/(ucbrowser)\/([\d.]+)/},{key:"Edge",reg:/(edge | edg)\/([\d.]+)/},{key:"Opera",reg:/(opr)[/]([\d.]+)/},{key:"HeadlessChrome",reg:/(headlesschrome)[ /]([\d.]+)/},{key:"Chrome",reg:/(chrome)[ /]([\d.]+)/},{key:"Safari",reg:/(version)(applewebkit)[ /]([\d.]+).*(safari)[ /]([\d.]+)/},{key:"Safari",reg:/(webkit)[ /]([\d.]+).*(version)[ /]([\d.]+).*(safari)[ /]([\d.]+)/},{key:"Firefox",reg:/(firefox)\/([\d.]+)/},{key:"Webkit",reg:/(webkit)[ /]([\d.]+)/},{key:"Opera",reg:/(opera)(?:.*version|)[ /]([\d.]+)/},{key:"IE",reg:/(msie) ([\d.]+)/},{key:"IE",reg:/trident.*(rv)(?::| )([\d.]+)/},{key:"IE",reg:/compatible.*(mozilla)(?:.*? rv:([\d.]+)|)/}],a=(0,r.y)();function c(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),n=o.Z.locale,t=(void 0===n?"":n).replace("_","-"),r={language:a?t:navigator.language,languages:a?[t]:navigator.languages,isOKXDesktop:!1,OKXDesktopVersion:null};/(ipad|iphone|ipod)/.test(e)?r.isIOS=!0:r.isAndroid=!0;var c=[],s=null;if(!a&&navigator.brave)c=["","Brave"],s={key:"Brave"};else for(var l=0;l=1;if(v&&(r.isIOS=!0,r.isAndroid=!1,r.ipad=!0,r.mac=!1),(r.android||r.ipad||r.iphone||r.ipod||r["windows phone"])&&(r.isMobile=!0),(r.mac||r.linux||r.win)&&(r.isDesktop=!0),(r.isChrome||r.isOpera||r.isSafari)&&(r.isWebkit=!0),r.safari&&r.android){var f="android";d.browser=f,r[f]=!0}r.name=d.name,r.platform=d.platform,r.isPWA=function(){var e,n;return!a&&(!0===(null===(e=window)||void 0===e||null===(n=e.navigator)||void 0===n?void 0:n.standalone)||!!window.matchMedia("(display-mode: standalone)").matches)}(),v&&(r.platform="ipad",r.isDesktop=!1);var h=/okx\/([\d.]+).+electron\/[\d.]+/.exec(e);if(h&&h[1]&&(r.isOKXDesktop=!0,r.OKXDesktopVersion=h[1]),r.isSpider=/googlebot|ahrefsbot|bingbot|naverbot|yandexbot|yahoo! slurp|duckduckbot|ecosiabot|baiduspider/.test(e),r.isSpider){var p=/googlebot|ahrefsbot|bingbot|naverbot|yandexbot|yahoo! slurp|duckduckbot|ecosiabot|baiduspider/.exec(e),m="";switch(p&&p[0]){case"googlebot":m="google";break;case"ahrefsbot":m="ahrefs";break;case"bingbot":m="bing";break;case"naverbot":m="naver";break;case"yandexbot":m="yandex";break;case"yahoo! slurp":m="yahoo";break;case"duckduckbot":m="duckduckgo";break;case"ecosiabot":m="ecosia";break;case"baiduspider":m="baidu";break;default:m=""}r.spiderSource=m}return r}var s=a?new Proxy({},{get:function(e,n){return c(o.Z.userAgent)[n]}}):c(navigator.userAgent),l=t(2982),u=t(5671),d=t(3144),v=t(7326),f=t(9340),h=t(8557),p=t(1413),m=t(885),g=t(5825),y=t.n(g),b=t(4595),w=function(){return"zh_cn"===((o.Z||{}).locale||"").replace(/-/g,"_").toLowerCase()},_={returnString:!1,isConvertToZero:!1,exponentialAt:[-7,20]},x="K",k="M",Z="B",N="T",S="P",j="E",C="Z",E="Y",O=[{min:0,max:Math.pow(10,3),sign:""},{min:Math.pow(10,3),max:Math.pow(10,6),sign:x},{min:Math.pow(10,6),max:Math.pow(10,9),sign:k},{min:Math.pow(10,9),max:Math.pow(10,12),sign:Z},{min:Math.pow(10,12),max:Math.pow(10,15),sign:N},{min:Math.pow(10,15),max:Math.pow(10,18),sign:S},{min:Math.pow(10,18),max:Math.pow(10,21),sign:j},{min:Math.pow(10,21),max:Math.pow(10,24),sign:C},{min:Math.pow(10,24),max:1/0,sign:E}];function T(e){return e?+e:e}function L(e){return"string"!==typeof e&&"number"!==typeof e||(0==="".concat(e).trim().length||Number.isNaN(Number(e)))}function D(e,n){return n&&(void 0===e||Number.isNaN(e)||""===e||null===e)?0:e}function I(e,n){return!n&&e.endsWith("0")?new(y())(e).toFixed():e}var M=function(e){return"[object Object]"===Object.prototype.toString.call(e)};const A=(0,d.Z)((function e(n){var t=this;(0,u.Z)(this,e),this.BigNumber=g.BigNumber,this.convertNum=function(e){return D(e,t.calcConfig.isConvertToZero)},this.config=function(e){var n=t.calcConfig;t.calcConfig=(0,p.Z)((0,p.Z)({},n),e)},this.add=function(e,n,r){return(r||t.calcConfig).returnString?t.bigNumber(e).plus(t.convertNum(n)).toString():t.bigNumber(e).plus(t.convertNum(n)).toNumber()},this.sub=function(e,n,r){return(r||t.calcConfig).returnString?t.bigNumber(e).minus(t.convertNum(n)).toString():t.bigNumber(e).minus(t.convertNum(n)).toNumber()},this.mul=function(e,n,r){return(r||t.calcConfig).returnString?t.bigNumber(e).times(t.convertNum(n)).toString():t.bigNumber(e).times(t.convertNum(n)).toNumber()},this.div=function(e,n,r){var o=(r||t.calcConfig).returnString;return t.calcConfig.decimalPlaces=40,o?t.bigNumber(e).div(t.convertNum(n)).toString():t.bigNumber(e).div(t.convertNum(n)).toNumber()},this.safeDiv=function(e,n,r){var o=(r||t.calcConfig).returnString;return 0===Number(t.convertNum(n))?o?"0":0:t.div(e,t.convertNum(n),r)},this.pow=function(e,n,r){var o=(r||t.calcConfig).returnString;if(!Number.isInteger(+n))throw new Error("Exponent not an integer");if(+n<0)throw new Error("Exponent need more than 0");var i=t.bigNumber(e).exponentiatedBy(n);return o?i.toString():i.toNumber()},this.digitLength=function(e){return t.bigNumber(e).dp()},this.ceilTruncate=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=T(n);return r?t.bigNumber(e).toFixed(o,g.BigNumber.ROUND_CEIL):I(t.bigNumber(e).toFixed(Math.min(o,Number(t.digitLength(e))),g.BigNumber.ROUND_CEIL),r)},this.floorTruncate=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=T(n);return r?t.bigNumber(e).toFixed(o,g.BigNumber.ROUND_FLOOR):I(t.bigNumber(e).toFixed(Math.min(o,t.digitLength(e)),g.BigNumber.ROUND_FLOOR),r)},this.truncate=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=T(n);return r?t.bigNumber(e).toFixed(o):I(t.bigNumber(e).toFixed(Math.min(o,Number(t.digitLength(e)))),r)},this.ceilMul=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=T(r),a=t.bigNumber(e).times(n).toFixed(i,g.BigNumber.ROUND_CEIL);return o?a:t.bigNumber(a).toFixed(Math.min(i,Number(t.digitLength(a))),g.BigNumber.ROUND_FLOOR)},this.floorMul=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=T(r),a=t.bigNumber(e).times(n).toFixed(i,g.BigNumber.ROUND_FLOOR);return o?a:t.bigNumber(a).toFixed(Math.min(i,Number(t.digitLength(a))),g.BigNumber.ROUND_FLOOR)},this.ceilDiv=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=T(r),a=t.bigNumber(e).div(n).toFixed(i,g.BigNumber.ROUND_CEIL);return o?a:t.bigNumber(a).toFixed(Math.min(i,Number(t.digitLength(a))),g.BigNumber.ROUND_FLOOR)},this.safeCeilDiv=function(e,n,r,o){return 0===Number(n)?t.ceilDiv(0,1,r,o):t.ceilDiv(e,n,r,o)},this.floorDiv=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=T(r),a=t.bigNumber(e).div(n).toFixed(i,g.BigNumber.ROUND_FLOOR);return o?a:t.bigNumber(a).toFixed(Math.min(i,Number(t.digitLength(a))),g.BigNumber.ROUND_FLOOR)},this.safeFloorDiv=function(e,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:2,t=arguments.length>2?arguments[2]:void 0,r=O[0];if(L(e))return"NaN";var o=Math.abs(+e),i=O.find((function(e){var n=e.min,t=e.max;return o>=n&&o0?n-t:0,i=W(1e3*o);if(r.currData=(0,p.Z)({total:o},i),0==o)return r.finishFns.forEach((function(e){e(r.currData)})),void(r.currCountDown&&clearInterval(r.currCountDown));r.updateFns.forEach((function(e){e(r.currData)}))}),e),r},this.end=function(){return r.currCountDown&&clearInterval(r.currCountDown),r.updateFns=[],r.finishFns=[],r},this.addEventListener=function(e,n){switch(e){case q.UPDATE:n&&r.updateFns.push(n);break;case q.FINISH:n&&r.finishFns.push(n);break;default:throw new Error("No such event")}return r},this.removeEventListener=function(e,n){switch(e){case q.UPDATE:r.updateFns=r.updateFns.filter((function(e){return e!==n}));break;case q.FINISH:r.finishFns=r.finishFns.filter((function(e){return e!==n}));break;default:throw new Error("No such event")}return r},this.get=function(){return r.currData},this.format=function(){var e=r.currData||{},n=e.day,t=e.hour,o=e.minute,i=e.second;return"".concat(n,":").concat(t,":").concat(o,":").concat(i)},this.endTime=n,this.initTime=Date.now();var o=(null===t||void 0===t?void 0:t.step)||1;this.updateFns=[],this.finishFns=[],this.config=(0,p.Z)((0,p.Z)({},t),{},{interval:1e3*o})}));z.Event=q,z.Unit=G;var V=function(e){(0,f.Z)(t,e);var n=(0,h.Z)(t);function t(e,r){(0,u.Z)(this,t);var o=Date.now(),i=Math.floor((e-o)/1e3);return n.call(this,i,r)}return(0,d.Z)(t)}(z),X=function(e){(0,f.Z)(t,e);var n=(0,h.Z)(t);function t(e,r,o){(0,u.Z)(this,t);var i=e;return r===G.DAY?i=24*e*60*60:r===G.HOUR?i=60*e*60:r===G.MINUTE?i=60*e:r===G.SECOND&&(i=e),n.call(this,i,o)}return(0,d.Z)(t)}(z);z.Relative=X,z.Absolute=V,z.timeFormat=W;const J=z;var Y=function(e){return e>=10?e:"0".concat(e)},Q=function(e){return e?/^[0-9]*$/.test(e)?Number(e):e:null},$=function(e,n){var t=Q(e),r=t?new Date(t):new Date,o=r.getFullYear(),i=r.getMonth()+1,a=r.getDate();if("firstDayOfWeek"===n){if((a-=(r.getDay()-1+7)%7)<=0)a+=new Date(o,i,0).getDate(),(i-=1)<1&&(i=12,o-=1)}if("lastDayOfWeek"===n){var c=r.getDay();if(0!==c){a+=7-c;var s=new Date(o,i,0).getDate();a>s&&(a-=s,(i+=1)>12&&(i=1,o+=1))}}var l,u=r.getHours(),d=r.getMinutes(),v=r.getSeconds(),f=r.getMilliseconds(),h=12;return u>0&&(h=u>12?u-12:u),l=12===u&&0===d?"noon":u>=12?"pm":"am",{year:o,month:Y(i),monthNum:i,day:Y(a),dayNum:a,hour:Y(u),minute:Y(d),second:Y(v),millisecond:Y(f),hour12:h,ampm:l}},ee=function(e,n,t){var r=Number(e),o=t||new Date,i=new Date(o.getTime()),a=$(i),c=a.year,s=a.month,l=a.day,u=a.hour,d=a.minute,v=a.second,f=a.millisecond,h={"y+":function(){return i.setFullYear(Number(c)+r)},"M+":function(){return i.setMonth(Number(s)-1+r)},"d+":function(){return i.setDate(Number(l)+r)},"h+":function(){return i.setHours(Number(u)+r)},"m+":function(){return i.setMinutes(Number(d)+r)},"s+":function(){return i.setSeconds(Number(v)+r)},ms:function(){return i.setMilliseconds(Number(f)+r)}},p=h[Object.keys(h).find((function(e){return new RegExp("".concat(e)).test(n)}))];return p?p():i},ne=function(e){var n=$().year;return new Date(n,e,0)},te={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sept",10:"Oct",11:"Nov",12:"Dec"},re=s.isSafari,oe=s.isIOS,ie=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss",t=$(e,arguments.length>2?arguments[2]:void 0),r=t.year,o=t.month,i=t.monthNum,a=t.day,c=t.dayNum,s=t.hour,l=t.minute,u=t.second,d=t.ampm,v=t.hour12,f={yyyy:function(){return r},yy:function(){return r%100},M:function(){return i},MM:function(){return o},MMM:function(){return te[i]},d:function(){return c},dd:function(){return a},h:function(){return v},hh:function(){return s},mm:function(){return l},ss:function(){return u},bbb:function(){return d}};return n.replace(/([a-z])(\1)*/gi,(function(e){var n=f[e];return n?n():""}))},ae={"y+":"setFullYear","M+":"setMonth","d+":"setDate","h+":"setHours","m+":"setMinutes","s+":"setSeconds",ms:"setMilliseconds"};const ce={format:ie,formatToISOString:function(e){var n=Q(e);return(n?new Date(n):new Date).toISOString()},add:function(e,n,t){var r=ee(e,n,t);return new Date(r)},subtract:function(e,n,t){var r=ee(-e,n,t);return new Date(r)},set:function(e){var n=new Date,t=Object.keys(ae);return Object.entries(e).forEach((function(e){var r=t.find((function(n){return new RegExp("".concat(n)).test(e[0])}));ae[r]&&(n="M+".includes(r)?new Date(n[ae[r]](e[1]-1)):new Date(n[ae[r]](e[1])))})),n},get:function(e){var n=$(),t={"y+":n.year,"M+":n.month,"d+":n.day,"h+":n.hour,"m+":n.minute,"s+":n.second,ms:n.millisecond};return t[Object.keys(t).find((function(n){return/y\+|d\+|h\+/.test(n)&&new RegExp("".concat(n),"i").test(e)||new RegExp("".concat(n)).test(e)}))]||""},toObject:function(){return $()},toDate:function(e){var n=Q(e);return n?new Date(n):new Date},startOf:function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d",r=e||new Date,o={"y+":"yyyy-01-01 00:00:00","M+":"yyyy-MM-01 00:00:00","dw+":"yyyy-MM-dd 00:00:00","d+":"yyyy-MM-dd 00:00:00","h+":"yyyy-MM-dd hh:00:00","m+":"yyyy-MM-dd hh:mm:00"},i=Object.keys(o).find((function(e){return new RegExp("".concat(e)).test(t)}));return n="dw+"===i?ie(r,o[i],"firstDayOfWeek"):ie(r,o[i]),(re||oe)&&(n=n.replace(/-/g,"/")),n?new Date(n):""},endOf:function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d",r=e||new Date,o=$(r).month,i={"y+":"yyyy-12-dd 23:59:59","M+":"yyyy-MM-dd 23:59:59","dw+":"yyyy-MM-dd 00:00:00","d+":"yyyy-MM-dd 23:59:59","h+":"yyyy-MM-dd hh:59:59","m+":"yyyy-MM-dd hh:mm:59"},a=Object.keys(i).find((function(e){return new RegExp("".concat(e)).test(t)}));return n="dw+"===a?ie(r,i[a],"lastDayOfWeek"):ie(r,i[a]),/y+/.test(t)&&(n=ie(ne(12),i["y+"])),/M+/.test(t)&&(n=ie(ne(o),i["M+"])),(re||oe)&&(n=n.replace(/-/g,"/")),n?new Date(n):""},valueOf:function(){return(new Date).valueOf()}};var se=function(e){e.sort((function(e,n){return+n[0]-+e[0]}))},le={maxSize:200,needSum:!1,convertPrice:!1,convertAmount:!1,needOriginal:!1,needMerge:!0},ue=(0,d.Z)((function e(n){var t=this;(0,u.Z)(this,e),this.spliceMoreThanMaxInternal=function(e){var n=e.data,r=e.type,o=t.config.maxSize;n.length>o&&(0===r?n.splice(0,n.length-o):n.splice(o,n.length-o))},this.convertInternal=function(e){var n=t.config,r=n.convertPrice,o=n.convertAmount,i=n.needOriginal,a=i?(0,l.Z)(e):e,c=a[0],s=a[1];return r&&(a[0]=r({price:c,amount:s})),o&&(a[1]=o({price:c,amount:s})),i||(a[0]=+a[0],a[1]=+a[1]),a},this.addDataInternal=function(e){var n=e.data,r=e.type,o=0===r,i=o?t.askDepthCache:t.bidDepthCache,a=t.config.needOriginal;if(0===i.length){se(n),t.spliceMoreThanMaxInternal({data:n,type:r});var c=a?n:n.map(t.convertInternal);return o?t.askDepthCache=c:t.bidDepthCache=c,c}return n.forEach((function(e){var n=a?e:t.convertInternal(e),r=+n[0],o=n[1],c=i.findIndex((function(e){return+e[0]===r}));-1!==c?+o>0?i[c]=n:i.splice(c,1):+o>0&&i.push(n)})),se(i),t.spliceMoreThanMaxInternal({data:i,type:r}),i},this.getDepthInternal=function(e){var n=e.type,r=e.ladder,o=e.size,i=0===n,a=i?t.askDepthCache:t.bidDepthCache,c=t.config,s=c.needOriginal,u=c.needSum,d=c.needMerge;if(s&&(a=a.map(t.convertInternal)),a.length<1)return[];if(0===r||!d)return a;for(var v=[],f=[],h=-1,p=U.digitLength(r),m=i?a.length-1:0,g=0,y=a.length,b=0;b=10?Math.ceil(+U.div(x,r))*r:+U.ceilTruncate(x,p);else if(m++,0===(_=r>=10?Math.floor(+U.div(x,r))*r:+U.floorTruncate(x,p)))break;if(h!=_){if(v.length==o)break;(f=(0,l.Z)(w))[0]=_,h=_,u&&(g=+U.add(g,k),f.push(g)),v.push(f)}else{for(var Z=w.length,N=1;N=0;v--)c=+U.add(c,u[v][1]),u[v].push(c);else for(var f=0;f1?i-1:0),c=1;c=4))if(2===r){var i="en_US",a=o.Z&&o.Z.locale||ge.Z.get("locale")||ge.Z.get("language");if(2===r&&a!==i){var c=Ae.fetchConfigs.find((function(n){return n.project===e.project}));c.locale=i,Ae.locale=i,n((0,p.Z)({},c))}}else n((0,p.Z)({},e))}(e,Fe)},l=function(){Pe({project:n,version:a,locale:c,noCache:t,isDev:r},!1)};if(window&&window.indexedDB&&!t){var u=ye.Z.g.get(Ee)||{};(u[n]&&u[n][c]||"")===a?window&&window["".concat(n)]?Pe({project:n,version:a,locale:c,noCache:t},!1,!0):(0,be.VK)({project:n,version:a,locale:c},(function(e){if(e){var o=JSON.parse(e.data);o&&(window["".concat(n)]=o),a===e.version?Pe({project:n,version:a,locale:c,noCache:t,isDev:r},o):Se(i,s,l)}else Se(i,s,l)}),(function(){Se(i,s,l)})):window["".concat(n)]?Pe({project:n,version:a,locale:c,noCache:t,isDev:r},window["".concat(n)],!0):Se(i,s,l)}else Se(i,s,l)}function Ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,p.Z)({},e);n.project=(0,_e.jp)((null===n||void 0===n?void 0:n.project)||"");var t=n.isDev,i=n.needFetch,a=n.localeData,c=n.locale,s=n.project,l=s||"main";i||(De[l]=!(0,r.y)()&&window&&window[l]||{}),a&&t&&(Ze({isInDevMode:!0}),Ie[l]=a);var u={};t&&(u=a);var d=(0,p.Z)((0,p.Z)({},u),De[l]);if(i||(0,me.S1)(d,{locale:c||"en_US",project:l}),Oe&&Le){var v=!(0,r.y)()&&localStorage.getItem("ok_language"),f=JSON.parse(v)||{},h=(f["".concat(l,"_").concat(c.toLowerCase())]||f[l]||{}).localData;Ie[l]=h}if(Ae[l]=(0,p.Z)({},Me),Ae.locale=c,Ae.fetchModules.push(s),Ae.fetchConfigs.push(n),!(0,r.y)()&&s&&i)return o.Z&&o.Z.envSign&&"prod"!==o.Z.envSign&&Ze({fetchBaseUrl:(0,we.Z)().BASE_URL_PREVIEW}),1===n.noCdn&&Ze({fetchBaseUrl:(0,we.Z)().BASE_URL_NOCDN_PREVIEW}),2===n.noCdn&&Ze({fetchBaseUrl:(0,we.Z)().BASE_URL_NOCDN_PUBLISH}),De[s]={},Ae[s]=(0,p.Z)({},Me),Ze({usingRemote:!0}),Fe(n),new Promise((function(e){Be=e}))}function He(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).partName,i=t||Ae.fetchModules[0]||"main",a=De[i][e],c=Ae.locale||o.Z&&o.Z.locale||!(0,r.y)()&&ge.Z.get("locale")||!(0,r.y)()&&ge.Z.get("language")||"en_US";if(Ne.isInDevMode&&Ie[i]){var s=Ie[i][e];s&&(a=s)}if(!a)return"";if(a=a.replace(/\[#]/g," "),0===(Object.keys(n)||[]).length)return Re(e,a,t);var l="";return n&&(l=(0,b.wv)({project:i,locale:c},e,n,!0)),Re(e,l,t)}var Ke=(0,o.E)();const We=function(e){var n=e.content,t=void 0===n?"":n,r=Ke.okMarkNoNeedLocaleSign;return(0,je.j)(t,r)};var qe=(0,o.E)();const Ge=function(e){var n=qe.okMarkNoNeedLocaleSign;return(0,je.j)(e,n)};var ze=t(6883),Ve=t(4300),Xe=t(1677),Je=t(1411),Ye=t(6541),Qe=t(4165),$e=t(5861),en=(0,r.y)();function nn(e,n){var t=Number(localStorage[e]);return t=Number.isNaN(t)||t>9007199254740991?n:t>=n-1?t+1:1,localStorage[e]=t,t}var tn=function(){function e(n){(0,u.Z)(this,e),this.type=n}return(0,d.Z)(e,[{key:"postMessage",value:function(){en||nn(this.type,0)}},{key:"onMessage",value:function(e){var n=this;en||(window.onstorage=function(t){t.key===n.type&&e&&e()})}}]),e}(),rn=(0,o.E)(),on="object"===typeof t.g&&null!==t.g&&t.g.Object===Object&&t.g,an="object"===typeof rn&&null!==rn&&rn.Object===Object&&rn,cn="object"===typeof self&&null!==self&&self.Object===Object&&self,sn=an||on||cn||Function("return this")();function ln(e){var n=typeof e;return null!=e&&("object"===n||"function"===n)}function un(e,n,t){var r,i,a=o.Z||{},c=a.locale,s=a.ipRegion,l=a.envSign,u=a.langPath,d=a.userAgent,v=a.site;(0,_e.pH)(e,{project:null===rn||void 0===rn||null===(r=rn.__INIT_STATE__)||void 0===r||null===(i=r.appContext)||void 0===i?void 0:i.project,locale:c,ipRegion:s,envSign:l,langPath:u,userAgent:d,site:v,message:t},n)}var dn=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50;(0,u.Z)(this,e),this.cache=new Map,this.keysIndex=0,this.keys=Array.from(new Array(n))}return(0,d.Z)(e,[{key:"delete",value:function(e){this.keys=this.keys.map((function(n){return n===e?void 0:n})),this.keysIndex=(this.keysIndex-1)%this.keys.length,this.cache.delete(e)}},{key:"clear",value:function(){this.cache.clear(),this.keys.fill(void 0),this.keysIndex=0}},{key:"get",value:function(e){return this.cache.get(e)}},{key:"set",value:function(e,n){if(!this.keys.includes(e)){var t=this.keys[this.keysIndex];void 0!==t&&this.cache.delete(t),this.keys[this.keysIndex]=e,this.keysIndex=(this.keysIndex+1)%this.keys.length}this.cache.set(e,n)}}]),e}(),vn=function(){function e(){(0,u.Z)(this,e),this.queue=[],this.isProcessing=!1}return(0,d.Z)(e,[{key:"enqueue",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(n){var t=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){t.queue.push({fn:n,resolve:e,reject:r}),t.isProcessing||t.processQueue()})));case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()},{key:"processQueue",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(){var n,t,r,o,i;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==this.queue.length){e.next=3;break}return this.isProcessing=!1,e.abrupt("return");case 3:return this.isProcessing=!0,n=this.queue.shift(),t=n.fn,r=n.resolve,o=n.reject,e.prev=5,e.next=8,t();case 8:i=e.sent,r(i),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),o(e.t0);case 15:return e.next=17,this.processQueue();case 17:case"end":return e.stop()}}),e,this,[[5,12]])})));return function(){return e.apply(this,arguments)}}()}]),e}(),fn=new dn,hn=new vn,pn="idb",mn=new tn("idbDataChange");mn.onMessage((function(){fn.clear()}));var gn=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"FE";(0,u.Z)(this,e),this.dbInfo={dbName:n,indexInfo:[],options:{}},this.db={},this.store={},this.transaction={},this.versionChange=!1,this.dbData={}}return(0,d.Z)(e,[{key:"postMessage",value:function(){mn.postMessage()}},{key:"generateDbName",value:function(){return"OK_".concat(this.dbInfo.dbName.toUpperCase())}},{key:"getVersion",value:function(){return nn("version",1)}},{key:"basicOpenStore",value:function(e){var n=this,t=this.versionChange;return new Promise((function(r,o){var i,a,c=n.generateDbName();if(t){var s=n.getVersion();i=indexedDB.open(c,s)}else i=indexedDB.open(c);i.onupgradeneeded=function(e){try{var t,c,s,l=null===(t=i)||void 0===t?void 0:t.result;if(n.db=l,null!==l&&void 0!==l&&null!==(c=l.objectStoreNames)&&void 0!==c&&null!==(s=c.contains)&&void 0!==s&&s.call(c,n.dbInfo.storeName)){var u,d,v,f=null===(d=a=null===e||void 0===e||null===(u=e.target)||void 0===u?void 0:u.transaction)||void 0===d||null===(v=d.objectStore)||void 0===v?void 0:v.call(d,n.dbInfo.storeName);n.store=f}else{var h,p=null===l||void 0===l||null===(h=l.createObjectStore)||void 0===h?void 0:h.call(l,n.dbInfo.storeName,n.dbInfo.options);n.store=p,n.dbInfo.indexInfo.forEach((function(e){var t,r=e.indexName,o=e.keyPath,i=e.options;null===(t=n.store)||void 0===t||t.createIndex(r,o,i)}))}r(n)}catch(b){var m=b||{},g=m.name,y=m.message;un("".concat(pn,"-openDB-catch-err-in-upgrade"),pn,"".concat(g,": ").concat(y)),o(y)}},i.onsuccess=function(){try{var c,s=null===(c=i)||void 0===c?void 0:c.result;if(n.db=s,t)null===s||void 0===s||s.close();else{var l,u,d;n.db=s;var v="get"===e?"readonly":"readwrite";a=null===s||void 0===s||null===(l=s.transaction)||void 0===l?void 0:l.call(s,n.dbInfo.storeName,v),n.transaction=a;var f=null===(u=a)||void 0===u||null===(d=u.objectStore)||void 0===d?void 0:d.call(u,n.dbInfo.storeName);n.store=f,r(n)}}catch(g){var h=g||{},p=h.name,m=h.message;un("".concat(pn,"-openDB-catch-err-in-success"),pn,"".concat(p,": ").concat(m)),o(m)}},i.onerror=function(){var e,n,t,r=(null===(e=i)||void 0===e?void 0:e.error)||{},a=r.name,s=r.message;null!==s&&void 0!==s&&null!==(n=s.includes)&&void 0!==n&&n.call(s,"The connection was closed")||un("".concat(pn,"-openDB-catch-err-in-error"),pn,"".concat(a,": ").concat(s)),null!==s&&void 0!==s&&null!==(t=s.includes)&&void 0!==t&&t.call(s,"less than the existing version")?(indexedDB.deleteDatabase(c),o(new Error("".concat(s," Please reload the page!")))):o(s)},i.onblocked=function(){var e,n=(null===(e=i)||void 0===e?void 0:e.error)||{},t=n.name,r=n.message;un("".concat(pn,"-openDB-catch-block"),pn,"".concat(t,": ").concat(r)),o(new Error("Database is outdated, please reload the page!"))}}))}},{key:"openStore",value:function(){var n=(0,$e.Z)((0,Qe.Z)().mark((function n(t,r){var o;return(0,Qe.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(o=new e(this.dbInfo.dbName)).versionChange=!0,o.dbInfo.storeName=t,o.dbInfo.options=r,n.abrupt("return",o);case 5:case"end":return n.stop()}}),n,this)})));return function(e,t){return n.apply(this,arguments)}}()},{key:"deleteStore",value:function(e){if(en)return!1;try{var n,t,r,o,i;if(null!==(n=this.db)&&void 0!==n&&null!==(t=n.objectStoreNames)&&void 0!==t&&null!==(r=t.contains)&&void 0!==r&&r.call(t,e))null===(o=this.db)||void 0===o||null===(i=o.deleteObjectStore)||void 0===i||i.call(o,e);return!0}catch(l){var a=l||{},c=a.name,s=a.message;return un("".concat(pn,"-deleteDB-catch-err"),pn,"".concat(c,": ").concat(s)),!1}}},{key:"createIndex",value:function(e,n,t){return!en&&(this.dbInfo.indexInfo.length>0||(this.versionChange=!0,this.dbInfo.indexInfo.push({indexName:e,keyPath:n,options:t})),!0)}},{key:"getCacheData",value:function(e){var n="".concat(this.dbInfo.dbName,"_").concat(this.dbInfo.storeName,"_").concat(e);return fn.get(n)}},{key:"setCacheData",value:function(e,n){fn.set("".concat(this.dbInfo.dbName,"_").concat(this.dbInfo.storeName,"_").concat(e),n)}},{key:"getApi",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(n,t){var r=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!en){e.next=2;break}return e.abrupt("return","");case 2:return e.next=4,this.basicOpenStore("get");case 4:return e.abrupt("return",new Promise((function(e,o){var i,a=n();a.onsuccess=function(){var n,o;(i=null===a||void 0===a?void 0:a.result,t&&i&&r.setCacheData(t,i),r.versionChange)&&(r.versionChange=!1,null===(n=r.db)||void 0===n||null===(o=n.close)||void 0===o||o.call(n),e(i))},r.versionChange||(r.transaction.oncomplete=function(){var n,t;e(i),null===(n=r.db)||void 0===n||null===(t=n.close)||void 0===t||t.call(n)}),a.onerror=function(e){var n,t,i,a=(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.error)||{},c=a.name,s=a.message;un("".concat(pn,"-getDB-catch-err"),pn,"".concat(c,": ").concat(s)),o(e),null===(t=r.db)||void 0===t||null===(i=t.close)||void 0===i||i.call(t)}})));case 5:case"end":return e.stop()}}),e,this)})));return function(n,t){return e.apply(this,arguments)}}()},{key:"get",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(n){var t,r=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=4;break}if(!(t=this.getCacheData(n))){e.next=4;break}return e.abrupt("return",t);case 4:return e.abrupt("return",hn.enqueue((function(){return r.getApi((function(){var e,t;return null===(e=r.store)||void 0===e||null===(t=e.get)||void 0===t?void 0:t.call(e,n)}),n)})));case 5:case"end":return e.stop()}}),e,this)})));return function(n){return e.apply(this,arguments)}}()},{key:"getAll",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(){var n=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",hn.enqueue((function(){return n.getApi((function(){var e,t;return null===(e=n.store)||void 0===e||null===(t=e.getAll)||void 0===t?void 0:t.call(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"getKey",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(n){var t=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",hn.enqueue((function(){return t.getApi((function(){var e,r;return null===(e=t.store)||void 0===e||null===(r=e.getKey)||void 0===r?void 0:r.call(e,n)}))})));case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()},{key:"getAllKeys",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(){var n=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",hn.enqueue((function(){return n.getApi((function(){var e,t;return null===(e=n.store)||void 0===e||null===(t=e.getAllKeys)||void 0===t?void 0:t.call(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"count",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(){var n=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",hn.enqueue((function(){return n.getApi((function(){var e,t;return null===(e=n.store)||void 0===e||null===(t=e.count)||void 0===t?void 0:t.call(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"setApi",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(n){var t=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!en){e.next=2;break}return e.abrupt("return","");case 2:return e.next=4,this.basicOpenStore("set");case 4:return e.abrupt("return",new Promise((function(e,r){var o=n();o.onsuccess=function(){var n,r;t.versionChange&&(t.versionChange=!1,e(!0),null===(n=t.db)||void 0===n||null===(r=n.close)||void 0===r||r.call(n))},t.versionChange||(t.transaction.oncomplete=function(){var n,r;e(!0),null===(n=t.db)||void 0===n||null===(r=n.close)||void 0===r||r.call(n)}),o.onerror=function(e){var n,o,i,a=(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.error)||{},c=a.name,s=a.message;un("".concat(pn,"-setDB-catch-err"),pn,"".concat(c,": ").concat(s)),r(!1),null===(o=t.db)||void 0===o||null===(i=o.close)||void 0===i||i.call(o)}})));case 5:case"end":return e.stop()}}),e,this)})));return function(n){return e.apply(this,arguments)}}()},{key:"set",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(n){var t,r,o,i=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=null===(t=this.dbInfo.options)||void 0===t?void 0:t.keyPath)&&(o=n[r],this.setCacheData(o,n),this.postMessage()),e.abrupt("return",hn.enqueue((function(){return i.setApi((function(){var e,t;return null===(e=i.store)||void 0===e||null===(t=e.put)||void 0===t?void 0:t.call(e,n)}))})));case 3:case"end":return e.stop()}}),e,this)})));return function(n){return e.apply(this,arguments)}}()},{key:"delete",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(n){var t=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",hn.enqueue((function(){return t.setApi((function(){var e,r;return fn.delete("".concat(t.dbInfo.dbName,"_").concat(t.dbInfo.storeName,"_").concat(n)),null===(e=t.store)||void 0===e||null===(r=e.delete)||void 0===r?void 0:r.call(e,n)}))})));case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()},{key:"clear",value:function(){var e=(0,$e.Z)((0,Qe.Z)().mark((function e(){var n=this;return(0,Qe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",hn.enqueue((function(){return n.setApi((function(){var e,t;return fn.clear(),null===(e=n.store)||void 0===e||null===(t=e.clear)||void 0===t?void 0:t.call(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}],[{key:"openStore",value:function(){var n=(0,$e.Z)((0,Qe.Z)().mark((function n(t,r){var o;return(0,Qe.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(o=new e).versionChange=!0,o.dbInfo.storeName=t,o.dbInfo.options=r,n.abrupt("return",o);case 5:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}()}]),e}();const yn=gn;const bn=function(e,n){return e.then((function(e){return[null,e]})).catch((function(e){return n?[(0,p.Z)((0,p.Z)({},e),n),void 0]:[e,void 0]}))};var wn=t(3159);const _n=function(e,n){var t=(0,r.y)()?{hash:"",pathname:"/",search:""}:window.location,o=t.hash,i=t.pathname,a=t.search,c=o.substr(1),s=new URLSearchParams(c);return s.set(e,(0,wn.Rp)(n)),"".concat(i).concat(a,"#").concat(s.toString())};var xn=function(e){return e.split(".").slice(-2).join(".")};const kn=function(e,n){if((0,r.y)())return!1;var t=null!==n&&void 0!==n?n:window.location.href,o=document.createElement("a");o.href=(0,wn.Rp)(e);try{var i=o.hostname,a=new URL(t).hostname;return i===a||xn(i)===xn(a)}catch(c){return!1}};const Zn=function(e){var n={},t=(0,r.y)()?"":window.location.search;return t.includes("?")&&t.substring(t.indexOf("?")+1).split("&").forEach((function(e){var t=e.split("="),r=(0,m.Z)(t,2),o=r[0],i=r[1];n[o]=(0,wn.Rp)(i)})),e?n[e]:n};const Nn=function(){var e,n;if(!(0,r.y)()){var t=window.location,i=t.host,a=t.pathname;return{host:i,pathname:(0,wn.LV)(a)}}var c=(null===(e=(0,o.E)().ssrUtils)||void 0===e||null===(n=e.getRouteInfo)||void 0===n?void 0:n.call(e))||{},s=c.host,l=void 0===s?"":s,u=c.pathname,d=void 0===u?"":u;return{host:l,pathname:(0,wn.LV)(d)}};var Sn=t(1747),jn={REPLACE:1,ASSIGN:2,JUMP_WITHOUT_REFRESH:3};function Cn(e){var n;if((0,r.y)())return null;if("string"!==typeof e)return null;for(var t=(0,Sn.zN)(e),o=arguments.length,i=new Array(o>1?o-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:this.queryParams;if("object"!==typeof e)return null;var n={};Object.keys(e).sort().forEach((function(t){n[t]=e[t]}));var t=Object.entries(n).map((function(e){var n=(0,m.Z)(e,2),t=n[0],r=n[1];return void 0===r||null===r?"".concat(t):"".concat(t,"=").concat(r)})).join("&");return t}},{key:"remove",value:function(e){try{return delete this.queryParams[e],!0}catch(n){return!1}}},{key:"pick",value:function(e){var n=this;if("string"===typeof e)return"".concat(e,"=").concat(this.get(e));if(Array.isArray(e)){var t={};return e.forEach((function(e){var r=n.queryParams[e];void 0!==r&&null!==r&&(t[e]=r)})),this.stringify(t)}return null}}]),e}();const Tn=On;var Ln=t(8381),Dn=(0,r.y)();const In=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,u.Z)(this,e);var t=Dn?"":window.location;try{this.url=Dn?"":new URL(n)}catch(r){this.url=t}this.hash=new Ln.Z(Dn?"":this.url.hash),this.query=new Tn(Dn?"":this.url.search)}return(0,d.Z)(e,[{key:"get",value:function(){var e=this.url.origin,n=this.query.stringify(),t=this.hash.stringify();return n&&(e+="?".concat(n)),t&&(e+="#".concat(t)),e}}]),e}();const Mn=function(e,n,t){var r,o,i,a,c,s,l=0,u=!1,d=!1,v=!0,f=!n&&0!==n&&"function"===typeof sn.requestAnimationFrame;if("function"!==typeof e)throw new TypeError("Expected a function");function h(n){var t=r,i=o;return r=void 0,o=void 0,l=n,a=e.apply(i,t)}function p(e){var t=e-s;return void 0===s||t>=n||t<0||d&&e-l>=i}function m(e){return c=void 0,v&&r?h(e):(r=void 0,o=void 0,a)}function g(e,n){return f?(sn.cancelAnimationFrame(c),sn.requestAnimationFrame(e)):setTimeout(e,n)}function y(){var e=Date.now();if(p(e))return m(e);c=g(y,function(e){var t=e-l,r=n-(e-s);return d?Math.min(r,i-t):r}(e))}function b(){for(var e=Date.now(),t=p(e),i=arguments.length,v=new Array(i),f=0;f{"use strict";t.d(n,{Z:()=>c});var r=t(885),o=t(5671),i=t(3144),a=(0,t(378).y)();const c=function(){function e(n){(0,o.Z)(this,e),this.hashParams={};var t=a?"":window.location.hash;this.hash=n||t,this.parseHash()}return(0,i.Z)(e,[{key:"parseHash",value:function(){var e=this;(this.hash.startsWith("#")?this.hash.substr(1):this.hash).split("&").forEach((function(n){var t=n.split("="),o=(0,r.Z)(t,2),i=o[0],a=o[1];i&&a&&e.set(i,a)}))}},{key:"get",value:function(e){return e?this.hashParams[e]:null}},{key:"getAll",value:function(){return this.hashParams}},{key:"set",value:function(e,n){try{return this.hashParams[e]=n,!0}catch(t){return!1}}},{key:"remove",value:function(e){try{return delete this.hashParams[e],!0}catch(n){return!1}}},{key:"stringify",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hashParams;if("object"!==typeof e)return null;var n={};return Object.keys(e).sort().forEach((function(t){n[t]=e[t]})),Object.entries(n).map((function(e){var n=(0,r.Z)(e,2),t=n[0],o=n[1];return void 0===o||null===o?"".concat(t):"".concat(t,"=").concat(o)})).join("&")}},{key:"pick",value:function(e){var n=this;if("string"===typeof e)return"".concat(e,"=").concat(this.get(e));if(Array.isArray(e)){var t={};return e.forEach((function(e){var r=n.hashParams[e];void 0!==r&&null!==r&&(t[e]=r)})),this.stringify(t)}return null}}]),e}()},3159:(e,n,t)=>{"use strict";t.d(n,{LV:()=>c,Rp:()=>s,h0:()=>l});var r={"&":"&","<":"<",">":">",'"':""","'":"'"},o={"<":"<",">":">"};function i(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.replace(/[&<>"']/g,(function(e){return n?"":r[e]}))}function a(e){return e.replace(/(javascript:|vbscript:|view-source:)*/gi,"").replace(/(expression|eval|alert|function|setTimeout|setInterval)/gi,"").replace(/(window\.location|window\.|\.location|document\.cookie|window\.cookie|cookie|document\.|alert\(.*?\)|window\.open\(.*?\)|document\.write\(.*?\))/gi,"").replace(/1&&void 0!==arguments[1]&&arguments[1];return e&&"string"===typeof e?i(a(e),n):e}function l(e){return e&&"string"===typeof e?function(e){return e.replace(/[<>]/g,(function(e){return o[e]}))}(a(e)):e}},1714:(e,n,t)=>{"use strict";t.d(n,{EY:()=>o,sW:()=>r});var r={Accordion:"Accordion",Alert:"Alert",Animation:"Animation",Avatar:"Avatar",Badge:"Badge",Breadcrumbs:"Breadcrumbs",Button:"Button",Carousel:"Carousel",Cascader:"Cascader",Checkbox:"Checkbox",CoachMark:"CoachMark",DatePicker:"DatePicker",Dialog:"Dialog",DragDrop:"DragDrop",Drawer:"Drawer",Dropdown:"Dropdown",Empty:"Empty",Form:"Form",HyperLink:"HyperLink",Icon:"Icon",Input:"Input",LoadableLoading:"LoadableLoading",Loader:"Loader",Mask:"Mask",Message:"Message",Notification:"Notification",OverflowScroll:"OverflowScroll",Pagination:"Pagination",PickerView:"PickerView",Picture:"Picture",Popover:"Popover",Popup:"Popup",PowerLink:"PowerLink",QRCode:"QRCode",Radio:"Radio",Select:"Select",Skeleton:"Skeleton",Slider:"Slider",Steps:"Steps",Switch:"Switch",Table:"Table",Tabs:"Tabs",Tooltip:"Tooltip",Upload:"Upload",VideoAnimation:"VideoAnimation",VirtualList:"VirtualList",PureForm:"PureForm",SvgAnimation:"SvgAnimation",CanvasAnimation:"CanvasAnimation"},o={ESC:27}},8607:(e,n,t)=>{"use strict";t.d(n,{Z:()=>s,r:()=>c});var r=t(4942),o=t(1413),i=t(6179),a=[i.Z.BTC,i.Z.ETH,i.Z.OKTC,i.Z.TRX,i.Z.BSC,i.Z.POLYGON,i.Z.ZKSYNC,i.Z.STARKNET,i.Z.ARBITRUM,i.Z.OPTIMISM,i.Z.ETHW,i.Z.SUI,i.Z.COSMOS,i.Z.USDT,i.Z.AVAX,i.Z.LTC,i.Z.DIS,i.Z.FTM,i.Z["OKTC-TEST"],i.Z["X1-TEST"],i.Z.ETC,i.Z.SOL,i.Z.APTOS,i.Z.BEACON,i.Z.BCH,i.Z.DASH,i.Z.DOGE,i.Z.GNOSIS,i.Z.KLAYTN,i.Z.RONIN,i.Z.LINEA,i.Z["POLYGON-ZKEVM"],i.Z.SCROLL,i.Z.BASE,i.Z.KAVA,i.Z.OPBNB,i.Z["GOERLI-TEST"],i.Z["SEPOLIA-TEST"],i.Z.AMOY,i.Z["POLYGON-ZKEVM-TEST"],i.Z.MUMBAI,i.Z.CANTO,i.Z.MANTA],c=a.reduce((function(e,n){return(0,o.Z)((0,o.Z)({},e),{},(0,r.Z)({},n.chain,n))}),{});const s=a},161:(e,n,t)=>{"use strict";t.d(n,{H5:()=>o,WD:()=>i,dU:()=>r,jK:()=>c,zN:()=>a});var r="accept_cookie",o="oklink.unaccept_cookie",i="1",a="oklink_multi_search_from_url",c="oklink_user_switch_lang"},1738:(e,n,t)=>{"use strict";t.d(n,{Z:()=>c});t(7363);var r=t(5640),o=t.n(r);const i="wrapper_uxa5b";var a=t(5263);const c=function(e){var n=e.children,t=e.className;return(0,a.jsx)("div",{className:o()(i,t),children:n})}},9772:(e,n,t)=>{"use strict";t.d(n,{Jv:()=>i,zt:()=>a});var r=t(7363),o=(0,r.createContext)(),i=function(){return(0,r.useContext)(o)},a=o.Provider},5830:(e,n,t)=>{"use strict";var r=t(7363),o=t.n(r),i=t(3271),a=t(6541),c=t(3949),s=t(1677),l=t(5643),u=(t(6580),t(3400),t(4788)),d=t(6274),v=t(378),f=t(5640),h=t.n(f),p=t(7006),m=t(7562),g=t(885),y=t(8339),b=function(e){var n=(0,r.useState)(e),t=(0,g.Z)(n,2),o=t[0],i=t[1],a=(0,r.useTransition)(),c=(0,g.Z)(a,2)[1],s=(0,r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),t=0;t1&&void 0!==arguments[1]?arguments[1]:[],t=(0,r.useTransition)(),o=(0,g.Z)(t,2)[1],i=(0,r.useCallback)((function(){for(var n=arguments.length,t=new Array(n),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};return(0,pe.t)(e,n,{useBr:!1})},ge=function(e){var n=function(e){var n=(0,N.Dq)(e);return"/".concat(n[0])===c.Z.langPath&&n.shift(),"/explorer"==="/".concat(n[0])&&n.shift(),n[0]}(e);return n&&de.Z[n.toUpperCase()]?de.Z[n.toUpperCase()]:null};const ye="darkBox_Hbi0a",be="headerBox_JxcnX",we="explorerName_Gp5zq",_e="backIcon_rejSc";const xe=function(e){var n=e.SSRPathname,t=ge(n);return(0,r.useEffect)((function(){var e=document.getElementById("headerSubContainer"),n=function(n){e.style.top="".concat(n,"px")},t=sessionStorage.getItem("banner_height_sticky")||0;document.getElementById("risk-banner-root")&&"trigger"!==t&&(n(Number(t)),sessionStorage.removeItem("banner_height"),sessionStorage.removeItem("banner_height_sticky")),p.Z.listen("global_risky_banner_fixed",(function(e){var t=e.top,r=e.hasRemove;n(t),r||(sessionStorage.setItem("banner_height","trigger"),sessionStorage.setItem("banner_height_sticky","trigger"))}))}),[]),null!==t&&void 0!==t&&t.name?(0,B.jsx)("div",{className:h()(ye),children:(0,B.jsxs)("div",{className:h()(be,"pageCenter"),children:[(0,B.jsxs)("a",{className:we,href:(0,N._D)(),children:[(0,B.jsx)(m.Z,{className:h()(_e,"okds-arrow-chevron-left-centered-sm")}),me("oklinkexplorer_top_head_dropdown")]}),(0,v.y)()?"OKLINK_HEADER_SEARCH":(0,B.jsx)(he,{isOKX:!0})]})}):null};var ke=function(){return(0,v.y)()?"OKX_HEADER":(0,B.jsx)(xe,{})};const Ze=(0,r.memo)(ke);var Ne=t(1413),Se=t(8607),je=t(5115),Ce=t(8086),Ee=function(e){var n,t,r=0,o=window.document.body,i=window.document.querySelector("html");e?(r=window.scrollY,o.style.top="".concat(-r,"px"),o.style.position="fixed",i.style.height="100vh",i.style.height="".concat(window.innerHeight,"px"),o.style.width="100%"):(r=Math.abs(parseFloat(null===o||void 0===o||null===(n=o.style)||void 0===n||null===(t=n.top)||void 0===t?void 0:t.replace(/-?(\w+)px$/i,"$1"))),o.style.position="",o.style.top="",o.style.width="",i.style.height="",window.scrollTo(0,r))},Oe=function(){var e,n,t;if((0,v.y)())return 0;var r=window.innerWidth-((null===(e=window)||void 0===e||null===(n=e.document)||void 0===n||null===(t=n.body)||void 0===t?void 0:t.clientWidth)||0);return Math.max(r,0)},Te=function(e){var n=window.document.body,t=document.querySelector(".headerContainer"),r={},o=Oe(),i={};e?(r={width:"calc(100vw - ".concat(o,"px)"),overflow:"hidden",height:"100vh"},i={width:"100vw"}):(r={overflow:"",height:"",width:""},i={width:""}),Object.assign(n.style||{},r),Object.assign(t.style||{},i)};const Le=function(e){(0,r.useEffect)((function(){!function(e){var n,t,r,o,i=window.document.body,a=Number(i.getAttribute("data-frozen-count")||0),c="fixed"===(null===i||void 0===i||null===(n=i.style)||void 0===n?void 0:n.position)&&"100%"===(null===i||void 0===i||null===(t=i.style)||void 0===t?void 0:t.width),s="hidden"===(null===i||void 0===i||null===(r=i.style)||void 0===r?void 0:r.overflowY)&&"100vh"===(null===i||void 0===i||null===(o=i.style)||void 0===o?void 0:o.height),l=c||s,u="sm"===(0,Ce.Z)().media?Ee:Te;l&&(u=c?Ee:Te),e?(l?a++:u(!0),i.setAttribute("data-frozen-count",String(a))):(l&&a<=0?(u(!1),a=0):a=a<=0?0:a-1,i.setAttribute("data-frozen-count",String(a)))}(e)}),[e])};var De=function(){var e=(0,r.useState)(!1),n=(0,g.Z)(e,2),t=n[0],o=n[1];return(0,r.useEffect)((function(){o(!0)}),[]),t},Ie=function(){var e=(0,r.useState)({chainOrderFoot:Se.Z,chainOrderHeadSm:Se.Z}),n=(0,g.Z)(e,2),t=n[0],o=n[1];return(0,r.useEffect)((function(){(0,je.e)().then((function(e){o((0,Ne.Z)((0,Ne.Z)({},e),{},{chainOrderFoot:e.chainOrderFoot.length?e.chainOrderFoot:Se.Z,chainOrderHeadSm:e.chainOrderHeadSm.length?e.chainOrderHeadSm:Se.Z})),e.chainOrderFoot.forEach((function(e){var n=Se.Z.find((function(n){return n.chain===e.chain}));n&&(n.logo=e.logo)}))})).catch((function(e){(0,u.jU)(e)}))}),[Se.Z]),{explorerListInfo:t}},Me=t(1657),Ae=t(4282),Be=t(2504),Re={language:"language",explorer:"explorer",aml:"aml",chaintelligence:"chaintelligence",loginInfo:"loginInfo",none:"none"},Pe=t(4647);const Fe="wrapper_eyrS6",Ue="innerWrapper_CyejS",He="tip_QzwL5",Ke="btn_bPS8p";var We=function(e){e?Pe.Z.set(k.H5,k.WD):Pe.Z.remove(k.H5)};const qe=function(e){var n=e.SSRUnAcceptCookie,t=(0,r.useMemo)((function(){return(0,v.y)()?n:(0,Ae.Qs)(k.dU)!==k.WD}),[n]),o=(0,r.useState)(t),i=(0,g.Z)(o,2),a=i[0],c=i[1],s=(0,r.useCallback)((function(){(0,Ae.QS)(k.dU,k.WD),c(!1),We(!1),(0,S.BR2)()}),[]);return(0,r.useEffect)((function(){if(!navigator.userAgent.includes("Googlebot")){var e=(0,Ae.Qs)(k.dU)!==k.WD;We(e)}}),[]),(0,B.jsx)(x.Z,{visible:a,children:(0,B.jsx)("div",{className:h()(Fe,"pageCenter cookieTips"),children:(0,B.jsxs)("div",{className:h()(Ue,"pageCenter"),children:[(0,B.jsx)("p",{className:He,children:(0,N.O4)("oklinkexplorer_tracker_homepage_cookie_tips")}),(0,B.jsx)("span",{className:Ke,onClick:s,children:(0,N.O4)("oklinkexplorer_tracker_homepage_cookie_btn_accept")})]})})})};var Ge=t(4942);const ze="wrapper_CogSF",Ve="rightArrow_LHno1",Xe="top_D2cXX",Je="title_Ss3ML",Ye="desc_ddcJ0",Qe="links_q6Xgx",$e="item_iO4LY";const en=function(e){var n=e.list,t=e.title,r=e.desc,o=e.href;return(0,B.jsxs)("div",{className:ze,children:[(0,B.jsx)("a",{className:"flex",href:o,rel:"",children:(0,B.jsxs)("div",{className:Xe,children:[(0,B.jsxs)("div",{children:[(0,B.jsx)("h3",{className:Je,children:t}),(0,B.jsx)("span",{className:Ye,children:r})]}),(0,B.jsx)(m.Z,{className:h()("okds-arrow-pointer-right-sm",Ve)})]})}),(0,B.jsx)("div",{className:Qe,children:n.map((function(e,n){return(0,B.jsxs)("a",{href:e.href,className:$e,rel:"",children:[(0,B.jsx)("h4",{className:Je,children:e.title}),(0,B.jsx)("span",{className:Ye,children:e.desc}),(0,B.jsx)(m.Z,{className:h()("okds-arrow-pointer-right-sm",Ve)})]},n)}))})]})};const nn=function(){var e=[{title:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_tools"),desc:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_tools_desc"),href:Z.Z.chaintelligenceTools},{title:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_situation"),desc:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_situation_desc"),href:Z.Z.chaintelligenceSituation},{title:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_report"),desc:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_report_desc"),href:Z.Z.chaintelligenceReport}];return(0,B.jsx)(en,{list:e,title:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_about"),desc:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_about_desc"),href:Z.Z.TIAN_YAN_PRE})};var tn=t(9772),rn=t(4723);const on=function(){var e=Ie().explorerListInfo,n=(0,y.Z)(),t=n.isXl,o=n.media,i=n.isSm,a=[[Se.r.BTC,Se.r.USDTS,Se.r.DOGE,Se.r.LTC,Se.r.BCH,Se.r.DASH],[Se.r.ETH,Se.r.BSC,Se.r.POLYGON,Se.r.AVAXC,Se.r.FTM,Se.r.GNOSIS],[Se.r.KLAYTN,Se.r.RONIN,Se.r.ETHW,Se.r.ETF,Se.r.BEACON,Se.r.ETC],[Se.r.ZKSYNC,Se.r.STARKNET,Se.r.ARBITRUM,Se.r.OPTIMISM,Se.r.LINEA,Se.r.SCROLL],[Se.r.OKEXCHAIN,Se.r.TRON,Se.r.SUI,Se.r.COSMOS,Se.r.KAVA,Se.r.SOLANA,Se.r.APT,Se.r.X1_TEST,Se.r.OKEXCHAIN_TEST]],c=[[Se.r.BTC,Se.r.USDTS,Se.r.DOGE,Se.r.LTC,Se.r.BCH,Se.r.DASH,Se.r.ZKSYNC,Se.r.STARKNET,Se.r.ARBITRUM,Se.r.OPTIMISM,Se.r.SCROLL],[Se.r.ETH,Se.r.BSC,Se.r.POLYGON,Se.r.KLAYTN,Se.r.RONIN,Se.r.ETHW,Se.r.AVAXC,Se.r.FTM,Se.r.GNOSIS,Se.r.ETF,Se.r.ETC,Se.r.BEACON],[Se.r.OKEXCHAIN,Se.r.TRON,Se.r.SUI,Se.r.COSMOS,Se.r.KAVA,Se.r.SOLANA,Se.r.APT,Se.r.X1_TEST,Se.r.OKEXCHAIN_TEST]];return{list:(0,r.useMemo)((function(){if(i)return[];var n=o[0].toUpperCase()+o[1];return(0,rn.k)(e["chainOrderHead".concat(n)])?e["chainOrderHead".concat(n)]:t?a:c}),[t,e,o,i]),explorerMap:Se.r}},an="wrapper_KtIZA",cn="column_x6Fgd",sn="item_V3JpM",ln="pictureClassName_TbW0v",un="logo_L49W3";const dn=function(){var e=(0,y.Z)().media,n=(0,tn.Jv)().expandType,t=on().list,o=(0,r.useRef)(null),i=(0,r.useRef)([]);return(0,r.useEffect)((function(){i.current=[]}),[e]),(0,r.useEffect)((function(){n!==Re.none&&i.current.forEach((function(e){e.scrollTo({top:0})}))}),[e,n]),(0,B.jsx)("div",{ref:o,className:an,children:t.map((function(e,n){return(0,B.jsx)(r.Fragment,{children:(0,B.jsx)("div",{className:cn,ref:function(e){e&&!i.current.includes(e)&&i.current.push(e)},children:e.map((function(e,n){return e?(0,B.jsxs)("a",{className:sn,rel:"noreferrer",href:(0,N._D)(e.href),children:[e.logo&&(0,B.jsx)(O.Z,{size:24,src:e.logo,altValue:e.name,className:un,pictureClassName:ln}),e.name]},n):null}))})},n)}))})};const vn=function(){var e=[{title:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml_kyt"),desc:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml_kyt_desc"),href:Z.Z.amlKyt},{title:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml_kya"),desc:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml_kya_desc"),href:Z.Z.amlKya},{title:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml_audit"),desc:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml_audit_desc"),href:Z.Z.amlAudit}];return(0,B.jsx)(en,{list:e,title:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml_whyaml"),desc:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml_whyaml_desc"),href:Z.Z.whyAml})};var fn=t(4925),hn=["loadComponent","loading"],pn=function(e){var n=e.loadComponent,t=e.loading,o=void 0===t?null:t,i=(0,fn.Z)(e,hn),a=(0,r.useMemo)((function(){return(0,r.lazy)(n)}),[]);return(0,B.jsx)(r.Suspense,{fallback:o,children:(0,B.jsx)(a,(0,Ne.Z)({},i))})};const mn=(0,r.memo)(pn);var gn=["loadComponent"];const yn=function(e){var n=e.loadComponent,t=(0,fn.Z)(e,gn),o=(0,r.useState)(!1),i=(0,g.Z)(o,2),a=i[0],c=i[1],s=(0,r.useCallback)((function(){c(!0),window.removeEventListener("mousemove",s)}),[]);return(0,r.useEffect)((function(){return window.addEventListener("mousemove",s),function(){window.removeEventListener("mousemove",s)}}),[s]),(0,B.jsx)(x.Z,{visible:a,children:(0,B.jsx)(mn,(0,Ne.Z)({loadComponent:n},t))})};const bn=function(e){var n=e.type,o=void 0===n?"":n,i=e.SSRRoute,a=(0,r.useMemo)((function(){return(0,Ge.Z)((0,Ge.Z)((0,Ge.Z)((0,Ge.Z)((0,Ge.Z)({},Re.language,(0,B.jsx)(yn,{loadComponent:function(){return t.e(618).then(t.bind(t,9618))},SSRRoute:i})),Re.aml,(0,B.jsx)(vn,{})),Re.chaintelligence,(0,B.jsx)(nn,{})),Re.explorer,(0,B.jsx)(dn,{})),Re.loginInfo,(0,B.jsx)(yn,{loadComponent:function(){return t.e(13).then(t.bind(t,8013))}}))}),[i]);return a[o]?(0,B.jsx)("div",{className:"w-full",children:(0,B.jsx)("div",{className:"pageCenter",children:a[o]})}):null},wn="wrapper_RBlRx",_n="langIcon_WF9Jg";var xn=["visible","timeout","children","className","classNames","setTransitionRef"],kn="unmount",Zn="entering",Nn="entered",Sn="exiting",jn="exited",Cn=0;const En=function(e){var n=e.visible,t=e.timeout,i=e.children,a=e.className,c=e.classNames,s=e.setTransitionRef,l=(0,fn.Z)(e,xn),u=o().useRef(null),d=function(e,n,t){var i=o().useState(kn),a=(0,g.Z)(i,2),c=a[0],s=a[1],l=o().useCallback((function(e){e!==c&&s(e)}),[c]);return(0,r.useEffect)((function(){if(e){if(clearTimeout(0),c===kn)return void l(jn);c===jn&&t.current&&t.current.clientWidth,c!==jn&&c!==Sn||(l(Zn),Cn=setTimeout((function(){l(Nn)}),n))}else clearTimeout(Cn),c===Nn||c===Zn?(l(Sn),setTimeout((function(){l(kn)}),n)):l(kn)}),[t,e,l,c,n]),c}(n,t,u),v=h()(a,"".concat(c,"-").concat(d));return d===kn?null:(0,B.jsx)("div",(0,Ne.Z)((0,Ne.Z)({},l),{},{className:v,ref:function(e){u.current=e,null===s||void 0===s||s(e)},style:(0,Ne.Z)({transitionDuration:"".concat(t,"ms")},l.style),children:i}))};var On=["visible","timeout","children","className","timingFunc"],Tn="oklink-transition-fade",Ln=function(e){var n=e.visible,t=e.timeout,r=e.children,o=e.className,i=e.timingFunc,a=(0,fn.Z)(e,On),c=h()(Tn,(0,Ge.Z)({},"".concat(Tn,"-").concat(i),i),o);return(0,B.jsx)(En,(0,Ne.Z)((0,Ne.Z)({},a),{},{visible:n,timeout:t,className:c,classNames:Tn,children:r}))};Ln.defaultProps={timeout:300};const Dn=Ln,In="subNav_NbD7G",Mn="noBackgroundTransition_ELdDN",An="noTransition_CWS0c",Bn="subNavActive_OxmQK",Rn="subNavContent_ELmii",Pn="subNavContentActive_UFy0a",Fn="mask_VgICH";const Un=function(e){var n=e.expandType,t=e.activeExpandType,o=e.children,i=e.closePopup,a=e.className,c=(0,r.useRef)(null),s=(0,y.Z)().isSm,l=(0,r.useRef)(i);l.current=i;var u=n===t,d=(0,r.useRef)(u),v=(0,r.useRef)(n);(0,r.useEffect)((function(){v.current=n}),[n]),d.current=u,(0,r.useEffect)((function(){var e=function(e){if((!s||!(0,N.pr)())&&d.current){for(var n=e.target;n;){if(n===c.current)return;n=n.parentNode}l.current()}};return document.body.addEventListener("click",e),function(){document.body.removeEventListener("click",e)}}),[s]);var f=!u&&n!==Re.none;return Le(u),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Dn,{visible:u,className:h()(Fn,f&&An),onMouseEnter:i}),(0,B.jsx)("div",{ref:c,className:h()(In,u&&Bn,a,f&&An,u&&v.current!==Re.none&&Mn),children:(0,B.jsx)("div",{className:h()(Rn,u&&Pn),children:o})})]})};const Hn=function(e){var n=e.expandType,t=e.setExpandType,r=e.SSRRoute;return c.Z.isApp?null:(0,B.jsxs)("div",{className:wn,children:[(0,B.jsx)(m.Z,{className:h()("okds-language",_n),onClick:function(e){e.stopPropagation(),n!==Re.language?t(Re.language):t(Re.none)}}),(0,B.jsx)(Un,{activeExpandType:Re.language,expandType:n,closePopup:function(){t(Re.none)},children:(0,B.jsx)(bn,{type:Re.language,SSRRoute:r})})]})},Kn="logoBox_Nyusp",Wn="logo_wA843",qn="darkExpandLogo_BlJ63";var Gn=function(e){var n=e.isExpand;return(0,B.jsx)("a",{className:Kn,href:(0,N._D)("/"),children:(0,B.jsx)(O.Z,{lazyload:!1,className:h()(Wn,n&&qn),width:120,height:24,alt:(0,j.O4)("view_seo_img_oklink_logo"),src:"".concat((0,N.uL)(),"/cdn/assets/imgs/235/75B1E2A7FDA6CE3D.png")})})};const zn=(0,r.memo)(Gn);t(8794);var Vn=t(1533),Xn=t.n(Vn),Jn=t(2744),Yn=t(1367),Qn=t(3980),$n=function(e){var n,t,r=0,o=Yn.Z.document.body,i=Yn.Z.document.querySelector("html");(0,v.y)()||(e?(r=Yn.Z.scrollY,o.style.top="".concat(-r,"px"),o.style.position="fixed",i.style.height="100vh",i.style.height="".concat(Yn.Z.innerHeight,"px"),o.style.width="100%"):(r=Math.abs(parseFloat(null===o||void 0===o||null===(n=o.style)||void 0===n||null===(t=n.top)||void 0===t?void 0:t.replace(/-?(\w+)px$/i,"$1"))),o.style.position="",o.style.top="",o.style.width="",i.style.height="",Yn.Z.scrollTo(0,r)))},et=function(e){var n=Yn.Z.document.body,t=Yn.Z.document.documentElement;if(!(0,v.y)()){var r,o,i={},a=Yn.Z.innerWidth-((null===Yn.Z||void 0===Yn.Z||null===(r=Yn.Z.document)||void 0===r||null===(o=r.body)||void 0===o?void 0:o.clientWidth)||0);if(e){var c,s,l="".concat(a<0?0:a,"px");i={overflow:"hidden",height:"100vh"},(0,Qn.X2)()?i.marginRight=l:i.width="calc(100vw - ".concat(l,")"),t.style.backgroundColor=null===Yn.Z||void 0===Yn.Z||null===(c=Yn.Z.getComputedStyle)||void 0===c||null===(s=c.call(Yn.Z,n))||void 0===s?void 0:s.backgroundColor}else i={overflow:"",height:"",width:"",marginRight:""},t.style.backgroundColor=null;Object.assign(n.style||{},i)}};const nt={frozenScroll:function(e){if(Jn.Z.data.frozenScroll){var n=Yn.Z.document.body;if(!(0,v.y)()){var t,r,o,i,a=Number(n.getAttribute("data-frozen-count")||0),c="fixed"===(null===n||void 0===n||null===(t=n.style)||void 0===t?void 0:t.position)&&"100%"===(null===n||void 0===n||null===(r=n.style)||void 0===r?void 0:r.width),s="hidden"===(null===n||void 0===n||null===(o=n.style)||void 0===o?void 0:o.overflowY)&&"100vh"===(null===n||void 0===n||null===(i=n.style)||void 0===i?void 0:i.height),l=c||s,u="sm"===(0,Ce.Z)().media?$n:et;l&&(u=c?$n:et),e?(l?a++:u(!0),n.setAttribute("data-frozen-count",String(a))):(l&&a<=0?(u(!1),a=0):a=a<=0?0:a-1,n.setAttribute("data-frozen-count",String(a)))}}},withoutProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if("[object Object]"!==Object.prototype.toString.call(e))throw new Error("withoutProps Error: The first param of withoutProps function must be a pure object!");if("[object Array]"!==Object.prototype.toString.call(n))throw new Error("withoutProps Error: The first param of propsToRemove function must be an array!");return Object.keys(e).reduce((function(t,r){return n.includes(r)||(t[r]=e[r]),t}),{})}};var tt=t(7762);var rt=["visible","timeout","children","className","classNames","setTransitionRef","renderDom"],ot="unmount",it="entering",at="entered",ct="exiting",st="exited",lt=0;const ut=function(e){var n=e.visible,t=e.timeout,r=e.children,i=e.className,a=e.classNames,c=e.setTransitionRef,s=e.renderDom,l=(0,fn.Z)(e,rt),u=o().useRef(null),d=function(e,n,t){var r=o().useState(ot),i=(0,g.Z)(r,2),a=i[0],c=i[1],s=o().useCallback((function(e){e!==a&&c(e)}),[a]);return o().useEffect((function(){if(e){if(clearTimeout(0),a===ot)return void s(st);a===st&&t.current&&t.current.clientWidth,a!==st&&a!==ct||(s(it),lt=setTimeout((function(){s(at)}),n))}else clearTimeout(lt),a!==at&&a!==it||(s(ct),setTimeout((function(){s(ot)}),n))}),[t,e,s,a,n]),a}(n,t,u),v=h()(Jn.Z.data.popupClassName,Jn.Z.data.okdNamespace,i,"".concat(a,"-").concat(d));return d!==ot||s?(0,B.jsx)("div",(0,Ne.Z)((0,Ne.Z)({},l),{},{className:v,ref:function(e){u.current=e,null===c||void 0===c||c(e)},dir:Jn.Z.data.popupDir,style:(0,Ne.Z)({transitionDuration:"".concat(t,"ms")},l.style),children:r})):null};var dt=t(9427),vt=["timeout","transitionDuration","visible","children","isFade","placement","className","timingFunc"],ft="".concat(dt.Bq,"-transition-slide"),ht=function(e){var n=e.timeout,t=e.transitionDuration,r=e.visible,o=e.children,i=e.isFade,a=e.placement,c=e.className,s=e.timingFunc,l=(0,fn.Z)(e,vt),u=h()(ft,"".concat(ft,"-").concat(a),(0,Ge.Z)({},"".concat(ft,"-fade"),i),(0,Ge.Z)({},"".concat(ft,"-").concat(s),s),c);return(0,B.jsx)(ut,(0,Ne.Z)((0,Ne.Z)({},l),{},{visible:r,timeout:null!==n&&void 0!==n?n:t,className:u,classNames:ft,children:o}))};ht.defaultProps={placement:"bottom",transitionDuration:300,visible:!1,className:"",isFade:!1};const pt=ht;var mt=["visible","timeout","transitionDuration","children","className","timingFunc"],gt="".concat(dt.Bq,"-transition-fade"),yt=function(e){var n=e.visible,t=e.timeout,r=e.transitionDuration,o=e.children,i=e.className,a=e.timingFunc,c=(0,fn.Z)(e,mt),s=h()(gt,(0,Ge.Z)({},"".concat(gt,"-").concat(a),a),i);return(0,B.jsx)(ut,(0,Ne.Z)((0,Ne.Z)({},c),{},{visible:n,timeout:null!==t&&void 0!==t?t:r,className:s,classNames:gt,children:o}))};yt.defaultProps={transitionDuration:300,visible:!1,className:""};const bt=yt;function wt(){Yn.Z.okd||(Yn.Z.okd={})}var _t="zIndexFlag",xt={next:function(e){var n,t=(n=_t,wt(),Yn.Z.okd[n]||1e4);return e&&(t=3e4),e||function(e,n){wt(),Yn.Z.okd[e]=n}(_t,t+1),{value:t}}},kt=["timeout","visible","onClick","className","style","autoIndex"],Zt="".concat(dt.Bq,"-mask"),Nt=function(e){var n=e.timeout,t=e.visible,r=e.onClick,o=e.className,i=e.style,a=e.autoIndex,c=(0,fn.Z)(e,kt),s=a?(0,Ne.Z)({zIndex:xt.next().value},i):i;return(0,B.jsx)(bt,(0,Ne.Z)({visible:t,className:h()(Jn.Z.data.okdNamespace,Zt,o),style:s,timeout:n,onClick:r},c))};Nt.defaultProps={visible:!1,onClick:function(){},timeout:300,className:"",autoIndex:!1};const St=Nt;var jt={top:"top",topLeft:"topLeft",topRight:"topRight",right:"right",rightTop:"rightTop",rightBottom:"rightBottom",left:"left",leftTop:"leftTop",leftBottom:"leftBottom",bottom:"bottom",bottomLeft:"bottomLeft",bottomRight:"bottomRight"};var Ct=t(1714),Et=["className","maskClassName","visible","onClose","placement","children","noPadding","mask","getContainer","freezeBgScroll","escToClose"],Ot="".concat(dt.Bq,"-drawer"),Tt="".concat(Ot,"-mask"),Lt=function(){},Dt=function e(n){var t,i,a=Jn.Z.mergeProps(e.defaultProps,n,Jn.Z.componentNames.Drawer),c=a.className,s=a.maskClassName,l=a.visible,u=a.onClose,d=a.placement,f=a.children,p=a.noPadding,m=a.mask,g=a.getContainer,y=a.freezeBgScroll,b=a.escToClose,w=(0,fn.Z)(a,Et),_="".concat(Ot,"-").concat(d),x=o().useRef(null),k=o().useCallback((function(e){x.current=e}));!function(e){var n=(0,r.useRef)(!1);function t(){n.current&&nt.frozenScroll(!1)}(0,r.useEffect)((function(){return n.current=e,e&&nt.frozenScroll(e),t}),[e])}(l&&y),function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"click",o=Array.isArray(t)?t:[t],i=(0,r.useRef)(e);(0,r.useEffect)((function(){i.current=e}),[e]),(0,r.useEffect)((function(){i.current=e}),[e]),(0,r.useEffect)((function(){var e,t=function(e){var t=n.current;t&&!t.contains(e.target)&&i.current(e)},r=(0,tt.Z)(o);try{for(r.s();!(e=r.n()).done;){var a=e.value;Yn.Z.document.addEventListener(a,t)}}catch(c){r.e(c)}finally{r.f()}return function(){var e,n=(0,tt.Z)(o);try{for(n.s();!(e=n.n()).done;){var r=e.value;Yn.Z.document.removeEventListener(r,t)}}catch(c){n.e(c)}finally{n.f()}}}),[o,n])}((function(){null===u||void 0===u||u()}),x),t=Ct.EY.ESC,i=function(){l&&b&&(null===u||void 0===u||u())},o().useEffect((function(){var e=function(e){e.keyCode===t&&i()};return Yn.Z.addEventListener("keyup",e),function(){Yn.Z.removeEventListener("keyup",e)}}),[t,i]);var Z=(0,B.jsxs)(o().Fragment,{children:[m&&(0,B.jsx)(St,{visible:l,onClick:u,timeout:500,timingFunc:"cubic",className:"".concat(Tt," ").concat(s)}),(0,B.jsx)(pt,(0,Ne.Z)((0,Ne.Z)({},w),{},{visible:l,className:h()(Ot,p?"no-padding":"",c,!m&&_),placement:d,setTransitionRef:m?void 0:k,timingFunc:"cubic",timeout:400,isFade:!0,children:f}))]}),N=g();return N?(0,v.y)()?Z:Xn().createPortal(Z,N):Z};Dt.defaultProps={onClose:Lt,placement:jt.right,noPadding:!1,className:"",maskClassName:"",mask:!0,freezeBgScroll:!0,getContainer:Lt,escToClose:!1},Dt.DIRECTION=jt;const It=Dt;const Mt="tabBox_eIREv",At="listBox_r25Wr",Bt="icon_DPRH9",Rt="prev_GaqZO",Pt="next_TtGZc",Ft="item_z3WGe",Ut="active_vXIoq",Ht="none_O1H9e";const Kt=function(e){var n=e.list,t=e.activeId,o=e.onChange,i=void 0===o?function(){}:o,a=(0,r.useRef)(),c=(0,r.useRef)(),s=(0,r.useRef)(),l=(0,r.useState)(!0),u=(0,g.Z)(l,2),d=u[0],v=u[1],f=(0,r.useState)(!0),p=(0,g.Z)(f,2),y=p[0],b=p[1],w=(0,r.useCallback)((function(e){return 0===e?c:e===n.length-1?s:void 0}),[n]),_=(0,r.useCallback)((function(){var e=a.current,n=e.getBoundingClientRect().width,t=e.scrollWidth,r=e.scrollLeft;t>n?0===r?(v(!0),b(!1)):(v(!1),b(!0)):(v(!0),b(!0))}),[]);return(0,r.useEffect)((function(){return _(),window.addEventListener("resize",_),function(){window.removeEventListener("resize",_)}}),[]),(0,B.jsxs)("div",{className:Mt,children:[(0,B.jsx)("div",{ref:a,className:At,children:null===n||void 0===n?void 0:n.map((function(e,n){return e.href?(0,B.jsx)("a",{href:e.href,ref:w(n),className:h()(Ft),rel:"noopener noreferrer",children:e.name},e.id):(0,B.jsx)("div",{className:h()(t===e.id&&Ut,Ft),onClick:function(){i(e.id)},ref:w(n),children:e.name},e.id)}))}),(0,B.jsx)("div",{onClick:function(){v(!0),b(!1),c.current.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},className:h()(Rt,d&&Ht),children:(0,B.jsx)(m.Z,{className:h()(Bt,"okds-arrow-chevron-right-centered-sm")})}),(0,B.jsx)("div",{onClick:function(){b(!0),v(!1),s.current.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},className:h()(Pt,y&&Ht),children:(0,B.jsx)(m.Z,{className:h()(Bt,"okds-arrow-chevron-right-centered-sm")})})]})},Wt={menuBox:"menuBox_iIMyV",mobileMenu:"mobileMenu_QFOPi",drawerBox:"drawerBox_Jxn1K",topBox:"topBox_smtCV",close:"close_r4JtV",navs:"navs_NUm3v",useInfo:"useInfo_zZc2g",explorerBox:"explorerBox_MpbrW",iconWrapper:"iconWrapper_rpLYk"},qt="login_ddh0I";const Gt=function(e){var n=e.className,t=(0,r.useCallback)((function(e){e.preventDefault(),(0,S.iLO)(),(0,v.y)()||window.utils.ont.toLogin().catch((function(){}))}),[]);return(0,B.jsx)("a",{href:Z.Z.login,className:h()(qt,n),onClick:t,rel:"",children:(0,N.O4)("oklinkexplorer_tracker_nav_login_text")})},zt="login_oc2IL",Vt="userIconBox_VPVrc",Xt="userIcon_XWodL",Jt="phone_iM5ao",Yt="wrapper_d2vEg",Qt="arrow_Pwiel",$t="arrowRotate_haPBt";const er=function(e){var n=e.isLoginInfo,r=void 0===n||n,o=e.expandType,i=e.setExpandType,a=void 0===i?function(){}:i,c=(0,tn.Jv)(),s=c.isLogin,l=c.userInfo,u=(0,y.Z)().isMd,d=De();return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(x.Z,{visible:d&&!s,children:(0,B.jsxs)("div",{children:[(0,B.jsx)(Gt,{}),(0,B.jsx)("a",{href:Z.Z.REGISTER_PATH,className:zt,onClick:S.ajM,children:(0,N.O4)("oklinkexplorer_tracker_nav_signup_text")})]})}),(0,B.jsx)(x.Z,{visible:d&&s,children:(0,B.jsx)(mn,{loadComponent:function(){return t.e(289).then(t.bind(t,5289))},renderLabel:function(e){return(0,B.jsx)("div",{className:h()("flex-1 flex-between-center",Yt),children:(0,B.jsxs)("div",{className:"flex-start-center",children:[(0,B.jsx)("div",{className:Vt,children:(0,B.jsx)(m.Z,{className:h()("okds-profile",Xt),onClick:function(e){e.stopPropagation(),o!==Re.loginInfo?a(Re.loginInfo):a(Re.none)}})}),(0,B.jsxs)(x.Z,{visible:r,children:[(0,B.jsx)("span",{className:Jt,children:l.nickName}),(0,B.jsx)(m.Z,{className:h()("okds-arrow-chevron-down-sm",Qt,e&&$t)})]})]})})}})}),(0,B.jsx)(x.Z,{visible:u,children:(0,B.jsx)(Un,{activeExpandType:Re.loginInfo,expandType:o,closePopup:function(){a(Re.none)},children:(0,B.jsx)(bn,{type:Re.loginInfo})})})]})},nr="wrapper_MJZUB",tr="labelWrapper_SXVSL",rr="chainLogo_uIk1c",or="chainName_hKvUM";var ir=function(e){var n=e.item;return(0,B.jsxs)("div",{className:tr,children:[(0,B.jsx)(O.Z,{className:rr,size:24,src:n.logo,altValue:n.name}),(0,B.jsx)("span",{className:or,children:n.name})]})};const ar=function(){var e=(0,tn.Jv)().explorerListInfo,n=(0,r.useCallback)((function(e){(0,S.yLI)({chain_name:e.name})}),[]);return(0,B.jsx)("div",{className:nr,children:e.chainOrderHeadSm.map((function(e,t){return(0,B.jsx)(r.Fragment,{children:(0,B.jsx)("a",{onClick:function(){n(e)},href:e.href,children:(0,B.jsx)(ir,{item:e})})},t)}))})};const cr=function(e){var n=e.className,t=(0,r.useState)(!1),o=(0,g.Z)(t,2),i=o[0],a=o[1],c=(0,y.Z)(),s=c.isSm,l=c.isMd,u=(0,r.useCallback)((function(){i||(0,S.i1O)(),a(!i)})),d=[{name:(0,N.O4)("oklinkexplorer_tracker_nav_explorer_title"),id:0},{name:(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml"),id:1},{name:(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_title"),id:2},{name:(0,N.O4)("oklink_head_apis_text"),href:Z.Z.solution,id:3}],v=(0,r.useMemo)((function(){return{0:(0,B.jsxs)("div",{className:Wt.explorerBox,children:[s&&(0,B.jsx)(ar,{}),l&&(0,B.jsx)(dn,{})]}),1:(0,B.jsx)(vn,{}),2:(0,B.jsx)(nn,{})}}),[s,l]),f=(0,r.useState)(0),p=(0,g.Z)(f,2),b=p[0],w=p[1],_=(0,r.useCallback)((function(e){var n;(0,S.LxW)({navigation_name:null===(n=d[b])||void 0===n?void 0:n.name}),w(e)}),[]);return(0,r.useEffect)((function(){var e=function(){};return document.body.addEventListener("touchstart",e),function(){document.body.removeEventListener("touchstart",e)}}),[]),(0,B.jsx)(B.Fragment,{children:(0,B.jsxs)("div",{className:h()(Wt.menuBox,n),children:[(0,B.jsx)(m.Z,{className:h()("okds-hamburger",Wt.mobileMenu),onClick:u}),(0,B.jsxs)(It,{visible:i,onClose:u,placement:It.DIRECTION.right,className:Wt.drawerBox,children:[(0,B.jsxs)("div",{className:h()(Wt.topBox,"flex-between-center"),children:[(0,B.jsx)(O.Z,{src:"".concat((0,N.uL)(),"/cdn/assets/imgs/235/41A1A90E5BD3F11C.png"),className:Wt.logo,altValue:"oklink",width:106,height:18}),(0,B.jsx)("div",{className:Wt.iconWrapper,children:(0,B.jsx)(m.Z,{className:h()("okds-close",Wt.close),onClick:u})})]}),(0,B.jsx)("div",{className:Wt.useInfo,children:(0,B.jsx)(er,{})}),(0,B.jsx)("div",{className:Wt.navs,children:(0,B.jsx)(Kt,{activeId:b,list:d,onChange:_})}),v[b]]})]})})};var sr=t(1738);const lr="userBorder_oGLhF",ur="userIcon_XQJTY";const dr=function(e){var n=e.className,t=e.expandType,r=e.setExpandType,o=(0,tn.Jv)().isLogin,i=De();return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(x.Z,{visible:i&&!o,children:(0,B.jsx)(Gt,{className:n})}),(0,B.jsx)(x.Z,{visible:i&&o,children:(0,B.jsx)("div",{className:n,children:(0,B.jsx)(sr.Z,{children:(0,B.jsx)("div",{className:lr,onClick:function(e){e.stopPropagation(),t!==Re.loginInfo?r(Re.loginInfo):r(Re.none)},children:(0,B.jsx)(m.Z,{className:h()("okds-profile",ur)})})})})}),o&&i&&(0,B.jsx)(Un,{activeExpandType:Re.loginInfo,expandType:t,closePopup:function(){r(Re.none)},children:(0,B.jsx)(bn,{type:Re.loginInfo})})]})},vr="darkBox_ZntO3",fr="darkBoxExpand_Q1vGS",hr="headerBox_DlYfW",pr="gapLine_IlFTJ",mr="expand_GSH1U",gr="navPart_yo_xA",yr="navLink_htlE6",br="actions_T1TnI",wr="mobileUserInfo_nTlu1",_r="login_I7_Su";var xr=function(e){var n=e.expandType,t=e.type,r=e.setExpandType;return(0,B.jsx)(Un,{closePopup:function(){r(Re.none)},expandType:n,activeExpandType:t,children:(0,B.jsx)(bn,{type:t})})},kr=function(){var e=(0,y.Z)(),n=e.isSm,t=e.isMobile,o=De(),i=(0,r.useState)(!(0,v.y)()&&!!window.utils.ont.isLogin()),a=(0,g.Z)(i,1)[0],c=(0,r.useMemo)((function(){return o?(0,v.y)()?{}:_.Z.g.get("profile")||{}:{}}),[o]),s=(0,r.useState)(Re.none),l=(0,g.Z)(s,2),u=l[0],d=l[1],f=u!==Re.none,p=Ie().explorerListInfo,m=(0,r.useCallback)((function(e,n){e.stopPropagation(),u!==n&&d(n)}),[u]);(0,r.useEffect)((function(){n&&u===Re.loginInfo&&d(Re.none)}),[n,u]),(0,r.useEffect)((function(){t&&[Re.explorer,Re.aml,Re.chaintelligence].includes(u)&&d(Re.none)}),[t,u]),(0,r.useEffect)((function(){(0,Ae.Qs)(k.jK)&&((0,Ae.Du)(k.jK),a&&(0,Me.TC)())}),[]);var b=Oe();return(0,B.jsxs)(tn.zt,{value:{isLogin:a,userInfo:c,explorerListInfo:p,isExpand:f,expandType:u,setExpandType:d},children:[(0,Be.J)()?"OKLINK_HEADER_COOKIE_TIP":(0,B.jsx)(qe,{}),(0,B.jsx)("div",{className:h()(vr,f&&fr),style:{paddingRight:f?b:0},children:(0,B.jsxs)("div",{className:h()(hr,"pageCenter"),children:[(0,B.jsx)(zn,{isExpand:f}),(0,B.jsx)("div",{className:h()(pr,f&&mr)}),(0,B.jsxs)("div",{className:gr,children:[(0,B.jsxs)("span",{className:yr,onClick:function(e){m(e,Re.explorer)},onMouseEnter:function(){d(Re.explorer)},onMouseLeave:function(){d(Re.none)},children:[(0,N.O4)("oklinkexplorer_tracker_nav_explorer_title"),(0,B.jsx)(xr,{type:Re.explorer,expandType:u,setExpandType:d})]}),(0,B.jsxs)("span",{className:yr,onClick:function(e){m(e,Re.aml)},onMouseEnter:function(){d(Re.aml)},onMouseLeave:function(){d(Re.none)},children:[(0,N.O4)("oklinkexplorer_tracker_nav_onchainaml"),(0,B.jsx)(xr,{type:Re.aml,expandType:u,setExpandType:d})]}),(0,B.jsxs)("span",{className:yr,onClick:function(e){m(e,Re.chaintelligence)},onMouseEnter:function(){d(Re.chaintelligence)},onMouseLeave:function(){d(Re.none)},children:[(0,N.O4)("oklinkexplorer_tracker_nav_chaintelligence_title"),(0,B.jsx)(xr,{type:Re.chaintelligence,expandType:u,setExpandType:d})]}),(0,B.jsx)("a",{href:Z.Z.solution,className:yr,children:(0,N.O4)("oklink_head_apis_text")}),(0,Be.J)()?"OKLINK_HEADER_SEARCH":(0,B.jsx)(he,{isExpand:f})]}),(0,B.jsxs)("div",{className:br,children:[!n&&(0,B.jsx)(dr,{expandType:u,setExpandType:d,className:h()(wr,a&&_r)}),(0,Be.J)()?"OKLINK_HEADER_LANGUAGE_CONTENT_PLACEHOLDER":(0,B.jsx)(Hn,{expandType:u,setExpandType:d}),(0,B.jsx)(cr,{})]})]})})]})};const Zr=(0,r.memo)(kr);window.okui||Object.defineProperty(window,"okui",{value:{},writable:!1,enumerable:!0}),(0,a.d)(d.Q).then((function(e){var n=c.Z.isRenderByNode,t=(c.Z.site.is||{oklink:!0}).oklink,r=l.Z.document.querySelector(".headerContainer");if(r){var o=(0,B.jsx)(s.Z,{fetchConfig:d.Q,localeData:e,children:t?(0,B.jsx)(Zr,{}):(0,B.jsx)(Ze,{isOKX:!0})});if(n)(0,i.a)(r,o,{onRecoverableError:function(e){var n;"prod"===c.Z.envSign&&e?null===(n=window.OkPerf)||void 0===n||n.customLog({type:"hydrate"}):(0,u.ZT)(e)}});else(0,i.s)(r).render(o)}})).catch(u.ZT)},6580:(e,n,t)=>{var r=t(7061).default,o=t(7156).default;(0,t(9483).isSSR)()||window.addEventListener("load",o(r().mark((function e(){var n,t,o,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("swCache=enable",n="serviceWorker"in navigator,t=window.navigator.userAgent.indexOf("Mobile")>-1,o=document.cookie.indexOf("swCache=enable")>-1,t||!n||!o){e.next=10;break}return e.next=7,navigator.serviceWorker.register("/sw.js",{scope:"/"});case 7:(i=e.sent).installing&&i.installing.addEventListener("statechange",(function(e){"activated"===e.target.state&&i.active.postMessage({cdnBaseUrl:window.okGlobal.cdnBaseUrl})})),i&&i.active&&i.active.postMessage({cdnBaseUrl:window.okGlobal.cdnBaseUrl});case 10:case"end":return e.stop()}}),e)}))))},1657:(e,n,t)=>{"use strict";t.d(n,{f5:()=>p,TC:()=>m});var r=t(1413),o=t(8607),i=t(6382),a=t(4723),c=t(4165),s=t(5861),l=t(7822),u="post";const d=function(e){var n=e.prefix,t=void 0===n?"":n;return function(){var e=(0,s.Z)((0,c.Z)().mark((function e(n){var r,o,i,a,s,d,v,f,h,p;return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.method,o=void 0===r?"GET":r,i=n.url,a=void 0===i?"":i,s=n.data,d=n.params,v=n.handler,f=o.toLowerCase(),h=t+a,f!==u){e.next=9;break}return e.next=6,l.Z[f](h,s);case 6:p=e.sent,e.next=12;break;case 9:return e.next=11,l.Z[f](h,{params:s||d});case 11:p=e.sent;case 12:return e.abrupt("return",v?v(p):p);case 13:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()};var v=d({prefix:"/api/explorer/v2/"}),f=d({prefix:"/v3/"}),h=function e(n){return(0,a.k)(n)?n.map((function(n){return(0,a.k)(n)?e(n):o.r[n.chain]?(0,r.Z)((0,r.Z)({},n),{},{href:(0,i._D)("/".concat(n.indexPageUrl)),name:n.fullName,children:o.r[n.chain].children}):null})).filter((function(e){return!!e})):[]},p=function(){return v({url:"index/all-chain-order",handler:function(e){var n=(0,a.K)(e)?e:{};return(0,r.Z)((0,r.Z)({},n),{},{chainOrderHeadSm:h(n.chainOrderHeadSm),chainOrderHeadMd:h(n.chainOrderHeadMd),chainOrderHeadLg:h(n.chainOrderHeadLg),chainOrderHeadXl:h(n.chainOrderHeadXl),chainOrderFoot:h(n.chainOrderFoot)})}})},m=function(){return f({url:"users/support/current/lang",method:u})}},6382:(e,n,t)=>{"use strict";t.d(n,{XT:()=>_,uL:()=>p,dP:()=>x,bx:()=>Z,Dq:()=>b,_D:()=>u._D,hA:()=>m,pr:()=>v,Hz:()=>k,O4:()=>h});var r=t(1186),o=t.n(r),i=t(378),a=t(3949),c=t(4647),s=t(161),l=t(4300),u=t(4795),d=t(6477),v=function(){var e,n;return null===a.Z||void 0===a.Z||null===(e=a.Z.site)||void 0===e||null===(n=e.is)||void 0===n?void 0:n.okex},f="undefined"!==typeof d?d:{},h=function(e){var n=f.javaUse;if(void 0!==n&&n)return"##".concat(e,"##");for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:"";return e?e.includes("/academy"):!(0,i.y)()&&g.Z.location.pathname.includes("/academy")},_=function(){return"zh_CN"===((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")||a.Z.locale)?"/academy/zh/":"/academy/en/"},x=function(e,n){var t=(0,i.y)()?n:window.location;if(t){var r=t.pathname,c=t.search,s=t.hash,l=void 0===s?"":s,u=r.replace(/^\/{2,}/,"/");if(w(u))return o()(_(e));var d=v()?a.Z.langPath?"".concat(a.Z.langPath,"/explorer"):"/explorer":a.Z.langPath||"",f=(a.Z.localeMap||{})[e.toLowerCase()]||"",h="".concat(u).concat(c).concat(l),p=f?"/".concat(f):"/";if("/"===u||u===d)return o()("".concat(p).concat(c).concat(l));var m="";return m=d.length?h.replace(d,p):"".concat(p).concat(h),o()(m.replace("//","/"))}return""},k=function(e){(0,i.y)()||(c.Z.set("locale",e),c.Z.set("preferLocale",e),(0,y.QS)(s.jK,1))},Z=function(){return(0,i.y)()?a.Z.locale:w()?c.Z.get("locale")||"":a.Z.locale}},4282:(e,n,t)=>{"use strict";t.d(n,{Du:()=>a,QS:()=>o,Qs:()=>i});var r=t(6430),o=function(){var e;(e=r.Z.local).set.apply(e,arguments)},i=function(){var e;return(e=r.Z.local).get.apply(e,arguments)},a=function(){var e;return(e=r.Z.local).remove.apply(e,arguments)}},6050:(e,n,t)=>{"use strict";t.d(n,{BR2:()=>h,LxW:()=>y,ZaE:()=>u,_SQ:()=>l,ajM:()=>d,i1O:()=>v,iLO:()=>g,r9C:()=>f,u4E:()=>s,wuG:()=>m,yLI:()=>p});var r={act:function(){}};if("undefined"!==typeof window){var o=window.utils.monitor,i=(window._okGlobal||window.okGlobal).site,a=(void 0===i?{}:i).sign,c=void 0===a?"okex":a;r=o.newInstance({site:c.toLocaleLowerCase(),product:"ex",commonParams:{}})}var s=r,l=function(){s.act({action:"Explore_Searchby_Navigation_Bar_Search_All_Click",anchor:"Explore_Searchby_Navigation_Bar_Search_All_Click",params:{},actionType:"",elementType:""})},u=function(){s.act({action:"Explorer_Nav_Sm_Search_Click",anchor:"Explorer_Nav_Sm_Search_Click",params:{},actionType:"",elementType:""})},d=function(){s.act({action:"Oklilnk_Homepage_Signup_Click",anchor:"Oklilnk_Homepage_Signup_Click",params:{},actionType:"",elementType:""})},v=function(){s.act({action:"Oklilnk_Homepage_Menu_Click",anchor:"Oklilnk_Homepage_Menu_Click",params:{},actionType:"",elementType:""})},f=function(){s.act({action:"Oklilnk_Homepage_Logout_Click",anchor:"Oklilnk_Homepage_Logout_Click",params:{},actionType:"",elementType:""})},h=function(){s.act({action:"Oklilnk_Homepage_Cookie_Click",anchor:"Oklilnk_Homepage_Cookie_Click",params:{},actionType:"",elementType:""})},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.chain_name,t=e.position;s.act({action:"Oklilnk_Homepage_Explorer_Click",anchor:"Oklilnk_Homepage_Explorer_Click",params:{chain_name:n,position:t},actionType:"",elementType:""})},m=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).navigation_name;s.act({action:"Oklilnk_Homepage_PersonalEnter_Click",anchor:"Oklilnk_Homepage_PersonalEnter_Click",params:{navigation_name:e},actionType:"",elementType:""})},g=function(){s.act({action:"Oklilnk_Homepage_Login_Click",anchor:"Oklilnk_Homepage_Login_Click",params:{},actionType:"",elementType:""})},y=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).navigation_name;s.act({action:"Oklilnk_Homepage_NavigationSwitch_Click",anchor:"Oklilnk_Homepage_NavigationSwitch_Click",params:{navigation_name:e},actionType:"",elementType:""})}},7363:e=>{"use strict";e.exports=React},1533:e=>{"use strict";e.exports=ReactDOM},5833:e=>{"use strict";e.exports=utils.ont},7156:e=>{function n(e,n,t,r,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void t(l)}c.done?n(s):Promise.resolve(s).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,s,"next",e)}function s(e){n(a,o,i,c,s,"throw",e)}c(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},7061:(e,n,t)=>{var r=t(8698).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var n={},t=Object.prototype,i=t.hasOwnProperty,a=Object.defineProperty||function(e,n,t){e[n]=t.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function d(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{d({},"")}catch(T){d=function(e,n,t){return e[n]=t}}function v(e,n,t,r){var o=n&&n.prototype instanceof p?n:p,i=Object.create(o.prototype),c=new C(r||[]);return a(i,"_invoke",{value:Z(e,t,c)}),i}function f(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(T){return{type:"throw",arg:T}}}n.wrap=v;var h={};function p(){}function m(){}function g(){}var y={};d(y,s,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(E([])));w&&w!==t&&i.call(w,s)&&(y=w);var _=g.prototype=p.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(n){d(e,n,(function(e){return this._invoke(n,e)}))}))}function k(e,n){function t(o,a,c,s){var l=f(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==r(d)&&i.call(d,"__await")?n.resolve(d.__await).then((function(e){t("next",e,c,s)}),(function(e){t("throw",e,c,s)})):n.resolve(d).then((function(e){u.value=e,c(u)}),(function(e){return t("throw",e,c,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new n((function(n,o){t(e,r,n,o)}))}return o=o?o.then(i,i):i()}})}function Z(e,n,t){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(t.method=o,t.arg=i;;){var a=t.delegate;if(a){var c=N(a,t);if(c){if(c===h)continue;return c}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if("suspendedStart"===r)throw r="completed",t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);r="executing";var s=f(e,n,t);if("normal"===s.type){if(r=t.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:t.done}}"throw"===s.type&&(r="completed",t.method="throw",t.arg=s.arg)}}}function N(e,n){var t=n.method,r=e.iterator[t];if(void 0===r)return n.delegate=null,"throw"===t&&e.iterator.return&&(n.method="return",n.arg=void 0,N(e,n),"throw"===n.method)||"return"!==t&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+t+"' method")),h;var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function j(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function E(e){if(e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var t=-1,r=function n(){for(;++t=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(c&&s){if(this.prev=0;--t){var r=this.tryEntries[t];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),j(t),h}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var o=r.arg;j(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:E(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=void 0),h}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return e[r].call(i.exports,i,i.exports,t),i.exports}t.m=e,(()=>{var e=[];t.O=(n,r,o,i)=>{if(!r){var a=1/0;for(u=0;u=i)&&Object.keys(t.O).every((e=>t.O[e](r[s])))?r.splice(s--,1):(c=!1,i0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[r,o,i]}})(),t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce(((n,r)=>(t.f[r](e,n),n)),[])),t.u=e=>"common/"+e+"."+{13:"bfccf791",289:"06b4c260",618:"1cd7291a"}[e]+".js",t.miniCssF=e=>"common/"+e+"."+{13:"201c9a87",289:"1f0e1b01",618:"790ba92a"}[e]+".css",t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="oklink-nav:";t.l=(r,o,i,a)=>{if(e[r])e[r].push(o);else{var c,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(t))),n)return n(t)},f=setTimeout(v.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=v.bind(null,c.onerror),c.onload=v.bind(null,c.onload),s&&document.head.appendChild(c)}}})(),t.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&(e=n.currentScript.src),!e)){var r=n.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&!e;)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e+"../"})(),(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((n,r)=>{var o=t.miniCssF(e),i=t.p+o;if(((e,n)=>{for(var t=document.getElementsByTagName("link"),r=0;r{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=t=>{if(i.onerror=i.onload=null,"load"===t.type)r();else{var a=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.href||n,s=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=a,s.request=c,i.parentNode&&i.parentNode.removeChild(i),o(s)}},i.href=n,t?t.parentNode.insertBefore(i,t.nextSibling):document.head.appendChild(i)})(e,i,null,n,r)})),n={19:0};t.f.miniCss=(t,r)=>{n[t]?r.push(n[t]):0!==n[t]&&{13:1,289:1,618:1}[t]&&r.push(n[t]=e(t).then((()=>{n[t]=0}),(e=>{throw delete n[t],e})))}}})(),(()=>{var e={19:0};t.f.j=(n,r)=>{var o=t.o(e,n)?e[n]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise(((t,r)=>o=e[n]=[t,r]));r.push(o[2]=i);var a=t.p+t.u(n),c=new Error;t.l(a,(r=>{if(t.o(e,n)&&(0!==(o=e[n])&&(e[n]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;c.message="Loading chunk "+n+" failed.\n("+i+": "+a+")",c.name="ChunkLoadError",c.type=i,c.request=a,o[1](c)}}),"chunk-"+n,n)}},t.O.j=n=>0===e[n];var n=(n,r)=>{var o,i,[a,c,s]=r,l=0;if(a.some((n=>0!==e[n]))){for(o in c)t.o(c,o)&&(t.m[o]=c[o]);if(s)var u=s(t)}for(n&&n(r);lt(5830)));r=t.O(r)})(); +//# sourceMappingURL=https://static-daily.okg.com/crash/okfe/oklink-nav/header/index.2e0ff5c3.js.map \ No newline at end of file diff --git a/index.48c809d2.js.download b/index.48c809d2.js.download new file mode 100644 index 0000000..8405897 --- /dev/null +++ b/index.48c809d2.js.download @@ -0,0 +1,2 @@ +(()=>{var e={625:(e,t)=>{"use strict";t.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=c(e),a=i[0],s=i[1],l=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),u=0,f=s>0?a-4:a;for(r=0;r>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[u++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,c=0,l=n-o;cl?l:c+a));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function s(e,t,n){for(var o,i,a=[],c=t;c>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},163:function(e,t,r){var n;!function(o){"use strict";var i,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,c=Math.ceil,s=Math.floor,l="[BigNumber Error] ",u=l+"Number primitive has more than 15 significant digits: ",f=1e14,h=14,p=9007199254740991,d=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],m=1e7,g=1e9;function v(e){var t=0|e;return e>0||e===t?t:t-1}function _(e){for(var t,r,n=1,o=e.length,i=e[0]+"";nl^r?1:-1;for(c=(s=o.length)<(l=i.length)?s:l,a=0;ai[a]^r?1:-1;return s==l?0:s>l^r?1:-1}function b(e,t,r,n){if(er||e!==s(e))throw Error(l+(n||"Argument")+("number"==typeof e?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function w(e){var t=e.c.length-1;return v(e.e/h)==t&&e.c[t]%2!=0}function x(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function E(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(++t>(n=e.length)){for(o=r,t-=n;--t;o+=r);e+=o}else tO?v.c=v.e=null:e.e=10;f/=10,l++);return void(l>O?v.c=v.e=null:(v.e=l,v.c=[e]))}g=String(e)}else{if(!a.test(g=String(e)))return o(v,g,d);v.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(l=g.indexOf("."))>-1&&(g=g.replace(".","")),(f=g.search(/e/i))>0?(l<0&&(l=f),l+=+g.slice(f+1),g=g.substring(0,f)):l<0&&(l=g.length)}else{if(b(t,2,R.length,"Base"),10==t&&M)return F(v=new P(e),S+v.e+1,T);if(g=String(e),d="number"==typeof e){if(0*e!=0)return o(v,g,d,t);if(v.s=1/e<0?(g=g.slice(1),-1):1,P.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(u+e)}else v.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(r=R.slice(0,t),l=f=0,m=g.length;fl){l=m;continue}}else if(!c&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){c=!0,f=-1,l=0;continue}return o(v,String(e),d,t)}d=!1,(l=(g=n(g,t,10,v.s)).indexOf("."))>-1?g=g.replace(".",""):l=g.length}for(f=0;48===g.charCodeAt(f);f++);for(m=g.length;48===g.charCodeAt(--m););if(g=g.slice(f,++m)){if(m-=f,d&&P.DEBUG&&m>15&&(e>p||e!==s(e)))throw Error(u+v.s*e);if((l=l-f-1)>O)v.c=v.e=null;else if(l=A)?x(s,a):E(s,a,"0");else if(i=(e=F(new P(e),t,r)).e,c=(s=_(e.c)).length,1==n||2==n&&(t<=i||i<=k)){for(;cc){if(--t>0)for(s+=".";t--;s+="0");}else if((t+=i-c)>0)for(i+1==c&&(s+=".");t--;s+="0");return e.s<0&&o?"-"+s:s}function U(e,t){for(var r,n=1,o=new P(e[0]);n=10;o/=10,n++);return(r=n+r*h-1)>O?e.c=e.e=null:r=10;l/=10,o++);if((i=t-o)<0)i+=h,a=t,m=(u=g[p=0])/v[o-a-1]%10|0;else if((p=c((i+1)/h))>=g.length){if(!n)break e;for(;g.length<=p;g.push(0));u=m=0,o=1,a=(i%=h)-h+1}else{for(u=l=g[p],o=1;l>=10;l/=10,o++);m=(a=(i%=h)-h+o)<0?0:u/v[o-a-1]%10|0}if(n=n||t<0||null!=g[p+1]||(a<0?u:u%v[o-a-1]),n=r<4?(m||n)&&(0==r||r==(e.s<0?3:2)):m>5||5==m&&(4==r||n||6==r&&(i>0?a>0?u/v[o-a]:0:g[p-1])%10&1||r==(e.s<0?8:7)),t<1||!g[0])return g.length=0,n?(t-=e.e+1,g[0]=v[(h-t%h)%h],e.e=-t||0):g[0]=e.e=0,e;if(0==i?(g.length=p,l=1,p--):(g.length=p+1,l=v[h-i],g[p]=a>0?s(u/v[o-a]%v[a])*l:0),n)for(;;){if(0==p){for(i=1,a=g[0];a>=10;a/=10,i++);for(a=g[0]+=l,l=1;a>=10;a/=10,l++);i!=l&&(e.e++,g[0]==f&&(g[0]=1));break}if(g[p]+=l,g[p]!=f)break;g[p--]=0,l=1}for(i=g.length;0===g[--i];g.pop());}e.e>O?e.c=e.e=null:e.e=A?x(t,r):E(t,r,"0"),e.s<0?"-"+t:t)}return P.clone=e,P.ROUND_UP=0,P.ROUND_DOWN=1,P.ROUND_CEIL=2,P.ROUND_FLOOR=3,P.ROUND_HALF_UP=4,P.ROUND_HALF_DOWN=5,P.ROUND_HALF_EVEN=6,P.ROUND_HALF_CEIL=7,P.ROUND_HALF_FLOOR=8,P.EUCLID=9,P.config=P.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(l+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(b(r=e[t],0,g,t),S=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(b(r=e[t],0,8,t),T=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(b(r[0],-g,0,t),b(r[1],0,g,t),k=r[0],A=r[1]):(b(r,-g,g,t),k=-(A=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)b(r[0],-g,-1,t),b(r[1],1,g,t),C=r[0],O=r[1];else{if(b(r,-g,g,t),!r)throw Error(l+t+" cannot be zero: "+r);C=-(O=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if((r=e[t])!==!!r)throw Error(l+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw L=!r,Error(l+"crypto unavailable");L=r}else L=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(b(r=e[t],0,9,t),B=r),e.hasOwnProperty(t="POW_PRECISION")&&(b(r=e[t],0,g,t),I=r),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(r=e[t]))throw Error(l+t+" not an object: "+r);j=r}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(l+t+" invalid: "+r);M="0123456789"==r.slice(0,10),R=r}}return{DECIMAL_PLACES:S,ROUNDING_MODE:T,EXPONENTIAL_AT:[k,A],RANGE:[C,O],CRYPTO:L,MODULO_MODE:B,POW_PRECISION:I,FORMAT:j,ALPHABET:R}},P.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!P.DEBUG)return!0;var t,r,n=e.c,o=e.e,i=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===i||-1===i)&&o>=-g&&o<=g&&o===s(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if((t=(o+1)%h)<1&&(t+=h),String(n[0]).length==t){for(t=0;t=f||r!==s(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===i||1===i||-1===i))return!0;throw Error(l+"Invalid BigNumber: "+e)},P.maximum=P.max=function(){return U(arguments,i.lt)},P.minimum=P.min=function(){return U(arguments,i.gt)},P.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return s(Math.random()*e)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(e){var r,n,o,i,a,u=0,f=[],p=new P(N);if(null==e?e=S:b(e,0,g),i=c(e/h),L)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(i*=2));u>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[u]=n[0],r[u+1]=n[1]):(f.push(a%1e14),u+=2);u=i/2}else{if(!crypto.randomBytes)throw L=!1,Error(l+"crypto unavailable");for(r=crypto.randomBytes(i*=7);u=9e15?crypto.randomBytes(7).copy(r,u):(f.push(a%1e14),u+=7);u=i/7}if(!L)for(;u=10;a/=10,u++);ur-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/r|0,a[o]%=r)}return a.reverse()}return function(n,o,i,a,c){var s,l,u,f,h,p,d,m,g=n.indexOf("."),v=S,y=T;for(g>=0&&(f=I,I=0,n=n.replace(".",""),p=(m=new P(o)).pow(n.length-g),I=f,m.c=t(E(_(p.c),p.e,"0"),10,i,e),m.e=m.c.length),u=f=(d=t(n,o,i,c?(s=R,e):(s=e,R))).length;0==d[--f];d.pop());if(!d[0])return s.charAt(0);if(g<0?--u:(p.c=d,p.e=u,p.s=a,d=(p=r(p,m,v,y,i)).c,h=p.r,u=p.e),g=d[l=u+v+1],f=i/2,h=h||l<0||null!=d[l+1],h=y<4?(null!=g||h)&&(0==y||y==(p.s<0?3:2)):g>f||g==f&&(4==y||h||6==y&&1&d[l-1]||y==(p.s<0?8:7)),l<1||!d[0])n=h?E(s.charAt(1),-v,s.charAt(0)):s.charAt(0);else{if(d.length=l,h)for(--i;++d[--l]>i;)d[l]=0,l||(++u,d=[1].concat(d));for(f=d.length;!d[--f];);for(g=0,n="";g<=f;n+=s.charAt(d[g++]));n=E(n,u,s.charAt(0))}return n}}(),r=function(){function e(e,t,r){var n,o,i,a,c=0,s=e.length,l=t%m,u=t/m|0;for(e=e.slice();s--;)c=((o=l*(i=e[s]%m)+(n=u*i+(a=e[s]/m|0)*l)%m*m+c)/r|0)+(n/m|0)+u*a,e[s]=o%r;return c&&(e=[c].concat(e)),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]1;e.splice(0,1));}return function(n,o,i,a,c){var l,u,p,d,m,g,_,y,b,w,x,E,N,S,T,k,A,C=n.s==o.s?1:-1,O=n.c,L=o.c;if(!O||!O[0]||!L||!L[0])return new P(n.s&&o.s&&(O?!L||O[0]!=L[0]:L)?O&&0==O[0]||!L?0*C:C/0:NaN);for(b=(y=new P(C)).c=[],C=i+(u=n.e-o.e)+1,c||(c=f,u=v(n.e/h)-v(o.e/h),C=C/h|0),p=0;L[p]==(O[p]||0);p++);if(L[p]>(O[p]||0)&&u--,C<0)b.push(1),d=!0;else{for(S=O.length,k=L.length,p=0,C+=2,(m=s(c/(L[0]+1)))>1&&(L=e(L,m,c),O=e(O,m,c),k=L.length,S=O.length),N=k,x=(w=O.slice(0,k)).length;x=c/2&&T++;do{if(m=0,(l=t(L,w,k,x))<0){if(E=w[0],k!=x&&(E=E*c+(w[1]||0)),(m=s(E/T))>1)for(m>=c&&(m=c-1),_=(g=e(L,m,c)).length,x=w.length;1==t(g,w,_,x);)m--,r(g,k<_?A:L,_,c),_=g.length,l=1;else 0==m&&(l=m=1),_=(g=L.slice()).length;if(_=10;C/=10,p++);F(y,i+(y.e=p+u*h-1)+1,a,d)}else y.e=u,y.r=+d;return y}}(),o=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(i,a,c,s){var u,f=c?a:a.replace(o,"");if(n.test(f))i.s=isNaN(f)?null:f<0?-1:1;else{if(!c&&(f=f.replace(e,(function(e,t,r){return u="x"==(r=r.toLowerCase())?16:"b"==r?2:8,s&&s!=u?e:t})),s&&(u=s,f=f.replace(t,"$1").replace(r,"0.$1")),a!=f))return new P(f,u);if(P.DEBUG)throw Error(l+"Not a"+(s?" base "+s:"")+" number: "+a);i.s=null}i.c=i.e=null}}(),i.absoluteValue=i.abs=function(){var e=new P(this);return e.s<0&&(e.s=1),e},i.comparedTo=function(e,t){return y(this,new P(e,t))},i.decimalPlaces=i.dp=function(e,t){var r,n,o,i=this;if(null!=e)return b(e,0,g),null==t?t=T:b(t,0,8),F(new P(i),e+i.e+1,t);if(!(r=i.c))return null;if(n=((o=r.length-1)-v(this.e/h))*h,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},i.dividedBy=i.div=function(e,t){return r(this,new P(e,t),S,T)},i.dividedToIntegerBy=i.idiv=function(e,t){return r(this,new P(e,t),0,1)},i.exponentiatedBy=i.pow=function(e,t){var r,n,o,i,a,u,f,p,d=this;if((e=new P(e)).c&&!e.isInteger())throw Error(l+"Exponent not an integer: "+G(e));if(null!=t&&(t=new P(t)),a=e.e>14,!d.c||!d.c[0]||1==d.c[0]&&!d.e&&1==d.c.length||!e.c||!e.c[0])return p=new P(Math.pow(+G(d),a?2-w(e):+G(e))),t?p.mod(t):p;if(u=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new P(NaN);(n=!u&&d.isInteger()&&t.isInteger())&&(d=d.mod(t))}else{if(e.e>9&&(d.e>0||d.e<-1||(0==d.e?d.c[0]>1||a&&d.c[1]>=24e7:d.c[0]<8e13||a&&d.c[0]<=9999975e7)))return i=d.s<0&&w(e)?-0:0,d.e>-1&&(i=1/i),new P(u?1/i:i);I&&(i=c(I/h+2))}for(a?(r=new P(.5),u&&(e.s=1),f=w(e)):f=(o=Math.abs(+G(e)))%2,p=new P(N);;){if(f){if(!(p=p.times(d)).c)break;i?p.c.length>i&&(p.c.length=i):n&&(p=p.mod(t))}if(o){if(0===(o=s(o/2)))break;f=o%2}else if(F(e=e.times(r),e.e+1,1),e.e>14)f=w(e);else{if(0===(o=+G(e)))break;f=o%2}d=d.times(d),i?d.c&&d.c.length>i&&(d.c.length=i):n&&(d=d.mod(t))}return n?p:(u&&(p=N.div(p)),t?p.mod(t):i?F(p,I,T,undefined):p)},i.integerValue=function(e){var t=new P(this);return null==e?e=T:b(e,0,8),F(t,t.e+1,e)},i.isEqualTo=i.eq=function(e,t){return 0===y(this,new P(e,t))},i.isFinite=function(){return!!this.c},i.isGreaterThan=i.gt=function(e,t){return y(this,new P(e,t))>0},i.isGreaterThanOrEqualTo=i.gte=function(e,t){return 1===(t=y(this,new P(e,t)))||0===t},i.isInteger=function(){return!!this.c&&v(this.e/h)>this.c.length-2},i.isLessThan=i.lt=function(e,t){return y(this,new P(e,t))<0},i.isLessThanOrEqualTo=i.lte=function(e,t){return-1===(t=y(this,new P(e,t)))||0===t},i.isNaN=function(){return!this.s},i.isNegative=function(){return this.s<0},i.isPositive=function(){return this.s>0},i.isZero=function(){return!!this.c&&0==this.c[0]},i.minus=function(e,t){var r,n,o,i,a=this,c=a.s;if(t=(e=new P(e,t)).s,!c||!t)return new P(NaN);if(c!=t)return e.s=-t,a.plus(e);var s=a.e/h,l=e.e/h,u=a.c,p=e.c;if(!s||!l){if(!u||!p)return u?(e.s=-t,e):new P(p?a:NaN);if(!u[0]||!p[0])return p[0]?(e.s=-t,e):new P(u[0]?a:3==T?-0:0)}if(s=v(s),l=v(l),u=u.slice(),c=s-l){for((i=c<0)?(c=-c,o=u):(l=s,o=p),o.reverse(),t=c;t--;o.push(0));o.reverse()}else for(n=(i=(c=u.length)<(t=p.length))?c:t,c=t=0;t0)for(;t--;u[r++]=0);for(t=f-1;n>c;){if(u[--n]=0;){for(r=0,d=E[o]%b,g=E[o]/b|0,i=o+(a=s);i>o;)r=((l=d*(l=x[--a]%b)+(c=g*l+(u=x[a]/b|0)*d)%b*b+_[i]+r)/y|0)+(c/b|0)+g*u,_[i--]=l%y;_[i]=r}return r?++n:_.splice(0,1),H(e,_,n)},i.negated=function(){var e=new P(this);return e.s=-e.s||null,e},i.plus=function(e,t){var r,n=this,o=n.s;if(t=(e=new P(e,t)).s,!o||!t)return new P(NaN);if(o!=t)return e.s=-t,n.minus(e);var i=n.e/h,a=e.e/h,c=n.c,s=e.c;if(!i||!a){if(!c||!s)return new P(o/0);if(!c[0]||!s[0])return s[0]?e:new P(c[0]?n:0*o)}if(i=v(i),a=v(a),c=c.slice(),o=i-a){for(o>0?(a=i,r=s):(o=-o,r=c),r.reverse();o--;r.push(0));r.reverse()}for((o=c.length)-(t=s.length)<0&&(r=s,s=c,c=r,t=o),o=0;t;)o=(c[--t]=c[t]+s[t]+o)/f|0,c[t]=f===c[t]?0:c[t]%f;return o&&(c=[o].concat(c),++a),H(e,c,a)},i.precision=i.sd=function(e,t){var r,n,o,i=this;if(null!=e&&e!==!!e)return b(e,1,g),null==t?t=T:b(t,0,8),F(new P(i),e,t);if(!(r=i.c))return null;if(n=(o=r.length-1)*h+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&i.e+1>n&&(n=i.e+1),n},i.shiftedBy=function(e){return b(e,-9007199254740991,p),this.times("1e"+e)},i.squareRoot=i.sqrt=function(){var e,t,n,o,i,a=this,c=a.c,s=a.s,l=a.e,u=S+4,f=new P("0.5");if(1!==s||!c||!c[0])return new P(!s||s<0&&(!c||c[0])?NaN:c?a:1/0);if(0==(s=Math.sqrt(+G(a)))||s==1/0?(((t=_(c)).length+l)%2==0&&(t+="0"),s=Math.sqrt(+t),l=v((l+1)/2)-(l<0||l%2),n=new P(t=s==1/0?"5e"+l:(t=s.toExponential()).slice(0,t.indexOf("e")+1)+l)):n=new P(s+""),n.c[0])for((s=(l=n.e)+u)<3&&(s=0);;)if(i=n,n=f.times(i.plus(r(a,i,u,1))),_(i.c).slice(0,s)===(t=_(n.c)).slice(0,s)){if(n.e0&&m>0){for(i=m%c||c,f=d.substr(0,i);i0&&(f+=u+d.slice(i)),p&&(f="-"+f)}n=h?f+(r.decimalSeparator||"")+((s=+r.fractionGroupSize)?h.replace(new RegExp("\\d{"+s+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):h):f}return(r.prefix||"")+n+(r.suffix||"")},i.toFraction=function(e){var t,n,o,i,a,c,s,u,f,p,m,g,v=this,y=v.c;if(null!=e&&(!(s=new P(e)).isInteger()&&(s.c||1!==s.s)||s.lt(N)))throw Error(l+"Argument "+(s.isInteger()?"out of range: ":"not an integer: ")+G(s));if(!y)return new P(v);for(t=new P(N),f=n=new P(N),o=u=new P(N),g=_(y),a=t.e=g.length-v.e-1,t.c[0]=d[(c=a%h)<0?h+c:c],e=!e||s.comparedTo(t)>0?a>0?t:f:s,c=O,O=1/0,s=new P(g),u.c[0]=0;p=r(s,t,0,1),1!=(i=n.plus(p.times(o))).comparedTo(e);)n=o,o=i,f=u.plus(p.times(i=f)),u=i,t=s.minus(p.times(i=t)),s=i;return i=r(e.minus(n),o,0,1),u=u.plus(i.times(f)),n=n.plus(i.times(o)),u.s=f.s=v.s,m=r(f,o,a*=2,T).minus(v).abs().comparedTo(r(u,n,a,T).minus(v).abs())<1?[f,o]:[u,n],O=c,m},i.toNumber=function(){return+G(this)},i.toPrecision=function(e,t){return null!=e&&b(e,1,g),D(this,e,t,2)},i.toString=function(e){var t,r=this,o=r.s,i=r.e;return null===i?o?(t="Infinity",o<0&&(t="-"+t)):t="NaN":(null==e?t=i<=k||i>=A?x(_(r.c),i):E(_(r.c),i,"0"):10===e&&M?t=E(_((r=F(new P(r),S+i+1,T)).c),r.e,"0"):(b(e,2,R.length,"Base"),t=n(E(_(r.c),i,"0"),10,e,o,!0)),o<0&&r.c[0]&&(t="-"+t)),t},i.valueOf=i.toJSON=function(){return G(this)},i._isBigNumber=!0,null!=t&&P.set(t),P}(),i.default=i.BigNumber=i,void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},746:(e,t,r)=>{"use strict";var n=r(383).default,o=r(579).default,i=r(452).default,a=r(550).default,c=r(72).default,s=r(475).default,l=r(511).default;var u=r(625),f=r(192),h="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=m,t.IS=50;var p=2147483647;function d(e){if(e>p)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,m.prototype),t}function m(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return _(e)}return g(e,t,r)}function g(e,t,r){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|x(e,t),n=d(r),o=n.write(e,t);o!==r&&(n=n.slice(0,o));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(re(e,Uint8Array)){var t=new Uint8Array(e);return b(t.buffer,t.byteOffset,t.byteLength)}return y(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(re(e,ArrayBuffer)||e&&re(e.buffer,ArrayBuffer))return b(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(re(e,SharedArrayBuffer)||e&&re(e.buffer,SharedArrayBuffer)))return b(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return m.from(n,t,r);var o=function(e){if(m.isBuffer(e)){var t=0|w(e.length),r=d(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!==typeof e.length||ne(e.length)?d(0):y(e);if("Buffer"===e.type&&Array.isArray(e.data))return y(e.data)}(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return m.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function v(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function _(e){return v(e),d(e<0?0:0|w(e))}function y(e){for(var t=e.length<0?0:0|w(e.length),r=d(t),n=0;n=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return 0|e}function x(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||re(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ee(e).length;default:if(o)return n?-1:Q(e).length;t=(""+t).toLowerCase(),o=!0}}function E(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r);case"utf8":case"utf-8":return I(this,t,r);case"ascii":return R(this,t,r);case"latin1":case"binary":return M(this,t,r);case"base64":return B(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function N(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function S(e,t,r,n,o){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),ne(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof t&&(t=m.from(t,n)),m.isBuffer(t))return 0===t.length?-1:T(e,t,r,n,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):T(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function T(e,t,r,n,o){var i,a=1,c=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,c/=2,s/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;ic&&(r=c-s),i=r;i>=0;i--){for(var f=!0,h=0;ho&&(n=o):n=o;var i,a=t.length;for(n>a/2&&(n=a/2),i=0;i>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function B(e,t,r){return 0===t&&r===e.length?u.fromByteArray(e):u.fromByteArray(e.slice(t,r))}function I(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o239?4:i>223?3:i>191?2:1;if(o+c<=r){var s=void 0,l=void 0,u=void 0,f=void 0;switch(c){case 1:i<128&&(a=i);break;case 2:128===(192&(s=e[o+1]))&&(f=(31&i)<<6|63&s)>127&&(a=f);break;case 3:s=e[o+1],l=e[o+2],128===(192&s)&&128===(192&l)&&(f=(15&i)<<12|(63&s)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:s=e[o+1],l=e[o+2],u=e[o+3],128===(192&s)&&128===(192&l)&&128===(192&u)&&(f=(15&i)<<18|(63&s)<<12|(63&l)<<6|63&u)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=c}return function(e){var t=e.length;if(t<=j)return String.fromCharCode.apply(String,e);var r="",n=0;for(;nn.length?(m.isBuffer(i)||(i=m.from(i)),i.copy(n,o)):Uint8Array.prototype.set.call(n,i,o);else{if(!m.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o)}o+=i.length}return n},m.byteLength=x,m.prototype._isBuffer=!0,m.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tr&&(e+=" ... "),""},h&&(m.prototype[h]=m.prototype.inspect),m.prototype.compare=function(e,t,r,n,o){if(re(e,Uint8Array)&&(e=m.from(e,e.offset,e.byteLength)),!m.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),c=Math.min(i,a),s=this.slice(n,o),l=e.slice(t,r),u=0;u>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return A(this,e,t,r);case"ascii":case"latin1":case"binary":return C(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var j=4096;function R(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;on)&&(r=n);for(var o="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function H(e,t,r,n,o,i){if(!m.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function F(e,t,r,n,o){Z(t,n,o,e,r,7);var i=Number(t&BigInt(4294967295));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function G(e,t,r,n,o){Z(t,n,o,e,r,7);var i=Number(t&BigInt(4294967295));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function V(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function W(e,t,r,n,o){return t=+t,r>>>=0,o||V(e,0,r,4),f.write(e,t,r,n,23,4),r+4}function z(e,t,r,n,o){return t=+t,r>>>=0,o||V(e,0,r,8),f.write(e,t,r,n,52,8),r+8}m.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||U(e,t,this.length);for(var n=this[e],o=1,i=0;++i>>=0,t>>>=0,r||U(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},m.prototype.readUint8=m.prototype.readUInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),this[e]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]|this[e+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]<<8|this[e+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},m.prototype.readBigUInt64LE=ie((function(e){q(e>>>=0,"offset");var t=this[e],r=this[e+7];void 0!==t&&void 0!==r||J(e,this.length-8);var n=t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24),o=this[++e]+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+r*Math.pow(2,24);return BigInt(n)+(BigInt(o)<>>=0,"offset");var t=this[e],r=this[e+7];void 0!==t&&void 0!==r||J(e,this.length-8);var n=t*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e],o=this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+r;return(BigInt(n)<>>=0,t>>>=0,r||U(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},m.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||U(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},m.prototype.readInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},m.prototype.readInt16LE=function(e,t){e>>>=0,t||U(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},m.prototype.readInt16BE=function(e,t){e>>>=0,t||U(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},m.prototype.readInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},m.prototype.readInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},m.prototype.readBigInt64LE=ie((function(e){q(e>>>=0,"offset");var t=this[e],r=this[e+7];void 0!==t&&void 0!==r||J(e,this.length-8);var n=this[e+4]+this[e+5]*Math.pow(2,8)+this[e+6]*Math.pow(2,16)+(r<<24);return(BigInt(n)<>>=0,"offset");var t=this[e],r=this[e+7];void 0!==t&&void 0!==r||J(e,this.length-8);var n=(t<<24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e];return(BigInt(n)<>>=0,t||U(e,4,this.length),f.read(this,e,!0,23,4)},m.prototype.readFloatBE=function(e,t){return e>>>=0,t||U(e,4,this.length),f.read(this,e,!1,23,4)},m.prototype.readDoubleLE=function(e,t){return e>>>=0,t||U(e,8,this.length),f.read(this,e,!0,52,8)},m.prototype.readDoubleBE=function(e,t){return e>>>=0,t||U(e,8,this.length),f.read(this,e,!1,52,8)},m.prototype.writeUintLE=m.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||H(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i>>=0,r>>>=0,n)||H(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},m.prototype.writeUint8=m.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,1,255,0),this[t]=255&e,t+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},m.prototype.writeBigUInt64LE=ie((function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),m.prototype.writeBigUInt64BE=ie((function(e){return G(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),m.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);H(this,e,t,r,o-1,-o)}var i=0,a=1,c=0;for(this[t]=255&e;++i>0)-c&255;return t+r},m.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);H(this,e,t,r,o-1,-o)}var i=r-1,a=1,c=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===c&&0!==this[t+i+1]&&(c=1),this[t+i]=(e/a>>0)-c&255;return t+r},m.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},m.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},m.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},m.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},m.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||H(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},m.prototype.writeBigInt64LE=ie((function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),m.prototype.writeBigInt64BE=ie((function(e){return G(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),m.prototype.writeFloatLE=function(e,t,r){return W(this,e,t,!0,r)},m.prototype.writeFloatBE=function(e,t,r){return W(this,e,t,!1,r)},m.prototype.writeDoubleLE=function(e,t,r){return z(this,e,t,!0,r)},m.prototype.writeDoubleBE=function(e,t,r){return z(this,e,t,!1,r)},m.prototype.copy=function(e,t,r,n){if(!m.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(i=t;i=n+4;r-=3)t="_".concat(e.slice(r-3,r)).concat(t);return"".concat(e.slice(0,r)).concat(t)}function Z(e,t,r,n,o,i){if(e>r||e3?0===t||t===BigInt(0)?">= 0".concat(c," and < 2").concat(c," ** ").concat(8*(i+1)).concat(c):">= -(2".concat(c," ** ").concat(8*(i+1)-1).concat(c,") and < 2 ** ")+"".concat(8*(i+1)-1).concat(c):">= ".concat(t).concat(c," and <= ").concat(r).concat(c),new K.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,r){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||J(t,e.length-(r+1))}(n,o,i)}function q(e,t){if("number"!==typeof e)throw new K.ERR_INVALID_ARG_TYPE(t,"number",e)}function J(e,t,r){if(Math.floor(e)!==e)throw q(e,r),new K.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new K.ERR_BUFFER_OUT_OF_BOUNDS;throw new K.ERR_OUT_OF_RANGE(r||"offset",">= ".concat(r?1:0," and <= ").concat(t),e)}X("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),X("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)}),TypeError),X("ERR_OUT_OF_RANGE",(function(e,t,r){var n='The value of "'.concat(e,'" is out of range.'),o=r;return Number.isInteger(r)&&Math.abs(r)>Math.pow(2,32)?o=Y(String(r)):"bigint"===typeof r&&(o=String(r),(r>Math.pow(BigInt(2),BigInt(32))||r<-Math.pow(BigInt(2),BigInt(32)))&&(o=Y(o)),o+="n"),n+=" It must be ".concat(t,". Received ").concat(o)}),RangeError);var $=/[^+/0-9A-Za-z-_]/g;function Q(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function ee(e){return u.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function te(e,t,r,n){var o;for(o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function re(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ne(e){return e!==e}var oe=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}();function ie(e){return"undefined"===typeof BigInt?ae:e}function ae(){throw new Error("BigInt not supported")}},192:(e,t)=>{t.read=function(e,t,r,n,o){var i,a,c=8*o-n-1,s=(1<>1,u=-7,f=r?o-1:0,h=r?-1:1,p=e[t+f];for(f+=h,i=p&(1<<-u)-1,p>>=-u,u+=c;u>0;i=256*i+e[t+f],f+=h,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+f],f+=h,u-=8);if(0===i)i=1-l;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=l}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,c,s,l=8*i-o-1,u=(1<>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,d=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?h/s:h*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=u?(c=0,a=u):a+f>=1?(c=(t*s-1)*Math.pow(2,o),a+=f):(c=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&c,p+=d,c/=256,o-=8);for(a=a<0;e[r+p]=255&a,p+=d,a/=256,l-=8);e[r+p-d]|=128*m}},93:(e,t,r)=>{"use strict";var n=r(86);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},617:(e,t,r)=>{e.exports=r(93)()},86:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},619:(e,t,r)=>{"use strict";var n=r(206);t.H=n.createRoot,t.c=n.hydrateRoot},253:(e,t,r)=>{"use strict";var n=r(594),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,c=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,i={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!s.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:c.current}}t.Fragment=i,t.jsx=l,t.jsxs=l},983:(e,t,r)=>{"use strict";e.exports=r(253)},594:e=>{"use strict";e.exports=React},206:e=>{"use strict";e.exports=ReactDOM},475:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},383:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},579:(e,t,r)=>{var n=r(736);function o(e,t){for(var r=0;r{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},511:(e,t,r)=>{var n=r(636);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},550:e=>{e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},452:(e,t,r)=>{var n=r(738).default,o=r(475);e.exports=function(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},636:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},45:(e,t,r)=>{var n=r(738).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},736:(e,t,r)=>{var n=r(738).default,o=r(45);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},738:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},573:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,n)=>(r.f[n](e,t),t)),[])),r.u=e=>"common/dev-locale.e128d7dd.js",r.miniCssF=e=>{},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="oklink-homepage:";r.l=(n,o,i,a)=>{if(e[n])e[n].push(o);else{var c,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u{c.onerror=c.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=h.bind(null,c.onerror),c.onload=h.bind(null,c.onload),s&&document.head.appendChild(c)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={},t={};r.f.remotes=(n,o)=>{r.o(e,n)&&e[n].forEach((e=>{var n=r.R;n||(n=[]);var i=t[e];if(!(n.indexOf(i)>=0)){if(n.push(i),i.p)return o.push(i.p);var a=t=>{t||(t=new Error("Container missing")),"string"===typeof t.message&&(t.message+='\nwhile loading "'+i[1]+'" from '+i[2]),r.m[e]=()=>{throw t},i.p=0},c=(e,t,r,n,c,s)=>{try{var l=e(t,r);if(!l||!l.then)return c(l,n,s);var u=l.then((e=>c(e,n)),a);if(!s)return u;o.push(i.p=u)}catch(f){a(f)}},s=(e,t,r)=>c(t.get,i[1],n,0,l,r),l=t=>{i.p=1,r.m[e]=e=>{e.exports=t()}};c(r,i[2],0,0,((e,t,n)=>e?c(r.I,i[0],0,e,s,n):a()),1)}}))}})(),(()=>{r.S={};var e={},t={};r.I=(n,o)=>{o||(o=[]);var i=t[n];if(i||(i=t[n]={}),!(o.indexOf(i)>=0)){if(o.push(i),e[n])return e[n];r.o(r.S,n)||(r.S[n]={});r.S[n];var a=[];return a.length?e[n]=Promise.all(a).then((()=>e[n]=1)):e[n]=1}}})(),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{var e={962:0};r.f.j=(t,n)=>{var o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise(((r,n)=>o=e[t]=[r,n]));n.push(o[2]=i);var a=r.p+r.u(t),c=new Error;r.l(a,(n=>{if(r.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",c.name="ChunkLoadError",c.type=i,c.request=a,o[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var o,i,[a,c,s]=n,l=0;if(a.some((t=>0!==e[t]))){for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(s)s(r)}for(t&&t(n);l{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(){t=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(O){u=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),c=new k(n||[]);return i(a,"_invoke",{value:E(e,r,c)}),a}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(O){return{type:"throw",arg:O}}}r.wrap=f;var p={};function d(){}function m(){}function g(){}var v={};u(v,c,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(A([])));y&&y!==n&&o.call(y,c)&&(v=y);var b=g.prototype=d.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(t,r){function n(i,a,c,s){var l=h(t[i],t,a);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==e(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,c,s)}),(function(e){n("throw",e,c,s)})):r.resolve(f).then((function(e){u.value=e,c(u)}),(function(e){return n("throw",e,c,s)}))}s(l.arg)}var a;i(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,o){n(e,t,r,o)}))}return a=a?a.then(o,o):o()}})}function E(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return C()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=N(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=h(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function N(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,N(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},r}function n(t){var r=function(t,r){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"===e(r)?r:String(r)}function o(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t":">"};function g(e){return e.replace(/(javascript:|vbscript:|view-source:)*/gi,"").replace(/(expression|eval|alert|function|setTimeout|setInterval)/gi,"").replace(/(window\.location|window\.|\.location|document\.cookie|window\.cookie|cookie|document\.|alert\(.*?\)|window\.open\(.*?\)|document\.write\(.*?\))/gi,"").replace(/]/g,(function(e){return m[e]}))}(g(e)):e}var _=d(),y=C();const b=function e(t,r){function n(e,n,o){if(!_){var i,c=a({},o);"number"===typeof(c=h({},r,c)).expires&&(c.expires=new Date(Date.now()+864e5*c.expires)),c.expires&&(c.expires=c.expires.toUTCString()),i=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";return Object.keys(c).forEach((function(e){c[e]&&(s+="; ".concat(e),!0!==c[e]&&(s+="=".concat(c[e].split(";")[0])))})),document.cookie="".concat(i,"=").concat(t.write(n,i)).concat(s)}}return Object.create({set:n,get:function(e){if(!arguments.length||e){var r,n;if(_)return null===y||void 0===y||null===(r=y.ssrUtils)||void 0===r||null===(n=r.cookies)||void 0===n?void 0:n.get(e);for(var o=document.cookie?document.cookie.split("; "):[],i={},a=0;a0&&void 0!==arguments[0])||arguments[0],t=b.get(x);if(!t)return e?{}:"";try{return e?JSON.parse(function(e){var t=S(e);return N?w.from(t,"base64").toString("utf-8"):window.atob(t)}(t)):t}catch(r){}return{}},k=function(e){var t=T();Object.keys(e).forEach((function(r){t[r]=e[r]}));var r,n,o,i=(r=JSON.stringify(t),S(N?w.from(r).toString("base64"):window.btoa(r)));N?null===E||void 0===E||null===(n=E.ssrUtils)||void 0===n||null===(o=n.cookies)||void 0===o||o.set(x,i):b.set(x,i)},A={};function C(){var e;if("undefined"!==typeof globalThis)e=globalThis;else if("undefined"!==typeof window)e=window;else{if("undefined"===typeof r.g)throw new Error("unable to locate global object");e=r.g}return e.addEventListener=e.addEventListener||function(){},e}const O=new Proxy({_global_subscribe_list:{},_global_message_list:{},locale:"en_US"},{get:function(e,t,r){if("toJSON"===t)return function(){return a(a(a({},C().okGlobal),C()._okGlobal),A)};if("toString"===t)return function(){return JSON.stringify(r.toJSON())};var n=[A,C()._okGlobal,C().okGlobal,{getSiteInfo:T,setSiteInfo:k}].find((function(e){return e&&Object.prototype.hasOwnProperty.call(e,t)}));return null===n||void 0===n?void 0:n[t]},set:function(e,t,r){return A[t]=r,!0}});var L="//okg-pub-hk.oss-cn-hongkong.aliyuncs.com";const B=function(){var e=O.cdnBaseUrl,t=void 0===e?"":e;"daily"!==O.envSign&&"dev"!==O.envSign||(t=L);var r=t||"//static.coinall.ltd";return{BASE_URL_PUBLISH:"".concat(r,"/cdn/i18n/web"),BASE_URL_PREVIEW:"".concat(r,"/cdnpre/i18n/web"),BASE_URL_NOCDN_PUBLISH:"".concat(L,"/cdn/i18n/web"),BASE_URL_NOCDN_PREVIEW:"".concat(L,"/cdnpre/i18n/web"),LANGUAGE_VERSIONS:O.i18nVersion||{}}};var I=d()?{}:sessionStorage,j=I.showKey,R=I.showKeyMode,M="777"===j,P="1"===R,D="2"===R,U="1"===I.preview,H={isInDevMode:!1,usingRemote:!1,fetchBaseUrl:B().BASE_URL_PUBLISH,isShowKeyMode:M,isShowKeyTips:P,isShowPureKey:D,isPreview:U,partsDataProvided:!1,hasLoadedModules:[],localeStore:{main:{}},localeDevStore:{main:{}},baseInitState:{fetchDone:!1,didMount:!1,didMountFns:[],errorTimes:0},localeState:{fetchModules:[],fetchConfigs:[],urlTestLocale:""},SSRProviderModule:"SSRProviderModule"},F=function(e){Object.assign(H,e)};const G=H,V={get:function(e){var t,r;if(d())return"";var n=new RegExp("(^| )".concat(e,"=([^;]*)(;|$)")),o=!d()&&"undefined"!==typeof document&&(null===(t=document)||void 0===t||null===(r=t.cookie)||void 0===r?void 0:r.match(n));return o?decodeURIComponent(o[2]):""}};function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:Y.okMarkLocaleVarSign,r=arguments.length>2?arguments[2]:void 0;return!X&&"function"===typeof(null===Y||void 0===Y?void 0:Y.getFalconNeededRes)&&Y.getFalconNeededRes(r,e),Z()||!e?e:Y.okMarkLocale(e,t)}var J=r(983),$=/[\n]+/g,Q=/\{(\w+)}|(\n)|(\\n)+/g,ee=G.isShowKeyMode;function te(){return Z()?"":"data-locale-"}function re(e){for(var t,r=te(),n=[],o=0,i=0;t=$.exec(e);){var a=K(t,2),c=a[0],s=a[1],u=t.index;o(new Date).getTime()}},{key:"isCorrectExpireSeconds",value:function(e){return"undefined"!==typeof e&&Number.isInteger(e)&&Number.isSafeInteger(e)&&e>0}},{key:"getExpire",value:function(e){return(new Date).getTime()+1e3*e}},{key:"getProjectData",value:function(e){var t=this;if(d())return{};var r=window[this.storageKey].getItem(this.projectKey),n={};try{n=JSON.parse(r||"{}")}catch(c){n={}}var i=o({},pe,{}),a=n[pe]||{};return Object.keys(n).forEach((function(e){e!==pe&&(void 0===a[e]||t.isCorrectExpire(a[e]))&&(i[e]=n[e],i[pe][e]=a[e])})),e&&delete i[pe],i}},{key:"get",value:function(e){if(!(null===e||void 0===e||e instanceof Function||e instanceof Array||e instanceof Object))return this.getProjectData()[e]}},{key:"set",value:function(e,t,r){if(d())return!1;if(null===e||void 0===e||e instanceof Function||e instanceof Array)return!1;if(e===pe)return!1;var n=this.getProjectData();return e instanceof Object?this.setAll(e,t):(n[e]=t,"undefined"!==typeof r&&this.isCorrectExpireSeconds(r)?n[pe][e]=this.getExpire(r):delete n[pe][e],window[this.storageKey].setItem(this.projectKey,JSON.stringify(n)),!0)}},{key:"setAll",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(d())return!1;var n=this.getProjectData();return Object.entries(t).forEach((function(t){var o=t[0];if(o!==pe){var i=r[o];n[o]=t[1],e.isCorrectExpireSeconds(i)?n[pe][o]=e.getExpire(i):delete n[pe][o]}})),window[this.storageKey].setItem(this.projectKey,JSON.stringify(n)),!0}},{key:"remove",value:function(e){if(d())return!1;if(null===e||void 0===e||e instanceof Function)return!1;if(e.constructor&&e.constructor===Object)return!1;var t=[];e instanceof Array?t=e:t.push(e);var r=this.getProjectData();return t.forEach((function(e){delete r[e],delete r[pe][e]})),window[this.storageKey].setItem(this.projectKey,JSON.stringify(r)),!0}},{key:"getAll",value:function(){return this.getProjectData(!0)}},{key:"cleanAll",value:function(){d()||window[this.storageKey].setItem(this.projectKey,JSON.stringify({}))}}]),e}();var me="".concat("ok_","global"),ge="localStorage";const ve=function(e){function t(e){var r,n,o,i;return oe(this,t),n=this,i=[ge,"ok_"+e],o=ue(o=t),(r=se(n,le()?Reflect.construct(o,i||[],ue(n).constructor):o.apply(n,i))).global=new de(ge,me),r.g=new de(ge,me),r}return he(t,e),ae(t)}(de);var _e="sessionStorage",ye="".concat("ok_","global");const be=function(e){function t(e){var r,n,o,i;return oe(this,t),n=this,i=[_e,"ok_"+e],o=ue(o=t),(r=se(n,le()?Reflect.construct(o,i||[],ue(n).constructor):o.apply(n,i))).global=new de(_e,ye),r.g=new de(_e,ye),r}return he(t,e),ae(t)}(de);const we=new(function(){function e(){oe(this,e),this.local={},this.session={}}return ae(e,[{key:"localProject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.local[e]){if(t)return null;this.local[e]=new ve(e)}return this.local[e]}},{key:"sessionProject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.session[e]){if(t)return null;this.session[e]=new be(e)}return this.session[e]}}]),e}());var xe="ok_",Ee="default",Ne="global",Se="localStorage",Te="sessionStorage",ke=xe+Ee,Ae=xe+Ne,Ce="_expire";function Oe(e){return"undefined"!==typeof e&&Number.isInteger(e)&&Number.isSafeInteger(e)&&e>0}function Le(e){return(new Date).getTime()+1e3*e}function Be(e,t,r){if(d())return{};var n=window[e].getItem(t),i={};try{i=JSON.parse(n||"{}")}catch(s){i={}}var a=o({},Ce,{}),c=i[Ce]||{};return Object.keys(i).forEach((function(e){var t;e!==Ce&&((void 0===c[e]||"undefined"!==typeof(t=c[e])&&Number.isInteger(Number(t))&&Number.isSafeInteger(t)&&t>(new Date).getTime())&&(a[e]=i[e],a[Ce][e]=c[e]))})),r&&delete a[Ce],a}function Ie(e,t){d()||window[e].setItem(t,JSON.stringify(Be(e,t)))}var je={get:function(e,t,r){if(!(null===r||void 0===r||r instanceof Function||r instanceof Array||r instanceof Object))return Be(e,t)[r]},set:function(e,t,r,n,o){if(d())return!1;if(null===r||void 0===r||r instanceof Function||r instanceof Array)return!1;if(r===Ce)return!1;var i=Be(e,t);return r instanceof Object?je.setAll(e,t,r,n):(i[r]=n,"undefined"!==typeof o&&Oe(o)?i[Ce][r]=Le(o):delete i[Ce][r],window[e].setItem(t,JSON.stringify(i)),!0)},setAll:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(d())return!1;var o=Be(e,t);return Object.entries(r).forEach((function(e){var t=e[0];if(t!==Ce){var r=n[t];o[t]=e[1],Oe(r)?o[Ce][t]=Le(r):delete o[Ce][t]}})),window[e].setItem(t,JSON.stringify(o)),!0},remove:function(e,t,r){if(d())return!1;if(null===r||void 0===r||r instanceof Function)return!1;if(r.constructor&&r.constructor===Object)return!1;var n=[];r instanceof Array?n=r:n.push(r);var o=Be(e,t);return n.forEach((function(e){delete o[e],delete o[Ce][e]})),window[e].setItem(t,JSON.stringify(o)),!0},getAll:function(e,t){return Be(e,t,!0)},cleanAll:function(e,t){d()||window[e].setItem(t,JSON.stringify({}))}};function Re(e){var t=e.isLocal,r=e.isGlobal;function n(){return t?Se:Te}function o(){return r?Ae:ke}return{set:function(e,t,r){return je.set(n(),o(),e,t,r)},get:function(e){return je.get(n(),o(),e)},remove:function(e){return je.remove(n(),o(),e)},getAll:function(){return je.getAll(n(),o())},cleanAll:function(){return je.cleanAll(n(),o())}}}var Me=function(){var e=a({},Re({isLocal:!0,isGlobal:!0}));return a(a({},Re({isLocal:!0,isGlobal:!1})),{},{getProjectStorage:function(e){return Be(Se,xe+e,!0)},global:e,g:e})}();function Pe(e){var t=e.project,r=t===Ne?Ee:t;return Ie(Te,ke=xe+r),Ie(Te,Ae),r!==Ee&&Ie(Te,xe+Ee),we.sessionProject(r)}function De(e){var t=e===Ne?Ee:e;return we.sessionProject(t,!0)}var Ue=function(){var e=a({},Re({isLocal:!1,isGlobal:!0}));return a(a({},Re({isLocal:!1,isGlobal:!1})),{},{getProjectStorage:function(e){return Be(Te,xe+e,!0)},global:e,g:e,init:Pe,getInstance:De})}();const He=a(a({getInstance:function(e){var t=e===Ne?Ee:e;return we.localProject(t,!0)},init:function(e){var t=e.project,r=t===Ne?Ee:t;return Ie(Se,ke=xe+r),Ie(Se,Ae),r!==Ee&&Ie(Se,xe+Ee),we.localProject(r)},session:Ue},Me),{},{local:Me});var Fe="MULTILINGUAL_OKDB",Ge="okI18nVersion",Ve=function(e){var t=He.g.get(Ge)||{};t[e.project]||(t[e.project]={}),t[e.project][e.locale]=e.version,He.g.set(Ge,t)},We=function(e,t){if(t>=9007199254740992)return window.indexedDB.deleteDatabase(Fe),He.g.set(Ge,{});var r=window&&window.indexedDB.open(Fe,t+1);r.onsuccess=function(){},r.onerror=function(){},r.onupgradeneeded=function(t){var r=t.target.result;try{if(r.objectStoreNames.contains("".concat(e.project,"_").concat(e.locale))){var n=t.target.transaction.objectStore("".concat(e.project,"_").concat(e.locale)).put({project:e.data.project,version:e.data.version,data:JSON.stringify(e.data)});n.onsuccess=function(){Ve(e)},n.onerror=function(){r.close()}}else{r.createObjectStore("".concat(e.project,"_").concat(e.locale),{keyPath:"project"}).createIndex("project","project",{unique:!1});var o=t.target.transaction.objectStore("".concat(e.project,"_").concat(e.locale)).add({project:e.data.project,version:e.data.version,data:JSON.stringify(e.data)});o.onsuccess=function(){Ve(e),r.close()},o.onerror=function(){r.close()}}}catch(i){}}},ze=function(e,t,r){var n=window&&window.indexedDB.open(Fe);n.onsuccess=function(n){var o=n.target.result;n.target.result.version;try{if(o.objectStoreNames.contains("".concat(e.project,"_").concat(e.locale))){var i=o.transaction(["".concat(e.project,"_").concat(e.locale)]).objectStore("".concat(e.project,"_").concat(e.locale)).get("".concat(e.project,"_").concat(e.locale));i.onsuccess=function(){if(i.result){var n=i.result;t(n),o.close()}else r(e),o.close()},i.onerror=function(){r(e),o.close()}}else r(e)}catch(a){r(e),o.close()}},n.onerror=function(){r(e)}},Ke=function(e,t){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Ke(e,t)};function Xe(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Ke(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var Ye=function(){return Ye=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(gt,(function(e,r,n,o,i,a){if(r)t.minimumIntegerDigits=n.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(vt.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(dt.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(dt,(function(e,r,n,o,i,a){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var i=o.options[0];"w"===i?t=Ye(Ye({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=Ye(Ye({},t),_t(i)))}else if(mt.test(o.stem))t=Ye(Ye({},t),_t(o.stem));else{var a=yt(o.stem);a&&(t=Ye(Ye({},t),a));var c=bt(o.stem);c&&(t=Ye(Ye({},t),c))}}return t}var Et,Nt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function St(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Nt[r||""]||Nt[n||""]||Nt["".concat(n,"-001")]||Nt["001"])[0]}var Tt=new RegExp("^".concat(ut.source,"*")),kt=new RegExp("".concat(ut.source,"*$"));function At(e,t){return{start:e,end:t}}var Ct=!!String.prototype.startsWith,Ot=!!String.fromCodePoint,Lt=!!Object.fromEntries,Bt=!!String.prototype.codePointAt,It=!!String.prototype.trimStart,jt=!!String.prototype.trimEnd,Rt=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Mt=!0;try{Mt="a"===(null===(Et=Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Et?void 0:Et[0])}catch(ju){Mt=!1}var Pt,Dt=Ct?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ut=Ot?String.fromCodePoint:function(){for(var e=[],t=0;ti;){if((r=e[i++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ht=Lt?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n,o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},Gt=It?function(e){return e.trimStart()}:function(e){return e.replace(Tt,"")},Vt=jt?function(e){return e.trimEnd()}:function(e){return e.replace(kt,"")};function Wt(e,t){return new RegExp(e,t)}if(Mt){var zt=Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Pt=function(e,t){var r;return zt.lastIndex=t,null!==(r=zt.exec(e)[1])&&void 0!==r?r:""}}else Pt=function(e,t){for(var r=[];;){var n=Ft(e,t);if(void 0===n||Yt(n)||Zt(n))break;r.push(n),t+=n>=65536?2:1}return Ut.apply(void 0,r)};var Kt=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(qe.UNMATCHED_CLOSING_TAG,At(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Xt(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:Je.pound,location:At(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Je.literal,value:"<".concat(n,"/>"),location:At(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("")?{val:{type:Je.tag,value:n,children:i,location:At(r,this.clonePosition())},err:null}:this.error(qe.INVALID_TAG,At(a,this.clonePosition())))}return this.error(qe.UNCLOSED_TAG,At(r,this.clonePosition()))}return this.error(qe.INVALID_TAG,At(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{var i=this.tryParseUnquoted(e,t);if(i)n+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var c=At(r,this.clonePosition());return{val:{type:Je.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Xt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ut.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ut(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(qe.EXPECT_ARGUMENT_CLOSING_BRACE,At(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(qe.EMPTY_ARGUMENT,At(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(qe.MALFORMED_ARGUMENT,At(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(qe.EXPECT_ARGUMENT_CLOSING_BRACE,At(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Je.argument,value:n,location:At(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(qe.EXPECT_ARGUMENT_CLOSING_BRACE,At(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(qe.MALFORMED_ARGUMENT,At(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Pt(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:At(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(a){case"":return this.error(qe.EXPECT_ARGUMENT_TYPE,At(i,c));case"number":case"date":case"time":this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(p=Vt(v.val)).length)return this.error(qe.EXPECT_ARGUMENT_STYLE,At(this.clonePosition(),this.clonePosition()));s={style:p,styleLocation:At(l,this.clonePosition())}}if((_=this.tryParseArgumentClose(n)).err)return _;var u=At(n,this.clonePosition());if(s&&Dt(null===s||void 0===s?void 0:s.style,"::",0)){var f=Gt(s.style.slice(2));if("number"===a)return(v=this.parseNumberSkeletonFromString(f,s.styleLocation)).err?v:{val:{type:Je.number,value:r,location:u,style:v.val},err:null};if(0===f.length)return this.error(qe.EXPECT_DATE_TIME_SKELETON,u);var h=f;this.locale&&(h=function(e,t){for(var r="",n=0;n>1),s=St(t);for("H"!=s&&"k"!=s||(c=0);c-- >0;)r+="a";for(;a-- >0;)r=s+r}else r+="J"===o?"H":o}return r}(f,this.locale));var p={type:$e.dateTime,pattern:h,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?ht(h):{}};return{val:{type:"date"===a?Je.date:Je.time,value:r,location:u,style:p},err:null}}return{val:{type:"number"===a?Je.number:"date"===a?Je.date:Je.time,value:r,location:u,style:null!==(o=null===s||void 0===s?void 0:s.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(qe.EXPECT_SELECT_ARGUMENT_OPTIONS,At(d,Ye({},d)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(qe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,At(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(qe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,qe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=v.val}var _,y=this.tryParsePluralOrSelectOptions(e,a,t,m);if(y.err)return y;if((_=this.tryParseArgumentClose(n)).err)return _;var b=At(n,this.clonePosition());return"select"===a?{val:{type:Je.select,value:r,options:Ht(y.val),location:b},err:null}:{val:{type:Je.plural,value:r,options:Ht(y.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:b},err:null};default:return this.error(qe.INVALID_ARGUMENT_TYPE,At(i,c))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(qe.EXPECT_ARGUMENT_CLOSING_BRACE,At(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(qe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,At(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(pt).filter((function(e){return e.length>0}));r=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var c=At(n,this.clonePosition());return o?Rt(i*=r)?{val:i,err:null}:this.error(t,c):this.error(e,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ft(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Dt(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Yt(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!==r&&void 0!==r?r:null},e}();function Xt(e){return e>=97&&e<=122||e>=65&&e<=90}function Yt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Zt(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function qt(e){e.forEach((function(e){if(delete e.location,ot(e)||it(e))for(var t in e.options)delete e.options[t].location,qt(e.options[t].value);else tt(e)&&st(e.style)||(rt(e)||nt(e))&<(e.style)?delete e.style.location:ct(e)&&qt(e.children)}))}function Jt(e,t){void 0===t&&(t={}),t=Ye({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Kt(e,t).parse();if(r.err){var n=SyntaxError(qe[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null===t||void 0===t?void 0:t.captureLocation)||qt(r.val),r.val}function $t(e,t){var r=t&&t.cache?t.cache:ar,n=t&&t.serializer?t.serializer:nr;return(t&&t.strategy?t.strategy:rr)(e,{cache:r,serializer:n})}function Qt(e,t,r,n){var o,i=null==(o=n)||"number"===typeof o||"boolean"===typeof o?n:r(n),a=t.get(i);return"undefined"===typeof a&&(a=e.call(this,n),t.set(i,a)),a}function er(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return"undefined"===typeof i&&(i=e.apply(this,n),t.set(o,i)),i}function tr(e,t,r,n,o){return r.bind(t,e,n,o)}function rr(e,t){return tr(e,this,1===e.length?Qt:er,t.cache.create(),t.serializer)}var nr=function(){return JSON.stringify(arguments)};function or(){this.cache=Object.create(null)}or.prototype.get=function(e){return this.cache[e]},or.prototype.set=function(e,t){this.cache[e]=t};var ir,ar={create:function(){return new or}},cr={variadic:function(e,t){return tr(e,this,er,t.cache.create(),t.serializer)},monadic:function(e,t){return tr(e,this,Qt,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ir||(ir={}));var sr,lr=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return Xe(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ur=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ir.INVALID_VALUE,o)||this}return Xe(t,e),t}(lr),fr=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),ir.INVALID_VALUE,n)||this}return Xe(t,e),t}(lr),hr=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),ir.MISSING_VALUE,r)||this}return Xe(t,e),t}(lr);function pr(e){return"function"===typeof e}function dr(e,t,r,n,o,i,a){if(1===e.length&&Qe(e[0]))return[{type:sr.literal,value:e[0].value}];for(var c=[],s=0,l=e;s0?new Intl.Locale(t[0]):new Intl.Locale("string"===typeof e?e:e[0])}},e.__parse=Jt,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(vr||(vr={}));var yr=function(e){function t(r,n,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return Xe(t,e),t}(Error),br=function(e){function t(t,r){return e.call(this,vr.UNSUPPORTED_FORMATTER,t,r)||this}return Xe(t,e),t}(yr),wr=function(e){function t(t,r){return e.call(this,vr.INVALID_CONFIG,t,r)||this}return Xe(t,e),t}(yr),xr=function(e){function t(t,r){return e.call(this,vr.MISSING_DATA,t,r)||this}return Xe(t,e),t}(yr),Er=function(e){function t(t,r,n){return e.call(this,vr.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this}return Xe(t,e),t}(yr),Nr=function(e){function t(t,r,n,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null===n||void 0===n?void 0:n.id,"\nDefault Message: ").concat(null===n||void 0===n?void 0:n.defaultMessage,"\nDescription: ").concat(null===n||void 0===n?void 0:n.description,"\n"),r,o)||this;return i.descriptor=n,i}return Xe(t,e),t}(Er),Sr=function(e){function t(t,r){var n=e.call(this,vr.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"===typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return Xe(t,e),t}(yr);function Tr(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var kr={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function Ar(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Cr(e,t,r,n){var o,i=e&&e[t];if(i&&(o=i[r]),o)return o;n(new br("No ".concat(t," format named: ").concat(r)))}var Or=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Lr(e,t,r){var n=e.locale,o=e.formats,i=e.onError;void 0===r&&(r={});var a=r.format,c=a&&Cr(o,"number",a,i)||{};return t(n,Tr(r,Or,c))}function Br(e,t,r,n){void 0===n&&(n={});try{return Lr(e,t,n).format(r)}catch(o){e.onError(new yr(vr.FORMAT_ERROR,"Error formatting number.",o))}return String(r)}function Ir(e,t,r,n){void 0===n&&(n={});try{return Lr(e,t,n).formatToParts(r)}catch(o){e.onError(new yr(vr.FORMAT_ERROR,"Error formatting number.",o))}return[]}var jr=["numeric","style"];function Rr(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new lr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',ir.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,o=e.formats,i=e.onError;void 0===r&&(r={});var a=r.format,c=!!a&&Cr(o,"relative",a,i)||{};return t(n,Tr(r,jr,c))}(e,t,o).format(r,n)}catch(i){e.onError(new Er("Error formatting relative time.",e.locale,i))}return String(r)}var Mr=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Pr(e,t,r,n){var o=e.locale,i=e.formats,a=e.onError,c=e.timeZone;void 0===n&&(n={});var s=n.format,l=Ye(Ye({},c&&{timeZone:c}),s&&Cr(i,t,s,a)),u=Tr(n,Mr,l);return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=Ye(Ye({},u),{hour:"numeric",minute:"numeric"})),r(o,u)}function Dr(e,t){for(var r=[],n=2;n0&&void 0!==arguments[0]?arguments[0]:(null===O||void 0===O?void 0:O.locale)||"";return e?e.replace(/_/g,"-"):"en-US"}function sn(e){var t=(null===e||void 0===e?void 0:e.project)||nn;return"".concat(cn(null===e||void 0===e?void 0:e.locale),"@").concat(t)}function ln(){var e;return!(!d()||null===an||void 0===an||null===(e=an.ssrUtils)||void 0===e||!e.setCache)}function un(){var e;return!(!d()||null===an||void 0===an||null===(e=an.ssrUtils)||void 0===e||!e.globalStore)}function fn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"SSRProviderModule",t=arguments.length>1?arguments[1]:void 0;return t?an.ssrUtils.globalStore.set(e,t):an.ssrUtils.globalStore.get(e)}function hn(e,t){var r,n;return t?null===an||void 0===an||null===(n=an.ssrUtils)||void 0===n?void 0:n.setCache("blade@localeStore@".concat(e),t):null===an||void 0===an||null===(r=an.ssrUtils)||void 0===r?void 0:r.getCache("blade@localeStore@".concat(e))}var pn={};function dn(e,t){if(null===t||void 0===t||!t.useSington||!pn[sn(t)]){var r={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},n=rn({locale:cn(null===t||void 0===t?void 0:t.locale),messages:e},r);ln()&&null!==t&&void 0!==t&&t.from?hn(sn(t),n):pn[sn(t)]=n}}var mn=r(163),gn=r.n(mn);function vn(e){return/GMT[^+-]/.test(e)?null===e||void 0===e?void 0:e.replace("GMT","UTC"):e.replace(/\[?(GMT|UTC)(\+|-)([0-9]+)\]?/g,(function(e,t,r,n){return"0"===n?"UTC":"(UTC+".concat(n,")")}))}var _n={"tr-tr":function(e,t){var r=t;return e.startsWith("MMdd")&&(r=t.replace("/",".")),e.includes("z")&&(r=vn(t)),r},default:function(e,t){var r=t;return e.includes("z")&&(r=vn(t)),r}};function yn(e,t){var r=e.replace("-","");return t.replace(/0/g,"").replace(/\d/,r)}function bn(e,t,r){var n,o=1;return e<0&&(o=-1),n="currency"===(null===t||void 0===t?void 0:t.style)?{minimumFractionDigits:0,style:null===t||void 0===t?void 0:t.style,currency:null===t||void 0===t?void 0:t.currency,currencyDisplay:"narrowSymbol"}:{minimumFractionDigits:0,style:null===t||void 0===t?void 0:t.style},pn[sn({locale:r})].formatNumber(o,n)}var wn={"en-in":function(){return{groupSize:3,secondaryGroupSize:2}},"es-es":function(e){return{groupSize:4===(null===e||void 0===e?void 0:e.length)?0:3}},"pl-pl":function(e){return{groupSize:4===(null===e||void 0===e?void 0:e.length)?0:3}},"pt-pt":function(e){return{groupSize:4===(null===e||void 0===e?void 0:e.length)?0:3}}},xn=C(),En=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};oe(this,e),this.formatDateTime=function(e,r){var n,i=cn((null===r||void 0===r?void 0:r.locale)||t.intlConfigs.locale);if(null!==r&&void 0!==r&&r.format){var a,c=null===r||void 0===r?void 0:r.format;null!==(a=c)&&void 0!==a&&a.includes("MMMdd")&&(c=c.replace("MMMdd","MMMd"));var s=function(e,t){var r,n;if(d())return t;var o=null===(r=navigator)||void 0===r?void 0:r.userAgent,i=null===o||void 0===o||null===(n=o.match(/Chrome\/(\d+)/))||void 0===n?void 0:n[1];return"88"!==i&&"89"!==i||"zh-CN"!==e?t:t.replace("ddHH","ddhh")}(i,c),l={locale:i,project:s,useSington:!0};dn(o({},s,"{date, date, ::".concat(s,"}")),l),n=function(e,t,r){return void 0!==_n[e.toLowerCase()]?_n[e.toLowerCase()](t,r):_n.default(t,r)}(i,s,n=t.formatMessage(l,s,{date:e}))}else{var u={locale:i,useSington:!0};dn({},u),n=pn[sn(u)].formatDate(e,r)}return q(n)},this.formatNumber=function(e,r){var n=new(gn())(e);if(Number.isNaN(n.toNumber()))throw new Error(on);var o=null===n||void 0===n?void 0:n.e,i=cn((null===r||void 0===r?void 0:r.locale)||t.intlConfigs.locale),c=t.getNumberInfo(i),s=c.micrometerSymbol,l=c.smallDigitalSymbol,u=K((!!"".concat(e).split("").find((function(e){return"."===e}))?"".concat(e):new(gn())(e).toFormat({groupSeparator:"",decimalSeparator:"."})).trim().split("."),2),f=u[0],h=u[1],p=h?h.length:0;o&&o<0&&h&&Math.abs(o)>h.length&&(p=Math.abs(o)+2);var d,m={};("boolean"!==typeof(null===r||void 0===r?void 0:r.useGrouping)||null!==r&&void 0!==r&&r.useGrouping)&&(m=(null===(d=wn[i.toLowerCase()])||void 0===d?void 0:d.call(wn,f))||{groupSize:3});var g=a({decimalSeparator:l,groupSeparator:s},m);if("undefined"===typeof(null===r||void 0===r?void 0:r.needZero)||null!==r&&void 0!==r&&r.needZero){if(null!==r&&void 0!==r&&r.style&&("currency"===(null===r||void 0===r?void 0:r.style)||"percent"===(null===r||void 0===r?void 0:r.style))){var v=bn(n.toNumber(),r,i);return q(yn(n.toFormat(p,g),v))}return q(n.toFormat(p,g))}if(null!==r&&void 0!==r&&r.style&&("currency"===(null===r||void 0===r?void 0:r.style)||"percent"===(null===r||void 0===r?void 0:r.style))){var _=bn(n.toNumber(),r,i);return q(yn(n.toFormat(g),_))}return q(n.toFormat(g))},this.formatMessage=function(e,r,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0,c=a({},n);o&&Object.keys(n).forEach((function(e){c[e]=q(n[e],xn.okMarkLocaleVarInTextSign,{noNeedFilter:!0})}));var s=e.locale,l=sn({project:e.project,locale:cn(s||t.intlConfigs.locale)}),u=pn[l];if(ln()&&"i18n"===i&&(u=hn(l)),!u)throw new Error("PLEASE_INIT_INTL");var f={id:r,defaultMessage:""},h={},p=u.messages[r],d=function(e){for(var t=/<\s*(\/)?\s*([a-z]+)(?:\s+[^\/]+(?:\s*=\s*(?:[^/]+)|\"\S+\"|\'\S+\')?)?\s*(\/)?\s*>/gi,r={},n={},o=0,i=e,a=[],c=t.exec(e);null!==c;)a.push(c),c=t.exec(e);return a.forEach((function(e){var t=K(e,4),a=t[0],c=t[1],s=t[2],l=t[3];if(!l){var u="";r[s]?(u=""),Reflect.deleteProperty(r,s)):(r[s]="tmp".concat(o++),n[r[s]]={matchText:a,isClose:!!l,isEnd:!!c,tag:s},u="<".concat(r[s],">")),i=i.replace(a,u)}})),{res:i,tagMaps:n}}(p);u.messages[r]=d.res,Object.entries(d.tagMaps).forEach((function(e){var t=K(e,2),r=t[0],n=t[1],o=n.isClose,i=n.isEnd,a=n.matchText,c=n.tag;i||(h[r]=o?function(){return a}:function(e){return"".concat(a).concat(e,"")})}));var m=u.formatMessage(f,a(a({},c),h));return u.messages[r]=p,m},this.formatRelativeTime=function(e,r,n){var o={locale:cn((null===n||void 0===n?void 0:n.locale)||t.intlConfigs.locale),useSington:!0};return dn({},o),pn[sn(o)].formatRelativeTime(e,r,n)},this.getNumberInfo=function(e){var r={project:nn,locale:cn(e||t.intlConfigs.locale),useSington:!0};dn({},r);var n=pn[sn(r)].formatNumber(10000.1);return{micrometerSymbol:n[2],smallDigitalSymbol:n.split("").reverse()[1]}},this.parseLocaleNumber=function(e,r){var n="".concat(e),o=cn((null===r||void 0===r?void 0:r.locale)||t.intlConfigs.locale),i=t.getNumberInfo(o),a=i.smallDigitalSymbol,c=i.micrometerSymbol,s=new RegExp("\\".concat(c),"g"),l=K(n.split(a),2),u=l[0],f=l[1],h=u.replace(s,""),p=Number("".concat(h).concat(f?".".concat(f):""));if(Number.isNaN(p)||"-"!==n[0]&&Number.isNaN(Number(n[0])))throw new Error(on);if(null!==r&&void 0!==r&&r.handleInput){var d=!!n.split("").find((function(e){return e===a}));return"".concat(h).concat(d?".":"").concat(void 0===f?"":f)}return p},this.intlConfigs=r,this.intlConfigs=r}return ae(e,[{key:"init",value:function(e){dn(e,a(a({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{locale:this.locale}))}},{key:"locale",get:function(){return cn(this.intlConfigs.locale)}}]),e}(),Nn=new En,Sn=(Nn.formatDateTime,Nn.formatNumber),Tn=(Nn.formatRelativeTime,Nn.getNumberInfo,Nn.parseLocaleNumber,Nn.formatMessage),kn=C(),An="okI18nVersion",Cn=/<\/?[a-z][\s\S]*>/i,On=/(\n)|(\\n)/g,Ln="en_US",Bn="toLocale cannot be used outside of LocaleProvider, issue key is ",In=G.isShowKeyMode,jn=G.isShowPureKey,Rn=G.localeStore,Mn=G.localeDevStore,Pn=G.localeState,Dn=G.hasLoadedModules,Un=G.SSRProviderModule,Hn=null,Fn=new Promise((function(e){Hn=e}));function Gn(e,t,r,n){var o=Pn[t]&&Pn[t].locale||O.locale||V.get("locale")||V.get("language")||Ln,i=e||a(a({},window&&window["".concat(t)]),{},{version:r,project:t});dn(a(a({},Mn["".concat(t)]),i),{locale:o.toLowerCase(),project:"".concat(t)});var c=[];Pn.fetchModules.map((function(e){return e.project===t?c.push(a(a({},e),{},{fetchDone:!0})):c.push(e)})),Pn.fetchModules=c;var s=Pn["".concat(t,"_").concat(n)];(null===s||void 0===s?void 0:s.updateView)&&(null===s||void 0===s||s.updateView());var l=Pn.fetchConfigs.find((function(e){return e.project==="".concat(t)}));l&&l.fastRender&&l.onLocaleReady(e||window["".concat(t)])}function Vn(e,t,r,n){var o=(window||{}).onLocaleDataReady,i=Pn[t.project]&&Pn[t.project].locale||O.locale||V.get("locale")||V.get("language")||Ln;r||!window["".concat(t.project)]||n||window&&window["".concat(t.project)]&&!t.noCache&&window.addEventListener("load",(function(){(window&&window.indexedDB.open(Fe)).onsuccess=function(e){We({project:t.project,locale:t.locale,version:t.version,data:a(a({},window["".concat(t.project)]),{},{project:"".concat(t.project,"_").concat(t.locale),version:t.version})},e.target.result.version)}}));var c=r||a(a({},window&&window["".concat(t.project)]),{},{version:t.version,project:t.project}),s=a(a({},Mn["".concat(t.project)]),c);if(o&&o(r||(window&&window["".concat(t.project)],{project:t.project})),e)return Dn.push(t.project),void Hn(s);dn(s,{locale:i.toLowerCase(),project:"".concat(t.project)}),G.usingRemote?Pn["".concat(t.project,"_").concat(t.flag)]&&(Rn["".concat(t.project)]=r||window&&window["".concat(t.project)],Gn(r,t.project,t.version,t.flag)):Rn["".concat(t.project)]=r||window&&window["".concat(t.project)]}function Wn(e,t,r){var n=document.createElement("script");n.setAttribute("src",e.url),n.onerror=t,n.onload=r,document.head.appendChild(n)}function zn(e,t,r){var n=e.project,o=e.noCache,i=e.flag,c=e.noFetch;t&&!r&&(Pn[n]={},Pn[n].errorTimes=0);var s=function(e,t){var r=t.site,n=t.project,o=t.version,i=t.resourceType,a=void 0===i?"js":i,c=t.fetchBaseUrl,s=void 0===c?G.fetchBaseUrl:c,l=B().LANGUAGE_VERSIONS,u=t.locale||Pn[n]&&Pn[n].locale||O.locale||!d()&&V.get("locale")||!d()&&V.get("language")||Ln,f=r.toLowerCase(),h=n.toLowerCase(),p=u&&u.toLowerCase&&u.toLowerCase().replace(/-/g,"_"),m="".concat(f,"_").concat(h,"_").concat(p),g="".concat(s,"/").concat(r,"/").concat(h,"/").concat(p,".").concat(a),v=l[ne(n,!0)]||o;return{url:"".concat(g).concat(v?"?v=".concat(v):""),namespace:m,finalVersion:v,locale:u}}(0,e),l=s.finalVersion;if(Dn.includes(n))Gn(!1,n,l,i);else{var u=s.locale,f=function(){!function(e,t){var r=e.flag?Pn["".concat(e.project,"_").concat(e.flag)]:Pn[e.project];r.errorTimes+=1;var n=r.errorTimes;if(!(n>=4))if(2===n){var o=Ln,i=e.locale||O.locale||V.get("locale")||V.get("language");if(2===n&&(i!==o||Pn.urlTestLocale)){var c=Pn.fetchConfigs.find((function(t){return t.project===e.project})),s=e;c?(c.locale=o,c.flag=e.flag,Pn[e.project]=o):s.locale=o,t(e.flag?a({},c):a({},s),!e.flag,!0)}}else t(a({},e),!e.flag,!0)}(e,zn)},h=function(){Vn(t,{project:n,version:l,locale:u,noCache:o,flag:i},!1)};if(window&&window.indexedDB&&!o&&!c){var p=He.g.get(An)||{};(p[n]&&p[n][u]||"")===l?window&&window["".concat(n)]?Vn(t,{project:n,version:l,locale:u,noCache:o,flag:i},!1,!0):ze({project:n,version:l,locale:u},(function(e){if(e){var r=JSON.parse(e.data);r&&(window["".concat(n)]=r),l===e.version?Vn(t,{project:n,version:l,locale:u,noCache:o,flag:i},r):Wn(s,f,h)}else Wn(s,f,h)}),(function(){Wn(s,f,h)})):Wn(s,f,h)}else!c&&Wn(s,f,h),c&&h()}}function Kn(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=kn.okMarkLocaleTextSign,i=B().LANGUAGE_VERSIONS;if(!In)return q(t,o,{noNeedFilter:!0});if(jn)return q(e,o,{noNeedFilter:!0});var a=r,c=Pn.fetchConfigs[0];if(!c)return q(t,o,{noNeedFilter:!0});a||(a=c.project);var s=c.site,l=c.version,u=i[a];return u&&(l=u),n?"showkeyWithJSX?key=".concat(e,"?site=").concat(s,"?partName=").concat(r,"?project=").concat(a,"?version=").concat(l,"?content=").concat(t,"?showkeyWithJSX"):"showkey?key=".concat(e,"?site=").concat(s,"?partName=").concat(r,"?project=").concat(a,"?version=").concat(l,"?content=").concat(t,"?showkey")}function Xn(e){return Object.prototype.toString.call(e).includes("String")}function Yn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var o=r.partName,i=r.withJSX,a=r.useBr,c=void 0===a||a,s=(o=ne(o))||Pn.fetchModules&&Pn.fetchModules[0]&&Pn.fetchModules[0].project||"main",l=Rn[s];if(ln()){var u,f,h,p;if(un()){var m=fn(Un);h=m.ssrModuleName,p=m.ssrLocale}if(l=(null===(f=hn(sn({locale:null===(u=p)||void 0===u?void 0:u.toLowerCase(),project:h})))||void 0===f?void 0:f.messages)||{},d()&&p&&p!==O.locale){if("prod"!==(null===O||void 0===O?void 0:O.envSign))throw new Error("".concat(Bn).concat(e));return""}}var g=l&&l[e]||"",v=Pn[s]&&Pn[s].locale||O.locale||!d()&&V.get("locale")||!d()&&V.get("language")||Ln;if(G.isInDevMode&&!d()&&Mn[s]){var _=Mn[s][e];_&&(g=_)}if(!g)return Kn(e,g,s);if(null!==kn&&void 0!==kn&&kn.getFalconNeededRes&&q(g,"",{originContent:!0,msg:{project:s,key:e,content:g}}),!n.hasBr&&Cn.test(g)&&c&&(g=Xn(g)&&g.replace(On,"")),i)return Kn(e,g,s,i);if(0===(Object.keys(t)||[]).length)return c&&Xn(g)&&g.indexOf("\n")>-1&&!n.hasBr&&!Cn.test(g)?re(g):Kn(e,g,s,i);var y="";return y=Tn({project:s,locale:v.toLowerCase()},e,t,!0,"i18n"),c&&Xn(y)&&y.indexOf("\n")>-1&&!n.hasBr&&!Cn.test(g)?re(y):Kn(e,y,s,i)}catch(b){}}function Zn(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){for(var r,n=te(),o=[],i=0,a=0;r=Q.exec(e);){var c=K(r,2),s=c[0],u=c[1],f=r.index;i0&&void 0!==arguments[0]?arguments[0]:"",null,a(a({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),{},{withJSX:!0}),{hasBr:!0}),e)}function qn(){var e=Yn.apply(void 0,arguments);return e.props?e.props.children:e}function Jn(e){var t=ne(e,!0);Yn[t]=function(t,r){return Yn(t,r,{partName:e})},qn[t]=function(t,r){return qn(t,r,{partName:e})},Zn[t]=function(t,r){return Zn(t,r,{partName:e})}}function $n(e,t,r){return t=ue(t),se(e,le()?Reflect.construct(t,r||[],ue(e).constructor):t.apply(e,r))}var Qn=G.localeStore,eo=G.localeDevStore,to=G.baseInitState,ro=G.localeState,no=G.isPreview,oo=G.isShowKeyMode,io=G.isShowKeyTips,ao=G.hasLoadedModules,co=G.SSRProviderModule,so={},lo=d(),uo="en_US";var fo=function(e){function t(){return oe(this,t),$n(this,t,arguments)}return he(t,e),ae(t,[{key:"componentDidMount",value:function(){var e=this.props.fetchConfig;lo||e&&window&&window.react_locale_is_done&&window.react_locale_is_done()}},{key:"render",value:function(){return(0,J.jsx)(l.Fragment,{children:this.props.children})}}]),t}(u().Component),ho=function(e){function t(e){var r;oe(this,t),(r=$n(this,t,[e])).flag=function(e,t){var r=t-e,n=Math.random();return(new Date).getTime()+e+Math.round(n*r)}(1e8,999999999);var n=r.props,o=n.part,i=void 0===o?{}:o,c=n.isDev,s=n.localeData,l=n.fetchConfig,u=void 0===l?{}:l,f=n.partsData,h=n.noRemoteData,p=uo;u.project=ne((null===u||void 0===u?void 0:u.project)||""),i.project=ne((null===i||void 0===i?void 0:i.project)||"");var d=u.intl,m=void 0===d?{}:d,g=Object.keys(m)||[];p=0===g.length?u.locale||(null===O||void 0===O?void 0:O.locale)||uo:m.intlConfigs&&m.intlConfigs.locale||(null===O||void 0===O?void 0:O.locale)||uo;var v=i.project||u.project||"main";if(s){if(ln())hn(sn({locale:p.toLowerCase(),project:v}),{messages:s}),Qn[v]={},Qn[v].moduleLanguage=p,un()&&fn(co,{ssrModuleName:v,ssrLocale:p});else Qn[v]=s;if(ro["".concat(v,"_").concat(r.flag)]=a({},to),ro[v]={},ro[v].locale=p,lo||h)dn(s,{locale:p.toLowerCase(),project:v,from:"i18n"}),!ro.fetchModules.find((function(e){return v===e}))&&ro.fetchModules.push({project:v,flag:r.flag,fetchDone:!1}),h&&io&&oo&&ro.fetchConfigs.push(u);var _=ao.includes(u.project);(c||_)&&(F({isInDevMode:!0}),eo[v]=s,_&&dn(s,{locale:p.toLowerCase(),project:v}),u.project||u.site||dn(s,{locale:p.toLowerCase(),project:v})),!u.project&&ro.fetchModules.length<1&&ro.fetchModules.push({project:v})}if(oo&&no){var y=localStorage.getItem("ok_language"),b=JSON.parse(y)||{},w=(b["".concat(v,"_").concat(p.toLowerCase())]||b[v]||{}).localData;Qn[v]=w,ro["".concat(v,"_").concat(r.flag)]=a({},to),ro[v]={},ro[v].locale=p,F({isInDevMode:!0}),eo[v]=w}var x=u.project,E=void 0===x?"":x;if((lo||h)&&Jn(E),lo||!E||h)f&&(F({partsDataProvided:!0}),Object.keys(f).forEach((function(e){Qn[e]=f[e],Jn(e),dn(f,{locale:p.toLowerCase(),project:e})})));else{var N;so=u;var S=ro.urlTestLocale;so.locale=p,S&&(u.locale=S),O.envSign&&"prod"!==O.envSign&&F({fetchBaseUrl:B().BASE_URL_PREVIEW}),1===u.noCdn&&F({fetchBaseUrl:B().BASE_URL_NOCDN_PREVIEW}),2===u.noCdn&&F({fetchBaseUrl:B().BASE_URL_NOCDN_PUBLISH}),Qn[E]=(null===(N=window)||void 0===N?void 0:N[E])||{},ro["".concat(E,"_").concat(r.flag)]=a({},to),ro[E]={},ro[E].locale=p,ro.fetchModules.push({flag:r.flag,project:E,fetchDone:!1}),ro.fetchConfigs.push(u),F({usingRemote:!0}),Jn(E)}if(i.project){var T,k=a({},so);k.site=i.site,ro.locale=so.locale,k.project=i.project,ro.fetchConfigs.push(a(a({},so),k)),Qn[i.project]=lo?{}:(null===(T=window)||void 0===T?void 0:T[i.project])||{},ro["".concat(i.project,"_").concat(r.flag)]=a({},to),ro[i.project]={},ro[i.project].locale=p,ro.fetchModules.push({project:i.project,flag:r.flag,fetchDone:!1}),G.usingRemote||G.partsDataProvided||(Yn[i.project]=Yn),Jn(i.project)}return r}return he(t,e),ae(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,r=t.part,n=void 0===r?{}:r,o=t.fetchConfig,i=void 0===o?{}:o,c=t.noRemoteData;i.project=ne((null===i||void 0===i?void 0:i.project)||""),n.project=ne((null===n||void 0===n?void 0:n.project)||"");var s=i.project,l=void 0===s?"":s;if(n.project||i){var u=null!==n&&void 0!==n&&n.project?"".concat(n.project,"_").concat(this.flag):null;ro[u||"".concat(i.project,"_").concat(this.flag)].updateView=function(){!e.unmount&&e.forceUpdate()}}if(lo||!l||c||zn(a(a({},i),{},{flag:this.flag})),n.project){var f=a({},so);f.site=n.site,f.project=n.project,zn(a(a({},f),{},{flag:this.flag}))}}},{key:"componentWillUnmount",value:function(){this.unmount=!0}},{key:"render",value:function(){var e=this,t=this.props,r=t.part,n=void 0===r?{}:r,o=t.children,i=t.customRender,a=t.normalCsr,c=t.fetchConfig,s=void 0===c?{}:c;s.project=ne((null===s||void 0===s?void 0:s.project)||""),n.project=ne((null===n||void 0===n?void 0:n.project)||"");var u="function"===typeof i;if(!G.usingRemote)return(0,J.jsx)(l.Fragment,{children:o});if(n.project||s&&!s.fastRender){var f,h,p,d=n.project||s.project,m=ro.fetchModules.find((function(t){return t.project===d&&t.flag===e.flag&&t.fetchDone})),g=null===(f=window)||void 0===f||null===(h=f.__INIT_STATE__)||void 0===h||null===(p=h.appContext)||void 0===p?void 0:p.isSSR;if(!m&&a||!m&&!g)return u?i(o,!1):null}return(0,J.jsx)(fo,{fetchConfig:s,children:u?i(o,!0):o})}}]),t}(u().Component),po=d()?{}:window,mo=po.location,go=po.document;po.open,po.URL,po.addEventListener,po.removeEventListener,po.history,po.navigator;function vo(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var _o=0;function yo(e){return"__private_"+_o+++"_"+e}function bo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return t.invalidGlobalConfig||t.overrideGlobalConfig?t:a(a({},t),function(e,t,r){var n={};return r&&Object.keys(r).forEach((function(o){t[o]===e[o]&&(n[o]=r[o])})),n}(e,t,r))}var wo=a(a({},JSON.parse('{"D":{"site":"common","project":"web_common"}}').D),{},{version:Date.now()}),xo={isDev:!1,fetchConfig:wo},Eo=yo("data"),No=new(function(){function e(){var t=this;oe(this,e),Object.defineProperty(this,Eo,{writable:!0,value:{okdNamespace:"",okdVersion:"latest",popupClassName:"",popupDir:void 0,frozenScroll:!0,localeProviderProps:a(a({},xo),{},{fetchConfig:a({},wo)})}}),this.setConfig=function(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(vo(t,Eo)[Eo],a(a({},r),{},{localeProviderProps:a(a(a({},xo),(null===r||void 0===r?void 0:r.localeProviderProps)||{}),{},{fetchConfig:a(a({},wo),(null===r||void 0===r||null===(e=r.localeProviderProps)||void 0===e?void 0:e.fetchConfig)||{})})}))},this.getConfig=function(){return vo(t,Eo)[Eo]},this.mergeProps=function(e,r,n){return bo(e,r,vo(t,Eo)[Eo][n])}}return ae(e,[{key:"data",get:function(){return vo(this,Eo)[Eo]}}]),e}());No.componentNames={Dialog:"Dialog",Drawer:"Drawer",Popup:"Popup",Popover:"Popover",Tooltip:"Tooltip",Select:"Select",Dropdown:"Dropdown",DatePicker:"DatePicker",Cascader:"Cascader",Icon:"Icon",PowerLink:"PowerLink"},No.fetchConfig=wo;const So=No;var To="noopener noreferrer nofollow",ko="noopener noreferrer",Ao=/^http(s)?:\/\/.+/,Co=["/support/","/docs/","/docs-v5/","/academy/"],Oo=["http","//","\\/","/\\","\\"];function Lo(e){return!(e&&"string"===typeof e&&(t=e,!Oo.some((function(e){return t.startsWith(e)})))&&e.startsWith("/")&&!e.startsWith("/\\"));var t}function Bo(e){return"/"===e?e:e.endsWith("/")?e.slice(0,-1):e}function Io(e){if(!e||"string"!==typeof e)return e;try{var t,r=O.langPath,n=void 0===r?"":r,o=O.localeMap,i=void 0===o?{}:o,a=O.locale,c=void 0===a?"":a,s=O.pathCorrection,l=void 0===s?{}:s,u=null===c||void 0===c||null===(t=c.toLowerCase())||void 0===t?void 0:t.replace("-","_"),f=e,h=function(e){var t="";return Object.keys(e).forEach((function(r){e[r]||(t=r)})),t}(i),p={localeMap:i,langPath:n,path:e,locale:u,pathCorrection:l,defaultLocale:h},d=!Lo(e)&&function(e){var t=e.localeMap,r=e.langPath,n=e.path,o=e.pathCorrection,i=e.defaultLocale,a="";return Object.keys(t).forEach((function(e){if(e!==i){var c="/".concat(t[e]);n.startsWith("".concat(c,"/"))&&r!==c?a="".concat(c,"/"):n===c&&(a="".concat(c))}e===i&&Object.keys(o).forEach((function(e){var t=e.replace(/\//g,"");n.startsWith("/".concat(t,"/"))?a="/".concat(t,"/"):n==="/".concat(t)&&(a="/".concat(t))}))})),a}(p);return d&&(f=f.replace(d,"/")),function(e){var t=O.okUtilsConfig,r=(void 0===t?{}:t).prefixLangPathFilter;return!!Lo(e)||(r||Co).some((function(t){return e.startsWith(t)}))}(f)||!n&&u!==h?Bo(e):Bo(f.startsWith("".concat(n,"/"))?f:"".concat(n).concat(f))}catch(m){return e}}var jo="undefined"!==typeof process?process:{},Ro=function(e){var t=jo.javaUse;if(void 0!==t&&t)return"##".concat(e,"##");for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:"";return Ao.test(e)?e:Mo()?Io("/explorer".concat(e)):Io(e)},Do={act:function(){}};if("undefined"!==typeof window){var Uo=window.utils.monitor,Ho=(window._okGlobal||window.okGlobal).site,Fo=(void 0===Ho?{}:Ho).sign,Go=void 0===Fo?"okex":Fo;Do=Uo.newInstance({site:Go.toLocaleLowerCase(),product:"ex",commonParams:{}})}var Vo=Do,Wo=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).input;Vo.act({action:"Explore_Homepage_Searchby_Submit_Click",anchor:"Explore_Homepage_Searchby_Submit_Click",params:{input:e},actionType:"",elementType:""})},zo=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).email;Vo.act({action:"Oklilnk_Homepage_Subscription_Click",anchor:"Oklilnk_Homepage_Subscription_Click",params:{email:e},actionType:"",elementType:""})},Ko=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.tab_name,r=e.feature_name,n=e.position;Vo.act({action:"Oklilnk_Homepage_Portal_Feature_Click",anchor:"Oklilnk_Homepage_Portal_Feature_Click",params:{tab_name:t,feature_name:r,position:n},actionType:"",elementType:""})},Xo=d(),Yo=C(),Zo={debug:function(){},info:function(){},warn:function(){},error:function(){},timeStart:function(){},timeEnd:function(){},init:function(){}},qo=function(){var e=s(t().mark((function e(r){var n,o,i,c,s,l,u,f,h,p;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=r.message,i=r.level,c=r.data,"prod"!==O.envSign&&(null===(s=(l=console)[i])||void 0===s||s.call(l,o,c)),u={},u=c instanceof Error?{error:c}:a({message:o},c),f=Object.keys(u).find((function(e){return u[e]instanceof Error})),!(h=u[f])){e.next=11;break}return delete u[f],h.message="".concat(o," - ").concat(h.message),null===(p=window.Sentry)||void 0===p||p.captureException(h,a(a({},u),{},{message:o,contexts:{report:{info:JSON.stringify(u)}}})),e.abrupt("return");case 11:null===(n=window.Sentry)||void 0===n||n.captureEvent(a(a({},u),{},{message:o,level:i,contexts:{report:{info:JSON.stringify(u)}}}));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();Zo.init=Xo?function(){if(Yo.ssrUtils&&Yo.ssrUtils.logger){var e=Yo.ssrUtils.logger;Zo.debug=function(){for(var t,r=arguments.length,n=new Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:"",level:"debug",data:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})},Zo.info=function(){return qo({message:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",level:"info",data:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})},Zo.warn=function(){return qo({message:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",level:"warn",data:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})},Zo.error=function(){return qo({message:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",level:"error",data:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})},Zo.timeStart=console.time,Zo.timeEnd=console.timeEnd)},Zo.init();var Jo=function(e){Zo.error("explorer_error",e)},$o=function(e){Jo(e)};const Qo=JSON.parse('{"Dz":{"site":"oklink","project":"oklink_web_main"}}');const ei=function(e){var t=e.visible,r=e.children;return t?r:null},ti=mobx,ri=mobxReactLite;var ni=function(e){var t=(0,l.createContext)();return{withProvider:function(r){var n=(0,ri.observer)(r);return function(r){var o=(0,l.useMemo)(e,[]);return(0,J.jsx)(t.Provider,{value:o,children:(0,J.jsx)(n,a({},r))})}},useStores:function(){return(0,l.useContext)(t)}}};function oi(e){return function(e){if(Array.isArray(e))return W(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||z(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ii=function(){return"zh_cn"===((O||{}).locale||"").replace(/-/g,"_").toLowerCase()},ai={returnString:!1,isConvertToZero:!1,exponentialAt:[-7,20]},ci="K",si="M",li="B",ui="T",fi="P",hi="E",pi="Z",di="Y",mi=[{min:0,max:Math.pow(10,3),sign:""},{min:Math.pow(10,3),max:Math.pow(10,6),sign:ci},{min:Math.pow(10,6),max:Math.pow(10,9),sign:si},{min:Math.pow(10,9),max:Math.pow(10,12),sign:li},{min:Math.pow(10,12),max:Math.pow(10,15),sign:ui},{min:Math.pow(10,15),max:Math.pow(10,18),sign:fi},{min:Math.pow(10,18),max:Math.pow(10,21),sign:hi},{min:Math.pow(10,21),max:Math.pow(10,24),sign:pi},{min:Math.pow(10,24),max:1/0,sign:di}];function gi(e){return e?+e:e}function vi(e){return"string"!==typeof e&&"number"!==typeof e||(0==="".concat(e).trim().length||Number.isNaN(Number(e)))}function _i(e,t){return t&&(void 0===e||Number.isNaN(e)||""===e||null===e)?0:e}function yi(e,t){return!t&&e.endsWith("0")?new(gn())(e).toFixed():e}var bi=ae((function e(t){var r=this;oe(this,e),this.BigNumber=mn.BigNumber,this.convertNum=function(e){return _i(e,r.calcConfig.isConvertToZero)},this.config=function(e){var t=r.calcConfig;r.calcConfig=a(a({},t),e)},this.add=function(e,t,n){return(n||r.calcConfig).returnString?r.bigNumber(e).plus(r.convertNum(t)).toString():r.bigNumber(e).plus(r.convertNum(t)).toNumber()},this.sub=function(e,t,n){return(n||r.calcConfig).returnString?r.bigNumber(e).minus(r.convertNum(t)).toString():r.bigNumber(e).minus(r.convertNum(t)).toNumber()},this.mul=function(e,t,n){return(n||r.calcConfig).returnString?r.bigNumber(e).times(r.convertNum(t)).toString():r.bigNumber(e).times(r.convertNum(t)).toNumber()},this.div=function(e,t,n){var o=(n||r.calcConfig).returnString;return r.calcConfig.decimalPlaces=40,o?r.bigNumber(e).div(r.convertNum(t)).toString():r.bigNumber(e).div(r.convertNum(t)).toNumber()},this.safeDiv=function(e,t,n){var o=(n||r.calcConfig).returnString;return 0===Number(r.convertNum(t))?o?"0":0:r.div(e,r.convertNum(t),n)},this.pow=function(e,t,n){var o=(n||r.calcConfig).returnString;if(!Number.isInteger(+t))throw new Error("Exponent not an integer");if(+t<0)throw new Error("Exponent need more than 0");var i=r.bigNumber(e).exponentiatedBy(t);return o?i.toString():i.toNumber()},this.digitLength=function(e){return r.bigNumber(e).dp()},this.ceilTruncate=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=gi(t);return n?r.bigNumber(e).toFixed(o,mn.BigNumber.ROUND_CEIL):yi(r.bigNumber(e).toFixed(Math.min(o,Number(r.digitLength(e))),mn.BigNumber.ROUND_CEIL),n)},this.floorTruncate=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=gi(t);return n?r.bigNumber(e).toFixed(o,mn.BigNumber.ROUND_FLOOR):yi(r.bigNumber(e).toFixed(Math.min(o,r.digitLength(e)),mn.BigNumber.ROUND_FLOOR),n)},this.truncate=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=gi(t);return n?r.bigNumber(e).toFixed(o):yi(r.bigNumber(e).toFixed(Math.min(o,Number(r.digitLength(e)))),n)},this.ceilMul=function(e,t,n){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=gi(n),a=r.bigNumber(e).times(t).toFixed(i,mn.BigNumber.ROUND_CEIL);return o?a:r.bigNumber(a).toFixed(Math.min(i,Number(r.digitLength(a))),mn.BigNumber.ROUND_FLOOR)},this.floorMul=function(e,t,n){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=gi(n),a=r.bigNumber(e).times(t).toFixed(i,mn.BigNumber.ROUND_FLOOR);return o?a:r.bigNumber(a).toFixed(Math.min(i,Number(r.digitLength(a))),mn.BigNumber.ROUND_FLOOR)},this.ceilDiv=function(e,t,n){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=gi(n),a=r.bigNumber(e).div(t).toFixed(i,mn.BigNumber.ROUND_CEIL);return o?a:r.bigNumber(a).toFixed(Math.min(i,Number(r.digitLength(a))),mn.BigNumber.ROUND_FLOOR)},this.safeCeilDiv=function(e,t,n,o){return 0===Number(t)?r.ceilDiv(0,1,n,o):r.ceilDiv(e,t,n,o)},this.floorDiv=function(e,t,n){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=gi(n),a=r.bigNumber(e).div(t).toFixed(i,mn.BigNumber.ROUND_FLOOR);return o?a:r.bigNumber(a).toFixed(Math.min(i,Number(r.digitLength(a))),mn.BigNumber.ROUND_FLOOR)},this.safeFloorDiv=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i2&&void 0!==arguments[2]?arguments[2]:0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2,i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],a=ii()?["\u4e07","\u4ebf"]:["M","B"],c=ii()?[1e4,1e8]:[1e6,1e9],s=new mn.BigNumber(t).abs(),l=1,u="";return s.isLessThan(new mn.BigNumber(c[0]))?e(t,r,{needZero:n}):(s.isGreaterThanOrEqualTo(c[1])?(l=c[1],u=a[1]):(l=c[0],u=a[0]),mn.BigNumber.config({DECIMAL_PLACES:40}),e(new mn.BigNumber(t).div(l).toNumber(),o,{needZero:i})+u)}function Ei(e,t){var r=t[0],n=t[1]||{},o=n.digit,i=void 0===o?0:o,a=n.needZero,c=void 0===a||a,s=n.shortDigit,l=void 0===s?2:s,u=n.shortNeedZero,f=void 0===u||u,h=n.needK,p=void 0===h||h,d=n.needChineseUnit,m=void 0!==d&&d,g=!(ii()&&m),v=g?p?["K","M","B"]:["M","B"]:["\u4e07","\u4ebf"],_=g?p?[1e3,1e6,1e9]:[1e6,1e9]:[1e4,1e8],y=new mn.BigNumber(r).abs(),b=1,w="",x=K(_,3),E=x[0],N=x[1],S=x[2],T=K(v,3),k=T[0],A=T[1],C=T[2];return y.isLessThan(new mn.BigNumber(E))?e(r,i,{needZero:c}):(b=S||N,w=C||A,S&&y.isGreaterThanOrEqualTo(N)&&y.isLessThan(new mn.BigNumber(S))&&(b=N,w=A),y.isGreaterThanOrEqualTo(E)&&y.isLessThan(new mn.BigNumber(N))&&(b=E,w=k),mn.BigNumber.config({DECIMAL_PLACES:40}),e(new mn.BigNumber(r).div(b).toNumber(),l,{needZero:f})+w)}var Ni=function(e){function t(){var e,r,n,o;oe(this,t);for(var i=arguments.length,c=new Array(i),s=0;s1&&void 0!==arguments[1]?arguments[1]:2,r=arguments.length>2?arguments[2]:void 0,n=mi[0];if(vi(e))return"NaN";var o=Math.abs(+e),i=mi.find((function(e){var t=e.min,r=e.max;return o>=t&&o0&&void 0!==arguments[0]?arguments[0]:{};return a(a({},e),{},{headers:a(a({},e.headers),{},o({},Oi,Ci.getApiKey()))})},Bi=function(){return window?window.utils.ont:null},Ii=function(e){if(0===e.data.code)return e.data.data;throw e.data},ji=function(e){return Mo()?"/explorer-api".concat(e):e},Ri=function(){var e=s(t().mark((function e(r,n){var o,i,a,c,s,l,u,f=arguments;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(o=Bi())){e.next=9;break}for(i=ji(r),a=f.length,c=new Array(a>2?a-2:0),s=2;s3?c-3:0),l=3;l=Math.pow(10,12)?{size:e/Math.pow(10,12),unit:"T"}:e>=Math.pow(10,9)?{size:e/Math.pow(10,9),unit:"B"}:e>=Math.pow(10,6)?{size:e/Math.pow(10,6),unit:"M"}:e>=Math.pow(10,3)?{size:e/Math.pow(10,3),unit:"K"}:{size:e,unit:""}};var Yi={BTC:"BTC",ETH:"ETH",ETHW:"ETHW",ETF:"DIS",OKEXCHAIN:"OKT",OKEXCHAIN_TEST:"OKT",X1_TEST:"OKB",APT:"APT",BSC:"BNB",POLYGON:"MATIC",SOLANA:"",OPTIMISM:"ETH",ARBITRUM:"ETH",TRON:"TRX",AVAXC:"AVAX",FTM:"FTM",USDTS:"",ETC:"ETC",BCH:"BCH",LTC:"LTC",DASH:"DASH",BEACON:"ETH",SUI:"SUI",DOGE:"DOGE",GNOSIS:"xDAI",COSMOS:"COSMOS",KLAYTN:"KLAY",RONIN:"RON",LINEA:"ETH",STARKNET:"ETH",POLYGONZKEVM:"ETH",KAVA:"KAVA",SCROLL:"ETH",BASE:"ETH",OPBNB:"BNB",CANTO:"CANTO",MANTAPACIFIC:"MANTA"},Zi={BTC:"/btc",ETH:"/eth",ETHW:"/ethw",ETF:"/dis",OKEXCHAIN:"/oktc",OKEXCHAIN_TEST:"/oktc-test",XGON_TEST:"/x1-test",APT:"/aptos",BSC:"/bsc",POLYGON:"/polygon",SOLANA:"/sol",OPTIMISM:"/optimism",ARBITRUM:"/arbitrum",TRON:"/trx",AVAXC:"/avax",FTM:"/ftm",USDTS:"/usdt",ETC:"/etc",BCH:"/bch",LTC:"/ltc",DASH:"/dash",ZKSYNC:"/zksync",BEACON:"/beacon",SUI:"/sui",DOGE:"/doge",GNOSIS:"/gnosis",COSMOS:"/cosmos",KLAYTN:"/klaytn",RONIN:"/ronin",LINEA:"/linea",STARKNET:"/starknet",SCROLL:"/scroll",POLYGON_ZKEVM:"/polygon-zkevm",KAVA:"/kava",BASE:"/base",OPBNB:"/opbnb",CANTO:"/canto",MANTAPACIFIC:"/manta"};function qi(e){return{unit:Yi[e]||e}}function Ji(e){return a({title:Ro("oklinkexplorer_tracker_homepage_explorer_data_mc"),key:"marketCap",change:"marketCapChange24H"},e)}function $i(e){return a({title:Ro("oklinkexplorer_tracker_homepage_explorer_data_24txn"),key:"transactionValue24H"},e)}function Qi(){return{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_bestgas"),key:"currentBestFee"}}function ea(){return{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_avggas"),key:"avgGas"}}function ta(){return{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_totaltxn"),key:"totalTransactionCount"}}function ra(){return{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_recommendgas"),key:"recommendedGasFee"}}function na(){return{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_tps"),key:"tps"}}function oa(){return{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_tvl"),key:"tvl"}}function ia(){return{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_total_txn_amount"),key:"totalTransactionValue"}}function aa(e){return a({title:Ro("oklinkexplorer_tracker_homepage_explorer_data_activeaddress"),key:"activeAddressCount"},e)}function ca(){return{title:Ro("homeoklink_chaindata_colheader_tvb"),key:"tvb"}}const sa=function(){function e(t){oe(this,e),this.cardInfo=[],this.ethGas=0,this.loading=!0,this.total=0,this.textAd={advertisementLogoUrl:"",linkText:"",linkUrl:"",text:""},this.root=t,(0,ti.makeAutoObservable)(this)}return ae(e,[{key:"formatNaN",value:function(e){return"NaN"===e?"--":e}},{key:"config",get:function(){return{BTC:[Ji(),a(a({},$i()),qi("BTC")),a(a({},Qi()),{},{unit:"BTC/KB"})],ETH:[Ji(),a(a({},$i()),qi("ETH")),a(a({},ea()),{},{unit:"Gwei"})],BEACON:[a(a({},{title:Ro("beacon_validatorlist_hover_effective_staking"),key:"validityMortgage",change:"validityMortgage24hRate"}),{},{unit:"ETH"}),{title:Ro("beacon_home_data_active_validators"),key:"activeValidatorsCount"},a(a({},{title:Ro("beacon_home_data_validators_income"),key:"validatorIncome"}),{},{unit:"ETH"})],ETHW:[Ji(),a(a({},ta()),{},{unit:"Txns"}),a(a({},$i()),qi("ETHW"))],ETF:[a(a({},ia()),qi("ETF")),a(a({},ta()),{},{unit:"Txns"}),a(a({},$i()),qi("ETF"))],OKEXCHAIN:[Ji(),a(a({},$i()),qi("OKEXCHAIN")),a(a({},ra()),{},{unit:"Gwei"})],OKEXCHAIN_TEST:[Ji(),a(a({},$i()),qi("OKEXCHAIN_TEST")),a(a({},ra()),{},{unit:"Gwei"})],APT:[Ji(),a(a({},na()),{},{unit:"Txns/sec"}),a(a({},ta()),{},{unit:"Txns"})],BSC:[Ji(),a(a({},na()),{},{unit:"Txns/sec"}),a(a({},$i()),qi("BSC"))],POLYGON:[Ji(),a(a({},na()),{},{unit:"Txns/sec"}),a(a({},$i()),qi("POLYGON"))],SOLANA:[Ji(),a({},oa()),a(a({},ta()),{},{unit:"Txns"})],OPTIMISM:[a(a({},ia()),qi("OPTIMISM")),a({},oa()),a(a({},$i()),qi("OPTIMISM"))],ARBITRUM:[a(a({},ia()),qi("ARBITRUM")),a({},oa()),a(a({},$i()),qi("ARBITRUM"))],TRON:[Ji(),a(a({},na()),{},{unit:"Txns/sec"}),a(a({},$i()),qi("TRON"))],AVAXC:[Ji(),a({},oa()),a(a({},$i()),qi("AVAXC"))],FTM:[Ji(),a({},oa()),a(a({},$i()),qi("FTM"))],USDTS:[Ji(),a({},{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_usdt_print"),key:"printMoneyAmount7days"}),a({},{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_usdt_burn"),key:"destroyMoneyAmountSevenDays"})],ETC:[Ji(),a(a({},$i()),qi("ETC")),a(a({},Qi()),{},{unit:"Mwei"})],BCH:[Ji(),a(a({},$i()),qi("BCH")),a(a({},Qi()),{},{unit:"BCH/KB"})],LTC:[Ji(),a(a({},$i()),qi("LTC")),a(a({},Qi()),{},{unit:"LTC/KB"})],DASH:[Ji(),a(a({},$i()),qi("DASH")),a(a({},Qi()),{},{unit:"DASH/KB"})],SUI:[a(a({},{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_24htxn"),key:"transactionValue24H"}),{},{unit:"SUI"}),aa(),a(a({},{title:Ro("oklinkexplorer_tracker_homepage_explorer_data_gasprice"),key:"suiAvgGas"}),{},{unit:"MIST"})],DOGE:[Ji(),a(a({},$i()),qi("DOGE")),aa()],GNOSIS:[Ji(),a(a({},$i()),qi("GNOSIS")),a(a({},ea()),{},{unit:"Gwei"})],COSMOS:[Ji(),a(a({},ta()),{},{unit:"Txns"}),a(a({},$i()),qi("ATOM"))],KAVA:[Ji(),a(a({},ta()),{},{unit:"Txns"}),a(a({},$i()),qi("KAVA"))],KLAYTN:[Ji({change:null}),a(a({},$i({key:"transactionCount24h",title:Ro("explorer_common_text_txcount_24")})),qi("Txns")),aa()],RONIN:[Ji({change:null}),a(a({},$i({key:"transactionCount24h"})),qi("RON")),aa()],LINEA:[a(a({},ta()),{},{unit:"Txns"}),a(a({},$i()),qi("LINEA")),a(a({},ca()),qi("LINEA"))],STARKNET:[a(a({},ta()),{},{unit:"Txns"}),a(a({},na()),{},{unit:"Txns/sec"}),a(a({},$i()),qi("STARKNET"))],POLYGON_ZKEVM:[a(a({},ta()),{},{unit:"Txns"}),a(a({},$i()),qi("ETH")),aa()],SCROLL:[a(a({},ta()),{},{unit:"Txns"}),a(a({},$i()),qi("ETH")),aa()],BASE:[a(a({},$i()),qi("BASE")),a(a({},ca()),qi("BASE")),aa()],OPBNB:[a(a({},$i()),qi("OPBNB")),a(a({},ca()),qi("OPBNB")),aa()],XGON_TEST:[a(a({},ta()),{},{unit:"Txns"}),a(a({},$i()),qi("OKB")),aa()],CANTO:[a(a({},$i({key:"transactionCount24h",title:Ro("explorer_common_text_txcount_24")})),qi("Txns")),a(a({},na()),{},{unit:"Txns/sec"}),aa()],MANTAPACIFIC:[a(a({},$i()),qi("ETH")),a(a({},ca()),qi("ETH")),aa()]}}},{key:"empty",get:function(){return 0===this.cardInfo.length}},{key:"getInfo",value:function(){var e=s(t().mark((function e(){var r,n=this;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,e.prev=1,e.next=4,Hi({url:"v2/index/chain-card"});case 4:r=e.sent,this.total=r.total,this.cardInfo=r.hits.filter((function(e){return!!n.config[e.chain]})).map((function(e){var t=Xi(e.marketCap),r=Xi(e.superNodeAmount),o=Xi(e.transactionValue24H),i=Xi(e.transactionCount24h),c=Xi(e.totalTransactionValue),s="ETC"===e.chain?n.formatNaN(Si.showTruncation(e.currentBestFee/Math.pow(10,6),2)):n.formatNaN(Si.thousandFormat(e.currentBestFee/Math.pow(10,8))),l=Xi(e.validityMortgage),u=Xi(e.validatorIncome);return a(a({},e),{},{marketCap:"".concat(n.formatNaN(Si.showTruncation(t.size,2,!1))).concat(t.unit),marketCapChange24H:100*e.marketCapChange24H,avgGas:n.formatNaN(Si.showTruncation(e.avgGas/Math.pow(10,9),0)),superNodeAmount:"".concat(n.formatNaN(Si.showTruncation(r.size,2,{needZero:!1}))).concat(r.unit),transactionValue24H:"".concat(n.formatNaN(Si.showTruncation(o.size,2,!1))).concat(o.unit),transactionCount24h:"".concat(n.formatNaN(Si.showTruncation(i.size,2,!1))).concat(i.unit),currentBestFee:s,recommendedGasFee:n.formatNaN(Si.thousandFormat(e.recommendedGasFee)),totalTransactionCount:n.formatNaN(Si.thousandFormat(e.totalTransactionCount)),tps:n.formatNaN(Si.thousandFormat(e.tps)),tvl:n.formatNaN(Si.thousandFormat(e.tvl)),tvb:n.formatNaN(Si.showCeilTruncation(e.tvb,2,{needZero:!1})),totalTransactionValue:"".concat(n.formatNaN(Si.showTruncation(c.size,2,!1))).concat(c.unit),printMoneyAmount7days:n.formatNaN(Si.thousandFormat(e.printMoneyAmount7days)),destroyMoneyAmountSevenDays:n.formatNaN(Si.thousandFormat(e.destroyMoneyAmountSevenDays)),validityMortgage:"".concat(n.formatNaN(Si.showTruncation(l.size,2,!0))).concat(l.unit),validityMortgage24hRate:100*e.validityMortgage24hRate,activeValidatorsCount:n.formatNaN(Si.thousandFormat(e.activeValidatorsCount)),validatorIncome:"".concat(n.formatNaN(Si.showTruncation(u.size,2,!0))).concat(u.unit),activeAddressCount:n.formatNaN(Si.thousandFormat(e.activeAddressCount)),suiAvgGas:n.formatNaN(Si.thousandFormat(e.avgGas))})})).map((function(e){var t;return a(a({},e),{},{list:null===(t=n.config[e.chain.toUpperCase()])||void 0===t?void 0:t.map((function(t){return a(a({},t),{},{value:e[t.key],change:e[t.change]})}))})})),this.loading=!1,e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),this.loading=!1;case 13:case"end":return e.stop()}}),e,this,[[1,10]])})));return function(){return e.apply(this,arguments)}}()},{key:"getEthGas",value:function(){var e=s(t().mark((function e(){var r,n;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Hi({url:"v2/index/ethGas"});case 3:r=e.sent,n=r.recommendGas,this.ethGas=n?Si.showTruncation(n,0):"--",e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));return function(){return e.apply(this,arguments)}}()},{key:"getTextAd",value:function(){var e=s(t().mark((function e(){var r;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Hi({url:"v2/index/text-advertisement"});case 3:r=e.sent,this.textAd=a(a({},this.textAd),r),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})));return function(){return e.apply(this,arguments)}}()}]),e}();const la={OKEXCHAIN:"OKTC",OKEXCHAIN_TEST:"OKTC-TEST",XGON_TEST:"X1-TEST",TRON:"TRX",AVAXC:"AVAX",SOLANA:"SOL",POLYGON_ZKEVM:"POLYGON-ZKEVM",MANTAPACIFIC:"MANTA"};const ua={inscription:"inscription",transaction:"tx",UOPTransaction:"tx/uop",address:"address",block:"block",token:"token",project:"project",ens:"ens",tokenAddr:"tokenAddr",channel:"channel",node:"node",validator:"validator"};function fa(e){return Array.isArray(e)?e:[]}function ha(e){var t=e.blockChain;return(la[t]||t).toLowerCase()}var pa=/[0-9a-eA-E]*/;function da(e){return d()?[]:[{list:fa(e.inscriptionVos).map((function(e){var t=ha(e);return a(a({},e),{},{url:Po("/".concat(t,"/").concat(ua.inscription,"/").concat(e.tokenType.toLowerCase(),"/").concat(e.inscriptionNumber))})})),type:ua.inscription},{list:fa(e.addressVoList).map((function(e){var t=ha(e);return a(a({},e),{},{url:Po("/".concat(t,"/").concat(ua.address,"/").concat(e.address))})})),type:ua.address},{list:fa(e.transactionVoList).map((function(e){var t=ha(e),r="UOP_TRANSACTION"===e.type?ua.UOPTransaction:ua.transaction;return a(a({},e),{},{url:Po("/".concat(t,"/").concat(r,"/").concat(e.transactionHash))})})),type:ua.transaction},{list:fa(e.blockVoList).map((function(e){var t=ha(e),r=ua.block;return a(a({},e),{},{url:Po("/".concat(t,"/").concat(r,"/").concat(e.blockHeight))})})),type:ua.block},{list:fa(e.tokenVoList).map((function(e){var t,r,n=ha(e),o="BTC"===e.blockChain?e.tokenId:e.tokenAddress;"COSMOS"===e.blockChain&&(o=Ki(r=o,zi.String)?r.replace(new RegExp(/(\/)/g),"__"):r);var i=Po("/".concat(n,"/").concat(ua.token,"/").concat(o));return("oktc"!==n||e.tokenAddress.startsWith("0x")&&pa.test(e.tokenAddress))&&("trx"!==n||"TRC10"!==(null===(t=e.tokenType)||void 0===t?void 0:t.toUpperCase()))||(i=Po("/".concat(n,"/").concat(ua.tokenAddr,"/").concat(e.tokenAddress))),"btc"===n&&(i=Po("/".concat(n,"/").concat(ua.token,"/").concat(e.tokenType.toLowerCase(),"/").concat(o))),a(a({},e),{},{url:i})})),type:ua.token},{list:fa(e.ensSearchVos).map((function(e){var t=ha(e),r=Po("/".concat(t,"/").concat(ua.ens,"/").concat(encodeURIComponent(e.tokenId)));return e.address&&(r=Po("/".concat(t,"/").concat(ua.address,"/").concat(e.address))),a(a({},e),{},{url:r})})),type:ua.ens},{list:fa(e.validatorVoList).map((function(e){var t=ha(e);return a(a({},e),{},{url:Po("/".concat(t,"/").concat(ua.validator,"/").concat(e.address))})})),type:ua.validator},{list:fa(e.deFiVoList).map((function(e){var t=Po("/".concat(ua.project,"/").concat(function(e){if(!e)return"";var t=e.replace(/'/g,"");return(t=(t=(t=t.replace(/[\W_]/g,"-")).replace(/-+/g,"-")).replace(/(^-)|(-$)/g,"")).toLowerCase()}(e.deFiName)));return a(a({},e),{},{url:t})})),type:ua.project},{list:fa(e.btcLightningChannelSearchVos).map((function(e){var t=ha(e);return a(a({},e),{},{url:Po("/".concat(t,"/").concat(ua.channel,"/").concat(e.channelID))})})),type:ua.channel},{list:fa(e.btcLightningSearchVos).map((function(e){var t=ha(e);return a(a({},e),{},{url:Po("/".concat(t,"/").concat(ua.node,"/").concat(e.pubKey))})})),type:ua.node}]}var ma=function(){var e=s(t().mark((function e(r){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(r.map((function(e){return Promise.resolve(e).then((function(e){return{status:"fulfilled",value:e}}),(function(e){return{status:"rejected",reason:e}}))}))));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ga=function(){He.session.g.set("oklink_multi_search_from_url",mo.href)};const va=function(){function e(r){var n=this;oe(this,e),this.value="",this.setValue=function(e){n.value=e},this.focus=!1,this.setFocus=function(e){n.focus=e},this.error=!1,this.setError=function(e){n.error=e},this.visibleClear=!1,this.setVisibleClear=function(e){n.visibleClear=e},this.mouseStatus=!1,this.setMouseStatus=function(e){n.mouseStatus=e},this.onClear=function(){n.clearSuggestionsList(),n.setValue(""),n.setVisibleClear(!1)},this.onSubmit=s(t().mark((function e(){var r;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.value.trim()){e.next=7;break}n.setValue(""),n.setError(!0),n.setVisibleClear(!1),e.next=10;break;case 7:return Wo({input:r}),e.next=10,n.fetchSearchData(r);case 10:case"end":return e.stop()}}),e)}))),this.suggestions=[],this.id=0,this.root=r,(0,ti.makeAutoObservable)(this,{id:!1})}return ae(e,[{key:"getData",value:function(){var e=s(t().mark((function e(r){var n,o,i=this;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=++this.id,e.prev=1,e.next=4,Gi(r);case 4:o=e.sent,n===this.id&&o.length>0&&r&&(0,ti.runInAction)((function(){i.suggestions=o})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),(0,ti.runInAction)((function(){i.suggestions=[]}));case 11:case"end":return e.stop()}}),e,this,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()},{key:"fetchSearchData",value:function(){var e=s(t().mark((function e(r){var n,o,i,a,c,s,l,u,f,h;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d()){e.next=18;break}return e.prev=1,e.next=4,ma([Vi(r),Wi(r)]);case 4:n=e.sent,o=K(n,2),i=o[0],a=o[1],c=i.value||{},s=a.value||{},l=0,c.totalSize&&(l+=c.totalSize),s.totalSize&&(l+=s.totalSize),1===l?(u=da({inscriptionVos:c.inscriptionVos,addressVoList:c.addressVoList,blockVoList:c.blockVoList,tokenVoList:c.tokenVoList,transactionVoList:c.transactionVoList,ensSearchVos:s.ensSearchVos,deFiVoList:s.deFiVoList,btcLightningChannelSearchVos:c.btcLightningChannelSearchVos,btcLightningSearchVos:c.btcLightningSearchVos,validatorVoList:c.validatorVoList,totalSize:l}),f=u.find((function(e){return e.list.length})),window.location.href=f.list[0].url):(ga(),h="/middle/multi-search#key=".concat(encodeURIComponent(r)),window.location.href=Po(h)),e.next=18;break;case 16:e.prev=16,e.t0=e.catch(1);case 18:case"end":return e.stop()}}),e,null,[[1,16]])})));return function(t){return e.apply(this,arguments)}}()},{key:"clearSuggestionsList",value:function(){this.suggestions=[]}}]),e}();var _a,ya=(_a=ae((function e(){oe(this,e),(0,ti.makeAutoObservable)(this),this.infoStore=new sa(this),this.searchStore=new va(this)})),ni((function(){return new _a}))),ba=ya.withProvider,wa=ya.useStores,xa=r(573),Ea=r.n(xa);function Na(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Sa=["children","href","className","isBlankTarget"];const Ta=function(e){var t=e.children,r=e.href,n=e.className,o=e.isBlankTarget,i=void 0!==o&&o,c=Na(e,Sa),s=i?"_blank":"_self",u=(0,l.useMemo)((function(){if(r&&Ki(r,zi.String))return r.startsWith("/")?ko:To}),[r]),f=(0,l.useMemo)((function(){return Po(r)}),[r]);return(0,J.jsx)("a",a(a({href:f,rel:u,target:s,className:n},c),{},{children:t}))},ka="index_baseWrapper__YAwT8",Aa="index_title__jrlL3",Ca="index_des__9tjBT",Oa="index_info__5rVix",La="index_infoText__80M9K",Ba="index_logo__YkjWa",Ia="index_infoLink__M-sP2",ja="index_baseWrapperOKX__rvVu0";!function(){var e;if("undefined"!==typeof globalThis)e=globalThis;else if("undefined"!==typeof window)e=window;else{if("undefined"===typeof r.g)throw new Error("unable to locate global object");e=r.g}}();!function(){var e;if("undefined"!==typeof globalThis)e=globalThis;else if("undefined"!==typeof window)e=window;else{if("undefined"===typeof r.g)throw new Error("unable to locate global object");e=r.g}}();function Ra(){var e;return null!==(e=So.data.isRTL)&&void 0!==e?e:O.isRTL}var Ma=["className","style","isColor","onClick","filterClassName","rtlIconName","iconName"],Pa=function e(t){var r=So.mergeProps(e.defaultProps,t,So.componentNames.Icon),n=r.className,o=r.style,i=r.isColor,c=r.onClick,s=r.filterClassName,l=r.rtlIconName,u=r.iconName,f=Na(r,Ma),h=function(e){c&&c(e)};if(i)return(0,J.jsx)("svg",a(a({className:"icon","aria-hidden":"true",style:o,onClick:h},f),{},{children:(0,J.jsx)("use",{xlinkHref:"#".concat(n)})}));var p=Ea()(n,Ra()&&l||u),d="function"===typeof s?s("icon","iconfont",p):"icon iconfont ".concat(p);return(0,J.jsx)("i",a({className:d,style:o,onClick:h},f))};Pa.defaultProps={className:"",style:{},isColor:!1,onClick:null,iconName:void 0,rtlIconName:void 0};const Da=Pa;const Ua={_sm:{index:1,media:"sm",query:"(max-width: 767px)",gutter:16,colCount:4,bodyPadding:8},_md:{index:2,media:"md",query:"(min-width: 768px) and (max-width: 1023px)",gutter:24,colCount:12,bodyPadding:12},_lg:{index:3,media:"lg",query:"(min-width: 1024px) and (max-width: 1269px)",gutter:24,colCount:12,bodyPadding:12,contentWidth:960},_xl:{index:4,media:"xl",query:"(min-width: 1270px)",gutter:24,colCount:12,bodyPadding:12,contentWidth:1248}};const Ha=a(a({},Ua),{},{_xl:a(a({},Ua._xl),{},{query:"(min-width: 1270px) and (max-width: 1859px)"}),_2xl:a(a({},Ua._xl),{},{index:5,media:"2xl",query:"(min-width: 1860px) and (max-width: 2036px)",colCount:12,contentWidth:1728}),_3xl:a(a({},Ua._xl),{},{index:6,media:"3xl",query:"(min-width: 2037px)",colCount:12,contentWidth:1728})});var Fa=!1;d()||(Fa=window.matchMedia("").addEventListener);const Ga=function(){function e(){var t=this;if(oe(this,e),this._smListener=function(e){e.matches&&t.fn(Wa.mediaSet._sm)},this._mdListener=function(e){e.matches&&t.fn(Wa.mediaSet._md)},this._lgListener=function(e){e.matches&&t.fn(Wa.mediaSet._lg)},this._xlListener=function(e){e.matches&&t.fn(Wa.mediaSet._xl)},this._2xlListener=function(e){e.matches&&t.fn(Wa.mediaSet._2xl)},this._3xlListener=function(e){e.matches&&t.fn(Wa.mediaSet._3xl)},d())return!1;this.fn=null,this.isBiggerThanXL=Wa.isBiggerThanXL;var r=Wa.mediaSet,n=r._sm,o=r._md,i=r._lg,a=r._xl;if(this._smWatcher=window.matchMedia(n.query),this._mdWatcher=window.matchMedia(o.query),this._lgWatcher=window.matchMedia(i.query),this._xlWatcher=window.matchMedia(a.query),this.isBiggerThanXL){var c=Wa.mediaSet,s=c._2xl,l=c._3xl;this._2xlWatcher=window.matchMedia(s.query),this._3xlWatcher=window.matchMedia(l.query)}}return ae(e,[{key:"watch",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).runNow,r=void 0===t||t;if(d())return!1;if(this.fn=e,this.addEventListeners(),window.__okgWatchedForCookie||(window.__okgWatchedForCookie=1,Va.watch()),r){var n=Wa.mediaSet,o=n._sm,i=n._md,a=n._lg,c=n._xl,s=n._2xl,l=n._3xl;if(this._mdWatcher.matches)return e(i);if(this._lgWatcher.matches)return e(a);if(this._xlWatcher.matches)return e(c);if(this.isBiggerThanXL){if(this._2xlWatcher.matches)return e(s);if(this._3xlWatcher.matches)return e(l)}return e(o)}return!1}},{key:"addEventListeners",value:function(){Fa?(this._smWatcher.addEventListener("change",this._smListener),this._mdWatcher.addEventListener("change",this._mdListener),this._lgWatcher.addEventListener("change",this._lgListener),this._xlWatcher.addEventListener("change",this._xlListener),this.isBiggerThanXL&&(this._2xlWatcher.addEventListener("change",this._2xlListener),this._3xlWatcher.addEventListener("change",this._3xlListener))):(this._smWatcher.addListener(this._smListener),this._mdWatcher.addListener(this._mdListener),this._lgWatcher.addListener(this._lgListener),this._xlWatcher.addListener(this._xlListener))}},{key:"destroy",value:function(){d()||(Fa?(this._smWatcher.removeEventListener("change",this._smListener),this._mdWatcher.removeEventListener("change",this._mdListener),this._lgWatcher.removeEventListener("change",this._lgListener),this._xlWatcher.removeEventListener("change",this._xlListener),this.isBiggerThanXL&&(this._2xlWatcher.removeEventListener("change",this._2xlListener),this._3xlWatcher.removeEventListener("change",this._3xlListener))):(this._smWatcher.removeListener(this._smListener),this._mdWatcher.removeListener(this._mdListener),this._lgWatcher.removeListener(this._lgListener),this._xlWatcher.removeListener(this._xlListener)))}}]),e}();const Va=new(ae((function e(){var t=this;oe(this,e),this.watch=function(){t.watcher=new Ga,t.watcher.watch((function(e){return b.set("okg.currentMedia",e.media,{expires:365})}),{runNow:!0})},this.reWatch=function(){t.watcher&&(t.watcher.destroy(),t.watch())}})));const Wa=new(function(){function e(){oe(this,e),this.mediaSet=Ua}return ae(e,[{key:"addBiggerThanXL",value:function(){this.mediaSet=Ha}},{key:"add2xl",value:function(){this.addBiggerThanXL(),Va.reWatch()}},{key:"remove2xl",value:function(){this.mediaSet=Ua,Va.reWatch()}},{key:"isBiggerThanXL",get:function(){return Object.keys(this.mediaSet).length>4}}]),e}());const za=function(){if(d())return function(){var e=Wa.mediaSet,t=O.media||"_xl";return t.indexOf("_")<0&&(t="_".concat(t)),e[t]?Wa.isBiggerThanXL?e[t]:"2xl"===O.media||"3xl"===O.media?e._xl:e[t]:e._xl}();var e=Wa.mediaSet,t=a({},e._sm);return Object.keys(e).reverse().some((function(r){var n=e["".concat(r)];return!!window.matchMedia(n.query).matches&&(t=a({},n),!0)})),t};var Ka={runNow:!1},Xa=function(e){var t=e.index;return a(a({},e),{},{isSm:1===t,isMd:2===t,isLg:3===t,isXl:4===t,is2Xl:5===t,is2xl:5===t,is3Xl:6===t,is3xl:6===t,isMobile:1===t||2===t,isSmallerThanMd:t<2,isSmallerThanLg:t<3,isSmallerThanXl:t<4,isSmallerThan2xl:t<5,isSmallerThan3xl:t<6,isLargerThanSm:t>1,isLargerThanMd:t>2,isLargerThanLg:t>3,isLargerThanXl:t>4,isLargerThan2xl:t>5})},Ya=function(){return Xa(za())};const Za=function(){var e=function(){var e=(0,l.useRef)(Ya),t=e.current();return(0,l.useEffect)((function(){e.current=function(){return t}}),[]),t}(),t=K((0,l.useState)(e),2),r=t[0],n=t[1];return(0,l.useEffect)((function(){var e=new Ga;return e.watch((function(e){n(Xa(e))}),Ka),function(){e.destroy()}}),[]),r};const qa={FEATURED_SURVEY:"https://wj.qq.com/s2/11393562/4fbf/",ASIA_TOKEN:"https://www.asia.token2049.com/",ETH_8TH:"/eth/8th-anniversary",FEATURED_TOOLS:"/tools",MONITOR:"/account/monitor-list",ADDRESS_ANALYSIS:"/chaintelligence/compliance-tools",APPROVAL:"/approval",TRANSACTION_GRAPH:"/chaintelligence/compliance-tools/transaction-graph",NFT_TRACE:"/chaintelligence/compliance-tools/nft-trace",RICH_LIST:"/eth/rich-list",PRIVATE_LABEL:"/account/private-label",DEFI_TRACKER:"/eth/pro-defi-tracker",GAS_TRACKER:"/eth/gas-price",LARGE_TXNS:"/eth/tx-list/large",OKLINK_API:"/api-plans",POPULAR:"/audit?module=popular",SCANNER:"/audit?module=scanner",SERVICE_REPORT:"/chaintelligence/consultation",DECOMPILE:"/decompile",ALL_CHAIN:"/all-chain",CEFI:"/cex-list",HALVING:"/halving",INSIGHTS:"/insights",SEARCH_SUGGESTION:"/middle/search-suggestion"};const Ja=function(e){var t=e.children,r=Za().isMobile;return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ei,{visible:r,children:(0,J.jsx)(Ta,{href:qa.SEARCH_SUGGESTION,onClick:function(){ga(),document.activeElement.blur()},children:t})}),(0,J.jsx)(ei,{visible:!r,children:t})]})},$a="index_wrapper__RsTEY",Qa="index_focus__f77bT",ec="index_error__zmUSK",tc="index_clearIcon__-Nqr5",rc="index_icon__VlCsf",nc="index_btn__NNkFo";var oc=["onRef","className","onPressEnter"];const ic=function(e){var t=e.onRef,r=e.className,n=e.onPressEnter,o=Na(e,oc),i=(0,l.useRef)(),c=(0,l.useCallback)((function(e){13===e.keyCode&&n&&n()}),[n]);return(0,l.useEffect)((function(){t&&t(i.current)}),[t]),(0,J.jsx)("input",a({ref:i,className:Ea()(r),onKeyUp:c},o))},ac="index_searchInput__v2WZk",cc="index_error__mXW-S";const sc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=null;return function(){for(var n=arguments.length,o=new Array(n),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=e.input,r=e.associate,n=e.associate_index;Vo.act({action:"Explore_Homepage_Searchby_Associate_Click",anchor:"Explore_Homepage_Searchby_Associate_Click",params:{input:t,associate:r,associate_index:n},actionType:"",elementType:""})}({associate:e,associate_index:t,input:i}),a.fetchSearchData(e)}),[a.fetchSearchData,i]);return a.suggestions.length?(0,J.jsx)("div",{className:hc,hidden:!r,onMouseEnter:n,onMouseLeave:o,children:(0,J.jsxs)("div",{className:pc,children:[(0,J.jsx)("div",{className:dc,children:Ro("oklinkexplorer_tracker_homepage_search_suggestion")}),(0,J.jsx)("ul",{children:a.suggestions.map((function(e,t){return(0,J.jsx)("li",{onClick:function(){c(e,t)},className:mc,children:(0,J.jsx)(fc,{content:e})},t)}))})]})}):null}));const vc=(0,ri.observer)((function(){var e=Za(),t=e.isMobile,r=e.isSm,n=wa().searchStore,o=n.error,i=n.value,a=n.focus,c=n.visibleClear,s=n.onClear,u=n.onSubmit,f=n.setMouseStatus,h=(0,l.useRef)(),p=(0,l.useCallback)((function(e){h.current=e}),[]),d=!t&&i.trim().length>0&&i.trim().length<=40&&a;return(0,J.jsx)("div",{className:"pageCenter",children:(0,J.jsx)(Ja,{children:(0,J.jsxs)("div",{className:Ea()($a,o&&ec,a&&Qa),children:[r&&(0,J.jsx)(Da,{className:Ea()("okds-search",rc)}),(0,J.jsx)(lc,{onRef:p}),(0,J.jsx)(Da,{style:{display:c?"block":"none"},className:Ea()("okds-clear-fill",tc),onClick:s}),!r&&(0,J.jsx)("span",{onClick:function(){t||u()},className:nc,children:(0,J.jsx)(Da,{className:Ea()("okds-search",rc)})}),(0,J.jsx)(ei,{visible:!t,children:(0,J.jsx)(gc,{isShowSuggestion:d,onMouseEnter:function(){f(!0)},onMouseLeave:function(){var e;null===(e=h.current)||void 0===e||e.focus(),f(!1)},value:i})})]})})})}));const _c=(0,ri.observer)((function(e){var t=e.isOKX,r=wa().infoStore,n=r.textAd;return(0,l.useEffect)((function(){r.getTextAd()}),[r]),(0,J.jsxs)("div",{className:Ea()(ka,t&&ja,"pageCenter flex col flex-start-center"),style:{backgroundImage:"url('".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/238/3E2840A2F1322D40.png')")},children:[(0,J.jsx)("h1",{className:Aa,children:Ro("oklinkexplorer_tracker_homepage_slogan_main")}),(0,J.jsx)("p",{className:Ca,children:Ro("oklinkexplorer_tracker_homepage_slogan_sub")}),(0,J.jsx)(vc,{}),(0,J.jsx)(ei,{visible:!t,children:(0,J.jsxs)("div",{className:Oa,children:[(0,J.jsxs)("p",{className:La,children:[(0,J.jsx)("span",{className:Ba,children:decodeURIComponent(n.advertisementLogoUrl)}),(0,J.jsx)("span",{children:n.text})]}),(0,J.jsx)(Ta,{className:Ia,href:n.linkUrl,onClick:function(){!function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).ad_name;Vo.act({action:"Oklilnk_Homepage_S_AD_Click",anchor:"Oklilnk_Homepage_S_AD_Click",params:{ad_name:e},actionType:"",elementType:""})}({ad_name:n.text})},children:n.linkText})]})})]})}));var yc="okui",bc=r(617),wc=r.n(bc),xc={xxs:"xxs",xs:"xs",s:"s",sm:"sm",md:"md",lg:"lg",xl:"xl",xxl:"xxl",xxxl:"xxxl"};xc.default=xc.md;const Ec=xc;var Nc=["children","href","className","withLangPath","handleStyle"],Sc="".concat(yc,"-powerLink"),Tc=function e(t){var r=So.mergeProps(e.defaultProps,t,So.componentNames.PowerLink),n=r.children,o=r.href,i=r.className,c=r.withLangPath,s=r.handleStyle,l=Na(r,Nc),u="string"===typeof o?o:"",f=c?Io(u):u;return(0,J.jsx)("a",a(a({href:f,rel:"noopener"},l),{},{className:Ea()(So.data.okdNamespace,s&&Sc,i),children:n}))};Tc.defaultProps={href:void 0,className:"",withLangPath:!0,handleStyle:!0};const kc=Tc;var Ac={highlight:"highlight",primary:"primary",secondary:"secondary",tertiary:"tertiary",quaternary:"quaternary",red:"red",green:"green",orange:"orange",yellow:"yellow",gray:"grey",default:"normal",basic:"basic",plain:"plain"},Cc={fill:"fill",outline:"outline",text:"text"},Oc={tailing:"tailing",leading:"leading"};const Lc={Input:"Input",InputCode:"InputCode",InputVerify:"InputVerify",InputPassword:"InputPassword",InputNumber:"InputNumber",TextArea:"TextArea",Button:"Button",Select:"Select",Checkbox:"Checkbox",CheckboxGroup:"CheckboxGroup",Radio:"Radio",RadioGroup:"RadioGroup",Switch:"Switch",Slider:"Slider",DatePicker:"DatePicker",Upload:"Upload",Custom:"Custom",FormLine:"FormLine"};var Bc=["children","category","type","className","htmlType","onClick","disabled","block","circle","size","width","style","href","target","loading","submit","debounceTime","rect","strictCircle","rel","powerLinkProps","ellipsis"],Ic="".concat(yc,"-btn");function jc(e){var t=e.children,r=e.category,n=e.type,i=e.className,c=e.htmlType,s=e.onClick,u=e.disabled,f=e.block,h=e.circle,p=e.size,d=e.width,m=e.style,g=e.href,v=e.target,_=e.loading,y=(e.submit,e.debounceTime),b=e.rect,w=e.strictCircle,x=e.rel,E=e.powerLinkProps,N=(e.ellipsis,Na(e,Bc)),S=(0,l.useRef)(0),T=Za().isSm,k=a(a({},m),d?{width:d,minWidth:d}:{}),A=g&&!u,C=Ea()(So.data.okdNamespace,o({},Ic,Ic),"btn-".concat(p),o({},"btn-".concat(r,"-").concat(n),n),{block:f},{"btn-disabled":u&&!_},{loading:_},{"btn-circle":h},o({},"".concat(Ic,"-strict-circle"),w),{"btn-rect":b},T&&"mobile",i),O=a(a({disabled:u||_},N),{},{type:c,onClick:function(e){var t=Date.now();t-S.current>y&&(S.current=t,s&&s(e))},className:C}),L=(0,J.jsx)("button",a(a({},O),{},{style:k,children:t})),B=(0,J.jsx)(kc,a(a(a({rel:x,handleStyle:!1},O),{},{href:g,target:v},E),{},{style:k,children:t}));return A?B:L}jc.propTypes={category:wc().oneOf([Cc.fill,Cc.outline,Cc.text]),type:wc().oneOf([Ac.highlight,Ac.primary,Ac.secondary,Ac.tertiary,Ac.quaternary,Ac.red,Ac.green,Ac.yellow,Ac.orange,Ac.gray,Ac.default]),size:wc().oneOf([Ec.xxs,Ec.xs,Ec.s,Ec.sm,Ec.md,Ec.lg,Ec.xl]),width:wc().oneOfType([wc().number,wc().string]),disabled:wc().bool,circle:wc().bool,block:wc().bool,debounceTime:wc().number,onClick:wc().func,htmlType:wc().string,href:wc().string,target:wc().string,rel:wc().string,rect:wc().bool,strictCircle:wc().bool,powerLinkProps:wc().object},jc.defaultProps={disabled:!1,circle:!1,category:Cc.fill,type:Ac.secondary,size:Ec.md,width:void 0,htmlType:"button",onClick:null,href:"",rel:"noopener",target:"",block:!1,debounceTime:500,rect:!1,strictCircle:!1,powerLinkProps:{}},jc.elementType=Lc.Button;const Rc=jc;var Mc="".concat(yc,"-loader");function Pc(e){var t=e.className,r=e.percent,n=e.loading,i=void 0===n||n,c=e.trackColor,s=e.markColor,u=e.style,f=Ea()(So.data.okdNamespace,Mc,"".concat(Mc,"-line"),o({},"".concat(Mc,"-loading"),"number"!==typeof r&&i),t),h=K((0,l.useState)(r),2),p=h[0],d=h[1],m=(0,l.useRef)();(0,l.useEffect)((function(){if("number"===typeof r){m.current&&clearInterval(m.current);m.current=setInterval((function(){p>r?(clearInterval(m.current),d(r)):pr?r:p+10):clearInterval(m.current)}),50)}else d(r)}),[r,p]);var g=(0,l.useCallback)((function(){var e=25;return"number"===typeof p&&(e=p,p>100?e=100:p<0&&(e=0)),"".concat(e,"%")}),[p]);return(0,J.jsx)("div",{className:f,style:a({backgroundColor:c},u),children:(0,J.jsx)("div",{className:"".concat(Mc,"-mark"),style:{backgroundColor:s,width:g()}})})}Pc.defaultProps={className:"",trackColor:void 0,markColor:void 0,style:{}};const Dc=Pc;var Uc=["right","left"];function Hc(e){var t=e.loaderPrefix,r=e.loaderClassName,n=e.size,o=e.type,i=e.percent,a=void 0===i?25:i,c=e.style,s=e.coverClassName,u=e.coverStyle,f=K((0,l.useState)({left:0,right:0}),2),h=f[0],p=f[1];(0,l.useEffect)((function(){var e=3.6*a;p(e>180?{left:180,right:e-180}:{right:0,left:e})}),[a]);var d=Ea()(t,"".concat(t,"-spin"),"".concat(t,"-inner-circle"),"".concat(t,"-inner-").concat(n),r);return(0,J.jsxs)("div",{className:d,style:c,children:[Uc.map((function(e){return(0,J.jsx)("div",{className:Ea()("".concat(t,"-inner-track-").concat(e),"".concat(t,"-inner-track-").concat(n),"".concat(t,"-inner-fill-").concat(o)),children:(0,J.jsx)("div",{className:Ea()("".concat(t,"-inner-track-").concat(e,"-content"),"".concat(t,"-inner-track-").concat(o)),style:{transform:"rotate(".concat(h[e],"deg)")}})},e)})),(0,J.jsx)("div",{className:Ea()("".concat(t,"-inner-").concat(n,"-cover"),s),style:u})]})}var Fc="".concat(yc,"-loader"),Gc=function(e,t){return{borderColor:e,borderTopColor:t}};const Vc=function(e){var t=e.loading,r=void 0===t||t,n=e.size,i=e.type,c=e.className,s=e.style,l=e.trackColor,u=e.markColor,f=e.hasMask,h=e.loaderStyle,p=e.loaderClassName,d=e.percent,m=e.zIndex,g=e.loadingText,v=e.maskColor,_=Ea()(So.data.okdNamespace,Fc,o({},"".concat(Fc,"-mask"),f)),y=Ea()(So.data.okdNamespace,Fc,c),b=Ea()("".concat(Fc,"-spin"),"".concat(Fc,"-spin-").concat(n),"".concat(Fc,"-spin-").concat(i),p),w=(0,J.jsx)("div",{className:y,style:s,children:void 0!==d?(0,J.jsx)(Hc,a(a({loaderPrefix:Fc},e),{},{style:a(a({},Gc(l,u)),h)})):(0,J.jsx)("div",{className:b,style:a(a({},Gc(l,u)),h)})}),x=v?{backgroundColor:v,zIndex:m}:{zIndex:m},E=f?(0,J.jsxs)("div",{className:_,style:x,children:[w,(0,J.jsx)("div",{className:"".concat(Fc,"-mask-text"),children:g})]}):w;return r&&E};var Wc=a({l:Ec.lg,m:Ec.md,s:Ec.sm},Ec),zc={primary:"primary",neutral:"neutral"};function Kc(e){var t=e.size,r=Wc[t]||Ec.md;return(0,J.jsx)(Vc,a(a({},e),{},{size:r}))}Kc.defaultProps={size:Ec.md,type:zc.primary,trackColor:void 0,markColor:void 0,className:"",loaderClassName:"",style:{},loaderStyle:{},hasMask:!1,zIndex:1,loadingText:null,maskColor:void 0},Kc.SIZE=Wc,Kc.TYPE=zc;const Xc=Kc;var Yc={line:"line",circle:"circle"},Zc=o(o({},Yc.line,Dc),Yc.circle,Xc);function qc(e){var t=Zc[e.shape];return t?(0,J.jsx)(t,a({},e)):null}qc.defaultProps={shape:Yc.circle},qc.SHAPE=Yc,qc.SIZE=Xc.SIZE,qc.TYPE=Xc.TYPE,qc.Circle=Xc,qc.Line=Dc;const Jc=qc;var $c,Qc=o(o(o(o(o(o(o(o(o(o({},Ac.highlight,Ac.highlight),Ac.primary,Ac.primary),Ac.secondary,Ac.secondary),Ac.tertiary,Ac.tertiary),Ac.quaternary,Ac.quaternary),Ac.red,Ac.red),Ac.green,Ac.green),Ac.gray,Ac.gray),Ac.orange,Ac.orange),Ac.yellow,Ac.yellow),es=(o(o(o(o(o(o(o(o(o(o($c={_:{category:Cc.fill,type:Ac.secondary}},"".concat(Ac.primary,"_"),{category:Cc.fill,type:Ac.primary,allow:!0}),"".concat(Ac.primary,"_").concat(Ac.default),{category:Cc.fill,type:Ac.primary}),"".concat(Ac.red,"_"),{category:Cc.fill,type:Ac.red,allow:!0}),"".concat(Ac.primary,"_").concat(Ac.red),{category:Cc.fill,type:Ac.red}),"".concat(Ac.green,"_"),{category:Cc.fill,type:Ac.green,allow:!0}),"".concat(Ac.primary,"_").concat(Ac.green),{category:Cc.fill,type:Ac.green}),"".concat(Ac.primary,"_").concat(Ac.gray),{category:Cc.fill,type:Ac.gray}),"".concat(Ac.secondary,"_"),{category:Cc.fill,type:Ac.secondary,allow:!0}),"".concat(Ac.secondary,"_").concat(Ac.default),{category:Cc.fill,type:Ac.secondary}),"".concat(Ac.secondary,"_").concat(Ac.gray),{category:Cc.fill,type:Ac.gray}),o(o(o(o(o(o(o(o($c,"".concat(Ac.basic,"_"),{category:Cc.outline,type:Ac.primary}),"".concat(Ac.basic,"_").concat(Ac.default),{category:Cc.outline,type:Ac.primary}),"".concat(Ac.plain,"_"),{category:Cc.text,type:Ac.primary}),"".concat(Ac.plain,"_").concat(Ac.default),{category:Cc.text,type:Ac.primary}),"".concat(Ac.plain,"_").concat(Ac.red),{category:Cc.text,type:Ac.red}),"".concat(Ac.plain,"_").concat(Ac.green),{category:Cc.text,type:Ac.green}),"".concat(Ac.plain,"_").concat(Ac.orange),{category:Cc.text,type:Ac.orange}),"".concat(Ac.plain,"_").concat(Ac.yellow),{category:Cc.text,type:Ac.yellow}));var ts=["currentTheme","changeTheme","loading","icon","className","children","iconType","size","category","type","color","loadingText","iconStyle","loaderProps","contentClassName","ellipsis"];var rs="".concat(yc,"-btn"),ns=function(e){function t(){var e,r,n,o;oe(this,t);for(var i=arguments.length,a=new Array(i),c=0;c1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=es["".concat(t,"_").concat(r)];return e||!n||n.allow?{category:Cc[e]||Cc.fill,type:Qc[t]||Ac.secondary,newType:!0}:a(a({},n),{},{oldType:t,oldColor:r,newType:!1})}(u,f,h),w=b.category,x=b.type;return(0,J.jsxs)(Rc,a(a({},_),{},{size:s,category:w,type:x,loading:t,className:n,ellipsis:v,children:[t&&(0,J.jsxs)(l.Fragment,{children:[(0,J.jsx)(Jc.Circle,a(a({},m),{},{className:Ea()("".concat(yc,"-btn-loader"),{"btn-loader-position-absolute":!!p}),loaderClassName:"".concat(yc,"-btn-").concat(w,"-").concat(x,"-loader ").concat(yc,"-btn-loader-size")})),!!p&&(0,J.jsx)("div",{className:"".concat(yc,"-btn-loader-text"),children:p})]}),(0,J.jsxs)("span",{className:Ea()("btn-content",g,o({},"".concat(rs,"-ellipsis"),v),{"btn-content-position":t&&p}),children:[c===Oc.leading?y:null,i,c===Oc.tailing?y:null]})]}))}}]),t}(u().PureComponent);ns.defaultProps={loading:!1,icon:"",iconType:"",className:"",style:void 0,loadingText:null,loaderProps:{},contentClassName:"",ellipsis:!1},function(e){Object.assign(e,{elementType:Lc.Button,SIZE:Ec,CATEGORY:Cc,TYPE:Ac,ICON_POSITION:Oc,COLOR:Ac,THEME:{},btnType:Ac,size:Ec})}(ns);const os=ns;var is="".concat(yc,"-btn-group"),as=function(e){function t(){return oe(this,t),e=this,n=arguments,r=ue(r=t),se(e,le()?Reflect.construct(r,n||[],ue(e).constructor):r.apply(e,n));var e,r,n}return he(t,e),ae(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.size,o=e.category,i=e.type,a=e.color,c=e.theme;return u().createElement("div",{className:"".concat(is," ").concat(r)},u().Children.map(t,(function(e){return u().cloneElement(e,{size:n,category:o,type:i,color:a,theme:c})}),this))}}]),t}(u().PureComponent);as.defaultProps={className:"",children:"",category:Cc.fill,type:Ac.secondary,size:Ec.md},os.Group=as;const cs=os;var ss="x-oss-process=image/",ls=new RegExp("(".concat(ss,"[^&]+&??)")),us={cover:"cover",contain:"contain"};us.allAsArray=Object.values(us);var fs={resize:"resize",crop:"crop"},hs={sm:"(max-width: 767px)",md:"(min-width: 768px) and (max-width: 1023px)",lg:"(min-width: 1024px) and (max-width: 1269px)",xl:"(min-width: 1270px) and (max-width: 1859px)","2xl":"(min-width: 1860px) and (max-width: 2036px)","3xl":"(min-width: 2037px)"},ps=["media","type","src","resize","crop","w","h"],ds="format,webp",ms="/ignore-error,1",gs=function(e){return e.replace(/\s/g,"%20")};function vs(e,t){var r=e;return e.includes(t)?e:(r.indexOf(ss)>-1?r=r.replace(ls,"$1/".concat(t)):-1!==r.indexOf("?")?r+="&".concat(ss).concat(t):r+="?".concat(ss).concat(t),function(e){return e.includes(ms)?"".concat(e.replace(ms,"")).concat(ms):"".concat(e).concat(ms)}(r))}function _s(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e;return r?(r=function(e){var t=O.cdnDomainMap,r=void 0===t?{}:t,n="";return!e.includes(O.cdnBaseUrl)&&Object.values(r).some((function(t){return!!e.includes(t)&&(n=t,!0)}))?e.replace(n,O.cdnBaseUrl):e}(gs(e)),t?vs(r,ds):r):""}var ys=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=Object.entries(e).map((function(e){var t,r=K(e,2),n=r[0],o=r[1];return o?"".concat((t=n,t[0]),"_").concat(o):""})).filter(Boolean).join(",");return n?vs(t,"".concat(r,",").concat(n,",type_6")):t},bs=function(e,t){return e.map((function(e){var r=e.media,n=e.type,o=void 0===n?fs.resize:n,i=e.src,c=e.resize,s=e.crop,l=e.w,u=e.h,f=Na(e,ps),h=o;return s&&(h=fs.crop),c&&(h=fs.resize),a({media:r,src:ys(c||s||{width:l,height:u},i||t,h)},f)}))},ws=function(e){var t=e.srcSetData,r=e.resize,n=e.useWebp;return t.map((function(e){var t=ys(r,_s(e.src,n),fs.resize);return"".concat(t," ").concat(e.size)})).join(",")};function xs(e){return e.includes(ds)}const Es=function(){var e;if("undefined"!==typeof globalThis)e=globalThis;else if("undefined"!==typeof window)e=window;else{if("undefined"===typeof r.g)throw new Error("unable to locate global object");e=r.g}var t={};return d()&&function(e){for(var t=["addEventListener","removeEventListener","IntersectionObserver","getComputedStyle","scrollTo"],r=["location","event","navigator"],n=["devicePixelRatio"],o=["devicePixelRatio","scrollY","scrollX","innerWidth","innerHeight"],i=0;i0&&(e=ws({srcSetData:u,resize:c,useWebp:!1}),t=ws({srcSetData:u,resize:c,useWebp:s})),{imgSrcSet:e,sourceSrcSet:t}}),[u,c,s]),E=d&&t,N=(0,l.useMemo)((function(){var e=E?t:r,n=E?_s(e,!1):ys(c,_s(e,!1),fs.resize),o=ys(c,_s(e,s),fs.resize),i=s&&!xs(n),a=x.sourceSrcSet||o;return{imgSrc:n,sourceSrc:o,requestSrc:i?a:n,needSource:i,sourceSrcset:a}}),[x,E,r,c,s,t]);return(0,l.useEffect)((function(){d&&m(!1)}),[r]),a(a({onError:function(e,r,o){h.current.set(o,{onerror:!0}),m(!0),n(e,r),t?r==t&&_(!0):_(!0)},onLoad:function(e,t,r){h.current.set(r,{onload:!0}),w(!0),o(e)},isLoaded:b,isFallbackError:v,isErrorState:E,mediaSource:f,loadedImages:h},x),N)}(e),w=b.isLoaded,x=b.isFallbackError,E=b.isErrorState,N=b.mediaSource,S=function(e){var t=e.store,r=e.ssrRendered,n=t.onError,o=t.onLoad,i=t.mediaSource,a=t.loadedImages,c=t.requestSrc,s=Za().media,u=(0,l.useRef)(null);return(0,l.useEffect)((function(){if(r&&u.current){var e,t=u.current,l=t.complete,f=t.naturalHeight,h=i&&(null===(e=i.find((function(e){return e.media===hs[s]})))||void 0===e?void 0:e.src)||c;l&&!a.current.has(h)&&(f>0?o(u.current,c,h):n(u.current,c,h))}}),[]),{imgRef:u}}({store:b,ssrRendered:_}),T=S.imgRef,k=function(e){var t=(0,l.useRef)(null),r=K((0,l.useState)(!e),2),n=r[0],o=r[1];return(0,l.useEffect)((function(){if(e){var r,i="object"===typeof e?e:{},c=i.top,s=void 0===c?0:c,l=i.bottom,u=void 0===l?0:l,f=i.right,h=void 0===f?0:f,p=i.left,d=void 0===p?0:p,m=Na(i,Ns),g="".concat(s,"px ").concat(h,"px ").concat(u,"px ").concat(d,"px"),v=!1;t.current&&!n&&(Es.IntersectionObserver?(r=new Es.IntersectionObserver((function(e){e.forEach((function(e){!v&&(e.intersectionRatio>0||e.isIntersecting)&&o(!0)}))}),a({threshold:.01,rootMargin:g},m))).observe(t.current):o(!0));var _=t.current;return function(){v=!0,r&&r.unobserve&&_&&(r.unobserve(_),r=null)}}}),[e]),{imageRef:t,visible:n,lazyload:e}}(i),A=k.imageRef,C=k.visible,O=x||i&&!w,L=a({width:f,height:h},p);return(0,J.jsxs)("picture",{className:Ea()(So.data.okdNamespace,Ls,d,o({},"".concat(Ls,"-font"),!O)),ref:A,style:m,children:[C&&!x&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Ts,{mediaSource:N,isErrorState:E,useWebp:s}),(0,J.jsx)(Cs,a(a({},y),{},{src:t,store:b,ref:T,width:g||f,height:v||h,style:L,className:Ea()(n&&"".concat(Ls,"-").concat(n),c),alt:r}))]}),O&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("img",{style:{display:"none"},alt:r}),u]})]})}var Is=function(){};Bs.defaultProps={resize:void 0,layout:void 0,lazyload:!1,className:"",pictureClassName:"",style:{},pictureStyle:{},useWebp:!0,placeholder:void 0,errorImg:null,mediaData:[],srcSetData:[],onError:Is,onLoad:Is,width:void 0,height:void 0,originWidth:void 0,originHeight:void 0,src:void 0,alt:void 0,ssrRendered:!1},Bs.MEDIA=hs,Bs.LAYOUT=us,Bs.ACTION=fs;const js=Bs;var Rs="".concat(yc,"-empty");function Ms(e){var t=e.className,r=e.imgClassName,n=e.imgSrc,o=e.title,i=e.description,c=e.buttonText,s=e.renderButton,l=e.onButtonClick,u=e.pictureProps,f=c&&(0,J.jsx)(cs,{size:cs.SIZE.xs,type:cs.COLOR.gray,className:"".concat(Rs,"-button"),onClick:l,children:c});return(0,J.jsxs)("div",{className:Ea()(So.data.okdNamespace,Rs,t),children:[!!n&&(0,J.jsx)(js,a({src:n,className:Ea()("".concat(Rs,"-img"),r)},u)),o&&(0,J.jsx)("div",{className:"".concat(Rs,"-title"),children:o}),i&&(0,J.jsx)("div",{className:"".concat(Rs,"-description"),children:i}),s(f)]})}var Ps=function(e){return e};Ms.defaultProps={className:"",imgClassName:"",imgSrc:"",title:null,description:null,buttonText:null,onButtonClick:Ps,renderButton:Ps,pictureProps:{}};const Ds="index_skeletonCard__AEUHy",Us="index_top__vFvVS",Hs="index_topIcon__6TNqU",Fs="index_topTitle__OdwOr",Gs="index_topDes__6yqYM",Vs="index_row__gC1fU";const Ws=function(e){var t=e.rowLength,r=void 0===t?0:t,n=e.rowClass,o=(0,l.useMemo)((function(){return new Array(r).fill(0)}),[r]);return(0,J.jsxs)("div",{className:Ds,children:[(0,J.jsxs)("div",{className:Ea()(Us,"flex"),children:[(0,J.jsx)("div",{className:Hs}),(0,J.jsxs)("div",{className:"flex col",children:[(0,J.jsx)("div",{className:Fs}),(0,J.jsx)("div",{className:Gs})]})]}),o.map((function(e,t){return(0,J.jsx)("div",{className:Ea()(Vs,n)},t)}))]})},zs="index_valueRow__F2XuH",Ks="index_rise__HCLU9",Xs="index_drop__CXEOc",Ys="index_equal__E49uA",Zs="index_value__uYt3x",qs="index_arrow__Vs1nV",Js="index_arrowUp__QVCfV";const $s=function(e){var t=e.riseValue,r=(0,l.useMemo)((function(){return t>0?Ks:t<0?Xs:Ys}),[t]),n=(0,l.useMemo)((function(){return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ei,{visible:t>=0,children:(0,J.jsx)("span",{className:Ea()(qs,Js),children:(0,J.jsx)(Da,{className:"oklink-explorer-arrow"})})}),(0,J.jsx)(ei,{visible:t<0,children:(0,J.jsx)("span",{className:qs,children:(0,J.jsx)(Da,{className:"oklink-explorer-arrow"})})})]})}),[t]);return(0,J.jsxs)("span",{className:Ea()(zs,r),children:[(0,J.jsx)(ei,{visible:void 0!==t,children:n}),(0,J.jsx)("span",{className:Zs,children:Si.showTruncation(t,2,{style:"percent"})})]})},Qs={chainWrapper:"index_chainWrapper__ov0Br",titleWrapper:"index_titleWrapper__GI2wR",title:"index_title__RrGP5",arrow:"index_arrow__rVAHE",tipsWrapper:"index_tipsWrapper__ft-Vf",tipsLink:"index_tipsLink__hw11J",tips:"index_tips__i+Tmh",topArrow:"index_topArrow__tmU3B",newPicture:"index_newPicture__J+R9f",new:"index_new__6TbIr",tipsTop:"index_tipsTop__-owoV",topIcon:"index_topIcon__txfvL",topTitle:"index_topTitle__FClpX",topDes:"index_topDes__xa3XT",row:"index_row__J1EfZ",rowLeft:"index_rowLeft__5Hypu",rowRight:"index_rowRight__oxCPp",value:"index_value__rmSG7",tipsAll:"index_tipsAll__m4BL9",tipsAllBtn:"index_tipsAllBtn__gebBQ",tipsAllIcon:"index_tipsAllIcon__6cl80",tipsAllInfo:"index_tipsAllInfo__NK3iv",emptyWrapper:"index_emptyWrapper__XjEOy",emptyTitle:"index_emptyTitle__eto5L",emptyDes:"index_emptyDes__H1Hi2",emptyBtn:"index_emptyBtn__OJRpw"};const el=function(e){var t=e.logoUrl,r=e.symbol,n=e.name,o=e.list,i=void 0===o?[]:o,a=e.isNew,c=e.chain;return(0,J.jsx)(Ta,{className:Qs.tipsLink,href:Zi[c.toUpperCase()],onClick:function(){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.chain_name,r=e.position;Vo.act({action:"Oklilnk_Homepage_Explorer_Click",anchor:"Oklilnk_Homepage_Explorer_Click",params:{chain_name:t,position:r},actionType:"",elementType:""})}({chain_name:c,position:"top"})},children:(0,J.jsxs)("div",{className:Qs.tips,children:[(0,J.jsxs)("div",{className:Ea()(Qs.tipsTop,"flex-between-center"),children:[(0,J.jsxs)("div",{className:"flex",children:[(0,J.jsx)(js,{className:Qs.topIcon,src:t,alt:"".concat(r," logo"),mediaData:[{media:js.MEDIA.xl,resize:{width:104,height:104}},{media:js.MEDIA.md,resize:{width:80,height:80}},{media:js.MEDIA.sm,resize:{width:80,height:80}}]}),(0,J.jsxs)("div",{className:"flex col",children:[(0,J.jsx)("h3",{className:Qs.topTitle,children:r}),(0,J.jsx)("p",{className:Qs.topDes,children:n})]})]}),(0,J.jsx)("div",{className:Qs.topArrow,children:(0,J.jsx)(Da,{className:"okds-arrow-pointer-right-sm",style:{fontSize:"18px",color:"#fff"}})})]}),(0,J.jsx)("div",{children:i.map((function(e,t){return(0,J.jsxs)("div",{className:Ea()(Qs.row,"flex-between-start"),children:[(0,J.jsx)("div",{className:Qs.rowLeft,children:e.title}),(0,J.jsxs)("div",{className:Ea()(Qs.rowRight,"flex-between-center"),children:[(0,J.jsx)(ei,{visible:["marketCap","tvl"].includes(e.key),children:"$"}),(0,J.jsx)(ei,{visible:void 0!==e.value,children:(0,J.jsx)("span",{className:Qs.value,children:e.value})}),(0,J.jsx)(ei,{visible:void 0===e.value,children:"--"}),(0,J.jsx)(ei,{visible:e.unit,children:(0,J.jsx)("span",{className:Qs.unit,children:e.unit})}),(0,J.jsx)(ei,{visible:void 0!==e.change,children:(0,J.jsx)($s,{riseValue:e.change})})]})]},t)}))}),(0,J.jsx)(ei,{visible:a,children:(0,J.jsx)(js,{lazyload:!0,pictureClassName:Qs.newPicture,className:Qs.new,src:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/2212/37A2A36F84C1D2BA.png"),alt:"new"})})]})})};const tl=(0,ri.observer)((function(){var e=wa().infoStore;return(0,J.jsxs)("div",{className:Ea()(Qs.tipsAll,"flex col flex-start-center"),children:[(0,J.jsx)(js,{className:Qs.tipsAllIcon,src:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/2212/B769D133C0C11F51.png"),alt:"all-chain",lazyload:!0}),(0,J.jsx)("div",{className:Qs.tipsAllInfo,children:Ro("oklinkexplorer_tracker_homepage_explorer_card_all_dec",{num:Si.thousandFormat(e.cardInfo.length)})}),(0,J.jsx)(Ta,{href:qa.ALL_CHAIN,onClick:function(){Vo.act({action:"Oklilnk_Homepage_Explorer_Viewmore_Click",anchor:"Oklilnk_Homepage_Explorer_Viewmore_Click",params:{},actionType:"",elementType:""})},children:(0,J.jsx)("div",{className:Qs.tipsAllBtn,children:Ro("oklinkexplorer_tracker_homepage_explorer_card_all_btn")})})]})}));const rl=(0,ri.observer)((function(){var e=wa().infoStore,t=Za().isMobile,r=t?e.cardInfo.slice(0,7):e.cardInfo.slice(0,8),n=t?new Array(8).fill(0):new Array(9).fill(0),o=(0,l.useCallback)((function(){e.getInfo()}),[]);return(0,J.jsxs)("div",{className:Ea()(Qs.chainWrapper),children:[(0,J.jsxs)("div",{className:Ea()(Qs.titleWrapper,"flex-between-center"),children:[(0,J.jsx)("h2",{className:Qs.title,children:Ro("oklinkexplorer_tracker_homepage_explorer_card_title",{chainnumber:Si.showCeilTruncation(e.total)})}),(0,J.jsx)(Ta,{"aria-label":"all-chain",className:Qs.arrow,href:qa.ALL_CHAIN,children:(0,J.jsx)(Da,{className:"okds-arrow-pointer-right-sm",style:{fontSize:"18px",color:"#fff"}})})]}),(0,J.jsx)(ei,{visible:e.loading,children:(0,J.jsx)("div",{className:Ea()(Qs.tipsWrapper,"flex-between-center flex-wrap"),children:n.map((function(e,t){return(0,J.jsx)(Ws,{rowLength:3},t)}))})}),(0,J.jsxs)(ei,{visible:!e.loading,children:[(0,J.jsx)(ei,{visible:e.empty,children:(0,J.jsx)(Ms,{className:Qs.emptyWrapper,imgSrc:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/2212/ACCDD4CD9CCB24CF.png"),title:(0,J.jsx)("span",{className:Qs.emptyTitle,children:Ro("oklinkexplorer_tracker_homepage_explorer_card_nodata_title")}),description:(0,J.jsx)("span",{className:Qs.emptyDes,children:Ro("oklinkexplorer_tracker_homepage_explorer_card_nodata_dec")}),renderButton:function(){return(0,J.jsx)("span",{className:Qs.emptyBtn,onClick:o,children:Ro("oklinkexplorer_tracker_homepage_explorer_card_nodata_btn")})}})}),(0,J.jsx)(ei,{visible:!e.empty,children:(0,J.jsxs)("div",{className:Ea()(Qs.tipsWrapper,"flex-between-center flex-wrap"),children:[r.map((function(e,t){return(0,J.jsx)(el,a({},e),t)})),(0,J.jsx)(tl,{})]})})]})]})})),nl="index_tabBox__qR-Zx",ol="index_tabTitle__JjzdN",il="index_active__aCPCY",al="index_none__rNeRE";var cl=function(e){var t=e.list,r=e.active,n=e.onChange;return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("div",{className:nl,children:t.map((function(e,t){return(0,J.jsx)("h3",{className:Ea()(ol,r===e.id&&il),onClick:function(){n(e.id,e)},children:e.title},t)}))}),t.map((function(e,t){return(0,J.jsx)("div",{className:Ea()(r!==e.id&&al),children:e.content},t)}))]})};const sl=(0,l.memo)(cl),ll="featureImgBox_imgBox__Qnksc",ul="featureImgBox_img__aGfAK";const fl=function(){var e=(0,l.useCallback)((function(){!function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).ad_name;Vo.act({action:"Oklilnk_Homepage_SS_AD_Click",anchor:"Oklilnk_Homepage_SS_AD_Click",params:{ad_name:e},actionType:"",elementType:""})}({ad_name:qa.ETH_8TH})}),[]),t=!jo.javaUse,r=(0,l.useMemo)((function(){var e=ki.cdnBaseUrl;return ki.isChineseLocale?[{media:js.MEDIA.xl,src:"".concat(e,"/cdn/assets/imgs/237/68C993033B4357B2.png")},{media:js.MEDIA.lg,src:"".concat(e,"/cdn/assets/imgs/237/8AD371FE6E6A60C4.png")},{media:js.MEDIA.md,src:"".concat(e,"/cdn/assets/imgs/237/3DD95955D88FB391.png")},{media:js.MEDIA.sm,src:"".concat(e,"/cdn/assets/imgs/237/D87F747FF78D43A8.png")}]:[{media:js.MEDIA.xl,src:"".concat(e,"/cdn/assets/imgs/237/EE9AFA2917DA90E9.png")},{media:js.MEDIA.lg,src:"".concat(e,"/cdn/assets/imgs/237/0B2E6C3842BBB295.png")},{media:js.MEDIA.md,src:"".concat(e,"/cdn/assets/imgs/237/6646BC31EB9E3703.png")},{media:js.MEDIA.sm,src:"".concat(e,"/cdn/assets/imgs/237/E29E9D406F7FC61A.png")}]}),[]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(Ta,{className:Ea()(ll,"flex-both-center"),onClick:e,href:qa.ETH_8TH,children:(0,J.jsx)(ei,{visible:t,children:(0,J.jsx)(js,{className:ul,src:r[0].src,mediaData:r,alt:Ro("homepage_feature_banner_alt"),lazyload:!0})})})})},hl={feature:"featureSM_feature__k4Y30",card:"featureSM_card__a-Tfb",cover:"featureSM_cover__8h8o0",blue:"featureSM_blue__DYqD4",logo:"featureSM_logo__Pbny2",title:"featureSM_title__sMqNX",des:"featureSM_des__ykshu",arraw:"featureSM_arraw__5uc9q",noBg:"featureSM_noBg__LA3bX",logoImg:"featureSM_logoImg__orG+I",coverWrapper:"featureSM_coverWrapper__9krT+",coverLogo:"featureSM_coverLogo__RK7g7",asiaToken:"featureSM_asiaToken__mgfXj",message:"featureSM_message__lqkK6"};var pl=function(e){var t=e.pictureClassName,r=e.type,n=void 0===r?"custom":r,o=e.logo,i=e.logos,a=e.title,c=e.alt;return"custom"===n?(0,J.jsx)(js,{pictureClassName:Ea()(hl.logo,t),className:hl.logoImg,src:o,alt:a,resize:{width:88,height:88},lazyload:!0}):(0,J.jsx)("div",{className:hl.coverWrapper,children:(0,J.jsx)(js,{pictureClassName:Ea()(hl.coverLogo,t),alt:c||a,useWebp:!1,src:i.sm,width:343,height:120,lazyload:!0})})};const dl=function(e){var t=e.tabName,r=(0,l.useMemo)((function(){return[{blue:!0,logo:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/232/47916B4164F6D084.png"),title:Ro("oklinkhome_feature_title_insight"),des:Ro("oklinkhome_feature_dsc_insight"),href:qa.INSIGHTS},{logo:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/2212/AC689B5EF8801466.png"),title:Ro("oklinkexplorer_tracker_homepage_function_featured_cefi_title"),des:Ro("oklinkexplorer_tracker_homepage_function_featured_cefi_dec"),href:qa.CEFI},{logo:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/233/00C21946731A6B82.png"),title:Ro("oklinkexplorer_tracker_homepage_function_featured_tool_title"),des:Ro("oklinkexplorer_tracker_homepage_function_featured_tool_dec"),href:qa.FEATURED_TOOLS},{logo:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/234/85AC0D2D86515B4E.png"),pictureClassName:hl.noBg,title:Ro("oklinkexplorer_tracker_homepage_function_featured_countdown_title"),des:Ro("oklinkexplorer_tracker_homepage_function_featured_countdown_dec"),href:qa.HALVING}]}),[]);return(0,J.jsxs)("div",{className:hl.feature,children:[(0,J.jsx)(fl,{}),r.map((function(e,r){return(0,J.jsxs)(Ta,{href:e.href,isBlankTarget:e.isOutLink,className:Ea()(hl.card,e.blue&&hl.blue,"cover"===e.type&&hl.cover),onClick:function(){Ko({tab_name:t,feature_name:e.title,position:"top"})},children:[(0,J.jsx)(pl,a({},e)),(0,J.jsxs)(ei,{visible:"cover"!==e.type,children:[(0,J.jsxs)("div",{className:hl.text,children:[(0,J.jsx)("p",{className:hl.title,children:e.title}),(0,J.jsx)("p",{className:hl.des,children:e.des})]}),(0,J.jsx)(Da,{className:Ea()("okds-arrow-pointer-right-sm",hl.arraw)})]})]},r)}))]})},ml="featureNotSM_feature__hHt7O",gl="featureNotSM_card__B6dkX",vl="featureNotSM_blue__n5RAF",_l="featureNotSM_logo__KstaK",yl="featureNotSM_title__O9vAh",bl="featureNotSM_des__YQNGh",wl="featureNotSM_link__8sr80",xl="featureNotSM_arraw__GXSgy",El="featureNotSM_cover__N7pOX",Nl="featureNotSM_noBg__A4SYx",Sl="featureNotSM_logoImg__fbJC9",Tl="featureNotSM_coverWrapper__VHSRy",kl="featureNotSM_coverLogo__v4VRA",Al="featureNotSM_coverLogoImg__z5ogF";var Cl=[{media:js.MEDIA.xl,resize:{width:160,height:160}}],Ol=function(e){var t=e.type,r=void 0===t?"custom":t,n=e.logo,o=e.logos,i=e.pictureClassName,a=e.title,c=e.des,s=e.alt;return"custom"===r?(0,J.jsxs)("div",{className:"flex col flex-start-center",children:[(0,J.jsx)(js,{pictureClassName:Ea()(_l,i),className:Sl,src:n,alt:a,mediaData:Cl,resize:{width:120,height:120},lazyload:!0}),(0,J.jsx)("p",{className:yl,children:a}),(0,J.jsx)("p",{className:bl,children:c})]}):(0,J.jsx)("div",{className:Ea()("flex col flex-start-center",Tl),children:(0,J.jsx)(js,{pictureClassName:Ea()(_l,kl,i),className:Al,alt:s||a,useWebp:!1,src:o.xl,mediaData:[{media:js.MEDIA.md,src:o.md},{media:js.MEDIA.lg,src:o.lg},{media:js.MEDIA.xl,src:o.xl}]})})};const Ll=function(e){var t=e.tabName,r=(0,l.useMemo)((function(){return[{logo:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/2212/AC689B5EF8801466.png"),title:Ro("oklinkexplorer_tracker_homepage_function_featured_cefi_title"),des:Ro("oklinkexplorer_tracker_homepage_function_featured_cefi_dec"),href:qa.CEFI},{logo:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/234/85AC0D2D86515B4E.png"),pictureClassName:Nl,title:Ro("oklinkexplorer_tracker_homepage_function_featured_countdown_title"),des:Ro("oklinkexplorer_tracker_homepage_function_featured_countdown_dec"),href:qa.HALVING},{logo:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/233/00C21946731A6B82.png"),title:Ro("oklinkexplorer_tracker_homepage_function_featured_tool_title"),des:Ro("oklinkexplorer_tracker_homepage_function_featured_tool_dec"),href:qa.FEATURED_TOOLS},{blue:!0,logo:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/232/47916B4164F6D084.png"),title:Ro("oklinkhome_feature_title_insight"),des:Ro("oklinkhome_feature_dsc_insight"),href:qa.INSIGHTS}]}),[]);return(0,J.jsxs)("div",{className:Ea()(ml,"row-reverse flex-wrap flex-between-start"),children:[(0,J.jsx)(fl,{}),r.map((function(e,r){return(0,J.jsxs)(Ta,{href:e.href,isBlankTarget:e.isOutLink,className:Ea()(gl,e.blue&&vl,"cover"===e.type&&El,"flex col flex-between-center"),onClick:function(){Ko({tab_name:t,feature_name:e.title,position:"top"})},children:[(0,J.jsx)(Ol,a({},e)),(0,J.jsx)(ei,{visible:"cover"!==e.type,children:(0,J.jsx)("div",{className:wl,children:(0,J.jsx)(Da,{className:Ea()("oklink--explorer-arrow2",xl)})})})]},r)}))]})};const Bl=function(e){return Za().isSm?(0,J.jsx)(dl,a({},e)):(0,J.jsx)(Ll,a({},e))},Il="index_cardTemplate__j7Pii",jl="index_top__PTsOK",Rl="index_bottom__JfjAJ",Ml="index_firstCardLink__b8SZh",Pl="index_firstCard__YH3MO",Dl="index_btn__2EoFZ",Ul="index_text__iiQXv",Hl="index_arraw__NhaCD",Fl="index_firstCardExtra__jvQdx",Gl="index_desWrap__8hMW8",Vl="index_go__HBnNy",Wl="index_des__+AXp7",zl="index_extra__V54k9",Kl="index_header__X9Uq1",Xl="index_title__2i7u2",Yl="index_logo__NDii3",Zl="index_content__LKMjC",ql="index_left__RVbzd";var Jl=[{media:js.MEDIA.xl,resize:{width:360,height:360}},{media:js.MEDIA.lg,resize:{width:280,height:280}},{media:js.MEDIA.md,resize:{width:240,height:240}},{media:js.MEDIA.sm,resize:{width:160,height:160}}];const $l=function(e){var t=e.title,r=e.des,n=e.btnText,o=e.logoUrl,i=e.href,a=e.tabName,c=e.extra;return(0,J.jsx)(Ta,{className:Ml,href:i,onClick:function(){Ko({tab_name:a,feature_name:t,position:"top"})},children:(0,J.jsxs)("div",{className:Ea()(Pl,c&&Fl),children:[(0,J.jsxs)("div",{className:Kl,children:[(0,J.jsx)("p",{className:Xl,children:t}),(0,J.jsx)(Da,{className:Ea()("okds-arrow-pointer-right-md",Vl)})]}),(0,J.jsxs)("div",{className:Zl,children:[(0,J.jsxs)("div",{className:ql,children:[(0,J.jsxs)("div",{className:Gl,children:[(0,J.jsx)("p",{className:Wl,children:r}),(0,J.jsx)("div",{className:zl,children:c})]}),(0,J.jsxs)("div",{className:Dl,children:[(0,J.jsx)(ei,{visible:n,children:(0,J.jsx)("span",{className:Ul,children:n})}),(0,J.jsx)(Da,{className:Ea()("oklink--explorer-arrow2",Hl)})]})]}),o&&(0,J.jsx)(js,{mediaData:Jl,className:Yl,src:o,alt:t,useWebp:!1,lazyload:!0})]})]})})},Ql="index_regularCardLink__eN3C4",eu="index_regularCard__3pBIu",tu="index_btn__VRsUd",ru="index_arraw__1iPT9",nu="index_desBox__qF4SX",ou="index_header__9ya6P",iu="index_title__omq6f",au="index_go__s+ylB",cu="index_des__9MXqY";const su=function(e){var t=e.title,r=e.des,n=e.href,o=e.tabName;return(0,J.jsx)(Ta,{className:Ql,href:n,onClick:function(){Ko({tab_name:o,feature_name:t,position:"top"})},children:(0,J.jsxs)("div",{className:eu,children:[(0,J.jsxs)("div",{className:nu,children:[(0,J.jsxs)("div",{className:ou,children:[(0,J.jsx)("p",{className:iu,children:t}),(0,J.jsx)(Da,{className:Ea()("okds-arrow-pointer-right-md",au)})]}),(0,J.jsx)("p",{className:cu,children:r})]}),(0,J.jsx)("div",{className:tu,children:(0,J.jsx)(Da,{className:Ea()("oklink--explorer-arrow2",ru)})})]})})};var lu=["list"];const uu=function(e){var t=e.list,r=Na(e,lu);return(0,J.jsxs)("div",{className:Il,children:[(0,J.jsx)("div",{className:jl,children:t.slice(0,2).map((function(e,t){return(0,J.jsx)($l,a(a({},e),r),t)}))}),(0,J.jsx)("div",{className:Rl,children:t.slice(2,5).map((function(e,t){return(0,J.jsx)(su,a(a({},e),r),t)}))})]})};const fu=function(){var e=[{title:Ro("oklinkhome_feature_title_approval"),des:Ro("oklinkhome_feature_dsc_approval"),btnText:Ro("oklinkexplorer_tracker_homepage_function_tab_transaction_cta"),logoUrl:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/238/6BA271961DDF66E4.png"),href:qa.APPROVAL},{title:Ro("oklinkexplorer_tracker_homepage_function_address_monitoring_title"),des:Ro("oklinkexplorer_tracker_homepage_function_address_monitoring_dec"),btnText:Ro("oklinkexplorer_tracker_homepage_function_tab_transaction_cta"),logoUrl:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/238/AF5AEC99E0B1BEEE.png"),href:qa.MONITOR},{title:Ro("oklinkexplorer_tracker_homepage_function_address_privatelabel_title"),des:Ro("oklinkexplorer_tracker_homepage_function_address_privatelabel_dec"),href:qa.PRIVATE_LABEL},{title:Ro("oklinkexplorer_tracker_homepage_function_address_rishlist_title"),des:Ro("oklinkexplorer_tracker_homepage_function_address_rishlist_dec"),href:qa.RICH_LIST},{title:Ro("oklinkexplorer_tracker_homepage_function_address_analysis_title"),des:Ro("oklinkexplorer_tracker_homepage_function_address_analysis_dec"),btnText:Ro("oklinkexplorer_tracker_homepage_function_tab_address_cta"),href:qa.ADDRESS_ANALYSIS}];return(0,J.jsx)(uu,{list:e})},hu="index_portalWrapper__chWnp",pu="index_title__8SMdE",du="index_extraValue__hF0gG",mu="index_gas__468mG",gu="index_text__QDC2F";const vu=(0,ri.observer)((function(){var e=wa().infoStore,t=[{title:Ro("oklinkexplorer_tracker_homepage_function_transaction_transactionmap"),des:Ro("oklinkexplorer_tracker_homepage_transactionmap_dec"),btnText:Ro("oklinkexplorer_tracker_homepage_function_tab_transaction_cta"),logoUrl:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/238/F604B37619084570.png"),href:qa.TRANSACTION_GRAPH},{title:Ro("oklinkexplorer_tracker_homepage_function_transaction_gastracker"),des:Ro("oklinkexplorer_tracker_homepage_function_transaction_gastracker_dec"),extra:(0,J.jsxs)("div",{className:du,children:[(0,J.jsx)("div",{className:mu,children:"".concat(e.ethGas," Gwei")}),(0,J.jsx)("div",{className:gu,children:Ro("oklinkexplorer_tracker_homepage_function_transaction_gastracker_price")})]}),logoUrl:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/238/64C675724CE42901.png"),href:qa.GAS_TRACKER},{title:Ro("oklinkexplorer_tracker_homepage_function_transaction_defitracker"),des:Ro("oklinkexplorer_tracker_homepage_function_transaction_defitracker_dec"),href:qa.DEFI_TRACKER},{title:Ro("oklinkexplorer_tracker_homepage_function_transaction_nfttrace"),des:Ro("oklinkexplorer_tracker_homepage_function_transaction_nfttrace_dec"),href:qa.NFT_TRACE},{title:Ro("oklinkexplorer_tracker_homepage_function_transaction_largetxns"),des:Ro("oklinkexplorer_tracker_homepage_function_transaction_largetxns_dec"),href:qa.LARGE_TXNS}];return(0,J.jsx)(uu,{list:t})}));const _u=function(){var e=[{title:Ro("oklinkexplorer_tracker_homepage_function_service_api_title"),des:Ro("oklinkexplorer_tracker_homepage_function_service_api_dec"),btnText:Ro("oklinkexplorer_tracker_homepage_function_tab_service_cta"),logoUrl:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/238/18C9DDCDE8403EB4.png"),href:qa.OKLINK_API},{title:Ro("oklinkexplorer_tracker_homepage_function_service_tokenrisk_title"),des:Ro("oklinkexplorer_tracker_homepage_function_service_tokenrisk_dec"),btnText:Ro("oklinkexplorer_tracker_homepage_function_tab_transaction_cta"),logoUrl:"".concat(ki.cdnBaseUrl,"/cdn/assets/imgs/238/FAFDC462BD53FFEB.png"),href:qa.SCANNER},{title:Ro("oklinkexplorer_tracker_homepage_function_service_report_title"),des:Ro("oklinkexplorer_tracker_homepage_function_service_report_dec"),href:qa.SERVICE_REPORT},{title:Ro("oklinkexplorer_tracker_homepage_function_service_contractaudit_title"),des:Ro("oklinkexplorer_tracker_homepage_function_service_contractaudit_dec"),href:qa.POPULAR},{title:Ro("oklinkexplorer_tracker_homepage_function_service_decompile_title"),des:Ro("oklinkexplorer_tracker_homepage_function_service_decompile_dec"),href:qa.DECOMPILE}];return(0,J.jsx)(uu,{list:e})};const yu=function(){var e=K((0,l.useState)(1),2),t=e[0],r=e[1],n=(0,l.useMemo)((function(){return[{id:1,title:Ro("oklinkexplorer_tracker_homepage_function_tab_featured"),content:(0,J.jsx)(Bl,{tabName:Ro("oklinkexplorer_tracker_homepage_function_tab_featured")})},{id:2,title:Ro("oklinkexplorer_tracker_homepage_function_tab_address"),content:(0,J.jsx)(fu,{tabName:Ro("oklinkexplorer_tracker_homepage_function_tab_address")})},{id:3,title:Ro("oklinkexplorer_tracker_homepage_function_tab_transaction"),content:(0,J.jsx)(vu,{tabName:Ro("oklinkexplorer_tracker_homepage_function_tab_transaction")})},{id:4,title:Ro("oklinkexplorer_tracker_homepage_function_tab_service"),content:(0,J.jsx)(_u,{tabName:Ro("oklinkexplorer_tracker_homepage_function_tab_service")})}]}),[]);return(0,J.jsxs)("div",{className:hu,children:[(0,J.jsx)("h2",{className:pu,children:Ro("oklinkexplorer_tracker_homepage_function_title")}),(0,J.jsx)("div",{className:"pageCenter",children:(0,J.jsx)(sl,{list:n,active:t,onChange:function(e,t){!function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).tab_name;Vo.act({action:"Oklilnk_Homepage_PortalSwitch_Click",anchor:"Oklilnk_Homepage_PortalSwitch_Click",params:{tab_name:e},actionType:"",elementType:""})}({tab_name:t.title}),r(e)}})})]})},bu="index_subscribeWrapper__jcWYg",wu="index_title__Ej0eV",xu="index_subscribeBox__IaYGA",Eu="index_subscribe__h5Z1a",Nu="index_btn__XEHoW",Su="index_pending__2vtnZ",Tu="index_success__UeDFV",ku="index_fail__2PVva",Au="index_tips__pBry+",Cu="index_input__JZcQd";const Ou=(0,ri.observer)((function(e){var t=e.onChange,r=e.value,n=e.onSubmit;return(0,J.jsx)(ic,{className:Ea()(Cu),value:r,onChange:t,placeholder:Yn("oklinkexplorer_tracker_homepage_subscribe_input_tips"),onPressEnter:n})}));const Lu=function(){var e=K((0,l.useState)(""),2),r=e[0],n=e[1],o=K((0,l.useState)("pending"),2),i=o[0],a=o[1],c=(0,l.useMemo)((function(){return{pending:Ro("oklinkexplorer_tracker_homepage_subscribe_btn"),success:Ro("oklinkexplorer_tracker_homepage_subscribe_success"),fail:Ro("oklinkexplorer_tracker_homepage_subscribe_btn")}[i]}),[i]),u=(0,l.useMemo)((function(){return{pending:Su,success:Tu,fail:ku}[i]}),[i]),f=function(){var e=s(t().mark((function e(){var n;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("fail"===i){e.next=17;break}if(n=/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/.test(r),zo({email:r}),!n){e.next=16;break}return e.prev=5,e.next=8,Fi({email:r});case 8:a("success"),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(5),a("fail");case 14:e.next=17;break;case 16:a("fail");case 17:case"end":return e.stop()}}),e,null,[[5,11]])})));return function(){return e.apply(this,arguments)}}(),h=(0,l.useCallback)((function(e){n(e.target.value),a("pending")}),[]);return(0,J.jsxs)("div",{className:Ea()(bu,"pageCenter flex col flex-start-center"),children:[(0,J.jsx)("p",{className:wu,children:Ro("oklinkexplorer_tracker_homepage_subscribe_title")}),(0,J.jsxs)("div",{className:Ea()(xu,"flex col flex-start-center"),children:[(0,J.jsxs)("div",{className:Eu,children:[(0,J.jsx)(Ou,{value:r,onChange:h,onSubmit:f}),(0,J.jsx)("span",{onClick:f,className:Ea()(Nu,u),children:c})]}),(0,J.jsx)(ei,{visible:"fail"===i,children:(0,J.jsx)("p",{className:Ea()(Au,ku),children:Ro("oklinkexplorer_tracker_homepage_subscribe_input_error")})}),(0,J.jsx)(ei,{visible:"success"===i,children:(0,J.jsx)("p",{className:Ea()(Au,Tu),children:Ro("oklinkexplorer_tracker_homepage_subscribe_success_tip")})})]})]})},Bu="index_homeWrapper__7VKM2";const Iu=ba((function(e){var t=e.isOKX,r=wa().infoStore;return(0,l.useEffect)((function(){!function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).page;Vo.act({action:"Explore_Page_View",anchor:"Explore_Page_View",params:{page:e},actionType:"",elementType:""})}({page:"home"}),r.getInfo(),r.getEthGas()}),[]),(0,J.jsxs)("div",{className:Bu,children:[(0,J.jsx)(_c,{isOKX:t}),(0,J.jsx)(rl,{}),(0,J.jsxs)(ei,{visible:!t,children:[(0,J.jsx)(yu,{}),(0,J.jsx)(Lu,{})]})]})}));So.setConfig({popupClassName:"theme-oklink",isRTL:!1}),Vo.setCommonParams({site:Mo()?"OKX":"oklink"});(function(e){var t=e;return O.envSign&&"prod"!==O.envSign&&F({fetchBaseUrl:B().BASE_URL_PREVIEW}),t.project=ne(t.project),zn(t,!0),Fn})(Qo.Dz).then(function(){var e=s(t().mark((function e(r){var n,o,i,c,s,l;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=r,e.next=7;break;case 4:o=e.sent,i=o.default,n=a(a({},i),n);case 7:c=go.querySelector(".home-container #root")||go.querySelector(".homeContainer"),s=O.isRenderByNode,l=(0,J.jsx)(ho,{fetchConfig:Qo.Dz,localeData:n,children:(0,J.jsx)(Iu,{isOKX:Mo()})}),s?(0,f.c)(c,l,{onRecoverableError:function(e){var t;"prod"===O.envSign&&e?null===(t=window.OkPerf)||void 0===t||t.customLog({type:"hydrate"}):$o(e)}}):(0,f.H)(c).render(l);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch($o)})()})(); +//# sourceMappingURL=https://static-daily.okg.com/crash/okfe/oklink-homepage/home/index.48c809d2.js.map \ No newline at end of file diff --git a/index.e2a7bf68.js.download b/index.e2a7bf68.js.download new file mode 100644 index 0000000..51c1368 --- /dev/null +++ b/index.e2a7bf68.js.download @@ -0,0 +1,2 @@ +(()=>{var e={1411:(e,r,t)=>{"use strict";t.d(r,{IF:()=>k,w2:()=>b});var n=t(1413),o=t(8080),a=t(8927),c=t(9783),i=t(6430),s=t(378),l=t(1805),u=t(1103),d=t(3949),p=t(1911),f="okI18nVersion",v="en_US",m=o.Z.localeStore,h=o.Z.localeDevStore,_=o.Z.localeState,g=o.Z.hasLoadedModules,Z=null,k=new Promise((function(e){Z=e}));function x(e,r,t,o){var a=_[r]&&_[r].locale||d.Z.locale||c.Z.get("locale")||c.Z.get("language")||v,i=(0,p.a5)(),s=e||(0,n.Z)((0,n.Z)({},window&&window["".concat(r)]),{},{version:t,project:r}),l=(0,n.Z)((0,n.Z)((0,n.Z)({},h["".concat(r)]),s),i);(0,u.S1)(l,{locale:a.toLowerCase(),project:"".concat(r)});var f=[];_.fetchModules.map((function(e){return e.project===r?f.push((0,n.Z)((0,n.Z)({},e),{},{fetchDone:!0})):f.push(e)})),_.fetchModules=f;var m=_["".concat(r,"_").concat(o)];(null===m||void 0===m?void 0:m.updateView)&&(null===m||void 0===m||m.updateView());var g=_.fetchConfigs.find((function(e){return e.project==="".concat(r)}));g&&g.fastRender&&g.onLocaleReady(e||window["".concat(r)])}function w(e,r,t,a){var i=(window||{}).onLocaleDataReady,s=_[r.project]&&_[r.project].locale||d.Z.locale||c.Z.get("locale")||c.Z.get("language")||v;t||!window["".concat(r.project)]||a||r.noCache||window.addEventListener("load",(function(){try{var e=JSON.stringify(window["".concat(r.project)]),t=(0,p.Gc)(r.locale,e),o=localStorage.i18nDBversion||1e4;!t&&(0,l.S_)({project:r.project,locale:r.locale,version:r.version,data:(0,n.Z)((0,n.Z)({},window["".concat(r.project)]),{},{project:"".concat(r.project,"_").concat(r.locale),version:r.version})},Number.isNaN(o)?1e4:o)}catch(a){(0,p.pH)("i18n-multiLoaded-setDB-err",r)}}));var f=t||(0,n.Z)((0,n.Z)({},window&&window["".concat(r.project)]),{},{version:r.version,project:r.project}),k=(0,p.a5)(),w=(0,n.Z)((0,n.Z)((0,n.Z)({},h["".concat(r.project)]),f),k);if(i&&i(t||(window&&window["".concat(r.project)],{project:r.project})),e)return g.push(r.project),void Z(w);(0,u.S1)(w,{locale:s.toLowerCase(),project:"".concat(r.project)}),o.Z.usingRemote?_["".concat(r.project,"_").concat(r.flag)]&&(m["".concat(r.project)]=t||window&&window["".concat(r.project)],x(t,r.project,r.version,r.flag)):m["".concat(r.project)]=t||window&&window["".concat(r.project)]}function j(e,r,t){var n=document.createElement("script");n.setAttribute("src",e.url),n.onerror=r,n.onload=t,document.head.appendChild(n)}function b(e,r,t){var u,m,h=e.project,Z=e.noCache,k=e.flag,N=e.noFetch;r&&!t&&(_[h]={},_[h].errorTimes=0);var C=function(e,r){var t=r.site,n=r.project,i=r.version,l=r.resourceType,u=void 0===l?"js":l,f=r.fetchBaseUrl,m=void 0===f?o.Z.fetchBaseUrl:f,h=(0,a.Z)().LANGUAGE_VERSIONS,_=r.locale||d.Z.locale||!(0,s.y)()&&c.Z.get("locale")||!(0,s.y)()&&c.Z.get("language")||v,g=t.toLowerCase(),Z=n.toLowerCase(),k=_&&_.toLowerCase&&_.toLowerCase().replace(/-/g,"_"),x="".concat(g,"_").concat(Z,"_").concat(k),w="".concat(m,"/").concat(t,"/").concat(Z,"/").concat(k,".").concat(u),j=h[(0,p.jp)(n,!0)]||i;return{url:"".concat(w).concat(j?"?v=".concat(j):""),namespace:x,finalVersion:j,locale:_}}(0,e),y=C.finalVersion;if(g.includes(h))x(!1,h,y,k);else{var O=C.locale,S=function(){!function(e,r){var t=e.flag?_["".concat(e.project,"_").concat(e.flag)]:_[e.project];t.errorTimes+=1;var o=t.errorTimes;if(o>=4)(0,p.pH)("i18n-remote-data-err",e);else if(2===o){var a=v,i=e.locale||d.Z.locale||c.Z.get("locale")||c.Z.get("language");if(2===o&&(i!==a||_.urlTestLocale)){var s=_.fetchConfigs.find((function(r){return r.project===e.project})),l=e;s?(s.locale=a,s.flag=e.flag,_[e.project]=a):l.locale=a,r(e.flag?(0,n.Z)({},s):(0,n.Z)({},l),!e.flag,!0)}}else r((0,n.Z)({},e),!e.flag,!0)}(e,b)},T=function(){w(r,{project:h,version:y,locale:O,noCache:Z,flag:k},!1)};if(window&&null!==(u=window)&&void 0!==u&&null!==(m=u.indexedDB)&&void 0!==m&&m.open&&!Z&&!N){var L=i.Z.g.get(f)||{};(L[h]&&L[h][O]||"")===y?window&&window["".concat(h)]?w(r,{project:h,version:y,locale:O,noCache:Z,flag:k},!1,!0):((0,l.VK)({project:h,version:y,locale:O},(function(e){if(e){var t=(0,p.Gc)(O,e.data||""),n=JSON.parse(e.data);n&&!t&&(window["".concat(h)]=n),y!==e.version||t?j(C,S,T):w(r,{project:h,version:y,locale:O,noCache:Z,flag:k},n)}else j(C,S,T)}),(function(){j(C,S,T)})),(0,p.UK)(h,C,j,S,T)):window["".concat(h)]?w(r,{project:h,version:y,locale:O,noCache:Z,flag:k},window["".concat(h)],!0):j(C,S,T)}else!N&&j(C,S,T),N&&T()}}},4300:(e,r,t)=>{"use strict";t.d(r,{O4:()=>C,n6:()=>S});var n=t(1413),o=t(8927),a=t(8080),c=t(9551),i=t(9783),s=t(378),l=t(3949),u=t(1911),d=t(1103),p=t(4595),f=a.Z.isShowKeyMode,v=a.Z.isShowPureKey,m=a.Z.localeStore,h=a.Z.localeDevStore,_=a.Z.localeState,g=a.Z.SSRProviderModule,Z=/<\/?[a-z][\s\S]*>/i,k=/(\n)|(\\n)/g,x="en_US",w=(0,l.E)(),j="toLocale cannot be used outside of LocaleProvider, issue key is ";function b(e,r,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=w.okMarkLocaleTextSign,i=(0,o.Z)().LANGUAGE_VERSIONS;if(!f)return(0,c.j)(r,a,{noNeedFilter:!0});if(v)return(0,c.j)(e,a,{noNeedFilter:!0});var s=t,l=_.fetchConfigs[0];if(!l)return(0,c.j)(r,a,{noNeedFilter:!0});s||(s=l.project);var u=l.site,d=l.version,p=i[s];return p&&(d=p),n?"showkeyWithJSX?key=".concat(e,"?site=").concat(u,"?partName=").concat(t,"?project=").concat(s,"?version=").concat(d,"?content=").concat(r,"?showkeyWithJSX"):"showkey?key=".concat(e,"?site=").concat(u,"?partName=").concat(t,"?project=").concat(s,"?version=").concat(d,"?content=").concat(r,"?showkey")}function N(e){return Object.prototype.toString.call(e).includes("String")}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var o=t.partName,f=t.withJSX,v=t.useBr,C=void 0===v||v,y=(o=(0,u.jp)(o))||_.fetchModules&&_.fetchModules[0]&&_.fetchModules[0].project||"main";y=(0,u.jp)(y);var O,S,T=m[y];if((0,d.vN)()){var L,E;if((0,d.P$)()){var D=(0,d.jw)(g)||{};O=null===D||void 0===D?void 0:D.ssrModuleName,S=null===D||void 0===D?void 0:D.ssrLocale}var B,A=(0,d.nv)({locale:null===(L=S)||void 0===L?void 0:L.toLowerCase(),project:O});if(T=(null===(E=(0,d.tv)(A))||void 0===E?void 0:E.messages)||{},(0,s.y)()&&S)if(S!==(null===(B=l.Z.locale)||void 0===B?void 0:B.toLowerCase())){if("prod"!==(null===l.Z||void 0===l.Z?void 0:l.Z.envSign))throw new Error("".concat(j).concat(e));return""}}var I=_[y]&&_[y].locale||l.Z.locale||!(0,s.y)()&&i.Z.get("locale")||!(0,s.y)()&&i.Z.get("language")||x;(0,s.y)()&&(0,d.vN)()&&(y=O,I=S);var P=T&&T[e]||"";if(a.Z.isInDevMode&&!(0,s.y)()&&h[y]){var M=h[y][e];M&&(P=M)}if(!P)return b(e,P,y);if(null!==w&&void 0!==w&&w.getFalconNeededRes&&(0,c.j)(P,"",{originContent:!0,msg:{project:y,key:e,content:P}}),!n.hasBr&&Z.test(P)&&C&&(P=N(P)&&P.replace(k,"")),f)return b(e,P,y,f);if(0===(Object.keys(r)||[]).length)return C&&N(P)&&P.indexOf("\n")>-1&&!n.hasBr&&!Z.test(P)?(0,u.rn)(P):b(e,P,y,f);var R="";return R=(0,p.wv)({project:y,locale:I.toLowerCase()},e,r,!0,"i18n"),C&&N(R)&&R.indexOf("\n")>-1&&!n.hasBr&&!Z.test(P)?(0,u.rn)(R):b(e,R,y,f)}catch(U){}}function y(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=C(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",null,(0,n.Z)((0,n.Z)({},r),{},{withJSX:!0}),{hasBr:!0});return(0,u.DU)(t,e)}function O(){var e=C.apply(void 0,arguments);return e.props?e.props.children:e}function S(e){var r=(0,u.jp)(e,!0);C[r]=function(r,t){return C(r,t,{partName:e})},O[r]=function(r,t){return O(r,t,{partName:e})},y[r]=function(r,t){return y(r,t,{partName:e})}}},4595:(e,r,t)=>{"use strict";t.d(r,{wv:()=>o});var n=new(t(348).R),o=(n.formatDateTime,n.formatNumber,n.formatRelativeTime,n.getNumberInfo,n.parseLocaleNumber,n.percent,n.shortNumber,n.formatMessage)},5774:(e,r,t)=>{"use strict";t.d(r,{BI:()=>c,Ei:()=>a,Eo:()=>i,O7:()=>n,rA:()=>o});var n="global",o="PLEASE_INIT_INTL",a="NOT_A_NUMBER",c={currency:"currency",percent:"percent",compact:"compact"},i={ceil:"ceil",floor:"floor"}},1805:(e,r,t)=>{"use strict";t.d(r,{S_:()=>u,VK:()=>d});var n=t(1413),o=t(1911),a=t(6430),c="MULTILINGUAL_OKDB",i="okI18nVersion",s=function(e){var r=a.Z.g.get(i)||{};r[e.project]||(r[e.project]={}),r[e.project][e.locale]=e.version,a.Z.g.set(i,r)};function l(e){try{var r=(new Date).getTime(),t=!e.err&&(r-(null===e||void 0===e?void 0:e.startTime))/1e3||0;if(t>1){var a=(0,n.Z)((0,n.Z)({},null===e||void 0===e?void 0:e.msg),{},{timeout:t});(0,o.pH)(null===e||void 0===e?void 0:e.name,a)}else e.err&&(0,o.pH)(null===e||void 0===e?void 0:e.name,null===e||void 0===e?void 0:e.msg)}catch(c){(0,o.pH)("dbTimeOutReport-catch-err",null===e||void 0===e?void 0:e.msg)}}var u=function(e,r){var t,o,u,d;if(!r)return null;if(localStorage.i18nDBversion=Number(r)+1,r>=9007199254740992)return null===(u=window)||void 0===u||null===(d=u.indexedDB)||void 0===d||d.deleteDatabase(c),a.Z.g.set(i,{});var p={project:e.project,locale:e.locale,version:e.version},f=window&&(null===(t=window)||void 0===t||null===(o=t.indexedDB)||void 0===o?void 0:o.open(c,Number(r)+1));f.onsuccess=function(e){e.target.result.close()},f.onerror=function(){l({name:"setDB-open-err",err:"err",msg:(0,n.Z)((0,n.Z)({},p),{},{err:"open-err"})})},f.onblocked=function(){l({name:"setDB-onblocked-err",err:"err",msg:(0,n.Z)((0,n.Z)({},p),{},{err:"onblocked"})})},f.onupgradeneeded=function(r){var t=f.result;try{if(t.objectStoreNames.contains("".concat(e.project,"_").concat(e.locale))){var o=r.target.transaction.objectStore("".concat(e.project,"_").concat(e.locale)).put({project:e.data.project,version:e.data.version,data:JSON.stringify(e.data)});o.onsuccess=function(){s(e)},o.onerror=function(e){l({err:"err",name:"setDB-put-db-err",msg:(0,n.Z)((0,n.Z)({},p),{},{err:null===e||void 0===e?void 0:e.target})}),null===t||void 0===t||t.close()}}else{t.createObjectStore("".concat(e.project,"_").concat(e.locale),{keyPath:"project"}).createIndex("project","project",{unique:!1});var a=r.target.transaction.objectStore("".concat(e.project,"_").concat(e.locale)).add({project:e.data.project,version:e.data.version,data:JSON.stringify(e.data)});a.onsuccess=function(){s(e)},a.onerror=function(e){l({err:"err",name:"setDB-add-db-err",msg:(0,n.Z)((0,n.Z)({},p),{},{err:null===e||void 0===e?void 0:e.target})}),null===t||void 0===t||t.close()}}}catch(c){l({err:"err",name:"setDB-put-db-catch-err",msg:(0,n.Z)((0,n.Z)({},p),{},{err:null===c||void 0===c?void 0:c.message})})}}},d=function(e,r,t){var o,a,i=(new Date).getTime(),s=window&&(null===(o=window)||void 0===o||null===(a=o.indexedDB)||void 0===a?void 0:a.open(c));s.onsuccess=function(o){var a=o.target.result;try{if(a.objectStoreNames.contains("".concat(e.project,"_").concat(e.locale))){var c=a.transaction(["".concat(e.project,"_").concat(e.locale)]);c.oncomplete=function(){null===a||void 0===a||a.close()};var s=c.objectStore("".concat(e.project,"_").concat(e.locale)).get("".concat(e.project,"_").concat(e.locale));s.onsuccess=function(){if(s.result){var o=s.result;l({startTime:i,name:"getDB-got-db-timeout",msg:(0,n.Z)({},e)}),r(o)}else{l({startTime:i,name:"getDB-nogot-db-timeout",msg:(0,n.Z)({},e)}),t(e)}},s.onerror=function(r){l({startTime:i,name:"getDB-getRequest-onerror-timeout",msg:(0,n.Z)((0,n.Z)({},e),{},{err:null===r||void 0===r?void 0:r.target})}),t(e),null===a||void 0===a||a.close()}}else{l({startTime:i,name:"getDB-no-storeNames-timeout",msg:(0,n.Z)({},e)}),t(e)}}catch(u){l({startTime:i,name:"getDB-catch-err",err:"err",msg:(0,n.Z)((0,n.Z)({},e),{},{err:null===u||void 0===u?void 0:u.message})}),t(e),null===a||void 0===a||a.close()}},s.onerror=function(r){l({startTime:i,name:"getDB-onerror-err",err:"err",msg:(0,n.Z)((0,n.Z)({},e),{},{err:null===r||void 0===r?void 0:r.target})}),t(e),(null===s||void 0===s?void 0:s.close)&&(null===s||void 0===s||s.close())},s.onblocked=function(r){l({startTime:i,name:"getDB-onblocked-err",err:"err",msg:(0,n.Z)((0,n.Z)({},e),{},{err:null===r||void 0===r?void 0:r.target})}),t(e),(null===s||void 0===s?void 0:s.close)&&(null===s||void 0===s||s.close())}}},3159:(e,r,t)=>{"use strict";t.d(r,{h0:()=>a});var n={"<":"<",">":">"};function o(e){return e.replace(/(javascript:|vbscript:|view-source:)*/gi,"").replace(/(expression|eval|alert|function|setTimeout|setInterval)/gi,"").replace(/(window\.location|window\.|\.location|document\.cookie|window\.cookie|cookie|document\.|alert\(.*?\)|window\.open\(.*?\)|document\.write\(.*?\))/gi,"").replace(/]/g,(function(e){return n[e]}))}(o(e)):e}},1714:(e,r,t)=>{"use strict";t.d(r,{sW:()=>n});var n={Accordion:"Accordion",Alert:"Alert",Animation:"Animation",Avatar:"Avatar",Badge:"Badge",Breadcrumbs:"Breadcrumbs",Button:"Button",Carousel:"Carousel",Cascader:"Cascader",Checkbox:"Checkbox",CoachMark:"CoachMark",DatePicker:"DatePicker",Dialog:"Dialog",DragDrop:"DragDrop",Drawer:"Drawer",Dropdown:"Dropdown",Empty:"Empty",Form:"Form",HyperLink:"HyperLink",Icon:"Icon",Input:"Input",LoadableLoading:"LoadableLoading",Loader:"Loader",Mask:"Mask",Message:"Message",Notification:"Notification",OverflowScroll:"OverflowScroll",Pagination:"Pagination",PickerView:"PickerView",Picture:"Picture",Popover:"Popover",Popup:"Popup",PowerLink:"PowerLink",QRCode:"QRCode",Radio:"Radio",Select:"Select",Skeleton:"Skeleton",Slider:"Slider",Steps:"Steps",Switch:"Switch",Table:"Table",Tabs:"Tabs",Tooltip:"Tooltip",Upload:"Upload",VideoAnimation:"VideoAnimation",VirtualList:"VirtualList",PureForm:"PureForm",SvgAnimation:"SvgAnimation",CanvasAnimation:"CanvasAnimation"}},6168:(e,r)=>{r.y={dark:"dark"}},8607:(e,r,t)=>{"use strict";t.d(r,{Z:()=>s,r:()=>i});var n=t(4942),o=t(1413),a=t(6179),c=[a.Z.BTC,a.Z.ETH,a.Z.OKTC,a.Z.TRX,a.Z.BSC,a.Z.POLYGON,a.Z.ZKSYNC,a.Z.STARKNET,a.Z.ARBITRUM,a.Z.OPTIMISM,a.Z.ETHW,a.Z.SUI,a.Z.COSMOS,a.Z.USDT,a.Z.AVAX,a.Z.LTC,a.Z.DIS,a.Z.FTM,a.Z["OKTC-TEST"],a.Z["X1-TEST"],a.Z.ETC,a.Z.SOL,a.Z.APTOS,a.Z.BEACON,a.Z.BCH,a.Z.DASH,a.Z.DOGE,a.Z.GNOSIS,a.Z.KLAYTN,a.Z.RONIN,a.Z.LINEA,a.Z["POLYGON-ZKEVM"],a.Z.SCROLL,a.Z.BASE,a.Z.KAVA,a.Z.OPBNB,a.Z["GOERLI-TEST"],a.Z["SEPOLIA-TEST"],a.Z.AMOY,a.Z["POLYGON-ZKEVM-TEST"],a.Z.MUMBAI,a.Z.CANTO,a.Z.MANTA],i=c.reduce((function(e,r){return(0,o.Z)((0,o.Z)({},e),{},(0,n.Z)({},r.chain,r))}),{});const s=c},161:(e,r,t)=>{"use strict";t.d(r,{jK:()=>n});var n="oklink_user_switch_lang"},4203:(e,r,t)=>{"use strict";var n=t(7363),o=t(3271),a=t(6541),c=t(3949),i=t(1677),s=t(5643),l=(t(3400),t(4788)),u=t(6382),d={};Object.defineProperties(d,{WE_CHAT_QRCODE:{get:function(){return"".concat((0,u.uL)(),"/cdn/assets/imgs/235/9692B97F34D85926.jpg")}}});const p=d;var f=t(4165),v=t(5861),m=t(2982),h=t(7762),_=function(e){var r,t=[],n=(0,h.Z)(e);try{for(n.s();!(r=n.n()).done;){var o=r.value.charCodeAt(0);o<128?t.push(o):o<2048?(t.push(192+(o>>6)),t.push(128+(63&o))):o<65536&&(t.push(224+(o>>12)),t.push(128+(o>>6&63)),t.push(128+(63&o)))}}catch(a){n.e(a)}finally{n.f()}return Uint8Array.from(t)}([111,107,120,95,106,115,95,103,97,116,101,119,97,121,49,50].map((function(e){return String.fromCharCode(e)})).join("")),g=_;function Z(e){var r=w;return window[r(398)][r(415)][r(410)](r(406),e,r(402),!0,[r(400),r(397)])}function k(e){return x.apply(this,arguments)}function x(){return(x=(0,v.Z)((0,f.Z)().mark((function e(r){var t,n,o,a,c,i;return(0,f.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=w,n=new TextEncoder,o=n.encode(r),e.next=5,Z(g);case 5:return a=e.sent,e.next=8,window.crypto[t(415)].encrypt({name:t(402),length:128,iv:_},a,o);case 8:return c=e.sent,i=window[t(401)](String[t(408)].apply(String,(0,m.Z)(new Uint8Array(c)))),e.abrupt("return",i);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e,r){var t=j();return(w=function(e,r){return t[e-=397]})(e,r)}function j(){var e=["15wZBvUX","24CgycTr","2201256kKmMxY","475324NSCsbr","subtle","decrypt","crypto","1564337noELeX","encrypt","btoa","AES-CBC","10502082PGBxRv","777wSVoSY","33266100qsJxId","raw","2270728kdsCkP","fromCharCode","97160wyUfWx","importKey"];return(j=function(){return e})()}function b(e){for(var r="".concat(e,"="),t=document.cookie.split(";"),n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return!window.crypto||C?new Promise((function(r,t){if(window.encryptBrowserify)r(!1);else{(e?[e]:["https://static.coinall.ltd","https://static.okx.com","https://static.okx.cab"]).forEach((function(e){!function(e){var r=document.createElement("script");r.className="encrypt-browserify",r.src="".concat(e).concat("/cdn/assets/files/234/E2BF7B5C808E3C28.js"),document.body.appendChild(r)}(e)}));var n=document.querySelectorAll(".encrypt-browserify"),o=0,a=!1;n.forEach((function(e){e.onload=function(){a||(a=!0,r(!1))},e.onerror=function(e){++o===n.length&&t(!1)}}))}})):Promise.resolve(!0)};function S(){var e=Date.now();return"undefined"!==typeof performance&&"function"===typeof performance.now&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(r){var t=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===r?t:3&t|8).toString(16)}))}function T(e,r){var t=L();return(T=function(e,r){return t[e-=404]})(e,r)}function L(){var e=["fromCharCode","3883800KmLgBJ","setItem","crypto","1386618fFFTFp","error","2152595SzSGyr","replace","344LNBaUZ","3806099phQnqq","4782aIYrKK","251UmAWvY","9806HtdXwd","encryptMessage","encryptBrowserify","4137iBcERj","join","location","slice","host","20aHcmof","186642nFOoQP"];return(L=function(){return e})()}!function(e,r){for(var t=T,n=e();;)try{if(638135===-parseInt(t(414))/1*(-parseInt(t(415))/2)+-parseInt(t(407))/3+parseInt(t(404))/4+-parseInt(t(409))/5+-parseInt(t(413))/6*(parseInt(t(418))/7)+parseInt(t(411))/8*(-parseInt(t(424))/9)+parseInt(t(423))/10*(parseInt(t(412))/11))break;n.push(n.shift())}catch(o){n.push(n.shift())}}(L);var E=function(){var e=(0,v.Z)((0,f.Z)().mark((function e(r){var t,n,o,a,c,i,s,l,u,d,p,v,m,h,_;return(0,f.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.cdnBaseUrl,n=void 0===t?"":t,o=r.setLoading,a=r.removeLoading,c=T,e.prev=2,!(s=b(i="devId"))&&N(i,S(),31536e6),l=window[c(420)][c(422)],u=(u=[111,107,120,95,106,115,95,103,97,116,101,119,97,121]).map((function(e){return String[c(425)](e)})).join(""),d=y(),p=""+d+l+u+s,v="",m=!1,!o||window[c(406)]&&!C||setTimeout((function(){!m&&o()}),C?5:500),e.next=13,O(n);case 13:if(!e.sent){e.next=20;break}return e.next=17,k(p);case 17:v=e.sent,e.next=27;break;case 20:if(v=window[c(417)](p),!C){e.next=26;break}return e.next=24,k(p);case 24:h=e.sent,localStorage[c(405)](c(416),h),localStorage.setItem(c(417),v);case 26:m=!0,a&&a();case 27:v=v[c(410)](/=/g,""),_="",_=(_=v.slice(0,7)+["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"][Math.floor(26*Math.random())]+v[c(421)](7)).slice(0,128),N([111,107,45,115,101,115,45,105,100].map((function(e){return String[c(425)](e)}))[c(419)](""),_,12e4),e.next=37;break;case 34:e.prev=34,e.t0=e.catch(2),console[c(408)](e.t0);case 37:case"end":return e.stop()}}),e,null,[[2,34]])})));return function(r){return e.apply(this,arguments)}}();const D=function(){var e=(0,v.Z)((0,f.Z)().mark((function e(){var r,t,n,o,a,c,i,s,l=arguments;return(0,f.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(r=l.length>0&&void 0!==l[0]?l[0]:{}).delay,n=void 0!==t&&t,o=r.cdnBaseUrl,a=void 0===o?"":o,c=r.setLoading,i=r.removeLoading,s={cdnBaseUrl:a,setLoading:c,removeLoading:i},!n){e.next=7;break}setTimeout((0,v.Z)((0,f.Z)().mark((function e(){return(0,f.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,E(s);case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])}))),1e3),e.next=9;break;case 7:return e.next=9,E(s);case 9:setInterval((0,v.Z)((0,f.Z)().mark((function e(){return(0,f.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,E(s);case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])}))),6e4),document.addEventListener("visibilitychange",(0,v.Z)((0,f.Z)().mark((function e(){return(0,f.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("visible"!==document.visibilityState){e.next=8;break}return e.prev=1,e.next=4,E(s);case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:case"end":return e.stop()}}),e,null,[[1,6]])}))));case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();var B=t(6274),A=t(5528),I=t(5640),P=t.n(I),M=(0,n.createContext)(),R=function(){return(0,n.useContext)(M)},U=M.Provider;var F="noopener noreferrer nofollow";const H="text_BQIRu",K="innerText_VVxfE",V="a_DqNn9";var W=t(5263);const q=function(){var e=R().isAboard;return(0,W.jsx)("div",{className:P()("pageCenter",H),children:(0,W.jsxs)("div",{className:K,children:[(0,u.O4)("oklinkexplorer_tracker_homepage_footer_copyright"),(0,W.jsx)("a",{hidden:e,href:A.Z.BEI_AN,rel:F,className:V,children:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_filingnumber")})]})})};var G=t(7562),X=t(4610);const Q="wrapper_pax2q",Y="right_fOE1e",J="img_xaBkJ";const z=function(e){var r=e.url,t=e.pictureClassName,n=e.isRight,o=void 0!==n&&n;return(0,W.jsx)("div",{className:P()(Q,o&&Y),children:(0,W.jsx)(X.Z,{src:r,alt:"QRCode",className:J,size:88,pictureClassName:t})})},$="contractWays_zRfOW",ee="link_JgB4k",re="icon_PixZ1",te="qrcodeWrapper_bx7od",ne="qrcode_mAuwf";const oe=function(){var e=(0,n.useMemo)((function(){return[{icon:"oklink-footer-wechat",qrcode:p.WE_CHAT_QRCODE},{icon:"oklink-footer-telegram",href:A.Z.TELEGRAM},{icon:"oklink-social-twitter",href:A.Z.TWITTER},{icon:"oklink-footer-weibo",href:A.Z.WEI_BO},{icon:"oklink-footer-discord",href:A.Z.DISCORD}]}),[]);return(0,W.jsx)("div",{className:P()($,"pageCenter"),children:e.map((function(e,r){return e.qrcode?(0,W.jsxs)("div",{className:P()(ee,te),children:[(0,W.jsx)(G.Z,{className:P()(e.icon,re)}),(0,W.jsx)(z,{url:e.qrcode,pictureClassName:ne,isRight:!0})]},r):(0,W.jsx)("a",{className:ee,href:e.href,rel:F,children:(0,W.jsx)(G.Z,{className:P()(e.icon,re)})},r)}))})},ae="wrapper_Mq1nl",ce="listWrapper_vZn8K";var ie=t(2504),se=t(885);const le={OPTIONS:[{value:"zh_CN",label:"\u7b80\u4f53\u4e2d\u6587"},{value:"en_US",label:"English"},{value:"zh_TW",label:"\u7e41\u9ad4\u4e2d\u6587"},{value:"de_DE",label:"Deutsch"},{value:"es_419",label:"Espa\xf1ol"},{value:"fr_FR",label:"Fran\xe7ais"},{value:"pt_BR",label:"Portugu\xe9s"},{value:"ru_RU",label:"P\u0443\u0441\u0441\u043a\u0438\u0439"},{value:"vi_VN",label:"Ti\u1ebfng Vi\u1ec7t"},{value:"tr_TR",label:"T\xfcrk\xe7e"},{value:"ko_KR",label:"\ud55c\uad6d\uc5b4"},{value:"ja_JP",label:"\u65e5\u672c\u8a9e"}]};var ue=t(6050),de=t(1413),pe=t(8339);const fe="popupBox_xm0be",ve="layerBox_dCyHh",me="show_KdQjV";const he=function(e){var r=e.className,t=e.children,o=e.content,a=e.onVisibleChange,c=void 0===a?function(){}:a,i=e.popupLayerStyle,s=e.popupLayerClassName,l=e.popupContentClassName,u=(0,n.useRef)(),d=(0,n.useRef)(),p=(0,n.useState)({}),f=(0,se.Z)(p,2),v=f[0],m=f[1],h=(0,n.useState)(!1),_=(0,se.Z)(h,2),g=_[0],Z=_[1],k=(0,pe.Z)().isMobile,x=(0,n.useCallback)((function(){if(u.current&&d.current){var e=u.current.getBoundingClientRect().top,r=d.current.getBoundingClientRect().height;m(e>=r?{bottom:"100%"}:{top:"100%"})}}),[]),w=(0,n.useCallback)((function(){x(),k?(Z(!g),c(!g)):(Z(!0),c(!0))}),[g,k,x,c]),j=(0,n.useCallback)((function(){Z(!1),c(!1)}),[c]),b=(0,n.useCallback)((function(e){var r=[];e.path?r=e.path:e.composedPath&&(r=e.composedPath()),r.some((function(e){return e===u.current}))?w():j()}),[w,j]);return(0,n.useEffect)((function(){return!k&&u.current?(u.current.addEventListener("mousemove",w),u.current.addEventListener("mouseleave",j),function(){u.current.removeEventListener("mousemove",w),u.current.removeEventListener("mouseleave",j)}):(window.addEventListener("click",b),function(){window.removeEventListener("click",b)})}),[w,j,b,k]),(0,n.useEffect)((function(){if(g)return window.addEventListener("scroll",x),function(){window.removeEventListener("scroll",x)}}),[g,x]),(0,W.jsxs)("div",{ref:u,className:P()(r,fe),children:[t,(0,W.jsx)("div",{ref:d,className:P()(s,ve,g&&me),style:(0,de.Z)((0,de.Z)({},v),i),children:(0,W.jsx)("div",{className:P()(l),children:o})})]})},_e="wrapper_ZZP6Z",ge="display_CsNxp",Ze="text_Z_BYu",ke="arrow_D_wuh",xe="contentWrapper_Mgbv2",we="content_zRQR8",je="ulBox_uZ95j",be="option_KNnDx",Ne="active_pIbHp";const Ce=function(e){var r=e.className,t=e.SSRRoute,o=le.OPTIONS,a=(0,u.bx)(),c=(0,n.useState)(a),i=(0,se.Z)(c,2),s=i[0],l=i[1],d=(0,n.useRef)(),p=(0,n.useState)(!1),f=(0,se.Z)(p,2),v=f[0],m=f[1];(0,n.useEffect)((function(){}),[v]);var h=(0,n.useCallback)((function(e){var r=e.value;(0,ue.Lvs)({language:e.label,position:"bottom"}),l(r),d.current&&d.current.toggleOptions&&d.current.toggleOptions(),(0,u.Hz)(r)}),[d.current]),_=(0,n.useMemo)((function(){var e=o.find((function(e){return e.value===a}));return null===e||void 0===e?void 0:e.label}),[a,o]),g=(0,W.jsx)("div",{className:xe,children:(0,W.jsx)("div",{className:we,children:(0,W.jsx)("div",{className:je,children:o.map((function(e,r){var n=(0,u.dP)(e.value,t);return(0,W.jsx)("a",{className:P()(be,s===e.value&&Ne),onClick:function(){h(e)},href:n,rel:e.value,children:e.label},r)}))})})});return(0,W.jsx)(he,{className:P()(_e,r),content:g,popupLayerStyle:{paddingTop:4,paddingBottom:4},onVisibleChange:m,children:(0,W.jsxs)("div",{className:ge,children:[(0,W.jsx)(G.Z,{className:"okds-language"}),(0,W.jsx)("span",{className:Ze,children:_}),(0,W.jsx)(G.Z,{className:P()("okds-arrow-chevron-down-md",v&&ke)})]})})};var ye=t(378),Oe={script:"src",link:"href",a:"href"};function Se(e){var r=(0,c.E)(),t=e.url,n=e.retry,o=void 0===n?0:n,a=e.attrs,i=void 0===a?{}:a,s=e.fresh,l=void 0!==s&&s,u=e.unique,d=void 0!==u&&u,p=e.tagName,f=void 0===p?"script":p,v=e.parentDom,m=i.id||t;if((0,ye.y)())return Promise.resolve("");if(r._load_dom_promise_instance_map||(r._load_dom_promise_instance_map={}),r._load_dom_promise_instance_map[m]&&d)return r._load_dom_promise_instance_map[m];var h=new Promise((function(n,a){var c=null!==v&&void 0!==v?v:document.head,s=document.getElementById(m);if(s){if(!l)return void n("existed");c.removeChild(s)}var u=document.createElement(f);Object.keys(i).forEach((function(e){u.setAttribute(e,i[e])})),m&&u.setAttribute("id",m),Oe[f]&&u.setAttribute(Oe[f],t),u.onload=function(){n("success")},u.onerror=function(t){c.removeChild(u),0!==o?a(Se((0,de.Z)((0,de.Z)({},e),{},{retry:o-1,unique:!1}))):(r._load_dom_promise_instance_map[m]=null,a(t))},c.appendChild(u)}));return r._load_dom_promise_instance_map[m]=h,r._load_dom_promise_instance_map[m]}const Te={info:"info_wiRKC",pictureClassName:"pictureClassName_Oubps"};var Le=function(){var e=(0,n.useRef)(),r=(0,n.useRef)(0);return(0,n.useCallback)((function(){var t=c.Z.cdnBaseUrl,n=c.Z.envSign;if(/mobile|android|webos|iphone|ipod|blackberry/i.test(navigator.userAgent.toLowerCase())&&(0===r.current&&(e.current=(new Date).getTime()),r.current+=1,!(r.current<6))){var o;if((new Date).getTime()-e.current<=2e3){var a="".concat(t,"prod"===n?"/cdn/assets/okfe/okt/ok-helper-v3/content-script.js":"/cdnpre/assets/okfe/okt/ok-helper-v3/content-script.js");o={url:a},Se((0,de.Z)({tagName:"script"},o))}r.current=0}}),[])};const Ee=function(){var e=Le();return(0,W.jsx)("div",{className:Te.info,onClick:e,children:(0,W.jsx)(X.Z,{width:128,height:28,src:"".concat((0,u.uL)(),"/cdn/assets/imgs/235/4EC890FA53A98FFF.png"),className:Te.logo,pictureClassName:Te.pictureClassName,altValue:"oklink"})})},De="wrapper_lOdl7",Be="langBox_eeghC";const Ae=function(){var e=c.Z.isApp;return(0,W.jsxs)("div",{className:De,children:[(0,W.jsx)(Ee,{}),(0,W.jsx)("div",{hidden:e,className:Be,children:(0,ie.J)()?"OKLINK_FOOTER_LANGUAGE_CONTENT_PLACEHOLDER":(0,W.jsx)(Ce,{})})]})},Ie={titleWrapper:"titleWrapper_aiKpt",icon:"icon_whqcS",rotate:"rotate_Wu300",hidden:"hidden_A6wzo"};const Pe=function(e){var r=e.className,t=e.titleClassName,o=e.iconClassName,a=e.iconStyle,c=e.conClassName,i=e.title,s=e.children,l=e.onChange,u=void 0===l?function(){}:l,d=e.defaultExpand,p=void 0!==d&&d,f=(0,n.useState)(!1),v=(0,se.Z)(f,2),m=v[0],h=v[1],_=(0,n.useCallback)((function(){u(!m),h(!m)}),[m]);return(0,n.useEffect)((function(){h(p)}),[p]),(0,W.jsxs)("div",{className:P()(r),children:[(0,W.jsxs)("div",{className:Ie.titleWrapper,onClick:_,children:[(0,W.jsx)("span",{className:P()(t,Ie.title),children:i}),(0,W.jsx)(G.Z,{className:P()("okds-arrow-chevron-down-md",Ie.icon,m&&Ie.rotate,o),style:a})]}),(0,W.jsx)("div",{className:P()(c,!m&&Ie.hidden),children:s})]})};var Me=t(4300),Re=t(8607),Ue=t(5115);const Fe="wrapper_QfAB9",He="conClassName_CCnvl",Ke="collapseTitle_uPOxS",Ve="iconClassName_etT6k",We="item_qmhfx";var qe=t(2592);const Ge="tooltip_oDLoM",Xe="textWrapper__Gjac",Qe="tooltipText_IkXfD";const Ye=function(e){var r=e.title,t=e.children,o=(0,n.useState)(!1),a=(0,se.Z)(o,2),c=a[0],i=a[1];return(0,W.jsxs)("div",{className:Ge,onMouseEnter:function(){return i(!0)},onMouseLeave:function(){return i(!1)},children:[t,c&&(0,W.jsx)("div",{className:Xe,children:(0,W.jsx)("div",{className:Qe,children:r})})]})};var Je=t(1367),ze=t(5671),$e=t(3144),er=function(){function e(){(0,ze.Z)(this,e)}return(0,$e.Z)(e,null,[{key:"$setCurrentTheme",value:function(r){e.currentTheme=r}},{key:"$setDefaultTheme",value:function(r){e.defaultTheme=r}},{key:"$setThemeData",value:function(r,t){e.$themesData[r]||(e.$themesData[r]={}),e.$themesData[r]=(0,de.Z)((0,de.Z)({},e.$themesData[r]),t)}},{key:"$removeThemeData",value:function(r){e.$themesData[r]&&(e.$themesData[r]=void 0)}},{key:"get",value:function(r){var t,n=e.currentTheme||e.defaultTheme,o=e.$themesData[n],a=Je.Z.document.body;if(!(0,ye.y)()&&getComputedStyle(a).getPropertyValue(r))return null===(t=getComputedStyle(a))||void 0===t?void 0:t.getPropertyValue(r);if(!o&&Je.Z.okd&&Je.Z.okd.themes&&Je.Z.okd.themes[n]&&(o=Je.Z.okd.themes[n]),o){for(var c=o[r]||"";c&&c.startsWith("@");)c=o[c]||"";return c}return""}}]),e}();er.defaultTheme="default",er.currentTheme="oklink",er.$themesData={};var rr=t(6168);rr.y;function tr(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Je.Z.document.body;return(0,ye.y)()?"":Je.Z.getComputedStyle(r).getPropertyValue(e).trim()}var nr;(0,ye.y)()||(nr=document.querySelector(".theme-oklink"));var or=function(e){return tr(e,nr)};const ar="text_frxWE",cr="innerToolText_S7M0o",ir="textToolTip_XUZ0Z",sr="icon_NJxOt",lr="new_f9Bbi",ur="maxW100_Age8y",dr="toolTipWrapper_F_RIq",pr="toolTipLink_b_Uo8",fr="qrcodeWrapper_AEVK3",vr="qrcode_tdMVl";const mr=function(e){var r=e.itemClassName,t=e.name,o=e.href,a=e.isNew,c=void 0!==a&&a,i=e.icon,s=e.toolTipTitle,l=e.qrcode,d=void 0===l?"":l,p=e.linkProps,f=void 0===p?{blank:!1,outside:!0}:p,v=e.onClick,m=void 0===v?function(){}:v,h=e.chain,_=o?"a":"span",g=(0,n.useMemo)((function(){return o?{href:h?(0,u._D)(o):o,rel:f.outside?"noopener noreferrer nofollow":"",target:f.blank?"_blank":"_self"}:{}}),[h,o,f.blank,f.outside]),Z=function(e){return(0,W.jsxs)(_,(0,de.Z)((0,de.Z)({className:P()(ar,s&&ir,d&&fr,e,r)},g),{},{onClick:m,children:[(0,W.jsx)(qe.Z,{visible:!!i,children:(0,W.jsx)(G.Z,{className:P()(i,sr)})}),(0,W.jsx)(qe.Z,{visible:s,children:(0,W.jsx)("span",{className:cr,children:t})}),(0,W.jsx)(qe.Z,{visible:!s,children:t}),(0,W.jsx)(qe.Z,{visible:d,children:(0,W.jsx)(z,{url:d,pictureClassName:vr})}),(0,W.jsx)(qe.Z,{visible:c,children:(0,W.jsx)("span",{className:lr,children:(0,u.O4)("oklinkexplorer_tracker_homepage_common_explorer_new")})}),(0,W.jsx)(qe.Z,{visible:s,children:(0,W.jsx)("a",{rel:"nofollow",className:P()(pr,"hideMd hidePc"),href:"mailto:".concat(s),children:s})})]}))};return s?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("span",{className:"hideMd hidePc",children:Z()}),(0,W.jsx)("div",{className:P()(dr,"hideSm"),children:(0,W.jsx)(Ye,{className:ur,popupStyle:{backgroundColor:or("--okd-color-pink-700")},arrowStyle:{backgroundColor:or("--okd-color-pink-700")},title:(0,W.jsx)("a",{rel:"nofollow",className:pr,href:"mailto:".concat(s),children:s}),children:Z(ur)})})]}):Z()};const hr=function(){var e=function(){var e=(0,n.useState)({chainOrderFoot:Re.Z,chainOrderHeadSm:Re.Z}),r=(0,se.Z)(e,2),t=r[0],o=r[1];return(0,n.useEffect)((function(){(0,Ue.e)().then((function(e){o((0,de.Z)((0,de.Z)({},e),{},{chainOrderFoot:e.chainOrderFoot.length?e.chainOrderFoot:Re.Z,chainOrderHeadSm:e.chainOrderHeadSm.length?e.chainOrderHeadSm:Re.Z})),e.chainOrderFoot.forEach((function(e){var r=Re.Z.find((function(r){return r.chain===e.chain}));r&&(r.logo=e.logo)}))})).catch((function(e){(0,l.jU)(e)}))}),[Re.Z]),{explorerListInfo:t}}(),r=e.explorerListInfo.chainOrderFoot,t=Math.floor(r.length/2);return(0,W.jsxs)(Pe,{className:Fe,titleClassName:Ke,conClassName:He,iconClassName:Ve,title:(0,Me.O4)("oklinkexplorer_tracker_homepage_footer_explorer_title"),children:[(0,W.jsx)("div",{className:We,children:r.slice(0,t).map((function(e,r){return(0,W.jsx)(mr,(0,de.Z)({},e),r)}))}),(0,W.jsx)("div",{className:We,children:r.slice(t).map((function(e,r){return(0,W.jsx)(mr,(0,de.Z)({},e),r)}))})]})};const _r=function(e){return[{name:(0,u.O4)("aboutus_intro_text_entrance"),href:A.Z.ABOUT},{name:(0,u.O4)("oklinkexplorer_homepage_footer_tos"),href:A.Z.userTerms},{name:(0,u.O4)("oklinkexplorer_homepage_footer_pps"),href:A.Z.privacyClause},{name:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_aboutus_academy"),href:A.Z.ACADEMY},(0,u.Ur)()&&{name:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_news"),href:"".concat((0,u.XT)(),"category/company")},e&&{name:(0,u.O4)("okx_oklinkexplorer_tracker_homepage_footer_service_trust"),href:A.Z.TRUST}].filter((function(e){return!!e}))},gr=function(){return[{icon:"oklink-footer-email",name:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_contactus_business"),toolTipTitle:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_contactus_business_hover")},{icon:"oklink-footer-wechat",name:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_contactus_wechart"),qrcode:p.WE_CHAT_QRCODE},{icon:"oklink-footer-telegram",name:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_contactus_telegram"),href:A.Z.TELEGRAM,linkProps:{blank:!0,outside:!0}},{icon:"oklink-social-twitter",name:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_contactus_twitter"),href:A.Z.TWITTER,linkProps:{blank:!0,outside:!0}},{icon:"oklink-footer-weibo",name:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_contactus_weibo"),href:A.Z.WEI_BO,linkProps:{blank:!0,outside:!0}},{icon:"oklink-footer-discord",name:(0,u.O4)("oklinkexplorer_tracker_homepage_footer_contactus_discord"),href:A.Z.DISCORD,linkProps:{blank:!0,outside:!0}}]},Zr=function(){return[{name:(0,u.O4)("oklinkexplorer_tracker_footer_kyt_subtitle"),href:A.Z.amlKyt},{name:(0,u.O4)("oklinkexplorer_tracker_footer_kya_subtitle"),href:A.Z.amlKya},{name:(0,u.O4)("oklinkexplorer_tracker_footer_audit_subtitle"),href:A.Z.amlAudit}]},kr=function(){return[{name:(0,u.O4)("oklinkexplorer_tracker_footer_tools_subtitle"),href:A.Z.chaintelligenceTools},{name:(0,u.O4)("oklinkexplorer_tracker_footer_situation_subtitle"),href:A.Z.chaintelligenceSituation},{name:(0,u.O4)("oklinkexplorer_tracker_footer_report_subtitle"),href:A.Z.chaintelligenceReport}]},xr=function(){return[{name:(0,u.O4)("oklink_footer_api_plan"),href:A.Z.solution},{name:(0,u.O4)("oklink_footer_api_doc"),href:A.Z.OKLINK_API,linkProps:{blank:!0}},{name:(0,u.O4)("oklink_footer_api_managenment"),href:A.Z.MY_API}]},wr={wrapper:"wrapper_hqCsz",aml:"aml_myDCm",chaintelligence:"chaintelligence_vK_F7",api:"api_tfsxO",aboutUs:"aboutUs_xr7CL",contractUs:"contractUs_fz5pw",itemClassName:"itemClassName_ZgpMH"},jr="wrapper_DF_jh",br="conClassName_s4LqF",Nr="collapseTitle_IVGx0",Cr="iconClassName_XA1_f";const yr=function(e){var r=e.className,t=e.itemClassName,n=e.list,o=void 0===n?[]:n,a=e.title;return(0,W.jsx)(Pe,{className:P()(r,jr),titleClassName:Nr,conClassName:br,iconClassName:Cr,title:a,children:o.map((function(e,r){return(0,W.jsx)(mr,(0,de.Z)((0,de.Z)({},e),{},{itemClassName:t}),r)}))})};const Or=function(){var e=(0,n.useMemo)((function(){return Zr()}),[]),r=(0,n.useMemo)((function(){return kr()}),[]),t=(0,n.useMemo)((function(){return xr()}),[]),o=function(){var e=R().isAboard;return(0,n.useMemo)((function(){return _r(e)}),[e])}(),a=(0,n.useMemo)((function(){return gr()}),[]);return(0,W.jsxs)("div",{className:wr.wrapper,children:[(0,W.jsx)(yr,{className:P()(wr.aml,wr.item),title:(0,Me.O4)("oklinkexplorer_tracker_footer_aml_title"),list:e}),(0,W.jsx)(yr,{className:P()(wr.chaintelligence,wr.item),title:(0,Me.O4)("oklinkexplorer_tracker_footer_chaintelligence_title"),list:r}),(0,W.jsx)(yr,{className:P()(wr.api,wr.item),title:(0,Me.O4)("oklink_footer_api_title"),list:t}),(0,W.jsx)(yr,{className:P()(wr.aboutUs,wr.item),title:(0,Me.O4)("oklinkexplorer_tracker_homepage_footer_aboutus_title"),list:o}),(0,W.jsx)(yr,{className:P()(wr.contractUs,wr.item),title:(0,Me.O4)("oklinkexplorer_tracker_homepage_footer_contactus_title"),itemClassName:wr.itemClassName,list:a})]})};const Sr=function(){return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("div",{className:P()(ae,"pageCenter"),children:[(0,W.jsx)(Ae,{}),(0,W.jsxs)("div",{className:ce,children:[(0,W.jsx)(hr,{}),(0,W.jsx)(Or,{})]})]}),(0,W.jsx)(oe,{})]})},Tr="footerBox_ykPFk";const Lr=function(e){var r=e.isAboard,t=void 0!==r&&r;return(0,W.jsx)("div",{className:Tr,children:(0,W.jsxs)(U,{value:{isAboard:t},children:[(0,W.jsx)(Sr,{}),(0,W.jsx)(q,{})]})})};(0,a.d)(B.Q).then((function(e){var r=c.Z.ipRegion,t=s.Z.document.querySelector(".footerContainer");if(t){var n=c.Z.isRenderByNode,a=(0,W.jsx)(i.Z,{fetchConfig:B.Q,localeData:e,children:(0,W.jsx)(Lr,{isAboard:"CN"!==r&&""!==r})});if(n)(0,o.a)(t,a,{onRecoverableError:function(e){var r;"prod"===c.Z.envSign&&e?null===(r=window.OkPerf)||void 0===r||r.customLog({type:"hydrate"}):(0,l.ZT)(e)}});else(0,o.s)(t).render(a)}})).catch(l.ZT),D({delay:!0,cdnBaseUrl:c.Z.cdnBaseUrl}).catch(l.ZT)},1657:(e,r,t)=>{"use strict";t.d(r,{f5:()=>v});var n=t(1413),o=t(8607),a=t(6382),c=t(4723),i=t(4165),s=t(5861),l=t(7822),u="post";const d=function(e){var r=e.prefix,t=void 0===r?"":r;return function(){var e=(0,s.Z)((0,i.Z)().mark((function e(r){var n,o,a,c,s,d,p,f,v,m;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.method,o=void 0===n?"GET":n,a=r.url,c=void 0===a?"":a,s=r.data,d=r.params,p=r.handler,f=o.toLowerCase(),v=t+c,f!==u){e.next=9;break}return e.next=6,l.Z[f](v,s);case 6:m=e.sent,e.next=12;break;case 9:return e.next=11,l.Z[f](v,{params:s||d});case 11:m=e.sent;case 12:return e.abrupt("return",p?p(m):m);case 13:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}()};var p=d({prefix:"/api/explorer/v2/"}),f=(d({prefix:"/v3/"}),function e(r){return(0,c.k)(r)?r.map((function(r){return(0,c.k)(r)?e(r):o.r[r.chain]?(0,n.Z)((0,n.Z)({},r),{},{href:(0,a._D)("/".concat(r.indexPageUrl)),name:r.fullName,children:o.r[r.chain].children}):null})).filter((function(e){return!!e})):[]}),v=function(){return p({url:"index/all-chain-order",handler:function(e){var r=(0,c.K)(e)?e:{};return(0,n.Z)((0,n.Z)({},r),{},{chainOrderHeadSm:f(r.chainOrderHeadSm),chainOrderHeadMd:f(r.chainOrderHeadMd),chainOrderHeadLg:f(r.chainOrderHeadLg),chainOrderHeadXl:f(r.chainOrderHeadXl),chainOrderFoot:f(r.chainOrderFoot)})}})}},6382:(e,r,t)=>{"use strict";t.d(r,{XT:()=>x,uL:()=>m,dP:()=>w,bx:()=>b,_D:()=>u._D,hA:()=>_,Ur:()=>h,Hz:()=>j,O4:()=>v});var n=t(1186),o=t.n(n),a=t(378),c=t(3949),i=t(4647),s=t(161),l=t(4300),u=t(4795),d=t(6477),p=function(){var e,r;return null===c.Z||void 0===c.Z||null===(e=c.Z.site)||void 0===e||null===(r=e.is)||void 0===r?void 0:r.okex},f="undefined"!==typeof d?d:{},v=function(e){var r=f.javaUse;if(void 0!==r&&r)return"##".concat(e,"##");for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:"";return e?e.includes("/academy"):!(0,a.y)()&&g.Z.location.pathname.includes("/academy")},x=function(){return"zh_CN"===((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")||c.Z.locale)?"/academy/zh/":"/academy/en/"},w=function(e,r){var t=(0,a.y)()?r:window.location;if(t){var n=t.pathname,i=t.search,s=t.hash,l=void 0===s?"":s,u=n.replace(/^\/{2,}/,"/");if(k(u))return o()(x(e));var d=p()?c.Z.langPath?"".concat(c.Z.langPath,"/explorer"):"/explorer":c.Z.langPath||"",f=(c.Z.localeMap||{})[e.toLowerCase()]||"",v="".concat(u).concat(i).concat(l),m=f?"/".concat(f):"/";if("/"===u||u===d)return o()("".concat(m).concat(i).concat(l));var h="";return h=d.length?v.replace(d,m):"".concat(m).concat(v),o()(h.replace("//","/"))}return""},j=function(e){(0,a.y)()||(i.Z.set("locale",e),i.Z.set("preferLocale",e),(0,Z.QS)(s.jK,1))},b=function(){return(0,a.y)()?c.Z.locale:k()?i.Z.get("locale")||"":c.Z.locale}},4282:(e,r,t)=>{"use strict";t.d(r,{QS:()=>o});var n=t(6430),o=function(){var e;(e=n.Z.local).set.apply(e,arguments)}},6050:(e,r,t)=>{"use strict";t.d(r,{Lvs:()=>l,u4E:()=>s});var n={act:function(){}};if("undefined"!==typeof window){var o=window.utils.monitor,a=(window._okGlobal||window.okGlobal).site,c=(void 0===a?{}:a).sign,i=void 0===c?"okex":c;n=o.newInstance({site:i.toLocaleLowerCase(),product:"ex",commonParams:{}})}var s=n,l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.language,t=e.position;s.act({action:"Oklilnk_Homepage_LanguageSwitch_Click",anchor:"Oklilnk_Homepage_LanguageSwitch_Click",params:{language:r,position:t},actionType:"",elementType:""})}},7363:e=>{"use strict";e.exports=React},1533:e=>{"use strict";e.exports=ReactDOM},5833:e=>{"use strict";e.exports=utils.ont}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var a=r[n]={exports:{}};return e[n].call(a.exports,a,a.exports,t),a.exports}t.m=e,(()=>{var e=[];t.O=(r,n,o,a)=>{if(!n){var c=1/0;for(u=0;u=a)&&Object.keys(t.O).every((e=>t.O[e](n[s])))?n.splice(s--,1):(i=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[n,o,a]}})(),t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={348:0};t.O.j=r=>0===e[r];var r=(r,n)=>{var o,a,[c,i,s]=n,l=0;if(c.some((r=>0!==e[r]))){for(o in i)t.o(i,o)&&(t.m[o]=i[o]);if(s)var u=s(t)}for(r&&r(n);lt(4203)));n=t.O(n)})(); +//# sourceMappingURL=https://static-daily.okg.com/crash/okfe/oklink-nav/footer/index.e2a7bf68.js.map \ No newline at end of file