PageSourceSearch

https://bubblewordjam.org/_next/static/chunks/app/page-5a05d76c14951aff.js

js bubblewordjam.org collected 2026-10-07 17:57:20 UTC 5,291 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{6987:(e,t,s)=>{Promise.resolve().then(s.bind(s,7041)),Promise.resolve().then(s.bind(s,3629)),Promise.resolve().then(s.bind(s,3850)),Promise.resolve().then(s.bind(s,2788)),Promise.resolve().then(s.bind(s,5482)),Promise.resolve().then(s.t.bind(s,8173,23)),Promise.resolve().then(s.t.bind(s,7970,23)),Promise.resolve().then(s.t.bind(s,3704,23))},7041:(e,t,s)=>{"use strict";s.d(t,{default:()=>c});var i=s(5155),a=s(4420),l=s(3160),n=s(5154),r=s(2115),o=s(5565);function d(e){let{children:t,onSendToBack:s,sensitivity:r}=e,o=(0,a.d)(0),d=(0,a.d)(0),c=(0,l.G)(d,[-100,100],[60,-60]),h=(0,l.G)(o,[-100,100],[-60,60]);return(0,i.jsx)(n.P.div,{className:"absolute cursor-grab",style:{x:o,y:d,rotateX:c,rotateY:h},drag:!0,dragConstraints:{top:0,right:0,bottom:0,left:0},dragElastic:.6,whileTap:{cursor:"grabbing"},onDragEnd:function(e,t){Math.abs(t.offset.x)>r||Math.abs(t.offset.y)>r?s():(o.set(0),d.set(0))},children:t})}function c(e){let{randomRotation:t=!1,sensitivity:s=200,cardDimensions:a={width:208,he
1ight:208},cardsData:l=[],animationConfig:c={stiffness:260,damping:20},sendToBackOnClick:h=!1}=e,[m,u]=(0,r.useState)(l.length?l:[{id:1,img:"https://images.unsplash.com/photo-1480074568708-e7b720bb3f09?q=80&w=500&auto=format"},{id:2,img:"https://images.unsplash.com/photo-1449844908441-8829872d2607?q=80&w=500&auto=format"},{id:3,img:"https://images.unsplash.com/photo-1452626212852-811d58933cae?q=80&w=500&auto=format"},{id:4,img:"https://images.unsplash.com/photo-1572120360610-d971b9d7767c?q=80&w=500&auto=format"}]),[f,g]=(0,r.useState)(Array(m.length).fill(0));(0,r.useEffect)(()=>{t&&g(m.map(()=>10*Math.random()-5))},[t,m.length]);let p=e=>{u(t=>{let s=[...t],i=s.findIndex(t=>t.id===e),[a]=s.splice(i,1);return s.unshift(a),s})};return(0,i.jsx)("div",{className:"relative",style:{width:a.width,height:a.height,perspective:600},children:m.map((e,t)=>(0,i.jsx)(d,{onSendToBack:()=>p(e.id),sensitivity:s,children:(0,i.jsx)(n.P.div,{className:"rounded-2xl overflow-hidden border-4 border-white",onClick:()=>h&&p(e.id),animate:{rotateZ:(m.length-t-1)*4+f[t],scale:1+.06*t-.06*m.length,transformOrigin:"90% 90%"},initial:!1,transition:{type:"spring",stiffness:c.stiffness,damping:c.damping},style:{width:a.width,height:a.height},children:(0,i.jsx)(o.default,{src:e.img||"/placeholder.svg",alt:"card-".concat(e.id),fill:!0,sizes:"".concat(a.width,"px"),className:"object-cover pointer-events-none"})})},e.id))})}},3629:(e,t,s)=>{"use strict";s.d(t,{default:()=>l});var i=s(5155),a=s(6261);function l(e){let{sectionId:t,text:s}=e,l=()=>{let e=document.getElementById(t);e&&e.scrollIntoView({behavior:"smooth"})};return(0,i.jsxs)("button",{onClick:()=>l(),className:"btn btn-secondary",children:[s,(0,i.jsx)(a.A,{size:16})]})}},3850:(e,t,s)=>{"use strict";s.d(t,{LevelTabsGrid:()=>u});var i=s(5155),a=s(2115),l=s(6944),n=s(5322);function r(){return(0,i.jsxs)("div",{className:"overflow-hidden bg-white/80 backdrop-blur-sm",children:[(0,i.jsx)("div",{className:"aspect-[".concat(n.yr.T3,"] relative"),children:(0,i.jsx)(l.default,{height:"100%",style:{position:"absolute",top:0,left:0,right:0,bottom:0}})}),(0,i.jsx)("div",{className:"p-3 text-center",children:(0,i.jsx)(l.default,{width:"70%",height:20})})]})}var o=s(8173),d=s.n(o),c=s(5565);let h=n.yr.T3;function m(e){let{level_id:t,level_img_url:s}=e;return(0,i.jsx)(d(),{href:"/level/".concat(t),className:"block",children:(0,i.jsxs)("div",{className:"card bg-white/10 backdrop-blur-sm shadow-sm transform transition-all duration-300 hover:shadow-md hover:-translate-y-1",children:[(0,i.jsx)("figure",{className:"relative w-full",style:{aspectRatio:h},children:(0,i.jsx)(c.default,{src:"https://gl.imgbear.xyz/df15f115-1350-48d6-8c31-079ed147f2a1.webp",alt:"".concat(n.UU," Level ").concat(t," Screenshot"),fill:!0,className:"object-cover"})}),(0,i.jsx)("div",{className:"p-3",children:(0,i.jsxs)("h3",{className:"sm:text-md text-sm font-medium text-center",children:[n.UU," Level ",t]})})]})},t)}function u(e){var t;let{levelGroups:s}=e,[l,n]=(0,a.useState)(0),[o,d]=(0,a.useState)(!1),c=e=>{d(!0),n(e),setTimeout(()=>d(!1),300)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"flex flex-wrap sm:gap-1 gap-0.5 sm:mb-6 mb-4 justify-center",children:s.map((e,t)=>(0,i.jsx)("button",{onClick:()=>c(t),"aria-label":e.name,className:"btn btn-sm tab-density ".concat(l===t?"btn-soft":"btn-ghost")},t))}),(0,i.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 sm:gap-4 gap-3 mx-auto",children:o?Array(8).fill(0).map((e,t)=>(0,i.jsx)(r,{},t)):(null===(t=s[l])||void 0===t?void 0:t.levels.length)>0?s[l].levels.map(e=>(0,i.jsx)(m,{level_id:e.id,level_img_url:e.img_url},e.id)):(0,i.jsx)("div",{className:"col-span-full text-center py-6",children:(0,i.jsx)("p",{children:"No levels available in this category."})})})]})}},5482:(e,t,s)=>{"use strict";s.d(t,{SkeletonWrapper:()=>n});var i=s(5155),a=s(2115);let l=(0,s(7711).default)(()=>Promise.all([s.e(445),s.e(392)]).then(s.bind(s,9392)),{loadableGenerated:{webpack:()=>[9392]},ssr:!1});function n(e){let{type:t,children:s}=e;return(0,i.jsx)(a.Suspense,{fallback:(0,i.jsx)(l,{type:t}),children:s})}}},e=>{var t=t=>e(e.s=t);e.O(0,[173,970,688,405,322,788,441,517,358],()=>t(6987)),_N_E=e.O()}]);

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.