").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e;e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a
=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);$(document).ready(function()
{
$('.mtt').hover(function(){
var title = $(this).attr('title');
$(this).data('tipText', title).removeAttr('title');
$('')
.text(title)
.appendTo('body')
.fadeIn('slow');
}, function() {
$(this).attr('title', $(this).data('tipText'));
$('.tooltip1').remove();
}).mousemove(function(e) {
var mousex = e.pageX + 26;
var mousey = e.pageY + 26;
$('.tooltip1')
.css({ top: mousey, left: mousex })
});
$('.mtt2').hover(function(){
var title = $(this).attr('title');
$(this).data('tipText', title).removeAttr('title');
$('') //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
.text(title)
.appendTo('body')
.fadeIn('slow');
}, function() {
$(this).attr('title', $(this).data('tipText'));
$('.tooltip2').remove();
}).mousemove(function(e) {
var mousex = e.pageX + 26;
var mousey = e.pageY + 26;
$('.tooltip2')
.css({ top: mousey, right: mousex })
});
});var agregue_clase_scroll=false;
$(window).scroll(function()
{
if ($(this).scrollTop() > 666)
{
$('.subir').fadeIn("slow");
}else{
$('.subir').fadeOut("slow");
}
if ($(this).scrollTop() < 1){$('div.gencont1').removeClass("gencont1_on");}
if ($(this).scrollTop() > 1 && $("body").height() >= $(window).height()){$('div.gencont1').addClass("gencont1_on");}
if ($(this).scrollTop() == 0){$('div.gencont1').removeClass("gencont1_on");}
if ($(this).scrollTop() < 240){$('div.gencont2').removeClass("gencont2_on");}
if ($(this).scrollTop() > 240 && $("body").height() >= $(window).height()){$('div.gencont2').addClass("gencont2_on");}
if ($(this).scrollTop() == 0){$('div.gencont2').removeClass("gencont2_on");}
});
function scrollToAnchor(aid)
{
var aTag = $("a[name='"+ aid +"']");
$('html,body').animate({scrollTop: aTag.offset().top},'slow');
}
function encajar_img( w_scr, h_scr, w_img, h_img )
{
var r_img = w_img / h_img;
var r_scr = w_scr / h_scr;
var w, h;
if ( w_img <= w_scr && h_img <= h_scr )
{
w = w_img;
h = h_img;
}
else
{
if ( r_scr > r_img )
{
w = w_img * h_scr / h_img;
h = h_scr;
}
else
{
w = w_scr;
h = h_img * w_scr / w_img;
}
}
w = parseInt( w );
h = parseInt( h );
return [ w, h ];
}
var ALTO_BANNER_SUSCRIPCION = 0; //0;
function getScrollbarWidth()
{
const outer = document.createElement('div');
outer.style.visibility = 'hidden';
outer.style.overflow = 'scroll';
outer.style.msOverflowStyle = 'scrollbar';
document.body.appendChild(outer);
const inner = document.createElement('div');
outer.appendChild(inner);
const scrollbarWidth = (outer.offsetWidth - inner.offsetWidth);
outer.parentNode.removeChild(outer);
return scrollbarWidth;
}
function vert_scrollbar_visible()
{
return $(document).height() > $(window).height()
}
function posicionar_super_banner( SBIMG, winW, winH )
{
var $img = $( SBIMG );
var $cont = $img.closest( "#banner_super" );
var $caja = $cont.parent();
var alto_extra = 0;
$caja.children().each(function( i, v ){
v = $(v);
if ( v.is( $cont ) || v.hasClass( "cerrar" ) )
return;
alto_extra += v.outerHeight( true ) || 0;
});
var disp_w = winW * 0.95;
var disp_h = ( winH * 0.95 ) - alto_extra;
if ( vert_scrollbar_visible() )
disp_w -= getScrollbarWidth();
if ( disp_w < 80 ) disp_w = 80;
if ( disp_h < 80 ) disp_h = 80;
var fix = encajar_img( disp_w, disp_h, SBIMG.naturalWidth, SBIMG.naturalHeight );
var ancho_imagen = parseInt( fix[0] );
SBIMG.style.width = ancho_imagen + "px";
SBIMG.style.height = "auto";
$caja.children().each(function( i, v ){
v = $(v);
if ( v.is( $cont ) || v.hasClass( "cerrar" ) )
return;
v.css( "width", ancho_imagen + "px" );
});
}
function desplegar_super_banner_resize( SBIMG, winW, winH )
{
var id = '#bs_dialog';
var id2 = '#banner_super_mask';
var id3 = '#banner_super_cont';
posicionar_super_banner( SBIMG, winW, winH );
$(id ).fadeTo("slow",1 );
$(id2).fadeTo("slow",0.5);
function bs_cerrar()
{
if ( bs_cerrado ) return;
bs_cerrado = true; if ( bs_timer ) { clearInterval( bs_timer ); bs_timer = null; }
$(document).off("keydown.bs");
$(id ).css("transition","none").fadeOut(400,function(){ $(this).css("transition",""); });
$(id2).fadeOut(400);
}
$('.bs_window .bs_close').off("click");
$('.bs_window .bs_close').click(function(e){
e.preventDefault();
bs_cerrar();
});
$(id).off("click.bs");
$(id).on("click.bs", function(e){
if ( e.target === this ) bs_cerrar();
});
$('#banner_super_mask').off("click");
$('#banner_super_mask').click(function(e){
e.preventDefault();
bs_cerrar();
});
$(document).off("keydown.bs");
$(document).on("keydown.bs", function(e){
if ( e.key === "Escape" || e.keyCode === 27 ) bs_cerrar();
});
}
var last_src = null;
var last_winW = -1;
var last_winH = -1;
var bs_cerrado = false; // el usuario ya lo cerro: no volver a mostrarlo
var bs_timer = null; // id del setInterval, para poder cancelarlo
function get_SBIMG()
{
var SB = getObj("banner_super");
if ( ! SB )
return null;
var SBIMG = SB.getElementsByTagName("IMG")[0];
return SBIMG;
}
function img_ok( img )
{
if ( ! img )
return false;
if ( ! img.complete ||
img.naturalWidth === 0 ||
img.naturalHeight === 0 )
return false;
return true;
}
var BS_DELAY = 1500;
function desplegar_super_banner()
{
setTimeout( desplegar_super_banner_ahora, BS_DELAY );
}
function desplegar_super_banner_ahora()
{
if ( bs_cerrado ) return;
if ( bs_timer ) clearInterval( bs_timer );
bs_timer = setInterval(
function()
{
if ( bs_cerrado ) { clearInterval( bs_timer ); bs_timer = null; return; }
var SBIMG = get_SBIMG();
if ( ! img_ok( SBIMG ) )
return;
var cur_src = SBIMG.src;
var cur_winW = $(window).width();
var cur_winH = $(window).height();
if ( cur_src != last_src ||
cur_winW != last_winW ||
cur_winH != last_winH )
{
if ( cur_src != last_src )
desplegar_super_banner_resize( SBIMG, cur_winW, cur_winH );
else
bs_reubicar();
last_src = cur_src;
last_winW = cur_winW;
last_winH = cur_winH;
}
},
500
);
}
var bs_resize_t = null;
function bs_reubicar()
{
if ( bs_cerrado ) return;
var SBIMG = get_SBIMG();
if ( ! img_ok( SBIMG ) )
return;
var winW = $(window).width();
var winH = $(window).height();
var id = $("#bs_dialog");
var tr = id.css("transition");
id.css("transition","none");
posicionar_super_banner( SBIMG, winW, winH );
last_winW = winW;
last_winH = winH;
id[0].offsetHeight;
id.css("transition",tr);
}
$(window).resize(function()
{
if ( bs_cerrado ) return;
if ( bs_resize_t ) clearTimeout( bs_resize_t );
bs_resize_t = setTimeout( bs_reubicar, 120 );
});
jQuery(document).ready(function()
{
$("#go_top").click(function(){
$("html, body").animate({scrollTop:0}, 500);
return false;
});
});
(function ($){
$.fn.countTo = function (options){
options = options || {};
return $(this).each(function (){
var settings = $.extend({}, $.fn.countTo.defaults,{
from: $(this).data('from'),
to: $(this).data('to'),
speed: $(this).data('speed'),
refreshInterval:$(this).data('refresh-interval'),
decimals: $(this).data('decimals')
}, options);
var loops = Math.ceil(settings.speed / settings.refreshInterval),
increment = (settings.to - settings.from) / loops;
var self = this,
$self = $(this),
loopCount = 0,
value = settings.from,
data = $self.data('countTo') || {};
$self.data('countTo', data);
if (data.interval){clearInterval(data.interval);}
data.interval = setInterval(updateTimer, settings.refreshInterval);
render(value);
function updateTimer(){
value += increment;
loopCount++;
render(value);
if (typeof(settings.onUpdate) == 'function'){settings.onUpdate.call(self, value);}
if (loopCount >= loops){
$self.removeData('countTo');
clearInterval(data.interval);
value = settings.to;
if (typeof(settings.onComplete) == 'function'){settings.onComplete.call(self, value);}
}
}
function render(value){
var formattedValue = settings.formatter.call(self, value, settings);
$self.html(formattedValue);
}
});
};
$.fn.countTo.defaults={
from:0,
to:0,
speed:1000,
refreshInterval:100,
decimals:0,
formatter:formatter,
onUpdate:null,
onComplete:null
};
function formatter(value, settings){return value.toFixed(settings.decimals);}
}(jQuery));
jQuery(function ($){
$('.count-number').data('countToOptions',{
formatter:function (value, options){
return value.toFixed(options.decimals).replace(/\B(?=(?:\d{3})+(?!\d))/g, ',');
}
});
$('.timer').each(count);
function count(options){
var $this = $(this);
options = $.extend({}, options || {}, $this.data('countToOptions') || {});
$this.countTo(options);
}
});
jQuery(document).ready(function(){
jQuery('.banner_elementos').addClass("hidden").viewportChecker({classToAdd:'animate__animated animate__fadeIn',classToAddForFullView:'full-visible',offset:100});});/*jslint browser:true, plusplus:true, vars:true */
/*jshint browser:true, jquery:true */
/*jshint -W040:false */ /* to don't alert on "this" in triggerLoadOrError */
(function ($, window, document, undefined) {
'use strict';
// options
var lazyLoadXT = 'lazyLoadXT',
dataLazied = 'lazied',
load_error = 'load error',
classLazyHidden = 'lazy-hidden',
docElement = document.documentElement || document.body,
// force load all images in Opera Mini and some mobile browsers without scroll event or getBoundingClientRect()
forceLoad = (window.onscroll === undefined || !!window.operamini || !docElement.getBoundingClientRect),
options = {
autoInit: true, // auto initialize in $.ready
selector: 'img[data-src]', // selector for lazyloading elements
blankImage: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',
throttle: 99, // interval (ms) for changes check
forceLoad: forceLoad, // force auto load all images
loadEvent: 'pageshow', // check AJAX-loaded content in jQueryMobile
updateEvent: 'load orientationchange resize scroll touchmove focus', // page-modified events
forceEvent: 'lazyloadall', // force loading of all elements
//onstart: null,
oninit: {removeClass: 'lazy'}, // init handler
onshow: {addClass: classLazyHidden}, // start loading handler
onload: {removeClass: classLazyHidden, addClass: 'lazy-loaded'}, // load success handler
onerror: {removeClass: classLazyHidden}, // error handler
//oncomplete: null, // complete handler
//scrollContainer: undefined,
checkDuplicates: true
},
elementOptions = {
srcAttr: 'data-src',
edgeX: 0,
edgeY: 0,
visibleOnly: true
},
$window = $(window),
$isFunction = $.isFunction,
$extend = $.extend,
$data = $.data || function (el, name) {
return $(el).data(name);
},
elements = [],
topLazy = 0,
/*
waitingMode=0 : no setTimeout
waitingMode=1 : setTimeout, no deferred events
waitingMode=2 : setTimeout, deferred events
*/
waitingMode = 0;
$[lazyLoadXT] = $extend(options, elementOptions, $[lazyLoadXT]);
/**
* Return options.prop if obj.prop is undefined, otherwise return obj.prop
* @param {*} obj
* @param {*} prop
* @returns *
*/
function getOrDef(obj, prop) {
return obj[prop] === undefined ? options[prop] : obj[prop];
}
/**
* @returns {number}
*/
function scrollTop() {
var scroll = window.pageYOffset;
return (scroll === undefined) ? docElement.scrollTop : scroll;
}
/**
* Add new elements to lazy-load list:
* $(elements).lazyLoadXT() or $(window).lazyLoadXT()
*
* @param {object} [overrides] override global options
*/
$.fn[lazyLoadXT] = function (overrides) {
overrides = overrides || {};
var blankImage = getOrDef(overrides, 'blankImage'),
checkDuplicates = getOrDef(overrides, 'checkDuplicates'),
scrollContainer = getOrDef(overrides, 'scrollContainer'),
forceShow = getOrDef(overrides, 'show'),
elementOptionsOverrides = {},
prop;
// empty overrides.scrollContainer is supported by both jQuery and Zepto
$(scrollContainer).on('scroll', queueCheckLazyElements);
for (prop in elementOptions) {
elementOptionsOverrides[prop] = getOrDef(overrides, prop);
}
return this.each(function (index, el) {
if (el === window) {
$(options.selector).lazyLoadXT(overrides);
} else {
var duplicate = checkDuplicates && $data(el, dataLazied),
$el = $(el).data(dataLazied, forceShow ? -1 : 1);
// prevent duplicates
if (duplicate) {
queueCheckLazyElements();
return;
}
if (blankImage && el.tagName === 'IMG' && !el.src) {
el.src = blankImage;
}
// clone elementOptionsOverrides object
$el[lazyLoadXT] = $extend({}, elementOptionsOverrides);
triggerEvent('init', $el);
elements.push($el);
queueCheckLazyElements();
}
});
};
/**
* Process function/object event handler
* @param {string} event suffix
* @param {jQuery} $el
*/
function triggerEvent(event, $el) {
var handler = options['on' + event];
if (handler) {
if ($isFunction(handler)) {
handler.call($el[0]);
} else {
if (handler.addClass) {
$el.addClass(handler.addClass);
}
if (handler.removeClass) {
$el.removeClass(handler.removeClass);
}
}
}
$el.trigger('lazy' + event, [$el]);
// queue next check as images may be resized after loading of actual file
queueCheckLazyElements();
}
/**
* Trigger onload/onerror handler
* @param {Event} e
*/
function triggerLoadOrError(e) {
triggerEvent(e.type, $(this).off(load_error, triggerLoadOrError));
}
/**
* Load visible elements
* @param {bool} [force] loading of all elements
*/
function checkLazyElements(force) {
if (!elements.length) {
return;
}
force = force || options.forceLoad;
topLazy = Infinity;
var viewportTop = scrollTop(),
viewportHeight = window.innerHeight || docElement.clientHeight,
viewportWidth = window.innerWidth || docElement.clientWidth,
i,
length;
for (i = 0, length = elements.length; i < length; i++) {
var $el = elements[i],
el = $el[0],
objData = $el[lazyLoadXT],
removeNode = false,
visible = force || $data(el, dataLazied) < 0,
topEdge;
// remove items that are not in DOM
if (!$.contains(docElement, el)) {
removeNode = true;
} else if (force || !objData.visibleOnly || el.offsetWidth || el.offsetHeight) {
if (!visible) {
var elPos = el.getBoundingClientRect(),
edgeX = objData.edgeX,
edgeY = objData.edgeY;
topEdge = (elPos.top + viewportTop - edgeY) - viewportHeight;
visible = (topEdge <= viewportTop && elPos.bottom > -edgeY &&
elPos.left <= viewportWidth + edgeX && elPos.right > -edgeX);
}
if (visible) {
$el.on(load_error, triggerLoadOrError);
triggerEvent('show', $el);
var srcAttr = objData.srcAttr,
src = $isFunction(srcAttr) ? srcAttr($el) : el.getAttribute(srcAttr);
if (src) {
el.src = src;
}
removeNode = true;
} else {
if (topEdge < topLazy) {
topLazy = topEdge;
}
}
}
if (removeNode) {
$data(el, dataLazied, 0);
elements.splice(i--, 1);
length--;
}
}
if (!length) {
triggerEvent('complete', $(docElement));
}
}
/**
* Run check of lazy elements after timeout
*/
function timeoutLazyElements() {
if (waitingMode > 1) {
waitingMode = 1;
checkLazyElements();
setTimeout(timeoutLazyElements, options.throttle);
} else {
waitingMode = 0;
}
}
/**
* Queue check of lazy elements because of event e
* @param {Event} [e]
*/
function queueCheckLazyElements(e) {
if (!elements.length) {
return;
}
// fast check for scroll event without new visible elements
if (e && e.type === 'scroll' && e.currentTarget === window) {
if (topLazy >= scrollTop()) {
return;
}
}
if (!waitingMode) {
setTimeout(timeoutLazyElements, 0);
}
waitingMode = 2;
}
/**
* Initialize list of hidden elements
*/
function initLazyElements() {
$window.lazyLoadXT();
}
/**
* Loading of all elements
*/
function forceLoadAll() {
checkLazyElements(true);
}
/**
* Initialization
*/
$(document).ready(function () {
triggerEvent('start', $window);
$window
.on(options.updateEvent, queueCheckLazyElements)
.on(options.forceEvent, forceLoadAll);
$(document).on(options.updateEvent, queueCheckLazyElements);
if (options.autoInit) {
$window.on(options.loadEvent, initLazyElements);
initLazyElements(); // standard initialization
}
});
})(window.jQuery || window.Zepto || window.$, window, document);var responsivelyLazy="undefined"!==typeof responsivelyLazy?responsivelyLazy:function(){var r=!1,t=!1,l=null,p=null,m="undefined"!==typeof IntersectionObserver,q=!1,u=[],v=function(a){if(null===l)return!1;var b=a.getBoundingClientRect();a=b.top;var c=b.left,d=b.width,b=b.height;return ab[1])return 1;if(a[1]===b[1]){if(-1!==b[0].indexOf(".webp",b[0].length-5))return 1;if(-1!==a[0].indexOf(".webp",a[0].length-5))return-1}return 0});c=d}else c=[];else c=[];k=a.offsetWidth*("undefined"!==typeof window.devicePixelRatio?window.devicePixelRatio:1);d=null;h=c.length;for(f=0;f=k){d=e;break}null===d&&(d=[b.getAttribute("src"),
999999]);"undefined"===typeof a.responsivelyLazyLastSetOption&&(a.responsivelyLazyLastSetOption=["",0]);a.responsivelyLazyLastSetOption[1]