1import{P as n,I as l,aE as i,a1 as v,aC as s,bk as o,av as f,aw as m}from"./BTuAF-fB.js";import{offerResolver as p}from"./B6HIMxwk.js";import{p as c,o as u}from"./CC1Ltj0S.js";import{placeResolver as g}from"./Do-q7YZ1.js";import{virtualLocationResolver as h}from"./BdBf7mW_.js";import"./BGE6skWX.js";import"./DHKiNHJv.js";import"./DMgvprDM.js";import"./DoKHYiTo.js";import"./0E8zCR9h.js";const R="#event",k=n({defaults:{"@type":"Event"},inheritMeta:["inLanguage","description","image",{meta:"title",key:"name"}],idPrefix:["url",R],resolve(t,r){if(t.location){const e=t.location==="string"||t.location?.url!=="undefined";t.location=s(t.location,r,e?h:g)}t.performer=s(t.performer,r,c,{root:!0}),t.organizer=s(t.organizer,r,u,{root:!0}),t.offers=s(t.offers,r,p),t.eventAttendanceMode&&(t.eventAttendanceMode=o(t.eventAttendanceMode,"https://schema.org/")),t.eventStatus&&(t.eventStatus=o(t.eventStatus,"https://schema.org/"));const a=t.eventStatus==="https://schema.org/EventMovedOnline";return["startDate","previousStartDate","endDate"].forEach(e=>{a?t[e]=m(t[e]):t[e]instanceof Date&&t[e].getHours()===0&&t[e].getMinutes()===0&&(t[e]=f(t[e]))}),i(t,"endDate",t.startDate),t},resolveRootNode(t,{find:r}){const a=r(l);a&&i(t,"organizer",v(a))}});export{R as PrimaryEventId,k as eventResolver,g as placeResolver,h as virtualLocationResolver};
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.