From 442718bf8e4b4f34cd91b26f471d378bdb36d44d Mon Sep 17 00:00:00 2001 From: cophilot Date: Mon, 22 Jul 2024 18:48:31 +0000 Subject: [PATCH] deploy: b16675dd1d652320b64950fcc98b5cec35aa8ee2 --- assets/{index-DQyVns70.js => index-_UyhxbQT.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-DQyVns70.js => index-_UyhxbQT.js} (83%) diff --git a/assets/index-DQyVns70.js b/assets/index-_UyhxbQT.js similarity index 83% rename from assets/index-DQyVns70.js rename to assets/index-_UyhxbQT.js index 3d963cb..2fba7c0 100644 --- a/assets/index-DQyVns70.js +++ b/assets/index-_UyhxbQT.js @@ -64,4 +64,4 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */const hm="6";try{window.__reactRouterVersion=hm}catch{}const vm="startTransition",ws=pf[vm];function gm(e){let{basename:t,children:n,future:r,window:l}=e,o=C.useRef();o.current==null&&(o.current=xp({window:l,v5Compat:!0}));let i=o.current,[u,s]=C.useState({action:i.action,location:i.location}),{v7_startTransition:c}=r||{},h=C.useCallback(p=>{c&&ws?ws(()=>s(p)):s(p)},[s,c]);return C.useLayoutEffect(()=>i.listen(h),[i,h]),C.createElement(pm,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}var Ss;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ss||(Ss={}));var ks;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ks||(ks={}));class He{static setBackGroundColor(t="white"){document.documentElement.style.setProperty("--bg-color",t)}static setFontColor(t="black"){document.documentElement.style.setProperty("--font-color",t)}static setPrimaryColor(t="#436fe9"){document.documentElement.style.setProperty("--primary-color",t)}static setSecondaryColor(t="#E9BD43"){document.documentElement.style.setProperty("--secondary-color",t)}static setDefaultValues(){He.setBackGroundColor(),He.setFontColor(),He.setPrimaryColor(),He.setSecondaryColor()}}class lu{static removeAllSpecialCharacters(t){return t.replace(/[^a-zA-Z0-9 ]/g,"")}static gameNameToPath(t){return lu.removeAllSpecialCharacters(t.toLowerCase()).replace(/ /g,"-")}}function tt(){return S.jsxs("div",{style:{marginTop:"20px",marginBottom:"50px",fontSize:"16px"},children:["by"," ",S.jsx("a",{href:"https://philipp-bonin.com/",target:"_blank",children:"Philipp B."})]})}function ym(){return["Harmonies","Seven Wonders: Duel","Dorfromatik: Duel","Everdell","Scout","Let's Go! To Japan","Wizard","Cascadia$x$https://cascoria.philipp-bonin.com/#/"]}function Cs(){const e=ru();C.useEffect(()=>{He.setDefaultValues(),document.title="BoardScoreHub"},[]);const t=ym();return t.sort((n,r)=>n.localeCompare(r)),S.jsxs("div",{children:[S.jsx("h1",{children:"BoardScoreHub"}),S.jsx("h2",{children:"General"}),S.jsxs("div",{className:"ver",children:[S.jsx("button",{className:"btn selected wide",onClick:()=>{e("/general-table/expandable")},children:"Expandable Table"}),S.jsx("button",{className:"btn selected wide",children:"Fix size Table"})]}),S.jsx("h2",{children:"Games"}),S.jsx("div",{className:"ver",children:t.map(n=>S.jsx(Am,{game:n},n))}),S.jsx(tt,{})]})}function Am({game:e}){const t=ru();if(e.includes("$x$")){const[n,r]=e.split("$x$");return S.jsx("a",{className:"btn selected",href:r,target:"_blank",style:{minWidth:"250px"},children:n})}return S.jsx("button",{className:"btn selected wide",onClick:()=>{t(`/game/${lu.gameNameToPath(e)}`)},children:e})}function wm({playerSizes:e,initPlayerSize:t,onPlayerSizeChange:n}){const r=e&&Math.min(...e),[l,o]=C.useState(t||r);return!e||e.length<=1?null:S.jsxs(S.Fragment,{children:[S.jsx("h2",{className:"print-hide",children:"Players"}),S.jsx("div",{className:"player-switch print-hide",children:e.map(i=>S.jsx("button",{className:"btn "+(i===l?"selected":""),onClick:()=>{o(i),n(i)},children:i},i))})]})}class b{static getStorageKeyFromTitle(t,n=""){let r=t.toLowerCase()+"-storage";return n!==""&&(r+="-"+n.toLowerCase()),r}static deleteStorage(t){Object.keys(localStorage).filter(l=>l.includes(t.toLowerCase())).forEach(l=>localStorage.removeItem(l))}static getPlayerNames(t,n=[]){const r=localStorage.getItem(b.getStorageKeyFromTitle(t,"player-names"));return r===null?n:JSON.parse(r)}static setPlayerNames(t,n){localStorage.setItem(b.getStorageKeyFromTitle(t,"player-names"),JSON.stringify(n))}static getPlayerSize(t,n=2){const r=localStorage.getItem(b.getStorageKeyFromTitle(t,"player-size"));return r===null?n:parseInt(r)}static setPlayerSize(t,n){localStorage.setItem(b.getStorageKeyFromTitle(t,"player-size"),n.toString())}static getGameMatrix(t,n=[]){const r=localStorage.getItem(b.getStorageKeyFromTitle(t,"matrix"));return r===null?n:JSON.parse(r)}static setGameMatrix(t,n){localStorage.setItem(b.getStorageKeyFromTitle(t,"matrix"),JSON.stringify(n))}static setGameSettings(t,n){localStorage.setItem(b.getStorageKeyFromTitle(t,"settings"),JSON.stringify(n))}static getGameSettings(t,n={}){const r=localStorage.getItem(b.getStorageKeyFromTitle(t,"settings"));return r===null?n:JSON.parse(r)}}var Xe=(e=>(e.MOST="most",e.LEAST="least",e.NONE="none",e))(Xe||{});function Sm(e){switch(e){case"most":return Math.max;case"least":return Math.min;case"none":return()=>{}}}function km({definition:e,playerSize:t,gameSettings:n,onCellChange:r}){const l=Array.from(Array(t).keys()),o=e.rows||[],[i,u]=C.useState(b.getGameMatrix(e.title,xm(o.length,t))),[s,c]=C.useState(Array.from(Array(t).keys()).map(()=>0)),[h,p]=C.useState(b.getPlayerNames(e.title,[])),[m,g]=C.useState(-1);C.useEffect(()=>{e.roundMapper&&g(e.roundMapper[t])},[e.roundMapper,t]),C.useEffect(()=>{const f=Array.from(Array(t).keys()).map(a=>Pm(i,a,m));c(f)},[t,i]);const A=(f,a)=>i[f]&&i[f][a]||0,w=(f,a,d)=>{if(isNaN(d))return;let v=!1;const k=i.map((N,T)=>(T===f&&(N[a]=Number(d),v=!0),N));v||(k.push(Array.from(Array(t).keys()).map(()=>0)),k[k.length-1][a]=Number(d)),u(k),b.setGameMatrix(e.title,k),r&&r(f,a,d)},P=()=>{const f=e.winMode||Xe.MOST,d=Sm(f)(...s);return s.every(v=>v===d)?null:d};return S.jsxs("table",{className:"board-score-table",children:[S.jsx("thead",{children:S.jsxs("tr",{children:[S.jsx("th",{},"-1"),l.map(f=>S.jsx("th",{children:S.jsx("input",{type:"text",placeholder:"P"+(f+1),value:h[f]||"",onChange:a=>{const d=h.slice();d[f]=a.target.value,p(d),b.setPlayerNames(e.title,d)}})},f))]},"header")}),S.jsxs("tbody",{children:[o.map((f,a)=>(m===-1||aS.jsx(Cm,{rowIndex:a,playerIndex:d,getValueFunction:A,setValueFunction:w},d))]},a)),S.jsxs("tr",{className:"total-row",children:[S.jsx(Ps,{row:{name:"Total"},helpOn:n.showHelp}),s.map((f,a)=>S.jsx("td",{className:"total-cell "+(P()==f?"win":""),children:isNaN(f)?0:f},a))]},"total")]})]})}function Cm({rowIndex:e,playerIndex:t,getValueFunction:n,setValueFunction:r}){let l=n(e,t);return l===0&&(l=""),S.jsx("td",{children:S.jsx("input",{type:"text",onChange:o=>r(e,t,o.target.value),value:l})})}function Ps({row:e,helpOn:t}){let n=e.name;return e.icon&&(n=S.jsx("img",{src:e.icon,alt:e.name,className:"row-icon"}),t&&(n=S.jsxs(S.Fragment,{children:[n,S.jsx("p",{className:"row-help",children:e.name})]}))),S.jsx("td",{style:{fontWeight:"bold"},children:n})}const Pm=(e,t,n=-1)=>e.reduce((r,l,o)=>n!==-1&&o>=n||isNaN(l[t])?r:r+l[t],0);function Em(e){const t={};return e.bgColor&&(t.backgroundColor=e.bgColor),e.fontColor&&(t.color=e.fontColor),t}function xm(e,t){return Array.from(Array(e).keys()).map(()=>Array.from(Array(t).keys()).map(()=>0))}function Ct({definition:e,children:t,onCellChange:n}){const r=ru(),[l,o]=C.useState(b.getPlayerSize(e.title,e.playerSizes[0])),[i,u]=C.useState(b.getGameSettings(e.title,{showHelp:!1})),s=m=>{o(m),b.setPlayerSize(e.title,m)},c=m=>{u(m),b.setGameSettings(e.title,m)};C.useEffect(()=>{Tm(e)},[e]);const h=new Date().toLocaleDateString(),p=e.rows.some(m=>m.icon);return S.jsxs("div",{className:"board-score-page",children:[e.title&&S.jsx("h1",{children:e.title}),S.jsx("h2",{className:"print-show",children:S.jsx("i",{children:h})}),S.jsx(wm,{playerSizes:e.playerSizes,initPlayerSize:l,onPlayerSizeChange:s}),S.jsx(km,{onCellChange:n,definition:e,gameSettings:i,playerSize:l}),p&&S.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{const m={...i,showHelp:!i.showHelp};c(m)},children:i.showHelp?"Hide Help":"Help"}),S.jsx("button",{className:"btn selected nav-btn print-hide",onClick:Nm,children:"Export"}),S.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{b.deleteStorage(e.title),window.location.reload()},children:"Clear"}),S.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{r("/")},children:"Home"}),S.jsx("h2",{className:"print-show",children:S.jsx("i",{children:"board-score-hub.philipp-bonin.com"})}),t]})}function Nm(){const e=document.getElementsByClassName("print-hide");for(let n=0;n{window.print(),setTimeout(()=>{for(let n=0;n{document.title=t+" - BoardScoreHub"}),Rn(e.bgColor,He.setBackGroundColor,!0),Rn(e.fontColor,He.setFontColor,!0),Rn(e.primaryColor,He.setPrimaryColor,!0),Rn(e.secondaryColor,He.setSecondaryColor,!0)}function Rn(e,t,n=!1){if(e!=null){t(e);return}n&&t()}const Om="/assets/leaf-Jv3DCFCo.png",Rm="/assets/stone-Ckqn0VnU.png",jm="/assets/flower-DYAPFgxs.png",zm="/assets/house-DcI_Z8es.png",Bm="/assets/water-ovxDwENf.png",Vt="/assets/card-BUvh7z74.png";function Dm(){return{title:"Harmonies",bgColor:"#deceac",fontColor:"black",primaryColor:"#0094b8",secondaryColor:"#f7ac1f",playerSizes:[1,2,3,4],winMode:Xe.MOST,rows:[{name:"Leaf",icon:Om},{name:"Stone",icon:Rm},{name:"Flower",icon:jm},{name:"House",icon:zm},{name:"Water",icon:Bm},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt}]}}function Im(){return S.jsx(Ct,{definition:Dm(),children:S.jsx(tt,{})})}const Lm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAC01BMVEUAAAD////b7vHc7vPq9Pff8vPw+Pr5/fvV8PLr9Pfq9vjk8vb///3p9Pft9vf6+/31+vrj8vb3+/v3+vrk8/b2+vrk8/f2+/v3+vvi8vb1+fvg8fXm8vf0+fvb7vb///rr9frc7/Ts9fjx9/j4/Pzu9vje8fTh8vbq9fba7/Tf8PTj8/Xx+fr9/f7////9/v71+/vl8/bb7vHX7PHn8/by+Pv2+/zx+Pnn8vXv9vrR7u7o9Pbz+fr8/f35+/zz+frr9fnn9Pb0+vv7/P3y+fqT2d3p9Pf0+vr3+/zq9vjw9/ny+PrW6vHj8fTz+fr7/f33+vzw+Pj5/Pz7/f3l8/bz+fn6/Pzl8/by+Pjl9Pfz+Pjj8vbw9vn4+/z6/f3i8vba7PTt9vn4+/zu9fnn9Pf1+fva7vTw9/n2+vvr9fjr9ff1+vrm8/bt9vj4+/v1+vrm8/bV7vLh8vbs9ffv9/ny+fr0+frz+fvo9vfn9PXZ7/Tg8vbr9vjt9vns9fjs9vjt9fjt9fnk8/Xe8PT6/P3+/v7///////78/f33+/v9/v7u8/bb5+3T4unR4ejR4enX5evn8PP8/Pz//v74+vu50dxhmbQveZwgbpUfbpUfb5Ufb5QndJhOjKufwNDt8vX6/PynxtQlc5cAWoUAWYQRZo5+q8Hw9PfW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KzAwOjAw3ZB7cAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0wNy0yMlQxMzo0NTo0NSswMDowMJiFZ4IAAAAASUVORK5CYII=",Qm="/assets/world-wonder-DqwnqRp4.png",Hm="/assets/green-chip-B7JIPrXB.png",Wm="/assets/coins-BQSYgv-V.png",Vm="/assets/military-BQjip8gM.png";function Xm(){return{title:"Seven Wonders: Duel",bgColor:"#fbdbb3",primaryColor:"#c59551",secondaryColor:"#2a7c6d",playerSizes:[2],winMode:Xe.MOST,rows:[{name:"Blue cards",icon:Lm,bgColor:"#c7f0fc"},{name:"Green cards",icon:Mm,bgColor:"#d8edd6"},{name:"Yellow cards",icon:Fm,bgColor:"#fffad9"},{name:"Purple cards",icon:Um,bgColor:"#d2cce0"},{name:"World wonders",icon:Qm,bgColor:"#ececed"},{name:"Progress tokens",icon:Hm,bgColor:"#d8edd6"},{name:"Coins",icon:Wm,bgColor:"#fffad9"},{name:"Military",icon:Vm,bgColor:"#fad2c5"}]}}function Jm(){return S.jsx(Ct,{definition:Xm(),children:S.jsx(tt,{})})}const Gm="/assets/tree-6XAsnF0O.png",Ym="/assets/field-DbFukuCU.png",Km="/assets/house-CDamRoKu.png",Zm="/assets/rail-MrSAd69Q.png",_m="/assets/river-DspDSLJu.png",qm="/assets/border-CHSImG3J.png",$m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAQAAADa613fAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAHdElNRQfoBxYLByZgiBvHAAAIfklEQVR42u2bWWxU1xnHf9+9Mx57MLYJmNVODCQqUAqYhIQloRBUUkIpCdR2CFFVBH2Iqqp9rNSnqmofKuWlD20qlaStmsYLOCipIG1Qs9GmjowXwuLUUBvSAsXxwuIZjz33fn3wNvd67NieO+Ox5P/bPTPn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1z8VJAS9G3pLL7MUq0tTqchFaQUIQiakhFGt9R6amHa7S1FIkCDrKswYa0FSWtI+aQ+5HwkbbJKMr5i1H5ueipICXzu11zqsuti2mSVIgkqbgDeVQ83ktaQEiiZo70OuKwedSQVpBQq/BRY2stacMzqx8CKpDWkWpgTwEuzvUxaQ6bhwKc6IRNkDG8tdrcmxwDPAwdnazOtIdNh4yh6B7AZadolCBIR1qx3Zk0FKU0oaMJYTLmDQAhEHvP/lZMKMg1CGF7BfB5YytSregR+2fJQrX/OIiUlJSUlJSUlJSUlJSUlpZ78GWSwMrW1vCX0AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI0LTA3LTIyVDExOjAyOjAyKzAwOjAwmmwy+gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0wNy0yMlQxMTowMTozOSswMDowMIyOYlwAAAAASUVORK5CYII=",nh="/assets/longest-rail-BgqrCeHk.png",rh="/assets/longest-river-C3Mrt03k.png";function lh(){return{title:"Dorfromatik: Duel",primaryColor:"#7ba1d4",secondaryColor:"#ee776c",playerSizes:[2],winMode:Xe.MOST,rows:[{name:"Tree",icon:Gm},{name:"Field",icon:Ym},{name:"House",icon:Km},{name:"Railway",icon:Zm},{name:"River",icon:_m},{name:"Border",icon:qm},{name:"Six",icon:$m},{name:"Flag green",icon:bm},{name:"Flag yellow",icon:eh},{name:"Flag red",icon:th},{name:"Longest Railway",icon:nh},{name:"Longest River",icon:rh}]}}function oh(){return S.jsx(Ct,{definition:lh(),children:S.jsx(tt,{})})}const ih="/assets/basic-events-CZ0_ktSt.png",uh="/assets/journey-2KDONO1e.png",sh="/assets/point-token-njinAhBY.png",ah="/assets/special-events-BJisyehW.png",ch="/assets/village-AZ2dhzPO.png",fh="/assets/prosperity-DHLGkuQE.png";function dh(){return{title:"Everdell",bgColor:"#5c652e",fontColor:"#342a28",primaryColor:"#714839",secondaryColor:"#50446a",playerSizes:[1,2,3,4],winMode:Xe.MOST,rows:[{name:"Cards in Village",icon:ch},{name:"Prosperity",icon:fh},{name:"Point Tokens",icon:sh},{name:"Basic Events",icon:ih},{name:"Special Events",icon:ah},{name:"Journey",icon:uh}]}}function ph(){return S.jsx(Ct,{definition:dh(),children:S.jsx(tt,{})})}function mh(){const e="expandable table-rows",[t,n]=C.useState([{name:"Row 1",bgColor:"white"}]);C.useEffect(()=>{const o=localStorage.getItem(e);o&&n(JSON.parse(o))},[]);const r=C.useMemo(()=>({title:"Expandable Table",playerSizes:[1,2,3,4,5,6],winMode:Xe.NONE,rows:t}),[t]),l=o=>{if(o{c&&ws?ws(()=>s(p)):s(p)},[s,c]);return C.useLayoutEffect(()=>i.listen(h),[i,h]),C.createElement(pm,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}var Ss;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ss||(Ss={}));var ks;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ks||(ks={}));class He{static setBackGroundColor(t="white"){document.documentElement.style.setProperty("--bg-color",t)}static setFontColor(t="black"){document.documentElement.style.setProperty("--font-color",t)}static setPrimaryColor(t="#436fe9"){document.documentElement.style.setProperty("--primary-color",t)}static setSecondaryColor(t="#E9BD43"){document.documentElement.style.setProperty("--secondary-color",t)}static setDefaultValues(){He.setBackGroundColor(),He.setFontColor(),He.setPrimaryColor(),He.setSecondaryColor()}}class lu{static removeAllSpecialCharacters(t){return t.replace(/[^a-zA-Z0-9 ]/g,"")}static gameNameToPath(t){return lu.removeAllSpecialCharacters(t.toLowerCase()).replace(/ /g,"-")}}function tt(){return S.jsxs("div",{style:{marginTop:"20px",marginBottom:"50px",fontSize:"16px"},children:["by"," ",S.jsx("a",{href:"https://philipp-bonin.com/",target:"_blank",children:"Philipp B."})]})}function ym(){return["Harmonies","Seven Wonders: Duel","Dorfromatik: Duel","Everdell","Scout","Let's Go! To Japan","Wizard","Cascadia$x$https://cascoria.philipp-bonin.com/#/"]}function Cs(){const e=ru();C.useEffect(()=>{He.setDefaultValues(),document.title="BoardScoreHub"},[]);const t=ym();return t.sort((n,r)=>n.localeCompare(r)),S.jsxs("div",{children:[S.jsx("h1",{children:"BoardScoreHub"}),S.jsx("h2",{children:"General"}),S.jsxs("div",{className:"ver",children:[S.jsx("button",{className:"btn selected wide",onClick:()=>{e("/general-table/expandable")},children:"Expandable Table"}),S.jsx("button",{className:"btn selected wide",children:"Fix size Table"})]}),S.jsx("h2",{children:"Games"}),S.jsx("div",{className:"ver",children:t.map(n=>S.jsx(Am,{game:n},n))}),S.jsx(tt,{})]})}function Am({game:e}){const t=ru();if(e.includes("$x$")){const[n,r]=e.split("$x$");return S.jsx("a",{className:"btn selected",href:r,target:"_blank",style:{minWidth:"250px"},children:n})}return S.jsx("button",{className:"btn selected wide",onClick:()=>{t(`/game/${lu.gameNameToPath(e)}`)},children:e})}function wm({playerSizes:e,initPlayerSize:t,onPlayerSizeChange:n}){const r=e&&Math.min(...e),[l,o]=C.useState(t||r);return!e||e.length<=1?null:S.jsxs(S.Fragment,{children:[S.jsx("h2",{className:"print-hide",children:"Players"}),S.jsx("div",{className:"player-switch print-hide",children:e.map(i=>S.jsx("button",{className:"btn "+(i===l?"selected":""),onClick:()=>{o(i),n(i)},children:i},i))})]})}class b{static getStorageKeyFromTitle(t,n=""){let r=t.toLowerCase()+"-storage";return n!==""&&(r+="-"+n.toLowerCase()),r}static deleteStorage(t){Object.keys(localStorage).filter(l=>l.includes(t.toLowerCase())).forEach(l=>localStorage.removeItem(l))}static getPlayerNames(t,n=[]){const r=localStorage.getItem(b.getStorageKeyFromTitle(t,"player-names"));return r===null?n:JSON.parse(r)}static setPlayerNames(t,n){localStorage.setItem(b.getStorageKeyFromTitle(t,"player-names"),JSON.stringify(n))}static getPlayerSize(t,n=2){const r=localStorage.getItem(b.getStorageKeyFromTitle(t,"player-size"));return r===null?n:parseInt(r)}static setPlayerSize(t,n){localStorage.setItem(b.getStorageKeyFromTitle(t,"player-size"),n.toString())}static getGameMatrix(t,n=[]){const r=localStorage.getItem(b.getStorageKeyFromTitle(t,"matrix"));return r===null?n:JSON.parse(r)}static setGameMatrix(t,n){localStorage.setItem(b.getStorageKeyFromTitle(t,"matrix"),JSON.stringify(n))}static setGameSettings(t,n){localStorage.setItem(b.getStorageKeyFromTitle(t,"settings"),JSON.stringify(n))}static getGameSettings(t,n={}){const r=localStorage.getItem(b.getStorageKeyFromTitle(t,"settings"));return r===null?n:JSON.parse(r)}}var Xe=(e=>(e.MOST="most",e.LEAST="least",e.NONE="none",e))(Xe||{});function Sm(e){switch(e){case"most":return Math.max;case"least":return Math.min;case"none":return()=>{}}}function km({definition:e,playerSize:t,gameSettings:n,onCellChange:r}){const l=Array.from(Array(t).keys()),o=e.rows||[],[i,u]=C.useState(b.getGameMatrix(e.title,xm(o.length,t))),[s,c]=C.useState(Array.from(Array(t).keys()).map(()=>0)),[h,p]=C.useState(b.getPlayerNames(e.title,[])),[m,g]=C.useState(-1);C.useEffect(()=>{e.roundMapper&&g(e.roundMapper[t])},[e.roundMapper,t]),C.useEffect(()=>{const f=Array.from(Array(t).keys()).map(a=>Pm(i,a,m));c(f)},[t,i]);const A=(f,a)=>i[f]&&i[f][a]||0,w=(f,a,d)=>{if(isNaN(d))return;let v=!1;const k=i.map((N,T)=>(T===f&&(N[a]=Number(d),v=!0),N));v||(k.push(Array.from(Array(t).keys()).map(()=>0)),k[k.length-1][a]=Number(d)),u(k),b.setGameMatrix(e.title,k),r&&r(f,a,d)},P=()=>{const f=e.winMode||Xe.MOST,d=Sm(f)(...s);return s.every(v=>v===d)?null:d};return S.jsxs("table",{className:"board-score-table",children:[S.jsx("thead",{children:S.jsxs("tr",{children:[S.jsx("th",{},"-1"),l.map(f=>S.jsx("th",{children:S.jsx("input",{type:"text",placeholder:"P"+(f+1),value:h[f]||"",onChange:a=>{const d=h.slice();d[f]=a.target.value.toUpperCase(),p(d),b.setPlayerNames(e.title,d)}})},f))]},"header")}),S.jsxs("tbody",{children:[o.map((f,a)=>(m===-1||aS.jsx(Cm,{rowIndex:a,playerIndex:d,getValueFunction:A,setValueFunction:w},d))]},a)),S.jsxs("tr",{className:"total-row",children:[S.jsx(Ps,{row:{name:"Total"},helpOn:n.showHelp}),s.map((f,a)=>S.jsx("td",{className:"total-cell "+(P()==f?"win":""),children:isNaN(f)?0:f},a))]},"total")]})]})}function Cm({rowIndex:e,playerIndex:t,getValueFunction:n,setValueFunction:r}){let l=n(e,t);return l===0&&(l=""),S.jsx("td",{children:S.jsx("input",{type:"text",onChange:o=>r(e,t,o.target.value),value:l})})}function Ps({row:e,helpOn:t}){let n=e.name;return e.icon&&(n=S.jsx("img",{src:e.icon,alt:e.name,className:"row-icon"}),t&&(n=S.jsxs(S.Fragment,{children:[n,S.jsx("p",{className:"row-help",children:e.name})]}))),S.jsx("td",{style:{fontWeight:"bold"},children:n})}const Pm=(e,t,n=-1)=>e.reduce((r,l,o)=>n!==-1&&o>=n||isNaN(l[t])?r:r+l[t],0);function Em(e){const t={};return e.bgColor&&(t.backgroundColor=e.bgColor),e.fontColor&&(t.color=e.fontColor),t}function xm(e,t){return Array.from(Array(e).keys()).map(()=>Array.from(Array(t).keys()).map(()=>0))}function Ct({definition:e,children:t,onCellChange:n}){const r=ru(),[l,o]=C.useState(b.getPlayerSize(e.title,e.playerSizes[0])),[i,u]=C.useState(b.getGameSettings(e.title,{showHelp:!1})),s=m=>{o(m),b.setPlayerSize(e.title,m)},c=m=>{u(m),b.setGameSettings(e.title,m)};C.useEffect(()=>{Tm(e)},[e]);const h=new Date().toLocaleDateString(),p=e.rows.some(m=>m.icon);return S.jsxs("div",{className:"board-score-page",children:[e.title&&S.jsx("h1",{children:e.title}),S.jsx("h2",{className:"print-show",children:S.jsx("i",{children:h})}),S.jsx(wm,{playerSizes:e.playerSizes,initPlayerSize:l,onPlayerSizeChange:s}),S.jsx(km,{onCellChange:n,definition:e,gameSettings:i,playerSize:l}),p&&S.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{const m={...i,showHelp:!i.showHelp};c(m)},children:i.showHelp?"Hide Help":"Help"}),S.jsx("button",{className:"btn selected nav-btn print-hide",onClick:Nm,children:"Export"}),S.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{b.deleteStorage(e.title),window.location.reload()},children:"Clear"}),S.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{r("/")},children:"Home"}),S.jsx("h2",{className:"print-show",children:S.jsx("i",{children:"board-score-hub.philipp-bonin.com"})}),t]})}function Nm(){const e=document.getElementsByClassName("print-hide");for(let n=0;n{window.print(),setTimeout(()=>{for(let n=0;n{document.title=t+" - BoardScoreHub"}),Rn(e.bgColor,He.setBackGroundColor,!0),Rn(e.fontColor,He.setFontColor,!0),Rn(e.primaryColor,He.setPrimaryColor,!0),Rn(e.secondaryColor,He.setSecondaryColor,!0)}function Rn(e,t,n=!1){if(e!=null){t(e);return}n&&t()}const Om="/assets/leaf-Jv3DCFCo.png",Rm="/assets/stone-Ckqn0VnU.png",jm="/assets/flower-DYAPFgxs.png",zm="/assets/house-DcI_Z8es.png",Bm="/assets/water-ovxDwENf.png",Vt="/assets/card-BUvh7z74.png";function Dm(){return{title:"Harmonies",bgColor:"#deceac",fontColor:"black",primaryColor:"#0094b8",secondaryColor:"#f7ac1f",playerSizes:[1,2,3,4],winMode:Xe.MOST,rows:[{name:"Leaf",icon:Om},{name:"Stone",icon:Rm},{name:"Flower",icon:jm},{name:"House",icon:zm},{name:"Water",icon:Bm},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt},{name:"Animal",icon:Vt}]}}function Im(){return S.jsx(Ct,{definition:Dm(),children:S.jsx(tt,{})})}const Lm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAAL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n+/fr+/PH+/eT+/fP+/fr+/fn+/PH+/uv+/fH+/fb+/vz+/fj+/fX/++P/++X//O3//PL//ff+/fX+/fP+/fD/++j+/Oz9/e7+/O/+/O7+/e7+/PD+++/+/Ov9/ef+/v39/v7+/v7//v7+/vz+/v/+///////+/Pb99+P99dr89Nj89dj9+Ob+/fj74Iv50lb5zUD4zD35zD35zUH501r745X99uD98tP51F34xSX4xCD3xCD3xB/3xij412v99d///v/+/fv9+/L62nX4xST4xCH4xSH4xCL4xSL3xCH64Iv9/Pf88tL4yz33xSL3xCL4wx/50E399t/967f4yC/3xSH4xB/4yzv88Mr86q74yC34yjf878T//v376q74yjb76a386rD4xy388MX87b34yDH4zD788s/99t740Er9+en+/fn645X5yTP76Kv+/fz9+er634j4yzr4xif4zD/645f9+vH63ob62XD52G762G752G362XH74Y388Mb+/PX+/f7+/Pj+/Pf9/Pj9/fn+/vv+/ff+/vr+/foiI6fPAAAAi3RSTlMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAz9PTk5OTk5OTk9GCQh5uPD3tksOOab4+pkODML9mA4Gf/j+ezPr2CKN9jKS9zeSmbKSsrKykpmSN1/38jASwaUHW/nXOQZ/+fBmB4H2/dhACgk+o8rWeiEYTk5OTk5OTk8iA9NA+QAAAAFiS0dEEnu8bAAAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAHdElNRQfoBxYNLi4umHCsAAACfElEQVRo3u3Y5XPUQBzG8SDF3d39iru7uxR3d3eXAwphc5tAixZtcwWO0o1QuBS5Qlu0FD3ce2gpFP4Arrzh1V2y6QzDDL/v5P0nz77YF8swEARBEHVZatWuYwm01LUE+qxe/QYNGzVuktUska1ps+Yt2B06IcTZWrZq3Sa7GSIgR9t27RHGvF4YCwh16NgppwkkV+cuNox37goJ1Wl3yJ69HOrarXtuaiNPj569MBu6b/+BMP8dDDt0+MhRFvXuk5d+SN9+HD4WHiGK9kjv5ydRjDx+4qQD9R+QjxbJP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SQlSStHFS7GgxaXYf8D2HF7J7OwT53B/zzPnO/f1XknCMAzDTJSlWvUaNWtxql2nbj2LaSJr/QYNG22M2BS8yKjIzY2bNG2WzZSRvXkLG9jthJ8dWrZq3SaHCSNn23YUwLZlq8PhiP57juht253ggvYdOuYSNnJ36kwJ3bFz1273nmC53Xv37T8Q44IuXfOIGnkt3TwEDh6K9Roo7vCRGDvt3iOfIJK/Zy9Kjh5jTJYVbkw9fgKgd58CgkjBvv2AnDzFFDnOABKfcNpD+g8oJIgUHhjqSzzjT1DO8g0977nzxDmoiCBSdPAQciHpIlOYIURNvkQ8Q4uJImGhJCXJz4wZinpZR4aFCCLF/yDGDEQQQQQRRBBBBBFEEEEEEUQQQQQRRBBBBJF/FLFdMbRN1Z/IavJVE0iJsOHXrt/wa5pmYA453nvzFnGOKCmIlBo5CsjtOzrCWaNnzioz7a6TjB5TWhApM3YcJffua4y7RtcVpqY+ABg/QfRMU9YyMY3Aw0exj7mHDdX7JPVplI9OmlxOEJFCpkylAfrs+YuXr14HLT39zdt37wlMm15e1JCkCjNmfgBI/Pjp85evQcrI+PY9BQBmzZ5TURypNHfe/AX6bx/vbBYIuGDhosVLKosbklRl6bLlK36kcfv5K2LlqtVrqpoxMrOsXWe1hlvDOa3fYP6YiWEY9l/3G0Tmqaf2I0TxAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI0LTA3LTIyVDEzOjQ2OjE3KzAwOjAw3ZB7cAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0wNy0yMlQxMzo0NTo0NSswMDowMJiFZ4IAAAAASUVORK5CYII=",Qm="/assets/world-wonder-DqwnqRp4.png",Hm="/assets/green-chip-B7JIPrXB.png",Wm="/assets/coins-BQSYgv-V.png",Vm="/assets/military-BQjip8gM.png";function Xm(){return{title:"Seven Wonders: Duel",bgColor:"#fbdbb3",primaryColor:"#c59551",secondaryColor:"#2a7c6d",playerSizes:[2],winMode:Xe.MOST,rows:[{name:"Blue cards",icon:Lm,bgColor:"#c7f0fc"},{name:"Green cards",icon:Mm,bgColor:"#d8edd6"},{name:"Yellow cards",icon:Fm,bgColor:"#fffad9"},{name:"Purple cards",icon:Um,bgColor:"#d2cce0"},{name:"World wonders",icon:Qm,bgColor:"#ececed"},{name:"Progress tokens",icon:Hm,bgColor:"#d8edd6"},{name:"Coins",icon:Wm,bgColor:"#fffad9"},{name:"Military",icon:Vm,bgColor:"#fad2c5"}]}}function Jm(){return S.jsx(Ct,{definition:Xm(),children:S.jsx(tt,{})})}const Gm="/assets/tree-6XAsnF0O.png",Ym="/assets/field-DbFukuCU.png",Km="/assets/house-CDamRoKu.png",Zm="/assets/rail-MrSAd69Q.png",_m="/assets/river-DspDSLJu.png",qm="/assets/border-CHSImG3J.png",$m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAQAAADa613fAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAHdElNRQfoBxYLByZgiBvHAAAIfklEQVR42u2bWWxU1xnHf9+9Mx57MLYJmNVODCQqUAqYhIQloRBUUkIpCdR2CFFVBH2Iqqp9rNSnqmofKuWlD20qlaStmsYLOCipIG1Qs9GmjowXwuLUUBvSAsXxwuIZjz33fn3wNvd67NieO+Ox5P/bPTPnnO931u98516Y0YxmNKMZTYEkdVW9iiWZgooenN4glahfvoopdX3tpl3mcem+1IEIksELPM5p36+NphO9tu7zsHQzdSBlmLZa+nW2yWMsslqDd/ZrxXQE+TE31GinSNZTwDoW9KFtz4ZfwBuYFIK8TAlW1MiVLWRrpqzULZJvdmpHabRyeoFAKaZFlPWyTMAneWxgs96ltay3VBOFSSlIFSVgsYz14gfAYAHruR9bbx7u20tVAmUbqQQBiHTSQNfws9wvR3hJfnFntc88LdWTLjelPQIHAONzNvJQzAZm6jyKWa0ZPR16d6+WcSz9QSooweoxgr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MrW1vCX0AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI0LTA3LTIyVDExOjAyOjAyKzAwOjAwmmwy+gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0wNy0yMlQxMTowMTozOSswMDowMIyOYlwAAAAASUVORK5CYII=",nh="/assets/longest-rail-BgqrCeHk.png",rh="/assets/longest-river-C3Mrt03k.png";function lh(){return{title:"Dorfromatik: Duel",primaryColor:"#7ba1d4",secondaryColor:"#ee776c",playerSizes:[2],winMode:Xe.MOST,rows:[{name:"Tree",icon:Gm},{name:"Field",icon:Ym},{name:"House",icon:Km},{name:"Railway",icon:Zm},{name:"River",icon:_m},{name:"Border",icon:qm},{name:"Six",icon:$m},{name:"Flag green",icon:bm},{name:"Flag yellow",icon:eh},{name:"Flag red",icon:th},{name:"Longest Railway",icon:nh},{name:"Longest River",icon:rh}]}}function oh(){return S.jsx(Ct,{definition:lh(),children:S.jsx(tt,{})})}const ih="/assets/basic-events-CZ0_ktSt.png",uh="/assets/journey-2KDONO1e.png",sh="/assets/point-token-njinAhBY.png",ah="/assets/special-events-BJisyehW.png",ch="/assets/village-AZ2dhzPO.png",fh="/assets/prosperity-DHLGkuQE.png";function dh(){return{title:"Everdell",bgColor:"#5c652e",fontColor:"#342a28",primaryColor:"#714839",secondaryColor:"#50446a",playerSizes:[1,2,3,4],winMode:Xe.MOST,rows:[{name:"Cards in Village",icon:ch},{name:"Prosperity",icon:fh},{name:"Point Tokens",icon:sh},{name:"Basic Events",icon:ih},{name:"Special Events",icon:ah},{name:"Journey",icon:uh}]}}function ph(){return S.jsx(Ct,{definition:dh(),children:S.jsx(tt,{})})}function mh(){const e="expandable table-rows",[t,n]=C.useState([{name:"Row 1",bgColor:"white"}]);C.useEffect(()=>{const o=localStorage.getItem(e);o&&n(JSON.parse(o))},[]);const r=C.useMemo(()=>({title:"Expandable Table",playerSizes:[1,2,3,4,5,6],winMode:Xe.NONE,rows:t}),[t]),l=o=>{if(o BoardScoreHub - +