1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:weroad":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d8eeb4a8-a79b-4905-9b72-607d179fa30d`,e._sentryDebugIdIdentifier=`sentry-dbid-d8eeb4a8-a79b-4905-9b72-607d179fa30d`)}catch{}})();import{s as e}from"./C1Cn6SRa.js";import{a as t,i as n,s as r}from"./DCYZaPRN2.js";function i(t){let n=t||e();return{getImaginaryById:(e,t=`webp-medium`)=>`https://${n.public.appEnvironment===`production`?``:`staging-`}strapi-imaginary.weroad.it/resource/${t}/${e}`}}var a=35,o=[`:`,`;`,` - `,`?`],s=`DD-MM-YYYY`,c=`MM-DD-YYYY`,l=e=>o.reduce((t,n)=>{let r=e.indexOf(n);return r<0?t:t===null?r:Math.min(t,r)},null),u=e=>{let t=l(e);return t===null?e:e.slice(0,t).trim()},d=e=>{if(e.length<=a)return e;if(e[a]===` `)return e.slice(0,a).trim();let t=e.lastIndexOf(` `,a);return t>0?e.slice(0,t).trim():e};function f(e){let t=e.trim();return t.length<=a?t:d(u(t))}var p=e=>e===`US`?c:s;function m({event:e,$config:a,$dayjs:o}){if(!e)return{};let{getImaginaryById:s}=i(a),c=e.status===`ENDED`,l=e.venueCity||``,u=o(e.startAt).format(p(e.venueCountryCode)),d=f(e.title),m=`description`in e&&e.description||e.title,h=_(e,a.public.market),g=n(a.public),v=r(s(e.imageId,`webp`),g),y=`${d} ${l} ${u} | WeMeet`,b={it:`${d} a ${l}, unisciti alla community di WeMeet e conosci nuovi amici con cui condividere le tue passioni.`,en:`${d} in ${l}, join the WeMeet community and meet new friends who share your passions.`,fr:`${d} à ${l}, rejoins la communauté de WeMeet et rencontre de nouveaux amis avec qui partager tes passions.`,es:`${d} en ${l}, únete a la comunidad de WeMeet y conoce nuevos amigos con quienes compartir tus pasiones.`,de:`${d} in ${l}
1, Werde Teil der WeMeet-Community und lerne neue Freunde kennen, die deine Leidenschaften teilen.`},x=b[a.public.language]||b.en||``;return{title:y,meta:[...c?[{name:`robots`,content:`noindex, nofollow`,tagPriority:25}]:[],{name:`description`,content:x,tagPriority:25},{property:`og:title`,content:y,tagPriority:25},{property:`og:description`,content:x,tagPriority:25},{property:`og:image`,content:v,tagPriority:25},{property:`og:url`,content:h,tagPriority:25},{property:`og:type`,content:`event`,tagPriority:25},...t({title:y,description:x,image:v,url:h})],link:c?[]:[{rel:`canonical`,href:h,tagPriority:25}],script:[{type:`application/ld+json`,innerHTML:{"@context":`https://schema.org`,"@type":`Event`,name:e.title,startDate:e.startAt,endDate:e.endAt,description:m,eventStatus:e.status===`CANCELLED`?`EventCancelled`:`EventScheduled`,url:h,location:{"@type":`Place`,name:e.venueName,address:{"@type":`PostalAddress`,streetAddress:e.venueFormattedAddress,addressLocality:l,addressCountry:e.venueCountryCode},geo:{"@type":`GeoCoordinates`,latitude:e.venueLatitude,longitude:e.venueLongitude}},image:[v],...e.organizer&&{organizer:{"@type":`Person`,givenName:e.organizer.firstName,familyName:e.organizer.lastName,name:`${e.organizer.firstName} ${e.organizer.lastName}`}},isAccessibleForFree:!e.price,offers:{"@type":`Offer`,price:e.price||0,priceCurrency:e.currencyCode||`EUR`,availability:e.status===`SOLD_OUT`?`SoldOut`:`InStock`,validFrom:e.createdAt,validThrough:e.rsvpCloseAt},eventAttendanceMode:`OfflineEventAttendanceMode`}}]}}function h({events:e=[],$config:n,$dayjs:r,$i18n:i}){let a=i.t(`wemeet.SEO_TITLE`),o=i.t(`wemeet.SEO_DESCRIPTION`),s=`${n.public.frontendUrl}${i.localePath({name:`wemeet-events`})}`;return{title:a,meta:[{name:`robots`,content:`index, follow`,tagPriority:25},{name:`description`,content:o,tagPriority:25},{property:`og:title`,content:a,tagPriority:25},{property:`og:description`,content:o,tagPriority:25},...t({title:a,description:o})],link:[{rel:`canonical`,href:s,tagPriority:25}],script:[{type:`application/ld+json`,innerHTML:{"@context":`https://schema.org`,"@type":`ItemList`,name:a,description:o,numberOfItems:e.length,itemListElement:e.map((e,t)=>({"@type":`ListItem`,position:t+1,item:{...m({event:e,$config:n,$dayjs:r}).script?.[0]?.innerHTML,context:void 0}}))}}]}}var g=e=>{let t=!!e&&typeof e==`object`&&`path`in e&&e.path;return typeof t==`string`&&t.startsWith(`/wemeet`)},_=(e,t)=>{let n=e.websiteUrl?.[t]||e.websiteUrl?.WE||``;try{let e=new URL(n),t=e.pathname.startsWith(`/wemeet`)?e.pathname:`/wemeet${e.pathname}`;return`${e.origin}${t}`}catch{return n}};export{i as a,g as i,_ as n,h as r,m as t};
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.