PageSourceSearch

https://www.hydro-international.com/_nuxt/CDnJz4jv.js

js hydro-international.com collected 2026-09-24 18:02:50 UTC 9,643 bytes, 1 lines download raw bytes

1import{_ as q}from"./CWL7uT5L.js";import{_ as X}from"./DVQdH1yh.js";import{N as U}from"./C2HfUrwY.js";import{aa as S,Q as s,at as f,aH as Y,a8 as o,aG as y,R as c,U as b,ar as H,T as p,S as i,ay as x,aJ as Z,aD as v,aE as $,a9 as m,b4 as tt,aI as et,aK as j,aP as st,aQ as D,aO as V,K as at,ax as L,h as it,B as T}from"./C4WeE3Fk.js";import{d as ot,S as nt}from"./DxBVscgT.js";import{P as rt}from"./D6M-9DSu.js";import{_ as lt}from"./DlAUqK2U.js";import{_ as ct}from"./liIxM5I_.js";import{_ as ut}from"./CE0c7p9j.js";import{_ as dt}from"./t5oQB_hi.js";import{A as _t}from"./CVwygGkx.js";import{P as z,u as mt}from"./CbbYGEtr.js";import{S as ht}from"./BfInQDYt.js";import{u as pt}from"./CTQiaVpv.js";import{u as gt}from"./DChienq3.js";import{u as xt}from"./BL7dc9oH.js";import"./BmEMWdpX.js";import"./DaT-yT0k.js";import"./kOtm_1pu.js";const ft={key:1,class:"text-sm text-center text-gray-900"},bt=S({__name:"ExhibitorTile",props:{exhibitor:{}},setup(a){const t=U;return(e,d)=>{const r=q;return s(),f(Y(a.exhibitor.profile?.path?o(t):"div"),{to:a.exhibitor.profile?.path,class:"bg-white rounded-lg shadow-lg shadow-gray-900/5 h-24 flex items-center justify-center p-4"},{default:y(()=>[a.exhibitor.logo?(s(),f(r,{key:0,src:a.exhibitor.logo.url,alt:a.exhibitor.name??"",class:"max-h-12 max-w-full"},null,8,["src","alt"])):(s(),c("span",ft,b(a.exhibitor.name),1))]),_:1},8,["to"])}}}),yt=Object.assign(bt,{__name:"ExhibitionExhibitorTile"}),vt={class:"section relative py-8 md:py-10"},wt={key:0,class:"absolute inset-x-0 top-0 bottom-0 overflow-hidden"},$t={class:"container relative"},kt={class:"md:grid grid-cols-6 gap-10"},Et={class:"col-span-3 flex flex-col space-y-6 md:pr-4"},Nt={class:"font-extrabold text-3xl text-white mb-4"},Pt={key:0,class:"text-lg text-gray-100 mt-4 mb-6"},Dt={key:1,class:"text-base text-gray-100 mt-4 mb-6"},St={key:0,class:"col-span-3 self-center mt-6 md:mt-0"},Ct={class:"pb-3 text-xs leading-4 font-semibold text-white"},It={class:"grid grid-cols-3 gap-4"},Lt={class:"grid grid-cols-3 gap-4"},Tt=16,Bt=S({__name:"Header",props:{exhibition:{}},setup(a){const t={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-2"},e=a,{locale:d}=H(),r=m(()=>e.exhibition.featuredExhibitors),g=m(()=>t[r.value.length]??"grid-cols-3"),_=m(()=>r.value.length>6?9:6),n=m(()=>Array.from({length:Math.ceil(r.value.length/_.value)||1},(w,h)=>r.value.slice(h*_.value,(h+1)*_.value))),l=m(()=>[e.exhibition.dateRange,e.exhibition.location].filter(Boolean).join(" - ")),E=m(()=>[{title:e.exhibition.title??""}]);return(w,h)=>{const C=q,N=X,k=yt,I=tt;return s(),c("section",vt,[a.exhibition.image?(s(),c("div",wt,[p(C,{src:a.exhibition.image.url,class:"h-full w-full object-cover opacity-80",alt:a.exhibition.image.name??""},null,8,["src","alt"]),h[0]||(h[0]=i("div",{class:"absolute inset-0 bg-gray-700/50"},null,-1)),h[1]||(h[1]=i("div",{class:"absolute inset-0 bg-linear-to-t from-gray-900"},null,-1))])):x("",!0),i("div",$t,[i("div",kt,[i("div",Et,[p(N,{items:o(E),scheme:"dark"},null,8,["items"]),i("div",null,[i("h1",Nt,b(a.exhibition.title),1),o(l)?(s(),c("p",Pt,b(o(l)),1)):x("",!0),a.exhibition.intro(o(d))?(s(),c("p",Dt,b(a.exhibition.intro(o(d))),1)):x("",!0)])]),a.exhibition.featuredExhibitors.length?(s(),c("div",St,[i("div",Ct,b(w.$t("Highlighted Exhibitors")),1),o(n).length===1?(s(),c("div",{key:0,class:Z(["grid gap-4",o(g)])},[(s(!0),c(v,null,$(o(r),u=>(s(),f(k,{key:u.id,exhibitor:u},null,8,["exhibitor"]))),128))],2)):(s(),f(I,{key:1},{fallback:y(()=>[i("div",Lt,[(s(!0),c(v,null,$(o(n)[0],u=>(s(),f(k,{key:u.id,exhibitor:u},null,8,["exhibitor"]))),128))])]),default:y(()=>[p(o(nt),{modules:[o(rt)],"slides-per-view":1,"space-between":Tt,pagination:{clickable:!0}},{default:y(()=>[(s(!0),c(v,null,$(o(n),(u,R)=>(s(),f(o(ot),{key:R},{default:y(()=>[i("div",It,[(s(!0),c(v,null,$(u,P=>(s(),f(k,{key:P.id,exhibitor:P},null,8,["exhibitor"]))),128))])]),_:2},1024))),128))]),_:1},8,["modules"])]),_:1}))])):x("",!0)])])])}}}),At=Object.assign(lt(Bt,[["__scopeId","data-v-caa362b4"]]),{__name:"ExhibitionHeader"}),jt={key:0,class:"widget bg-white rounded shadow p-8 mb-8"},Ot={class:"widget__title text-xl mb-6"},qt={class:"list-none ml-0 -mb-6"},Ht={class:"article flex"},Rt={key:0,class:"w-1/4"},Mt={class:"article__media bg-black rounded aspect-square relative mb-0"},Vt={class:"article__body flex-1 pl-4"},Ft={class:"article__header"},Qt={class:"article__title mb-1"},Ut={key:0,class:"article__meta text-xs"},zt={class:"article__date text-gray-500"},Gt=S({__name:"ProductSpotlight",props:{products:{},title:{default:void 0}},setup(a){const{t}=H(),e=a,d=m(()=>e.title??t("Product Spotlight"));return(r,g)=>{const _=q,n=U;return a.products.length?(s(),c("div",jt,[i("h3",Ot,b(o(d)),1),i("ul",qt,[(s(!0),c(v,null,$(a.products,l=>(s(),c("li",{key:l.id,class:"mb-6"},[i("article",Ht,[l.image?(s(),c("div",Rt,[i("figure",Mt,[p(n,{to:l.path,class:"absolute inset-0"},{default:y(()=>[p(_,{class:"article__image rounded h-full w-full object-cover",src:l.image.url,alt:l.image.name??l.image.filename,loading:"lazy"},null,8,["src","alt"])]),_:2},1032,["to"])])])):x("",!0),i("section",Vt,[i("header",Ft,[i("h6",Qt,[p(n,{to:l.path,class:"text-gray-900 hover:opacity-75 hover:no-underline"},{default:y(()=>
1[et(b(l.title),1)]),_:2},1032,["to"])]),l.publishedAt?(s(),c("div",Ut,[i("time",zt,b(("formatDate"in r?r.formatDate:o(j))(l.publishedAt,{style:"date"})),1)])):x("",!0)])])])]))),128))])])):x("",!0)}}}),Kt=Object.assign(Gt,{__name:"WidgetProductSpotlight"});class Wt extends st{intro(t){return D(this.extra.intro,t)??void 0}get location(){return D(this.extra.location)??void 0}get startDate(){return D(this.extra.start_date)??void 0}get endDate(){return D(this.extra.end_date)??void 0}get isEnded(){const t=this.endDate??this.startDate;return t?new Date(t)<new Date:!1}get dateRange(){const t=this.startDate,e=this.endDate;if(!t&&!e)return;const d=n=>j(n,{style:"day"}),r=n=>j(n,{style:"dayMonth"}).split(" ")[0],g=n=>n.slice(0,4),_=n=>`${d(n)} ${r(n)} ${g(n)}`;return!t||!e||t===e?_(t??e):g(t)!==g(e)?`${_(t)} - ${_(e)}`:r(t)===r(e)?`${d(t)}-${d(e)} ${r(e)} ${g(e)}`:`${d(t)} ${r(t)} - ${_(e)}`}get themes(){return this.related("themes",V)}get keywords(){return this.related("keywords",V)}get termIds(){return[...this.themes,...this.keywords].map(t=>t.id).filter(t=>t!==void 0)}get featuredProducts(){return this.related("featured_products",z)}get featuredExhibitors(){return this.related("featured_exhibitors",ht)}jsonLdType(){return"ExhibitionEvent"}}const B="exhibitions",F=[{key:"published_at",desc:!0}],O={id:!0,type:!0,title:!0,path:!0,excerpt:!0,starred_at:!0,published_at:!0,extra:!0,image:{id:!0,name:!0,filename:!0,description:!0,url:{__args:{width:800}}}},Q={...O,content:!0,image:{id:!0,name:!0,filename:!0,description:!0,url:!0},links:{id:!0,name:!0,source:{__on:[{__typeName:"Term",id:!0,title:!0,path:!0,__typename:!0},{__typeName:"Entry",id:!0,title:!0,path:!0,excerpt:!0,extra:!0,image:{id:!0,name:!0,filename:!0,url:{__args:{width:400}}},__typename:!0},{__typeName:"Company",id:!0,name:!0,url:!0,logo:{id:!0,name:!0,filename:!0,url:!0},profile:{id:!0,name:!0,path:!0},__typename:!0}]}}},Jt=()=>{const a=pt();return{query:({fields:t,...e})=>a.query({collection:B,sortBy:F,fields:{...O,...t},...e}),paginate:({fields:t,...e})=>a.paginate({collection:B,sortBy:F,fields:{...O,...t},...e}),find:({fields:t,...e})=>a.find({fields:{...Q,...t},...e}),spotlight:({fields:t,...e}={})=>a.query({collection:B,limit:1,sortBy:[{key:"starred_at",desc:!0}],where:[{column:"starred_at",operator:"IS_NOT_NULL"},{column:"visibility",operator:"EQ",value:"public"}],fields:{...Q,...t},...e})}},Xt={class:"section py-10 md:py-12 lg:py-16"},Yt={class:"container"},Zt={class:"flex flex-wrap -mx-4"},te={class:"w-full px-4 lg:w-2/3"},ee={key:1,class:"articles"},se={class:"flex flex-wrap -m-4"},ae={class:"w-full px-4 lg:w-1/3"},ie={class:"sidebar"},A=10,ke=S({__name:"[slug]",async setup(a){let t,e;const d=at(),{locale:r,t:g}=H(),{data:_}=([t,e]=L(()=>T(`exhibition:${d.path}`,()=>Jt().find({path:d.path,locale:r.value}))),t=await t,e(),t);if(!_.value||_.value.type!=="exhibitions")throw it({status:404,statusText:g("Page not found")});const n=m(()=>new Wt(_.value)),l=m(()=>[...n.value.themes,...n.value.keywords].map(u=>u.id).filter(u=>u!==void 0)),E=u=>[{relation:"links",where:[{column:"source_id",operator:"IN",value:u}]}],w=m(()=>Number(d.query.page??1)),{data:h}=([t,e]=L(()=>T(`exhibition:${d.path}:coverage`,()=>l.value.length?gt().paginate({collection:"articles, news",limit:A,offset:(w.value-1)*A,locale:r.value,has:E(l.value)}):Promise.resolve({data:[],total:0}),{watch:[r,l,w]})),t=await t,e(),t),{data:C}=([t,e]=L(()=>T(`exhibition:${d.path}:products`,()=>l.value.length?mt().query({limit:6,locale:r.value,has:E(l.value)}):Promise.resolve([]),{watch:[r,l]})),t=await t,e(),t),N=m(()=>(h.value?.data??[]).map(u=>new _t(u))),k=m(()=>(C.value??[]).map(u=>new z(u))),I=m(()=>Math.ceil((h.value?.total??0)/A));return xt(n),(u,R)=>{const P=At,G=ct,K=ut,W=dt,J=Kt;return s(),c(v,null,[p(P,{exhibition:o(n)},null,8,["exhibition"]),i("section",Xt,[i("div",Yt,[i("div",Zt,[i("div",te,[o(n).content?(s(),f(G,{key:0,content:o(n).content,class:"mb-10 prose-a:text-primary prose-a:no-underline prose-a:hover:underline"},null,8,["content"])):x("",!0),o(N).length?(s(),c("div",ee,[i("div",se,[(s(!0),c(v,null,$(o(N),M=>(s(),c("div",{key:M.id,class:"w-full p-4 md:w-1/2"},[p(K,{article:M},null,8,["article"])]))),128))])])):x("",!0),p(W,{"last-page":o(I),"current-page":o(w)},null,8,["last-page","current-page"])]),i("div",ae,[i("aside",ie,[p(J,{products:o(k)},null,8,["products"])])])])])])],64)}}});
1export{ke 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.