PageSourceSearch

https://tangogrid.com/assets/progress-keys-YrK03vzt.js

js tangogrid.com collected 2026-10-04 13:33:18 UTC 22,169 bytes, 1 lines download raw bytes

1import{X as e,c as t,q as n}from"./useStore-Bnp9X9K7.js";import{i as r,r as i,t as a}from"./utils-DYbAmjaV.js";import{$ as o,$m as s,$u as c,A_ as l,Bm as ee,Bn as u,Ed as d,Gm as f,Hm as p,Im as m,Jf as h,Jm as g,Km as te,Nn as _,O_ as v,Pn as ne,Qm as y,Rm as b,Rn as re,Td as x,Tn as S,Um as C,Vm as ie,Wm as ae,Xm as oe,Yf as se,Ym as ce,Zm as le,_h as ue,ad as w,ah as de,ap as T,bh as fe,bu as E,ch as pe,cn as D,dh as me,dn as he,eh as ge,et as O,fh as _e,gh as ve,hh as ye,id as be,ih as k,j_ as A,k_ as j,lh as xe,ln as M,lp as N,mh as Se,nh as P,oh as F,om as I,op as L,ph as Ce,qf as R,qm as we,rd as Te,rh as Ee,sh as De,sm as z,sn as B,t as V,th as Oe,uh as ke,un as H,vh as Ae,vp as U,wd as W,xu as je,yh as Me,yp as G,zm as Ne,zn as K}from"./button-BEP8s8km.js";import{A as q,C as Pe,F as Fe,G as Ie,I as Le,J as Re,L as ze,N as Be,Q as Ve,R as He,Y as J,Z as Y,d as Ue,j as We,k as Ge,p as Ke,q as qe,u as X,z as Je}from"./index-paIisdzt.js";import{n as Ye,t as Xe}from"./start-gate-CuzfKbM4.js";var Ze=Y(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Qe=Y(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`polyline`,{points:`12 6 12 12 16 14`,key:`68esgv`}]]),$e=Y(`keyboard`,[[`path`,{d:`M10 8h.01`,key:`1r9ogq`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M7 16h10`,key:`wp8him`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}]]),et=Y(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),tt=Y(`pointer`,[[`path`,{d:`M22 14a8 8 0 0 1-8 8`,key:`56vcr3`}],[`path`,{d:`M18 11v-1a2 2 0 0 0-2-2a2 2 0 0 0-2 2`,key:`1agjmk`}],[`path`,{d:`M14 10V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1`,key:`wdbh2u`}],[`path`,{d:`M10 9.5V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v10`,key:`1ibuk9`}],[`path`,{d:`M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`,key:`g6ys72`}]]),nt=Y(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),rt=Y(`trophy`,[[`path`,{d:`M6 9H4.5a2.5 2.5 0 0 1 0-5H6`,key:`17hqa7`}],[`path`,{d:`M18 9h1.5a2.5 2.5 0 0 0 0-5H18`,key:`lmptdp`}],[`path`,{d:`M4 22h16`,key:`57wxv0`}],[`path`,{d:`M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22`,key:`1nw9bq`}],[`path`,{d:`M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22`,key:`1np0yb`}],[`path`,{d:`M18 2H6v7a6 6 0 0 0 12 0V2Z`,key:`u46fv3`}]]),it=Y(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]),Z=t();function at({game:e,actions:t}){return(0,Z.jsxs)(`section`,{id:`quick_play`,"data-home-hero":`game-first`,className:`relative isolate overflow-hidden px-4 pb-4 pt-4 md:pt-5`,children:[(0,Z.jsxs)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 bg-gradient-hub`,style:{maskImage:`linear-gradient(to bottom, transparent, #000 3rem, #000 calc(100% - 10rem), transparent)`},children:[(0,Z.jsx)(`div`,{className:`absolute inset-0 bg-[linear-gradient(rgba(124,58,237,0.06)_1px,transparent_1px),linear-gradient(90deg,rgba(124,58,237,0.06)_1px,transparent_1px)] bg-size-[42px_42px]`}),(0,Z.jsx)(`div`,{className:`absolute inset-0 bg-[linear-gradient(115deg,rgba(255,255,255,0.25)_0%,transparent_45%,rgba(34,211,238,0.12)_100%)] dark:bg-[linear-gradient(115deg,rgba(192,132,252,0.12)_0%,transparent_45%,rgba(34,211,238,0.12)_100%)]`})]}),(0,Z.jsxs)(`div`,{"data-home-hero-stage":`immersive`,className:`relative z-10 mx-auto flex w-full max-w-[560px] flex-col items-center`,children:[(0,Z.jsx)(`div`,{"aria-label":l(),role:`group`,"data-home-hero-game-area":`true`,"data-tango-home-game-host":`true`,className:`flex w-full flex-col items-center`,children:e}),t]})]})}function ot(){return(0,Z.jsx)(`aside`,{className:`relative z-2 flex min-h-12 w-full items-center bg-violet-950 px-4 py-0.5 text-white`,children:(0,Z.jsxs)(`div`,{className:`mx-auto flex max-w-3xl flex-wrap items-center justify-center gap-x-3 gap-y-2 text-center text-sm font-bold sm:text-base`,children:[(0,Z.jsx)(`p`,{children:j()}),(0,Z.jsxs)(i,{href:`https://shikakugame.com`,className:`inline-flex h-8 items-center justify-center gap-2 rounded-[6px] bg-white px-4 text-violet-950 transition-colors hover:bg-violet-100 focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-white`,children:[v(),(0,Z.jsx)(J,{className:`size-4 shrink-0`,"aria-hidden":`true`})]})]})})}function st({size:e}){return(0,Z.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold ${e<=6?`bg-emerald-100 text-emerald-800`:e<=10?`bg-orange-100 text-orange-800`:`bg-purple-100 text-purple-800`}`,children:[(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-current`,"aria-hidden":`true`}),e<=6?M():e<=10?D():B()]})}var Q=e(n(),1);function ct({size:e}){let[t,n]=(0,Q.useState)(!1),a=r(),o=a===`/`,s=a===`/timed`||a===`/timed/`,c=a===`/unlimited`||a.startsWith(`/unlimited/`),l=!!(c&&e);return(0,Z.jsxs)(`nav`,{className:`mb-2 flex flex-wrap items-center gap-1 text-sm font-bold text-violet-950`,"aria-label":he(),children:[(0,Z.jsx)(i,{href:`/`,"aria-current":o?`page`:void 0,className:`inline-flex h-9 items-center rounded-[6px] px-4 ${o?`bg-violet-950 text-white`:`hover:bg-violet-100`}`,children:H()}),(0,Z.jsxs)(`div`,{className:`flex h-9 items-center rounded-[6px] transition-colors ${l?`bg-violet-950 text-white hover:bg-violet-900`:t?`bg-violet-200/70`:`hover:bg-violet-200/70`}`,children:[!l&&(0,Z.jsx)(i,{href:`/unlimited`,"aria-current":c?`page`:void 0,className:`inline-flex h-full items-center rounded-l-[6px] pl-4 pr-1`,children:G()}),(0,Z.jsxs)(Le,{open:t,onOpenChange:n,children:[(0,Z.jsxs)(Je,{className:`group flex h-9 items-center justify-center bg-transparent ${l?`gap-3 rounded-[6px] px-4`:`w-9 rounded-r-[6px]`}`,"aria-label":l?void 0:N(),children:[l&&(0,Z.jsxs)(`span`,{children:[G(),` `,e,`×`,e]}),(0,Z.jsx)(Ze,{size:16,className:`transition-transform group-data-popup-open:rotate-180`,"aria-hidden":`true`})]}),(0,Z.jsx)(ze,{align:l?`center`:`end`,sideOffset:6,className:`grid w-60 grid-cols-2 gap-1 rounded-[8px] border-violet-200 bg-[#FFFCF7] p-2 text-violet-950`,children:Pe.map(t=>(0,Z.jsxs)(He,{render:(0,Z.jsx)(i,{href:`/unlimited/${t}x${t}`,"aria-current":c&&e===t?`page`:void 0}),className:`min-h-11 justify-center rounded-[6px] text-base font-bold ${l&&e===t?`bg-violet-950 text-white focus:bg-violet-900 focus:text-white`:`focus:bg-violet-100 focus:text-violet-950`}`,children:[t,`×`,t]},t))})]})]}),(0,Z.jsx)(i,{href:`/timed`,"aria-current":s?`page`:void 0,className:`inline-flex h-9 items-center rounded-[6px] px-4 ${s?`bg-violet-950 text-white`:`hover:bg-violet-100`}`,children:U()})]})}function lt({solveTimeLabel:e,movesLabel:t,moves:n,time:r,showTime:i=!0,compact:o=!1,className:s}){return(0,Z.jsxs)(`div`,{"data-tango-game-status":`true`,className:a(`flex w-fit max-w-full items-center rounded-full border border-violet-300 bg-linear-to-r from-violet-200 via-sky-100 to-cyan-200 px-4 py-2 text-violet-900 shadow-[0_8px_24px_rgba(99,102,241,0.16)] dark:border-violet-400 dark:from-violet-900 dark:via-blue-900 dark:to-cyan-900 dark:text-violet-100`,o&&`w-max gap-3 px-2 py-1.5`,s),children:[(0,Z.jsxs)(`div`,{className:i?a(`flex shrink-0 items-center`,!o&&`flex-col gap-1 sm:flex-row sm:gap-2`):`sr-only`,children:[(0,Z.jsx)(`span`,{className:o?`sr-only`:`whitespace-nowrap text-xs font-bold tracking-wide text-violet-700 dark:text-violet-200`,children:e}),o?(0,Z.jsxs)(`div`,{className:`flex items-center gap-1.5 text-base font-black leading-none tabular-nums`,children:[(0,Z.jsx)(Qe,{className:`shrink-0`,size:16,"aria-hidden":`true`}),(0,Z.jsxs)(`span`,{className:`relative inline-block shrink-0 whitespace-nowrap`,children:[(0,Z.jsx)(`span`,{className:`invisible`,"aria-hidden":`true`,children:`00:00`}),(0,Z.jsx)(`span`,{className:`absolute inset-0 text-left`,children:r})]})]}):r]}),i&&!o&&(0,Z.jsx)(`span`,{className:`mx-4 h-7 w-px shrink-0 bg-violet-400/50 dark:bg-sky-300/40`,"aria-hidden":`true`}),(0,Z.jsxs)(`div`,{className:a(`flex shrink-0 items-center`,o?`gap-1.5`:`flex-col gap-1 sm:flex-row sm:gap-2`),children:[(0,Z.jsx)(`span`,{className:o?`sr-only`:`whitespace-nowrap text-xs font-bold tracking-wide text-sky-700 dark:text-sky-200`,children:t}),o&&(0,Z.jsx)(tt,{className:`shrink-0 text-sky-700 dark:text-sky-200`,size:16,"aria-hidden":`true`}),(0,Z.jsx)(`span`,{className:a(`inline-block shrink-0 whitespace-nowrap font-black leading-none text-sky-900 tabular-nums dark:text-sky-100`,o?`relative text-left text-base`:`w-[5ch] text-center text-xl sm:text-right`),children:o?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{className:`invisible`,"aria-hidden":`true`,children:`0000`}),(0,Z.jsx)(`span`,{className:`absolute inset-0`,children:n})]}):n})]})]})}function ut({size:e,pending:t,onRetry:n,onNewPuzzle:r}){return(0,Z.jsxs)(`div`,{className:`absolute inset-0 z-10 overflow-hidden rounded-2xl border-2 border-[#451a03] bg-amber-50`,"data-tango-time-up":`true`,role:`alertdialog`,"aria-labelledby":`tango-timed-up-title`,"aria-describedby":`tango-timed-up-body`,children:[(0,Z.jsx)(`div`,{"aria-hidden":`true`,className:`absolute inset-0 grid gap-0.5 bg-[#451a03]`,style:{gridTemplateColumns:`repeat(${e}, minmax(0, 1fr))`},children:Array.from({length:e*e},(e,t)=>(0,Z.jsx)(`span`,{className:`bg-amber-50`},t))}),(0,Z.jsx)(`div`,{className:`absolute inset-0 grid place-items-center bg-amber-950/20 p-4`,children:(0,Z.jsxs)(`div`,{className:`flex w-[min(86%,18rem)] flex-col items-center gap-3 text-center`,children:[(0,Z.jsx)(`p`,{id:`tango-timed-up-title`,className:`font-display text-2xl font-black uppercase tracking-wide text-amber-950`,children:w()}),(0,Z.jsx)(`p`,{id:`tango-timed-up-body`,className:`text-sm font-semibold text-amber-950/80`,children:be()}),(0,Z.jsx)(`button`,{type:`button`,onClick:n,disabled:t,autoFocus:!0,className:`${Xe} w-full`,children:Te()}),r&&(0,Z.jsx)(`button`,{type:`button`,onClick:r,disabled:t,className:`min-h-11 w-full rounded-xl bg-white/90 px-4 text-sm font-bold text-amber-950 hover:bg-white`,children:t?T():L()})]})})]})}var dt=()=>{};function ft({solved:e,ready:t,seconds:n,moves:r,onWinningChange:i=dt,onPreviewChange:a=dt,primaryAction:o,secondaryAction:s,title:c,description:l,showReviewAction:ee=!0,stats:d,preview:f=!1,reviewLabel:p}){let[m,h]=(0,Q.useState)(!1),[g,te]=(0,Q.useState)(0),v=(0,Q.useRef)({ready:!1,solved:e,replay:0}),y=(0,Q.useRef)(!1),b=(0,Q.useRef)(0);(0,Q.useEffect)(()=>{let n=t&&v.current.ready&&!v.current.solved&&e,r=g!==v.current.replay;if(v.current={ready:t,solved:e,replay:g},(n||r)&&(y.current=!0),!y.current)return;i(!0);let a=window.setTimeout(()=>h(!0),850);return()=>window.clearTimeout(a)},[t,e,g,i]);function x(){h(!1),y.current=!1,i(!1),a(!1)}(0,Q.useEffect)(()=>
1{if(!m||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let e=!1,t;return Ve(async()=>{let{default:e}=await import(`./confetti.module-CSklD5ZL.js`);return{default:e}},[]).then(({default:n})=>{if(e||Date.now()-b.current<400)return;b.current=Date.now();let r=[`#facc15`,`#f59e0b`,`#fb7185`,`#34d399`,`#60a5fa`],i=Date.now()+1200;n({particleCount:48,spread:64,startVelocity:34,origin:{x:.5,y:.22},colors:r,disableForReducedMotion:!0,zIndex:9999});let a=()=>{if(!(e||Date.now()>i)){for(let[e,t]of[[0,60],[1,120]])n({particleCount:2,angle:t,spread:42,startVelocity:38,origin:{x:e,y:.42},colors:r,disableForReducedMotion:!0,zIndex:9999});t=requestAnimationFrame(a)}};t=requestAnimationFrame(a)}).catch(()=>{}),()=>{e=!0,t!==void 0&&cancelAnimationFrame(t)}},[m]);let C=Math.floor(n),ie=d??[{label:ne(),value:`${Math.floor(C/60)}:${String(C%60).padStart(2,`0`)}`},{label:_(),value:r}];return(0,Z.jsxs)(Z.Fragment,{children:[!1,(0,Z.jsx)(Ge,{open:m,onOpenChange:e=>{e||x()},children:(0,Z.jsxs)(q,{showCloseButton:!1,className:`rounded-3xl border-2 border-amber-400 text-center motion-reduce:animate-none`,children:[(0,Z.jsx)(rt,{className:`mx-auto 
1size-14 text-amber-500`,"aria-hidden":`true`}),(0,Z.jsx)(Be,{className:`text-center font-display text-3xl font-bold`,children:c??u()}),f&&(0,Z.jsx)(`p`,{className:`text-sm font-semibold`,children:K()}),(0,Z.jsx)(We,{className:`text-center text-base`,children:l??ae()}),(0,Z.jsx)(`dl`,{className:`grid grid-cols-2 gap-4 rounded-2xl bg-secondary p-4`,children:ie.map(({label:e,value:t})=>(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`dt`,{children:e}),(0,Z.jsx)(`dd`,{className:`text-2xl font-bold tabular-nums`,children:f?`—`:t})]},e))}),o&&(0,Z.jsx)(V,{className:`min-h-12 rounded-xl`,onClick:()=>{x(),o.onClick()},children:o.label}),s&&(0,Z.jsx)(V,{variant:`outline`,className:`min-h-12 rounded-xl`,onClick:()=>{x(),s.onClick()},children:s.label}),(f||ee)&&(0,Z.jsx)(V,{variant:`ghost`,className:`min-h-12 rounded-xl`,onClick:x,children:f?re():p??S()})]})})]})}var pt=5;function mt({puzzle:e,game:t,onAction:n,locked:r=!1,home:i=!1,solvedMessage:a,children:o,started:c=!0,onStart:l=()=>{},ready:u=!0,seconds:d=0,moves:h=0,victoryAction:_,victorySecondaryAction:v,victoryTitle:ne,victoryDescription:re,victoryShowReviewAction:x=!0,victoryStats:S,victoryReviewLabel:se,expired:w=!1,onRetry:T,newPuzzlePending:E=!1}){let[D,he]=(0,Q.useState)(!1),[O,be]=(0,Q.useState)(!1),[A,j]=(0,Q.useState)(0),M=(0,Q.useRef)(0),N=Ke(e,t.board),I=t.board.filter(Boolean).length,L=t.board.some((t,n)=>t!==e.givens[n]),R=t.notice.kind===`mistakes`,Te=e.id,z=e=>{if(!(r||!c||w||O||D)){if(e.type===`hint`){if(N||Date.now()<M.current)return;M.current=Date.now()+pt*1e3,j(pt)}e.type===`reset`&&(M.current=0,j(0)),n(e)}},B=A>0,H=B?Ee({seconds:A}):k();(0,Q.useEffect)(()=>{if(!B)return;let e=window.setInterval(()=>{j(Math.max(0,Math.ceil((M.current-Date.now())/1e3)))},100);return()=>window.clearInterval(e)},[B]);let U=(0,Q.useRef)(null),W=(0,Q.useRef)(c);(0,Q.useEffect)(()=>{c&&!W.current&&U.current?.querySelector(`[role="gridcell"] button:not([disabled])`)?.focus(),W.current=c},[c]);function je(t){let n={row:Math.floor(t.index/e.size)+1,col:t.index%e.size+1,symbol:t.value===1?Me():Ae()},r={correction:p(),balance:ie({count:e.size/2}),triple:ee(),relation:Ne(),solution:b()};return`${C(n)} ${r[t.reason]}`}function G(){if(N)return a??ae();switch(t.notice.kind){case`ready`:return le({count:e.size/2});case`playing`:return oe();case`reset`:return ce();case`undo`:return g();case`checked`:return L?we():te();case`mistakes`:return f({count:t.notice.count});case`hint`:return je(t.notice.hint)}}function K(n){let r=O?e.solution[n]:t.board[n],i=ve({row:Math.floor(n/e.size)+1,col:n%e.size+1,symbol:r===1?Me():r===2?Ae():ue()});e.givens[n]&&(i+=` ${ye()}`),t.highlighted.includes(n)&&(i+=` ${R?Se():Ce()}`);for(let t of e.relations){if(t.a!==n&&t.b!==n)continue;let r=t.a===n?t.b:t.a,a={row:Math.floor(r/e.size)+1,col:r%e.size+1};i+=` ${t.kind===`same`?_e(a):me(a)}`}return i}let q=(0,Z.jsx)(Ue,{puzzle:e,board:O?e.solution:t.board,highlighted:t.highlighted,hasMistakes:R,solved:N||O,winning:D,fitFrame:i,label:fe({code:Te,size:e.size}),cellLabel:K,onPlace:(e,t)=>z({type:`place`,index:e,value:t}),onUndo:()=>z({type:`undo`})},e.id),Pe=(0,Z.jsxs)(`div`,{className:`tango-board-caption`,children:[(0,Z.jsxs)(`span`,{className:`tango-fixed-legend`,children:[(0,Z.jsx)(Ie,{"aria-hidden":`true`}),ke()]}),(0,Z.jsx)(`span`,{className:`tango-progress-text`,children:xe({filled:I,total:t.board.length})})]});return(0,Z.jsxs)(Z.Fragment,{children:[i?(0,Z.jsx)(`div`,{className:`tango-board-frame relative mb-6`,children:u&&(c||N||w)||O?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{ref:U,inert:w||void 0,className:`h-full w-full animate-in fade-in zoom-in-95 duration-300 motion-reduce:animate-none`,children:q}),w&&!N&&T&&(0,Z.jsx)(ut,{size:e.size,pending:E,onRetry:T,onNewPuzzle:_?.onClick})]}):(0,Z.jsx)(Ye,{size:e.size,pending:!u,onStart:l})}):q,(0,Z.jsxs)(`div`,{className:i?`w-[min(100%,450px)]`:void 0,children:[!i&&e.size>=8&&(0,Z.jsx)(`p`,{className:`tango-scroll-hint`,children:m()}),!i&&Pe,i?u&&c&&!N&&!w&&(0,Z.jsxs)(`div`,{className:`flex items-center justify-center gap-2`,role:`group`,"aria-label":pe(),children:[(0,Z.jsxs)(V,{"data-home-hero-action":`undo`,"data-home-hero-action-tier":`primary`,size:`lg`,className:`h-9 gap-1.5 rounded-[8px] px-3 border border-amber-300/70 bg-[linear-gradient(180deg,rgba(245,208,122,0.95),rgba(234,179,8,0.72))] font-semibold text-sm text-amber-950 transition-all duration-200 active:scale-[0.98] shadow-[0_14px_30px_rgba(217,119,6,0.18)] hover:shadow-[0_18px_36px_rgba(217,119,6,0.22)] disabled:opacity-40`,disabled:O||D||!c||r||!t.past.length,onClick:()=>z({type:`undo`}),children:[(0,Z.jsxs)(`svg`,{width:`16`,height:`16`,fill:`currentColor`,viewBox:`0 0 16 16`,"aria-hidden":`true`,children:[(0,Z.jsx)(`path`,{d:`M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2z`}),(0,Z.jsx)(`path`,{d:`M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466`})]}),De()]}),(0,Z.jsx)(V,{"data-home-hero-action":`hint`,"data-home-hero-action-tier":`secondary`,variant:`outline`,size:`lg`,className:`h-9 gap-1.5 rounded-[8px] px-3 border border-cyan-300 bg-cyan-200 font-semibold text-sm text-cyan-950 shadow-[0_14px_30px_rgba(6,182,212,0.16)] transition-all duration-200 hover:border-cyan-400 hover:bg-cyan-300 hover:text-cyan-950 active:scale-[0.98] disabled:border-cyan-200 disabled:bg-cyan-100 disabled:text-cyan-700 disabled:shadow-none dark:border-cyan-300 dark:bg-cyan-200 dark:hover:bg-cyan-300`,"aria-label":H,title:H,disabled:O||D||!c||r||B,onClick:()=>z({type:`hint`}),children:(0,Z.jsx)(`span`,{className:`tabular-nums`,children:B?P({seconds:A}):k()})}),(0,Z.jsxs)(V,{"data-home-hero-action":`reset`,"data-home-hero-action-tier":`secondary`,variant:`outline`,size:`lg`,className:`h-9 gap-1.5 rounded-[8px] px-3 border border-rose-300 bg-rose-200 font-semibold text-sm text-rose-950 shadow-[0_14px_30px_rgba(244,63,94,0.14)] transition-all duration-200 hover:border-rose-400 hover:bg-rose-300 hover:text-rose-950 active:scale-[0.98] dark:border-rose-300 dark:bg-rose-200 dark:hover:bg-rose-300`,disabled:O||D||!c||r||!L,onClick:()=>z({type:`reset`}),children:[(0,Z.jsxs)(`svg`,{width:`16`,height:`16`,fill:`currentColor`,viewBox:`0 0 16 16`,"aria-hidden":`true`,children:[(0,Z.jsx)(`path`,{d:`M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.3
16a.25.25 0 0 1 .192-.41m-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9`}),(0,Z.jsx)(`path`,{fillRule:`evenodd`,d:`M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5 5 0 0 0 8 3M3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9z`})]}),(0,Z.jsx)(`span`,{children:F()})]})]}):(0,Z.jsxs)(`div`,{className:`tango-actions`,role:`group`,"aria-label":pe(),children:[(0,Z.jsxs)(V,{variant:`ghost`,className:`tango-action`,disabled:O||D||!c||r||!t.past.length,onClick:()=>z({type:`undo`}),children:[(0,Z.jsx)(it,{"aria-hidden":`true`}),De()]}),(0,Z.jsxs)(V,{variant:`ghost`,className:`tango-action`,disabled:O||D||!c||r||!L,onClick:()=>z({type:`reset`}),children:[(0,Z.jsx)(nt,{"aria-hidden":`true`}),F()]}),(0,Z.jsxs)(V,{variant:`ghost`,className:`tango-action`,disabled:O||D||!c||r||N,onClick:()=>z({type:`check`}),children:[(0,Z.jsx)(Re,{"aria-hidden":`true`}),de()]}),(0,Z.jsxs)(V,{variant:`ghost`,className:`tango-action tango-hint-button`,"aria-label":H,title:H,disabled:O||D||!c||r||N||w||B,onClick:()=>z({type:`hint`}),children:[(0,Z.jsx)(et,{"aria-hidden":`true`}),(0,Z.jsx)(`span`,{className:`tabular-nums`,children:B?P({seconds:A}):k()})]})]}),!i&&(0,Z.jsxs)(`div`,{role:`status`,"aria-live":`polite`,"aria-atomic":`true`,className:`tango-status`,"data-state":N?`solved`:R?`mistakes`:t.notice.kind,children:[N?(0,Z.jsx)(qe,{"aria-hidden":`true`}):t.notice.kind===`hint`?(0,Z.jsx)(et,{"aria-hidden":`true`}):null,(0,Z.jsx)(`p`,{children:G()})]}),(0,Z.jsx)(ft,{solved:N&&!w,ready:u,seconds:d,moves:h,onWinningChange:he,onPreviewChange:be,primaryAction:O?void 0:_,secondaryAction:O?void 0:v,title:ne,description:re,showReviewAction:x,stats:S,preview:O,reviewLabel:se}),o,!i&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`div`,{className:`tango-input-help`,id:`tango-input-help`,children:[(0,Z.jsx)(`span`,{children:Oe()}),(0,Z.jsxs)(`span`,{className:`tango-cycle`,"aria-hidden":`true`,children:[(0,Z.jsx)(Fe,{value:1}),(0,Z.jsx)(J,{}),(0,Z.jsx)(Fe,{value:2}),(0,Z.jsx)(J,{}),(0,Z.jsx)(`span`,{className:`tango-cycle-empty`})]}),(0,Z.jsx)(`span`,{className:`sr-only`,children:ge()})]}),(0,Z.jsxs)(`details`,{className:`tango-keyboard`,children:[(0,Z.jsxs)(`summary`,{children:[(0,Z.jsx)($e,{"aria-hidden":`true`}),s()]}),(0,Z.jsx)(`p`,{id:`tango-keyboard-help`,children:y()})]})]})]})]})}var $=e=>({applicationCategory:`GameApplication`,operatingSystem:`Web`,browserRequirements:O({},{locale:e}),gamePlatform:o({},{locale:e}),playMode:`https://schema.org/SinglePlayer`,isAccessibleForFree:!0,offers:{"@type":`Offer`,price:0}});function ht(e){return X({...$(e),title:z({},{locale:e}),name:A({},{locale:e}),description:I({},{locale:e}),path:`/`,locale:e})}function gt(e){return X({...$(e),title:se({},{locale:e}),name:R({},{locale:e}),description:h({},{locale:e}),path:`/unlimited`,locale:e})}function _t(e){return X({...$(e),title:d({},{locale:e}),name:W({},{locale:e}),description:x({},{locale:e}),path:`/timed`,locale:e})}function vt(e,t){return X({...$(t),title:je({date:e},{locale:t}),description:E({date:e},{locale:t}),path:`/archive/${e}`,locale:t,breadcrumbParents:[{title:c({},{locale:t}),path:`/archive`}]})}function yt(e){return`tango_quick_set_${e}`}function bt(e){return`tango_archive_${e}`}function xt(e){return`tango_unlimited_${e}`}function St(e){return`tango_timed_${e}`}export{vt as a,gt as c,ct as d,st as f,Ze as h,xt as i,mt as l,at as m,yt as n,ht as o,ot as p,St as r,_t as s,bt as t,lt as u};

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.