PageSourceSearch

https://www.cidj.com/sites/default/files/js/js_AENmwVICoqV3Hwz7uKP…PbPY4ETi0WjDf-WXGuV81qDGdXz3HbI_iv-Gp-Qx6H0

js cidj.com collected 2026-10-01 11:29:53 UTC 4,473 bytes, 3 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function(Drupal){'use strict';Drupal.behaviors.addToAny={attach:function(context,settings){if(context!==document&&window.a2a)a2a.init_all();}};})(Drupal);;
3(function($,Drupal){'use strict';Drupal.behaviors.articleBehavior={attach:function(context,settings){initializeMediaSlider(context);initializeArticleModals(context);initializeReadMore(context);initializeSponsoredContent(context);}};function initializeMediaSlider(context){if(document.readyState!=="loading"){var $mediaSliders=$(".media-slider",context).add($(context).filter(".media-slider"));$mediaSliders.each(function(){var $slider=$(this);if($slider.hasClass("slick-initialized"))return;var isArticleMediaSlider=$slider.closest(".single-article-page").length>0&&$slider.closest(".bloc-media-slide-post").length>0;if(isArticleMediaSlider)$slider.on("init.articleMediaHeight setPosition.articleMediaHeight afterChange.articleMediaHeight breakpoint.articleMediaHeight",function(){scheduleArticleMediaSliderHeight($slider);});$slider.slick({swipeToSlide:true,dots:true,arrows:false,infinite:false,autoplay:true,speed:1000,autoplaySpeed:3000,adaptiveHeight:!isArticleMediaSlider});if(isArticleMediaSlider){stabilizeArticleMediaSliderHeight($slider);bindArticleMediaLoadEvents($slider);}$(".play-video",context).on("click",function(){$(".media-slider").slick("slickPause");var linkVideo=$(this).parent().find(".link-video").attr("href");$.fancybox.open({src:linkVideo,type:"iframe",beforeClose:function(){$(".media-slider").slick("slickPlay");}});});$('[data-fancybox=""]',context).fancybox({beforeLoad:function(instance,current){$(".media-slider").slick("slickPause");},beforeClose:function(){$(".media-slider").slick("slickPlay");}});});bindArticleMediaResizeHandler();}}function stabilizeArticleMediaSliderHeight($slider){var $list=$slider.find(".slick-list");var maxHeight=0;$list.css("height","");$slider.find(".item-single-slide").each(function(){maxHeight=Math.max(maxHeight,Math.ceil($(this).outerHeight(true)));});if(maxHeight>0)$list.height(maxHeight);}function bindArticleMediaLoadEvents($slider){$slider.find("img").each(function(){if(this.complete)scheduleArticleMediaSliderHeight($slider);else $(this).one("load.articleMediaHeight error.articleMediaHeight",function(){scheduleArticleMediaSliderHeight($slider);});});$slider.find("iframe").one("load.articleMediaHeight",function(){scheduleArticleMediaSliderHeight($slider);});setTimeout(function(){stabilizeArticleMediaSliderHeight($slider);},500);}function scheduleArticleMediaSliderHeight($slider){clearTimeout($slider.data("articleMediaHeightTimer"));var timer=setTimeout(function(){stabilizeArticleMediaSliderHeight($slider);},50);$slider.data("articleMediaHeightTimer",timer);}function bindArticleMediaResizeHandler(){$(window).off("resize.articleMediaHeight").on("resize.articleMediaHeight",function(){clearTimeout(window.articleMediaHeightResizeTimer);window.articleMediaHeightResizeTimer=setTimeout(function(){$(".single-article-page .bloc-media-slide-post .media-slider.slick-initialized").each(function(){stabilizeArticleMediaSliderHeight($(this));});},150);});}function initializeArticleModals(context){['modalShare','modalFavorite'].forEach(function(id){var el=document.getElementById(id);if(el&&el.parentElement!==document.body)document.body.appendChild(el);});$("#modalShare").on("show.bs.modal",function(){setTimeout(function(){var bodyStyle=$("body").attr("style");if(bodyStyle){bodyStyle=bodyStyle.replace(/padding-right: \d+px;/,"");$("body").removeAttr("style");$("html").attr("style",bodyStyle);}},500);});$("#modalShare").on("hide.bs.modal",function(){$("html").removeAttr("style");});}function initializeReadMore(context){$(".toggle-read-more",context).off('click.article').on("click.article",function(){$(this).parent().toggleClass("read-more");});}function initializeSponsoredContent(context){$(".bloc-contenu-sponsorie-profile .desc-sponsore-show-more",context).off('click.article').on("click.article",function(e){e.preventDefault();$(".bloc-contenu-sponsorie-profile .bloc-desc-profile-sposnore .desc-profile-sposnore").removeClass("short-text");$(this).hide();});$(".node--type-les-ecoles-se-presentent .bloc-content-post .accordion-item",context).each(function(){var titleItemContent=$(this).find(".default-wysiwyg").find("h2:first").hide().text();$(this).find(".title-content-post").find("span").text(titleItemContent);});}})(window.jQuery,window.Drupal);;

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.