PageSourceSearch

https://www.brusselspride.eu/etc.clientlibs/visitbrussels/clientli…/resources/3015-261accb02fe61700ed2f.js

js brusselspride.eu collected 2026-10-02 04:27:29 UTC 6,126 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[3015,5396,3332],{78479:function(e,n,r){var t=r(6934);n.A=function(e){var n={isCurrentSlide:!0};if(void 0===e)return n;var r=(0,t.WQ)("currentSlideIndex",void 0),o=(0,t.WQ)("visibleSlides",void 0);return r&&o?{isCurrentSlide:(0,t.EW)((function(){return e>=r.value&&e<r.value+o.value}))}:n}},51116:function(e,n,r){r.d(n,{P:function(){return i}});var t=r(6934),o=r(80816);function i(e,n){var r=(0,t.KR)(),i=(0,t.KR)(),u=(0,t.KR)(),l=(0,t.KR)(0),s=(0,t.KR)(3);return(0,t.sV)((function(){if(e.length>1&&r.value&&i.value)try{var t=n(r.value,i.value),a=t.getInfo(),d=a.items,c=a.slideCount;s.value=d,u.value=c,t.events.on("indexChanged",(function(e){l.value=e.index}))}catch(e){(0,o.H4)(e),i.value.classList.add("u-visually-hidden")}})),{sliderContainer:r,sliderControls:i,maxIndex:u,currentIndex:l,visibleSlides:s}}},13332:function(e,n,r){r.d(n,{JA:function(){return a},LP:function(){return d},Uh:function(){return l},Yz:function(){return i},a5:function(){return o},cB:function(){return c},qf:function(){return u},vs:function(){return s}});var t=r(65756),o=function(e,n,r){return(0,t.U)({container:e,prevButton:n,nextButton:r,slideBy:1,gutter:50,swipeAngle:!1,preventScrollOnTouch:"force",autoWidth:!0,mouseDrag:!0,lazyload:!0,loop:!1,center:!1,nav:!1,responsive:{800:{gutter:84}}})},i=function(e,n){return(0,t.U)({container:e,items:1.1,slideBy:1,controls:!0,controlsContainer:n,mouseDrag:!0,lazyload:!0,gutter:20,loop:!1,center:!0,nav:!1})},u=function(e,n){return(0,t.U)({container:e,items:1.1,slideBy:1,controls:!0,controlsContainer:n,mouseDrag:!0,gutter:20,center:!0,loop:!1,nav:!1,responsive:{768:{items:1.3}}})},l=function(e,n){return(0,t.U)({container:e,items:1,slideBy:1,loop:!1,controlsContainer:n,mouseDrag:!0,lazyload:!0,center:!0,nav:!1})},s=function(e,n,r){return(0,t.U)({container:e,items:1.1,slideBy:1,controls:!0,controlsContainer:n,lazyload:!0,gutter:20,loop:!1,center:!1,mouseDrag:!0,nav:!1,responsive:{768:{items:2.2},1100:{items:r+.1},1920:{items:r}}})},a=function(e,n,r){return(0,t.U)({container:e,controlsContainer:n,startIndex:r,slideBy:1,edgePadding:16,gutter:16,autoWidth:!0,mouseDrag:!0,controls:!1,lazyload:!0,loop:!1,center:!1,nav:!1,responsive:{1025:{edgePadding:0,controls:!0}}})},d=function(e,n){return(0,t.U)({container:n,startIndex:e,controls:!1,autoWidth:!0,gutter:13,mouseDrag:!0,loop:!1,lazyload:!0,nav:!1,center:!1,arrowKeys:!1})},c=function(e,n,r,o,i){return(0,t.U)({container:e,prevButton:n,nextButton:r,startIndex:o,navContainer:i,navAsThumbnails:!0,items:1,loop:!1,mouseDrag:!0,lazyload:!0,center:!0})}},13015:function(e,n,r){r.r(n),r.d(n,{default:function(){return _}});var t=r(6934),o={key:0,class:"cmp-carousel cmp-video-carousel cmp-carousel__hover"},i={class:"slider-video-item"},u={class:"slider-video-item__video"},l={key:0,class:"cmp-video-carousel__footer"},s={key:0,class:"cmp-video-carousel__carousel-index"},a={key:0,class:"cmp-video-carousel__controls",ref:"sliderControls"};var d=r(51116),c=r(13332),v=r(68019);var m=function(e){return/(youtube\.com|youtu\.be)/.test(e)?"YouTube":/(vimeo\.com)/.test(e)?"Vimeo":"Unsupported"},f=function(e){var n=e.split(/(vi\/|v%3D|v=|\/v\/|youtu\.be\/|\/embed\/|\/shorts\/)/);return void 0!==n[2]?n[2].split(/[^\w-]/i)[0]:n[0]},p=function(e){var n=e.match(/vimeo\.com\/(?:video\/)?(\d+)/i);return n?n[1]:""},y=r(78479),b=(0,t.$V)((function(){return r.e(1450).then(r.bind(r,11450))})),g=(0,t.$V)((function(){return r.e(4273).then(r.bind(r,44273))})),x=(0,t.pM)({name:"VideoFactory",components:{YoutubeVideo:b,VimeoVideo:g},props:{videoLink:{type:String,required:!0},cardIndex:{type:Number}},setup:function(e){var n=m(e.videoLink),r=(0,y.A)(e.cardIndex).isCurrentSlide;return"Unsupported"===n&&console.warn("Unsupported video source: ".concat(e.videoLink)),{videoSource:n,getYoutubeId:f,getVimeoId:p,isCurrentSlide:r}}}),C=r(66262);var k=(0,C.A)(x,[["render",function(e,n,r,o,i,u){var l=(0,t.g2)("YoutubeVideo"),s=(0,t.g2)("VimeoVideo");return"YouTube"===e.videoSource?((0,t.uX)(),(0,t.Wv)(l,{key:0,"youtube-id":e.getYoutubeId(e.videoLink),"disable-control
1s":!e.isCurrentSlide},null,8,["youtube-id","disable-controls"])):"Vimeo"===e.videoSource?((0,t.uX)(),(0,t.Wv)(s,{key:1,"vimeo-id":e.getVimeoId(e.videoLink),"disable-controls":!e.isCurrentSlide},null,8,["vimeo-id","disable-controls"])):(0,t.Q3)("v-if",!0)}]]);function h(e){return null!=e&&"string"==typeof e.url}var I=(0,t.pM)({name:"VideoCarousel",components:{VueButton:v.default,VideoFactory:k},props:{videoLinks:{type:Array,required:!0}},setup:function(e){var n=e.videoLinks,r=n.every(h)?n.reduce((function(e,n){var r=n.url;return"Unsupported"!==m(r)&&e.push(r),e}),[]):n,o=(0,d.P)(r,c.qf),i=o.sliderContainer,u=o.sliderControls,l=o.currentIndex,s=o.maxIndex,a=o.visibleSlides;return(0,t.Gt)("currentSlideIndex",l),(0,t.Gt)("visibleSlides",a),{sliderContainer:i,sliderControls:u,currentIndex:l,maxIndex:s,links:r}}});r(35272);var _=(0,C.A)(I,[["render",function(e,n,r,d,c,v){var m=(0,t.g2)("VideoFactory"),f=(0,t.g2)("VueButton");return e.links&&e.links.length?((0,t.uX)(),(0,t.CE)("div",o,[(0,t.Lk)("div",{class:(0,t.C4)(["cmp-carousel__container",1===e.links.length?"cmp-video-carousel__one-video":""]),ref:"sliderContainer"},[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(e.links,(function(n,r){return(0,t.uX)(),(0,t.CE)("div",{key:n},[(0,t.Lk)("div",i,[(0,t.Lk)("div",u,[(0,t.bF)(m,{"video-link":n,"card-index":r},null,8,["video-link","card-index"])]),r===e.currentIndex?((0,t.uX)(),(0,t.CE)("div",l,[e.links.length>1?((0,t.uX)(),(0,t.CE)("div",s,(0,t.v_)(e.currentIndex+1)+" / "+(0,t.v_)(e.maxIndex),1)):(0,t.Q3)("v-if",!0)])):(0,t.Q3)("v-if",!0)])])})),128))],2),e.links.length>1?((0,t.uX)(),(0,t.CE)("div",a,[(0,t.bF)(f,{disabled:0===e.currentIndex,class:"btn btn--icon-only btn--secondary",icon:"chevronLeft__small","aria-label":"Previous"},null,8,["disabled"]),(0,t.bF)(f,{disabled:e.currentIndex+1===e.maxIndex,class:"btn btn--icon-only btn--secondary",icon:"chevronRight__small","aria-label":"Next"},null,8,["disabled"])],512)):(0,t.Q3)("v-if",!0)])):(0,t.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.