@scrabble-solver/scrabble-solver 2.8.10 → 2.8.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +9 -9
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/eslint/.cache_8dgz12 +1 -1
  5. package/.next/cache/next-server.js.nft.json +1 -1
  6. package/.next/cache/webpack/client-production/0.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack +0 -0
  8. package/.next/cache/webpack/server-production/0.pack +0 -0
  9. package/.next/cache/webpack/server-production/index.pack +0 -0
  10. package/.next/next-server.js.nft.json +1 -1
  11. package/.next/prerender-manifest.json +1 -1
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/413.js +8 -4
  14. package/.next/server/chunks/515.js +78 -44
  15. package/.next/server/middleware-build-manifest.js +1 -1
  16. package/.next/server/pages/404.html +2 -2
  17. package/.next/server/pages/404.js.nft.json +1 -1
  18. package/.next/server/pages/500.html +2 -2
  19. package/.next/server/pages/_app.js.nft.json +1 -1
  20. package/.next/server/pages/_document.js.nft.json +1 -1
  21. package/.next/server/pages/_error.js.nft.json +1 -1
  22. package/.next/server/pages/api/solve.js +25 -1
  23. package/.next/server/pages/index.html +2 -2
  24. package/.next/server/pages/index.js.nft.json +1 -1
  25. package/.next/server/pages/index.json +1 -1
  26. package/.next/static/VJkrGviICslA_8zNVJ-g-/_buildManifest.js +1 -0
  27. package/.next/static/{A8A_Lmg8cM-Bkf-Jo1CLh → VJkrGviICslA_8zNVJ-g-}/_ssgManifest.js +0 -0
  28. package/.next/static/chunks/317-8e8909dd2f587b64.js +1 -0
  29. package/.next/static/chunks/{758-eff80059a1365d5d.js → 546-447e243fc9de2c59.js} +1 -1
  30. package/.next/static/chunks/pages/{404-90c624da3c83fd17.js → 404-7082923654d5996f.js} +1 -1
  31. package/.next/static/chunks/pages/{_app-0e358b5622cf9e66.js → _app-57c77cad0f197d93.js} +1 -1
  32. package/.next/static/chunks/pages/{index-0cc5e6eda5adac73.js → index-d3360e075ca3c222.js} +1 -1
  33. package/.next/trace +42 -42
  34. package/package.json +9 -9
  35. package/src/components/Board/components/Cell/CellPure.tsx +33 -31
  36. package/src/components/Board/hooks/useGrid.ts +23 -18
  37. package/src/components/Sidebar/Sidebar.tsx +20 -1
  38. package/src/state/sagas.ts +6 -0
  39. package/src/state/slices/rackSlice.ts +0 -5
  40. package/.next/static/A8A_Lmg8cM-Bkf-Jo1CLh/_buildManifest.js +0 -1
  41. package/.next/static/chunks/317-95ab9051449362fa.js +0 -1
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(3332)}])},3332:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return w},default:function(){return C}});var i=t(4924),s=t(828),r=t(5893),o=t(4184),a=t.n(o),u=t(7294),c=t(3253),d=t.n(c),_=t(9473),l=t(6362),x=l.jU?u.useLayoutEffect:u.useEffect,h={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};var f=l.jU&&"undefined"!==typeof window.ResizeObserver?function(){var n=(0,u.useState)(null),e=n[0],t=n[1],i=(0,u.useState)(h),s=i[0],r=i[1],o=(0,u.useMemo)((function(){return new window.ResizeObserver((function(n){if(n[0]){var e=n[0].contentRect,t=e.x,i=e.y,s=e.width,o=e.height,a=e.top,u=e.left,c=e.bottom,d=e.right;r({x:t,y:i,width:s,height:o,top:a,left:u,bottom:c,right:d})}}))}),[]);return x((function(){if(e)return o.observe(e),function(){o.disconnect()}}),[e]),[t,s]}:function(){return[l.ZT,h]},m=t(8127),p=t(6317),j=t(3165),g=t(5558),v=t(485),b=t(6591),y=t(9004),N=t.n(y);d().setAppElement("#__next");var w=!0,C=function(n){var e=n.version,t=(0,_.I0)(),o=(0,j.Av)(),c=(0,u.useState)(!1),d=c[0],l=c[1],x=(0,u.useState)(!1),h=x[0],y=x[1],w=(0,u.useState)(!1),C=w[0],S=w[1],O=(0,u.useState)(!1),I=O[0],E=O[1],k=(0,s.Z)(f(),2),z=k[0],W=k[1].height,X=(0,s.Z)(f(),2),Z=X[0],T=X[1],R=T.height,A=T.width,D=(0,s.Z)(f(),2),L=D[0],F=D[1],P=F.height,U=F.width,V=(0,b.ix)(b.$o),B=(0,g.Dz)(V,A-U,R),H=A>0&&W>0&&U>0,$=W-v.n6-(o?v.Sg:v.tr),G=function(n){n.preventDefault(),t(b.TP.actions.submit())};return(0,j._)(),(0,m.Z)((function(){t((0,b.j2)())})),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:a()(N().index,(0,i.Z)({},N().initialized,H)),children:[(0,r.jsxs)("div",{className:N().nav,children:[(0,r.jsx)("div",{className:N().navLogo,children:(0,r.jsx)("a",{className:N().logoContainer,href:"/",title:e,children:(0,r.jsx)(p.TR,{className:N().logo})})}),(0,r.jsx)(p._m,{onClear:function(){t((0,b.mc)())},onShowKeyMap:function(){return l(!0)},onShowRemainingTiles:function(){return y(!0)},onShowSettings:function(){return S(!0)},onShowWords:function(){return E(!0)}})]}),(0,r.jsx)("div",{className:N().contentWrapper,children:(0,r.jsxs)("div",{className:N().content,ref:Z,children:[(0,r.jsxs)("form",{className:N().boardContainer,onSubmit:G,children:[A>0&&(0,r.jsx)(p.$l,{cellSize:B,innerRef:z}),(0,r.jsx)("input",{className:N().submitInput,tabIndex:-1,type:"submit"})]}),(0,r.jsxs)("div",{className:N().sidebar,style:{height:W+1},children:[(0,r.jsx)(p.tW,{className:N().resultsContainer,ref:L,children:U>0&&P>0&&(0,r.jsx)(p.u9,{height:$,width:U})}),(0,r.jsx)(p.tW,{children:(0,r.jsxs)("div",{className:N().dictionary,style:{height:v.n6},children:[(0,r.jsx)(p.Xy,{className:N().dictionaryOutput}),(0,r.jsx)(p.Z$,{className:N().dictionaryInput})]})})]})]})}),(0,r.jsxs)("form",{className:N().rackContainer,onSubmit:G,children:[(0,r.jsx)(p.F4,{className:N().rack}),(0,r.jsx)("input",{className:N().submitInput,tabIndex:-1,type:"submit"})]})]}),(0,r.jsx)(p.Zr,{isOpen:C,onClose:function(){return S(!1)}}),(0,r.jsx)(p.d4,{isOpen:d,onClose:function(){return l(!1)}}),(0,r.jsx)(p.Nq,{isOpen:I,onClose:function(){return E(!1)}}),(0,r.jsx)(p.fs,{isOpen:h,onClose:function(){return y(!1)}}),(0,r.jsx)(p.hX,{forceShow:!H,onAnimationEnd:function(n){n.target!==n.currentTarget||b.Xb.getHasVisited()||(S(!0),b.Xb.setHasVisited(!0))}})]})}},9004:function(n){n.exports={index:"index_index__5hyIO",initialized:"index_initialized__GEDww",nav:"index_nav__FjsLl",navLogo:"index_navLogo__dBrd4",logoContainer:"index_logoContainer___rrXU",logo:"index_logo__IeyQD",contentWrapper:"index_contentWrapper__o0SKW",content:"index_content__8u6Oo",boardContainer:"index_boardContainer__O1DyN",sidebar:"index_sidebar__i_2dV",dictionary:"index_dictionary__Umhfc",dictionaryOutput:"index_dictionaryOutput__vSlhp",dictionaryInput:"index_dictionaryInput__iCFs7",resultsContainer:"index_resultsContainer__yBEuy",rackContainer:"index_rackContainer__Az99V",rack:"index_rack__XHWIp",submitInput:"index_submitInput__jPA3B"}}},function(n){n.O(0,[758,317,774,888,179],(function(){return e=8312,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(3332)}])},3332:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return w},default:function(){return C}});var i=t(4924),s=t(828),r=t(5893),o=t(4184),a=t.n(o),u=t(7294),c=t(3253),d=t.n(c),_=t(9473),l=t(6362),x=l.jU?u.useLayoutEffect:u.useEffect,h={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};var f=l.jU&&"undefined"!==typeof window.ResizeObserver?function(){var n=(0,u.useState)(null),e=n[0],t=n[1],i=(0,u.useState)(h),s=i[0],r=i[1],o=(0,u.useMemo)((function(){return new window.ResizeObserver((function(n){if(n[0]){var e=n[0].contentRect,t=e.x,i=e.y,s=e.width,o=e.height,a=e.top,u=e.left,c=e.bottom,d=e.right;r({x:t,y:i,width:s,height:o,top:a,left:u,bottom:c,right:d})}}))}),[]);return x((function(){if(e)return o.observe(e),function(){o.disconnect()}}),[e]),[t,s]}:function(){return[l.ZT,h]},m=t(8127),p=t(6317),j=t(3165),g=t(5558),v=t(485),b=t(6591),y=t(9004),N=t.n(y);d().setAppElement("#__next");var w=!0,C=function(n){var e=n.version,t=(0,_.I0)(),o=(0,j.Av)(),c=(0,u.useState)(!1),d=c[0],l=c[1],x=(0,u.useState)(!1),h=x[0],y=x[1],w=(0,u.useState)(!1),C=w[0],S=w[1],O=(0,u.useState)(!1),I=O[0],E=O[1],k=(0,s.Z)(f(),2),z=k[0],W=k[1].height,X=(0,s.Z)(f(),2),Z=X[0],T=X[1],R=T.height,A=T.width,D=(0,s.Z)(f(),2),L=D[0],F=D[1],P=F.height,U=F.width,V=(0,b.ix)(b.$o),B=(0,g.Dz)(V,A-U,R),H=A>0&&W>0&&U>0,$=W-v.n6-(o?v.Sg:v.tr),G=function(n){n.preventDefault(),t(b.TP.actions.submit())};return(0,j._)(),(0,m.Z)((function(){t((0,b.j2)())})),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:a()(N().index,(0,i.Z)({},N().initialized,H)),children:[(0,r.jsxs)("div",{className:N().nav,children:[(0,r.jsx)("div",{className:N().navLogo,children:(0,r.jsx)("a",{className:N().logoContainer,href:"/",title:e,children:(0,r.jsx)(p.TR,{className:N().logo})})}),(0,r.jsx)(p._m,{onClear:function(){t((0,b.mc)())},onShowKeyMap:function(){return l(!0)},onShowRemainingTiles:function(){return y(!0)},onShowSettings:function(){return S(!0)},onShowWords:function(){return E(!0)}})]}),(0,r.jsx)("div",{className:N().contentWrapper,children:(0,r.jsxs)("div",{className:N().content,ref:Z,children:[(0,r.jsxs)("form",{className:N().boardContainer,onSubmit:G,children:[A>0&&(0,r.jsx)(p.$l,{cellSize:B,innerRef:z}),(0,r.jsx)("input",{className:N().submitInput,tabIndex:-1,type:"submit"})]}),(0,r.jsxs)("div",{className:N().sidebar,style:{height:W+1},children:[(0,r.jsx)(p.tW,{className:N().resultsContainer,ref:L,children:U>0&&P>0&&(0,r.jsx)(p.u9,{height:$,width:U})}),(0,r.jsx)(p.tW,{children:(0,r.jsxs)("div",{className:N().dictionary,style:{height:v.n6},children:[(0,r.jsx)(p.Xy,{className:N().dictionaryOutput}),(0,r.jsx)(p.Z$,{className:N().dictionaryInput})]})})]})]})}),(0,r.jsxs)("form",{className:N().rackContainer,onSubmit:G,children:[(0,r.jsx)(p.F4,{className:N().rack}),(0,r.jsx)("input",{className:N().submitInput,tabIndex:-1,type:"submit"})]})]}),(0,r.jsx)(p.Zr,{isOpen:C,onClose:function(){return S(!1)}}),(0,r.jsx)(p.d4,{isOpen:d,onClose:function(){return l(!1)}}),(0,r.jsx)(p.Nq,{isOpen:I,onClose:function(){return E(!1)}}),(0,r.jsx)(p.fs,{isOpen:h,onClose:function(){return y(!1)}}),(0,r.jsx)(p.hX,{forceShow:!H,onAnimationEnd:function(n){n.target!==n.currentTarget||b.Xb.getHasVisited()||(S(!0),b.Xb.setHasVisited(!0))}})]})}},9004:function(n){n.exports={index:"index_index__5hyIO",initialized:"index_initialized__GEDww",nav:"index_nav__FjsLl",navLogo:"index_navLogo__dBrd4",logoContainer:"index_logoContainer___rrXU",logo:"index_logo__IeyQD",contentWrapper:"index_contentWrapper__o0SKW",content:"index_content__8u6Oo",boardContainer:"index_boardContainer__O1DyN",sidebar:"index_sidebar__i_2dV",dictionary:"index_dictionary__Umhfc",dictionaryOutput:"index_dictionaryOutput__vSlhp",dictionaryInput:"index_dictionaryInput__iCFs7",resultsContainer:"index_resultsContainer__yBEuy",rackContainer:"index_rackContainer__Az99V",rack:"index_rack__XHWIp",submitInput:"index_submitInput__jPA3B"}}},function(n){n.O(0,[546,317,774,888,179],(function(){return e=8312,n(n.s=e);var e}));var e=n.O();_N_E=e}]);