1function addLoadEvent(t){var e=window.onload;"function"!=typeof window.onload?window.onload=t:window.onload=function(){e&&e(),t()}}function supports_canvas(){return!!document.createElement("canvas").getContext}function gaussianBlur(t,e,i){var n=t.width,o=n<<2,r=t.height;if(e){var a=e.data,s;i<0&&(i=0);for(var l=(s=i>=2.5?.98711*i-.9633:i>=.5?3.97156-4.14554*Math.sqrt(1-.26891*i):2*i*(3.97156-4.14554*Math.sqrt(.865545)))*s,c=l*s,d=1.57825+2.44413*s+1.4281*l+.422205*c,u=(2.44413*s+2.85619*l+1.26661*c)/d,p=-(1.4281*l+1.26661*c)/d,f=.422205*c/d,h=1-(u+p+f),m=0;m<3;m++)for(var g=0;g<r;g++){for(var v,b=g*o+(n-1<<2)+m,y,w,x,C=x=w=y=a[v=g*o+m];v<=b;v+=4)y=h*a[v]+u*w+p*x+f*C,a[v]=y,C=x,x=w,w=y;for(b=g*o+m,C=x=w=y=a[v=g*o+(n-1<<2)+m];v>=b;v-=4)y=h*a[v]+u*w+p*x+f*C,a[v]=y,C=x,x=w,w=y}for(var m=0;m<3;m++)for(var S=0;S<n;S++){for(var v,b=(r-1)*o+(S<<2)+m,y,w,x,C=x=w=y=a[v=(S<<2)+m];v<=b;v+=o)y=h*a[v]+u*w+p*x+f*C,a[v]=y,C=x,x=w,w=y;for(b=(S<<2)+m,C=x=w=y=a[v=(r-1)*o+(S<<2)+m];v>=b;v-=o)y=h*a[v]+u*w+p*x+f*C,a[v]=y,C=x,x=w,w=y}return e}}function removeClass(t,e){if(hasClass(t,e)){var i=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(i," ")}}function addClass(t,e){this.hasClass(t,e)||(t.className+=" "+e)}function hasClass(t,e){return t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function isCanvasSupported(){var t=document.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))}function processFilters(){if(isCanvasSupported()){var t=document.createElement("canvas"),e=t.getContext("2d");supports_canvas()&&(addFilter("filter-blur",t,e),addFilter("filter-edges",t,e),addFilter("filter-emboss",t,e),addFilter("filter-greyscale",t,e),addFilter("filter-matrix",t,e),addFilter("filter-mosaic",t,e),addFilter("filter-noise",t,e),addFilter("filter-posterize",t,e),addFilter("filter-sepia",t,e),addFilter("filter-sharpen",t,e),addFilter("filter-tint",t,e))}}function addFilter_single(t){function e(t,e,o,r,a,s,l){var c=r[a],d=t+"-"+a;if(l.width=s.width=e.width,l.height=s.height=e.height,e&&l){var u=initializeBuffer(l,e);if(u){var p,p,p,p;if("filter-blur"==t&&(u=gaussianBlur(e,u,o.blurAmount)),"filter-edges"==t)u=n(e,u,p=[0,1,0,1,-4,1,0,1,0],o.edgesAmount);if("filter-emboss"==t)u=n(e,u,p=[-2,-1,0,-1,1,1,0,1,2],o.embossAmount);if("filter-matrix"==t)u=n(e,u,p=[.111,.111,.111,.111,.111,.111,.111,.111,.111],o.matrixAmount);if("filter-sharpen"==t)u=n(e,u,p=[-1,-1,-1,-1,9,-1,-1,-1,-1],o.sharpenAmount);if("filter-tint"==t)var f=parseInt(createColor(o.tintColor),16),h={r:(16711680&f)>>16,g:(65280&f)>>8,b:255&f};if("filter-blur"!=t&&"filter-emboss"!=t&&"filter-matrix"!=t&&"filter-sharpen"!=t)for(var m=0,g=u.data,v=g.length;m<v>>2;m++){var b=m<<2,y;u=i(t,o,e,u,b,{r:g[b],g:g[b+1],b:g[b+2]},h)}l.putImageData(u,0,0),stashOriginal(e,d,c,s)}}}function i(t,e,i,n,o,r,l){var c=n.data,d,u=i.width;switch(t){case"filter-greyscale":d=.21*r.r+.71*r.g+.07*r.b,c=setRGB(c,o,findColorDifference(e.greyscaleOpacity,d,r.r),findColorDifference(e.greyscaleOpacity,d,r.g),findColorDifference(e.greyscaleOpacity,d,r.b));break;case"filter-mosaic":var p=o>>2,f=Math.floor(p/u),h=f%e.mosaicSize,m,g=(p-f*u)%e.mosaicSize;h&&(p-=h*u),g&&(p-=g),p<<=2,c=setRGB(c,o,findColorDifference(e.mosaicOpacity,c[p],r.r),findColorDifference(e.mosaicOpacity,c[p+1],r.g),findColorDifference(e.mosaicOpacity,c[p+2],r.b));break;case"filter-noise":d=a(e.noiseAmount),c="mono"==e.noiseType||"monochrome"==e.noiseType?setRGB(c,o,s(r.r+d),s(r.g+d),s(r.b+d)):setRGB(c,o,s(r.r+a(e.noiseAmount)),s(r.g+a(e.noiseAmount)),s(r.b+a(e.noiseAmount)));break;case"filter-posterize":c=setRGB(c,o,findColorDifference(e.posterizeOpacity,parseInt(e.posterizeValues*parseInt(r.r/e.posterizeAreas)),r.r),findColorDifference(e.posterizeOpacity,parseInt(e.posterizeValues*parseInt(r.g/e.posterizeAreas)),r.g),findColorDifference(e.posterizeOpacity,parseInt(e.posterizeValues*parseInt(r.b/e.posterizeAreas)),r.b));break;case"filter-sepia":c=setRGB(c,o,findColorDifference(e.sepiaOpacity,.393*r.r+.769*r.g+.189*r.b,r.r),findColorDifference(e.sepiaOpacity,.349*r.r+.686*r.g+.168*r.b,r.g),findColorDifference(e.sepiaOpacity,.272*r.r+.534*r.g+.131*r.b,r.b));break;case"filter-tint":c=setRGB(c,o,findColorDifference(e.tintOpacity,l.r,r.r),findColorDifference(e.tintOpacity,l.g,r.g),findColorDifference(e.tintOpacity,l.b,r.b));break}return n}function n(t,e,i,n){var o=document.createElement("canvas"),a=o.getContext("2d");a.width=o.width=t.width,a.height=o.height=t.height,a.drawImage(t,0,0,t.width,t.height);for(var s=a.getImageData(0,0,c.width,c.height),l=e.data,d=s.data,u=t.width,p=Math.sqrt(i.length),f=Math.floor(p/2),h=1;h<u-1;h++)for(var m=1;m<t.height-1;m++){for(var g=sumG=sumB=0,v=0;v<p;v++)for(var b=0;b<p;b++){var y=r(h+b-f,m+v-f,u)<<2,w={r:d[y],g:d[y+1],b:d[y+2]};g+=w.r*i[b+v*p],sumG+=w.g*i[b+v*p],sumB+=w.b*i[b+v*p]}var x=r(h,m,u)<<2,C={r:l[x],g:l[x+1],b:l[x+2]};l=setRGB(l,x,findColorDifference(n,g,C.r),findColorDifference(n,sumG,C.g),findColorDifference(n,sumB,C.b))}return e}function o(t){for(var e=0,i=0;i<t.length;i++)e+=t[i];for(var i=0;i<t.length;i++)t[i]/=e;return t}function r(t,e,i){return t+e*i}function a(t){return Math.floor((t>>1)-Math.random()*t)}function s(t){return t<0?0:t>255?255:t}if(isCanvasSupported()){var l=document.createElement("canvas"),c=l.getContext("2d"),d="filter-tint",u=t;current=0;var p=getFilterParameters(u[current]),f=getReferenceImage(u[current]);f.onLoad=e(d,f,p,u,current,l,c)}}function addFilter(t,e,i){function n(t,e,i,n,a,s,l){var c=n[a],d=t+"-"+a;if(l.width=s.width=e.width,l.height=s.height=e.height,e&&l){var u=initializeBuffer(l,e);if(u){var p,p,p,p;if("filter-blur"==t&&(u=gaussianBlur(e,u,i.blurAmount)),"filter-edges"==t)u=r(e,u,p=[0,1,0,1,-4,1,0,1,0],i.edgesAmount);if("filter-emboss"==t)u=r(e,u,p=[-2,-1,0,-1,1,1,0,1,2],i.embossAmount);
1if("filter-matrix"==t)u=r(e,u,p=[.111,.111,.111,.111,.111,.111,.111,.111,.111],i.matrixAmount);if("filter-sharpen"==t)u=r(e,u,p=[-1,-1,-1,-1,9,-1,-1,-1,-1],i.sharpenAmount);if("filter-tint"==t)var f=parseInt(createColor(i.tintColor),16),h={r:(16711680&f)>>16,g:(65280&f)>>8,b:255&f};if("filter-blur"!=t&&"filter-emboss"!=t&&"filter-matrix"!=t&&"filter-sharpen"!=t)for(var m=0,g=u.data,v=g.length;m<v>>2;m++){var b=m<<2,y;u=o(t,i,e,u,b,{r:g[b],g:g[b+1],b:g[b+2]},h)}l.putImageData(u,0,0),stashOriginal(e,d,c,s)}}}function o(t,e,i,n,o,r,a){var s=n.data,d,u=i.width;switch(t){case"filter-greyscale":d=.21*r.r+.71*r.g+.07*r.b,s=setRGB(s,o,findColorDifference(e.greyscaleOpacity,d,r.r),findColorDifference(e.greyscaleOpacity,d,r.g),findColorDifference(e.greyscaleOpacity,d,r.b));break;case"filter-mosaic":var p=o>>2,f=Math.floor(p/u),h=f%e.mosaicSize,m,g=(p-f*u)%e.mosaicSize;h&&(p-=h*u),g&&(p-=g),p<<=2,s=setRGB(s,o,findColorDifference(e.mosaicOpacity,s[p],r.r),findColorDifference(e.mosaicOpacity,s[p+1],r.g),findColorDifference(e.mosaicOpacity,s[p+2],r.b));break;case"filter-noise":d=l(e.noiseAmount),s="mono"==e.noiseType||"monochrome"==e.noiseType?setRGB(s,o,c(r.r+d),c(r.g+d),c(r.b+d)):setRGB(s,o,c(r.r+l(e.noiseAmount)),c(r.g+l(e.noiseAmount)),c(r.b+l(e.noiseAmount)));break;case"filter-posterize":s=setRGB(s,o,findColorDifference(e.posterizeOpacity,parseInt(e.posterizeValues*parseInt(r.r/e.posterizeAreas)),r.r),findColorDifference(e.posterizeOpacity,parseInt(e.posterizeValues*parseInt(r.g/e.posterizeAreas)),r.g),findColorDifference(e.posterizeOpacity,parseInt(e.posterizeValues*parseInt(r.b/e.posterizeAreas)),r.b));break;case"filter-sepia":s=setRGB(s,o,findColorDifference(e.sepiaOpacity,.393*r.r+.769*r.g+.189*r.b,r.r),findColorDifference(e.sepiaOpacity,.349*r.r+.686*r.g+.168*r.b,r.g),findColorDifference(e.sepiaOpacity,.272*r.r+.534*r.g+.131*r.b,r.b));break;case"filter-tint":s=setRGB(s,o,findColorDifference(e.tintOpacity,a.r,r.r),findColorDifference(e.tintOpacity,a.g,r.g),findColorDifference(e.tintOpacity,a.b,r.b));break}return n}function r(t,e,n,o){var r=document.createElement("canvas"),a=r.getContext("2d");a.width=r.width=t.width,a.height=r.height=t.height,a.drawImage(t,0,0,t.width,t.height);for(var l=a.getImageData(0,0,i.width,i.height),c=e.data,d=l.data,u=t.width,p=Math.sqrt(n.length),f=Math.floor(p/2),h=1;h<u-1;h++)for(var m=1;m<t.height-1;m++){for(var g=sumG=sumB=0,v=0;v<p;v++)for(var b=0;b<p;b++){var y=s(h+b-f,m+v-f,u)<<2,w={r:d[y],g:d[y+1],b:d[y+2]};g+=w.r*n[b+v*p],sumG+=w.g*n[b+v*p],sumB+=w.b*n[b+v*p]}var x=s(h,m,u)<<2,C={r:c[x],g:c[x+1],b:c[x+2]};c=setRGB(c,x,findColorDifference(o,g,C.r),findColorDifference(o,sumG,C.g),findColorDifference(o,sumB,C.b))}return e}function a(t){for(var e=0,i=0;i<t.length;i++)e+=t[i];for(var i=0;i<t.length;i++)t[i]/=e;return t}function s(t,e,i){return t+e*i}function l(t){return Math.floor((t>>1)-Math.random()*t)}function c(t){return t<0?0:t>255?255:t}var d=getElementsByClassName(t.toLowerCase());for(var u in d){var p=getFilterParameters(d[u]),f=getReferenceImage(d[u]);f.onLoad=n(t,f,p,d,u,e,i)}}function getFilterParameters(t){var e={blurAmount:1,edgesAmount:1,embossAmount:.25,greyscaleOpacity:1,matrixAmount:1,mosaicOpacity:1,mosaicSize:5,noiseAmount:30,noiseType:"mono",posterizeAmount:5,posterizeOpacity:1,sepiaOpacity:1,sharpenAmount:.25,tintColor:"#FFF",tintOpacity:.3};for(var i in e){var n=i.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()})),o=t.getAttribute("data-pb-"+n);o&&(e[i]=o)}return e.tintColor=t.getAttribute("data-pb-tint-colour")||e.tintColor,e.posterizeAreas=256/e.posterizeAmount,e.posterizeValues=255/(e.posterizeAmount-1),e}function initializeBuffer(t,e){if(t.clearRect(0,0,t.width,t.height),e.width>0&&e.height>0)try{return t.drawImage(e,0,0,e.width,e.height),t.getImageData(0,0,t.width,t.height)}catch(t){}}function createColor(t){return 3==(t=t.replace(/^#/,"")).length&&(t=t.replace(/(.)/g,"$1$1")),t}function findColorDifference(t,e,i){return t*e+(1-t)*i}function setRGB(t,e,i,n,o){return t[e]=i,t[e+1]=n,t[e+2]=o,t}function getReferenceImage(t){if("IMG"==t.nodeName)return t;var e=window.getComputedStyle(t,null).backgroundImage;if(e){var i=new Image;return i.src=e.replace(/['"]/g,"").slice(4,-1),i}return!1}function placeReferenceImage(t,e,i){"IMG"==t.nodeName?i.src=e:t.style.backgroundImage="url("+e+")"}function addAttribute(t,e,i){var n=document.createAttribute(e);return n.nodeValue=i,t.setAttributeNode(n)}function flushDataAttributes(t){for(var e=0;e<t.attributes.length;e++){var i=t.attributes[e].name;"data-pb-"==i.substr(0,8)&&t.removeAttribute(i)}}function removeClasses(t){for(var e=t.className.toLowerCase().split(" "),i=0;i<e.length;i++)"filter-"==e[i].substr(0,7)&&removeClass(t,e[i])}function destroyStash(t,e){for(var i=t.className.toLowerCase().split(" "),n=0;n<i.length;n++){var o=i[n];if("pb-ref-"==o.substr(0,7)){var r=document.getElementById("pb-original-"+o.substr(7,o.length-7));e&&(t.src=r.src),removeClass(t,o),d=document.body,throwaway=d.removeChild(r)}}}function stashOriginal(t,e,i,n){var o=stashInDom(t,e);placeReferenceImage(i,n.toDataURL("image/png"),t),o&&(i.className+=" pb-ref-"+e)}function stashInDom(t,e){var i="pb-original-"+e;if(document.getElementById(i))return!1;var n=document.createElement("img");return n.src=t.src,n.id=i,n.style.display="none",document.body.appendChild(n),!0}!function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,(function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n;return(i[t]=i[t]||[])[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var a=r&&r[o];a&&(this.off(t,o),delete r[o]),o.apply(this,e),o=i[n+=a?0:1]}return this}},t})),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}(window,(function(t,e){function i(t,e){for(var i in e)t[i]=e[i];return t}function n(t){var e=[];
1if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}function o(t,e,r){return this instanceof o?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=n(t),this.options=i({},this.options),"function"==typeof e?r=e:i(this.options,e),r&&this.on("always",r),this.getImages(),s&&(this.jqDeferred=new s.Deferred),void setTimeout(function(){this.check()}.bind(this))):new o(t,e,r)}function r(t){this.img=t}function a(t,e){this.url=t,this.element=e,this.img=new Image}var s=t.jQuery,l=t.console;o.prototype=Object.create(e.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&c[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var a=r[n];this.addElementBackgroundImages(a)}}}};var c={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},o.prototype.addImage=function(t){var e=new r(t);this.images.push(e)},o.prototype.addBackground=function(t,e){var i=new a(t,e);this.images.push(i)},o.prototype.check=function(){function t(t,i,n){setTimeout((function(){e.progress(t,i,n)}))}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach((function(e){e.once("progress",t),e.check()})):void this.complete()},o.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,t,e)},o.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},r.prototype=Object.create(e.prototype),r.prototype.check=function(){var t;return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},r.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},r.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype=Object.create(r.prototype),a.prototype.check=function(){var t;this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((s=e).fn.imagesLoaded=function(t,e){var i;return new o(this,t,e).jqDeferred.promise(s(this))})},o.makeJQueryPlugin(),o})),function(t){t.flexslider=function(e,i){var n=t(e),o=t.extend({},t.flexslider.defaults,i),r=o.namespace,a="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,s=a?"touchend":"click",l="vertical"===o.direction,c=o.reverse,d=0<o.itemWidth,u="fade"===o.animation,p=""!==o.asNavFor,f={};t.data(e,"flexslider",n),f={init:function(){n.animating=!1,n.currentSlide=o.startAt,n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=o.selector.substr(0,o.selector.search(" ")),n.slides=t(o.selector,n),n.container=t(n.containerSelector,n),n.count=n.slides.length,n.syncExists=0<t(o.sync).length,"slide"===o.animation&&(o.animation="swing"),n.prop=l?"top":"marginLeft",n.args={},n.manualPause=!1;var e=n,i;if((i=!o.video)&&(i=!u)&&(i=o.useCSS))t:{i=document.createElement("div");var r=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"],s;for(s in r)if(void 0!==i.style[r[s]]){n.pfx=r[s].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",i=!0;break t}i=!1}e.transitions=i,""!==o.controlsContainer&&(n.controlsContainer=0<t(
1o.controlsContainer).length&&t(o.controlsContainer)),""!==o.manualControls&&(n.manualControls=0<t(o.manualControls).length&&t(o.manualControls)),o.randomize&&(n.slides.sort((function(){return Math.round(Math.random())-.5})),n.container.empty().append(n.slides)),n.doMath(),p&&f.asNav.setup(),n.setup("init"),o.controlNav&&f.controlNav.setup(),o.directionNav&&f.directionNav.setup(),o.keyboard&&(1===t(n.containerSelector).length||o.multipleKeyboard)&&t(document).bind("keyup",(function(t){t=t.keyCode,n.animating||39!==t&&37!==t||(t=39===t?n.getTarget("next"):37===t&&n.getTarget("prev"),n.flexAnimate(t,o.pauseOnAction))})),o.mousewheel&&n.bind("mousewheel",(function(t,e){t.preventDefault();var i=e<0?n.getTarget("next"):n.getTarget("prev");n.flexAnimate(i,o.pauseOnAction)})),o.pausePlay&&f.pausePlay.setup(),o.slideshow&&(o.pauseOnHover&&n.hover((function(){!n.manualPlay&&!n.manualPause&&n.pause()}),(function(){!n.manualPause&&!n.manualPlay&&n.play()})),0<o.initDelay?setTimeout(n.play,o.initDelay):n.play()),a&&o.touch&&f.touch(),(!u||u&&o.smoothHeight)&&t(window).bind("resize focus",f.resize),setTimeout((function(){o.start(n)}),200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(r+"active-slide").eq(n.currentItem).addClass(r+"active-slide"),n.slides.click((function(e){e.preventDefault();var e,i=(e=t(this)).index();!t(o.asNavFor).data("flexslider").animating&&!e.hasClass("active")&&(n.direction=n.currentItem<i?"next":"prev",n.flexAnimate(i,o.pauseOnAction,!1,!0,!0))}))}},controlNav:{setup:function(){n.manualControls?f.controlNav.setupManual():f.controlNav.setupPaging()},setupPaging:function(){var e=1,i;if(n.controlNavScaffold=t('<ol class="'+r+"control-nav "+r+("thumbnails"===o.controlNav?"control-thumbs":"control-paging")+'"></ol>'),1<n.pagingCount)for(var l=0;l<n.pagingCount;l++)i="thumbnails"===o.controlNav?'<img src="'+n.slides.eq(l).attr("data-thumb")+'"/>':"<a>"+e+"</a>",n.controlNavScaffold.append("<li>"+i+"</li>"),e++;n.controlsContainer?t(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),f.controlNav.set(),f.controlNav.active(),n.controlNavScaffold.delegate("a, img",s,(function(e){e.preventDefault();var e=t(this),i=n.controlNav.index(e);e.hasClass(r+"active")||(n.direction=i>n.currentSlide?"next":"prev",n.flexAnimate(i,o.pauseOnAction))})),a&&n.controlNavScaffold.delegate("a","click touchstart",(function(t){t.preventDefault()}))},setupManual:function(){n.controlNav=n.manualControls,f.controlNav.active(),n.controlNav.live(s,(function(e){e.preventDefault();var e=t(this),i=n.controlNav.index(e);e.hasClass(r+"active")||(i>n.currentSlide?n.direction="next":n.direction="prev",n.flexAnimate(i,o.pauseOnAction))})),a&&n.controlNav.live("click touchstart",(function(t){t.preventDefault()}))},set:function(){n.controlNav=t("."+r+"control-nav li "+("thumbnails"===o.controlNav?"img":"a"),n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(r+"active").eq(n.animatingTo).addClass(r+"active")},update:function(e,i){1<n.pagingCount&&"add"===e?n.controlNavScaffold.append(t("<li><a>"+n.count+"</a></li>")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.
1controlNav.eq(i).closest("li").remove(),f.controlNav.set(),1<n.pagingCount&&n.pagingCount!==n.controlNav.length?n.update(i,e):f.controlNav.active()}},directionNav:{setup:function(){var e=t('<ul class="'+r+'direction-nav"><li><a class="'+r+'prev" href="#">'+o.prevText+'</a></li><li><a class="'+r+'next" href="#">'+o.nextText+"</a></li></ul>");n.controlsContainer?(t(n.controlsContainer).append(e),n.directionNav=t("."+r+"direction-nav li a",n.controlsContainer)):(n.append(e),n.directionNav=t("."+r+"direction-nav li a",n)),f.directionNav.update(),n.directionNav.bind(s,(function(e){e.preventDefault(),e=t(this).hasClass(r+"next")?n.getTarget("next"):n.getTarget("prev"),n.flexAnimate(e,o.pauseOnAction)})),a&&n.directionNav.bind("click touchstart",(function(t){t.preventDefault()}))},update:function(){var t=r+"disabled";1===n.pagingCount?n.directionNav.addClass(t):o.animationLoop?n.directionNav.removeClass(t):0===n.animatingTo?n.directionNav.removeClass(t).filter("."+r+"prev").addClass(t):n.animatingTo===n.last?n.directionNav.removeClass(t).filter("."+r+"next").addClass(t):n.directionNav.removeClass(t)}},pausePlay:{setup:function(){var e=t('<div class="'+r+'pauseplay"><a></a></div>');n.controlsContainer?(n.controlsContainer.append(e),n.pausePlay=t("."+r+"pauseplay a",n.controlsContainer)):(n.append(e),n.pausePlay=t("."+r+"pauseplay a",n)),f.pausePlay.update(o.slideshow?r+"pause":r+"play"),n.pausePlay.bind(s,(function(e){e.preventDefault(),t(this).hasClass(r+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())})),a&&n.pausePlay.bind("click touchstart",(function(t){t.preventDefault()}))},update:function(t){"play"===t?n.pausePlay.removeClass(r+"pause").addClass(r+"play").text(o.playText):n.pausePlay.removeClass(r+"play").addClass(r+"pause").text(o.pauseText)}},touch:function(){function t(t){f=l?r-t.touches[0].pageY:r-t.touches[0].pageX,(!(m=l?Math.abs(f)<Math.abs(t.touches[0].pageX-a):Math.abs(f)<Math.abs(t.touches[0].pageY-a))||500<Number(new Date)-h)&&(t.preventDefault(),!u&&n.transitions&&(o.animationLoop||(f/=0===n.currentSlide&&0>f||n.currentSlide===n.last&&0<f?Math.abs(f)/p+2:1),n.setProps(s+f,"setTouch")))}function i(){if(n.animatingTo===n.currentSlide&&!m&&null!==f){var l=c?-f:f,d=0<l?n.getTarget("next"):n.getTarget("prev");n.canAdvance(d)&&(550>Number(new Date)-h&&50<Math.abs(l)||Math.abs(l)>p/2)?n.flexAnimate(d,o.pauseOnAction):n.flexAnimate(n.currentSlide,o.pauseOnAction,!0)}e.removeEventListener("touchmove",t,!1),e.removeEventListener("touchend",i,!1),s=f=a=r=null}var r,a,s,p,f,h,m=!1;e.addEventListener("touchstart",(function(u){n.animating?u.preventDefault():1===u.touches.length&&(n.pause(),p=l?n.h:n.w,h=Number(new Date),s=d&&c&&n.animatingTo===n.last?0:d&&c?n.limit-(n.itemW+o.itemMargin)*n.move*n.animatingTo:d&&n.currentSlide===n.last?n.limit:d?(n.itemW+o.itemMargin)*n.move*n.currentSlide:c?(n.last-n.currentSlide+n.cloneOffset)*p:(n.currentSlide+n.cloneOffset)*p,r=l?u.touches[0].pageY:u.touches[0].pageX,a=l?u.touches[0].pageX:u.touches[0].pageY,e.addEventListener("touchmove",t,!1),e.addEventListener("touchend",i,!1))}),!1)},resize:function(){!n.animating&&n.is(":visible")&&(d||n.doMath(),u?f.smoothHeight():d?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):l?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(o.smoothHeight&&f.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(t){if(!l||u){var e=u?n:n.viewport;t?e.animate({height:n.slides.eq(n.animatingTo).height()},t):e.height(n.slides.eq(n.animatingTo).height())}},sync:function(e){var i=t(o.sync).data("flexslider"),r=n.animatingTo;switch(e){case"animate":i.flexAnimate(r,o.pauseOnAction,!1,!0);break;case"play":!i.playing&&!i.asNav&&i.play();break;case"pause":i.pause()}}},n.flexAnimate=function(e,i,a,s,h){if(p&&1===n.pagingCount&&(n.direction=n.currentItem<e?"next":"prev"),!n.animating&&(n.canAdvance(e,h)||a)&&n.is(":visible")){if(p&&s){if(a=t(o.asNavFor).data("flexslider"),n.atEnd=0===e||e===n.count-1,a.flexAnimate(e,!0,!1,!0,h),n.direction=n.currentItem<e?"next":"prev",a.direction=n.direction,Math.ceil((e+1)/n.visible)-1===n.currentSlide||0===e)return n.currentItem=e,n.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),!1;n.currentItem=e,n.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),e=Math.floor(e/n.visible)}if(n.animating=!0,n.animatingTo=e,o.before(n),i&&n.pause(),n.syncExists&&!h&&f.sync("animate"),o.controlNav&&f.controlNav.active(),d||n.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),n.atEnd=0===e||e===n.last,o.directionNav&&f.directionNav.update(
1),e===n.last&&(o.end(n),o.animationLoop||n.pause()),u)n.slides.eq(n.currentSlide).fadeOut(o.animationSpeed,o.easing),n.slides.eq(e).fadeIn(o.animationSpeed,o.easing,n.wrapup);else{var m=l?n.slides.filter(":first").height():n.computedW;d?(e=o.itemWidth>n.w?2*o.itemMargin:o.itemMargin,e=(e=(n.itemW+e)*n.move*n.animatingTo)>n.limit&&1!==n.visible?n.limit:e):e=0===n.currentSlide&&e===n.count-1&&o.animationLoop&&"next"!==n.direction?c?(n.count+n.cloneOffset)*m:0:n.currentSlide===n.last&&0===e&&o.animationLoop&&"prev"!==n.direction?c?0:(n.count+1)*m:c?(n.count-1-e+n.cloneOffset)*m:(e+n.cloneOffset)*m,n.setProps(e,"",o.animationSpeed),n.transitions?(o.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",(function(){n.wrapup(m)}))):n.container.animate(n.args,o.animationSpeed,o.easing,(function(){n.wrapup(m)}))}o.smoothHeight&&f.smoothHeight(o.animationSpeed)}},n.wrapup=function(t){!u&&!d&&(0===n.currentSlide&&n.animatingTo===n.last&&o.animationLoop?n.setProps(t,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&o.animationLoop&&n.setProps(t,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,o.after(n)},n.animateSlides=function(){n.animating||n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.playing=!1,o.pausePlay&&f.pausePlay.update("play"),n.syncExists&&f.sync("pause")},n.play=function(){n.animatedSlides=setInterval(n.animateSlides,o.slideshowSpeed),n.playing=!0,o.pausePlay&&f.pausePlay.update("pause"),n.syncExists&&f.sync("play")},n.canAdvance=function(t,e){var i=p?n.pagingCount-1:n.last;return!!e||(!(!p||n.currentItem!==n.count-1||0!==t||"prev"!==n.direction)||(!p||0!==n.currentItem||t!==n.pagingCount-1||"next"===n.direction)&&(!(t===n.currentSlide&&!p)&&(!!o.animationLoop||(!n.atEnd||0!==n.currentSlide||t!==i||"next"===n.direction)&&(!n.atEnd||n.currentSlide!==i||0!==t||"next"!==n.direction))))},n.getTarget=function(t){return n.direction=t,"next"===t?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(t,e,i){var r,a=t||(n.itemW+o.itemMargin)*n.move*n.animatingTo;r=-1*function(){if(d)return"setTouch"===e?t:c&&n.animatingTo===n.last?0:c?n.limit-(n.itemW+o.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:a;switch(e){case"setTotal":return c?(n.count-1-n.currentSlide+n.cloneOffset)*t:(n.currentSlide+n.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return c?t:n.count*t;case"jumpStart":return c?n.count*t:t;default:return t}}()+"px",n.transitions&&(r=l?"translate3d(0,"+r+",0)":"translate3d("+r+",0,0)",i=void 0!==i?i/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",i)),n.args[n.prop]=r,(n.transitions||void 0===i)&&n.container.css(n.args)},n.setup=function(e){var i,a;u?(n.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&n.slides.eq(n.currentSlide).fadeIn(o.animationSpeed,o.easing),o.smoothHeight&&f.smoothHeight()):("init"===e&&(n.viewport=t('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,c&&(a=t.makeArray(n.slides).reverse(),n.slides=t(a),n.container.empty().append(n.slides))),o.animationLoop&&!d&&(n.cloneCount=2,n.cloneOffset=1,"init"!==e&&n.container.find(".clone").remove(),n.container.append(n.slides.first().clone().addClass("clone")).prepend(n.slides.last().clone().addClass("clone"))),n.newSlides=t(o.selector,n),i=c?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,l&&!d?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout((function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(i*n.h,"init")}),"init"===e?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(i*n.computedW,"init"),setTimeout((function(){n.doMath(),n.newSlides.css({width:n.computedW,float:"left",display:"block"}),o.smoothHeight&&f.smoothHeight()}),"init"===e?100:0)));d||n.slides.removeClass(r+"active-slide").eq(n.currentSlide).addClass(r+"active-slide")},n.doMath=function(){var t=n.slides.first(),e=o.itemMargin,i=o.minItems,r=o.maxItems;n.w=n.width(),n.h=t.height(),n.boxPadding=t.outerWidth()-t.width(),d?(n.itemT=o.itemWidth+e,n.minW=i?i*n.itemT:n.w,n.maxW=r?r*n.itemT:n.w,n.itemW=n.minW>n.w?(n.w-e*i)/i:n.maxW<n.w?(n.w-e*r)/r:o.itemWidth>n.w?n.w:o.itemWidth,n.visible=Math.floor(n.w/(n.itemW+e)),n.move=0<o.move&&o.move<n.visible?o.move:n.visible,n.pagingCount=Math.ceil((n.count-n.visible)/n.move+1),n.last=n.pagingCount-1,n.limit=1===n.pagingCount?0:o.itemWidth>n.w?(n.itemW+2*e)*n.count-n.w-e:(n.itemW+e)*n.count-n.w-e):(n.itemW=n.w,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding},n.update=function(t,e){n.doMath(),d||(t<n.currentSlide?n.currentSlide+=1:t<=n.currentSlide&&0!==t&&(n.currentSlide-=1),n.animatingTo=n.currentSlide),o.controlNav&&!n.manualControls&&("add"===e&&!d||n.pagingCount>n.controlNav.length?f.controlNav.update("add"):("remove"===e&&!d||n.pagingCount<n.controlNav.length)&&(d&&n.currentSlide>n.last&&(n.currentSlide-=1,n.animatingTo-=1),f.controlNav.update("remove",n.last))),o.directionNav&&f.directionNav.update(
1)},n.addSlide=function(e,i){var r=t(e);n.count+=1,n.last=n.count-1,l&&c?void 0!==i?n.slides.eq(n.count-i).after(r):n.container.prepend(r):void 0!==i?n.slides.eq(i).before(r):n.container.append(r),n.update(i,"add"),n.slides=t(o.selector+":not(.clone)",n),n.setup(),o.added(n)},n.removeSlide=function(e){var i=isNaN(e)?n.slides.index(t(e)):e;n.count-=1,n.last=n.count-1,isNaN(e)?t(e,n.slides).remove():l&&c?n.slides.eq(n.last).remove():n.slides.eq(e).remove(),n.doMath(),n.update(i,"remove"),n.slides=t(o.selector+":not(.clone)",n),n.setup(),o.removed(n)},f.init()},t.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){}, 2end:function(){},added:function(){},removed:function(){}},t.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each((function(){var i=t(this),n=i.find(e.selector?e.selector:".slides > li");1===n.length?(n.fadeIn(400),e.start&&e.start(i)):void 0===i.data("flexslider")&&new t.flexslider(this,e)}));var i=t(this).data("flexslider");switch(e){case"play":i.play();break;case"pause":i.pause();break;case"next":i.flexAnimate(i.getTarget("next"),!0);break;case"prev":case"previous":i.flexAnimate(i.getTarget("prev"),!0);break;default:"number"==typeof e&&i.flexAnimate(e,!0)}}}(jQuery), 3//*! jQuery Color [email protected] with SVG Color Names http://github.com/jquery/jquery-color | jquery.org/license */ 4function(t,e){function i(t,e,i){var n=d[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:0>t?0:n.max<t?n.max:t)}function n(e){var i=l(),n=i._rgba=[];return e=e.toLowerCase(),h(s,(function(t,o){var r,a=o.re.exec(e),s=a&&o.parse(a),l=o.space||"rgba";if(s)return r=i[l](s),i[c[l].cache]=r[c[l].cache],n=i._rgba=r._rgba,!1})),n.length?("0,0,0,0"===n.join()&&t.extend(n,f.transparent),i):f[e]}function o(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}var r="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",a=/^([\-+])=\s*(\d+\.?\d*)/,s=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,i,n,o){return new t.Color.fn.parse(e,i,n,o)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},u=l.support={},p=t("<p>")[0],f,h=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",u.rgba=p.style.backgroundColor.indexOf("rgba")>-1,h(c,(function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}})),l.fn=t.extend(l.prototype,{parse:function(o,r,a,s){if(o===e)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=t(o).css(r),r=e);var d=this,u=t.type(o),p=this._rgba=[];return r!==e&&(o=[o,r,a,s],u="array"),"string"===u?this.parse(n(o)||f._default):"array"===u?(h(c.rgba.props,(function(t,e){p[e.idx]=i(o[e.idx],e)})),this):"object"===u?(h(c,o instanceof l?function(t,e){o[e.cache]&&(d[e.cache]=o[e.cache].slice())}:function(e,n){var r=n.cache;h(n.props,(function(t,e){if(!d[r]&&n.to){if("alpha"===t||null==o[t])return;d[r]=n.to(d._rgba)}d[r][e.idx]=i(o[t],e,!0)})),d[r]&&t.inArray(null,d[r].slice(0,3))<0&&(d[r][3]=1,n.from&&(d._rgba=n.from(d[r])))}),this):void 0},is:function(t){var e=l(t),i=!0,n=this;return h(c,(function(t,o){var r,a=e[o.cache];return a&&(r=n[o.cache]||o.to&&o.to(n._rgba)||[],h(o.props,(function(t,e){if(null!=a[e.idx])return i=a[e.idx]===r[e.idx]}))),i})),i},_space:function(){var t=[],e=this;return h(c,(function(i,n){e[n.cache]&&t.push(i)})),t.pop()},transition:function(t,e){var n=l(t),o=n._space(),r=c[o],a=0===this.alpha()?l("transparent"):this,s=a[r.cache]||r.to(a._rgba),u=s.slice();return n=n[r.cache],h(r.props,(function(t,o){var r=o.idx,a=s[r],l=n[r],c=d[o.type]||{};null!==l&&(null===a?u[r]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),u[r]=i((l-a)*e+a,o)))})),this[o](u)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),o=l(e)._rgba;return l(t.map(i,(function(t,e){return(1-n)*o[e]+n*t})))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,(function(t,e){return null==t?e>2?1:0:t}));return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),(function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t}));return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),n=i.pop();return e&&i.push(~~(255*n)),"#"+t.map(i,(function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t})).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,
4null,null,t[3]];var e=t[0]/255,i=t[1]/255,n=t[2]/255,o=t[3],r=Math.max(e,i,n),a=Math.min(e,i,n),s=r-a,l=r+a,c=.5*l,d,u;return d=a===r?0:e===r?60*(i-n)/s+360:i===r?60*(n-e)/s+120:60*(e-i)/s+240,u=0===s?0:c<=.5?s/l:s/(2-l),[Math.round(d)%360,u,c,null==o?1:o]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],r=t[3],a=n<=.5?n*(1+i):n+i-n*i,s=2*n-a;return[Math.round(255*o(s,a,e+1/3)),Math.round(255*o(s,a,e)),Math.round(255*o(s,a,e-1/3)),r]},h(c,(function(n,o){var r=o.props,s=o.cache,c=o.to,d=o.from;l.fn[n]=function(n){if(c&&!this[s]&&(this[s]=c(this._rgba)),n===e)return this[s].slice();var o,a=t.type(n),u="array"===a||"object"===a?n:arguments,p=this[s].slice();return h(r,(function(t,e){var n=u["object"===a?t:e.idx];null==n&&(n=p[e.idx]),p[e.idx]=i(n,e)})),d?((o=l(d(p)))[s]=p,o):l(p)},h(r,(function(e,i){l.fn[e]||(l.fn[e]=function(o){var r=t.type(o),s="alpha"===e?this._hsla?"hsla":"rgba":n,l=this[s](),c=l[i.idx],d;return"undefined"===r?c:("function"===r&&(o=o.call(this,c),r=t.type(o)),null==o&&i.empty?this:("string"===r&&((d=a.exec(o))&&(o=c+parseFloat(d[2])*("+"===d[1]?1:-1))),l[i.idx]=o,this[s](l)))})}))})),l.hook=function(e){var i=e.split(" ");h(i,(function(e,i){t.cssHooks[i]={set:function(e,o){var r,a,s="";if("transparent"!==o&&("string"!==t.type(o)||(r=n(o)))){if(o=l(r||o),!u.rgba&&1!==o._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===s||"transparent"===s)&&a&&a.style;)try{s=t.css(a,"backgroundColor"),a=a.parentNode}catch(t){}o=o.blend(s&&"transparent"!==s?s:"_default")}o=o.toRgbaString()}try{e.style[i]=o}catch(t){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}}))},l.hook(r),t.cssHooks.borderColor={expand:function(t){var e={};return h(["Top","Right","Bottom","Left"],(function(i,n){e["border"+n+"Color"]=t})),e}},f=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),jQuery.extend(jQuery.Color.names,{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
vendor: 4,684 bytes, lines 4-11
4almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32"}), 5/*! 6Waypoints - 4.0.0 7Copyright © 2011-2015 Caleb Troughton 8Licensed under the MIT license. 9https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 10*/ 11function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var o=0,r=e.length;o<r;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,n={},o=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete n[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){e.didScroll&&!o.isTouch||(e.didScroll=!0,o.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var n=e[i],o,r=n.newScroll>n.oldScroll?n.forward:n.backward;for(var a in this.waypoints[i]){var s=this.waypoints[i][a],l=n.oldScroll<s.triggerPoint,c=n.newScroll>=s.triggerPoint,d,u;(l&&c||!l&&!c)&&(s.queueTrigger(r),t[s.group.id]=s.group)}}for(var p in t)t[p].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}}
11,e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;n<o;n++)t[n].destroy()},e.prototype.refresh=function(){var t=this.element==this.element.window,e=t?void 0:this.adapter.offset(),i={},n;for(var r in this.handleScroll(),n={horizontal:{contextOffset:t?0:e.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:e.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var a=n[r];for(var s in this.waypoints[r]){var l=this.waypoints[r][s],c=l.options.offset,d=l.triggerPoint,u=0,p=null==d,f,h,m,g,v;l.element!==l.element.window&&(u=l.adapter.offset()[a.offsetProp]),"function"==typeof c?c=c.apply(l):"string"==typeof c&&(c=parseFloat(c),l.options.offset.indexOf("%")>-1&&(c=Math.ceil(a.contextDimension*c/100))),f=a.contextScroll-a.contextOffset,l.triggerPoint=u+f-c,h=d<a.oldScroll,m=l.triggerPoint>=a.oldScroll,v=!h&&!m,!p&&(g=h&&m)?(l.queueTrigger(a.backward),i[l.group.id]=l.group):(!p&&v||p&&a.oldScroll>=l.triggerPoint)&&(l.queueTrigger(a.forward),i[l.group.id]=l.group)}}return o.requestAnimationFrame((function(){for(var t in i)i[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in n)n[t].refresh()},e.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},o.requestAnimationFrame=function(e){var i;(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},o=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],o="up"===i||"left"===i;n.sort(o?e:t);for(var r=0,a=n.length;r<a;r+=1){var s=n[r];(s.options.continuous||r===n.length-1)&&s.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints),n;return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},o.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(i,n){t[n]=e[n]})),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(i,n){var o=[],r=i;return t.isFunction(i)&&((r=t.extend({},n)).handler=i),this.each((function(){var i=t.extend({},r,{element:this});"string"==typeof i.context&&(i.context=t(this).closest(i.context)[0]),o.push(new e(i))})),o}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,
11i,n,o){return jQuery.easing[jQuery.easing.def](t,e,i,n,o)},easeInQuad:function(t,e,i,n,o){return n*(e/=o)*e+i},easeOutQuad:function(t,e,i,n,o){return-n*(e/=o)*(e-2)+i},easeInOutQuad:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,o){return n*(e/=o)*e*e+i},easeOutCubic:function(t,e,i,n,o){return n*((e=e/o-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,o){return n*(e/=o)*e*e*e+i},easeOutQuart:function(t,e,i,n,o){return-n*((e=e/o-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,o){return n*(e/=o)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,o){return n*((e=e/o-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,o){return-n*Math.cos(e/o*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,o){return n*Math.sin(e/o*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,o){return-n/2*(Math.cos(Math.PI*e/o)-1)+i},easeInExpo:function(t,e,i,n,o){return 0==e?i:n*Math.pow(2,10*(e/o-1))+i},easeOutExpo:function(t,e,i,n,o){return e==o?i+n:n*(1-Math.pow(2,-10*e/o))+i},easeInOutExpo:function(t,e,i,n,o){return 0==e?i:e==o?i+n:(e/=o/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,o){return-n*(Math.sqrt(1-(e/=o)*e)-1)+i},easeOutCirc:function(t,e,i,n,o){return n*Math.sqrt(1-(e=e/o-1)*e)+i},easeInOutCirc:function(t,e,i,n,o){return(e/=o/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,o){var r=1.70158,a=0,s=n;if(0==e)return i;if(1==(e/=o))return i+n;if(a||(a=.3*o),s<Math.abs(n)){s=n;var r=a/4}else var r=a/(2*Math.PI)*Math.asin(n/s);return-s*Math.pow(2,10*(e-=1))*Math.sin((e*o-r)*(2*Math.PI)/a)+i},easeOutElastic:function(t,e,i,n,o){var r=1.70158,a=0,s=n;if(0==e)return i;if(1==(e/=o))return i+n;if(a||(a=.3*o),s<Math.abs(n)){s=n;var r=a/4}else var r=a/(2*Math.PI)*Math.asin(n/s);return s*Math.pow(2,-10*e)*Math.sin((e*o-r)*(2*Math.PI)/a)+n+i},easeInOutElastic:function(t,e,i,n,o){var r=1.70158,a=0,s=n;if(0==e)return i;if(2==(e/=o/2))return i+n;if(a||(a=o*(.3*1.5)),s<Math.abs(n)){s=n;var r=a/4}else var r=a/(2*Math.PI)*Math.asin(n/s);return e<1?s*Math.pow(2,10*(e-=1))*Math.sin((e*o-r)*(2*Math.PI)/a)*-.5+i:s*Math.pow(2,-10*(e-=1))*Math.sin((e*o-r)*(2*Math.PI)/a)*.5+n+i},easeInBack:function(t,e,i,n,o,r){return null==r&&(r=1.70158),n*(e/=o)*e*((r+1)*e-r)+i},easeOutBack:function(t,e,i,n,o,r){return null==r&&(r=1.70158),n*((e=e/o-1)*e*((r+1)*e+r)+1)+i},easeInOutBack:function(t,e,i,n,o,r){return null==r&&(r=1.70158),(e/=o/2)<1?n/2*(e*e*((1+(r*=1.525))*e-r))+i:n/2*((e-=2)*e*((1+(r*=1.525))*e+r)+2)+i},easeInBounce:function(t,e,i,n,o){return n-jQuery.easing.easeOutBounce(t,o-e,0,n,o)+i},easeOutBounce:function(t,e,i,n,o){return(e/=o)<1/2.75?n*(7.5625*e*e)+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,o){return e<o/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,o)+i:.5*jQuery.easing.easeOutBounce(t,2*e-o,0,n,o)+.5*n+i}}),function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var n=document.head||document.getElementsByTagName("head")[0],o=".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%;}",r=document.createElement("div");r.innerHTML='<p>x</p><style id="fit-vids-style">'+o+"</style>",n.appendChild(r.childNodes[1])}return e&&t.extend(i,e),this.each((function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="dailymotion.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&e.push(i.customSelector);var n=".fitvidsignore";i.ignore&&(n=n+", "+i.ignore);var o=t(this).find(e.join(","));(o=(o=(o=o.not(".wpb_video_wrapper iframe")).not("object object")).not(n)).each((function(e){var i=t(this);if(!(i.parents(n).length>0||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length)){i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16));var o,r,a=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10));if(!i.attr("id")){var s="fitvid"+e;i.attr("id",s)}i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*a+"%"),i.removeAttr("height").removeAttr("width")}}))}))}}
11(window.jQuery||window.Zepto),window.Modernizr=function(t,e,i){function n(t){v.cssText=t}function o(t,e){return n(x.join(t+";")+(e||""))}function r(t,e){return typeof t===e}function a(t,e){return!!~(""+t).indexOf(e)}function s(t,e){for(var n in t){var o=t[n];if(!a(o,"-")&&v[o]!==i)return"pfx"!=e||o}return!1}function l(t,e,n){for(var o in t){var a=e[t[o]];if(a!==i)return!1===n?t[o]:r(a,"function")?a.bind(n||e):a}return!1}function c(t,e,i){var n=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+S.join(n+" ")+n).split(" ");return r(e,"string")||r(e,"undefined")?s(o,e):l(o=(t+" "+E.join(n+" ")+n).split(" "),e,i)}function d(){p.input=function(i){for(var n=0,o=i.length;n<o;n++)k[i[n]]=i[n]in b;return k.list&&(k.list=!!e.createElement("datalist")&&!!t.HTMLDataListElement),k}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),p.inputtypes=function(t){for(var n=0,o,r,a,s=t.length;n<s;n++)b.setAttribute("type",r=t[n]),(o="text"!==b.type)&&(b.value=y,b.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&b.style.WebkitAppearance!==i?(h.appendChild(b),o=(a=e.defaultView).getComputedStyle&&"textfield"!==a.getComputedStyle(b,null).WebkitAppearance&&0!==b.offsetHeight,h.removeChild(b)):/^(search|tel)$/.test(r)||(o=/^(url|email)$/.test(r)?b.checkValidity&&!1===b.checkValidity():b.value!=y)),I[t[n]]=!!o;return I}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var u="2.6.2",p={},f=!0,h=e.documentElement,m="modernizr",g=e.createElement(m),v=g.style,b=e.createElement("input"),y=":)",w={}.toString,x=" -webkit- -moz- -o- -ms- ".split(" "),C="Webkit Moz O ms",S=C.split(" "),E=C.toLowerCase().split(" "),T={},I={},k={},_=[],D=_.slice,A,P=function(t,i,n,o){var r,a,s,l,c=e.createElement("div"),d=e.body,u=d||e.createElement("body");if(parseInt(n,10))for(;n--;)(s=e.createElement("div")).id=o?o[n]:m+(n+1),c.appendChild(s);return r=["­",'<style id="s',m,'">',t,"</style>"].join(""),c.id=m,(d?c:u).innerHTML+=r,u.appendChild(c),d||(u.style.background="",u.style.overflow="hidden",l=h.style.overflow,h.style.overflow="hidden",h.appendChild(u)),a=i(c,t),d?c.parentNode.removeChild(c):(u.parentNode.removeChild(u),h.style.overflow=l),!!a},M=function(){function t(t,o){o=o||e.createElement(n[t]||"div");var a=(t="on"+t)in o;return a||(o.setAttribute||(o=e.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(t,""),a=r(o[t],"function"),r(o[t],"undefined")||(o[t]=i),o.removeAttribute(t))),o=null,a}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t}(),O={}.hasOwnProperty,H;for(var F in H=r(O,"undefined")||r(O.call,"undefined")?function(t,e){return e in t&&r(t.constructor.prototype[e],"undefined")}:function(t,e){return O.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;var i=D.call(arguments,1),n=function(){if(this instanceof n){var o=function(){};o.prototype=e.prototype;var r=new o,a=e.apply(r,i.concat(D.call(arguments)));return Object(a)===a?a:r}return e.apply(t,i.concat(D.call(arguments)))};return n}),T.flexbox=function(){return c("flexWrap")},T.flexboxlegacy=function(){return c("boxDirection")},T.canvas=function(){var t=e.createElement("canvas");return!!t.getContext&&!!t.getContext("2d")},T.canvastext=function(){return!!p.canvas&&!!r(e.createElement("canvas").getContext("2d").fillText,"function")},T.postmessage=function(){return!!t.postMessage},T.websqldatabase=function(){return!!t.openDatabase},T.indexedDB=function(){return!!c("indexedDB",t)},T.hashchange=function(){return M("hashchange",t)&&(e.documentMode===i||e.documentMode>7)},T.history=function(){return!!t.history&&!!history.pushState},T.draganddrop=function(){var t=e.createElement("div");return"draggable"in t||"ondragstart"in t&&"ondrop"in t},T.websockets=function(){return"WebSocket"in t||"MozWebSocket"in t},T.rgba=function(){return n("background-color:rgba(150,255,150,.5)"),a(v.backgroundColor,"rgba")},T.hsla=function(){return n("background-color:hsla(120,40%,100%,.5)"),a(v.backgroundColor,"rgba")||a(v.backgroundColor,"hsla")},T.multiplebgs=function(){return n("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(v.background)},T.backgroundsize=function(){return c("backgroundSize")},T.borderimage=function(){return c("borderImage")}
11,T.borderradius=function(){return c("borderRadius")},T.boxshadow=function(){return c("boxShadow")},T.textshadow=function(){return""===e.createElement("div").style.textShadow},T.opacity=function(){return o("opacity:.55"),/^0.55$/.test(v.opacity)},T.cssanimations=function(){return c("animationName")},T.csscolumns=function(){return c("columnCount")},T.cssgradients=function(){var t="background-image:",e="gradient(linear,left top,right bottom,from(#9f9),to(white));",i="linear-gradient(left top,#9f9, white);";return n((t+"-webkit- ".split(" ").join(e+t)+x.join(i+t)).slice(0,-t.length)),a(v.backgroundImage,"gradient")},T.cssreflections=function(){return c("boxReflect")},T.csstransforms=function(){return!!c("transform")},T.csstransforms3d=function(){var t=!!c("perspective");return t&&"webkitPerspective"in h.style&&P("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",(function(e,i){t=9===e.offsetLeft&&3===e.offsetHeight})),t},T.csstransitions=function(){return c("transition")},T.fontface=function(){var t;return P('@font-face {font-family:"font";src:url("https://")}',(function(i,n){var o=e.getElementById("smodernizr"),r=o.sheet||o.styleSheet,a=r?r.cssRules&&r.cssRules[0]?r.cssRules[0].cssText:r.cssText||"":"";t=/src/i.test(a)&&0===a.indexOf(n.split(" ")[0])})),t},T.generatedcontent=function(){var t;return P(["#",m,"{font:0/0 a}#",m,':after{content:"',y,'";visibility:hidden;font:3px/1 a}'].join(""),(function(e){t=e.offsetHeight>=3})),t},T.video=function(){var t=e.createElement("video"),i=!1;try{(i=!!t.canPlayType)&&((i=new Boolean(i)).ogg=t.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),i.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),i.webm=t.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(t){}return i},T.audio=function(){var t=e.createElement("audio"),i=!1;try{(i=!!t.canPlayType)&&((i=new Boolean(i)).ogg=t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),i.mp3=t.canPlayType("audio/mpeg;").replace(/^no$/,""),i.wav=t.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),i.m4a=(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(t){}return i},T.localstorage=function(){try{return localStorage.setItem(m,m),localStorage.removeItem(m),!0}catch(t){return!1}},T.sessionstorage=function(){try{return sessionStorage.setItem(m,m),sessionStorage.removeItem(m),!0}catch(t){return!1}},T.webworkers=function(){return!!t.Worker},T.applicationcache=function(){return!!t.applicationCache},T)H(T,F)&&(A=F.toLowerCase(),p[A]=T[F](),_.push((p[A]?"":"no-")+A));return p.input||d(),p.addTest=function(t,e){if("object"==typeof t)for(var n in t)H(t,n)&&p.addTest(n,t[n]);else{if(t=t.toLowerCase(),p[t]!==i)return p;e="function"==typeof e?e():e,h.className+=" "+(e?"":"no-")+t,p[t]=e}return p},n(""),g=b=null,function(t,e){function i(t,e){var i=t.createElement("p"),n=t.getElementsByTagName("head")[0]||t.documentElement;return i.innerHTML="x<style>"+e+"</style>",n.insertBefore(i.lastChild,n.firstChild)}function n(){var t=v.elements;return"string"==typeof t?t.split(" "):t}function o(t){var e=m[t[f]];return e||(e={},h++,t[f]=h,m[h]=e),e}function r(t,i,n){return i||(i=e),g?i.createElement(t):(n||(n=o(i)),(r=n.cache[t]?n.cache[t].cloneNode():u.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t)).canHaveChildren&&!d.test(t)?n.frag.appendChild(r):r);var r}function a(t,i){if(t||(t=e),g)return t.createDocumentFragment();for(var r=(i=i||o(t)).frag.cloneNode(),a=0,s=n(),l=s.length;a<l;a++)r.createElement(s[a]);return r}function s(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(i){return v.shivMethods?r(i,t,e):e.createElem(i)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/\w+/g,(function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'}))+");return n}")(v,e.frag)}function l(t){t||(t=e);var n=o(t);return v.shivCSS&&!p&&!n.hasCSS&&(n.hasCSS=!!i(t,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{dis
11play:block}mark{background:#FF0;color:#000}")),g||s(t,n),t}var c=t.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,p,f="_html5shiv",h=0,m={},g;!function(){try{var t=e.createElement("a");t.innerHTML="<xyz></xyz>",p="hidden"in t,g=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return void 0===t.cloneNode||void 0===t.createDocumentFragment||void 0===t.createElement}()}catch(t){p=!0,g=!0}}();var v={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==c.shivCSS,supportsUnknownElements:g,shivMethods:!1!==c.shivMethods,type:"default",shivDocument:l,createElement:r,createDocumentFragment:a};t.html5=v,l(e)}(this,e),p._version=u,p._prefixes=x,p._domPrefixes=E,p._cssomPrefixes=S,p.hasEvent=M,p.testProp=function(t){return s([t])},p.testAllProps=c,p.testStyles=P,h.className=h.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+_.join(" "),p}(this,this.document),function(t,e,i){function n(t){return"[object Function]"==h.call(t)}function o(t){return"string"==typeof t}function r(){}function a(t){return!t||"loaded"==t||"complete"==t||"uninitialized"==t}function s(){var t=m.shift();g=1,t?t.t?p((function(){("c"==t.t?k.injectCss:k.injectJs)(t.s,0,t.a,t.x,t.e,1)}),0):(t(),s()):g=0}function l(t,i,n,o,r,l,c){function d(e){if(!h&&a(u.readyState)&&(w.r=h=1,!g&&s(),u.onload=u.onreadystatechange=null,e))for(var n in"img"!=t&&p((function(){y.removeChild(u)}),50),E[i])E[i].hasOwnProperty(n)&&E[i][n].onload()}var c=c||k.errorTimeout,u=e.createElement(t),h=0,v=0,w={t:n,s:i,e:r,a:l,x:c};1===E[i]&&(v=1,E[i]=[]),"object"==t?u.data=i:(u.src=i,u.type=t),u.width=u.height="0",u.onerror=u.onload=u.onreadystatechange=function(){d.call(this,v)},m.splice(o,0,w),"img"!=t&&(v||2===E[i]?(y.insertBefore(u,b?null:f),p(d,c)):E[i].push(u))}function c(t,e,i,n,r){return g=0,e=e||"j",o(t)?l("c"==e?x:w,t,e,this.i++,i,n,r):(m.splice(this.i++,0,t),1==m.length&&s()),this}function d(){var t=k;return t.loader={load:c,i:0},t}var u=e.documentElement,p=t.setTimeout,f=e.getElementsByTagName("script")[0],h={}.toString,m=[],g=0,v="MozAppearance"in u.style,b=v&&!!e.createRange().compareNode,y=b?u:f.parentNode,u=t.opera&&"[object Opera]"==h.call(t.opera),u=!!e.attachEvent&&!u,w=v?"object":u?"script":"img",x=u?"script":w,C=Array.isArray||function(t){return"[object Array]"==h.call(t)},S=[],E={},T={timeout:function(t,e){return e.length&&(t.timeout=e[0]),t}},I,k;(k=function(t){function e(t){var t=t.split("!"),e=S.length,i=t.pop(),n=t.length,i={url:i,origUrl:i,prefixes:t},o,r,a;for(r=0;r<n;r++)a=t[r].split("="),(o=T[a.shift()])&&(i=o(i,a));for(r=0;r<e;r++)i=S[r](i);return i}function a(t,o,r,a,s){var l=e(t),c=l.autoCallback;l.url.split(".").pop().split("?").shift(),l.bypass||(o&&(o=n(o)?o:o[t]||o[a]||o[t.split("/").pop().split("?")[0]]),l.instead?l.instead(t,o,r,a,s):(E[l.url]?l.noexec=!0:E[l.url]=1,r.load(l.url,l.forceCSS||!l.forceJS&&"css"==l.url.split(".").pop().split("?").shift()?"c":i,l.noexec,l.attrs,l.timeout),(n(o)||n(c))&&r.load((function(){d(),o&&o(l.origUrl,s,a),c&&c(l.origUrl,s,a),E[l.url]=2}))))}function s(t,e){function i(t,i){if(t){if(o(t))i||(c=function(){var t=[].slice.call(arguments);d.apply(this,t),u()}),a(t,c,e,0,s);else if(Object(t)===t)for(f in p=function(){var e=0,i;for(i in t)t.hasOwnProperty(i)&&e++;return e}(),t)t.hasOwnProperty(f)&&(!i&&!--p&&(n(c)?c=function(){var t=[].slice.call(arguments);d.apply(this,t),u()}:c[f]=function(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),u()}}(d[f])),a(t[f],c,e,f,s))}else!i&&u()}var s=!!t.test,l=t.load||t.both,c=t.callback||r,d=c,u=t.complete||r,p,f;i(s?t.yep:t.nope,!!l),l&&i(l)}var l,c,u=this.yepnope.loader;if(o(t))a(t,0,u,0);else if(C(t))for(l=0;l<t.length;l++)o(c=t[l])?a(c,0,u,0):C(c)?k(c):Object(c)===c&&s(c,u);else Object(t)===t&&s(t,u)}).addPrefix=function(t,e){T[t]=e},k.addFilter=function(t){S.push(t)},k.errorTimeout=1e4,null==e.readyState&&e.addEventListener&&(e.readyState="loading",e.addEventListener("DOMContentLoaded",I=function(){e.removeEventListener("DOMContentLoaded",I,0),e.readyState="complete"},0)),t.yepnope=d(),t.yepnope.executeStack=s,t.yepnope.injectJs=function(t,i,n,o,l,c){var d=e.createElement("script"),u,h,o=o||k.errorTimeout;for(h in d.src=t,n)d.setAttribute(h,n[h]);i=c?s:i||r,d.onreadystatechange=d.onload=function(){!u&&a(d.readyState)&&(u=1,i(),d.onload=d.onreadystatechange=null)},p((function(){u||(u=1,i(1))}),o),l?d.onload():f.parentNode.insertBefore(d,f)},t.yepnope.injectCss=function(t,i,n,o,a,l){var o=e.createElement("link"),
11c,i=l?s:i||r;for(c in o.href=t,o.rel="stylesheet",o.type="text/css",n)o.setAttribute(c,n[c]);a||(f.parentNode.insertBefore(o,f),p(i,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(t,e,i){"use strict";var n=t.document,o=t.Modernizr,r=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},a="Moz Webkit O Ms".split(" "),s=function(t){var e=n.documentElement.style,i;if("string"==typeof e[t])return t;t=r(t);for(var o=0,s=a.length;o<s;o++)if("string"==typeof e[i=a[o]+t])return i},l=s("transform"),c=s("transitionProperty"),d={csstransforms:function(){return!!l},csstransforms3d:function(){var t=!!s("perspective");if(t){var i,n="@media ("+" -o- -moz- -ms- -webkit- -khtml- ".split(" ").join("transform-3d),(")+"modernizr)",o=e("<style>"+n+"{#modernizr{height:3px}}</style>").appendTo("head"),r=e('<div id="modernizr" />').appendTo("html");t=3===r.height(),r.remove(),o.remove()}return t},csstransitions:function(){return!!c}},u,p,f;if(o)for(u in d)o.hasOwnProperty(u)||o.addTest(u,d[u]);else{o=t.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var h=" ",m;for(u in d)m=d[u](),o[u]=m,h+=" "+(m?"":"no-")+u;e("html").addClass(h)}if(o.csstransforms){var g=o.csstransforms3d?{translate:function(t){return"translate3d("+t[0]+"px, "+t[1]+"px, 0) "},scale:function(t){return"scale3d("+t+", "+t+", 1) "}}:{translate:function(t){return"translate("+t[0]+"px, "+t[1]+"px) "},scale:function(t){return"scale("+t+") "}},v=function(t,i,n){var o=e.data(t,"isoTransform")||{},r={},a,s={},c;
11for(a in r[i]=n,e.extend(o,r),o)c=o[a],s[a]=g[a](c);var d,u,p=(s.translate||"")+(s.scale||"");e.data(t,"isoTransform",o),t.style[l]=p};e.cssNumber.scale=!0,e.cssHooks.scale={set:function(t,e){v(t,"scale",e)},get:function(t,i){var n=e.data(t,"isoTransform");return n&&n.scale?n.scale:1}},e.fx.step.scale=function(t){e.cssHooks.scale.set(t.elem,t.now+t.unit)},e.cssNumber.translate=!0,e.cssHooks.translate={set:function(t,e){v(t,"translate",e)},get:function(t,i){var n=e.data(t,"isoTransform");return n&&n.translate?n.translate:[0,0]}}}o.csstransitions&&(p={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd",transitionProperty:"transitionEnd"}[c],f=s("transitionDuration"));var b=e.event,y;b.special.smartresize={setup:function(){e(this).bind("resize",b.special.smartresize.handler)},teardown:function(){e(this).unbind("resize",b.special.smartresize.handler)},handler:function(t,e){var i=this,n=arguments;t.type="smartresize",y&&clearTimeout(y),y=setTimeout((function(){jQuery.event.simulate("smartresize",i,n)}),"execAsap"===e?0:100)}},e.fn.smartresize=function(t){return t?this.bind("smartresize",t):this.trigger("smartresize",["execAsap"])},e.Isotope=function(t,i,n){this.element=e(i),this._create(t),this._init(n)};var w=["width","height"],x=e(t);e.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!0,itemPositionDataEnabled:!1},e.Isotope.prototype={_create:function(t){this.options=e.extend({},e.Isotope.settings,t),this.styleQueue=[],this.elemCount=0;var i=this.element[0].style;this.originalStyle={};var n=w.slice(0);for(var o in this.options.containerStyle)n.push(o);for(var r=0,a=n.length;r<a;r++)o=n[r],this.originalStyle[o]=i[o]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var s={"original-order":function(t,e){return e.elemCount++,e.elemCount},random:function(){return Math.random()}};this.options.getSortData=e.extend(this.options.getSortData,s),this.reloadItems(),this.offset={left:parseInt(this.element.css("padding-left")||0,10),top:parseInt(this.element.css("padding-top")||0,10)};var l=this;setTimeout((function(){l.element.addClass(l.options.containerClass)}),0),this.options.resizable&&x.bind("smartresize.isotope",(function(){l.resize()})),this.element.delegate("."+this.options.hiddenClass,"click",(function(){return!1}))},_getAtoms:function(t){var e=this.options.itemSelector,i=e?t.filter(e).add(t.find(e)):t,n={position:"absolute"};return this.usingTransforms&&(n.left=0,n.top=0),i.css(n).addClass(this.options.itemClass),this.updateSortData(i,!0),i},_init:function(t){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(t)},option:function(t){var i;if(e.isPlainObject(t))for(var n in this.options=e.extend(!0,this.options,t),t)this[i="_update"+r(n)]&&this[i]()},_updateAnimationEngine:function(){var t,e;switch(this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,"")){case"css":case"none":e=!1;break;case"jquery":e=!0;break;default:e=!o.csstransitions} 12this.isUsingJQueryAnimation=e,this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var t=this.usingTransforms=this.options.transformsEnabled&&o.csstransforms&&o.csstransitions&&!this.isUsingJQueryAnimation;t||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=t?this._translate:this._positionAbs},_filter:function(t){var e=""===this.options.filter?"*":this.options.filter;if(!e)return t;var i=this.options.hiddenClass,n="."+i,o=t.filter(n),r=o;if("*"!==e){r=o.filter(e);var a=t.not(n).not(e).addClass(i);this.styleQueue.push({$el:a,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:r,style:this.options.visibleStyle}),r.removeClass(i),t.filter(e)},updateSortData:function(t,i){var n=this,o=this.options.getSortData,r,a;t.each((function(){for(var t in r=e(this),a={},o)a[t]=i||"original-order"!==t?o[t](r,n):e.data(this,"isotope-sort-data")[t];e.data(this,"isotope-sort-data",a)}))},_sort:function(){var t=this.options.sortBy,e=this._getSorter,i=this.options.sortAscending?1:-1,n=function(n,o){var r=e(n,t),a=e(o,t);return r===a&&"original-order"!==t&&(r=e(n,"original-order"),a=e(o,"original-order")),(r>a?1:r<a?-1:0)*i};this.$filteredAtoms.sort(n)},_getSorter:function(t,i){return e.data(t,"isotope-sort-data")[i]},_translate:function(t,e){return{translate:[t,e]}},_positionAbs:function(t,e){return{left:t,top:e}}
12,_pushPosition:function(t,e,i){e=Math.round(e+this.offset.left),i=Math.round(i+this.offset.top);var n=this.getPositionStyles(e,i);this.styleQueue.push({$el:t,style:n}),this.options.itemPositionDataEnabled&&t.data("isotope-item-position",{x:e,y:i})},layout:function(t,e){var i=this.options.layoutMode;if(this["_"+i+"Layout"](t),this.options.resizesContainer){var n=this["_"+i+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:n})}this._processStyleQueue(t,e),this.isLaidOut=!0},_processStyleQueue:function(t,i){var n=this.isLaidOut&&this.isUsingJQueryAnimation?"animate":"css",r=this.options.animationOptions,a=this.options.onLayout,s,l,c,d;if(l=function(t,e){e.$el[n](e.style,r)},this._isInserting&&this.isUsingJQueryAnimation)l=function(t,e){s=e.$el.hasClass("no-transition")?"css":n,e.$el[s](e.style,r)};else if(i||a||r.complete){var u=!1,h=[i,a,r.complete],m=this;if(c=!0,d=function(){if(!u){for(var e,i=0,n=h.length;i<n;i++)"function"==typeof(e=h[i])&&e.call(m.element,t,m);u=!0}},this.isUsingJQueryAnimation&&"animate"===n)r.complete=d,c=!1;else if(o.csstransitions){for(var g=0,v=this.styleQueue[0],b=v&&v.$el,y;!b||!b.length;){if(!(y=this.styleQueue[g++]))return;b=y.$el}var w;parseFloat(getComputedStyle(b[0])[f])>0&&(l=function(t,e){e.$el[n](e.style,r).one(p,d)},c=!1)}}e.each(this.styleQueue,l),c&&d(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(t){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,t)},addItems:function(t,e){var i=this._getAtoms(t);this.$allAtoms=this.$allAtoms.add(i),e&&e(i)},insert:function(t,e){this.element.append(t);var i=this;this.addItems(t,(function(t){var n=i._filter(t);i._addHideAppended(n),i._sort(),i.reLayout(),i._revealAppended(n,e)}))},appended:function(t,e){var i=this;this.addItems(t,(function(t){i._addHideAppended(t),i.layout(t),i._revealAppended(t,e)}))},_addHideAppended:function(t){this.$filteredAtoms=this.$filteredAtoms.add(t),t.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:t,style:this.options.hiddenStyle})},_revealAppended:function(t,e){var i=this;setTimeout((function(){t.removeClass("no-transition"),i.styleQueue.push({$el:t,style:i.options.visibleStyle}),i._isInserting=!1,i._processStyleQueue(t,e)}),10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(t,e){var i=this,n=function(){i.$allAtoms=i.$allAtoms.not(t),t.remove(),e&&e.call(i.element)};t.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:t,style:this.options.hiddenStyle}),this.$filteredAtoms=this.$filteredAtoms.not(t),this._sort(),this.reLayout(n)):n()},shuffle:function(t){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(t)},destroy:function(){var t=this.usingTransforms,e=this.options;this.$allAtoms.removeClass(e.hiddenClass+" "+e.itemClass).each((function(){var e=this.style;e.position="",e.top="",e.left="",e.opacity="",t&&(e[l]="")}));var i=this.element[0].style;for(var n in this.originalStyle)i[n]=this.originalStyle[n];this.element.unbind(".isotope").undelegate("."+e.hiddenClass,"click").removeClass(e.containerClass).removeData("isotope"),x.unbind(".isotope")},_getSegments:function(t){var e=this.options.layoutMode,i=t?"rowHeight":"columnWidth",n=t?"height":"width",o=t?"rows":"cols",a=this.element[n](),s,l=this.options[e]&&this.options[e][i]||this.$filteredAtoms["outer"+r(n)](!0)||a;s=Math.floor(a/l),s=Math.max(s,1),this[e][o]=s,this[e][i]=l},_checkIfSegmentsChanged:function(t){var e=this.options.layoutMode,i=t?"rows":"cols",n=this[e][i];return this._getSegments(t),this[e][i]!==n},_masonryReset:function(){this.masonry={},this._getSegments();var t=this.masonry.cols;for(this.masonry.colYs=[];t--;)this.masonry.colYs.push(0)},_masonryLayout:function(t){var i=this,n=i.masonry;t.each((function(){var t=e(this),o=Math.floor(t.outerWidth(!0)/n.columnWidth);if(1===(o=Math.min(o,n.cols)))i._masonryPlaceBrick(t,n.colYs);else{var r=n.cols+1-o,a=[],s,l;for(l=0;l<r;
12l++)s=n.colYs.slice(l,l+o),a[l]=Math.max.apply(Math,s);i._masonryPlaceBrick(t,a)}}))},_masonryPlaceBrick:function(t,e){for(var i=Math.min.apply(Math,e),n=0,o=0,r=e.length;o<r;o++)if(e[o]===i){n=o;break}var a=this.masonry.columnWidth*n,s=i;this._pushPosition(t,a,s);var l=i+t.outerHeight(!0),c=this.masonry.cols+1-r;for(o=0;o<c;o++)this.masonry.colYs[n+o]=l},_masonryGetContainerSize:function(){var t;return{height:Math.max.apply(Math,this.masonry.colYs)}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(t){var i=this,n=this.element.width(),o=this.fitRows;t.each((function(){var t=e(this),r=t.outerWidth(!0),a=t.outerHeight(!0);0!==o.x&&r+o.x>n&&(o.x=0,o.y=o.height),i._pushPosition(t,o.x,o.y),o.height=Math.max(o.y+a,o.height),o.x+=r}))},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(t){var i=this,n=this.cellsByRow;t.each((function(){var t=e(this),o=n.index%n.cols,r=Math.floor(n.index/n.cols),a=(o+.5)*n.columnWidth-t.outerWidth(!0)/2,s=(r+.5)*n.rowHeight-t.outerHeight(!0)/2;i._pushPosition(t,a,s),n.index++}))},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(t){var i=this;t.each((function(t){var n=e(this);i._pushPosition(n,0,i.straightDown.y),i.straightDown.y+=n.outerHeight(!0)}))},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var t=this.masonryHorizontal.rows;for(this.masonryHorizontal.rowXs=[];t--;)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(t){var i=this,n=i.masonryHorizontal;t.each((function(){var t=e(this),o=Math.ceil(t.outerHeight(!0)/n.rowHeight);if(1===(o=Math.min(o,n.rows)))i._masonryHorizontalPlaceBrick(t,n.rowXs);else{var r=n.rows+1-o,a=[],s,l;for(l=0;l<r;l++)s=n.rowXs.slice(l,l+o),a[l]=Math.max.apply(Math,s);i._masonryHorizontalPlaceBrick(t,a)}}))},_masonryHorizontalPlaceBrick:function(t,e){for(var i=Math.min.apply(Math,e),n=0,o=0,r=e.length;o<r;o++)if(e[o]===i){n=o;break}var a=i,s=this.masonryHorizontal.rowHeight*n;this._pushPosition(t,a,s);var l=i+t.outerWidth(!0),c=this.masonryHorizontal.rows+1-r;for(o=0;o<c;o++)this.masonryHorizontal.rowXs[n+o]=l},_masonryHorizontalGetContainerSize:function(){var t;return{width:Math.max.apply(Math,this.masonryHorizontal.rowXs)}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(t){var i=this,n=this.element.height(),o=this.fitColumns;t.each((function(){var t=e(this),r=t.outerWidth(!0),a=t.outerHeight(!0);0!==o.y&&a+o.y>n&&(o.x=o.width,o.y=0),i._pushPosition(t,o.x,o.y),o.width=Math.max(o.x+r,o.width),o.y+=a}))},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(t){var i=this,n=this.cellsByColumn;t.each((function(){var t=e(this),o=Math.floor(n.index/n.rows),r=n.index%n.rows,a=(o+.5)*n.columnWidth-t.outerWidth(!0)/2,s=(r+.5)*n.rowHeight-t.outerHeight(!0)/2;i._pushPosition(t,a,s),n.index++}))},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(t){var i=this;t.each((function(t){var n=e(this);i._pushPosition(n,i.straightAcross.x,0),i.straightAcross.x+=n.outerWidth(!0)}))},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},e.fn.imagesLoaded=function(t){function i(){t.call(o,r)}function n(t){var o=t.target;o.src!==s&&-1===e.inArray(o,l)&&(l.push(o),--a<=0&&(setTimeout(i),r.unbind(".imagesLoaded",n)))}var o=this,r=o.find("img").add(o.filter("img")),a=r.length,s="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",l=[];return a||i(),r.bind("load.imagesLoaded error.imagesLoaded",n).each((function(){var t=this.src;this.src=s,this.src=t})),o};var C=function(e){t.console&&t.console.error(e)};e.fn.isotope=function(t,i){if("string"==typeof t){var n=Array.prototype.slice.call(arguments,1
12);this.each((function(){var i=e.data(this,"isotope");i?e.isFunction(i[t])&&"_"!==t.charAt(0)?i[t].apply(i,n):C("no such method '"+t+"' for isotope instance"):C("cannot call methods on isotope prior to initialization; attempted to call method '"+t+"'")}))}else this.each((function(){var n=e.data(this,"isotope");n?(n.option(t),n._init(i)):e.data(this,"isotope",new e.Isotope(t,this,i))}));return this}}(window,jQuery),function(t){var e=t.event,i,n;i=e.special.debouncedresize={setup:function(){t(this).on("resize",i.handler)},teardown:function(){t(this).off("resize",i.handler)},handler:function(t,o){var r=this,a=arguments,s=function(){t.type="debouncedresize",e.dispatch.apply(r,a)};n&&clearTimeout(n),o?s():n=setTimeout(s,i.threshold)},threshold:150}}(jQuery), 13/*! 14 * jQuery Transit - CSS3 transitions and transformations 15 * (c) 2011-2012 Rico Sta. Cruz <[email protected]> 16 * MIT Licensed. 17 * 18 * http://ricostacruz.com/jquery.transit 19 * http://github.com/rstacruz/jquery.transit 20 */ 21function(t){function e(t){if(t in u.style)return t;var e=["Moz","Webkit","O","ms"],i=t.charAt(0).toUpperCase()+t.substr(1);if(t in u.style)return t;for(var n=0;n<e.length;++n){var o=e[n]+i;if(o in u.style)return o}}function i(){return u.style[p.transform]="",u.style[p.transform]="rotateY(90deg)",""!==u.style[p.transform]}function n(t){return"string"==typeof t&&this.parse(t),this}function o(t,e,i){!0===e?t.queue(i):e?t.queue(e,i):i()}function r(e){var i=[];return t.each(e,(function(e){e=t.camelCase(e),e=l(e=t.transit.propertyMap[e]||t.cssProps[e]||e),-1===t.inArray(e,i)&&i.push(e)})),i}function a(e,i,n,o){var a=r(e);t.cssEase[n]&&(n=t.cssEase[n]);var s=d(i)+" "+n;parseInt(o,10)>0&&(s+=" "+d(o));var l=[];return t.each(a,(function(t,e){l.push(e+" "+s)})),l.join(", ")}function s(e,i){i||(t.cssNumber[e]=!0),t.transit.propertyMap[e]=p.transform,t.cssHooks[e]={get:function(i){var n;return t(i).css("transit:transform").get(e)},set:function(i,n){var o=t(i).css("transit:transform");o.setFromString(e,n),t(i).css({"transit:transform":o})}}}function l(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))}function c(t,e){return"string"!=typeof t||t.match(/^[\-0-9\.]+$/)?""+t+e:t}function d(e){var i=e;return t.fx.speeds[i]&&(i=t.fx.speeds[i]),c(i,"ms")}t.transit={version:"0.9.9",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:!0,useTransitionEnd:!1};var u=document.createElement("div"),p={},f=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;p.transition=e("transition"),p.transitionDelay=e("transitionDelay"),p.transform=e("transform"),p.transformOrigin=e("transformOrigin"),p.transform3d=i();var h={transition:"transitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"},m=p.transitionEnd=h[p.transition]||null;for(var g in p)p.hasOwnProperty(g)&&void 0===t.support[g]&&(t.support[g]=p[g]);u=null,t.cssEase={_default:"ease",in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"},t.cssHooks["transit:transform"]={get:function(e){return t(e).data("transform")||new n},set:function(e,i){var o=i;o instanceof n||(o=new n(o)),"WebkitTransform"!==p.transform||f?e.style[p.transform]=o.toString():e.style[p.transform]=o.toString(!0),t(e).data("transform",o)}},t.cssHooks.transform={set:t.cssHooks["transit:transform"].set},t.fn.jquery<"1.8"&&(t.cssHooks.transformOrigin={get:function(t){return t.style[p.transformOrigin]},set:function(t,e){t.style[p.transformOrigin]=e}},t.cssHooks.transition={get:function(t){return t.style[p.transition]},set:function(t,e){t.style[p.transition]=e}}),s("scale"),s("translate"),s("rotate"),s("rotateX"),s("rotateY"),s("rotate3d"),s("perspective"),s("skewX"),s("skewY"),s("x",!0),s("y",!0),n.prototype={setFromString:function(t,e){var i="string"==typeof e?e.split(","):e.constructor===Array?e:[e];i.unshift(t),n.prototype.set.apply(this,i)},set:function(t){var e=Array.prototype.slice.apply(arguments,[1]);
21this.setter[t]?this.setter[t].apply(this,e):this[t]=e.join(",")},get:function(t){return this.getter[t]?this.getter[t].apply(this):this[t]||0},setter:{rotate:function(t){this.rotate=c(t,"deg")},rotateX:function(t){this.rotateX=c(t,"deg")},rotateY:function(t){this.rotateY=c(t,"deg")},scale:function(t,e){void 0===e&&(e=t),this.scale=t+","+e},skewX:function(t){this.skewX=c(t,"deg")},skewY:function(t){this.skewY=c(t,"deg")},perspective:function(t){this.perspective=c(t,"px")},x:function(t){this.set("translate",t,null)},y:function(t){this.set("translate",null,t)},translate:function(t,e){void 0===this._translateX&&(this._translateX=0),void 0===this._translateY&&(this._translateY=0),null!=t&&(this._translateX=c(t,"px")),null!=e&&(this._translateY=c(e,"px")),this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var t=(this.scale||"1,1").split(",");return t[0]&&(t[0]=parseFloat(t[0])),t[1]&&(t[1]=parseFloat(t[1])),t[0]===t[1]?t[0]:t},rotate3d:function(){for(var t=(this.rotate3d||"0,0,0,0deg").split(","),e=0;e<=3;++e)t[e]&&(t[e]=parseFloat(t[e]));return t[3]&&(t[3]=c(t[3],"deg")),t}},parse:function(t){var e=this;t.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,(function(t,i,n){e.setFromString(i,n)}))},toString:function(t){var e=[];for(var i in this)if(this.hasOwnProperty(i)){if(!p.transform3d&&("rotateX"===i||"rotateY"===i||"perspective"===i||"transformOrigin"===i))continue;"_"!==i[0]&&(t&&"scale"===i?e.push(i+"3d("+this[i]+",1)"):t&&"translate"===i?e.push(i+"3d("+this[i]+",0)"):e.push(i+"("+this[i]+")"))}return e.join(" ")}},t.fn.transition=t.fn.transit=function(e,i,n,r){var s=this,l=0,c=!0;"function"==typeof i&&(r=i,i=void 0),"function"==typeof n&&(r=n,n=void 0),void 0!==e.easing&&(n=e.easing,delete e.easing),void 0!==e.duration&&(i=e.duration,delete e.duration),void 0!==e.complete&&(r=e.complete,delete e.complete),void 0!==e.queue&&(c=e.queue,delete e.queue),void 0!==e.delay&&(l=e.delay,delete e.delay),void 0===i&&(i=t.fx.speeds._default),void 0===n&&(n=t.cssEase._default),i=d(i);var u=a(e,i,n,l),f,h=t.transit.enabled&&p.transition?parseInt(i,10)+parseInt(l,10):0;if(0===h){var g=function(t){s.css(e),r&&r.apply(s),t&&t()};return o(s,c,g),s}var v={},b=function(i){var n=!1,o=function(){n&&s.unbind(m,o),h>0&&s.each((function(){this.style[p.transition]=v[this]||null})),"function"==typeof r&&r.apply(s),"function"==typeof i&&i()};h>0&&m&&t.transit.useTransitionEnd?(n=!0,s.bind(m,o)):window.setTimeout(o,h),s.each((function(){h>0&&(this.style[p.transition]=u),t(this).css(e)}))},y;return o(s,c,(function(t){var e=0;"MozTransition"===p.transition&&e<25&&(e=25),window.setTimeout((function(){b(t)}),e)})),this},t.transit.getTransitionValue=a}(jQuery),eval(function(t,e,i,n,o,r){if(o=function(t){return(t<e?"":o(parseInt(t/e)))+((t%=e)>35?String.fromCharCode(t+29):t.toString(36))},!"".replace(/^/,String)){for(;i--;)r[o(i)]=n[i]||o(i);n=[function(t){return r[t]}],o=function(){return"\\w+"},i=1}for(;i--;)n[i]&&(t=t.replace(new RegExp("\\b"+o(i)+"\\b","g"),n[i]));return t 22}("(D($){8($.1s.1v){H}$.1s.6i=$.1s.1v=D(u,w){8(1l.S==0){18(J,'6j 55 6k 1j \"'+1l.4o+'\".');H 1l}8(1l.S>1){H 1l.1W(D(){$(1l).1v(u,w)})}F y=1l,$12=1l[0],56=L;8(y.1q('57')){56=y.1P('3o','4p');y.T('3o',['4q',J])}F z={};z.59=D(o,a,b){o=3S($12,o);o.E=6l($12,o.E);o.1K=6m($12,o.1K);o.N=6n($12,o.N);o.14=5a($12,o.14);o.16=5a($12,o.16);o.1b=6o($12,o.1b);o.1r=6p($12,o.1r);o.1Q=6q($12,o.1Q);8(a){31=$.1L(J,{},$.1s.1v.5b,o)}7=$.1L(J,{},$.1s.1v.5b,o);7.d=6r(7);A.2l=(7.2l=='5c'||7.2l=='1m')?'16':'14';F c=y.13(),2m=5d($1n,7,'P');8(3p(7.25)){7.25='7Q'+G.3T}7.3U=5e(7,2m);7.E=6s(7.E,7,c,b);7[7.d['P']]=6t(7[7.d['P']],7,c);7[7.d['1e']]=6u(7[7.d['1e']],7,c);8(7.2H){8(!3V(7[7.d['P']])){7[7.d['P']]='2I%'}}8(3V(7[7.d['P']])){A.6v=J;A.4r=7[7.d['P']];7[7.d['P']]=4s(2m,A.4r);8(!7.E.M){7.E.U.1d=J}}8(7.2H){7.1R=L;7.1i=[0,0,0,0];7.1B=L;7.E.U.1d=L}O{8(!7.E.M){7=6w(7,2m)}8(!7[7.d['P']]){8(!7.E.U.1d&&Y(7.E[7.d['P']])&&7.E.1t=='*'){7[7.d['P']]=7.E.M*7.E[7.d['P']];7.1B=L}O{7[7.d['P']]='1d'}}8(1z(7.1B)){7.1B=(Y(7[7.d['P']]))?'5f':L}8(7.E.U.1d){7.E.M=32(c,7,0)}}8(7.E.1t!='*'&&!7.E.U.1d){7.E.U.4t=7.E.M;7.E.M=3W(c,7,0)}7.E.M=2x(7.E.M,7,7.E.U.2c,$12);7.E.U.20=7.E.M;8(7.2H){8(!7.E.U.34){7.E.U.34=7.E.M}8(!7.E.U.1X){7.E.U.1X=7.E.M}7=5g(7,c,2m)}O{7.1i=6x(7.1i);8(7.1B=='3q'){7.1B='1m'}O 8(7.1B=='5h'){7.1B='35'}1F(7.1B){R'5f':R'1m':R'35':8(7[7.d['P']]!='1d'){7=5i(7,c);7.1R=J}17;2J:7.1B=L;7.1R=(7.1i[0]==0&&7.1i[1]==0&&7.1i[2]==0&&7.1i[3]==0)?L:J;17}}8(!Y(7.1K.1M)){7.1K.1M=6y}8(1z(7.1K.E)){7.1K.E=(7.2H||7.E.U.1d||7.E.1t!='*')?'M':7.E.M}7.N=$.1L(J,{},7.1K,7.N);7.14=$.1L(J,{},7.1K,7.14);7.16=$.1L(J,{},7.1K,7.16);7.1b=$.1L(J,{},7.1K,7.1b);7.N=6z($12,7.N);7.14=5j($12,7.14);7.16=5j($12,7.16);7.1b=6A($12,7.1b);7.1r=6B($12,7.1r);7.1Q=6C($12,7.1Q);8(7.2n){7.2n=5k(7.2n)}8(7.N.5l){7.N.4u=7.N.5l;3X('N.5l','N.4u')}8(7.N.5m){7.N.4v=7.N.5m;3X('N.5m','N.4v')}8(7.N.5n){7.N.4w=7.N.5n;3X('N.5n','N.4w')}8(7.N.5o){7.N.2K=7.N.5o;3X('N.5o','N.2K')}};z.6D=D(){y.1q('57',J);F a=y.13(),3Y=6E(y,['6F','6G','3r','3q','35','5h','1m','3Z','P','1e','6H','1S','5p','6I']),5q='7R';1F(3Y.3r){R'6J':R'7S':5q=3Y.3r;17}8(G.3s=='36'){41($1n)}O{$1n.Z(3Y)}$1n.Z({'7T':'3t','3r':5q});41(y);y.1q('6K',3Y.3Z);y.Z({'6F':'1m','6G':'42','3r':'6J','3q':0,'35':'N','5h':'N','1m':0,'6H':0,'1S':0,'5p':0,'6I':0});4x(a,7);41(a);8(7.2H){5r(7,a)}};z.6L=D(){z.5s();y.11(I('6M',G),D(e,a){e.1g();8(!A.2d){8(7.N.W){7.N.W.3a(2y('4y',G))}}A.2d=J;8(7.N.1G){7.N.1G=L;y.T(I('3b',G),a)}H J});y.11(I('5t',G),D(e){e.1g();8(A.26){43(V)}H J});y.11(I('3b',G),D(e,a,b){e.1g();1u=3u(1u);8(a&&A.26){V.2d=J;F c=2o()-V.2L;V.1M-=c;8(V.4z){V.4z.1M-=c}8(V.4A){V.4A.1M-=c}43(V,L)}8(!A.27&&!A.26){8(b){1u.3v+=2o()-1u.2L}}8(!A.27){8(7.N.W){7.N.W.3a(2y('6N',G))}}A.27=J;8(7.N.4v){F d=7.N.2K-1u.3v,3c=2I-1H.2z(d*2I/7.N.2K);7.N.4v.1h($12,3c,d)}H J});y.11(I('1G',G),D(e,b,c,d){e.1g();1u=3u(1u);F v=[b,c,d],t=['2M','28','3d'],a=3e(v,t);b=a[0];c=a[1];d=a[2];8(b!='14'&&b!='16'){b=A.2l}8(!Y(c)){c=0}8(!1k(d)){d=L}8(d){A.2d=L;7.N.1G=J}8(!7.N.1G){e.2e();H 18(G,'3w 4y: 2p 3f.')}8(A.27){8(7.N.W){7.N.W.2N(2y('4y',G));7.N.W.2N(2y('6N',G))}}A.27=L;1u.2L=2o();F f=7.N.2K+c;44=f-1u.3v;3c=2I-1H.2z(44*2I/f);8(7.N.1f){1u.1f=7U(D(){F a=2o()-1u.2L+1u.3v,3c=1H.2z(a*2I/f);7.N.1f.4B.1h(7.N.1f.2q[0],3c)},7.N.1f.5u)}1u.N=7V(D(){8(7.N.1f){7.N.1f.4B.1h(7.N.1f.2q[0],2I)}8(7.N.4w){7.N.4w.1h($12,3c,44)}8(A.26){y.T(I('1G',G),b)}O{y.T(I(b,G),7.N)}},44);8(7.N.4u){7.N.4u.1h($12,3c,44)}H J});y.11(I('3g',G),D(e){e.1g();8(V.2d){V.2d=L;A.27=L;A.26=J;V.2L=2o();3x(V,G)}O{y.T(I('1G',G))}H J});y.11(I('14',G)+' '+I('16',G),D(e,b,f,g,h){e.1g();8(A.2d||y.2f(':3t')){e.2e();H 18(G,'3w 4y 7W 3t: 2p 3f.')}F i=(Y(7.E.4C))?7.E.4C:7.E.M+1;8(i>K.Q){e.2e();H 18(G,'2p 6O E ('+K.Q+' Q, '+i+' 6P): 2p 3f.')}F v=[b,f,g,h],t=['2A','28/2M','D','3d'],a=3e(v,t);b=a[0];f=a[1];g=a[2];h=a[3];F k=e.5v.19(G.3y.45.S);8(!1T(b)){b={}}8(1o(g)){b.3h=g}8(1k(h)){b.2O=h}b=$.1L(J,{},7[k],b);8(b.5w&&!b.5w.1h($12,k)){e.2e();H 18(G,'7X \"5w\" 7Y L.')}8(!Y(f)){8(7.E.1t!='*'){f='M'}O{F m=[f,b.E,7[k].E];1j(F a=0,l=m.S;a<l;a++){8(Y(m[a])||m[a]=='6Q'||m[a]=='M'){f=m[a];17}}}1F(f){R'6Q':e.2e();
22H y.1P(I(k+'7Z',G),[b,g]);17;R'M':8(!7.E.U.1d&&7.E.1t=='*'){f=7.E.M}17}}8(V.2d){y.T(I('3g',G));y.T(I('2O',G),[k,[b,f,g]]);e.2e();H 18(G,'3w 80 3f.')}8(b.1M>0){8(A.26){8(b.2O){8(b.2O=='2P'){2g=[]}8(b.2O!='X'||2g.S==0){y.T(I('2O',G),[k,[b,f,g]])}}e.2e();H 18(G,'3w 81 3f.')}}1u.3v=0;y.T(I('6R'+k,G),[b,f]);8(7.2n){F s=7.2n,c=[b,f];1j(F j=0,l=s.S;j<l;j++){F d=k;8(!s[j][2]){d=(d=='14')?'16':'14'}8(!s[j][1]){c[0]=s[j][0].1P('3o',['6S',d])}c[1]=f+s[j][3];s[j][0].T('3o',['6R'+d,c])}}H J});y.11(I('82',G),D(e,b,c){e.1g();F d=y.13();8(!7.1U){8(K.X==0){8(7.3z){y.T(I('16',G),K.Q-1)}H e.2e()}}1Y(d,7);8(!Y(c)){8(7.E.U.1d){c=4D(d,7,K.Q-1)}O 8(7.E.1t!='*'){F f=(Y(b.E))?b.E:5x(y,7);c=6T(d,7,K.Q-1,f)}O{c=7.E.M}c=4E(c,7,b.E,$12)}8(!7.1U){8(K.Q-c<K.X){c=K.Q-K.X}}7.E.U.20=7.E.M;8(7.E.U.1d){F g=2x(32(d,7,K.Q-c),7,7.E.U.2c,$12);8(7.E.M+c<=g&&c<K.Q){c++;g=2x(32(d,7,K.Q-c),7,7.E.U.2c,$12)}7.E.M=g}O 8(7.E.1t!='*'){F g=3W(d,7,K.Q-c);7.E.M=2x(g,7,7.E.U.2c,$12)}1Y(d,7,J);8(c==0){e.2e();H 18(G,'0 E 46 1K: 2p 3f.')}18(G,'6U '+c+' E 5y.');K.X+=c;2h(K.X>=K.Q){K.X-=K.Q}8(!7.1U){8(K.X==0&&b.4F){b.4F.1h($12,'14')}8(!7.3z){3A(7,K.X,G)}}y.13().19(K.Q-c,K.Q).83(y);8(K.Q<7.E.M+c){y.13().19(0,(7.E.M+c)-K.Q).4G(J).47(y)}F d=y.13(),3i=6V(d,7,c),2i=6W(d,7),1Z=d.1N(c-1),21=3i.2P(),2r=2i.2P();1Y(d,7);F h=0,2B=0;8(7.1B){F p=4H(2i,7);h=p[0];2B=p[1]}F i=(h<0)?7.1i[7.d[3]]:0;F j=L,2Q=$();8(7.E.M<c){2Q=d.19(7.E.U.20,c);8(b.1V=='6X'){F k=7.E[7.d['P']];j=2Q;1Z=2r;5z(j);7.E[7.d['P']]='1d'}}F l=L,3B=2R(d.19(0,c),7,'P'),2j=4I(4J(2i,7,J),7,!7.1R),3C=0,29={},4K={},2s={},2S={},4L={},2T={},5A={},2U=5B(b,7,c,3B);1F(b.1V){R'1I':R'1I-1w':3C=2R(d.19(0,7.E.M),7,'P');17}8(j){7.E[7.d['P']]=k}1Y(d,7,J);8(2B>=0){1Y(21,7,7.1i[7.d[1]])}8(h>=0){1Y(1Z,7,7.1i[7.d[3]])}8(7.1B){7.1i[7.d[1]]=2B;7.1i[7.d[3]]=h}2T[7.d['1m']]=-(3B-i);5A[7.d['1m']]=-(3C-i);4K[7.d['1m']]=2j[7.d['P']];F m=D(){},1O=D(){},1C=D(){},3D=D(){},2C=D(){},5C=D(){},1D=D(){},3E=D(){},1x=D(){},1y=D(){},1J=D(){};1F(b.1V){R'3j':R'1I':R'1I-1w':R'22':R'22-1w':l=y.4G(J).47($1n);17}1F(b.1V){R'3j':R'22':R'22-1w':l.13().19(0,c).2t();l.13().19(7.E.U.20).2t();17;R'1I':R'1I-1w':l.13().19(7.E.M).2t();l.Z(5A);17}y.Z(2T);V=48(2U,b.2u,G);29[7.d['1m']]=(7.1R)?7.1i[7.d[3]]:0;8(7[7.d['P']]=='1d'||7[7.d['1e']]=='1d'){m=D(){$1n.Z(2j)};1O=D(){V.1a.1c([$1n,2j])}}8(7.1R){8(2r.4M(1Z).S){2s[7.d['1S']]=1Z.1q('2a');8(h<0){1Z.Z(2s)}O{1D=D(){1Z.Z(2s)};3E=D(){V.1a.1c([1Z,2s])}}}1F(b.1V){R'1I':R'1I-1w':l.13().1N(c-1).Z(2s);17}8(2r.4M(21).S){2S[7.d['1S']]=21.1q('2a');1C=D(){21.Z(2S)};3D=D(){V.1a.1c([21,2S])}}8(2B>=0){4L[7.d['1S']]=2r.1q('2a')+7.1i[7.d[1]];2C=D(){2r.Z(4L)};5C=D(){V.1a.1c([2r,4L])}}}1J=D(){y.Z(29)};F n=7.E.M+c-K.Q;1y=D(){8(n>0){y.13().19(K.Q).2t();3i=$(y.13().19(K.Q-(7.E.M-n)).3F().6Y(y.13().19(0,n).3F()))}5D(j);8(7.1R){F a=y.13().1N(7.E.M+c-1);a.Z(7.d['1S'],a.1q('2a'))}};F o=5E(3i,2Q,2i,c,'14',2U,2j);1x=D(){5F(y,l,b);A.26=L;2b.3h=4a($12,b,'3h',o,2b);2g=5G(y,2g,G);8(!A.27){y.T(I('1G',G))}};A.26=J;1u=3u(1u);2b.3G=4a($12,b,'3G',o,2b);1F(b.1V){R'42':y.Z(29);m();1C();2C();1D();1J();1y();1x();17;R'1w':V.1a.1c([y,{'1E':0},D(){m();1C();2C();1D();1J();1y();V=48(2U,b.2u,G);V.1a.1c([y,{'1E':1},1x]);3x(V,G)}]);17;R'3j':y.Z({'1E':0});V.1a.1c([l,{'1E':0}]);V.1a.1c([y,{'1E':1},1x]);1O();1C();2C();1D();1J();1y();17;R'1I':V.1a.1c([l,29,D(){1C();2C();1D();1J();1y();1x()}]);1O();17;R'1I-1w':V.1a.1c([y,{'1E':0}]);V.1a.1c([l,29,D(){y.Z({'1E':1});1C();2C();1D();1J();1y();1x()}]);1O();17;R'22':V.1a.1c([l,4K,1x]);1O();1C();2C();1D();1J();1y();17;R'22-1w':y.Z({'1E':0});V.1a.1c([y,{'1E':1}]);V.1a.1c([l,4K,1x]);1O();1C();2C();1D();1J();1y();17;2J:V.1a.1c([y,29,D(){1y();1x()}]);1O();3D();5C();3E();17}3x(V,G);5H(7.25,y,G);y.T(I('3H',G),[L,2j]);H J});y.11(I('84',G),D(e,c,d){e.1g();F f=y.13();8(!7.1U){8(K.X==7.E.M){8(7.3z){y.T(I('14',G),K.Q-1)}H e.2e()}}1Y(f,7);8(!Y(d)){8(7.E.1t!='*'){F g=(Y(c.E))?c.E:5x(y,7);d=6Z(f,7,0,g)}O{d=7.E.M}d=4E(d,7,c.E,$12)}F h=(K.X==0)?K.Q:K.X;8(!7.1U){8(7.E.U.1d){F i=32(f,7,d),g=4D(f,7,h-1)}O{F i=7.E.M,g=7.E.M}8(d+i>h){d=h-g}}7.E.U.20=7.E.M;8(7.E.U.1d){F i=2x(5I(f,7,d,h),7,7.E.U.2c,$12);2h(7.E.M-d>=i&&d<K.Q){d++;i=2x(5I(f,7,d,h),7,7.E.U.2c,$12)}7.E.M=i}O 8(7.E.1t!='*'){F i=3W(f,7,d);7.E.M=2x(i,7,7.E.U.2c,$12)}1Y(f,7,J);8(d==0){e.2e();H 18(G,'0 E 46 1K: 2p 3f.')}18(G,'6U '+d+' E 70.');K.X-=d;2h(K.X<0){K.X+=K.Q}8(!7.1U){8(K.X==7.E.M&&c.4F){c.4F.1h($12,'16')}8(!7.3z){3A(7,K.X,G)}}8(K.Q<7.E.M+d){y.13().19(0,(7.E.M+d)-K.Q).4G(J).47(y)}F f=y.13(),3i=71(f,7),2i=72(f,7,d),1Z=f.1N(d-1),21=3i.2P(),2r=2i.2P();1Y(f,7);F j=0,2B=0;8(7.1B){F p=4H(2i,7);j=p[0];2B=p[1]}F k=L,2Q=$();
228(7.E.U.20<d){2Q=f.19(7.E.U.20,d);8(c.1V=='6X'){F l=7.E[7.d['P']];k=2Q;1Z=21;5z(k);7.E[7.d['P']]='1d'}}F m=L,3B=2R(f.19(0,d),7,'P'),2j=4I(4J(2i,7,J),7,!7.1R),3C=0,29={},4N={},2s={},2S={},2T={},2U=5B(c,7,d,3B);1F(c.1V){R'22':R'22-1w':3C=2R(f.19(0,7.E.U.20),7,'P');17}8(k){7.E[7.d['P']]=l}8(7.1B){8(7.1i[7.d[1]]<0){7.1i[7.d[1]]=0}}1Y(f,7,J);1Y(21,7,7.1i[7.d[1]]);8(7.1B){7.1i[7.d[1]]=2B;7.1i[7.d[3]]=j}2T[7.d['1m']]=(7.1R)?7.1i[7.d[3]]:0;F n=D(){},1O=D(){},1C=D(){},3D=D(){},1D=D(){},3E=D(){},1x=D(){},1y=D(){},1J=D(){};1F(c.1V){R'3j':R'1I':R'1I-1w':R'22':R'22-1w':m=y.4G(J).47($1n);m.13().19(7.E.U.20).2t();17}1F(c.1V){R'3j':R'1I':R'1I-1w':y.Z('3Z',1);m.Z('3Z',0);17}V=48(2U,c.2u,G);29[7.d['1m']]=-3B;4N[7.d['1m']]=-3C;8(j<0){29[7.d['1m']]+=j}8(7[7.d['P']]=='1d'||7[7.d['1e']]=='1d'){n=D(){$1n.Z(2j)};1O=D(){V.1a.1c([$1n,2j])}}8(7.1R){F o=2r.1q('2a');8(2B>=0){o+=7.1i[7.d[1]]}2r.Z(7.d['1S'],o);8(1Z.4M(21).S){2S[7.d['1S']]=21.1q('2a')}1C=D(){21.Z(2S)};3D=D(){V.1a.1c([21,2S])};F q=1Z.1q('2a');8(j>0){q+=7.1i[7.d[3]]}2s[7.d['1S']]=q;1D=D(){1Z.Z(2s)};3E=D(){V.1a.1c([1Z,2s])}}1J=D(){y.Z(2T)};F r=7.E.M+d-K.Q;1y=D(){8(r>0){y.13().19(K.Q).2t()}F a=y.13().19(0,d).47(y).2P();8(r>0){2i=3I(f,7)}5D(k);8(7.1R){8(K.Q<7.E.M+d){F b=y.13().1N(7.E.M-1);b.Z(7.d['1S'],b.1q('2a')+7.1i[7.d[1]])}a.Z(7.d['1S'],a.1q('2a'))}};F s=5E(3i,2Q,2i,d,'16',2U,2j);1x=D(){y.Z('3Z',y.1q('6K'));5F(y,m,c);A.26=L;2b.3h=4a($12,c,'3h',s,2b);2g=5G(y,2g,G);8(!A.27){y.T(I('1G',G))}};A.26=J;1u=3u(1u);2b.3G=4a($12,c,'3G',s,2b);1F(c.1V){R'42':y.Z(29);n();1C();1D();1J();1y();1x();17;R'1w':V.1a.1c([y,{'1E':0},D(){n();1C();1D();1J();1y();V=48(2U,c.2u,G);V.1a.1c([y,{'1E':1},1x]);3x(V,G)}]);17;R'3j':y.Z({'1E':0});V.1a.1c([m,{'1E':0}]);V.1a.1c([y,{'1E':1},1x]);1O();1C();1D();1J();1y();17;R'1I':y.Z(7.d['1m'],$1n[7.d['P']]());V.1a.1c([y,2T,1x]);1O();1C();1D();1y();17;R'1I-1w':y.Z(7.d['1m'],$1n[7.d['P']]());V.1a.1c([m,{'1E':0}]);V.1a.1c([y,2T,1x]);1O();1C();1D();1y();17;R'22':V.1a.1c([m,4N,1x]);1O();1C();1D();1J();1y();17;R'22-1w':y.Z({'1E':0});V.1a.1c([y,{'1E':1}]);V.1a.1c([m,4N,1x]);1O();1C();1D();1J();1y();17;2J:V.1a.1c([y,29,D(){1J();1y();1x()}]);1O();3D();3E();17}3x(V,G);5H(7.25,y,G);y.T(I('3H',G),[L,2j]);H J});y.11(I('3k',G),D(e,b,c,d,f,g,h){e.1g();F v=[b,c,d,f,g,h],t=['2M/28/2A','28','3d','2A','2M','D'],a=3e(v,t);f=a[3];g=a[4];h=a[5];b=3J(a[0],a[1],a[2],K,y);8(b==0){H L}8(!1T(f)){f=L}8(g!='14'&&g!='16'){8(7.1U){g=(b<=K.Q/2)?'16':'14'}O{g=(K.X==0||K.X>b)?'16':'14'}}8(g=='14'){b=K.Q-b}y.T(I(g,G),[f,b,h]);H J});y.11(I('85',G),D(e,a,b){e.1g();F c=y.1P(I('4b',G));H y.1P(I('5J',G),[c-1,a,'14',b])});y.11(I('86',G),D(e,a,b){e.1g();F c=y.1P(I('4b',G));H y.1P(I('5J',G),[c+1,a,'16',b])});y.11(I('5J',G),D(e,a,b,c,d){e.1g();8(!Y(a)){a=y.1P(I('4b',G))}F f=7.1b.E||7.E.M,1X=1H.2z(K.Q/f)-1;8(a<0){a=1X}8(a>1X){a=0}H y.1P(I('3k',G),[a*f,0,J,b,c,d])});y.11(I('73',G),D(e,s){e.1g();8(s){s=3J(s,0,J,K,y)}O{s=0}s+=K.X;8(s!=0){8(K.Q>0){2h(s>K.Q){s-=K.Q}}y.87(y.13().19(s,K.Q))}H J});y.11(I('2n',G),D(e,s){e.1g();8(s){s=5k(s)}O 8(7.2n){s=7.2n}O{H 18(G,'6j 88 46 2n.')}F n=y.1P(I('4p',G)),x=J;1j(F j=0,l=s.S;j<l;j++){8(!s[j][0].1P(I('3k',G),[n,s[j][3],J])){x=L}}H x});y.11(I('2O',G),D(e,a,b){e.1g();8(1o(a)){a.1h($12,2g)}O 8(2V(a)){2g=a}O 8(!1z(a)){2g.1c([a,b])}H 2g});y.11(I('89',G),D(e,b,c,d,f){e.1g();F v=[b,c,d,f],t=['2M/2A','2M/28/2A','3d','28'],a=3e(v,t);b=a[0];c=a[1];d=a[2];f=a[3];8(1T(b)&&!2v(b)){b=$(b)}O 8(1p(b)){b=$(b)}8(!2v(b)||b.S==0){H 18(G,'2p a 5K 2A.')}8(1z(c)){c='4c'}4x(b,7);41(b);F g=c,4d='4d';8(c=='4c'){8(d){8(K.X==0){c=K.Q-1;4d='74'}O{c=K.X;K.X+=b.S}8(c<0){c=0}}O{c=K.Q-1;4d='74'}}O{c=3J(c,f,d,K,y)}F h=y.13().1N(c);8(h.S){h[4d](b)}O{18(G,'8a 8b-3r 4M 6k! 8c 8d 46 75 4c.');y.76(b)}8(g!='4c'&&!d){8(c<K.X){K.X+=b.S}}K.Q=y.13().S;8(K.X>=K.Q){K.X-=K.Q}y.T(I('4O',G));y.T(I('5L',G));H J});y.11(I('77',G),D(e,c,d,f){e.1g();F v=[c,d,f],t=['2M/28/2A','3d','28'],a=3e(v,t);c=a[0];d=a[1];f=a[2];F g=L;8(c 2W $&&c.S>1){h=$();c.1W(D(i,a){F b=y.T(I('77',G),[$(1l),d,f]);8(b){h=h.8e(b)}});H h}8(1z(c)||c=='4c'){h=y.13().2P()}O{c=3J(c,f,d,K,y);F h=y.13().1N(c);8(h.S){8(c<K.X){K.X-=h.S}}}8(h&&h.S){h.8f();K.Q=y.13().S;y.T(I('4O',G))}H h});y.11(I('3G',G)+' '+I('3h',G),D(e,a){e.1g();F b=e.5v.19(G.3y.45.S);8(2V(a)){2b[b]=a}8(1o(a)){2b[b].1c(a)}H 2b[b]});y.11(I('4p',G),D(e,a){e.1g();8(K.X==0){F b=0}O{F b=K.Q-K.X}8(1o(a)){a.1h($12,b)}H b});y.11(I('4b',G),D(e,a){e.1g();F b=7.1b.E||7.E.M,1X=1H.2z(K.Q/b-1),2k;8(K.X==0){2k=0}O 8(K.X<K.Q%b){2k=0}O 8(K.X==b&&!7.1U){2k=1X}O{2k=1H.78((K.Q-K.X)/b)}8(2k<0){2k=0}8(2k>1X){2k=1X}8(1o(a)){a.1h($12,2k)}H 2k});y.11(I('8g',G),D(e,a){e.1g();F b=3I(y.13(),7);8(1o(a)){a.1h($12,b)}H b});y.11(I('19',G),D(e,f,l,b){e.1g();8(K.Q==0){H L}F v=[f,l,b],t=['28','28','D'],a=3e(v,t);f=(Y(a[0]))?a[0]:0;l=(Y(a[1]))?a[1]:K.Q;b=a[2];f+=K.X;l+=K.X;
228(E.Q>0){2h(f>K.Q){f-=K.Q}2h(l>K.Q){l-=K.Q}2h(f<0){f+=K.Q}2h(l<0){l+=K.Q}}F c=y.13(),$i;8(l>f){$i=c.19(f,l)}O{$i=$(c.19(f,K.Q).3F().6Y(c.19(0,l).3F()))}8(1o(b)){b.1h($12,$i)}H $i});y.11(I('27',G)+' '+I('2d',G)+' '+I('26',G),D(e,a){e.1g();F b=e.5v.19(G.3y.45.S),5M=A[b];8(1o(a)){a.1h($12,5M)}H 5M});y.11(I('6S',G),D(e,a,b,c){e.1g();F d=L;8(1o(a)){a.1h($12,7)}O 8(1T(a)){31=$.1L(J,{},31,a);8(b!==L)d=J;O 7=$.1L(J,{},7,a)}O 8(!1z(a)){8(1o(b)){F f=4P('7.'+a);8(1z(f)){f=''}b.1h($12,f)}O 8(!1z(b)){8(2X c!=='3d')c=J;4P('31.'+a+' = b');8(c!==L)d=J;O 4P('7.'+a+' = b')}O{H 4P('7.'+a)}}8(d){1Y(y.13(),7);z.59(31);z.5N();F g=4Q(y,7);y.T(I('3H',G),[J,g])}H 7});y.11(I('5L',G),D(e,a,b){e.1g();8(1z(a)){a=$('8h')}O 8(1p(a)){a=$(a)}8(!2v(a)||a.S==0){H 18(G,'2p a 5K 2A.')}8(!1p(b)){b='a.6i'}a.8i(b).1W(D(){F h=1l.79||'';8(h.S>0&&y.13().7a($(h))!=-1){$(1l).23('5O').5O(D(e){e.2D();y.T(I('3k',G),h)})}});H J});y.11(I('3H',G),D(e,b,c){e.1g();8(!7.1b.1A){H}F d=7.1b.E||7.E.M,4R=1H.2z(K.Q/d);8(b){8(7.1b.3K){7.1b.1A.13().2t();7.1b.1A.1W(D(){1j(F a=0;a<4R;a++){F i=y.13().1N(3J(a*d,0,J,K,y));$(1l).76(7.1b.3K.1h(i[0],a+1))}})}7.1b.1A.1W(D(){$(1l).13().23(7.1b.3L).1W(D(a){$(1l).11(7.1b.3L,D(e){e.2D();y.T(I('3k',G),[a*d,-7.1b.4S,J,7.1b])})})})}F f=y.1P(I('4b',G))+7.1b.4S;8(f>=4R){f=0}8(f<0){f=4R-1}7.1b.1A.1W(D(){$(1l).13().2N(2y('7b',G)).1N(f).3a(2y('7b',G))});H J});y.11(I('4O',G),D(e){F a=7.E.M,2E=y.13(),2m=5d($1n,7,'P');K.Q=2E.S;8(A.4r){7.3U=2m;7[7.d['P']]=4s(2m,A.4r)}O{7.3U=5e(7,2m)}8(7.2H){7.E.P=7.E.3M.P;7.E.1e=7.E.3M.1e;7=5g(7,2E,2m);a=7.E.M;5r(7,2E)}O 8(7.E.U.1d){a=32(2E,7,0)}O 8(7.E.1t!='*'){a=3W(2E,7,0)}8(!7.1U&&K.X!=0&&a>K.X){8(7.E.U.1d){F b=4D(2E,7,K.X)-K.X}O 8(7.E.1t!='*'){F b=7c(2E,7,K.X)-K.X}O{F b=7.E.M-K.X}18(G,'8j 8k-1U: 8l '+b+' E 5y.');y.T(I('14',G),b)}7.E.M=2x(a,7,7.E.U.2c,$12);7.E.U.20=7.E.M;7=5i(7,2E);F c=4Q(y,7);y.T(I('3H',G),[J,c]);4T(7,K.Q,G);3A(7,K.X,G);H c});y.11(I('4q',G),D(e,a){e.1g();1u=3u(1u);y.1q('57',L);y.T(I('5t',G));8(a){y.T(I('73',G))}4U(y.13());4U(y);z.5s();z.5P();8(G.3s=='36'){4U($1n)}O{$1n.8m(y)}H J});y.11(I('18',G),D(e){18(G,'3w P: '+7.P);18(G,'3w 1e: '+7.1e);18(G,'7d 8n: '+7.E.P);18(G,'7d 8o: '+7.E.1e);18(G,'4e 4f E M: '+7.E.M);8(7.N.1G){18(G,'4e 4f E 5Q 8p: '+7.N.E)}8(7.14.W){18(G,'4e 4f E 5Q 5y: '+7.14.E)}8(7.16.W){18(G,'4e 4f E 5Q 70: '+7.16.E)}H G.18});y.11('3o',D(e,n,o){e.1g();H y.1P(I(n,G),o)})};z.5s=D(){y.23(I('',G));y.23(I('',G,L));y.23('3o')};z.5N=D(){z.5P();4T(7,K.Q,G);3A(7,K.X,G);8(7.N.2F){F b=3N(7.N.2F);$1n.11(I('4V',G,L),D(){y.T(I('3b',G),b)}).11(I('4W',G,L),D(){y.T(I('3g',G))})}8(7.N.W){7.N.W.11(I(7.N.3L,G,L),D(e){e.2D();F a=L,b=3O;8(A.27){a='1G'}O 8(7.N.4X){a='3b';b=3N(7.N.4X)}8(a){y.T(I(a,G),b)}})}8(7.14.W){7.14.W.11(I(7.14.3L,G,L),D(e){e.2D();y.T(I('14',G))});8(7.14.2F){F b=3N(7.14.2F);7.14.W.11(I('4V',G,L),D(){y.T(I('3b',G),b)}).11(I('4W',G,L),D(){y.T(I('3g',G))})}}8(7.16.W){7.16.W.11(I(7.16.3L,G,L),D(e){e.2D();y.T(I('16',G))});8(7.16.2F){F b=3N(7.16.2F);7.16.W.11(I('4V',G,L),D(){y.T(I('3b',G),b)}).11(I('4W',G,L),D(){y.T(I('3g',G))})}}8(7.1b.1A){8(7.1b.2F){F b=3N(7.1b.2F);7.1b.1A.11(I('4V',G,L),D(){y.T(I('3b',G),b)}).11(I('4W',G,L),D(){y.T(I('3g',G))})}}8(7.14.2Y||7.16.2Y){$(4g).11(I('7e',G,L,J,J),D(e){F k=e.7f;8(k==7.16.2Y){e.2D();y.T(I('16',G))}8(k==7.14.2Y){e.2D();y.T(I('14',G))}})}8(7.1b.4Y){$(4g).11(I('7e',G,L,J,J),D(e){F k=e.7f;8(k>=49&&k<58){k=(k-49)*7.E.M;8(k<=K.Q){e.2D();y.T(I('3k',G),[k,0,J,7.1b])}}})}8($.1s.1r){F c='8q'8r 3l;8((c&&7.1r.4h)||(!c&&7.1r.5R)){F d=$.1L(J,{},7.14,7.1r),7g=$.1L(J,{},7.16,7.1r),5S=D(){y.T(I('14',G),[d])},5T=D(){y.T(I('16',G),[7g])};1F(7.2l){R'5c':R'7h':7.1r.2G.8s=5T;7.1r.2G.8t=5S;17;2J:7.1r.2G.8u=5T;7.1r.2G.8v=5S}8(A.1r){y.1r('4q')}$1n.1r(7.1r.2G);$1n.Z('7i','8w');A.1r=J}}8($.1s.1Q){8(7.1Q){F f=$.1L(J,{},7.14,7.1Q),7j=$.1L(J,{},7.16,7.1Q);8(A.1Q){$1n.23(I('1Q',G,L))}$1n.11(I('1Q',G,L),D(e,a){e.2D();8(a>0){y.T(I('14',G),[f])}O{y.T(I('16',G),[7j])}});A.1Q=J}}8(7.N.1G){y.T(I('1G',G),7.N.5U)}8(A.6v){F g=D(e){y.T(I('5t',G));8(7.N.5V&&!A.27){y.T(I('1G',G))}1Y(y.13(),7);y.T(I('4O',G))};F h=$(3l),4i=3O;8($.5W&&G.5X=='5W'){4i=$.5W(8x,g)}O 8($.4Z&&G.5X=='4Z'){4i=$.4Z(8y,g)}O{F i=0,5Y=0;4i=D(){F a=h.P(),5Z=h.1e();8(a!=i||5Z!=5Y){g();i=a;5Y=5Z}}}h.11(I('8z',G,L,J,J),4i)}};
22z.5P=D(){F a=I('',G),3P=I('',G,L);61=I('',G,L,J,J);$(4g).23(61);$(3l).23(61);$1n.23(3P);8(7.N.W){7.N.W.23(3P)}8(7.14.W){7.14.W.23(3P)}8(7.16.W){7.16.W.23(3P)}8(7.1b.1A){7.1b.1A.23(3P);8(7.1b.3K){7.1b.1A.13().2t()}}8(A.1r){y.1r('4q');$1n.Z('7i','2J');A.1r=L}8(A.1Q){A.1Q=L}4T(7,'4j',G);3A(7,'2N',G)};8(1k(w)){w={'18':w}}F A={'2l':'16','27':J,'26':L,'2d':L,'1Q':L,'1r':L},K={'Q':y.13().S,'X':0},1u={'N':3O,'1f':3O,'2L':2o(),'3v':0},V={'2d':L,'1M':0,'2L':0,'2u':'','1a':[]},2b={'3G':[],'3h':[]},2g=[],G=$.1L(J,{},$.1s.1v.7k,w),7={},31=$.1L(J,{},u),$1n=(G.3s=='36')?y.36():y.8A('<'+G.3s.55+' 8B=\"'+G.3s.7l+'\" />').36();G.4o=y.4o;G.3T=$.1s.1v.3T++;G.2Z=(G.2Z&&$.1s.2Z)?'2Z':'8C';z.59(31,J,56);z.6D();z.6L();z.5N();8(2V(7.E.3m)){F B=7.E.3m}O{F B=[];8(7.E.3m!=0){B.1c(7.E.3m)}}8(7.25){B.8D(4k(7m(7.25),10))}8(B.S>0){1j(F a=0,l=B.S;a<l;a++){F s=B[a];8(s==0){62}8(s===J){s=3l.8E.79;8(s.S<1){62}}O 8(s==='7n'){s=1H.4l(1H.7n()*K.Q)}8(y.1P(I('3k',G),[s,0,J,{1V:'42'}])){17}}}F C=4Q(y,7),7o=3I(y.13(),7);8(7.7p){7.7p.1h($12,{'P':C.P,'1e':C.1e,'E':7o})}y.T(I('3H',G),[J,C]);y.T(I('5L',G));8(G.18){y.T(I('18',G))}H y};$.1s.1v.3T=1;$.1s.1v.5b={'2n':L,'3z':J,'1U':J,'2H':L,'2l':'1m','E':{'3m':0},'1K':{'2u':'7q','1M':6y,'2F':L,'3L':'5O','2O':L}};$.1s.1v.7k={'18':L,'2Z':L,'5X':'4Z','3y':{'45':'','7r':'8F'},'3s':{'55':'8G','7l':'8H'},'63':{}};$.1s.1v.7s=D(a){H'<a 8I=\"#\"><7t>'+a+'</7t></a>'};$.1s.1v.7u=D(a){$(1l).Z('P',a+'%')};$.1s.1v.25={3F:D(n){n+='=';F b=4g.25.3Q(';');1j(F a=0,l=b.S;a<l;a++){F c=b[a];2h(c.8J(0)==' '){c=c.19(1)}8(c.3R(n)==0){H c.19(n.S)}}H 0},64:D(n,v,d){F e=\"\";8(d){F a=7v 7w();a.8K(a.2o()+(d*24*60*60*8L));e=\"; 8M=\"+a.8N()}4g.25=n+'='+v+e+'; 8O=/'},2t:D(n){$.1s.1v.25.64(n,\"\",-1)}};D 48(d,e,c){8(c.2Z=='2Z'){8(e=='7q'){e='8P'}}H{1a:[],1M:d,8Q:d,2u:e,2L:2o()}}D 3x(s,c){1j(F a=0,l=s.1a.S;a<l;a++){F b=s.1a[a];8(!b){62}b[0][c.2Z](b[1],s.1M,s.2u,b[2])}}D 43(s,c){8(!1k(c)){c=J}8(1T(s.4z)){43(s.4z,c)}1j(F a=0,l=s.1a.S;a<l;a++){F b=s.1a[a];b[0].6M(J);8(c){b[0].Z(b[1]);8(1o(b[2])){b[2]()}}}8(1T(s.4A)){43(s.4A,c)}}D 5F(a,b,o){8(b){b.2t()}1F(o.1V){R'1w':R'3j':R'1I-1w':R'22-1w':a.Z('1t','');a.Z('1E',1);17}}D 4a(d,o,b,a,c){8(o[b]){o[b].1h(d,a)}8(c[b].S){1j(F i=0,l=c[b].S;i<l;i++){c[b][i].1h(d,a)}}H[]}D 5G(a,q,c){8(q.S){a.T(I(q[0][0],c),q[0][1]);q.8R()}H q}D 5z(b){b.1W(D(){F a=$(1l);a.1q('7x',a.2f(':3t')).4j()})}D 5D(b){8(b){b.1W(D(){F a=$(1l);8(!a.1q('7x')){a.4m()}})}}D 3u(t){8(t.N){8S(t.N)}8(t.1f){8T(t.1f)}H t}D 5E(a,b,c,d,e,f,g){H{'P':g.P,'1e':g.1e,'E':{'20':a,'8U':b,'M':c},'1K':{'E':d,'2l':e,'1M':f}}}D 5B(a,o,b,c){F d=a.1M;8(a.1V=='42'){H 0}8(d=='N'){d=o.1K.1M/o.1K.E*b}O 8(d<10){d=c/d}8(d<1){H 0}8(a.1V=='1w'){d=d/2}H 1H.78(d)}D 4T(o,t,c){F a=(Y(o.E.4C))?o.E.4C:o.E.M+1;8(t=='4m'||t=='4j'){F f=t}O 8(a>t){18(c,'2p 6O E ('+t+' Q, '+a+' 6P): 8V 8W.');F f='4j'}O{F f='4m'}F s=(f=='4m')?'2N':'3a',h=2y('3t',c);8(o.N.W){o.N.W[f]()[s](h)}8(o.14.W){o.14.W[f]()[s](h)}8(o.16.W){o.16.W[f]()[s](h)}8(o.1b.1A){o.1b.1A[f]()[s](h)}}D 3A(o,f,c){8(o.1U||o.3z)H;F a=(f=='2N'||f=='3a')?f:L,51=2y('8X',c);8(o.N.W&&a){o.N.W[a](51)}8(o.14.W){F b=a||(f==0)?'3a':'2N';o.14.W[b](51)}8(o.16.W){F b=a||(f==o.E.M)?'3a':'2N';o.16.W[b](51)}}D 3S(a,b){8(1o(b)){b=b.1h(a)}O 8(1z(b)){b={}}H b}D 6l(a,b){b=3S(a,b);8(Y(b)){b={'M':b}}O 8(b=='1d'){b={'M':b,'P':b,'1e':b}}O 8(!1T(b)){b={}}H b}D 6m(a,b){b=3S(a,b);8(Y(b)){8(b<=50){b={'E':b}}O{b={'1M':b}}}O 8(1p(b)){b={'2u':b}}O 8(!1T(b)){b={}}H b}D 52(a,b){b=3S(a,b);8(1p(b)){F c=65(b);8(c==-1){b=$(b)}O{b=c}}H b}D 6n(a,b){b=52(a,b);8(2v(b)){b={'W':b}}O 8(1k(b)){b={'1G':b}}O 8(Y(b)){b={'2K':b}}8(b.1f){8(1p(b.1f)||2v(b.1f)){b.1f={'2q':b.1f}}}H b}D 6z(a,b){8(1o(b.W)){b.W=b.W.1h(a)}8(1p(b.W)){b.W=$(b.W)}8(!1k(b.1G)){b.1G=J}8(!Y(b.5U)){b.5U=0}8(1z(b.4X)){b.4X=J}8(!1k(b.5V)){b.5V=J}8(!Y(b.2K)){b.2K=(b.1M<10)?8Y:b.1M*5}8(b.1f){8(1o(b.1f.2q)){b.1f.2q=b.1f.2q.1h(a)}8(1p(b.1f.2q)){b.1f.2q=$(b.1f.2q)}8(b.1f.2q){8(!1o(b.1f.4B)){b.1f.4B=$.1s.1v.7u}8(!Y(b.1f.5u)){b.1f.5u=50}}O{b.1f=L}}H b}D 5a(a,b){b=52(a,b);8(2v(b)){b={'W':b}}O 8(Y(b)){b={'2Y':b}}H b}D 5j(a,b){8(1o(b.W)){b.W=b.W.1h(a)}8(1p(b.W)){b.W=$(b.W)}8(1p(b.2Y)){b.2Y=65(b.2Y)}H b}D 6o(a,b){b=52(a,b);8(2v(b)){b={'1A':b}}O 8(1k(b)){b={'4Y':b}}H b}D 6A(a,b){8(1o(b.1A)){b.1A=b.1A.1h(a)}8(1p(b.1A)){b.1A=$(b.1A)}8(!Y(b.E)){b.E=L}8(!1k(b.4Y)){b.4Y=L}
228(!1o(b.3K)&&!53(b.3K)){b.3K=$.1s.1v.7s}8(!Y(b.4S)){b.4S=0}H b}D 6p(a,b){8(1o(b)){b=b.1h(a)}8(1z(b)){b={'4h':L}}8(3p(b)){b={'4h':b}}O 8(Y(b)){b={'E':b}}H b}D 6B(a,b){8(!1k(b.4h)){b.4h=J}8(!1k(b.5R)){b.5R=L}8(!1T(b.2G)){b.2G={}}8(!1k(b.2G.7y)){b.2G.7y=L}H b}D 6q(a,b){8(1o(b)){b=b.1h(a)}8(3p(b)){b={}}O 8(Y(b)){b={'E':b}}O 8(1z(b)){b=L}H b}D 6C(a,b){H b}D 3J(a,b,c,d,e){8(1p(a)){a=$(a,e)}8(1T(a)){a=$(a,e)}8(2v(a)){a=e.13().7a(a);8(!1k(c)){c=L}}O{8(!1k(c)){c=J}}8(!Y(a)){a=0}8(!Y(b)){b=0}8(c){a+=d.X}a+=b;8(d.Q>0){2h(a>=d.Q){a-=d.Q}2h(a<0){a+=d.Q}}H a}D 4D(i,o,s){F t=0,x=0;1j(F a=s;a>=0;a--){F j=i.1N(a);t+=(j.2f(':M'))?j[o.d['2w']](J):0;8(t>o.3U){H x}8(a==0){a=i.S}x++}}D 7c(i,o,s){H 66(i,o.E.1t,o.E.U.4t,s)}D 6T(i,o,s,m){H 66(i,o.E.1t,m,s)}D 66(i,f,m,s){F t=0,x=0;1j(F a=s,l=i.S;a>=0;a--){x++;8(x==l){H x}F j=i.1N(a);8(j.2f(f)){t++;8(t==m){H x}}8(a==0){a=l}}}D 5x(a,o){H o.E.U.4t||a.13().19(0,o.E.M).1t(o.E.1t).S}D 32(i,o,s){F t=0,x=0;1j(F a=s,l=i.S-1;a<=l;a++){F j=i.1N(a);t+=(j.2f(':M'))?j[o.d['2w']](J):0;8(t>o.3U){H x}x++;8(x==l+1){H x}8(a==l){a=-1}}}D 5I(i,o,s,l){F v=32(i,o,s);8(!o.1U){8(s+v>l){v=l-s}}H v}D 3W(i,o,s){H 68(i,o.E.1t,o.E.U.4t,s,o.1U)}D 6Z(i,o,s,m){H 68(i,o.E.1t,m+1,s,o.1U)-1}D 68(i,f,m,s,c){F t=0,x=0;1j(F a=s,l=i.S-1;a<=l;a++){x++;8(x>=l){H x}F j=i.1N(a);8(j.2f(f)){t++;8(t==m){H x}}8(a==l){a=-1}}}D 3I(i,o){H i.19(0,o.E.M)}D 6V(i,o,n){H i.19(n,o.E.U.20+n)}D 6W(i,o){H i.19(0,o.E.M)}D 71(i,o){H i.19(0,o.E.U.20)}D 72(i,o,n){H i.19(n,o.E.M+n)}D 4x(i,o,d){8(o.1R){8(!1p(d)){d='2a'}i.1W(D(){F j=$(1l),m=4k(j.Z(o.d['1S']),10);8(!Y(m)){m=0}j.1q(d,m)})}}D 1Y(i,o,m){8(o.1R){F x=(1k(m))?m:L;8(!Y(m)){m=0}4x(i,o,'7z');i.1W(D(){F j=$(1l);j.Z(o.d['1S'],((x)?j.1q('7z'):m+j.1q('2a')))})}}D 41(i){i.1W(D(){F j=$(1l);j.1q('7A',j.7B('7C')||'')})}D 4U(i){i.1W(D(){F j=$(1l);j.7B('7C',j.1q('7A')||'')})}D 5r(o,b){F c=o.E.M,7D=o.E[o.d['P']],69=o[o.d['1e']],7E=3V(69);b.1W(D(){F a=$(1l),6a=7D-7F(a,o,'8Z');a[o.d['P']](6a);8(7E){a[o.d['1e']](4s(6a,69))}})}D 4Q(a,o){F b=a.36(),$i=a.13(),$v=3I($i,o),54=4I(4J($v,o,J),o,L);b.Z(54);8(o.1R){F p=o.1i,r=p[o.d[1]];8(o.1B&&r<0){r=0}F c=$v.2P();c.Z(o.d['1S'],c.1q('2a')+r);a.Z(o.d['3q'],p[o.d[0]]);a.Z(o.d['1m'],p[o.d[3]])}a.Z(o.d['P'],54[o.d['P']]+(2R($i,o,'P')*2));a.Z(o.d['1e'],6b($i,o,'1e'));H 54}D 4J(i,o,a){H[2R(i,o,'P',a),6b(i,o,'1e',a)]}D 6b(i,o,a,b){8(!1k(b)){b=L}8(Y(o[o.d[a]])&&b){H o[o.d[a]]}8(Y(o.E[o.d[a]])){H o.E[o.d[a]]}a=(a.6c().3R('P')>-1)?'2w':'3n';H 4n(i,o,a)}D 4n(i,o,b){F s=0;1j(F a=0,l=i.S;a<l;a++){F j=i.1N(a);F m=(j.2f(':M'))?j[o.d[b]](J):0;8(s<m){s=m}}H s}D 2R(i,o,b,c){8(!1k(c)){c=L}8(Y(o[o.d[b]])&&c){H o[o.d[b]]}8(Y(o.E[o.d[b]])){H o.E[o.d[b]]*i.S}F d=(b.6c().3R('P')>-1)?'2w':'3n',s=0;1j(F a=0,l=i.S;a<l;a++){F j=i.1N(a);s+=(j.2f(':M'))?j[o.d[d]](J):0}H s}D 5d(a,o,d){F b=a.2f(':M');8(b){a.4j()}F s=a.36()[o.d[d]]();8(b){a.4m()}H s}D 5e(o,a){H(Y(o[o.d['P']]))?o[o.d['P']]:a}D 6d(i,o,b){F s=L,v=L;1j(F a=0,l=i.S;a<l;a++){F j=i.1N(a);F c=(j.2f(':M'))?j[o.d[b]](J):0;8(s===L){s=c}O 8(s!=c){v=J}8(s==0){v=J}}H v}D 7F(i,o,d){H i[o.d['90'+d]](J)-i[o.d[d.6c()]]()}D 4s(s,o){8(3V(o)){o=4k(o.19(0,-1),10);8(!Y(o)){H s}s*=o/2I}H s}D I(n,c,a,b,d){8(!1k(a)){a=J}8(!1k(b)){b=J}8(!1k(d)){d=L}8(a){n=c.3y.45+n}8(b){n=n+'.'+c.3y.7r}8(b&&d){n+=c.3T}H n}D 2y(n,c){H(1p(c.63[n]))?c.63[n]:n}D 4I(a,o,p){8(!1k(p)){p=J}F b=(o.1R&&p)?o.1i:[0,0,0,0];F c={};c[o.d['P']]=a[0]+b[1]+b[3];c[o.d['1e']]=a[1]+b[0]+b[2];H c}D 3e(c,d){F e=[];1j(F a=0,7G=c.S;a<7G;a++){1j(F b=0,7H=d.S;b<7H;b++){8(d[b].3R(2X c[a])>-1&&1z(e[b])){e[b]=c[a];17}}}H e}D 6x(p){8(1z(p)){H[0,0,0,0]}8(Y(p)){H[p,p,p,p]}8(1p(p)){p=p.3Q('91').7I('').3Q('92').7I('').3Q(' ')}8(!2V(p)){H[0,0,0,0]}1j(F i=0;i<4;i++){p[i]=4k(p[i],10)}1F(p.S){R 0:H[0,0,0,0];R 1:H[p[0],p[0],p[0],p[0]];R 2:H[p[0],p[1],p[0],p[1]];R 3:H[p[0],p[1],p[2],p[1]];2J:H[p[0],p[1],p[2],p[3]]}}D 4H(a,o){F x=(Y(o[o.d['P']]))?1H.2z(o[o.d['P']]-2R(a,o,'P')):0;1F(o.1B){R'1m':H[0,x];R'35':H[x,0];R'5f':2J:H[1H.2z(x/2),1H.4l(x/2)]}}D 6r(o){F a=[['P','7J','2w','1e','7K','3n','1m','3q','1S',0,1,2,3],['1e','7K','3n','P','7J','2w','3q','1m','5p',3,2,1,0]];F b=a[0].S,7L=(o.2l=='35'||o.2l=='1m')?0:1;F c={};1j(F d=0;d<b;d++){c[a[0][d]]=a[7L][d]}H c}D 4E(x,o,a,b){F v=x;8(1o(a)){v=a.1h(b,v)}O 8(1p(a)){F p=a.3Q('+'),m=a.3Q('-');8(m.S>p.S){F c=J,6e=m[0],30=m[1]}O{F c=L,6e=p[0],30=p[1]}1F(6e){R'93':v=(x%2==1)?x-1:x;17;R'94':v=(x%2==0)?x-1:x;17;2J:v=x;17}30=4k(30,10);8(Y(30)){8(c){30=-30}v+=30}}8(!Y(v)||v<1){v=1}H v}D 2x(x,o,a,b){H 6f(4E(x,o,a,b),o.E.U)}D 6f(v,i){8(Y(i.34)&&v<i.34){v=i.34}8(Y(i.1X)&&v>i.1X){v=i.1X}8(v<1){v=1}H v}D 5k(s){8(!2V(s)){s=[[s]]}8(!2V(s[0])){s=[s]}1j(F j=0,l=s.S;j<l;j++){8(1p(s[j][0])){s[j][0]=$(s[j][0])}8(!1k(s[j][1])){s[j][1]=J}8(!1k(s[j][2])){s[j][2]=J}8(!Y(s[j][3])){s[j][3]=0}}H s}D 65(k){8(k=='35'){H 39}8(k=='1m'){H 37}8(k=='5c'){H 38}8(k=='7h'){H 40}H-1}D 5H(n,a,c){8(n){F v=a.1P(I('4p',c));$.1s.1v.25.64(n,v)}}D 7m(n){F c=$.1s.1v.25.3F(n);H(c=='')?0:c}D 6E(a,b){F c={};1j(F p=0,l=b.S;p<l;p++){c[b[p]]=a.Z(b[p])}H c}D 6s(a,b,c,d){8(!1T(a.U)){a.U={}}8(!1T(a.3M)){a.3M={}}8(a.3m==0&&Y(d)){a.3m=d}8(1T(a.M)){a.U.34=a.M.34;a.U.1X=a.M.1X;a.M=L}O 8(1p(a.M)){8(a.M=='1d'){a.U.1d=J}O{a.U.2c=a.M}a.M=L}O 8(1o(a.M)){a.U.2c=a.M;a.M=L}8(!1p(a.1t)){a.1t=(c.1t(':3t').S>0)?':M':'*'}8(!a[b.d['P']]){8(b.2H){18(J,'7M a '+b.d['P']+' 1j 75 E!');a[b.d['P']]=4n(c,b,'2w')}O{a[b.d['P']]=(6d(c,b,'2w'))?'1d':c[b.d['2w']](J)}}8(!a[b.d['1e']]){a[b.d['1e']]=(6d(c,b,'3n'))?'1d':c[b.d['3n']](J)}a.3M.P=a.P;a.3M.1e=a.1e;H a}D 6w(a,b){8(a.E[a.d['P']]=='1d'){a.E.U.1d=J}8(!a.E.U.1d){8(Y(a[a.d['P']])){a.E.M=1H.4l(a[a.d['P']]/a.E[a.d['P']])}O{a.E.M=1H.4l(b/a.E[a.d['P']]);a[a.d['P']]=a.E.M*a.E[a.d['P']];8(!a.E.U.2c){a.1B=L}}8(a.E.M=='95'||a.E.M<1){18(J,'2p a 5K 28 4f M E: 7M 46 \"1d\".');a.E.U.1d=J}}H a}D 6t(a,b,c){8(a=='N'){a=4n(c,b,'2w')}H a}D 6u(a,b,c){8(a=='N'){a=4n(c,b,'3n')}8(!a){a=b.E[b.d['1e']]}H a}D 5i(o,a){F p=4H(3I(a,o),o);o.1i[o.d[1]]=p[1];o.1i[o.d[3]]=p[0];H o}D 5g(o,a,b){F c=6f(1H.2z(o[o.d['P']]/o.E[o.d['P']]),o.E.U);8(c>a.S){c=a.S}F d=1H.4l(o[o.d['P']]/c);o.E.M=c;o.E[o.d['P']]=d;o[o.d['P']]=c*d;H o}D 3N(p){8(1p(p)){F i=(p.3R('96')>-1)?J:L,r=(p.3R('3g')>-1)?J:L}O{F i=r=L}H[i,r]}D 97(a){H(Y(a))?a:3O}D 6g(a){H(a===3O)}D 1z(a){H(6g(a)||2X a=='7N'||a===''||a==='7N')}D 2V(a){H(a 2W 98)}D 2v(a){H(a 2W 7O)}D 1T(a){H((a 2W 99||2X a=='2A')&&!6g(a)&&!2v(a)&&!2V(a))}D Y(a){H((a 2W 4e||2X a=='28')&&!9a(a))}D 1p(a){H((a 2W 9b||2X a=='2M')&&!1z(a)&&!3p(a)&&!53(a))}D 1o(a){H(a 2W 9c||2X a=='D')}D 1k(a){H(a 2W 9d||2X a=='3d'||3p(a)||53(a))}D 3p(a){H(a===J||a==='J')}D 53(a){H(a===L||a==='L')}D 3V(x){H(1p(x)&&x.19(-1)=='%')}D 2o(){H 7v 7w().2o()}D 3X(o,n){18(J,o+' 2f 9e, 9f 1j 9g 9h 9i 9j. 9k '+n+' 9l.')}D 18(d,m){8(!1z(3l.6h)&&!1z(3l.6h.7P)){8(1T(d)){F s=' ('+d.4o+')';d=d.18}O{F s=''}8(!d){H L}8(1p(m)){m='1v'+s+': '+m}O{m=['1v'+s+':',m]}3l.6h.7P(m)}H L}$.1L($.2u,{'9m':D(t){F a=t*t;H t*(-a*t+4*a-6*t+4)},'9n':D(t){H t*(4*t*t-9*t+6)},'9o':D(t){F a=t*t;H t*(33*a*a-9p*a*t+9q*a-67*t+15)}})})(7O);",62,585,"|||||||opts|if|||||||||||||||||||||||||||||||function|items|var|conf|return|cf_e|true|itms|false|visible|auto|else|width|total|case|length|trigger|visibleConf|scrl|button|first|is_number|css||bind|tt0|children|prev||next|break|debug|slice|anims|pagination|push|variable|height|progress|stopPropagation|call|padding|for|is_boolean|this|left|wrp|is_function|is_string|data|swipe|fn|filter|tmrs|carouFredSel|fade|_onafter|_moveitems|is_undefined|container|align|_s_paddingold|_s_paddingcur|op
22acity|switch|play|Math|cover|_position|scroll|extend|duration|eq|_a_wrapper|triggerHandler|mousewheel|usePadding|marginRight|is_object|circular|fx|each|max|sz_resetMargin|i_cur_l|old|i_old_l|uncover|unbind||cookie|isScrolling|isPaused|number|a_cfs|_cfs_origCssMargin|clbk|adjust|isStopped|stopImmediatePropagation|is|queu|while|i_new|w_siz|nr|direction|avail_primary|synchronise|getTime|Not|bar|i_new_l|a_cur|remove|easing|is_jquery|outerWidth|cf_getItemsAdjust|cf_c|ceil|object|pR|_s_paddingnew|preventDefault|a_itm|pauseOnHover|options|responsive|100|default|timeoutDuration|startTime|string|removeClass|queue|last|i_skp|ms_getTotalSize|a_old|a_lef|a_dur|is_array|instanceof|typeof|key|transition|adj|opts_orig|gn_getVisibleItemsNext||min|right|parent||||addClass|pause|perc|boolean|cf_sortParams|scrolling|resume|onAfter|i_old|crossfade|slideTo|window|start|outerHeight|_cfs_triggerEvent|is_true|top|position|wrapper|hidden|sc_clearTimers|timePassed|Carousel|sc_startScroll|events|infinite|nv_enableNavi|i_siz|i_siz_vis|_a_paddingold|_a_paddingcur|get|onBefore|updatePageStatus|gi_getCurrentItems|gn_getItemIndex|anchorBuilder|event|sizesConf|bt_pauseOnHoverConfig|null|ns2|split|indexOf|go_getObject|serialNumber|maxDimension|is_percentage|gn_getVisibleItemsNextFilter|deprecated|orgCSS|zIndex||sz_storeOrigCss|none|sc_stopScroll|dur2|prefix|to|appendTo|sc_setScroll||sc_fireCallbacks|currentPage|end|before|Number|of|document|onTouch|onResize|hide|parseInt|floor|show|ms_getTrueLargestSize|selector|currentPosition|destroy|primarySizePercentage|ms_getPercentage|org|onTimeoutStart|onTimeoutPause|onTimeoutEnd|sz_storeMargin|stopped|pre|post|updater|minimum|gn_getVisibleItemsPrev|cf_getAdjust|onEnd|clone|cf_getAlignPadding|cf_mapWrapperSizes|ms_getSizes|a_wsz|a_new|not|a_cfs_vis|updateSizes|eval|sz_setSizes|pgs|deviation|nv_showNavi|sz_restoreOrigCss|mouseenter|mouseleave|pauseOnEvent|keys|throttle||di|go_getNaviObject|is_false|sz|element|starting_position|_cfs_isCarousel||_cfs_init|go_getPrevNextObject|defaults|up|ms_getParentSize|ms_getMaxDimension|center|in_getResponsiveValues|bottom|in_getAlignPadding|go_complementPrevNextObject|cf_getSynchArr|onPauseStart|onPausePause|onPauseEnd|pauseDuration|marginBottom|newPosition|sz_setResponsiveSizes|_cfs_unbind_events|finish|interval|type|conditions|gn_getVisibleOrg|backward|sc_hideHiddenItems|a_lef_vis|sc_getDuration|_a_paddingnew|sc_showHiddenItems|sc_mapCallbackArguments|sc_afterScroll|sc_fireQueue|cf_setCookie|gn_getVisibleItemsNextTestCircular|slideToPage|valid|linkAnchors|value|_cfs_bind_buttons|click|_cfs_unbind_buttons|scrolled|onMouse|swP|swN|delay|pauseOnResize|debounce|onWindowResize|_windowHeight|nh||ns3|continue|classnames|set|cf_getKeyCode|gn_getItemsPrevFilter||gn_getItemsNextFilter|seco|nw|ms_getLargestSize|toLowerCase|ms_hasVariableSizes|sta|cf_getItemAdjustMinMax|is_null|console|caroufredsel|No|found|go_getItemsObject|go_getScrollObject|go_getAutoObject|go_getPaginationObject|go_getSwipeObject|go_getMousewheelObject|cf_getDimensions|in_complementItems|in_complementPrimarySize|in_complementSecondarySize|upDateOnWindowResize|in_complementVisibleItems|cf_getPadding|500|go_complementAutoObject|go_complementPaginationObject|go_complementSwipeObject|go_complementMousewheelObject|_cfs_build|in_mapCss|textAlign|float|marginTop|marginLeft|absolute|_cfs_origCssZindex|_cfs_bind_events|stop|paused|enough|needed|page|slide_|configuration|gn_getScrollItemsPrevFilter|Scrolling|gi_getOldItemsPrev|gi_getNewItemsPrev|directscroll|concat|gn_getScrollItemsNextFilter|forward|gi_getOldItemsNext|gi_getNewItemsNext|jumpToStart|after|the|append|removeItem|round|hash|index|selected|gn_getVisibleItemsPrevFilter|Item|keyup|keyCode|scN|down|cursor|mcN|configs|classname|cf_getCookie|random|itm|onCreate|swing|namespace|pageAnchorBuilder|span|progressbarUpdater|new|Date|_cfs_isHidden|triggerOnTouchEnd|_cfs_tempCssMargin|_cfs_origCss|attr|style|newS|secp|ms_getPaddingBorderMargin|l1|l2|join|innerWidth|innerHeight|dx|Set|undefined|jQuery|log|caroufredsel_cookie_|relative|fixed|overflow|setInterval|setTimeout|or|Callback|returned|Page|resumed|currently|slide_prev|prependTo|slide_next|prevPage|nextPage|prepend|carousel|insertItem|Correct|insert|Appending|item|add|detach|currentVisible|body|find|Preventing|non|sliding|replaceWith|widths|heights|automatically|ontouchstart|in|swipeUp|swipeDown|swipeLeft|swipeRight|move|200|300|resize|wrap|class|animate|unshift|location|cfs|div|caroufredsel_wrapper|href|charAt|setTime|1000|expires|toGMTString|path|ease|orgDuration|shift|clearTimeout|clearInterval|skipped|Hiding|navigation|disabled|2500|Width|outer|px|em|even|odd|Infinity|immediate|bt_mousesheelNumber|Array|Object|isNaN|String|Function|Boolean|DEPRECATED|support|it|will|be|removed|Use|instead|quadratic|cubic|elastic|106|126".split("|"),0,{})), 23function(t){function e(e){return!e||void 0!==e.allowPageScroll||void 0===e.swipe&&void 0===e.swipeStatus||(e.allowPageScroll=s),e||(e={}),e=t.extend({},t.fn.swipe.defaults,e),this.each((function(){var n=t(this),o=n.data(v);o||(o=new i(this,e),n.data(v,o))}))}function i(e,i){function b(t){var t=t.originalEvent,e,n=g?t.touches[0]:t;if(G=p,g?B=t.touches.length:t.preventDefault(),z=0,N=null,L=0,g&&B!==i.fingers&&i.fingers!==u?x(t):(D=k=n.pageX,A=_=n.pageY,R=(new Date).getTime(),i.swipeStatus&&(e=C(t,G))),!1===e)return C(t,G=m),e;j.bind(O,y),j.bind(H,w)}function y(t){if(t=t.originalEvent,G!==h&&G!==m){var e,p=g?t.touches[0]:t;k=p.pageX,_=p.pageY,$=(new Date).getTime(),N=T(),g&&(B=t.touches.length),G=f;var p=t,v=N;if(i.allowPageScroll===s)p.preventDefault();else{var b=i.allowPageScroll===l;switch(v){case n:(i.swipeLeft&&b||!b&&i.allowPageScroll!=c)&&p.preventDefault();break;case o:(i.swipeRight&&b||!b&&i.allowPageScroll!=c)&&p.preventDefault();break;case r:(i.swipeUp&&b||!b&&i.allowPageScroll!=d)&&p.preventDefault();break;case a:(i.swipeDown&&b||!b&&i.allowPageScroll!=d)&&p.preventDefault()}}B!==i.fingers&&i.fingers!==u&&g?C(t,G=m):(z=E(),L=$-R,i.swipeStatus&&(e=C(t,G,N,z,L)),i.triggerOnTouchEnd||(p=!(!i.maxTimeThreshold||!(L>=i.maxTimeThreshold)),!0===S()?e=C(t,G=h):p&&C(t,G=m))),!1===e&&C(t,G=m)}}function w(t){if((t=t.originalEvent).preventDefault(),$=(new Date).getTime(),z=E(),N=T(),L=$-R,i.triggerOnTouchEnd||!1===i.triggerOnTouchEnd&&G===f)if(G=h,B!==i.fingers&&i.fingers!==u&&g||0===k)C(t,G=m);else{var e=!(!i.maxTimeThreshold||!(L>=i.maxTimeThreshold));!0!==S()&&null!==S()||e?(e||!1===S())&&C(t,G=m):C(t,G)}else G===f&&C(t,G=m);
23j.unbind(O,y,!1),j.unbind(H,w,!1)}function x(){R=$=_=k=A=D=B=0}function C(t,e){var s=void 0;if(i.swipeStatus&&(s=i.swipeStatus.call(j,t,e,N||null,z||0,L||0,B)),e!==m||!i.click||1!==B&&g||!isNaN(z)&&0!==z||(s=i.click.call(j,t,t.target)),e==h)switch(i.swipe&&(s=i.swipe.call(j,t,N,z,L,B)),N){case n:i.swipeLeft&&(s=i.swipeLeft.call(j,t,N,z,L,B));break;case o:i.swipeRight&&(s=i.swipeRight.call(j,t,N,z,L,B));break;case r:i.swipeUp&&(s=i.swipeUp.call(j,t,N,z,L,B));break;case a:i.swipeDown&&(s=i.swipeDown.call(j,t,N,z,L,B))}return(e===m||e===h)&&x(t),s}function S(){return null!==i.threshold?z>=i.threshold:null}function E(){return Math.round(Math.sqrt(Math.pow(k-D,2)+Math.pow(_-A,2)))}function T(){var t;return t=Math.atan2(_-A,D-k),0>(t=Math.round(180*t/Math.PI))&&(t=360-Math.abs(t)),45>=t&&0<=t||360>=t&&315<=t?n:135<=t&&225>=t?o:45<t&&135>t?a:r}function I(){j.unbind(M,b),j.unbind(F,x),j.unbind(O,y),j.unbind(H,w)}var k,_,D,A,P=g||!i.fallbackToMouseEvents,M=P?"touchstart":"mousedown",O=P?"touchmove":"mousemove",H=P?"touchend":"mouseup",F="touchcancel",z=0,N=null,L=0,j=t(e),G="start",B=0,R=_=k=A=D=0,$=0;try{j.bind(M,b),j.bind(F,x)}catch(e){t.error("events not supported "+M+","+F+" on jQuery.swipe")}this.enable=function(){return j.bind(M,b),j.bind(F,x),j},this.disable=function(){return I(),j},this.destroy=function(){return I(),j.data(v,null),j}}var n="left",o="right",r="up",a="down",s="none",l="auto",c="horizontal",d="vertical",u="all",p="start",f="move",h="end",m="cancel",g="ontouchstart"in window,v="TouchSwipe";t.fn.swipe=function(i){var n=t(this),o=n.data(v);if(o&&"string"==typeof i){if(o[i])return o[i].apply(this,Array.prototype.slice.call(arguments,1));t.error("Method "+i+" does not exist on jQuery.swipe")}else if(!(o||"object"!=typeof i&&i))return e.apply(this,arguments);return n},t.fn.swipe.defaults={fingers:1,threshold:75,maxTimeThreshold:null,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,click:null,triggerOnTouchEnd:!0,allowPageScroll:"auto",fallbackToMouseEvents:!0},t.fn.swipe.phases={PHASE_START:p,PHASE_MOVE:f,PHASE_END:h,PHASE_CANCEL:m},t.fn.swipe.directions={LEFT:n,RIGHT:o,UP:r,DOWN:a},t.fn.swipe.pageScroll={NONE:s,HORIZONTAL:c,VERTICAL:d,AUTO:l},t.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:u}}(jQuery);var getElementsByClassName=function(t,e,i){return(getElementsByClassName=document.getElementsByClassName?function(t,e,i){for(var n=(i=i||document).getElementsByClassName(t),o=e?new RegExp("\\b"+e+"\\b","i"):null,r=[],a,s=0,l=n.length;s<l;s+=1)a=n[s],o&&!o.test(a.nodeName)||r.push(a);return r}:document.evaluate?function(t,e,i){e=e||"*",i=i||document;for(var n=t.split(" "),o="",r="http://www.w3.org/1999/xhtml",a=document.documentElement.namespaceURI===r?r:null,s=[],l,c,d=0,u=n.length;d<u;d+=1)o+="[contains(concat(' ', @class, ' '), ' "+n[d]+" ')]";try{l=document.evaluate(".//"+e+o,i,a,0,null)}catch(t){l=document.evaluate(".//"+e+o,i,null,0,null)}for(;c=l.iterateNext();)s.push(c);return s}:function(t,e,i){e=e||"*",i=i||document;for(var n=t.split(" "),o=[],r="*"===e&&i.all?i.all:i.getElementsByTagName(e),a,s=[],l,c=0,d=n.length;c<d;c+=1)o.push(new RegExp("(^|\\s)"+n[c]+"(\\s|$)"));for(var u=0,p=r.length;u<p;u+=1){a=r[u],l=!1;for(var f=0,h=o.length;f<h&&(l=o[f].test(a.className));f+=1);l&&s.push(a)}return s})(t,e,i)};addLoadEvent((function(){processFilters()})),function(t,i,n,o){function r(e,i){this.element=e,this.options=t.extend(!0,{},l,i),this.options.share=i.share,this._defaults=l,this._name=a,this.init()}var a="sharrre",l={className:"sharrre",share:{googlePlus:!1,facebook:!1,twitter:!1,digg:!1,delicious:!1,stumbleupon:!1,linkedin:!1,pinterest:!1},shareTotal:0,template:"",title:"",url:n.location.href,text:n.title,urlCurl:theme_options.sharre_dir_prk+"/inc/modules/sharrre/sharrre.php",count:{},total:0,shorterTotal:!0,enableHover:!0,enableCounter:!0,enableTracking:!1,hover:function(){},hide:function(){},click:function(){},render:function(){},buttons:{googlePlus:{url:"",urlCount:!1,size:"medium",lang:"en-US",annotation:""},facebook:{url:"",urlCount:!1,action:"like",layout:"button_count",width:"",send:"false",faces:"false",colorscheme:"",font:"",lang:"en_US"},twitter:{url:"",urlCount:!1,count:"horizontal",hashtags:"",via:"",related:"",lang:"en"},digg:{url:"",urlCount:!1,type:"DiggCompact"},delicious:{url:"",urlCount:!1,size:"medium"},stumbleupon:{url:"",urlCount:!1,layout:"1"},linkedin:{url:"",urlCount:!1,counter:""},pinterest:{url:"",media:"",description:"",layout:"horizontal"}}},c={googlePlus:"",facebook:"https://graph.facebook.com/fql?q=SELECT%20url,%20normalized_url,%20share_count,%20like_count,%20comment_count,%20total_count,commentsbox_count,%20comments_fbid,%20click_count%20FROM%20link_stat%20WHERE%20url=%27{url}%27&callback=?",twitter:"https://cdn.api.twitter.com/1/urls/count.json?url={url}&callback=?",digg:"https://services.digg.com/2.0/story.getInfo?links={url}&type=javascript&callback=?",delicious:"https://feeds.delicious.com/v2/json/urlinfo/data?url={url}&callback=?",stumbleupon:"",linkedin:"https://www.linkedin.com/countserv/count/share?format=jsonp&url={url}&callback=?",pinterest:""},d={googlePlus:function(e){var o=e.options.buttons.googlePlus;t(e.element).find(".buttons").append('<div class="button googleplus"><div class="g-plusone" data-size="'+o.size+'" data-href="'+(""!==o.url?o.url:e.options.url)+'" data-annotation="'+o.annotation+'"></div></div>'),i.___gcfg={lang:e.options.buttons.googlePlus.lang};var r=0;"undefined"==typeof gapi&&0==r?(r=1,function(){var t=n.createElement("script");t.type="text/javascript",t.async=!0,t.src="//apis.google.com/js/plusone.js";var e=n.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}()):gapi.plusone.go()},facebook:function(e){var i=e.options.buttons.facebook;t(e.element).find(".buttons").append('<div class="button facebook"><div id="fb-root"></div><div class="fb-like" data-href="'+(""!==i.url?i.url:e.options.url)+'" data-send="'+i.send+'" data-layout="'+i.layout+'" data-width="'+i.width+'" data-show-faces="'+i.faces+'" data-action="'+i.action+'" data-colorscheme="'+i.colorscheme+'" data-font="'+i.font+'" data-via="'+i.via+'"></div></div>');var o=0;"undefined"==typeof FB&&0==o?(o=1,function(t,e,n){var o,r=t.getElementsByTagName(e)[0];t.getElementById(n)||((o=t.createElement(e)).id=n,o.src="//connect.facebook.net/"+i.lang+"/all.js#xfbml=1",r.parentNode.insertBefore(o,r))}(n,"script","facebook-jssdk")):FB.XFBML.parse()},twitter:function(e){var i=e.options.buttons.twitter;t(e.element).find(".buttons").append('<div class="button twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="'+(""!==i.url?i.url:e.options.url)+'" data-count="'+i.count+'" data-text="'+e.options.text+'" data-via="'+i.via+'" data-hashtags="'+i.hashtags+'" data-related="'+i.related+'" data-lang="'+i.lang+'">Tweet</a></div>');var o=0;"undefined"==typeof twttr&&0==o?(o=1,function(){var t=n.createElement("script");t.type="text/javascript",t.async=!0,t.src="//platform.twitter.com/widgets.js";var e=n.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}()):t.ajax({url:"//platform.twitter.com/widgets.js",dataType:"script",cache:!0})},digg:function(e){var i=e.options.buttons.digg;t(e.element).find(".buttons").append('<div class="button digg"><a class="DiggThisButton '+i.type+'" rel="nofollow external" href="http://digg.com/submit?url='+encodeURIComponent(""!==i.url?i.url:e.options.url)+'"></a></div>');var o=0;"undefined"==typeof __DBW&&0==o&&(o=1,function(){var t=n.createElement("SCRIPT"),e=n.getElementsByTagName("SCRIPT")[0];t.type="text/javascript",t.async=!0,t.src="//widgets.digg.com/buttons.js",e.parentNode.insertBefore(t,e)}())},delicious:function(e){if("tall"==e.options.buttons.delicious.size)var i="width:50px;",n="height:35px;width:50px;font-size:15px;line-height:35px;",o="height:18px;line-height:18px;margin-top:3px;";else var i="width:93px;",n="float:right;padding:0 3px;
23height:20px;width:26px;line-height:20px;",o="float:left;height:20px;line-height:20px;";var r=e.shorterTotal(e.options.count.delicious);void 0===r&&(r=0),t(e.element).find(".buttons").append('<div class="button delicious"><div style="'+i+'font:12px Arial,Helvetica,sans-serif;cursor:pointer;color:#666666;display:inline-block;float:none;height:20px;line-height:normal;margin:0;padding:0;text-indent:0;vertical-align:baseline;"><div style="'+n+'background-color:#fff;margin-bottom:5px;overflow:hidden;text-align:center;border:1px solid #ccc;border-radius:3px;">'+r+'</div><div style="'+o+'display:block;padding:0;text-align:center;text-decoration:none;width:50px;background-color:#7EACEE;border:1px solid #40679C;border-radius:3px;color:#fff;"><img src="http://www.delicious.com/static/img/delicious.small.gif" height="10" width="10" alt="Delicious" /> Add</div></div></div>'),t(e.element).find(".delicious").on("click",(function(){e.openPopup("delicious")}))},stumbleupon:function(e){var o=e.options.buttons.stumbleupon;t(e.element).find(".buttons").append('<div class="button stumbleupon"><su:badge layout="'+o.layout+'" location="'+(""!==o.url?o.url:e.options.url)+'"></su:badge></div>');var r=0;"undefined"==typeof STMBLPN&&0==r?(r=1,function(){var t=n.createElement("script");t.type="text/javascript",t.async=!0,t.src="//platform.stumbleupon.com/1/widgets.js";var e=n.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}(),s=i.setTimeout((function(){"undefined"!=typeof STMBLPN&&(STMBLPN.processWidgets(),clearInterval(s))}),500)):STMBLPN.processWidgets()},linkedin:function(e){var o=e.options.buttons.linkedin;t(e.element).find(".buttons").append('<div class="button linkedin"><script type="in/share" data-url="'+(""!==o.url?o.url:e.options.url)+'" data-counter="'+o.counter+'"><\/script></div>');var r=0;void 0===i.IN&&0==r?(r=1,function(){var t=n.createElement("script");t.type="text/javascript",t.async=!0,t.src="//platform.linkedin.com/in.js";var e=n.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}()):i.IN.init()},pinterest:function(e){var i=e.options.buttons.pinterest;t(e.element).find(".buttons").append('<div class="button pinterest"><a href="http://pinterest.com/pin/create/button/?url='+(""!==i.url?i.url:e.options.url)+"&media="+i.media+"&description="+i.description+'" class="pin-it-button" count-layout="'+i.layout+'">Pin It</a></div>'),function(){var t=n.createElement("script");t.type="text/javascript",t.async=!0,t.src="//assets.pinterest.com/js/pinit.js";var e=n.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}()}},u={googlePlus:function(){},facebook:function(){fb=i.setInterval((function(){"undefined"!=typeof FB&&(FB.Event.subscribe("edge.create",(function(t){_gaq.push(["_trackSocial","facebook","like",t])})),FB.Event.subscribe("edge.remove",(function(t){_gaq.push(["_trackSocial","facebook","unlike",t])})),FB.Event.subscribe("message.send",(function(t){_gaq.push(["_trackSocial","facebook","send",t])})),clearInterval(fb))}),1e3)},twitter:function(){tw=i.setInterval((function(){"undefined"!=typeof twttr&&(twttr.events.bind("tweet",(function(t){t&&_gaq.push(["_trackSocial","twitter","tweet"])})),clearInterval(tw))}),1e3)},digg:function(){},delicious:function(){},stumbleupon:function(){},linkedin:function(){function t(){_gaq.push(["_trackSocial","linkedin","share"])}},pinterest:function(){}},p={googlePlus:function(t){i.open("https://plus.google.com/share?hl="+t.buttons.googlePlus.lang+"&url="+encodeURIComponent(""!==t.buttons.googlePlus.url?t.buttons.googlePlus.url:t.url),"","toolbar=0, status=0, width=900, height=500")},facebook:function(t){i.open("http://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(""!==t.buttons.facebook.url?t.buttons.facebook.url:t.url)+"&t="+t.text,"","toolbar=0, status=0, width=900, height=500")},twitter:function(t){i.open("https://twitter.com/intent/tweet?text="+encodeURIComponent(t.text)+"&url="+encodeURIComponent(""!==t.buttons.twitter.url?t.buttons.twitter.url:t.url)+(""!==t.buttons.twitter.via?"&via="+t.buttons.twitter.via:""),"","toolbar=0, status=0, width=650, height=360")},digg:function(t){i.open("http://digg.com/tools/diggthis/submit?url="+encodeURIComponent(""!==t.buttons.digg.url?t.buttons.digg.url:t.url)+"&title="+t.text+"&related=true&style=true","","toolbar=0, status=0, width=650, height=360")},delicious:function(t){i.open("http://www.delicious.com/save?v=5&noui&jump=close&url="+encodeURIComponent(""!==t.buttons.delicious.url?t.buttons.delicious.url:t.url)+"&title="+t.text,"delicious","toolbar=no,width=550,height=550")},stumbleupon:function(t){i.open("http://www.stumbleupon.com/badge/?url="+encodeURIComponent(""!==t.buttons.delicious.url?t.buttons.delicious.url:t.url),"stumbleupon","toolbar=no,width=550,height=550")},linkedin:function(t){i.open("https://www.linkedin.com/cws/share?url="+encodeURIComponent(""!==t.buttons.delicious.url?t.buttons.delicious.url:t.url)+"&token=&isFramed=true","linkedin","toolbar=no,width=550,height=550")},pinterest:function(e){i.open("http://pinterest.com/pin/create/button/?url="+encodeURIComponent(""!==e.buttons.pinterest.url?e.buttons.pinterest.url:e.url)+"&media="+t("#prk_pint").attr("data-media")+"&description="+e.buttons.pinterest.description,"pinterest","toolbar=no,width=700,height=300")}};r.prototype.init=function(){var e=this;this.options.urlCurl,t(this.element).addClass(this.options.className),void 0!==t(this.element).data("title")&&(this.options.title=t(this.element).attr("data-title")),void 0!==t(this.element).data("url")&&(this.options.url=t(this.element).data("url")),void 0!==t(this.element).data("text")&&(this.options.text=t(this.element).data("text")),t.each(this.options.share,(function(t,i){!0===i&&e.options.shareTotal++})),!0===e.options.enableCounter?t.each(this.options.share,(function(t,i){if(!0===i)try{e.getSocialJson(t)}catch(t){}})):""!==e.options.template?this.options.render(this,this.options):this.loadButtons(),t(this.element).hover((function(){0===t(this).find(".buttons").length&&!0===e.options.enableHover&&e.loadButtons(),e.o
23ptions.hover(e,e.options)}),(function(){e.options.hide(e,e.options)})),t(this.element).click((function(){return e.options.click(e,e.options),!1}))},r.prototype.loadButtons=function(){var e=this;t(this.element).append('<div class="buttons"></div>'),t.each(e.options.share,(function(t,i){1==i&&(d[t](e),!0===e.options.enableTracking&&u[t]())}))},r.prototype.getSocialJson=function(t){var e=this,i=0,n=c[t].replace("{url}",encodeURIComponent(this.options.url));e.renderer(),e.options.count[t]=0,e.rendererPerso()},r.prototype.rendererPerso=function(){var t=0;for(e in this.options.count)t++;t===this.options.shareTotal&&this.options.render(this,this.options)},r.prototype.renderer=function(){var e=this.options.total,i=this.options.template;!0===this.options.shorterTotal&&(e=this.shorterTotal(e)),""!==i?(i=i.replace("{total}",e),t(this.element).html(i)):t(this.element).html('<div class="box"><a class="count" href="#">'+e+"</a>"+(""!==this.options.title?'<a class="share" href="#">'+this.options.title+"</a>":"")+"</div>")},r.prototype.shorterTotal=function(t){return t>=1e6?t=(t/1e6).toFixed(2)+"M":t>=1e3&&(t=(t/1e3).toFixed(1)+"k"),t},r.prototype.openPopup=function(t){if(p[t](this.options),!0===this.options.enableTracking){var e={googlePlus:{site:"Google",action:"+1"},facebook:{site:"facebook",action:"like"},twitter:{site:"twitter",action:"tweet"},digg:{site:"digg",action:"add"},delicious:{site:"delicious",action:"add"},stumbleupon:{site:"stumbleupon",action:"add"},linkedin:{site:"linkedin",action:"share"},pinterest:{site:"pinterest",action:"pin"}};_gaq.push(["_trackSocial",e[t].site,e[t].action])}},r.prototype.simulateClick=function(){var e=t(this.element).html();t(this.element).html(e.replace(this.options.total,this.options.total+1))},r.prototype.update=function(t,e){""!==t&&(this.options.url=t),""!==e&&(this.options.text=e)},t.fn.sharrre=function(e){var i=arguments;return e===o||"object"==typeof e?this.each((function(){t.data(this,"plugin_sharrre")||t.data(this,"plugin_sharrre",new r(this,e))})):"string"==typeof e&&"_"!==e[0]&&"init"!==e?this.each((function(){var n=t.data(this,"plugin_sharrre");n instanceof r&&"function"==typeof n[e]&&n[e].apply(n,Array.prototype.slice.call(i,1))})):void 0}}(jQuery,window,document), 24/*! 25 * jQuery Cookie Plugin v1.3.1 26 * https://github.com/carhartl/jquery-cookie 27 * 28 * Copyright 2013 Klaus Hartl 29 * Released under the MIT license 30 */ 31function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}((function(t){function e(t){return t}function i(t){return decodeURIComponent(t.replace(o," "))}function n(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return r.json?JSON.parse(t):t}catch(t){}}var o=/\+/g,r=t.cookie=function(o,a,s){if(void 0!==a){if("number"==typeof(s=t.extend({},r.defaults,s)).expires){var l=s.expires,c=s.expires=new Date;c.setDate(c.getDate()+l)}return a=r.json?JSON.stringify(a):String(a),document.cookie=[r.raw?o:encodeURIComponent(o),"=",r.raw?a:encodeURIComponent(a),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":""].join("")}for(var d=r.raw?e:i,u=document.cookie.split("; "),p=o?void 0:{},f=0,h=u.length;f<h;f++){var m=u[f].split("="),g=d(m.shift()),v=d(m.join("="));if(o&&o===g){p=n(v);break}o||(p[g]=n(v))}return p};r.defaults={},t.removeCookie=function(e,i){return void 0!==t.cookie(e)&&(t.cookie(e,"",t.extend({},i,{expires:-1})),!0)}})),function(t){t.fn.hoverIntent=function(e,i){var n={sensitivity:7,interval:100,timeout:0},o,r,a,s;n=t.extend(n,i?{over:e,out:i}:e);var l=function(t){o=t.pageX,r=t.pageY},c=function(e,i){if(i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.abs(a-o)+Math.abs(s-r)<n.sensitivity)return t(i).unbind("mousemove",l),i.hoverIntent_s=1,n.over.apply(i,[e]);a=o,s=r,i.hoverIntent_t=setTimeout((function(){c(e,i)}),n.interval)},d=function(t,e){return e.hoverIntent_t=clearTimeout(e.hoverIntent_t),e.hoverIntent_s=0,n.out.apply(e,[t])},u=function(e){for(var i=("mouseover"==e.type?e.fromElement:e.toElement)||e.relatedTarget;i&&i!=this;)try{i=i.parentNode}catch(e){i=this}if(i==this)return!1;var o=jQuery.extend({},e),r=this;r.hoverIntent_t&&(r.hoverIntent_t=clearTimeout(r.hoverIntent_t)),"mouseover"==e.type?(a=o.pageX,s=o.pageY,t(r).bind("mousemove",l),1!=r.hoverIntent_s&&(r.hoverIntent_t=setTimeout((function(){c(o,r)}),n.interval))):(t(r).unbind("mousemove",l),1==r.hoverIntent_s&&(r.hoverIntent_t=setTimeout((function(){d(o,r)}),n.timeout)))};
31return this.mouseover(u).mouseout(u)}}(jQuery),function(t){t.fn.superfish=function(e){var i=t.fn.superfish,n=i.c,o=t(['<span class="',n.arrowClass,'"> »</span>'].join("")),r=function(){var e=t(this),i=s(e);clearTimeout(i.sfTimer),e.showSuperfishUl().siblings().hideSuperfishUl()},a=function(){var e=t(this),n=s(e),o=i.op;clearTimeout(n.sfTimer),n.sfTimer=setTimeout((function(){o.retainPath=t.inArray(e[0],o.$path)>-1,e.hideSuperfishUl(),o.$path.length&&e.parents(["li.",o.hoverClass].join("")).length<1&&r.call(o.$path)}),o.delay)},s=function(t){var e=t.parents(["ul.",n.menuClass,":first"].join(""))[0];return i.op=i.o[e.serial],e},l=function(t){t.addClass(n.anchorClass).append(o.clone())};return this.each((function(){var o=this.serial=i.o.length,s=t.extend({},i.defaults,e);s.$path=t("li."+s.pathClass,this).slice(0,s.pathLevels).each((function(){t(this).addClass([s.hoverClass,n.bcClass].join(" ")).filter("li:has(ul)").removeClass(s.pathClass)})),i.o[o]=i.op=s,t("li:has(ul)",this)[t.fn.hoverIntent&&!s.disableHI?"hoverIntent":"hover"](r,a).each((function(){s.autoArrows&&l(t(">a:first-child",this))})).not("."+n.bcClass).hideSuperfishUl();var c=t("a",this);c.each((function(t){var e=c.eq(t).parents("li");c.eq(t).focus((function(){r.call(e)})).blur((function(){a.call(e)}))})),s.onInit.call(this)})).each((function(){var e=[n.menuClass];t(this).addClass(e.join(" "))}))};var e=t.fn.superfish;e.o=[],e.op={},e.IE7fix=function(){var t=e.op},e.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"},e.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:!0,dropShadows:!0,disableHI:!1,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}},t.fn.extend({hideSuperfishUl:function(){var i=e.op,n=!0===i.retainPath?i.$path:"";i.retainPath=!1;var o=t(["li.",i.hoverClass].join(""),this).add(this).not(n).removeClass(i.hoverClass).find(">ul").hide().css("visibility","hidden");return i.onHide.call(o),this},showSuperfishUl:function(){var t=e.op,i=e.c.shadowClass+"-off",n=this.addClass(t.hoverClass).find(">ul:hidden").css("visibility","visible");return e.IE7fix.call(n),t.onBeforeShow.call(n),n.animate(t.animation,t.speed,(function(){e.IE7fix.call(n),t.onShow.call(n)})),this}})}(jQuery),function(t){t.fn.supersubs=function(e){var i=t.extend({},t.fn.supersubs.defaults,e);return this.each((function(){var e=t(this),n=t.meta?t.extend({},i,e.data()):i,o=t('<li id="menu-fontsize">—</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(e).width();t("#menu-fontsize").remove(),$ULs=e.find("ul"),$ULs.each((function(e){var i=$ULs.eq(e),r=i.children(),a=r.children("a"),s=r.css("white-space","nowrap").css("float"),l=i.add(r).add(a).css({float:"none",width:"auto"}).end().end()[0].clientWidth/o;(l+=n.extraWidth)>n.maxWidth?l=n.maxWidth:l<n.minWidth&&(l=n.minWidth),l+="em",i.css("width",l),r.css({float:s,width:"100%","white-space":"normal"}).each((function(){var e=t(">ul",this),i=void 0!==e.css("left")?"left":"right";e.css(i,l)}))}))}))},t.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}}(jQuery),function(t,e,n,o){function r(e,i){this.element=e,this.options=t.extend({},c,i),this._defaults=c,this._name=l,this.init()}function a(){return!!("ontouchstart"in e)}function s(){var t,e=(n.body||n.documentElement).style,i="transition";if("string"==typeof e[i])return!0;v=["Moz","Webkit","Khtml","O","ms"],i=i.charAt(0).toUpperCase()+i.substr(1);for(var o=0;o<v.length;o++)if("string"==typeof e[v[o]+i])return!0;return!1}var l="tooltipster",c={animation:"fade",arrow:!0,arrowColor:"",content:"",delay:200,fixedWidth:0,maxWidth:0,functionBefore:function(t,e){e()},functionReady:function(t,e){},functionAfter:function(t){},icon:"(?)",iconDesktop:!1,iconTouch:!1,iconTheme:".tooltipster-icon",interactive:!1,interactiveTolerance:350,offsetX:0,offsetY:0,onlyOne:!0,position:"top",speed:350,timer:0,theme:".tooltipster-default",touchDevices:!0,trigger:"hover",updateAnimation:!0},d=!0;s()||(d=!1);var u=a();t(e).on("mousemove.tooltipster",(function(){u=!1,t(e).off("mousemove.tooltipster")})),r.prototype={init:function(){var e=t(this.element),i=this,r=!0;
31if(0==i.options.touchDevices&&u&&(r=!1),n.all&&!n.querySelector&&(r=!1),1==r){if(1==this.options.iconDesktop&&!u||1==this.options.iconTouch&&u){var a=e.attr("title");e.removeAttr("title");var s=i.options.iconTheme,l=t('<span class="'+s.replace(".","")+'" title="'+a+'">'+this.options.icon+"</span>");l.insertAfter(e),e.data("tooltipsterIcon",l),e=l}var c=t.trim(i.options.content).length>0?i.options.content:e.attr("title");e.data("tooltipsterContent",c),e.removeAttr("title"),1!=this.options.touchDevices||!u||"click"!=this.options.trigger&&"hover"!=this.options.trigger?("hover"==this.options.trigger&&(e.on("mouseenter.tooltipster",(function(){i.showTooltip()})),1==this.options.interactive?e.on("mouseleave.tooltipster",(function(){var t=e.data("tooltipster"),n=!1;if(t!==o&&""!==t){t.mouseenter((function(){n=!0})),t.mouseleave((function(){n=!1}));var r=setTimeout((function(){1==n?t.mouseleave((function(){i.hideTooltip()})):i.hideTooltip()}),i.options.interactiveTolerance)}else i.hideTooltip()})):e.on("mouseleave.tooltipster",(function(){i.hideTooltip()}))),"click"==this.options.trigger&&e.on("click.tooltipster",(function(){""==e.data("tooltipster")||e.data("tooltipster")==o?i.showTooltip():i.hideTooltip()}))):e.bind("touchstart",(function(t,e){i.showTooltip()}))}},showTooltip:function(e){var i=t(this.element),n=this;i.data("tooltipsterIcon")!==o&&(i=i.data("tooltipsterIcon")),i.hasClass("tooltipster-disable")||(t(".tooltipster-base").not(".tooltipster-dying").length>0&&1==n.options.onlyOne&&t(".tooltipster-base").not(".tooltipster-dying").not(i.data("tooltipster")).each((function(){var e;t(this).addClass("tooltipster-kill"),t(this).data("origin").data("plugin_tooltipster").hideTooltip()})),i.clearQueue().delay(n.options.delay).queue((function(){n.options.functionBefore(i,(function(){if(i.data("tooltipster")!==o&&""!==i.data("tooltipster")){var e;if(!(e=i.data("tooltipster")).hasClass("tooltipster-kill")){var r="tooltipster-"+n.options.animation;if(e.removeClass("tooltipster-dying"),1==d&&e.clearQueue().addClass(r+"-show"),n.options.timer>0){var a=e.data("tooltipsterTimer");clearTimeout(a),a=setTimeout((function(){e.data("tooltipsterTimer",o),n.hideTooltip()}),n.options.timer),e.data("tooltipsterTimer",a)}1==n.options.touchDevices&&u&&t("body").bind("touchstart",(function(e){if(1==n.options.interactive){var i=t(e.target),o=!0;i.parents().each((function(){t(this).hasClass("tooltipster-base")&&(o=!1)})),1==o&&(n.hideTooltip(),t("body").unbind("touchstart"))}else n.hideTooltip(),t("body").unbind("touchstart")}))}}else{t("body").css("overflow-x","hidden");var l=i.data("tooltipsterContent"),c,p=n.options.theme.replace(".",""),r="tooltipster-"+n.options.animation,f="-webkit-transition-duration: "+n.options.speed+"ms; -webkit-animation-duration: "+n.options.speed+"ms; -moz-transition-duration: "+n.options.speed+"ms; -moz-animation-duration: "+n.options.speed+"ms; -o-transition-duration: "+n.options.speed+"ms; -o-animation-duration: "+n.options.speed+"ms; -ms-transition-duration: "+n.options.speed+"ms; -ms-animation-duration: "+n.options.speed+"ms; transition-duration: "+n.options.speed+"ms; animation-duration: "+n.options.speed+"ms;",h=n.options.fixedWidth>0?"width:"+n.options.fixedWidth+"px;":"",m=n.options.maxWidth>0?"max-width:"+n.options.maxWidth+"px;":"",g=1==n.options.interactive?"pointer-events: auto;":"",e=t('<div class="tooltipster-base '+p+" "+r+'" style="'+h+" "+m+" "+g+" "+f+'"></div>'),v=t('<div class="tooltipster-content"></div>');v.html(l),e.append(v),e.appendTo("body"),i.data("tooltipster",e),e.data("origin",i),n.positionTooltip(),n.options.functionReady(i,e),1==d?e.addClass(r+"-show"):e.css("display","none").removeClass(r).fadeIn(n.options.speed);var b=l,y=setInterval((function(){var o=i.data("tooltipsterContent");0==t("body").find(i).length?(e.addClass("tooltipster-dying"),n.hideTooltip()):b!==o&&""!==o&&(b=o,e.find(".tooltipster-content").html(o),1==n.options.updateAnimation&&(s()?(e.css({width:"","-webkit-transition":"all "+n.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+n.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+n.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+n.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+n.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing"),setTimeout((function(){e.removeClass("tooltipster-content-changing"),setTimeout((function(){e.css({"-webkit-transition":n.options.speed+"ms","-moz-transition":n.options.speed+"ms","-o-transition":n.options.speed+"ms","-ms-transition":n.options.speed+"ms",transition:n.options.speed+"ms"})}),n.options.speed)}),n.options.speed)):e.fadeTo(n.options.speed,.5,(function(){e.fadeTo(n.options.speed,1)}))),n.positionTooltip()),0!=t("body").find(e).length&&0!=t("body").find(i).length||clearInterval(y)}),200);if(n.options.timer>0){var a=setTimeout((function(){e.data("tooltipsterTimer",o),n.hideTooltip()}),n.options.timer+n.options.speed);e.data("tooltipsterTimer",a)}1==n.options.touchDevices&&u&&t("body").bind("touchstart",(function(e){if(1==n.options.interactive){var i=t(e.target),o=!0;i.parents().each((function(){t(this).hasClass("tooltipster-base")&&(o=!1)})),1==o&&(n.hideTooltip(),t("body").unbind("touchstart"))}else n.hideTooltip(),t("body").unbind("touchstart")})),e.mouseleave((function(){n.hideTooltip()}))}})),i.dequeue()})))},hideTooltip:function(e){var i=t(this.element),n=this;i.data("tooltipsterIcon")!==o&&(i=i.data("tooltipsterIcon"));var r=i.data("tooltipster");if(r==o&&(r=t(".tooltipster-dying")),i.clearQueue(),r!==o&&""!==r){var a=r.data("tooltipsterTimer");a!==o&&clearTimeout(a);var s="tooltipster-"+n.options.animation;1==d?r.clearQueue().removeClass(s+"-show").addClass("tooltipster-dying").delay(n.options.speed).queue((function(){r.remove(),i.data("tooltipster",""),t("body").css("verflow-x",""),n.options.functionAfter(i)})):r.clearQueue().addClass("tooltipster-dying").fadeOut(n.options.speed,(function(){r.remove(),i.data("tooltipster",""),t("body").css("verflow-x",""),n.options.functionAfter(i)}))}},positionTooltip:function(n){var r=t(this.element),a=this;if(r.data("tooltipsterIcon")!==o&&(r=r.data("tooltipsterIcon")),r.data("tooltipster")!==o&&""!==r.data("tooltipster")){var s=r.data("tooltipster");
31s.css("width","");var l=t(e).width(),c=r.outerWidth(!1),d=r.outerHeight(!1),u=s.outerWidth(!1),p=s.innerWidth()+1,f=s.outerHeight(!1),h=r.offset(),m=h.top,g=h.left,v=o;if(r.is("area")){var b=r.attr("shape"),y=r.parent().attr("name"),w=t('img[usemap="#'+y+'"]'),x=w.offset().left,C=w.offset().top,S=r.attr("coords")!==o?r.attr("coords").split(","):o;if("circle"==b){var E=parseInt(S[0]),T=parseInt(S[1]),I=parseInt(S[2]);d=2*I,c=2*I,m=C+T-I,g=x+E-I}else if("rect"==b){var E=parseInt(S[0]),T=parseInt(S[1]),k=parseInt(S[2]),_=parseInt(S[3]);d=_-T,c=k-E,m=C+T,g=x+E}else if("poly"==b){var D=[],A=[],P=0,M=0,O=0,H=0,F="even";for(i=0;i<S.length;i++){var z=parseInt(S[i]);"even"==F?(z>O&&(O=z,0==i&&(P=O)),z<P&&(P=z),F="odd"):(z>H&&(H=z,1==i&&(M=H)),z<M&&(M=z),F="even")}d=H-M,c=O-P,m=C+M,g=x+P}else d=w.outerHeight(!1),c=w.outerWidth(!1),m=C,g=x}0==a.options.fixedWidth&&s.css({width:p+"px","padding-left":"0px","padding-right":"0px"});var N=0,L=0,j=parseInt(a.options.offsetY),G=parseInt(a.options.offsetX),B="",R,R;function $(){var i=t(e).scrollLeft();if(N-i<0){var n=N-i;N=i,s.data("arrow-reposition",n)}if(N+u-i>l){var n=N-(l+i-u);N=l+i-u,s.data("arrow-reposition",n)}}function W(i,n){m-t(e).scrollTop()-f-j-12<0&&n.indexOf("top")>-1&&(a.options.position=i,v=n),m+d+f+12+j>t(e).scrollTop()+t(e).height()&&n.indexOf("bottom")>-1&&(a.options.position=i,v=n,L=m-f-j-12)}if("top"==a.options.position)N=g+G-(R=g+u-(g+c))/2,L=m-f-j-12,$(),W("bottom","top");if("top-left"==a.options.position&&(N=g+G,L=m-f-j-12,$(),W("bottom-left","top-left")),"top-right"==a.options.position&&(N=g+c+G-u,L=m-f-j-12,$(),W("bottom-right","top-right")),"bottom"==a.options.position)N=g-(R=g+u-(g+c))/2+G,L=m+d+j+12,$(),W("top","bottom");if("bottom-left"==a.options.position&&(N=g+G,L=m+d+j+12,$(),W("top-left","bottom-left")),"bottom-right"==a.options.position&&(N=g+c+G-u,L=m+d+j+12,$(),W("top-right","bottom-right")),"left"==a.options.position){N=g-G-u-12,myLeftMirror=g+G+c+12;var Q=m+f-(m+r.outerHeight(!1));if(L=m-Q/2-j,N<0&&myLeftMirror+u>l){var q=2*parseFloat(s.css("border-width")),J=u+N-q;s.css("width",J+"px"),f=s.outerHeight(!1),N=g-G-J-12-q,Q=m+f-(m+r.outerHeight(!1)),L=m-Q/2-j}else N<0&&(N=g+G+c+12,s.data("arrow-reposition","left"))}if("right"==a.options.position){N=g+G+c+12,myLeftMirror=g-G-u-12;var Q=m+f-(m+r.outerHeight(!1));if(L=m-Q/2-j,N+u>l&&myLeftMirror<0){var q=2*parseFloat(s.css("border-width")),J=l-N-q;s.css("width",J+"px"),f=s.outerHeight(!1),Q=m+f-(m+r.outerHeight(!1)),L=m-Q/2-j}else N+u>l&&(N=g-G-u-12,s.data("arrow-reposition","right"))}if(1==a.options.arrow){var K="tooltipster-arrow-"+a.options.position;if(a.options.arrowColor.length<1)var U=s.css("background-color");else var U=a.options.arrowColor;var V=s.data("arrow-reposition");if(V?"left"==V?(K="tooltipster-arrow-right",V=""):"right"==V?(K="tooltipster-arrow-left",V=""):V="left:"+V+"px;":V="","top"==a.options.position||"top-left"==a.options.position||"top-right"==a.options.position)var Y=parseFloat(s.css("border-bottom-width")),X=s.css("border-bottom-color");else if("bottom"==a.options.position||"bottom-left"==a.options.position||"bottom-right"==a.options.position)var Y=parseFloat(s.css("border-top-width")),X=s.css("border-top-color");else if("left"==a.options.position)var Y=parseFloat(s.css("border-right-width")),X=s.css("border-right-color");else if("right"==a.options.position)var Y=parseFloat(s.css("border-left-width")),X=s.css("border-left-color");else var Y=parseFloat(s.css("border-bottom-width")),X=s.css("border-bottom-color");Y>1&&Y++;var Z="";if(0!==Y){var tt="",et="border-color: "+X+";";-1!==K.indexOf("bottom")?tt="margin-top: -"+Y+"px;":-1!==K.indexOf("top")?tt="margin-bottom: -"+Y+"px;":-1!==K.indexOf("left")?tt="margin-right: -"+Y+"px;":-1!==K.indexOf("right")&&(tt="margin-left: -"+Y+"px;"),Z='<span class="tooltipster-arrow-border" style="'+tt+" "+et+';"></span>'}s.find(".tooltipster-arrow").remove(),B='<div class="'+K+' tooltipster-arrow" style="'+V+'">'+Z+'<span style="border-color:'+U+';"></span></div>',s.append(B)}s.css({top:L+"px",left:N+"px"}),v!==o&&(a.options.position=v)}}},t.fn[l]=function(e,i){if("string"==typeof e){var n=this,a=i;if(n.data("plugin_tooltipster")==o){var s=n.find("*");n=t(),s.each((function(){t(this).data("plugin_tooltipster")!==o&&n.push(t(this))}))}return n.each((function(){switch(e.toLowerCase()){case"show":t(this).data("plugin_tooltipster").showTooltip();break;case"hide":t(this).data("plugin_tooltipster").hideTooltip();break;case"disable":t(this).addClass("tooltipster-disable");break;case"enable":t(this).removeClass("tooltipster-disable");break;
31case"destroy":t(this).data("plugin_tooltipster").hideTooltip(),t(this).data("plugin_tooltipster","").attr("title",n.data("tooltipsterContent")).data("tooltipsterContent","").data("plugin_tooltipster","").off("mouseenter.tooltipster mouseleave.tooltipster click.tooltipster");break;case"update":var i;if(t(this).data("tooltipsterIcon")==o)t(this).data("tooltipsterContent",a);else t(this).data("tooltipsterIcon").data("tooltipsterContent",a);break;case"reposition":t(this).data("plugin_tooltipster").positionTooltip();break}})),this}return this.each((function(){t.data(this,"plugin_"+l)||t.data(this,"plugin_"+l,new r(this,e));var i=t(this).data("plugin_tooltipster").options;if(1==i.iconDesktop&&!u||1==i.iconTouch&&u){var n=t(this).data("plugin_tooltipster");t(this).next().data("plugin_tooltipster",n)}}))},u&&e.addEventListener("orientationchange",(function(){t(".tooltipster-base").length>0&&t(".tooltipster-base").each((function(){var e;t(this).data("origin").data("plugin_tooltipster").hideTooltip()}))}),!1),t(e).on("resize.tooltipster",(function(){var e=t(".tooltipster-base").data("origin");null!==e&&e!==o&&e.tooltipster("reposition")}))}(jQuery,window,document),function(t){var e={},n={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){}};t.fn.bxSlider=function(o){if(0==this.length)return this;if(this.length>1)return this.each((function(){t(this).bxSlider(o)})),this;var r={},a=this;e.el=this;var s=t(window).width(),l=t(window).height(),c=function(){r.settings=t.extend({},n,o),r.settings.slideWidth=parseInt(r.settings.slideWidth),r.children=a.children(r.settings.slideSelector),r.children.length<r.settings.minSlides&&(r.settings.minSlides=r.children.length),r.children.length<r.settings.maxSlides&&(r.settings.maxSlides=r.children.length),r.settings.randomStart&&(r.settings.startSlide=Math.floor(Math.random()*r.children.length)),r.active={index:r.settings.startSlide},r.carousel=r.settings.minSlides>1||r.settings.maxSlides>1,r.carousel&&(r.settings.preloadImages="all"),r.minThreshold=r.settings.minSlides*r.settings.slideWidth+(r.settings.minSlides-1)*r.settings.slideMargin,r.maxThreshold=r.settings.maxSlides*r.settings.slideWidth+(r.settings.maxSlides-1)*r.settings.slideMargin,r.working=!1,r.controls={},r.interval=null,r.animProp="vertical"==r.settings.mode?"top":"left",r.usingCSS=r.settings.useCSS&&"fade"!=r.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return r.cssPrefix=e[i].replace("Perspective","").toLowerCase(),r.animProp="-"+r.cssPrefix+"-transform",!0;return!1}(),"vertical"==r.settings.mode&&(r.settings.maxSlides=r.settings.minSlides),d()},d=function(){if(a.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),r.viewport=a.parent(),r.loader=t('<div class="bx-loading" />'),r.viewport.prepend(r.loader),a.css({width:"horizontal"==r.settings.mode?215*r.children.length+"%":"auto",position:"relative"}),r.usingCSS&&r.settings.easing?a.css("-"+r.cssPrefix+"-transition-timing-function",r.settings.easing):r.settings.easing||(r.settings.easing="swing"),m(),r.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),r.viewport.parent().css({maxWidth:f()}
31),r.children.css({float:"horizontal"==r.settings.mode?"left":"none",listStyle:"none",position:"relative"}),r.children.width(h()),"horizontal"==r.settings.mode&&r.settings.slideMargin>0&&r.children.css("marginRight",r.settings.slideMargin),"vertical"==r.settings.mode&&r.settings.slideMargin>0&&r.children.css("marginBottom",r.settings.slideMargin),"fade"==r.settings.mode&&(r.children.css({position:"absolute",zIndex:0,display:"none"}),r.children.eq(r.settings.startSlide).css({zIndex:50,display:"block"})),r.controls.el=t('<div class="bx-controls" />'),r.settings.captions&&E(),r.settings.infiniteLoop&&"fade"!=r.settings.mode&&!r.settings.ticker){var e="vertical"==r.settings.mode?r.settings.minSlides:r.settings.maxSlides,i=r.children.slice(0,e).clone().addClass("bx-clone"),n=r.children.slice(-e).clone().addClass("bx-clone");a.append(i).prepend(n)}r.active.last=r.settings.startSlide==g()-1,r.settings.video&&a.fitVids();var o=r.children.eq(r.settings.startSlide);"all"==r.settings.preloadImages&&(o=a.children()),r.settings.ticker?r.settings.pager=!1:(r.settings.pager&&x(),r.settings.controls&&C(),r.settings.auto&&r.settings.autoControls&&S(),(r.settings.controls||r.settings.autoControls||r.settings.pager)&&r.viewport.after(r.controls.el)),o.imagesLoaded(u)},u=function(){r.loader.remove(),b(),"vertical"==r.settings.mode&&(r.settings.adaptiveHeight=!0),r.viewport.height(p()),a.redrawSlider(),r.settings.onSliderLoad(r.active.index),r.initialized=!0,t(window).bind("resize",B),r.settings.auto&&r.settings.autoStart&&H(),r.settings.ticker&&F(),r.settings.pager&&A(r.settings.startSlide),r.settings.controls&&O(),r.settings.touchEnabled&&!r.settings.ticker&&N()},p=function(){var e=0,n=t();if("vertical"==r.settings.mode||r.settings.adaptiveHeight)if(r.carousel){var o=1==r.settings.moveSlides?r.active.index:r.active.index*v();for(n=r.children.eq(o),i=1;r.settings.maxSlides-1>=i;i++)n=o+i>=r.children.length?n.add(r.children.eq(i-1)):n.add(r.children.eq(o+i))}else n=r.children.eq(r.active.index);else n=r.children;return"vertical"==r.settings.mode?(n.each((function(){e+=t(this).outerHeight()})),r.settings.slideMargin>0&&(e+=r.settings.slideMargin*(r.settings.minSlides-1))):e=Math.max.apply(Math,n.map((function(){return t(this).outerHeight(!1)})).get()),e},f=function(){var t="100%";return r.settings.slideWidth>0&&(t="horizontal"==r.settings.mode?r.settings.maxSlides*r.settings.slideWidth+(r.settings.maxSlides-1)*r.settings.slideMargin:r.settings.slideWidth),t},h=function(){var t=r.settings.slideWidth,e=r.viewport.width();return 0==r.settings.slideWidth||r.settings.slideWidth>e&&!r.carousel||"vertical"==r.settings.mode?t=e:r.settings.maxSlides>1&&"horizontal"==r.settings.mode&&(e>r.maxThreshold||r.minThreshold>e&&(t=(e-r.settings.slideMargin*(r.settings.minSlides-1))/r.settings.minSlides)),t},m=function(){var t=1;if("horizontal"==r.settings.mode&&r.settings.slideWidth>0)if(r.viewport.width()<r.minThreshold)t=r.settings.minSlides;else if(r.viewport.width()>r.maxThreshold)t=r.settings.maxSlides;else{var e=r.children.first().width();t=Math.floor(r.viewport.width()/e)}else"vertical"==r.settings.mode&&(t=r.settings.minSlides);return t},g=function(){var t=0;if(r.settings.moveSlides>0)if(r.settings.infiniteLoop)t=r.children.length/v();else for(var e=0,i=0;r.children.length>e;)++t,e=i+m(),i+=r.settings.moveSlides<=m()?r.settings.moveSlides:m();else t=Math.ceil(r.children.length/m());return t},v=function(){return r.settings.moveSlides>0&&r.settings.moveSlides<=m()?r.settings.moveSlides:m()},b=function(){if(r.children.length>r.settings.maxSlides&&r.active.last&&!r.settings.infiniteLoop){if("horizontal"==r.settings.mode){var t=r.children.last(),e=t.position();y(-(e.left-(r.viewport.width()-t.width())),"reset",0)}else if("vertical"==r.settings.mode){var i=r.children.length-r.settings.minSlides,e=r.children.eq(i).position();y(-e.top,"reset",0)}}else{var e=r.children.eq(r.active.index*v()).position();r.active.index==g()-1&&(r.active.last=!0),null!=e&&("horizontal"==r.settings.mode?y(-e.left,"reset",0):"vertical"==r.settings.mode&&y(-e.top,"reset",0))}}
31,y=function(t,e,i,n){if(r.usingCSS){var o="vertical"==r.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";a.css("-"+r.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(a.css(r.animProp,o),a.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",(function(){a.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),P()}))):"reset"==e?a.css(r.animProp,o):"ticker"==e&&(a.css("-"+r.cssPrefix+"-transition-timing-function","linear"),a.css(r.animProp,o),a.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",(function(){a.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),y(n.resetValue,"reset",0),z()})))}else{var s={};s[r.animProp]=t,"slide"==e?a.animate(s,i,r.settings.easing,(function(){P()})):"reset"==e?a.css(r.animProp,t):"ticker"==e&&a.animate(s,speed,"linear",(function(){y(n.resetValue,"reset",0),z()}))}},w=function(){for(var e="",i=g(),n=0;i>n;n++){var o="";r.settings.buildPager&&t.isFunction(r.settings.buildPager)?(o=r.settings.buildPager(n),r.pagerEl.addClass("bx-custom-pager")):(o=n+1,r.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+n+'" class="bx-pager-link">'+o+"</a></div>"}r.pagerEl.html(e)},x=function(){r.settings.pagerCustom?r.pagerEl=t(r.settings.pagerCustom):(r.pagerEl=t('<div class="bx-pager" />'),r.settings.pagerSelector?t(r.settings.pagerSelector).html(r.pagerEl):r.controls.el.addClass("bx-has-pager").append(r.pagerEl),w()),r.pagerEl.delegate("a","click",D)},C=function(){r.controls.next=t('<a class="bx-next" href="">'+r.settings.nextText+"</a>"),r.controls.prev=t('<a class="bx-prev" href="">'+r.settings.prevText+"</a>"),r.controls.next.bind("click",T),r.controls.prev.bind("click",I),r.settings.nextSelector&&t(r.settings.nextSelector).append(r.controls.next),r.settings.prevSelector&&t(r.settings.prevSelector).append(r.controls.prev),r.settings.nextSelector||r.settings.prevSelector||(r.controls.directionEl=t('<div class="bx-controls-direction" />'),r.controls.directionEl.append(r.controls.prev).append(r.controls.next),r.controls.el.addClass("bx-has-controls-direction").append(r.controls.directionEl))},S=function(){r.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+r.settings.startText+"</a></div>"),r.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+r.settings.stopText+"</a></div>"),r.controls.autoEl=t('<div class="bx-controls-auto" />'),r.controls.autoEl.delegate(".bx-start","click",k),r.controls.autoEl.delegate(".bx-stop","click",_),r.settings.autoControlsCombine?r.controls.autoEl.append(r.controls.start):r.controls.autoEl.append(r.controls.start).append(r.controls.stop),r.settings.autoControlsSelector?t(r.settings.autoControlsSelector).html(r.controls.autoEl):r.controls.el.addClass("bx-has-controls-auto").append(r.controls.autoEl),M(r.settings.autoStart?"stop":"start")},E=function(){r.children.each((function(){var e=t(this).find("img:first").attr("title");null!=e&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")}))},T=function(t){r.settings.auto&&a.stopAuto(),a.goToNextSlide(),t.preventDefault()},I=function(t){r.settings.auto&&a.stopAuto(),a.goToPrevSlide(),t.preventDefault()},k=function(t){a.startAuto(),t.preventDefault()},_=function(t){a.stopAuto(),t.preventDefault()},D=function(e){r.settings.auto&&a.stopAuto();var i=t(e.currentTarget),n=parseInt(i.attr("data-slide-index"));n!=r.active.index&&a.goToSlide(n),e.preventDefault()},A=function(e){return"short"==r.settings.pagerType?void r.pagerEl.html(e+1+r.settings.pagerShortSeparator+r.children.length):(r.pagerEl.find("a").removeClass("active"),void r.pagerEl.each((function(i,n){t(n).find("a").eq(e).addClass("active")})))},P=function(){if(r.settings.infiniteLoop){var t="";0==r.active.index?t=r.children.eq(0).position():r.active.index==g()-1&&r.carousel?t=r.children.eq((g()-1)*v()).position():r.active.index==r.children.length-1&&(t=r.children.eq(r.children.length-1).position()),"horizontal"==r.settings.mode?y(-t.left,"reset",0):"vertical"==r.settings.mode&&y(-t.to
31p,"reset",0)}r.working=!1,r.settings.onSlideAfter(r.children.eq(r.active.index),r.oldIndex,r.active.index)},M=function(t){r.settings.autoControlsCombine?r.controls.autoEl.html(r.controls[t]):(r.controls.autoEl.find("a").removeClass("active"),r.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},O=function(){1==g()?(r.controls.prev.addClass("disabled"),r.controls.next.addClass("disabled")):!r.settings.infiniteLoop&&r.settings.hideControlOnEnd&&(0==r.active.index?(r.controls.prev.addClass("disabled"),r.controls.next.removeClass("disabled")):r.active.index==g()-1?(r.controls.next.addClass("disabled"),r.controls.prev.removeClass("disabled")):(r.controls.prev.removeClass("disabled"),r.controls.next.removeClass("disabled")))},H=function(){r.settings.autoDelay>0?setTimeout(a.startAuto,r.settings.autoDelay):a.startAuto(),r.settings.autoHover&&a.hover((function(){r.interval&&(a.stopAuto(!0),r.autoPaused=!0)}),(function(){r.autoPaused&&(a.startAuto(!0),r.autoPaused=null)}))},F=function(){var e=0;if("next"==r.settings.autoDirection)a.append(r.children.clone().addClass("bx-clone"));else{a.prepend(r.children.clone().addClass("bx-clone"));var i=r.children.first().position();e="horizontal"==r.settings.mode?-i.left:-i.top}y(e,"reset",0),r.settings.pager=!1,r.settings.controls=!1,r.settings.autoControls=!1,r.settings.tickerHover&&!r.usingCSS&&r.viewport.hover((function(){a.stop()}),(function(){var e=0;r.children.each((function(){e+="horizontal"==r.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)}));var i=r.settings.speed/e,n="horizontal"==r.settings.mode?"left":"top",o=i*(e-Math.abs(parseInt(a.css(n))));z(o)})),z()},z=function(t){speed=t||r.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==r.settings.autoDirection?e=a.find(".bx-clone").first().position():i=r.children.first().position();var n="horizontal"==r.settings.mode?-e.left:-e.top,o="horizontal"==r.settings.mode?-i.left:-i.top,s;y(n,"ticker",speed,{resetValue:o})},N=function(){r.touch={start:{x:0,y:0},end:{x:0,y:0}},r.viewport.bind("touchstart",L)},L=function(t){if(r.working)t.preventDefault();else{r.touch.originalPos=a.position();var e=t.originalEvent;r.touch.start.x=e.changedTouches[0].pageX,r.touch.start.y=e.changedTouches[0].pageY,r.viewport.bind("touchmove",j),r.viewport.bind("touchend",G)} 32},j=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-r.touch.start.x),n=Math.abs(e.changedTouches[0].pageY-r.touch.start.y);if((3*i>n&&r.settings.preventDefaultSwipeX||3*n>i&&r.settings.preventDefaultSwipeY)&&t.preventDefault(),"fade"!=r.settings.mode&&r.settings.oneToOneTouch){var o=0;if("horizontal"==r.settings.mode){var a=e.changedTouches[0].pageX-r.touch.start.x;o=r.touch.originalPos.left+a}else{var a=e.changedTouches[0].pageY-r.touch.start.y;o=r.touch.originalPos.top+a}y(o,"reset",0)}},G=function(t){r.viewport.unbind("touchmove",j);var e=t.originalEvent,i=0;if(r.touch.end.x=e.changedTouches[0].pageX,r.touch.end.y=e.changedTouches[0].pageY,"fade"==r.settings.mode){var n;(n=Math.abs(r.touch.start.x-r.touch.end.x))>=r.settings.swipeThreshold&&(r.touch.start.x>r.touch.end.x?a.goToNextSlide():a.goToPrevSlide(),a.stopAuto())}else{var n=0;"horizontal"==r.settings.mode?(n=r.touch.end.x-r.touch.start.x,i=r.touch.originalPos.left):(n=r.touch.end.y-r.touch.start.y,i=r.touch.originalPos.top),!r.settings.infiniteLoop&&(0==r.active.index&&n>0||r.active.last&&0>n)?y(i,"reset",200):Math.abs(n)>=r.settings.swipeThreshold?(0>n?a.goToNextSlide():a.goToPrevSlide(),a.stopAuto()):y(i,"reset",200)}r.viewport.unbind("touchend",G)},B=function(){var e=t(window).width(),i=t(window).height();(s!=e||l!=i)&&(s=e,l=i,a.redrawSlider())};return a.goToSlide=function(e,i){if(!r.working&&r.active.index!=e)if(r.working=!0,r.oldIndex=r.active.index,r.active.index=0>e?g()-1:e>=g()?0:e,r.settings.onSlideBefore(r.children.eq(r.active.index),r.oldIndex,r.active.index),"next"==i?r.settings.onSlideNext(r.children.eq(r.active.index),r.oldIndex,r.active.index):"prev"==i&&r.settings.onSlidePrev(r.children.eq(r.active.index),r.oldIndex,r.active.index),r.active.last=r.active.index>=g()-1,r.settings.pager&&A(r.active.index),r.settings.controls&&O(),"fade"==r.settings.mode)r.settings.adaptiveHeight&&r.viewport.height()!=
32p()&&r.viewport.animate({height:p()},r.settings.adaptiveHeightSpeed),r.children.filter(":visible").fadeOut(r.settings.speed).css({zIndex:0}),r.children.eq(r.active.index).css("zIndex",51).fadeIn(r.settings.speed,(function(){t(this).css("zIndex",50),P()}));else{r.settings.adaptiveHeight&&r.viewport.height()!=p()&&r.viewport.animate({height:p()},r.settings.adaptiveHeightSpeed);var n=0,o={left:0,top:0};if(!r.settings.infiniteLoop&&r.carousel&&r.active.last)if("horizontal"==r.settings.mode){var s;o=(s=r.children.eq(r.children.length-1)).position(),n=r.viewport.width()-s.width()}else{var l=r.children.length-r.settings.minSlides;o=r.children.eq(l).position()}else if(r.carousel&&r.active.last&&"prev"==i){var c=1==r.settings.moveSlides?r.settings.maxSlides-v():(g()-1)*v()-(r.children.length-r.settings.maxSlides),s;o=(s=a.children(".bx-clone").eq(c)).position()}else if("next"==i&&0==r.active.index)o=a.find("> .bx-clone").eq(r.settings.maxSlides).position(),r.active.last=!1;else if(e>=0){var d=e*v();o=r.children.eq(d).position()}if(void 0!==o){var u="horizontal"==r.settings.mode?-(o.left-n):-o.top;y(u,"slide",r.settings.speed)}}},a.goToNextSlide=function(){if(r.settings.infiniteLoop||!r.active.last){var t=parseInt(r.active.index)+1;a.goToSlide(t,"next")}},a.goToPrevSlide=function(){if(r.settings.infiniteLoop||0!=r.active.index){var t=parseInt(r.active.index)-1;a.goToSlide(t,"prev")}},a.startAuto=function(t){r.interval||(r.interval=setInterval((function(){"next"==r.settings.autoDirection?a.goToNextSlide():a.goToPrevSlide()}),r.settings.pause),r.settings.autoControls&&1!=t&&M("stop"))},a.stopAuto=function(t){r.interval&&(clearInterval(r.interval),r.interval=null,r.settings.autoControls&&1!=t&&M("start"))},a.getCurrentSlide=function(){return r.active.index},a.getSlideCount=function(){return r.children.length},a.redrawSlider=function(){r.children.add(a.find(".bx-clone")).width(h()),r.viewport.css("height",p()),r.settings.ticker||b(),r.active.last&&(r.active.index=g()-1),r.active.index>=g()&&(r.active.last=!0),r.settings.pager&&!r.settings.pagerCustom&&(w(),A(r.active.index))},a.destroySlider=function(){r.initialized&&(r.initialized=!1,t(".bx-clone",this).remove(),r.children.removeAttr("style"),this.removeAttr("style").unwrap().unwrap(),r.controls.el&&r.controls.el.remove(),r.controls.next&&r.controls.next.remove(),r.controls.prev&&r.controls.prev.remove(),r.pagerEl&&r.pagerEl.remove(),t(".bx-caption",this).remove(),r.controls.autoEl&&r.controls.autoEl.remove(),clearInterval(r.interval),t(window).unbind("resize",B))},a.reloadSlider=function(t){null!=t&&(o=t),a.destroySlider(),c()},c(),this}}(jQuery),function(t,e){var i="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";t.fn.imagesLoaded=function(n){function o(){var e=t(u),i=t(p);s&&(p.length?s.reject(c,e,i):s.resolve(c)),t.isFunction(n)&&n.call(a,c,e,i)}function r(e,n){e.src===i||-1!==t.inArray(e,d)||(d.push(e),n?p.push(e):u.push(e),t.data(e,"imagesLoaded",{isBroken:n,src:e.src}),l&&s.notifyWith(t(e),[n,c,t(u),t(p)]),c.length===d.length&&(setTimeout(o),c.unbind(".imagesLoaded")))}var a=this,s=t.isFunction(t.Deferred)?t.Deferred():0,l=t.isFunction(s.notify),c=a.find("img").add(a.filter("img")),d=[],u=[],p=[];return t.isPlainObject(n)&&t.each(n,(function(t,e){"callback"===t?n=e:s&&s[t](e)})),c.length?c.bind("load.imagesLoaded error.imagesLoaded",(function(t){r(t.target,"error"===t.type)})).each((function(n,o){var a=o.src,s=t.data(o,"imagesLoaded");s&&s.src===a?r(o,s.isBroken):o.complete&&o.naturalWidth!==e?r(o,0===o.naturalWidth||0===o.naturalHeight):(o.readyState||o.complete)&&(o.src=i,o.src=a)})):o(),s?s.promise(a):a}}(jQuery), 33/*! skrollr 0.6.29 (2014-11-17) | Alexander Prinzhorn - https://github.com/Prinzhorn/skrollr | Free to use under terms of MIT license */ 34function(t,e,i){"use strict";function n(i){if(o=e.documentElement,r=e.body,Q(),st=this,pt=(i=i||{}).constants||{},i.easing)for(var n in i.easing)K[n]=i.easing[n];yt=i.edgeStrategy||"set",dt={beforerender:i.beforerender,render:i.render,keyframe:i.keyframe},(ut=!1!==i.forceHeight)&&(zt=i.scale||1),ft=i.mobileDeceleration||E,mt=!1!==i.smoothScrolling,gt=i.smoothScrollingDuration||I,vt={targetTop:st.getScrollTop()},(Wt=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||t.opera)})())?((ct=e.getElementById(i.skrollrBody||T))&&at(),U(),At(o,[b,x],[y])):At(o,[b,w],[y]),st.refresh(),Ct(t,"resize orientationchange",(function(){var t=o.clientWidth,e=o.clientHeight;(e!==Bt||t!==Gt)&&(Bt=e,Gt=t,Rt=!0)}));var a=q();return function t(){X(),xt=a(t)}(),st}var o,r,a={get:function(){return st},init:function(t){return st||new n(t)},VERSION:"0.6.29"},s=Object.prototype.hasOwnProperty,l=t.Math,c=t.getComputedStyle,d="touchstart",u="touchmove",p="touchcancel",f="touchend",h="skrollable",m=h+"-before",g=h+"-between",v=h+"-after",b="skrollr",y="no-"+b,w=b+"-desktop",x=b+"-mobile",C="linear",S=1e3,E=.004,T="skrollr-body",I=200,k="start",_="end",D="center",A="bottom",P="___skrollable_id",M=/^(?:input|textarea|button|select)$/i,O=/^\s+|\s+$/g,H=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,F=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,z=/^(@?[a-z\-]+)\[(\w+)\]$/,N=/-([a-z0-9_])/g,L=function(t,e){return e.toUpperCase()}
34,j=/[\-+]?[\d]*\.?[\d]+/g,G=/\{\?\}/g,B=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,R=/[a-z\-]+-gradient/g,$="",W="",Q=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var e=c(r,null);for(var n in e)if($=n.match(t)||+n==n&&e[n].match(t))break;if(!$)return $=W="",i;"-"===($=$[0]).slice(0,1)?(W=$,$={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[$]):W="-"+$.toLowerCase()+"-"}},q=function(){var e=t.requestAnimationFrame||t[$.toLowerCase()+"RequestAnimationFrame"],i=Ot();return(Wt||!e)&&(e=function(e){var n=Ot()-i,o=l.max(0,1e3/60-n);return t.setTimeout((function(){i=Ot(),e()}),o)}),e},J=function(){var e=t.cancelAnimationFrame||t[$.toLowerCase()+"CancelAnimationFrame"];return(Wt||!e)&&(e=function(e){return t.clearTimeout(e)}),e},K={begin:function(){return 0},end:function(){return 1},linear:function(t){return t},quadratic:function(t){return t*t},cubic:function(t){return t*t*t},swing:function(t){return-l.cos(t*l.PI)/2+.5},sqrt:function(t){return l.sqrt(t)},outCubic:function(t){return l.pow(t-1,3)+1},bounce:function(t){var e;if(.5083>=t)e=3;else if(.8489>=t)e=9;else if(.96208>=t)e=27;else{if(!(.99981>=t))return 1;e=91}return 1-l.abs(3*l.cos(1.028*t*e)/e)}};n.prototype.refresh=function(t){var n,o,r=!1;for(t===i?(r=!0,lt=[],$t=0,t=e.getElementsByTagName("*")):t.length===i&&(t=[t]),n=0,o=t.length;o>n;n++){var a=t[n],s=a,l=[],c=mt,d=yt,u=!1;if(r&&P in a&&delete a[P],a.attributes){for(var p=0,f=a.attributes.length;f>p;p++){var m=a.attributes[p];if("data-anchor-target"!==m.name)if("data-smooth-scrolling"!==m.name)if("data-edge-strategy"!==m.name)if("data-emit-events"!==m.name){var g=m.name.match(H);if(null!==g){var v={props:m.value,element:a,eventType:m.name.replace(N,L)};l.push(v);var b=g[1];b&&(v.constant=b.substr(1));var y=g[2];/p$/.test(y)?(v.isPercentage=!0,v.offset=(0|y.slice(0,-1))/100):v.offset=0|y;var w=g[3],x=g[4]||w;w&&w!==k&&w!==_?(v.mode="relative",v.anchors=[w,x]):(v.mode="absolute",w===_?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*zt))}}else u=!0;else d=m.value;else c="off"!==m.value;else if(null===(s=e.querySelector(m.value)))throw'Unable to find anchor target "'+m.value+'"'}var C,S,E;if(l.length)!r&&P in a?(E=a[P],C=lt[E].styleAttr,S=lt[E].classAttr):(E=a[P]=$t++,C=a.style.cssText,S=Dt(a)),lt[E]={element:a,styleAttr:C,classAttr:S,anchorTarget:s,keyFrames:l,smoothScrolling:c,edgeStrategy:d,emitEvents:u,lastFrameIndex:-1},At(a,[h],[])}}for(It(),n=0,o=t.length;o>n;n++){var T=lt[t[n][P]];T!==i&&(Z(T),et(T))}return st},n.prototype.relativeToAbsolute=function(t,e,i){var n=o.clientHeight,r=t.getBoundingClientRect(),a=r.top,s=r.bottom-r.top;return e===A?a-=n:e===D&&(a-=n/2),i===A?a+=s:i===D&&(a+=s/2),0|(a+=st.getScrollTop())+.5},n.prototype.animateTo=function(t,e){e=e||{};var n=Ot(),o=st.getScrollTop();return(ht={startTop:o,topDiff:t-o,targetTop:t,duration:e.duration||S,startTime:n,endTime:n+(e.duration||S),easing:K[e.easing||C],done:e.done}).topDiff||(ht.done&&ht.done.call(st,!1),ht=i),st},n.prototype.stopAnimateTo=function(){ht&&ht.done&&ht.done.call(st,!0),ht=i},n.prototype.isAnimatingTo=function(){return!!ht},n.prototype.isMobile=function(){return Wt},n.prototype.setScrollTop=function(e,i){return bt=!0===i,Wt?Qt=l.min(l.max(e,0),Ft):t.scrollTo(0,e),st},n.prototype.getScrollTop=function(){return Wt?Qt:t.pageYOffset||o.scrollTop||r.scrollTop||0},n.prototype.getMaxScrollTop=function(){return Ft},n.prototype.on=function(t,e){return dt[t]=e,st},n.prototype.off=function(t){return delete dt[t],st},n.prototype.destroy=function(){var t;J()(xt),Et(),At(o,[y],[b,w,x]);for(var e=0,n=lt.length;n>e;e++)rt(lt[e].element);o.style.overflow=r.style.overflow="",o.style.height=r.style.height="",ct&&a.setStyle(ct,"transform","none"),st=i,ct=i,dt=i,ut=i,Ft=0,zt=1,pt=i,ft=i,Nt="down",Lt=-1,Gt=0,Bt=0,Rt=!1,ht=i,mt=i,gt=i,vt=i,bt=i,$t=0,yt=i,Wt=!1,Qt=0,wt=i};var U=function(){var n,a,s,c,h,m,g,v,b,y,w,x;Ct(o,[d,u,p,f].join(" "),(function(t){var o=t.changedTouches[0];for(c=t.target;3===c.nodeType;)c=c.parentNode;switch(h=o.clientY,m=o.clientX,y=t.timeStamp,M.test(c.tagName)||t.preventDefault(),t.type){case d:n&&n.blur(),st.stopAnimateTo(),n=c,a=g=h,s=m,b=y;break;case u:M.test(c.tagName)&&e.activeElement!==c&&t.preventDefault(),v=h-g,x=y-w,st.setScrollTop(Qt-v,!0),g=h,w=y;break;default:case p:case f:var r=a-h,C=s-m,S;if(49>C*C+r*r){if(!M.test(n.tagName)){n.focus();var E=e.createEvent("MouseEvents");E.initMouseEvent("click",!0,!0,t.view,1,o.screenX,o.screenY,o.clientX,o.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),n.dispatchEvent(E)}return}n=i;var T=v/x;T=l.max(l.min(T,3),-3);var I=l.abs(T/ft),k=T*I+.5*ft*I*I,_=st.getScrollTop()-k,D=0;_>Ft?(D=(Ft-_)/k,_=Ft):0>_&&(D=-_/k,_=0),I*=1-D,st.animateTo(0|_+.5,{easing:"outCubic",duration:I})}})),t.scrollTo(0,0),o.style.overflow=r.style.overflow="hidden"},V=function(){var t,e,i,n,r,a,s,c,d,u,p,f=o.clientHeight,h=kt();for(c=0,d=lt.length;d>c;c++)for(e=(t=lt[c]).element,i=t.anchorTarget,r=0,a=(n=t.keyFrames).length;a>r;
34r++)u=(s=n[r]).offset,p=h[s.constant]||0,s.frame=u,s.isPercentage&&(u*=f,s.frame=u),"relative"===s.mode&&(rt(e),s.frame=st.relativeToAbsolute(i,s.anchors[0],s.anchors[1])-u,rt(e,!0)),s.frame+=p,ut&&!s.isEnd&&s.frame>Ft&&(Ft=s.frame);for(Ft=l.max(Ft,_t()),c=0,d=lt.length;d>c;c++){for(r=0,a=(n=(t=lt[c]).keyFrames).length;a>r;r++)p=h[(s=n[r]).constant]||0,s.isEnd&&(s.frame=Ft-s.offset+p);t.keyFrames.sort(Ht)}},Y=function(t,e){for(var i=0,n=lt.length;n>i;i++){var o,r,l=lt[i],c=l.element,d=l.smoothScrolling?t:e,u=l.keyFrames,p=u.length,f=u[0],b=u[u.length-1],y=f.frame>d,w=d>b.frame,x=y?f:b,C=l.emitEvents,S=l.lastFrameIndex;if(y||w){if(y&&-1===l.edge||w&&1===l.edge)continue;switch(y?(At(c,[m],[v,g]),C&&S>-1&&(Tt(c,f.eventType,Nt),l.lastFrameIndex=-1)):(At(c,[v],[m,g]),C&&p>S&&(Tt(c,b.eventType,Nt),l.lastFrameIndex=p)),l.edge=y?-1:1,l.edgeStrategy){case"reset":rt(c);continue;case"ease":d=x.frame;break;default:case"set":var E=x.props;for(o in E)s.call(E,o)&&(r=ot(E[o].value),0===o.indexOf("@")?c.setAttribute(o.substr(1),r):a.setStyle(c,o,r));continue}}else 0!==l.edge&&(At(c,[h,g],[m,v]),l.edge=0);for(var T=0;p-1>T;T++)if(d>=u[T].frame&&u[T+1].frame>=d){var I=u[T],k=u[T+1];for(o in I.props)if(s.call(I.props,o)){var _=(d-I.frame)/(k.frame-I.frame);_=I.props[o].easing(_),r=nt(I.props[o].value,k.props[o].value,_),r=ot(r),0===o.indexOf("@")?c.setAttribute(o.substr(1),r):a.setStyle(c,o,r)}C&&S!==T&&(Tt(c,"down"===Nt?I.eventType:k.eventType,Nt),l.lastFrameIndex=T);break}}},X=function(){Rt&&(Rt=!1,It());var t,e,n=st.getScrollTop(),o=Ot();if(ht)o>=ht.endTime?(n=ht.targetTop,t=ht.done,ht=i):(e=ht.easing((o-ht.startTime)/ht.duration),n=0|ht.startTop+e*ht.topDiff),st.setScrollTop(n,!0);else if(!bt){var r;vt.targetTop-n&&(vt={startTop:Lt,topDiff:n-Lt,targetTop:n,startTime:jt,endTime:jt+gt}),vt.endTime>=o&&(e=K.sqrt((o-vt.startTime)/gt),n=0|vt.startTop+e*vt.topDiff)}if(Wt&&ct&&a.setStyle(ct,"transform","translate(0, "+-Qt+"px) "+wt),bt||Lt!==n){bt=!1;var s={curTop:n,lastTop:Lt,maxTop:Ft,direction:Nt=n>Lt?"down":Lt>n?"up":Nt},l;!1!==(dt.beforerender&&dt.beforerender.call(st,s))&&(Y(n,st.getScrollTop()),Lt=n,dt.render&&dt.render.call(st,s)),t&&t.call(st,!1)}jt=o},Z=function(t){for(var e=0,i=t.keyFrames.length;i>e;e++){for(var n,o,r,a,s=t.keyFrames[e],l={};null!==(a=F.exec(s.props));)r=a[1],o=a[2],null!==(n=r.match(z))?(r=n[1],n=n[2]):n=C,o=o.indexOf("!")?tt(o):[o.slice(1)],l[r]={value:o,easing:K[n]};s.props=l}},tt=function(t){var e=[];return B.lastIndex=0,t=t.replace(B,(function(t){return t.replace(j,(function(t){return t/255*100+"%"}))})),W&&(R.lastIndex=0,t=t.replace(R,(function(t){return W+t}))),t=t.replace(j,(function(t){return e.push(+t),"{?}"})),e.unshift(t),e},et=function(t){var e,i,n={};for(e=0,i=t.keyFrames.length;i>e;e++)it(t.keyFrames[e],n);for(n={},e=t.keyFrames.length-1;e>=0;e--)it(t.keyFrames[e],n)},it=function(t,e){var i;for(i in e)s.call(t.props,i)||(t.props[i]=e[i]);for(i in t.props)e[i]=t.props[i]},nt=function(t,e,i){var n,o=t.length;if(o!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';var r=[t[0]];for(n=1;o>n;n++)r[n]=t[n]+(e[n]-t[n])*i;return r},ot=function(t){var e=1;return G.lastIndex=0,t[0].replace(G,(function(){return t[e++]}))},rt=function(t,e){for(var i,n,o=0,r=(t=[].concat(t)).length;r>o;o++)n=t[o],(i=lt[n[P]])&&(e?(n.style.cssText=i.dirtyStyleAttr,At(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=Dt(n),n.style.cssText=i.styleAttr,At(n,i.classAttr)))},at=function(){wt="translateZ(0)",a.setStyle(ct,"transform",wt);var t=c(ct),e=t.getPropertyValue("transform"),i=t.getPropertyValue(W+"transform"),n;e&&"none"!==e||i&&"none"!==i||(wt="")};a.setStyle=function(t,e,i){var n=t.style;if("zIndex"===(e=e.replace(N,L).replace("-","")))n[e]=isNaN(i)?i:""+(0|i);else if("float"===e)n.styleFloat=n.cssFloat=i;else try{$&&(n[$+e.slice(0,1).toUpperCase()+e.slice(1)]=i),n[e]=i}catch(t){}};var st,lt,ct,dt,ut,pt,ft,ht,mt,gt,vt,bt,yt,wt,xt,Ct=a.addEvent=function(e,i,n){for(var o=function(e){return(e=e||t.event).target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1,e.defaultPrevented=!0}),n.call(this,e)},r,a=0,s=(i=i.split(" ")).length;s>a;a++)r=i[a],e.addEventListener?e.addEventListener(r,n,!1):e.attachEvent("on"+r,o),qt.push({element:e,name:r,listener:n})}
34,St=a.removeEvent=function(t,e,i){for(var n=0,o=(e=e.split(" ")).length;o>n;n++)t.removeEventListener?t.removeEventListener(e[n],i,!1):t.detachEvent("on"+e[n],i)},Et=function(){for(var t,e=0,i=qt.length;i>e;e++)t=qt[e],St(t.element,t.name,t.listener);qt=[]},Tt=function(t,e,i){dt.keyframe&&dt.keyframe.call(st,t,e,i)},It=function(){var t=st.getScrollTop();Ft=0,ut&&!Wt&&(r.style.height=""),V(),ut&&!Wt&&(r.style.height=Ft+o.clientHeight+"px"),Wt?st.setScrollTop(l.min(st.getScrollTop(),Ft)):st.setScrollTop(t,!0),bt=!0},kt=function(){var t,e,i=o.clientHeight,n={};for(t in pt)"function"==typeof(e=pt[t])?e=e.call(st):/p$/.test(e)&&(e=e.slice(0,-1)/100*i),n[t]=e;return n},_t=function(){var t,e=0;return ct&&(e=l.max(ct.offsetHeight,ct.scrollHeight)),(t=l.max(e,r.scrollHeight,r.offsetHeight,o.scrollHeight,o.offsetHeight,o.clientHeight))-o.clientHeight},Dt=function(e){var i="className";return t.SVGElement&&e instanceof t.SVGElement&&(e=e[i],i="baseVal"),e[i]},At=function(e,n,o){var r="className";if(t.SVGElement&&e instanceof t.SVGElement&&(e=e[r],r="baseVal"),o===i)return e[r]=n,i;for(var a=e[r],s=0,l=o.length;l>s;s++)a=Mt(a).replace(Mt(o[s])," ");a=Pt(a);for(var c=0,d=n.length;d>c;c++)-1===Mt(a).indexOf(Mt(n[c]))&&(a+=" "+n[c]);e[r]=Pt(a)},Pt=function(t){return t.replace(O,"")},Mt=function(t){return" "+t+" "},Ot=Date.now||function(){return+new Date},Ht=function(t,e){return t.frame-e.frame},Ft=0,zt=1,Nt="down",Lt=-1,jt=Ot(),Gt=0,Bt=0,Rt=!1,$t=0,Wt=!1,Qt=0,qt=[];"function"==typeof define&&define.amd?define([],(function(){return a})):"undefined"!=typeof module&&module.exports?module.exports=a:t.skrollr=a}(window,document), 35/*! Magnific Popup - v0.9.9 - 2013-11-15 36* http://dimsemenov.com/plugins/magnific-popup/ 37* Copyright (c) 2013 Dmitry Semenov; */ 38function(t){var e,i,n,o,r,a,s,l="Close",c="BeforeClose",d="AfterClose",u="BeforeAppend",p="MarkupParse",f="Open",h="Change",m="mfp",g="."+m,v="mfp-ready",b="mfp-removing",y="mfp-prevent-close",w=function(){},x=!!window.jQuery,C=t(window),S=function(t,i){e.ev.on(m+t+g,i)},E=function(e,i,n,o){var r=document.createElement("div");return r.className="mfp-"+e,n&&(r.innerHTML=n),o?i&&i.appendChild(r):(r=t(r),i&&r.appendTo(i)),r},T=function(i,n){e.ev.triggerHandler(m+i,n),e.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),e.st.callbacks[i]&&e.st.callbacks[i].apply(e,t.isArray(n)?n:[n]))},I=function(i){return i===s&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),s=i),e.currTemplate.closeBtn},k=function(){t.magnificPopup.instance||((e=new w).init(),t.magnificPopup.instance=e)},_=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1};w.prototype={constructor:w,init:function(){var i=navigator.appVersion;e.isIE7=-1!==i.indexOf("MSIE 7."),e.isIE8=-1!==i.indexOf("MSIE 8."),e.isLowIE=e.isIE7||e.isIE8,e.isAndroid=/android/gi.test(i),e.isIOS=/iphone|ipad|ipod/gi.test(i),e.supportsTransition=_(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=t(document.body),o=t(document),e.popupsCache={}},open:function(i){var n;if(!1===i.isObj){e.items=i.items.toArray(),e.index=0;var r,s=i.items;for(n=0;s.length>n;n++)if((r=s[n]).parsed&&(r=r.el[0]),r===i.el[0]){e.index=n;break}}else e.items=t.isArray(i.items)?i.items:[i.items],e.index=i.index||0;if(!e.isOpen){e.types=[],a="",e.ev=i.mainEl&&i.mainEl.length?i.mainEl.eq(0):o,i.key?(e.popupsCache[i.key]||(e.popupsCache[i.key]={}),e.currTemplate=e.popupsCache[i.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,i),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=E("bg").on("click"+g,(function(){e.close()})),e.wrap=E("wrap").attr("tabindex",-1).on("click"+g,(function(t){e._checkIfClose(t.target)&&e.close()})),e.container=E("container",e.wrap)),e.contentContainer=E("content"),e.st.preloader&&(e.preloader=E("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(n=0;l.length>n;n++){var c=l[n];c=c.charAt(0).toUpperCase()+c.slice(1),e["init"+c].call(e)}T("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(S(p,(function(t,e,
38i,n){i.close_replaceWith=I(n.type)})),a+=" mfp-close-btn-in"):e.wrap.append(I())),e.st.alignTop&&(a+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:C.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:o.height(),position:"absolute"}),e.st.enableEscapeKey&&o.on("keyup"+g,(function(t){27===t.keyCode&&e.close()})),C.on("resize"+g,(function(){e.updateSize()})),e.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&e.wrap.addClass(a);var d=e.wH=C.height(),u={};if(e.fixedContentPos&&e._hasScrollBar(d)){var h=e._getScrollbarSize();h&&(u.marginRight=h)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):u.overflow="hidden");var m=e.st.mainClass;return e.isIE7&&(m+=" mfp-ie7"),m&&e._addClassToMFP(m),e.updateItemHTML(),T("BuildControls"),t("html").css(u),e.bgOverlay.add(e.wrap).prependTo(document.body),e._lastFocusedEl=document.activeElement,setTimeout((function(){e.content?(e._addClassToMFP(v),e._setFocus()):e.bgOverlay.addClass(v),o.on("focusin"+g,e._onFocusIn)}),16),e.isOpen=!0,e.updateSize(d),T(f),i}e.updateItemHTML()},close:function(){e.isOpen&&(T(c),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(b),setTimeout((function(){e._close()}),e.st.removalDelay)):e._close())},_close:function(){T(l);var i=b+" "+v+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(i+=e.st.mainClass+" "),e._removeClassFromMFP(i),e.fixedContentPos){var n={marginRight:""};e.isIE7?t("body, html").css("overflow",""):n.overflow="",t("html").css(n)}o.off("keyup.mfp focusin"+g),e.ev.off(g),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,T(d)},updateSize:function(t){if(e.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;e.wrap.css("height",n),e.wH=n}else e.wH=t||C.height();e.fixedContentPos||e.wrap.css("height",e.wH),T("Resize")},updateItemHTML:function(){var i=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),i.parsed||(i=e.parseEl(e.index));var n=i.type;if(T("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=i,!e.currTemplate[n]){var o=!!e.st[n]&&e.st[n].markup;T("FirstMarkupParse",o),e.currTemplate[n]=!o||t(o)}r&&r!==i.type&&e.container.removeClass("mfp-"+r+"-holder");var a=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,e.currTemplate[n]);e.appendContent(a,n),i.preloaded=!0,T(h,i),r=i.type,e.container.prepend(e.contentContainer),T("AfterChange")},appendContent:function(t,i){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[i]?e.content.find(".mfp-close").length||e.content.append(I()):e.content=t:e.content="",T(u),e.container.addClass("mfp-"+i+"-holder"),e.contentContainer.append(e.content)},parseEl:function(i){var n=e.items[i],o=n.type;if((n=n.tagName?{el:t(n)}:{data:n,src:n.src}).el){for(var r=e.types,a=0;r.length>a;a++)if(n.el.hasClass("mfp-"+r[a])){o=r[a];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=o||e.st.type||"inline",n.index=i,n.parsed=!0,e.items[i]=n,T("ElementParse",n),e.items[i]},addGroup:function(t,i){var n=function(n){n.mfpEl=this,e._openClick(n,t,i)};i||(i={});var o="click.magnificPopup";i.mainEl=t,i.items?(i.isObj=!0,t.off(o).on(o,n)):(i.isObj=!1,i.delegate?t.off(o).on(o,i.delegate,n):(i.items=t,t.off(o).on(o,n)))},_openClick:function(i,n,o){var r;if((void 0!==o.midClick?o.midClick:t.magnificPopup.defaults.midClick)||2!==i.which&&!i.ctrlKey&&!i.metaKey){var a=void 0!==o.disableOn?o.disableOn:t.magnificPopup.defaults.disableOn;if(a)if(t.isFunction(a)){if(!a.call(e))return!0}else if(a>C.width())return!0;i.type&&(i.preventDefault(),e.isOpen&&i.stopPropagation()),o.el=t(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),e.o
38pen(o)}},updateStatus:function(t,n){if(e.preloader){i!==t&&e.container.removeClass("mfp-s-"+i),n||"loading"!==t||(n=e.st.tLoading);var o={status:t,text:n};T("UpdateStatus",o),t=o.status,n=o.text,e.preloader.html(n),e.preloader.find("a").on("click",(function(t){t.stopImmediatePropagation()})),e.container.addClass("mfp-s-"+t),i=t}},_checkIfClose:function(i){if(!t(i).hasClass(y)){var n=e.st.closeOnContentClick,o=e.st.closeOnBgClick;if(n&&o)return!0;if(!e.content||t(i).hasClass("mfp-close")||e.preloader&&i===e.preloader[0])return!0;if(i===e.content[0]||t.contains(e.content[0],i)){if(n)return!0}else if(o&&t.contains(document,i))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?o.height():document.body.scrollHeight)>(t||C.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(i){return i.target===e.wrap[0]||t.contains(e.wrap[0],i.target)?void 0:(e._setFocus(),!1)},_parseMarkup:function(e,i,n){var o;n.data&&(i=t.extend(n.data,i)),T(p,[e,i,n]),t.each(i,(function(t,i){if(void 0===i||!1===i)return!0;if((o=t.split("_")).length>1){var n=e.find(g+"-"+o[0]);if(n.length>0){var r=o[1];"replaceWith"===r?n[0]!==i[0]&&n.replaceWith(i):"img"===r?n.is("img")?n.attr("src",i):n.replaceWith('<img src="'+i+'" class="'+n.attr("class")+'" />'):n.attr(o[1],i)}}else e.find(g+"-"+t).html(i)}))},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.id="mfp-sbm",t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(e,i){return k(),(e=e?t.extend(!0,{},e):{}).isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},t.fn.magnificPopup=function(i,n){k();var o=t(this);if("string"==typeof i)if("open"===i){var r,a=x?o.data("magnificPopup"):o[0].magnificPopup,s=parseInt(n,10)||0;a.items?r=a.items[s]:(r=o,a.delegate&&(r=r.find(a.delegate)),r=r.eq(s)),e._openClick({mfpEl:r},o,a)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),x?o.data("magnificPopup",i):o[0].magnificPopup=i,e.addGroup(o,i);return o};var D,A,P,M="inline",O=function(){P&&(A.after(P.addClass(D)).detach(),P=null)};t.magnificPopup.registerModule(M,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(M),S(l+"."+M,(function(){O()}))},getInline:function(i,n){if(O(),i.src){var o=e.st.inline,r=t(i.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(A||(D=o.hiddenClass,A=E(D),D="mfp-"+D),P=r.after(A).detach().removeClass(D)),e.updateStatus("ready")}else e.updateStatus("error",o.tNotFound),r=t("<div>");return i.inlineElement=r,r}return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var H,F="ajax",z=function(){H&&n.removeClass(H)},N=function(){z(),e.req&&e.req.abort()};t.magnificPopup.registerModule(F,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(F),H=e.st.ajax.cursor,S(l+"."+F,N),S("BeforeChange."+F,N)},getAjax:function(i){H&&n.addClass(H),e.updateStatus("loading");var o=t.extend({url:i.src,success:function(n,o,r){var a={data:n,xhr:r};T("ParseAjax",a),e.appendContent(t(a.data),F),i.finished=!0,z(),e._setFocus(),setTimeout((function(){e.wrap.addClass(v)}),16),e.updateStatus("ready"),T("AjaxContentAdded")},error:function(){z(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(o),""}}});var L,j=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;
38var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,i);if(i.el)return i.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=e.st.image,i=".image";e.types.push("image"),S(f+i,(function(){"image"===e.currItem.type&&t.cursor&&n.addClass(t.cursor)})),S(l+i,(function(){t.cursor&&n.removeClass(t.cursor),C.off("resize"+g)})),S("Resize"+i,e.resizeImage),e.isLowIE&&S("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,L&&clearInterval(L),t.isCheckingImgSize=!1,T("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],o=function(r){L&&clearInterval(L),L=setInterval((function(){return n.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval(L),void(3===++i?o(10):40===i?o(50):100===i&&o(500)))}),r)};o(1)},getImage:function(i,n){var o=0,r=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,T("ImageLoadComplete")):200>++o?setTimeout(r,100):a())},a=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",s.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},s=e.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.img=t(c).on("load.mfploader",r).on("error.mfploader",a),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),i.img[0].naturalWidth>0&&(i.hasSize=!0)}return e._parseMarkup(n,{title:j(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(L&&clearInterval(L),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",s.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}});var G,B=function(){return void 0===G&&(G=void 0!==document.createElement("p").style.MozTransform),G};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var o,r,a=i.duration,s=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=n,e.css(o),e},d=function(){e.content.css("visibility","visible")};S("BuildControls"+n,(function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void d();(r=s(t)).css(e._getOffset()),e.wrap.append(r),o=setTimeout((function(){r.css(e._getOffset(!0)),o=setTimeout((function(){d(),setTimeout((function(){r.remove(),t=r=null,T("ZoomAnimationEnded")}),16)}),a)}),16)}})),S(c+n,(function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=a,!t){if(!(t=e._getItemToZoom()))return;r=s(t)}r.css(e._getOffset(!0)),e.wrap.append(r),e.content.css("visibility","hidden"),setTimeout((function(){r.css(e._getOffset())}),16)}})),S(l+n,(function(){e._allowZoom()&&(d(),r&&r.remove(),t=null)}))}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var n,o=(n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),r=parseInt(n.css("padding-top"),10),a=parseInt(n.css("padding-bottom"),10);o.top-=t(window).scrollTop()-r;var s={width:n.width(),height:(x?n.innerHeight():n[0].offsetHeight)-a-r};return B()?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});
38var R="iframe",$="//about:blank",W=function(t){if(e.currTemplate[R]){var i=e.currTemplate[R].find("iframe");i.length&&(t||(i[0].src=$),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(R,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(R),S("BeforeChange",(function(t,e,i){e!==i&&(e===R?W():i===R&&W(!0))})),S(l+"."+R,(function(){W()}))},getIframe:function(i,n){var o=i.src,r=e.st.iframe;t.each(r.patterns,(function(){return o.indexOf(this.index)>-1?(this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1):void 0}));var a={};return r.srcAction&&(a[r.srcAction]=o),e._parseMarkup(n,a,i),e.updateStatus("ready"),n}}});var Q=function(t){var i=e.items.length;return t>i-1?t-i:0>t?i+t:t},q=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,n=".mfp-gallery",r=Boolean(t.fn.mfpFastClick);return e.direction=!0,!(!i||!i.enabled)&&(a+=" mfp-gallery",S(f+n,(function(){i.navigateByImgClick&&e.wrap.on("click"+n,".mfp-img",(function(){return e.items.length>1?(e.next(),!1):void 0})),o.on("keydown"+n,(function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()}))})),S("UpdateStatus"+n,(function(t,i){i.text&&(i.text=q(i.text,e.currItem.index,e.items.length))})),S(p+n,(function(t,n,o,r){var a=e.items.length;o.counter=a>1?q(i.tCounter,r.index,a):""})),S("BuildControls"+n,(function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,o=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(y),a=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(y),s=r?"mfpFastClick":"click";o[s]((function(){e.prev()})),a[s]((function(){e.next()})),e.isIE7&&(E("b",o[0],!1,!0),E("a",o[0],!1,!0),E("b",a[0],!1,!0),E("a",a[0],!1,!0)),e.container.append(o.add(a))}})),S(h+n,(function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout((function(){e.preloadNearbyImages(),e._preloadTimeout=null}),16)})),void S(l+n,(function(){o.off(n),e.wrap.off("click"+n),e.arrowLeft&&r&&e.arrowLeft.add(e.arrowRight).destroyMfpFastClick(),e.arrowRight=e.arrowLeft=null})))},next:function(){e.direction=!0,e.index=Q(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=Q(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),o=Math.min(i[1],e.items.length);for(t=1;(e.direction?o:n)>=t;t++)e._preloadItem(e.index+t);for(t=1;(e.direction?n:o)>=t;t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=Q(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),T("LazyLoad",n),"image"===n.type&&(n.img=t('<img class="mfp-img" />').on("load.mfploader",(function(){n.hasSize=!0})).on("error.mfploader",(function(){n.hasSize=!0,n.loadError=!0,T("LazyLoadError",n)})).attr("src",n.src)),n.preloaded=!0}}}});var J="retina";t.magnificPopup.registerModule(J,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,(function(t){return"@2x"+t}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;(i=isNaN(i)?i():i)>1&&(S("ImageHasSize."+J,(function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}
38)),S("ElementParse."+J,(function(e,n){n.src=t.replaceSrc(n,i)})))}}}}),function(){var e=1e3,i="ontouchstart"in window,n=function(){C.off("touchmove"+r+" touchend"+r)},o,r="."+"mfpFastClick";t.fn.mfpFastClick=function(o){return t(this).each((function(){var a,s=t(this),l,c,d,u,p,f;i&&s.on("touchstart"+r,(function(t){u=!1,f=1,p=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],c=p.clientX,d=p.clientY,C.on("touchmove"+r,(function(t){p=t.originalEvent?t.originalEvent.touches:t.touches,f=p.length,p=p[0],(Math.abs(p.clientX-c)>10||Math.abs(p.clientY-d)>10)&&(u=!0,n())})).on("touchend"+r,(function(t){n(),u||f>1||(a=!0,t.preventDefault(),clearTimeout(l),l=setTimeout((function(){a=!1}),e),o())}))}));s.on("click"+r,(function(){a||o()}))}))},t.fn.destroyMfpFastClick=function(){t(this).off("touchstart"+r+" click"+r),i&&C.off("touchmove"+r+" touchend"+r)}}(),k()}(window.jQuery||window.Zepto);
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.