CINXE.COM
Register on Phemex | 100 Million xPT Airdrop and $50 Welcome Rewards | Phemex
<!DOCTYPE html><html lang="en-US"><head><meta charset="utf-8"> <!-- HTML_TAG_START --><title>Register on Phemex | 100 Million xPT Airdrop and $50 Welcome Rewards | Phemex</title><!-- HEAD_svelte-hyaksa_START --><meta name="description" content="Start trading BTC, ETH, and SOL today. Registering on Phemex only takes a few seconds. Free registration gives you access to $6050 in bonuses."><meta name="keywords" content="register, trading platform, btc, xrp, eth, No KYC"><style>@media screen and (min-width: 640px) { html, body { min-width: 100%; } } </style><!-- HEAD_svelte-hyaksa_END --><!-- HEAD_svelte-1bwu4l0_START --><meta name="twitter:card" content="summary_large_image"> <meta name="twitter:site" content="@Phemex_official"> <meta name="twitter:title" content="Phemex: Buy & Sell Crypto | Trade BTC and Crypto Derivatives"> <meta name="twitter:image" content="https://static.phemex.com/pubimg/ba6e212389adabcf0c72252f9c61fb398fe0df1b5030efb0f022a8a665162bde.jpg"><meta name="og:title" content="Phemex: Buy & Sell Crypto | Trade BTC and Crypto Derivatives"> <meta name="og:description" content="Phemex is the fastest crypto exchange and crypto derivatives platform. Buy, Sell & Earn Bitcoin, Ether, & altcoin. Trade perpetual contracts with 100x Leverage."> <meta name="og:image" content="https://static.phemex.com/pubimg/ba6e212389adabcf0c72252f9c61fb398fe0df1b5030efb0f022a8a665162bde.jpg"><link rel="shortcut icon" href="https://static.phemex.com/s/common/favicon-v2.ico"><!-- HEAD_svelte-1bwu4l0_END --><!-- HTML_TAG_END --> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> <link rel="preload" href="https://s.phemex.com/100/font/DINPro-Medium.woff2" as="font" type="font/woff2" crossorigin="anonymous"> <link rel="preload" href="https://s.phemex.com/100/font/gilroy-bold.woff2" as="font" type="font/woff2" crossorigin="anonymous"> <!-- HTML_TAG_START --><style rel="dns-prefetch" href="//static.phemex.com"></style><style rel="dns-prefetch" href="//www.googletagmanager.com"></style><style rel="dns-prefetch" href="//www.google-analytics.com"></style><style rel="dns-prefetch" href="//connect.facebook.net"></style><style rel="dns-prefetch" href="//static.zdassets.com"></style><style rel="dns-prefetch" href="//sensors.phemex.cloud"></style><style rel="dns-prefetch" href="//www.google.com"></style><style rel="dns-prefetch" href="//www.gstatic.com"></style><style rel="dns-prefetch" href="//phemex.com"></style><style rel="dns-prefetch" href="//ssl.captcha.qq.com"></style><style rel="dns-prefetch" href="//captcha.gtimg.com"></style><style rel="dns-prefetch" href="//ekr.zdassets.com"></style><style rel="dns-prefetch" href="//phemex.zendesk.com"></style><style rel="dns-prefetch" href="//widget-mediator.zopim.com"></style><style rel="dns-prefetch" href="//at.alicdn.com"></style><style rel="dns-prefetch" href="//alb.reddit.com"></style><style rel="dns-prefetch" href="//www.googleadservices.com"></style><!-- HTML_TAG_END --> <link rel="stylesheet" href="https://static.phemex.com/s/common/css/global.13351f.css"> <!-- HTML_TAG_START --><style >:root { --blue-main: #0046ff; --blue-main-hover: #003ee5; --blue-main-active: #0038cc; --red-main: #f24e53; --red-main-hover: #d9464a; --red-main-active: #c13e42; } #page { height: 100%; } img.lazyload { opacity: 0; }</style><!-- HTML_TAG_END --> <!-- HTML_TAG_START --><style >.activity-container.svelte-1ajdkow{height:100%;background:#000}.register-container.svelte-1ajdkow{padding-bottom:40px}@media screen and (max-width: 640px){.activity-container.svelte-1ajdkow{display:none}.register-container.svelte-1ajdkow{width:100%}} :root{--menu-light:#303236;--menu-dark:#fff;--menu-light-hover:#003fe6;--menu-dark-hover:#3d7eff;--aspect-ratio:1;--B1:#fafafa;--B2:#ffffff} .placeholder-block.svelte-5d40uk{width:100%;height:80px}@media screen and (max-width: 640px){.placeholder-block.svelte-5d40uk{height:178px}}.ip-restricted-notify.svelte-5d40uk{position:fixed;top:0;left:0;z-index:10000;box-sizing:border-box;padding:18px 36px;width:100%;line-height:44px;background:#fff}.error.svelte-5d40uk{color:#ed0000} .header.svelte-elx5mr{font-weight:var(--fw2);color:var(--T2)}.left-content.svelte-elx5mr{padding-right:12px}@media screen and (min-width: 640px){.wrap.svelte-elx5mr{padding:0 40px}.header.svelte-elx5mr{position:-webkit-sticky;position:sticky;top:-1px;z-index:999;box-sizing:border-box;border-bottom:1px solid #eee;width:100%;min-width:1200px;height:64px;background:#fff}.header.top.svelte-elx5mr{border-bottom:0;background:transparent}.header.bg-dark.svelte-elx5mr{border-bottom:0;background:#000}.header.log.svelte-elx5mr{border-bottom:1px solid #1f242e;background:#010612}.mwrap.svelte-elx5mr{display:none}}@media screen and (max-width: 640px){.wrap.svelte-elx5mr{display:none}.mwrap.svelte-elx5mr{display:block}.header.new-layout.svelte-elx5mr{position:sticky;top:-1px;z-index:1999}.header.new-layout.svelte-elx5mr .header.fixed{position:unset !important;height:unset}} .announcements-wrap.svelte-1a9ou07{padding:20px 24px;background:#091723}.announcements.svelte-1a9ou07{margin:0 auto;max-width:1200px}.title.svelte-1a9ou07,.content.svelte-1a9ou07{word-wrap:break-word;color:#fff}.content.svelte-1a9ou07:hover{opacity:0.8}.close.svelte-1a9ou07{right:0;top:16px;width:20px;background:rgba(0, 0, 0, 0.1);opacity:0.6}.close.svelte-1a9ou07:hover{opacity:1}@media screen and (max-width: 640px){.announcements-wrap.svelte-1a9ou07{padding:20px 16px;min-width:auto}} .menu.svelte-bk4zcc.svelte-bk4zcc{position:relative;line-height:64px}.top.svelte-bk4zcc .menu.svelte-bk4zcc{color:#fff}.top.svelte-bk4zcc .menu:hover span.svelte-bk4zcc{color:#3d7eff}.menu.svelte-bk4zcc.svelte-bk4zcc:hover,.active.svelte-bk4zcc.svelte-bk4zcc{color:#003fe6}.hot-img.svelte-bk4zcc.svelte-bk4zcc{width:14px;height:16px}.title-icon.svelte-bk4zcc.svelte-bk4zcc{margin-left:4px;height:14px}.trigger.svelte-bk4zcc.svelte-bk4zcc{position:relative;line-height:64px}.left-con.svelte-bk4zcc.svelte-bk4zcc{max-width:calc(max(100vw, 1280px) - 690px);overflow:auto hidden}.overflow-icon.svelte-bk4zcc.svelte-bk4zcc{top:0;right:0;z-index:100;width:36px;height:64px;line-height:64px;color:var(--menu-light)}.top.svelte-bk4zcc .overflow-icon.svelte-bk4zcc{color:var(--menu-dark)}.no-scroll-bar.svelte-bk4zcc.svelte-bk4zcc::-webkit-scrollbar{width:0;height:0;background:transparent} .tooltip-container.svelte-1nd78pe.svelte-1nd78pe{z-index:9999;pointer-events:auto}.auto-scroll.svelte-1nd78pe.svelte-1nd78pe{border-radius:12px;max-height:calc(100vh - 64px);overflow-y:auto;box-shadow:0 0 20px 0 rgba(0, 0, 0, 0.1)}.drop-arrow.svelte-1nd78pe.svelte-1nd78pe{position:relative;top:1px;transition:all 0.2s}.tooltip-trigger.svelte-1nd78pe.svelte-1nd78pe{color:var(--color)}.tooltip-wrap.svelte-1nd78pe:hover .tooltip-trigger.svelte-1nd78pe{color:var(--hoverColor)}.tooltip-wrap.svelte-1nd78pe:hover .drop-arrow.svelte-1nd78pe{transform:rotate(180deg)} .login.svelte-u1nusg.svelte-u1nusg{display:inline-block;line-height:50px;text-align:center;font-size:14px;cursor:pointer;text-decoration:none}.btn.svelte-u1nusg.svelte-u1nusg{display:inline-block;margin-right:16px;border-radius:8px;padding:0 16px;height:40px;line-height:40px;text-align:center;font-size:14px;background-color:#0345f5;color:#fff;cursor:pointer;text-decoration:none}.top.svelte-u1nusg .login.svelte-u1nusg{background-color:transparent;color:#fff}.top.svelte-u1nusg .btn.svelte-u1nusg{background-color:#fff;color:#0345f5}.icon.svelte-u1nusg.svelte-u1nusg{padding:19px 0}.circle.svelte-u1nusg.svelte-u1nusg{top:-4px;right:-4px;border-radius:8px;padding:4px;min-width:8px;line-height:8px;text-align:center;font-style:normal;background:#ff6c67;color:#fff}.account.svelte-u1nusg.svelte-u1nusg{width:40px}.assets.svelte-u1nusg.svelte-u1nusg{height:64px;line-height:64px}.icon-con.svelte-u1nusg.svelte-u1nusg{box-sizing:border-box;height:64px}.icon-con.svelte-u1nusg:hover .circle-icon.svelte-u1nusg{background-color:#eaecf1}.top.svelte-u1nusg .icon-con:hover .circle-icon.svelte-u1nusg:not(.no-bg){background-color:#2f3438}.circle-icon.svelte-u1nusg.svelte-u1nusg{display:flex;align-items:center;width:40px;height:40px;text-align:center}.split.svelte-u1nusg.svelte-u1nusg{width:1px;height:20px;background:#dbdfe7}.top.svelte-u1nusg .split.svelte-u1nusg{background:#303339} .logo.svelte-19c69gn.svelte-19c69gn{width:106px;height:24px}.header.svelte-19c69gn.svelte-19c69gn{z-index:999;width:100%}.header.top.svelte-19c69gn.svelte-19c69gn{position:relative;height:0;background:transparent}.header.log.svelte-19c69gn.svelte-19c69gn{border-bottom:1px solid #1f242e;height:40px;background:#010612}.fixed.svelte-19c69gn.svelte-19c69gn{position:fixed;top:0}.content.svelte-19c69gn.svelte-19c69gn{padding:0 16px;height:40px}.btn.svelte-19c69gn.svelte-19c69gn{display:inline-block;border:1px solid;border-radius:8px;padding:0 14px;line-height:28px;text-align:center;font-size:14px;background-color:#fff;color:#0345f5;cursor:pointer;text-decoration:none}.menu.svelte-19c69gn.svelte-19c69gn{position:fixed;top:0;right:-80%;bottom:0;z-index:1999;margin:0;padding:20px 0 60px;width:80%;background:#fff;transition:0.3s}.mask.svelte-19c69gn.svelte-19c69gn{position:fixed;top:0;left:0;z-index:1000;width:100%;height:100%;background:rgba(0, 0, 0, 0.6)}.top.svelte-19c69gn .cf.svelte-19c69gn{color:#fff}.top.svelte-19c69gn .btn.svelte-19c69gn{border:none} .wrap.svelte-1q96dh5.svelte-1q96dh5{height:100%;overflow-y:scroll}.logo.svelte-1q96dh5.svelte-1q96dh5{width:80px;height:100%}.avatar.svelte-1q96dh5.svelte-1q96dh5{border-radius:50%;width:36px;height:36px}.arrow.svelte-1q96dh5.svelte-1q96dh5{transform:rotate(-90deg)}.w180.svelte-1q96dh5.svelte-1q96dh5{width:180px}.close.svelte-1q96dh5.svelte-1q96dh5{font-size:12px;color:#bfbfc1}.login.svelte-1q96dh5.svelte-1q96dh5{padding:20px;height:40px}.menu_div.svelte-1q96dh5.svelte-1q96dh5{margin-top:20px;border-top:1px solid #eee;border-radius:2px;width:100%}.animation.svelte-1q96dh5.svelte-1q96dh5{transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg)}.title.svelte-1q96dh5.svelte-1q96dh5{margin-left:10px;font-size:16px;color:var(--T1)}li.svelte-1q96dh5.svelte-1q96dh5{line-height:40px}li.svelte-1q96dh5 a.svelte-1q96dh5{-webkit-tap-highlight-color:#00000000;display:inline-block;width:100%;color:var(--T2)}.b-b.svelte-1q96dh5.svelte-1q96dh5{border-bottom:solid 1px var(--BD)}.children.svelte-1q96dh5.svelte-1q96dh5{padding-left:30px;height:0}.children-auto-height.svelte-1q96dh5.svelte-1q96dh5{height:auto}.wrap.svelte-1q96dh5 .btn{border-radius:8px}.wrap.svelte-1q96dh5 .account{border:none;background:#f3f6ff;color:#003fe6}@media screen and (max-width: 640px){li.svelte-1q96dh5 a.svelte-1q96dh5{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login.svelte-1q96dh5 a:last-child{overflow:hidden;text-overflow:ellipsis}} button.svelte-sa561m:focus,a.svelte-sa561m:focus{outline:0}button.svelte-sa561m,a.svelte-sa561m{display:inline-block;border:solid 1px;padding:0 32px;line-height:48px;text-align:center;cursor:pointer}.p024.svelte-sa561m{padding:0 24px}.small.svelte-sa561m{padding:0 16px;line-height:32px}button.svelte-sa561m+button{margin-left:24px}.small.svelte-sa561m+.small{margin-left:12px}button.svelte-sa561m svg{display:inline-block;transform:scale(0);vertical-align:middle;-webkit-animation:svelte-sa561m-loading-circle 1s infinite linear;animation:svelte-sa561m-loading-circle 1s infinite linear;transition:transform 3s linear}.default.svelte-sa561m{border-color:#dbdfe7;background:transparent;color:#383838}.default.svelte-sa561m:hover{border-color:#0046ff;color:#0046ff}.dark.svelte-sa561m{border-color:#e5e5e5;background:transparent;color:#fff}.dark.svelte-sa561m:hover{border-color:#0046ff;color:#0046ff}.text.svelte-sa561m{border-color:transparent;background:transparent;color:#0046ff}.text.svelte-sa561m:hover{opacity:0.8}.common.svelte-sa561m{border-color:#dbdfe7;background:#fff;color:#010612}.common.svelte-sa561m:hover{border-color:#0046ff;background:#0046ff;color:#fff}.primary.svelte-sa561m{border-color:#0046ff;background:#0046ff;color:#fff}.warning.svelte-sa561m{border-color:#ebaf1a;background:#ebaf1a;color:#fff}.danger.svelte-sa561m{border-color:#dc4a45;background:#dc4a45;color:#fff}.white.svelte-sa561m{border-color:#fff;background:#fff;color:#0046ff}.light.svelte-sa561m{border-color:#0046ff;background:#fff;color:#0046ff}.light.svelte-sa561m:hover{border-color:#0046ff;background:#0046ff;color:#fff}.golden.svelte-sa561m{border-color:#f0bb89;background:linear-gradient(135deg, #fde3ca 0%, #f0bb89 100%);color:#12192a}.grey.svelte-sa561m{border:none;background:none;color:#777b83;outline:none;text-decoration:underline}.primary.svelte-sa561m:hover,.warning.svelte-sa561m:hover,.danger.svelte-sa561m:hover{opacity:0.8}.primary.svelte-sa561m:disabled,.warning.svelte-sa561m:disabled,.danger.svelte-sa561m:disabled{opacity:0.4}a.disabled.svelte-sa561m,button.svelte-sa561m:disabled{pointer-events:none;opacity:0.4}button.greyStyle.svelte-sa561m:disabled{border:none;font-weight:500;background:#e9ecef;color:#9fa3ab;outline:none;opacity:1}@keyframes svelte-sa561m-loading-circle{from{transform:rotate(0deg)}to{transform:rotate(360deg)}} .register-container.svelte-fhj5qd.svelte-fhj5qd{border-radius:12px;padding:40px;background:#fff}.register-main.svelte-fhj5qd.svelte-fhj5qd{padding-bottom:40px;width:100%;min-width:1280px;min-height:calc(100vh - 40px);background:#010612;color:#fff}.register-main.svelte-fhj5qd .inner.svelte-fhj5qd{display:flex;margin:0 auto;padding-top:40px;width:1280px;gap:80px}@media screen and (max-width: 640px){.register-main.svelte-fhj5qd.svelte-fhj5qd{display:block;min-width:100%}.register-main.svelte-fhj5qd .inner.svelte-fhj5qd{flex-direction:column;width:92%;gap:20px}} .main.svelte-whkido{padding:8px}.title.svelte-whkido{font-size:16px;line-height:24px}.title1.svelte-whkido{margin-top:10px;font-size:14px;line-height:22px}.footer.svelte-whkido{padding:8px;margin-top:30px;text-align:right}.button.svelte-whkido{display:inline-block;margin-left:16px;cursor:pointer;background:#003398;color:#fff;border-radius:2px;border:1px solid #003398;padding:0 24px;height:40px;line-height:38px}.button.svelte-whkido:hover{opacity:0.8}label.svelte-whkido{width:16px;height:16px;line-height:16px;border-radius:2px;cursor:pointer;position:absolute;border:1px solid rgba(0, 0, 0, 0.15);top:2px;left:0}input[type=checkbox].svelte-whkido{visibility:hidden}.input.svelte-whkido:checked+label:before{display:block;content:"\2713";text-align:center;font-size:12px;color:#fff;background:#003398}.dn.svelte-whkido{display:none}.incompatible .warp.svelte-whkido{display:block}.mt30.svelte-whkido{margin-top:30px} .modal-mask.svelte-13ure55.svelte-13ure55{position:fixed;top:0;left:0;z-index:9999999;width:100%;height:100%;background:rgba(0, 0, 0, 0.6)}.container.svelte-13ure55.svelte-13ure55{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999999;display:flex;justify-content:center;align-items:center}.modal.svelte-13ure55.svelte-13ure55{position:relative;border-radius:12px;width:520px;max-height:calc(100vh - 3em);background:#fff;overflow:auto}.modal.big.svelte-13ure55.svelte-13ure55{width:620px}.modal.middle.svelte-13ure55.svelte-13ure55{width:480px}.modal.small.svelte-13ure55.svelte-13ure55{width:320px}.modal.phone.svelte-13ure55.svelte-13ure55{width:calc(100vw - 3em)}.svelte-13ure55.svelte-13ure55::-webkit-scrollbar{width:0 !important}.close-icon-wrap.svelte-13ure55.svelte-13ure55{position:absolute;top:16px;right:16px;z-index:1;width:40px;height:40px}.close-icon-wrap.svelte-13ure55 .close-icon.svelte-13ure55{position:static}.close-icon.svelte-13ure55.svelte-13ure55{position:absolute;top:16px;right:16px}@media screen and (max-width: 640px){.xs\:ph16.svelte-13ure55.svelte-13ure55{padding-right:16px;padding-left:16px}} .modal_left.svelte-18cfhy7{padding:36px 30px;width:210px;background:#003398}.left_title_2.svelte-18cfhy7{opacity:0.4}.lh16.svelte-18cfhy7{line-height:16px}.left_title.svelte-18cfhy7{line-height:17px;font-size:14px}.card.svelte-18cfhy7{border-radius:4px;padding:4px 24px 24px;background:#f9fafd}.checked.svelte-18cfhy7{color:#003398}.img.svelte-18cfhy7{width:12px}.close.svelte-18cfhy7{margin-top:-10px;margin-right:-8px}.main.svelte-18cfhy7{margin:-24px}@media screen and (min-width: 640px){.modal_right.svelte-18cfhy7{padding:36px 32px;width:306px;background:#fff}}@media screen and (max-width: 640px){.modal_left.svelte-18cfhy7{display:none}.modal_right.svelte-18cfhy7{padding:24px;width:100%}} .footer.svelte-a711tm.svelte-a711tm{margin:40px auto 0}.icon.svelte-a711tm.svelte-a711tm{width:72px}.icon.svelte-a711tm img.svelte-a711tm{width:100%}.mt42.svelte-a711tm.svelte-a711tm{margin-top:42px}.wp80.svelte-a711tm.svelte-a711tm{width:80%}.w18.svelte-a711tm.svelte-a711tm{width:18px;height:18px} .main.svelte-a6pi1s.svelte-a6pi1s{margin:24px auto;width:400px}.w200.svelte-a6pi1s.svelte-a6pi1s{width:200px}.bg.svelte-a6pi1s.svelte-a6pi1s{border-radius:2px;padding:20px;width:360px;height:60px;background:#f9f9f9}.main.svelte-a6pi1s .date-pick.svelte-a6pi1s .calendar-button{border:0;border-radius:0;padding:10px 0;width:120px;text-align:left;font-size:14px;background:transparent;box-shadow:0 0 0 0 transparent}.main.svelte-a6pi1s .calendar-button:focus{border:0;background-color:transparent}.main.svelte-a6pi1s .date-pick.svelte-a6pi1s .contents-wrapper{position:fixed;transform:translate(-56%, -90%) !important}.main.svelte-a6pi1s .date-box1.svelte-a6pi1s .contents-wrapper{position:fixed;transform:translate(-56%, -90%) !important}.main.svelte-a6pi1s .date-box2.svelte-a6pi1s .contents-wrapper{position:fixed;transform:translate(-10%, -90%) !important}.main.svelte-a6pi1s .datepicker{margin:0}.main.svelte-a6pi1s .disable.svelte-a6pi1s .calendar-button{color:var(--T3)}.w140.svelte-a6pi1s.svelte-a6pi1s{width:140px}.date-box1.svelte-a6pi1s.svelte-a6pi1s,.date-box2.svelte-a6pi1s.svelte-a6pi1s{border-bottom:1px solid #e5e5e5}.disable.svelte-a6pi1s.svelte-a6pi1s{pointer-events:none}</style><!-- HTML_TAG_END --></head> <body><div id="page"><!-- HTML_TAG_START --> <div style="z-index: 999;"></div> <header class="header svelte-elx5mr log"><div class="wrap wsn df jcsb svelte-elx5mr"><nav class="df left-content svelte-elx5mr"> <div class="main df aic svelte-bk4zcc top"><a class="df mt2" href="https://phemex.com" target="_self"><img height="24" alt="Logo" src="https://static.phemex.com/s/home/logo/logo-light-v2.svg"></a> <div class="left-con ml24 df aic no-scroll-bar svelte-bk4zcc"><div class="tooltip-wrap dib df aic jcsb svelte-1nd78pe" style="--hoverColor: var(--menu-dark-hover); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><span slot="trigger" class="trigger df aic svelte-bk4zcc"><span class="title svelte-bk4zcc">Buy Crypto</span> </span> <i class="iconfont drop-arrow dib ml4 f12 svelte-1nd78pe"></i></div> <div class="tooltip-container pa svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml24 svelte-1nd78pe" style="--hoverColor: var(--menu-dark-hover); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><span slot="trigger" class="trigger svelte-bk4zcc">Markets</span> </div> <div class="tooltip-container pa ml24 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml24 svelte-1nd78pe" style="--hoverColor: var(--menu-dark-hover); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><span slot="trigger" class="trigger svelte-bk4zcc"><span class="title svelte-bk4zcc">Contract</span></span> <i class="iconfont drop-arrow dib ml4 f12 svelte-1nd78pe"></i></div> <div class="tooltip-container pa ml24 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml24 svelte-1nd78pe" style="--hoverColor: var(--menu-dark-hover); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><span slot="trigger" class="trigger svelte-bk4zcc"><span class="title svelte-bk4zcc">Spot</span></span> <i class="iconfont drop-arrow dib ml4 f12 svelte-1nd78pe"></i></div> <div class="tooltip-container pa ml24 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml24 svelte-1nd78pe" style="--hoverColor: var(--menu-dark-hover); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><span slot="trigger" class="trigger svelte-bk4zcc"><span class="title svelte-bk4zcc">Earn</span></span> <i class="iconfont drop-arrow dib ml4 f12 svelte-1nd78pe"></i></div> <div class="tooltip-container pa ml24 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml24 svelte-1nd78pe" style="--hoverColor: var(--menu-dark-hover); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><span slot="trigger" class="trigger df aic svelte-bk4zcc"><span class="title svelte-bk4zcc">Web3</span> <img class="title-icon svelte-bk4zcc" height="14" src="//img.phemex.com/v1/54fc3980-aadf-4ed8-9873-98e199994a95/frame-14.png" alt="new"></span> <i class="iconfont drop-arrow dib ml4 f12 svelte-1nd78pe"></i></div> <div class="tooltip-container pa ml24 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml24 svelte-1nd78pe" style="--hoverColor: var(--menu-dark-hover); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><span slot="trigger" class="trigger svelte-bk4zcc"><span class="title svelte-bk4zcc">Learn</span></span> <i class="iconfont drop-arrow dib ml4 f12 svelte-1nd78pe"></i></div> <div class="tooltip-container pa ml24 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml24 svelte-1nd78pe" style="--hoverColor: var(--menu-dark-hover); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><span slot="trigger" class="trigger svelte-bk4zcc"><span class="title svelte-bk4zcc">Promotions</span></span> <i class="iconfont drop-arrow dib ml4 f12 svelte-1nd78pe"></i></div> <div class="tooltip-container pa ml24 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> </div> </div></nav> <div> <div class="df"><div class="main df fdr aic svelte-u1nusg top"> <div class="split ml10 svelte-u1nusg"></div> <div class="tooltip-wrap dib df aic jcsb ml10 svelte-1nd78pe" style="--hoverColor: var(--menu-dark); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><div slot="trigger" class="icon-con df aic cp fw1 svelte-u1nusg"><div class="circle-icon brp50 svelte-u1nusg"><i class="iconfont f1 f24"></i></div></div> </div> <div class="tooltip-container pa ml10 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml10 svelte-1nd78pe" style="--hoverColor: var(--menu-dark); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><div slot="trigger" class="icon-con df aic cp fw1 svelte-u1nusg"><div class="circle-icon brp50 svelte-u1nusg"><i class="iconfont f1 f24"></i></div> <span class="icon df pr svelte-u1nusg"></span></div> </div> <div class="tooltip-container pa ml10 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div> <div class="tooltip-wrap dib df aic jcsb ml10 svelte-1nd78pe" style="--hoverColor: var(--menu-dark); --color: var(--menu-dark);"><div class="tooltip-trigger df aic jcsb cp svelte-1nd78pe"><div slot="trigger" class="icon-con df aic cp fw1 svelte-u1nusg"><div class="circle-icon brp50 svelte-u1nusg"><i class="iconfont f1 f24"></i></div></div> </div> <div class="tooltip-container pa ml10 svelte-1nd78pe" style="width: unset" role="tooltip"></div></div></div></div> </div></div> <div class="mwrap wsn svelte-elx5mr"><div class="main"><div class="svelte-19c69gn"></div> <div class="header B1 svelte-19c69gn fixed log"> <div class="df jcsb content svelte-19c69gn"><a class="df aic" href="/"><img class="logo svelte-19c69gn" alt="Logo" src="https://static.phemex.com/s/home/logo/logo-light-v2.svg"></a> <div class="df aic jcc"><a class="btn T2 ph12 ga svelte-19c69gn" href="javascript:;"><span>Register</span></a> <i class="iconfont ml16 lh16 f16 BLUE svelte-19c69gn cf dn"></i></div></div></div> <div class="menu svelte-19c69gn" style="right:-80%"><div class="wrap svelte-1q96dh5"><div class="df jcsb aic mb16 ph16"><a href="/"><img class="logo svelte-1q96dh5" alt="Logo" src="https://static.phemex.com/s/home/logo/logo-dark-v2.svg"></a> <i class="iconfont close cp svelte-1q96dh5"></i></div> <div class="df fdc ph16"><div class="login df aic svelte-1q96dh5" style="background: url(https://static.phemex.com/s/home/3.0/mask.png) no-repeat; background-size: 100% 100%;"><a href="/login?" target="_self" class="btn f1 f14 svelte-sa561m small common br2" style="min-width: auto;">Log In</a> <a href="javascript:;" target="_self" class="btn ml16 f1 f14 svelte-sa561m small primary br2" style="min-width: auto;">Register Now</a></div></div> <ul class="menu_div svelte-1q96dh5"><li class="svelte-1q96dh5"><a href="javascript:void(0);" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://static.phemex.com/s/home/side-menu/buy-crypto.png" alt=""> <div><span class="title svelte-1q96dh5">Buy Crypto</span> </div></div> <i class="iconfont svelte-1q96dh5"></i> </div></a> </li><li class="svelte-1q96dh5"><a href="/markets" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://static.phemex.com/s/home/side-menu/markets.png" alt=""> <div><span class="title svelte-1q96dh5">Markets</span> </div></div> </div></a> </li><li class="svelte-1q96dh5"><a href="javascript:void(0);" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://static.phemex.com/s/home/side-menu/contract.png" alt=""> <div><span class="title svelte-1q96dh5">Contract</span> </div></div> <i class="iconfont svelte-1q96dh5 animation"></i> </div></a> <ul class="children B2 svelte-1q96dh5 children-auto-height"><li class="ph10 ooo svelte-1q96dh5"><a href="/trade/BTCUSDT" class="svelte-1q96dh5">USDⓈ-M Perpetual</a> </li><li class="ph10 ooo svelte-1q96dh5"><a href="/trade/inverse" class="svelte-1q96dh5">COIN-M Perpetual</a> </li><li class="ph10 ooo svelte-1q96dh5"><a href="/copy-trading/list" class="svelte-1q96dh5">Copy Trade</a> </li><li class="ph10 ooo svelte-1q96dh5"><a href="/copy-trading/leaderboard" class="svelte-1q96dh5">Leaderboard</a> </li><li class="ph10 ooo svelte-1q96dh5"><a href="/vip-portal" class="svelte-1q96dh5">VIP Portal</a> </li> </ul> </li><li class="svelte-1q96dh5"><a href="javascript:void(0);" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://static.phemex.com/s/home/side-menu/spot.png" alt=""> <div><span class="title svelte-1q96dh5">Spot</span> </div></div> <i class="iconfont svelte-1q96dh5"></i> </div></a> </li><li class="svelte-1q96dh5"><a href="javascript:void(0);" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://static.phemex.com/s/home/side-menu/earn.png" alt=""> <div><span class="title svelte-1q96dh5">Earn</span> </div></div> <i class="iconfont svelte-1q96dh5"></i> </div></a> </li><li class="svelte-1q96dh5"><a href="javascript:void(0);" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://img.phemex.com/v1/3e7ad4ba/header-web3-h5-icon.png" alt=""> <div><span class="title svelte-1q96dh5">Web3</span> </div></div> <i class="iconfont svelte-1q96dh5"></i> </div></a> </li><li class="svelte-1q96dh5"><a href="javascript:void(0);" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://static.phemex.com/s/home/side-menu/learn.png" alt=""> <div><span class="title svelte-1q96dh5">Learn</span> </div></div> <i class="iconfont svelte-1q96dh5"></i> </div></a> </li><li class="svelte-1q96dh5 b-b"><a href="javascript:void(0);" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://static.phemex.com/s/home/side-menu/promotion.png" alt=""> <div><span class="title svelte-1q96dh5">Promotions</span> </div></div> <i class="iconfont svelte-1q96dh5"></i> </div></a> </li><li class="svelte-1q96dh5"><a href="javascript:void(0);" class="svelte-1q96dh5"><div class="df aic jcsb ph16"><div class="df aic"><img width="20" height="20" src="https://static.phemex.com/s/home/side-menu/language.png" alt=""> <div><span class="title svelte-1q96dh5">English</span> </div></div> <i class="iconfont svelte-1q96dh5"></i> </div></a> </li> </ul></div></div></div></div></header> <div id="compatibility" class="warp dn svelte-whkido"> <div class=" svelte-13ure55"><div class="modal-mask svelte-13ure55"><div class="container svelte-13ure55"><div class="modal sv svelte-13ure55" style="max-width:520px;padding:24px;"> <div class="modal-body p24 xs:ph16 svelte-13ure55"><div class="p24 lh24 df b f16 T2" slot="header"><div class="title fw2 T1 svelte-whkido">Note</div></div> <div class="body"><div class="main svelte-whkido"><div class="title1 T2 svelte-whkido">Dear Phemex users,</div> <div class="title1 T2 svelte-whkido">We do not currently support the browser you use. We only support Chrome, Safari, Firefox browsers.</div> <div class="title1 T2 svelte-whkido">For a better experience, we recommend that you use the Chrome browser.</div></div> <div class="tc mt30 svelte-whkido"><a href="https://www.google.com/chrome/" target="_blank"><img src="https://phemex.com/font/chrome.svg" alt="chrome"></a></div></div> <div class="footer df fdr jcsb svelte-whkido" slot="footer"><div class="pr"><input id="compatibilityCheckbox" class="input svelte-whkido" type="checkbox"> <label for="compatibilityCheckbox" class="svelte-whkido"></label> Don't show again</div> <span class="button svelte-whkido" id="compatibilityButton">Confirm</span></div></div></div></div></div></div></div> <!-- HTML_TAG_END --></div> <div id="popup"></div> <!-- HTML_TAG_START --><script src="https://static.phemex.com/s/3rd/ty/sdk-prod-v3.4.3.js"></script><!-- HTML_TAG_END --> <!-- HTML_TAG_START --><script src="https://www.gstatic.com/firebasejs/9.6.6/firebase-app-compat.js"></script><!-- HTML_TAG_END --> <!-- HTML_TAG_START --><script src="https://www.gstatic.com/firebasejs/9.6.6/firebase-messaging-compat.js"></script><!-- HTML_TAG_END --> <!-- HTML_TAG_START --><script src="https://phemex.com/firebase-init.js"></script><!-- HTML_TAG_END --> <!-- HTML_TAG_START --><script >(()=>{var m=p();function p(){let e=typeof window=="object",a=e?navigator.userAgent||navigator.vendor:"";return{isBrowser:e,isServer:!e,isProduction:e&&f(),isTestNet:e&&b(),isLocal:e&&h(),isApp:e&&w(),isMobile:e&&v(a),isBot:e&&k(a)}}function f(){return location.hostname==="phemex.com.tr"}function b(){return location.hostname.indexOf("testnet")>-1}function h(){return["127.0.0.1","localhost"].indexOf(location.hostname)>-1}function w(){return navigator.userAgent.indexOf("PhemexApp")>-1}function v(e){return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&!/(googlebot|Googlebot-Mobile|bingbot)/i.test(e)}function k(e){return/(googlebot|Googlebot-Mobile|bingbot)/i.test(e)}console.log("log from app-inline");(function(){"classList"in document.documentElement||Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){let a=this;function t(n){return function(o){let i=a.className.split(/\s+/g),r=i.indexOf(o);n(i,r,o),a.className=i.join(" ")}}return{add:t(function(n,o,i){~o||n.push(i)}),remove:t(function(n,o){~o&&n.splice(o,1)})}}})})();(function(){let e=window.location;function a(s){return["en","ru","ko","ja","es","de","fr","tr","pt","vi"].indexOf(s)>-1}function t(s){let g=s.split("/").filter(Boolean)[0];return a(g)?g:"en"}function n(){let s=(navigator.language||navigator.userLanguage).substring(0,2),c={zh:"cn"}[s]||s;return a(c)?c:"en"}function o(){let s=localStorage.getItem("lang");return s?a(s)?s:"en":""}function i(s,c){let g=r(window.location.pathname).pathname,u="/"+c+(g==="/"?"":g),d=e.origin+u+e.search+e.hash;e.assign(d)}function r(s){let c=s.split("/").filter(Boolean);if(c.length<1)return{lang:"en",pathname:"/"};let g=c[0];return a(g)?{lang:g,pathname:"/"+c.slice(1).join("/")}:{lang:"en",pathname:"/"+c.join("/")}}function l(){if(t(e.pathname)!=="en")return;let s=o();if(s){s!=="en"&&i(e.pathname,s);return}let c=n();["en"].indexOf(c)>-1||(localStorage.setItem("lang",c),i(e.pathname,c))}if(navigator.userAgent.indexOf("PhemexApp")>-1){document.documentElement.classList.add("app-h5");return}l()})();(function(){e(navigator.userAgent)&&document.documentElement.classList.add("bot");function e(a){return/(googlebot|Googlebot-Mobile|bingbot)/i.test(a)}})();(function(e,a,t,n,o){e[n]=e[n]||[],e[n].push({"gtm.start":new Date().getTime(),event:"gtm.js"});let i=a.getElementsByTagName(t)[0],r=a.createElement(t),l=n!="dataLayer"?"&l="+n:"";r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id="+o+l,i.parentNode.insertBefore(r,i)})(window,document,"script","dataLayer","GTM-N4K2VSP");(function(){o();function e(){let i=navigator.userAgent,r=i.indexOf("Opera")>-1,l=i.indexOf("compatible")>-1&&i.indexOf("MSIE")>-1&&!r,s=i.indexOf("Edge")>-1,c=i.indexOf("Trident")>-1&&i.indexOf("rv:11.0")>-1;return l||s||r||c}function a(){return localStorage.getItem("show-compatibility")!=="N"&&e()}function t(){document.body.classList.add("incompatible")}function n(){let i=document.getElementById("compatibilityButton");i.onclick=function(){let r=document.getElementById("compatibilityCheckbox");r&&r.checked&&localStorage.setItem("show-compatibility","N"),document.body.classList.remove("incompatible")}}function o(){a()&&(n(),t())}})();(function(){window.langDic={},window.writeToLangDic=function(e){Object.assign(window.langDic,e)}})();(function(){if(m.isLocal)return;navigator.serviceWorker.addEventListener("message",t=>{let{event:n,data:o,url:i}=t.data;n&&e(n,o),i&&window.open(i)}),navigator.serviceWorker.register("/firebase-messaging-sw.js").then(t=>{firebaseMessaging.onMessage(n=>{let{body:o,image:i,title:r}=n.notification,{eventRecord:l,page:s}=n.data,c=l?JSON.parse(l):"";e("web_push_received",c),t.showNotification(r,{body:o,icon:i,data:{url:s,eventRecord:c}}).catch(g=>{console.log(g)})})});function e(t,n){window.sensorsDataAnalytic201505.track(t,Object.assign({bid1:a()},n))}function a(){let t="p_b_i_d";return window.localStorage?localStorage.getItem(t):""}})();(function(e,a,t,n,o){e.fbq||(t=e.fbq=function(){t.callMethod?t.callMethod.apply(t,arguments):t.queue.push(arguments)},e._fbq||(e._fbq=t),t.push=t,t.loaded=!0,t.version="2.0",t.queue=[],n=a.createElement("script"),n.async=!0,n.src="https://connect.facebook.net/en_US/fbevents.js",o=a.getElementsByTagName("script")[0],o.parentNode.insertBefore(n,o))})(window,document);window.fbq("init","426961442966450");window.fbq("track","PageView");(function(e,a,t,n,o){e.twq||(t=e.twq=function(){t.exe?t.exe.apply(t,arguments):t.queue.push(arguments)},t.version="1.1",t.queue=[],n=a.createElement("script"),n.async=!0,n.src="https://static.ads-twitter.com/uwt.js",o=a.getElementsByTagName("script")[0],o.parentNode.insertBefore(n,o))})(window,document);window.twq("config","obzi8");})(); //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vZW52L2luZGV4LnRzIiwgImFwcC1pbmxpbmUudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImV4cG9ydCBjb25zdCBlbnYgPSBjcmVhdGVFbnYoKTtcblxuZnVuY3Rpb24gY3JlYXRlRW52KCkge1xuICBjb25zdCBpc0Jyb3dzZXIgPSB0eXBlb2Ygd2luZG93ID09PSAnb2JqZWN0JztcbiAgY29uc3QgdWEgPSBpc0Jyb3dzZXIgPyBuYXZpZ2F0b3IudXNlckFnZW50IHx8IG5hdmlnYXRvci52ZW5kb3IgOiAnJztcbiAgcmV0dXJuIHtcbiAgICBpc0Jyb3dzZXIsXG4gICAgaXNTZXJ2ZXI6ICFpc0Jyb3dzZXIsXG4gICAgaXNQcm9kdWN0aW9uOiBpc0Jyb3dzZXIgJiYgY2hlY2tQcm9kdWN0aW9uKCksXG4gICAgaXNUZXN0TmV0OiBpc0Jyb3dzZXIgJiYgY2hlY2tUZXN0TmV0KCksXG4gICAgaXNMb2NhbDogaXNCcm93c2VyICYmIGNoZWNrTG9jYWwoKSxcbiAgICBpc0FwcDogaXNCcm93c2VyICYmIGNoZWNrQXBwKCksXG4gICAgaXNNb2JpbGU6IGlzQnJvd3NlciAmJiBjaGVja01vYmlsZSh1YSksXG4gICAgaXNCb3Q6IGlzQnJvd3NlciAmJiBjaGVja0JvdCh1YSksXG4gIH07XG59XG5cbmZ1bmN0aW9uIGNoZWNrUHJvZHVjdGlvbigpIHtcbiAgcmV0dXJuIGxvY2F0aW9uLmhvc3RuYW1lID09PSAncGhlbWV4LmNvbS50cic7XG59XG5cbmZ1bmN0aW9uIGNoZWNrVGVzdE5ldCgpIHtcbiAgcmV0dXJuIGxvY2F0aW9uLmhvc3RuYW1lLmluZGV4T2YoJ3Rlc3RuZXQnKSA+IC0xO1xufVxuXG5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UmVjb3JkIiwgInBhZ2UiLCAiZXZlbnREYXRhIiwgIm5hbWUiLCAiZ2V0QmlkIiwgIlBIRU1FWF9CSURfS0VZIiwgIndpbiIsICJkb2MiLCAiZmJxIiwgImVsZSIsICJzY3JpcHRFbGUwIiwgInR3cSJdCn0K </script><!-- HTML_TAG_END --> <!-- HTML_TAG_START --><script src="/p-104/lang/en-c8b199.js"></script><script src="/p-104/lang/en-085268.js"></script><script src="/p-104/lang/en-772d11.js"></script><script src="/p-104/lang/en-2b6379.js"></script><!-- HTML_TAG_END --> <!-- HTML_TAG_START --><script async src="https://phemex.com/js/lazysizes.min.js"></script><!-- HTML_TAG_END --> <!-- HTML_TAG_START --><script src="/p-104/js/app-cbcb9870.js" type="module"></script><!-- HTML_TAG_END --></body></html>