1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[3990],{40684:function(n,t,e){e.d(t,{Cn:function(){return u},HY:function(){return c},rS:function(){return s}});var r=e(6576),i=e(46420),o=e(52825),a=function(n){if((0,o.A)(n)){var t,e=null===(t=n.visit_category)||void 0===t?void 0:t.list;return(0,r.W)(null!=e?e:[-1],"venue")}var i=n.categories.main.id;return(0,r.W)([null!=i?i:0],"event")},c=function(n){var t,e,r=null===(t=n.media)||void 0===t?void 0:t.find((function(n){return"photo"===n.type}));if(r)return r;var i=null===(e=n.media)||void 0===e?void 0:e.find((function(n){return"poster"===n.type}));return i||a(n)},u=function(n){var t,e;return null!==(t=n.media)&&void 0!==t&&t.find((function(n){return"photo"===n.type}))?n.media.filter((function(n){return"photo"===n.type})):null!==(e=n.media)&&void 0!==e&&e.find((function(n){return"poster"===n.type}))?n.media.filter((function(n){return"poster"===n.type})):[a(n)]},s=function(n){return n.media&&n.media[0]&&n.media.find((function(n){return"photo"===n.type||"poster"===n.type}))?n.media.filter((0,i.A)("type",["poster","photo"])).sort((function(n,t){return("poster"===n.type?-1:1)-("poster"===t.type?-1:1)})):[a(n)]}},6576:function(n,t,e){e.d(t,{W:function(){return u}});var r,i=e(64467),o="/content/dam/visitbrussels/illustrations/default-category-images/",a=(r={},(0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)(r,-1,"".concat(o,"venue%20default%20image.svg")),289,"".concat(o,"Loisirs.svg")),294,"".concat(o,"Auberge%20de%20jeunesse.svg")),296,"".concat(o,"Bars%20and%20Cafes.svg")),293,"".concat(o,"Bed%20and%20breakfast.svg")),297,"".concat(o,"Breakfast.svg")),426,"".concat(o,"Galleries%20and%20contemporary%20art%20center.svg")),288,"".concat(o,"Guided%20tours.svg")),292,"".concat(o,"Hotels.svg")),304,"".concat(o,"Incentives%20and%20Team%20building.svg")),(0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)(r,300,"".concat(o,"Live%20Music.svg")),299,"".concat(o,"Night%20leisure.svg")),291,"".concat(o,"Market.svg")),302,"".concat(o,"Meeting%20Venues.svg")),285,"".concat(o,"Monuments%20and%20Sites.svg")),284,"".concat(o,"Museums%20and%20Visits.svg")),298,"".concat(o,"Nightclubs.svg")),303,"".concat(o,"Professional%20service%20providers.svg")),295,"".concat(o,"Restaurants.svg")),290,"".concat(o,"Shopping.svg")),(0,i.A)((0,i.A)(r,287,"".concat(o,"Spectacle.svg")),458,"".concat(o,"Hotels.svg"))),c={90:"".concat(o,"Animation.svg"),58:"".concat(o,"Cinema.svg"),57:"".concat(o,"Clubbing.svg"),1:"".concat(o,"Concert.svg"),73:"".concat(o,"Courses%20and%20workshops.svg"),84:"".concat(o,"Divers.svg"),172:"".concat(o,"School.svg"),23:"".concat(o,"Exhibition.svg"),118:"".concat(o,"Festival.svg"),70:"".concat(o,"Fairs%20and%20shows.svg"),71:"".concat(o,"Market.svg"),254:"".concat(o,"Meeting.svg"),12:"".concat(o,"Spectacle.svg"),74:"".concat(o,"Sport.svg"),49:"".concat(o,"Theatre.svg"),102:"".concat(o,"Guided%20tours.svg"),72:"".concat(o,"Conferences%20and%20conventions.svg")},u=function(n,t){var e=void 0;if("event"===t)e=c[n[0]];else if("venue"===t){var r=n.find((function(n){return n in a}));e=r?a[r]:a[-1]}return{type:"photo",link:e||"/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}}},46420:function(n,t){t.A=function(n,t){return function(e){return Array.isArray(t)?t.some((function(t){return e[n]===t})):e[n]===t}}},52825:function(n,t){t.A=function(n){return!("place"in n)}},58612:function(n,t,e){function r(n,t){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!e){if(Array.isArray(n)||(e=function(n,t){if(n){if("string"==typeof n)return i(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(n,t):void 0}}(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},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(){e=e.call(n)},n:function(){var n=e.next();return c=n.done,n},e:function(n){u=!0,a=n},f:function(){try{c||null==e.return||e.return()}finally{if(u)throw a}}}}function i(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}e.d(t,{BQ:function(){return d},Kw:function(){return s},QD:function(){return f},V9:function(){return v},d6:function(){return l},mZ:function(){return h},xf:function(){return g}});var o=new Event("urlupdate"),a=function(n){return""===n.toString()?window.location.pathname:window.location.pathname+"?"+n.toString()},c=function(n){var t=document.querySelector('link[rel="canonical"]');t&&t instanceof HTMLLinkElement&&(t.href=n,history.pushState(null,"",n))},u=function(n){var t=document.getElementsByClassName("cmp-language-navigation__item-link");Array.from(t,(function(t){if(t instanceof HTMLAnchorElement&&""!==t.href){var e=new URL(t.href);e.search=n,t.setAttribute("href",e.toString())}}))},s=function(n,t){if("URLSearchParams"in window){var e=new URLSearchParams(window.location.search),r=a(e);e.append(n,"string"==typeof t?t:t.toString());var i=a(e);u(e.toString()),i!==r&&c(i),window.dispatchEvent(o)}},f=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("URLSearchParams"in window){var e=new URLSearchParams(window.location.search),r=a(e);e.delete(n),t&&t.forEach((function(t){"number"==typeof t&&(t=t.toString()),e.append(n,t)}));var i=a(e);u(e.toString()),i!==r&&c(i),window.dispatchEvent(o)}},l=function(n){return"URLSearchParams"in window?new URLSearchParams(window.location.search).getAll(n):[]},v=function(n,t){var e=l(n);e.includes(t)?(e=e.filter((function(n){return n!==t})),f(n,e)):s(n,t)},d=function(n){if("URLSearchParams"in window){var t=new URLSearchParams(window.location.search);if(t.values().next().done)return!0;var e,i=r(n);try{for(i.s();!(e=i.n()).done;){var o=e.value;if(t.has(o))return!1}}catch(n){i.e(n)}finally{i.f()}}return!0},g=function(n){if("URLSearchParams"in window){var t=new URLSearchParams(window.location.search),e=a(t);
1n.forEach((function(n){t.delete(n)}));var r=a(t);u(t.toString()),r!==e&&c(r),window.dispatchEvent(o)}},h=function(n,t){var e={},r=new URL(n),i=r.searchParams;return t||(t=Array.from(i.keys())),t.forEach((function(n){var t=i.get(n);t&&(e[n]=t,i.delete(n))})),r.search=i.toString(),[r.toString(),e]}},42868:function(n,t,e){e.d(t,{X:function(){return i}});var r=e(72007),i=function(n){var t;return null!=n&&null!==(t=n.image)&&void 0!==t&&t.url?{path:n.image.url,alt:n.image.description}:(0,r.kf)(n)}},20554:function(n,t,e){e.d(t,{A:function(){return c}});var r=e(6934),i=["src","alt","srcset","width","height"];var o=e(42868),a=(0,r.pM)({name:"TicketingEventImage",props:{imageContext:{type:Object,required:!0}},setup:function(n){return{imageToBeDisplayed:(0,o.X)(n.imageContext)}}});var c=(0,e(66262).A)(a,[["render",function(n,t,e,o,a,c){return n.imageToBeDisplayed?((0,r.uX)(),(0,r.CE)("img",{key:0,src:n.imageToBeDisplayed.path,alt:n.imageToBeDisplayed.alt||"",srcset:n.imageToBeDisplayed.srcset,width:n.imageToBeDisplayed.width,height:n.imageToBeDisplayed.height,loading:"lazy"},null,8,i)):(0,r.Q3)("v-if",!0)}]])}}]);
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.