1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4392],{77473:function(n,e,t){t.d(e,{a:function(){return h}});var i=t(92228),o=t(52322),r=t(35868),a=t(39097),l=t.n(a);t(2784);var c=t(58694);function s(){var n=(0,i.Z)(["\n display: flex;\n flex-wrap: wrap;\n"]);return s=function(){return n},n}function u(){var n=(0,i.Z)(["\n display: flex;\n align-items: center;\n color: #1f2025;\n ",";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 171.429% */\n :hover {\n a {\n text-decoration: underline;\n }\n }\n"]);return u=function(){return n},n}function d(){var n=(0,i.Z)(["\n padding: 0 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n"]);return d=function(){return n},n}var f=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,o.jsx)("path",{d:"M6 12L10 8L6 4",stroke:"#363A44",strokeLinecap:"round",strokeLinejoin:"round"})});function h(n){var e=n.separator,t=void 0===e?f:e,i=n.options,r=n.onClick;return(0,o.jsx)(p,{children:i.map(function(n,e){var a;return(0,o.jsxs)(m,{children:[(a=n,(null==a?void 0:a.link)?r?(0,o.jsx)(l(),{href:a.link,children:(0,o.jsx)("span",{style:{cursor:"pointer"},onClick:function(n){n.preventDefault(),r(a.link)},children:a.label})}):(0,o.jsx)(l(),{href:a.link,children:a.label}):(!1,a.label)),e!==i.length-1&&(0,o.jsx)(g,{children:t})]},n.label)})})}var p=c.ZP.div.withConfig({componentId:"sc-d5ee48d-0"})(s()),m=c.ZP.div.withConfig({componentId:"sc-d5ee48d-1"})(u(),r.Wu.fonts.medium),g=c.ZP.div.withConfig({componentId:"sc-d5ee48d-2"})(d())},59082:function(n,e,t){t.d(e,{Z:function(){return s}});var i=t(70865),o=t(96670),r=t(92228),a=t(52322),l=t(58694);function c(){var n=(0,r.Z)(["\n height: 100%;\n background-color: #fff;\n .container {\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;
1\n align-items: center;\n }\n\n .loader {\n /* height: 20px; */\n width: 250px;\n text-align: center;\n /* position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto; */\n }\n\n .loader-box {\n position: relative;\n height: 24px;\n margin-bottom: 16px;\n }\n\n .loader--dot {\n animation-name: loader;\n animation-timing-function: ease-in-out;\n animation-duration: 2.5s;\n animation-iteration-count: infinite;\n height: 20px;\n width: 20px;\n border-radius: 100%;\n position: absolute;\n border: 2px solid white;\n }\n\n .loader--dot:first-child {\n background-color: ",";\n animation-delay: 0.55s;\n opacity: 0.2;\n }\n\n .loader--dot:nth-child(2) {\n background-color: ",";\n animation-delay: 0.35s;\n opacity: 0.4;\n }\n\n .loader--dot:nth-child(3) {\n background-color: ",";\n animation-delay: 0.2s;\n opacity: 0.6;\n }\n\n .loader--dot:nth-child(4) {\n background-color: ",";\n animation-delay: 0.1s;\n opacity: 0.8;\n }\n\n .loader--dot:nth-child(5) {\n background-color: ",";\n animation-delay: 0s;\n }\n\n /* .loader--dot:nth-child(6) {\n background-color: #3C6FF5;\n animation-delay: 0s;\n } */\n\n .loader--text {\n /* position: absolute;\n top: 200%;\n left: 0;\n right: 0; */\n /* width: 12rem; */\n margin: auto;\n /* text-align: center; */\n }\n\n .loader--text:after {\n content: ' ';\n font-weight: bold;\n /* animation-name: loading-text; */\n animation-duration: 3s;\n animation-iteration-count: infinite;\n }\n\n @keyframes loader {\n 15% {\n transform: translateX(0);\n }\n\n 45% {\n transform: translateX(200px);\n }\n\n 65% {\n transform: translateX(200px);\n }\n\n 95% {\n transform: translateX(0);\n }\n }\n\n @keyframes loading-text {\n 0% {\n content: '';\n }\n\n 25% {\n content: '.';\n }\n\n 50% {\n content: '..';\n }\n\n 75% {\n content: '...';\n }\n }\n"]);return c=function(){return n},n}function s(n){var e=n.width,t=n.showText,r=n.style;return(0,a.jsx)(u,{style:(0,o.Z)((0,i.Z)({},r),{width:e||"100vw"}),children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"loader",children:[(0,a.jsxs)("div",{className:"loader-box",children:[(0,a.jsx)("div",{className:"loader--dot"}),(0,a.jsx)("div",{className:"loader--dot"}),(0,a.jsx)("div",{className:"loader--dot"}),(0,a.jsx)("div",{className:"loader--dot"}),(0,a.jsx)("div",{className:"loader--dot"})]}),(0,a.jsx)("div",{className:"loader--text",children:t})]})})})}var u=l.ZP.div.withConfig({componentId:"sc-6bd8c2bd-0"})(c(),function(n){return n.theme.sky},function(n){return n.theme.sky},function(n){return n.theme.sky},function(n){return n.theme.sky},function(n){return n.theme.sky})},94392:function(n,e,t){t.d(e,{Z:function(){return $}});var i=t(98788),o=t(70865),r=t(96670),a=t(92228),l=t(50853),c=t(52322),s=t(5632),u=t(2784),d=t(35868),f=t(58694),h=t(77473);function p(){var n=(0,a.Z)(["\n background: linear-gradient(\n 59deg,\n rgba(213, 255, 85, 0.32) 15.56%,\n rgba(60, 111, 245, 0.32) 63.09%\n );\n backdrop-filter: blur(2px);\n"]);return p=function(){return n},n}function m(){var n=(0,a.Z)(["\n width: min(100%, ",");\n margin: 0 auto;\n"]);return m=function(){return n},n}function g(){var n=(0,a.Z)(["\n padding: 40px 40px 40px 24px;\n\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n "," {\n padding: 40px 40px 40px 24px;\n }\n\n "," {\n flex-direction: column;\n }\n "," {\n padding: 40px 20px;\n }\n"]);return g=function(){return n},n}function v(){var n=(0,a.Z)(["\n "," {\n margin-bottom: 24px;\n }\n "," {\n margin-bottom: 16px;\n }\n"]);return v=function(){return n},n}function x(){var n=(0,a.Z)(["\n color: #1e1e1e;\n ",";\n font-size: 40px;\n font-style: normal;\n font-weight: 700;\n line-height: 120%; /* 48px */\n text-transform: uppercase;\n margin-bottom: 24px;\n "," {\n margin-bottom: 16px;\n font-size: 32px;\n }\n"]);return x=function(){return n},n}function b(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n\n .search-btn {\n border-radius: 8px;\n background: #3c6ff5;\n color: #fff;\n padding: 6px 16px;\n margin-left: 16px;\n flex-shrink: 0;\n }\n"]);return b=function(){return n},n}function w(){var n=(0,a.Z)(["\n white-space: nowrap;\n background: rgb(255, 255, 255);\n border-radius: 8px;\n padding: 12px 24px;\n display: flex;\n align-items: center;\n width: 400px;\n\n .icon {\n margin-right: 10px;\n }\n input {\n width: 100%;\n border: none;\n background: none;\n outline: none;\n font-size: 14px;\n font-weight: 500;\n color: #1e1e1e;\n ",";\n line-height: 24px; /* 171.429% */\n ::placeholder {\n color: #b3b9c5;\n font-size: 14px;\n ",";\n }\n }\n "," {\n width: 100%;\n }\n"]);return w=function(){return n},n}function C(n){var e=n.title,t=(0,s.useRouter)(),i=t.query.announcement;return t.replace,(0,c.jsx)(y,{children:(0,c.jsx)(k,{children:(0,c.jsx)(L,{children:(0,c.jsxs)(j,{children:[(0,c.jsx)(Z,{children:"Announcement"}),(0,c.jsx)(h.a,{options:[{label:"Home",link:"/"},{label:"Support Center",link:"/support-center"},{label:"Announcement",link:"/support-center/announcement/".concat(i||"new-features")},{label:e},]})]})})})})}
1var y=f.ZP.div.withConfig({componentId:"sc-28293778-0"})(p()),k=f.ZP.div.withConfig({componentId:"sc-28293778-1"})(m(),function(n){return n.theme.maxWidth}),L=f.ZP.div.withConfig({componentId:"sc-28293778-2"})(g(),d.xL.media1100,d.xL.media1024,d.xL.media768),j=f.ZP.div.withConfig({componentId:"sc-28293778-3"})(v(),d.xL.media1024,d.xL.media768),Z=f.ZP.div.withConfig({componentId:"sc-28293778-4"})(x(),d.Wu.fonts.bold,d.xL.media768);f.ZP.div.withConfig({componentId:"sc-28293778-5"})(b()),f.ZP.div.withConfig({componentId:"sc-28293778-6"})(w(),d.Wu.fonts.medium,d.Wu.fonts.medium,d.xL.media768);var V=t(18206),M=t(59082),E=t(39097),P=t.n(E),H=t(17160);function _(){var n=(0,a.Z)(["\n padding: 40px 0px;\n padding-top: 0;\n flex-shrink: 0;\n /* background-color: red; */\n /* position: relative; */\n"]);return _=function(){return n},n}function A(){var n=(0,a.Z)(["\n .item-selected {\n background: rgba(60, 111, 245, 0.16);\n color: #1e3eb0;\n svg {\n path {\n fill: #1e3eb0;\n }\n .white-path {\n fill: #fff;\n }\n }\n }\n .flod-menu {\n svg {\n margin-right: 0;\n }\n }\n"]);return A=function(){return n},n}function I(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n color: #71757e;\n /* border-radius: 8px; */\n cursor: pointer;\n padding: 11px 16px;\n overflow: hidden;\n user-select: none;\n\n svg {\n width: 24px;\n height: 24px;\n margin-right: 8px;\n flex-shrink: 0;\n }\n :hover {\n background-color: #f8f9fb;\n }\n "," {\n cursor: default;\n }\n"]);return I=function(){return n},n}function N(){var n=(0,a.Z)(["\n ",";\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 26px; /* 162.5% */\n height: 26px;\n flex-shrink: 0;\n"]);return N=function(){return n},n}function R(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n padding: 11px 16px;\n cursor: pointer;\n\n svg {\n width: 24px;\n height: 24px;\n }\n\n "," {\n cursor: default;\n }\n"]);return R=function(){return n},n}var W="/support-center/announcement";function S(){var n=(0,s.useRouter)(),e=n.query.announcement,t=n.replace,i=(0,H.useMediaQuery)({query:"(max-width: 768px)"}),o=(0,u.useState)(!1),r=o[0],a=o[1],l=[{logo:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,c.jsx)("path",{d:"M16 0C24.8378 0 32 7.16218 32 16C32 24.8378 24.8378 32 16 32C7.1631 32 0 24.8378 0 16C0 7.16218 7.1631 0 16 0Z",fill:"#A3A8B1"}),(0,c.jsx)("path",{className:"white-path",d:"M17.78 9.90174H13.2926V14.6676H17.7267C18.9657 14.6676 19.8316 14.4571 20.3537 14.083C20.85 13.685 21.1202 13.0554 21.1202 12.1896C21.1202 11.3972 20.8491 10.8126 20.3537 10.4615C19.8077 10.0874 18.9657 9.8999 17.7772 9.8999L17.7791 9.90174H17.78ZM18.1752 16.9104H13.2944V22.0964H18.1017C19.19 22.0964 20.0577 21.9337 20.6781 21.6074C21.4686 21.1855 21.8666 20.5319 21.8666 19.5962C21.8666 18.6403 21.5688 17.9619 20.9998 17.541C20.4051 17.1209 19.463 16.9104 18.1743 16.9104H18.1752ZM11.7245 5.80499V7.6562L15.4499 7.65804V5.80499H17.3158V7.65804H18.496C20.2553 7.65804 21.6414 8.05604 22.6341 8.8502C23.5514 9.59749 24.0202 10.6031 24.0202 11.8642C24.0202 12.799 23.7739 13.594 23.3033 14.2476C22.8317 14.8542 22.1635 15.2973 21.2701 15.6254C22.4365 15.835 23.3024 16.2808 23.898 16.9555C24.4669 17.6117 24.7638 18.5226 24.7638 19.6431C24.7638 21.3261 24.1443 22.5651 22.9319 23.3593C21.8896 24.0138 20.4042 24.3401 18.5199 24.3401H17.3158V26.195H15.4499V24.3401H8V22.2536H10.3954V9.74364H8V7.65896L9.86316 7.65712V5.80499H11.7254H11.7245ZM9.86224 26.195H11.7245V24.3401H9.86224V26.195Z",fill:"white"})]}),desc:"New Token Listing",link:"".concat(W,"/new-token-list"),id:"new-token-list"},{logo:(0,c.jsxs)("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsx)("path",{d:"M0.666504 2.89064C0.666504 1.85635 1.56486 1.01788 2.67303 1.01788H26.7514C27.8596 1.01788 28.7579 1.85635 28.7579 2.89064V4.89616C28.1845 4.80867 27.5983 4.76341 27.0022 4.76341C23.6535 4.76341 20.6177 6.19197 18.401 8.50893H2.67303C1.56486 8.50893 0.666
1504 7.67046 0.666504 6.63617V2.89064Z",fill:"#A3A8B1"}),(0,c.jsx)("path",{d:"M15.8949 12.2545H2.67303C1.56486 12.2545 0.666504 13.0929 0.666504 14.1272V17.8727C0.666504 18.907 1.56486 19.7455 2.67303 19.7455H14.8367C14.7547 19.1338 14.7122 18.5086 14.7122 17.8727C14.7122 15.8621 15.1366 13.9573 15.8949 12.2545Z",fill:"#A3A8B1"}),(0,c.jsx)("path",{d:"M15.8949 23.491H2.67303C1.56486 23.491 0.666504 24.3295 0.666504 25.3638V29.1093C0.666504 30.1436 1.56486 30.9821 2.67303 30.9821H26.7514C26.7767 30.9821 26.8019 30.9816 26.827 30.9808C21.9989 30.9088 17.8439 27.8672 15.8949 23.491Z",fill:"#A3A8B1"}),(0,c.jsx)("path",{d:"M27.5841 9C28.1669 9 28.5624 9.13877 28.7706 9.4163C28.9787 9.69383 29.0828 10.1379 29.0828 10.7484C29.0828 11.026 29.0863 11.4631 29.0932 12.0598C29.1001 12.6565 29.1036 13.2913 29.1036 13.9643C29.1036 14.6374 29.1071 15.293 29.114 15.9313C29.1209 16.5697 29.1244 17.0762 29.1244 17.4508C29.1244 17.9781 29.1765 18.3979 29.2805 18.7101C29.3846 19.0223 29.624 19.1715 29.9986 19.1576C30.2623 19.1576 30.5884 19.1646 30.9769 19.1785C31.3655 19.1923 31.6985 19.1993 31.976 19.1993C32.4617 19.1993 32.7705 19.3276 32.9023 19.5843C33.0341 19.8411 32.9405 20.1776 32.6213 20.5939C32.2883 21.0102 31.8997 21.5028 31.4557 22.0717C31.0116 22.6407 30.5502 23.2235 30.0715 23.8202C29.5927 24.4169 29.1244 25.0031 28.6665 25.579C28.2086 26.1549 27.8061 26.6649 27.4592 27.1089C27.1401 27.5113 26.8313 27.7195 26.533 27.7334C26.2346 27.7472 25.9259 27.5599 25.6067 27.1714C25.2737 26.7689 24.8851 26.2971 24.4411 25.7559C23.997 25.2148 23.5426 24.6562 23.0777 24.0803C22.6128 23.5045 22.1549 22.9355 21.7039 22.3735C21.2529 21.8115 20.847 21.3085 20.4863 20.8645C20.0838 20.3788 19.9312 19.9798 20.0283 19.6676C20.1255 19.3554 20.4238 19.1993 20.9234 19.1993H21.4229C21.6172 19.1993 21.8184 19.1958 22.0266 19.1889C22.2347 19.1819 22.4394 19.1715 22.6406 19.1576C22.8418 19.1438 23.0187 19.1368 23.1714 19.1368C23.5322 19.1368 23.7542 19.0327 23.8374 18.8246C23.9207 18.6165 23.9623 18.332 23.9623 17.9712C23.9623 17.5688 23.9589 17.0415 23.9519 16.3893C23.945 15.7371 23.9415 15.0571 23.9415 14.3494C23.9415 13.6417 23.9381 12.9548 23.9311 12.2887C23.9242 11.6227 23.9207 11.0815 23.9207 10.6652C23.9207 10.4848 23.9346 10.2975 23.9623 10.1032C23.9901 9.90891 24.056 9.73199 24.1601 9.57241C24.2642 9.41283 24.4064 9.281 24.5868 9.17693C24.7672 9.07285 25.017 9.02081 25.3361 9.02081C25.7108 9.02081 26.0716 9.01735 26.4185 9.01041C26.7654 9.00347 27.1539 9 27.5841 9Z",fill:"#A3A8B1"})]}),desc:"Token Delisting",link:"".concat(W,"/token-delisting"),id:"token-delisting"},{logo:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"32",viewBox:"0 0 30 32",fill:"none",children:(0,c.jsx)("path",{d:"M8.76135 20.4722L9.85923 19.891L14.057 22.2482V16.4359L13.1852 16.0161L8.98738 13.5621V18.3411L8.05095 18.8577L4.53128 16.8234L0.333496 19.1806V24.0888L4.53128 26.446L8.76135 24.0888V20.4722ZM21.613 18.89L20.7735 18.3734V13.5621L15.7361 16.4359V22.2482L19.9339 19.891L21.0318 20.4722V24.0888L25.2296 26.446L29.4273 24.0888V19.2129L25.2296 16.8557L21.613 18.89ZM21.613 3.74571V7.62059L26.0691 10.0747V14.4662L26.4889 14.7245L29.4273 16.4036V8.00807L21.613 3.74571ZM19.0943 25.8648L14.8966 28.1251L10.6988 25.8648L10.0207 26.2846L7.24369 27.8022L14.8966 32L22.5494 27.8022L19.7724 26.2846L19.0943 25.8648ZM3.69172 14.4339V10.0424L8.14783 7.58829V3.74571L0.333496 8.00807V16.3391L3.27194 14.6599L3.69172 14.4339ZM9.85923 12.1413L14.8966 15.0151L15.7361 14.4985L19.9339 12.1413L15.7361 9.78406V9.20283L19.0943 7.26539V2.45409L14.8966 0L10.6988 2.45409V7.2331L14.057 9.17053V9.75177L9.85923 12.1413Z",fill:"#A3A8B1"})}),desc:"Network Updates",link:"".concat(W,"/network-upgrade"),id:"network-upgrade"},{logo:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"31",viewBox:"0 0 32 31",fill:"none",children:(0,c.jsx)("path",{d:"M20.9072 25.3594C20.9072 24.9954 20.6364 24.6314 20.2724 24.6314H11.6343C11.2704 24.6314 10.9996 24.9022 10.9996 25.3594V28.1781H4.90942V30.2688H27.1838V28.1781H21.0004V25.3594M29.9093 0H2.09072C0.909974 0 0 0.909974 0 2.09072V21.5464C0 22.7271 0.909974 23.6371 2.09072 23.6371H29.9093C31.09 23.6371 32 22.7271 32 21.5464V2.09072C32 0.905535 31.09 -4.68165e-08 29.9093 0ZM9.09086 19.5445H5.27341V15.363H9.00208V19.5445H9.09086Z
1M14.9103 19.5445H11.1816V11.9983H14.9103V19.5445ZM20.9072 19.5445H17.1785V5.18019H20.9072V19.5445ZM26.9086 19.5445H22.8159L23.1799 8.63365H26.9086V19.5445Z",fill:"#A3A8B1"})}),desc:"New Features",link:"".concat(W,"/new-features"),id:"new-features"},{logo:(0,c.jsx)("svg",{width:"27",height:"22",viewBox:"0 0 27 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{id:"Vector",d:"M26.985 14.9115C26.9851 14.6728 26.7886 14.4765 26.5497 14.4766L23.2335 14.4774L23.2346 7.52517L26.5585 7.52438C26.7974 7.52434 26.9939 7.32799 26.9939 7.08932L26.9944 4.28688C26.9944 4.04821 26.7979 3.85192 26.559 3.85196L23.2352 3.85274L23.2357 0.542169C23.2357 0.418985 23.1856 0.315056 23.1047 0.234229C23.0277 0.157251 22.9159 0.107225 22.7965 0.103394L14.9478 0.108445C9.63829 0.109258 5.21055 3.9094 4.24266 8.93315L1.10247 8.93404C0.863576 8.93408 0.667042 9.13043 0.667005 9.3691L0.666504 12.6335C0.666485 12.7567 0.716558 12.8606 0.79746 12.9414C0.878361 13.0223 0.986241 13.0684 1.10568 13.0723L4.24588 13.0714C4.66167 15.2501 5.73253 17.1978 7.24269 18.7066C9.21516 20.6772 11.9391 21.8971 14.9522 21.8966L22.8047 21.8954C23.0436 21.8954 23.2401 21.699 23.2402 21.4604L23.2407 18.1498L26.5645 18.149C26.8034 18.149 27 17.9526 27 17.7139L26.985 14.9115Z",fill:"#A3A8B1"})}),desc:"API Updates",link:"".concat(W,"/api-upgrade"),id:"api-upgrade"},];return(0,c.jsxs)(z,{style:{position:r?"static":"sticky",top:i?"48px":"100px",maxHeight:"calc(100vh - ".concat(i?"48px":"100px",")"),overflow:"auto"},children:[i&&(0,c.jsxs)(X,{children:[(0,c.jsx)(T,{children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",onClick:function(){a(!0)},children:[(0,c.jsx)("path",{d:"M19 6L19 18",stroke:"#A3A8B1",strokeWidth:"2.47059",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M15.1837 11.2594C15.6211 11.6562 15.6211 12.3438 15.1837 12.7406L7.17193 20.0094C6.52932 20.5924 5.5 20.1364 5.5 19.2688L5.5 4.73122C5.5 3.86355 6.52933 3.40759 7.17193 3.99061L15.1837 11.2594Z",fill:"#A3A8B1"})]})}),l.map(function(n){return(0,c.jsx)(B,{onClick:function(){t(n.link)},className:"".concat(n.id===e?"item-selected":""," flod-menu"),children:n.logo},n.desc)})]}),(0,c.jsx)("div",{style:{position:i?"absolute":"static",top:0,right:r?0:"100%",width:i?"100vw":r?"247px":"96px",backgroundColor:"#fff",height:"100%",zIndex:1,transition:"right 0.3s, width 0.3s",padding:"20px",paddingTop:"40px",boxSizing:"border-box",overflow:"hidden"},children:(0,c.jsxs)(X,{children:[r?(0,c.jsx)(T,{children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",onClick:function(){i?a(!1):a(!r)},children:[(0,c.jsx)("path",{d:"M5 6L5 18",stroke:"#A3A8B1",strokeWidth:"2.47059",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M8.81631 11.2594C8.37889 11.6562 8.37889 12.3438 8.81631 12.7406L16.8281 20.0094C17.4707 20.5924 18.5 20.1364 18.5 19.2688L18.5 4.73122C18.5 3.86355 17.4707 3.40759 16.8281 3.99061L8.81631 11.2594Z",fill:"#A3A8B1"})]})}):(0,c.jsx)(T,{children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",onClick:function(){a(!0)},children:[(0,c.jsx)("path",{d:"M19 6L19 18",stroke:"#A3A8B1",strokeWidth:"2.47059",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)("path",{d:"M15.1837 11.2594C15.6211 11.6562 15.6211 12.3438 15.1837 12.7406L7.17193 20.0094C6.52932 20.5924 5.5 20.1364 5.5 19.2688L5.5 4.73122C5.5 3.86355 6.52933 3.40759 7.17193 3.99061L15.1837 11.2594Z",fill:"#A3A8B1"})]})}),l.map(function(n){return(0,c.jsxs)(B,{onClick:function(){t(n.link)},className:"".concat(n.id===e?"item-selected":""),style:{borderRadius:"8px"},children:[n.logo,(0,c.jsx)(Y,{style:{opacity:r?1:0,transition:"opacity 0.3s"},children:n.desc})]},n.desc)})]})})]})}var z=f.ZP.div.withConfig({componentId:"sc-e7896199-0"})(_()),X=f.ZP.div.withConfig({componentId:"sc-e7896199-1"})(A()),B=f.ZP.div.withConfig({componentId:"sc-e7896199-2"})(I(),d.xL.media768),Y=f.ZP.div.withConfig({componentId:"sc-e7896199-3"})(N(),d.Wu.fonts.medium),T=f.ZP.div.withConfig({componentId:"sc-e7896199-4"})(R(),d.xL.media768),F=t(99533);function D(){var n=(0,a.Z)(["\n width: min(100%, ",");\n margin: 0 auto;\n display: flex;\n position: relative;\n"]);return D=function(){return n},n}function q(){var n=(0,a.Z)(["\n display: flex;\n padding: 40px 24px;\n flex: auto;\n\n html,\n address,\n blockquote,\n body,\n dd,\n div,\n dl,\n dt,\n fieldset,\n form,\n frame,\n frameset,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n noframes,\n ol,\n p,\n ul,\n center,\n dir,\n hr,\n menu,\n pre {\n display: block;\n }\n\n li {\n display: list-item;\n }\n\n head {\n display: none;\n }\n\n table {\n display: table;\n }\n\n tr {\n display: table-row;\n }\n\n thead {\n display: table-header-group;\n }\n\n tbody {\n display: table-row-group;\n }\n\n tfoot {\n display: table-footer-group;\n }\n\n col {\n display: table-column;\n }\n\n colgroup {\n display: table-column-group;\n }\n\n td,\n th {\n display: table-cell;\n }\n\n caption {\n display: table-caption;\n }\n\n th {\n font-weight: bolder;\n text-align: center;\n }\n\n caption {\n text-align: center;\n }\n\n body {\n margin: 8px;\n line-height: 1.12;\n }\n\n h1 {\n font-size: 2em;\n margin: 0.67em 0;\n }\n\n h2 {\n font-size: 1.5em;\n margin: 0.75em 0;\n }\n\n h3 {\n font-size: 1.17em;\n margin: 0.83em 0;\n }\n\n h4,\n p,\n blockquote,\n ul,\n fieldset,\n form,\n ol,\n dl,\n dir,\n menu {\n margin: 1.12em 0;\n }\n\n h5 {\n font-size: 0.83em;\n margin: 1.5em 0;\n }\n\n h6 {\n font-size: 0.75em;\n margin: 1.67em 0;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n b,\n strong {\n font-weight: bold;\n ",";\n }\n\n blockquote {\n margin-left: 40px;\n margin-right: 40px;\n }\n\n i,\n cite,\n em,\n var,\n address {\n font-style: italic;\n }\n\n pre,\n tt,\n code,\n kbd,\n samp {\n font-family: monospace;\n }\n\n pre {\n white-space: pre;\n }\n\n button,\n textarea,\n input,\n object,\n select {\n display: inline-block;\n }\n\n big {\n font-size: 1.17em;\n }\n\n small,\n sub,\n sup {\n font-size: 0.83em;\n }\n\n sub {\n vertical-align: sub;\n }\n\n sup {\n vertical-align: super;\n }\n\n table {\n border-spacing: 2px;\n }\n\n thead,\n tbody,\n tfoot {\n vertical-align: middle;\n }\n\n td,\n th {\n vertical-align: inherit;\n }\n\n s,\n strike,\n del {\n text-decoration: line-through;\n }\n\n hr {\n border: 1px inset;\n }\n\n ol,\n ul,\n dir,\n menu,\n dd {\n margin-left: 40px;\n }\n\n ol {\n list-style-type: decimal;\n }\n ul {\n list-style-type: disc;\n }\n\n ol ul,\n ul ol,\n ul ul,\n ol ol {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n u,\n ins {\n text-decoration: underline;\n }\n\n br:before {\n content: âAâ;\n }\n\n :before,\n :after {\n white-space: pre-line;\n }\n\n center {\n text-align: center;\n }\n\n abbr,\n acronym {\n font-variant: small-caps;\n letter-spacing: 0.1em;\n }\n\n :link,\n :visited {\n text-decoration: underline;\n }\n\n :focus {\n outline: thin dotted invert;\n }\n\n @media print {\n h1 {\n page-break-before: always;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n page-break-after: avoid;\n }\n\n ul,\n ol,\n dl {\n page-break-before: avoid;\n }\n }\n\n /* "," {\n padding: 40px 60px;\n } */\n\n /* "," {\n } */\n "," {\n padding: 40px 20px;\n flex-direction: column;\n }\n"],["\n display: flex;\n padding: 40px 24px;\n flex: auto;\n\n html,\n address,\n blockquote,\n body,\n dd,\n div,\n dl,\n dt,\n fieldset,\n form,\n frame,\n frameset,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n noframes,\n ol,\n p,\n ul,\n center,\n dir,\n hr,\n menu,\n pre {\n display: block;\n }\n\n li {\n display: list-item;\n }\n\n head {\n display: none;\n }\n\n table {\n display: table;\n }\n\n tr {\n display: table-row;\n }\n\n thead {\n display: table-header-group;\n }\n\n tbody {\n display: table-row-group;\n }\n\n tfoot {\n display: table-footer-group;\n }\n\n col {\n display: table-column;\n }\n\n colgroup {\n display: table-column-group;\n }\n\n td,\n th {\n display: table-cell;\n }\n\n caption {\n display: table-caption;\n }\n\n th {\n font-weight: bolder;\n text-align: center;\n }\n\n caption {\n text-align: center;\n }\n\n body {\n margin: 8px;\n line-height: 1.12;\n }\n\n h1 {\n font-size: 2em;\n margin: 0.67em 0;\n }\n\n h2 {\n font-size: 1.5em;\n margin: 0.75em 0;\n }\n\n h3 {\n font-size: 1.17em;\n margin: 0.83em 0;\n }\n\n h4,\n p,\n blockquote,\n ul,\n fieldset,\n form,\n ol,\n dl,\n dir,\n menu {\n margin: 1.12em 0;\n }\n\n h5 {\n font-size: 0.83em;\n margin: 1.5em 0;\n }\n\n h6 {\n font-size: 0.75em;\n margin: 1.67em 0;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n b,\n strong {\n font-weight: bold;\n ",";\n }\n\n blockquote {\n margin-left: 40px;\n margin-right: 40px;\n }\n\n i,\n cite,\n em,\n var,\n address {\n font-style: italic;\n }\n\n pre,\n tt,\n code,\n kbd,\n samp {\n font-family: monospace;\n }\n\n pre {\n white-space: pre;\n }\n\n button,\n textarea,\n input,\n object,\n select {\n display: inline-block;\n }\n\n big {\n font-size: 1.17em;\n }\n\n small,\n sub,\n sup {\n font-size: 0.83em;\n }\n\n sub {\n vertical-align: sub;\n }\n\n sup {\n vertical-align: super;\n }\n\n table {\n border-spacing: 2px;\n }\n\n thead,\n tbody,\n tfoot {\n vertical-align: middle;\n }\n\n td,\n th {\n vertical-align: inherit;\n }\n\n s,\n strike,\n del {\n text-decoration: line-through;\n }\n\n hr {\n border: 1px inset;\n }\n\n ol,\n ul,\n dir,\n menu,\n dd {\n margin-left: 40px;\n }\n\n ol {\n list-style-type: decimal;\n }\n ul {\n list-style-type: disc;\n }\n\n ol ul,\n ul ol,\n ul ul,\n ol ol {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n u,\n ins {\n text-decoration: underline;\n }\n\n br:before {\n content: â\\Aâ;\n }\n\n :before,\n :after {\n white-space: pre-line;\n }\n\n center {\n text-align: center;\n }\n\n abbr,\n acronym {\n font-variant: small-caps;\n letter-spacing: 0.1em;\n }\n\n :link,\n :visited {\n text-decoration: underline;\n }\n\n :focus {\n outline: thin dotted invert;\n }\n\n @media print {\n h1 {\n page-break-before: always;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n page-break-after: avoid;\n }\n\n ul,\n ol,\n dl {\n page-break-before: avoid;\n }\n }\n\n /* "," {\n padding: 40px 60px;\n } */\n\n /* "," {\n } */\n "," {\n padding: 40px 20px;\n flex-direction: column;\n }\n"]);return q=function(){return n},n}function O(){var n=(0,a.Z)(["\n margin-bottom: 24px;\n"]);return O=function(){return n},n}function U(){var n=(0,a.Z)(["\n color: #1f2025;\n ",";\n font-size: 32px;\n font-style: normal;\n font-weight: 700;\n line-height: normal;\n"]);return U=function(){return n},n}function G(){var n=(0,a.Z)(["\n overflow: hidden;\n color: #71757e;\n text-overflow: ellipsis;\n ",";\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px; /* 183.333% */\n"]);return G=function(){return n},n}function K(){var n=(0,a.Z)(["\n /* border: 1px solid red; */\n display: flex;\n flex: auto;\n padding: 20px;\n padding-top: 0px;\n margin-right: 24px;\n min-height: 100px;\n flex-direction: column;\n "," {\n margin-right: 0px;\n padding: 0px;\n }\n a {\n text-decoration: underline;\n color: #65aee8;\n }\n"]);return K=function(){return n},n}function Q(){var n=(0,a.Z)(["\n /* border: 1px solid #000; */\n /* white-space: nowrap; */\n flex-shrink: 0;\n width: 280px;\n\n .right-title {\n color: #71757e;\n ",";\n font-size: 24px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n }\n "," {\n display: none;\n }\n"]);return Q=function(){return n},n}function J(){var n=(0,a.Z)(["\n margin-top: 16px;\n color: #71757e;\n ",";\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n cursor: pointer;\n\n :hover {\n color: #3c6ff5;\n }\n\n "," {\n cursor: default;\n margin-top: 4px;\n }\n"]);return J=function(){return n},n}function $(){var n,e,t=(0,s.useRouter)().query,a=t.announcement,f=t.announcement_id,h=(0,u.useState)(!0),p=h[0],m=h[1],g=(0,u.useState)(),v=g[0],x=g[1],b=(0,u.useState)([]),w=b[0],y=b[1],k=(0,u.useState)(0),L=k[0],j=k[1],Z=(0,u.useState)(!1),E=Z[0],H=Z[1],_=(0,u.useState)({list:[],pagination:{page_num:1,page_size:20,total:0}}),A=_[0],I=_[1],N=(n=(0,i.Z)(function(){var n,e;return(0,l.__generator)(this,function(e){switch(e.label){case 0:m(!0),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,V.accountApi.getAnnouncementDetail(f)];case 2:if(n=e.sent()){var t,i;x(n.notification),t=n.notification.content.content,i=new DOMParser().parseFromString(t,"text/html").getElementsByTagName("img"),y(Array.prototype.map.call(i,function(n){return n.getAttribute("src")})||[])}return[3,5];case 3:return e.sent(),[3,5];case 4:return m(!1),[7];case 5:return[2]}})}),function(){return n.apply(this,arguments)}),R=(e=(0,i.Z)(function(){var n,e;return(0,l.__generator)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,3,4]),[4,V.accountApi.getAnnouncementList({type:2,title:"",page_num:1,page_size:20,tag_name:a})];case 1:return(n=t.sent())&&I({list:(null==n?void 0:n.list)||[],pagination:(0,r.Z)((0,o.Z)({},A.pagination),{total:(null===(e=n.pagination)||void 0===e?void 0:e.total)||0})}),[3,4];case 2:return t.sent(),[3,4];
1case 3:return[7];case 4:return[2]}})}),function(){return e.apply(this,arguments)});return(0,u.useEffect)(function(){N(),R()},[]),(0,c.jsx)("div",{children:(0,c.jsxs)(F.TV,{children:[(0,c.jsx)(C,{title:(null==v?void 0:v.title)||""}),(0,c.jsxs)(nn,{children:[(0,c.jsx)(S,{}),(0,c.jsxs)(ne,{children:[(0,c.jsx)(nr,{style:{alignItems:p?"center":"flex-start"},children:p?(0,c.jsx)(M.Z,{width:"100%"}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(nt,{children:[(0,c.jsx)(ni,{children:(null==v?void 0:v.title)||""}),(0,c.jsx)(no,{children:(null==v?void 0:v.show_begin_at)?(0,d.Qe)((null==v?void 0:v.show_begin_at)*1e3):""})]}),(null==v?void 0:v.content.content)&&(0,c.jsx)("div",{onClick:function(n){if("IMG"===n.target.tagName){var e=decodeURIComponent(n.target.src);j(w.findIndex(function(n){return n===e})),H(!0)}},dangerouslySetInnerHTML:{__html:null==v?void 0:v.content.content}})]})}),(0,c.jsx)(na,{children:A.list.length>0&&A.list.slice(0,5).map(function(n){return(0,c.jsx)(P(),{href:"/support-center/announcement/".concat((null==n?void 0:n.tag_name)||a||"new-features","/").concat(n.notification_id),passHref:!0,children:(0,c.jsx)(nl,{children:n.title})},n.notification_id)})})]}),(0,c.jsx)(F.Ce,{images:w.map(function(n){return{src:n,key:n}}),visible:E,onClose:function(){return H(!1)},index:L,onIndexChange:j})]})]})})}var nn=f.ZP.div.withConfig({componentId:"sc-958b1fab-0"})(D(),function(n){return n.theme.maxWidth}),ne=f.ZP.div.withConfig({componentId:"sc-958b1fab-1"})(q(),d.Wu.fonts.bold,d.xL.media1100,d.xL.media1024,d.xL.media768),nt=f.ZP.div.withConfig({componentId:"sc-958b1fab-2"})(O()),ni=f.ZP.div.withConfig({componentId:"sc-958b1fab-3"})(U(),d.Wu.fonts.bold),no=f.ZP.div.withConfig({componentId:"sc-958b1fab-4"})(G(),d.Wu.fonts.regular),nr=f.ZP.div.withConfig({componentId:"sc-958b1fab-5"})(K(),d.xL.media680),na=f.ZP.div.withConfig({componentId:"sc-958b1fab-6"})(Q(),d.Wu.fonts.semibold,d.xL.media768),nl=f.ZP.div.withConfig({componentId:"sc-958b1fab-7"})(J(),d.Wu.fonts.light,d.xL.media768)},99533:function(n,e,t){t.d(e,{Ce:function(){return z},HI:function(){return T},TV:function(){return Y}});var i=t(2784),o=t(28316);function r(){return(r=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n}).apply(this,arguments)}function a(n,e){if(null==n)return{};var t,i,o={},r=Object.keys(n);for(i=0;i<r.length;i++)e.indexOf(t=r[i])>=0||(o[t]=n[t]);return o}function l(n){var e=(0,i.useRef)({fn:n,curr:void 0}).current;if(e.fn=n,!e.curr){var t=Object.create(null);Object.keys(n).forEach(function(n){t[n]=function(){var t;return(t=e.fn[n]).call.apply(t,[e.fn].concat([].slice.call(arguments)))}}),e.curr=t}return e.curr}function c(n){return(0,i.useReducer)(function(n,e){return r({},n,"function"==typeof e?e(n):e)},n)}var s=(0,i.createContext)(void 0),u="undefined"!=typeof window&&"ontouchstart"in window,d=function(n,e,t){return Math.max(Math.min(n,t),e)},f=function(n,e,t){return void 0===e&&(e=0),void 0===t&&(t=0),d(n,1*(1-t),Math.max(6,e)*(1+t))},h="undefined"==typeof window||/ServerSideRendering/.test(navigator&&navigator.userAgent)?i.useEffect:i.useLayoutEffect;function p(n,e,t){var o=(0,i.useRef)(e);o.current=e,(0,i.useEffect)(function(){function e(n){o.current(n)}return n&&window.addEventListener(n,e,t),function(){n&&window.removeEventListener(n,e)}},[n])}var m=["container"];function g(n){var e=n.container,t=void 0===e?document.body:e,l=a(n,m);return(0,o.createPortal)(i.createElement("div",r({},l)),t)}function v(n){return i.createElement("svg",r({width:"44",height:"44",viewBox:"0 0 768 768"},n),i.createElement("path",{d:"M607.5 205.5l-178.5 178.5 178.5 178.5-45 45-178.5-178.5-178.5 178.5-45-45 178.5-178.5-178.5-178.5 45-45 178.5 178.5 178.5-178.5z"}))}function x(n){return i.createElement("svg",r({width:"44",height:"44",viewBox:"0 0 768 768"},n),i.createElement("path",{d:"M640.5 352.5v63h-390l178.5 180-45 45-256.5-256.5 256.5-256.5 45 45-178.5 180h390z"}))}function b(n){return i.createElement("svg",r({width:"44",height:"44",viewBox:"0 0 768 768"},n),i.createElement("path",{d:"M384 127.5l256.5 256.5-256.5 256.5-45-45 178.5-180h-390v-63h390l
1-178.5-180z"}))}function w(){return(0,i.useEffect)(function(){var n=document.body.style,e=n.overflow;return n.overflow="hidden",function(){n.overflow=e}},[]),null}function C(n){var e=n.touches[0],t=e.clientX,i=e.clientY;if(n.touches.length>=2){var o=n.touches[1],r=o.clientX,a=o.clientY;return[(t+r)/2,(i+a)/2,Math.sqrt(Math.pow(r-t,2)+Math.pow(a-i,2))]}return[t,i,0]}var y=function(n,e,t,i){var o=t*e,r=(o-i)/2,a=void 0,l=n;return o<=i?(a=1,l=0):n>0&&r-n<=0?(a=2,l=r):n<0&&r+n<=0&&(a=3,l=-r),[a,l]};function k(n,e,t,i,o,r,a,l,c,s){void 0===a&&(a=innerWidth/2),void 0===l&&(l=innerHeight/2),void 0===c&&(c=0),void 0===s&&(s=0);var u=y(n,r,t,innerWidth)[0],d=y(e,r,i,innerHeight),f=innerWidth/2,h=innerHeight/2;return{x:a-r/o*(a-(f+n))-f+(i/t>=3&&t*r===innerWidth?0:u?c/2:c),y:l-r/o*(l-(h+e))-h+(d[0]?s/2:s),lastCX:a,lastCY:l}}function L(n,e,t){var i=n%180!=0;return i?[t,e,i]:[e,t,i]}function j(n,e,t){var i=L(t,innerWidth,innerHeight),o=i[0],r=i[1],a=0,l=o,c=r,s=n/e*r,u=e/n*o;return n<o&&e<r?(l=n,c=e):n<o&&e>=r?l=s:n>=o&&e<r||n/e>o/r?c=u:e/n>=3&&!i[2]?a=((c=u)-r)/2:l=s,{width:l,height:c,x:0,y:a,pause:!0}}function Z(n,e){var t=e.leading,o=void 0!==t&&t,r=e.maxWait,a=e.wait,l=void 0===a?r||0:a,c=(0,i.useRef)(n);c.current=n;var s=(0,i.useRef)(0),u=(0,i.useRef)(),d=function(){return u.current&&clearTimeout(u.current)},f=(0,i.useCallback)(function(){var n=[].slice.call(arguments),e=Date.now();function t(){s.current=e,d(),c.current.apply(null,n)}var i=s.current,a=e-i;if(0===i&&(o&&t(),s.current=e),void 0!==r){if(a>r)return void t()}else a<l&&(s.current=e);d(),u.current=setTimeout(function(){t(),s.current=0},l)},[l,r,o]);return f.cancel=d,f}var V=function(n,e,t){return E(n,e,t,100,function(n){return n},function(){return E(e,n,t)})},M=function(n){return 1-Math.pow(1-n,4)};function E(n,e,t,i,o,r){void 0===i&&(i=400),void 0===o&&(o=M);var a=e-n;if(0!==a){var l=Date.now(),c=0,s=function(){var e=Math.min(1,(Date.now()-l)/i);t(n+o(e)*a)&&e<1?u():(cancelAnimationFrame(c),e>=1&&r&&r())};u()}function u(){c=requestAnimationFrame(s)}}var P={T:0,L:0,W:0,H:0,FIT:void 0},H=function(){var n=(0,i.useRef)(!1);return(0,i.useEffect)(function(){return n.current=!0,function(){n.current=!1}},[]),n},_=["className"];function A(n){var e=n.className,t=a(n,_);return i.createElement("div",r({className:"PhotoView__Spinner "+e},t),i.createElement("svg",{viewBox:"0 0 32 32",width:"36",height:"36",fill:"white"},i.createElement("path",{opacity:".25",d:"M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"}),i.createElement("path",{d:"M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"})))}var I=["src","loaded","broken","className","onPhotoLoad","loadingElement","brokenElement"];function N(n){var e=n.src,t=n.loaded,o=n.broken,l=n.className,c=n.onPhotoLoad,s=n.loadingElement,u=n.brokenElement,d=a(n,I),f=H();return e&&!o?i.createElement(i.Fragment,null,i.createElement("img",r({className:"PhotoView__Photo"+(l?" "+l:""),src:e,onLoad:function(n){var e=n.target;f.current&&c({loaded:!0,naturalWidth:e.naturalWidth,naturalHeight:e.naturalHeight})},onError:function(){f.current&&c({broken:!0})},alt:""},d)),!t&&(i.createElement("span",{className:"PhotoView__icon"},s)||i.createElement(A,{className:"PhotoView__icon"}))):u?i.createElement("span",{className:"PhotoView__icon"},"function"==typeof u?u({src:e}):u):null}var R={naturalWidth:void 0,naturalHeight:void 0,width:void 0,height:void 0,loaded:void 0,broken:!1,x:0,y:0,touched:!1,maskTouched:!1,rotate:0,scale:1,CX:0,CY:0,lastX:0,lastY:0,lastCX:0,lastCY:0,lastScale:1,touchTime:0,touchLength:0,pause:!0,stopRaf:!0,reach:void 0};function W(n){var e,t,o,a,s,d,m,g,v,x,b,w,M,_,A,I,W,S,z,X,B,Y,T,F,D,q,O,U,G,K,Q,J,$,nn,ne=n.item,nt=ne.src,ni=ne.render,no=ne.width,nr=void 0===no?0:no,na=ne.height,nl=void 0===na?0:na,nc=ne.originRef,ns=n.visible,nu=n.speed,nd=n.easing,nf=n.wrapClassName,nh=n.className,np=n.style,nm=n.loadingElement,ng=n.brokenElement,nv=n.onPhotoTap,nx=n.onMaskTap,nb=n.onReachMove,nw=n.onReachUp,nC=n.onPhotoResize,ny=n.isActive,nk=n.expose,nL=c(R),nj=nL[0],nZ=nL[1],nV=(0,i.useRef)(0),nM=H(),nE=nj.naturalWi
1dth,nP=void 0===nE?nr:nE,nH=nj.naturalHeight,n_=void 0===nH?nl:nH,nA=nj.width,nI=void 0===nA?nr:nA,nN=nj.height,nR=void 0===nN?nl:nN,nW=nj.loaded,nS=void 0===nW?!nt:nW,nz=nj.broken,nX=nj.x,nB=nj.y,nY=nj.touched,nT=nj.stopRaf,nF=nj.maskTouched,nD=nj.rotate,nq=nj.scale,nO=nj.CX,nU=nj.CY,nG=nj.lastX,nK=nj.lastY,nQ=nj.lastCX,nJ=nj.lastCY,n$=nj.lastScale,n0=nj.touchTime,n1=nj.touchLength,n2=nj.pause,n4=nj.reach,n3=l({onScale:function(n){return n9(f(n))},onRotate:function(n){nD!==n&&(nk({rotate:n}),nZ(r({rotate:n},j(nP,n_,n))))}});function n9(n,e,t){nq!==n&&(nk({scale:n}),nZ(r({scale:n},k(nX,nB,nI,nR,nq,n,e,t),n<=1&&{x:0,y:0})))}var n6=Z(function(n,e,t){if(void 0===t&&(t=0),(nY||nF)&&ny){var i=L(nD,nI,nR),o=i[0],a=i[1];if(0===t&&0===nV.current){var l=20>=Math.abs(n-nO);if(l&&20>=Math.abs(e-nU))return void nZ({lastCX:n,lastCY:e});nV.current=l?e>nU?3:2:1}var c=n-nQ,s=e-nJ,u=void 0;if(0===t){var d,h,p,m,g=y(c+nG,nq,o,innerWidth)[0],v=y(s+nK,nq,a,innerHeight);d=nV.current,p=v[0],void 0!==(u=g&&1===d||"x"===n4?"x":p&&d>1||"y"===n4?"y":void 0)&&nb(u,n,e,nq)}if("x"===u||nF)return void nZ({reach:"x"});var x=f(nq+(t-n1)/100/2*nq,nP/nI,.2);nk({scale:x}),nZ(r({touchLength:t,reach:u,scale:x},k(nX,nB,nI,nR,nq,x,n,e,c,s)))}},{maxWait:8});function n5(n){return!nT&&!nY&&(nM.current&&nZ(r({},n,{pause:ns})),nM.current)}var n8,n7,en,ee,et,ei,eo,er=(ee=function(n){return n5({x:n})},et=function(n){return n5({y:n})},ei=function(n){return nM.current&&(nk({scale:n}),nZ({scale:n})),!nY&&nM.current},eo=l({X:function(n){return ee(n)},Y:function(n){return et(n)},S:function(n){return ei(n)}}),function(n,e,t,i,o,r,a,l,c,s,u){var d=L(s,o,r),f=d[0],h=d[1],p=y(n,l,f,innerWidth),m=p[0],g=p[1],v=y(e,l,h,innerHeight),x=v[0],b=v[1],w=Date.now()-u;if(w>=200||l!=a||Math.abs(c-a)>1){var C=k(n,e,o,r,a,l),j=C.x,Z=C.y,M=m?g:j!==n?j:null,P=x?b:Z!==e?Z:null;return null!==M&&E(n,M,eo.X),null!==P&&E(e,P,eo.Y),void(l!=a&&E(a,l,eo.S))}var H=(n-t)/w,_=(e-i)/w,A=Math.sqrt(Math.pow(H,2)+Math.pow(_,2)),I=!1,N=!1;!function(n,e){var t=n,i=0,o=void 0,r=0,a=function(r){o||(o=r);var a=r-o,s=Math.sign(n),u=-.001*s,d=Math.sign(-t)*Math.pow(t,2)*2e-4;i+=t*a+(u+d)*Math.pow(a,2)/2,o=r,s*(t+=(u+d)*a)<=0?c():e(i)?l():c()};function l(){r=requestAnimationFrame(a)}function c(){cancelAnimationFrame(r)}l()}(A,function(t){var i=n+t*(H/A),o=e+t*(_/A),r=y(i,a,f,innerWidth),l=r[0],c=r[1],s=y(o,a,h,innerHeight),u=s[0],d=s[1];if(l&&!I&&(I=!0,m?E(i,c,eo.X):V(c,i+(i-c),eo.X)),u&&!N&&(N=!0,x?E(o,d,eo.Y):V(d,o+(o-d),eo.Y)),I&&N)return!1;var p=I||eo.X(c),g=N||eo.Y(d);return p&&g})}),ea=(n8=function(n,e){n4||n9(1!==nq?1:Math.max(2,nP/nI),n,e)},n7=(0,i.useRef)(0),en=Z(function(){n7.current=0,nv.apply(void 0,[].slice.call(arguments))},{wait:300}),function(){var n=[].slice.call(arguments);n7.current+=1,en.apply(void 0,n),n7.current>=2&&(en.cancel(),n7.current=0,n8.apply(void 0,n))});function el(n,e){if(nV.current=0,(nY||nF)&&ny){nZ({touched:!1,maskTouched:!1,pause:!1,stopRaf:!1,reach:void 0});var t=f(nq,nP/nI);if(er(nX,nB,nG,nK,nI,nR,nq,t,n$,nD,n0),nw(n,e),nO===n&&nU===e){if(nY)return void ea(n,e);nF&&nx(n,e)}}}function ec(n,e,t){void 0===t&&(t=0),nZ({touched:!0,CX:n,CY:e,lastCX:n,lastCY:e,lastX:nX,lastY:nB,lastScale:nq,touchLength:t,touchTime:Date.now()})}function es(n){nZ({maskTouched:!0,CX:n.clientX,CY:n.clientY,lastX:nX,lastY:nB})}p(u?void 0:"mousemove",function(n){n.preventDefault(),n6(n.clientX,n.clientY)}),p(u?void 0:"mouseup",function(n){el(n.clientX,n.clientY)}),p(u?"touchmove":void 0,function(n){n.preventDefault();var e=C(n);n6.apply(void 0,e)},{passive:!1}),p(u?"touchend":void 0,function(n){var e=n.changedTouches[0];el(e.clientX,e.clientY)},{passive:!1}),p("resize",Z(function(){nS&&!nY&&(nZ(j(nP,n_,nD)),nC())},{maxWait:8})),h(function(){ny&&nk(r({scale:nq,rotate:nD},n3))},[ny]);var eu=(x=function(n){return nZ({pause:n})},I=(0,i.useRef)(!1),z=(S=(W=c({lead:!0,scale:nq}))[0]).lead,X=S.scale,B=W[1],Y=Z(function(n){try{return x(!0),B({lead:!1,scale:n}),Promise.resolve()}catch(e){return Promise.reject(e)}},{wait:nu}),h(function(){I.current?(x(!1),B({lead:!0}),Y(nq)):I.current=!0},[nq]),F=(T=z?[nI*X,nR*X,nq/X]:[nI*nq,nR*nq,1])[0],D=T[1],q=T[2],U=(O=function(n,e,t,o,r){var a=(0,i.useState)(P),c=a[0],s=a[1],u=(0,i.useState)(0),d=u[0],f=u[1],h=(0,i.useRef)(),p=l({OK:function(){return n&&f(4)}});function m(n){r(!1),f(n)}return(0,i.useEffect)(function(){if(h.current||(h.current=Date.now()),t){if(function(n,e){var t=n&&n.current;if(t&&1===t.nodeType){var i=t.getBoundingClientRect();e({T:i.top,L:i.left,W:i.width,H:i.height,FIT:"IMG"===t.tagName?getComputedStyle(t).objectFit:void 0})}}(e,s),n)return Date.now()-h.current<250?(f(1),requestAnimationFrame(function(){f(2),requestAnimationFrame(function(){return m(3)})}),void setTimeout(p.OK,o)):void f(4);m(5)}},[n,t]),[d,c]}(ns,nc,nS,nu,x))[0],K=(G=O[1]).W,Q=G.FIT,J=innerWidth/2,$=innerHeight/2,[(nn=U<3||U>4)?K?G.L:J:nX+(J-nI*nq/2),nn?K?G.T:$:nB+($-nR*nq/2),F,nn&&Q?F*(G.H/K):D,0===U?q:nn?K/(nI*nq)||.01:q,nn?Q?1:0:1,U,Q]),ed=eu[4],ef=eu[6],eh="transform "+nu+"ms "+nd,ep={className:nh,onMouseDown:u?void 0:function(n){n.stopPropagation(),0===n.button&&ec(n.clientX,n.clientY,0)},onTouchStart:u?function(n){n.stopPropagation(),ec.apply(void 0,C(n))}:void 0,onWheel:function(n){if(!n4){var e=f(nq-n.deltaY/100/2,nP/nI);nZ({stopRaf:!0}),n9(e,n.clientX,n.clientY)}},style:{width:eu[2],height:eu[3],opacity:eu[5],objectFit:4===ef?void 0:eu[7],transform:nD?"rotate("+nD+"deg)":void 0,transition:ef>
12?eh+", opacity "+nu+"ms ease, height "+(ef<4?nu/2:ef>4?nu:0)+"ms "+nd:void 0}};return i.createElement("div",{className:"PhotoView__PhotoWrap"+(nf?" "+nf:""),style:np,onMouseDown:!u&&ny?es:void 0,onTouchStart:u&&ny?function(n){return es(n.touches[0])}:void 0},i.createElement("div",{className:"PhotoView__PhotoBox",style:{transform:"matrix("+ed+", 0, 0, "+ed+", "+eu[0]+", "+eu[1]+")",transition:nY||n2?void 0:eh,willChange:ny?"transform":void 0}},nt?i.createElement(N,r({src:nt,loaded:nS,broken:nz},ep,{onPhotoLoad:function(n){nZ(r({},n,n.loaded&&j(n.naturalWidth||0,n.naturalHeight||0,nD)))},loadingElement:nm,brokenElement:ng})):ni&&ni({attrs:ep,scale:ed,rotate:nD})))}var S={x:0,touched:!1,pause:!1,lastCX:void 0,lastCY:void 0,bg:void 0,lastBg:void 0,overlay:!0,minimal:!0,scale:1,rotate:0};function z(n){var e,t,o,r,a,s,f,m,C,y=n.loop,k=void 0===y?3:y,L=n.speed,j=n.easing,Z=n.photoClosable,V=n.maskClosable,M=void 0===V||V,E=n.maskOpacity,P=void 0===E?1:E,H=n.pullClosable,_=void 0===H||H,A=n.bannerVisible,I=void 0===A||A,N=n.overlayRender,R=n.toolbarRender,z=n.className,X=n.maskClassName,B=n.photoClassName,Y=n.photoWrapClassName,T=n.loadingElement,F=n.brokenElement,D=n.images,q=n.index,O=n.onIndexChange,U=n.visible,G=n.onClose,K=n.afterClose,Q=n.portalContainer,J=c(S),$=J[0],nn=J[1],ne=(0,i.useState)(0),nt=ne[0],ni=ne[1],no=$.x,nr=$.touched,na=$.pause,nl=$.lastCX,nc=$.lastCY,ns=$.bg,nu=void 0===ns?P:ns,nd=$.lastBg,nf=$.overlay,nh=$.minimal,np=$.scale,nm=$.rotate,ng=$.onScale,nv=$.onRotate,nx=n.hasOwnProperty("index"),nb=nx?void 0===q?0:q:nt,nw=nx?O:ni,nC=(0,i.useRef)(nb),ny=D.length,nk=D[nb],nL="boolean"==typeof k?k:ny>k,nj=(s=(0,i.useReducer)(function(n){return!n},!1)[1],f=(0,i.useRef)(0),C=(m=function(n,e){var t=(0,i.useRef)(n);function o(n){t.current=n}return(0,i.useMemo)(function(){var n;U?(o(U),f.current=1):f.current=2},[n]),[t.current,o]}(U))[1],[m[0],f.current,function(){s(),2===f.current&&(C(!1),K&&K()),f.current=0}]),nZ=nj[0],nV=nj[1],nM=nj[2];h(function(){if(nZ)return nn({pause:!0,x:-(nb*(innerWidth+20))}),void(nC.current=nb);nn(S)},[nZ]);var nE=l({close:function(n){nv&&nv(0),nn({overlay:!0,lastBg:nu}),G(n)},changeIndex:function(n,e){void 0===e&&(e=!1);var t=nL?nC.current+(n-nb):n,i=ny-1,o=d(t,0,i),r=nL?t:o;nn({touched:!1,lastCX:void 0,lastCY:void 0,x:-(innerWidth+20)*r,pause:e}),nC.current=r,nw&&nw(nL?n<0?i:n>i?0:n:o)}}),nP=nE.close,nH=nE.changeIndex;function n_(n){return n?nP():nn({overlay:!nf})}function nA(){nn({x:-(innerWidth+20)*nb,lastCX:void 0,lastCY:void 0,pause:!0}),nC.current=nb}function nI(n,e,t,i){"x"===n?function(n){if(void 0!==nl){var e=n-nl,t=e;!nL&&(0===nb&&e>0||nb===ny-1&&e<0)&&(t=e/2),nn({touched:!0,lastCX:nl,x:-(innerWidth+20)*nC.current+t,pause:!1})}else nn({touched:!0,lastCX:n,x:no,pause:!1})}(e):"y"===n&&function(n,e){if(void 0!==nc){var t=null===P?null:d(P,.01,P-Math.abs(n-nc)/100/4);nn({touched:!0,lastCY:nc,bg:1===e?t:P,minimal:1===e})}else nn({touched:!0,lastCY:n,bg:nu,minimal:!0})}(t,i)}function nN(n,e){var t=n-(null!=nl?nl:n),i=!1;if(t<-40)nH(nb+1);else if(t>40)nH(nb-1);else{var o=-(innerWidth+20)*nC.current;Math.abs(e-(null!=nc?nc:e))>100&&nh&&_&&(i=!0,nP()),nn({touched:!1,x:o,lastCX:void 0,lastCY:void 0,bg:P,overlay:!!i||nf})}}p("keydown",function(n){if(U)switch(n.key){case"ArrowLeft":nH(nb-1,!0);break;case"ArrowRight":nH(nb+1,!0);break;case"Escape":nP()}});var nR=(0,i.useMemo)(function(){var n=D.length;return nL?D.concat(D).concat(D).slice(n+nb-1,n+nb+2):D.slice(Math.max(nb-1,0),Math.min(nb+2,n+1))},[D,nb,nL]);if(!nZ)return null;var nW=nf&&!nV,nS=U?nu:nd,nz=ng&&nv&&{images:D,index:nb,visible:U,onClose:nP,onIndexChange:nH,overlayVisible:nW,overlay:nk&&nk.overlay,scale:np,rotate:nm,onScale:ng,onRotate:nv},nX=L?L(nV):400,nB=j?j(nV):"cubic-bezier(0.25, 0.8, 0.25, 1)",nY=L?L(3):600,nT=j?j(3):"cubic-bezier(0.25, 0.8, 0.25, 1)";return i.createElement(g,{className:"PhotoView-Portal"+(nW?"":" PhotoView-Slider__clean")+(U?"":" PhotoView-Slider__willClose")+(z?" "+z:""),role:"dialog",onClick:function(n){return n.stopPropagation()},container:Q},U&&i.createElement(w,null),i.createElement("div",{className:"PhotoView-Slider__Backdrop"+(X?" "+X:"")+(1===nV?" PhotoView-Slider__fadeIn":2===nV?" PhotoView-Slider__fadeOut":""),style:{background:nS?"rgba(0, 0, 0, "+nS+")":void 0,transitionTimingFunction:nB,transitionDuration:(nr?0:nX)+"ms",animationDuration:nX+"ms"},onAnimationEnd:nM}),I&&i.createElement("div",{className:"PhotoView-Slider__BannerWrap"},i.createElement("div",{className:"PhotoView-Slider__Counter"},nb+1," / ",ny),i.createElement("div",{className:"PhotoView-Slider__BannerRight"},R&&nz&&R(nz),i.createElement(v,{className:"PhotoView-Slider__toolbarIcon",onClick:nP}))),nR.map(function(n,e){var t=nL||0!==nb?nC.current-1+e:nb+e;
1return i.createElement(W,{key:nL?n.key+"/"+n.src+"/"+t:n.key,item:n,speed:nX,easing:nB,visible:U,onReachMove:nI,onReachUp:nN,onPhotoTap:function(){return n_(Z)},onMaskTap:function(){return n_(M)},wrapClassName:Y,className:B,style:{left:(innerWidth+20)*t+"px",transform:"translate3d("+no+"px, 0px, 0)",transition:nr||na?void 0:"transform "+nY+"ms "+nT},loadingElement:T,brokenElement:F,onPhotoResize:nA,isActive:nC.current===t,expose:nn})}),!u&&I&&i.createElement(i.Fragment,null,(nL||0!==nb)&&i.createElement("div",{className:"PhotoView-Slider__ArrowLeft",onClick:function(){return nH(nb-1,!0)}},i.createElement(x,null)),(nL||nb+1<ny)&&i.createElement("div",{className:"PhotoView-Slider__ArrowRight",onClick:function(){return nH(nb+1,!0)}},i.createElement(b,null))),N&&nz&&i.createElement("div",{className:"PhotoView-Slider__Overlay"},N(nz)))}var X=["children","onIndexChange","onVisibleChange"],B={images:[],visible:!1,index:0};function Y(n){var e=n.children,t=n.onIndexChange,o=n.onVisibleChange,u=a(n,X),d=c(B),f=d[0],h=d[1],p=(0,i.useRef)(0),m=f.images,g=f.visible,v=f.index,x=l({nextId:function(){return p.current+=1},update:function(n){var e=m.findIndex(function(e){return e.key===n.key});if(e>-1){var t=m.slice();return t.splice(e,1,n),void h({images:t})}h(function(e){return{images:e.images.concat(n)}})},remove:function(n){h(function(e){var t=e.images.filter(function(e){return e.key!==n});return{images:t,index:Math.min(t.length-1,v)}})},show:function(n){var e=m.findIndex(function(e){return e.key===n});h({visible:!0,index:e}),o&&o(!0,e,f)}}),b=l({close:function(){h({visible:!1}),o&&o(!1,v,f)},changeIndex:function(n){h({index:n}),t&&t(n,f)}}),w=(0,i.useMemo)(function(){return r({},f,x)},[f,x]);return i.createElement(s.Provider,{value:w},e,i.createElement(z,r({images:m,visible:g,index:v,onIndexChange:b.changeIndex,onClose:b.close},u)))}var T=function(n){var e,t,o=n.src,a=n.render,c=n.overlay,u=n.width,d=n.height,f=n.triggers,h=void 0===f?["onClick"]:f,p=n.children,m=(0,i.useContext)(s),g=(e=function(){return m.nextId()},(t=(0,i.useRef)({sign:!1,fn:void 0}).current).sign||(t.sign=!0,t.fn=e()),t.fn),v=(0,i.useRef)(null);(0,i.useImperativeHandle)(null==p?void 0:p.ref,function(){return v.current}),(0,i.useEffect)(function(){return function(){m.remove(g)}},[]);var x=l({render:function(n){return a&&a(n)},show:function(n,e){m.show(g),function(n,e){if(p){var t=p.props[n];t&&t(e)}}(n,e)}}),b=(0,i.useMemo)(function(){var n={};return h.forEach(function(e){n[e]=x.show.bind(null,e)}),n},[]);return(0,i.useEffect)(function(){m.update({key:g,src:o,originRef:v,render:x.render,overlay:c,width:u,height:d})},[o]),p?i.Children.only((0,i.cloneElement)(p,r({},b,{ref:v}))):null}}}]);
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.