PageSourceSearch

https://fondation-merimee.org/wp-content/plugins/dynamic-content-f…/js/dynamic-posts-base.min.js?ver=2.0.0

js fondation-merimee.org collected 2026-10-10 02:29:23 UTC 2,684 bytes, 9 lines download raw bytes

1var DCE_dynposts_skin='';var DCE_dynposts_skinPrefix='';var Widget_DCE_Dynamicposts_base_Handler=function($scope,$){DCE_dynposts_skin=$scope.attr('data-widget_type').split('.')[1];if(DCE_dynposts_skin==='grid-filters'){DCE_dynposts_skin='grid_filters'}
2DCE_dynposts_skinPrefix=DCE_dynposts_skin+'_';var elementSettings=get_Dyncontel_ElementSettings($scope);function fitImage($post){var $imageParent=$post.find('.dce-img');$image=$imageParent.find('img');image=$image[0];if(!image){return}
3var imageParentRatio=$imageParent.outerHeight()/$imageParent.outerWidth(),imageRatio=image.naturalHeight/image.naturalWidth;$imageParent.toggleClass('dce-fit-img',imageRatio<imageParentRatio)}
4function toggleRatio(){var itemRatio=getComputedStyle($scope[0],':after').content;$scope.find('.dce-posts-container').toggleClass('dce-is_ratio',!!itemRatio.match(/\d/))}
5function fitImages(){toggleRatio();$scope.find('.dce-post-image').each(function(){var $post=$(this);$image=$post.find('.dce-img img');fitImage($post);$image.on('load',function(){fitImage($post)})})}
6fitImages();var blocks_hoverEffects=$scope.find('.dce-post-block.dce-hover-effects');if(blocks_hoverEffects.length){blocks_hoverEffects.each(function(i,el){$(el).on("mouseenter touchstart",function(){$(this).find('.dce-hover-effect-content').removeClass('dce-close').addClass('dce-open')});$(el).on("mouseleave touchend",function(){$(this).find('.dce-hover-effect-content').removeClass('dce-open').addClass('dce-close')})})}
7if(!1===elementorFrontend.isEditMode()&&'yes'===elementSettings.templatemode_linkable){$scope.find('.dce-post.dce-post-item[data-post-link]').click(function(){window.location.assign($(this).attr("data-post-link"));return!1})}
8var Dyncontel_MutationObserverCallback=function(mutationsList,observer){for(var mutation of mutationsList){if(mutation.type=='childList'){console.log('A child node has been added or removed.')}else if(mutation.type=='attributes'){var attribute_of_target=getComputedStyle(mutation.target,':after').content;if(attribute_of_target&&attribute_of_target!='none'){fitImages()}
9if(attribute_of_target=='none'){toggleRatio()}}}};observe_Dyncontel_element($scope[0],Dyncontel_MutationObserverCallback)};jQuery(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/widget',Widget_DCE_Dynamicposts_base_Handler)});(function($){"use strict";$(function(){$(document).on("sf:ajaxfinish",".searchandfilter",function(e,data){if(elementorFrontend){if(elementorFrontend.elementsHandler.runReadyTrigger&&SF_LDATA.extensions.indexOf('search-filter-elementor')<0){elementorFrontend.elementsHandler.runReadyTrigger(data.targetSelector)}}})})}(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.