* or Isotope Commercial License for commercial use
*
* https://isotope.metafizzy.co
* Copyright 2010-2018 Metafizzy
*/
!function(t,e){"function"==typeofdefine&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){returne(t,i)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";functioni(i,s,a){functionu(t,e,o){varn,s="$()."+i+'("'+e+'")';returnt.each(function(t,u){varh=a.data(u,i);if(!h)returnvoidr(i+" not initialized. Cannot call methods, i.e. "+s);vard=h[e];if(!d||"_"==e.charAt(0))returnvoidr(s+" is not a valid method");varl=d.apply(h,o);n=void0===n?l:n}),void0!==n?n:t}functionh(t,e){t.each(function(t,o){varn=a.data(o,i);n?(n.option(e),n._init()):(n=news(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeoft){vare=n.call(arguments,1);returnu(this,t,e)}returnh(this,t),this},o(a))}functiono(t){!t||t&&t.bridget||(t.bridget=i)}varn=Array.prototype.slice,s=t.console,r="undefined"==typeofs?function(){}:function(t){s.error(t)};returno(e||t.jQuery),i}),function(t,e){"function"==typeofdefine&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeofmodule&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeofwindow?window:this,function(){functiont(){}vare=t.prototype;returne.on=function(t,e){if(t&&e){vari=this._events=this._events||{},o=i[t]=i[t]||[];returno.indexOf(e)==-1&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);vari=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};returno[e]=!0,this}},e.off=function(t,e){vari=this._events&&this._events[t];if(i&&i.length){varo=i.indexOf(e);returno!=-1&&i.splice(o,1),this}},e.emitEvent=function(t,e){vari=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(varo=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){vars=i[n],r=o&&o[s];r&&(this.off(t,s),deleteo[s]),s.apply(this,e)}returnthis}},e.allOff=function(){deletethis._events,deletethis._onceEvents},t}),function(t,e){"function"==typeofdefine&&define.amd?define("get-size/get-size",e):"object"==typeofmodule&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";functiont(t){vare=parseFloat(t),i=t.indexOf("%")==-1&&!isNaN(e);returni&&e}functione(){}functioni(){for(vart={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<h;e++){vari=u[e];t[i]=0}returnt}functiono(t){vare=getComputedStyle(t);returne||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}functionn(){if(!d){d=!0;vare=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";vari=document.body||document.documentElement;i.appendChild(e);varn=o(e);r=200==Math.round(t(n.width)),s.isBoxSizeOuter=r,i.removeChild(e)}}functions(e){if(n(),"string"==typeofe&&(e=document.querySelector(e)),e&&"object"==typeofe&&e.nodeType){vars=o(e);if("none"==s.display)returni();vara={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(vard=a.isBorderBox="border-box"==s.boxSizing,l=0;l<h;l++){varf=u[l],c=s[f],m=parseFloat(c);a[f]=isNaN(m)?0:m}varp=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,I=d&&r,x=t(s.width);x!==!1&&(a.width=x+(I?0:p+_));varS=t(s.height);returnS!==!1&&(a.height=S+(I?0:y+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+z),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}varr,a="undefined"==typeofconsole?e:function(t){console.error(t)},u=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=u.length,d=!1;returns}),function(t,e){"use strict";"function"==typeofdefine&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeofmodule&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";vart=function(){vart=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(vare=["webkit","moz","ms","o"],i=0;i<e.length;i++){varo=e[i],n=o+"MatchesSelector";if(t[n])returnn}}();returnfunction(e,i){returne[t](i)}}),function(t,e){"function"==typeofdefine&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){returne(t,i)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){vari={};i.extend=function(t,e){for(variine)t[i]=e[i];returnt},i.modulo=function(t,e){return(t%e+e)%e};varo=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))returnt;if(null===t||void0===t)return[];vare="object"==typeoft&&"number"==typeoft.length;returne?o.call(t):[t]},i.removeFrom=function(t,e){vari=t.indexOf(e);i!=-1&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))returnt},i.getQueryElement=function(t){return"string"==typeoft?document.querySelector(t):t},i.handleEvent=function(t){vare="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);varn=[];returnt.forEach(function(t){if(tinstanceofHTMLElement){if(!o)returnvoidn.push(t);e(t,o)&&n.push(t);for(vari=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}}),n},i.debounceMethod=function(t,e,i){i=i||100;varo=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){vart=this[n];clearTimeout(t);vare=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),deletes[n]},i)}},i.docReady=function(t){vare=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){returnt.replace(/(.)([A-Z])/g,function(t,e,i){returne+"-"+i}).toLowerCase()};varn=t.console;returni.htmlInit=function(e,o){i.docReady(function(){vars=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+"-options",l=t.jQuery;h.forEach(function(t){vari,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(a){returnvoid(n&&n.error("Error parsing "+r+" on "+t.className+": "+a))}varu=newe(t,i);l&&l.data(t,o,u)})})},i}),function(t,e){"function"==typeofdefine&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeofmodule&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";functioni(t){for(vareint)return!1;returne=null,!0}functiono(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}functionn(t){returnt.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}vars=document.documentElement.style,r="string"==typeofs.transition?"transition":"WebkitTransition",a="string"==typeofs.transform?"transform":"WebkitTransform",u={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],h={transform:a,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},d=o.prototype=Object.create(t.prototype);d.constructor=o,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){vare="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){vare=this.element.style;for(variint){varo=h[i]||i;e[o]=t[i]}},d.getPosition=function(){vart=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;o.indexOf("%")!=-1&&(s=s/100*a.width),n.indexOf("%")!=-1&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},d.layoutPosition=function(){vart=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";varu=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",d=o?"bottom":"top",l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){vare=this.layout._getOption("horizontal");returnthis.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){vare=this.layout._getOption("horizontal");returnthis.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();vari=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),n&&!this.isTransitioning)returnvoidthis.layoutPosition();vars=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){vari=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop");returnt=i?t:-t,e=o?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(vareint.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))returnvoidthis._nonTransition(t);vare=this._transn;for(variint.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(iint.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);varo=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};varl="opacity,"+n(a);d.enableTransition=function(){if(!this.isTransitioning){vart=this.layout.options.transitionDuration;t="number"==typeoft?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};varf={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){vare=this._transn,o=f[t.propertyName]||t.propertyName;if(deletee.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),oine.clean&&(this.element.style[t.propertyName]="",deletee.clean[o]),oine.onEnd){varn=e.onEnd[o];n.call(this),deletee.onEnd[o]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){vare={};for(variint)e[i]="";this.css(e)};varc={transitionProperty:"",transitionDuration:"",transitionDelay:""};returnd.removeTransitionStyles=function(){this.css(c)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){returnr&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),voidthis.hide()):voidthis.removeElem()},d.reveal=function(){deletethis.isHidden,this.css({display:""});vart=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){vare=this.layout.options[t];if(e.opacity)return"opacity";for(variine)returni},d.hide=function(){this.isHidden=!0,this.css({display:""});vart=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(t,e){"use strict";"function"==typeofdefine&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){returne(t,i,o,n,s)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";functions(t,e){vari=o.getQueryElement(t);if(!i)returnvoid(u&&u.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,h&&(this.$element=h(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);varn=++l;this.element.outlayerGUID=n,f[n]=this,this._create();vars=this._getOption("initLayout");s&&this.layout()}functionr(t){functione(){t.apply(this,arguments)}returne.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}functiona(t){if("number"==typeoft)returnt;vare=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return0;i=parseFloat(i);varn=m[o]||1;returni*n}varu=t.console,h=t.jQuery,d=function(){},l=0,f={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};varc=s.prototype;o.extend(c,e.prototype),c.option=function(t){o.extend(this.options,t)},c._getOption=function(t){vare=this.constructor.compatOptions[t];returne&&void0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle);vart=this._getOption("resize");t&&this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(vare=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){vars=e[n],r=newi(s,this);o.push(r)}returno},c._filterFindItemElements=function(t){returno.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){returnthis.items.map(function(t){returnt.element})},c.layout=function(){this._resetLayout(),this._manageStamps();vart=this._getOption("layoutInstant"),e=void0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=i(this.element)},c._getMeasurement=function(t,e){varo,n=this.options[t];n?("string"==typeofn?o=this.element.querySelector(n):ninstanceofHTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){returnt.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){vari=[];t.forEach(function(t){varo=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){vart=this.options.stagger;returnnull===t||void0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},c._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){vart=this._getOption("resizeContainer");if(t){vare=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},c._getContainerSize=d,c._setContainerMeasure=function(t,e){if(void0!==t){vari=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},c._emitCompleteOnItems=function(t,e){functioni(){n.dispatchEvent(t+"Complete",null,[e])}functiono(){r++,r==s&&i()}varn=this,s=e.length;if(!e||!s)returnvoidi();varr=0;e.forEach(function(e){e.once(t,o)})},c.dispatchEvent=function(t,e,i){varo=e?[e].concat(i):i;if(this.emitEvent(t,o),h)if(this.$element=this.$element||h(this.element),e){varn=h.Event(e);n.type=t,this.$element.trigger(n,i)}elsethis.$element.trigger(t,i)},c.ignore=function(t){vare=this.getItem(t);e&&(e.isIgnored=!0)},c.unignore=function(t){vare=this.getItem(t);e&&deletee.isIgnored},c.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){if(t)return"string"==typeoft&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},c._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._getBoundingRect=function(){vart=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},c._manageStamp=d,c._getElementOffset=function(t){vare=t.getBoundingClientRect(),o=this._boundingRect,n=i(t),s={left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom};returns},c.handleEvent=o.handleEvent,c.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},c.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},c.needsResizeLayout=function(){vart=i(this.element),e=this.size&&t;returne&&t.innerWidth!==this.size.innerWidth},c.addItems=function(t){vare=this._itemize(t);returne.length&&(this.items=this.items.concat(e)),e},c.appended=function(t){vare=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},c.prepended=function(t){vare=this._itemize(t);if(e.length){vari=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},c.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){vare=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},c.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){vare=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},c.revealItemElements=function(t){vare=this.getItems(t);this.reveal(e)},c.hideItemElements=function(t){vare=this.getItems(t);this.hide(e)},c.getItem=function(t){for(vare=0;e<this.items.length;e++){vari=this.items[e];if(i.element==t)returni}},c.getItems=function(t){t=o.makeArray(t);vare=[];returnt.forEach(function(t){vari=this.getItem(t);i&&e.push(i)},this),e},c.remove=function(t){vare=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},c.destroy=function(){vart=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();vare=this.element.outlayerGUID;deletef[e],deletethis.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);vare=t&&t.outlayerGUID;returne&&f[e]},s.create=function(t,e){vari=r(s);returni.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i};varm={ms:1,s:1e3};returns.Item=n,s}),function(t,e){"function"==typeofdefine&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeofmodule&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";functione(){t.Item.apply(this,arguments)}vari=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();vart=this.layout.options.getSortData,e=this.layout._sorters;for(variint){varo=e[i];this.sortData[i]=o(this.element,this)}}};varn=i.destroy;returni.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeofdefine&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeofmodule&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";functioni(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}varo=i.prototype,n=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"];returnn.forEach(function(t){o[t]=function(){returne.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){vare=t(this.isotope.element),i=this.isotope.size&&e;returni&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){vari=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){varn=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){vare=this.isotope.filteredItems[0];returne&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){functionn(){i.apply(this,arguments)}returnn.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeofdefine&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeofmodule&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){vari=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";varo=i.prototype;returno._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(vart=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){vart=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}varo=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o,a=r&&r<1?"round":"floor";s=Math[a](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){vart=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,o=e(i);this.containerWidth=o&&o.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();vare=t.size.outerWidth%this.columnWidth,i=e&&e<1?"round":"ceil",o=Math[i](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(varn=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",s=this[n](o,t),r={x:this.columnWidth*s.col,y:s.y},a=s.y+t.size.outerHeight,u=o+s.col,h=s.col;h<u;h++)this.colYs[h]=a;returnr},o._getTopColPosition=function(t){vare=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)returnthis.colYs;for(vare=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);returne},o._getColGroupY=function(t,e){if(e<2)returnthis.colYs[t];vari=this.colYs.slice(t,t+e);returnMath.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){vari=this.horizontalColIndex%this.cols,o=t>1&&i+t>this.cols;i=o?0:i;varn=e.size.outerWidth&&e.size.outerHeight;returnthis.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){vari=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft"),s=n?o.left:o.right,r=s+i.outerWidth,a=Math.floor(s/this.columnWidth);a=Math.max(0,a);varu=Math.floor(r/this.columnWidth);u-=r%this.columnWidth?0:1,u=Math.min(this.cols-1,u);for(varh=this._getOption("originTop"),d=(h?o.top:o.bottom)+i.outerHeight,l=a;l<=u;l++)this.colYs[l]=Math.max(d,this.colYs[l])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);vart={height:this.maxY};returnthis._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(vart=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){vart=this.containerWidth;returnthis.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeofdefine&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeofmodule&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";vari=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(varsine.prototype)n[s]||(o[s]=e.prototype[s]);varr=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};vara=o._getOption;returno._getOption=function(t){return"fitWidth"==t?void0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeofdefine&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeofexports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";vare=t.create("fitRows"),i=e.prototype;returni._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();vare=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);varo={x:this.x,y:this.y};returnthis.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeofdefine&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeofmodule&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";vare=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;returni._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();vare=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;returnthis.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeofdefine&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){returne(t,i,o,n,s,r,a)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){functiona(t,e){returnfunction(i,o){for(varn=0;n<t.length;n++){vars=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a){varu=void0!==e[s]?e[s]:e,h=u?1:-1;return(r>a?1:-1)*h}}return0}}varu=t.jQuery,h=String.prototype.trim?function(t){returnt.trim()}:function(t){returnt.replace(/^\s+|\s+$/g,"")},d=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=s,d.LayoutMode=r;varl=d.prototype;l._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(vartinr.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(vart=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){varo=t[i];o.id=this.itemGUID++}returnthis._updateItemsSortData(t),t},l._initLayoutMode=function(t){vare=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=newe(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?voidthis.arrange():voidthis._layout()},l._layout=function(){vart=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();vare=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){vart=this._getOption("layoutInstant"),e=void0!==t?t:!this._isLayoutInited;returnthis._isInstant=e,e},l._bindArrangeComplete=function(){functiont(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}vare,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},l._filter=function(t){vare=this.options.filter;e=e||"*";for(vari=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){vara=t[r];if(!a.isIgnored){varu=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){returnu&&this.options.isJQueryFiltering?function(e){returnu(e.element).is(t);