PageSourceSearch

https://forums.launchbox-app.com/uploads/javascript_gallery/front_front_browse.js

js launchbox-app.com collected 2026-10-01 10:44:05 UTC 1,652 bytes, 5 lines download raw bytes

1;
2;(function(){"use strict";ips.controller.register('gallery.front.browse.carousel',{initialize(){this.carouselControls=this.scope[0].closest('[data-carousel-controls]');this.carousel=document.getElementById(this.carouselControls.dataset.carouselControls);if(this.carouselControls&&this.carousel.scrollWidth>this.carousel.clientWidth){this.showArrows();}else{return;}
3this.buttons=this.scope[0].querySelectorAll('[data-carousel-arrow]');this.buttons.forEach(button=>{button.addEventListener('click',this.scrollPanels);});},showArrows:function(){this.carouselControls.hidden=false;},scrollPanels:function(ev){let carouselControls=this.closest('[data-carousel-controls]'),carousel=document.getElementById(carouselControls.dataset.carouselControls),direction=this.dataset.carouselArrow,currentScroll=carousel.scrollLeft,scrollByVar=getComputedStyle(carousel).getPropertyValue('--carousel--scroll'),carouselChildWidth=carousel.firstElementChild.offsetWidth,scrollBy=scrollByVar*(carouselChildWidth);if(direction=='prev'){scrollBy=-scrollBy;}
4if(currentScroll=='0'&&direction=='prev'){carousel.scrollLeft=carousel.scrollWidth;}else if((currentScroll==carousel.scrollWidth-carousel.clientWidth)&&(direction=='next')){carousel.scrollLeft=0;}else{carousel.scrollLeft=currentScroll+scrollBy;}},});}());;
5;(function($,_,undefined){"use strict";ips.controller.register('gallery.front.browse.list',{initialize:function(){this.on('change','[data-role="moderation"]',this.selectImage);},selectImage:function(e){var row=$(e.currentTarget).closest('.cGalleryImageItem');row.toggleClass('cGalleryImageItem_selected',$(e.currentTarget).is(':checked'));}});}(jQuery,_));;

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.