1import{r as W}from"./R9Lzz9uY.js";import{as as g,cs as C,bF as R,ct as O,aR as x,cu as V,u as w,bw as X,f as F,cv as G}from"./CL0DlyPM.js";const D=1200,L=675,K="image/jpeg",J={"16x9":{width:D,height:L,tr:"w-1200,h-675,fo-auto,f-jpg"},"4x3":{width:1200,height:900,tr:"w-1200,h-900,fo-auto,f-jpg"},"1x1":{width:1200,height:1200,tr:"w-1200,h-1200,fo-auto,f-jpg"},logo:{width:512,height:512,tr:"w-512,h-512,c-at_max,f-png"}};function Y(e){try{const t=new URL(e).hostname;return t==="ik.imagekit.io"||t.endsWith(".imagekit.io")}catch{return!1}}function Q(e,t){if(!e)return null;if(!Y(e))return e;try{const n=new URL(e);return n.searchParams.has("tr")?e:(n.searchParams.set("tr",t),n.toString())}catch{return e}}function Z(e,t){return Q(e,J[t].tr)}function ee(e){const t=e.coverUrl?.trim()||null,n=e.profileUrl?.trim()||null;return{previewUrl:t,photoUrl:t||n,logoUrl:n}}const T=[{hash:"vwChmnWGnejntl45tw-8T-eXLm5DkaV3YXjpHEu6Jow",pascalName:"OgImageEntityCardTakumi",kebabName:"og-image-entity-card-takumi",path:"/app/app/components/OgImage/EntityCard.takumi.vue",category:"app",renderer:"takumi",propNames:["title","description","siteName"]},{hash:"",pascalName:"BlogPostTakumi",kebabName:"blog-post-takumi",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"takumi",propNames:[]},{hash:"",pascalName:"BrutalistSatori",kebabName:"brutalist-satori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]},{hash:"",pascalName:"DocsTakumi",kebabName:"docs-takumi",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"takumi",propNames:[]},{hash:"",pascalName:"FrameSatori",kebabName:"frame-satori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]},{hash:"",pascalName:"NuxtSatori",kebabName:"nuxt-satori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]},{hash:"",pascalName:"NuxtSeoSatori",kebabName:"nuxt-seo-satori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]},{hash:"",pascalName:"NuxtSeoTakumi",kebabName:"nuxt-seo-takumi",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"takumi",propNames:[]},{hash:"",pascalName:"PergelSatori",kebabName:"pergel-satori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]},{hash:"",pascalName:"ProductCardTakumi",kebabName:"product-card-takumi",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"takumi",propNames:[]},{hash:"",pascalName:"SaaSSatori",kebabName:"saa-ssatori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]},{hash:"",pascalName:"SimpleBlogSatori",kebabName:"simple-blog-satori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]},{hash:"",pascalName:"UnJsSatori",kebabName:"un-js-satori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]},{hash:"",pascalName:"WithEmojiSatori",kebabName:"with-emoji-satori",path:"/app/node_modules/.pnpm/[email protected]_6e1326677d6ebf45f6e1797f4774960f/node_modules/nuxt-og-image/dist/runtime/app/components/Templates/Community",category:"community",renderer:"satori",propNames:[]}],te=200,ne=/=/g,oe=/\+/g,ae=/\//g,re=/_/g,ie=/%20/g,se=/[^\u0000-\u007F]/,ce={w:"width",h:"height",c:"component",em:"emojis",k:"key",a:"alt",u:"url",cache:"cacheMaxAgeSeconds",p:"_path",q:"_query",ch:"_componentHash"},me=Object.fromEntries(Object.entries(ce).map(([e,t])=>[t,e])),pe=new Set(["satori","resvg","sharp","screenshot","takumi","fonts","_query","_path"]);function b(e){let t;if(typeof btoa=="function"){const n=new TextEncoder().encode(e),o=String.fromCharCode(...n);t=btoa(o)}else t=Buffer.from(e,"utf8").toString("base64");return t.replace(ne,"").replace(oe,"-").replace(ae,"~")}function ue(e){let t=0;for(let n=0;n<e.length;n++){const o=e.charCodeAt(n);t=(t<<5)-t+o,t=t&t}return Math.abs(t).toString(36)}function le(e,t,n){const{_path:o,_hash:r,...a}=e;return ue(JSON.stringify(a))}function ge(e,t){const n=[],o={};for(const[r,a]of Object.entries(e))if(r==="props"&&typeof a=="object")for(const[s,i]of Object.entries(a))i!=null&&(typeof i=="string"||typeof i=="number"||typeof i=="boolean"?o[s]=i:(o.props=o.props||{},o.props[s]=i));else o[r]=a;for(const[r,a]of Object.entries(o)){if(a==null||a===""||r==="extension"||r==="socialPreview"||r
1==="_path"&&a==="/"||r==="_query"&&typeof a=="object"&&Object.keys(a).length===0||t&&r in t&&t[r]===a&&r!=="component")continue;const s=me[r]||r;if(pe.has(r)){const i=JSON.stringify(a);if(i==="{}")continue;const m=b(i);n.push(`${s}_${m}`)}else if(typeof a=="object"){const i=JSON.stringify(a);if(i==="{}")continue;const m=b(i);n.push(`${s}_${m}`)}else{const i=String(a);if(se.test(i))n.push(`${s}_~${b(i)}`);else{const m=i.startsWith("~")?`~${i}`:i,u=encodeURIComponent(m.replace(re,"__")).replace(ie,"+");u.includes("%")?n.push(`${s}_~${b(i)}`):n.push(`${s}_${u}`)}}}return n.join(",")}function fe(e,t="png",n=!1,o,r){const a=ge(e,o),s=n?"/_og/s":"/_og/d";if(n&&(a.length>te||a.includes("%"))){const u=le(e);return{url:`${s}/o_${u}.${t}`,hash:u}}return{url:`${s}/${a||"default"}.${t}`}}const he=/-([a-z])/g;function N(e,t){const n=t.key||"og",o=n==="twitter",r=n==="og"||n==="twitter",a=[];return o||(a.push({property:"og:image",content:e}),a.push({property:"og:image:type",content:()=>`image/${_e(g(e))||t.extension}`})),r&&(a.push({name:"twitter:card",content:"summary_large_image"}),a.push({name:"twitter:image",content:e}),a.push({name:"twitter:image:src",content:e})),t.width&&(o||a.push({property:"og:image:width",content:t.width}),r&&a.push({name:"twitter:image:width",content:t.width})),t.height&&(o||a.push({property:"og:image:height",content:t.height}),r&&a.push({name:"twitter:image:height",content:t.height})),t.alt&&(o||a.push({property:"og:image:alt",content:t.alt}),r&&a.push({name:"twitter:image:alt",content:t.alt})),a}function j(e){return["url","extension","width","height","alt","props","renderer","component","emojis","_query","_hash","fonts","satori","resvg","sharp","screenshot","takumi","cacheMaxAgeSeconds","cacheKey","key"].includes(e)}function de(e,t=[]){e=e||{};const n=C(e.props,Object.fromEntries(Object.entries({...e}).filter(([a])=>!j(a)&&!t.includes(a)))),o={};Object.entries(n).forEach(([a,s])=>{o[a.replace(he,i=>String(i[1]).toUpperCase())]=s});const r=Object.fromEntries(Object.entries({...e}).filter(([a])=>j(a)||t.includes(a)));return Object.keys(o).length>0&&(r.props=o),r}function ye(e){return e.split("?")[0]}function _e(e){e=ye(e);const t=e.split("/").pop()||e,n=t.split(".").pop()||t;return n==="jpg"?"jpeg":n}const I=new WeakMap;function S(e,t,n){let o;try{const a=V();a&&(o=I.get(a),o||(o=new Map,I.set(a,o)))}catch{}o?.get(e)?.dispose();const r=w(t,n);r&&o&&o.set(e,r)}function be(e){const t=g(e);
1if(t===!1)return!1;const n=t;if(n.width&&(n.width=g(n.width)),n.height&&(n.height=g(n.height)),n.alt&&(n.alt=g(n.alt)),n.url&&(n.url=g(n.url)),n.props){n.props={...n.props};for(const o in n.props)n.props[o]=g(n.props[o])}return n}function Ne(e,t,n,o){const r=`${R("/",e,"_og/r",t)}.png`,a={};if(o)for(const[s,i]of Object.entries(o))s.startsWith("_og_")||(a[s]=i);return n==="twitter"&&(a._og_key="twitter"),Object.keys(a).length?O(r,a):r}function Se(e,t,n){const o=Array.isArray(e)?e:[e],r=x(),a=r.app.baseURL,s=r.public?.["nuxt-og-image"]||{},i=s.defaults||{},m=[];for(const u of o){const k=be(u);if(k===!1)continue;const p=k;for(const c in i)p[c]===void 0&&(p[c]=i[c]);t.query&&(p._query=t.query);const _=p.key||"og";if(p.url){const c=p.url;S(_,{meta:N(c,p)},{tagPriority:"high"}),m.push(c);continue}if(s.hasServerRuntime){const c=Ne(a,n,_,t.query);S(_,{meta:N(c,p)},{tagPriority:35}),m.push(c);continue}const l=de(C(p,i)),q=l.extension||i?.extension||"png",E={...l,_path:n},v=l.component||T?.[0]?.pascalName,A=T?.find(c=>c.pascalName===v||c.kebabName===v);A?.hash&&(E._componentHash=A.hash);const z=fe(E,q,!0,i),P=R("/",a,z.url),U=l._query&&Object.keys(l._query).length?O(P,{_query:l._query}):P;S(_,{meta:N(U,l)},{processTemplateParams:!0,tagPriority:35}),m.push(U)}return m}function $(e={}){const t=X(),n=F(),o=n.path||"/";return t.isHydrating?[]:Se(e,n,o)}function $e(e,t={},n={}){if(Array.isArray(t))return $(t.map(a=>({...a,component:e})));const o=t&&Object.keys(t).length>0?t:void 0;if(Array.isArray(n))return $(n.map(a=>{const s={...a,component:e};return o&&(s.props=a.props?{...o,...a.props}:{...o}),s}));const r={...n,component:e};return o&&(r.props=o),$(r)}const d="Poitiers",we=155,H="Nexus Poitiers";function xe(){const e=String(G().url||"").replace(/\/$/,"");return e||String(x().public.siteUrl||"").replace(/\/$/,"")}function h(e,t){const n=(t??xe()).replace(/\/$/,""),o=e.startsWith("/")?e:`/${e}`;return n?`${n}${o}`:o}function f(e){const t=x().public.imagekit?.url;return W(e,t)}function M(e,t=we){const n=e.replace(/\s+/g," ").trim();if(n.length<=t)return n;const o=n.slice(0,t-1),r=o.lastIndexOf(" ");return`${(r>40?o.slice(0,r):o).trimEnd()}â¦`}function y(e,t,n=[]){const o=[(e||"").trim()||t,...n.map(r=>(r||"").trim()).filter(Boolean)];return M(o.join(" "))}function B(e){return(e||"").trim()||d}function Ae(e){const t=B(e.addressLocality),n=`/places/${e.slug||e.id}`,o=`${e.name} à ${t} : horaires et événements`,r=`${e.name} à ${t}`,a=y(e.description,`Découvrez ${e.name} à ${t} sur Nexus.`,[`Adresse, horaires et prochains événements de ${e.name} à ${t}.`]),{previewUrl:s}=ee({coverUrl:f(e.coverImagePath),profileUrl:f(e.imagePath)}),i=Z(s,"16x9");return{title:o,h1:r,description:a,path:n,canonicalUrl:h(n),image:i,imageWidth:i?D:void 0,imageHeight:i?L:void 0,imageType:i?K:void 0}}function Pe(e){const t=`/artists/${e.slug||e.id}`,n=`${e.name} : concerts et événements à ${d}`,o=y(e.description,`Découvrez ${e.name}, artiste à ${d}.`,[`Retrouvez les concerts et événements de ${e.name} sur Nexus.`]);return{title:n,h1:e.name,description:o,path:t,canonicalUrl:h(t),image:f(e.imagePath)}}function Ue(e){const t=`/organizations/${e.slug||e.id}`,n=`${e.name} : événements à ${d}`,o=y(e.description,`Découvrez ${e.name}, organisation à ${d}.`,[`Retrouvez les événements de ${e.name} sur Nexus.`]);return{title:n,h1:e.name,description:o,path:t,canonicalUrl:h(t),image:f(e.imagePath)}}function ke(e){if(!e)return"";try{return new Intl.DateTimeFormat("fr-FR",{day:"numeric",month:"short",year:"numeric",timeZone:"Europe/Paris"}).format(new Date(e))}catch{return""}}function Te(e){const t=`/cities/${e.route}`,n=Math.max(0,e.upcomingEventCount??0),o=n===0?"les prochains événements":n===1?"1 événement à venir":`${n} événements à venir`,r=`Ãvénements à ${e.name}`,a=`Ãvénements à ${e.name}`,s=y(e.description,`Agenda des événements à ${e.name} sur Nexus.`,[n===0?`Concerts, sorties et culture à ${e.name}.`:`Découvrez ${o} à ${e.name}.`]);return{title:r,h1:a,description:s,path:t,canonicalUrl:h(t),image:f(e.imagePath)}}function je(e={}){const n="Agenda culturel à Poitiers et alentours",o="Agenda culturel à Poitiers et alentours",r=M(`${H} â concerts, soirées et sorties à Poitiers et alentours. Agenda culturel sur le web, iOS et Android.`);return{title:n,h1:o,description:r,path:"/",canonicalUrl:h("/")}}const Ie="6745799680",Ce="com.flashbakdev.nexus";function Re(e){const t=B(e.addressLocality||e.placeAddressLocality),n=ke(e.startDate),o=`/events/${e.slug||e.id}`,r=n?`${e.name} â ${n} à ${t}`:`${e.name} à ${t}`,a=y(e.description,`Découvrez ${e.name} à ${t} sur Nexus.`,[n?`Le ${n}.`:null,e.placeName?`Lieu : ${e.placeName}.`:null,e.organizationName?`Organisé par ${e.organizationName}.`:null]);return{title:r,h1:e.name,description:a,path:o,canonicalUrl:h(o),image:f(e.thumbnailPath)}}
1function Oe(e){const t=["image/jpeg","image/gif","image/png"].includes(e.imageType??"")?e.imageType:void 0;w({title:e.title,meta:[{name:"description",content:e.description},{property:"og:title",content:e.title},{property:"og:description",content:e.description},{property:"og:url",content:e.canonicalUrl},{property:"og:type",content:"website"},{property:"og:image",content:e.image||void 0},{property:"og:image:width",content:e.imageWidth},{property:"og:image:height",content:e.imageHeight},{property:"og:image:type",content:t},{name:"twitter:card",content:e.image?"summary_large_image":"summary"},{name:"twitter:title",content:e.title},{name:"twitter:description",content:e.description},{name:"twitter:image",content:e.image||void 0}]}),w({link:[{rel:"canonical",href:e.canonicalUrl}]}),e.image||$e("EntityCard",{title:e.name,description:e.entityLabel,siteName:H})}export{Ie as N,J as S,Oe as a,Pe as b,Te as c,Re as d,Ue as e,h as f,Ce as g,Ae as h,xe as i,je as j,B as p,ee as r,M as t,Z as w};
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.