1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8206],{6662:function(t,e,i){"use strict";i.d(e,{Z:function(){return d}});var n=i(85893),r=i(25675),l=i.n(r),s=i(96341),a=i(73241);let u=t=>{if("number"==typeof t||void 0===t)return t;{let e=Number.parseInt(t);if(Number.isNaN(e))return;return e}},c=t=>{let e=new URL(t.src),i={fit:e.searchParams.get("fit")||"max",w:t.width,h:void 0};return t.quality&&(i.q=t.quality),(0,s.KV)(t.src,i)},d=({field:t,imgixParams:e={},alt:i,fallbackAlt:r,layout:d="intrinsic",...o})=>{if(!a.S$(t))return null;{let h=(0,s.KV)(t.url,e),f=t.dimensions.width/t.dimensions.height,m=t.dimensions.width,g=t.dimensions.height;if(("intrinsic"===d||"fixed"===d)&&("width"in o||"height"in o)){let v=u(o.width),x=u(o.height);v?m=v:x&&(m=f*x),g=m/f}return(0,n.jsx)(l(),{src:h,width:"fill"===d?void 0:m,height:"fill"===d?void 0:g,alt:null!=i?i:t.alt||r,loader:c,layout:d,...o})}}},67312:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/families/activities",function(){return i(57060)}])},57060:function(t,e,i){"use strict";i.r(e),i.d(e,{__N_SSP:function(){return f},default:function(){return m}});var n=i(85893),r=i(9008),l=i.n(r),s=i(82791),a=i(4433),u=i(37673),c=i(49822),d=i(96749),o=i(21702),h=i(55101),f=!0;function m(t){var e=(0,s.$G)("common").t;return(null==t?void 0:t.error)?(0,n.jsx)(d.Z,{data:t}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l(),{children:(0,n.jsx)("title",{children:e("Attivit\xe02")+" | Triennale Milano"})}),(0,n.jsxs)(c.Z,{layoutData:t,children:[(0,n.jsx)(u.Z,{left:{label:e("Attivit\xe02")},divider:!1}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(a.Z,{})}),(0,n.jsx)("div",{className:"grid grid-cols-1 nm:grid-cols-2 lg:grid-cols-4 gap-x-5 gap-y-24 mb-24 mt-12",children:t.activities.length>0?t.activities.map(function(i,r){if(null==i?void 0:i.url)return(0,n.jsx)("div",{className:"col-span-1",children:(0,n.jsx)(o.Z,{header:{title:(0,h.Z)(i.data.title),eventType:e("Attivit\xe02"),additional_info:(0,h.Z)(i.data.additional_informations)},image:i.data.cover_image,slug:i.url,locale:null==t?void 0:t.locale})},r)}):(0,n.jsx)("div",{className:"col-span-4 text-center my-10 text-lg leading-6 text-grey-1 mb-62",children:e("Nessun risultato")})})]})]})}},30493:function(t,e,i){"use strict";i.d(e,{D:function(){return l}});var n=i(96341),r=i(73241);let l=(t,e={})=>t&&(0,r.S$)(t)?(0,n.KV)(t.url,e):null},90720:function(t,e,i){"use strict";i.d(e,{S:function(){return r}});let n=(t,e=" ")=>{let i="";for(let n=0;n<t.length;n++)"text"in t[n]&&(i+=(i?e:"")+t[n].text);return i},r=(t,e)=>t?n(t,e):null},73241:function(t,e,i){"use strict";i.d(e,{S$:function(){return r}});let n=t=>null!=t,r=t=>n(t)&&!!t.url,l=t=>n(l)&&!!t},96341:function(t,e,i){"use strict";i.d(e,{KV:function(){return r}});let n=t=>t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`),r=(t,e)=>{let i=new URL(t);for(let r in e){let l=n(r),s=e[r];void 0===s?i.searchParams.delete(l):Array.isArray(s)?i.searchParams.set(l,s.join(",")):i.searchParams.set(l,`${s}`)}let a=i.searchParams.get("s");return a&&(i.searchParams.delete("s"),i.searchParams.append("s",a)),i.toString()}}},function(t){t.O(0,[1606,9613,6540,9774,2888,179],function(){return t(t.s=67312)}),_N_E=t.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.