PageSourceSearch

https://shop.libreo.ch/static/version1758721839/frontend/GaussDev/humanities/fr_FR/js/functions.min.js

js libreo.ch collected 2026-09-25 03:54:22 UTC 5,730 bytes, 2 lines download raw bytes

1require(['jquery','owlcarousel','fancybox'],function($){$(document).ready(function(){var isMobile={Android:function(){return navigator.userAgent.match(/Android/i);},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i);},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i);},Opera:function(){return navigator.userAgent.match(/Opera Mini/i);},Windows:function(){return navigator.userAgent.match(/IEMobile/i);},any:function(){return(isMobile.Android()||isMobile.BlackBerry()||isMobile.iOS()||isMobile.Opera()||isMobile.Windows());}};if(isMobile.any()){jQuery("body").addClass("mobileBrowser");}
2$(".top-categories .tile").each(function(){$(this).wrapInner("<div class='tile-inner'></div>")});$(document).on("click",".header-newsletter-toggle",function(e){e.preventDefault();$(this).parent().toggleClass("active");});$(document).mouseup(function(e){var container=$(".header-newsletter");if(!container.is(e.target)&&container.has(e.target).length===0){container.removeClass("active");}});$(document).on("click",".header-search-toggle",function(e){e.preventDefault();$(this).parent().toggleClass("active");});$(document).mouseup(function(e){var container=$(".header-search");if(!container.is(e.target)&&container.has(e.target).length===0){container.removeClass("active");}});$(document).on("click",".currency-toggle-custom",function(e){e.preventDefault();$(this).parent().toggleClass("active");});$(document).mouseup(function(e){var container=$(".currency-custom");if(!container.is(e.target)&&container.has(e.target).length===0){container.removeClass("active");}});jQuery(".cms-page-view .columns img").each(function(){var parent=jQuery(this).parent();if(parent.is('a')){if(!parent.parent().is('li')){parent.addClass('fancyboxSingle');parent.attr("rel","cms-single-img")}}});jQuery(".cms-no-route .columns img").each(function(){var parent=jQuery(this).parent();if(parent.is('a')){if(!parent.parent().is('li')){parent.addClass('fancyboxSingle');parent.attr("rel","cms-single-img")}}});jQuery(".post-content .post-description img").each(function(){var parent=jQuery(this).parent();if(parent.is('a')){if(!parent.parent().is('li')){parent.addClass('fancyboxSingle');parent.attr("rel","cms-single-img")}}});jQuery(".cms-page-view .columns ul.gallery a").each(function(){jQuery(this).addClass('fancybox');jQuery(this).attr("rel","gallery")});jQuery(".cms-no-route .columns ul.gallery a").each(function(){jQuery(this).addClass('fancybox');jQuery(this).attr("rel","gallery")});jQuery(".post-content .post-description ul.gallery a").each(function(){jQuery(this).addClass('fancybox');jQuery(this).attr("rel","gallery")});jQuery(".widget.block-static-block ul.gallery a").each(function(){jQuery(this).addClass('fancybox');jQuery(this).attr("rel","gallery")});jQuery('.fancybox').attr('rel','gallery').fancybox({padding:0,openEffect:'elastic',openSpeed:550,closeEffect:'elastic',closeSpeed:350,helpers:{title:null,overlay:{locked:true}}});jQuery('.fancyboxSingle').attr('rel','cms-single-img').fancybox({padding:0,openEffect:'elastic',openSpeed:550,closeEffect:'elastic',closeSpeed:350,helpers:{title:null,overlay:{locked:true}}});var $allVideos=jQuery("iframe[src*='//player.vimeo.com'], iframe[src*='youtube.com'], object, embed");var $allVideosAlt=jQuery("iframe[src*='//player.vimeo.com'], iframe[src*='youtube.com'], object");$allVideosAlt.each(function(){jQuery(this).wrapAll("<figure></figure>");});var $fluidEl=jQuery("figure");$allVideos.each(function(){jQuery(this).attr('data-aspectRatio',this.height / this.width).removeAttr('height').removeAttr('width');});jQuery(window).resize(function(){var newWidth=$fluidEl.width();$allVideos.each(function(){var $el=jQuery(this);$el.width(newWidth).height(newWidth*$el.attr('data-aspectRatio')/ 1.5);});}).resize();var $allMaps=jQuery("iframe[src*='google.com/maps']");$allMaps.each(function(){jQuery(this).wrapAll("<figure></figure>");});$(".widget-product-slider").each(function(){$(this).owlCarousel({loop:false,nav:true,dots:false,navText:["",""],items:6,responsive:{0:{items:1},360:{items:2},550:{items:3},750:{items:4},950:{items:5},1100:{items:6}}});});$(".catalog-product-view .product-columns .block-products-slider .product-items").each(function(){$(this).owlCarousel({loop:false,nav:true,dots:false,navText:["",""],items:4,responsive:{0:{items:1},360:{items:2},550:{items:3},750:{items:4},950:{items:4},1100:{items:4}}});});$(".catalog-product-view .column.main > .block-products-slider .product-items").each(function(){$(this).owlCarousel({loop:false,nav:true,dots:false,navText:["",""],items:6,responsive:{0:{items:1},360:{items:2},550:{items:3},750:{items:4},950:{items:5},1100:{items:6}}});});$(".blog-post-view .block-products-slider .product-items").each(function(){$(this).owlCarousel({loop:false,nav:true,dots:false,navText:["",""],items:6,responsive:{0:{items:1},360:{items:2},550:{items:3},750:{items:4},950:{items:4},1100:{items:5}}});});$('.checkbox-wrap input').each(function(){$(this).change(function(){if($(this).is(":checked")){$(this).parent().addClass("active");}else{$(this).parent().removeClass("active");}});});$('.gc-quantity-up').click(function(e){e.preventDefault();var oldVal=$(this).parent().find(".gc-input-qty").val();if(parseFloat(oldVal)>=1){var newVal=parseFloat(oldVal)+1;$(this).parent().find(".gc-input-qty").val(newVal);}});$('.gc-quantity-down').click(function(e){e.preventDefault();var oldVal=$(this).parent().find(".gc-input-qty").val();if(parseFloat(oldVal)>1){var newVal=parseFloat(oldVal)-1;$(this).parent().find(".gc-input-qty").val(newVal);}});$('.gc-input-qty').keyup(function(){this.value=this.value.replace(/[^0-9\.]/g,'');});$('.gc-input-qty').blur(function(){if(!$(this).val()){$(this).val(1);}});});});

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.