(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[256,208,142,297,674,686,895,402],{5898:function(e,r,t){Promise.resolve().then(t.bind(t,7246)),Promise.resolve().then(t.bind(t,4880))},7246:function(e,r,t){"use strict";t.d(r,{default:function(){return x}});var n=t(7437),l=t(2265),o=t(5601),a=t.n(o),i=t(7138),s=t(2988),d=t(1830);let c="horizontal",f=["horizontal","vertical"],u=(0,l.forwardRef)((e,r)=>{let{decorative:t,orientation:n=c,...o}=e,a=p(n)?n:c;return(0,l.createElement)(d.WV.div,(0,s.Z)({"data-orientation":a},t?{role:"none"}:{"aria-orientation":"vertical"===a?a:void 0,role:"separator"},o,{ref:r}))});function p(e){return f.includes(e)}u.propTypes={orientation(e,r,t){let n=e[r],l=String(n);return n&&!p(n)?Error(`Invalid prop \`orientation\` of value \`${l}\` supplied to \`${t}\`, expected one of:
  - horizontal
  - vertical

Defaulting to \`${c}\`.`):null}};var h=t(7440);let m=l.forwardRef((e,r)=>{let{className:t,orientation:l="horizontal",decorative:o=!0,...a}=e;return(0,n.jsx)(u,{ref:r,decorative:o,orientation:l,className:(0,h.cn)("shrink-0 bg-border","horizontal"===l?"h-[1px] w-full":"h-full w-[1px]",t),...a})});m.displayName=u.displayName;var x=function(e){let{banner_img:r,description:t,file_path:l,download_count:o,mod_title:s,is_redirect:d}=e;return(0,n.jsxs)("div",{className:"flex min-h-[500px] w-full flex-shrink-0 flex-col gap-2 overflow-hidden rounded border border-primary/30 bg-card",children:[(0,n.jsx)(a(),{src:"/".concat(r.preferred),alt:s,width:350,height:250,className:"h-auto w-full object-cover md:h-[250px]",loading:"eager"}),(0,n.jsxs)("div",{className:"flex h-full flex-col p-4",children:[(0,n.jsx)("h1",{className:"mb-3 text-2xl font-bold",children:s}),(0,n.jsx)("p",{children:t}),(0,n.jsx)("div",{className:"mt-auto",children:(0,n.jsxs)(i.default,{className:"mt-6 flex h-12 items-center justify-center gap-2 rounded border border-primary/30 bg-primary/30 py-2 transition-colors hover:bg-primary/50",href:d?"/".concat(l):"/files/".concat(l),children:[(0,n.jsx)("span",{className:"font-bold",children:d?"Go":"Download"}),(0,n.jsx)(m,{orientation:"vertical",className:"bg-primary-foreground/20"}),(0,n.jsxs)("span",{children:[o," ",d?"visits":"downloads"]})]})})]})]})}},4880:function(e,r,t){"use strict";t.d(r,{ScrollArea:function(){return i}});var n=t(7437),l=t(2265),o=t(9562),a=t(7440);let i=l.forwardRef((e,r)=>{let{className:t,children:l,...i}=e;return(0,n.jsxs)(o.fC,{ref:r,className:(0,a.cn)("relative overflow-hidden",t),...i,children:[(0,n.jsx)(o.l_,{className:"h-full w-full rounded-[inherit]",children:l}),(0,n.jsx)(s,{}),(0,n.jsx)(o.Ns,{})]})});i.displayName=o.fC.displayName;let s=l.forwardRef((e,r)=>{let{className:t,orientation:l="vertical",...i}=e;return(0,n.jsx)(o.gb,{ref:r,orientation:l,className:(0,a.cn)("flex touch-none select-none transition-colors","vertical"===l&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===l&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...i,children:(0,n.jsx)(o.q4,{className:"relative flex-1 rounded-full bg-border"})})});s.displayName=o.gb.displayName},7440:function(e,r,t){"use strict";t.d(r,{cn:function(){return o}});var n=t(4839),l=t(6164);function o(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,l.m6)((0,n.W)(r))}},5601:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}(r,{default:function(){return s},getImageProps:function(){return i}});let n=t(9920),l=t(497),o=t(8173),a=n._(t(1241));function i(e){let{props:r}=(0,l.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(r))void 0===t&&delete r[e];return{props:r}}let s=o.Image}},function(e){e.O(0,[868,173,784,971,23,744],function(){return e(e.s=5898)}),_N_E=e.O()}]);