PageSourceSearch

https://likeandsure.biz/wp-content/themes/laziale/js/jquery.sidr.min.js?ver=7.0.5

js likeandsure.biz collected 2026-09-24 14:34:05 UTC 6,966 bytes, 4 lines download raw bytes

vendor: 6,966 bytes, lines 1-4
1/*! sidr - v2.2.1 - 2016-09-24
2 * http://www.berriart.com/sidr/
3 * Copyright (c) 2013-2016 Alberto Varela; Licensed MIT */
4!function(){"use strict";function a(a,b,c){var d=new p(b);switch(a){case"open":d.open(c);break;case"close":d.close(c);break;case"toggle":d.toggle(c);break;default:q.error("Method "+a+" does not exist on jQuery.sidr")}}function b(a){return"status"===a?g:t[a]?t[a].apply(this,Array.prototype.slice.call(arguments,1)):"function"!=typeof a&&"string"!=typeof a&&a?void r.error("Method "+a+" does not exist on jQuery.sidr"):t.toggle.apply(this,arguments)}function c(a,b){if("function"==typeof b.source){var c=b.source(name);a.html(c)}else if("string"==typeof b.source&&h.isUrl(b.source))v.get(b.source,function(b){a.html(b)});else if("string"==typeof b.source){var d="",e=b.source.split(",");if(v.each(e,function(a,b){d+='<div class="sidr-inner">'+v(b).html()+"</div>"}),b.renaming){var f=v("<div />").html(d);f.find("*").each(function(a,b){var c=v(b);h.addPrefixes(c)}),d=f.html()}a.html(d)}else null!==b.source&&v.error("Invalid Sidr Source");return a}function d(a){var d=h.transitions,e=v.extend({name:"sidr",speed:200,side:"left",source:null,renaming:!0,body:"body",displace:!0,timing:"ease",method:"toggle",bind:"touchstart click",onOpen:function(){},onClose:function(){},onOpenEnd:function(){},onCloseEnd:function(){}},a),f=e.name,i=v("#"+f);return 0===i.length&&(i=v("<div />").attr("id",f).appendTo(v("body"))),d.supported&&i.css(d.property,e.side+" "+e.speed/1e3+"s "+e.timing),i.addClass("sidr").addClass(e.side).data({speed:e.speed,side:e.side,body:e.body,displace:e.displace,timing:e.timing,method:e.method,onOpen:e.onOpen,onClose:e.onClose,onOpenEnd:e.onOpenEnd,onCloseEnd:e.onCloseEnd}),i=c(i,e),this.each(function(){var a=v(this),c=a.data("sidr"),d=!1;c||(g.moving=!1,g.opened=!1,a.data("sidr",f),a.bind(e.bind,function(a){a.preventDefault(),d||(d=!0,b(e.method,f),setTimeout(function(){d=!1},100))}))})}var e,f,g={moving:!1,opened:!1},h={isUrl:function(a){var b=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i");return!!b.test(a)},addPrefixes:function(a){this.addPrefix(a,"id"),this.addPrefix(a,"class"),a.removeAttr("style")},addPrefix:function(a,b){var c=a.attr(b);"string"==typeof c&&""!==c&&"sidr-inner"!==c&&a.attr(b,c.replace(/([A-Za-z0-9_.\-]+)/g,"sidr-"+b+"-$1"))},transitions:function(){var a=document.body||document.documentElement,b=a.style,c=!1,d="transition";return d in b?c=!0:!function(){var a=["moz","webkit","o","ms"],e=void 0,f=void 0;d=d.charAt(0).toUpperCase()+d.substr(1),c=function(){for(f=0;f<a.length;f++)if(e=a[f],e+d in b)return!0;return!1}(),d=c?"-"+e.toLowerCase()+"-"+d.toLowerCase():null}(),{supported:c,property:d}}()},i=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},j=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),k=jQuery,l="sidr-animating",m="open",n="close",o="webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",p=function(){function a(b){i(this,a),this.name=b,this.item=k("#"+b),this.openClass="sidr"===b?"sidr-open":"sidr-open "+b+"-open",this.menuWidth=this.item.outerWidth(!0),this.speed=this.item.data("speed"),this.side=this.item.data("side"),this.displace=this.item.data("displace"),this.timing=this.item.data("timing"),this.method=this.item.data("method"),this.onOpenCallback=this.item.data("onOpen"),this.onCloseCallback=this.item.data("onClose"),this.onOpenEndCallback=this.item.data("onOpenEnd"),this.onCloseEndCallback=this.item.data("onCloseEnd"),this.body=k(this.item.data("body"))}return j(a,[{key:"getAnimation",value:function(a,b){var c={},d=this.side;return"open"===a&&"body"===b?c[d]=this.menuWidth+"px":"close"===a&&"menu"===b?c[d]="-"+this.menuWidth+"px":c[d]=0,c}},{key:"prepareBody",value:function(a){var b="open"===a?"hidden":"";if(this.body.is("body")){var c=k("html"),d=c.scrollTop();c.css("overflow-x",b).scrollTop(d)}}},{key:"openBody",value:function(){if(this.displace){var a=h.transitions,b=this.body;if(a.supported)b.css(a.property,this.side+" "+this.speed/1e3+"s "+this.timing).css(this.side,0).css({width:b.width(),position:"absolute"}),b.css(this.side,this.menuWidth+"px");else{var c=this.getAnimation(m,"body");b.css({width:b.width(),position:"absolute"}).animate(c,{queue:!1,duration:this.speed})}}}},{key:"onCloseBody",value:function(){var a=h.transitions,b={width:"",position:"",right:"",left:""};a.supported&&(b[a.property]=""),this.body.css(b).unbind(o)}},{key:"closeBody",value:function(){var a=this;if(this.displace)if(h.transitions.supported)this.body.css(this.side,0).one(o,function(){a.onCloseBody()});else{var b=this.getAnimation(n,"body");this.body.animate(b,{queue:!1,duration:this.speed,complete:function(){a.onCloseBody()}})}}},{key:"moveBody",value:function(a){a===m?this.openBody():this.closeBody()}},{key:"onOpenMenu",value:function(a){var b=this.name;g.moving=!1,g.opened=b,this.item.unbind(o),this.body.removeClass(l).addClass(this.openClass),this.onOpenEndCallback(),"function"==typeof a&&a(b)}},{key:"openMenu",value:function(a){var b=this,c=this.item;if(h.transitions.supported)c.css(this.side,0).one(o,function(){b.onOpenMenu(a)});else{var d=this.getAnimation(m,"menu");c.css("display","block").animate(d,{queue:!1,duration:this.speed,complete:function(){b.onOpenMenu(a)}})}}},{key:"onCloseMenu",value:function(a){this.item.css({left:"",right:""}).unbind(o),k("html").css("overflow-x",""),g.moving=!1,g.opened=!1,this.body.removeClass(l).removeClass(this.openClass),this.onCloseEndCallback(),"function"==typeof a&&a(name)}},{key:"closeMenu",value:function(a){var b=this,c=this.item;if(h.transitions.supported)c.css(this.side,"").one(o,function(){b.onCloseMenu(a)});else{var d=this.getAnimation(n,"menu");c.animate(d,{queue:!1,duration:this.speed,complete:function(){b.onCloseMenu()}})}}},{key:"moveMenu",value:function(a,b){this.body.addClass(l),a===m?this.openMenu(b):this.closeMenu(b)}},{key:"move",value:function(a,b){g.moving=!0,this.prepareBody(a),this.moveBody(a),this.moveMenu(a,b)}},{key:"open",value:function(b){var c=this;if(g.opened!==this.name&&!g.moving){if(g.opened!==!1){var d=new a(g.opened);return void d.close(function(){c.open(b)})}this.move("open",b),this.onOpenCallback()}}},{key:"close",value:function(a){g.opened!==this.name||g.moving||(this.move("close",a),this.onCloseCallback())}},{key:"toggle",value:function(a){g.opened===this.name?this.close(a):this.open(a)}}]),a}(),q=jQuery,r=jQuery,s=["open","close","toggle"],t={},u=function(b){return function(c,d){"function"==typeof c?(d=c,c="sidr"):c||(c="sidr"),a(b,c,d)}};for(e=0;e<s.length;e++)f=s[e],t[f]=u(f);var v=jQuery;jQuery.sidr=b,jQuery.fn.sidr=d}();

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.