1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,86773,e=>{"use strict";var t=e.i(43476),n=e.i(22016),a=e.i(18566),s=e.i(71645);e.s(["DevHubHeader",0,function(){let e=(0,a.usePathname)(),[i,l]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{l(["localhost","127.0.0.1"].includes(window.location.hostname))},[]),i&&e&&"/labeler"!==e&&"/labeler/"!==e)?(0,t.jsxs)(n.default,{href:"/labeler/",className:"inline-flex items-center gap-1.5 rounded-(--radius-card) border border-accent px-3 py-1.5 font-mono text-[10px] uppercase tracking-[0.2em] text-accent transition-opacity hover:opacity-80",style:{backgroundColor:"var(--bg-surface)"},children:[(0,t.jsx)("span",{"aria-hidden":!0,children:"â"}),"Dev hub"]}):null}])},71500,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(88653),s=e.i(46932),i=e.i(1598),l=e.i(56563),r=e.i(75535),o=e.i(19356);let c="feedback:refresh",d="mode:completed";function u(e,t){let n=(0,l.loadModeState)(e,t);return n.won?"won":!0===n.lost||!0===n.gaveUp?"lost":"open"}e.s(["HeaderProgress",0,function(){let[e,l]=(0,n.useState)(null),[x,f]=(0,n.useState)(null),[m,p]=(0,n.useState)(!1),h=(0,n.useCallback)(()=>{let e=(0,i.dayString)();l(r.BUILT_MODE_SLUGS.map(t=>u(t,e)))},[]);if((0,n.useEffect)(()=>{h();let e=()=>{"visible"===document.visibilityState&&h()},t=e=>{let t=e.detail,n=r.BUILT_MODE_SLUGS.indexOf(t?.mode),a=(0,i.dayString)();l(r.BUILT_MODE_SLUGS.map((e,s)=>s===n?t?.outcome==="won"?"won":"lost":u(e,a))),n>=0&&(f(n),p(!0))};return window.addEventListener(c,h),window.addEventListener(d,t),window.addEventListener("focus",h),document.addEventListener("visibilitychange",e),()=>{window.removeEventListener(c,h),window.removeEventListener(d,t),window.removeEventListener("focus",h),document.removeEventListener("visibilitychange",e)}},[h]),(0,n.useEffect)(()=>{if(null===x)return;let e=window.setTimeout(()=>f(null),700);return()=>window.clearTimeout(e)},[x]),(0,n.useEffect)(()=>{if(!m)return;let e=window.setTimeout(()=>p(!1),2500);return()=>window.clearTimeout(e)},[m]),!e)return(0,t.jsx)("div",{"aria-hidden":!0,className:"flex items-center gap-1.5 opacity-0",style:{minWidth:150}});let b=e.filter(e=>"won"===e).length,g=e.filter(e=>"lost"===e).length,w=b+g,y=e.length,v=w===y,j=0===w?0:(w-1)/(y-1)*100,k=`${b} won \xb7 ${g} lost \xb7 ${y-w} left`;return(0,t.jsxs)("div",{className:"flex items-center gap-2 min-[380px]:gap-3 sm:gap-4",title:k,"aria-label":k,children:[(0,t.jsx)(o.StreakRankBadge,{}),(0,t.jsx)(a.AnimatePresence,{children:m&&(0,t.jsxs)(s.motion.span,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:.25,ease:[.22,1,.36,1]},className:"utility-label text-[10px] text-accent-soft sm:hidden",children:[w," / ",y]})}),(0,t.jsxs)("span",{className:"utility-label hidden text-[10px] sm:inline "+(m?"counter-tick text-accent-soft":"text-info"),children:[w," / ",y]}),(0,t.jsxs)("div",{className:"relative h-3.5 w-[88px] min-[380px]:w-[108px] sm:w-[140px]",children:[(0,t.jsx)("span",{className:"absolute left-0 right-0 top-1/2 h-[2px] -translate-y-1/2 bg-line"}),(0,t.jsx)("span",{className:"absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transition-[width] duration-700 ease-[var(--ease-out)] "+(v?"bg-gold":"bg-accent"),style:{width:0===w?0:`${j}%`}}),e.map((e,n)=>(0,t.jsx)("span",{className:"absolute top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center"+(n===x?" dot-pop":""),style:{left:`${n/(y-1)*100}%`},children:"lost"===e?(0,t.jsx)("svg",{viewBox:"0 0 8 8","aria-hidden":!0,className:"h-2 w-2 text-far",children:(0,t.jsx)("path",{d:"M1.5 1.5 L6.5 6.5 M6.5 1.5 L1.5 6.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})}):"won"===e?(0,t.jsx)("span",{className:"h-2 w-2 rotate-45 bg-gold"}):(0,t.jsx)("span",{className:"h-2 w-2 rotate-45 border-[1.5px] border-line bg-canvas"})},n)),w>0&&(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute -top-[5px] -translate-x-1/2 transition-[left] duration-700 ease-[var(--ease-out)]",style:{left:`${j}%`},children:(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,t.jsx)("rect",{x:"2",y:"3.5",width:"10",height:"5.5",fill:v?"var(--gold)":"var(--accent)"}),(0,t.jsx)("rect",{x:"4",y:"5",width:"6",height:"2.5",fill:"var(--bg-base)"}),(0,t.jsx)("circle",{cx:"4.5",cy:"10.5",r:"1.4",fill:"var(--fg-subtle)"}),(0,t.jsx)("circle",{cx:"9.5",cy:"10.5",r:"1.4",fill:"var(--fg-subtle)"})]})})]})]})}])},86012,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(7670),s=e.i(23150),i=e.i(33957),l=e.i(74997);e.i(47167);let r=null;function o({onToken:e,resetKey:a}){let s=(0,n.useRef)(null),i=(0,n.useRef)(null),l=(0,n.useRef)(e);return(0,n.useEffect)(()=>{l.current=e},[e]),(0,n.useEffect)(()=>{let e=!1;return(window.turnstile?Promise.resolve():r??=new Promise((e,t)=>
1{let n=document.createElement("script");n.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",n.async=!0,n.onload=()=>e(),n.onerror=()=>{r=null,t(Error("turnstile"))},document.head.appendChild(n)})).then(()=>{!e&&s.current&&window.turnstile&&(i.current=window.turnstile.render(s.current,{sitekey:"0x4AAAAAAFAifliPVmoATvdq",theme:"dark",size:"flexible",callback:e=>l.current(e),"expired-callback":()=>l.current(""),"error-callback":()=>l.current("")}))}).catch(()=>{}),()=>{e=!0,i.current&&window.turnstile&&window.turnstile.remove(i.current),i.current=null}},[]),(0,n.useEffect)(()=>{a>0&&i.current&&window.turnstile&&(l.current(""),window.turnstile.reset(i.current))},[a]),(0,t.jsx)("div",{ref:s,className:"min-h-[65px]"})}var c=e.i(89151);let d="w-full border border-line bg-inset px-3 py-2.5 font-sans text-base text-ink placeholder:text-ink-faint focus:border-info focus:outline-none",u="utility-label text-[11px] text-info transition-colors hover:text-ink",x="rounded-(--radius-card) bg-card shadow-card";function f(e,t="md"){return(0,a.default)("inline-flex w-full -skew-x-[10deg] items-center justify-center shadow-[0_2px_6px_-1px_rgba(0,0,0,0.45)] transition-colors disabled:cursor-not-allowed disabled:opacity-50","lg"===t?"px-6 py-3.5":"px-5 py-2.5","accent"===e?"bg-accent text-on-accent hover:bg-accent-soft":"bg-muted text-ink hover:bg-card")}function m({children:e,size:n="md"}){return(0,t.jsx)("span",{className:(0,a.default)("inline-flex skew-x-[4deg] items-center gap-2.5 font-display font-extrabold uppercase tracking-[0.05em]","lg"===n?"text-lg":"text-[15px]"),children:e})}function p({tone:e,size:n,children:a,...s}){return(0,t.jsx)("button",{type:"button",...s,className:f(e,n),children:(0,t.jsx)(m,{size:n,children:a})})}function h({open:e,onClose:a,view:r,setView:o,user:d,config:x,notice:f,refresh:m}){let p,g,{t:j}=(0,s.useLanguage)(),k=(0,n.useRef)(null),[N,S]=(0,n.useState)(null),[L,E]=(0,n.useState)(null),[C,_]=(0,n.use
1State)(!1);(0,n.useEffect)(()=>{let t=k.current;t&&(e&&!t.open?t.showModal():!e&&t.open&&t.close())},[e]);let I=`${e}|${r}|${f}`,[T,A]=(0,n.useState)(I);I!==T&&(A(I),S(f),E(null));let F=async e=>{_(!0),S(null),E(null);try{await e()}finally{_(!1)}},D=async(e,t)=>{((0,i.setSignedInLocally)(!0),await (0,i.afterSignIn)(e),(0,l.trackAccount)(t?"account_signed_up":"account_signed_in",e),await (0,i.syncNow)(!0)>0)?window.location.reload():(await m(),o("account"))};return(0,t.jsxs)("dialog",{ref:k,onClose:a,onClick:e=>{e.target===k.current&&a()},className:"m-auto w-[min(420px,92vw)] max-h-[90vh] max-w-[92vw] border border-line bg-surface p-0 text-ink shadow-[0_20px_60px_-20px_rgba(0,0,0,0.75)] backdrop:bg-black/70 backdrop:backdrop-blur-sm",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-line px-4 py-3",children:[(0,t.jsx)(c.Plate,{tone:"info",size:"sm",lift:!1,children:j("account.open")}),(0,t.jsx)("button",{type:"button",onClick:a,className:"-mr-1 px-2 py-1 font-mono text-base leading-none text-ink-soft transition-colors hover:text-ink","aria-label":j("common.close"),children:"Ã"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 px-5 py-5",children:[(0,t.jsx)("h2",{className:"font-display display-headline text-2xl uppercase leading-[0.95] text-ink",children:"account"===r?j("account.title"):"signup"===r?j("account.signUp"):"forgot"===r?j("account.forgotTitle"):j("account.signIn")}),N?(0,t.jsx)("p",{role:"alert",className:"border-l-4 border-loss-edge bg-card px-3 py-2 text-sm text-ink",children:(g=j(p=`account.err.${N}`))===p?j("account.err.generic"):g}):null,L?(0,t.jsx)("p",{role:"status",className:"border-l-4 border-correct bg-card px-3 py-2 text-sm text-ink",children:L}):null,e&&"account"===r&&d?(0,t.jsx)(v,{user:d,config:x,busy:C,run:F,setError:S,setInfo:E,refresh:m,onClose:a}):null,e&&("signin"===r||"signup"===r)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm text-ink-soft",children:j("account.pitch")}),(0,t.jsx)(b,{config:x}),x?.google||x?.discord?(0,t.jsxs)("div",{className:"flex items-center gap-3 text-ink-faint",children:[(0,t.jsx)("span",{className:"h-px flex-1 bg-line"}),(0,t.jsx)("span",{className:"utility-label text-[10px]",children:j("account.or")}),(0,t.jsx)("span",{className:"h-px flex-1 bg-line"})]}):null,(0,t.jsx)(w,{mode:r,busy:C,onSubmit:e=>F(async()=>{let t=await (0,i.api)("signup"===r?"/signup":"/login",e);t.ok?await D("password","signup"===r):S(t.error)})},r),(0,t.jsx)("div",{className:"flex flex-col items-center gap-2",children:"signin"===r?(0,t.jsxs)(t.Fragment,{children:[x?.email?(0,t.jsx)("button",{type:"button",className:u,onClick:()=>o("forgot"),children:j("account.forgot")}):null,(0,t.jsx)("button",{type:"button",className:u,onClick:()=>o("signup"),children:j("account.needAccount")})]}):(0,t.jsx)("button",{type:"button",className:u,onClick:()=>o("signin"),children:j("account.haveAccount")})}),(0,t.jsx)("p",{className:"text-center text-xs text-ink-faint",children:j("account.privacy")})]}):null,e&&"forgot"===r?(0,t.jsx)(y,{busy:C,onSubmit:e=>F(async()=>{let t=await (0,i.api)("/reset-request",e);t.ok?E(j("account.resetSent")):S(t.error)}),onBack:()=>o("signin")}):null]})]})}function b({config:e,intent:n="login"}){let{t:a}=(0,s.useLanguage)();return e?(0,t.jsxs)("div",{className:"flex flex-col gap-2.5 px-1",children:[e.google?(0,t.jsx)("a",{href:(0,i.oauthUrl)("google",n),className:f("steel"),children:(0,t.jsxs)(m,{children:[(0,t.jsx)(j,{})," ",a("account.continueGoogle")]})}
1):null,e.discord?(0,t.jsx)("a",{href:(0,i.oauthUrl)("discord",n),className:f("steel"),children:(0,t.jsxs)(m,{children:[(0,t.jsx)(k,{})," ",a("account.continueDiscord")]})}):null]}):null}function g({label:e,children:n}){return(0,t.jsxs)("label",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:"utility-label text-[10px] text-ink-soft",children:e}),n]})}function w({mode:e,busy:a,onSubmit:i}){let{t:l}=(0,s.useLanguage)(),[r,c]=(0,n.useState)(""),[u,x]=(0,n.useState)(""),[f,m]=(0,n.useState)(!1),[h,b]=(0,n.useState)(""),[y,v]=(0,n.useState)(0),j=async e=>{e.preventDefault(),await i({email:r,password:u,marketing:f,turnstile:h}),v(e=>e+1)};return(0,t.jsxs)("form",{onSubmit:j,className:"flex flex-col gap-3",children:[(0,t.jsx)(g,{label:l("account.email"),children:(0,t.jsx)("input",{type:"email",required:!0,autoComplete:"email",value:r,onChange:e=>c(e.target.value),className:d})}),(0,t.jsxs)(g,{label:l("account.password"),children:[(0,t.jsx)("input",{type:"password",required:!0,minLength:"signup"===e?8:void 0,maxLength:128,autoComplete:"signup"===e?"new-password":"current-password",value:u,onChange:e=>x(e.target.value),className:d}),"signup"===e?(0,t.jsx)("span",{className:"text-xs text-ink-faint",children:l("account.passwordHint")}):null]}),"signup"===e?(0,t.jsxs)("label",{className:"flex items-start gap-2 text-sm text-ink-soft",children:[(0,t.jsx)("input",{type:"checkbox",checked:f,onChange:e=>m(e.target.checked),className:"mt-0.5 h-4 w-4 accent-[var(--color-accent)]"}),(0,t.jsx)("span",{children:l("account.marketing")})]}):null,(0,t.jsx)(o,{onToken:b,resetKey:y}),(0,t.jsx)("div",{className:"mt-1 px-1",children:(0,t.jsx)(p,{type:"submit",tone:"accent",size:"lg",disabled:a||!h,children:l(a?"account.working":"signup"===e?"account.signUp":"account.signIn")})})]})}function y({busy:e,onSubmit:i,onBack:l}){let{t:r}=(0,s.useLanguage)(),[c,x]=(0,n.useState)(""),[f,m]=(0,n.useState)(""),[h,b]=(0,n.useState)(0);return(0,t.jsxs)("form",{onSubmit:async e=>{e.preventDefault(),await i({email:c,turnstile:f}),b(e=>e+1)},className:"flex flex-col gap-3",children:[(0,t.jsx)(g,{label:r("account.email"),children:(0,t.jsx)("input",{type:"email",required:!0,autoComplete:"email",value:c,onChange:e=>x(e.target.value),className:d})}),(0,t.jsx)(o,{onToken:m,resetKey:h}),(0,t.jsx)("div",{className:"mt-1 px-1",children:(0,t.jsx)(p,{type:"submit",tone:"accent",size:"lg",disabled:e||!f,children:r(e?"account.working":"account.sendReset")})}),(0,t.jsx)("button",{type:"button",className:(0,a.default)(u,"self-center"),onClick:l,children:r("account.back")})]})}function v({user:e,config:r,busy:o,run:c,setError:d,setInfo:f,refresh:m,onClose:h}){let{t:b}=(0,s.useLanguage)(),[g,w]=(0,n.useState)(!1),y=e=>c(async()=>{(0,l.trackAccount)("account_signed_out"),await (0,i.signOutHere)(e),window.location.reload()}),N=[{key:"google",label:"Google",on:!!r?.google},{key:"discord",label:"Discord",on:!!r?.discord}];return(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:(0,a.default)(x,"px-4 py-3"),children:[(0,t.jsx)("p",{className:"utility-label text-[10px] text-ink-faint",children:b("account.signedInAs")}),(0,t.jsxs)("p",{className:"mt-1 break-all font-sans text-base text-ink",children:[e.email??b("account.noEmail"),e.email&&!e.emailVerified?(0,t.jsx)("span",{className:"utility-label ml-2 align-middle text-[10px] text-accent",children:b("account.unverified")}):null]}),e.email&&!e.emailVerified&&r?.email?(0,t.jsx)("button",{type:"button",disabled:o,className:(0,a.default)(u,"mt-1"),onClick:()=>c(async()=>{let e=await (0,i.api)("/verify",{resend:!0});e.ok?f(b("account.verifySent")):d(e.error)}),children:b("account.resendVerify")}):null]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,t.jsx)("p",{className:"text-sm text-ink-soft",children:b("account.syncOn")}),(0,t.jsx)(p,{tone:"steel",disabled:o,onClick:()=>c(async()=>{let e=await (0,i.syncNow)(!0);e>0?window.location.reload():e<0?d("network"):f(b("account.synced"))}),children:b("account.syncNow")})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("p",{className:"utility-label text-[10px] text-ink-soft",children:b("account.methods")}),(0,t.jsxs)("ul",{className:(0,a.default)(x,"flex flex-col overflow-hidden"),children:[(0,t.jsxs)("li",{className:"flex items-center justify-between gap-3 px-4 py-3 text-sm",children:[(0,t.jsx)("span",{children:b("account.methodPassword")}),(0,t.jsx)("span",{className:e.hasPassword?"utility-label text-[10px] text-correct":"text-xs text-ink-faint",children:e.hasPassword?b("account.linked"):b("account.notSet")})]}),N.filter(t=>t.on||e.providers.includes(t.key)).map(n=>{let a=e.providers.includes(n.key);return(0,t.jsxs)("li",{className:"flex items-center justify-between gap-3 border-t border-line px-4 py-3 text-sm",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:["google"===n.key?(0,t.jsx)(j,{}):(0,t.jsx)(k,{})," ",n.label]}),a?(0,t.jsx)("button",{type:"button",disabled:o,className:"utility-label text-[10px] text-ink-soft hover:text-info",onClick:()=>c(async()=>{let e=await (0,i.api)("/unlink",{provider:n.key});e.ok||d(e.error),await m()}),children:b("account.unlink")}):(0,t.jsx)("a",{href:(0,i.oauthUrl)(n.key,"link"),className:"utility-label text-[10px] text-info",children:b("account.link")})]},n.key)})]})]}),(0,t.jsxs)("label",{className:"flex items-start gap-2 text-sm text-ink-soft",children:[(0,t.jsx)("input",{type:"checkbox",checked:e.marketing,disabled:o,onChange:e=>c(async()=>{let t=await (0,i.api)("/prefs",{marketing:e.target.checked});t.ok||d(t.error),await m()}),className:"mt-0.5 h-4 w-4 accent-[var(--color-accent)]"}),(0,t.jsx)("span",{children:b("account.marketing")})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2.5 border-t border-line px-1 pt-4",children:[(0,t.jsx)(p,{tone:"steel",disabled:o,onClick:()=>y(!1),children:b("account.signOut")}),(0,t.jsx)(p,{tone:"steel",disabled:o,onClick:()=>y(!0),children:b("account.signOutAll")}),(0,t.jsx)("button",{type:"button",disabled:o,className:(0,a.default)("utility-label mt-2 px-4 py-2 text-[10px] transition-colors",g?"bg-loss text-ink":"text-loss-edge hover:text-ink"),onClick:()=>{g?c(async()=>{let e=await (0,i.api)("/delete",{confirm:"delete"});e.ok?((0,i.setSignedInLocally)(!1),await m(),h()):d(e.error)}):w(!0)},children:g?b("account.deleteConfirm"):b("account.delete")})]})]})}function j(){return(0,t.jsxs)("svg",{"aria-hidden":!0,width:"16",height:"16",viewBox:"0 0 48 48",children:[(0,t.jsx)("path",{fill:"#FFC107",d:"M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z"}),(0,t.jsx)("path",{fill:"#FF3D00",d:"M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z"}),(0,t.jsx)("path",{fill:"#4CAF50",d:"M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z"}),(0,t.jsx)("path",{fill:"#1976D2",d:"M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C36.9 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z"})]})}function k(){return(0,t.jsx)("svg",{"aria-hidden":!0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"#5865F2",children:(0,t.jsx)("path",{d:"M20.3 4.4A19.8 19.8 0 0 0 15.4 3l-.6 1.3a18.3 18.3 0 0 0-5.5 0L8.6 3a19.7 19.7 0 0 0-4.9 1.4C.6 9 -.3 13.6.1 18.1a19.9 19.9 0 0 0 6 3l1.3-2.1c-.7-.3-1.4-.6-2-1l.5-.4a14.2 14.2 0 0 0 12.2 0l.5.4c-.6.4-1.3.7-2 1l1.3 2.1a19.8 19.8 0 0 0 6-3c.5-5.2-.8-9.7-3.6-13.7zM8.5 15.4c-1.2 0-2.2-1.1-2.2-2.4s1-2.4 2.2-2.4 2.2 1.1 2.2 2.4-1 2.4-2.2 2.4zm7 0c-1.2 0-2.2-1.1-2.2-2.4s1-2.4 2.2-2.4 2.2 1.1 2.2 2.4-1 2.4-2.2 2.4z"})})}let N="owdle.account.reloadedAt",S="mode:completed";function L(){try{let e=Number(window.sessionStorage.getItem(N)??
10);if(Date.now()-e<3e4)return;window.sessionStorage.setItem(N,String(Date.now()))}catch{return}window.location.reload()}e.s(["AccountButton",0,function(){let{t:e}=(0,s.useLanguage)(),[r,o]=(0,n.useState)(!1),[c,d]=(0,n.useState)("signin"),[u,x]=(0,n.useState)(null),[f,m]=(0,n.useState)(null),[p,b]=(0,n.useState)(null),[g,w]=(0,n.useState)(!1),[y,v]=(0,n.useState)(!1),[j,k]=(0,n.useState)(!1),N=(0,n.useCallback)(async()=>{let e=await (0,i.fetchMe)();e&&(v(!0),m(e.user),b(e.config),w(null!=e.user),null==e.user&&(0,i.isSignedInLocally)()&&(0,i.setSignedInLocally)(!1))},[]);(0,n.useEffect)(()=>{let e=new URL(window.location.href),t=e.searchParams.get("account"),n=e.searchParams.get("via");t&&(e.searchParams.delete("account"),e.searchParams.delete("via"),window.history.replaceState(window.history.state,"",e.toString())),k((0,i.accountsUiEnabled)()),w((0,i.isSignedInLocally)()),(async()=>{if("signed_in"===t||"signed_in_new"===t){(0,i.setSignedInLocally)(!0),w(!0);let e="google"===n||"discord"===n?n:void 0;return(await (0,i.afterSignIn)(e),(0,l.trackAccount)("signed_in_new"===t?"account_signed_up":"account_signed_in",e),await (0,i.syncNow)(!0)>0)?L():await N()}if(t){await N(),x("linked"===t?null:t),d((0,i.isSignedInLocally)()?"account":"signin"),o(!0);return}(0,i.isSignedInLocally)()&&(await (0,i.afterSignIn)(),await (0,i.syncNow)(!1)>0&&L())})()},[N]),(0,n.useEffect)(()=>{let e,t=()=>{(0,i.isSignedInLocally)()&&(clearTimeout(e),e=setTimeout(()=>void(0,i.syncNow)(!1),1500))};return window.addEventListener(S,t),()=>{clearTimeout(e),window.removeEventListener(S,t)}},[]);let E=async()=>{x(null),d((0,i.isSignedInLocally)()?"account":"signin"),o(!0),await N()};return j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:E,"aria-label":e(g?"account.title":"account.signIn"),title:e(g?"account.title":"account.signIn"),className:(0,a.default)("inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full shadow-[0_2px_6px_-1px_rgba(0,0,0,0.45)] min-[380px]:h-8 min-[380px]:w-8",g?"bg-info text-on-info":"bg-muted text-ink"),children:(0,t.jsxs)("svg",{"aria-hidden":!0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,t.jsx)("circle",{cx:"12",cy:"7.5",r:"4.5"}),(0,t.jsx)("path",{d:"M3.5 21.5c0-4.8 3.8-8 8.5-8s8.5 3.2 8.5 8z"})]})}),(0,t.jsx)(h,{open:r,onClose:()=>o(!1),view:y?f?"account":"account"===c?"signin":c:c,setView:d,user:f,config:p,notice:u,refresh:N})]}):null}],86012)},79603,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(1598),s=e.i(23150);e.s(["DailyRolloverWatch",0,function(){let{t:e}
1=(0,s.useLanguage)(),[i,l]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{let e,t=(0,a.dayString)(),n=!1,s=()=>{n||("hidden"===document.visibilityState?(n=!0,window.location.reload()):(n=!0,l(!0)))},r=()=>{if(!n){if((0,a.dayString)()!==t)return void s();o()}},o=()=>{n||(e=setTimeout(r,Math.min(Math.max((0,a.msUntilNextPacificReset)()+1500,1e3),36e5)))};o();let c=()=>{(0,a.dayString)()!==t&&s()},d=()=>{i&&"hidden"===document.visibilityState&&window.location.reload()};return document.addEventListener("visibilitychange",c),document.addEventListener("visibilitychange",d),window.addEventListener("focus",c),()=>{void 0!==e&&clearTimeout(e),document.removeEventListener("visibilitychange",c),document.removeEventListener("visibilitychange",d),window.removeEventListener("focus",c)}},[i]),i)?(0,t.jsx)("div",{role:"status","aria-live":"polite",className:"fixed inset-x-0 bottom-[calc(1rem+var(--ad-floor,0px))] z-50 flex justify-center px-4",children:(0,t.jsxs)("div",{className:"flex w-full max-w-sm items-center gap-3 rounded-(--radius-card) border border-line bg-card p-3 shadow-[0_8px_28px_-6px_rgba(0,0,0,0.6)]",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-accent text-on-accent",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:"h-5 w-5",fill:"currentColor",children:(0,t.jsx)("path",{d:"M12 2l2.6 6.9L22 9.3l-5.4 4.6 1.8 7.1L12 17.3 5.6 21l1.8-7.1L2 9.3l7.4-.4z"})})}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[(0,t.jsx)("span",{className:"font-display text-sm font-bold uppercase tracking-wide text-ink",children:e("rollover.title")}),(0,t.jsx)("span",{className:"text-xs text-ink-soft",children:e("rollover.body")})]}),(0,t.jsx)("button",{type:"button",onClick:()=>window.location.reload(),className:"shrink-0 rounded-full bg-accent px-4 py-2 font-display text-sm font-bold uppercase tracking-wide text-on-accent transition-transform active:scale-[0.98]",children:e("rollover.cta")})]})}):null}])},66378,e=>{"use strict";var t=e.i(71645),n=e.i(1598),a=e.i(59925);let s="owdle.reminder";e.s(["ExtensionBridge",0,function(){return(0,t.useEffect)(()=>{let e=()=>{try{let e,t,i=(e=(0,a.bumpStreakIfNeeded)(),t=(0,n.dayString)(),JSON.stringify({current:e.current,longest:e.longest,lastCompletedDay:e.lastCompletedDay,todayDone:e.lastCompletedDay===t,day:t}));window.localStorage.getItem(s)!==i&&window.localStorage.setItem(s,i)}catch{}};e();let t=()=>{"visible"===document.visibilityState&&e()},i=window.setInterval(t,5e3);return document.addEventListener("visibilitychange",t),window.addEventListener("focus",e),()=>{window.clearInterval(i),document.removeEventListener("visibilitychange",t),window.removeEventListener("focus",e)}},[]),null}])},30023,e=>{"use strict";var t=e.i(43476),n=e.i(22016),a=e.i(23150);e.s(["SiteFooter",0,function(){let{t:e}=(0,a.useLanguage)();return(0,t.jsx)("footer",{className:"mt-auto border-t border-line bg-inset",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-6xl flex-col gap-3 px-6 py-5 text-xs text-ink-faint sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("div",{className:"max-w-3xl text-[10px] leading-relaxed",children:[e("sitefooter.sources")," ",(0,t.jsx)("a",{className:"underline-offset-2 hover:underline",href:"https://overfast-api.tekrop.fr/",children:"OverFast API"}),","," ",(0,t.jsx)("a",{className:"underline-offset-2 hover:underline",href:"https://overwatch.fandom.com/",children:"Overwatch Fandom wiki"})," ","(CC-BY-SA), Blizzard press kit."," ",(0,t.jsx)("span",{className:"text-ink-soft",children:e("sitefooter.disclaimer")})," ",e("sitefooter.unofficial")," · ",(0,t.jsx)(n.default,{href:"/privacy/",className:"underline-offset-2 transition-colors hover:text-accent hover:underline",children:e("sitefooter.privacy")})," · ",(0,t.jsx)(n.default,{href:"/contact/",className:"underline-offset-2 transition-colors hover:text-accent hover:underline",children:e("sitefooter.contact")})]}),(0,t.jsxs)("nav",{"aria-label":e("sitefooter.secondaryNav"),className:"flex flex-wrap items-center gap-x-4 gap-y-2 whitespace-nowrap sm:pr-32",children:[(0,t.jsx)(n.default,{href:"/about/",className:"utility-label text-ink-faint transition-colors hover:text-accent",children:e("sitefooter.about")}),(0,t.jsx)(n.default,{href:"/guides/",className:"utility-label text-ink-faint transition-colors hover:text-accent",children:e("sitefooter.guides")}),(0,t.jsx)(n.default,{href:"/heroes/",className:"utility-label text-ink-faint transition-colors hover:text-accent",children:e("sitefooter.heroes")}),(0,t.jsxs)(n.default,{href:"/how-to-play/",className:"utility-label text-accent-soft transition-colors hover:text-accent",children:[e("footer.howToPlay")," â"]})]})]})})}])},6895,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(18566),s=e.i(7670),i=e.i(75535),l=e.i(56563),r=e.i(1598),o=e.i(74997),c=e.i(23150);let d="feedback:refresh";function u(){let e=(0,r.dayString)();for(let t of i.BUILT_MODE_SLUGS){let n=(0,l.loadModeState)(t,e);if(!n.won&&!n.gaveUp)return!1}return!0}function x(){return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24","aria-hidden":!0,
1children:(0,t.jsx)("path",{d:"M4 4h16v12H7l-3 3z",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"})})}function f(){return(0,t.jsxs)("span",{"aria-hidden":!0,className:"relative inline-flex h-2 w-2 shrink-0",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-correct opacity-70"}),(0,t.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-correct"})]})}e.s(["FeedbackButton",0,function(){let{t:e}=(0,c.useLanguage)(),i=(0,a.usePathname)(),l=i?.startsWith("/test")===!0,r="/map"===i||i?.startsWith("/map/")===!0||i?.startsWith("/labeler/map")===!0,[m,p]=(0,n.useState)(!1),[h,b]=(0,n.useState)(!1),[g,w]=(0,n.useState)(""),[y,v]=(0,n.useState)("idle"),[j,k]=(0,n.useState)(!1),[N,S]=(0,n.useState)(!1),L=(0,n.useRef)(null),E=(0,n.useRef)(null),C=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=()=>k(u());e();let t=()=>{k(u()),S(!0)},n=()=>{"visible"===document.visibilityState&&e()};return window.addEventListener(d,t),window.addEventListener("focus",e),document.addEventListener("visibilitychange",n),()=>{window.removeEventListener(d,t),window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",n)}},[]),(0,n.useEffect)(()=>{if(!N)return;let e=setTimeout(()=>S(!1),1e4);return()=>clearTimeout(e)},[N]),(0,n.useEffect)(()=>{let e=L.current;e&&(m&&!e.open?(e.showModal(),b(!0),requestAnimationFrame(()=>E.current?.focus())):!m&&e.open&&e.close())},[m]),(0,n.useEffect)(()=>{if(m){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[m]);let _=()=>{C.current=(0,o.trackFeedbackOpened)(),p(!0),S(!1)};(0,n.useEffect)(()=>{let e=new URLSearchParams(window.location.search);if("1"!==e.get("feedback"))return;e.delete("feedback");let t=e.toString(),n=window.location.pathname+(t?`?${t}`:"")+window.location.hash;window.history.replaceState(null,"",n);let a=requestAnimationFrame(()=>_());return()=>cancelAnimationFrame(a)},[]);let I=()=>{p(!1),v("idle")},T=g.trim(),A=T.length>0&&T.length<=150&&"sending"!==y,F=async()=>{if(A){v("sending");try{(await fetch("/api/feedback",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({body:T,session_id:C.current})})).ok?(v("sent"),w(""),setTimeout(()=>{p(!1),v("idle")},1400)):v("error")}catch{v("error")}}};return l?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",onClick:_,"aria-label":e(j?"feedback.sendAriaAllDone":"feedback.sendFeedback"),className:(0,s.default)("fixed z-40 hidden items-center gap-2 transition-all md:inline-flex md:right-5",r?"md:top-5":"md:bottom-[calc(1.25rem+var(--ad-floor,0px))]",j?"utility-label border-2 border-correct bg-correct px-5 py-3 text-xs text-on-correct shadow-[0_0_28px_-6px_var(--correct,#7fdc92)] hover:brightness-110":"utility-label border border-edge bg-card px-4 py-2.5 text-[11px] text-ink shadow-[0_4px_12px_rgba(0,0,0,0.35)] hover:border-info hover:text-info"),children:[j?(0,t.jsx)(f,{}):null,(0,t.jsx)(x,{}),e(j?"feedback.gotFeedback":"feedback.feedback")]}),(0,t.jsx)("div",{className:"flex justify-center px-4 py-6 md:hidden",children:(0,t.jsxs)("button",{type:"button",onClick:_,"aria-label":e("feedback.sendFeedback"),className:"utility-label inline-flex items-center gap-2 border border-edge bg-card px-4 py-2.5 text-[11px] text-ink-soft transition-colors hover:border-info hover:text-info",children:[(0,t.jsx)(x,{}),e("feedback.feedback")]})}),N?(0,t.jsxs)("div",{role:"status","aria-live":"polite",className:"fixed inset-x-0 bottom-[var(--ad-floor,0px)] z-40 border-t border-correct bg-surface px-4 py-3 shadow-[0_-6px_24px_rgba(0,0,0,0.55)] md:hidden",style:{animation:"fb-slide-up 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both"},children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("button",{type:"button",onClick:_,className:"utility-label inline-flex flex-1 items-center justify-center gap-2 border border-correct bg-correct px-4 py-2.5 text-[11px] text-on-correct",children:[(0,t.jsx)(f,{}),(0,t.jsx)(x,{}),e("feedback.gotFeedback")]}),(0,t.jsx)("button",{type:"button",onClick:()=>S(!1),"aria-label":e("feedback.dismiss"),className:"shrink-0 p-2 font-mono text-base leading-none text-ink-soft transition-colors hover:text-ink",children:"Ã"})]}),(0,t.jsx)("style",{children:"@keyframes fb-slide-up { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }"})]}):null,(0,t.jsxs)("dialog",{ref:L,onClose:I,onClick:e=>{e.target===L.current&&I()},className:"m-auto w-[min(440px,92vw)] max-w-[92vw] border border-line bg-surface p-0 text-ink backdrop:bg-black/70 backdrop:backdrop-blur-sm",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-line px-4 py-3",children:[(0,t.jsx)("p",{className:"utility-label text-[10px] text-info",children:e("feedback.sendFeedback")}),(0,t.jsx)("button",{type:"button",onClick:I,className:"-mr-1 px-2 py-1 font-mono text-base leading-none text-ink-soft transition-colors hover:text-ink","aria-label":e("common.close"),children:"Ã"})]}),h?(0,t.jsxs)("div",{className:"flex flex-col gap-3 p-4",children:[(0,t.jsx)("p",{className:"text-sm text-ink-soft",children:e("feedback.prompt",{max:150})}),(0,t.jsx)("textarea",{ref:E,value:g,onChange:e=>w(e.target.value.slice(0,150)),onKeyDown:e=>{(e.metaKey||e.ctrlKey)&&"Enter"===e.key&&(e.preventDefault(),F())},maxLength:150,rows:4,disabled:"sending"===y||"sent"===y,placeholder:e("feedback.placeholder"),className:"w-full resize-none border border-line bg-inset p-3 font-sans text-base text-ink placeholder:text-ink-faint focus:border-info focus:outline-none disabled:opacity-60"}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("span",{className:`utility-label text-[10px] ${"error"===y?"text-red-400":"sent"===y?"text-info":"text-ink-faint"}`,children:"sent"===y?e("feedback.sentThanks"):"error"===y?e("feedback.sendFailed"):`${T.length}/150`}),(0,t.jsx)("button",{type:"button",onClick:F,disabled:!A,className:"border border-line bg-surface px-4 py-2 utility-label text-[10px] text-ink transition-colors hover:border-info hover:text-info disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:border-line disabled:hover:text-ink",children:e("sending"===y?"feedback.sending":"feedback.send")})]})]}):null]})]})}])},87118,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(74080),s=e.i(46932),i=e.i(74997),l=e.i(23150);let r="owdle.announce.shareLinks",o=Date.now()>new Date("2026-06-19T00:00:00-07:00").getTime(),c="/announce-example.png";function d(){return()=>{}}function u(){if(o)return!1;try{if("1"===window.localStorage.getItem(r))return!1;for(let e=0;e<window.localStorage.length;e++){let t=window.localStorage.key(e)??"";if(t.startsWith("owdle")&&t!==r)return!0}return!1}catch{return!1}}e.s(["ShareAnnounceModal",0,function(){let{t:e}
1=(0,l.useLanguage)(),o=(0,n.useSyncExternalStore)(d,u,()=>!1),[x,f]=(0,n.useState)(!1),[m,p]=(0,n.useState)(!1),[h,b]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(!o||x)return;let e=new Image;e.onload=()=>b(!0),e.onerror=()=>{p(!0),b(!0)},e.src=c},[o,x]);let g=o&&!x&&h;(0,n.useEffect)(()=>{g&&(0,i.trackShareAnnounce)({action:"shown"})},[g]),(0,n.useEffect)(()=>{if(!g)return;let e=e=>{if("Escape"===e.key){try{window.localStorage.setItem(r,"1")}catch{}f(!0),(0,i.trackShareAnnounce)({action:"dismissed"})}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[g]);let w=()=>{try{window.localStorage.setItem(r,"1")}catch{}f(!0),(0,i.trackShareAnnounce)({action:"dismissed"})};if(!g||"u"<typeof document)return null;let y=m?null:c,v=(0,t.jsx)("div",{role:"dialog","aria-modal":"true","aria-label":e("share.announceAria"),onClick:e=>{e.target===e.currentTarget&&w()},style:{position:"fixed",inset:0,zIndex:0x7fffffff,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.7)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",padding:"16px"},children:(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:12,scale:.98},animate:{opacity:1,y:0,scale:1},transition:{duration:.18,ease:[.22,1,.36,1]},className:"w-full max-w-[420px] max-h-[92vh] overflow-auto border border-line text-ink",style:{borderRadius:14,background:"#11161f"},children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-line px-4 py-3",children:[(0,t.jsxs)("p",{className:"utility-label text-[10px] text-info",children:[(0,t.jsx)("span",{className:"mr-2 rounded-full bg-info px-2 py-0.5 text-on-info",children:e("share.new")}),e("share.announceTitle")]}),(0,t.jsx)("button",{type:"button",onClick:w,className:"-mr-1 px-2 py-1 font-mono text-base leading-none text-ink-soft transition-colors hover:text-ink","aria-label":e("common.close"),children:"Ã"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 px-5 py-5",children:[y&&(0,t.jsx)("div",{className:"relative mx-auto w-full max-w-[300px] overflow-hidden rounded-(--radius-card)",style:{aspectRatio:"1 / 1"},children:(0,t.jsx)("img",{src:y,alt:e("share.announceImgAlt"),onError:()=>p(!0),className:"absolute inset-0 h-full w-full object-cover"})}),(0,t.jsx)("p",{className:"text-sm leading-relaxed text-ink-soft",children:(0,l.formatNodes)(e("share.announceBody"),{share:(0,t.jsx)("span",{className:"font-semibold text-ink",children:e("common.share")})})}),(0,t.jsx)("button",{type:"button",onClick:w,className:"utility-label inline-flex w-full items-center justify-center bg-info px-5 py-3 text-[12px] text-on-info transition-all hover:brightness-110 active:scale-[0.99]",children:e("share.gotIt")})]})]})});return(0,a.createPortal)(v,document.body)}])},14776,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(74080),s=e.i(22016),i=e.i(18566),l=e.i(46932),r=e.i(23150),o=e.i(70976);let c="owdle.tutorial.seen",d=/^owdle\.(classic|sound|quote|splash|ability|melee|map)\.\d{4}-\d{2}-\d{2}$/,u=[{label:"Classic",href:"/classic/",slug:"classic"},{label:"Sound",href:"/sound/",slug:"sound"},{label:"Quote",href:"/quote/",slug:"quote"},{label:"Spotlight",href:"/splash/",slug:"splash"},{label:"Ability",href:"/ability/",slug:"ability"}];e.s(["WelcomeTutorial",0,function(){let{t:e}=(0,r.useLanguage)(),[x,f]=(0,n.useState)(!1),m=(0,n.useRef)(null),p=(0,i.usePathname)();(0,n.useEffect)(()=>{f(!1)},[p]),(0,n.useEffect)(()=>{if(window.location.pathname.startsWith("/test")||function(){try{return"1"===window.localStorage.getItem(c)}catch{return!1}}()||function(){try{for(let e=0;e<window.localStorage.length;e++){let t=window.localStorage.key(e)??"";if(d.test(t)||t.startsWith("owdle.archive."))return!0}let e=window.localStorage.getItem("owdle.streak");if(e){let t=JSON.parse(e);if("string"==typeof t?.lastCompletedDay||"number"==typeof t?.longest&&t.longest>0)return!0}return!1}catch{return!0}}())return;let e=window.setTimeout(()=>f(!0),450);return()=>window.clearTimeout(e)},[]),(0,n.useEffect)(()=>{},[]);let h=(0,n.useCallback)(()=>{try{window.localStorage.setItem(c,"1")}catch{}},[]),b=(0,n.useCallback)(()=>{h(),f(!1)}
1,[h]),g=e=>()=>{h();let t=e=>e.endsWith("/")?e:`${e}/`;t(p)===t(e)&&f(!1)};if((0,n.useEffect)(()=>{if(!x)return;let e=document.body.style.overflow;document.body.style.overflow="hidden";let t=e=>{"Escape"===e.key&&b()};return window.addEventListener("keydown",t),()=>{document.body.style.overflow=e,window.removeEventListener("keydown",t)}},[x,b]),(0,o.useFocusTrap)(m,x,"container"),!x||"u"<typeof document)return null;let w=(0,t.jsx)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"welcome-tutorial-title",onClick:e=>{e.target===e.currentTarget&&b()},style:{position:"fixed",inset:0,zIndex:0x7fffffff,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.72)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",padding:"16px"},children:(0,t.jsxs)(l.motion.div,{ref:m,tabIndex:-1,initial:{opacity:0,y:12,scale:.98},animate:{opacity:1,y:0,scale:1},whileHover:{y:-3,scale:1.02},transition:{duration:.2,ease:[.34,1.56,.64,1]},className:"w-full max-w-[480px] max-h-[94vh] cursor-default select-none overflow-auto border border-line text-ink shadow-card transition-shadow duration-200 hover:shadow-card-hover",style:{borderRadius:"var(--radius-card)",background:"#11161f",outline:"none"},children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-line px-4 py-2",children:[(0,t.jsx)("p",{className:"utility-label text-[10px] text-info",children:(0,t.jsx)("span",{className:"rounded-full bg-info px-2 py-0.5 text-on-info",children:e("welcome.badge")})}),(0,t.jsx)("button",{type:"button",onClick:b,className:"-mr-1 cursor-pointer px-2 py-1 font-mono text-base leading-none text-ink-soft transition-colors hover:text-ink","aria-label":e("common.close"),children:"Ã"})]}),(0,t.jsxs)("div",{className:"px-5 pt-4 pb-4",children:[(0,t.jsx)("h2",{id:"welcome-tutorial-title",className:"font-display display-headline uppercase text-2xl leading-[0.95] text-ink",children:(0,r.formatNodes)(e("welcome.title"),{brand:(0,t.jsx)("span",{className:"text-accent",children:"OWdle"})})}),(0,t.jsx)("p",{className:"mt-2 text-[13px] leading-snug text-ink-soft",children:e("welcome.lead")}),(0,t.jsx)("p",{className:"mt-2.5 mb-1.5 utility-label text-[11px] text-info",children:e("welcome.modesHeading")}),(0,t.jsx)("ul",{className:"space-y-1.5",children:u.map(n=>(0,t.jsx)("li",{children:(0,t.jsxs)(s.default,{href:n.href,onClick:g(n.href),className:"flex min-h-[80px] cursor-pointer flex-col justify-center rounded-(--radius-card) border border-line bg-card px-4 transition-[transform,box-shadow] duration-200 ease-[var(--ease-spring)] hover:-translate-y-0.5 hover:scale-[1.02] hover:shadow-[0_3px_8px_-3px_rgba(0,0,0,0.45)]",children:[(0,t.jsx)("p",{className:"font-display display-headline uppercase text-[15px] leading-tight text-ink",children:n.label}),(0,t.jsx)("p",{className:"mt-0.5 text-[13px] leading-snug text-ink-soft [text-wrap:pretty]",children:e(`welcome.mode.${n.slug}`)})]})},n.label))}),(0,t.jsxs)("div",{className:"mt-2 border-t border-line pt-2",children:[(0,t.jsx)("p",{className:"text-[13px] leading-snug text-ink-soft",children:(0,r.formatNodes)(e("welcome.refresh"),{time:(0,t.jsx)("span",{className:"font-mono text-ink",children:"2:15am Pacific"})})}),(0,t.jsx)("p",{className:"mt-0.5 text-[13px] leading-snug text-ink-soft",children:e("welcome.streakLine")})]}),(0,t.jsx)("div",{className:"mt-3 flex justify-center",children:(0,t.jsx)(s.default,{href:"/classic/",onClick:g("/classic/"),className:"utility-label inline-flex cursor-pointer items-center justify-center rounded-full bg-accent px-12 py-3 text-base text-on-accent shadow-[0_3px_10px_-2px_rgba(0,0,0,0.5)] transition-all duration-200 ease-[var(--ease-spring)] hover:-translate-y-0.5 hover:scale-[1.04] hover:bg-accent-soft hover:shadow-[0_5px_14px_-2px_rgba(0,0,0,0.5)] active:scale-[0.98] active:shadow-[0_2px_5px_-1px_rgba(0,0,0,0.4)]",children:e("welcome.cta")})})]})]})});return(0,a.createPortal)(w,document.body)}])},80499,e=>{"use strict";e.i(43476),e.s(["WelcomeTutorialDevTrigger",0,function(){return null}])},77423,e=>{"use strict";e.i(43476),e.i(71645),e.i(7670),e.i(34080).ALL_THEMES,e.s(["DevThemeSwitcher",0,function(){return null}])},3303,(e,t,n)=>{t.exports=e.r(79520)},25168,e=>{"use strict";var t=e.i(43476),n=e.i(3303),a=e.i(18566),s=e.i(66065);e.s(["GoogleAdsense",0,function(){let e=(0,a.usePathname)();return!s.ADSENSE_CLIENT||e?.startsWith("/test")?null:(0,t.jsx)(n.default,{id:"adsbygoogle-init",src:`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${s.ADSENSE_CLIENT}`,strategy:"afterInteractive",crossOrigin:"anonymous"})}])}]);
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.