PageSourceSearch

https://poezie.ro/assets/page-shell-Bw91SET2.js

js poezie.ro collected 2026-10-02 07:54:32 UTC 3,360 bytes, 1 lines download raw bytes

1import{n as e}from"./rolldown-runtime-C_Wo6T2N.js";import{n as t}from"./carousel-UiQ6QiIh.js";import{bt as n}from"./radix-overlays-DjJXZ2rJ.js";import{F as r,a as i}from"./chunk-LFPYN7LY-B6_ijoHk.js";import{t as a}from"./utils-m4alnODA.js";import{t as o}from"./createLucideIcon-Cj2tCmSu.js";import{n as s,r as c,t as l}from"./footer-CT5MDZu8.js";import{t as u}from"./house-Z9sPhXkv.js";import{t as d}from"./library-BHqWTSrM.js";import{t as f}from"./search-CJ6lZq1r.js";import{t as p}from"./user-JOaRZLPe.js";var m=o(`circle-plus`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`M12 8v8`,key:`napkw2`}]]),h=e(t(),1),g=e(n(),1),_=[{icon:u,label:`Acasă`,href:`/`},{icon:d,label:`Clasici`,href:`/clasici`},{icon:m,label:`Scrie`,href:`/atelier/nou`,primary:!0},{icon:f,label:`Caută`,href:`/cauta`},{icon:p,label:`Profil`,href:`/profil`}];function v({className:e}){let[t,n]=h.useState(!0),r=h.useRef(0),o=c();return h.useEffect(()=>{if(!o)return;let e,t=()=>{let t=()=>{let e=window.scrollY,t=e-r.current;Math.abs(t)>10&&(h.startTransition(()=>{n(!(t>0&&e>100))}),r.current=e)};window.addEventListener(`scroll`,t,{passive:!0}),e=()=>window.removeEventListener(`scroll`,t)};if(`requestIdleCallback`in window){let n=window.requestIdleCallback(t,{timeout:2e3});return()=>{window.cancelIdleCallback(n),e?.()}}else{let n=setTimeout(t,100);return()=>{clearTimeout(n),e?.()}}},[o]),(0,g.jsx)(`nav`,{className:a(`fixed inset-x-0 bottom-0 z-50 border-t bg-white pb-safe transition-transform duration-300 lg:hidden print:hidden`,`will-change-transform contain-layout`,!t&&`translate-y-full`,e),"aria-label":`Navigare mobilă`,children:(0,g.jsx)(`div`,{className:`flex h-16 items-center justify-around`,children:_.map(e=>{let t=e.icon;return e.primary?(0,g.jsxs)(i,{to:e.href,className:`relative -mt-6 flex flex-col items-center`,"aria-label":e.label,children:[(0,g.jsx)(`span`,{className:`flex size-14 items-center justify-center rounded-full bg-atelier-accent text-white shadow-lg transition-transform hover:scale-105 active:scale-95`,children:(0,g.jsx)(t,{className:`size-6`,"aria-hidden":`true`})}),(0,g.jsx)(`span`,{className:`mt-1 text-xs font-medium text-atelier-accent-text`,children:e.label})]},`${e.label}-${e.href}`):(0,g.jsxs)(i,{to:e.href,className:`flex flex-col items-center gap-1 px-3 py-2`,children:[(0,g.jsx)(t,{className:`size-5 text-muted-foreground`,"aria-hidden":`true`}),(0,g.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.label})]},`${e.label}-${e.href}`)})})})}function y({children:e,className:t,hideFooter:n=!1,variant:i=`default`}
1){let o=r(),c=o?.user||null,u=o?.navigation,d={default:`bg-background`,clasici:`bg-classics-bg`,atelier:`bg-atelier-bg`,revista:`bg-background`,concurs:`bg-background`}[i];return(0,g.jsxs)(`div`,{className:a(`flex min-h-screen flex-col`,d),children:[(0,g.jsx)(`a`,{href:`#main-content`,className:`sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-[100] focus:rounded-md focus:bg-background focus:px-4 focus:py-2 focus:text-foreground focus:shadow-lg focus:ring-2 focus:ring-ring focus:outline-none`,children:`Sari la conținutul principal`}),(0,g.jsx)(s,{user:c,navigation:u}),(0,g.jsx)(`main`,{id:`main-content`,className:a(`flex-1`,t),children:e}),!n&&(0,g.jsx)(l,{isLoggedIn:!!c}),(0,g.jsx)(v,{})]})}export{m as n,y as t};

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.