1import{n as e,s as t,t as n}from"./jsx-runtime-BseJUIpC.js";import{t as r}from"./link-CGvqa3cT.js";import{t as i}from"./compiler-runtime-CvQ5QKkf.js";import{t as a}from"./chevron-left-B6EjU2sZ.js";import{t as o}from"./chevron-right-ttj6v-sj.js";import{t as s}from"./image-D33NhnB4.js";import{t as c}from"./newspaper-DRld7e0t.js";import{t as l}from"./pin-oS4HJWw_.js";import{t as u}from"./useSuspenseQuery-CFuU9lkT.js";import{Ar as d,Cn as f,Dr as p,Er as m,Fr as h,Ir as g,Lr as _,Mr as v,Nr as y,Or as b,Pr as ee,Rr as x,Sn as te,Sr as ne,Tn as S,bn as C,br as re,jr as w,kr as T,o as E,s as D,u as O,wn as k,xi as A,xn as j,xr as ie,yi as M}from"./index-CpclVibv.js";import{t as N}from"./EmptyState-g6Z0HLXT.js";import{n as P,o as F,r as I,t as ae}from"./card-D-dx8scV.js";import{t as L}from"./badge-BLW68wWg.js";import{a as R,i as z,n as B,o as V,r as H,s as U,t as W}from"./embla-carousel-fade.esm-BVusCASy.js";import{a as G}from"./navigation-paths-DVOrQDnq.js";import{t as K}from"./proxy-ZO-eyqpi.js";import{t as oe}from"./use-in-view-DjMHJV16.js";var q=i(),J={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function Y(e,t){let n=e.scrollSnapList();return typeof t==`number`?n.map(()=>t):t(n,e)}function X(e,t){let n=e.rootNode();return t&&t(n)||n}function Z(e={}){let t,n,r,i,a=null,o=0,s=!1,c=!1,l=!1,u=!1;function d(a,o){n=a;let{mergeOptions:s,optionsAtMedia:c}=o;if(t=c(s(s(J,Z.globalOptions),e)),n.scrollSnapList().length<=1)return;u=t.jump,r=!1,i=Y(n,t.delay);let{eventStore:l,ownerDocument:d}=n.internalEngine(),f=!!n.internalEngine().options.watchDrag,p=X(n,t.rootNode);l.add(d,`visibilitychange`,_),f&&n.on(`pointerDown`,y),f&&!t.stopOnInteraction&&n.on(`pointerUp`,b),t.stopOnMouseEnter&&l.add(p,`mouseenter`,ee),t.stopOnMouseEnter&&!t.stopOnInteraction&&l.add(p,`mouseleave`,x),t.stopOnFocusIn&&n.on(`slideFocusStart`,g),t.stopOnFocusIn&&!t.stopOnInteraction&&l.add(n.containerNode(),`focusout`,h),t.playOnInit&&h()}function f(){n.off(`pointerDown`,y).off(`pointerUp`,b).off(`slideFocusStart`,g),g(),r=!0,s=!1}function p(){let{ownerWindow:e}=n.internalEngine();e.clearTimeout(o),o=e.setTimeout(re,i[n.selectedScrollSnap()]),a=new Date().getTime(),n.emit(`autoplay:timerset`)}function m(){let{ownerWindow:e}=n.internalEngine();e.clearTimeout(o),o=0,a=null,n.emit(`autoplay:timerstopped`)}function h(){if(!r){if(v()){l=!0;return}s||n.emit(`autoplay:play`),p(),s=!0}}function g(){r||(s&&n.emit(`autoplay:stop`),m(),s=!1)}function _(){if(v())return l=s,g();l&&h()}function v(){let{ownerDocument:e}=n.internalEngine();return e.visibilityState===`hidden`}function y(){c||g()}function b(){c||h()}function ee(){c=!0,g()}function x(){c=!1,h()}function te(e){e!==void 0&&(u=e),h()}function ne(){s&&g()}function S(){s&&h()}function C(){return s}function re(){let{index:e}=n.internalEngine(),r=e.clone().add(1).get(),i=n.scrollSnapList().length-1,a=t.stopOnLastSnap&&r===i;if(n.canScrollNext()?n.scrollNext(u):n.scrollTo(0,u),n.emit(`autoplay:select`),a)return g();h()}function w(){return a?i[n.selectedScrollSnap()]-(new Date().getTime()-a):null}return{name:`autoplay`,options:e,init:d,destroy:f,play:te,stop:ne,reset:S,isPlaying:C,timeUntilNext:w}}Z.globalOptions=void 0;var Q=n(),se=()=>{let e=(0,q.c)(15),{data:t}=u(O);if(!t.length)return null;let n,r,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={loop:!0,dragFree:!0,slidesToScroll:1},r=Z({delay:4e3}),i=W(),e[0]=n,e[1]=r,e[2]=i):(n=e[0],r=e[1],i=e[2]);let a;e[3]===r?a=e[4]:(a=[r,i],e[3]=r,e[4]=a);let o;e[5]===t?o=e[6]:(o=t.map(ce),e[5]=t,e[6]=o);let s;e[7]===o?s=e[8]:(s=(0,Q.jsx)(H,{children:o}),e[7]=o,e[8]=s);let c,l;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Q.jsx)(U,{className:`absolute top-1/2 -translate-y-1/2 left-2 z-10 w-8 h-8 hover:translate-x-1 transition-all duration-300 hover:w-10 hover:h-10 hover:[&>svg]:size-5 opacity-80 cursor-pointer`}),l=(0,Q.jsx)(V,{className:`absolute top-1/2 -translate-y-1/2 right-2 z-10 w-8 h-8 hover:-translate-x-1 transition-all duration-300 hover:w-10 hover:h-10 hover:[&>
1svg]:size-5 opacity-80 cursor-pointer`}),e[9]=c,e[10]=l):(c=e[9],l=e[10]);let d;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(`div`,{className:`absolute bottom-4 left-1/2 -translate-x-1/2`,children:(0,Q.jsx)(z,{})}),e[11]=d):d=e[11];let f;return e[12]!==a||e[13]!==s?(f=(0,Q.jsxs)(B,{opts:n,plugins:a,children:[s,c,l,d]}),e[12]=a,e[13]=s,e[14]=f):f=e[14],f};function ce(e,t){return(0,Q.jsx)(R,{children:(0,Q.jsx)(`div`,{className:`relative w-full overflow-hidden bg-gray-100 aspect-23/9`,children:(0,Q.jsx)(`img`,{src:e.path,alt:e.alt,width:1280,height:501,loading:t===0?`eager`:`lazy`,fetchPriority:t===0?`high`:`auto`,className:`absolute inset-0 size-full object-cover`,style:{objectPosition:e.objectPosition?`${e.objectPosition.x}% ${e.objectPosition.y}%`:`center`}})})},e.path)}var le=()=>{let e=(0,q.c)(9),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={href:`/despre-noi/oferta-educationala`,src:`/img/nav_shortcuts/oferta-educationala_procesat.webp`,alt:`SAP - Oferta educationalÄ`,label:S()},e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n={href:`/despre-noi/istoric`,src:`/img/nav_shortcuts/istoric_procesat.webp`,alt:`SAP - Istoric`,label:k()},e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r={href:`/informatii-publice/infrastructura`,src:`/img/nav_shortcuts/infrastructura_procesat.webp`,alt:`SAP - InfrastructurÄ`,label:f()},e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i={to:`/admitere/`,src:`/img/nav_shortcuts/admitere_procesat.webp`,alt:`SAP - Admitere`,label:te()},e[3]=i):i=e[3];let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a={href:`/anunturi/posturi-scoase-la-concurs`,src:`/img/nav_shortcuts/posturi-vacante_procesat.webp`,alt:`SAP - Posturi vacante`,label:j()},e[4]=a):a=e[4];let o;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=[t,n,r,i,a,{href:`/despre-noi/proiecte-si-parteneriate`,src:`/img/nav_shortcuts/proiecte-si-parteneriate_procesat.webp`,alt:`SAP - Proiecte Èi parteneriate`,label:C()}],e[5]=o):o=e[5];let s=o,c,l;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(c={loop:!0,align:`start`,slidesToScroll:1},l=[Z({delay:4e3,stopOnInteraction:!0})],e[6]=c,e[7]=l):(c=e[6],l=e[7]);let u;return e[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,Q.jsx)(B,{opts:c,plugins:l,className:`w-full`,children:(0,Q.jsx)(H,{className:`-ml-4`,children:s.map(de)})}),e[8]=u):u=e[8],u};function ue(e){let t=(0,q.c)(11),{image:n,index:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=A(`relative w-full max-[400px]:max-w-30 max-w-37.5 sm:max-w-45 aspect-11/9 overflow-hidden rounded-md mx-auto`,`transition-all duration-300`,`group-hover:scale-105 group-hover:shadow-lg`),t[0]=i):i=t[0];let a=r<3?`eager`:`lazy`,o=r<3?`high`:`auto`,s;t[1]!==n.alt||t[2]!==n.src||t[3]!==a||t[4]!==o?(s=(0,Q.jsx)(`div`,{className:i,children:(0,Q.jsx)(`img`,{src:n.src,alt:n.alt,width:180,height:147,className:`absolute inset-0 size-full object-cover`,loading:a,fetchPriority:o,sizes:`(max-width: 400px) 120px, (max-width: 640px) 33vw, (max-width: 768px) 50vw, (max-width: 1024px) 33vw, 180px`})}),t[1]=n.alt,t[2]=n.src,t[3]=a,t[4]=o,t[5]=s):s=t[5];let c;t[6]===n.label?c=t[7]:(c=(0,Q.jsx)(`p`,{className:`text-center text-primary font-semibold group-hover:underline text-xs sm:text-sm max-w-55`,children:n.label}),t[6]=n.label,t[7]=c);let l;return t[8]!==s||t[9]!==c?(l=(0,Q.jsxs)(Q.Fragment,{children:[s,c]}),t[8]=s,t[9]=c,t[10]=l):l=t[10],l}function de(e,t){return(0,Q.jsx)(R,{className:`pl-4 basis-1/2 md:basis-1/3 lg:basis-1/4`,children:`to`in e?(0,Q.jsx)(r,{to:e.to,className:`flex flex-col items-center space-y-2 group py-2 sm:py-4`,children:(0,Q.jsx)(ue,{image:e,index:t})}):(0,Q.jsx)(`a`,{href:e.href,className:`flex flex-col items-center space-y-2 group py-2 sm:py-4`,children:(0,Q.jsx)(ue,{image:e,index:t})})},e.src)}var fe=()=>{let e=(0,q.c)(6),{data:t}=u(D),n=he,i,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsx)(pe,{}),a=A(`scrollbar-thin scrollbar-track-transparent scrollbar-thumb-transparent`,`overflow-y-auto max-h-76.5`,`hover:scrollbar-thumb-gray-400`),e[0]=i,e[1]=a):(i=e[0],a=e[1]);let o;e[2]===t?o=e[3]:(o=t?.length?t.map((e,t)=>{let i=n(e.publishedAt??e.createdAt);return(0,Q.jsx)(r,{to:G(e),search:{p:e.slug,s:e.tagIsCurrent?void 0:e.tagSlug??void 0},preload:!1,children:(0,Q.jsxs)(`div`,{className:`relative flex items-center gap-1 sm:gap-2 px-1 md:px-3 py-2 hover:bg-primary/5 dark:hover:bg-gray-800 border-b border-gray-200 dark:border-gray-800`,children:[e.isPinned&&(0,Q.jsx)(l,{className:`absolute top-1/2 -translate-y-1/2 left-1 size-3 text-amber-500 rotate-45`}),(0,Q.jsx)(`div`,{className:`flex items-center justify-center px-1 sm:px-2`,children:i?(0,Q.jsx)(L,{variant:`default`,className:`bg-yellow-500 animate-pulse px-1`,children:`Nou`}):(0,Q.jsx)(c,{className:`size-6 md:size-8 text-primary`})}),(0,Q.jsx)(me,{primary:e.title,createdAt:e.publishedAt??e.createdAt,category:e.pageLabel}),(0,Q.jsx)(`div`,{className:`hidden md:flex items-center gap-2`,children:(0,Q.jsx)(`div`,{className:`bg-white dark:bg-background border border-gray-200 dark:border-gray-800 rounded-full px-2 py-1`,children:(0,Q.jsx)(`p`,{className:`text-xs text-primary dark:text-gray-300`,children:e.pageLabel})})})]})},t)}):(0,Q.jsx)(N,{message:`Nu existÄ actualizÄri recente.`,imageClassName:`w-14 h-auto`}),e[2]=t,e[3]=o);let s;return e[4]===o?s=e[5]:(s=(0,Q.jsx)(`div`,{className:`animate-fade-in animate-once animate-duration-1000 animate-delay-1000 animate-ease-in-out`,children:(0,Q.jsxs)(`div`,{className:`bg-white dark:bg-background dark:bg-none border border-gray-200 dark:border-gray-800 shadow-xs`,children:[i,(0,Q.jsx)(`div`,{className:a,children:o})]})}),e[4]=o,e[5]=s),s};function pe(){let e=(0,q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(`div`,{className:`bg-linear-to-r from-[#2b6cb0] via-[#2c5282] to-[#1a202c] dark:from-primary/40 dark:via-primary/20 dark:to-transparent`,children:(0,Q.jsx)(`h1`,{className:`text-white text-xl font-semibold dark:text-foreground px-3 py-2 transition-all duration-300`,children:x()})}),e[0]=t):t=e[0],t}function me(e){let t=(0,q.c)(14),{primary:n,createdAt:r,category:i}=e,a;t[0]===n?a=t[1]:(a=(0,Q.jsx)(`p`,{className:`text-xs md:text-[0.8rem] font-semibold text-primary dark:text-gray-300 line-clamp-3`,children:n}),t[0]=n,t[1]=a);let o;t[2]===r?o=t[3]:(o=r.toLocaleDateString(`ro-RO`,{day:`2-digit`,month:`2-digit`,year:`numeric`}),t[2]=r,t[3]=o);let s;t[4]===o?s=t[5]:(s=(0,Q.jsx)(`p`,{className:`text-xs text-gray-500`,children:o}),t[4]=o,t[5]=s);let c;t[6]===i?c=t[7]:(c=(0,Q.jsx)(`p`,{className:`text-xs text-gray-500 md:hidden bg-gray-100 dark:bg-gray-800 rounded-full px-2 py-0.5`,children:i}),t[6]=i,t[7]=c);let l;t[8]!==s||t[9]!==c?(l=(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 justify-between`,children:[s,c]}),t[8]=s,t[9]=c,t[10]=l):l=t[10];let u;
1return t[11]!==a||t[12]!==l?(u=(0,Q.jsxs)(`div`,{className:`flex-1`,children:[a,l]}),t[11]=a,t[12]=l,t[13]=u):u=t[13],u}function he(e){let t=new Date,n=new Date(e),r=Math.abs(t.getTime()-n.getTime());return Math.ceil(r/864e5)<=10}var $=t(e(),1);function ge(e){let t=(0,q.c)(26),{eveniment:n}=e,i;t[0]===n?i=t[1]:(i=G(n),t[0]=n,t[1]=i);let a=n.tagIsCurrent?void 0:n.tagSlug??void 0,o;t[2]!==n.slug||t[3]!==a?(o={p:n.slug,s:a},t[2]=n.slug,t[3]=a,t[4]=o):o=t[4];let c;t[5]!==n.coverPath||t[6]!==n.thumbPath||t[7]!==n.title?(c=(0,Q.jsx)(`div`,{className:`relative w-full h-35 overflow-hidden rounded-t-lg bg-muted`,children:n.coverPath?(0,Q.jsx)(`img`,{src:n.thumbPath??n.coverPath,alt:n.title,width:200,height:140,className:`absolute inset-0 size-full object-cover`,sizes:`200px`,loading:`lazy`}):(0,Q.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center text-muted-foreground`,children:(0,Q.jsx)(s,{className:`size-8 opacity-40`})})}),t[5]=n.coverPath,t[6]=n.thumbPath,t[7]=n.title,t[8]=c):c=t[8];let l;t[9]===n.title?l=t[10]:(l=(0,Q.jsx)(F,{className:`text-sm mb-2 line-clamp-1`,children:n.title}),t[9]=n.title,t[10]=l);let u;t[11]===n.content?u=t[12]:(u=(0,Q.jsx)(`div`,{className:`line-clamp-3 mb-1`,children:n.content}),t[11]=n.content,t[12]=u);let d;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(`span`,{className:`text-primary hover:underline text-xs font-medium`,children:`vezi mai mult â`}),t[13]=d):d=t[13];let f;t[14]===u?f=t[15]:(f=(0,Q.jsxs)(I,{className:`text-xs mb-2`,children:[u,d]}),t[14]=u,t[15]=f);let p;t[16]!==l||t[17]!==f?(p=(0,Q.jsxs)(`div`,{className:`px-3 pb-3`,children:[l,f]}),t[16]=l,t[17]=f,t[18]=p):p=t[18];let m;t[19]!==c||t[20]!==p?(m=(0,Q.jsx)(ae,{className:`p-0 transition-all duration-300 md:hover:scale-105`,children:(0,Q.jsxs)(P,{className:`p-0 space-y-2`,children:[c,p]})}),t[19]=c,t[20]=p,t[21]=m):m=t[21];let h;return t[22]!==i||t[23]!==m||t[24]!==o?(h=(0,Q.jsx)(r,{to:i,search:o,className:`block h-full`,children:m}),t[22]=i,t[23]=m,t[24]=o,t[25]=h):h=t[25],h}var _e=220,ve=`absolute top-1/2 -translate-y-1/2 z-10 rounded-full shadow-md w-11 h-11 [&_svg]:size-5 cursor-pointer`,ye=()=>{let e=(0,q.c)(18),{data:t}=u(E),n=(0,$.useRef)(null),[r,i]=(0,$.useState)(!1),[s,c]=(0,$.useState)(!1),l;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=()=>{let e=n.current;e&&(i(e.scrollLeft>0),c(e.scrollLeft+e.clientWidth<e.scrollWidth-1))},e[0]=l):l=e[0];let d=l,f;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(f=()=>{d();let e=n.current;if(!e)return;e.addEventListener(`scroll`,d);let t=new ResizeObserver(d);return t.observe(e),()=>{e.removeEventListener(`scroll`,d),t.disconnect()}},e[1]=f):f=e[1];let p;e[2]===t?p=e[3]:(p=[t],e[2]=t,e[3]=p),(0,$.useEffect)(f,p);let m;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(m=e=>{n.current?.scrollBy({left:e===`left`?-220:_e,behavior:`smooth`})},e[4]=m):m=e[4];let h=m;if(!t?.length){let t;return e[5]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsxs)(`div`,{className:`flex flex-col items-center justify-center py-6 px-4`,children:[(0,Q.jsx)(`img`,{src:`/svg/no-data.svg`,alt:``,className:`w-20 sm:w-24 md:w-22 h-auto text-muted-foreground opacity-70`}),(0,Q.jsx)(`p`,{className:`mt-4 text-center text-muted-foreground`,children:`Nu existÄ evenimente recente`})]}),e[5]=t):t=e[5],t}let g;e[6]===r?g=e[7]:(g=r&&(0,Q.jsx)(M,{variant:`outline`,size:`icon`,onClick:()=>h(`left`),className:`${ve} left-0`,children:(0,Q.jsx)(a,{})}),e[6]=r,e[7]=g);let _;e[8]===t?_=e[9]:(_=t.map(be),e[8]=t,e[9]=_);let v;e[10]===_?v=e[11]:(v=(0,Q.jsx)(`div`,{ref:n,className:`overflow-x-auto scrollbar-hide py-2 px-1`,children:(0,Q.jsx)(`div`,{className:`flex justify-center gap-3 min-w-max mx-auto px-8`,children:_})}),e[10]=_,e[11]=v);let y;e[12]===s?y=e[13]:(y=s&&(0,Q.jsx)(M,{variant:`outline`,size:`icon`,onClick:()=>h(`right`),className:`${ve} right-0`,children:(0,Q.jsx)(o,{})}),e[12]=s,e[13]=y);let b;return e[14]!==g||e[15]!==v||e[16]!==y?(b=(0,Q.jsxs)(`div`,{className:`relative`,children:[g,v,y]}),e[14]=g,e[15]=v,e[16]=y,e[17]=b):b=e[17],b};function be(e){return(0,Q.jsx)(`div`,{className:`w-[200px] shrink-0`,children:(0,Q.jsx)(ge,{eveniment:e})},e.slug)}var xe=()=>{let e=(0,q.c)(53),t=(0,$.useRef)(null),n=(0,$.useRef)(null),r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={once:!0,margin:`-100px`},e[0]=r):r=e[0];let i=oe(t,r),a;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(a={once:!0,margin:`-100px`},e[1]=a):a=e[1];let o=oe(n,a),s;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(s={opacity:0,x:-60,scale:.95},e[2]=s):s=e[2];let c;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(c={hidden:s,visible:{opacity:1,x:0,scale:1,transition:{duration:.8,ease:`easeOut`}}},e[3]=c):c=e[3];let l=c,u;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(u={opacity:0,x:60,scale:.95},e[4]=u):u=e[4];let d;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(d={hidden:u,visible:{opacity:1,x:0,scale:1,transition:{duration:.8,ease:`easeOut`}}},e[5]=d):d=e[5];let f=d,p;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(p={opacity:0,x:60},e[6]=p):p=e[6];let m;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(m={hidden:p,visible:{opacity:1,x:0,transition:{duration:.8,ease:`easeOut`,delay:.2}}},e[7]=m):m=e[7];let g=m,_;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(_={opacity:0,x:-60},e[8]=_):_=e[8];let v;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(v={hidden:_,visible:{opacity:1,x:0,transition:{duration:.8,ease:`easeOut`,delay:.2}}},e[9]=v):v=e[9];let y=v,b;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(b={opacity:0,y:-20},e[10]=b):b=e[10];let x;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(x={hidden:b,visible:{opacity:1,y:0,transition:{duration:.6,ease:`easeOut`}}},e[11]=x):x=e[11];let te=x,S=i?`visible`:`hidden`,C;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,Q.jsx)(`div`,{className:`absolute inset-0 bg-linear-to-br from-blue-900/20 to-blue-600/10 z-10`}),e[12]=C):C=e[12];let w;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Q.jsx)(`img`,{src:`/img/
1home_misiunea.webp`,alt:h(),width:420,height:240,loading:`eager`,fetchPriority:`high`,className:`absolute inset-0 size-full object-contain`}),e[13]=w):w=e[13];let T;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(T={scaleX:0},e[14]=T):T=e[14];let E;e[15]===i?E=e[16]:(E=i?{scaleX:1}:{scaleX:0},e[15]=i,e[16]=E);let D;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(D={duration:1,delay:.5},e[17]=D):D=e[17];let O;e[18]===E?O=e[19]:(O=(0,Q.jsx)(K.div,{className:`absolute bottom-0 left-0 right-0 h-1 bg-linear-to-r from-blue-600 to-blue-400`,initial:T,animate:E,transition:D}),e[18]=E,e[19]=O);let k;e[20]!==S||e[21]!==O?(k=(0,Q.jsxs)(K.div,{variants:l,initial:`hidden`,animate:S,className:`md:col-span-2 relative h-50 sm:h-52 md:h-60 w-full max-w-90 md:max-w-105 mx-auto rounded-xl overflow-hidden shadow-xl`,children:[C,w,O]}),e[20]=S,e[21]=O,e[22]=k):k=e[22];let A=i?`visible`:`hidden`,j;e[23]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,Q.jsx)(K.h2,{variants:te,className:`text-2xl md:text-3xl font-bold text-slate-900 mb-2`,children:(0,Q.jsx)(`span`,{className:`bg-linear-to-r from-blue-600 to-blue-400 bg-clip-text text-transparent`,children:h()})}),e[23]=j):j=e[23];let M;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,Q.jsxs)(`span`,{className:`font-semibold text-primary`,children:[` `,`"`,ne(),`"`]}),e[24]=M):M=e[24];let N;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,Q.jsxs)(`p`,{children:[`Formarea iniÈialÄ a agenÈilor de poliÈie, pregÄtirea acestora pentru a face faÈÄ provocÄrilor generate de interdependenÈa tot mai strânsÄ Ã®ntre contextele sociale-economice-culturale-educaÈionale ale ÈÄrilor europene, se realizeazÄ printr-un sistem unitar, conceput prin prisma direcÈiilor stabilite de`,M,` `,`Èi`,` `,(0,Q.jsxs)(`span`,{className:`font-semibold text-primary`,children:[`"`,ie(),`"`]}),`.`]}),e[25]=N):N=e[25];let P;e[26]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,Q.jsxs)(`div`,{className:`text-slate-700 leading-relaxed space-y-3 text-sm xs:text-base md:text-md lg:text-lg dark:text-gray-300`,children:[N,(0,Q.jsxs)(`p`,{children:[`Astfel, Ècoala pregÄteÈte poliÈiÈti capabili sÄ exercite atribuÈii pentru asigurarea respectÄrii drepturilor, liniÈtii Èi siguranÈei cetÄÈenilor Europei. Programul de dezvoltare instituÈionalÄ al Ècolii defineÅte perspectivele instituÅ£iei noastre pentru urmÄtorii trei ani, Å£inând cont de schimbÄrile economico-sociale, de necesitatea asumÄrii exigenÅ£elor europene în ceea ce priveÅte educaÅ£ia Åi nu în ultimul rând, de cultivarea valorilor M.A.I. â`,(0,Q.jsxs)(`span`,{className:`font-semibold text-primary`,children:[` `,`"`,re(),`"`]}),`.`]})]}),e[26]=P):P=e[26];let F;e[27]===A?F=e[28]:(F=(0,Q.jsxs)(K.div,{variants:g,initial:`hidden`,animate:A,className:`md:col-span-3 space-y-3`,children:[j,P]}),e[27]=A,e[28]=F);let I;e[29]!==k||e[30]!==F?(I=(0,Q.jsx)(`div`,{ref:t,className:`relative`,children:(0,Q.jsxs)(`div`,{className:`grid md:grid-cols-5 gap-8 items-center`,children:[k,F]})}),e[29]=k,e[30]=F,e[31]=I):I=e[31];let ae=o?`visible`:`hidden`,L;e[32]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,Q.jsx)(K.h2,{variants:te,className:`text-2xl md:text-3xl font-bold text-slate-900 mb-2`,children:(0,Q.jsx)(`span`,{className:`bg-linear-to-r from-emerald-600 to-teal-400 bg-clip-text text-transparent`,children:ee()})}),e[32]=L):L=e[32];let R;e[33]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,Q.jsxs)(`div`,{className:`text-slate-700 leading-relaxed space-y-3 text-sm xs:text-base md:text-lg dark:text-gray-300`,children:[(0,Q.jsx)(`p`,{children:`Realizarea unui act didactic bazat pe valori democratice Èi aspiraÈii moderne ale indivizilor, corelat cu inovaÈia Èi reforma în învÄÈÄmântul poliÈienesc european, în spiritul egalitÄÈii de Èanse, al cetÄÈeniei Èi valorilor europene.`}),(0,Q.jsx)(`p`,{children:`Promovarea unui învÄÈÄmânt vocaÈional activ, orientat spre formarea de competenÈe, aptitudini, atitudini Èi valori, prin prisma paradigmelor educaÈionale europene.`})]}),e[33]=R):R=e[33];let z;e[34]===ae?z=e[35]:(z=(0,Q.jsxs)(K.div,{variants:y,initial:`hidden`,animate:ae,className:`md:col-span-3 space-y-3 md:order-1`,children:[L,R]}),e[34]=ae,e[35]=z);let B=o?`visible`:`hidden`,V;e[36]===Symbol.for(`react.memo_cache_sentinel`)?(V=(0,Q.jsx)(`div`,{className:`absolute inset-0 bg-linear-to-br from-emerald-900/20 to-teal-600/10 z-10`}),e[36]=V):V=e[36];let H;e[37]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,Q.jsx)(`img`,{src:`/img/
1home_viziunea.webp`,alt:ee(),width:420,height:240,loading:`lazy`,className:`absolute inset-0 size-full object-contain`}),e[37]=H):H=e[37];let U;e[38]===Symbol.for(`react.memo_cache_sentinel`)?(U={scaleX:0},e[38]=U):U=e[38];let W;e[39]===o?W=e[40]:(W=o?{scaleX:1}:{scaleX:0},e[39]=o,e[40]=W);let G;e[41]===Symbol.for(`react.memo_cache_sentinel`)?(G={duration:1,delay:.5},e[41]=G):G=e[41];let J;e[42]===W?J=e[43]:(J=(0,Q.jsx)(K.div,{className:`absolute bottom-0 left-0 right-0 h-1 bg-linear-to-r from-emerald-600 to-teal-400`,initial:U,animate:W,transition:G}),e[42]=W,e[43]=J);let Y;e[44]!==B||e[45]!==J?(Y=(0,Q.jsxs)(K.div,{variants:f,initial:`hidden`,animate:B,className:`md:col-span-2 relative h-50 sm:h-55 md:h-60 w-full max-w-90 md:max-w-105 mx-auto rounded-xl overflow-hidden shadow-xl md:order-2`,children:[V,H,J]}),e[44]=B,e[45]=J,e[46]=Y):Y=e[46];let X;e[47]!==z||e[48]!==Y?(X=(0,Q.jsx)(`div`,{ref:n,className:`relative`,children:(0,Q.jsxs)(`div`,{className:`grid md:grid-cols-5 gap-8 items-center`,children:[z,Y]})}),e[47]=z,e[48]=Y,e[49]=X):X=e[49];let Z;return e[50]!==I||e[51]!==X?(Z=(0,Q.jsxs)(`div`,{className:`max-w-7xl mx-auto space-y-10 px-4 overflow-x-clip`,children:[I,X]}),e[50]=I,e[51]=X,e[52]=Z):Z=e[52],Z},Se=[{src:`/img/widgets/fiipregatit_procesat.webp`,url:`https://fiipregatit.ro`},{src:`/img/widgets/widget_112.jpg`,url:`https://www.politiaromana.ro/ro/politia-apelul-de-urgenta-112`},{src:`/img/widgets/widget_anticoruptie.jpg`,url:`https://www.politiaromana.ro/ro/semnalari-cazuri-de-coruptie`},{src:`/img/widgets/widget_constatare.jpg`,url:`https://www.politiaromana.ro/ro/constatare-amiabila-de-accident`},{src:`/img/widgets/widget_schengen.jpg`,url:`https://schengen.mai.gov.ro/`},{src:`/img/widgets/trafic.png`,url:`https://anitp.mai.gov.ro/`},{src:`/img/widgets/riscterorist.png`,url:`https://www.sri.ro/contact`},{src:`/img/widgets/grant.jpg`,url:`https://norvegian.politiaromana.ro/`},{src:`/img/widgets/widget_registrul_national.jpg`,url:`https://politiaromana.ro/ro/politia-romana/unitati-centrale/directia-de-ordine-publica/serviciul-sisteme-de-securitate-private/registre-nationale`},{src:`/img/widgets/widget_sis.jpg`,url:`https://www.politiaromana.ro/files/pages_files/14-09-01-09-13-10SISII.PDF`},{src:`/img/widgets/romania-elvetia.jpg`,url:`https://www.politiaromana.ro/ro/proiecte/proiect-romania-elvetia`},{src:`/img/widgets/stop-coruptie_procesat.webp`,url:`https://www.mai-dga.ro/arhive/64296`}],Ce=()=>{let e=(0,q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(`div`,{className:`grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-2`,children:Se?.map(we)}),e[0]=t):t=e[0],t};function we(e,t){return(0,Q.jsx)(`div`,{className:`relative w-full h-20 overflow-hidden`,children:(0,Q.jsx)(`a`,{href:e.url,className:`absolute inset-0 block`,children:(0,Q.jsx)(`img`,{src:e.src,alt:e.url,width:200,height:80,className:`absolute inset-0 size-full object-cover rounded-md transition-[filter] hover:brightness-90`,sizes:`(max-width: 640px) 50vw, (max-width: 768px) 33vw, (max-width: 1024px) 25vw, 20vw`,loading:t<6?`eager`:`lazy`})})},t)}var Te=[{src:`/img/external/mai.png`,label:y(),url:`https://www.mai.gov.ro`},{src:`/img/external/politia_procesat.webp`,label:v(),url:`https://www.politiaromana.ro/`},{src:`/img/external/presedintia-romaniei_procesat.webp`,label:w(),url:`https://www.presidency.ro/`},{src:`/img/external/politia-de-frontiera_procesat.webp`,label:d(),url:`https://www.politiadefrontiera.ro`},{src:`/img/external/sts.png`,label:T(),url:`https://www.sts.ro`},{src:`/img/external/ministerul-public_procesat.webp`,label:b(),url:`https://www.mpublic.ro`},{src:`/img/external/sri_procesat.webp`,label:p(),url:`https://www.sri.ro/`},{src:`/img/external/dga_procesat.webp`,label:m(),url:`https://www.pna.ro/`}];function Ee(e){let t=(0,q.c)(9),{link:n}=e,r;t[0]!==n.label||t[1]!==n.src?(r=(0,Q.jsx)(`div`,{className:`relative w-12 h-12 sm:w-16 sm:h-16`,children:(0,Q.jsx)(`img`,{src:n.src,alt:n.label,width:64,height:64,sizes:`64px`,className:`absolute inset-0 size-full object-contain rounded-xs mix-blend-multiply dark:mix-blend-screen`})}),t[0]=n.label,t[1]=n.src,t[2]=r):r=t[2];let i;t[3]===n.label?i=t[4]:(i=(0,Q.jsx)(`p`,{className:`text-center py-2 text-xs font-semibold text-primary hover:underline`,children:n.label}),t[3]=n.label,t[4]=i);let a;return t[5]!==n.url||t[6]!==r||t[7]!==i?(a=(0,Q.jsxs)(`a`,{href:n.url,target:`_blank`,rel:`noopener noreferrer`,className:`flex flex-col items-center justify-center px-6 shrink-0`,children:[r,i]}),t[5]=n.url,t[6]=r,t[7]=i,t[8]=a):a=t[8],a}var De=()=>{let e=(0,q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(`div`,{className:`marquee-wrapper w-full overflow-hidden [--marquee-duration:30s]`,children:(0,Q.jsxs)(`div`,{className:`flex w-max animate-marquee`,children:[Te.map(Oe),Te.map(ke)]})}),e[0]=t):t=e[0],t};function Oe(e){return(0,Q.jsx)(Ee,{link:e},e.label)}function ke(e){return(0,Q.jsx)(Ee,{link:e},`${e.label}-dup`)}function Ae(e){let t=(0,q.c)(6),{children:n,fallback:r,rootMargin:i,className:a}=e,o=i===void 0?`200px`:i,s=(0,$.useRef)(null),[c,l]=(0,$.useState)(!1),u,d;t[0]===o?(u=t[1],d=t[2]):(u=()=>{let e=s.current;if(!e)return;let t=new IntersectionObserver(e=>{let[n]=e;n.isIntersecting&&(l(!0),t.disconnect())},{rootMargin:o});return t.observe(e),()=>t.disconnect()},d=[o],t[0]=o,t[1]=u,t[2]=d),(0,$.useEffect)(u,d);let f=c?n:r,p;return t[3]!==a||t[4]!==f?(p=(0,Q.jsx)(`div`,{ref:s,className:a,children:f}),t[3]=a,t[4]=f,t[5]=p):p=t[5],p}var je=`bg-white dark:bg-background py-4`;function Me(){let e=(0,q.c)(14),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(se,{}),n=A(je,`sm:py-8`),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r,i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Q.jsx)(`section`,{className:n,children:(0,Q.jsx)(`div`,{className:`container mx-auto px-2 xs:px-4 sm:px-6 lg:px-8 max-w-5xl`,children:(0,Q.jsx)(le,{})})}),i=A(je,`bg-slate-50 dark:bg-gray-900 sm:py-6`),e[2]=r,e[3]=i):(r=e[2],i=e[3]);let a,o;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Q.jsx)(`section`,{className:i,children:(0,Q.jsx)(`div`,{className:`container mx-auto px-2 xs:px-4 sm:px-6 lg:px-8 max-w-5xl`,children:(0,Q.jsx)(fe,{})})}),o=A(je,`sm:py-8 xl:py-12`),e[4]=a,e[5]=o):(a=e[4],o=e[5]);let s;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Q.jsx)(`h2`,{className:`text-2xl sm:text-3xl lg:text-4xl font-bold text-gray-900 dark:text-white sm:mb-3`,children:_()}),e[6]=s):s=e[6];let c;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Q.jsxs)(`div`,{className:`text-center mb-6`,children:[s,(0,Q.jsx)(`p`,{className:`text-gray-600 dark:text-gray-300 text-sm sm:text-base max-w-xl mx-auto`,children:g()})]}),e[7]=c):c=e[7];let l;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(`section`,{className:o,children:(0,Q.jsxs)(`div`,{className:`container mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl`,children:[c,(0,Q.jsx)(`div`,{className:`px-1`,children:(0,Q.jsx)(ye,{})})]})}),e[8]=l):l=e[8];let u;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,Q.jsx)(Ae,{rootMargin:`300px`,children:(0,Q.jsx)(`section`,{className:A(je,`bg-slate-50 dark:bg-slate-900`),children:(0,Q.jsx)(xe,{})})}),e[9]=u):u=e[9];let d,f;
1e[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(`div`,{className:`h-64`}),f=A(je,`dark:bg-gray-900 sm:py-8 xl:py-12`),e[10]=d,e[11]=f):(d=e[10],f=e[11]);let p;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Q.jsx)(Ae,{rootMargin:`300px`,fallback:d,children:(0,Q.jsx)(`section`,{className:f,children:(0,Q.jsx)(`div`,{className:`container mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl`,children:(0,Q.jsx)(Ce,{})})})}),e[12]=p):p=e[12];let m;return e[13]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,Q.jsxs)(`div`,{className:`pt-(--navbar-height)`,children:[t,r,a,l,u,p,(0,Q.jsx)(`section`,{className:`bg-slate-50 dark:bg-gray-900 py-8 md:py-12 lg:py-16`,children:(0,Q.jsx)(`div`,{className:`container mx-auto px-4 sm:px-6 lg:px-8 max-w-6xl`,children:(0,Q.jsx)(De,{})})})]}),e[13]=m):m=e[13],m}export{Me as component};
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.