PageSourceSearch

https://polimi-daer.netlify.app/_nuxt/DvgVPDQT.js

js polimi-daer.netlify.app collected 2026-10-03 11:18:21 UTC 7,573 bytes, 74 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DVWHZFRh.js","./2Q_yzTNM.js","./9Xd6cuWF.js","./entry.BtvWjqjy.css","./DIk0FRcP.js","./BdJECWRY.js","./_ymgENoK.js","./D5r6120X.js","./index.CXWAfcFd.css","./CFAYApuH.js","./C4XV3zpS.js","./D36VyS6O.js","./D6LZrRHD.js","./EmbedVideo.C_lOxVvZ.css","./j9MeUL4G.js","./BHZMN7Na.js","./BNDvoG2n.js","./BWh7N0vN.js","./embla-carousel-vue.2gxbViRh.css","./DrWEQ12i.js"])))=>i.map(i=>d[i]);
2import{G as te,s as _e,o as a,c as A,t as d,y as de,a as i,b as m,u as o,i as v,w as $,a0 as ge,d as u,_,e as ce,f as pe,g as fe,h as ye,j as he,F as Z,r as ee}from"./9Xd6cuWF.js";import{_ as be}from"./D1P0lH3o.js";import{u as ve,_ as $e}from"./C4XV3zpS.js";import{_ as we}from"./ANoG68Tb.js";import Le from"./DxnoU_1Z.js";import{_ as Ce}from"./DgP0x6Lb.js";import{f as ke}from"./BzMcvfa4.js";import{g as ze}from"./CknQ-nFc.js";import{g as Ae}from"./DD0Ei5De.js";import{a as Ie,b as Ve}from"./KmnwYFv_.js";import"./BWh7N0vN.js";import"./BdJECWRY.js";import"./D-OD_o9X.js";import"./D36VyS6O.js";import"./D6LZrRHD.js";import"./DQm931gv.js";import"./DIk0FRcP.js";import"./C0-CF2LW.js";import"./BsA5NNek.js";import"./B9vp__-j.js";import"./2Q_yzTNM.js";import"./DVWHZFRh.js";const xe=u(()=>_(()=>import("./DVWHZFRh.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(t=>t.default||t)),Ee={class:"relative w-full"},Pe={class:"left-0 max-lg:bottom-m lg:bottom-l z-10 absolute w-full"},Se={class:"container component-container grid gap-xs"},Te={class:"text-white type-h2"},De={class:"group/action w-fit"},Be=["src","alt"],Oe={__name:"Hero",props:{image:String,imageAlt:String,embedVideo:String,title:String},setup(t){const w=ve(t.image),r=te(!1);return _e(r,()=>{r.value?document.body.style.overflow="hidden":document.body.style.overflow="auto"}),(c,l)=>{const I=xe,L=$e;return a(),A("section",Ee,[d("div",Pe,[d("div",Se,[d("h2",Te,de(t.title),1),d("span",De,[t.embedVideo?(a(),i(I,{key:0,clipped:"ltr",icon:"video",cta:c.$t("watchVideo"),class:"max-w-none",color:"white",onClick:l[0]||(l[0]=V=>r.value=!0)},null,8,["cta"])):m("",!0)])])]),l[2]||(l[2]=d("span",{class:"bg-gradient-overImage-fromBottom absolute left-0 top-0 w-full h-full"},null,-1)),d("img",{src:o(w),alt:t.image?t.imageAlt:"pattern",loading:"lazy",class:"object-cover w-full h-[calc(100svh_-_var(--header-h))] bg-accent"},null,8,Be),v(ge,{name:"embed-video-container"},{default:$(()=>[t.embedVideo&&o(r)?(a(),i(L,{key:0,src:t.embedVideo,onClick:l[1]||(l[1]=V=>r.value=!1)},null,8,["src"])):m("",!0)]),_:1})])}}},Re=u(()=>_(()=>import("./_ymgENoK.js"),__vite__mapDeps([6,2,3]),import.meta.url).then(t=>t.default||t)),Fe=u(()=>_(()=>import("./D5r6120X.js"),__vite__mapDeps([7,2,3,8]),import.meta.url).then(t=>t.default||t)),Qe=u(()=>_(()=>import("./CFAYApuH.js"),__vite__mapDeps([9,2,3,10,11,12,13]),import.meta.url).then(t=>t.default||t)),je=u(()=>_(()=>import("./j9MeUL4G.js"),__vite__mapDeps([14,2,3]),import.meta.url).then(t=>t.default||t)),qe=u(()=>_(()=>import("./BHZMN7Na.js"),__vite__mapDeps([15,16,17,2,3,18]),import.meta.url).then(t=>t.default||t)),He=u(()=>_(()=>import("./DrWEQ12i.js"),__vite__mapDeps([19,2,3]),import.meta.url).then(t=>t.default||t)),Ne={role:"main"},gt={__name:"[slug]",async setup(t){var P,S,T;let g,w;const{locale:r,t:c}=ce(),l=pe(),I=l.query.preview==="true",L=`{
3  ...,
4  embedVideo,
5  "bio": bio[$lang],
6  "title": title[$lang],
7  "content": content{
8    ${ze()}
9  },
10  previewImage {
11   asset->{
12    url,
13    "alt": altTexts[$lang],
14   }
15  },
16  video[]{
17    "title": title[$lang],
18    embedVideo,
19    image{
20      asset->{
21        url,
22        "alt": altTexts[$lang],
23      }
24    }
25  },
26  referent[]->{
27    first_name,
28    last_name,
29    "slug": "/${c("pages.staff")}/" + slug.current,
30    visible
31  },
32  staff[]->{
33    first_name,
34    last_name,
35    "slug": "/${c("pages.staff")}/" + slug.current,
36    visible
37  },
38  contacts[]{
39    href,
40    hrefCta
41  },
42  "magazineArticleLinks": *[_type=='magazineArticle' && references(^._id) && !(_id in path("drafts.**"))] | order(date desc){
43    "title": title[$lang],
44    "slug": "/magazine/" + slug[$lang].current,
45    date,
46    image {
47      asset->{
48        url,
49        "alt": altTexts[$lang],
50      }
51    }
52  },
53  ImagesCarousel{
54    slides[]{
55      asset->{
56        url,
57        "alt": altTexts[$lang],
58      }
59    }
60  },
61  asideContent[]{
62    listOptions,
63    "title": title[$lang],
64    people[]->{
65      "slug": "/${c("pages.staff")}/" + slug.current,
66      first_name,
67      last_name,
68      visible
69    },
70    texts[]{
71      ...
72    },
73  }
74}`,V=Ae`${I?Ie(L):Ve(L)}`,{data:e}=([g,w]=fe(()=>he(V,{docType:"labs",slug:l.params.slug,lang:r.value},{getCachedData:(s,E)=>{var C,k;return((C=E.payload.data)==null?void 0:C[s])??((k=E.static.data)==null?void 0:k[s])}})),g=await g,w(),g);e!=null&&e.value&&(l.meta.nuxtI18n={en:{slug:`${(P=e==null?void 0:e.value)==null?void 0:P.slug.en.current}`},it:{slug:`${(S=e==null?void 0:e.value)==null?void 0:S.slug.it.current}`}});const x=te((T=e==null?void 0:e.value)==null?void 0:T.title);return ye({title:x.value,meta:[{name:"twitter:title",content:x.value},{property:"og:title",content:x.value}]}),(s,E)=>{var D,B,O,R,F,Q,j;const C=be,k=Oe,ne=we,oe=Re,ae=Fe,se=Qe,le=je,ie=qe,re=Le,me=He,ue=Ce;return a(),A("main",Ne,[v(C,{links:[{href:`/${s.$t("pages.experimentalLabs")}`,hrefCta:s.$t("experimentalLabs")},{hrefCta:(D=o(e))==null?void 0:D.title}]},null,8,["links"]),v(k,{"embed-video":(B=o(e))==null?void 0:B.embedVideo,image:((O=o(e))==null?void 0:O.previewImage)&&s.$urlFor(o(e).previewImage).width(3e3).url(),"image-alt":(Q=(F=(R=o(e))==null?void 0:R.previewImage)==null?void 0:F.asset)==null?void 0:Q.alt,title:(j=o(e))==null?void 0:j.title},null,8,["embed-video","image","image-alt","title"]),v(ue,null,{aside:$(()=>{var p;return[v(ne,{asideContent:(p=o(e))==null?void 0:p.asideContent},null,8,["asideContent"])]}),page:$(()=>{var p,q,H,N,G,W,J,K,M,U,X;return[(p=o(e))!=null&&p.bio?(a(),i(oe,{key:0,content:(q=o(e))==null?void 0:q.bio},null,8,["content"])):m("",!0),(H=o(e))!=null&&H.content?(a(),i(ae,{key:1,blocks:(N=o(e))==null?void 0:N.content[o(r)]},null,8,["blocks"])):m("",!0),((W=(G=o(e))==null?void 0:G.video)==null?void 0:W.length)>=1?(a(),i(se,{key:2,title:"Video tutorial",tutorials:(J=o(e))==null?void 0:J.video},null,8,["tutorials"])):m("",!0),(K=o(e))!=null&&K.ImagesCarousel?(a(),i(ie,{key:3},{default:$(()=>{var f;return[(a(!0),A(Z,null,ee((f=o(e))==null?void 0:f.ImagesCarousel.slides,(n,z)=>{var y,h,b;return a(),i(le,{key:z,image:(n==null?void 0:n.asset)&&s.$urlFor(n).width(2e3).url(),imageAlt:n.asset.alt,layout:"full-width",slideIndex:z,totalSlides:(b=(h=(y=o(e))==null?void 0:y.ImagesCarousel)==null?void 0:h.slides)==null?void 0:b.length},null,8,["image","imageAlt","slideIndex","totalSlides"])}),128))]}),_:1})):m("",!0),(M=o(e))!=null&&M.magazineArticleLinks&&((X=(U=o(e))==null?void 0:U.magazineArticleLinks)==null?void 0:X.length)>0?(a(),i(me,{key:4,title:s.$t("magazineArticles")},{default:$(()=>{var f;return[(a(!0),A(Z,null,ee((f=o(e))==null?void 0:f.magazineArticleLinks,(n,z)=>{var y,h,b,Y;return a(),i(re,{key:z,image:(n==null?void 0:n.image)&&s.$urlFor((h=(y=n==null?void 0:n.image)==null?void 0:y.asset)==null?void 0:h.url).width(1800).url(),imageAlt:(Y=(b=n==null?void 0:n.image)==null?void 0:b.asset)==null?void 0:Y.alt,slug:n==null?void 0:n.slug,title:n==null?void 0:n.title,date:(n==null?void 0:n.date)&&("formatDate"in s?s.formatDate:o(ke))(n==null?void 0:n.date)},null,8,["image","imageAlt","slug","title","date"])}),128))]}),_:1},8,["title"])):m("",!0)]}),_:1})])}}};export{gt as default};

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.