var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); /* * Copyright 2012-2018, Theia Post Slider, WeCodePixels, http://wecodepixels.com */ var tps = tps || {}; tps.transitions = tps.transitions || {}; tps.transitions.slide = function (me, previousIndex, newIndex) { var $ = jQuery; // Check for RTL layout. var isRtl = me.options['isRtl']; var transitionDirection = isRtl ? 'right' : 'left'; // Init var width = me.slideContainer.innerWidth(); var diff = newIndex - previousIndex; var direction = diff > 0 ? 1 : -1; // Start all animations at once, at the end of this function. Otherwise we can get rare race conditions. var animationsQueue = []; // Remove previous slide. var previousSlide = previousIndex !== null ? $(me.slides[previousIndex].content) : null; if (previousSlide) { me.slideContainer.css('height', previousSlide.innerHeight()); animationsQueue.push(function () { var animateOptions = {}; animateOptions[transitionDirection] = -direction * width; previousSlide .css('width', width) .css('position', 'absolute') .css(transitionDirection, 0) .animate(animateOptions, me.options.transitionSpeed, function (me, previousIndex) { return function () { $(this) .detach() .css('position', '') .css(transitionDirection, ''); me.decrementSemaphore(); } }(me, previousIndex)); }); } var slide = me.slides[newIndex].content; if (previousSlide == null) { // Don't animate the first shown slide. me.slideContainer.append(slide); } else { slide.css('width', width); slide.css('visibility', 'hidden'); me.slideContainer.append(slide); // Call event handlers. me.onNewSlide(); // Animate the height. animationsQueue.push(function () { me.slideContainer.animate({ 'height': slide.innerHeight() }, me.options.transitionSpeed, function (me) { return function () { $(this) .css('position', ''); me.decrementSemaphore(); } }(me)); }); // Animate the new slide. animationsQueue.push(function () { var animateOptions = {}; animateOptions[transitionDirection] = '0'; slide .css(transitionDirection, direction * width) .css('position', 'absolute') .css('visibility', 'visible') .animate( animateOptions, me.options.transitionSpeed, function (me) { return function () { $(this) .css('position', '') .css('width', ''); me.slideContainer.css('height', ''); me.decrementSemaphore(); } }(me)); }); } return animationsQueue; }; } /* FILE ARCHIVED ON 13:54:41 Dec 21, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 05:28:17 Dec 24, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.635 exclusion.robots: 0.057 exclusion.robots.policy: 0.047 esindex: 0.01 cdx.remote: 12.326 LoadShardBlock: 66.493 (3) PetaboxLoader3.datanode: 126.251 (5) load_resource: 1148.505 PetaboxLoader3.resolve: 1078.939 loaddict: 26.959 */