var config={mobile:515,tablet:730,desktop:960};for(var item in config.breakpoints)config.breakpoints.hasOwnProperty(item)&&(config.breakpoints[item]=1*config.breakpoints[item].split("px")[0]);/*! * imagesLoaded PACKAGED v3.1.8 * JavaScript is all like "You images are done yet or what?" * MIT License */ (function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,r=this,s=r.EventEmitter;n.getListeners=function(t){var e,i,n=this._getEvents();if("object"==typeof t){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},n.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},n.addListener=function(t,i){var n,r=this.getListenersAsObject(t),s="object"==typeof i;for(n in r)r.hasOwnProperty(n)&&-1===e(r[n],i)&&r[n].push(s?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,r,s=this.getListenersAsObject(t);for(r in s)s.hasOwnProperty(r)&&(n=e(s[r],i),-1!==n&&s[r].splice(n,1));return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,i){var n,r,s=t?this.removeListener:this.addListener,o=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)s.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(r=e[n])&&("function"==typeof r?s.call(this,n,r):o.call(this,n,r));return this},n.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if("object"===i)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var i,n,r,s,o=this.getListenersAsObject(t);for(r in o)if(o.hasOwnProperty(r))for(n=o[r].length;n--;)i=o[r][n],i.once===!0&&this.removeListener(t,i.listener),s=i.listener.apply(this,e||[]),s===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return r.EventEmitter=s,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}).call(this),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,n=function(){};i.addEventListener?n=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(n=function(t,i,n){t[i+n]=n.handleEvent?function(){var i=e(t);n.handleEvent.call(n,i)}:function(){var i=e(t);n.call(t,i)},t.attachEvent("on"+i,t[i+n])});var r=function(){};i.removeEventListener?r=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(r=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var s={bind:n,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",s):t.eventie=s}(this),function(t,e){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(i,n){return e(t,i,n)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("eventie")):t.imagesLoaded=e(t,t.EventEmitter,t.eventie)}(window,function(t,e,i){function n(t,e){for(var i in e)t[i]=e[i];return t}function r(t){return"[object Array]"===p.call(t)}function s(t){var e=[];if(r(t))e=t;else if("number"==typeof t.length)for(var i=0,n=t.length;n>i;i++)e.push(t[i]);else e.push(t);return e}function o(t,e,i){if(!(this instanceof o))return new o(t,e);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=s(t),this.options=n({},this.options),"function"==typeof e?i=e:n(this.options,e),i&&this.on("always",i),this.getImages(),u&&(this.jqDeferred=new u.Deferred);var r=this;setTimeout(function(){r.check()})}function a(t){this.img=t}function l(t){this.src=t,f[t]=this}var u=t.jQuery,h=t.console,c=void 0!==h,p=Object.prototype.toString;o.prototype=new e,o.prototype.options={},o.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;e>t;t++){var i=this.elements[t];"IMG"===i.nodeName&&this.addImage(i);var n=i.nodeType;if(n&&(1===n||9===n||11===n))for(var r=i.querySelectorAll("img"),s=0,o=r.length;o>s;s++){var a=r[s];this.addImage(a)}}},o.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},o.prototype.check=function(){function t(t,r){return e.options.debug&&c&&h.log("confirm",t,r),e.progress(t),i++,i===n&&e.complete(),!0}var e=this,i=0,n=this.images.length;if(this.hasAnyBroken=!1,!n)return void this.complete();for(var r=0;n>r;r++){var s=this.images[r];s.on("confirm",t),s.check()}},o.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=this;setTimeout(function(){e.emit("progress",e,t),e.jqDeferred&&e.jqDeferred.notify&&e.jqDeferred.notify(e,t)})},o.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var e=this;setTimeout(function(){if(e.emit(t,e),e.emit("always",e),e.jqDeferred){var i=e.hasAnyBroken?"reject":"resolve";e.jqDeferred[i](e)}})},u&&(u.fn.imagesLoaded=function(t,e){var i=new o(this,t,e);return i.jqDeferred.promise(u(this))}),a.prototype=new e,a.prototype.check=function(){var t=f[this.img.src]||new l(this.img.src);if(t.isConfirmed)return void this.confirm(t.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var e=this;t.on("confirm",function(t,i){return e.confirm(t.isLoaded,i),!0}),t.check()},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emit("confirm",this,e)};var f={};return l.prototype=new e,l.prototype.check=function(){if(!this.isChecked){var t=new Image;i.bind(t,"load",this),i.bind(t,"error",this),t.src=this.src,this.isChecked=!0}},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(t){this.confirm(!0,"onload"),this.unbindProxyEvents(t)},l.prototype.onerror=function(t){this.confirm(!1,"onerror"),this.unbindProxyEvents(t)},l.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit("confirm",this,e)},l.prototype.unbindProxyEvents=function(t){i.unbind(t.target,"load",this),i.unbind(t.target,"error",this)},o}),/*! modernizr 3.0.0-alpha.3 (Custom Build) | MIT * * http://v3.modernizr.com/download/#-objectfit !*/ !function(t,e,i){function n(t,e){return typeof t===e}function r(){var t,e,i,r,s,o,a;for(var l in _){if(t=[],e=_[l],e.name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(i=0;i',t,""].join(""),u.id=l,(h.fake?h:u).innerHTML+=r,h.appendChild(u),h.fake&&(h.style.background="",h.style.overflow="hidden",a=w.style.overflow,w.style.overflow="hidden",w.appendChild(h)),s=e(u,t),h.fake?(h.parentNode.removeChild(h),w.style.overflow=a,w.offsetHeight):u.parentNode.removeChild(u),!!s}function f(e,n){var r=e.length;if("CSS"in t&&"supports"in t.CSS){for(;r--;)if(t.CSS.supports(h(e[r]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var s=[];r--;)s.push("("+h(e[r])+":"+n+")");return s=s.join(" or "),p("@supports ("+s+") { #modernizr { position: absolute; } }",function(t){return"absolute"==getComputedStyle(t,null).position})}return i}function d(t,e,r,s){function l(){h&&(delete k.style,delete k.modElem)}if(s=n(s,"undefined")?!1:s,!n(r,"undefined")){var u=f(t,r);if(!n(u,"undefined"))return u}var h,c,p,d,m;for(k.style||(h=!0,k.modElem=S("modernizr"),k.style=k.modElem.style),p=t.length,c=0;p>c;c++)if(d=t[c],m=k.style[d],a(d,"-")&&(d=o(d)),k.style[d]!==i){if(s||n(r,"undefined"))return l(),"pfx"==e?d:!0;try{k.style[d]=r}catch(g){}if(k.style[d]!=m)return l(),"pfx"==e?d:!0}return l(),!1}function m(t,e,i,r,s){var o=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+b.join(o+" ")+o).split(" ");return n(e,"string")||n(e,"undefined")?d(a,e,r,s):(a=(t+" "+A.join(o+" ")+o).split(" "),u(a,e,i))}var g=[],_=[],v={_version:"3.0.0-alpha.3",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var i=this;setTimeout(function(){e(i[t])},0)},addTest:function(t,e,i){_.push({name:t,fn:e,options:i})},addAsyncTest:function(t){_.push({name:null,fn:t})}},y=function(){};y.prototype=v,y=new y;var w=e.documentElement,x="Moz O ms Webkit",b=v._config.usePrefixes?x.split(" "):[];v._cssomPrefixes=b;var T=function(e){var n,r=prefixes.length,s=t.CSSRule;if("undefined"==typeof s)return i;if(!e)return!1;if(e=e.replace(/^@/,""),n=e.replace(/-/g,"_").toUpperCase()+"_RULE",n in s)return"@"+e;for(var o=0;r>o;o++){var a=prefixes[o],l=a.toUpperCase()+"_"+n;if(l in s)return"@-"+a.toLowerCase()+"-"+e}return!1},A=v._config.usePrefixes?x.toLowerCase().split(" "):[];v._domPrefixes=A;var S=function(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):e.createElement.apply(e,arguments)},C={elem:S("modernizr")};y._q.push(function(){delete C.elem});var k={style:C.elem.style};y._q.unshift(function(){delete k.style}),v.testAllProps=m;var P=v.prefixed=function(t,e,i){return 0===t.indexOf("@")?T(t):(-1!=t.indexOf("-")&&(t=o(t)),e?m(t,e,i):m(t,"pfx"))};y.addTest("objectfit",!!P("objectFit"),{aliases:["object-fit"]}),r(),s(g),delete v.addTest,delete v.addAsyncTest;for(var D=0;D0&&e-1 in t}function n(t,e,i){if(G.isFunction(e))return G.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return G.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(at.test(e))return G.filter(e,t,i);e=G.filter(e,t)}return G.grep(t,function(t){return H.call(e,t)>=0!==i})}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function s(t){var e=dt[t]={};return G.each(t.match(ft)||[],function(t,i){e[i]=!0}),e}function o(){J.removeEventListener("DOMContentLoaded",o,!1),t.removeEventListener("load",o,!1),G.ready()}function a(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=G.expando+a.uid++}function l(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(wt,"-$1").toLowerCase(),i=t.getAttribute(n),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:yt.test(i)?G.parseJSON(i):i}catch(r){}vt.set(t,e,i)}else i=void 0;return i}function u(){return!0}function h(){return!1}function c(){try{return J.activeElement}catch(t){}}function p(t,e){return G.nodeName(t,"table")&&G.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function f(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function d(t){var e=Mt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function m(t,e){for(var i=0,n=t.length;n>i;i++)_t.set(t[i],"globalEval",!e||_t.get(e[i],"globalEval"))}function g(t,e){var i,n,r,s,o,a,l,u;if(1===e.nodeType){if(_t.hasData(t)&&(s=_t.access(t),o=_t.set(e,s),u=s.events)){delete o.handle,o.events={};for(r in u)for(i=0,n=u[r].length;n>i;i++)G.event.add(e,r,u[r][i])}vt.hasData(t)&&(a=vt.access(t),l=G.extend({},a),vt.set(e,l))}}function _(t,e){var i=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&G.nodeName(t,e)?G.merge([t],i):i}function v(t,e){var i=e.nodeName.toLowerCase();"input"===i&&At.test(t.type)?e.checked=t.checked:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}function y(e,i){var n,r=G(i.createElement(e)).appendTo(i.body),s=t.getDefaultComputedStyle&&(n=t.getDefaultComputedStyle(r[0]))?n.display:G.css(r[0],"display");return r.detach(),s}function w(t){var e=J,i=It[t];return i||(i=y(t,e),"none"!==i&&i||($t=($t||G("