1!function(s){"use strict";s.fn.fitVids=function(t){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("div");n.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',e.appendChild(n.childNodes[1])}return t&&s.extend(i,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&t.push(i.customSelector);var n=".fitvidsignore";i.ignore&&(n=n+", "+i.ignore);var e=s(this).find(t.join(","));(e=(e=e.not("object object")).not(n)).each(function(){var t=s(this);if(!(0<t.parents(n).length||"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var e=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("name")){var i="fitvid"+s.fn.fitVids._count;t.attr("name",i),s.fn.fitVids._count++}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),t.removeAttr("height").removeAttr("width")}})})},s.fn.fitVids._count=0}(window.jQuery||window.Zepto);var objectFitImages=function(){"use strict";var s="bfred-it:object-fit-images",o=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g,t=new Image,n="object-fit"in t.style,r="object-position"in t.style,a="background-size"in t.style,l="string"==typeof t.currentSrc,c=t.getAttribute,u=t.setAttribute,h=!1;function d(t,e,i){var n=function(t,e){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+t+"' height='"+e+"'%3E%3C/svg%3E"}(e||1,i||0);c.call(t,"src")!==n&&u.call(t,"src",n)}function p(t,e){t.naturalWidth?e(t):setTimeout(p,100,t,e)}function m(e){var t=function(t){for(var e,i=getComputedStyle(t).fontFamily,n={};null!==(e=o.exec(i));)n[e[1]]=e[2];return n}(e),i=e[s];if(t["object-fit"]=t["object-fit"]||"fill",!i.img){if("fill"===t["object-fit"])return;if(!i.skipTest&&n&&!t["object-position"])return}if(!i.img){i.img=new Image(e.width,e.height),i.img.srcset=c.call(e,"data-ofi-srcset")||e.srcset,i.img.src=c.call(e,"data-ofi-src")||e.src,u.call(e,"data-ofi-src",e.src),e.srcset&&u.call(e,"data-ofi-srcset",e.srcset),d(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{!function(i){var e={get:function(t){return i[s].img[t||"src"]},set:function(t,e){return i[s].img[e||"src"]=t,u.call(i,"data-ofi-"+e,t),m(i),t}};Object.defineProperty(i,"src",e),Object.defineProperty(i,"currentSrc",{get:function(){return e.get("currentSrc")}}),Object.defineProperty(i,"srcset",{get:function(){return e.get("srcset")},set:function(t){return e.set(t,"srcset")}})}(e)}catch(t){window.console&&console.log("http://bit.ly/ofi-old-browser")}}!function(t){if(t.srcset&&!l&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}(i.img),e.style.backgroundImage="url("+(i.img.currentSrc||i.img.src).replace("(","%28").replace(")","%29")+")",e.style.backgroundPosition=t["object-position"]||"center",e.style.backgroundRepeat="no-repeat",/scale-down/.test(t["object-fit"])?p(i.img,function(){i.img.naturalWidth>e.width||i.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"}):e.style.backgroundSize=t["object-fit"].replace("none","auto").replace("fill","100% 100%"),p(i.img,function(t){d(e,t.naturalWidth,t.naturalHeight)})}function f(t,e){var i=!h&&!t;if(e=e||{},t=t||"img",r&&!e.skipTest||!a)return!1;"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var n=0;n<t.length;n++)t[n][s]=t[n][s]||{skipTest:e.skipTest},m(t[n]);i&&(document.body.addEventListener("load",function(t){"IMG"===t.target.tagName&&f(t.target,{skipTest:e.skipTest})},!0),h=!0,t="img"),e.watchMQ&&window.addEventListener("resize",f.bind(null,t,{skipTest:e.skipTest}))}function i(t,e){return t[s]&&t[s].img&&("src"===e||"srcset"===e)?t[s].img:t}return f.supportsObjectFit=n,(f.supportsObjectPosition=r)||(HTMLImageElement.prototype.getAttribute=function(t){return c.call(i(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,e){return u.call(i(this,t),t,String(e))}),f}();!function(l,i,s,o){function c(t,e){this.settings=null,this.options=l.extend({},c.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(c.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(c.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,s={width:"auto","margin-left":n?e:"","margin-right":n?"":e};i||this.$stage.children().css(s),t.css=s}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,s=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=1<i||t.items.merge,o[n]=s?e*i:this._items[n].width();this._widths=o}},{filter:["items","settings"],run:function(){var t=[],e=this._items,i=this.settings,n=Math.max(2*i.items,4),s=2*Math.ceil(e.length/2),o=i.loop&&e.length?
vendor: 11,582 bytes, line 1
1i.rewind?n:Math.max(n,s):0,r="",a="";for(o/=2;o--;)t.push(this.normalize(t.length/2,!0)),r+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a;this._clones=t,l(r).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,s=0,o=[];++i<e;)n=o[i-1]||0,s=this._widths[this.relative(i)]+this.settings.margin,o.push(n+s*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,s=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,r=this.coordinates(this.current())+o,a=r+this.width()*s,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*s,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],c.prototype.initialize=function(){var t,e,i;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:o,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i<t&&(i=Number(t))}),"function"==typeof(n=l.extend({},this.options,t[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},c.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},c.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,i).length)&&this._pipe[t].run(n),t++;this._invalidated={},this.is("valid")||this.enter("valid")},c.prototype.width=function(t){switch(t=t||c.Width.Default){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},c.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},c.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},c.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},c.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},c.prototype.onDragStart=function(t){var e=null;3!==t.which&&(e=l.support.transform?{x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),{x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(s).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(s).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(s).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},c.prototype.onDragMove=function(t){var e=null,i=null,n=null,s=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,s);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*s.x/5:0,o.x=Math.max(Math.min(o.x,e+n),i+n)),this._drag.stage.current=o,this.animate(o.x))},c.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),i=this._drag.stage.current,n=0<e.x^this.settings.rtl?"left":"right";l(s).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(i.x,0!==e.x?n:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=n,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},c.prototype.closest=function(i,n){var s=-1,o=this.width(),r=this.coordinates();return this.settings.freeDrag||l.each(r,l.proxy(function(t,e){return"left"===n&&e-30<i&&i<e+30?s=t:"right"===n&&e-o-30<i&&i<e-o+30?s=t+1:this.op(i,"<",e)&&this.op(i,">",r[t+1]||e-o)&&(s="left"===n?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",r[this.minimum()])?s=i=this.minimum():this.op(i,"<",r[this.maximum()])&&(s=i=this.maximum())),s},c.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},c.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},c.prototype.current=function(t){if(t===o)return this._current;if(0===this._items.length)return o;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==o&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},c.prototype.invalidate=function(t){return"string"===l.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(t,e){return e})},c.prototype.reset=function(t){(t=this.normalize(t))!==o&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},c.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=o:(t<0||i+n<=t)&&(t=((t-n/2)%i+i)%i+n/2),t},c.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},c.prototype.maximum=function(t){var e,i,n,s=this.settings,o=this._coordinates.length;if(s.loop)o=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){for(e=this._items.length,i=this._items[--e].width(),n=this.$element.width();e--&&!(n<(i+=this._items[e].width()+this.settings.margin)););o=e+1}else o=s.center?this._items.length-1:this._items.length-s.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},c.prototype.minimum=function(t){return t?0:this._clones.length/2},c.prototype.items=function(t){return t===o?this._items.slice():(t=this.normalize(t,!0),this._items[t])},c.prototype.mergers=function(t){return t===o?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},c.prototype.clones=function(i){function n(t){return t%2==0?s+t/2:e-(t+1)/2}var e=this._clones.length/2,s=e+this._items.length;return i===o?l.map(this._clones,function(t,e){return n(e)}):l.map(this._clones,function(t,e){return t===i?n(e):null})},c.prototype.speed=function(t){return t!==o&&(this._speed=t),this._speed},c.prototype.coordinates=function(t){var e,i=1,n=t-1;return t===o?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[n]||0))/2*i):e=this._coordinates[n]||0,e=Math.ceil(e))}
vendor: 8,394 bytes, line 1
1,c.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},c.prototype.to=function(t,e){var i=this.current(),n=null,s=t-this.relative(i),o=(0<s)-(s<0),r=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>r/2&&(s+=-1*o*r),(n=(((t=i+s)-a)%r+r)%r+a)!==t&&n-s<=l&&0<n-s&&(i=n-s,t=n,this.reset(i))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},c.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},c.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},c.prototype.onTransitionEnd=function(t){if(t!==o&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},c.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==i?t=l(this.options.responsiveBaseElement).width():i.innerWidth?t=i.innerWidth:s.documentElement&&s.documentElement.clientWidth?t=s.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},c.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:l(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},c.prototype.add=function(t,e){var i=this.relative(this._current);e=e===o?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},c.prototype.remove=function(t){(t=this.normalize(t,!0))!==o&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},c.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},c.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(s).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},c.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?i<t:t<i;case">":return n?t<i:i<t;case">=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},c.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},c.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},c.prototype.trigger=function(t,e,i,n,s){var o={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},o,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===o&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(i){if(i.type===c.Type.Event){if(l.event.special[i.name]||(l.event.special[i.name]={}),!l.event.special[i.name].owl){var e=l.event.special[i.name]._default;l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[i.name].owl=!0}}else i.type===c.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=l.grep(this._states.tags[i.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[i.name])===e},this)))},c.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},c.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},c.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||i.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},c.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},c.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),i=t.data("owl.carousel");i||(i=new c(this,"object"==typeof e&&e),t.data("owl.carousel",i),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){i.register({type:c.Type.Event,name:e}),i.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),i[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},i))})),"string"==typeof e&&"_"!==e.charAt(0)&&i[e].apply(i,n)})},l.fn.owlCarousel.Constructor=c}(window.Zepto||window.jQuery,window,document),function(e,i){var n=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=i.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,e;for(t in i.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(a,o){var e=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":
vendor: 16,206 bytes, line 1
1a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var e=this._core.settings,i=e.center&&Math.ceil(e.items/2)||e.items,n=e.center&&-1*i||0,s=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+n,o=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);n++<i;)this.load(o/2+this._core.relative(s)),o&&a.each(this._core.clones(this._core.relative(s)),r),s++},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1},e.prototype.load=function(t){var e=this._core.$stage.children().eq(t),i=e&&e.find(".owl-lazy");!i||-1<a.inArray(e.get(0),this._loaded)||(i.each(a.proxy(function(t,e){var i,n=a(e),s=1<o.devicePixelRatio&&n.attr("data-src-retina")||n.attr("data-src");this._core.trigger("load",{element:n,url:s},"lazy"),n.is("img")?n.one("load.owl.lazy",a.proxy(function(){n.css("opacity",1),this._core.trigger("loaded",{element:n,url:s},"lazy")},this)).attr("src",s):((i=new Image).onload=a.proxy(function(){n.css({"background-image":'url("'+s+'")',opacity:"1"}),this._core.trigger("loaded",{element:n,url:s},"lazy")},this),i.src=s)},this)),this._loaded.push(e.get(0)))},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(o){var e=function(t){this._core=t,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=o.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var t,e=this._core._current,i=e+this._core.settings.items,n=this._core.$stage.children().toArray().slice(e,i),s=[];o.each(n,function(t,e){s.push(o(e).height())}),t=Math.max.apply(null,s),this._core.$stage.parent().height(t).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(u,t,e){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":u.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":u.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":u.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":u.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":u.proxy(function(t){if(t.namespace){var e=u(t.content).find(".owl-video");e.length&&(e.css("display","none"),this.fetch(e,u(t.content)))}},this)},this._core.options=u.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",u.proxy(function(t){this.play(t)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),s=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if(-1<(n=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[r]={type:i,id:n,width:s,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},i.prototype.thumbnail=function(e,t){function i(t){'<div class="owl-video-play-icon"></div>',n=c.lazyLoad?'<div class="owl-video-tn '+l+'" '+a+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(n),e.after('<div class="owl-video-play-icon"></div>')}var n,s,o=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",r=e.find("img"),a="src",l="",c=this._core.settings;if(e.wrap('<div class="owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return i(r.attr(a)),r.remove(),!1;"youtube"===t.type?(s="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(s)):"vimeo"===t.type?u.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t[0].thumbnail_large,i(s)}}):"vzaar"===t.type&&u.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t.framegrab_url,i(s)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var e,i=u(t.target).closest("."+this._core.settings.itemClass),n=this._videos[i.attr("data-video")],s=n.width||"100%",o=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),"youtube"===n.type?e='<iframe width="'+s+'" height="'+o+'" src="//www.youtube.com/embed/'+n.id+"?autoplay=1&rel=0&v="+n.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===n.type?e='<iframe src="//player.vimeo.com/video/'+n.id+'?autoplay=1" width="'+s+'" height="'+o+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===n.type&&(e='<iframe frameborder="0"height="'+o+'"width="'+s+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+n.id+'/player?autoplay=true"></iframe>'),u('<div class="owl-video-frame">'+e+"</div>").insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&u(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},u.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(r){var e=function(t){this.core=t,this.core.options=r.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":r.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&r.support.animation&&r.support.transition){this.core.speed(0);var t,e=r.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,o=this.core.settings.animateOut;this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(r.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o)),s&&n.one(r.support.animation.end,e).addClass("animated owl-animated-in").addClass(s))}},e.prototype.clear=function(t){r(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(i,n,s){var e=function(t){this._core=t,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(t,e){return this._timeout&&n.clearTimeout(this._timeout),n.setTimeout(i.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||s.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),t||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(n.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(o){"use strict";var e=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+o(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":o.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=o.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?o(i.navContainer):o("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=o("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",o.proxy(function(){this.prev(i.navSpeed)},this)),this._controls.$next=o("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",o.proxy(function(){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[o("<div>").addClass(i.dotClass).append(o("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?o(i.dotsContainer):o("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",o.proxy(function(t){var e=o(t.target).parent().is(this._controls.$absolute)?o(t.target).index():o(t.target).parent().index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),this._overrides)this._core[t]=o.proxy(this[t],this)},e.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,s=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0;t<n;t++){if(r<=e||0===e){if(this._pages.push({start:Math.min(s,t-i),end:t-i+r-1}),Math.min(s,t-i)===s)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var t,e=this._core.settings,i=this._core.items().length<=e.items,n=this._core.relative(this._core.current()),s=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||i),e.nav&&(this._controls.$previous.toggleClass("disabled",!s&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!s&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||i),e.dots&&(t=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!=t?this._controls.$absolute.html(this._templates.join("")):0<t?this._controls.$absolute.append(new Array(1+t).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(o.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(t){var e=this._core.settings;
1t.page={index:o.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},e.prototype.current=function(){var e=this._core.relative(this._core.current());return o.grep(this._pages,o.proxy(function(t){return t.start<=e&&t.end>=e},this)).pop()},e.prototype.getPosition=function(t){var e,i,n=this._core.settings;return"page"==n.slideBy?(e=o.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=n.slideBy:e-=n.slideBy),e},e.prototype.next=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,i){var n;!i&&this._pages.length?(n=this._pages.length,o.proxy(this._overrides.to,this._core)(this._pages[(t%n+n)%n].start,e)):o.proxy(this._overrides.to,this._core)(t,e)},o.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(n,s){"use strict";var e=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&n(s).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){if(t.namespace){var e=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!e)return;this._hashes[e]=t.content}},this),"changed.owl.carousel":n.proxy(function(t){if(t.namespace&&"position"===t.property.name){var i=this._core.items(this._core.relative(this._core.current())),e=n.map(this._hashes,function(t,e){return t===i?e:null}).join();if(!e||s.location.hash.slice(1)===e)return;s.location.hash=e}},this)},this._core.options=n.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),n(s).on("hashchange.owl.navigation",n.proxy(function(){var t=s.location.hash.substring(1),e=this._core.$stage.children(),i=this._hashes[t]&&e.index(this._hashes[t]);void 0!==i&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var t,e;for(t in n(s).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(s,t,e,o){var r=s("<support>").get(0).style,a="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"}}},n=function(){return!!u("transform")},l=function(){return!!u("perspective")},c=function(){return!!u("animation")};function u(t,i){var n=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return s.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(r[e]!==o)return n=!i||e,!1}),n}function h(t){return u(t,!0)}!function(){return!!u("transition")}()||(s.support.transition=new String(h("transition")),s.support.transition.end=i.transition.end[s.support.transition]),c()&&(s.support.animation=new String(h("animation")),s.support.animation.end=i.animation.end[s.support.animation]),n()&&(s.support.transform=new String(h("transform")),s.support.transform3d=l())}(window.Zepto||window.jQuery,window,document),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipeUI_Default=e()}(this,function(){"use strict";return function(s,a){function t(t){if(T)return!0;t=t||window.event,k.timeToIdle&&k.mouseUsed&&!w&&L();for(var e,i,n=(t.target||t.srcElement).getAttribute("class")||"",s=0;s<F.length;s++)(e=F[s]).onTap&&-1<n.indexOf("pswp__"+e.name)&&(e.onTap(),i=!0);if(i){t.stopPropagation&&t.stopPropagation(),T=!0;var o=a.features.isOldAndroid?600:30;setTimeout(function(){T=!1},o)}}function i(t,e,i){a[(i?"add":"remove")+"Class"](t,"pswp__"+e)}function e(){var t=1===k.getNumItemsFn();t!==A&&(i(d,"ui--one-slide",t),A=t)}function n(){i(v,"share-modal--hidden",M)}function o(){return(M=!M)?(a.removeClass(v,"pswp__share-modal--fade-in"),setTimeout(function(){M&&n()},300)):(n(),setTimeout(function(){M||a.addClass(v,"pswp__share-modal--fade-in")},30)),M||O(),!1}function r(t){var e=(t=t||window.event).target||t.srcElement;return s.shout("shareLinkClick",t,e),!!e.href&&(!!e.hasAttribute("download")||(window.open(e.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),M||o(),!1))}function l(t){for(var e=0;e<k.closeElClasses.length;e++)if(a.hasClass(t,"pswp__"+k.closeElClasses[e]))return!0}function c(t){var e=(t=t||window.event).relatedTarget||t.toElement;e&&"HTML"!==e.nodeName||(clearTimeout(I),I=setTimeout(function(){S.setIdle(!0)},k.timeToIdleOutside))}function u(t){var e=t.vGap;if(!s.likelyTouchDevice||k.mouseUsed||screen.width>k.fitControlsWidth){var i=k.barsSize;if(k.captionEl&&"auto"===i.bottom)if(m||((m=a.createEl("pswp__caption pswp__caption--fake")).appendChild(a.createEl("pswp__caption__center")),d.insertBefore(m,p),a.addClass(d,"pswp__ui--fit")),k.addCaptionHTMLFn(t,m,!0)){var n=m.clientHeight;e.bottom=parseInt(n,10)||44}else e.bottom=i.top;else e.bottom="auto"===i.bottom?0:i.bottom;e.top=i.top}else e.top=e.bottom=0}var h,d,p,m,f,g,v,y,w,_,x,b,C,A,k,T,E,I,S=this,z=!1,D=!0,M=!0,P={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(t,e){return t.title?(e.children[0].innerHTML=t.title,!0):(e.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl
1:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return s.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return s.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},O=function(){for(var t,e,i,n,s="",o=0;o<k.shareButtons.length;o++)t=k.shareButtons[o],e=k.getImageURLForShare(t),i=k.getPageURLForShare(t),n=k.getTextForShare(t),s+='<a href="'+t.url.replace("{{url}}",encodeURIComponent(i)).replace("{{image_url}}",encodeURIComponent(e)).replace("{{raw_image_url}}",e).replace("{{text}}",encodeURIComponent(n))+'" target="_blank" class="pswp__share--'+t.id+'"'+(t.download?"download":"")+">"+t.label+"</a>",k.parseShareButtonOut&&(s=k.parseShareButtonOut(t,s));v.children[0].innerHTML=s,v.children[0].onclick=r},$=0,L=function(){clearTimeout(I),$=0,w&&S.setIdle(!1)},R=function(t){b!==t&&(i(x,"preloader--active",!t),b=t)},F=[{name:"caption",option:"captionEl",onInit:function(t){p=t}},{name:"share-modal",option:"shareEl",onInit:function(t){v=t},onTap:function(){o()}},{name:"button--share",option:"shareEl",onInit:function(t){g=t},onTap:function(){o()}},{name:"button--zoom",option:"zoomEl",onTap:s.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(t){f=t}},{name:"button--close",option:"closeEl",onTap:s.close},{name:"button--arrow--left",option:"arrowEl",onTap:s.prev},{name:"button--arrow--right",option:"arrowEl",onTap:s.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){h.isFullscreen()?h.exit():h.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(t){x=t}}];S.init=function(){a.extend(s.options,P,!0),k=s.options,d=a.getChildByClass(s.scrollWrap,"pswp__ui"),_=s.listen,function(){var e;_("onVerticalDrag",function(t){D&&t<.95?S.hideControls():!D&&.95<=t&&S.showControls()}),_("onPinchClose",function(t){D&&t<.9?(S.hideControls(),e=!0):e&&!D&&.9<t&&S.showControls()}),_("zoomGestureEnded",function(){(e=!1)&&!D&&S.showControls()})}(),_("beforeChange",S.update),_("doubleTap",function(t){var e=s.currItem.initialZoomLevel;s.getZoomLevel()!==e?s.zoomTo(e,t,333):s.zoomTo(k.getDoubleTapZoom(!1,s.currItem),t,333)}),_("preventDragEvent",function(t,e,i){var n=t.target||t.srcElement;n&&n.getAttribute("class")&&-1<t.type.indexOf("mouse")&&(0<n.getAttribute("class").indexOf("__caption")||/(SMALL|STRONG|EM)/i.test(n.tagName))&&(i.prevent=!1)}),_("bindEvents",function(){a.bind(d,"pswpTap click",t),a.bind(s.scrollWrap,"pswpTap",S.onGlobalTap),s.likelyTouchDevice||a.bind(s.scrollWrap,"mouseover",S.onMouseOver)}),_("unbindEvents",function(){M||o(),E&&clearInterval(E),a.unbind(document,"mouseout",c),a.unbind(document,"mousemove",L),a.unbind(d,"pswpTap click",t),a.unbind(s.scrollWrap,"pswpTap",S.onGlobalTap),a.unbind(s.scrollWrap,"mouseover",S.onMouseOver),h&&(a.unbind(document,h.eventK,S.updateFullscreen),h.isFullscreen()&&(k.hideAnimationDuration=0,h.exit()),h=null)}),_("destroy",function(){k.captionEl&&(m&&d.removeChild(m),a.removeClass(p,"pswp__caption--empty")),v&&(v.children[0].onclick=null),a.removeClass(d,"pswp__ui--over-close"),a.addClass(d,"pswp__ui--hidden"),S.setIdle(!1)}),k.showAnimationDuration||a.removeClass(d,"pswp__ui--hidden"),_("initialZoomIn",function(){k.showAnimationDuration&&a.removeClass(d,"pswp__ui--hidden")}),_("initialZoomOut",function(){a.addClass(d,"pswp__ui--hidden")}),_("parseVerticalMargin",u),function(){function t(t){if(t)for(var e=t.length,i=0;i<e;i++){s=t[i],o=s.className;for(var n=0;n<F.length;n++)r=F[n],-1<o.indexOf("pswp__"+r.name)&&(k[r.option]?(a.removeClass(s,"pswp__element--disabled"),r.onInit&&r.onInit(s)):a.addClass(s,"pswp__element--disabled"))}}var s,o,r;t(d.children);var e=a.getChildByClass(d,"pswp__top-bar");e&&t(e.children)}(),k.shareEl&&g&&v&&(M=!0),e(),k.timeToIdle&&_("mouseUsed",function(){a.bind(document,"mousemove",L),a.bind(document,"mouseout",c),E=setInterval(function(){2==++$&&S.setIdle(!0)},k.timeToIdle/2)}),k.fullscreenEl&&!a.features.isOldAndroid&&(h||(h=S.getFullscreenAPI()),h?(a.bind(document,h.eventK,S.updateFullscreen),S.updateFullscreen(),a.addClass(s.template,"pswp--supports-fs")):a.removeClass(s.template,"pswp--supports-fs")),k.preloaderEl&&(R(!0),_("beforeChange",function(){clearTimeout(C),C=setTimeout(function(){s.currItem&&s.currItem.loading?s.allowProgressiveImg()&&(!s.currItem.img||s.currItem.img.naturalWi
1dth)||R(!1):R(!0)},k.loadingIndicatorDelay)}),_("imageLoadComplete",function(t,e){s.currItem===e&&R(!0)}))},S.setIdle=function(t){i(d,"ui--idle",w=t)},S.update=function(){z=!(!D||!s.currItem)&&(S.updateIndexIndicator(),k.captionEl&&(k.addCaptionHTMLFn(s.currItem,p),i(p,"caption--empty",!s.currItem.title)),!0),M||o(),e()},S.updateFullscreen=function(t){t&&setTimeout(function(){s.setScrollOffset(0,a.getScrollY())},50),a[(h.isFullscreen()?"add":"remove")+"Class"](s.template,"pswp--fs")},S.updateIndexIndicator=function(){k.counterEl&&(f.innerHTML=s.getCurrentIndex()+1+k.indexIndicatorSep+k.getNumItemsFn())},S.onGlobalTap=function(t){var e=(t=t||window.event).target||t.srcElement;if(!T)if(t.detail&&"mouse"===t.detail.pointerType){if(l(e))return void s.close();a.hasClass(e,"pswp__img")&&(1===s.getZoomLevel()&&s.getZoomLevel()<=s.currItem.fitRatio?k.clickToCloseNonZoomable&&s.close():s.toggleDesktopZoom(t.detail.releasePoint))}else if(k.tapToToggleControls&&(D?S.hideControls():S.showControls()),k.tapToClose&&(a.hasClass(e,"pswp__img")||l(e)))return void s.close()},S.onMouseOver=function(t){var e=(t=t||window.event).target||t.srcElement;i(d,"ui--over-close",l(e))},S.hideControls=function(){a.addClass(d,"pswp__ui--hidden"),D=!1},S.showControls=function(){D=!0,z||S.update(),a.removeClass(d,"pswp__ui--hidden")},S.supportsFullscreen=function(){var t=document;return!!(t.exitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen||t.msExitFullscreen)},S.getFullscreenAPI=function(){var t,e=document.documentElement,i="fullscreenchange";return e.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:e.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:e.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:e.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(y=k.closeOnScroll,k.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return s.template[this.enterK]();s.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return k.closeOnScroll=y,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipe=e()}(this,function(){"use strict";return function(p,n,t,e){var m={features:null,bind:function(t,e,i,n){var s=(n?"remove":"add")+"EventListener";e=e.split(" ");for(var o=0;o<e.length;o++)e[o]&&t[s](e[o],i,!1)},isArray:function(t){return t instanceof Array},createEl:function(t,e){var i=document.createElement(e||"div");return t&&(i.className=t),i},getScrollY:function(){var t=window.pageYOffset;return void 0!==t?t:document.documentElement.scrollTop},unbind:function(t,e,i){m.bind(t,e,i,!0)},removeClass:function(t,e){var i=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(i," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(t,e){m.hasClass(t,e)||(t.className+=(t.className?" ":"")+e)},hasClass:function(t,e){return t.className&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},getChildByClass:function(t,e){for(var i=t.firstChild;i;){if(m.hasClass(i,e))return i;i=i.nextSibling}},arraySearch:function(t,e,i){for(var n=t.length;n--;)if(t[n][i]===e)return n;return-1},extend:function(t,e,i){for(var n in e)if(e.hasOwnProperty(n)){if(i&&t.hasOwnProperty(n))continue;t[n]=e[n]}},easing:{sine:{out:function(t){return Math.sin(t*(Math.PI/2))},inOut:function(t){return-(Math.cos(Math.PI*t)-1)/2}},cubic:{out:function(t){return--t*t*t+1}}},detectFeatures:function(){if(m.features)return m.features;var t=m.createEl().style,e="",i={};if(i.oldIE=document.all&&!document.addEventListener,i.touch="ontouchstart"in window,window.requestAnimationFrame&&(i.raf=window.requestAnimationFrame,i.caf=window.cancelAnimationFrame),i.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!i.pointerEvent){var n=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var s=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);s&&0<s.length&&1<=(s=parseInt(s[1],10))&&s<8&&(i.isOldIOSPhone=!0)}var o=n.match(/Android\s([0-9\.]*)/),r=o?o[1]:0;1<=(r=parseFloat(r))&&(r<4.4&&(i.isOldAndroid=!0),i.androidVersion=r),i.isMobileOpera=/opera mini|o
1pera mobi/i.test(n)}for(var a,l,c=["transform","perspective","animationName"],u=["","webkit","Moz","ms","O"],h=0;h<4;h++){e=u[h];for(var d=0;d<3;d++)a=c[d],l=e+(e?a.charAt(0).toUpperCase()+a.slice(1):a),!i[a]&&l in t&&(i[a]=l);e&&!i.raf&&(e=e.toLowerCase(),i.raf=window[e+"RequestAnimationFrame"],i.raf&&(i.caf=window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"]))}if(!i.raf){var p=0;i.raf=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-p)),n=window.setTimeout(function(){t(e+i)},i);return p=e+i,n},i.caf=function(t){clearTimeout(t)}}return i.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,m.features=i}};m.detectFeatures(),m.features.oldIE&&(m.bind=function(t,e,i,n){e=e.split(" ");for(var s,o=(n?"detach":"attach")+"Event",r=function(){i.handleEvent.call(i)},a=0;a<e.length;a++)if(s=e[a])if("object"==typeof i&&i.handleEvent){if(n){if(!i["oldIE"+s])return!1}else i["oldIE"+s]=r;t[o]("on"+s,i["oldIE"+s])}else t[o]("on"+s,i)});var f=this,g={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(t){return"A"===t.tagName},getDoubleTapZoom:function(t,e){return t?1:e.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};m.extend(g,e);function i(t,e){m.extend(f,e.publicMethods),Qt.push(t)}function l(t){var e=Ue();return e-1<t?t-e:t<0?e+t:t}function o(t,e){return Jt[t]||(Jt[t]=[]),Jt[t].push(e)}function v(t){var e=Jt[t];if(e){var i=Array.prototype.slice.call(arguments);i.shift();for(var n=0;n<e.length;n++)e[n].apply(f,i)}}function u(){return(new Date).getTime()}function y(t){Ft=t,f.bg.style.opacity=t*g.bgOpacity}function s(t,e,i,n,s){(!Xt||s&&s!==f.currItem)&&(n/=s?s.fitRatio:f.currItem.fitRatio),t[rt]=Q+e+"px, "+i+"px"+Y+" scale("+n+")"}function h(t,e){if(!g.loop&&e){var i=Z+(qt.x*Ut-t)/qt.x,n=Math.round(t-_e.x);(i<0&&0<n||i>=Ue()-1&&n<0)&&(t=_e.x+n*g.mainScrollEndFriction)}_e.x=t,ie(t,H)}function c(t,e){var i=xe[t]-Kt[t];return Zt[t]+Wt[t]+i-e/V*i}function w(t,e){t.x=e.x,t.y=e.y,e.id&&(t.id=e.id)}function d(t){t.x=Math.round(t.x),t.y=Math.round(t.y)}function _(t,e){var i=Qe(f.currItem,Bt,t);return e&&(Mt=i),i}function x(t){return t||(t=f.currItem),t.initialZoomLevel}function b(t){return t||(t=f.currItem),0<t.w?g.maxSpreadZoom:1}function C(t,e,i,n){return n===f.currItem.initialZoomLevel?(i[t]=f.currItem.initialPosition[t],!0):(i[t]=c(t,n),i[t]>e.min[t]?(i[t]=e.min[t],!0):i[t]<e.max[t]&&(i[t]=e.max[t],!0))}function r(t){var e="";g.escKey&&27===t.keyCode?e="close":g.arrowKeys&&(37===t.keyCode?e="prev":39===t.keyCode&&(e="next")),e&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||(t.preventDefault?t.preventDefault():t.returnValue=!1,f[e]()))}function a(t){t&&(Tt||kt||Ot||xt)&&(t.preventDefault(),t.stopPropagation())}function A(){f.setScrollOffset(0,m.getScrollY())}function k(t){oe[t]&&(oe[t].raf&&ut(oe[t].raf),re--,delete oe[t])}function T(t){oe[t]&&k(t),oe[t]||(re++,oe[t]={})}function E(){for(var t in oe)oe.hasOwnProperty(t)&&k(t)}function I(t,e,i,n,s,o,r){var a,l=u();T(t);var c=function(){if(oe[t]){if(a=u()-l,n<=a)return k(t),o(i),void(r&&r());o((i-e)*s(a/n)+e),oe[t].raf=ct(c)}};c()}function S(t,e){return ge.x=Math.abs(t.x-e.x),ge.y=Math.abs(t.y-e.y),Math.sqrt(ge.x*ge.x+ge.y*ge.y)}function z(t,e){return Te.prevent=!ke(t.target,g.isClickableElement),v("preventDragEvent",t,e,Te),Te.prevent}function D(t,e){return e.x=t.pageX,e.y=t.pageY,e.id=t.identifier,e}function M(t,e,i){i.x=.5*(t.x+e.x),i.y=.5*(t.y+e.y)}function P(){var t=Ht.y-f.currItem.initialPosition.y;return 1-Math.abs(t/(Bt.y/2))}function O(t){for(;0<Se.length;)Se.pop();return at?(Nt=0,pe.forEach(function(t){0===Nt?Se[0]=t:1===Nt&&(Se[1]=t),Nt++})):-1<t.type.indexOf("touch")?t.touches&&0<t.touches.length&&(Se[0]=D(t.touches[0],Ee),1<t.touches.length&&(Se[1]=D(t.touches[1],Ie))):(Ee.x=t.pageX,Ee.y=t.pageY,Ee.id="",Se[0]=Ee),Se}function $(t,e){var i,n,s,o,r=Ht[t]+e[t],a=0<e[t],l=_e.x+e.x,c=_e.x-me.x;if(i=r>Mt.min[t]||r<Mt.max[t]?g.panEndFriction:1,r=Ht[t]+e[t]*i,(g.allowPanToNext||G===f.currItem.initialZoomLevel)&&(Pt?"h"!==$t||"x"!==t||kt||(a?(r>Mt.min[t]&&(i=g.panEndFriction,Mt.min[t]-r,n=Mt.min[t]-Zt[t]),(n<=0||c<0)&&1<Ue()?(o=l,c<0&&l>me.x&&(o=me.x)):Mt.min.x!==Mt.max.x&&(s=r)):(r<Mt.max[t]&&(i=g.panEndFriction,r-Mt.max[t],n=Zt[t]-Mt.max[t]),(n<=0||0<c)&&1<Ue()?(o=l,0<c&&l<me.x&&(o=me.x)):Mt.min.x!==Mt.max.x&&(s=r))):o=l,"x"===t))return void 0!==o&&(h(o,!0),It=o!==me.x),Mt.min.x!==Mt.max.x&&(void 0!==s?Ht.x=s:It||(Ht.x+=e.x*i)),void 0!==o;Ot||It||G>f.currItem.fitRatio&&(Ht[t]+=e[t]*i)}function L(t){if(!("mousedown"===t.type&&0<t.button))if(He)t.preventDefault();else if(!bt||"mousedown"!==t.type){if(z(t,!0)&&t.preventDefault(),v("pointerDown"),at){var e=m.arraySearch(pe,t.pointerId,"id");e<0&&(e=pe.length),pe[e]={x:t.pageX,y:t.pageY,id:t.pointerId}}var i=O(t),n=i.length;St=null,E(),Ct&&1!==n||(Ct=Lt=!0,m.bind(window,U,f),_t=jt=Rt=xt=It=Tt=At=kt=!1,$t=null,v("firstTouchStart",i),w(Zt,Ht),Wt.x=Wt.y=0,w(he,i[0]),w(de,he),me.x=qt.x*Ut,fe=[{x:he.x,y:he.y}],yt=vt=u(),_(G,!0),Ce(),Ae()),!zt&&1<n&&!Ot&&!It&&(V=G,zt=At=!(kt=!1),Wt.y=Wt.x=0,w(Zt,Ht),w(le,i[0]),w(ce,i[1]),M(le,ce,be),xe.x=Math.abs(be.x)-Ht.x,xe.y=Math.abs(be.y)-Ht.y,Dt=S(le,ce))}}function R(t){if(t.preventDefault(),at){var e=m.arraySearch(pe,t.pointerId,"id");if(-1<e){var i=pe[e];i.x=t.pageX,i.y=t.pageY}}if(Ct){var n=O(t);if($t||Tt||zt)St=n;else if(_e.x!==qt.x*Ut)$t="h";else{var s=Math.abs(n[0].x-he.x)-Math.abs(n[0].y-he.y);10<=Math.abs(s)&&($t=0<s?"h":"v",St=n)}}}function F(t){if(ft.isOldAndroid){if(bt&&"mouseup"===t.type)return;-1<t.type.indexOf("touch")&&(clearTimeout(bt),bt=setTimeout(function(){bt=0},600))}var e;if(v("pointerUp"),z(t,!1)&&t.preventDefault(),at){var i=m.arraySearch(pe,t.pointerId,"id");if(-1<i)if(e=pe.splice(i,1)[0],navigator.pointerEnabled)e.type=t.pointerType||"mouse";else{e.type={4:"mouse",2:"touch",3:"pen"}[t.pointerType],e.type||(e.type=t.pointerType||"mouse")}}var n,s=O(t),o=s.length;if("mouseup"===t.type&&(o=0),2===o)return!(St=null);1===o&&w(de,s[0]),0!==o||$t||Ot||(e||("mouseup"===t.type?e={x:t.pageX,y:t.pageY,type:"mouse"}:t.changedTouches&&t.changedTouches[0]&&(e={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY,type:"touch"})),v("touchRelease",t,e));var r=-1;if(0===o&&(Ct=!1,m.unbind(window,U,f),Ce(),zt?r=0:-1!==we&&(r=u()-we)),we=1===o?u():-1,n=-1!==r&&r<150?"zoom":"swipe",zt&&o<2&&(zt=!1,
11===o&&(n="zoomPointerUp"),v("zoomGestureEnded")),St=null,Tt||kt||Ot||xt)if(E(),wt||(wt=De()),wt.calculateSwipeSpeed("x"),xt){if(P()<g.verticalDragRange)f.close();else{var a=Ht.y,l=Ft;I("verticalDrag",0,1,300,m.easing.cubic.out,function(t){Ht.y=(f.currItem.initialPosition.y-a)*t+a,y((1-l)*t+l),te()}),v("onVerticalDrag",1)}}else{if((It||Ot)&&0===o){if(Pe(n,wt))return;n="zoomPointerUp"}Ot||("swipe"===n?!It&&G>f.currItem.fitRatio&&Me(wt):$e())}}var j,N,W,Z,H,B,U,K,q,G,V,Q,Y,X,J,tt,et,it,nt,st,ot,rt,at,lt,ct,ut,ht,dt,pt,mt,ft,gt,vt,yt,wt,_t,xt,bt,Ct,At,kt,Tt,Et,It,St,zt,Dt,Mt,Pt,Ot,$t,Lt,Rt,Ft,jt,Nt,Wt={x:0,y:0},Zt={x:0,y:0},Ht={x:0,y:0},Bt={},Ut=0,Kt={},qt={x:0,y:0},Gt=0,Vt=!0,Qt=[],Yt={},Xt=!1,Jt={},te=function(t){Pt&&(t&&(G>f.currItem.fitRatio?Xt||(Ye(f.currItem,!1,!0),Xt=!0):Xt&&(Ye(f.currItem),Xt=!1)),s(Pt,Ht.x,Ht.y,G))},ee=function(t){t.container&&s(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},ie=function(t,e){e[rt]=Q+t+"px, 0px"+Y},ne=null,se=function(){ne&&(m.unbind(document,"mousemove",se),m.addClass(p,"pswp--has_mouse"),g.mouseUsed=!0,v("mouseUsed")),ne=setTimeout(function(){ne=null},100)},oe={},re=0,ae={shout:v,listen:o,viewportSize:Bt,options:g,isMainScrollAnimating:function(){return Ot},getZoomLevel:function(){return G},getCurrentIndex:function(){return Z},isDragging:function(){return Ct},isZooming:function(){return zt},setScrollOffset:function(t,e){Kt.x=t,mt=Kt.y=e,v("updateScrollOffset",Kt)},applyZoomPan:function(t,e,i,n){Ht.x=e,Ht.y=i,G=t,te(n)},init:function(){if(!j&&!N){var t;f.framework=m,f.template=p,f.bg=m.getChildByClass(p,"pswp__bg"),ht=p.className,j=!0,ft=m.detectFeatures(),ct=ft.raf,ut=ft.caf,rt=ft.transform,pt=ft.oldIE,f.scrollWrap=m.getChildByClass(p,"pswp__scroll-wrap"),f.container=m.getChildByClass(f.scrollWrap,"pswp__container"),H=f.container.style,f.itemHolders=tt=[{el:f.container.children[0],wrap:0,index:-1},{el:f.container.children[1],wrap:0,index:-1},{el:f.container.children[2],wrap:0,index:-1}],tt[0].el.style.display=tt[2].el.style.display="none",function(){if(rt){var t=ft.perspective&&!lt;return Q="translate"+(t?"3d(":"("),Y=ft.perspective?", 0px)":")"}rt="left",m.addClass(p,"pswp--ie"),ie=function(t,e){e.left=t+"px"},ee=function(t){var e=1<t.fitRatio?1:t.fitRatio,i=t.container.style,n=e*t.w,s=e*t.h;i.width=n+"px",i.height=s+"px",i.left=t.initialPosition.x+"px",i.top=t.initialPosition.y+"px"},te=function(){if(Pt){var t=Pt,e=f.currItem,i=1<e.fitRatio?1:e.fitRatio,n=i*e.w,s=i*e.h;t.width=n+"px",t.height=s+"px",t.left=Ht.x+"px",t.top=Ht.y+"px"}}}(),q={resize:f.updateSize,orientationchange:function(){clearTimeout(gt),gt=setTimeout(function(){Bt.x!==f.scrollWrap.clientWidth&&f.updateSize()},500)},scroll:A,keydown:r,click:a};var e=ft.isOldIOSPhone||ft.isOldAndroid||ft.isMobileOpera;for(ft.animationName&&ft.transform&&!e||(g.showAnimationDuration=g.hideAnimationDuration=0),t=0;t<Qt.length;t++)f["init"+Qt[t]]();if(n)(f.ui=new n(f,m)).init();v("firstUpdate"),Z=Z||g.index||0,(isNaN(Z)||Z<0||Z>=Ue())&&(Z=0),f.currItem=Be(Z),(ft.isOldIOSPhone||ft.isOldAndroid)&&(Vt=!1),p.setAttribute("aria-hidden","false"),g.modal&&(Vt?p.style.position="fixed":(p.style.position="absolute",p.style.top=m.getScrollY()+"px")),void 0===mt&&(v("initialLayout"),mt=dt=m.getScrollY());var i="pswp--open ";for(g.mainClass&&(i+=g.mainClass+" "),g.showHideOpacity&&(i+="pswp--animate_opacity "),i+=lt?"pswp--touch":"pswp--notouch",i+=ft.animationName?" pswp--css_animation":"",i+=ft.svg?" pswp--svg":"",m.addClass(p,i),f.updateSize(),B=-1,Gt=null,t=0;t<3;t++)ie((t+B)*qt.x,tt[t].el.style);pt||m.bind(f.scrollWrap,K,f),o("initialZoomInEnd",function(){f.setContent(tt[0],Z-1),f.setContent(tt[2],Z+1),tt[0].el.style.display=tt[2].el.style.display="block",g.focus&&p.focus(),m.bind(document,"keydown",f),ft.transform&&m.bind(f.scrollWrap,"click",f),g.mouseUsed||m.bind(document,"mousemove",se),m.bind(window,"resize scroll orientationchange",f),v("bindEvents")}),f.setContent(tt[1],Z),f.updateCurrItem(),v("afterInit"),Vt||(X=setInterval(function(){re||Ct||zt||G!==f.currItem.initialZoomLevel||f.updateSize()},1e3)),m.addClass(p,"pswp--visible")}},close:function(){j&&(N=!(j=!1),v("close"),m.unbind(window,"resize scroll orientationchange",f),m.unbind(window,"scroll",q.scroll),m.unbind(document,"keydown",f),m.unbind(document,"mousemove",se),ft.transform&&m.unbind(f.scrollWrap,"click",f),Ct&&m.unbind(window,U,f),clearTimeout(gt),v("unbindEvents"),Ke(f.currItem,
1null,!0,f.destroy))},destroy:function(){v("destroy"),Ne&&clearTimeout(Ne),p.setAttribute("aria-hidden","true"),p.className=ht,X&&clearInterval(X),m.unbind(f.scrollWrap,K,f),m.unbind(window,"scroll",f),Ce(),E(),Jt=null},panTo:function(t,e,i){i||(t>Mt.min.x?t=Mt.min.x:t<Mt.max.x&&(t=Mt.max.x),e>Mt.min.y?e=Mt.min.y:e<Mt.max.y&&(e=Mt.max.y)),Ht.x=t,Ht.y=e,te()},handleEvent:function(t){t=t||window.event,q[t.type]&&q[t.type](t)},goTo:function(t){var e=(t=l(t))-Z;Gt=e,Z=t,f.currItem=Be(Z),Ut-=e,h(qt.x*Ut),E(),Ot=!1,f.updateCurrItem()},next:function(){f.goTo(Z+1)},prev:function(){f.goTo(Z-1)},updateCurrZoomItem:function(t){if(t&&v("beforeChange",0),tt[1].el.children.length){var e=tt[1].el.children[0];Pt=m.hasClass(e,"pswp__zoom-wrap")?e.style:null}else Pt=null;Mt=f.currItem.bounds,V=G=f.currItem.initialZoomLevel,Ht.x=Mt.center.x,Ht.y=Mt.center.y,t&&v("afterChange")},invalidateCurrItems:function(){J=!0;for(var t=0;t<3;t++)tt[t].item&&(tt[t].item.needsUpdate=!0)},updateCurrItem:function(t){if(0!==Gt){var e,i=Math.abs(Gt);if(!(t&&i<2)){f.currItem=Be(Z),Xt=!1,v("beforeChange",Gt),3<=i&&(B+=Gt+(0<Gt?-3:3),i=3);for(var n=0;n<i;n++)0<Gt?(e=tt.shift(),tt[2]=e,ie((++B+2)*qt.x,e.el.style),f.setContent(e,Z-i+n+1+1)):(e=tt.pop(),tt.unshift(e),ie(--B*qt.x,e.el.style),f.setContent(e,Z+i-n-1-1));if(Pt&&1===Math.abs(Gt)){var s=Be(et);s.initialZoomLevel!==G&&(Qe(s,Bt),Ye(s),ee(s))}Gt=0,f.updateCurrZoomItem(),et=Z,v("afterChange")}}},updateSize:function(t){if(!Vt&&g.modal){var e=m.getScrollY();if(mt!==e&&(p.style.top=e+"px",mt=e),!t&&Yt.x===window.innerWidth&&Yt.y===window.innerHeight)return;Yt.x=window.innerWidth,Yt.y=window.innerHeight,p.style.height=Yt.y+"px"}if(Bt.x=f.scrollWrap.clientWidth,Bt.y=f.scrollWrap.clientHeight,A(),qt.x=Bt.x+Math.round(Bt.x*g.spacing),qt.y=Bt.y,h(qt.x*Ut),v("beforeResize"),void 0!==B){for(var i,n,s,o=0;o<3;o++)i=tt[o],ie((o+B)*qt.x,i.el.style),s=Z+o-1,g.loop&&2<Ue()&&(s=l(s)),(n=Be(s))&&(J||n.needsUpdate||!n.bounds)?(f.cleanSlide(n),f.setContent(i,s),1===o&&(f.currItem=n,f.updateCurrZoomItem(!0)),n.needsUpdate=!1):-1===i.index&&0<=s&&f.setContent(i,s),n&&n.container&&(Qe(n,Bt),Ye(n),ee(n));J=!1}V=G=f.currItem.initialZoomLevel,(Mt=f.currItem.bounds)&&(Ht.x=Mt.center.x,Ht.y=Mt.center.y,te(!0)),v("resize")},zoomTo:function(e,t,i,n,s){t&&(V=G,xe.x=Math.abs(t.x)-Ht.x,xe.y=Math.abs(t.y)-Ht.y,w(Zt,Ht));var o=_(e,!1),r={};C("x",o,r,e),C("y",o,r,e);var a=G,l=Ht.x,c=Ht.y;d(r);function u(t){1===t?(G=e,Ht.x=r.x,Ht.y=r.y):(G=(e-a)*t+a,Ht.x=(r.x-l)*t+l,Ht.y=(r.y-c)*t+c),s&&s(t),te(1===t)}i?I("customZoomTo",0,1,i,n||m.easing.sine.inOut,u):u(1)}},le={},ce={},ue={},he={},de={},pe=[],me={},fe=[],ge={},ve=0,ye={x:0,y:0},we=0,_e={x:0,y:0},xe={x:0,y:0},be={x:0,y:0},Ce=function(){Et&&(ut(Et),Et=null)},Ae=function(){Ct&&(Et=ct(Ae),ze())},ke=function(t,e){return!(!t||t===document)&&(!(t.getAttribute("class")&&-1<t.getAttribute("class").indexOf("pswp__scroll-wrap"))&&(e(t)?t:ke(t.parentNode,e)))},Te={},Ee={},Ie={},Se=[],ze=function(){if(St){var t=St.length;if(0!==t)if(w(le,St[0]),ue.x=le.x-he.x,ue.y=le.y-he.y,zt&&1<t){if(he.x=le.x,he.y=le.y,!ue.x&&!ue.y&&function(t,e){return t.x===e.x&&t.y===e.y}(St[1],ce))return;w(ce,St[1]),kt||(kt=!0,v("zoomGestureStarted"));var e=S(le,ce),i=Oe(e);i>f.currItem.initialZoomLevel+f.currItem.initialZoomLevel/15&&(jt=!0);var n=1,s=x(),o=b();if(i<s)if(g.pinchToClose&&!jt&&V<=f.currItem.initialZoomLevel){var r=1-(s-i)/(s/1.2);y(r),v("onPinchClose",r),Rt=!0}else 1<(n=(s-i)/s)&&(n=1),i=s-n*(s/3);else o<i&&(1<(n=(i-o)/(6*s))&&(n=1),i=o+n*s);n<0&&(n=0),e,M(le,ce,ye),Wt.x+=ye.x-be.x,Wt.y+=ye.y-be.y,w(be,ye),Ht.x=c("x",i),Ht.y=c("y",i),_t=G<i,G=i,te()}else{if(!$t)return;if(Lt&&(Lt=!1,10<=Math.abs(ue.x)&&(ue.x-=St[0].x-de.x),10<=Math.abs(ue.y)&&(ue.y-=St[0].y-de.y)),he.x=le.x,he.y=le.y,0===ue.x&&0===ue.y)return;if("v"===$t&&g.closeOnVerticalDrag&&"fit"===g.scaleMode&&G===f.currItem.initialZoomLevel){Wt.y+=ue.y,Ht.y+=ue.y;var a=P();return xt=!0,v("onVerticalDrag",a),y(a),void te()}!function(t,e,i){if(50<t-yt){var n=2<fe.length?fe.shift():{};n.x=e,n.y=i,fe.push(n),yt=t}}(u(),le.x,le.y),Tt=!0,Mt=f.currItem.bounds,$("x",ue)||($("y",ue),d(Ht),te())}}},De=function(){var e,i,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{}
1,backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(t){i=1<fe.length?(e=u()-yt+50,fe[fe.length-2][t]):(e=u()-vt,de[t]),n.lastFlickOffset[t]=he[t]-i,n.lastFlickDist[t]=Math.abs(n.lastFlickOffset[t]),20<n.lastFlickDist[t]?n.lastFlickSpeed[t]=n.lastFlickOffset[t]/e:n.lastFlickSpeed[t]=0,Math.abs(n.lastFlickSpeed[t])<.1&&(n.lastFlickSpeed[t]=0),n.slowDownRatio[t]=.95,n.slowDownRatioReverse[t]=1-n.slowDownRatio[t],n.speedDecelerationRatio[t]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(Ht[e]>Mt.min[e]?n.backAnimDestination[e]=Mt.min[e]:Ht[e]<Mt.max[e]&&(n.backAnimDestination[e]=Mt.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,I("bounceZoomPan"+e,Ht[e],n.backAnimDestination[e],t||300,m.easing.sine.out,function(t){Ht[e]=t,te()}))))},calculateAnimOffset:function(t){n.backAnimStarted[t]||(n.speedDecelerationRatio[t]=n.speedDecelerationRatio[t]*(n.slowDownRatio[t]+n.slowDownRatioReverse[t]-n.slowDownRatioReverse[t]*n.timeDiff/10),n.speedDecelerationRatioAbs[t]=Math.abs(n.lastFlickSpeed[t]*n.speedDecelerationRatio[t]),n.distanceOffset[t]=n.lastFlickSpeed[t]*n.speedDecelerationRatio[t]*n.timeDiff,Ht[t]+=n.distanceOffset[t])},panAnimLoop:function(){if(oe.zoomPan&&(oe.zoomPan.raf=ct(n.panAnimLoop),n.now=u(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),te(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return Ht.x=Math.round(Ht.x),Ht.y=Math.round(Ht.y),te(),void k("zoomPan")}};return n},Me=function(t){if(t.calculateSwipeSpeed("y"),Mt=f.currItem.bounds,t.backAnimDestination={},t.backAnimStarted={},Math.abs(t.lastFlickSpeed.x)<=.05&&Math.abs(t.lastFlickSpeed.y)<=.05)return t.speedDecelerationRatioAbs.x=t.speedDecelerationRatioAbs.y=0,t.calculateOverBoundsAnimOffset("x"),t.calculateOverBoundsAnimOffset("y"),!0;T("zoomPan"),t.lastNow=u(),t.panAnimLoop()},Pe=function(t,e){var i,n,s;if(Ot||(ve=Z),"swipe"===t){var o=he.x-de.x,r=e.lastFlickDist.x<10;30<o&&(r||20<e.lastFlickOffset.x)?n=-1:o<-30&&(r||e.lastFlickOffset.x<-20)&&(n=1)}n&&((Z+=n)<0?(Z=g.loop?Ue()-1:0,s=!0):Z>=Ue()&&(Z=g.loop?0:Ue()-1,s=!0),s&&!g.loop||(Gt+=n,Ut-=n,i=!0));var a,l=qt.x*Ut,c=Math.abs(l-_e.x);return a=i||l>_e.x==0<e.lastFlickSpeed.x?(a=0<Math.abs(e.lastFlickSpeed.x)?c/Math.abs(e.lastFlickSpeed.x):333,a=Math.min(a,400),Math.max(a,250)):333,ve===Z&&(i=!1),Ot=!0,v("mainScrollAnimStart"),I("mainScroll",_e.x,l,a,m.easing.cubic.out,h,function(){E(),Ot=!1,ve=-1,!i&&ve===Z||f.updateCurrItem(),v("mainScrollAnimComplete")}),i&&f.updateCurrItem(!0),i},Oe=function(t){return 1/Dt*t*V},$e=function(){var t=G,e=x(),i=b();G<e?t=e:i<G&&(t=i);var n,s=Ft;return Rt&&!_t&&!jt&&G<e?f.close():(Rt&&(n=function(t){y((1-s)*t+s)}),f.zoomTo(t,0,200,m.easing.cubic.out,n)),!0};i("Gestures",{publicMethods:{initGestures:function(){function t(t,e,i,n,s){it=t+e,nt=t+i,st=t+n,ot=s?t+s:""}(at=ft.pointerEvent)&&ft.touch&&(ft.touch=!1),at?navigator.pointerEnabled?t("pointer","down","move","up","cancel"):t("MSPointer","Down","Move","Up","Cancel"):ft.touch?(t("touch","start","move","end","cancel"),lt=!0):t("mouse","down","move","up"),U=nt+" "+st+" "+ot,K=it,at&&!lt&&(lt=1<navigator.maxTouchPoints||1<navigator.msMaxTouchPoints),f.likelyTouchDevice=lt,q[it]=L,q[nt]=R,q[st]=F,ot&&(q[ot]=q[st]),ft.touch&&(K+=" mousedown",U+=" mousemove mouseup",q.mousedown=q[it],q.mousemove=q[nt],q.mouseup=q[st]),lt||(g.allowPanToNext=!1)}}});function Le(t,e,i,n,s,o){e.loadError||n&&(e.imageAppended=!0,Ye(e,n,e===f.currItem&&Xt),i.appendChild(n),o&&setTimeout(function(){e&&e.loaded&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null)},500))}function Re(t){function e(){t.loading=!1,t.loaded=!0,t.loadComplete?t.loadComplete(t):t.img=null,i.onload=i.onerror=null,i=null}t.loading=!0,t.loaded=!1;var i=t.img=m.createEl("pswp__img","img");return i.onload=e,i.onerror=function(){t.loadError=!0,e()},i.src=t.src,i}function Fe(t,e){if(t.src&&t.loadError&&t.container)return e&&(t.container.innerHTML=""),t.container.innerHTML=g.errorMsg.replace("%url%",t.src),!0}function je(){if(Ge.length){for(var t,e=0;e<Ge.length;e++)(t=Ge[e]).holder.index===t.index&&Le(t.index,t.item,t.baseDiv,t.img,0,t.clearPlaceholder);Ge=[]}}var Ne,We,Ze,He,Be,Ue,Ke=function(r,t,a,e){var l;Ne&&clearTimeout(Ne),Ze=He=!0,r.initialLayout?(l=r.initialLayout,r.initialLayout=null):l=g.getThumbBoundsFn&&g.getThumbBoundsFn(Z);function c(){k("initialZoom"),a?(f.template.removeAttribute("style"),f.bg.removeAttribute("style")):(y(1),t&&(t.style.display="block"),m.addClass(p,"pswp--animated-in"),v("initialZoom"+(a?"OutEnd":"InEnd"))),e&&e(),He=!1}var u=a?g.hideAnimationDuration:g.showAnimationDuration;if(!u||!l||void 0===l.x)return v("initialZoom"+(a?"Out":"In")),G=r.initialZoomLevel,w(Ht,r.initialPosition),te(),p.style.opacity=a?0:1,y(1),void(u?setTimeout(function(){c()},u):c());var h,d;h=W,d=!f.currItem.src||f.currItem.loadError||g.showHideOpacity,r.miniImg&&(r.miniImg.style.webkitBackfaceVisibility="hidden"),a||(G=l.w/r.w,Ht.x=l.x,Ht.y=l.y-dt,f[d?"template":"bg"].style.opacity=.001,te()),T("initialZoom"),a&&!h&&m.removeClass(p,"pswp--animated-in"),d&&(a?m[(h?"remove":"add")+"Class"](p,"pswp--animate_opacity"):setTimeout(function(){m.addClass(p,"pswp--animate_opacity")},30)),Ne=setTimeout(function(){if(v("initialZoom"+(a?"Out":"In")),a){var e=l.w/r.w,i=Ht.x,n=Ht.y,s=G,o=Ft,t=function(t){1===t?(G=e,Ht.x=l.x,Ht.y=l.y-mt):(G=(e-s)*t+s,Ht.x=(l.x-i)*t+i,Ht.y=(l.y-mt-n)*t+n),te(),d?p.style.opacity=1-t:y(o-t*o)};h?I("initialZoom",0,1,u,m.easing.cubic.out,t,c):(t(1),Ne=setTimeout(c,u+20))}else G=r.initialZoomLevel,w(Ht,r.initialPosition),te(),y(1),d?p.style.opacity=1:y(1),Ne=setTimeout(c,u+20)},a?25:90)},qe={},Ge=[],Ve={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return We.length}}
1,Qe=function(t,e,i){if(!t.src||t.loadError)return t.w=t.h=0,t.initialZoomLevel=t.fitRatio=1,t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},t.initialPosition=t.bounds.center,t.bounds;var n=!i;if(n&&(t.vGap||(t.vGap={top:0,bottom:0}),v("parseVerticalMargin",t)),qe.x=e.x,qe.y=e.y-t.vGap.top-t.vGap.bottom,n){var s=qe.x/t.w,o=qe.y/t.h;t.fitRatio=s<o?s:o;var r=g.scaleMode;"orig"===r?i=1:"fit"===r&&(i=t.fitRatio),1<i&&(i=1),t.initialZoomLevel=i,t.bounds||(t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}return i?(function(t,e,i){var n=t.bounds;n.center.x=Math.round((qe.x-e)/2),n.center.y=Math.round((qe.y-i)/2)+t.vGap.top,n.max.x=e>qe.x?Math.round(qe.x-e):n.center.x,n.max.y=i>qe.y?Math.round(qe.y-i)+t.vGap.top:n.center.y,n.min.x=e>qe.x?0:n.center.x,n.min.y=i>qe.y?t.vGap.top:n.center.y}(t,t.w*i,t.h*i),n&&i===t.initialZoomLevel&&(t.initialPosition=t.bounds.center),t.bounds):void 0},Ye=function(t,e,i){if(t.src){e||(e=t.container.lastChild);var n=i?t.w:Math.round(t.w*t.fitRatio),s=i?t.h:Math.round(t.h*t.fitRatio);t.placeholder&&!t.loaded&&(t.placeholder.style.width=n+"px",t.placeholder.style.height=s+"px"),e.style.width=n+"px",e.style.height=s+"px"}};i("Controller",{publicMethods:{lazyLoadItem:function(t){t=l(t);var e=Be(t);e&&(!e.loaded&&!e.loading||J)&&(v("gettingData",t,e),e.src&&Re(e))},initController:function(){m.extend(g,Ve,!0),f.items=We=t,Be=f.getItemAt,Ue=g.getNumItemsFn,g.loop,Ue()<3&&(g.loop=!1),o("beforeChange",function(t){var e,i=g.preload,n=null===t||0<=t,s=Math.min(i[0],Ue()),o=Math.min(i[1],Ue());for(e=1;e<=(n?o:s);e++)f.lazyLoadItem(Z+e);for(e=1;e<=(n?s:o);e++)f.lazyLoadItem(Z-e)}),o("initialLayout",function(){f.currItem.initialLayout=g.getThumbBoundsFn&&g.getThumbBoundsFn(Z)}),o("mainScrollAnimComplete",je),o("initialZoomInEnd",je),o("destroy",function(){for(var t,e=0;e<We.length;e++)(t=We[e]).container&&(t.container=null),t.placeholder&&(t.placeholder=null),t.img&&(t.img=null),t.preloader&&(t.preloader=null),t.loadError&&(t.loaded=t.loadError=!1);Ge=null})},getItemAt:function(t){return 0<=t&&(void 0!==We[t]&&We[t])},allowProgressiveImg:function(){return g.forceProgressiveLoading||!lt||g.mouseUsed||1200<screen.width},setContent:function(e,i){g.loop&&(i=l(i));var t=f.getItemAt(e.index);t&&(t.container=null);var n,s=f.getItemAt(i);if(s){v("gettingData",i,s),e.index=i;var o=(e.item=s).container=m.createEl("pswp__zoom-wrap");if(!s.src&&s.html&&(s.html.tagName?o.appendChild(s.html):o.innerHTML=s.html),Fe(s),Qe(s,Bt),!s.src||s.loadError||s.loaded)s.src&&!s.loadError&&((n=m.createEl("pswp__img","img")).style.opacity=1,n.src=s.src,Ye(s,n),Le(0,s,o,n));else{if(s.loadComplete=function(t){if(j){if(e&&e.index===i){if(Fe(t,!0))return t.loadComplete=t.img=null,Qe(t,Bt),ee(t),void(e.index===Z&&f.updateCurrZoomItem());t.imageAppended?!He&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null):ft.transform&&(Ot||He)?Ge.push({item:t,baseDiv:o,img:t.img,index:i,holder:e,clearPlaceholder:!0}):Le(0,t,o,t.img,0,!0)}t.loadComplete=null,t.img=null,v("imageLoadComplete",i,t)}},m.features.transform){var r="pswp__img pswp__img--placeholder";r+=s.msrc?"":" pswp__img--placeholder--blank";var a=m.createEl(r,s.msrc?"img":"");s.msrc&&(a.src=s.msrc),Ye(s,a),o.appendChild(a),s.placeholder=a}s.loading||Re(s),f.allowProgressiveImg()&&(!Ze&&ft.transform?Ge.push({item:s,baseDiv:o,img:s.img,index:i,holder:e}):Le(0,s,o,s.img,0,!0))}Ze||i!==Z?ee(s):(Pt=o.style,Ke(s,n||s.img)),e.el.innerHTML="",e.el.appendChild(o)}else e.el.innerHTML=""},cleanSlide:function(t){t.img&&(t.img.onload=t.img.onerror=null),t.loaded=t.loading=t.img=t.imageAppended=!1}}});function Xe(t,e,i){var n=document.createEvent("CustomEvent"),s={origEvent:t,target:t.target,releasePoint:e,pointerType:i||"touch"};n.initCustomEvent("pswpTap",!0,!0,s),t.target.dispatchEvent(n)}var Je,ti,ei={};i("Tap",{publicMethods:{initTap:function(){o("firstTouchStart",f.onTapStart),o("touchRelease",f.onTapRelease),o("destroy",function(){ei={},Je=null})},onTapStart:function(t){1<t.length&&(clearTimeout(Je),Je=null)},onTapRelease:function(t,e){if(e&&!Tt&&!At&&!re){var i=e;if(Je&&(clearTimeout(Je),Je=null,function(t,e){return Math.abs(t.x-e.x)<25&&Math.abs(t.y-e.y)<25}
1(i,ei)))return void v("doubleTap",i);if("mouse"===e.type)return void Xe(t,e,"mouse");if("BUTTON"===t.target.tagName.toUpperCase()||m.hasClass(t.target,"pswp__single-tap"))return void Xe(t,e);w(ei,i),Je=setTimeout(function(){Xe(t,e),Je=null},300)}}}}),i("DesktopZoom",{publicMethods:{initDesktopZoom:function(){pt||(lt?o("mouseUsed",function(){f.setupDesktopZoom()}):f.setupDesktopZoom(!0))},setupDesktopZoom:function(t){ti={};var e="wheel mousewheel DOMMouseScroll";o("bindEvents",function(){m.bind(p,e,f.handleMouseWheel)}),o("unbindEvents",function(){ti&&m.unbind(p,e,f.handleMouseWheel)}),f.mouseZoomedIn=!1;function i(){f.mouseZoomedIn&&(m.removeClass(p,"pswp--zoomed-in"),f.mouseZoomedIn=!1),G<1?m.addClass(p,"pswp--zoom-allowed"):m.removeClass(p,"pswp--zoom-allowed"),s()}var n,s=function(){n&&(m.removeClass(p,"pswp--dragging"),n=!1)};o("resize",i),o("afterChange",i),o("pointerDown",function(){f.mouseZoomedIn&&(n=!0,m.addClass(p,"pswp--dragging"))}),o("pointerUp",s),t||i()},handleMouseWheel:function(t){if(G<=f.currItem.fitRatio)return g.modal&&(!g.closeOnScroll||re||Ct?t.preventDefault():rt&&2<Math.abs(t.deltaY)&&(W=!0,f.close())),!0;if(t.stopPropagation(),ti.x=0,"deltaX"in t)1===t.deltaMode?(ti.x=18*t.deltaX,ti.y=18*t.deltaY):(ti.x=t.deltaX,ti.y=t.deltaY);else if("wheelDelta"in t)t.wheelDeltaX&&(ti.x=-.16*t.wheelDeltaX),t.wheelDeltaY?ti.y=-.16*t.wheelDeltaY:ti.y=-.16*t.wheelDelta;else{if(!("detail"in t))return;ti.y=t.detail}_(G,!0);var e=Ht.x-ti.x,i=Ht.y-ti.y;(g.modal||e<=Mt.min.x&&e>=Mt.max.x&&i<=Mt.min.y&&i>=Mt.max.y)&&t.preventDefault(),f.panTo(e,i)},toggleDesktopZoom:function(t){t=t||{x:Bt.x/2+Kt.x,y:Bt.y/2+Kt.y};var e=g.getDoubleTapZoom(!0,f.currItem),i=G===e;f.mouseZoomedIn=!i,f.zoomTo(i?f.currItem.initialZoomLevel:e,t,333),m[(i?"remove":"add")+"Class"](p,"pswp--zoomed-in")}}});function ii(){return fi.hash.substring(1)}function ni(){oi&&clearTimeout(oi),ai&&clearTimeout(ai)}function si(){var t=ii(),e={};if(t.length<5)return e;var i,n=t.split("&");for(i=0;i<n.length;i++)if(n[i]){var s=n[i].split("=");s.length<2||(e[s[0]]=s[1])}if(g.galleryPIDs){var o=e.pid;for(i=e.pid=0;i<We.length;i++)if(We[i].pid===o){e.pid=i;break}}else e.pid=parseInt(e.pid,10)-1;return e.pid<0&&(e.pid=0),e}var oi,ri,ai,li,ci,ui,hi,di,pi,mi,fi,gi,vi={history:!0,galleryUID:1},yi=function(){if(ai&&clearTimeout(ai),re||Ct)ai=setTimeout(yi,500);else{li?clearTimeout(ri):li=!0;var t=Z+1,e=Be(Z);e.hasOwnProperty("pid")&&(t=e.pid);var i=hi+"&gid="+g.galleryUID+"&pid="+t;di||-1===fi.hash.indexOf(i)&&(mi=!0);var n=fi.href.split("#")[0]+"#"+i;gi?"#"+i!==window.location.hash&&history[di?"replaceState":"pushState"]("",document.title,n):di?fi.replace(n):fi.hash=i,di=!0,ri=setTimeout(function(){li=!1},60)}};i("History",{publicMethods:{initHistory:function(){if(m.extend(g,vi,!0),g.history){fi=window.location,di=pi=mi=!1,hi=ii(),gi="pushState"in history,-1<hi.indexOf("gid=")&&(hi=(hi=hi.split("&gid=")[0]).split("?gid=")[0]),o("afterChange",f.updateURL),o("unbindEvents",function(){m.unbind(window,"hashchange",f.onHashChange)});var t=function(){ui=!0,pi||(mi?history.back():hi?fi.hash=hi:gi?history.pushState("",document.title,fi.pathname+fi.search):fi.hash=""),ni()};o("unbindEvents",function(){W&&t()}),o("destroy",function(){ui||t()}),o("firstUpdate",function(){Z=si().pid});var e=hi.indexOf("pid=");-1<e&&"&"===(hi=hi.substring(0,e)).slice(-1)&&(hi=hi.slice(0,-1)),setTimeout(function(){j&&m.bind(window,"hashchange",f.onHashChange)},40)}},onHashChange:function(){if(ii()===hi)return pi=!0,void f.close();li||(ci=!0,f.goTo(si().pid),ci=!1)},updateURL:function(){ni(),ci||(di?oi=setTimeout(yi,800):yi())}}}),m.extend(f,ae)}}),function(t){var e,s,i,n=navigator.userAgent;function o(t){var e,i,n=t.parentNode;"PICTURE"===n.nodeName.toUpperCase()?(e=s.cloneNode(),n.insertBefore(e,n.firstElementChild),setTimeout(function(){n.removeChild(e)})):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,i=t.sizes,t.sizes+=",100vw",setTimeout(function(){t.sizes=i}))}function r(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t<e.length;t++)o(e[t])}function a(){clearTimeout(e),e=setTimeout(r,99)}function l(){a(),i&&i.addListener&&i.addListener(a)}t.HTMLPictureElement&&/ecko/.test(n)&&n.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(s=document.createElement("source"),i=t.matchMedia&&matchMedia("(orientation: landscape)"),s.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?l():document.addEventListener("DOMContentLoaded",l),a))}(window),function(t,o,c){"use strict";var s,u,r;o.createElement("picture");function e(){}function i(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n||!1):t.attachEvent&&t.attachEvent("on"+e,i)}function n(e){var i={};return function(t){return t in i||(i[t]=e(t)),i[t]}}var w={},a=!1,l=o.createElement("img"),h=l.getAttribute,d=l.setAttribute,p=l.removeAttribute,m=o.documentElement,f={},_={algorithm:""},g="data-pfsrc",v=g+"set",y=navigator.userAgent,x=/rident/.test(y)||/ecko/.test(y)&&y.match(/rv\:(\d+)/)&&35<RegExp.$1,b="currentSrc",C=/\s+\+?\d+(e\d+)?w/,A=/(\([^)]+\))?\s*(.+)/,k=t.picturefillCFG,T="font-size:100%!important;",E=!0,I={},S={},z=t.devicePixelRatio,D={px:1,in:96},M=o.createElement("a"),P=!1,O=/^[ \t\n\r\u000c]+/,$=/^[, \t\n\r\u000c]+/,L=/^[^ \t\n\r\u000c]+/,R=/[,]+$/,F=/^\d+$/,j=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function N(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}function W(t,e){return t.w?(t.cWidth=w.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t}var Z,H,B,U,K,q,G,V,Q,Y,X,J,tt,et,it,nt,st,ot,rt=(Z=/^([\d\.]+)(em|vw|px)$/,H=n(function(t){return"return "+function(){for(var t=arguments,e=0,i=t[0];++e in t;)i=i.replace(t[e],t[++e]);return i}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"}),function(t,e){var i;if(!(t in I))if(I[t]=!1,e&&(i=t.match(Z)))I[t]=i[1]*D[i[2]];else try{I[t]=new Function("e",H(t))(D)}catch(t){}return I[t]}),at=function(t){if(a){var e,i,n,s=t||{};if(s.elements&&1===s.elements.nodeType&&("IMG"===s.elements.nodeName.toUpperCase()?s.elements=[s.elements]:(s.context=s.elements,s.elements=null)),n=(e=s.elements||w.qsa(s.context||o,s.reevaluate||s.reselect?w.sel:w.selShort)).length){for(w.setupRun(s),P=!0,i=0;i<n;i++)w.fillImg(e[i],s);w.teardownRun(s)}}};function lt(t,e){return t.res-e.res}function ct(t,e){var i,n,s;if(t&&e)for(s=w.parseSet(e),t=w.makeUrl(t),i=0;i<s.length;i++)if(t===w.makeUrl(s[i].url)){n=s[i];break}return n}function ut(){2===K.width&&(w.supSizes=!0),u=w.supSrcset&&!w.supSizes,a=!0,setTimeout(at)}t.console&&console.warn,b in l||(b="src"),f["image/jpeg"]=!0,f["image/gif"]=!0,f["image/png"]=!0,f["image/svg+xml"]=o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),w.ns=("pf"+(new Date).getTime()).substr(0,9),w.supSrcset="srcset"in l,w.supSizes="sizes"in l,w.supPicture=!!t.HTMLPictureElement,w.supSrcset&&w.supPicture&&!w.supSizes&&(B=o.createElement("img"),l.srcset="data:,a",B.src="data:,a",w.supSrcset=l.complete===B.c
1omplete,w.supPicture=w.supSrcset&&w.supPicture),w.supSrcset&&!w.supSizes?(U="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",(K=o.createElement("img")).onload=ut,K.onerror=ut,K.setAttribute("sizes","9px"),K.srcset=U+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",K.src=U):a=!0,w.selShort="picture>img,img[srcset]",w.sel=w.selShort,w.cfg=_,w.DPR=z||1,w.u=D,w.types=f,w.setSize=e,w.makeUrl=n(function(t){return M.href=t,M.href}),w.qsa=function(t,e){return"querySelector"in t?t.querySelectorAll(e):[]},w.matchesMedia=function(){return t.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?w.matchesMedia=function(t){return!t||matchMedia(t).matches}:w.matchesMedia=w.mMQ,w.matchesMedia.apply(this,arguments)},w.mMQ=function(t){return!t||rt(t)},w.calcLength=function(t){var e=rt(t,!0)||!1;return e<0&&(e=!1),e},w.supportsType=function(t){return!t||f[t]},w.parseSize=n(function(t){var e=(t||"").match(A);return{media:e&&e[1],length:e&&e[2]}}),w.parseSet=function(t){return t.cands||(t.cands=function(n,h){function t(t){var e,i=t.exec(n.substring(r));if(i)return e=i[0],r+=e.length,e}var d,p,e,i,s,o=n.length,r=0,m=[];function a(){var t,e,i,n,s,o,r,a,l,c=!1,u={};for(n=0;n<p.length;n++)o=(s=p[n])[s.length-1],r=s.substring(0,s.length-1),a=parseInt(r,10),l=parseFloat(r),F.test(r)&&"w"===o?((t||e)&&(c=!0),0===a?c=!0:t=a):j.test(r)&&"x"===o?((t||e||i)&&(c=!0),l<0?c=!0:e=l):F.test(r)&&"h"===o?((i||e)&&(c=!0),0===a?c=!0:i=a):c=!0;c||(u.url=d,t&&(u.w=t),e&&(u.d=e),i&&(u.h=i),i||e||t||(u.d=1),1===u.d&&(h.has1x=!0),u.set=h,m.push(u))}function l(){for(t(O),e="",i="in descriptor";;){if(s=n.charAt(r),"in descriptor"===i)if(N(s))e&&(p.push(e),e="",i="after descriptor");else{if(","===s)return r+=1,e&&p.push(e),void a();if("("===s)e+=s,i="in parens";else{if(""===s)return e&&p.push(e),void a();e+=s}}else if("in parens"===i)if(")"===s)e+=s,i="in descriptor";else{if(""===s)return p.push(e),void a();e+=s}else if("after descriptor"===i)if(N(s));else{if(""===s)return void a();i="in descriptor",r-=1}r+=1}}for(;;){if(t($),o<=r)return m;d=t(L),p=[],","===d.slice(-1)?(d=d.replace(R,""),a()):l()}}(t.srcset,t)),t.cands},w.getEmValue=function(){var t;if(!s&&(t=o.body)){var e=o.createElement("div"),i=m.style.cssText,n=t.style.cssText;e.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",m.style.cssText=T,t.style.cssText=T,t.appendChild(e),s=e.offsetWidth,t.removeChild(e),s=parseFloat(s,10),m.style.cssText=i,t.style.cssText=n}return s||16},w.calcListLength=function(t){if(!(t in S)||_.uT){var e=w.calcLength(function(t){var e,i,n,s,o,r,a,l=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,c=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(n=(i=function(t){var e,i="",n=[],s=[],o=0,r=0,a=!1;function l(){i&&(n.push(i),i="")}function c(){n[0]&&(s.push(n),n=[])}for(;;){if(""===(e=t.charAt(r)))return l(),c(),s;if(a){if("*"===e&&"/"===t[r+1]){a=!1,r+=2,l();continue}r+=1}else{if(N(e)){if(t.charAt(r-1)&&N(t.charAt(r-1))||!i){r+=1;continue}if(0===o){l(),r+=1;continue}e=" "}else if("("===e)o+=1;else if(")"===e)o-=1;else{if(","===e){l(),c(),r+=1;continue}if("/"===e&&"*"===t.charAt(r+1)){a=!0,r+=2;continue}}i+=e,r+=1}}}(t)).length,e=0;e<n;e++)if(o=(s=i[e])[s.length-1],a=o,l.test(a)&&0<=parseFloat(a)||c.test(a)||"0"===a||"-0"===a||"+0"===a){if(r=o,s.pop(),0===s.length)return r;if(s=s.join(" "),w.matchesMedia(s))return r}return"100vw"}(t));S[t]=e||D.width}return S[t]},w.setRes=function(t){var e;if(t)for(var i=0,n=(e=w.parseSet(t)).length;i<n;i++)W(e[i],t.sizes);return e},w.setRes.res=W,w.applySetCandidate=function(t,e){if(t.length){var i,n,s,o,r,a,l,c,u,h,d,p,m,f,g,v=e[w.ns],y=w.DPR;if(a=v.curSrc||e[b],(l=v.curCan||function(t,e,i){var n;return!i&&e&&(i=(i=t[w.ns].sets)&&i[i.length-1]),(n=ct(e,i))&&(e=w.makeUrl(e),t[w.ns].curSrc=e,(t[w.ns].curCan=n).res||W(n,n.set.sizes)),n}(e,a,t[0].set))&&l.set===t[0].set&&((u=x&&!e.complete&&l.res-.1>y)||(l.cached=!0,l.res>=y&&(r=l))),!r)for(t.sort(lt),r=t[(o=t.length)-1],n=0;n<o;n++)if((i=t[n]).res>=y){r=t[s=n-1]&&(u||a!==w.makeUrl(i.url))&&(h=t[s].res,d=i.res,p=y,m=t[s].cached,g=f=void 0,p<("saveData"===_.algorithm?2.7<h?p+1:(g=(d-p)*(f=Math.pow(h-.6,1.5)),m&&(g+=.1*f),h+g):1<p?Math.sqrt(h*d):h))?t[s]:i;break}r&&(c=w.makeUrl(r.url),v.curSrc=c,v.curCan=r,c!==a&&w.setSrc(e,r),w.setSize(e))}},w.setSrc=function(t,e){var i;t.src=e.url,"image/svg+xml"===e.set.type&&(i=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=i))},w.getSet=function(t){var e,i,n,s=!1,o=t[w.ns].sets;for(e=0;e<o.length&&!s;e++)if((i=o[e]).srcset&&w.matchesMedia(i.media)&&(n=w.supportsType(i.type))){"pending"===n&&(i=n),s=i;break}return s}
1,w.parseSets=function(t,e,i){var n,s,o,r,a=e&&"PICTURE"===e.nodeName.toUpperCase(),l=t[w.ns];l.src!==c&&!i.src||(l.src=h.call(t,"src"),l.src?d.call(t,g,l.src):p.call(t,g)),l.srcset!==c&&!i.srcset&&w.supSrcset&&!t.srcset||(n=h.call(t,"srcset"),l.srcset=n,r=!0),l.sets=[],a&&(l.pic=!0,function(t,e){var i,n,s,o,r=t.getElementsByTagName("source");for(i=0,n=r.length;i<n;i++)(s=r[i])[w.ns]=!0,(o=s.getAttribute("srcset"))&&e.push({srcset:o,media:s.getAttribute("media"),type:s.getAttribute("type"),sizes:s.getAttribute("sizes")})}(e,l.sets)),l.srcset?(s={srcset:l.srcset,sizes:h.call(t,"sizes")},l.sets.push(s),(o=(u||l.src)&&C.test(l.srcset||""))||!l.src||ct(l.src,s)||s.has1x||(s.srcset+=", "+l.src,s.cands.push({url:l.src,d:1,set:s}))):l.src&&l.sets.push({srcset:l.src,sizes:null}),l.curCan=null,l.curSrc=c,l.supported=!(a||s&&!w.supSrcset||o&&!w.supSizes),r&&w.supSrcset&&!l.supported&&(n?(d.call(t,v,n),t.srcset=""):p.call(t,v)),l.supported&&!l.srcset&&(!l.src&&t.src||t.src!==w.makeUrl(l.src))&&(null===l.src?t.removeAttribute("src"):t.src=l.src),l.parsed=!0},w.fillImg=function(t,e){var i,n=e.reselect||e.reevaluate;t[w.ns]||(t[w.ns]={}),i=t[w.ns],!n&&i.evaled===r||(i.parsed&&!e.reevaluate||w.parseSets(t,t.parentNode,e),i.supported?i.evaled=r:function(t){var e,i=w.getSet(t),n=!1;"pending"!==i&&(n=r,i&&(e=w.setRes(i),w.applySetCandidate(e,t))),t[w.ns].evaled=n}(t))},w.setupRun=function(){P&&!E&&z===t.devicePixelRatio||(E=!1,z=t.devicePixelRatio,I={},S={},w.DPR=z||1,D.width=Math.max(t.innerWidth||0,m.clientWidth),D.height=Math.max(t.innerHe
1ight||0,m.clientHeight),D.vw=D.width/100,D.vh=D.height/100,r=[D.height,D.width,z].join("-"),D.em=w.getEmValue(),D.rem=D.em)},w.supPicture?(at=e,w.fillImg=e):(J=t.attachEvent?/d$|^c/:/d$|^c|^i/,tt=function(){var t=o.readyState||"";et=setTimeout(tt,"loading"===t?200:999),o.body&&(w.fillImgs(),(q=q||J.test(t))&&clearTimeout(et))},et=setTimeout(tt,o.body?9:99),it=m.clientHeight,i(t,"resize",(G=function(){E=Math.max(t.innerWidth||0,m.clientWidth)!==D.width||m.clientHeight!==it,it=m.clientHeight,E&&w.fillImgs()},V=99,X=function(){var t=new Date-Y;t<V?Q=setTimeout(X,V-t):(Q=null,G())},function(){Y=new Date,Q||(Q=setTimeout(X,V))})),i(o,"readystatechange",tt)),w.picturefill=at,w.fillImgs=at,w.teardownRun=e,at._=w,t.picturefillCFG={pf:w,push:function(t){var e=t.shift();"function"==typeof w[e]?w[e].apply(w,t):(_[e]=t[0],P&&w.fillImgs({reselect:!0}))}};for(;k&&k.length;)t.picturefillCFG.push(k.shift());t.picturefill=at,"object"==typeof module&&"object"==typeof module.exports?module.exports=at:"function"==typeof define&&define.amd&&define("picturefill",function(){return at}),w.supPicture||(f["image/webp"]=(nt="image/webp",st="data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==",(ot=new t.Image).onerror=function(){f[nt]=!1,at()},ot.onload=function(){f[nt]=1===ot.width,at()},ot.src=st,"pending"))}(window,document),function(){var z,D;z=this.jQuery||window.jQuery,D=z(window),z.fn.stick_in_parent=function(t){var C,e,A,k,T,E,s,i,I,S,n,o,r;for(null==t&&(t={}),S=t.sticky_class,k=t.inner_scrolling,I=t.recalc_every,i=t.parent,E=t.offset_top,T=t.spacer,A=t.bottoming,null==E&&(E=0),null==i&&(i=void 0),null==k&&(k=!0),null==S&&(S="is_stuck"),C=z(document),null==A&&(A=!0),s=function(t){var e,i;return window.getComputedStyle?(t[0],e=window.getComputedStyle(t[0]),i=parseFloat(e.getPropertyValue("width"))+parseFloat(e.getPropertyValue("margin-left"))+parseFloat(e.getPropertyValue("margin-right")),"border-box"!==e.getPropertyValue("box-sizing")&&(i+=parseFloat(e.getPropertyValue("border-left-width"))+parseFloat(e.getPropertyValue("border-right-width"))+parseFloat(e.getPropertyValue("padding-left"))+parseFloat(e.getPropertyValue("padding-right"))),i):t.outerWidth(!0)},n=function(r,a,l,c,u,h,d,p){var m,t,f,g,v,y,w,_,e,x,b,n;if(!r.data("sticky_kit")){if(r.data("sticky_kit",!0),v=C.height(),w=r.parent(),null!=i&&(w=w.closest(i)),!w.length)throw"failed to find stick parent";if(m=f=!1,(b=null!=T?T&&r.closest(T):z("<div />"))&&b.css("position",r.css("position")),(_=function(){var t,e,i;if(!p)return v=C.height(),t=parseInt(w.css("border-top-width"),10),e=parseInt(w.css("padding-top"),10),a=parseInt(w.css("padding-bottom"),10),l=w.offset().top+t+e,c=w.height(),f&&(m=f=!1,null==T&&(r.insertAfter(b),b.detach()),r.css({position:"",top:"",width:"",bottom:""}).removeClass(S),i=!0),u=r.offset().top-(parseInt(r.css("margin-top"),10)||0)-E,h=r.outerHeight(!0),d=r.css("float"),b&&b.css({width:s(r),height:h,display:r.css("display"),"vertical-align":r.css("vertical-align"),float:d}),i?n():void 0})(),h!==c)return g=void 0,y=E,x=I,n=function(){var t,e,i,n,s,o;if(!p)return i=!1,null!=x&&(x-=1)<=0&&(x=I,_(),i=!0),i||C.height()===v||(_(),i=!0),n=D.scrollTop(),null!=g&&(e=n-g),g=n,f?(A&&(s=c+l<n+h+y,m&&!s&&(m=!1,r.css({position:"fixed",bottom:"",top:y}).trigger("sticky_kit:unbottom"))),n<u&&(f=!1,y=E,null==T&&("left"!==d&&"right"!==d||r.insertAfter(b),b.detach()),t={position:"",width:"",top:""},r.css(t).removeClass(S).trigger("sticky_kit:unstick")),k&&(o=D.height())<h+E&&(m||(y-=e,y=Math.max(o-h,y),y=Math.min(E,y),f&&r.css({top:y+"px"})))):u<n&&(f=!0,(t={position:"fixed",top:y}).width="border-box"===r.css("box-sizing")?r.outerWidth()+"px":r.width()+"px",r.css(t).addClass(S),null==T&&(r.after(b),"left"!==d&&"right"!==d||b.append(r)),r.trigger("sticky_kit:stick")),f&&A&&(null==s&&(s=c+l<n+h+y),!m&&s)?(m=!0,"static"===w.css("position")&&w.css({position:"relative"}),r.css({position:"absolute",bottom:a,top:"auto"}).trigger("sticky_kit:bottom")):void 0},e=function(){if(!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement))return _(),n()},t=function(){if(p=!0,D.off("touchmove",n),D.off("scroll",n),D.off("resize",e),z(document.body).off("sticky_kit:recalc",e),r.off("sticky_kit:detach",t),r.removeData("sticky_kit"),r.css({position:"",bottom:"",top:"",width:""}),w.position("position",""),f)return null==T&&("left"!==d&&"right"!==d||r.insertAfter(b),b.remove()),r.removeClass(S)},D.on("touchmove",n),D.on("scroll",n),D.on("resize",e),z(document.body).on("sticky_kit:recalc",e),r.on("sticky_kit:detach",t),setTimeout(n,0)}},o=0,r=this.length;o<r;o++)e=this[o],n(z(e));return this}}.call(this),function(l){"use strict";var a={settings:{admin_bar:{height:0,position:""},breakpoints:{md:570,lg:970,lg_spec:1100},pushes:{url:[],up:0,down:0},window_last_top:0,infinite_allow:!0},init:function(){this.admin_bar_check(),this.sticky_header(),this.sidebar(),this.fit_vids(),this.overlay_open(),this.sidebar_open(),this.overlay_close(),this.masonry_layouts(),this.accordion_widget(),this.instagram_slider(),this.sticky_bottom(),this.scroll_animate(),this.module_slider(),this.gallery_slider(),this.gutenberg_gallery(),this.popup(),this.reverse_menu(),this.pagination(),this.check_history(),this.object_fit_cover(),this.align_full_fix()},resize:function(){this.admin_bar_check(),this.sidebar(),this.align_full_fix()},scroll:function(){this.sticky_header(),this.sticky_bottom()},admin_bar_check:function(){l("#wpadminbar").length&&l("#wpadminbar").is(":visible")&&(this.settings.admin_bar.height=l("#wpadminbar").height(),this.settings.admin_bar.position=l("#wpadminbar").css("position"))},sticky_header:function(){if(!opinion_js_settings.header_sticky)return!1;var t="fixed"==this.settings.admin_bar.position?this.settings.admin_bar.height:0,e=l(window).scrollTop(),i=this.settings.window_last_top;l(".opinion-header-sticky").css("top",t),opinion_js_settings.header_sticky_up?e<i&&e>=opinion_js_settings.header_sticky_offset?l("body").hasClass("opinion-header-sticky-active")||l("body").addClass("opinion-header-sticky-active"):l("body").hasClass("opinion-header-sticky-active")&&l("body").removeClass("opinion-header-sticky-active"):e>=opinion_js_settings.header_sticky_offset?l("body").hasClass("opinion-header-sticky-active")||l("body").addClass("opinion-header-sticky-active"):l("body").hasClass("opinion-header-sticky-active")&&l("body").removeClass("opinion-header-sticky-active"),this.settings.window_last_top=e},sticky_bottom:function(){return!!opinion_js_settings.single_sticky_bottom&&(!!l(".opinion-sticky-bottom").length&&void l("body").imagesLoaded(function(){var t=l(".opinion-single").offset().top+l(".opinion-single").height()-l(window).height(),e=l("#opinion-footer").offset().top-l("#opinion-footer").height()-l(window).height(),i=l(window).scrollTop();300<i?(l(".opinion-sticky-bottom").addClass("active"),l(".opinion-bottom-content.opinion-first").addClass("active")):(l(".opinion-bottom-content.opinion-first").removeClass("active"),l(".opinion-sticky-bottom").removeClass("active")),t<i?(l(".opinion-bottom-content.opinion-first").removeClass("active"),e<i?(l(".opinion-bottom-content.opinion-second").removeClass("active"),l(".opinion-sticky-bottom").removeClass("active")):(l(".opinion-sticky-bottom").addClass("active"),l(".opinion-bottom-content.opinion-second").addClass("active"))):l(".opinion-bottom-content.opinion-second").removeClass("active")}))},sidebar:function(){l(".opinion-sticky").length||l(".widget-sticky").length?(window.matchMedia("(min-width: "+a.settings.breakpoints.lg+"px)").matches&&l(".widget-sticky").length&&!l(".opinion-sticky").length&&l(".opinion-sidebar").each(function(){l(this).find(".widget-sticky").length&&l(this).find(".widget-sticky").wrapAll('<div class="opinion-sticky"></div>')}),l("body").imagesLoaded(function(){var t=l(".opinion-sticky"),s=window.matchMedia("(min-width: "+a.settings.breakpoints.lg_spec+"px)").matches?52:2
16;t.each(function(){var t=l(this).closest(".section-content").find(".opinion-order-1"),e=l(this).parent(),i=(l(".opinion-header-sticky").length&&!opinion_js_settings.header_sticky_up?l(".opinion-header-sticky").outerHeight():0)+("fixed"==a.settings.admin_bar.position?a.settings.admin_bar.height:0)+s,n=l(this).children().addClass("widget-sticky");window.matchMedia("(min-width: "+a.settings.breakpoints.lg+"px)").matches?(e.height(t.height()),l(this).stick_in_parent({offset_top:i})):(e.css("height","auto"),e.css("min-height","1px"),n.unwrap()),a.masonry_widgets()})})):a.masonry_widgets()},masonry_widgets:function(){if(!l(".opinion-sidebar").not(".opinion-sidebar-hidden").length)return!1;l("body").imagesLoaded(function(){l(".opinion-sidebar").not(".opinion-sidebar-hidden").each(function(){window.matchMedia("(min-width: "+a.settings.breakpoints.lg+"px)").matches?l(this).hasClass("has-masonry")&&l(this).removeClass("has-masonry").masonry("destroy"):l(this).addClass("has-masonry").masonry({columnWidth:".col-md-6",percentPosition:!0})})})},masonry_layouts:function(){l(".opinion-masonry").each(function(){var t=l(this),e=l(this).attr("class").match(/opinion-masonry-base-(\d+)/)[1];t.imagesLoaded(function(){t.find(".opinion-posts").masonry({columnWidth:".col-lg-"+e,percentPosition:!0})})})},overlay_open:function(){l("body").on("click",".opinion-open-popup",function(t){t.preventDefault(),l("body").addClass("overlay-action-open overlay-lock"),l(this).next().clone().appendTo(".opinion-action-overlay")}),l("body").on("click",".opinion-action-close",function(){l("body").removeClass("overlay-action-open overlay-lock overlay-sidebar-open"),l(".opinion-action-overlay").html("")}),l(document).keyup(function(t){27==t.keyCode&&l("body").hasClass("overlay-action-open")&&(l("body").removeClass("overlay-action-open overlay-lock overlay-sidebar-open"),l(".opinion-action-overlay").html(""))})},sidebar_open:function(){l("body").on("click",".opinion-open-sidebar",function(t){t.preventDefault();var e="fixed"==a.settings.admin_bar.position||0==l(window).scrollTop()?a.settings.admin_bar.height:0;l(".opinion-sidebar-hidden").css("top",e),l("body").addClass("overlay-action-open overlay-lock overlay-sidebar-open")}),l("body").on("click",".opinion-action-close",function(){l("body").removeClass("overlay-action-open overlay-lock overlay-sidebar-open")})},overlay_close:function(){l("body").on("mouseup",".opinion-action-overlay",function(t){t.preventDefault(),t.target===this&&(l("body").removeClass("overlay-action-open overlay-lock overlay-sidebar-open"),l(".opinion-action-overlay").html(""))})},gutenberg_gallery:function(){var t=l(".wp-block-gallery");if(t.length){var n=document.querySelectorAll(".wp-block-gallery img");t.find("a").each(function(t){var e=n[t].naturalWidth,i=n[t].naturalHeight;l(this).attr("data-size",JSON.stringify({w:e,h:i}))})}},popup:function(){l("body").on("click",".gallery-item a, a.opinion-popup-img, .wp-block-gallery a",function(t){t.preventDefault();var e=document.querySelectorAll(".pswp")[0],n=[],s=0,o=l(this),i=!!o.closest(".gallery, .wp-block-gallery").hasClass("owl-carousel"),r=[],a=!o.hasClass("opinion-popup-img");r=a?i?l(this).closest(".gallery, .wp-block-gallery").find(".owl-item:not(.cloned) .gallery-item a, .owl-item:not(.cloned) .blocks-gallery-item a"):l(this).closest(".gallery, .wp-block-gallery").find(".gallery-item a, .blocks-gallery-item a"):l("a.opinion-popup-img"),l.each(r,function(t){o.attr("href")==l(this).attr("href")&&(s=t);var e=JSON.parse(l(this).attr("data-size")),i={src:l(this).attr("href"),w:e.w,h:e.h,title:a?l(this).closest(".gallery-item, .blocks-gallery-item").find("figcaption").html():l(this).closest("figure.wp-caption").find("figcaption").html()};n.push(i)}),new PhotoSwipe(e,PhotoSwipeUI_Default,n,{history:!1,index:s,preload:[2,2],captionEl:!0,fullscreenEl:!1,zoomEl:!1,shareEl:!1,preloaderEl:!0,closeOnScroll:!1}).init()})},pagination:function(){if(l("body").on("click",".opinion-pagination.load-more > a",function(t){t.preventDefault(),a.load_more_items({opener:l(this),url:l(this).attr("href"),next_url_selector:".opinion-pagination.load-more > a"},function(){})}),!l(".opinion-pagination.opinion-infinite-scroll").length)return!1;l(window).scroll(function(){if(a.settings.infinite_allow&&l(".opinion-pagination").length){var t=l(".opinion-pagination"),e=t.find("a");l(this).scrollTop()>t.offset().top-l(this).height()-200&&(a.settings.infinite_allow=!1,a.load_more_items({opener:e,url:e.attr("href"),next_url_selector:".opinion-pagination.opinion-infinite-scroll a"},function(){a.settings.infinite_allow=!0}))}})},load_more_items:function(t,o){l(".opinion-pagination").toggleClass("opinion-loader-active");var r=l.extend({},{opener:"",url:"",next_url_selector:".load-more > a"},t);l("<div>").load(r.url,function(){var e=l(this).find(r.next_url_selector).attr("href"),i=l(this).find("title").text(),n=l(this).find(".opinion-items").children(),s=r.opener.closest(".section-content").find(".opinion-items");n.imagesLoaded(function(){n.hide().appendTo(s).fadeIn(),void 0!==e?l(r.next_url_selector).attr("href",e):l(r.next_url_selector).closest(".opinion-pagination").parent().fadeOut("fast").remove();var t={prev:window.location.href,next:r.url,offset:l(window).scrollTop(),prev_title:window.document.title,next_title:i};a.push_state(t),l(".opinion-pagination").toggleClass("opinion-loader-active"),a.sidebar(),o()})})},push_state:function(t){var e={prev:window.location.href,next:"",offset:l(window).scrollTop(),prev_title:window.document.title,next_title:window.document.title,increase_counter:!0},i=l.extend({},e,t);i.increase_counter&&(a.settings.pushes.up++,a.settings.pushes.down++),delete i.increase_counter,a.settings.pushes.url.push(i),window.document.title=i.next_title,window.history.pushState(i,"",i.next)},check_history:function(){if(!l(".opinion-pagination.load-more").length&&!l(".opinion-pagination.opinion-infinite-scroll").length)return!1;a.push_state({increase_counter:!1});var t,e=0;
1l(window).scroll(function(){a.settings.pushes.url[a.settings.pushes.up].offset!==t&&l(window).scrollTop()<a.settings.pushes.url[a.settings.pushes.up].offset&&(t=a.settings.pushes.url[a.settings.pushes.up].offset,e=0,window.document.title=a.settings.pushes.url[a.settings.pushes.up].prev_title,window.history.replaceState(a.settings.pushes.url,"",a.settings.pushes.url[a.settings.pushes.up].prev),a.settings.pushes.down=a.settings.pushes.up,0!==a.settings.pushes.up&&a.settings.pushes.up--),a.settings.pushes.url[a.settings.pushes.down].offset!==e&&l(window).scrollTop()>a.settings.pushes.url[a.settings.pushes.down].offset&&(e=a.settings.pushes.url[a.settings.pushes.down].offset,t=0,window.document.title=a.settings.pushes.url[a.settings.pushes.down].next_title,window.history.replaceState(a.settings.pushes.url,"",a.settings.pushes.url[a.settings.pushes.down].next),a.settings.pushes.up=a.settings.pushes.down,a.settings.pushes.down<a.settings.pushes.url.length-1&&a.settings.pushes.down++)})},fit_vids:function(){l(".widget, .entry-media, .entry-content").fitVids({customSelector:["iframe[src*='youtube.com/embed']","iframe[src*='player.vimeo.com/video']","iframe[src*='kickstarter.com/projects']","iframe[src*='players.brightcove.net']","iframe[src*='hulu.com/embed']","iframe[src*='vine.co/v']","iframe[src*='videopress.com/embed']","iframe[src*='dailymotion.com/embed']","iframe[src*='vid.me/e']","iframe[src*='player.twitch.tv']","iframe[src*='facebook.com/plugins/video.php']","iframe[src*='gfycat.com/ifr/']","iframe[src*='liveleak.com/ll_embed']","iframe[src*='media.myspace.com']","iframe[src*='archive.org/embed']","iframe[src*='channel9.msdn.com']","iframe[src*='content.jwplatform.com']","iframe[src*='wistia.com']","iframe[src*='vooplayer.com']","iframe[src*='content.zetatv.com.uy']","iframe[src*='embed.wirewax.com']","iframe[src*='eventopedia.navstream.com']","iframe[src*='cdn.playwire.com']","iframe[src*='drive.google.com']","iframe[src*='videos.sproutvideo.com']"].join(","),ignore:'[class^="wp-block"]'})},accordion_widget:function(){l(".widget").find(".menu-item-has-children > a, .page_item_has_children > a, .cat-parent > a").after('<span class="opinion-accordion-nav"><i class="opinion-icon opinion-icon-down"></i></span>'),l(".widget").on("click",".opinion-accordion-nav",function(){l(this).closest("li").find("ul.sub-menu:first, ul.children:first").slideToggle("fast").parent().toggleClass("active")})},module_slider:function(){l("body").imagesLoaded(function(){l(".opinion-module-slider").each(function(){var t=l(this).find(".opinion-items").addClass("owl-carousel"),e=l(this).hasClass("slider-has-nav"),i=t.children().first().attr("class"),n=i.match(/col-(\d+)/);n=null===n?1:12/n[1];var s=i.match(/col-md-(\d+)/);s=null===s?n:12/s[1];var o=i.match(/col-lg-(\d+)/);o=null===o?s:12/o[1],t.owlCarousel({rtl:!!opinion_js_settings.rtl_mode,center:!1,loop:!0,items:n,margin:26,stagePadding:0,navContainerClass:"owl-nav container",nav:!e,navText:['<i class="opinion-button opinion-button-circle opinion-button-medium opinion-icon opinion-icon-left"></i>','<i class="opinion-button opinion-button-medium opinion-button-circle opinion-icon opinion-icon-right"></i>'],onInitialized:function(t){var e=l(t.currentTarget);e.removeClass("row"),e.find(".owl-item").each(function(){l(this).children().removeClass()})},responsive:{570:{items:s},970:{items:o},1100:{items:o,margin:52}}}),e&&l(this).on("click",".opinion-slider-nav a",function(){l(this).hasClass("prev")?t.trigger("prev.owl.carousel"):t.trigger("next.owl.carousel")})})})},gallery_slider:function(){l("body").imagesLoaded(function(){l(".gallery-columns-1, .wp-block-gallery.columns-1").each(function(){l(this).addClass("owl-carousel").owlCarousel({rtl:!!opinion_js_settings.rtl_mode,loop:!0,items:1,autoHeight:!0,navText:['<i class="opinion-button opinion-button-circle opinion-button-medium opinion-icon opinion-icon-left"></i>','<i class="opinion-button opinion-button-medium opinion-button-circle opinion-icon opinion-icon-right"></i>'],nav:!0})})})},instagram_slider:function(){var t=l(".opinion-section-instagram .meks-instagram-widget");t.length&&(t.hasClass("owl-carousel")||t.addClass("owl-carousel"),t.owlCarousel({rtl:!!opinion_js_settings.rtl_mode,loop:!0,nav:!0,autoWidth:!1,center:!0,fluidSpeed:300,margin:0,items:3,navText:['<i class="opinion-button opinion-button-circle opinion-button-medium opinion-icon opinion-icon-left"></i>','<i class="opinion-button opinion-button-medium opinion-button-circle opinion-icon opinion-icon-right"></i>'],lazyLoad:!0,responsive:{570:{items:5}}}))},scroll_animate:function(){l("body").on("click",".opinion-scroll-animate",function(t){t.preventDefault();var e=this.hash,i=l(e),n=opinion_js_settings.header_sticky?l(".opinion-header-sticky").height():0;l("html, body").stop().animate({scrollTop:i.offset().top-n},900,"swing",function(){window.location.hash=e})})},reverse_menu:function(){l(".opinion-header").on("mouseenter","ul li",function(){l(this).find("ul").length&&l(window).width()-(l(this).find("ul").offset().left+l(this).find("ul").outerWidth())<0&&l(this).find("ul").addClass("opinion-rev")})},object_fit_cover:function(){l("body").imagesLoaded(function(){objectFitImages(".entry-media img")})},align_full_fix:function(){if(l("body").hasClass("opinion-sidebar-none")){var t=".alignfull { width: "+l(window).width()+"px; margin-left: -"+l(window).width()/2+"px; margin-right: -"+l(window).width()/2+"px; right:50%; left:50%; }";
1l("#opinion-align-fix").length?l("#opinion-align-fix").html(t):l("head").append('<style id="opinion-align-fix" type="text/css">'+t+"</style>")}}};l(document).ready(function(){a.init()}),l(window).resize(function(){a.resize()}),l(window).scroll(function(){a.scroll()})}(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.