PageSourceSearch

https://www.brusselspride.eu/etc.clientlibs/visitbrussels/clientli…/resources/8631-8cc80677b7db6fdca2dc.js

js brusselspride.eu collected 2026-10-02 04:28:50 UTC 11,847 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[8631],{40684:function(t,e,n){n.d(e,{Cn:function(){return u},HY:function(){return c},rS:function(){return l}});var r=n(6576),o=n(46420),a=n(52825),i=function(t){if((0,a.A)(t)){var e,n=null===(e=t.visit_category)||void 0===e?void 0:e.list;return(0,r.W)(null!=n?n:[-1],"venue")}var o=t.categories.main.id;return(0,r.W)([null!=o?o:0],"event")},c=function(t){var e,n,r=null===(e=t.media)||void 0===e?void 0:e.find((function(t){return"photo"===t.type}));if(r)return r;var o=null===(n=t.media)||void 0===n?void 0:n.find((function(t){return"poster"===t.type}));return o||i(t)},u=function(t){var e,n;return null!==(e=t.media)&&void 0!==e&&e.find((function(t){return"photo"===t.type}))?t.media.filter((function(t){return"photo"===t.type})):null!==(n=t.media)&&void 0!==n&&n.find((function(t){return"poster"===t.type}))?t.media.filter((function(t){return"poster"===t.type})):[i(t)]},l=function(t){return t.media&&t.media[0]&&t.media.find((function(t){return"photo"===t.type||"poster"===t.type}))?t.media.filter((0,o.A)("type",["poster","photo"])).sort((function(t,e){return("poster"===t.type?-1:1)-("poster"===e.type?-1:1)})):[i(t)]}},9383:function(t,e,n){var r=n(40684),o=n(36897),a=n(52099),i=n(78166);e.A=function(t,e){return{type:"FeatureCollection",features:t.map((function(t){var n=(0,a.A)(t);return n?{type:"Feature",properties:{id:t.id,imageUrl:(0,i.J1)((0,r.HY)(t).link,"map-marker"),type:"venue",title:(0,o.Ay)(t.translations,e,"name")},geometry:{type:"Point",coordinates:[n.lon,n.lat]}}:null})).filter((function(t){return null!=t}))}}},6576:function(t,e,n){n.d(e,{W:function(){return u}});var r,o=n(64467),a="/content/dam/visitbrussels/illustrations/default-category-images/",i=(r={},(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)(r,-1,"".concat(a,"venue%20default%20image.svg")),289,"".concat(a,"Loisirs.svg")),294,"".concat(a,"Auberge%20de%20jeunesse.svg")),296,"".concat(a,"Bars%20and%20Cafes.svg")),293,"".concat(a,"Bed%20and%20breakfast.svg")),297,"".concat(a,"Breakfast.svg")),426,"".concat(a,"Galleries%20and%20contemporary%20art%20center.svg")),288,"".concat(a,"Guided%20tours.svg")),292,"".concat(a,"Hotels.svg")),304,"".concat(a,"Incentives%20and%20Team%20building.svg")),(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)(r,300,"".concat(a,"Live%20Music.svg")),299,"".concat(a,"Night%20leisure.svg")),291,"".concat(a,"Market.svg")),302,"".concat(a,"Meeting%20Venues.svg")),285,"".concat(a,"Monuments%20and%20Sites.svg")),284,"".concat(a,"Museums%20and%20Visits.svg")),298,"".concat(a,"Nightclubs.svg")),303,"".concat(a,"Professional%20service%20providers.svg")),295,"".concat(a,"Restaurants.svg")),290,"".concat(a,"Shopping.svg")),(0,o.A)((0,o.A)(r,287,"".concat(a,"Spectacle.svg")),458,"".concat(a,"Hotels.svg"))),c={90:"".concat(a,"Animation.svg"),58:"".concat(a,"Cinema.svg"),57:"".concat(a,"Clubbing.svg"),1:"".concat(a,"Concert.svg"),73:"".concat(a,"Courses%20and%20workshops.svg"),84:"".concat(a,"Divers.svg"),172:"".concat(a,"School.svg"),23:"".concat(a,"Exhibition.svg"),118:"".concat(a,"Festival.svg"),70:"".concat(a,"Fairs%20and%20shows.svg"),71:"".concat(a,"Market.svg"),254:"".concat(a,"Meeting.svg"),12:"".concat(a,"Spectacle.svg"),74:"".concat(a,"Sport.svg"),49:"".concat(a,"Theatre.svg"),102:"".concat(a,"Guided%20tours.svg"),72:"".concat(a,"Conferences%20and%20conventions.svg")},u=function(t,e){var n=void 0;if("event"===e)n=c[t[0]];else if("venue"===e){var r=t.find((function(t){return t in i}));n=r?i[r]:i[-1]}return{type:"photo",link:n||"/content/dam/visitbrussels/placeholder/defaultimg.svg",imgDefault:!0,translations:{fr:{title:"",copyright:""},nl:{title:"",copyright:""},en:{title:"",copyright:""},de:{title:"",copyright:""},it:{title:"",copyright:""},sp:{title:"",copyright:""}},ratio:1,width:500,height:500}}},63269:function(t,e,n){n.d(e,{S:function(){return a}});var r=n(57132),o=n(78166),a=function(t,e,n,a,i,c,u){switch(e){case"event":case"venue":case"page-template":t.classList.add("map-marker-wrapper");var l=document.createElement("img");l.src=(0,o.J1)(n,"map-marker"),l.alt="",t.appendChild(l);break;case"restaurant":t.classList.add("restaurant-marker-wrapper");break;case"district":t.classList.add("district-marker-wrapper");var s=document.createElement("span");s.innerHTML="".concat(a+1),t.appendChild(s);break;case"cluster":t.classList.add("mapCluster");var f=document.createElement("span");f.innerHTML="".concat(a),t.appendChild(f)}return new r.Dv({element:t}).setLngLat([i,c]).addTo(u)}},27152:function(t,e,n){n.d(e,{V:function(){return r}});var r=function(t){return"fr"===t||"nl"===t||"en"===t||"de"===t||"it"===t||"sp"===t?t:"en"}},46420:function(t,e){e.A=function(t,e){return function(n){return Array.isArray(e)?e.some((function(e){return n[t]===e})):n[t]===e}}},52099:function(t,e,n){var r=n(52825);e.A=function(t){return(0,r.A)(t)?t.location.lon&&t.location.lat?{lon:t.location.lon,lat:t.location.lat}:null:t.is_online?null!==(e=t.place.location)&&void 0!==e&&e.lat&&t.place.location.lon?{lat:t.place.location.lat,lon:t.place.location.lon}:null:t.place&&t.place.location&&t.place.location.lon&&t.place.location.lat?{lat:t.place.location.lat,lon:t.place.location.lon}:null;var e}},36897:function(t,e,n){n.d(e,{Ay:function(){return c},aH:function(){return d},dF:function(){return s},sl:function(){return f}});var r=n(3453),o=n(89394);function a(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
1if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return i(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw a}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e,n){var r,o,a,i,c,u,l,s=null===(r=t[e])||void 0===r?void 0:r[n];if(s)return s;var f=null===(o=t.en)||void 0===o?void 0:o[n];if(f)return f;var d=null===(a=t.fr)||void 0===a?void 0:a[n];if(d)return d;var v=null===(i=t.nl)||void 0===i?void 0:i[n];if(v)return v;var p=null===(c=t.sp)||void 0===c?void 0:c[n];if(p)return p;var m=null===(u=t.it)||void 0===u?void 0:u[n];if(m)return m;var g=null===(l=t.de)||void 0===l?void 0:l[n];return g||null}var u=["en","fr","nl","sp","it","de"],l=function(t){return(0,o.A)(new Set([t].concat(u)))},s=function(t,e){var n,r=a(l(e));try{for(r.s();!(n=r.n()).done;){var o=n.value,i=t.translations[o];if(i){var c="booking_url"in i?i.booking_url:i.boxoffice_url;if(c)return c}}}catch(t){r.e(t)}finally{r.f()}},f=function(t,e){var n=[[],!1];if(!t)return n;var r,o=a(l(e));try{for(o.s();!(r=o.n()).done;){var i=r.value;if(t[i]&&t[i].length>0&&t[i].every(Boolean))return[t[i],i===e]}}catch(t){o.e(t)}finally{o.f()}return n},d=function(t,e){var n,o=f(t,e);return null!==(n=(0,r.A)(o,1)[0][0])&&void 0!==n?n:""}},52825:function(t,e){e.A=function(t){return!("place"in t)}},82410:function(t,e,n){n.d(e,{A:function(){return c}});var r=n(6934);var o=n(63269),a=n(78166),i=(0,r.pM)({name:"MapboxClickableMarker",props:{lat:{type:Number},lng:{type:Number},map:{type:Object,required:!0},markerType:{type:String,required:!0,validator:function(t){return["venue","restaurant","district","event"].includes(t)}},image:{type:String,default:""},active:{type:Boolean},index:{type:Number}},emits:["marker-clicked"],setup:function(t,e){var n=e.emit,i=(0,r.KR)(),c=document.createElement("div");return(0,r.sV)((function(){t.lat&&t.lng&&(i.value=(0,o.S)(c,t.markerType,(0,a.J1)(t.image,"map-marker"),t.index||0,t.lng,t.lat,t.map),i.value.onClick((function(t){null==t||t.stopPropagation(),n("marker-clicked")})))})),(0,r.hi)((function(){var t;null===(t=i.value)||void 0===t||t.remove()})),(0,r.wB)((0,r.lW)(t,"active"),(function(){t.active?c.classList.add("active"):c.classList.remove("active")})),{marker:i}}});var c=(0,n(66262).A)(i,[["render",function(t,e,n,o,a,i){return(0,r.uX)(),(0,r.CE)("div")}]])},83589:function(t,e,n){n.d(e,{A:function(){return s}});var r=n(6934);var o=n(89394),a=n(63269),i=n(80816);function c(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return u(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var l=(0,r.pM)({name:"MapboxCluster",props:{map:{type:Object,required:!0},geoJsonData:{type:Object,required:!0},sourceId:{type:String,required:!0}
1,clusterMaxZoom:{type:Number,default:14},maxzoom:{type:Number,default:18}},emits:["marker-clicked","cluster-clicked"],setup:function(t,e){var n=e.emit;(0,r.sV)((function(){t.map.on("data",(function e(){t.map.isStyleLoaded()&&(!function(t,e,n,r,u,l){e.addSource(n,{type:"geojson",data:t,cluster:!0,maxzoom:l,clusterMaxZoom:u,clusterRadius:75}),e.addLayer({id:"clusters",type:"circle",source:n,filter:["has","point_count"],paint:{"circle-radius":0}});var s=new Map;function f(){var t,u=e.querySourceFeatures(n),d=[],v=c(u);try{var p=function(){var c=t.value,u=c.geometry,v=c.properties;if(v&&"Point"===u.type){var p=u.coordinates,m=v.id,g="cluster_".concat(v.cluster_id);if(v.cluster&&s.has(g))d.push(g);else if(v.cluster){var y=document.createElement("div"),h=(0,a.S)(y,"cluster","",v.point_count,p[0],p[1],e),A=[];e.getSource(n).getClusterLeaves(v.cluster_id,0,0,(function(t,e){t?(0,i.vV)(t):A.push.apply(A,(0,o.A)(e.map((function(t){var e=t.properties;return e?e.id:null})).filter((function(t){return null!=t}))))})),h.onClick((function(){e.getSource(n).getClusterExpansionZoom(v.cluster_id,(function(t,n){t||(e.easeTo({center:p,zoom:n,duration:300}),n>=l&&r("cluster-clicked",A),setTimeout((function(){f()}),400))}))})),d.push(g),s.set(g,y)}else if(s.has(m))d.push(m);else{var b=document.createElement("div");(0,a.S)(b,v.type,v.imageUrl,0,p[0],p[1],e).onClick((function(t){null==t||t.stopPropagation(),r("marker-clicked",m)})),d.push(m),s.set(m,b)}}};for(v.s();!(t=v.n()).done;)p()}catch(t){v.e(t)}finally{v.f()}s.forEach((function(t,e,n){-1===d.indexOf(e)&&(t.remove(),n.delete(e))}))}e.on("data",(function(t){t.sourceId===n&&t.isSourceLoaded&&(e.on("moveend",f),f())}))}
1(t.geoJsonData,t.map,t.sourceId,n,t.clusterMaxZoom,t.maxzoom),t.map.off("data",e))}))})),(0,r.wB)((0,r.lW)(t,"geoJsonData"),(function(){if(t.map){var e=t.map.getSource(t.sourceId);e&&"setData"in e&&e.setData(t.geoJsonData)}}))}});var s=(0,n(66262).A)(l,[["render",function(t,e,n,o,a,i){return(0,r.uX)(),(0,r.CE)("div")}]])}}]);

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.