forked from Romeo-Rosete/EXCHANGE-SECURITY
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path8270-24b1e27369f8b74.js.download
1 lines (1 loc) · 19.2 KB
/
8270-24b1e27369f8b74.js.download
1
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8270],{33243:function(n,e,r){r.d(e,{Z:function(){return f}});var i=r(95210),o=r(51012),t=r(75190),c=r(47998),a=r(52322),l=r(2784),s=r(82740),d=r(72779),h=r.n(d),p=r(31504);function u(){var n=(0,t.Z)(["\n display: block;\n background-position: center;\n background-repeat: no-repeat;\n background-size: contain;\n width: 120px;\n\n &.cmc-app-store-badge--ios {\n background-image: url('","');\n height: 36px;\n }\n\n &.cmc-app-store-badge--android {\n background-image: url('","');\n height: 36px;\n }\n\n &.cmc-app-store-badge--huawei {\n background-image: url('","');\n height: 36px;\n }\n"]);return u=function(){return n},n}var x=s.ZP.div.withConfig({componentId:"sc-8e0ba05a-0"})(u(),(function(n){return(0,p.ZP)("/cloud/img/".concat(n.theme.footer.badgeImageFilename))}),(0,p.ZP)("/cloud/img/google_play_badge_1.png"),(0,p.ZP)("/cloud/img/huawei-app-gallery.svg")),f=function(n){(0,o.Z)(r,n);var e=(0,c.Z)(r);function r(){return(0,i.Z)(this,r),e.apply(this,arguments)}return r.prototype.render=function(){var n=this.props,e=n.android,r=n.ios,i=n.huawei;return(0,a.jsx)(x,{className:h()({"cmc-app-store-badge":!0,"cmc-app-store-badge--android":e,"cmc-app-store-badge--ios":r,"cmc-app-store-badge--huawei":i})})},r}(l.Component)},55162:function(n,e,r){r.d(e,{Z:function(){return C}});var i=r(75190),o=r(52322),t=r(87681),c=r(82740),a=r(66366),l=r(33243),s=r(25084),d=r(86454),h=r(31504),p=r(2784),u=r(20194),x=r(15798),f=r.n(x),g=r(25237),m=r.n(g);var v=r(3070);function j(){var n=(0,i.Z)(["\n flex: 1 1 30%;\n text-align: end;\n @media (min-width: ","px) and (max-width: ","px) {\n flex: 1 1 45%;\n }\n @media (max-width: ","px) {\n text-align: start;\n }\n\n .qr-image {\n height: 36px;\n margin-inline-start: 6px;\n border: 1px solid var(--control-caret-color);\n border-radius: 6px;\n background: #000;\n }\n"]);return j=function(){return n},n}function w(){var n=(0,i.Z)(["\n display: block;\n max-width: 300px;\n padding: 16px;\n border-radius: 32px;\n background-color: var(--control-background-color);\n text-align: start;\n\n .title {\n font-size: 15px;\n line-height: 1.2;\n margin-bottom: 8px;\n font-weight: 600;\n }\n\n .subtitle {\n font-size: 12px;\n color: var(--text-color-sub);\n font-weight: 400;\n margin-bottom: 12px;\n }\n\n .qr-code {\n width: 268px;\n height: 268px;\n }\n}\n"]);return w=function(){return n},n}var b=function(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return(0,o.jsx)("span",{children:f().text.loading})};return m()(n,{loading:r,ssr:e})}((function(){return Promise.all([r.e(39721),r.e(54382)]).then(r.bind(r,54382))}),!1,(function(){return(0,o.jsx)("div",{style:{width:42,height:36}})})),Z=c.ZP.div.withConfig({componentId:"sc-91c43c0b-0"})(j(),t.AV.SMALL_MIN,t.AV.MEDIUM_MIN,t.AV.SMALL_MIN),y=c.ZP.div.withConfig({componentId:"sc-91c43c0b-1"})(w());function k(n){var e=n.children,r=(0,u.Z)().t,i=(0,p.useState)(!1),t=i[0],c=i[1];return(0,v.ZP)()?e:(0,o.jsx)(b,{trigger:"hover",placement:"top",visible:t,content:(0,o.jsxs)(y,{children:[(0,o.jsx)("div",{className:"title",children:r("Scan QR Code to download our App")}),(0,o.jsx)("div",{className:"subtitle",children:r("Available in App Store and Google Play")}),(0,o.jsx)("img",{className:"qr-code",src:(0,h.ZP)("/cloud/img/app-download-qr.png"),loading:"lazy",decoding:"async",fetchpriority:"low"})]}),children:(0,o.jsx)("div",{onMouseEnter:function(){return c(!0)},onMouseLeave:function(){c(!1)},children:e})})}var C=function(n){var e=n.showHuawei,r=void 0!==e&&e,i=n.style,t=void 0===i?void 0:i,c=function(n){return function(){return s.ZP.sendEvent({category:"Download universal link",action:n})}};return(0,o.jsxs)(Z,{style:t,children:[(0,o.jsx)(d.S,{className:"cmc-app-store-badge",href:"https://itunes.apple.com/app/coinmarketcap/id1282107098?ls=1&mt=8",children:(0,o.jsx)(a.Z,{rootMargin:"200px",children:(0,o.jsx)(k,{children:(0,o.jsx)("div",{onClick:c("app store"),children:(0,o.jsx)(l.Z,{ios:!0})})})})}),(0,o.jsx)(d.S,{className:"cmc-app-store-badge",href:"https://play.google.com/store/apps/details?id=com.coinmarketcap.android&hl=en_US",children:(0,o.jsx)(a.Z,{rootMargin:"200px",children:(0,o.jsx)(k,{children:(0,o.jsx)("div",{onClick:c("google play"),children:(0,o.jsx)(l.Z,{android:!0})})})})}),r&&(0,o.jsx)(d.S,{className:"cmc-app-store-badge",href:"https://appgallery.huawei.com/#/app/C105943115?locale=en",children:(0,o.jsx)(a.Z,{rootMargin:"200px",children:(0,o.jsx)(k,{children:(0,o.jsx)("div",{onClick:c("huawei appgallery"),children:(0,o.jsx)(l.Z,{huawei:!0})})})})}),!(0,v.ZP)()&&(0,o.jsx)(d.S,{className:"cmc-app-store-badge",children:(0,o.jsx)(a.Z,{rootMargin:"200px",children:(0,o.jsx)(k,{children:(0,o.jsx)("img",{width:36,height:36,className:"qr-image",src:(0,h.ZP)("/cloud/img/qr-code-button.svg")})})})})]})}},86454:function(n,e,r){r.d(e,{S:function(){return H},Z:function(){return Y}});var i=r(62230),o=r(85244),t=r(98240),c=r(75190),a=r(52322),l=r(2784),s=r(2883),d=r(49948),h=r(82740),p=r(96664),u=r(38789),x=r(46694),f=r(15798),g=r.n(f),m=r(29101),v=r(87681),j=r(98580),w=r(57472),b=r(8112),Z=r(62463),y=r(95210),k=r(51012),C=r(47998),P=r(72779),q=r.n(P),M=r(31504);function I(){var n=(0,c.Z)(["\n position: relative;\n background-image: url('","');\n display: inline-block;\n background-position: center;\n background-repeat: no-repeat;\n background-size: contain;\n width: 239px;\n height: 41px;\n\n &.cmc-logo--size-large {\n width: 263px;\n height: 45px;\n }\n"]);return I=function(){return n},n}var L,N=h.ZP.div.withConfig({componentId:"sc-93077fa0-0"})(I(),(function(n){return(0,M.ZP)("/cloud/img/".concat(n.theme.logo[n.isColorGrey?"greyImageFilename":"regularImageFilename"]))})),R=function(n){(0,k.Z)(r,n);var e=(0,C.Z)(r);function r(){return(0,y.Z)(this,r),e.apply(this,arguments)}return r.prototype.render=function(){var n=this.props,e=n.isColorGrey,r=n.isSizeLarge,i=n.christmas,o=void 0!==i&&i;return(0,a.jsx)(N,{isColorGrey:e,className:q()({"cmc-logo":!0,"cmc-logo--color-grey":e,"cmc-logo--size-large":r}),christmas:o})},r}(l.Component),S=r(25883),_=r(55162);function A(){var n=(0,c.Z)(["\n background: ",";\n padding-top: ",";\n padding-bottom: ",";\n color: ",";\n border-top: 1px solid ",";\n //padding: 48px calc((100vw - 1400px) / 2) 38px calc((100vw - 1400px) / 2);\n font-style: normal;\n /* max-width: 1400px; */\n //margin: 0 auto;\n ","\n z-index: ",";\n position: relative;\n ul {\n padding-left: 0;\n list-style: none;\n li {\n line-height: 35px;\n position: relative;\n }\n }\n .cmc-app-store-badge {\n display: inline-block;\n height: 37px;\n }\n .footer-meta {\n padding-top: 66px;\n width: 100%;\n\n "," {\n display: flex;\n }\n\n "," {\n padding-top: 50px;\n }\n }\n .cmc-logo {\n height: 32px;\n background-position: left;\n }\n .tips {\n height: 22px;\n background: ",";\n color: #ffffff;\n line-height: 17px;\n border-radius: 40px;\n font-size: 11px;\n padding: 2px 12px;\n margin-inline-start: 5px;\n }\n\n /* media queries */\n "," {\n "," {\n .tips {\n position: absolute;\n top: 5px;\n right: 0px;\n }\n }\n }\n\n "," {\n "," {\n .tips {\n position: relative;\n }\n }\n }\n"]);return A=function(){return n},n}function F(){var n=(0,c.Z)(["\n flex: 1 1 50%;\n "," {\n flex: 1 1 100% !important;\n margin-bottom: 35px;\n }\n"]);return F=function(){return n},n}function T(){var n=(0,c.Z)(["\n flex: 1 1 50%;\n\n "," {\n "," {\n flex: 1 1 100%;\n }\n }\n\n "," {\n .footer-row {\n overflow: hidden;\n }\n }\n"]);return T=function(){return n},n}function z(){var n=(0,c.Z)(["\n flex: 1 1 70%;\n font-weight: 500;\n font-size: 14px;\n line-height: 21px;\n color: ",";\n\n "," {\n "," {\n flex: 1 1 55%;\n }\n }\n\n "," {\n margin-bottom: 20px;\n }\n"]);return z=function(){return n},n}function W(){var n=(0,c.Z)(["\n float: left;\n width: 25%;\n\n "," {\n width: 50%;\n padding-bottom: 35px;\n }\n\n padding-right: 10px;\n box-sizing: border-box;\n span {\n display: inline-block;\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n padding-bottom: 18px;\n padding-top: 5px;\n }\n a {\n font-weight: 500;\n font-size: 14px;\n }\n a:not(:hover) {\n color: ","!important;\n }\n"]);return W=function(){return n},n}var G=h.ZP.footer.withConfig({componentId:"sc-49c4b886-0"})(A(),u.colorBackground2,u.space600,u.space600,u.colorTextPrimary,u.colorGray200,(function(n){return null!==(L=n.sx)&&void 0!==L?L:{}}),v.W5.FOOTER,p[u.mqMd].up,p[u.mqMd].down,u.colorBlue,p[u.mq2xl].down,p[u.mqXl].up,p[u.mqXl].down,p[u.mqLg].up),E={display:"flex",flexFlow:"row wrap",padding:"0px ".concat(u.space300)},D=h.ZP.div.withConfig({componentId:"sc-49c4b886-1"})(F(),p[u.mqXl].down),O=h.ZP.div.withConfig({componentId:"sc-49c4b886-2"})(T(),p[u.mqLg].up,p[u.mqXl].down,p[u.mqMd].down),X=h.ZP.div.withConfig({componentId:"sc-49c4b886-3"})(z(),u.colorGray500,p[u.mqMd].up,p[u.mqLg].down,p[u.mqMd].down),B=h.ZP.div.attrs((function(n){return{className:"footer-list-wrapper"}})).withConfig({componentId:"sc-49c4b886-4"})(W(),p[u.mqMd].down,u.colorGray500),H=function(n){var e=n.children,r=(0,t.Z)(n,["children"]);return(0,a.jsx)(S.Z,(0,o.Z)((0,i.Z)({gaConfig:{category:"Footer"},target:"_blank"},r),{children:e}))},V=function(n){var e=n.children,r=(0,t.Z)(n,["children"]);return(0,a.jsx)(H,(0,o.Z)((0,i.Z)({useAnchor:!0},r),{children:e}))},U=["ru","id","de","vi","tr","pt-br","es","uk","th"],Y=(0,s.Z)({on:["visible"]})((0,d.connect)((function(n){return{theme:n.app.theme}}))((0,b.GV)()((function(n){var e,r=n.t,i=n.sx,o=void 0===i?{}:i,t=(0,m.qL)().language;return(0,a.jsx)(G,{sx:o,"data-role":"global-footer",children:(0,a.jsxs)(x.Z,{sx:E,children:[(0,a.jsx)(D,{children:(0,a.jsx)(R,{})}),(0,a.jsxs)(O,{children:[(0,a.jsxs)("div",{className:"footer-row",children:[!(0,w.yx)(t)&&(0,a.jsxs)(B,{children:[(0,a.jsx)("span",{children:r("Products")}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://coinmarketcap.com/events/cmc-labs/",rel:"noopener",children:r("CMC Labs")})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://coinmarketcap.com/events/cmc-plugin-chatgpt/",rel:"noopener",children:r("ChatGPT Plugin",{ns:"common"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://coinmarketcap.com/api/",rel:"noopener",children:r("Crypto API")})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://coinmarketcap.com/indices/",rel:"noopener",children:r("Crypto Indices")})}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/doodles/",rel:"noopener",children:r("Doodles")})}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/sitemap/cryptocurrencies/",rel:"noopener",children:r("Sitemap")})}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"https://coinmarketcap.com/events/advertise/",rel:"noopener",children:r("Advertise")})})]})]}),(0,a.jsxs)(B,{children:[(0,a.jsx)("span",{children:r("Company")}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/about/",children:r("About us")})}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/terms/",children:r("Terms of use")})}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/privacy/",children:r("Privacy Policy")})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{onClick:function(n){var e;n.preventDefault(),null===(e=window.OneTrust)||void 0===e||e.ToggleInfoDisplay()},children:r("Cookie preferences")})}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/cookie-policy/",children:r("footer_cookie_policy_web",{ns:"sheet_common",defaultValue:"Cookie policy"})})}),!(0,w.yx)(t)&&(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"https://support.coinmarketcap.com/hc/en-us/articles/4412939497755",children:r("Community Rules")})}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/disclaimer/",children:r("Disclaimer")})}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/methodology/",children:r("Methodology")})}),!(0,w.yx)(t)&&(0,a.jsxs)("li",{children:[(0,a.jsx)(V,{href:"/jobs",rel:"noopener",children:r("Careers")}),(0,a.jsx)("span",{className:"tips",children:"".concat(r("We\u2019re hiring"),"!")})]})]})]})]}),(0,a.jsxs)("div",{className:"footer-row",children:[(0,a.jsxs)(B,{children:[(0,a.jsx)("span",{children:r("Support")}),(0,a.jsxs)("ul",{children:[!(0,w.yx)(t)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"/request/",rel:"noopener",children:r("Request Form")})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"/request/",children:r("Contact Support")})})]}),(0,a.jsx)("li",{children:(0,a.jsx)(H,{href:"/faq/",children:r("FAQ")})}),!(0,w.yx)(t)&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"en"!==t&&U.includes(t)?"https://coinmarketcap.com/academy/".concat((e=t,"pt-br"===e?"pt":e),"/glossary"):"https://coinmarketcap.com/academy/glossary",rel:"noopener",children:r("Glossary")})})})]})]}),(0,a.jsxs)(B,{children:[(0,a.jsx)("span",{children:r("Socials")}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://twitter.com/CoinMarketCap",rel:"noopener",children:r("X (Twitter)",{ns:"common"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://coinmarketcap.com/community/profile/CoinMarketCap/",rel:"noopener",children:r("Community",{ns:"common"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://t.me/CoinMarketCapAnnouncements",rel:"noopener",children:r("Telegram")})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://www.instagram.com/coinmarketcap/",rel:"noopener",children:r("Instagram")})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://www.facebook.com/CoinMarketCap",rel:"noopener",children:r("Facebook",{ns:"common"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://www.reddit.com/r/CoinMarketCap/",rel:"noopener",children:r("Reddit",{ns:"common"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(V,{href:"https://www.linkedin.com/company/coinmarketcap/",rel:"noopener",children:r("LinkedIn",{ns:"common"})})})]})]})]})]}),(0,a.jsxs)("div",{className:"footer-meta",children:[(0,a.jsx)(X,{children:r("\xa9 {{year}} CoinMarketCap. All rights reserved",{year:(0,Z.mr)("YYYY")})}),(0,a.jsx)(_.Z,{showHuawei:!g().isServer&&(0,j.Z)()})]})]})})}))))},46694:function(n,e,r){r.d(e,{Z:function(){return g}});var i,o=r(62230),t=r(85244),c=r(98240),a=r(52322),l=r(2784),s=r(68434),d=r(96664),h=r(38789),p=r(49106),u=r(67557),x=(i={width:"100%",maxWidth:"1400px",margin:"0 auto"},(0,u.Z)(i,d[h.mqLg].up,{padding:"0px ".concat(h.space300)}),(0,u.Z)(i,d[h.mqMd].down,{padding:"".concat(h.space150," ").concat(h.space200)}),i),f=function(n,e){var r=n.children,i=n.maxWidth,u=n.isFullWidth,f=void 0===u||u,g=(0,c.Z)(n,["children","maxWidth","isFullWidth"]),m=(0,l.useMemo)((function(){return function(n){var e=n.isFullWidth,r=n.maxWidth,i={},o=e,t=o?"unset":"1920px";return null!=r&&(o=!0,t="number"==typeof r?"".concat(r,"px"):String(r)),o?i.maxWidth=t:(i.paddingLeft=h.space200,i.paddingRight=h.space200,i[d[h.mqLg].up]={paddingLeft:h.space200,paddingRight:h.space200}),i.maxWidth=t,(0,p.Z)({},x,i)}({isFullWidth:f,maxWidth:i})}),[f,i]);return(0,a.jsx)(s.Z,(0,t.Z)((0,o.Z)({__css:m,"data-role":"global-container"},g),{ref:e,children:r}))};f.displayName="GlobalContainer";var g=l.forwardRef(f)},66366:function(n,e,r){r.d(e,{Z:function(){return a},n:function(){return l}});var i=r(62230),o=r(22386),t=r(52322),c=r(2784);function a(n){var e=n.children,r=n.rootMargin,o=void 0===r?"0px":r,c=n.threshold,a=void 0===c?1:c,s=n.height,d=void 0===s?void 0:s,h=n.PlaceHolder,p=n.skeleton,u=n.delay,x=void 0===u?0:u,f=n.enable,g=void 0===f||f,m=n.style,v=void 0===m?{}:m,j=(n.id,l(o,!0,a,x,g)),w=j.ref,b=j.revealed;return p&&!b?p:b?e:(0,t.jsx)("div",{ref:w,style:(0,i.Z)({height:d},v),children:h?(0,t.jsx)(h,{}):" "})}function l(n){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,t=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=(0,c.useState)(!e),l=a[0],s=a[1],d=(0,c.useRef)();return(0,c.useEffect)((function(){if(e&&t){if("undefined"===typeof window.IntersectionObserver||!d.current)return s(!0);var c,a=function(n){s(!0),l.unobserve(n.target)},l=new IntersectionObserver((function(n){var e=(0,o.Z)(n,1)[0];if(!e.isIntersecting)return clearTimeout(c),void(c=null);c||(null!=i&&i>0?c=setTimeout((function(){a(e)}),i):a(e))}),{rootMargin:n,threshold:r});return l.observe(d.current),function(){return l.disconnect()}}}),[t]),{ref:d,revealed:l}}},11493:function(n,e,r){var i=r(95210),o=r(51012),t=r(62230),c=r(85244),a=r(98240),l=r(47998),s=r(52322),d=r(2784),h=r(72779),p=r.n(h),u=r(39097),x=r.n(u),f=r(27801),g=r(1284),m=r(15754),v=r(16091),j=r(64846),w=r.n(j),b=r(15798),Z=r.n(b),y=r(29101),k=r(68434),C=r(68183),P=function(n){(0,o.Z)(r,n);var e=(0,l.Z)(r);function r(){return(0,i.Z)(this,r),e.apply(this,arguments)}return r.prototype.render=function(){var n=this.props,e=n.children,r=n.className,i=n.onClick,o=n.forwardRef,l=n.relOverride,d=n.title,h=n.style,u=n.scroll,j=void 0===u||u,b=n.isDisableLanguagePrefix,y=void 0!==b&&b,P=(n.prefetch,n.forceRefresh),q=void 0===P||P,M=n.shallow,I=void 0!==M&&M,L=n.href,N=(0,a.Z)(n,["children","className","onClick","forwardRef","relOverride","title","style","scroll","isDisableLanguagePrefix","prefetch","forceRefresh","shallow","href"]),R=this.context.language,S=L;!y&&(0,f.Z)(S,"/")&&"en"!==R&&(S="/".concat(R).concat(S));var _=this.props,A=_.target,F=_.rel,T=void 0===F?[]:F;(0,g.Z)(T)&&(T=[T]);var z=w()(S,!0).hostname;if(!A&&z&&!(0,C.Z)(z)){var W=!1;(0,m.Z)(Z().links.referrerOk,(function(n){if((0,v.Z)(z,n))return W=!0,!1})),T.push("noopener nofollow"),W||T.push("noreferrer"),A="_blank"}var G={};l?G.rel=l:T&&T.length>0&&(G.rel=T.join(" "));var E=(0,s.jsx)(k.Z,(0,c.Z)((0,t.Z)({as:"a",ref:o,onClick:i,target:A,title:d,style:h,href:S,className:p()(r,{"cmc-link":!0}),"data-qa-id":this.props["data-qa-id"]},G,N),{children:e}));return!q&&S&&"/"===S[0]?(0,s.jsx)(x(),{href:S,scroll:j,shallow:I,children:E}):E},r}(d.PureComponent);P.contextType=y.Zy,e.Z=P},25883:function(n,e,r){var i=r(62230),o=r(85244),t=r(98240),c=r(52322),a=r(2784),l=r(87612),s=r(25084),d=r(30769),h=r(11493),p=r(43961),u=function(n){var e=function(e){var r=e.currentTarget.innerText,o=e.currentTarget.href;if(j&&!I){e.preventDefault();var t=(0,p.fp)("isRegister")?n.href:void 0;return M({action:"LOGIN",loginContinue:t})}(0,d.Z)((function(){try{var n=m?o:r.split("\n")[0]||o;s.ZP.sendEvent((0,i.Z)({action:"Click",label:n},u)),y&&y(),null===k||void 0===k||k()}catch(e){console.error("TrackedLink error",e)}}))},r=n.children,u=n.gaConfig,x=n.useAnchor,f=void 0===x?void 0:x,g=(n.authURLs,n.logHref),m=void 0===g?void 0:g,v=n.isNeedLogin,j=void 0!==v&&v,w=n.isLoggedIn,b=n.forceRefresh,Z=void 0===b||b,y=n.trackEvent,k=n.onClick,C=(0,t.Z)(n,["children","gaConfig","useAnchor","authURLs","logHref","isNeedLogin","isLoggedIn","forceRefresh","trackEvent","onClick"]),P=(0,a.useContext)(l.gX),q=P.userInfo,M=P.invokeLogin,I=w||!!(null===q||void 0===q?void 0:q.id);return f?(0,c.jsx)("a",(0,o.Z)((0,i.Z)({},C),{onClick:e,children:r})):(0,c.jsx)(h.Z,(0,o.Z)((0,i.Z)({forceRefresh:Z},C),{onClick:e,children:r}))};e.Z=u},98580:function(n,e,r){r.d(e,{Z:function(){return o}});var i=r(66582);function o(){return Boolean(window.navigator.userAgent.match(/huawei/i)||i.B3.match(/huawei/i)||i.B3.match(/huawei/i))}}}]);