-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Stock-control-supervisors/main
bombastictranz/OKX-EXCHANGE
- Loading branch information
Showing
5 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"use strict";(self.webpackChunkdefi_mode=self.webpackChunkdefi_mode||[]).push([[2091],{83567:(e,r,t)=>{t.d(r,{X:()=>s});var o=t(60378),n=t(53949),a=[{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.]+)|)/}],i=(0,o.y)();function c(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),r=n.Z.locale,t=(void 0===r?"":r).replace("_","-"),o={language:i?t:navigator.language,languages:i?[t]:navigator.languages,isOKXDesktop:!1,OKXDesktopVersion:null};/(ipad|iphone|ipod)/.test(e)?o.isIOS=!0:o.isAndroid=!0;var c=[],s=null;if(!i&&navigator.brave)c=["","Brave"],s={key:"Brave"};else for(var d=0;d<a.length;d++)if(c=a[d].reg.exec(e)){s=a[d];break}!c&&(c=[]);var u=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||[],l={browser:c[5]||c[3]||c[1]||"",version:c[4]||c[2]||"0",versionNumber:c[4]||c[2]||"0",platform:u[0]||"",name:""};l.browser&&(o["is".concat(s.key)]=!0,o.version=l.version,o.versionNumber=parseInt(l.versionNumber,10),l.name=s.key),l.platform&&(o[l.platform]=!0);var p=!i&&o.mac&&navigator.maxTouchPoints>=1;if(p&&(o.isIOS=!0,o.isAndroid=!1,o.ipad=!0,o.mac=!1),(o.android||o.ipad||o.iphone||o.ipod||o["windows phone"])&&(o.isMobile=!0),(o.mac||o.linux||o.win)&&(o.isDesktop=!0),(o.isChrome||o.isOpera||o.isSafari)&&(o.isWebkit=!0),o.safari&&o.android){var f="android";l.browser=f,o[f]=!0}o.name=l.name,o.platform=l.platform,o.isPWA=function(){var e,r;return!i&&(!0===(null===(e=window)||void 0===e||null===(r=e.navigator)||void 0===r?void 0:r.standalone)||!!window.matchMedia("(display-mode: standalone)").matches)}(),p&&(o.platform="ipad",o.isDesktop=!1);var v=/okx\/([\d.]+).+electron\/[\d.]+/.exec(e);if(v&&v[1]&&(o.isOKXDesktop=!0,o.OKXDesktopVersion=v[1]),o.isSpider=/googlebot|ahrefsbot|bingbot|naverbot|yandexbot|yahoo! slurp|duckduckbot|ecosiabot|baiduspider/.test(e),o.isSpider){var h=/googlebot|ahrefsbot|bingbot|naverbot|yandexbot|yahoo! slurp|duckduckbot|ecosiabot|baiduspider/.exec(e),g="";switch(h&&h[0]){case"googlebot":g="google";break;case"ahrefsbot":g="ahrefs";break;case"bingbot":g="bing";break;case"naverbot":g="naver";break;case"yandexbot":g="yandex";break;case"yahoo! slurp":g="yahoo";break;case"duckduckbot":g="duckduckgo";break;case"ecosiabot":g="ecosia";break;case"baiduspider":g="baidu";break;default:g=""}o.spiderSource=g}return o}var s=i?new Proxy({},{get:(e,r)=>c(n.Z.userAgent)[r]}):c(navigator.userAgent)},48006:(e,r,t)=>{t.d(r,{Z:()=>i});var o=t(53949),n=t(49551),a=(0,o.E)();const i=e=>{var r=a.okMarkNoNeedLocaleSign;return(0,n.j)(e,r)}},69988:(e,r,t)=>{t.d(r,{Z:()=>n});var o=t(1413);const n=function(e,r){return e.then((e=>[null,e])).catch((e=>r?[(0,o.Z)((0,o.Z)({},e),r),void 0]:[e,void 0]))}},83168:(e,r,t)=>{t.d(r,{Z:()=>n});var o=t(46182);const n=function(e,r,t){var n,a,i,c,s,d,u=0,l=!1,p=!1,f=!0,v=!r&&0!==r&&"function"===typeof o.Jz.requestAnimationFrame;if("function"!==typeof e)throw new TypeError("Expected a function");function h(r){var t=n,o=a;return n=void 0,a=void 0,u=r,c=e.apply(o,t)}function g(e){var t=e-d;return void 0===d||t>=r||t<0||p&&e-u>=i}function m(e){return s=void 0,f&&n?h(e):(n=void 0,a=void 0,c)}function b(e,r){return v?(o.Jz.cancelAnimationFrame(s),o.Jz.requestAnimationFrame(e)):setTimeout(e,r)}function y(){var e=Date.now();if(g(e))return m(e);s=b(y,function(e){var t=e-u,o=r-(e-d);return p?Math.min(o,i-t):o}(e))}function x(){for(var e=Date.now(),t=g(e),o=arguments.length,i=new Array(o),f=0;f<o;f++)i[f]=arguments[f];if(n=i,a=this,d=e,t){if(void 0===s)return function(e){return u=e,s=b(y,r),l?h(e):c}(d);if(p)return s=b(y,r),h(d)}return void 0===s&&(s=b(y,r)),c}return r=+r||0,(0,o.Kn)(t)&&(l=!!t.leading,i=(p="maxWait"in t)?Math.max(+t.maxWait||0,r):0,f="trailing"in t?!!t.trailing:f),x.cancel=function(){var e;void 0!==s&&(e=s,v?o.Jz.cancelAnimationFrame(e):clearTimeout(e)),u=0,n=void 0,d=0,a=void 0,s=void 0},x.flush=function(){return void 0===s?c:m(Date.now())},x.pending=function(){return void 0!==s},x}},46182:(e,r,t)=>{t.d(r,{Jz:()=>c,Kn:()=>s});var o=(0,t(53949).E)(),n="object"===typeof t.g&&null!==t.g&&t.g.Object===Object&&t.g,a="object"===typeof o&&null!==o&&o.Object===Object&&o,i="object"===typeof self&&null!==self&&self.Object===Object&&self,c=a||n||i||Function("return this")();function s(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)}},76983:(e,r,t)=>{t.r(r),t.d(r,{default:()=>a});t(86286);var o=t(94623),n=t(69670);t(29361);o.Z.Group=n.Z;const a=o.Z},23364:(e,r,t)=>{t.d(r,{Z:()=>m});var o=t(29439),n=t(87363),a=t(95640),i=t.n(a),c=t(19427),s=t(41223),d=t(222),u=t(21367),l=t(2627);t(23502);function p(e){var r=e.width,t=e.height,a=e.layout,i=e.errorImg,c=e.src,u=e.onError,l=e.onLoad,p=e.mediaData,f=e.mediaSource,v=p.length?(0,d.QX)(p,c):f,h={paddingTop:"".concat(100*(t/r),"%")},g=(0,n.useState)({}),m=(0,o.Z)(g,2),b=m[0],y=m[1],x=(0,n.useState)(h),w=(0,o.Z)(x,2),k=w[0],Z=w[1],E=(0,n.useState)(!1),j=(0,o.Z)(E,2),O=j[0],A=j[1],C=(0,n.useState)(!1),S=(0,o.Z)(C,2),T=S[0],I=S[1],R=(0,n.useState)(!1),P=(0,o.Z)(R,2),L=P[0],D=P[1],N=(0,n.useState)(!1),W=(0,o.Z)(N,2),z=W[0],F=W[1],U=O&&i;(0,n.useEffect)((()=>{!function(){var e={paddingTop:"".concat(100*(t/r),"%")};Z(e)}()}),[r,t]),(0,n.useEffect)((()=>{O&&A(!1)}),[c]);return{onError:(e,r)=>{A(!0),u(e,r),i?r==i&&I(!0):I(!0)},onLoad:e=>{var o=e.currentTarget;!function(e){var r={};a===s.Ar.contain?e>1?r.width="100%":r.height="100%":a===s.Ar.cover&&(e>1?r.height="100%":r.width="100%"),y(r)}(o.width/r/(o.height/t)),F(!0),l(e)},isVisible:L,setVisible:D,isLoaded:z,imageWrapperStyle:k,imageStyle:b,isLoadErrorImgError:T,isErrorState:U,mediaSource:v}}var f=t(45263),v="".concat(c.Bq,"-image");function h(e){var r,t=e.src,a=e.alt,c=e.layout,h=e.lazyload,g=e.className,m=e.useWebp,b=e.Placeholder,y=e.errorImg,x=e.defaultView,w=p(e),k=w.onError,Z=w.onLoad,E=w.isVisible,j=w.setVisible,O=w.isLoaded,A=w.imageWrapperStyle,C=w.imageStyle,S=w.isLoadErrorImgError,T=w.isErrorState,I=w.mediaSource,R=(0,n.useState)(),P=(0,o.Z)(R,2),L=P[0],D=P[1],N=null!==(r=null===h||void 0===h?void 0:h.bottom)&&void 0!==r?r:0,W="0px 0px ".concat(N,"px 0px");return(0,n.useEffect)((()=>{var e,r=!1;return L&&!E&&(u.Z.IntersectionObserver?(e=new u.Z.IntersectionObserver((e=>{e.forEach((e=>{!r&&(e.intersectionRatio>0||e.isIntersecting)&&j(!0)}))}),{threshold:.01,rootMargin:W})).observe(L):j(!0)),()=>{r=!0,e&&e.unobserve&&(e.unobserve(L),e=null)}}),[L,E,W]),(0,f.jsxs)("picture",{className:i()(l.Z.data.okdNamespace,v,g),ref:D,children:[(0,f.jsx)("source",{className:"".concat(v,"-picture-sizer"),style:A}),function(){var e=T?y:t,r=!h||E,o=h&&!O;return(0,f.jsxs)(f.Fragment,{children:[r&&I.map((e=>{var r=s.Oq[e.media],t=T?y:e.src;return t?(0,f.jsxs)(n.Fragment,{children:[m&&(0,f.jsx)("source",{media:r,srcSet:(0,d.dk)(t)}),(0,f.jsx)("source",{media:r,srcSet:t})]},r):null})),r&&!!e&&(0,f.jsxs)(f.Fragment,{children:[m&&(0,f.jsx)("source",{srcSet:(0,d.dk)(e)}),(0,f.jsx)("img",{onLoad:Z,onError:r=>k(r,e),style:C,className:i()("".concat(v,"-layout"),"".concat(v,"-layout-").concat(c),S&&"".concat(v,"-hide")),src:e,alt:a},e)]}),o&&(0,f.jsxs)("div",{className:i()("".concat(v,"-placeholder")),children:[(0,f.jsx)("img",{style:{display:"none"},alt:a}),b]}),S&&x]})}()]})}var g=()=>{};h.defaultProps={width:1,height:1,layout:s.Ar.responsive,lazyload:!1,className:"",mediaSource:[],useWebp:!0,Placeholder:!1,errorImg:null,defaultView:"",mediaData:[],onError:g,onLoad:g},h.MEDIA=Object.keys(s.Oq),h.LAYOUT=s.Ar,h.TYPE=s.wD;const m=h},41223:(e,r,t)=>{t.d(r,{Ar:()=>o,Oq:()=>a,wD:()=>n});var o={responsive:"responsive",cover:"cover",contain:"contain"};o.allAsArray=Object.values(o);var n={resize:"resize",crop:"crop"},a={xl:"(min-width: 1280px)",lg:"(min-width: 1024px)",md:"(min-width: 768px)",sm:"(max-width: 767px)"}},222:(e,r,t)=>{t.d(r,{QX:()=>f,dk:()=>p});var o=t(29439),n=t(45987),a=t(53949),i="x-oss-process=image/",c=new RegExp("(".concat(i,"[^&]+&??)")),s=t(41223),d=["media","type","src"],u=e=>e.replace(/\s/g,"%20");function l(e,r){var t=e;return t.indexOf(i)>-1?t=t.replace(c,"$1/".concat(r)):-1!==t.indexOf("?")?t+="&".concat(i).concat(r):t+="?".concat(i).concat(r),t}function p(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=e;return!!t&&(t=function(e){var r=a.Z.cdnDomainMap,t=void 0===r?{}:r,o="";return!e.includes(a.Z.cdnBaseUrl)&&Object.values(t).some((r=>!!e.includes(r)&&(o=r,!0)))?e.replace(o,a.Z.cdnBaseUrl):e}(u(e)),r?l(t,"format,webp"):t)}var f=(e,r)=>e.map((e=>{var t=e.media,a=e.type,i=void 0===a?s.wD.resize:a,c=e.src,u=(0,n.Z)(e,d),p=Object.entries(u).map((e=>{var r=(0,o.Z)(e,2),t=r[0],n=r[1];return"".concat(t,"_").concat(n)})).join(","),f=c||r;return{media:t,src:p?l(f,"".concat(i,",").concat(p)):f}}))},40544:(e,r,t)=>{t.d(r,{Z:()=>f});var o=t(1413),n=t(45987),a=(t(86286),t(87363),t(36733)),i=t(19427),c=t(61392),s=t(80931),d=(t(25801),t(2627)),u=t(45263),l=["type","title","prefixClassName","popupStyle","width","maxWidth","popupRef","popupProps"],p="".concat(i.Bq,"-tooltip");function f(e){var r=d.Z.mergeProps(f.defaultProps,e,d.Z.componentNames.Tooltip),t=r.type,i=r.title,c=r.prefixClassName,s=r.popupStyle,v=r.width,h=r.maxWidth,g=r.popupRef,m=r.popupProps,b=(0,n.Z)(r,l),y=(0,o.Z)((0,o.Z)({},s),{},{width:v,maxWidth:h||(null===s||void 0===s?void 0:s.maxWidth)||v});return(0,u.jsx)(a.Z,(0,o.Z)((0,o.Z)((0,o.Z)({},b),{},{popupStyle:y},m),{},{ref:g,prefixClassName:"".concat(p," ").concat(p,"-").concat(t," ").concat(c," "),content:i}))}var v={neutral:"neutral",negative:"negative",positive:"positive",informative:"informative"};f.defaultProps={type:v.neutral,title:"",prefixClassName:"",width:void 0,maxWidth:void 0,popupRef:()=>{}},f.DIRECTION=c.JR,f.TYPES=v,f.TRIGGER_TYPES=s.Z,f.TRIGGER=s.Z,f.Simple=f},52834:(e,r,t)=>{t.d(r,{ZP:()=>i,mf:()=>a,v1:()=>n});t(86286);var o=t(70022);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=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(r))throw new Error("withoutProps Error: The first param of propsToRemove function must be an array!");return Object.keys(e).reduce(((t,o)=>(r.includes(o)||(t[o]=e[o]),t)),{})}var a=e=>"function"===typeof e;const i={frozenScroll:o.Z,withoutProps:n}},75398:(e,r,t)=>{t.d(r,{D:()=>p,Z:()=>l});var o=t(45987),n=t(1413),a=(t(87363),t(21367)),i=t(21029),c=t(5096),s=t(45263),d=["keyChain","isMobile","OriginComponent","defaultProps"];function u(e){return e.replace(/-([a-z])/g,((e,r)=>r.toUpperCase()))}const l=e=>{var r=e.OriginComponent,t=e.keyChain,o=void 0===t?"":t,d=e.defaultProps,l=void 0===d?{}:d,p=e.isMobile;return function(e){(0,i.W5)();var t=(0,i.Xw)(),d=e,f={},v=o.split("."),h=(a.Z.okdThemes||{})[u(t)]||{};return v.forEach((e=>{h=h[e]||{}})),0===Object.keys(h).length?d=(0,n.Z)((0,n.Z)({},d),l):Object.keys(h).forEach((e=>{var r=p&&"size"===e?null:h[e];f[e]=d[e]||r||l[e]})),(0,s.jsx)(r,(0,n.Z)((0,n.Z)((0,n.Z)({currentTheme:t,changeTheme:c.Lr},d),h),f))}};function p(e){var r=e.keyChain,t=e.isMobile,l=e.OriginComponent,p=e.defaultProps,f=(0,o.Z)(e,d);(0,i.W5)();var v=(0,i.Xw)(),h=f,g={},m=r.split("."),b=(a.Z.okdThemes||{})[u(v)]||{};return m.forEach((e=>{b=b[e]||{}})),0===Object.keys(b).length?h=(0,n.Z)((0,n.Z)({},p),h):Object.keys(b).forEach((e=>{var r=t&&"size"===e?null:b[e];g[e]=h[e]||r||p[e]})),(0,s.jsx)(l,(0,n.Z)((0,n.Z)({currentTheme:v,changeTheme:c.Lr},h),g))}},43980:(e,r,t)=>{t.d(r,{CF:()=>u,K6:()=>d,Sb:()=>s,X2:()=>i,cy:()=>c});var o=t(53949),n=t(2627),a={left:"right",right:"left",Right:"Left",Left:"Right"};function i(){var e;return null!==(e=n.Z.data.isRTL)&&void 0!==e?e:o.Z.isRTL}function c(e){return i()&&a[e]||e}function s(e){return i()&&"string"===typeof e?e.replace(/left|right|Left|Right/g,(e=>a[e]||e)):e}function d(e,r){return{width:e.width,height:e.height,top:e.top,left:e.left,right:e.right,bottom:e.bottom,x:e.x,y:e.y,[r]:e[c(r)]}}function u(e){return i()?-e:e}},12009:(e,r)=>{r.byteLength=function(e){var r=c(e),t=r[0],o=r[1];return 3*(t+o)/4-o},r.toByteArray=function(e){var r,t,a=c(e),i=a[0],s=a[1],d=new n(function(e,r,t){return 3*(r+t)/4-t}(0,i,s)),u=0,l=s>0?i-4:i;for(t=0;t<l;t+=4)r=o[e.charCodeAt(t)]<<18|o[e.charCodeAt(t+1)]<<12|o[e.charCodeAt(t+2)]<<6|o[e.charCodeAt(t+3)],d[u++]=r>>16&255,d[u++]=r>>8&255,d[u++]=255&r;2===s&&(r=o[e.charCodeAt(t)]<<2|o[e.charCodeAt(t+1)]>>4,d[u++]=255&r);1===s&&(r=o[e.charCodeAt(t)]<<10|o[e.charCodeAt(t+1)]<<4|o[e.charCodeAt(t+2)]>>2,d[u++]=r>>8&255,d[u++]=255&r);return d},r.fromByteArray=function(e){for(var r,o=e.length,n=o%3,a=[],i=16383,c=0,d=o-n;c<d;c+=i)a.push(s(e,c,c+i>d?d:c+i));1===n?(r=e[o-1],a.push(t[r>>2]+t[r<<4&63]+"==")):2===n&&(r=(e[o-2]<<8)+e[o-1],a.push(t[r>>10]+t[r>>4&63]+t[r<<2&63]+"="));return a.join("")};for(var t=[],o=[],n="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)t[i]=a[i],o[a.charCodeAt(i)]=i;function c(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");return-1===t&&(t=r),[t,t===r?0:4-t%4]}function s(e,r,o){for(var n,a,i=[],c=r;c<o;c+=3)n=(e[c]<<16&16711680)+(e[c+1]<<8&65280)+(255&e[c+2]),i.push(t[(a=n)>>18&63]+t[a>>12&63]+t[a>>6&63]+t[63&a]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},76571:e=>{var r="%[a-f0-9]{2}",t=new RegExp("("+r+")|([^%]+?)","gi"),o=new RegExp("("+r+")+","gi");function n(e,r){try{return[decodeURIComponent(e.join(""))]}catch(a){}if(1===e.length)return e;r=r||1;var t=e.slice(0,r),o=e.slice(r);return Array.prototype.concat.call([],n(t),n(o))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var r=e.match(t)||[],o=1;o<r.length;o++)r=(e=n(r,o).join("")).match(t)||[];return e}}e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(r){return function(e){for(var t={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},n=o.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(r){var i=a(n[0]);i!==n[0]&&(t[n[0]]=i)}n=o.exec(e)}t["%C2"]="\ufffd";for(var c=Object.keys(t),s=0;s<c.length;s++){var d=c[s];e=e.replace(new RegExp(d,"g"),t[d])}return e}(e)}}},79267:e=>{e.exports=function(e,r){for(var t={},o=Object.keys(e),n=Array.isArray(r),a=0;a<o.length;a++){var i=o[a],c=e[i];(n?-1!==r.indexOf(i):r(i,c,e))&&(t[i]=c)}return t}},90052:e=>{e.exports=(e,r)=>{if("string"!==typeof e||"string"!==typeof r)throw new TypeError("Expected the arguments to be of type `string`");if(""===r)return[e];var t=e.indexOf(r);return-1===t?[e]:[e.slice(0,t),e.slice(t+r.length)]}},35459:e=>{e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>"%".concat(e.charCodeAt(0).toString(16).toUpperCase())))},23502:()=>{},25801:()=>{}}]); | ||
//# sourceMappingURL=https://static-daily.okg.com/crash/okfe/defi-mode/2091/index.758c94aa.js.map |
Oops, something went wrong.