PageSourceSearch

https://www.santamariadellascala.com/_next/static/chunks/pages/fr/evenements/c/[slug]-671d14428a9ef8a2.js

js santamariadellascala.com collected 2026-10-02 07:02:40 UTC 8,176 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6141],{54797:function(e,l,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/fr/evenements/c/[slug]",function(){return a(51025)}])},56882:function(e,l,a){"use strict";a.d(l,{Z:function(){return EventCard}});var t=a(85893),r=a(90920),n=a(7904),s=a(41664),i=a.n(s),c=a(22006),o=a(95575);function EventCard(e){let{locale:l,record:a,variant:s=!1}=e,{title:d,startDate:x,endDate:g,abstract:p,previewImage:m,category:u,date:h}=a,v=m||null,b=(0,c.mg)(a,l);return b?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(i(),{title:a.title,className:"group",href:b,children:(0,t.jsx)("div",{className:s?"":"mr-12",children:(0,t.jsxs)("div",{className:"".concat(s?"aspect-video":"w-[270px] md:w-[450px] xl:w-[500px] border-b border-black"," relative"),children:[v&&(0,t.jsx)(n.E,{data:v.responsiveImage,alt:d,title:d,layout:""}),u&&(0,t.jsx)("div",{className:"text-xs text-black pb-2 absolute top-4 left-4 md:linkMd uppercase",children:(0,t.jsx)("div",{className:"w-auto rounded-full inline-block bg-black text-white px-4 py-1 md:py-2 font-bold",children:null==u?void 0:u.title})}),(0,t.jsxs)("div",{className:"".concat(s?"bg-gray-dark":""," p-4 md:p-6"),children:[(0,t.jsxs)("div",{className:"lg:flex lg:justify-between mb-4 lg:gap-2",children:[(0,t.jsx)("h3",{className:"font-serif md:text-base md:col-span-6 group-hover:underline lg:text-lg",children:d}),(x||g)&&(0,t.jsxs)("div",{className:"text-xs flex lg:text-right lg:w-2/5 lg:flex-none lg:justify-end",children:[x&&(0,t.jsx)("div",{children:(0,c.p6)(x,l)}),x&&g&&(0,t.jsx)("div",{className:"px-1",children:"/"}),g&&(0,t.jsx)("div",{children:(0,c.p6)(g,l)})]}),h&&(0,t.jsx)("div",{className:"text-xs flex lg:text-right lg:w-1/5 lg:flex-none lg:justify-end mt-1",children:(0,t.jsx)("div",{children:(0,c.p6)(h,l)})})]}),p&&(0,t.jsx)("p",{className:"text-xs md:col-span-5 mb-4",children:(0,r.N)(p)}),(0,t.jsx)("div",{className:"rounded-full md:col-span-4 w-8 h-8 relative scale-[0.75] -translate-x-1 bg-black duration-300 group-hover:bg-yellow",children:(0,t.jsx)(o.Z,{name:"arrowRight",className:"absolute left-1/2 top-1/2 -translate-y-1/2 -translate-x-1/2 fill-white group-hover:fill-black",size:"12"})})]})]})})})}):null}},97303:function(e,l,a){"use strict";a.d(l,{Z:function(){return Hero}});var t=a(85893),r=a(22006),n=a(7904),s=a(81597);function LinksMenu(e){let{locale:l,links:a}=e;return(0,t.jsx)("nav",{className:"border-y border-gray-dark py-6 my-6 lg:py-8",children:(0,t.jsx)("ul",{className:"lg:gap-x-8 gap-x-3 flex gap-y-4 flex-wrap",children:a.map(e=>(0,r.Bq)(e.link,l)?null:(0,t.jsx)("li",{children:(0,t.jsx)(s.Z,{element:e.link,locale:l,className:"px-5 py-1 lg:py-2 block hover:border-yellow duration-300 border border-white uppercase",children:e.label})},e.id))})})}function Hero(e){let{page:l,locale:a}=e,{title:i,imageHero:c,descriptionImageHero:o,abstract:d,structureLevels:x,structureLevel:g,positionText:p,links:m}=l;return(0,t.jsxs)("header",{children:[(0,t.jsxs)("div",{className:"container py-12 lg:pt-20",children:[(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-x-3 xl:gap-y-16 items-start",children:[(0,t.jsxs)("div",{className:"grid gap-2 lg:col-span-7 items-start",children:[(0,t.jsx)("h1",{className:"font-serif text-xl md:text-2xl lg:col-span-5 xl:text-4xl",children:i}),x&&(0,t.jsx)(s.Z,{locale:a,element:x[0],title:x[0].title,className:"group",children:(0,t.jsxs)("div",{className:"text-gray-light text-base mb-4 lg:mt-4 group-hover:text-yellow",children:[x.map(e=>e.title).join(", "),(0,t.jsx)("span",{children:" - "}),(0,t.jsx)("span",{children:x.map(e=>e.positionText).join(", ")})]})})]}),(0,t.jsxs)("div",{className:"lg:col-span-4 lg:col-start-9 lg:mt-1 grid gap-2",children:[d&&(0,t.jsx)("h2",{className:"text-gray-light",children:(0,r.NN)(d)}),g&&(0,t.jsxs)("h3",{children:[g.title," - ",g.positionText]}),p&&(0,t.jsx)("h3",{children:p})]})]}),(null==m?void 0:m.length)>0&&(0,t.jsx)(LinksMenu,{locale:a,links:m})]}),c&&(0,t.jsxs)("div",{className:"md:mt-2",children:[(0,t.jsx)(n.E,{className:"",data:c.responsiveImage,alt:c.responsiveImage.alt,title:c.responsiveImage.title,priority:!0}),o&&(0,t.jsx)("div",{className:"font-serif text-xs font-normal mt-3 container",children:(0,r.NN)(o)})]})]})}},57448:function(e,l,a){"use strict";a.d(l,{Z:function(){return IndexTmp}});var t=a(85893),r=a(97303),n=a(95575),s=a(899);function Pagination(e){let{handleChangePage:l,totals:a,pageSize:r,currentPage:i,locale:c}=e,o=Math.ceil(a/r),d=[...Array(o).keys()],x="cursor-auto opacity-10";return(0,t.jsx)("div",{className:"flex gap-2 justify-center md:col-span-2",children:(0,t.jsxs)("nav",{className:"relative z-0 flex justify-center items-center space-x-4 py-12 lg:col-start-2 lg:col-span-3 xl:pb-20",role:"navigation","aria-label":(0,s.Z)("pagination",c),children:[(0,t.jsx)("button",{onClick:i>1?()=>l(i-1):null,"aria-label":(0,s.Z)("pagePrev",c),className:"".concat(i>1?"":x," border border-gray-dark w-8 h-10"),children:(0,t.jsx)(n.Z,{size:"30",name:"down",className:"fill-white rotate-90 mt-1"})}),d.map((e,a)=>(0,t.jsx)("button",{className:"".concat(a==i-1?"bg-yellow border-yellow text-black":"border-gray-dark"," relative w-8 h-10 inline-block text-center border border-gray-dark"),onClick:()=>l(e+1),"aria-current":a==i-1,children:e+1},e)),(0,t.jsx)("button",{onClick:Number(i)<o?()=>l(Number(i)+1):null,"aria-label":"Go to Page next",className:"".concat(Number(i)<o?"":x," border border-gray-dark w-8 h-10 "),children:(0,t.jsx)(n.Z,{size:"30",name:"down",className:"fill-white -rotate-90 mt-1"})})]})})}var i=a(67294),c=a(11163);a(39332);var o=a(56882),d=a(81597),x=a(22006);function IndexTmp(e){let{locale:l,page:a,items:n,categories:s,itemForPage:g}=e,p=0;for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(p+=n[e].length);let m=Object.keys(n).length,u=(0,c.useRouter)(),[h,v]=(0,i.useState)(1),b=n[h];return(0,i.useEffect)(()=>{u.query.page&&v(u.query.page)},[u.query.page]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Z,{locale:l,page:a}),(0,t.jsx)("div",{id:"top",className:"container scroll-mt-[66px] lg:scroll-mt-[81px] xl:scroll-mt-[139px]",children:(0,t.jsxs)("div",{className:"xl:grid ga
1p-6 md:mb-20 xl:pt-16 lg:mt-4 xl:grid-cols-12 xl:border-t xl:border-gray-dark xl:mt-12",children:[(null==s?void 0:s.length)>0&&(0,t.jsx)("nav",{className:"border-y border-gray-dark py-6 mb-6 md:mb-12 lg:py-8 xl:col-span-3 xl:border-none xl:pt-0",children:(0,t.jsx)("ul",{className:"lg:gap-x-8 gap-x-3 flex gap-y-4 flex-wrap xl:block",children:s.map(e=>{var r,n,s,i;return((null===(r=e._allReferencingEvents)||void 0===r?void 0:r.length)>0||(null===(n=e._allReferencingArticles)||void 0===n?void 0:n.length)>0)&&(0,t.jsx)("li",{children:(0,t.jsxs)(d.Z,{element:e,locale:l,className:"".concat(e.slug==a.slug?"bg-yellow border-yellow text-black":""," px-5 py-1 lg:py-2 block hover:border-yellow xl:text-center duration-300 border border-white xl:inline-block xl:mb-6 xl:min-w-56"),children:[e.title," [",(null===(s=e._allReferencingEvents)||void 0===s?void 0:s.length)||(null===(i=e._allReferencingArticles)||void 0===i?void 0:i.length),"]"]})},e.id)})})}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-2 xl:col-span-9",children:null==b?void 0:b.map(e=>(0,t.jsx)(o.Z,{record:e,locale:l,variant:!0},e.id))}),(0,t.jsx)("div",{className:"mx-auto col-span-12 xl:col-span-9 xl:col-start-4",children:p>g&&(0,t.jsx)(Pagination,{currentPage:h,totals:p,pageSize:g,handleChangePage:e=>{u.push("/".concat((0,x.mg)(a,l),"?page=").concat(e,"#top"),void 0,{shallow:!0})},totPages:m,locale:l})})]})})]})}},90920:function(e,l,a){"use strict";a.d(l,{N:function(){return renderHTML}});var t=a(85893);function renderHTML(e){return(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})}},51025:function(e,l,a){"use strict";a.r(l),a.d(l,{__N_SSG:function(){return s}});var t=a(85893),r=a(82051),n=a(57448),s=!0;l.default=function(e){let{locale:l,site:a,page:s,categories:i,itemForPage:c,items:o}=e;return(0,t.jsx)(r.Z,{site:a,locale:l,page:s,parent:a.eventsIndex,children:(0,t.jsx)(n.Z,{locale:l,page:s,items:o.events,categories:i,itemForPage:c})})}}},function(e){e.O(0,[9990,1533,2051,9774,2888,179],function(){return e(e.s=54797)}),_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.