text: !function(e,t){"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Spinner=t()}(this,function(){"use strict";function e(e,t){var o,r=document.createElement(e||"div");for(o in t)r[o]=t[o];return r}function t(e){for(var t=1,o=arguments.length;o>t;t++)e.appendChild(arguments[t]);return e}function o(e,t,o,r){var n=["opacity",t,~~(100*e),o,r].join("-"),i=.01+o/r*100,a=Math.max(1-(1-e)/t*(100-i),e),s=c.substring(0,c.indexOf("Animation")).toLowerCase(),l=s&&"-"+s+"-"||"";return u[n]||(h.insertRule("@"+l+"keyframes "+n+"{0%{opacity:"+a+"}"+i+"%{opacity:"+e+"}"+(i+.01)+"%{opacity:1}"+(i+t)%100+"%{opacity:"+e+"}100%{opacity:"+a+"}}",h.cssRules.length),u[n]=1),n}function r(e,t){var o,r,n=e.style;for(t=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<d.length;r++)if(o=d[r]+t,void 0!==n[o])return o;return void 0!==n[t]?t:void 0}function n(e,t){for(var o in t)e.style[r(e,o)||o]=t[o];return e}function i(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)void 0===e[r]&&(e[r]=o[r])}return e}function a(e,t){return"string"==typeof e?e:e[t%e.length]}function s(e){this.opts=i(e||{},s.defaults,p)}function l(){function o(t,o){return e("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',o)}h.addRule(".spin-vml","behavior:url(#default#VML)"),s.prototype.lines=function(e,r){function i(){return n(o("group",{coordsize:d+" "+d,coordorigin:-c+" "+-c}),{width:d,height:d})}function s(e,s,l){t(h,t(n(i(),{rotation:360/r.lines*e+"deg",left:~~s}),t(n(o("roundrect",{arcsize:r.corners}),{width:c,height:r.width,left:r.radius,top:-r.width>>1,filter:l}),o("fill",{color:a(r.color,e),opacity:r.opacity}),o("stroke",{opacity:0}))))}var l,c=r.length+r.width,d=2*c,u=2*-(r.width+r.length)+"px",h=n(i(),{position:"absolute",top:u,left:u});if(r.shadow)for(l=1;l<=r.lines;l++)s(l,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(l=1;l<=r.lines;l++)s(l);return t(e,h)},s.prototype.opacity=function(e,t,o,r){var n=e.firstChild;r=r.shadow&&r.lines||0,n&&t+r<n.childNodes.length&&(n=n.childNodes[t+r],n=n&&n.firstChild,n=n&&n.firstChild,n&&(n.opacity=o))}}var c,d=["webkit","Moz","ms","O"],u={},h=function(){var o=e("style",{type:"text/css"});return t(document.getElementsByTagName("head")[0],o),o.sheet||o.styleSheet}(),p={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};s.defaults={},i(s.prototype,{spin:function(t){this.stop();{var o=this,r=o.opts,i=o.el=n(e(0,{className:r.className}),{position:r.position,width:0,zIndex:r.zIndex});r.radius+r.length+r.width}if(n(i,{left:r.left,top:r.top}),t&&t.insertBefore(i,t.firstChild||null),i.setAttribute("role","progressbar"),o.lines(i,o.opts),!c){var a,s=0,l=(r.lines-1)*(1-r.direction)/2,d=r.fps,u=d/r.speed,h=(1-r.opacity)/(u*r.trail/100),p=u/r.lines;!function f(){s++;for(var e=0;e<r.lines;e++)a=Math.max(1-(s+(r.lines-e)*p)%u*h,r.opacity),o.opacity(i,e*r.direction+l,a,r);o.timeout=o.el&&setTimeout(f,~~(1e3/d))}()}return o},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=void 0),this},lines:function(r,i){function s(t,o){return n(e(),{position:"absolute",width:i.length+i.width+"px",height:i.width+"px",background:t,boxShadow:o,transformOrigin:"left",transform:"rotate("+~~(360/i.lines*d+i.rotate)+"deg) translate("+i.radius+"px,0)",borderRadius:(i.corners*i.width>>1)+"px"})}for(var l,d=0,u=(i.lines-1)*(1-i.direction)/2;d<i.lines;d++)l=n(e(),{position:"absolute",top:1+~(i.width/2)+"px",transform:i.hwaccel?"translate3d(0,0,0)":"",opacity:i.opacity,animation:c&&o(i.opacity,i.trail,u+d*i.direction,i.lines)+" "+1/i.speed+"s linear infinite"}),i.shadow&&t(l,n(s("#000","0 0 4px #000"),{top:"2px"})),t(r,t(l,s(a(i.color,d),"0 0 1px rgba(0,0,0,.1)")));return r},opacity:function(e,t,o){t<e.childNodes.length&&(e.childNodes[t].style.opacity=o)}});var f=n(e("group"),{behavior:"url(#default#VML)"});return!r(f,"transform")&&f.adj?l():c=r(f,"animation"),s}),function(e){if("object"==typeof exports)e(require("jquery"),require("spin"));else if("function"==typeof define&&define.amd)define(["jquery","spin"],e);else{if(!window.Spinner)throw new Error("Spin.js not present");e(window.jQuery,window.Spinner)}}(function(e,t){e.fn.spin=function(o,r){return this.each(function(){var n=e(this),i=n.data();i.spinner&&(i.spinner.stop(),delete i.spinner),o!==!1&&(o=e.extend({color:r||n.css("color")},e.fn.spin.presets[o]||o),i.spinner=new t(o).spin(this))})},e.fn.spin.presets={tiny:{lines:8,length:2,width:2,radius:3},small:{lines:8,length:4,width:3,radius:5},large:{lines:10,length:8,width:4,radius:8}}}),function(e,t){"object"==typeof exports?module.exports=t(require("spin.js")):"function"==typeof define&&define.amd?define(["spin"],t):e.Ladda=t(e.Spinner)}(this,function(e){"use strict";function t(e){if(void 0===e)return void console.warn("Ladda button target must be defined.");e.querySelector(".ladda-label")||(e.innerHTML='<span class="ladda-label">'+e.innerHTML+"</span>");var t,o=document.createElement("span");o.className="ladda-spinner",e.appendChild(o);var r,n={start:function(){return t||(t=a(e)),e.setAttribute("disabled",""),e.setAttribute("data-loading",""),clearTimeout(r),t.spin(o),this.setProgress(0),this},startAfter:function(e){return clearTimeout(r),r=setTimeout(function(){n.start()},e),this},stop:function(){return e.removeAttribute("disabled"),e.removeAttribute("data-loading"),clearTimeout(r),t&&(r=setTimeout(function(){t.stop()},1e3)),this},toggle:function(){return this.isLoading()?this.stop():this.start(),this},setProgress:function(t){t=Math.max(Math.min(t,1),0);var o=e.querySelector(".ladda-progress");0===t&&o&&o.parentNode?o.parentNode.removeChild(o):(o||(o=document.createElement("div"),o.className="ladda-progress",e.appendChild(o)),o.style.width=(t||0)*e.offsetWidth+"px")},enable:function(){return this.stop(),this},disable:function(){return this.stop(),e.setAttribute("disabled",""),this},isLoading:function(){return e.hasAttribute("data-loading")},remove:function(){clearTimeout(r),e.removeAttribute("disabled",""),e.removeAttribute("data-loading",""),t&&(t.stop(),t=null);for(var o=0,i=l.length;i>o;o++)if(n===l[o]){l.splice(o,1);break}}};return l.push(n),n}function o(e,t){for(;e.parentNode&&e.tagName!==t;)e=e.parentNode;return t===e.tagName?e:void 0}function r(e){for(var t=["input","textarea"],o=[],r=0;t.length>r;r++)for(var n=e.getElementsByTagName(t[r]),i=0;n.length>i;i++)n[i].hasAttribute("required")&&o.push(n[i]);return o}function n(e,n){n=n||{};var i=[];"string"==typeof e?i=s(document.querySelectorAll(e)):"object"==typeof e&&"string"==typeof e.nodeName&&(i=[e]);for(var a=0,l=i.length;l>a;a++)(function(){var e=i[a];if("function"==typeof e.addEventListener){var s=t(e),l=-1;e.addEventListener("click",function(){var t=!0,i=o(e,"FORM");if(void 0!==i)for(var a=r(i),c=0;a.length>c;c++)""===a[c].value.replace(/^\s+|\s+$/g,"")&&(t=!1);t&&(s.startAfter(1),"number"==typeof n.timeout&&(clearTimeout(l),l=setTimeout(s.stop,n.timeout)),"function"==typeof n.callback&&n.callback.apply(null,[s]))},!1)}})()}function i(){for(var e=0,t=l.length;t>e;e++)l[e].stop()}function a(t){var o,r=t.offsetHeight;0===r&&(r=parseFloat(window.getComputedStyle(t).height)),r>32&&(r*=.8),t.hasAttribute("data-spinner-size")&&(r=parseInt(t.getAttribute("data-spinner-size"),10)),t.hasAttribute("data-spinner-color")&&(o=t.getAttribute("data-spinner-color"));var n=12,i=.2*r,a=.6*i,s=7>i?2:3;return new e({color:o||"#fff",lines:n,radius:i,length:a,width:s,zIndex:"auto",top:"auto",left:"auto",className:""})}function s(e){for(var t=[],o=0;e.length>o;o++)t.push(e[o]);return t}var l=[];return{bind:n,create:t,stopAll:i}}),function(e){var t,o="zoomer",r={width:"auto",height:"auto",zoom:.4,tranformOrigin:"0 0",loadingType:"message",loadingMessage:"Generating preview...",spinnerURL:"http://oi46.tinypic.com/6y375z.jpg",message:"Open Page",ieMessageButtonClass:"btn btn-secondary",messageURL:!1,onComplete:function(){}},n={visibility:"visible"},i={visibility:"hidden"},a={"-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none",overflow:"hidden"},s={top:0,position:"absolute"},l={position:"relative"},c=navigator.userAgent.match(/MSIE/),d=navigator.userAgent.match(/MSIE (\d\.\d+)/)?parseInt(RegExp.$1,10):null;t={init:function(t){return this.each(function(){var n=e(this),i=e.extend({},r,t);i.src=n.attr("src"),n.data(o,i),n[o]("zoomer")})},zoomer:function(){var t=e(this),r=t.data(o);if(t.css(i).css(a),"auto"===r.zoom){if("auto"===r.width&&"auto"===r.height)return void e.error("jQuery.zoomer: You must set either zoom or height and width.");r.zoom=r.width/e(window).width()}"auto"===r.width&&(r.width=e(window).height()*r.zoom),"auto"===r.height&&(r.height=e(window).height()*r.zoom),"spinner"===r.loadingType&&(r.loadingMessage='<img style="padding: '+parseInt((r.height-17)/2,10)+'px 0" src="'+r.spinnerURL+'" />'),navigator.userAgent.indexOf("Chrome/10.0.648")>-1&&(r.zoom=Math.sqrt(1/r.zoom)),r.externalSrc=!0;try{t.get(0).contentWindow.document&&(r.externalSrc=!1)}catch(n){}return t[o]("setUpWrapper"),t[o]("zoom"),t},setUpWrapper:function(){var t=e(this),r=t.data(o);return t.parents(".zoomer-wrapper").length||t.wrap(e("<div/>").addClass("zoomer-wrapper").css(a).css(l)).wrap(e("<div/>").addClass("zoomer-small").css(i).css(a)),r.zoomerWrapper=t.parents(".zoomer-wrapper"),r.zoomerSmall=t.parents(".zoomer-small"),r.zoomerCover=e("<div/>").addClass("zoomer-cover").css(a).css(s).css({textAlign:"center",fontSize:"15px"}),r.zoomerLink=e("<a/>").html(r.message).css({height:r.height,width:r.width,color:"#444",display:"block",lineHeight:parseInt(r.height,10)-parseInt((r.height-80)/10,10)+"px",textDecoration:"none"}).css("background","-moz-radial-gradient(center center, circle farthest-corner, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 100%) repeat scroll 0 0 transparent").css("background-image","-webkit-gradient(radial, center center, 0, center center, "+parseInt(r.width,10)+", from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.4)))").mousedown(function(){e(this).css("box-shadow","inset 0px 2px 8px rgba(100, 100, 100, 0.4)")}).bind("mouseout mouseup",function(){e(this).css("box-shadow","none")}).hide(),c&&r.zoomerLink.css({backgroundColor:"rgba(255, 255, 255, 0.5)"}),r.click?r.zoomerLink.attr("href",r.messageURL||r.src||"#").unbind("click").bind("click",r.click):r.zoomerLink.attr("href",r.messageURL||r.src),r.zoomerCover.append(r.zoomerLink).hover(function(){r.zoomerLink.show(),e(this).css("box-shadow","inset 2px 2px "+2*parseInt(r.width,10)+"px rgba(255, 255, 255, 0.2)")},function(){r.zoomerLink.hide(),e(this).css("box-shadow","none")}).mousedown(function(){e(this).css("box-shadow","inset 2px 2px "+2*parseInt(r.width,10)+"px rgba(200, 200, 200, 0.8)")}).bind("mouseout mouseup",function(){e(this).css("box-shadow","none")}),r.zoomerLoader=e("<div/>").addClass("zoomer-loader").css(i).css(a).css(s).css({textAlign:"center",fontSize:"15px",lineHeight:parseInt(r.height,10)-parseInt((r.height-80)/10,10)+"px",background:"#fff"}).html(r.loadingMessage),r.zoomerWrapper.append(r.zoomerCover).append(r.zoomerLoader),c&&r.zoomerLoader.css(i),t[o]("updateWrapper")[o]("fadeOut")},updateWrapper:function(){var t=e(this),r=t.data(o);return e.each([r.zoomerWrapper.get(0),r.zoomerCover.get(0),r.zoomerLoader.get(0),r.zoomerSmall.get(0)],function(){e(this).css({height:r.height,width:r.width})}),t},fadeIn:function(){var t=e(this),r=t.data(o);return c?t:(t.css(i),r.zoomerSmall.stop().css("opacity",0).css(n).animate({opacity:1},150,function(){t.css(n).css("opacity",0).animate({opacity:1},500)}),r.zoomerLoader.show().animate({opacity:0},300,function(){e(this).hide()}),t)},fadeOut:function(){var t=e(this),r=t.data(o);return c?t:(r.zoomerSmall.stop().animate({opacity:0},300,function(){e(this).css("visibility","hidden")}),r.zoomerLoader.css("opacity",0).css(n).show().animate({opacity:1},100),t)},zoom:function(){var t=e(this),r=t.data(o);return c?(setTimeout(function(){t.css({zoom:r.zoom,height:parseInt(r.height/r.zoom*(1/(d>=9?1:r.zoom)),10),width:parseInt(r.width/r.zoom*(1/(d>=9?1:r.zoom)),10)}).css(n),r.zoomerLink.remove(),r.zoomerCover.unbind("hover mouseover mouseout").addClass(r.ieMessageButtonClass).html(r.message).css({width:94,height:14,fontSize:12,padding:"6px 18px 6px 18px",top:parseInt(r.height-36,10),left:parseInt((r.width-130)/2,10)}).show(),r.click||(r.click=function(){location.href=r.messageURL||r.src}),r.zoomerCover.unbind("click").bind("click",r.click),r.onComplete(t)},1e3),t):r.externalSrc?(t.css({height:r.height/r.zoom,width:r.width/r.zoom,"transform-origin":r.tranformOrigin,"-webkit-transform-origin":r.tranformOrigin,"-moz-transform-origin":r.tranformOrigin,"-o-transform-origin":r.tranformOrigin,transform:"scale("+r.zoom+")","-webkit-transform":"scale("+r.zoom+")","-moz-transform":"scale("+r.zoom+")","-o-transform":"scale("+r.zoom+")"}).css(n),t[o]("fadeIn"),r.onComplete(t),t):(t.css({height:r.height/r.zoom,width:r.width/r.zoom}).load(function(){t.contents().find("html").css({"transform-origin":r.tranformOrigin,"-webkit-transform-origin":r.tranformOrigin,"-moz-transform-origin":r.tranformOrigin,"-o-transform-origin":r.tranformOrigin,transform:"scale("+r.zoom+")","-webkit-transform":"scale("+r.zoom+")","-moz-transform":"scale("+r.zoom+")","-o-transform":"scale("+r.zoom+")"}),t[o]("fadeIn"),r.onComplete(t)}),t)},src:function(t){var r=e(this),n=r.data(o);return n.src=t,r[o]("fadeOut").attr("src",t),r},refresh:function(){var t=e(this),r=t.data(o);return t[o]("src",r.src)},zoomedBodyHeight:function(){var t=e(this),r=t.data(o);return r.externalSrc?e.error("jQuery.zoomer: cannot access bodyHeight of an external iFrame"):r.zoom*e(t.get(0).contentWindow.document).height()}},e.fn[o]=function(r){return t[r]?t[r].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof r&&r?void e.error("jQuery."+o+": Method "+r+" does not exist"):t.init.apply(this,arguments)}}(jQuery),function(e,t,o){function r(e){var t={},r=/^jQuery\d+$/;return o.each(e.attributes,function(e,o){o.specified&&!r.test(o.name)&&(t[o.name]=o.value)}),t}function n(e,t){var r=this,n=o(r);if(r.value==n.attr("placeholder")&&n.hasClass("placeholder"))if(n.data("placeholder-password")){if(n=n.hide().next().show().attr("id",n.removeAttr("id").data("placeholder-id")),e===!0)return n[0].value=t;n.focus()}else r.value="",n.removeClass("placeholder"),r==a()&&r.select()}function i(){var e,t=this,i=o(t),a=this.id;if(""==t.value){if("password"==t.type){if(!i.data("placeholder-textinput")){try{e=i.clone().attr({type:"text"})}catch(s){e=o("<input>").attr(o.extend(r(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":i,"placeholder-id":a}).bind("focus.placeholder",n),i.data({"placeholder-textinput":e,"placeholder-id":a}).before(e)}i=i.removeAttr("id").hide().prev().attr("id",a).show()}i.addClass("placeholder"),i[0].value=i.attr("placeholder")}else i.removeClass("placeholder")}function a(){try{return t.activeElement}catch(e){}}var s,l,c="[object OperaMini]"==Object.prototype.toString.call(e.operamini),d="placeholder"in t.createElement("input")&&!c,u="placeholder"in t.createElement("textarea")&&!c,h=o.fn,p=o.valHooks,f=o.propHooks;d&&u?(l=h.placeholder=function(){return this},l.input=l.textarea=!0):(l=h.placeholder=function(){var e=this;return e.filter((d?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":n,"blur.placeholder":i}).data("placeholder-enabled",!0).trigger("blur.placeholder"),e},l.input=d,l.textarea=u,s={get:function(e){var t=o(e),r=t.data("placeholder-password");return r?r[0].value:t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":e.value},set:function(e,t){var r=o(e),s=r.data("placeholder-password");return s?s[0].value=t:r.data("placeholder-enabled")?(""==t?(e.value=t,e!=a()&&i.call(e)):r.hasClass("placeholder")?n.call(e,!0,t)||(e.value=t):e.value=t,r):e.value=t}},d||(p.input=s,f.value=s),u||(p.textarea=s,f.value=s),o(function(){o(t).delegate("form","submit.placeholder",function(){var e=o(".placeholder",this).each(n);setTimeout(function(){e.each(i)},10)})}),o(e).bind("beforeunload.placeholder",function(){o(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery),function(e,t,o,r){var n=e(t);e.fn.lazyload=function(i){function a(){var t=0;l.each(function(){var o=e(this);if(!c.skip_invisible||o.is(":visible"))if(e.abovethetop(this,c)||e.leftofbegin(this,c));else if(e.belowthefold(this,c)||e.rightoffold(this,c)){if(++t>c.failure_limit)return!1}else o.trigger("appear"),t=0})}var s,l=this,c={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return i&&(r!==i.failurelimit&&(i.failure_limit=i.failurelimit,delete i.failurelimit),r!==i.effectspeed&&(i.effect_speed=i.effectspeed,delete i.effectspeed),e.extend(c,i)),s=c.container===r||c.container===t?n:e(c.container),0===c.event.indexOf("scroll")&&s.bind(c.event,function(){return a()}),this.each(function(){var t=this,o=e(t);t.loaded=!1,(o.attr("src")===r||o.attr("src")===!1)&&o.is("img")&&o.attr("src",c.placeholder),o.one("appear",function(){if(!this.loaded){if(c.appear){var r=l.length;c.appear.call(t,r,c)}e("<img />").bind("load",function(){var r=o.attr("data-"+c.data_attribute);o.hide(),o.is("img")?o.attr("src",r):o.css("background-image","url('"+r+"')"),o[c.effect](c.effect_speed),t.loaded=!0;var n=e.grep(l,function(e){return!e.loaded});if(l=e(n),c.load){var i=l.length;c.load.call(t,i,c)}}).attr("src",o.attr("data-"+c.data_attribute))}}),0!==c.event.indexOf("scroll")&&o.bind(c.event,function(){t.loaded||o.trigger("appear")})}),n.bind("resize",function(){a()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&n.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(o).ready(function(){a()}),this},e.belowthefold=function(o,i){var a;return a=i.container===r||i.container===t?(t.innerHeight?t.innerHeight:n.height())+n.scrollTop():e(i.container).offset().top+e(i.container).height(),a<=e(o).offset().top-i.threshold},e.rightoffold=function(o,i){var a;return a=i.container===r||i.container===t?n.width()+n.scrollLeft():e(i.container).offset().left+e(i.container).width(),a<=e(o).offset().left-i.threshold},e.abovethetop=function(o,i){var a;return a=i.container===r||i.container===t?n.scrollTop():e(i.container).offset().top,a>=e(o).offset().top+i.threshold+e(o).height()},e.leftofbegin=function(o,i){var a;return a=i.container===r||i.container===t?n.scrollLeft():e(i.container).offset().left,a>=e(o).offset().left+i.threshold+e(o).width()},e.inviewport=function(t,o){return!(e.rightoffold(t,o)||e.leftofbegin(t,o)||e.belowthefold(t,o)||e.abovethetop(t,o))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})}(jQuery,window,document),$(function(){$(".tip").tooltip(),$("input, textarea").placeholder(),$("img.lazy").lazyload({effect:"fadeIn"}),$(".navbar-bootsnipp .navbar-nav > li > .dropdown-menu > li.active").closest("li.dropdown").addClass("active"),$('a[href="#toggle-search"], .navbar-bootsnipp .bootsnipp-search .input-group-btn > .btn[type="reset"]').on("click",function(e){e.preventDefault(),$(".navbar-bootsnipp .bootsnipp-search .input-group > input").val(""),$(".navbar-bootsnipp .bootsnipp-search").toggleClass("open"),$('a[href="#toggle-search"]').closest("li").toggleClass("active"),$(".navbar-bootsnipp .bootsnipp-search").hasClass("open")&&setTimeout(function(){$(".navbar-bootsnipp .bootsnipp-search .form-control").focus()},100)})});