PageSourceSearch

https://jck.nl/_nuxt/OsqTFvLk.js

js jck.nl collected 2026-10-01 11:34:03 UTC 5,439 bytes, 17 lines download raw bytes

1import{I as k,j as l,az as y,Q as S,al as g}from"./DSg5KMYM.js";var m={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Addresses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"site"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"globalSets"},arguments:[{kind:"Argument",name:{kind:"Name",value:"handle"},value:{kind:"StringValue",value:"addresses",block:!1}},{kind:"Argument",name:{kind:"Name",value:"site"},value:{kind:"Variable",name:{kind:"Name",value:"site"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"addresses_GlobalSet"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"address_Entry"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nameOfLocation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"streetAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:418}};m.loc.source={body:`query Addresses($site: [String]) {
2    globalSets(handle: "addresses", site: $site) {
3        ... on addresses_GlobalSet {
4            addresses {
5                ... on address_Entry {
6                    location
7                    nameOfLocation
8                    streetAddress
9                    postalCode
10                    city
11                    country
12                }
13            }
14        }
15    }
16}
17`,name:"GraphQL request",locationOffset:{line:1,column:1}};function u(e,n){if(e.kind==="FragmentSpread")n.add(e.name.value);else if(e.kind==="VariableDefinition"){var t=e.type;t.kind==="NamedType"&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(s){u(s,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(s){u(s,n)}),e.definitions&&e.definitions.forEach(function(s){u(s,n)})}var f={};(function(){m.definitions.forEach(function(n){if(n.name){var t=new Set;u(n,t),f[n.name.value]=t}})})();function v(e,n){for(var t=0;t<e.definitions.length;t++){var s=e.definitions[t];if(s.name&&s.name.value==n)return s}}function h(e,n){var t={kind:e.kind,definitions:[v(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=f[n]||new Set,o=new Set,d=new Set;for(s.forEach(function(i){d.add(i)});d.size>0;){var r=d;d=new Set,r.forEach(function(i){if(!o.has(i)){o.add(i);var a=f[i]||new Set;a.forEach(function(c){d.add(c)})}})}return o.forEach(function(i){var a=v(e,i);a&&t.definitions.push(a)}),t}h(m,"Addresses");async function A(){const e=await k(m);return l(e.data)}const b=y("addresses-store",{state:()=>({addresses:null}),getters:{getAddresses(){return this.addresses}},actions:{setAddresses({addresses:e}){this.addresses=e}}}),w=e=>{const n=l(e);S({script:[{type:"application/ld+json",children:JSON.stringify(n)}]})},N=e=>{if(e.eventType&&e.eventType[0])switch(e.eventType[0].slug){case"tentoonstelling":case"exhibition":return"ExhibitionEvent";case"activiteit-voor-kinderen":case"activity-for-children":return"ChildrensEvent";case"concert":return"MusicEvent";case"educatief-programma":case"edcuatief-programma":return"EducationEvent";default:return"Event"}return"Event"},L=async e=>{const n=g(),t=l(e.seomatic),s=JSON.parse(t.metaTagContainer);return{"@context":"https://schema.org","@type":N(e),name:e.title,startDate:e.dateRange?.start,endDate:e.dateRange?.end,description:s?.description?.content,url:e.url,image:e?.heroImages?.[0]?.url,location:await p(e,e.location),offers:{"@type":"Offer",url:`${n.public.baseURL}
17/tickets`}}},C=async(e,n)=>({"@context":"https://schema.org",...await p(e,n)}),p=async(e,n)=>{const t=b(),s=g(),o=l(e.seomatic),r=JSON.parse(o.metaSiteVarsContainer)?.identity;if(!t.getAddresses){const{data:c}=await A();t.setAddresses({addresses:c?.globalSets?.[0]?.addresses})}const i=t.getAddresses;if(!i)return;const a=i.find(c=>c.location===n);return{"@type":r.computedType,name:a?.nameOfLocation??r.genericName,url:s.public.baseURL,address:{"@type":"PostalAddress",streetAddress:a?.streetAddress??r.genericStreetAddress,addressLocality:a?.city??r.genericAddressLocality,postalCode:a?.postalCode??r.genericPostalCode,addressCountry:a?.country??r.genericAddressCountry}}},F=async e=>{const n=l(e.seomatic),t=JSON.parse(n.metaTagContainer);return JSON.parse(n.metaSiteVarsContainer),{"@context":"https://schema.org","@type":"Article",name:e.title,description:t?.description?.content,image:e?.heroImages?.[0]?.url,url:e.url,dateCreated:e.dateCreated,datePublished:e.postDate,publisher:await p(e)}},T=e=>({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(n=>({"@type":"Question",name:n.title,acceptedAnswer:{"@type":"Answer",text:n.content}}))});export{F as a,L as b,C as c,T as d,w as u};

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.