PageSourceSearch

https://www.xxkk.com/_next/static/chunks/1666.fe351f76060e56a7.js

js xxkk.com collected 2026-09-26 03:59:24 UTC 80,382 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1666,3653],{20640:function(e,t,n){"use strict";var i=n(11742),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,r,s,o,l,c,d,m,x=!1;t||(t={}),s=t.debug||!1;try{if(l=i(),c=document.createRange(),d=document.getSelection(),(m=document.createElement("span")).textContent=e,m.ariaHidden="true",m.style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(m),c.selectNodeContents(m),d.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");x=!0}catch(i){s&&console.error("unable to copy using execCommand: ",i),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),x=!0}catch(i){s&&console.error("unable to copy using clipboardData: ",i),s&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",r=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",o=n.replace(/#{\s*key\s*}/g,r),window.prompt(o,e)}}finally{d&&("function"==typeof d.removeRange?d.removeRange(c):d.removeAllRanges()),m&&document.body.removeChild(m),l()}return x}},65819:function(e,t,n){"use strict";var i=n(59499),a=n(4730),r=n(25675),s=n.n(r),o=n(67294),l=n(43631),c=n(24666),d=n(85893),m=["src","width","height"];function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}t.Z=o.memo(function(e){var t,n=e.src,i=e.width,r=e.height,x=(0,a.Z)(e,m),u=(0,l.Fg)().isDark,b=(0,o.useMemo)(function(){return u?"/static/images/account/avatar-dark.svg?v=2":"/static/images/account/avatar.svg?v=2"},[u]),f=(0,o.useState)(n||b),h=f[0],y=f[1];return(0,o.useEffect)(function(){y(n||b)},[n,b]),(0,d.jsx)(s(),p(p({width:void 0===i?76:i,height:void 0===r?76:r,src:h||b,onError:function(){y(b)}},x),{},{unoptimized:!0,alt:(0,c.GV)(null!==(t=x.alt)&&void 0!==t?t:"avatar")}))})},33171:function(e,t,n){"use strict";n.d(t,{T:function(){return u}});var i=n(59499),a=n(64254),r=n.n(a),s=n(43631),o=n(95541),l=n(38323),c=n(32983),d=n(74862),m=n(85893);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=function(e){e.active;var t=e.image,n=e.text,i=void 0===n?(0,o.bn)("暂无数据"):n,a=e.className,x=e.size,u=e.prefixCls,f=e.rootClassName,h=e.style,y=e.imagestyle,g=e.description,w=e.children,_=e.layer,v=void 0===_?d.mh.Default:_,j=(0,s.Fg)().isDark,k=v===d.mh.Default;return(0,m.jsx)(c.Z,p(p({className:(0,l.Wy)("empty-img-wrapper",x,a)},{prefixCls:u,rootClassName:f,style:h,imagestyle:y,description:i||g,children:w}),{},{description:(0,m.jsx)("span",{className:"jsx-".concat(b.__hash),children:i}),image:t||(j?k?"/static/icons/primary/common/dark/empty-1.svg":"/static/icons/primary/common/dark/empty-2.svg":k?"/static/icons/primary/common/empty-1.svg":"/static/icons/primary/common/empty-2.svg"),children:(0,m.jsx)(r(),{id:b.__hash,children:b})}))},b=[".empty-img-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;margin:30px auto;}",".empty-img-wrapper .ant-empty-image{height:80px;margin-bottom:8px;}",".empty-img-wrapper .ant-empty-image img{width:80px;height:80px;}",".empty-img-wrapper .ant-empty-description{font-size:12px;color:var(--content_3);font-weight:400;}",".empty-img-wrapper .md.jsx-1825921221 .ant-empty-image{height:68px;margin-bottom:16px;}",".empty-img-wrapper .md.jsx-1825921221 .ant-empty-image img{width:68px;height:68px;}",".empty-img-wrapper .md.jsx-1825921221 .ant-empty-description{font-size:14px;font-weight:300;}",".empty-img-wrapper .lg.jsx-1825921221 .ant-empty-image{height:80px;margin-bottom:20px;}",".empty-img-wrapper .lg.jsx-1825921221 .ant-empty-image img{width:80px;height:80px;}",".empty-img-wrapper .lg.jsx-1825921221 .ant-empty-description{font-size:16px;font-weight:300;}",".empty-img-wrapper.small{margin:16px auto;}",".empty-img-wrapper.small .ant-empty-image{height:50px;margin-bottom:16px;}",".empty-img-wrapper.small .ant-empty-image img{width:50px;height:50px;}",".empty-img-wrapper.small .ant-empty-description{font-size:14px;font-weight:300;}"];b.__hash="1825921221"},52306:function(e,t,n){"use strict";n.d(t,{f:function(){return b},Z:function(){return f}});var i=n(64254),a=n.n(i),r=n(67294),s=n(95541),o=n(38323),l=n(17973),c=n(56450),d=n(85893),m={styles:(0,d.jsx)(a(),{id:"2394759460",children:['@charset "UTF-8";',".view.jsx-2394759460{overflow:hidden;position:relative;height:100%;}",".view.rtl.jsx-2394759460 .left.jsx-2394759460{background:linear-gradient(to left,var(--bg_0) 42.24%,transparent 95.69%);}",".view.rtl.jsx-2394759460 .right.jsx-2394759460{background:linear-gradient(to right,var(--bg_0) 42.24%,transparent 95.69%);}",".view.jsx-2394759460 .scroll.jsx-2394759460{height:100%;width:100%;overflow:scroll;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;z-index:1;}",".view.jsx-2394759460 .scroll.jsx-2394759460::-webkit-scrollbar{display:none;}",".view.jsx-2394759460 .left.jsx-2394759460,.view.jsx-2394759460 .right.jsx-2394759460{top:0;position:absolute;height:100%;}",".view.jsx-2394759460 .left.jsx-2394759460>*.jsx-2394759460,.view.jsx-2394759460 .right.jsx-2394759460>*.jsx-2394759460{height:12px;}",".view.jsx-2394759460 .left.jsx-2394759460{inset-inline-start:-1px;padding-inline-start:9px;cursor:pointer;width:58px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;z-index:2;background:linear-gradient(to right,var(--bg_0) 42.24%,transparent 95.69%);}",".view.jsx-2394759460 .left.jsx-2394759460 > *{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}",".view.jsx-2394759460 .right.jsx-2394759460{inset-inline-end:-1px;padding-inline-end:9px;cursor:pointer;width:58px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;z-index:2;background:linear-gradient(to left,var(--bg_0) 42.24%,transparent 95.69%);}",".view.jsx-2394759460 .right.jsx-2394759460 > *{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}"]}),className:"jsx-2394759460"},x=m.className,p=m.styles,u=(0,o.Lz)(x),b=function(e){var t=e.children,n=e.color,i=(0,l.Z)().isRTL,m=i?-1:1,x=(0,r.useRef)(null),b=(0,r.useState)({left:!1,right:!1}),f=b[0],h=b[1],y=(0,r.useMemo)(function(){return(0,o.Ds)(function(e){var t=e.target,n=t.offsetWidth,i=t.scrollWidth,a=Math.abs(t.scrollLeft);n<i?0===a?h({left:!1,right:!0}):a>=i-n-1?h({left:!0,right:!1}):h({left:!0,right:!0}):h({left:!1,right:!1})},30)},[]);(0,r.useLayoutEffect)(function(){x.current&&y({target:x.current})},[x.current,t]);var g=(0,r.useCallback)(function(){var e=x.current;e&&(e.scrollLeft-=30*m)},[i]),w=(0,r.useCallback)(function(){var e=x.current;e&&(e.scrollLeft+=30*m)},[i]);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:a().dynamic([["3257539224",[null!=n?n:"var(--bg_0)",null!=n?n:"var(--bg_0)"]]])+" "+(u("gradien-scroll-row view",i&&"rtl")||""),children:[f.left&&(0,d.jsx)("button",{type:"button",onClick:g,"aria-label":(0,s.bn)("向左滚动"),className:a().dynamic([["3257539224",[null!=n?n:"var(--bg_0)",null!=n?n:"var(--bg_0)"]]])+" "+(u("left")||""),children:(0,d.jsx)(c.n,{src:"/static/images/common/arrow-right.svg"})}),(0,d.jsx)("div",{ref:x,onScroll:y,className:a().dynamic([["3257539224",[null!=n?n:"var(--bg_0)",null!=n?n:"var(--bg_0)"]]])+" "+(u("scroll")||""),children:t}),f.right&&(0,d.jsx)("button",{type:"button",onClick:w,"aria-label":(0,s.bn)("向右滚动"),className:a().dynamic([["3257539224",[null!=n?n:"var(--bg_0)",null!=n?n:"var(--bg_0)"]]])+" "+(u("right")||""),children:(0,d.jsx)(c.n,{src:"/static/images/common/arrow-right.svg"})})]}),p,(0,d.jsx)(a(),{id:"3257539224",dynamic:[null!=n?n:"var(--bg_0)",null!=n?n:"var(--bg_0)"],children:[".view.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector,.view.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector{padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;}",".view.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector{background:linear-gradient(to right,".concat(null!=n?n:"var(--bg_0)"," 42.24%,transparent 95.69%);}"),".view.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector{background:linear-gradient(to left,".concat(null!=n?n:"var(--bg_0)"," 42.24%,transparent 95.69%);}")]})]})},f=b},21666:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eb}});var i=n(64254),a=n.n(i),r=n(79249),s=n(76232),o=n(92342),l=n(43631),c=n(95541),d=n(88926),m=n(74966),x=n(5152),p=n.n(x),u=n(67294),b=n(91291),f=n(91809),h=n(56450),y=n(85893),g="/static/images/header/nav-menu",w=[{name:(0,c.bn)("我的资产"),href:"/account/fund-management/assets-overview",icon:"".concat(g,"/assets.svg")},{name:(0,c.bn)("充币"),href:"/account/fund-management/asset-account/recharge",icon:"".concat(g,"/deposit.svg")},{name:(0,c.bn)("提币"),href:"/account/fund-management/asset-account/withdraw",icon:"".concat(g,"/withdraw.svg")},{name:(0,c.bn)("法币充值"),href:"/buy-sell-crypto",icon:"".concat(g,"/fiat-buy.svg")},{name:(0,c.bn)("法币提款"),href:"/fiat-withdraw",icon:"".concat(g,"/fiat-sell.svg")},{name:(0,c.bn)("内部转账"),href:"/account/fund-management/asset-account/transfer",icon:"".concat(g,"/transfer.svg")}],_=function(){return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("ul",{className:"jsx-".concat(v.__hash)+" assets-list-wrapper",children:w.map(function(e,t){return(0,y.jsx)("li",{className:"jsx-".concat(v.__hash),children:(0,y.jsx)(c.jH,{native:!0,href:e.href,query:null==e?void 0:e.query,children:(0,y.jsxs)("span",{className:"jsx-".concat(v.__hash)+" item",children:[(0,y.jsx)(h.n,{src:e.icon,width:20,height:20,currentColor:"var(--content_1)",className:"item-icon"}),(0,y.jsx)("span",{className:"jsx-".concat(v.__hash)+" name",children:e.name})]})})},t)})}),(0,y.jsx)(a(),{id:v.__hash,children:v})]})},v=[".assets-list-wrapper.jsx-3519424018{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-width:180px;width:-webkit-max-content;width:-moz-max-content;width:max-content;gap:4px;margin:0;padding:8px;text-align:start;}",".assets-list-wrapper.jsx-3519424018 li.jsx-3519424018 > a{display:block;color:var(--content_1) !important;border-radius:8px;}",".assets-list-wrapper.jsx-3519424018 li.jsx-3519424018 > a:hover{background:var(--fill_default);}",".assets-list-wrapper.jsx-3519424018 .item.jsx-3519424018{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;height:48px;padding:4px 8px;box-sizing:border-box;}",".assets-list-wrapper.jsx-3519424018 .item-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:20px;height:20px;color:var(--content_1);}",".assets-list-wrapper.jsx-3519424018 .name.jsx-3519424018{font-size:14px;font-weight:500;line-height:20px;color:var(--content_1);white-space:nowrap;word-break:keep-all;}"];v.__hash="3519424018";var j=n(83653),k="/static/images/header/nav-menu",T=(0,m.Co)(),O=[{name:(0,c.bn)("永续合约1"),href:T?"/account/fund-management/order-history/demo/swap-u-order?type=records&tab=0":"/account/fund-management/order-history/swap-u-order?type=records&tab=0",icon:"".concat(k,"/swap.svg")}];T||O.push({name:(0,c.bn)("现货"),href:"/account/fund-management/order-history/spot-order?type=records&tab=0",icon:"".concat(k,"/spot.svg")}),O.push({name:(0,c.bn)("简易合约"),href:"/account/fund-management/order-history/lite-order?type=records&tab=0",icon:"".concat(k,"/tradfi.svg")});var C=function(){var e=(0,l.Fs)(!1).isMobile;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("ul",{className:"jsx-".concat(E.__hash)+" order-list-wrapper",children:O.filter(function(t){return t.name!==(0,c.bn)("简易合约")||!e||!0}).map(function(e,t){return(0,y.jsx)("li",{className:"jsx-".concat(E.__hash),children:(0,y.jsx)(c.jH,{href:e.href,native:!0,children:(0,y.jsxs)("span",{className:"jsx-".concat(E.__hash)+" item",children:[(0,y.jsx)(h.n,{src:e.icon,width:20,height:20,currentColor:"var(--content_1)",className:"item-icon"}),(0,y.jsx)("span",{className:"jsx-".concat(E.__hash)+" name",children:e.name})]})})},t)})}),(0,y.jsx)(a(),{id:E.__hash,children:E})]})},E=[".order-list-wrapper.jsx-2868706893{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-width:180px;width:-webkit-max-content;width:-moz-max-content;width:max-content;gap:4px;margin:0;padding:8px;text-align:start;}",".order-list-wrapper.jsx-2868706893 li.jsx-2868706893 > a{display:block;color:var(--content_1) !important;border-radius:8px;}",".order-list-wrapper.jsx-2868706893 li.jsx-2868706893 > a:hover{background:var(--fill_default);}",".order-list-wrapper.jsx-2868706893 .item.jsx-2868706893{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;height:48px;padding:4px 8px;box-sizing:border-box;}",".order-list-wrapper.jsx-2868706893 .item-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:20px;height:20px;color:var(--content_1);}",".order-list-wrapper.jsx-2868706893 .name.jsx-2868706893{font-size:14px;font-weight:500;line-height:20px;color:var(--content_1);white-space:nowrap;word-break:keep-all;}"];E.__hash="2868706893";var S=n(50029),N=n(64687),$=n.n(N),D=n(65819),P=n(97126),R=n(38323),z=n(74855),L=n.n(z),A="/static/images/header/nav-menu",I=function(e){var t,n,i=e.onMouseEnter,r=e.onMouseLeave,s=(0,u.useState)(null),o=s[0],m=s[1],x=(0,l.tv)(),p=(0,l.LJ)().kycState,b
1=p.kyc,g=p.ready,w=(t=(0,S.Z)($().mark(function e(){return $().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P.Account.getUserInfo();case 2:m(e.sent);case 4:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});(0,u.useEffect)(function(){w()},[]);var _=(0,R.s0)((null==o?void 0:o.email)||(null==o?void 0:o.phone))||"User",v=[(0,c.bn)("未认证"),(0,c.bn)("审核中"),(0,c.bn)("认证失败"),(0,c.bn)("认证成功")],j=[{name:(0,c.bn)("账号与安全"),href:f.Nv.ACCOUNT_SECURITY,key:"account-security",icon:"".concat(A,"/security.svg")},{name:(0,c.bn)("登出"),href:"#",key:"logout",icon:"".concat(A,"/logout.svg")}],k=(n=(0,S.Z)($().mark(function e(t,n){var i;return $().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("logout"!==n){e.next=9;break}return i=x.asPath,sessionStorage.setItem(d.Y5.LOGIN_REDIRECT,i),t.preventDefault(),t.stopPropagation(),e.next=7,P.Account.logout();case 7:return x.push("/"),e.abrupt("return");case 9:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)});return(0,y.jsxs)("div",{onMouseLeave:r,onMouseEnter:i,className:"jsx-".concat(U.__hash)+" user-menu-wrapper",children:[(0,y.jsxs)("div",{onClick:function(){x.push("/account/dashboard?type=overview")},className:"jsx-".concat(U.__hash)+" account",children:[(0,y.jsx)(D.Z,{alt:"avatar",src:"",width:56,height:56,className:"header-user-avatar"}),(0,y.jsxs)("div",{className:"jsx-".concat(U.__hash)+" left-info",children:[(0,y.jsx)("span",{className:"jsx-".concat(U.__hash)+" user-name lock-ltr",children:_}),null!=o&&o.uid?(0,y.jsxs)("span",{className:"jsx-".concat(U.__hash)+" uid",children:[(0,y.jsxs)("span",{className:"jsx-".concat(U.__hash),children:["ID:",null==o?void 0:o.uid]}),(0,y.jsx)(L(),{text:null==o?void 0:o.uid,onCopy:function(e,t){(null==o?void 0:o.uid)===e&&t?R.yw.success((0,c.bn)("复制成功")):R.yw.error((0,c.bn)("复制失败"))},children:(0,y.jsx)("span",{onClick:function(e){e.stopPropagation()},className:"jsx-".concat(U.__hash)+" copy-btn",children:(0,y.jsx)(h.n,{src:"".concat(A,"/copy.svg"),width:14,height:14,currentColor:"var(--content_2)",className:"copy-icon"})})})]}):null,g?(0,y.jsx)("span",{className:"jsx-".concat(U.__hash)+" "+((0,R.Wy)("kyc-status",["no-valid","review","fail","success"][b])||""),children:v[b]||"--"}):null]})]}),(0,y.jsx)("div",{className:"jsx-".concat(U.__hash)+" divider"}),(0,y.jsx)("ul",{className:"jsx-".concat(U.__hash)+" menu-list",children:j.map(function(e,t){return(0,y.jsx)("li",{className:"jsx-".concat(U.__hash),children:(0,y.jsx)(c.jH,{href:e.href,native:!0,children:(0,y.jsxs)("span",{onClick:function(t){return k(t,e.key)},className:"jsx-".concat(U.__hash)+" item",children:[(0,y.jsx)(h.n,{src:e.icon,width:20,height:20,currentColor:"var(--content_1)",className:"item-icon"}),(0,y.jsx)("span",{className:"jsx-".concat(U.__hash)+" name",children:e.name})]})})},t)})}),(0,y.jsx)(a(),{id:U.__hash,children:U})]})},U=[".user-menu-wrapper.jsx-236899724{margin:0;padding:16px;text-align:start;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;}",".account.jsx-236899724{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;gap:12px;cursor:pointer;}",".header-user-avatar{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:56px;height:56px;border-radius:50%;overflow:hidden;object-fit:cover;}",".left-info.jsx-236899724{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;gap:4px;min-width:0;}",".user-name.jsx-236899724{font-size:16px;font-weight:500;line-height:24px;color:var(--content_1);max-width:216px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}",".uid.jsx-236899724{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;color:var(--content_2);font-size:12px;font-weight:400;line-height:16px;}",".copy-btn.jsx-236899724{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;}",".copy-icon{color:var(--content_2);}",".kyc-status.jsx-236899724{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;margin-top:4px;min-height:22px;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:400;line-height:14px;white-space:nowrap;}",".kyc-status.no-valid.jsx-236899724{background:var(--red_10);color:var(--red);}",".kyc-status.review.jsx-236899724{background:var(--yellow_10);color:var(--yellow);}",".kyc-status.fail.jsx-236899724{background:var(--red_10);color:var(--red);}",".kyc-status.success.jsx-236899724{background:var(--green_10);color:var(--green);}",".divider.jsx-236899724{width:100%;height:1px;background:var(--line_2);}",".menu-list.jsx-236899724{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;}",".menu-list.jsx-236899724 li.jsx-236899724 > a{display:block;color:var(--content_1) !important;border-radius:8px;}",".menu-list.jsx-236899724 li.jsx-236899724 > a:hover{background:var(--fill_default);}",".menu-list.jsx-236899724 .item.jsx-236899724{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;height:48px;padding:4px 8px;box-sizing:border-box;cursor:pointer;}",".menu-list.jsx-236899724 .item-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:20px;height:20px;color:var(--content_1);}",".menu-list.jsx-236899724 .name.jsx-236899724{font-size:14px;font-weight:500;line-height:20px;color:var(--content_1);white-space:nowrap;}"];U.__hash="236899724";var Z=n(74862),W=n(93349),M=n(90116),F=n(59499),q=n(25675),H=n.n(q),B=n(16508),K=n(44272),G=n(16626),V=n(23647),Y=n(72716),X=n(91458),Q=n(33171),J=n(89887),ee=n(83198),et=n(2128),en=n(52306),ei=n(17973),ea=n(48930),er=function(e,t){var n=t.toLowerCase();return[/[\u4e00-\u9fa5]/.test(e.name)?(0,c.bn)(e.name):e.name,e.fullName,e.coin,e.id,e.quoteCoin].filter(Boolean).some(function(e){return String(e).toLowerCase().includes(n)})},es=[K.q6.SPOT_GOODS,K.q6.PERPETUAL,K.q6.LITE],eo=function(e){var t=e.isCollapse,n=void 0===t||t,i=e.label,s=e.resultList,o=e.onItemClick,l=e.showRank,d=void 0!==l&&l,m=e.headerMuted,x=e.tabKey,p=e.onExpandToTab,b=(0,ei.Z)().isRTL,f=(0,u.useState)({}),h=f[0],g=f[1],w=n?s.slice(0,3):s,_=(0,u.useMemo)(function(){return s.filter(function(e){return(0,R.hd)(e.id)}).map(function(e){return e.id}).join(",")},[s]);return(0,u.useEffect)(function(){if(!_){g({});return}var e=_.split(",").filter(Boolean),t=!1,n=function(){(0,ee.DG)(e).then(function(e){t||g(e)})};n();var i=setInterval(n,6e4);return function(){t=!0,clearInterval(i)}},[_]),(0,y.jsxs)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" "+((0,V.W)("search-item-list",d&&"is-hot-search")||""),children:[(0,y.jsx)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" "+((0,V.W)("search-item-list-header",void 0!==m&&m&&"is-muted")||""),children:i}),(0,y.jsx)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" search-item-list-content",children:w.map(function(e,t){var n,i,r,s,l=(0,R.hd)(e.id)&&!1===h[e.id],m=(n=e.id,(0,R.gE)(n)?(0,c.bn)("永续"):""),x=t+1;return(0,y.jsxs)("div",{onClick:function(){return o(e.id)},className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" result-item",children:[(0,y.jsxs)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" left",children:[d&&(0,y.jsx)("span",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" "+((0,V.W)("rank","rank-".concat(x),x<=3&&"rank-top")||""),children:x}),(0,y.jsx)(G.Z,{width:"20",height:"20",className:"icon-logo",coin:e.coin}),(0,y.jsx)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" info",children:(0,y.jsxs)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" symbol-row",children:[(null===(r=e.type)||void 0===r?void 0:r.toUpperCase())==="SPOT"||(null===(s=e.type)||void 0===s?void 0:s.toUpperCase())==="ETF"?(0,y.jsxs)("span",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" symbol coin_symbol",children:[e.coin,"/",e.quoteCoin]}):(0,y.jsx)("span",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" symbol coin_alias",children:/[\u4e00-\u9fa5]/.test(e.name)?(0,c.bn)(e.name):e.name}),m?(0,y.jsx)("span",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" type-flag",children:m}):null]})})]}),(0,y.jsxs)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" right",children:[(0,y.jsxs)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" price-wrap",children:[(0,y.jsx)("span",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" "+((0,V.W)("price",l&&"is-closed")||""),children:e.price}),(0,y.jsx)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" "+((0,V.W)("rate",l?"is-closed":e.isUp?"positive-text":"negative-text",b&&"number-display")||""),children:l?(0,c.bn)("休市"):"".concat(e.rate,"%")})]}),(0,y.jsx)(J.Z,{code:e.id,type:(i=e.id,(0,R.hd)(i)?P.FAVORITE_TYPE.LITE:(0,R.a3)(i)?P.FAVORITE_TYPE.SWAP_COIN:(0,R.WO)(i)?P.FAVORITE_TYPE.SWAP_USDT:(0,R.D5)(i)?P.FAVORITE_TYPE.SWAP_USDC:P.FAVORITE_TYPE.SPOT),width:16,height:16})]})]},"".concat(e.name,"-").concat(t))})}),n&&s.length>3&&x&&p&&(0,y.jsx)("div",{className:a().dynamic([["4016306861",[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" search-item-list-expand-wrap",children:(0,y.jsx)(r.z,{className:"search-item-list-expand",type:"brand0",size:Z.$u.XS,hover:!1,width:"100%",onClick:function(){return p(x)},children:(0,c.bn)("查看全部")}
1)}),(0,y.jsx)(a(),{id:"4016306861",dynamic:[R.a$.mobile,R.a$.mobile,R.a$.mobile,R.a$.mobile],children:[".search-item-list.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;gap:4px;}",".search-item-list.is-hot-search.__jsx-style-dynamic-selector{gap:12px;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-header.__jsx-style-dynamic-selector{color:var(--content_1);font-size:14px;font-weight:500;line-height:20px;padding:0 16px;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-header.is-muted.__jsx-style-dynamic-selector{color:var(--content_1);font-weight:400;}","@media ".concat(R.a$.mobile,"{.search-item-list.__jsx-style-dynamic-selector .search-item-list-header.__jsx-style-dynamic-selector{padding:0 16px;font-size:16px;}}"),".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:4px;padding:0 8px;box-sizing:border-box;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;min-height:54px;padding:8px;margin:0;border-radius:8px;box-sizing:border-box;}","@media ".concat(R.a$.mobile,"{.search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector{padding:8px;}}"),".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector:hover{background:var(--fill_default);}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;min-width:0;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector .rank.__jsx-style-dynamic-selector{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;min-width:12px;height:20px;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:12px;font-weight:500;line-height:16px;color:var(--content_1);background:transparent;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector .icon-logo{width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector .info.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:2px;min-width:0;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector .info.__jsx-style-dynamic-selector .symbol-row.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;min-width:0;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector .info.__jsx-style-dynamic-selector .symbol.__jsx-style-dynamic-selector{font-size:14px;font-weight:500;color:var(--content_1);white-space:nowrap;}","@media ".concat(R.a$.mobile,"{.search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector .info.__jsx-style-dynamic-selector .symbol.__jsx-style-dynamic-selector{font-size:16px;}}"),".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .left.__jsx-style-dynamic-selector .info.__jsx-style-dynamic-selector .type-flag.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;height:14px;padding:0 4px;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:2px;font-size:10px;font-weight:400;line-height:14px;white-space:nowrap;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;background:var(--brand_20);color:var(--brand_default);}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:12px;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector .star_icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector .price-wrap.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;align-items:flex-end;gap:2px;font-size:14px;font-weight:400;}","@media ".concat(R.a$.mobile,"{.search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector .price-wrap.__jsx-style-dynamic-selector{font-size:16px;}}"),".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector .price-wrap.__jsx-style-dynamic-selector .price.__jsx-style-dynamic-selector{color:var(--content_1);line-height:20px;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector .price-wrap.__jsx-style-dynamic-selector .price.is-closed.__jsx-style-dynamic-selector{color:var(--content_3);}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector .price-wrap.__jsx-style-dynamic-selector .rate.__jsx-style-dynamic-selector{font-size:12px;line-height:16px;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-content.__jsx-style-dynamic-selector .result-item.__jsx-style-dynamic-selector .right.__jsx-style-dynamic-selector .price-wrap.__jsx-style-dynamic-selector .rate.is-closed.__jsx-style-dynamic-selector{color:var(--content_3) !important;}",".search-item-list.__jsx-style-dynamic-selector .search-item-list-expand-wrap.__jsx-style-dynamic-selector{padding:0 16px;}"]})]})},el=function(e){var t,n,i=e.searchKey,r=e.onClose,s=e.isSmallDesktop,o=void 0!==s&&s,d=e.onSearchChange,m=(0,Y.t)();(0,l.Fs)().isMobile;var x=(0,X.k)().getHrefAndQuery,p=(0,u.useState)({}),b=p[0],f=p[1],h=(0,u.useState)({}),g=h[0],w=h[1],_=(0,u.useState)([]),v=_[0],j=_[1],k=(0,u.useRef)(),T=(0,u.useRef)(null),O=(0,u.useState)("0"),C=O[0],E=O[1],N=(n={},(0,F.Z)(n,K.q6.SPOT_GOODS,(0,c.bn)("现货")),(0,F.Z)(n,K.q6.PERPETUAL,(0,c.bn)("永续合约1")),(0,F.Z)(n,K.q6.LITE,(0,c.bn)("TradFi")),n),D=[{label:(0,c.bn)("全部"),value:"0"},{label:(0,c.bn)("现货"),value:K.q6.SPOT_GOODS},{label:(0,c.bn)("永续合约1"),value:K.q6.PERPETUAL},{label:(0,c.bn)("TradFi"),value:K.q6.LITE}],z=function(e){null==r||r();var t=x(e.toUpperCase()),n=t.href,i=t.query;m.push({pathname:n,query:i})},L=function(e){var t;E(e),null===(t=T.current)||void 0===t||t.scrollTo({top:0})};return(0,B.Uv)(B.KW.ws3001,(t=(0,S.Z)($().mark(function e(t){var n,i,a,r;return $().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P.Group.getInstance();case 2:i=e.sent,a=[].concat((0,M.Z)(i.getHotSwapUsdtIds()),(0,M.Z)(ea.$c?i.getHotSwapUsdcIds():[])),r=[].
1concat((0,M.Z)(i.getSwapUsdtIds()),(0,M.Z)(ea.$c?i.getSwapUsdcIds():[])),w((0,F.Z)({},K.q6.PERPETUAL,P.Markets.getMarketList(t,a))),f((n={},(0,F.Z)(n,K.q6.SPOT_GOODS,P.Markets.getMarketList(t,i.getSpotIds)),(0,F.Z)(n,K.q6.PERPETUAL,P.Markets.getMarketList(t,r)),(0,F.Z)(n,K.q6.LITE,P.Markets.getMarketList(t,i.getLiteQuoteIds)),n));case 7:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)})),(0,u.useEffect)(function(){return P.Markets.getInstance({lite:!0,swap:!0,spot:!0,key:"WS3001(SearchBox)"}).then(function(e){return k.current=e}),function(){k.current&&k.current.unsubscribeWS()}},[]),(0,u.useEffect)(function(){if(!i){var e,t=g[K.q6.PERPETUAL]||[];t.length>0?j([{label:(0,y.jsxs)("div",{className:(0,V.W)("search-hot-container"),children:[(0,y.jsx)(H(),{src:"/static/images/common/hot.svg",width:"14",height:"14",alt:"hot",className:"hot"}),(0,y.jsx)("span",{children:(0,c.bn)("热门搜索")})]}),items:t}]):j([]);return}var n={},a=i.toLowerCase();for(var r in b){var s=b[r]||[];n[r]=s.filter(function(e){return er(e,a)})}"0"===C?j(es.reduce(function(e,t){var i;return(null===(i=n[t])||void 0===i?void 0:i.length)>0&&e.push({label:N[t],items:n[t],tabKey:t}),e},[])):(null===(e=n[C])||void 0===e?void 0:e.length)>0?j([{label:N[C],items:n[C]}]):j([])},[i,b,g,C]),(0,y.jsxs)("div",{className:a().dynamic([["3860999082",[R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" "+((0,V.W)("search-box",o&&"search-box--compact-input")||""),children:[o&&(0,y.jsx)("div",{className:a().dynamic([["3860999082",[R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" header-search-panel-input",children:(0,y.jsx)(W.Z,{width:"100%",prefix:!0,size:Z.$u.MD,placeholder:(0,c.bn)("搜索"),value:i,onChange:null!=d?d:function(){}})}),i&&(0,y.jsx)("div",{className:a().dynamic([["3860999082",[R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" tab-bar-container",children:(0,y.jsx)(en.Z,{color:"var(--bg_1)",children:(0,y.jsx)(et.Z,{type:et.g.LINE,options:D,value:C,onChange:L})})}),(0,y.jsx)("div",{ref:T,className:a().dynamic([["3860999082",[R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" search-content",children:(0,y.jsx)("div",{className:a().dynamic([["3860999082",[R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" search-results",children:v.length>0?v.map(function(e,t){return(0,y.jsx)(eo,{isCollapse:!!i&&"0"===C,label:e.label,resultList:e.items,onItemClick:z,showRank:!i,headerMuted:!!i,tabKey:e.tabKey,onExpandToTab:i&&"0"===C?L:void 0},t)}):(0,y.jsxs)(y.Fragment,{children:[i?(0,y.jsx)("div",{className:a().dynamic([["3860999082",[R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" empty",children:(0,y.jsx)(Q.T,{text:(0,c.bn)("暂无数据"),layer:Z.mh.Overlay})}):null,i&&(g[K.q6.PERPETUAL]||[]).length>0?(0,y.jsx)(eo,{isCollapse:!1,label:(0,c.bn)("猜你喜欢"),resultList:g[K.q6.PERPETUAL],onItemClick:z,showRank:!1}):i?null:(0,y.jsx)("div",{className:a().dynamic([["3860999082",[R.a$.mobile,R.a$.mobile,R.a$.mobile]]])+" empty",children:(0,y.jsx)(Q.T,{text:(0,c.bn)("暂无数据"),layer:Z.mh.Overlay})})]})})}),(0,y.jsx)(a(),{id:"3860999082",dynamic:[R.a$.mobile,R.a$.mobile,R.a$.mobile],children:[".search-box.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:16px 0;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;gap:12px;height:100%;box-sizing:border-box;overflow:hidden;}",".search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector{position:relative;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;border-bottom:1px solid var(--line_2);margin:0 16px;}",".search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector .tab-bar{padding:0;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;border-bottom:none;}","@media ".concat(R.a$.mobile,"{.search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector .tab-bar{padding:0;}}"),".search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector .tab-bar .tabs{gap:16px;}",".search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector .tab-bar .tabs .tab{font-size:14px;font-weight:400;line-height:20px;padding-bottom:8px;}","@media ".concat(R.a$.mobile,"{.search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector .tab-bar .tabs .tab{font-size:20px;}}"),".search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector .tab-bar .tabs .tab.active{font-weight:500;}",".search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector .tab-bar .tabs .tab.line.active::after{width:100%;height:2px;border-radius:0;}",".search-box.__jsx-style-dynamic-selector .tab-bar-container.__jsx-style-dynamic-selector .tab-bar .tab.active > div{color:var(--brand_default);}",".search-content.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;-webkit-flex:1;-ms-flex:1;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-top:8px;margin-bottom:-16px;}",".search-content.__jsx-style-dynamic-selector .ant-input-affix-wrapper{border-radius:40px;height:44px;background:var(--fill_default);border:none;}",".search-content.__jsx-style-dynamic-selector .ant-input{background:var(--fill_default);color:var(--content_1);}",".search-content.__jsx-style-dynamic-selector .ant-input::-webkit-input-placeholder{color:var(--content_2);}",".search-content.__jsx-style-dynamic-selector .ant-input::-moz-placeholder{color:var(--content_2);}",".search-content.__jsx-style-dynamic-selector .ant-input:-ms-input-placeholder{color:var(--content_2);}",".search-content.__jsx-style-dynamic-selector .ant-input::placeholder{color:var(--content_2);}",".search-hot-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;
1-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;height:20px;font-size:14px;font-weight:500;color:var(--content_1);line-height:20px;}","@media ".concat(R.a$.mobile,"{.search-hot-container{font-size:16px;height:auto;}}"),".search-hot-container img{width:14px !important;height:14px !important;margin-inline-start:0 !important;margin-top:0 !important;}",".search-results.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;}",".empty.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:16px 0 8px;}",".empty.__jsx-style-dynamic-selector .empty-img-wrapper{margin:0 auto;}",".__jsx-style-dynamic-selector .header-search-panel-input.__jsx-style-dynamic-selector{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding:0 16px;}",".__jsx-style-dynamic-selector .header-search-panel-input.__jsx-style-dynamic-selector .search-input{width:100% !important;}"]})]})},ec=n(37289),ed=p()(function(){return n.e(1408).then(n.bind(n,1408))},{loadableGenerated:{webpack:function(){return[1408]}}}),em=Object.values(f.ZX),ex=Object.values(f.zu),ep=Object.values(f.Nv),eu=function(){var e=(0,l.tv)().asPath,t=(0,u.useState)(!1),n=(t[0],t[1]),i=(0,u.useState)(!1);i[0],i[1];var s=(0,ei.S)().isRTL,d=em.some(function(t){return null==e?void 0:e.includes(t)}),x=ex.some(function(t){return null==e?void 0:e.includes(t)});(0,u.useEffect)(function(){n(ep.some(function(t){return null==e?void 0:e.includes(t)}))},[e]);var p=(0,m.Co)((0,b.Z)().pathname);return(0,y.jsxs)(y.Fragment,{children:[!p&&(0,y.jsx)(o.DesktopOrTablet,{children:(0,y.jsx)(r.z,{type:"primary",className:"header-recharge-btn",size:Z.$u.SM,children:(0,y.jsx)(c.jH,{style:{color:"var(--skin-font-color)"},href:"/account/fund-management/asset-account/recharge",children:(0,c.bn)("充值")})})}),(0,y.jsxs)(o.Desktop,{children:[!p&&(0,y.jsx)(j.default,{className:"header-fit-menu",width:"max-content",height:"auto",position:"right:0",content:(0,y.jsx)(_,{}),showArrow:!0,isActive:d,children:(0,c.bn)("资产")}),(0,y.jsx)(j.default,{className:"header-fit-menu",width:"max-content",height:"auto",position:"right:0",content:(0,y.jsx)(C,{}),showArrow:!0,isActive:x,children:(0,c.bn)("订单")})]}),(0,y.jsx)(o.Desktop,{children:(0,y.jsx)(j.default,{menuType:"user",width:"320px",height:"auto",position:s?"left:0":"right:0",content:(0,y.jsx)(I,{onMouseEnter:function(){return n(!0)},onMouseLeave:function(){return n(!1)}}),boxRadius:"12px",children:(0,y.jsx)(ed,{className:"user-icon",iconActive:!1})})}),(0,y.jsx)(a(),{id:"1753318276",children:[".header-recharge-btn.common-button{width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:0 !important;-webkit-flex:none;-ms-flex:none;flex:none;}",".header-recharge-btn.common-button a{min-width:0 !important;width:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:var(--content_white) !important;}",".header-fit-menu{width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-flex:none;-ms-flex:none;flex:none;}"]})]})},eb=function(){var e=(0,d.bp)().isLogin,t=(0,l.Fs)(!1),n=t.isMobileOrTablet,i=t.isSmallDesktop,o=t.isDesktop,m=(0,l.tv)(),x=(0,u.useState)(""),p=x[0],b=x[1],f=(0,u.useCallback)(function(e){b(e)},[]),h=(0,u.useCallback)(function(){b("")},[]);(0,u.useEffect)(function(){var e=function(){return b("")};return m.events.on("routeChangeStart",e),function(){m.events.off("routeChangeStart",e)}},[m.events]);var g=e||ec.p.searchWhenLoggedOut;return(0,y.jsxs)(y.Fragment,{children:[g&&o&&(0,y.jsx)("div",{className:"jsx-550350674 header-search-menu",children:(0,y.jsx)(j.default,{width:"450px",height:"464px",position:i?"left: 50%; transform: translateX(-50%);":"left:0",content:(0,y.jsx)(el,{searchKey:p,onClose:h,isSmallDesktop:i,onSearchChange:i?f:void 0}),isActive:!0,openContent:!!p,children:(0,y.jsx)("div",{className:"jsx-550350674 header-search-icon-wrap",children:i?(0,y.jsx)(s.Z,{name:"header-search",useDar
1kIcon:!0,alt:(0,c.bn)("搜索"),size:24}):(0,y.jsx)(W.Z,{width:180,prefix:!0,size:Z.$u.MD,placeholder:(0,c.bn)("搜索"),value:p,onChange:f})})})}),e?n?"":(0,y.jsx)(eu,{}):(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(r.z,{className:"login-btn",size:Z.$u.SM,outlined:!0,onClick:function(){var e=m.asPath;sessionStorage.setItem(d.Y5.LOGIN_REDIRECT,e),m.push("/login")},children:(0,c.bn)("登录")}),(0,y.jsx)(r.z,{className:"register-btn",type:"primary",size:Z.$u.SM,children:(0,y.jsx)(c.jH,{href:"/register","data-name":"register-btn",children:(0,c.bn)("注册")})})]}),(0,y.jsx)(a(),{id:"550350674",children:[".header-search-menu.jsx-550350674{display:inline-block;}",".header-search-menu.jsx-550350674 .header-search-icon-wrap.jsx-550350674{height:56px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}",".header-search-menu.jsx-550350674 .box{height:464px;max-height:464px;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}",".header-search-menu.jsx-550350674 .dropdown-panel-content{-webkit-flex:1;-ms-flex:1;flex:1;min-height:0;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow:hidden;}",".header-search-menu.jsx-550350674 .search-box{-webkit-flex:1;-ms-flex:1;flex:1;min-height:0;height:100%;}"]})]})}},83653:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var i=n(64254),a=n.n(i),r=n(38323),s=n(25675),o=n.n(s),l=n(67294),c=n(43631),d=n(95541),m=n(85893);function x(e){var t=e.children,n=e.height,i=e.width,s=e.position,x=e.content,p=e.showArrow,u=e.hot,b=e.isCommodity,f=e.isActive,h=e.isIcon,y=e.className,g=e.itemClassName,w=e.openContent,_=(e.boxRadius,e.menuType,e.onOpenChange),v=e.href,j=e.onClick,k=(0,c.Fg)().isDark,T=(0,l.useState)(!1),O=T[0],C=T[1];(0,l.useEffect)(function(){!1===w&&C(!1)},[w]);var E=O||!!w,S=(0,m.jsxs)(m.Fragment,{children:[t,u&&(0,m.jsx)(o(),{src:"/static/images/common/hot.svg",width:"16",height:"16",alt:"xxkk","aria-hidden":"true",className:"hot"}),p&&(0,m.jsx)(o(),{src:E?"/static/images/header/menu-triangle-up.svg":"/static/images/header/menu-triangle-down.svg",width:10,height:10,alt:"xxkk","aria-hidden":"true",className:(0,r.Wy)("menu-arrow",E&&"hovering")})]}),N=(0,m.jsxs)("div",{className:(0,r.Wy)(b?"commodity-menu-box":"box","dropdown-panel"),"data-theme":k?"dark":"light",children:[(0,m.jsx)("div",{className:"dropdown-panel-bg","aria-hidden":"true"}),(0,m.jsx)("div",{className:"dropdown-panel-content",children:x})]});return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{onMouseEnter:function(){C(!0),null==_||_(!0)},onMouseLeave:function(){C(!1),null==_||_(!1)},className:a().dynamic([["1661218535",[i,i,"auto"===n?"none":n,i,"auto"===n?"auto":n,b?"padding-top: 4px;":"",b?"":"padding-top: 4px;",s]]])+" "+((0,r.Wy)("header-menu",y)||""),children:[(0,m.jsx)("div",{className:a().dynamic([["1661218535",[i,i,"auto"===n?"none":n,i,"auto"===n?"auto":n,b?"padding-top: 4px;":"",b?"":"padding-top: 4px;",s]]])+" "+((0,r.Wy)("item",E&&"hovering",f&&"active-path",h&&"icon-item")||""),children:v?(0,m.jsx)(d.jH,{href:v,onClick:j,className:(0,r.Wy)("menu-trigger",g),children:S}):(0,m.jsx)("div",{className:a().dynamic([["1661218535",[i,i,"auto"===n?"none":n,i,"auto"===n?"auto":n,b?"padding-top: 4px;":"",b?"":"padding-top: 4px;",s]]])+" "+((0,r.Wy)("menu-trigger",g)||""),children:S})}),E&&(0,m.jsx)("div",{className:a().dynamic([["1661218535",[i,i,"auto"===n?"none":n,i,"auto"===n?"auto":n,b?"padding-top: 4px;":"",b?"":"padding-top: 4px;",s]]])+" dropdown-list",children:b?(0,m.jsx)("div",{className:a().dynamic([["1661218535",[i,i,"auto"===n?"none":n,i,"auto"===n?"auto":n,b?"padding-top: 4px;":"",b?"":"padding-top: 4px;",s]]])+" dropdown-panel-fixed",children:N}):N})]}),(0,m.jsx)(a(),{id:"1661218535",dynamic:[i,i,"auto"===n?"none":n,i,"auto"===n?"auto":n,b?"padding-top: 4px;":"",b?"":"padding-top: 4px;",s],children:[".header-menu.__jsx-style-dynamic-selector{height:100%;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-flex:none;-ms-flex:none;flex:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;cursor:pointer;}",".header-menu.__jsx-style-dynamic-selector .item.__jsx-style-dynamic-selector{height:100%;width:-webkit-max-content;width:-moz-max-content;width:max-content;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:color 0.3s;transition:color 0.3s;font-size:14px;font-weight:500;line-height:20px;color:var(--content_1,#fff);white-space:nowrap;}",".header-menu.__jsx-style-dynamic-selector .item.active-path.__jsx-style-dynamic-selector{color:var(--brand_default);}",".header-menu.__jsx-style-dynamic-selector .item.__jsx-style-dynamic-selector .menu-trigger{min-height:20px;width:-webkit-max-content;width:-moz-max-content;width:max-content;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;color:inherit;-webkit-text-decoration:none;text-decoration:none;}",".header-menu.__jsx-style-dynamic-selector .item.__jsx-style-dynamic-selector .menu-arrow{width:10px !important;height:10px !important;margin-inline-start:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;display:block;}",".header-menu.__jsx-style-dynamic-selector .icon-item.__jsx-style-dynamic-selector{padding:0;margin-inline-end:0;margin-inline-start:24px;}",".header-menu.__jsx-style-dynamic-selector .box,.header-menu.__jsx-style-dynamic-selector .commodity-menu-box{position:relative;width:".concat(i,";min-width:").concat(i,";max-height:").concat("auto"===n?"none":n,";border-radius:12px;overflow:hidden;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);border:1px solid var(--line_1);box-sizing:border-box;}"),".header-menu.__jsx-style-dynamic-selector .commodity-menu-box{max-width:".concat(i,";height:").concat("auto"===n?"auto":n,";}"),".header-menu.__jsx-style-dynamic-selector .dropdown-panel-bg{position:absolute;inset:0;z-index:0;border-radius:inherit;background:var(--bg_pop);opacity:0.9;pointer-events:none;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content{position:relative;z-index:1;height:100%;color:var(--content_1);}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .search-input svg path,.header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .input-prefix-portal svg path,.header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .prefix-icon{fill:var(--content_3) !important;color:var(--content_3) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .prev,.header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .next{background-color:var(--bg_1) !important;color:var(--content_1) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .kyc-status.no-valid,.header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .kyc-status.fail{background:var(--red_10) !important;color:var(--red) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .kyc-status.review{background:var(--yellow_10) !important;color:var(--yellow) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .kyc-status.success{background:var(--green_10) !important;color:var(--green) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .left-item.active,.header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .left-item:hover{background:var(--fill_default) !important;color:var(--content_1) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .empty-img-wrapper .ant-empty-description{color:var(--content_3) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .common-button.nui-outlined{background:transparent !important;color:var(--brand_default) !important;border-color:var(--brand_default) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .ant-tabs-tab-btn{color:var(--content_2) !important;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-content .ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--brand_default) !important;}",".header-menu.__jsx-style-dynamic-selector .box:not(:has(.dropdown-panel-content *)),.header-menu.__jsx-style-dynamic-selector .commodity-menu-box:not(:has(.dropdown-panel-content *)){display:none;border:none;box-shadow:none;min-width:0;}",".header-menu.__jsx-style-dynamic-selector .dropdown-panel-fixed{position:fixed;".concat(b?"padding-top: 4px;":"",";}"),".header-menu.__jsx-style-dynamic-selector .dropdown-list{position:absolute;top:100%;z-index:999;".concat(b?"":"padding-top: 4px;"," ").concat(s,";}")]})]})}},89887:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(50029),a=n(64687),r=n.n(a),s=n(24203),o=n(95541),l=n(97126),c=n(38323),d=n(67294),m=n(76232),x=(0,n(31993).U)(function(e){return{symbolStatus:0,togglesymbolStatus:function(){return e(function(e){return{symbolStatus:e.symbolStatus?0:1}})}}}),p=n(85893),u=d.memo(function(e){var t,n,a=e.code,u=e.type,b=e.onFavorite,f=e.inQuoteList,h=void 0!==f&&f,y=e.width,g=e.height,w=e.favoriteIds,_=(0,d.useState)(!1),v=_[0],j=_[1],k=x(),T=k.togglesymbolStatus,O=k.symbolStatus,C=null!==(n=null==w?void 0:w.join("\x00"))&&void 0!==n?n:"";(0,d.useEffect)(function(){if(void 0!==w){j(w.includes(a));return}var e,t=(e=(0,i.Z)(r().mark(function e(){var t;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.Favors.getInstance();case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:j(t.isFavor(a));case 6:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});return t(),s.vR.addListener(s.vR.Update,t),function(){s.vR.removeListener(s.vR.Update,t)}},[a,O,C]);var E=(t=(0,i.Z)(r().mark(function e(t){var n,i,s;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l.Account.isLogin){e.next=3;break}return c.yw.error((0,o.bn)("请先登录")),e.abrupt("return");case 3:return e.next=5,l.Favors.getInstance();case 5:return n=e.sent,e.next=8,n.toggleFavors(t,u);case 8:if(!e.sent){e.next=18;break}return e.next=12,n.isFavor(a);case 12:i=e.sent,c.yw.success(i?(0,o.bn)("收藏成功!"):(0,o.bn)("取消收藏!")),j(i),s=n.getFavorsList(),null==b||b(s),a===t&&T();case 18:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),S=v?(0,o.bn)("取消收藏"):(0,o.bn)("添加到收藏");return(0,p.jsx)("button",{type:"button",className:"nui-icon-btn star_icon",onClick:function(e){e.preventDefault(),e.stopPropagation(),E(a)},"aria-label":S,"aria-pressed":v,children:(0,p.jsx)(m.Z,{name:v?"common-star-active-0":"common-star",width:h?void 0===y?14:y:20,height:h?void 0===g?14:g:20,enableSkin:!0,decorative:!0})})})},2128:function(e,t,n){"use strict";n.d(t,{g:function(){return h},Z:function(){return y}});var i,a=n(64254),r=n.n(a),s=n(38323),o=n(17973),l=n(67294),c=n(59499),d=n(95541),m=n(85893);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?x(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=function(e){var t=e.active,n=e.value,i=e.children,a=e.onClick,c=e.className,x=e.id,u=e.href,f=e.query,h=e.native,y=e.theme,g=(0,o.Z)().isRTL,w=(0,l.useCallback)(function(){null==a||a(n)},[a,n]),_=(0,l.useCallback)(function(e){a&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),a(n))},[a,n]),v=(0,s.Wy)("tab",c,t&&"active",g&&"rtl"),j={role:"tab",id:x,"aria-selected":t,tabIndex:t?0:-1};return u?(0,m.jsxs)("div",{className:"jsx-".concat(b.__hash)+" "+(v||""),children:[(0,m.jsx)("div",{className:"jsx-".concat(b.__hash),children:(0,m.jsx)(d.jH,p(p({},j),{},{href:u,query:f,native:h,theme:y,prefetch:!1,children:i}))}),(0,m.jsx)(r(),{id:b.__hash,children:b})]}):(0,m.jsxs)("div",p(p({},j),{},{onClick:a?w:void 0,onKeyDown:a?_:void 0,className:"jsx-".concat(b.__hash)+" "+(v||""),children:[(0,m.jsx)("div",{className:"jsx-".concat(b.__hash),children:i}),(0,m.jsx)(r(),{id:b.__hash,children:b})]}))},b=[".tab.jsx-1743214018{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;color:var(--content_2);font-size:14px;font-weight:400;}",".tab.xs.jsx-1743214018{font-size:12px;}",".tab.xs.line.jsx-1743214018{padding:8px 0;}",".tab.sm.jsx-1743214018{font-size:14px;}",".tab.sm.line.jsx-1743214018{padding:8px 0;}",".tab.lg.jsx-1743214018{font-size:14px;}",".tab.lg.line.jsx-1743214018{padding:10px 0;}",".tab.xl.jsx-1743214018{font-size:16px;}",".tab.xl.line.jsx-1743214018{padding:16px 0;}",".tab.jsx-1743214018>div.jsx-1743214018{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;}","@media ".concat(s.a$.mobile,"{.tab.jsx-1743214018>div.jsx-1743214018{height:auto;}}"),".tab.jsx-1743214018>div.jsx-1743214018 a{color:inherit;-webkit-text-decoration:none;text-decoration:none;}",".tab.jsx-1743214018>div.jsx-1743214018 a:link,.tab.jsx-1743214018>div.jsx-1743214018 a:visited,.tab.jsx-1743214018>div.jsx-1743214018 a:hover,.tab.jsx-1743214018>div.jsx-1743214018 a:active,.tab.jsx-1743214018>div.jsx-1743214018 a:focus{color:inherit;-webkit-text-decoration:none;text-decoration:none;}",".tab.active.jsx-1743214018{font-weight:500;}",".tab.active.jsx-1743214018>div.jsx-1743214018{color:var(--content_1);}",'.tab.line.active.jsx-1743214018::after{content:"";display:block;position:absolute;bottom:0;width:37.5%;height:3px;background:var(--brand_default);}',".tab.card.jsx-1743214018>div.jsx-1743214018{padding:8px 16px;border-radius:6px;border:1px solid var(--line_1);}","@media ".concat(s.a$.mobile,"{.tab.card.jsx-1743214018>div.jsx-1743214018{padding:5px 8px;}}"),".tab.card.active.jsx-1743214018>div.jsx-1743214018{color:var(--content_1);background:var(--fill_default);border:1px solid var(--fill_default);}",".tab.line.jsx-1743214018{padding:12px 0;}"];b.__hash="1743214018";var f=n(74862),h=((i={}).LINE="line",i.CARD="card",i.TEXT="text",i),y=function(e){var t=e.children,n=e.className,i=e.options,a=e.renderTab,c=e.value,d=e.onChange,x=e.tabClassName,p=e.type,b=void 0===p?h.LINE:p,y=e.size,g=void 0===y?f.$u.DEFAULT:y,w=e.showBorder,_=e["aria-label"],v=(0,o.Z)().isRTL,j=(0,l.useRef)(null),k=(0,l.useCallback)(function(e,t){var n="",i="";"string"==typeof e?(n=e,i="".concat(t)):(n=e.label,i=e.value);var a=i===c,r=(0,s.Wy)(x,b,g),o="tab-".concat(i);return"string"!=typeof e&&e.href?(0,m.jsx)(u,{id:o,active:a,value:i,className:r,href:e.href,query:e.query,native:e.native,theme:e.theme,children:n},t):(0,m.jsx)(u,{id:o,active:a,value:i,onClick:d,className:r,children:n},t)},[c,d,x,b,g]),T=(0,l.useCallback)(function(e){var t,n,i=e.key;if("ArrowLeft"===i||"ArrowRight"===i||"Home"===i||"End"===i){var a=Array.from(null!==(t=null===(n=j.current)||void 0===n?void 0:n.querySelectorAll('[role="tab"]'))&&void 0!==t?t:[]);if(a.length){var r=a.findIndex(function(e){return e===document.activeElement});if(!(r<0)){var s=r;s="Home"===i?0:"End"===i?a.length-1:(r+("ArrowRight"===i?v?-1:1:v?1:-1)+a.length)%a.length,e.preventDefault();var o=a[s];null==o||o.focus(),null==o||o.click()}}}},[v]);return(0,m.jsxs)("div",{className:r().dynamic([["2454654339",[s.a$.mobile,s.a$.mobile,b===h.CARD?16:24]]])+" "+((0,s.Wy)("tab-bar",!(void 0!==w&&w)&&"border-none",n
1)||""),children:[(0,m.jsx)("div",{ref:j,role:"tablist","aria-label":_,onKeyDown:T,className:r().dynamic([["2454654339",[s.a$.mobile,s.a$.mobile,b===h.CARD?16:24]]])+" tabs",children:i.map(a||k)}),t,(0,m.jsx)(r(),{id:"2454654339",dynamic:[s.a$.mobile,s.a$.mobile,b===h.CARD?16:24],children:[".tab-bar.__jsx-style-dynamic-selector{position:relative;z-index:99;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid var(--line_1,#1b1b1b);}","@media ".concat(s.a$.mobile,"{.tab-bar.__jsx-style-dynamic-selector{padding:0 10px;z-index:1;}}"),".tab-bar.__jsx-style-dynamic-selector::-webkit-scrollbar{height:0;}",".tab-bar.__jsx-style-dynamic-selector .border-none.__jsx-style-dynamic-selector{border-style:unset;}",".tab-bar.__jsx-style-dynamic-selector .tabs.__jsx-style-dynamic-selector{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}","@media ".concat(s.a$.mobile,"{.tab-bar.__jsx-style-dynamic-selector .tabs.__jsx-style-dynamic-selector{padding:0;overflow-x:scroll;width:-webkit-max-content;width:-moz-max-content;width:max-content;}}"),".tab-bar.__jsx-style-dynamic-selector .tabs.__jsx-style-dynamic-selector{gap:".concat(b===h.CARD?16:24,"px;}")]})]})}},24203:function(e,t,n){"use strict";n.d(t,{vR:function(){return i.v},Ub:function(){return p},di:function(){return a.d}});var i=n(84284),a=n(19834),r=n(82262),s=n(92777),o=n(10748),l=n(45959),c=n(63553),d=n(37247),m=n(59499),x=n(26729),p=new(function(e){(0,l.Z)(i,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}(),function(){var e,n=(0,d.Z)(i);if(t){var a=(0,d.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,c.Z)(this,e)});function i(){var e;(0,s.Z)(this,i);for(var t=arguments.length,a=Array(t),r=0;r<t;r++)a[r]=arguments[r];return e=n.call.apply(n,[this].concat(a)),(0,m.Z)((0,o.Z)(e),"ORDER_BOOK_ITEM_PRICE","ORDER_BOOK_ITEM_PRICE"),e}return(0,r.Z)(i)}(n.n(x)()))},44272:function(e,t,n){"use strict";n.d(t,{Os:function(){return a.Os},h:function(){return r},q6:function(){return a.q6}});var i=n(88926),a=n(31413),r=(0,i.oj)({currentId:a.q6.PERPETUAL,secondItem:{id:"3-1",name:"U本位合约"},thirdItem:{id:"2-1-1",name:"All",code:"All"},currentView:a.Os.TABLE,searchValue:"",marketDetailList:{}})},31413:function(e,t,n){"use strict";n.d(t,{Ni:function(){return u},Os:function(){return d},RN:function(){return p},dR:function(){return h},fs:function(){return b},jr:function(){return x},kJ:function(){return f},q6:function(){return m}});var i,a,r,s,o,l,c,d=((i={})[i.TABLE=0]="TABLE",i[i.FEEDS=1]="FEEDS",i[i.ITB=2]="ITB",i),m=((a={}).FAVORITE="1",a.SPOT_GOODS="2",a.PERPETUAL="3",a.LITE="4",a.ETF="5",a),x=((r={}).SPOT="1-1",r.SWAP_USDT="1-2",r.SWAP_COIN="1-3",r.LITE="1-4",r.ETF="1-5",r.SWAP_USDC="1-6",r),p={"1-1":"spot","1-2":"swap_usdt","1-3":"swap_coin","1-4":"lite","1-5":"etf","1-6":"swap_usdc"},u=((s={}).USDT="2-1",s.USDC="2-2",s.FIAT="2-3",s),b=((o={}).SWAP_USDT="3-1",o.SWAP_COIN="3-2",o.SWAP_USDC="3-3",o),f=((l={}).ALL="4-1",l.CRYPTO="4-2",l.DERIV="4-3",l.USTOCK="4-4",l.HKSTOCK="4-5",l.COPY_ORDER="4-6",l),h=((c={}).USDT="5-1",c)},83198:function(e,t,n){"use strict";n.d(t,{DG:function(){return j},_l:function(){return _}});var i=n(90116),a=n(50029),r=n(64687),s=n.n(r),o=n(97126);function l(e){return e<10?"0"+e:e}var c="OKEX",d={isOpening:function(e,t){if(!e)return!1;if(e.exchange===c||e.coins&&!["forex","hstock","ustock"].includes(e.zone))return!0;var n=m(t||new Date);return!this._isHoliday(e,n)&&!this._isTradeClose(e,n)},_isTradeClose:function(e,t){var n=this._buildTradeTimeVo(e,t),i=!1;if(h(t,n.amTradeTime,n.amCloseTime)?h(t,n.amTradeTime,n.amWarningTime)||(i=!0):h(t,n.pmTradeTime,n.pmCloseTime)?h(t,n.pmTradeTime,n.pmWarningTime)||(i=!0):h(t,n.niteTradeTime,n.niteCloseTime)&&h(t,n.niteTradeTime,n.niteWarningTime)||(i=!0),this._isWeekendEnableTrade(e))i=!1;else{var a=f(t,n.amOpenTime)>=0;y(n.amOpenTime)&&a&&(i=!0)}return i},_buildTradeTimeVo:function(e,t){var n=function(e){var t,n,i,a,r,s,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=o.date,d=o.isUTC;return(c=Number(c)||c,e)?(c=c?new Date(c):new Date,d?(t=c.getFullYear(),n=l(c.getUTCMonth()+1),i=l(c.getUTCDate()),a=l(c.getUTCHours()),r=l(c.getUTCMinutes()),s=l(c.getUTCSeconds())):(t=c.getFullYear(),n=l(c.getMonth()+1),i=l(c.getDate()),a=l(c.getHours()),r=l(c.getMinutes()),s=l(c.getSeconds())),e.replace("y",String(t)).replace("m",String(n)).replace("d",String(i)).replace("h",String(a)).replace("i",String(r)).replace("s",String(s))):null}("y-m-d",{date:u(t,-Number(e.delayHours||0))}),i=p(n,e.amOpenTime),a=p(n,e.amTradeTime),r=p(n,e.amWarningTime),s=p(n,e.amClearingTime),o=p(n,e.amCloseTime),c=p(n,e.pmOpenTime),d=p(n,e.pmTradeTime),m=p(n,e.pmWarningTime),x=p(n,e.pmClearingTime),h=p(n,e.pmCloseTime),y=p(n,e.niteOpenTime),g=p(n,e.niteTradeTime),w=p(n,e.niteWarningTime),_=p(n,e.niteClearingTime),v=p(n,e.niteCloseTime);return 0>f(v,y)?0>f(t,i)?(i=b(i,-1),a=b(a,-1),r=b(r,-1),s=b(s,-1),o=b(o,-1),c=b(c,-1),d=b(d,-1),m=b(m,-1),x=b(x,-1),h=b(h,-1),y=b(y,-1),g=b(g,-1)):f(t,i)>0&&(w=b(w,1),_=b(_,1),v=b(v,1)):f(v,y)>
10&&0>f(y,c)&&(0>f(t,i)?(i=b(i,-1),a=b(a,-1),r=b(r,-1),s=b(s,-1),o=b(o,-1),c=b(c,-1),d=b(d,-1),m=b(m,-1),x=b(x,-1),h=b(h,-1)):f(t,i)>0&&(y=b(y,1),g=b(g,1),w=b(w,1),_=b(_,1),v=b(v,1))),{amOpenTime:i,amTradeTime:a,amWarningTime:r,amClearingTime:s,amCloseTime:o,pmOpenTime:c,pmTradeTime:d,pmWarningTime:m,pmClearingTime:x,pmCloseTime:h,niteOpenTime:y,niteTradeTime:g,niteWarningTime:w,niteClearingTime:_,niteCloseTime:v}},_isWeekendEnableTrade:function(e){return e.exchange===c},_isHoliday:function(e,t){var n=e.holiday,i=t||new Date;return!!n&&!!n.split(";").find(function(t){var n=t.trim();if(!n)return!1;try{if(/^\d{4}-\d{2}-\d{2}$/.test(n)){var a=new Date(g("".concat(n," 00:00:00"))),r=new Date(g("".concat(n," 23:59:59")));return f(i,a)>=0&&0>=f(i,r)}var s=n.split(","),o=new Date(g(s[0].trim())),l=new Date(g(s[1].trim()));return f(i,o)>=0&&0>=f(i,l)}catch(t){return console.warn("交易商品[".concat(e.code,"]节假日格式错误"),t),!1}})}},m=function(e){return"string"==typeof e?new Date(g(e)):x(e instanceof Date?e:new Date(e),"Asia/Shanghai")},x=function(e,t){var n=new Intl.DateTimeFormat("en-US",{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(e),i=function(e){var t;return Number((null===(t=n.find(function(t){return t.type===e}))||void 0===t?void 0:t.value)||0)};return new Date(i("year"),i("month")-1,i("day"),i("hour"),i("minute"),i("second"))},p=function(e,t){return new Date(g("".concat(e," ").concat(t||"00:00:00")))},u=function(e,t){var n=new Date(e.getTime());return n.setHours(n.getHours()+t),n},b=function(e,t){var n=new Date(e.getTime());return n.setDate(n.getDate()+t),n},f=function(e,t){var n,i,a=(null==e||null===(n=e.getTime)||void 0===n?void 0:n.call(e))||0,r=(null==t||null===(i=t.getTime)||void 0===i?void 0:i.call(t))||0;return a>r?1:a<r?-1:0},h=function(e,t,n){return f(e,t)>=0&&0>f(e,n)},y=function(e){var t=e.getDay();return 0===t||6===t},g=function(e){var t,n,i,a,r,s,o;return"ios"==(t=navigator.userAgent,n=/(?:Windows Phone)/.test(t),i=/(?:SymbianOS)/.test(t)||n,a=/(?:Android)/.test(t),r=/(?:Firefox)/.test(t),s=/(?:iPad|PlayBook)/.test(t)||a&&!/(?:Mobile)/.test(t)||r&&/(?:Tablet)/.test(t),o=/(?:iPhone)/.test(t)&&!s,a?"android":o?"ios":s?"pad":o||a||i?"h5":"pc")?e.replace(/-/gm,"/"):e};function w(){return(w=(0,a.Z)(s().mark(function e(t){var n,i,a,r;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.TradeMap.getLiteById(t);case 2:if(!(n=e.sent)){e.next=5;break}return e.abrupt("return",n.id);case 5:return e.next=7,o.Group.getInstance();case 7:return i=e.sent,a=null==t?void 0:t.toUpperCase(),r=i.getLiteList.find(function(e){var t,n;return(null===(t=e.id)||void 0===t?void 0:t.toUpperCase())===a||(null===(n=e.quoteCode)||void 0===n?void 0:n.toUpperCase())===a}),e.abrupt("return",null==r?void 0:r.id);case 11:case"end":return e.stop()}},e)}))).apply(this,arguments)}function _(e){return v.apply(this,arguments)}function v(){return(v=(0,a.Z)(s().mark(function e(t){var n,i;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,function(e){return w.apply(this,arguments)}(t);case 2:if(n=e.sent){e.next=5;break}return e.abrupt("return",!0);case 5:return e.next=7,o.TradeMap.getLiteById(n);case 7:if(i=e.sent){e.next=10;break}return e.abrupt("return",!0);case 10:return e.abrupt("return",d.isOpening(i.toOpeningContract(),void 0));case 11:case"end":return e.stop()}},e)}))).apply(this,arguments)}function j(e){return k.apply(this,arguments)}function k(){return(k=(0,a.Z)(s().mark(function e(t){var n,r;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,i.Z)(new Set(t.filter(Boolean))),e.next=3,Promise.all(n.map(function(){var e=(0,a.Z)(s().mark(function e(t){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=t,e.next=3,_(t);case 3:return e.t1=e.sent,e.abrupt("return",[e.t0,e.t1]);case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()));case 3:return r=e.sent,e.abrupt("return",Object.fromEntries(r));case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}},74300:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var i=s(n(20640)),a=s(n(67294)),r=["text","onCopy","options","children"];function s(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,b(i.key),i)}}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t,n){return(t=b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=o(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var f=t.CopyToClipboard=function(e){var t,n;function s(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s);for(var e,t,n,r=arguments.length,l=Array(r),c=0;c<r;c++)l[c]=arguments[c];return t=s,n=[].concat(l),t=x(t),u(e=function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,m()?Reflect.construct(t,n||[],x(this).constructor):t.apply(this,n)),"onClick",function(t){var n=e.props,r=n.text,s=n.onCopy,o=n.children,l=n.options,c=a.default.Children.only(o),d=(0,i.default)(r,l);s&&s(r,d),null!=c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(t)}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&p(e,t)}(s,e),t=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,r),i=a.default.Children.only(t);return a.default.cloneElement(i,c(c({},n),{},{onClick:this.onClick}))}}],d(s.prototype,t),n&&d(s,n),Object.defineProperty(s,"prototype",{writable:!1}),s}(a.default.PureComponent);u(f,"defaultProps",{onCopy:void 0,options:void 0})},74855:function(e,t,n){"use strict";var i=n(74300).CopyToClipboard;i.CopyToClipboard=i,e.exports=i},76362:function(e,t,n){"use strict";n.d(t,{S1:function(){return r},ZT:function(){return i},jU:function(){return s},on:function(){return a}});var i=function(){};function a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var s="undefined"!=typeof window},91291:function(e,t,n){"use strict";var i=n(67294),a=n(76362),r=function(e){var t=window.history,n=t[e];t[e]=function(t){var i=n.apply(this,arguments),a=new Event(e.toLowerCase());return a.state=t,window.dispatchEvent(a),i}};a.jU&&(r("pushState"),r("replaceState"));var s=function(e){var t=window.history,n=t.state,i=t.length,a=window.location;return{trigger:e,state:n,length:i,hash:a.hash,host:a.host,hostname:a.hostname,href:a.href,origin:a.origin,pathname:a.pathname,port:a.port,protocol:a.protocol,search:a.search}},o="function"==typeof Event;t.Z=a.jU&&o?function(){var e=(0,i.useState)(s("load")),t=e[0],n=e[1];return(0,i.useEffect)(function(){var e=function(){return n(s("popstate"))},t=function(){return n(s("pushstate"))},i=function(){return n(s("replacestate"))};return(0,a.on)(window,"popstate",e),(0,a.on)(window,"pushstate",t),(0,a.on)(window,"replacestate",i),function(){(0,a.S1)(window,"popstate",e),(0,a.S1)(window,"pushstate",t),(0,a.S1)(window,"replacestate",i)}},[]),t}:function(){return{trigger:"load",length:1}}},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],i=0;i<e.rangeCount;i++)n.push(e.getRangeAt(i));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEac
1h(function(t){e.addRange(t)}),t&&t.focus()}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.