(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[310],{62576:function(e,t,r){"use strict";r.d(t,{MM:function(){return l}});var n=r(81701),a=r(70714),i=r(85893),s=(0,a.css)(["border-radius:999px;display:inline-flex;align-items:center;padding:"," ",";font-weight:",";font-size:",";border:1px solid ",";margin-bottom:",";margin-top:",";margin-right:",";margin-left:",";line-height:1;transition:all 120ms ease-out 0s;"],n.W.space[1],n.W.space[2],n.W.fontWeights.body,n.W.sizing._xs,(function(e){return e.border?e.border:"var(--grey500)"}),(function(e){return e.mb?e.mb:"0"}),(function(e){return e.mt?e.mt:"0"}),(function(e){return e.mr?e.mr:n.W.space[1]}),(function(e){return e.ml?e.ml:"0"})),o=a.default.div.withConfig({displayName:"Chip__ChipBase",componentId:"sc-6pplqg-0"})([""," border:1px solid ",";color:",";background:",";"],s,(function(e){return e.border?e.border:"var(--grey500)"}),(function(e){return e.color?e.color:"inherit"}),(function(e){return e.bg?e.bg:"transparent"})),l=a.default.a.withConfig({displayName:"Chip__ChipLink",componentId:"sc-6pplqg-1"})([""," &:hover,&:focus{background:var(--grey700);color:var(--grey0);border-color:var(--grey700);}"],s);(0,a.default)(o).withConfig({displayName:"Chip__PrimaryChip",componentId:"sc-6pplqg-2"})(["color:var(--primaryDark);border-color:var(--primary);"]),(0,a.default)(o).withConfig({displayName:"Chip__SecondaryChip",componentId:"sc-6pplqg-3"})(["color:var(--secondaryDark);border-color:var(--secondary);"]),(0,a.default)(o).withConfig({displayName:"Chip__TertiaryChip",componentId:"sc-6pplqg-4"})(["color:var(--tertiaryDark);border-color:var(--tertiary);"]),(0,a.default)(o).withConfig({displayName:"Chip__DefaultChip",componentId:"sc-6pplqg-5"})(["color:var(--grey500);border-color:var(--grey500);"]);t.ZP=function(e){var t=e.ghost,r=e.type,n=e.children,a=e.mb,s=e.mr,l=e.mt,c=e.ml,d=function(){switch(r){case"primary":return"var(--primaryDark)";case"secondary":return"var(--secondaryDark)";case"tertiary":return"var(--tertiaryDark)";default:return"inherit"}};return t?(0,i.jsx)(o,{border:"transparent",bg:function(){switch(r){case"primary":return"var(--primaryTransparent)";case"secondary":return"var(--secondaryTransparent)";case"tertiary":return"var(--tertiaryTransparent)";default:return"var(--grey200)"}}(),color:d(),mr:s||"0",ml:c||"0",mt:l||"0",mb:a||"0",children:n}):(0,i.jsx)(o,{border:function(){switch(r){case"primary":return"var(--primary)";case"secondary":return"var(--secondary)";case"tertiary":return"var(--tertiary)";default:return"var(--grey500)"}}(),color:d(),mr:s||"0",ml:c||"0",mt:l||"0",mb:a||"0",children:n})}},63190:function(e,t,r){"use strict";r(67294);var n=r(70714),a=r(81701),i=r(85893),s=n.default.div.withConfig({displayName:"Switch__SwitchContainer",componentId:"sc-1bkkjuz-0"})(["display:inline-flex;align-items:center;"]),o=n.default.span.withConfig({displayName:"Switch__ToggleLabel",componentId:"sc-1bkkjuz-1"})(["font-size:",";display:inline-block;margin:0 ",";"],a.W.sizing._sm,a.W.space[2]),l=n.default.input.withConfig({displayName:"Switch__SwitchInput",componentId:"sc-1bkkjuz-2"})(["height:0;width:0;visibility:hidden;"]),c=n.default.label.withConfig({displayName:"Switch__SwitchLabel",componentId:"sc-1bkkjuz-3"})(["display:inline-flex;align-items:center;justify-content:space-between;cursor:pointer;width:calc("," + ",");height:",";background:var(--grey400);border-radius:999px;position:relative;transition:background-color .2s;"],a.W.space[5],a.W.space[2],a.W.space[4]),d=n.default.span.withConfig({displayName:"Switch__SwitchHandle",componentId:"sc-1bkkjuz-4"})(["content:'';position:absolute;top:2px;left:2px;width:calc("," - 4px);height:calc("," - 4px);border-radius:50%;transition:0.2s;background:var(--grey0);box-shadow:0 0 2px 0 rgba(10,10,10,0.29);"],a.W.space[4],a.W.space[4]);t.Z=function(e){var t=e.isOn,r=e.handleToggle,n=e.startLabel,a=void 0===n?null:n,p=e.endLabel,u=void 0===p?null:p;return(0,i.jsxs)(s,{children:[a?(0,i.jsx)(o,{children:a}):null,(0,i.jsx)(l,{checked:t,onChange:r,id:"switch",type:"checkbox"}),(0,i.jsx)(c,{style:{background:t&&"var(--primary)"},htmlFor:"switch",children:(0,i.jsx)(d,{style:{left:t&&"calc(100% - 2px)",transform:t&&"translateX(-100%)"}})}),u?(0,i.jsx)(o,{children:u}):null]})}},67477:function(e,t,r){"use strict";r.d(t,{n:function(){return i},E:function(){return s}});var n=r(70714),a=r(81701),i=n.default.nav.withConfig({displayName:"Tabs__TabBar",componentId:"sc-1ag3ybe-0"})(["display:flex;margin-bottom:",";overflow-x:scroll;"],a.W.space[4]),s=n.default.div.withConfig({displayName:"Tabs__TabItem",componentId:"sc-1ag3ybe-1"})(["text-align:center;width:100%;font-size:",";border-bottom:2px solid var(--grey200);a,button{color:var(--grey600);border:0;background:transparent;cursor:pointer;font-weight:inherit;display:flex;align-items:center;justify-content:center;padding:calc("," + ",") ",";width:100%;transition:all 120ms ease-out;&:hover,&:focus{color:var(--grey900);background:var(--grey100);text-decoration:none;}}&.active{border-bottom:4px solid var(--primary);font-weight:",";a,button{color:var(--grey900);}}"],a.W.sizing._sm,a.W.space[2],a.W.space[1],a.W.space[2],a.W.fontWeights.bold)},54879:function(e,t,r){"use strict";r.d(t,{z:function(){return s}});var n=r(70714),a=r(81701),i=r(85893),s=n.default.div.withConfig({displayName:"Title__TitleIcon",componentId:"sc-1bkvgrp-0"})(["width:",";position:relative;box-shadow:0px 0px 0px 1px rgba(0,0,0,0.12),0px 4px 8px var(--grey200),0px 8px 20px var(--grey200),-8px 0px 16px 2px var(--tertiaryTransparent),8px -8px 16px 2px var(--primaryTransparent),2px 8px 16px 2px var(--secondaryTransparent);border-radius:50%;img{display:block;width:100%;border-radius:50%;}&:before,&:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:50%;}&:after{animation:shadowBreathing 6s infinite linear;}&:before{box-shadow:-2px 0px 4px var(--tertiary),2px -2px 4px var(--primary),2px 2px 4px var(--secondary);animation:rotation 4s infinite linear;}"],a.W.space[7]),o=n.default.div.withConfig({displayName:"Title__TitleContainer",componentId:"sc-1bkvgrp-1"})(["position:relative;"]);t.Z=function(e){var t=e.children;return(0,i.jsxs)(o,{children:[t,(0,i.jsx)("hr",{})]})}},88493:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return de},default:function(){return pe}});var n=r(4730),a=r(67294),i=r(11163),s=r(54546),o=r(54879),l=r(70714),c=r(8200),d=r(81701),p=r(41664),u=r(67477),h=r(45697),f=r.n(h);function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}function g(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var x=(0,a.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,i=e.size,s=void 0===i?24:i,o=g(e,["color","size"]);return a.createElement("svg",m({ref:t,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},o),a.createElement("polyline",{points:"22 12 18 12 15 21 9 3 6 12 2 12"}))}));x.propTypes={color:f().string,size:f().oneOfType([f().string,f().number])},x.displayName="Activity";var y=x;function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(this,arguments)}function b(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var w=(0,a.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,i=e.size,s=void 0===i?24:i,o=b(e,["color","size"]);return a.createElement("svg",v({ref:t,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},o),a.createElement("line",{x1:"12",y1:"20",x2:"12",y2:"10"}),a.createElement("line",{x1:"18",y1:"20",x2:"18",y2:"4"}),a.createElement("line",{x1:"6",y1:"20",x2:"6",y2:"16"}))}));w.propTypes={color:f().string,size:f().oneOfType([f().string,f().number])},w.displayName="BarChart";var j=w,_=r(85893),C=function(e){var t=e.items,r=e.active,n=function(e){switch(e){case"Activity":return(0,_.jsx)(y,{size:"16"});case"Statistics":return(0,_.jsx)(j,{size:"16"});default:return null}};return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(u.n,{children:t.map((function(e,t){return(0,_.jsx)(u.E,{className:e.toLowerCase()===r?"active":"inactive",children:(0,_.jsx)(p.default,{href:"/wordle/".concat(e.toLowerCase()),children:(0,_.jsx)("a",{children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("span",{style:{marginRight:d.W.space[2]},children:e}),n(e)]})})})},t)}))})})},W=r(45522),k=r(36551),N=r(63379),I=r(75679),O=l.default.div.withConfig({displayName:"Tooltip__TooltipWrapper",componentId:"sc-cniw37-0"})(["display:inline-block;position:relative;--tooltip-text-color:var(--grey900);--tooltip-background-color:var(--grey0);--tooltip-margin:",";--tooltip-arrow-size:",";"],d.W.space[4],d.W.space[1]),T=l.default.div.withConfig({displayName:"Tooltip__TooltipItem",componentId:"sc-cniw37-1"})(["position:absolute;border-radius:var(--tooltip-arrow-size);left:50%;transform:translateX(-50%);padding:",';background:var(--grey0);z-index:100;white-space:nowrap;box-shadow:0px 2px 4px 0px rgba(0,0,0,0.14),0px 4px 8px -1px rgba(0,0,0,0.12),0px 6px 12px -3px rgba(0,0,0,0.08);&::before{content:" ";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:var(--tooltip-arrow-size);margin-left:calc(var(--tooltip-arrow-size) * -1);}'],d.W.space[2]),S=function(e){var t,r=(0,a.useState)(!1),n=r[0],i=r[1];return(0,_.jsxs)(O,{onMouseEnter:function(){t=setTimeout((function(){i(!0)}),e.delay||300)},onMouseLeave:function(){clearInterval(t),i(!1)},children:[e.children,n&&(0,_.jsx)(T,{children:(0,_.jsx)(N.__,{children:e.content})})]})},z=r(62576),L=l.default.div.withConfig({displayName:"Wordle__WordleContainer",componentId:"sc-1x9r88d-0"})(["display:grid;grid-template-columns:auto ",";grid-column-gap:",";padding:"," 0;min-height:",";"],d.W.space[8],d.W.space[4],d.W.space[3],d.W.space[9]),B=l.default.div.withConfig({displayName:"Wordle__ResultContainer",componentId:"sc-1x9r88d-1"})(["display:grid;grid-template-columns:1fr;grid-row-gap:",";height:fit-content;"],d.W.space[1]),P=l.default.div.withConfig({displayName:"Wordle__Row",componentId:"sc-1x9r88d-2"})(["display:grid;grid-column-gap:",";grid-template-columns:repeat(5,",");height:",";"],d.W.space[1],d.W.space[3],d.W.space[3]),D=l.default.span.withConfig({displayName:"Wordle__Block",componentId:"sc-1x9r88d-3"})(["width:",";height:",";background:",";display:inline-block;border-radius:",";transition:all 120ms ease-out 0s;&:hover,&:focus{transform:scale(1.2);}"],d.W.space[3],d.W.space[3],(function(e){return"correct"===e.type?"#0BB409":"present"===e.type?"#FBCC1B":"var(--grey300)"}),d.W.space[1]),E=(0,l.default)(D).withConfig({displayName:"Wordle__BlockDefault",componentId:"sc-1x9r88d-4"})(["background:",";"],(function(e){return"correct"===e.type?"#0BB409":"present"===e.type?"#FBCC1B":"var(--grey300)"})),Z=(0,l.default)(D).withConfig({displayName:"Wordle__BlockHighContrast",componentId:"sc-1x9r88d-5"})(["background:",";"],(function(e){return"correct"===e.type?"#E76A29":"present"===e.type?"#78B7FF":"var(--grey300)"})),F=l.default.div.withConfig({displayName:"Wordle__Header",componentId:"sc-1x9r88d-6"})(["display:flex;justify-content:space-between;align-items:flex-start;"]),M=(l.default.label.withConfig({displayName:"Wordle__Emoji",componentId:"sc-1x9r88d-7"})(["font-size:",";"],d.W.fontSizes[2]),l.default.div.withConfig({displayName:"Wordle__RangeContainer",componentId:"sc-1x9r88d-8"})(["display:flex;"])),A=l.default.div.withConfig({displayName:"Wordle__RangeItem",componentId:"sc-1x9r88d-9"})(["color:",";opacity:",";padding:"," ",";display:inline-flex;justify-content:center;border-bottom:"," solid ",";font-weight:",";"],(function(e){return"active"===e.state?"var(--primaryDark)":"inherit"}),(function(e){return"active"===e.state?"1":".5"}),d.W.space[1],d.W.space[1],d.W.space[1],(function(e){return"active"===e.state?"var(--primaryDark)":"var(--grey300)"}),(function(e){return"active"===e.state?d.W.fontWeights.bold:d.W.fontWeights.body})),R=l.default.div.withConfig({displayName:"Wordle__Title",componentId:"sc-1x9r88d-10"})(["display:flex;align-items:center;justify-content:space-between;padding-bottom:",";",""],d.W.space[3],(function(e){return e.responsive&&"\n    @media screen and (max-width: ".concat(d.W.breakpoints[5],") {\n      flex-direction: column;\n      align-items: flex-start;\n      ").concat(N.__," {\n        margin-bottom: ").concat(d.W.space[2],";\n      }\n    }\n  ")})),H=function(e){var t=e.contrast,r=e.result,n=function(e){switch(e){case"absent":return"Incorrect guess \ud83d\ude43";case"present":return"Almost there...";case"correct":return"Correct \u2705";default:return""}};return(0,_.jsx)(B,{children:r.map((function(e,r){return(0,_.jsx)(P,{children:e.map((function(e,r){return(0,_.jsx)(S,{content:n(e),direction:"top",children:"high"===t?(0,_.jsx)(Z,{type:e},r):(0,_.jsx)(E,{type:e},r)})}))},r)}))})},V=function(e){var t=e.value;return(0,_.jsx)(M,{children:["1","2","3","4","5","6"].map((function(e){return(0,_.jsx)(A,{state:t===e?"active":"default",children:(0,_.jsx)(N.__,{children:e})})}))})},q=function(e){var t=e.value,r=function(){switch(t){case"X":return"\ud83e\udd2c";case"6":return"\ud83e\udd75";case"5":return"\ud83d\ude11";case"4":return"\ud83d\ude10";case"3":return"\ud83d\ude03";case"2":return"\ud83e\udd20";case"1":return"\ud83e\udd2f";default:return""}};return"X"===t?(0,_.jsxs)("div",{children:[(0,_.jsx)(N.XQ,{children:r()}),(0,_.jsx)(N.__,{subtle:!0,children:"Unsuccessful"})]}):(0,_.jsxs)("div",{children:[(0,_.jsxs)(N.__,{mb:"2",children:["Attempts ",r()]}),(0,_.jsx)(V,{value:t})]})},G=function(e){var t,r=e.contrast,n=e.wordle;return(0,_.jsx)(I.H,{children:(0,_.jsxs)(L,{children:[(0,_.jsxs)(F,{children:[(0,_.jsxs)("div",{children:[(0,_.jsxs)(N.XQ,{children:["Wordle ",n.matchNumber]}),(0,_.jsx)(N.__,{subtle:!0,children:(t=n.date,new Date(t).toLocaleDateString("en-us",{year:"numeric",month:"long",day:"numeric"}))}),(0,_.jsx)(N.__,{mt:"2",children:n.hardMode&&(0,_.jsx)(z.ZP,{ghost:!0,type:"secondary",children:"Hard"})})]}),(0,_.jsx)(q,{value:n.eval})]}),(0,_.jsx)(H,{contrast:r,result:n.result})]})})},X=r(87702),Q=r(12528),K=r(63190),U=function(){var e=(0,W.ZP)("/api/wordle",k.Z),t=e.data,r=e.error,n=(0,a.useState)(!1),i=n[0],s=n[1],o=function(e){return new Date(e).toLocaleDateString("en-us",{year:"numeric",month:"long",day:"numeric"})};return(0,_.jsxs)(_.Fragment,{children:[r&&(0,_.jsx)(Q.Z,{}),t?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(R,{responsive:!0,children:[(0,_.jsx)(N.__,{children:(0,_.jsxs)("strong",{children:["Activity from ",t.wordles.length," Wordles"]})}),(0,_.jsxs)(N.__,{subtle:!0,children:[o(t.wordles[t.wordles.length-1].date)," - ",o(t.wordles[0].date)]})]}),(0,_.jsxs)(R,{children:[(0,_.jsx)(K.Z,{isOn:i,handleToggle:function(){return s(!i)},endLabel:"High Contrast"}),(0,_.jsx)(p.default,{href:"/wordle/submit",children:(0,_.jsx)("a",{className:"link",children:"Add New"})})]}),t.wordles.map((function(e){return(0,_.jsx)(G,{contrast:i?"high":"normal",wordle:e},e.id)}))]}):(0,_.jsx)(X.ZP,{})]})},J=r(81496),Y=l.default.div.withConfig({displayName:"Stats__Block",componentId:"sc-1jthy90-0"})(["border:1px solid var(--grey200);border-radius:",";padding:",";grid-column:span ",";width:100%;@media screen and (max-width:","){grid-column:span 3;}"],d.W.space[2],d.W.space[3],(function(e){return e.wide?"2":"1"}),d.W.breakpoints[5]),$=l.default.div.withConfig({displayName:"Stats__Container",componentId:"sc-1jthy90-1"})(["display:grid;grid-template-columns:repeat(2,1fr);grid-row-gap:",";grid-column-gap:",";@media screen and (max-width:","){grid-template-columns:1fr;}"],d.W.space[3],d.W.space[3],d.W.breakpoints[5]),ee=l.default.div.withConfig({displayName:"Stats__ProgressContainer",componentId:"sc-1jthy90-2"})(["background:var(--grey100);height:",";width:100%;display:flex;justify-content:flex-start;align-items:center;border-radius:",";"],d.W.space[3],d.W.space[1]),te=l.default.div.withConfig({displayName:"Stats__RowContainer",componentId:"sc-1jthy90-3"})(["display:grid;grid-template-columns:"," auto;margin-top:",";"],d.W.space[8],d.W.space[2]),re=l.default.div.withConfig({displayName:"Stats__StatContainer",componentId:"sc-1jthy90-4"})(["display:flex;flex-direction:column;@media screen and (max-width:","){flex-direction:row;justify-content:space-between;align-items:center;}"],d.W.breakpoints[5]),ne=function(e){var t=e.value,r=e.max,n=function(){var e=100*(t/r).toFixed(2);return parseFloat(e).toFixed(2)+"%"};return(0,_.jsxs)(ee,{children:[(0,_.jsx)(J.E.div,{style:{width:"0%",background:"var(--primary)",borderRadius:d.W.space[1],height:"100%",opacity:"0"},animate:{width:n(),opacity:1},transition:{duration:.3,delay:.6}}),(0,_.jsxs)("small",{style:{marginLeft:d.W.space[1]},children:[(0,_.jsxs)("strong",{children:[t,"\xa0"]}),"(",n(),")"]})]})},ae=function(e){var t=e.label,r=e.value;return(0,_.jsx)(Y,{children:(0,_.jsxs)(re,{children:[(0,_.jsx)(N.__,{subtle:!0,children:t}),(0,_.jsx)("h4",{style:{marginTop:d.W.space[2],marginBottom:0},children:r})]})})},ie=function(e){var t=e.label,r=e.max,n=e.value;return(0,_.jsxs)(te,{children:[(0,_.jsx)(N.__,{children:t}),(0,_.jsx)(ne,{value:n,max:r})]})},se=function(){var e=(0,W.ZP)("/api/wordle/stats",k.Z),t=e.data,r=e.error,n=function(e){return new Date(e).toLocaleDateString("en-us",{year:"numeric",month:"long",day:"numeric"})};return(0,_.jsxs)(_.Fragment,{children:[r&&(0,_.jsx)(Q.Z,{}),t?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(R,{responsive:!0,children:[(0,_.jsx)(N.__,{children:(0,_.jsxs)("strong",{children:["Stats from ",t.stats.numOfMatches," Wordles"]})}),(0,_.jsxs)(N.__,{subtle:!0,children:[n(t.stats.firstDate)," - ",n(t.stats.lastDate)]})]}),(0,_.jsxs)($,{children:[(0,_.jsx)(ae,{label:"Total Wins",value:t.stats.winPercentage}),(0,_.jsx)(ae,{label:"Current Streak",value:t.stats.numOfMatches}),(0,_.jsx)(ae,{label:"Avg. Attempts",value:t.stats.average}),(0,_.jsx)(ae,{label:"Avg. 1st Try",value:t.stats.prediction+" / 5 letters"}),(0,_.jsxs)(Y,{wide:!0,children:[(0,_.jsx)(N.__,{subtle:!0,children:"Guess Distribution"}),(0,_.jsx)(ie,{label:"1 Guess",max:t.stats.numOfMatches,value:t.stats.guesses.one}),(0,_.jsx)(ie,{label:"2 Guesses",max:t.stats.numOfMatches,value:t.stats.guesses.two}),(0,_.jsx)(ie,{label:"3 Guesses",max:t.stats.numOfMatches,value:t.stats.guesses.three}),(0,_.jsx)(ie,{label:"4 Guesses",max:t.stats.numOfMatches,value:t.stats.guesses.four}),(0,_.jsx)(ie,{label:"5 Guesses",max:t.stats.numOfMatches,value:t.stats.guesses.five}),(0,_.jsx)(ie,{label:"6 Guesses",max:t.stats.numOfMatches,value:t.stats.guesses.six})]})]})]}):(0,_.jsx)(X.ZP,{})]})},oe=r(75822),le=["title","description"],ce=(0,l.default)(c.zx).withConfig({displayName:"wordle__ScrolledButton",componentId:"sc-13cm3qj-0"})(["position:fixed;bottom:",";right:",";@media screen and (max-width:","){display:none;}"],d.W.space[3],d.W.space[3],d.W.breakpoints[4]),de=!0,pe=function(e){var t=e.title,r=e.description,a=((0,n.Z)(e,le),(0,i.useRouter)().query.wordle);return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(s.ZP,{pageTitle:"".concat(t," | Wordle"),description:r,ogImage:"/wordle-social-media.png",children:(0,_.jsxs)(s.im,{children:[(0,_.jsxs)(o.Z,{children:[(0,_.jsx)("div",{style:{width:"64px",marginBottom:d.W.space[4]},children:(0,_.jsx)(oe.Le,{})}),(0,_.jsx)(p.default,{href:"/work",children:(0,_.jsxs)("a",{className:"link",children:["\u2190"," ","Projects"]})}),(0,_.jsx)("h1",{children:"Wordle"}),(0,_.jsx)("p",{className:"lead",children:"Take a look at my Wordle results!"}),(0,_.jsx)("p",{children:(0,_.jsx)("small",{children:"Wordle is a daily word game where players have six attempts to guess a five letter word. Feedback for each guess is given in the form of colored tiles to indicate if letters match the correct position."})}),(0,_.jsx)("p",{children:(0,_.jsxs)(c.Kb,{href:"https://www.nytimes.com/games/wordle/index.html",target:"_blank",children:[(0,_.jsxs)("svg",{style:{marginRight:d.W.space[2]},width:"20",viewBox:"0 0 27 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,_.jsx)("path",{d:"M26.7564 1.604H26.1621V24.1742H26.7564V1.604Z",fill:"var(--grey900)"}),(0,_.jsx)("path",{d:"M20.0592 15.5907C19.6907 16.6342 19.106 17.5881 18.3434 18.3899C17.5807 19.1918 16.6573 19.8235 15.6336 20.2438V15.5907L18.1625 13.2958L15.6336 11.0324V7.8334C16.6781 7.8121 17.6733 7.38513 18.4085 6.64288C19.1437 5.90063 19.5611 4.90139 19.5724 3.85674C19.5724 1.11292 16.955 0.139299 15.4693 0.139299C15.0671 0.126929 14.6651 0.169469 14.2744 0.265742V0.398508C14.4704 0.398508 14.7612 0.366897 14.856 0.366897C15.8865 0.366897 16.6642 0.853705 16.6642 1.78939C16.658 1.99132 16.6108 2.18987 16.5253 2.37292C16.4398 2.55596 16.3179 2.71965 16.167 2.85398C16.0161 2.9883 15.8394 3.09044 15.6477 3.15416C15.456 3.21787 15.2533 3.24181 15.052 3.22453C12.5231 3.22453 9.49476 1.15717 6.23251 1.15717C3.32431 1.14453 1.33914 3.31304 1.33914 5.50683C1.33914 7.70063 2.60358 8.38343 3.92492 8.86391L3.95653 8.73747C3.71919 8.58749 3.52687 8.37607 3.39998 8.12563C3.27309 7.87518 3.21635 7.59506 3.2358 7.31498C3.25106 7.06517 3.31562 6.82084 3.42574 6.59609C3.53587 6.37135 3.68939 6.17062 3.87745 6.00547C4.06551 5.84033 4.2844 5.71404 4.52149 5.63389C4.75859 5.55373 5.00921 5.52129 5.2589 5.53845C8.00272 5.53845 12.4283 7.8334 15.1784 7.8334H15.4377V11.064L12.9088 13.2958L15.4377 15.5907V20.2944C14.3806 20.6702 13.2656 20.8564 12.1438 20.8444C7.87628 20.8444 5.18935 18.2587 5.18935 13.9659C5.18073 12.9499 5.32131 11.9381 5.60662 10.9629L7.73719 10.0272V19.5105L12.0679 17.6138V7.89662L5.68248 10.7416C5.98037 9.87179 6.44776 9.06968 7.05764 8.38167C7.66751 7.69366 8.40776 7.13342 9.23555 6.73334L9.20394 6.63851C4.93647 7.57419 0.801758 10.8111 0.801758 15.6539C0.801758 21.2427 5.51811 25.1372 11.0121 25.1372C16.8285 25.1372 20.1224 21.2617 20.154 15.6097L20.0592 15.5907Z",fill:"var(--grey900)"})]}),"Play Wordle",(0,_.jsx)("span",{className:"icon",children:"\u2192"})]})})]}),(0,_.jsx)(C,{items:["Activity","Statistics"],active:a}),function(e){switch(e){case"activity":return(0,_.jsx)(U,{});case"statistics":return(0,_.jsx)(se,{});default:return null}}(a)]})}),(0,_.jsx)(ce,{onClick:function(){window.scroll({top:0,left:0,behavior:"smooth"})},children:"Scroll to Top"})]})}},86625:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/wordle/[wordle]",function(){return r(88493)}])}},function(e){e.O(0,[13,546,774,888,179],(function(){return t=86625,e(e.s=t);var t}));var t=e.O();_N_E=t}]);