PageSourceSearch

https://openarena.to/_next/static/chunks/37y2tnlm0aeep.js?dpl=dpl_EzXK5x5rSghptniuBiGy2fPHmTNL

js openarena.to collected 2026-10-04 13:30:27 UTC 27,540 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,590818,e=>{"use strict";var t=e.i(850410);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations);r(0,t.useFormatter),e.s(["useTranslations",0,n])},273640,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,l(e));else t.set(r,l(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},508087,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return j},NormalizeError:function(){return b},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return x},WEB_VITALS:function(){return i},execOnce:function(){return l},getDisplayName:function(){return f},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return P}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function l(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>o.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,x=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class b extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class j extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},909407,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},891954,(e,t,r)=>{t.exports=e.r(954760)},121685,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return o},formatWithValidation:function(){return c},urlObjectKeys:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(744066)._(e.r(273640)),l=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",o=e.hash||"",s=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),s&&"object"==typeof s&&(s=String(i.urlQueryToSearchParams(s)));let u=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),o&&"#"!==o[0]&&(o="#"+o),u&&"?"!==u[0]&&(u="?"+u),a=a.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${a}${u}${o}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return o(e)}},225755,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(408996);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=i(e,n)),t&&(a.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},243663,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(508087),a=e.r(188147);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},483379,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},493529,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(744066),l=e.r(473401),o=i._(e.r(408996)),s=e.r(121685),c=e.r(445730),u=e.r(225755),f=e.r(508087),d=e.r(479826);e.r(909407);let h=e.r(875777),p=e.r(26378),m=e.r(243663),x=e.r(583390);function g(t){var r,n;let a,i,g,[y,j]=(0,o.useOptimistic)(p.IDLE_LINK_STATUS),v=(0,o.useRef)(null),{href:P,as:k,children:w,prefetch:N=null,passHref:L,replace:S,shallow:C,scroll:O,onClick:_,onMouseEnter:E,onTouchStart:T,legacyBehavior:R=!1,onNavigate:M,transitionTypes:A,ref:$,unstable_dynamicOnHover:z,...I}=t;a=w,R&&("string"==typeof a||"number"==typeof a)&&(a=(0,l.jsx)("a",{children:a}));let U=o.default.useContext(c.AppRouterContext),B=!1!==N,D=!1!==N?null===(n=N)||"auto"===n?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,F="string"==typeof(r=k||P)?r:(0,s.formatUrl)(r);if(R){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=o.default.Children.only(a)}let q=R?i&&"object"==typeof i&&i.ref:$,H=o.default.useCallback(e=>(null!==U&&(v.current=(0,p.mountLinkInstance)(e,F,U,D,B,j)),()=>{v.current&&((0,p.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,p.unmountPrefetchableInstance)(e)}),[B,F,U,D,j]),W={ref:(0,u.useMergedRef)(H,q),onClick(t){R||"function"!=typeof _||_(t),R&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,a,i,l,s){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(8352);o.default.startTransition(()=>{f(r,a?"replace":"push",!1===i?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,s)})}}(t,F,v,S,O,M,A)},onMouseEnter(e){R||"function"!=typeof E||E(e),R&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),U&&B&&(0,p.onNavigationIntent)(e.currentTarget,!0===z)},onTouchStart:function(e){R||"function"!=typeof T||T(e),R&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),U&&B&&(0,p.onNavigationIntent)(e.currentTarget,!0===z)}};return(0,f.isAbsoluteUrl)(F)?W.href=F:R&&!L&&("a"!==i.type||"href"in i.props)||(W.href=(0,d.addBasePath)(F)),g=R?o.default.cloneElement(i,W):(0,l.jsx)("a",{...I,...W,children:a}),(0,l.jsx)(b.Provider,{value:y,children:g})}e.r(483379);let b=(0,o.createContext)(p.IDLE_LINK_STATUS),y=()=>(0,o.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},427205,391469,261737,590101,e=>{"use strict";var t=e.i(493529),r=e.i(891954),n=e.i(408996),a=e.i(850410),i=e.i(727474);function l(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function s(e,t,r){return"string"==typeof e?e:e[t]||r}function c(e){let t=function(){try{return"true"===i.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),a=n.join("#"),l=r;if("/"!==l){let e=l.endsWith("/");t&&!e?l+="/":!t&&e&&(l=l.slice(0,-1))}return a&&(l+="#"+a),l}function u(e,t){let r,n=c(e),a=c(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(a)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||d(e)}function d(e){return"/"+e}function h(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function m(e){return e.includes("[")}function x(e,t){let r=e.split("/"),n=t.split("/"),a=Math.max(r.length,n.length);for(let e=0;e<a;e++){let t=r[e],a=n[e];if(!t&&a)return -1;if(t&&!a)return 1;if(t||a){if(!m(t)&&m(a))return -1;if(m(t)&&!m(a))return 1;if(!p(t)&&p(a))return -1;if(p(t)&&!p(a))return 1;if(!h(t)&&h(a))return -1;if(h(t)&&!h(a))return 1}}return 0}function g(e){return e.sort(x)}function b(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function y(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function j(e,t,r,n){if(!e||n===r||null==n||!t)return;let a=y(t),{name:i,...l}=e;l.path||(l.path=""!==a?a:"/");let o=`${i}=${n};`;for(let[e,t]of Object.entries(l))o+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(o+="="+t),o+=";";document.cookie=o}e.s(["getLocaleAsPrefix",0,d,"getLocalePrefix",0,f,"getLocalizedTemplate",0,s,"getSortedPathnames",0,g,"hasPathnamePrefixed",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"isLocalizableHref",0,l,"isPromise",0,function(e){return"function"==typeof e.then},"matchesPathname",0,u,"normalizeTrailingSlash",0,c,"prefixPathname",0,o,"unprefixPathname",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],391469),e.s(["applyPathnamePrefix",0,function(e,t,r,n){let a,{mode:i}=r.localePrefix;if(void 0!==n)a=n;else if(l(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||i;"always"===n?a=!0:"as-needed"===n&&(a=e?t!==e.defaultLocale:t!==r.defaultLocale)}return a?o(f(t,r.localePrefix),e):e},"compileLocalizedPathname",0,function({pathname:e,locale:t,params:r,pathnames:n,query:a}){function i(e){let i,l=n[e];return l?(i=s(l,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),i=i.replace(RegExp(r,"g"),n)}),i=new URL(i=i.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):i=e,i=c(i),a&&(i+=b(a)),i}if("string"==typeof e)return i(e);{let{pathname:t,...r}=e;return{...r,pathname:i(t)}}},"getBasePath",0,y,"getRoute",0,function(e,t,r){let n=g(Object.keys(r)),a=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(u(n,a))return t}else if(u(s(n,e,t),a))return t}return t},"normalizeNameOrNameWithParams",0,function(e){return"string"==typeof e?{pathname:e}:e},"serializeSearchParams",0,b],261737),e.s(["default",0,j],590101);var v=e.i(473401),P=(0,n.forwardRef)(function({href:e,locale:n,localeCookie:i,onClick:l,prefetch:o,...s},c){let u=(0,a.useLocale)(),f=null!=n&&n!==u,d=(0,r.usePathname)();return f&&(o=!1),(0,v.jsx)(t.default,{ref:c,href:e,hrefLang:f?n:void 0,onClick:function(e){j(i,d,u,n),l&&l(e)},prefetch:o,...s})});e.s(["default",0,P],427205)},456904,160889,e=>{"use strict";var t=e.i(891954),r=e.i(408996),n=e.i(850410),a=r["use".trim()],i=e.i(391469),l=e.i(427205),o=e.i(261737),s=e.i(473401),c=e.i(590101);let u={locales:["en","zh"],defaultLocale:"en",localePrefix:"always"};e.s(["routing",0,u],160889);let{Link:f,redirect:d,usePathname:h,useRouter:p,getPathname:m}=function(e){let{Link:u,config:f,getPathname:d,...h}=function(e,n){var c,u,f;let d={...c=n||{},localePrefix:"object"==typeof(f=c.localePrefix)?f:{mode:f||"always"}
1,localeCookie:!!((u=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof u&&u},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},h=d.pathnames,p=(0,r.forwardRef)(function({href:t,locale:r,...n},o){let c,u;"object"==typeof t?(c=t.pathname,u=t.params):c=t;let f=(0,i.isLocalizableHref)(t),p=e(),x=(0,i.isPromise)(p)?a(p):p,g=f?m({locale:r||x,href:null==h?c:{pathname:c,params:u},forcePrefix:null!=r||void 0}):c;return(0,s.jsx)(l.default,{ref:o,href:"object"==typeof t?{...t,pathname:g}:g,locale:r,localeCookie:d.localeCookie,...n})});function m(e){let t,{forcePrefix:r,href:n,locale:a}=e;return null==h?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,o.serializeSearchParams)(n.query))):t=n:t=(0,o.compileLocalizedPathname)({locale:a,...(0,o.normalizeNameOrNameWithParams)(n),pathnames:d.pathnames}),(0,o.applyPathnamePrefix)(t,a,d,r)}function x(e){return function(t,...r){return e(m(t),...r)}}return{config:d,Link:p,redirect:x(t.redirect),permanentRedirect:x(t.permanentRedirect),getPathname:m}}(n.useLocale,e);return{...h,Link:u,usePathname:function(){let e,a,l=(e=(0,t.usePathname)(),a=(0,n.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let t=e,r=(0,i.getLocalePrefix)(a,f.localePrefix);if((0,i.hasPathnamePrefixed)(r,e))t=(0,i.unprefixPathname)(e,r);else if("never"!==f.localePrefix.mode&&f.localePrefix.prefixes){let r=(0,i.getLocaleAsPrefix)(a);(0,i.hasPathnamePrefixed)(r,e)&&(t=(0,i.unprefixPathname)(e,r))}return t},[f.localePrefix,a,e])),s=(0,n.useLocale)();return(0,r.useMemo)(()=>l&&f.pathnames?(0,o.getRoute)(s,l,f.pathnames):l,[s,l])},useRouter:function(){let e=(0,t.useRouter)(),a=(0,n.useLocale)(),i=(0,t.usePathname)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:n,...l}=r||{},o=[d({href:t,locale:n||a,forcePrefix:null!=n||void 0})];Object.keys(l).length>0&&o.push(l),(0,c.default)(f.localeCookie,i,a,n),e(...o)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[a,i,e])},getPathname:d}}(u);e.s(["Link",0,f,"usePathname",0,h,"useRouter",0,p],456904)},960839,e=>{"use strict";var t=e.i(473401),r=e.i(590818);e.i(72714);var n=e.i(367263),a=e.i(903871),i=e.i(742032),l=e.i(14670),o=e.i(851422),s=e.i(456904);function c(){let e=(0,r.useTranslations)("AuthSection"),{user:l,setShowAuthFlow:c}=(0,a.useDynamicContext)(),u=(0,i.useIsLoggedIn)(),{status:f,logout:d,retry:h}=(0,o.useAuthSession)(),p=(0,s.usePathname)(),m=(0,s.useRouter)(),x=l?.email||l?.verifiedCredentials?.[0]?.address||e("account"),g=async()=>{try{await d(),"/profile"===p&&m.replace("/")}catch{}};return"loading"===f||"syncing"===f?(0,t.jsx)("div",{className:"flex h-7 items-center border border-(--border-color) bg-(--bg-card-hover) px-2.5 text-[10px] font-bold tracking-[0.14em] text-(--text-tertiary) sm:px-3",children:e("syncing")}):"error"===f?(0,t.jsx)("button",{type:"button",onClick:h,className:"flex h-7 items-center border border-red-500/40 bg-red-500/10 px-2.5 text-[10px] font-bold tracking-[0.14em] text-red-200 transition hover:bg-red-500/15 sm:px-3",children:e("retry")}):"authenticated"===f&&u&&l?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(s.Link,{href:"/profile",className:"flex h-7 items-center border border-[var(--green-border)] bg-[var(--green-dim)] px-2.5 text-[10px] font-bold tracking-[0.14em] text-(--accent-green) no-underline transition hover:bg-[var(--green-soft)] sm:px-3",children:e("profile")}),(0,t.jsxs)("div",{className:"relative flex h-7 items-center border border-(--border-color) bg-(--bg-card-hover) px-2.5 text-[10px] font-semibold text-(--text-primary) sm:px-3",children:[(0,t.jsx)("span",{className:"mr-2 h-1.5 w-1.5 bg-(--accent-green)"}),(0,t.jsx)("span",{className:"max-w-20 truncate sm:max-w-32",children:x}),(0,t.jsx)("div",{className:"absolute inset-0 z-10 cursor-pointer opacity-0 **:h-full **:w-full",children:(0,t.jsx)(n.DynamicWidget,{})})]}),(0,t.jsx)("button",{type:"button",onClick:g,className:"flex h-7 items-center border border-(--border-color) bg-transparent px-2.5 text-[10px] font-bold tracking-[0.14em] text-(--text-secondary) transition hover:border-red-400/50 hover:text-red-200",children:e("logout")})]}):(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)("button",{type:"button",onClick:()=>c(!0),className:"signon-btn flex h-7 items-center bg-(--accent-green) px-2.5 text-[10px] font-bold tracking-[0.08em] text-(--on-accent) transition hover:opacity-90 sm:px-3 sm:tracking-[0.14em]",children:e("signOn")})})}function u(){return(0,l.useDynamicEnabled)()?(0,t.jsx)(c,{}):null}var f=e.i(850410),d=e.i(891954),h=e.i(160889);function p(){let e=(0,r.useTranslations)("LocaleSwitcher"),n=(0,f.useLocale)(),a=(0,s.usePathname)(),i=(0,d.useSearchParams)(),l=h.routing.locales.find(e=>e!==n)??h.routing.defaultLocale,o=i.toString(),c=`/${l}${"/"===a?"":a}${o?`?${o}`:""}`;return(0,t.jsx)("nav",{"aria-label":e("label"),className:"flex items-center",children:(0,t.jsx)("a",{href:c,className:"inline-flex items-center justify-center text-[10px] font-bold tracking-[0.14em] uppercase text-(--text-secondary) transition-colors hover:text-(--text-primary)",children:e(`locales.${l}`)})})}var m=e.i(408996);function x(){let[e,r]=(0,m.useState)("dark");return(0,m.useEffect)(()=>{r("light"===document.documentElement.dataset.theme?"light":"dark")},[]),(0,t.jsx)("button",{type:"button",onClick:()=>{let t=window.scrollY,n="light"===e?"dark":"light";r(n),"light"===n?document.documentElement.dataset.theme="light":delete document.documentElement.dataset.theme;try{localStorage.setItem("oa-theme",n)}catch{}window.scrollTo(0,t),requestAnimationFrame(()=>window.scrollTo(0,t))},"aria-label":"light"===e?"Switch to dark theme":"Switch to light theme",title:"light"===e?"Switch to dark theme":"Switch to light theme",className:"flex h-7 w-7 items-center justify-center border border-(--border-color) text-[13px] text-(--text-secondary) transition-colors hover:border-(--text-tertiary) hover:text-(--text-primary)",children:"light"===e?"☾":"☀"})}e.s(["default",0,function({status:e,content:n,eventSlug:a}){let i,l,o=(0,r.useTranslations)("LiveTicker"),c=(0,r.useTranslations)("AnnouncementBar"),h=(0,f.useLocale)(),g=(0,d.usePathname)(),[b,y]=(0,m.useState)(null),j=a??((l=(i=g?.split("/").filter(
1Boolean)??[]).indexOf("events"))>=0?i[l+1]:void 0),v=(0,m.useMemo)(()=>{let e=new URLSearchParams({locale:h});return j&&e.set("event",j),`/api/live-ticker?${e.toString()}`},[h,j]);(0,m.useEffect)(()=>{if(n)return;let e=!1;async function t(){try{let t=await fetch(v,{cache:"no-store"});if(!t.ok)return;let r=await t.json();e||y(r)}catch{}}y(null),t();let r=window.setInterval(t,6e4);return()=>{e=!0,window.clearInterval(r)}},[n,v]);let P=e??b?.status??o("defaultStatus"),k=n??b?.content??o("defaultContent");return(0,t.jsxs)("div",{className:"sticky top-0 z-100 flex min-h-12.5 flex-wrap items-center gap-x-3 gap-y-2 border-b border-(--border-color) bg-(--bg-card) px-8 py-2 sm:flex-nowrap sm:px-20",children:[(0,t.jsx)(s.Link,{href:"/",prefetch:!0,children:(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2 text-[10px] font-bold text-(--accent-green) sm:gap-2.5 sm:text-[11px]",children:[(0,t.jsx)("span",{className:"ticker-dot h-1.5 w-1.5 rounded-full bg-(--accent-green)"}),P]})}),(0,t.jsx)("div",{className:"order-3 min-w-full flex-1 overflow-hidden text-[11px] text-(--text-secondary) sm:order-none sm:ml-10 sm:min-w-0",children:(0,t.jsxs)("div",{className:"ticker-marquee whitespace-nowrap",children:[k,"  ·  ",(0,t.jsx)("span",{className:"text-(--accent-green)",children:c("label")})," ",c("attentionAward")]})}),(0,t.jsxs)("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[(0,t.jsx)(x,{}),(0,t.jsx)(p,{}),(0,t.jsx)(s.Link,{href:"/submit",prefetch:!0,className:"flex h-7 items-center border border-(--accent-green) px-2.5 text-[10px] font-bold tracking-[0.08em] text-(--accent-green) no-underline transition hover:bg-[var(--green-soft)] sm:px-3 sm:tracking-[0.14em]",children:o("submit")}),(0,t.jsx)(u,{})]})]})}],960839)},56691,e=>{"use strict";var t=e.i(473401),r=e.i(590818),n=e.i(456904);let a="inline-flex min-w-0 items-center justify-center border border-[var(--green-border)] bg-[var(--green-dim)] p-1.5 text-center font-semibold tracking-[0.08em] text-(--accent-green) no-underline transition-all hover:-translate-y-0.5 hover:bg-[var(--green-soft)] md:px-3 md:py-1";function i({icon:e,label:r}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"md:hidden","aria-hidden":!0,children:e}),(0,t.jsx)("span",{className:"hidden md:inline",children:r})]})}let l={width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};e.s(["default",0,function(){let e=(0,r.useTranslations)("Footer");return(0,t.jsx)("footer",{className:"fixed inset-x-0 bottom-0 z-40 border-t border-(--border-color) bg-(--bg-card)/95 px-3 py-2 text-[10px] text-(--text-tertiary) backdrop-blur-sm md:px-10 md:py-2.5",children:(0,t.jsxs)("div",{className:"mx-auto flex w-full items-center justify-between gap-2 md:flex-row",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-0.5 leading-3.5 md:flex-row md:items-center md:gap-3 md:whitespace-nowrap",children:[(0,t.jsx)("div",{className:"hidden font-semibold tracking-[0.18em] text-(--text-secondary) md:block",children:e.rich("backedBy",{link:e=>(0,t.jsx)("a",{href:"https://amber.ac",target:"_blank",rel:"noreferrer",className:"text-(--accent-green) no-underline transition-colors hover:underline",children:e})})}),(0,t.jsx)("div",{className:"hidden text-(--text-tertiary) md:block",children:"/"}),(0,t.jsx)("div",{className:"truncate",children:e("copyright")})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-1.5 md:flex-wrap md:justify-end",children:[(0,t.jsx)(n.Link,{href:"/prize-pool",prefetch:!0,className:a,"aria-label":e("prizePool"),title:e("prizePool"),children:(0,t.jsx)(i,{label:e("prizePool"),icon:(0,t.jsxs)("svg",{...l,children:[(0,t.jsx)("path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6"}),(0,t.jsx)("path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18"}),(0,t.jsx)("path",{d:"M4 22h16"}),(0,t.jsx)("path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22"}),(0,t.jsx)("path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22"}),(0,t.jsx)("path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z"})]})})}),(0,t.jsx)(n.Link,{href:"/developers",prefetch:!0,className:a,"aria-label":e("developers"),title:e("developers"),children:(0,t.jsx)(i,{label:e("developers"),icon:(0,t.jsxs)("svg",{...l,children:[(0,t.jsx)("polyline",{points:"16 18 22 12 16 6"}),(0,t.jsx)("polyline",{points:"8 6 2 12 8 18"})]})})}),(0,t.jsx)(n.Link,{href:"/about",prefetch:!0,className:a,"aria-label":e("about"),title:e("about"),children:(0,t.jsx)(i,{label:e("about"),icon:(0,t.jsxs)("svg",{...l,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),(0,t.jsx)("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"})]})})}),(0,t.jsx)(n.Link,{href:"/network",prefetch:!0,className:a,"aria-label":e("network"),title:e("network"),children:(0,t.jsx)(i,{label:e("network"),icon:(0,t.jsxs)("svg",{...l,children:[(0,t.jsx)("circle",{cx:"12",cy:"8",r:"6"}),(0,t.jsx)("path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11"})]})})}),(0,t.jsx)(n.Link,{href:"/events",prefetch:!0,className:a,"aria-label":e("events"),title:e("events"),children:(0,t.jsx)(i,{label:e("events"),icon:(0,t.jsxs)("svg",{...l,children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2"}),(0,t.jsx)("path",{d:"M16 2v4M8 2v4M3 10h18"})]})})}),(0,t.jsx)(n.Link,{href:"/faq",prefetch:!0,className:a,"aria-label":e("faq"),title:e("faq"),children:(0,t.jsx)(i,{label:e("faq"),icon:(0,t.jsxs)("svg",{...l,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),(0,t.jsx)("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})})}),(0,t.jsx)("a",{href:"https://x.com/OpenArena_To",target:"_blank",rel:"noreferrer",className:a,"aria-label":"X: @OpenArena_To",title:"X: @OpenArena_To",children:(0,t.jsx)(i,{label:"X: @OpenArena_To",icon:(0,t.jsx)("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})}),(0,t.jsx)("a",{href:"https://t.me/OpenArena_to",target:"_blank",rel:"noreferrer",className:a,"aria-label":e("telegram"),title:e("telegram"),children:(0,t.jsx)(i,{label:e("telegram"),icon:(0,t.jsxs)("svg",{...l,children:[(0,t.jsx)("path",{d:"m22 2-7 20-4-9-9-4Z"}),(0,t.jsx)("path",{d:"M22 2 11 13"})]})})})]})]})})}])},993052,e=>{"use strict";var t=e.i(473401),r=e.i(850410),n=e.i(590818),a=e.i(456904),i=e.i(105885),l=e.i(18922);e.s(["default",0,function(){let e=(0,r.useLocale)(),o=(0,n.useTranslations)("AboutPage");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{className:"mb-10 border-l-4 border-(--accent-green) pl-5",children:[(0,t.jsx)("h1",{className:"text-2xl font-bold tracking-[-0.05em]",children:o("title")}),(0,t.jsx)("p",{className:"mt-1 text-xs tracking-wide text-(--text-secondary)",children:o("subtitle")})]}),(0,t.jsx)("div",{className:i.default.articleList,children:[...l.articles].sort((e,t)=>t.date.localeCompare(e.date)).map(r=>(0,t.jsxs)(a.Link,{href:`/about/${r.slug}`,prefetch:!0,className:i.default.articleCard,children:[(0,t.jsxs)("div",{className:i.default.articleCardMeta,children:[(0,t.jsx)("span",{className:i.default.articleCardDate,children:r.date}),(0,t.jsx)("span",{className:i.default.articleCardReadTag,children:o("read")})]}),(0,t.jsx)("h2",{className:i.default.articleCardTitle,children:r.title[e]}),(0,t.jsx)("p",{className:i.default.articleCardSummary,children:r.summary[e]})]},r.slug))})]})}])}]);

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.