PageSourceSearch

https://www.negozioleggero.it/wp-content/themes/fount/js/other-min.js?ver=1685108404

js negozioleggero.it collected 2026-10-03 21:38:03 UTC 208,504 bytes, 44 lines download raw bytes

1!function(){var t=!1;window.JQClass=function(){},JQClass.classes={},JQClass.extend=function e(n){function i(){!t&&this._init&&this._init.apply(this,arguments)}var o=this.prototype;t=!0;var s=new this;for(var a in t=!1,n)s[a]="function"==typeof n[a]&&"function"==typeof o[a]?function(t,e){return function(){var n=this._super;this._super=function(e){return o[t].apply(this,e||[])};var i=e.apply(this,arguments);return this._super=n,i}}(a,n[a]):n[a];return i.prototype=s,i.prototype.constructor=i,i.extend=e,i}}(),function($){function camelCase(t){return t.replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()}))}JQClass.classes.JQPlugin=JQClass.extend({name:"plugin",defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return"is-"+this.name},_init:function(){$.extend(this.defaultOptions,this.regionalOptions&&this.regionalOptions[""]||{});var t=camelCase(this.name);$[t]=this,$.fn[t]=function(e){var n=Array.prototype.slice.call(arguments,1);return $[t]._isNotChained(e,n)?$[t][e].apply($[t],[this[0]].concat(n)):this.each((function(){if("string"==typeof e){if("_"===e[0]||!$[t][e])throw"Unknown method: "+e;$[t][e].apply($[t],[this].concat(n))}else $[t]._attach(this,e)}))}},setDefaults:function(t){$.extend(this.defaultOptions,t||{})},_isNotChained:function(t,e){return"option"===t&&(0===e.length||1===e.length&&"string"==typeof e[0])||$.inArray(t,this._getters)>-1},_attach:function(t,e){if(!(t=$(t)).hasClass(this._getMarker())){t.addClass(this._getMarker()),e=$.extend({},this.defaultOptions,this._getMetadata(t),e||{});var n=$.extend({name:this.name,elem:t,options:e},this._instSettings(t,e));t.data(this.name,n),this._postAttach(t,n),this.option(t,e)}},_instSettings:function(t,e){return{}},_postAttach:function(t,e){},_getMetadata:function(elem){try{var data=elem.data(this.name.toLowerCase())||"";for(var name in data=data.replace(/'/g,'"'),data=data.replace(/([a-zA-Z0-9]+):/g,(function(t,e,n){var i=data.substring(0,n).match(/"/g);return i&&i.length%2!=0?e+":":'"'+e+'":'})),data=$.parseJSON("{"+data+"}"),data){var value=data[name];"string"==typeof value&&value.match(/^new Date\((.*)\)$/)&&(data[name]=eval(value))}return data}catch(t){return{}}},_getInst:function(t){return $(t).data(this.name)||{}},option:function(t,e,n){var i=(t=$(t)).data(this.name),o;if(!e||"string"==typeof e&&null==n)return(o=(i||{}).options)&&e?o[e]:o;if(t.hasClass(this._getMarker())){var o=e||{};
1"string"==typeof e&&((o={})[e]=n),this._optionsChanged(t,i,o),$.extend(i.options,o)}},_optionsChanged:function(t,e,n){},destroy:function(t){(t=$(t)).hasClass(this._getMarker())&&(this._preDestroy(t,this._getInst(t)),t.removeData(this.name).removeClass(this._getMarker()))},_preDestroy:function(t,e){}}),$.JQPlugin={createPlugin:function(t,e){"object"==typeof t&&(e=t,t="JQPlugin"),t=camelCase(t);var n=camelCase(e.name);JQClass.classes[n]=JQClass.classes[t].extend(e),new JQClass.classes[n]}}}(jQuery),function($){var t="countdown",e=0,n=1,i=2,o=3,s=4,a=5,r=6;$.JQPlugin.createPlugin({name:t,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:!1,padZeroes:!1,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1}},_getters:["getTimes"],_rtlClass:t+"-rtl",_sectionClass:t+"-section",_amountClass:t+"-amount",_periodClass:t+"-period",_rowClass:t+"-row",_holdingClass:t+"-holding",_showClass:t+"-show",_descrClass:t+"-descr",_timerElems:[],_init:function(){function t(a){var r=a<1e12?i?performance.now()+performance.timing.navigationStart:n():a||n();r-s>=1e3&&(e._updateElems(),s=r),o(t)}var e=this;this._super(),this._serverSyncs=[];var n="function"==typeof Date.now?Date.now:function(){return(new Date).getTime()},i=window.performance&&"function"==typeof window.performance.now,o=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null,s=0;!o||$.noRequestAnimationFrame?($.noRequestAnimationFrame=null,setInterval((function(){e._updateElems()}),980)):(s=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||n(),o(t))},UTCDate:function(t,e,n,i,o,s,a,r){"object"==typeof e&&e.constructor==Date&&(r=e.getMilliseconds(),a=e.getSeconds(),s=e.getMinutes(),o=e.getHours(),i=e.getDate(),n=e.getMonth(),e=e.getFullYear());var l=new Date;return l.setUTCFullYear(e),l.setUTCDate(1),l.setUTCMonth(n||0),l.setUTCDate(i||1),l.setUTCHours(o||0),l.setUTCMinutes((s||0)-(Math.abs(t)<30?60*t:t)),l.setUTCSeconds(a||0),l.setUTCMilliseconds(r||0),l},periodsToSeconds:function(t){return 31557600*t[0]+2629800*t[1]+604800*t[2]+86400*t[3]+3600*t[4]+60*t[5]+t[6]},resync:function(){var t=this;$("."+this._getMarker()).each((function(){var e=$.data(this,t.name);if(e.options.serverSync){for(var n=null,i=0;i<t._serverSyncs.length;i++)if(t._serverSyncs[i][0]==e.options.serverSync){n=t._serverSyncs[i];break}if(null==n[2]){var o=$.isFunction(e.options.serverSync)?e.options.serverSync.apply(this,[]):null;n[2]=(o?(new Date).getTime()-o.getTime():0)-n[1]}e._since&&e._since.setMilliseconds(e._since.getMilliseconds()+n[2]),e._until.setMilliseconds(e._until.getMilliseconds()+n[2])}}));for(var e=0;e<t._serverSyncs.length;e++)null!=t._serverSyncs[e][2]&&(t._serverSyncs[e][1]+=t._serverSyncs[e][2],delete t._serverSyncs[e][2])},_instSettings:function(t,e){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(t){this._hasElem(t)||this._timerElems.push(t)},_hasElem:function(t){return $.inArray(t,this._timerElems)>-1},_removeElem:function(t){this._timerElems=$.map(this._timerElems,(function(e){return e==t?null:e}))},_updateElems:function(){for(var t=this._timerElems.length-1;t>=0;t--)this._updateCountdown(this._timerElems[t])},_optionsChanged:function(t,e,n){n.layout&&(n.layout=n.layout.replace(/&lt;/g,"<").replace(/&gt;/g,">")),this._resetExtraLabels(e.options,n);var i=e.options.timezone!=n.timezone;$.extend(e.options,n),this._adjustSettings(t,e,null!=n.until||null!=n.since||i);var o=new Date;(e._since&&e._since<o||e._until&&e._until>o)&&this._addElem(t[0]),this._updateCountdown(t,e)},_updateCountdown:function(t,e){if(t=t.jquery?t:$(t),e=e||this._getInst(t)){if(t.html(this._generateHTML(e)).toggleClass(this._rtlClass,e.options.isRTL),$.isFunction(e.options.onT
1ick)){var n="lap"!=e._hold?e._periods:this._calculatePeriods(e,e._show,e.options.significant,new Date);1!=e.options.tickInterval&&this.periodsToSeconds(n)%e.options.tickInterval!=0||e.options.onTick.apply(t[0],[n])}var i;if("pause"!=e._hold&&(e._since?e._now.getTime()<e._since.getTime():e._now.getTime()>=e._until.getTime())&&!e._expiring){if(e._expiring=!0,this._hasElem(t[0])||e.options.alwaysExpire){if(this._removeElem(t[0]),$.isFunction(e.options.onExpiry)&&e.options.onExpiry.apply(t[0],[]),e.options.expiryText){var o=e.options.layout;e.options.layout=e.options.expiryText,this._updateCountdown(t[0],e),e.options.layout=o}e.options.expiryUrl&&(window.location=e.options.expiryUrl)}e._expiring=!1}else"pause"==e._hold&&this._removeElem(t[0])}},_resetExtraLabels:function(t,e){for(var n in e)n.match(/[Ll]abels[02-9]|compactLabels1/)&&(t[n]=e[n]);for(var n in t)n.match(/[Ll]abels[02-9]|compactLabels1/)&&void 0===e[n]&&(t[n]=null)},_adjustSettings:function(t,e,n){for(var i=null,o=0;o<this._serverSyncs.length;o++)if(this._serverSyncs[o][0]==e.options.serverSync){i=this._serverSyncs[o][1];break}if(null!=i)var s=e.options.serverSync?i:0,a=new Date;else{var r=$.isFunction(e.options.serverSync)?e.options.serverSync.apply(t[0],[]):null,a=new Date,s=r?a.getTime()-r.getTime():0;this._serverSyncs.push([e.options.serverSync,s])}var l=e.options.timezone;l=null==l?-a.getTimezoneOffset():l,(n||!n&&null==e._until&&null==e._since)&&(e._since=e.options.since,null!=e._since&&(e._since=this.UTCDate(l,this._determineTime(e._since,null)),e._since&&s&&e._since.setMilliseconds(e._since.getMilliseconds()+s)),e._until=this.UTCDate(l,this._determineTime(e.options.until,a)),s&&e._until.setMilliseconds(e._until.getMilliseconds()+s)),e._show=this._determineShow(e)},_preDestroy:function(t,e){this._removeElem(t[0]),t.empty()},pause:function(t){this._hold(t,"pause")},lap:function(t){this._hold(t,"lap")},resume:function(t){this._hold(t,null)},toggle:function(t){var e;this[($.data(t,this.name)||{})._hold?"resume":"pause"](t)},toggleLap:function(t){var e;this[($.data(t,this.name)||{})._hold?"resume":"lap"](t)},_hold:function(t,e){var n=$.data(t,this.name);if(n){if("pause"==n._hold&&!e){n._periods=n._savePeriods;var i=n._since?"-":"+";n[n._since?"_since":"_until"]=this._determineTime(i+n._periods[0]+"y"+i+n._periods[1]+"o"+i+n._periods[2]+"w"+i+n._periods[3]+"d"+i+n._periods[4]+"h"+i+n._periods[5]+"m"+i+n._periods[6]+"s"),this._addElem(t)}n._hold=e,n._savePeriods="pause"==e?n._periods:null,$.data(t,this.name,n),this._updateCountdown(t,n)}},getTimes:function(t){var e=$.data(t,this.name);return e?"pause"==e._hold?e._savePeriods:e._hold?this._calculatePeriods(e,e._show,e.options.significant,new Date):e._periods:null},_determineTime:function(t,e){var n=this,i=function(t){var e=new Date;return e.setTime(e.getTime()+1e3*t),e},o,s=null==t?e:"string"==typeof t?function(t){t=t.toLowerCase();for(var e=new Date,i=e.getFullYear(),o=e.getMonth(),s=e.getDate(),a=e.getHours(),r=e.getMinutes(),l=e.getSeconds(),c=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g,u=c.exec(t);u;){switch(u[2]||"s"){case"s":l+=parseInt(u[1],10);break;case"m":r+=parseInt(u[1],10);break;case"h":a+=parseInt(u[1],10);break;case"d":s+=parseInt(u[1],10);break;case"w":s+=7*parseInt(u[1],10);break;case"o":o+=parseInt(u[1],10),s=Math.min(s,n._getDaysInMonth(i,o));break;case"y":i+=parseInt(u[1],10),s=Math.min(s,n._getDaysInMonth(i,o));break}u=c.exec(t)}return new Date(i,o,s,a,r,l,0)}(t):"number"==typeof t?i(t):t;return s&&s.setMilliseconds(0),s},_getDaysInMonth:function(t,e){return 32-new Date(t,e,32).getDate()},_normalLabels:function(t){return t},_generateHTML:function(t){var e=this;t._periods=t._hold?t._periods:this._calculatePeriods(t,t._show,t.options.significant,new Date);for(var n=!1,i=0,o=t.options.significant,s=$.extend({},t._show),a=0;a<=6;a++)n|="?"==t._show[a]&&t._periods[a]>0,s[a]="?"!=t._show[a]||n?t._show[a]:null,i+=s[a]?1:0,o-=t._periods[a]>0?1:0;for(var r=[!1,!1,!1,!1,!1,!1,!1],a=6;a>=0;a--)t._show[a]&&(t._periods[a]?r[a]=!0:(r[a]=o>0,o--));var l=t.options.compact?t.options.compactLabels:t.options.labels,c=t.options.whichLabels||this._normalLabels,u=function(n){var i=t.o
1ptions["compactLabels"+c(t._periods[n])];return s[n]?e._translateDigits(t,t._periods[n])+(i?i[n]:l[n])+" ":""},d=t.options.padZeroes?2:1,p=function(n){var i=t.options["labels"+c(t._periods[n])];return!t.options.significant&&s[n]||t.options.significant&&r[n]?'<span class="'+e._sectionClass+'"><span class="'+e._amountClass+'">'+e._minDigits(t,t._periods[n],d)+'</span><span class="'+e._periodClass+'">'+(i?i[n]:l[n])+"</span></span>":""};return t.options.layout?this._buildLayout(t,s,t.options.layout,t.options.compact,t.options.significant,r):(t.options.compact?'<span class="'+this._rowClass+" "+this._amountClass+(t._hold?" "+this._holdingClass:"")+'">'+u(0)+u(1)+u(2)+u(3)+(s[4]?this._minDigits(t,t._periods[4],2):"")+(s[5]?(s[4]?t.options.timeSeparator:"")+this._minDigits(t,t._periods[5],2):"")+(s[6]?(s[4]||s[5]?t.options.timeSeparator:"")+this._minDigits(t,t._periods[6],2):""):'<span class="'+this._rowClass+" "+this._showClass+(t.options.significant||i)+(t._hold?" "+this._holdingClass:"")+'">'+p(0)+p(1)+p(2)+p(3)+p(4)+p(5)+p(6))+"</span>"+(t.options.description?'<span class="'+this._rowClass+" "+this._descrClass+'">'+t.options.description+"</span>":"")},_buildLayout:function(t,e,n,i,o,s){for(var a=t.options[i?"compactLabels":"labels"],r=t.options.whichLabels||this._normalLabels,l=function(e){return(t.options[(i?"compactLabels":"labels")+r(t._periods[e])]||a)[e]},c=function(e,n){return t.options.digits[Math.floor(e/n)%10]},u={desc:t.options.description,sep:t.options.timeSeparator,yl:l(0),yn:this._minDigits(t,t._periods[0],1),ynn:this._minDigits(t,t._periods[0],2),ynnn:this._minDigits(t,t._periods[0],3),y1:c(t._periods[0],1),y10:c(t._periods[0],10),y100:c(t._periods[0],100),y1000:c(t._periods[0],1e3),ol:l(1),on:this._minDigits(t,t._periods[1],1),onn:this._minDigits(t,t._periods[1],2),onnn:this._minDigits(t,t._periods[1],3),o1:c(t._periods[1],1),o10:c(t._periods[1],10),o100:c(t._periods[1],100),o1000:c(t._periods[1],1e3),wl:l(2),wn:this._minDigits(t,t._periods[2],1),wnn:this._minDigits(t,t._periods[2],2),wnnn:this._minDigits(t,t._periods[2],3),w1:c(t._periods[2],1),w10:c(t._periods[2],10),w100:c(t._periods[2],100),w1000:c(t._periods[2],1e3),dl:l(3),dn:this._minDigits(t,t._periods[3],1),dnn:this._minDigits(t,t._periods[3],2),dnnn:this._minDigits(t,t._periods[3],3),d1:c(t._periods[3],1),d10:c(t._periods[3],10),d100:c(t._periods[3],100),d1000:c(t._periods[3],1e3),hl:l(4),hn:this._minDigits(t,t._periods[4],1),hnn:this._minDigits(t,t._periods[4],2),hnnn:this._minDigits(t,t._periods[4],3),h1:c(t._periods[4],1),h10:c(t._periods[4],10),h100:c(t._periods[4],100),h1000:c(t._periods[4],1e3),ml:l(5),mn:this._minDigits(t,t._periods[5],1),mnn:this._minDigits(t,t._periods[5],2),mnnn:this._minDigits(t,t._periods[5],3),m1:c(t._periods[5],1),m10:c(t._periods[5],10),m100:c(t._periods[5],100),m1000:c(t._periods[5],1e3),sl:l(6),sn:this._minDigits(t,t._periods[6],1),snn:this._minDigits(t,t._periods[6],2),snnn:this._minDigits(t,t._periods[6],3),s1:c(t._periods[6],1),s10:c(t._periods[6],10),s100:c(t._periods[6],100),s1000:c(t._periods[6],1e3)},d=n,p=0;p<=6;p++){var h="yowdhms".charAt(p),f=new RegExp("\\{"+h+"<\\}([\\s\\S]*)\\{"+h+">\\}","g");d=d.replace(f,!o&&e[p]||o&&s[p]?"$1":"")}return $.each(u,(function(t,e){var n=new RegExp("\\{"+t+"\\}","g");d=d.replace(n,e)})),d},_minDigits:function(t,e,n){return(e=""+e).length>=n?this._translateDigits(t,e):(e="0000000000"+e,this._translateDigits(t,e.substr(e.length-n)))},_translateDigits:function(t,e){return(""+e).replace(/[0-9]/g,(function(e){return t.options.digits[e]}))},_determineShow:function(t){var e=t.options.format,n=[];return n[0]=e.match("y")?"?":e.match("Y")?"!":null,n[1]=e.match("o")?"?":e.match("O")?"!":null,n[2]=e.match("w")?"?":e.match("W")?"!":null,n[3]=e.match("d")?"?":e.match("D")?"!":null,n[4]=e.match("h")?"?":e.match("H")?"!":null,n[5]=e.match("m")?"?":e.match("M")?"!":null,n[6]=e.match("s")?"?":e.match("S")?"!":null,n},_calculatePeriods:function(t,e,n,i){t._now=i,t._now.setMilliseconds(0);var o=new Date(t._now.getTime());t._since?i.getTime()<t._since.getTime()?t._now=i=o:i=t._since:(o.setTime(t._until.getTime()),i.getTime()>t._until.getTime()&&(t._now=i=o));var s=[0,0,0,0,0,0,0];if(e[0]||e[1]){var a=this._getDaysInMonth(i.getFullYear(),i.getMonth()),r=this._getDaysInMonth(o.getFullYear(),o.getMonth()),l=o.getDate()==i.getDate()||o.getDate()>=Math.min(a,r)&&i.getDate()>=Math.min(a,r),c=function(t){return 60*(60*t.getHours()+t.getMinutes())+t.getSeconds()}
1,u=Math.max(0,12*(o.getFullYear()-i.getFullYear())+o.getMonth()-i.getMonth()+(o.getDate()<i.getDate()&&!l||l&&c(o)<c(i)?-1:0));s[0]=e[0]?Math.floor(u/12):0,s[1]=e[1]?u-12*s[0]:0;var d=(i=new Date(i.getTime())).getDate()==a,p=this._getDaysInMonth(i.getFullYear()+s[0],i.getMonth()+s[1]);i.getDate()>p&&i.setDate(p),i.setFullYear(i.getFullYear()+s[0]),i.setMonth(i.getMonth()+s[1]),d&&i.setDate(p)}var h=Math.floor((o.getTime()-i.getTime())/1e3),f=function(t,n){s[t]=e[t]?Math.floor(h/n):0,h-=s[t]*n};if(f(2,604800),f(3,86400),f(4,3600),f(5,60),f(6,1),h>0&&!t._since)for(var m=[1,12,4.3482,7,24,60,60],g=6,v=1,y=6;y>=0;y--)e[y]&&(s[g]>=v&&(s[g]=0,h=1),h>0&&(s[y]++,h=0,g=y,v=1)),v*=m[y];if(n)for(var y=0;y<=6;y++)n&&s[y]?n--:n||(s[y]=0);return s}})}(jQuery),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 n=this._events=this._events||{},i=n[t]=n[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{},i;return(n[t]=n[t]||[])[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return-1!=i&&n.splice(i,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=0,o=n[i];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];o;){var a=s&&s[o];a&&(this.off(t,o),delete s[o]),o.apply(this,e),o=n[i+=a?0:1]}return this}},t})),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(n){return e(t,n)})):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}(window,(function(t,e){function n(t,e){for(var n in e)t[n]=e[n];return t}function i(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var n=0;n<t.length;n++)e.push(t[n]);else e.push(t);return e}function o(t,e,s){return this instanceof o?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=i(t),this.options=n({},this.options),"function"==typeof e?s=e:n(this.options,e),s&&this.on("always",s),this.getImages(),r&&(this.jqDeferred=new r.Deferred),void setTimeout(function(){this.check()}.bind(this))):new o(t,e,s)}function s(t){this.img=t}function a(t,e){this.url=t,this.element=e,this.img=new Image}var r=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 n=t.querySelectorAll("img"),i=0;i<n.length;i++){var o=n[i];this.addImage(o)}if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(i=0;i<s.length;i++){var a=s[i];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 n=/url\((['"])?(.*?)\1\)/gi,i=n.exec(e.backgroundImage);null!==i;){var o=i&&i[2];o&&this.addBackground(o,t),i=n.exec(e.backgroundImage)}},o.prototype.addImage=function(t){var e=new s(t);this.images.push(e)},o.prototype.addBackground=function(t,e){var n=new a(t,e);this.images.push(n)},o.prototype.check=function(){function t(t,n,i){setTimeout((function(){e.progress(t,n,i)}))}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,n){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: "+n,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)}},s.prototype=Object.create(e.prototype),s.prototype.check=function(){var t;return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWi
1dth,"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))},s.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},s.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(s.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)&&((r=e).fn.imagesLoaded=function(t,e){var n;return new o(this,t,e).jqDeferred.promise(r(this))})},o.makeJQueryPlugin(),o})),function($,t){"use strict";var e=(n="sf-breadcrumb",i="sf-js-enabled",o="sf-with-ul",s="sf-arrows",a=function(){var t=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);return t&&$("html").css("cursor","pointer").on("click",$.noop),t}(),r="behavior"in(b=document.documentElement.style)&&"fill"in b&&/iemobile/i.test(navigator.userAgent),l=!!t.PointerEvent,c=function(t,e,n){var o=i,a;e.cssArrows&&(o+=" "+s),t[a=n?"addClass":"removeClass"](o)},u=function(t,e){return t.find("li."+e.pathClass).slice(0,e.pathLevels).addClass(e.hoverClass+" "+n).filter((function(){return $(this).children(e.popUpSelector).hide().show().length})).removeClass(e.pathClass)},d=function(t,e){var n=e?"addClass":"removeClass";t.children("a")[n](o)},p=function(t){var e=t.css("ms-touch-action"),n=t.css("touch-action");n="pan-y"===(n=n||e)?"auto":"pan-y",t.css({"ms-touch-action":n,"touch-action":n})},h=function(t){return t.closest("."+i)},f=function(t){return h(t).data("sfOptions")},m=function(){var t=$(this),e=f(t);clearTimeout(e.sfTimer),t.siblings().superfish("hide").end().superfish("show")},g=function(t){t.retainPath=$.inArray(this[0],t.$path)>-1,this.superfish("hide"),this.parents("."+t.hoverClass).length||(t.onIdle.call(h(this)),t.$path.length&&$.proxy(m,t.$path)())},v=function(){var t=$(this),e=f(t);a?$.proxy(g,t,e)():(clearTimeout(e.sfTimer),e.sfTimer=setTimeout($.proxy(g,t,e),e.delay))},y=function(t){var e=$(this),n=f(e),i=e.siblings(t.data.popUpSelector);if(!1===n.onHandleTouch.call(i))return this;i.length>0&&i.is(":hidden")&&(e.one("click.superfish",!1),"MSPointerDown"===t.type||"pointerdown"===t.type?e.trigger("focus"):$.proxy(m,e.parent("li"))())},w=function(t,e){var n="li:has("+e.popUpSelector+")";$.fn.hoverIntent&&!e.disableHI?t.hoverIntent(m,v,n):t.on("mouseenter.superfish",n,m).on("mouseleave.superfish",n,v);var i="MSPointerDown.superfish";l&&(i="pointerdown.superfish"),a||(i+=" touchend.superfish"),r&&(i+=" mousedown.superfish"),t.on("focusin.superfish","li",m).on("focusout.superfish","li",v).on(i,"a",e,y)},{hide:function(t){if(this.length){var e=this,n=f(e);if(!n)return this;var i=!0===n.retainPath?n.$path:"",o=e.find("li."+n.hoverClass).add(this).not(i).removeClass(n.hoverClass).children(n.popUpSelector),s=n.speedOut;if(t&&(o.show(),s=0),n.retainPath=!1,!1===n.onBeforeHide.call(o))return this;o.stop(!0,!0).animate(n.animationOut,s,(function(){var t=$(this);n.onHide.call(t)}))}return this},show:function(){var t=f(this);if(!t)return this;var e,n=this.addClass(t.hoverClass).children(t.popUpSelector);return!1===t.onBeforeShow.call(n)||n.stop(!0,!0).animate(t.animation,t.speed,(function(){t.onShow.call(n)})),this},destroy:function(){return this.each((function(){var t=$(this),e=t.data("sfOptions"),i;if(!e)return!1;i=t.find(e.popUpSelector).parent("li"),clearTimeout(e.sfTimer),c(t,e),d(i),p(t),t.off(".superfish").off(".hoverIntent"),i.children(e.popUpSelector).attr("style",(function(t,e){return e.replace(/display[^;]+;?/g,"")})),e.$path.removeClass(e.hoverClass+" "+n).addClass(e.pathClass),t.find("."+e.hoverClass).removeClass(e.hoverClass),e.onDestroy.call(t),t.removeData("sfOptions")}))}
1,init:function(t){return this.each((function(){var e=$(this);if(e.data("sfOptions"))return!1;var i=$.extend({},$.fn.superfish.defaults,t),o=e.find(i.popUpSelector).parent("li");i.$path=u(e,i),e.data("sfOptions",i),c(e,i,!0),d(o,!0),p(e),w(e,i),o.not("."+n).superfish("hide",!0),i.onInit.call(this)}))}}),n,i,o,s,a,r,l,c,u,d,p,h,f,m,g,v,y,w,b;$.fn.superfish=function(t,n){return e[t]?e[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?$.error("Method "+t+" does not exist on jQuery.fn.superfish"):e.init.apply(this,arguments)},$.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:$.noop,onBeforeShow:$.noop,onShow:$.noop,onBeforeHide:$.noop,onHide:$.noop,onIdle:$.noop,onDestroy:$.noop,onHandleTouch:$.noop}}(jQuery,window),
2/*!
3 * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+
4 * http://cherne.net/brian/resources/jquery.hoverIntent.html
5 *
6 * You may use hoverIntent under the terms of the MIT license.
7 * Copyright 2007, 2013 Brian Cherne
8 */
9function(t){t.fn.hoverIntent=function(e,n,i){var o={interval:100,sensitivity:7,timeout:0},s,a,r,l;o="object"==typeof e?t.extend(o,e):t.isFunction(n)?t.extend(o,{over:e,out:n,selector:i}):t.extend(o,{over:e,out:e,selector:n});var c=function(t){s=t.pageX,a=t.pageY},u=function(e,n){if(n.hoverIntent_t=clearTimeout(n.hoverIntent_t),Math.abs(r-s)+Math.abs(l-a)<o.sensitivity)return t(n).off("mousemove.hoverIntent",c),n.hoverIntent_s=1,o.over.apply(n,[e]);r=s,l=a,n.hoverIntent_t=setTimeout((function(){u(e,n)}),o.interval)},d=function(t,e){return e.hoverIntent_t=clearTimeout(e.hoverIntent_t),e.hoverIntent_s=0,o.out.apply(e,[t])},p=function(e){var n=jQuery.extend({},e),i=this;i.hoverIntent_t&&(i.hoverIntent_t=clearTimeout(i.hoverIntent_t)),"mouseenter"==e.type?(r=n.pageX,l=n.pageY,t(i).on("mousemove.hoverIntent",c),1!=i.hoverIntent_s&&(i.hoverIntent_t=setTimeout((function(){u(n,i)}),o.interval))):(t(i).off("mousemove.hoverIntent",c),1==i.hoverIntent_s&&(i.hoverIntent_t=setTimeout((function(){d(n,i)}),o.timeout)))};return this.on({"mouseenter.hoverIntent":p,"mouseleave.hoverIntent":p},o.selector)}}(jQuery),function(t,e,n){"use strict";var i=t.document,o=t.Modernizr,s=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},a="Moz Webkit O Ms".split(" "),r=function(t){var e=i.documentElement.style,n;if("string"==typeof e[t])return t;t=s(t);for(var o=0,r=a.length;o<r;o++)if("string"==typeof e[n=a[o]+t])return n},l=r("transform"),c=r("transitionProperty"),u={csstransforms:function(){return!!l},csstransforms3d:function(){var t=!!r("perspective");if(t){var n,i="@media ("+" -o- -moz- -ms- -webkit- -khtml- ".split(" ").join("transform-3d),(")+"modernizr)",o=e("<style>"+i+"{#modernizr{height:3px}}</style>").appendTo("head"),s=e('<div id="modernizr" />').appendTo("html");t=3===s.height(),s.remove(),o.remove()}return t},csstransitions:function(){return!!c}},d,p,h;if(o)for(d in u)o.hasOwnProperty(d)||o.addTest(d,u[d]);else{o=t.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var f=" ",m;for(d in u)m=u[d](),o[d]=m,f+=" "+(m?"":"no-")+d;e("html").addClass(f)}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,n,i){var o=e.data(t,"isoTransform")||{},s={},a,r={},c;for(a in s[n]=i,e.extend(o,s),o)c=o[a],r[a]=g[a](c);var u,d,p=(r.translate||"")+(r.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,n){var i=e.data(t,"isoTransform");return i&&i.scale?i.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,n){var i=e.data(t,"isoTransform");return i&&i.translate?i.translate:[0,0]}}}o.csstransitions&&(p={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd otransitionend",transitionProperty:"transitionend"}[c],h=r("transitionDuration"));var y=e.event,w=e.event.handle?"handle":"dispatch",b;y.special.smartresize={setup:function(){e(this).bind("resize",y.special.smartresize.handler)},teardown:function(){e(this).unbind("resize",y.special.smartresize.handler)},handler:function(t,e){var n=this,i=arguments;t.type="smartresize",b&&clearTimeout(b),b=setTimeout((function(){y[w].apply(n,i)}),"execAsap"===e?0:100)}},e.fn.smartresize=function(t){return t?this.bind("smartresize",t):this.trigger("smartresize",["execAsap"])},e.Isotope=function(t,n,i){this.element=e(n),this._create(t),this._init(i)};var _=["width","height"],C=e(t);e.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{scale:1}
9,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 n=this.element[0].style;this.originalStyle={};var i=_.slice(0);for(var o in this.options.containerStyle)i.push(o);for(var s=0,a=i.length;s<a;s++)o=i[s],this.originalStyle[o]=n[o]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var r={"original-order":function(t,e){return e.elemCount++,e.elemCount},random:function(){return Math.random()}};this.options.getSortData=e.extend(this.options.getSortData,r),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&&C.bind("smartresize.isotope",(function(){l.resize()})),this.element.delegate("."+this.options.hiddenClass,"click",(function(){return!1}))},_getAtoms:function(t){var e=this.options.itemSelector,n=e?t.filter(e).add(t.find(e)):t,i={position:"absolute"};return n=n.filter((function(t,e){return 1===e.nodeType})),this.usingTransforms&&(i.left=0,i.top=0),n.css(i).addClass(this.options.itemClass),this.updateSortData(n,!0),n},_init:function(t){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(t)},option:function(t){var n;if(e.isPlainObject(t))for(var i in this.options=e.extend(!0,this.options,t),t)this[n="_update"+s(i)]&&this[n]()},_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}this.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 n=this.options.hiddenClass,i="."+n,o=t.filter(i),s=o;if("*"!==e){s=o.filter(e);var a=t.not(i).not(e).addClass(n);this.styleQueue.push({$el:a,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:s,style:this.options.visibleStyle}),s.removeClass(n),t.filter(e)},updateSortData:function(t,n){var i=this,o=this.options.getSortData,s,a;t.each((function(){for(var t in s=e(this),a={},o)a[t]=n||"original-order"!==t?o[t](s,i):e.data(this,"isotope-sort-data")[t];e.data(this,"isotope-sort-data",a)}))},_sort:function(){var t=this.options.sortBy,e=this._getSorter,n=this.options.sortAscending?1:-1,i=function(i,o){var s=e(i,t),a=e(o,t);return s===a&&"original-order"!==t&&(s=e(i,"original-order"),a=e(o,"original-order")),(s>a?1:s<a?-1:0)*n};this.$filteredAtoms.sort(i)},_getSorter:function(t,n){return e.data(t,"isotope-sort-data")[n]},_translate:function(t,e){return{translate:[t,e]}},_positionAbs:function(t,e){return{left:t,top:e}},_pushPosition:function(t,e,n){e=Math.round(e+this.offset.left),n=Math.round(n+this.offset.top);var i=this.getPositionStyles(e,n);this.styleQueue.push({$el:t,style:i}),this.options.itemPositionDataEnabled&&t.data("isotope-item-position",{x:e,y:n})},layout:function(t,e){var n=this.options.layoutMode;if(this["_"+n+"Layout"](t),this.options.resizesContainer){var i=this["_"+n+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:i})}this._processStyleQueue(t,e),this.isLaidOut=!0},_processStyleQueue:function(t,n){var i=this.isLaidOut&&this.isUsingJQueryAnimation?"animate":"css",s=this.options.animationOptions,a=this.options.onLayout,r,l,c,u;if(l=function(t,e){e.$el[i](e.style,s)},this._isInserting&&this.isUsingJQueryAnimation)l=function(t,e){r=e.$el.hasClass("no-transition")?"css":i,e.$el[r](e.style,s)};
9else if(n||a||s.complete){var d=!1,f=[n,a,s.complete],m=this;if(c=!0,u=function(){if(!d){for(var e,n=0,i=f.length;n<i;n++)"function"==typeof(e=f[n])&&e.call(m.element,t,m);d=!0}},this.isUsingJQueryAnimation&&"animate"===i)s.complete=u,c=!1;else if(o.csstransitions){for(var g=0,v=this.styleQueue[0],y=v&&v.$el,w;!y||!y.length;){if(!(w=this.styleQueue[g++]))return;y=w.$el}var b;parseFloat(getComputedStyle(y[0])[h])>0&&(l=function(t,e){e.$el[i](e.style,s).one(p,u)},c=!1)}}e.each(this.styleQueue,l),c&&u(),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 n=this._getAtoms(t);this.$allAtoms=this.$allAtoms.add(n),e&&e(n)},insert:function(t,e){this.element.append(t);var n=this;this.addItems(t,(function(t){var i=n._filter(t);n._addHideAppended(i),n._sort(),n.reLayout(),n._revealAppended(i,e)}))},appended:function(t,e){var n=this;this.addItems(t,(function(t){n._addHideAppended(t),n.layout(t),n._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 n=this;setTimeout((function(){t.removeClass("no-transition"),n.styleQueue.push({$el:t,style:n.options.visibleStyle}),n._isInserting=!1,n._processStyleQueue(t,e)}),10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(t,e){this.$allAtoms=this.$allAtoms.not(t),this.$filteredAtoms=this.$filteredAtoms.not(t);var n=this,i=function(){t.remove(),e&&e.call(n.element)};t.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:t,style:this.options.hiddenStyle}),this._sort(),this.reLayout(i)):i()},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 n=this.element[0].style;for(var i in this.originalStyle)n[i]=this.originalStyle[i];this.element.unbind(".isotope").undelegate("."+e.hiddenClass,"click").removeClass(e.containerClass).removeData("isotope"),C.unbind(".isotope")},_getSegments:function(t){var e=this.options.layoutMode,n=t?"rowHeight":"columnWidth",i=t?"height":"width",o=t?"rows":"cols",a=this.element[i](),r,l=this.options[e]&&this.options[e][n]||this.$filteredAtoms["outer"+s(i)](!0)||a;r=Math.floor(a/l),r=Math.max(r,1),this[e][o]=r,this[e][n]=l},_checkIfSegmentsChanged:function(t){var e=this.options.layoutMode,n=t?"rows":"cols",i=this[e][n];return this._getSegments(t),this[e][n]!==i},_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 n=this,i=n.masonry;t.each((function(){var t=e(this),o=Math.ceil(t.outerWidth(!0)/i.columnWidth);if(1===(o=Math.min(o,i.cols)))n._masonryPlaceBrick(t,i.colYs);else{var s=i.cols+1-o,a=[],r,l;for(l=0;l<s;l++)r=i.colYs.slice(l,l+o),a[l]=Math.max.apply(Math,r);n._masonryPlaceBrick(t,a)}}))},_masonryPlaceBrick:function(t,e){for(var n=Math.min.apply(Math,e),i=0,o=0,s=e.length;o<s;o++)if(e[o]===n){i=o;break}var a=this.masonry.columnWidth*i,r=n;this._pushPosition(t,a,r);var l=n+t.outerHeight(!0),c=this.masonry.cols+1-s;for(o=0;o<c;o++)this.masonry.colYs[i+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 n=this,i=this.element.width(),o=this.fitRows;t.each((function(){var t=e(this),s=t.outerWidth(!0),a=t.outerHeight(!0);0!==o.x&&s+o.x>i&&(o.x=0,o.y=o.height),n._pushPosition(t,o.x,o.y),o.height=Math.max(o.y+a,o.height),o.x+=s}))},_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 n=this,i=this.cellsByRow;t.each((function(){var t=e(this),o=i.index%i.cols,s=Math.floor(i.index/i.cols),a=(o+.5)*i.columnWidth-t.outerWidth(!0)/2,r=(s+.5)*i.rowHeight-t.outerHeight(!0)/2;n._pushPosition(t,a,r),i.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 n=this;t.each((function(t){var i=e(this);n._pushPosition(i,0,n.straightDown.y),n.straightDown.y+=i.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 n=this,i=n.masonryHorizontal;t.each((function(){var t=e(this),o=Math.ceil(t.outerHeight(!0)/i.rowHeight);if(1===(o=Math.min(o,i.rows)))n._masonryHorizontalPlaceBrick(t,i.rowXs);else{var s=i.rows+1-o,a=[],r,l;for(l=0;l<s;
9l++)r=i.rowXs.slice(l,l+o),a[l]=Math.max.apply(Math,r);n._masonryHorizontalPlaceBrick(t,a)}}))},_masonryHorizontalPlaceBrick:function(t,e){for(var n=Math.min.apply(Math,e),i=0,o=0,s=e.length;o<s;o++)if(e[o]===n){i=o;break}var a=n,r=this.masonryHorizontal.rowHeight*i;this._pushPosition(t,a,r);var l=n+t.outerWidth(!0),c=this.masonryHorizontal.rows+1-s;for(o=0;o<c;o++)this.masonryHorizontal.rowXs[i+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 n=this,i=this.element.height(),o=this.fitColumns;t.each((function(){var t=e(this),s=t.outerWidth(!0),a=t.outerHeight(!0);0!==o.y&&a+o.y>i&&(o.x=o.width,o.y=0),n._pushPosition(t,o.x,o.y),o.width=Math.max(o.x+s,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 n=this,i=this.cellsByColumn;t.each((function(){var t=e(this),o=Math.floor(i.index/i.rows),s=i.index%i.rows,a=(o+.5)*i.columnWidth-t.outerWidth(!0)/2,r=(s+.5)*i.rowHeight-t.outerHeight(!0)/2;n._pushPosition(t,a,r),i.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 n=this;t.each((function(t){var i=e(this);n._pushPosition(i,n.straightAcross.x,0),n.straightAcross.x+=i.outerWidth(!0)}))},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},e.fn.imagesLoaded=function(t){function n(){t.call(o,s)}function i(t){var o=t.target;o.src!==r&&-1===e.inArray(o,l)&&(l.push(o),--a<=0&&(setTimeout(n),s.unbind(".imagesLoaded",i)))}var o=this,s=o.find("img").add(o.filter("img")),a=s.length,r="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",l=[];return a||n(),s.bind("load.imagesLoaded error.imagesLoaded",i).each((function(){var t=this.src;this.src=r,this.src=t})),o};var S=function(e){t.console&&t.console.error(e)};e.fn.isotope=function(t,n){if("string"==typeof t){var i=Array.prototype.slice.call(arguments,1);this.each((function(){var n=e.data(this,"isotope");n?e.isFunction(n[t])&&"_"!==t.charAt(0)?n[t].apply(n,i):S("no such method '"+t+"' for isotope instance"):S("cannot call methods on isotope prior to initialization; attempted to call method '"+t+"'")}))}else this.each((function(){var i=e.data(this,"isotope");i?(i.option(t),i._init(n)):e.data(this,"isotope",new e.Isotope(t,this,n))}));return this}}(window,jQuery),function($){var t=$.event,e,n;e=t.special.debouncedresize={setup:function(){$(this).on("resize",e.handler)},teardown:function(){$(this).off("resize",e.handler)},handler:function(i,o){var s=this,a=arguments,r=function(){i.type="debouncedresize",t.dispatch.apply(s,a)};n&&clearTimeout(n),o?r():n=setTimeout(r,e.threshold)},threshold:150}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,n,i,o){return jQuery.easing[jQuery.easing.def](t,e,n,i,o)},easeInQuad:function(t,e,n,i,o){return i*(e/=o)*e+n},easeOutQuad:function(t,e,n,i,o){return-i*(e/=o)*(e-2)+n},easeInOutQuad:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,o){return i*(e/=o)*e*e+n},easeOutCubic:function(t,e,n,i,o){return i*((e=e/o-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,o){return i*(e/=o)*e*e*e+n},easeOutQuart:function(t,e,n,i,o){return-i*((e=e/o-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,o){return i*(e/=o)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,o){return i*((e=e/o-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,o){return-i*Math.cos(e/o*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,o){return i*Math.sin(e/o*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,o){return-i/2*(Math.cos(Math.PI*e/o)-1)+n},easeInExpo:function(t,e,n,i,o){return 0==e?n:i*Math.pow(2,10*(e/o-1))+n},easeOutExpo:function(t,e,n,i,o){return e==o?n+i:i*(1-Math.pow(2,-10*e/o))+n},easeInOutExpo:function(t,e,n,i,o){return 0==e?n:e==o?n+i:(e/=o/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(2-Math.pow(2,-10*--e))+n},easeInCirc:function(t,e,n,i,o){return-i*(Math.sqrt(1-(e/=o)*e)-1)+n},easeOutCirc:function(t,e,n,i,o){return i*Math.sqrt(1-(e=e/o-1)*e)+n},easeInOutCirc:function(t,e,n,i,o){return(e/=o/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,o){var s=1.70158,a=0,r=i;if(0==e)return n;if(1==(e/=o))return n+i;if(a||(a=.3*o),r<Math.abs(i)){r=i;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(i/r);return-r*Math.pow(2,10*(e-=1))*Math.sin((e*o-s)*(2*Math.PI)/a)+n},easeOutElastic:function(t,e,n,i,o){var s=1.70158,a=0,r=i;if(0==e)return n;if(1==(e/=o))return n+i;if(a||(a=.3*o),r<Math.abs(i)){r=i;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(i/r);return r*Math.pow(2,-10*e)*Math.sin((e*o-s)*(2*Math.PI)/a)+i+n},easeInOutElastic:function(t,e,n,i,o){var s=1.70158,a=0,r=i;if(0==e)return n;if(2==(e/=o/2))return n+i;if(a||(a=o*(.3*1.5)),r<Math.abs(i)){r=i;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(i/r);return e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e*o-s)*(2*Math.PI)/a)*-.5+n:r*Math.pow(2,-10*(e-=1))*Math.sin((e*o-s)*(2*Math.PI)/a)*.5+i+n},easeInBack:function(t,e,n,i,o,s){return null==s&&(s=1.70158),i*(e/=o)*e*((s+1)*e-s)+n},easeOutBack:function(t,e,n,i,o,s){return null==s&&(s=1.70158),i*((e=e/o-1)*e*((s+1)*e+s)+1)+n},easeInOutBack:function(t,e,n,i,o,s){return null==s&&(s=1.70158),(e/=o/2)<1?i/2*(e*e*((1+(s*=1.525))*e-s))+n:i/2*((e-=2)*e*((1+(s*=1.525))*e+s)+2)+n},easeInBounce:function(t,e,n,i,o){return i-jQuery.easing.easeOutBounce(t,o-e,0,i,o)+n},easeOutBounce:function(t,e,n,i,o){return(e/=o)<1/2.75?i*(7.5625*e*e)+n:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,i,o){return e<o/2?.5*jQuery.easing.easeInBounce(t,2*e,0,i,o)+n:.5*jQuery.easing.easeOutBounce(t,2*e-o,0,i,o)+.5*i+n}}),
10/*!
11 * jQuery Cookie Plugin v1.3.1
12 * https://github.com/carhartl/jquery-cookie
13 *
14 * Copyright 2013 Klaus Hartl
15 * Released under the MIT license
16 */
17function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}((function($){function t(t){return t}function e(t){return decodeURIComponent(t.replace(i," "))}
17function n(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return o.json?JSON.parse(t):t}catch(t){}}var i=/\+/g,o=$.cookie=function(i,s,a){if(void 0!==s){if("number"==typeof(a=$.extend({},o.defaults,a)).expires){var r=a.expires,l=a.expires=new Date;l.setDate(l.getDate()+r)}return s=o.json?JSON.stringify(s):String(s),document.cookie=[o.raw?i:encodeURIComponent(i),"=",o.raw?s:encodeURIComponent(s),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}for(var c=o.raw?t:e,u=document.cookie.split("; "),d=i?void 0:{},p=0,h=u.length;p<h;p++){var f=u[p].split("="),m=c(f.shift()),g=c(f.join("="));if(i&&i===m){d=n(g);break}i||(d[m]=n(g))}return d};o.defaults={},$.removeCookie=function(t,e){return void 0!==$.cookie(t)&&($.cookie(t,"",$.extend({},e,{expires:-1})),!0)}})),function(t){"function"==typeof module?module.exports=t(this.jQuery||require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],(function($){return t($)})):this.NProgress=t(this.jQuery)}((function($){function t(t,e,n){return t<e?e:t>n?n:t}function e(t){return 100*(-1+t)}function n(t,n,i){var s;return(s="translate3d"===o.positionUsing?{transform:"translate3d("+e(t)+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+e(t)+"%,0)"}:{"margin-left":e(t)+"%"}).transition="all "+n+"ms "+i,s}var i={version:"0.1.2"},o=i.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'},s,a;return i.configure=function(t){return $.extend(o,t),this},i.status=null,i.set=function(e){var s=i.isStarted();e=t(e,o.minimum,1),i.status=1===e?null:e;var a=i.render(!s),r=a.find('[role="bar"]'),l=o.speed,c=o.easing;return a[0].offsetWidth,a.queue((function(t){""===o.positionUsing&&(o.positionUsing=i.getPositioningCSS()),r.css(n(e,l,c)),1===e?(a.css({transition:"none",opacity:1}),a[0].offsetWidth,setTimeout((function(){a.css({transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){i.remove(),t()}),l)}),l)):setTimeout(t,l)})),this},i.isStarted=function(){return"number"==typeof i.status},i.start=function(){i.status||i.set(0);var t=function(){setTimeout((function(){i.status&&(i.trickle(),t())}),o.trickleSpeed)};return o.trickle&&t(),this},i.done=function(t){return t||i.status?i.inc(.3+.5*Math.random()).set(1):this},i.inc=function(e){var n=i.status;return n?("number"!=typeof e&&(e=(1-n)*t(Math.random()*n,.1,.95)),n=t(n+e,0,.994),i.set(n)):i.start()},i.trickle=function(){return i.inc(Math.random()*o.trickleRate)},s=0,a=0,i.promise=function(t){return t&&"resolved"!=t.state()?(0==a&&i.start(),s++,a++,t.always((function(){0==--a?(s=0,i.done()):i.set((s-a)/s)})),this):this},i.render=function(t){if(i.isRendered())return $("#nprogress");$("html").addClass("nprogress-busy");var n=$("<div id='nprogress'>").html(o.template),s=t?"-100":e(i.status||0);return n.find('[role="bar"]').css({transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),o.showSpinner||n.find('[role="spinner"]').remove(),n.appendTo("#prk_mega_wrap"),n},i.remove=function(){$("html").removeClass("nprogress-busy"),$("#nprogress").remove()},i.isRendered=function(){return $("#nprogress").length>0},i.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"},i})),window.Modernizr=function(t,e,n){function i(t){g.cssText=t}function o(t,e){return i(prefixes.join(t+";")+(e||""))}function s(t,e){return typeof t===e}function a(t,e){return!!~(""+t).indexOf(e)}function r(t,e){for(var i in t){var o=t[i];if(!a(o,"-")&&g[o]!==n)return"pfx"!=e||o}return!1}function l(t,e,i){for(var o in t){var a=e[t[o]];if(a!==n)return!1===i?t[o]:s(a,"function")?a.bind(i||e):a}return!1}function c(t,e,n){var i=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+b.join(i+" ")+i).split(" ");return s(e,"string")||s(e,"undefined")?r(o,e):l(o=(t+" "+_.join(i+" ")+i).split(" "),e,n)}var u="2.7.1",d={},p=!0,h=e.documentElement,f="modernizr",m=e.createElement(f),g=m.style,v,y={}.toString,w="Webkit Moz O ms",b=w.split(" "),_=w.toLowerCase().split(" "),C={},S=[],x=S.slice,T,I={}.hasOwnProperty,k;for(var E in k=s(I,"undefined")||s(I.call,"undefined")?function(t,e){return e in t&&s(t.constructor.prototype[e],"undefined")}:function(t,e){return I.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;
17var n=x.call(arguments,1),i=function(){if(this instanceof i){var o=function(){};o.prototype=e.prototype;var s=new o,a=e.apply(s,n.concat(x.call(arguments)));return Object(a)===a?a:s}return e.apply(t,n.concat(x.call(arguments)))};return i}),C.csstransitions=function(){return c("transition")},C)k(C,E)&&(T=E.toLowerCase(),d[T]=C[E](),S.push((d[T]?"":"no-")+T));return d.addTest=function(t,e){if("object"==typeof t)for(var i in t)k(t,i)&&d.addTest(i,t[i]);else{if(t=t.toLowerCase(),d[t]!==n)return d;e="function"==typeof e?e():e,h.className+=" "+(e?"":"no-")+t,d[t]=e}return d},i(""),m=v=null,function(t,e){function n(t,e){var n=t.createElement("p"),i=t.getElementsByTagName("head")[0]||t.documentElement;return n.innerHTML="x<style>"+e+"</style>",i.insertBefore(n.lastChild,i.firstChild)}function i(){var t=y.elements;return"string"==typeof t?t.split(" "):t}function o(t){var e=g[t[f]];return e||(e={},m++,t[f]=m,g[m]=e),e}function s(t,n,i){return n||(n=e),v?n.createElement(t):(i||(i=o(n)),!(s=i.cache[t]?i.cache[t].cloneNode():p.test(t)?(i.cache[t]=i.createElem(t)).cloneNode():i.createElem(t)).canHaveChildren||d.test(t)||s.tagUrn?s:i.frag.appendChild(s));var s}function a(t,n){if(t||(t=e),v)return t.createDocumentFragment();for(var s=(n=n||o(t)).frag.cloneNode(),a=0,r=i(),l=r.length;a<l;a++)s.createElement(r[a]);return s}function r(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(n){return y.shivMethods?s(n,t,e):e.createElem(n)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/[\w\-]+/g,(function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'}))+");return n}")(y,e.frag)}function l(t){t||(t=e);var i=o(t);return y.shivCSS&&!h&&!i.hasCSS&&(i.hasCSS=!!n(t,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),v||r(t,i),t}var c="3.7.0",u=t.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?: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,h,f="_html5shiv",m=0,g={},v;!function(){try{var t=e.createElement("a");t.innerHTML="<xyz></xyz>",h="hidden"in t,v=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){h=!0,v=!0}}();var y={elements:u.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:!1!==u.shivCSS,supportsUnknownElements:v,shivMethods:!1!==u.shivMethods,type:"default",shivDocument:l,createElement:s,createDocumentFragment:a};t.html5=y,l(e)}(this,e),d._version=u,d._domPrefixes=_,d._cssomPrefixes=b,d.testProp=function(t){return r([t])},d.testAllProps=c,d.prefixed=function(t,e,n){return e?c(t,e,n):c(t,"pfx")},h.className=h.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+S.join(" "),d}(this,this.document),function(t,e,n){function i(t){return"[object Function]"==f.call(t)}function o(t){return"string"==typeof t}function s(){}function a(t){return!t||"loaded"==t||"complete"==t||"uninitialized"==t}function r(){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(),r()):g=0}function l(t,n,i,o,s,l,c){function u(e){if(!f&&a(d.readyState)&&(b.r=f=1,!g&&r(),d.onload=d.onreadystatechange=null,e))for(var i in"img"!=t&&p((function(){w.removeChild(d)}),50),x[n])x[n].hasOwnProperty(i)&&x[n][i].onload()}var c=c||k.errorTimeout,d=e.createElement(t),f=0,v=0,b={t:i,s:n,e:s,a:l,x:c};1===x[n]&&(v=1,x[n]=[]),"object"==t?d.data=n:(d.src=n,d.type=t),d.width=d.height="0",d.onerror=d.onload=d.onreadystatechange=function(){u.call(this,v)},m.splice(o,0,b),"img"!=t&&(v||2===x[n]?(w.insertBefore(d,y?null:h),p(u,c)):x[n].push(d))}function c(t,e,n,i,s){return g=0,e=e||"j",o(t)?l("c"==e?_:b,t,e,this.i++,n,i,s):(m.splice(this.i++,0,t),1==m.length&&r()),this}function u(){var t=k;return t.loader={load:c,i:0},t}var d=e.documentElement,p=t.setTimeout,h=e.getElementsByTagName("script")[0],f={}.toString,m=[],g=0,v="MozAppearance"in d.style,y=v&&!!e.createRange().compareNode,w=y?d:h.parentNode,d=t.opera&&"[object Opera]"==f.call(t.opera),d=!!e.attachEvent&&!d,b=v?"object":d?"script":"img",_=d?"script":b,C=Array.isArray||function(t){return"[object Array]"==f.call(t)},S=[],x={}
17,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,n=t.pop(),i=t.length,n={url:n,origUrl:n,prefixes:t},o,s,a;for(s=0;s<i;s++)a=t[s].split("="),(o=T[a.shift()])&&(n=o(n,a));for(s=0;s<e;s++)n=S[s](n);return n}function a(t,o,s,a,r){var l=e(t),c=l.autoCallback;l.url.split(".").pop().split("?").shift(),l.bypass||(o&&(o=i(o)?o:o[t]||o[a]||o[t.split("/").pop().split("?")[0]]),l.instead?l.instead(t,o,s,a,r):(x[l.url]?l.noexec=!0:x[l.url]=1,s.load(l.url,l.forceCSS||!l.forceJS&&"css"==l.url.split(".").pop().split("?").shift()?"c":n,l.noexec,l.attrs,l.timeout),(i(o)||i(c))&&s.load((function(){u(),o&&o(l.origUrl,r,a),c&&c(l.origUrl,r,a),x[l.url]=2}))))}function r(t,e){function n(t,n){if(t){if(o(t))n||(c=function(){var t=[].slice.call(arguments);u.apply(this,t),d()}),a(t,c,e,0,r);else if(Object(t)===t)for(h in p=function(){var e=0,n;for(n in t)t.hasOwnProperty(n)&&e++;return e}(),t)t.hasOwnProperty(h)&&(!n&&!--p&&(i(c)?c=function(){var t=[].slice.call(arguments);u.apply(this,t),d()}:c[h]=function(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),d()}}(u[h])),a(t[h],c,e,h,r))}else!n&&d()}var r=!!t.test,l=t.load||t.both,c=t.callback||s,u=c,d=t.complete||s,p,h;n(r?t.yep:t.nope,!!l),l&&n(l)}var l,c,d=this.yepnope.loader;if(o(t))a(t,0,d,0);else if(C(t))for(l=0;l<t.length;l++)o(c=t[l])?a(c,0,d,0):C(c)?k(c):Object(c)===c&&r(c,d);else Object(t)===t&&r(t,d)},k.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=u(),t.yepnope.executeStack=r,t.yepnope.injectJs=function(t,n,i,o,l,c){var u=e.createElement("script"),d,f,o=o||k.errorTimeout;for(f in u.src=t,i)u.setAttribute(f,i[f]);n=c?r:n||s,u.onreadystatechange=u.onload=function(){!d&&a(u.readyState)&&(d=1,n(),u.onload=u.onreadystatechange=null)},p((function(){d||(d=1,n(1))}),o),l?u.onload():h.parentNode.insertBefore(u,h)},t.yepnope.injectCss=function(t,n,i,o,a,l){var o=e.createElement("link"),c,n=l?r:n||s;for(c in o.href=t,o.rel="stylesheet",o.type="text/css",i)o.setAttribute(c,i[c]);a||(h.parentNode.insertBefore(o,h),p(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},
18/*!
19 * classie - class helper functions
20 * from bonzo https://github.com/ded/bonzo
21 * 
22 * classie.has( elem, 'my-class' ) -> true/false
23 * classie.add( elem, 'my-new-class' )
24 * classie.remove( elem, 'my-unwanted-class' )
25 * classie.toggle( elem, 'my-class' )
26 */
27function(t){"use strict";function e(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function n(t,e){var n;(i(t,e)?s:o)(t,e)}var i,o,s;"classList"in document.documentElement?(i=function(t,e){return t.classList.contains(e)},o=function(t,e){t.classList.add(e)},s=function(t,e){t.classList.remove(e)}):(i=function(t,n){return e(n).test(t.className)},o=function(t,e){i(t,e)||(t.className=t.className+" "+e)},s=function(t,n){t.className=t.className.replace(e(n)," ")});var a={hasClass:i,addClass:o,removeClass:s,toggleClass:n,has:i,add:o,remove:s,toggle:n};"function"==typeof define&&define.amd?define(a):t.classie=a}(window),function($){"use strict";$.fn.fitVids=function(t){var e={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var n=document.head||document.getElementsByTagName("head")[0],i=".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%;}",o=document.createElement("div");o.innerHTML='<p>x</p><style id="fit-vids-style">'+i+"</style>",n.appendChild(o.childNodes[1])}return t&&$.extend(e,t),this.each((function(){var t=['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"];e.customSelector&&t.push(e.customSelector);var n=".fitvidsignore";e.ignore&&(n=n+", "+e.ignore);var i=$(this).find(t.join(","));(i=(i=(i=i.not(".wpb_video_wrapper iframe")).not("object object")).not(n)).each((function(t){var e=$
27(this);if(!(e.parents(n).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i,o,s=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var a="fitvid"+t;e.attr("id",a)}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*s+"%"),e.removeAttr("height").removeAttr("width")}}))}))}}(window.jQuery||window.Zepto),function($,t,n,i){function o(t,e){this.element=t,this.options=$.extend(!0,{},r,e),this.options.share=e.share,this._defaults=r,this._name=a,this.init()}var a="sharrre",r={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.sharrre_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"}}},l={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:""},c={googlePlus:function(e){var i=e.options.buttons.googlePlus;$(e.element).find(".buttons").append('<div class="button googleplus"><div class="g-plusone" data-size="'+i.size+'" data-href="'+(""!==i.url?i.url:e.options.url)+'" data-annotation="'+i.annotation+'"></div></div>'),t.___gcfg={lang:e.options.buttons.googlePlus.lang};var o=0;"undefined"==typeof gapi&&0==o?(o=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(t){var e=t.options.buttons.facebook;$(t.element).find(".buttons").append('<div class="button facebook"><div id="fb-root"></div><div class="fb-like" data-href="'+(""!==e.url?e.url:t.options.url)+'" data-send="'+e.send+'" data-layout="'+e.layout+'" data-width="'+e.width+'" data-show-faces="'+e.faces+'" data-action="'+e.action+'" data-colorscheme="'+e.colorscheme+'" data-font="'+e.font+'" data-via="'+e.via+'"></div></div>');var i=0;"undefined"==typeof FB&&0==i?(i=1,function(t,n,i){var o,s=t.getElementsByTagName(n)[0];t.getElementById(i)||((o=t.createElement(n)).id=i,o.src="//connect.facebook.net/"+e.lang+"/all.js#xfbml=1",s.parentNode.insertBefore(o,s))}(n,"script","facebook-jssdk")):FB.XFBML.parse()},twitter:function(t){var e=t.options.buttons.twitter;$(t.element).find(".buttons").append('<div class="button twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="'+(""!==e.url?e.url:t.options.url)+'" data-count="'+e.count+'" data-text="'+t.options.text+'" data-via="'+e.via+'" data-hashtags="'+e.hashtags+'" data-related="'+e.related+'" data-lang="'+e.lang+'">Tweet</a></div>');var i=0;"undefined"==typeof twttr&&0==i?(i=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)}()):$.ajax({url:"//platform.twitter.com/widgets.js",dataType:"script",cache:!0})},digg:function(t){var e=t.options.buttons.digg;$(t.element).find(".buttons").append('<div class="button digg"><a class="DiggThisButton '+e.type+'" rel="nofollow external" href="http://digg.com/submit?url='+encodeURIComponent(""!==e.url?e.url:t.options.url)+'"></a></div>');var i=0;"undefined"==typeof __DBW&&0==i&&(i=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(t){if("tall"==t.options.buttons.delicious.size)var e="width:50px;",n="height:35px;width:50px;font-size:15px;line-height:35px;",i="height:18px;line-height:18px;margin-top:3px;";else var e="width:93px;",n="float:right;padding:0 3px;
27height:20px;width:26px;line-height:20px;",i="float:left;height:20px;line-height:20px;";var o=t.shorterTotal(t.options.count.delicious);void 0===o&&(o=0),$(t.element).find(".buttons").append('<div class="button delicious"><div style="'+e+'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;">'+o+'</div><div style="'+i+'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.element).find(".delicious").on("click",(function(){t.openPopup("delicious")}))},stumbleupon:function(e){var i=e.options.buttons.stumbleupon;$(e.element).find(".buttons").append('<div class="button stumbleupon"><su:badge layout="'+i.layout+'" location="'+(""!==i.url?i.url:e.options.url)+'"></su:badge></div>');var o=0;"undefined"==typeof STMBLPN&&0==o?(o=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=t.setTimeout((function(){"undefined"!=typeof STMBLPN&&(STMBLPN.processWidgets(),clearInterval(s))}),500)):STMBLPN.processWidgets()},linkedin:function(e){var i=e.options.buttons.linkedin;$(e.element).find(".buttons").append('<div class="button linkedin"><script type="in/share" data-url="'+(""!==i.url?i.url:e.options.url)+'" data-counter="'+i.counter+'"><\/script></div>');var o=0;void 0===t.IN&&0==o?(o=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)}()):t.IN.init()},pinterest:function(t){var e=t.options.buttons.pinterest;$(t.element).find(".buttons").append('<div class="button pinterest"><a href="http://pinterest.com/pin/create/button/?url='+(""!==e.url?e.url:t.options.url)+"&media="+e.media+"&description="+e.description+'" class="pin-it-button" count-layout="'+e.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=t.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=t.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(){}},d={googlePlus:function(e){t.open("https://plus.google.com/share?hl="+e.buttons.googlePlus.lang+"&url="+encodeURIComponent(""!==e.buttons.googlePlus.url?e.buttons.googlePlus.url:e.url),"","toolbar=0, status=0, width=900, height=500")},facebook:function(e){t.open("http://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(""!==e.buttons.facebook.url?e.buttons.facebook.url:e.url)+"&t="+e.text,"","toolbar=0, status=0, width=900, height=500")},twitter:function(e){t.open("https://twitter.com/intent/tweet?text="+encodeURIComponent(e.text)+"&url="+encodeURIComponent(""!==e.buttons.twitter.url?e.buttons.twitter.url:e.url)+(""!==e.buttons.twitter.via?"&via="+e.buttons.twitter.via:""),"","toolbar=0, status=0, width=650, height=360")},digg:function(e){t.open("http://digg.com/tools/diggthis/submit?url="+encodeURIComponent(""!==e.buttons.digg.url?e.buttons.digg.url:e.url)+"&title="+e.text+"&related=true&style=true","","toolbar=0, status=0, width=650, height=360")},delicious:function(e){t.open("http://www.delicious.com/save?v=5&noui&jump=close&url="+encodeURIComponent(""!==e.buttons.delicious.url?e.buttons.delicious.url:e.url)+"&title="+e.text,"delicious","toolbar=no,width=550,height=550")},stumbleupon:function(e){t.open("http://www.stumbleupon.com/badge/?url="+encodeURIComponent(""!==e.buttons.delicious.url?e.buttons.delicious.url:e.url),"stumbleupon","toolbar=no,width=550,height=550")},linkedin:function(e){t.open("https://www.linkedin.com/cws/share?url="+encodeURIComponent(""!==e.buttons.delicious.url?e.buttons.delicious.url:e.url)+"&token=&isFramed=true","linkedin","toolbar=no,width=550,height=550")},pinterest:function(e){t.open("http://pinterest.com/pin/create/button/?url="+encodeURIComponent(""!==e.buttons.pinterest.url?e.buttons.pinterest.url:e.url)+"&media="+$("#prk_pint").attr("data-media")+"&description="+e.buttons.pinterest.description,"pinterest","toolbar=no,width=700,height=300")}};o.prototype.init=function(){var t=this;this.options.urlCurl,$(this.element).addClass(this.options.className),void 0!==$(this.element).data("title")&&(this.options.title=$
27(this.element).attr("data-title")),void 0!==$(this.element).data("url")&&(this.options.url=$(this.element).data("url")),void 0!==$(this.element).data("text")&&(this.options.text=$(this.element).data("text")),$.each(this.options.share,(function(e,n){!0===n&&t.options.shareTotal++})),!0===t.options.enableCounter?$.each(this.options.share,(function(e,n){if(!0===n)try{t.getSocialJson(e)}catch(t){}})):""!==t.options.template?this.options.render(this,this.options):this.loadButtons(),$(this.element).hover((function(){0===$(this).find(".buttons").length&&!0===t.options.enableHover&&t.loadButtons(),t.options.hover(t,t.options)}),(function(){t.options.hide(t,t.options)})),$(this.element).click((function(){return t.options.click(t,t.options),!1}))},o.prototype.loadButtons=function(){var t=this;$(this.element).append('<div class="buttons"></div>'),$.each(t.options.share,(function(e,n){1==n&&(c[e](t),!0===t.options.enableTracking&&u[e]())}))},o.prototype.getSocialJson=function(t){var e=this,n=0,i=l[t].replace("{url}",encodeURIComponent(this.options.url));e.renderer(),e.options.count[t]=0,e.rendererPerso()},o.prototype.rendererPerso=function(){var t=0;for(e in this.options.count)t++;t===this.options.shareTotal&&this.options.render(this,this.options)},o.prototype.renderer=function(){var t=this.options.total,e=this.options.template;!0===this.options.shorterTotal&&(t=this.shorterTotal(t)),""!==e?(e=e.replace("{total}",t),$(this.element).html(e)):$(this.element).html('<div class="box"><a class="count" href="#">'+t+"</a>"+(""!==this.options.title?'<a class="share" href="#">'+this.options.title+"</a>":"")+"</div>")},o.prototype.shorterTotal=function(t){return t>=1e6?t=(t/1e6).toFixed(2)+"M":t>=1e3&&(t=(t/1e3).toFixed(1)+"k"),t},o.prototype.openPopup=function(t){if(d[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])}},o.prototype.simulateClick=function(){var t=$(this.element).html();$(this.element).html(t.replace(this.options.total,this.options.total+1))},o.prototype.update=function(t,e){""!==t&&(this.options.url=t),""!==e&&(this.options.text=e)},$.fn.sharrre=function(t){var e=arguments;return t===i||"object"==typeof t?this.each((function(){$.data(this,"plugin_sharrre")||$.data(this,"plugin_sharrre",new o(this,t))})):"string"==typeof t&&"_"!==t[0]&&"init"!==t?this.each((function(){var n=$.data(this,"plugin_sharrre");n instanceof o&&"function"==typeof n[t]&&n[t].apply(n,Array.prototype.slice.call(e,1))})):void 0}}(jQuery,window,document),
28/*! Magnific Popup - v0.9.9 - 2013-11-15
29* http://dimsemenov.com/plugins/magnific-popup/
30* Copyright (c) 2013 Dmitry Semenov; */
31function(t){var e,n,i,o,s,a,r,l="Close",c="BeforeClose",u="AfterClose",d="BeforeAppend",p="MarkupParse",h="Open",f="Change",m="mfp",g="."+m,v="mfp-ready",y="mfp-removing",w="mfp-prevent-close",b=function(){},_=!!window.jQuery,C=t(window),S=function(t,n){e.ev.on(m+t+g,n)},x=function(e,n,i,o){var s=document.createElement("div");return s.className="mfp-"+e,i&&(s.innerHTML=i),o?n&&n.appendChild(s):(s=t(s),n&&s.appendTo(n)),s},T=function(n,i){e.ev.triggerHandler(m+n,i),e.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),e.st.callbacks[n]&&e.st.callbacks[n].apply(e,t.isArray(i)?i:[i]))},I=function(n){return n===r&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),r=n),e.currTemplate.closeBtn},k=function(){t.magnificPopup.instance||((e=new b).init(),t.magnificPopup.instance=e)},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};b.prototype={constructor:b,init:function(){var n=navigator.appVersion;e.isIE7=-1!==n.indexOf("MSIE 7."),e.isIE8=-1!==n.indexOf("MSIE 8."),e.isLowIE=e.isIE7||e.isIE8,e.isAndroid=/android/gi.test(n),e.isIOS=/iphone|ipad|ipod/gi.test(n),e.supportsTransition=E(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=t(document.body),o=t(document),e.popupsCache={}},open:function(n){var i;
31if(!1===n.isObj){e.items=n.items.toArray(),e.index=0;var s,r=n.items;for(i=0;r.length>i;i++)if((s=r[i]).parsed&&(s=s.el[0]),s===n.el[0]){e.index=i;break}}else e.items=t.isArray(n.items)?n.items:[n.items],e.index=n.index||0;if(!e.isOpen){e.types=[],a="",e.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):o,n.key?(e.popupsCache[n.key]||(e.popupsCache[n.key]={}),e.currTemplate=e.popupsCache[n.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,n),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=x("bg").on("click"+g,(function(){e.close()})),e.wrap=x("wrap").attr("tabindex",-1).on("click"+g,(function(t){e._checkIfClose(t.target)&&e.close()})),e.container=x("container",e.wrap)),e.contentContainer=x("content"),e.st.preloader&&(e.preloader=x("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(i=0;l.length>i;i++){var c=l[i];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,n,i){n.close_replaceWith=I(i.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 u=e.wH=C.height(),d={};if(e.fixedContentPos&&e._hasScrollBar(u)){var f=e._getScrollbarSize();f&&(d.marginRight=f)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):d.overflow="hidden");var m=e.st.mainClass;return e.isIE7&&(m+=" mfp-ie7"),m&&e._addClassToMFP(m),e.updateItemHTML(),T("BuildControls"),t("html").css(d),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(u),T(h),n}e.updateItemHTML()},close:function(){e.isOpen&&(T(c),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(y),setTimeout((function(){e._close()}),e.st.removalDelay)):e._close())},_close:function(){T(l);var n=y+" "+v+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(n+=e.st.mainClass+" "),e._removeClassFromMFP(n),e.fixedContentPos){var i={marginRight:""};e.isIE7?t("body, html").css("overflow",""):i.overflow="",t("html").css(i)}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(u)},updateSize:function(t){if(e.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;e.wrap.css("height",i),e.wH=i}else e.wH=t||C.height();e.fixedContentPos||e.wrap.css("height",e.wH),T("Resize")},updateItemHTML:function(){var n=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),n.parsed||(n=e.parseEl(e.index));var i=n.type;if(T("BeforeChange",[e.currItem?e.currItem.type:"",i]),e.currItem=n,!e.currTemplate[i]){var o=!!e.st[i]&&e.st[i].markup;T("FirstMarkupParse",o),e.currTemplate[i]=!o||t(o)}s&&s!==n.type&&e.container.removeClass("mfp-"+s+"-holder");var a=e["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,e.currTemplate[i]);e.appendContent(a,i),n.preloaded=!0,T(f,n),s=n.type,e.container.prepend(e.contentContainer),T("AfterChange")},appendContent:function(t,n){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[n]?e.content.find(".mfp-close").length||e.content.append(I()):e.content=t:e.content="",T(d),e.container.addClass("mfp-"+n+"-holder"),e.contentContainer.append(e.content)},parseEl:function(n){var i=e.items[n],o=i.type;if((i=i.tagName?{el:t(i)}:{data:i,src:i.src}).el){for(var s=e.types,a=0;s.length>a;a++)if(i.el.hasClass("mfp-"+s[a])){o=s[a];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=o||e.st.type||"inline",i.index=n,i.parsed=!0,e.items[n]=i,T("ElementParse",i),e.items[n]},addGroup:function(t,n){var i=function(i){i.mfpEl=this,e._openClick(i,t,n)};n||(n={});var o="click.magnificPopup";n.mainEl=t,n.items?(n.isObj=!0,t.off(o).on(o,i)):(n.isObj=!1,n.delegate?t.off(o).on(o,n.delegate,i):(n.items=t,t.off(o).on(o,i)))},_openClick:function(n,i,o){var s;if((void 0!==o.midClick?o.midClick:t.magnificPopup.defaults.midClick)||2!==n.which&&!n.ctrlKey&&!n.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;n.type&&(n.preventDefault(),e.isOpen&&n.stopPropagation()),o.el=t(n.mfpEl),o.delegate&&(o.items=i.find(o.delegate)),e.o
31pen(o)}},updateStatus:function(t,i){if(e.preloader){n!==t&&e.container.removeClass("mfp-s-"+n),i||"loading"!==t||(i=e.st.tLoading);var o={status:t,text:i};T("UpdateStatus",o),t=o.status,i=o.text,e.preloader.html(i),e.preloader.find("a").on("click",(function(t){t.stopImmediatePropagation()})),e.container.addClass("mfp-s-"+t),n=t}},_checkIfClose:function(n){if(!t(n).hasClass(w)){var i=e.st.closeOnContentClick,o=e.st.closeOnBgClick;if(i&&o)return!0;if(!e.content||t(n).hasClass("mfp-close")||e.preloader&&n===e.preloader[0])return!0;if(n===e.content[0]||t.contains(e.content[0],n)){if(i)return!0}else if(o&&t.contains(document,n))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(n){return n.target===e.wrap[0]||t.contains(e.wrap[0],n.target)?void 0:(e._setFocus(),!1)},_parseMarkup:function(e,n,i){var o;i.data&&(n=t.extend(i.data,n)),T(p,[e,n,i]),t.each(n,(function(t,n){if(void 0===n||!1===n)return!0;if((o=t.split("_")).length>1){var i=e.find(g+"-"+o[0]);if(i.length>0){var s=o[1];"replaceWith"===s?i[0]!==n[0]&&i.replaceWith(n):"img"===s?i.is("img")?i.attr("src",n):i.replaceWith('<img src="'+n+'" class="'+i.attr("class")+'" />'):i.attr(o[1],n)}}else e.find(g+"-"+t).html(n)}))},_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:b.prototype,modules:[],open:function(e,n){return k(),(e=e?t.extend(!0,{},e):{}).isObj=!0,e.index=n||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()}
31,registerModule:function(e,n){n.options&&(t.magnificPopup.defaults[e]=n.options),t.extend(this.proto,n.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">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},t.fn.magnificPopup=function(n,i){k();var o=t(this);if("string"==typeof n)if("open"===n){var s,a=_?o.data("magnificPopup"):o[0].magnificPopup,r=parseInt(i,10)||0;a.items?s=a.items[r]:(s=o,a.delegate&&(s=s.find(a.delegate)),s=s.eq(r)),e._openClick({mfpEl:s},o,a)}else e.isOpen&&e[n].apply(e,Array.prototype.slice.call(arguments,1));else n=t.extend(!0,{},n),_?o.data("magnificPopup",n):o[0].magnificPopup=n,e.addGroup(o,n);return o};var M,P,A,D="inline",z=function(){A&&(P.after(A.addClass(M)).detach(),A=null)};t.magnificPopup.registerModule(D,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(D),S(l+"."+D,(function(){z()}))},getInline:function(n,i){if(z(),n.src){var o=e.st.inline,s=t(n.src);if(s.length){var a=s[0].parentNode;a&&a.tagName&&(P||(M=o.hiddenClass,P=x(M),M="mfp-"+M),A=s.after(P).detach().removeClass(M)),e.updateStatus("ready")}else e.updateStatus("error",o.tNotFound),s=t("<div>");return n.inlineElement=s,s}return e.updateStatus("ready"),e._parseMarkup(i,{},n),i}}});var O,B="ajax",N=function(){O&&i.removeClass(O)},H=function(){N(),e.req&&e.req.abort()};t.magnificPopup.registerModule(B,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(B),O=e.st.ajax.cursor,S(l+"."+B,H),S("BeforeChange."+B,H)},getAjax:function(n){O&&i.addClass(O),e.updateStatus("loading");var o=t.extend({url:n.src,success:function(i,o,s){var a={data:i,xhr:s};T("ParseAjax",a),e.appendContent(t(a.data),B),n.finished=!0,N(),e._setFocus(),setTimeout((function(){e.wrap.addClass(v)}),16),e.updateStatus("ready"),T("AjaxContentAdded")},error:function(){N(),n.finished=n.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",n.src))}},e.st.ajax.settings);return e.req=t.ajax(o),""}}});var L,j=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var i=e.st.image.titleSrc;if(i){if(t.isFunction(i))return i.call(e,n);if(n.el)return n.el.attr(i)||""}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,n=".image";e.types.push("image"),S(h+n,(function(){"image"===e.currItem.type&&t.cursor&&i.addClass(t.cursor)})),S(l+n,(function(){t.cursor&&i.removeClass(t.cursor),C.off("resize"+g)})),S("Resize"+n,e.resizeImage),e.isLowIE&&S("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var n=0;e.isLowIE&&(n=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-n)}},_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 n=0,i=t.img[0],o=function(s){L&&clearInterval(L),L=setInterval((function(){return i.naturalWidth>0?void e._onImageHasSize(t):(n>200&&clearInterval(L),void(3===++n?o(10):40===n?o(50):100===n&&o(500)))}),s)};o(1)},getImage:function(n,i){var o=0,s=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===e.currItem&&(e._onImageHasSize(n),e.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,T("ImageLoadComplete")):200>++o?setTimeout(s,100):a())},a=function(){n&&(n.img.off(".mfploader"),n===e.currItem&&(e._onImageHasSize(n),e.updateStatus("error",r.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},r=e.st.image,l=i.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.img=t(c).on("load.mfploader",s).on("error.mfploader",a),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),n.img[0].naturalWi
31dth>0&&(n.hasSize=!0)}return e._parseMarkup(i,{title:j(n),img_replaceWith:n.img},n),e.resizeImage(),n.hasSize?(L&&clearInterval(L),n.loadError?(i.addClass("mfp-loading"),e.updateStatus("error",r.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),e.updateStatus("ready")),i):(e.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),e.findImageSize(n)),i)}}});var W,F=function(){return void 0===W&&(W=void 0!==document.createElement("p").style.MozTransform),W};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,n=e.st.zoom,i=".zoom";if(n.enabled&&e.supportsTransition){var o,s,a=n.duration,r=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return o["-webkit-"+s]=o["-moz-"+s]=o["-o-"+s]=o[s]=i,e.css(o),e},u=function(){e.content.css("visibility","visible")};S("BuildControls"+i,(function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void u();(s=r(t)).css(e._getOffset()),e.wrap.append(s),o=setTimeout((function(){s.css(e._getOffset(!0)),o=setTimeout((function(){u(),setTimeout((function(){s.remove(),t=s=null,T("ZoomAnimationEnded")}),16)}),a)}),16)}})),S(c+i,(function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=a,!t){if(!(t=e._getItemToZoom()))return;s=r(t)}s.css(e._getOffset(!0)),e.wrap.append(s),e.content.css("visibility","hidden"),setTimeout((function(){s.css(e._getOffset())}),16)}})),S(l+i,(function(){e._allowZoom()&&(u(),s&&s.remove(),t=null)}))}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(n){var i,o=(i=n?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),s=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);o.top-=t(window).scrollTop()-s;var r={width:i.width(),height:(_?i.innerHeight():i[0].offsetHeight)-a-s};return F()?r["-moz-transform"]=r.transform="translate("+o.left+"px,"+o.top+"px)":(r.left=o.left,r.top=o.top),r}}});var R="iframe",q="//about:blank",U=function(t){if(e.currTemplate[R]){var n=e.currTemplate[R].find("iframe");n.length&&(t||(n[0].src=q),e.isIE8&&n.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,n){e!==n&&(e===R?U():n===R&&U(!0))})),S(l+"."+R,(function(){U()}))},getIframe:function(n,i){var o=n.src,s=e.st.iframe;t.each(s.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 s.srcAction&&(a[s.srcAction]=o),e._parseMarkup(i,a,n),e.updateStatus("ready"),i}}});var Q=function(t){var n=e.items.length;return t>n-1?t-n:0>t?n+t:t},X=function(t,e,n){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,n)};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 n=e.st.gallery,i=".mfp-gallery",s=Boolean(t.fn.mfpFastClick);return e.direction=!0,!(!n||!n.enabled)&&(a+=" mfp-gallery",S(h+i,(function(){n.navigateByImgClick&&e.wrap.on("click"+i,".mfp-img",(function(){return e.items.length>1?(e.next(),!1):void 0})),o.on("keydown"+i,(function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()}))})),S("UpdateStatus"+i,(function(t,n){n.text&&(n.text=X(n.text,e.currItem.index,e.items.length))})),S(p+i,(function(t,i,o,s){var a=e.items.length;o.counter=a>1?X(n.tCounter,s.index,a):""})),S("BuildControls"+i,(function(){if(e.items.length>1&&n.arrows&&!e.arrowLeft){var i=n.arrowMarkup,o=e.arrowLeft=t(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(w),a=e.arrowRight=t(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(w),r=s?"mfpFastClick":"click";o[r]((function(){e.prev()})),a[r]((function(){e.next()})),e.isIE7&&(x("b",o[0],!1,!0),x("a",o[0],!1,!0),x("b",a[0],!1,!0),x("a",a[0],!1,!0)),e.container.append(o.add(a))}})),S(f+i,(function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout((function(){e.preloadNearbyImages(),e._preloadTimeout=null}),16)})),void S(l+i,(function(){o.off(i),e.wrap.off("click"+i),e.arrowLeft&&s&&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,n=e.st.gallery.preload,i=Math.min(n[0],e.items.length),o=Math.min(n[1],e.items.length);for(t=1;(e.direction?o:i)>=t;t++)e._preloadItem(e.index+t);for(t=1;(e.direction?i:o)>=t;t++)e._preloadItem(e.index-t)},_preloadItem:function(n){if(n=Q(n),!e.items[n].preloaded){var i=e.items[n];i.parsed||(i=e.parseEl(n)),T("LazyLoad",i),"image"===i.type&&(i.img=t('<img class="mfp-img" />').on("load.mfploader",(function(){i.hasSize=!0})).on("error.mfploader",(function(){i.hasSize=!0,i.loadError=!0,T("LazyLoadError",i)})).attr("src",i.src)),i.preloaded=!0}}}});var Y="retina";t.magnificPopup.registerModule(Y,{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,n=t.ratio;(n=isNaN(n)?n():n)>1&&(S("ImageHasSize."+Y,(function(t,e){e.img.css({"max-width":e.img[0].naturalWi
31dth/n,width:"100%"})})),S("ElementParse."+Y,(function(e,i){i.src=t.replaceSrc(i,n)})))}}}}),function(){var e=1e3,n="ontouchstart"in window,i=function(){C.off("touchmove"+s+" touchend"+s)},o,s="."+"mfpFastClick";t.fn.mfpFastClick=function(o){return t(this).each((function(){var a,r=t(this),l,c,u,d,p,h;n&&r.on("touchstart"+s,(function(t){d=!1,h=1,p=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],c=p.clientX,u=p.clientY,C.on("touchmove"+s,(function(t){p=t.originalEvent?t.originalEvent.touches:t.touches,h=p.length,p=p[0],(Math.abs(p.clientX-c)>10||Math.abs(p.clientY-u)>10)&&(d=!0,i())})).on("touchend"+s,(function(t){i(),d||h>1||(a=!0,t.preventDefault(),clearTimeout(l),l=setTimeout((function(){a=!1}),e),o())}))}));r.on("click"+s,(function(){a||o()}))}))},t.fn.destroyMfpFastClick=function(){t(this).off("touchstart"+s+" click"+s),n&&C.off("touchmove"+s+" touchend"+s)}}(),k()}(window.jQuery||window.Zepto),
32/*!
33Waypoints - 4.0.0
34Copyright © 2011-2015 Caleb Troughton
35Licensed under the MIT license.
36https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
37*/
38function(){"use strict";function t(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,i),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=i.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),n[this.key]=this,e+=1}var e=0,n={};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 n[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 i in n)e.push(n[i]);for(var o=0,s=e.length;o<s;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-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},o=window.Waypoint,s=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 i[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 n in e){var i=e[n],o,s=i.newScroll>i.oldScroll?i.forward:i.backward;for(var a in this.waypoints[n]){var r=this.waypoints[n][a],l=i.oldScroll<r.triggerPoint,c=i.newScroll>=r.triggerPoint,u,d;(l&&c||!l&&!c)&&(r.queueTrigger(s),t[r.group.id]=r.group)}}for(var p in t)t[p].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}}
38,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 n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,o=t.length;i<o;i++)t[i].destroy()},e.prototype.refresh=function(){var t=this.element==this.element.window,e=t?void 0:this.adapter.offset(),n={},i;for(var s in this.handleScroll(),i={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=i[s];for(var r in this.waypoints[s]){var l=this.waypoints[s][r],c=l.options.offset,u=l.triggerPoint,d=0,p=null==u,h,f,m,g,v;l.element!==l.element.window&&(d=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))),h=a.contextScroll-a.contextOffset,l.triggerPoint=d+h-c,f=u<a.oldScroll,m=l.triggerPoint>=a.oldScroll,v=!f&&!m,!p&&(g=f&&m)?(l.queueTrigger(a.backward),n[l.group.id]=l.group):(!p&&v||p&&a.oldScroll>=l.triggerPoint)&&(l.queueTrigger(a.forward),n[l.group.id]=l.group)}}return o.requestAnimationFrame((function(){for(var t in n)n[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in i)i[t].refresh()},e.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){s&&s(),e.refreshAll()},o.requestAnimationFrame=function(e){var n;(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 n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},o=window.Waypoint;n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],o="up"===n||"left"===n;i.sort(o?e:t);for(var s=0,a=i.length;s<a;s+=1){var r=i[s];(r.options.continuous||s===i.length-1)&&r.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var n=o.Adapter.inArray(e,this.waypoints),i;return n===this.waypoints.length-1?null:this.waypoints[n+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var n=o.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},o.Group=n}(),function(){"use strict";function t(t){this.$element=$(t)}var $=window.jQuery,e=window.Waypoint;$.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,n){t.prototype[n]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,t)}})),$.each(["extend","inArray","isEmptyObject"],(function(e,n){t[n]=$[n]})),e.adapters.push({name:"jquery",Adapter:t}),e.Adapter=t}(),function(){"use strict";function t(t){return function(n,i){var o=[],s=n;return t.isFunction(n)&&((s=t.extend({},i)).handler=n),this.each((function(){var n=t.extend({},s,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),o.push(new e(n))})),o}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),
39/*! skrollr 0.6.29 (2014-11-17) | Alexander Prinzhorn - https://github.com/Prinzhorn/skrollr | Free to use under terms of MIT license */
40function(t,e,n){"use strict";function i(n){if(o=e.documentElement,s=e.body,U(),rt=this,pt=(n=n||{}).constants||{},n.easing)for(var i in n.easing)Y[i]=n.easing[i];wt=n.edgeStrategy||"set",ut={beforerender:n.beforerender,render:n.render,keyframe:n.keyframe},(dt=!1!==n.forceHeight)&&(Nt=n.scale||1),ht=n.mobileDeceleration||x,mt=!1!==n.smoothScrolling,gt=n.smoothScrollingDuration||I,vt={targetTop:rt.getScrollTop()},(qt=(n.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||t.opera)})())?((ct=e.getElementById(n.skrollrBody||T))&&at(),V(),Pt(o,[y,_],[w])):Pt(o,[y,b],[w]),rt.refresh(),Ct(t,"resize orientationchange",(function(){var t=o.clientWidth,e=o.clientHeight;(e!==$t||t!==Wt)&&($t=e,Wt=t,Ft=!0)}));var a=Q();return function t(){Z(),_t=a(t)}(),rt}var o,s,a={get:function(){return rt},init:function(t){return rt||new i(t)},VERSION:"0.6.29"},r=Object.prototype.hasOwnProperty,l=t.Math,c=t.getComputedStyle,u="touchstart",d="touchmove",p="touchcancel",h="touchend",f="skrollable",m=f+"-before",g=f+"-between",v=f+"-after",y="skrollr",w="no-"+y,b=y+"-desktop",_=y+"-mobile",C="linear",S=1e3,x=.004,T="skrollr-body",I=200,k="start",E="end",M="center",P="bottom",A="___skrollable_id",D=/^(?:input|textarea|button|select)$/i,z=/^\s+|\s+$/g,O=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,B=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,N=/^(@?[a-z\-]+)\[(\w+)\]$/,H=/-([a-z0-9_])/g,L=function(t,e){return e.toUpperCase()}
vendor: 4,966 bytes, line 40
40,j=/[\-+]?[\d]*\.?[\d]+/g,$=/\{\?\}/g,W=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,F=/[a-z\-]+-gradient/g,R="",q="",U=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var e=c(s,null);for(var i in e)if(R=i.match(t)||+i==i&&e[i].match(t))break;if(!R)return R=q="",n;"-"===(R=R[0]).slice(0,1)?(q=R,R={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[R]):q="-"+R.toLowerCase()+"-"}},Q=function(){var e=t.requestAnimationFrame||t[R.toLowerCase()+"RequestAnimationFrame"],n=zt();return(qt||!e)&&(e=function(e){var i=zt()-n,o=l.max(0,1e3/60-i);return t.setTimeout((function(){n=zt(),e()}),o)}),e},X=function(){var e=t.cancelAnimationFrame||t[R.toLowerCase()+"CancelAnimationFrame"];return(qt||!e)&&(e=function(e){return t.clearTimeout(e)}),e},Y={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)}};i.prototype.refresh=function(t){var i,o,s=!1;for(t===n?(s=!0,lt=[],Rt=0,t=e.getElementsByTagName("*")):t.length===n&&(t=[t]),i=0,o=t.length;o>i;i++){var a=t[i],r=a,l=[],c=mt,u=wt,d=!1;if(s&&A in a&&delete a[A],a.attributes){for(var p=0,h=a.attributes.length;h>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(O);if(null!==g){var v={props:m.value,element:a,eventType:m.name.replace(H,L)};l.push(v);var y=g[1];y&&(v.constant=y.substr(1));var w=g[2];/p$/.test(w)?(v.isPercentage=!0,v.offset=(0|w.slice(0,-1))/100):v.offset=0|w;var b=g[3],_=g[4]||b;b&&b!==k&&b!==E?(v.mode="relative",v.anchors=[b,_]):(v.mode="absolute",b===E?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Nt))}}else d=!0;else u=m.value;else c="off"!==m.value;else if(null===(r=e.querySelector(m.value)))throw'Unable to find anchor target "'+m.value+'"'}var C,S,x;if(l.length)!s&&A in a?(x=a[A],C=lt[x].styleAttr,S=lt[x].classAttr):(x=a[A]=Rt++,C=a.style.cssText,S=Mt(a)),lt[x]={element:a,styleAttr:C,classAttr:S,anchorTarget:r,keyFrames:l,smoothScrolling:c,edgeStrategy:u,emitEvents:d,lastFrameIndex:-1},Pt(a,[f],[])}}for(It(),i=0,o=t.length;o>i;i++){var T=lt[t[i][A]];T!==n&&(K(T),et(T))}return rt},i.prototype.relativeToAbsolute=function(t,e,n){var i=o.clientHeight,s=t.getBoundingClientRect(),a=s.top,r=s.bottom-s.top;return e===P?a-=i:e===M&&(a-=i/2),n===P?a+=r:n===M&&(a+=r/2),0|(a+=rt.getScrollTop())+.5},i.prototype.animateTo=function(t,e){e=e||{};var i=zt(),o=rt.getScrollTop();return(ft={startTop:o,topDiff:t-o,targetTop:t,duration:e.duration||S,startTime:i,endTime:i+(e.duration||S),easing:Y[e.easing||C],done:e.done}).topDiff||(ft.done&&ft.done.call(rt,!1),ft=n),rt},i.prototype.stopAnimateTo=function(){ft&&ft.done&&ft.done.call(rt,!0),ft=n},i.prototype.isAnimatingTo=function(){return!!ft},i.prototype.isMobile=function(){return qt},i.prototype.setScrollTop=function(e,n){return yt=!0===n,qt?Ut=l.min(l.max(e,0),Bt):t.scrollTo(0,e),rt},i.prototype.getScrollTop=function(){return qt?Ut:t.pageYOffset||o.scrollTop||s.scrollTop||0},i.prototype.getMaxScrollTop=function(){return Bt},i.prototype.on=function(t,e){return ut[t]=e,rt},i.prototype.off=function(t){return delete ut[t],rt},i.prototype.destroy=function(){var t;X()(_t),xt(),Pt(o,[w],[y,b,_]);for(var e=0,i=lt.length;i>e;e++)st(lt[e].element);o.style.overflow=s.style.overflow="",o.style.height=s.style.height="",ct&&a.setStyle(ct,"transform","none"),rt=n,ct=n,ut=n,dt=n,Bt=0,Nt=1,pt=n,ht=n,Ht="down",Lt=-1,Wt=0,$t=0,Ft=!1,ft=n,mt=n,gt=n,vt=n,yt=n,Rt=0,wt=n,qt=!1,Ut=0,bt=n};var V=function(){var i,a,r,c,f,m,g,v,y,w,b,_;Ct(o,[u,d,p,h].join(" "),(function(t){var o=t.changedTouches[0];for(c=t.target;3===c.nodeType;)c=c.parentNode;switch(f=o.clientY,m=o.clientX,w=t.timeStamp,D.test(c.tagName)||t.preventDefault(),t.type){case u:i&&i.blur(),rt.stopAnimateTo(),i=c,a=g=f,r=m,y=w;break;case d:D.test(c.tagName)&&e.activeElement!==c&&t.preventDefault(),v=f-g,_=w-b,rt.setScrollTop(Ut-v,!0),g=f,b=w;break;default:case p:case h:var s=a-f,C=r-m,S;if(49>C*C+s*s){if(!D.test(i.tagName)){i.focus();var x=e.createEvent("MouseEvents");x.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),i.dispatchEvent(x)}return}i=n;var T=v/_;T=l.max(l.min(T,3),-3);var I=l.abs(T/ht),k=T*I+.5*ht*I*I,E=rt.getScrollTop()-k,M=0;E>Bt?(M=(Bt-E)/k,E=Bt):0>E&&(M=-E/k,E=0),I*=1-M,rt.animateTo(0|E+.5,{easing:"outCubic",duration:I})}})),t.scrollTo(0,0),o.style.overflow=s.style.overflow="hidden"},G=function(){var t,e,n,i,s,a,r,c,u,d,p,h=o.clientHeight,f=kt();for(c=0,u=lt.length;u>c;c++)for(e=(t=lt[c]).element,n=t.anchorTarget,s=0,a=(i=t.keyFrames).length;a>s;
40s++)d=(r=i[s]).offset,p=f[r.constant]||0,r.frame=d,r.isPercentage&&(d*=h,r.frame=d),"relative"===r.mode&&(st(e),r.frame=rt.relativeToAbsolute(n,r.anchors[0],r.anchors[1])-d,st(e,!0)),r.frame+=p,dt&&!r.isEnd&&r.frame>Bt&&(Bt=r.frame);for(Bt=l.max(Bt,Et()),c=0,u=lt.length;u>c;c++){for(s=0,a=(i=(t=lt[c]).keyFrames).length;a>s;s++)p=f[(r=i[s]).constant]||0,r.isEnd&&(r.frame=Bt-r.offset+p);t.keyFrames.sort(Ot)}},J=function(t,e){for(var n=0,i=lt.length;i>n;n++){var o,s,l=lt[n],c=l.element,u=l.smoothScrolling?t:e,d=l.keyFrames,p=d.length,h=d[0],y=d[d.length-1],w=h.frame>u,b=u>y.frame,_=w?h:y,C=l.emitEvents,S=l.lastFrameIndex;if(w||b){if(w&&-1===l.edge||b&&1===l.edge)continue;switch(w?(Pt(c,[m],[v,g]),C&&S>-1&&(Tt(c,h.eventType,Ht),l.lastFrameIndex=-1)):(Pt(c,[v],[m,g]),C&&p>S&&(Tt(c,y.eventType,Ht),l.lastFrameIndex=p)),l.edge=w?-1:1,l.edgeStrategy){case"reset":st(c);continue;case"ease":u=_.frame;break;default:case"set":var x=_.props;for(o in x)r.call(x,o)&&(s=ot(x[o].value),0===o.indexOf("@")?c.setAttribute(o.substr(1),s):a.setStyle(c,o,s));continue}}else 0!==l.edge&&(Pt(c,[f,g],[m,v]),l.edge=0);for(var T=0;p-1>T;T++)if(u>=d[T].frame&&d[T+1].frame>=u){var I=d[T],k=d[T+1];for(o in I.props)if(r.call(I.props,o)){var E=(u-I.frame)/(k.frame-I.frame);E=I.props[o].easing(E),s=it(I.props[o].value,k.props[o].value,E),s=ot(s),0===o.indexOf("@")?c.setAttribute(o.substr(1),s):a.setStyle(c,o,s)}C&&S!==T&&(Tt(c,"down"===Ht?I.eventType:k.eventType,Ht),l.lastFrameIndex=T);break}}},Z=function(){Ft&&(Ft=!1,It());var t,e,i=rt.getScrollTop(),o=zt();if(ft)o>=ft.endTime?(i=ft.targetTop,t=ft.done,ft=n):(e=ft.easing((o-ft.startTime)/ft.duration),i=0|ft.startTop+e*ft.topDiff),rt.setScrollTop(i,!0);else if(!yt){var s;vt.targetTop-i&&(vt={startTop:Lt,topDiff:i-Lt,targetTop:i,startTime:jt,endTime:jt+gt}),vt.endTime>=o&&(e=Y.sqrt((o-vt.startTime)/gt),i=0|vt.startTop+e*vt.topDiff)}if(qt&&ct&&a.setStyle(ct,"transform","translate(0, "+-Ut+"px) "+bt),yt||Lt!==i){yt=!1;var r={curTop:i,lastTop:Lt,maxTop:Bt,direction:Ht=i>Lt?"down":Lt>i?"up":Ht},l;!1!==(ut.beforerender&&ut.beforerender.call(rt,r))&&(J(i,rt.getScrollTop()),Lt=i,ut.render&&ut.render.call(rt,r)),t&&t.call(rt,!1)}jt=o},K=function(t){for(var e=0,n=t.keyFrames.length;n>e;e++){for(var i,o,s,a,r=t.keyFrames[e],l={};null!==(a=B.exec(r.props));)s=a[1],o=a[2],null!==(i=s.match(N))?(s=i[1],i=i[2]):i=C,o=o.indexOf("!")?tt(o):[o.slice(1)],l[s]={value:o,easing:Y[i]};r.props=l}},tt=function(t){var e=[];return W.lastIndex=0,t=t.replace(W,(function(t){return t.replace(j,(function(t){return t/255*100+"%"}))})),q&&(F.lastIndex=0,t=t.replace(F,(function(t){return q+t}))),t=t.replace(j,(function(t){return e.push(+t),"{?}"})),e.unshift(t),e},et=function(t){var e,n,i={};for(e=0,n=t.keyFrames.length;n>e;e++)nt(t.keyFrames[e],i);for(i={},e=t.keyFrames.length-1;e>=0;e--)nt(t.keyFrames[e],i)},nt=function(t,e){var n;for(n in e)r.call(t.props,n)||(t.props[n]=e[n]);for(n in t.props)e[n]=t.props[n]},it=function(t,e,n){var i,o=t.length;if(o!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';var s=[t[0]];for(i=1;o>i;i++)s[i]=t[i]+(e[i]-t[i])*n;return s},ot=function(t){var e=1;return $.lastIndex=0,t[0].replace($,(function(){return t[e++]}))},st=function(t,e){for(var n,i,o=0,s=(t=[].concat(t)).length;s>o;o++)i=t[o],(n=lt[i[A]])&&(e?(i.style.cssText=n.dirtyStyleAttr,Pt(i,n.dirtyClassAttr)):(n.dirtyStyleAttr=i.style.cssText,n.dirtyClassAttr=Mt(i),i.style.cssText=n.styleAttr,Pt(i,n.classAttr)))},at=function(){bt="translateZ(0)",a.setStyle(ct,"transform",bt);var t=c(ct),e=t.getPropertyValue("transform"),n=t.getPropertyValue(q+"transform"),i;e&&"none"!==e||n&&"none"!==n||(bt="")};a.setStyle=function(t,e,n){var i=t.style;if("zIndex"===(e=e.replace(H,L).replace("-","")))i[e]=isNaN(n)?n:""+(0|n);else if("float"===e)i.styleFloat=i.cssFloat=n;else try{R&&(i[R+e.slice(0,1).toUpperCase()+e.slice(1)]=n),i[e]=n}catch(t){}};var rt,lt,ct,ut,dt,pt,ht,ft,mt,gt,vt,yt,wt,bt,_t,Ct=a.addEvent=function(e,n,i){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}),i.call(this,e)},s,a=0,r=(n=n.split(" ")).length;r>a;a++)s=n[a],e.addEventListener?e.addEventListener(s,i,!1):e.attachEvent("on"+s,o),Qt.push({element:e,name:s,listener:i})},St=a.removeEvent=function(t,e,n){for(var i=0,o=(e=e.split(" ")).length;o>i;i++)t.removeEventListener?t.removeEventListener(e[i],n,!1):t.detachEvent("on"+e[i],n)},xt=function(){for(var t,e=0,n=Qt.length;n>e;e++)t=Qt[e],St(t.element,t.name,t.listener);Qt=[]},Tt=function(t,e,n){ut.keyframe&&ut.keyframe.call(rt,t,e,n)},It=function(){var t=rt.getScrollTop();Bt=0,dt&&!qt&&(s.style.height=""),G(),dt&&!qt&&(s.style.height=Bt+o.clientHeight+"px"),qt?rt.setScrollTop(l.min(rt.getScrollTop(),Bt)):rt.setScrollTop(t,!0),yt=!0},kt=function(){var t,e,n=o.clientHeight,i={};for(t in pt)"function"==typeof(e=pt[t])?e=e.call(rt):/p$/.test(e)&&(e=e.slice(0,-1)/100*n),i[t]=e;return i},Et=function(){var t,e=0;return ct&&(e=l.max(ct.offsetHeight,ct.scrollHeight)),(t=l.max(e,s.scrollHeight,s.offsetHeight,o.scrollHeight,o.offsetHeight,o.clientHeight))-o.clientHeight},Mt=function(e){var n="className";return t.SVGElement&&e instanceof t.SVGElement&&(e=e[n],n="baseVal"),e[n]},Pt=function(e,i,o){var s="className";if(t.SVGElement&&e instanceof t.SVGElement&&(e=e[s],s="baseVal"),o===n)return e[s]=i,n;for(var a=e[s],r=0,l=o.length;l>r;r++)a=Dt(a).replace(Dt(o[r])," ");a=At(a);for(var c=0,u=i.length;u>c;c++)-1===Dt(a).indexOf(Dt(i[c]))&&(a+=" "+i[c]);e[s]=At(a)},At=function(t){return t.replace(z,"")},Dt=function(t){return" "+t+" "},zt=Date.now||function(){return+new Date},Ot=function(t,e){return t.frame-e.frame},Bt=0,Nt=1,Ht="down",Lt=-1,jt=zt(),Wt=0,$t=0,Ft=!1,Rt=0,qt=!1,Ut=0,Qt=[];"function"==typeof define&&define.amd?define([],(function(){return a})):"undefined"!=typeof module&&module.exports?module.exports=a:t.skrollr=a}(window,document),
41/*! jQuery Color [email protected] with SVG Color Names http://github.com/jquery/jquery-color | jquery.org/license */
42function(t,e){function n(t,e,n){var i=u[e.type]||{};return null==t?n||!e.def?null:e.def:(t=i.floor?~~t:parseFloat(t),isNaN(t)?e.def:i.mod?(t+i.mod)%i.mod:0>t?0:i.max<t?i.max:t)}function i(e){var n=l(),i=n._rgba=[];return e=e.toLowerCase(),f(r,(function(t,o){var s,a=o.re.exec(e),r=a&&o.parse(a),l=o.space||"rgba";if(r)return s=n[l](r),n[c[l].cache]=s[c[l].cache],i=n._rgba=s._rgba,!1})),i.length?("0,0,0,0"===i.join()&&t.extend(i,h.transparent),n):h[e]}function o(t,e,n){return 6*(n=(n+1)%1)<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}var s="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",a=/^([\-+])=\s*(\d+\.?\d*)/,r=[{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,n,i,o){return new t.Color.fn.parse(e,n,i,o)},c={rgba:{props:{red:{idx:0,type:"byte"}
vendor: 4,572 bytes, line 42
42,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"}}}},u={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("<p>")[0],h,f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(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,s,a,r){if(o===e)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=t(o).css(s),s=e);var u=this,d=t.type(o),p=this._rgba=[];return s!==e&&(o=[o,s,a,r],d="array"),"string"===d?this.parse(i(o)||h._default):"array"===d?(f(c.rgba.props,(function(t,e){p[e.idx]=n(o[e.idx],e)})),this):"object"===d?(f(c,o instanceof l?function(t,e){o[e.cache]&&(u[e.cache]=o[e.cache].slice())}:function(e,i){var s=i.cache;f(i.props,(function(t,e){if(!u[s]&&i.to){if("alpha"===t||null==o[t])return;u[s]=i.to(u._rgba)}u[s][e.idx]=n(o[t],e,!0)})),u[s]&&t.inArray(null,u[s].slice(0,3))<0&&(u[s][3]=1,i.from&&(u._rgba=i.from(u[s])))}),this):void 0},is:function(t){var e=l(t),n=!0,i=this;return f(c,(function(t,o){var s,a=e[o.cache];return a&&(s=i[o.cache]||o.to&&o.to(i._rgba)||[],f(o.props,(function(t,e){if(null!=a[e.idx])return n=a[e.idx]===s[e.idx]}))),n})),n},_space:function(){var t=[],e=this;return f(c,(function(n,i){e[i.cache]&&t.push(n)})),t.pop()},transition:function(t,e){var i=l(t),o=i._space(),s=c[o],a=0===this.alpha()?l("transparent"):this,r=a[s.cache]||s.to(a._rgba),d=r.slice();return i=i[s.cache],f(s.props,(function(t,o){var s=o.idx,a=r[s],l=i[s],c=u[o.type]||{};null!==l&&(null===a?d[s]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),d[s]=n((l-a)*e+a,o)))})),this[o](d)},blend:function(e){if(1===this._rgba[3])return this;var n=this._rgba.slice(),i=n.pop(),o=l(e)._rgba;return l(t.map(n,(function(t,e){return(1-i)*o[e]+i*t})))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,(function(t,e){return null==t?e>2?1:0:t}));return 1===n[3]&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=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===n[3]&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),i=n.pop();return e&&n.push(~~(255*i)),"#"+t.map(n,(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,null,null,t[3]];var e=t[0]/255,n=t[1]/255,i=t[2]/255,o=t[3],s=Math.max(e,n,i),a=Math.min(e,n,i),r=s-a,l=s+a,c=.5*l,u,d;return u=a===s?0:e===s?60*(n-i)/r+360:n===s?60*(i-e)/r+120:60*(e-n)/r+240,d=0===r?0:c<=.5?r/l:r/(2-l),[Math.round(u)%360,d,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,n=t[1],i=t[2],s=t[3],a=i<=.5?i*(1+n):i+n-i*n,r=2*i-a;return[Math.round(255*o(r,a,e+1/3)),Math.round(255*o(r,a,e)),Math.round(255*o(r,a,e-1/3)),s]},f(c,(function(i,o){var s=o.props,r=o.cache,c=o.to,u=o.from;l.fn[i]=function(i){if(c&&!this[r]&&(this[r]=c(this._rgba)),i===e)return this[r].slice();var o,a=t.type(i),d="array"===a||"object"===a?i:arguments,p=this[r].slice();return f(s,(function(t,e){var i=d["object"===a?t:e.idx];null==i&&(i=p[e.idx]),p[e.idx]=n(i,e)})),u?((o=l(u(p)))[r]=p,o):l(p)},f(s,(function(e,n){l.fn[e]||(l.fn[e]=function(o){var s=t.type(o),r="alpha"===e?this._hsla?"hsla":"rgba":i,l=this[r](),c=l[n.idx],u;return"undefined"===s?c:("function"===s&&(o=o.call(this,c),s=t.type(o)),null==o&&n.empty?this:("string"===s&&((u=a.exec(o))&&(o=c+parseFloat(u[2])*("+"===u[1]?1:-1))),l[n.idx]=o,this[r](l)))})}))})),l.hook=function(e){var n=e.split(" ");f(n,(function(e,n){t.cssHooks[n]={set:function(e,o){var s,a,r="";if("transparent"!==o&&("string"!==t.type(o)||(s=i(o)))){if(o=l(s||o),!d.rgba&&1!==o._rgba[3]){for(a="backgroundColor"===n?e.parentNode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundColor"),a=a.parentNode}catch(t){}o=o.blend(r&&"transparent"!==r?r:"_default")}o=o.toRgbaString()}try{e.style[n]=o}catch(t){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=l(e.elem,n),e.end=l(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}}))},l.hook(s),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],(function(n,i){e["border"+i+"Color"]=t})),e}}
42,h=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",salmon:"#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"}),"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(t,e,n){var i={init:function(e,n){this.$elem=t(n),this.options=t.extend({},t.fn.owlCarousel.options,this.$elem.data(),e),this.userOptions=e,this.loadContent()},loadContent:function(){function e(t){var e,i="";if("function"==typeof n.options.jsonSuccess)n.options.jsonSuccess.apply(this,[t]);else{for(e in t.owl)t.owl.hasOwnProperty(e)&&(i+=t.owl[e].item);n.$elem.html(i)}n.logIn()}var n=this,i;"function"==typeof n.options.beforeInit&&n.options.beforeInit.apply(this,[n.$elem]),"string"==typeof n.options.jsonPath?(i=n.options.jsonPath,t.getJSON(i,e)):n.logIn()},logIn:function(){this.$elem.data("owl-originalStyles",this.$elem.attr("style")),this.$elem.data("owl-originalClasses",this.$elem.attr("class")),this.$elem.css({opacity:0}),this.orignalItems=this.options.items,this.checkBrowser(),this.wrapperWidth=0,this.checkVisible=null,this.setVars()},setVars:function(){if(0===this.$elem.children().length)return!1;this.baseClass(),this.eventTypes(),this.$userItems=this.$elem.children(),this.itemsAmount=this.$userItems.length,this.wrapItems(),this.$owlItems=this.$elem.find(".owl-item"),this.$owlWrapper=this.$elem.find(".owl-wrapper"),this.playDirection="next",this.prevItem=0,this.prevArr=[0],this.currentItem=0,this.customEvents(),this.onStartup()},onStartup:function(){this.updateItems(),this.calculateAll(),this.buildControls(),this.updateControls(),this.response(),this.moveEvents(),this.stopOnHover(),this.owlStatus(),!1!==this.options.transitionStyle&&this.transitionTypes(this.options.transitionStyle),!0===this.options.autoPlay&&(this.options.autoPlay=5e3),this.play(),this.$elem.find(".owl-wrapper").css("display","block"),this.$elem.is(":visible")?this.$elem.css("opacity",1):this.watchVisibility(),this.onstartup=!1,this.eachMoveUpdate(),"function"==typeof this.options.afterInit&&this.options.afterInit.apply(this,[this.$elem])},eachMoveUpdate:function(){!0===this.options.lazyLoad&&this.lazyLoad(),!0===this.options.autoHeight&&this.autoHeight(),this.onVisibleItems(),"function"==typeof this.options.afterAction&&this.options.afterAction.apply(this,[this.$elem])}
42,updateVars:function(){"function"==typeof this.options.beforeUpdate&&this.options.beforeUpdate.apply(this,[this.$elem]),this.watchVisibility(),this.updateItems(),this.calculateAll(),this.updatePosition(),this.updateControls(),this.eachMoveUpdate(),"function"==typeof this.options.afterUpdate&&this.options.afterUpdate.apply(this,[this.$elem])},reload:function(){var t=this;e.setTimeout((function(){t.updateVars()}),0)},watchVisibility:function(){var t=this;if(!1!==t.$elem.is(":visible"))return!1;t.$elem.css({opacity:0}),e.clearInterval(t.autoPlayInterval),e.clearInterval(t.checkVisible),t.checkVisible=e.setInterval((function(){t.$elem.is(":visible")&&(t.reload(),t.$elem.animate({opacity:1},200),e.clearInterval(t.checkVisible))}),500)},wrapItems:function(){this.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),this.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),this.wrapperOuter=this.$elem.find(".owl-wrapper-outer"),this.$elem.css("display","block")},baseClass:function(){var t=this.$elem.hasClass(this.options.baseClass),e=this.$elem.hasClass(this.options.theme);t||this.$elem.addClass(this.options.baseClass),e||this.$elem.addClass(this.options.theme)},updateItems:function(){var e,n;if(!1===this.options.responsive)return!1;if(!0===this.options.singleItem)return this.options.items=this.orignalItems=1,this.options.itemsCustom=!1,this.options.itemsDesktop=!1,this.options.itemsDesktopSmall=!1,this.options.itemsTablet=!1,this.options.itemsTabletSmall=!1,this.options.itemsMobile=!1;if((e=t(this.options.responsiveBaseWidth).width())>(this.options.itemsDesktop[0]||this.orignalItems)&&(this.options.items=this.orignalItems),!1!==this.options.itemsCustom)for(this.options.itemsCustom.sort((function(t,e){return t[0]-e[0]})),n=0;n<this.options.itemsCustom.length;n+=1)this.options.itemsCustom[n][0]<=e&&(this.options.items=this.options.itemsCustom[n][1]);else e<=this.options.itemsDesktop[0]&&!1!==this.options.itemsDesktop&&(this.options.items=this.options.itemsDesktop[1]),e<=this.options.itemsDesktopSmall[0]&&!1!==this.options.itemsDesktopSmall&&(this.options.items=this.options.itemsDesktopSmall[1]),e<=this.options.itemsTablet[0]&&!1!==this.options.itemsTablet&&(this.options.items=this.options.itemsTablet[1]),e<=this.options.itemsTabletSmall[0]&&!1!==this.options.itemsTabletSmall&&(this.options.items=this.options.itemsTabletSmall[1]),e<=this.options.itemsMobile[0]&&!1!==this.options.itemsMobile&&(this.options.items=this.options.itemsMobile[1]);this.options.items>this.itemsAmount&&!0===this.options.itemsScaleUp&&(this.options.items=this.itemsAmount)},response:function(){var n=this,i,o;if(!0!==n.options.responsive)return!1;o=t(e).width(),n.resizer=function(){t(e).width()!==o&&(!1!==n.options.autoPlay&&e.clearInterval(n.autoPlayInterval),e.clearTimeout(i),i=e.setTimeout((function(){o=t(e).width(),n.updateVars()}),n.options.responsiveRefreshRate))},t(e).resize(n.resizer)},updatePosition:function(){this.jumpTo(this.currentItem),!1!==this.options.autoPlay&&this.checkAp()},appendItemsSizes:function(){var e=this,n=0,i=e.itemsAmount-e.options.items;e.$owlItems.each((function(o){var s=t(this);s.css({width:e.itemWidth}).data("owl-item",Number(o)),0!=o%e.options.items&&o!==i||o>i||(n+=1),s.data("owl-roundPages",n)}))},appendWrapperSizes:function(){this.$owlWrapper.css({width:this.$owlItems.length*this.itemWidth*2,left:0}),this.appendItemsSizes()},calculateAll:function(){this.calculateWidth(),this.appendWrapperSizes(),this.loops(),this.max()},calculateWidth:function(){this.itemWidth=Math.round(this.$elem.width()/this.options.items)},max:function(){var t=-1*(this.itemsAmount*this.itemWidth-this.options.items*this.itemWidth);return this.options.items>this.itemsAmount?this.maximumPixels=t=this.maximumItem=0:(this.maximumItem=this.itemsAmount-this.options.items,this.maximumPixels=t),t},min:function(){return 0},loops:function(){var e=0,n=0,i,o;for(this.positionsInArray=[0],this.pagesInArray=[],i=0;i<this.itemsAmount;i+=1)n+=this.itemWidth,this.positionsInArray.push(-n),!0===this.options.scrollPerPage&&((o=(o=t(this.$owlItems[i])).data("owl-roundPages"))!==e&&(this.pagesInArray[e]=this.positionsInArray[i],e=o))},buildControls:function(){!0!==this.options.navigation&&!0!==this.options.pagination||(this.owlControls=t('<div class="owl-control
42s"/>').toggleClass("clickable",!this.browser.isTouch).appendTo(this.$elem)),!0===this.options.pagination&&this.buildPagination(),!0===this.options.navigation&&this.buildButtons()},buildButtons:function(){var e=this,n=t('<div class="owl-buttons"/>');e.owlControls.append(n),e.buttonPrev=t("<div/>",{class:"owl-prev",html:e.options.navigationText[0]||""}),e.buttonNext=t("<div/>",{class:"owl-next",html:e.options.navigationText[1]||""}),n.append(e.buttonPrev).append(e.buttonNext),n.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',(function(t){t.preventDefault()})),n.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',(function(n){n.preventDefault(),t(this).hasClass("owl-next")?e.next():e.prev()}))},buildPagination:function(){var e=this;e.paginationWrapper=t('<div class="owl-pagination"/>'),e.owlControls.append(e.paginationWrapper),e.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",(function(n){n.preventDefault(),Number(t(this).data("owl-page"))!==e.currentItem&&e.goTo(Number(t(this).data("owl-page")),!0)}))},updatePagination:function(){var e,n,i,o,s,a;if(!1===this.options.pagination)return!1;for(this.paginationWrapper.html(""),e=0,n=this.itemsAmount-this.itemsAmount%this.options.items,o=0;o<this.itemsAmount;o+=1)0==o%this.options.items&&(e+=1,n===o&&(i=this.itemsAmount-this.options.items),s=t("<div/>",{class:"owl-page"}),a=t("<span></span>",{text:!0===this.options.paginationNumbers?e:"",class:!0===this.options.paginationNumbers?"owl-numbers":""}),s.append(a),s.data("owl-page",n===o?i:o),s.data("owl-roundPages",e),this.paginationWrapper.append(s));this.checkPagination()},checkPagination:function(){var e=this;if(!1===e.options.pagination)return!1;e.paginationWrapper.find(".owl-page").each((function(){t(this).data("owl-roundPages")===t(e.$owlItems[e.currentItem]).data("owl-roundPages")&&(e.paginationWrapper.find(".owl-page").removeClass("active"),t(this).addClass("active"))}))},checkNavigation:function(){if(!1===this.options.navigation)return!1;!1===this.options.rewindNav&&(0===this.currentItem&&0===this.maximumItem?(this.buttonPrev.addClass("disabled"),this.buttonNext.addClass("disabled")):0===this.currentItem&&0!==this.maximumItem?(this.buttonPrev.addClass("disabled"),this.buttonNext.removeClass("disabled")):this.currentItem===this.maximumItem?(this.buttonPrev.removeClass("disabled"),this.buttonNext.addClass("disabled")):0!==this.currentItem&&this.currentItem!==this.maximumItem&&(this.buttonPrev.removeClass("disabled"),this.buttonNext.removeClass("disabled")))},updateControls:function(){this.updatePagination(),this.checkNavigation(),this.owlControls&&(this.options.items>=this.itemsAmount?this.owlControls.hide():this.owlControls.show())},destroyControls:function(){this.owlControls&&this.owlControls.remove()},next:function(t){if(this.isTransition)return!1;if(this.currentItem+=!0===this.options.scrollPerPage?this.options.items:1,this.currentItem>this.maximumItem+(!0===this.options.scrollPerPage?this.options.items-1:0)){if(!0!==this.options.rewindNav)return this.currentItem=this.maximumItem,!1;this.currentItem=0,t="rewind"}this.goTo(this.currentItem,t)},prev:function(t){if(this.isTransition)return!1;if(this.currentItem=!0===this.options.scrollPerPage&&0<this.currentItem&&this.currentItem<this.options.items?0:this.currentItem-(!0===this.options.scrollPerPage?this.options.items:1),0>this.currentItem){if(!0!==this.options.rewindNav)return this.currentItem=0,!1;this.currentItem=this.maximumItem,t="rewind"}this.goTo(this.currentItem,t)},goTo:function(t,n,i){var o=this;return!o.isTransition&&("function"==typeof o.options.beforeMove&&o.options.beforeMove.apply(this,[o.$elem]),t>=o.maximumItem?t=o.maximumItem:0>=t&&(t=0),o.currentItem=o.owl.currentItem=t,!1!==o.options.transitionStyle&&"drag"!==i&&1===o.options.items&&!0===o.browser.support3d?(o.swapSpeed(0),!0===o.browser.support3d?o.transition3d(o.positionsInArray[t]):o.css2slide(o.positionsInArray[t],1),o.afterGo(),o.singleItemTransition(),!1):(t=o.positionsInArray[t],!0===o.browser.support3d?(o.isCss3Finish=!1,!0===n?(o.swapSpeed("paginationSpeed"),e.setTimeout((function(){o.isCss3Finish=!0}),o.options.paginationSpeed)):"rewind"===n?(o.swapSpeed(o.options.rewindSpeed),e.setTimeout((function(){o.isCss3Finish=!0}),o.options.rewindSpeed)):(o.swapSpeed("slideSpeed"),e.setTimeout((function(){o.isCss3Finish=!0}),o.options.slideSpeed)),o.transition3d(t)):!0===n?o.css2slide(t,o.options.paginationSpeed):"rewind"===n?o.css2slide(t,o.options.rewindSpeed):o.css2slide(t,o.options.slideSpeed),void o.afterGo()))},jumpTo:function(t){"function"==typeof this.options.beforeMove&&this.options.beforeMove.apply(this,[this.$elem]),t>=this.maximumItem||-1===t?t=this.maximumItem:0>=t&&(t=0),this.swapSpeed(0),!0===this.browser.support3d?this.transition3d(this.positionsInArray[t]):this.css2slide(this.positionsInArray[t],1),this.currentItem=this.owl.currentItem=t,this.afterGo()},afterGo:function(){this.prevArr.push(this.currentItem),this.prevItem=this.owl.prevItem=this.prevArr[this.prevArr.length-2],this.prevArr.shift(0),this.prevItem!==this.currentItem&&(this.checkPagination(),this.checkNavigation(),this.eachMoveUpdate(),!1!==this.options.autoPlay&&this.checkAp()),"function"==typeof this.options.afterMove&&this.prevItem!==this.currentItem&&this.options.afterMove.apply(this,[this.$elem])},stop:function(){this.apStatus="stop",e.clearInterval(this.autoPlayInterval)},checkAp:function(){"stop"!==this.apStatus&&this.play()},play:function(){var t=this;if(t.apStatus="play",!1===t.options.autoPlay)return!1;e.clearInterval(t.autoPlayInterval),t.autoPlayInterval=e.setInterval((function(){t.next(!0)}),t.options.autoPlay)},swapSpeed:function(t){"slideSpeed"===t?this.$owlWrapper.css(this.addCssSpeed(this.options.slideSpeed)):"paginationSpeed"===t?this.$owlWrapper.css(this.addCssSpeed(this.options.paginationSpeed)):"string"!=typeof t&&this.$owlWrapper.css(this.addCssSpeed(t))},addCssSpeed:function(t){return{"-webkit-transition":"all "+t+"ms ease","-moz-transition":"all "+t+"ms ease","-o-transition":"all "+t+"ms ease",transition:"all "+t+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(t){return{"-webkit-transform":"translate3d("+t+"px, 0px, 0px)","-moz-transform":"translate3d("+t+"px, 0px, 0px)","-o-transform":"translate3d("+t+"px, 0px, 0px)","-ms-transform":"translate3d("+t+"px, 0px, 0px)",transform:"translate3d("+t+"px, 0px,0px)"}},transition3d:function(t){this.$owlWrapper.css(this.doTranslate(t))},css2move:function(t){this.$owlWrapper.css({left:t})},css2slide:function(t,e){var n=this;n.isCssFinish=!1,n.$owlWrapper.stop(!0,!0).animate({left:t},{duration:e||n.options.slideSpeed,complete:function(){n.isCssFinish=!0}})},checkBrowser:function(){var t=n.createElement("div");t.style.cssText="  -moz-transform:translate3d(0px, 0px, 0px); -ms-transform:translate3d(0px, 0px, 0px); -o-transform:translate3d(0px, 0px, 0px); -webkit-transform:translate3d(0px, 0px, 0px); transform:translate3d(0px, 0px, 0px)",t=t.style.cssText.match(/translate3d\(0px, 0px, 0px\)/g),this.browser={supp
42ort3d:null!==t&&1===t.length,isTouch:"ontouchstart"in e||e.navigator.msMaxTouchPoints}},moveEvents:function(){!1===this.options.mouseDrag&&!1===this.options.touchDrag||(this.gestures(),this.disabledEvents())},eventTypes:function(){var t=["s","e","x"];this.ev_types={},!0===this.options.mouseDrag&&!0===this.options.touchDrag?t=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:!1===this.options.mouseDrag&&!0===this.options.touchDrag?t=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:!0===this.options.mouseDrag&&!1===this.options.touchDrag&&(t=["mousedown.owl","mousemove.owl","mouseup.owl"]),this.ev_types.start=t[0],this.ev_types.move=t[1],this.ev_types.end=t[2]},disabledEvents:function(){this.$elem.on("dragstart.owl",(function(t){t.preventDefault()})),this.$elem.on("mousedown.disableTextSelect",(function(e){return t(e.target).is("input, textarea, select, option")}))},gestures:function(){function i(t){if(void 0!==t.touches)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(void 0===t.touches){if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY};if(void 0===t.pageX)return{x:t.clientX,y:t.clientY}}}function o(e){"on"===e?(t(n).on(r.ev_types.move,s),t(n).on(r.ev_types.end,a)):"off"===e&&(t(n).off(r.ev_types.move),t(n).off(r.ev_types.end))}function s(o){o=o.originalEvent||o||e.event,r.newPosX=i(o).x-l.offsetX,r.newPosY=i(o).y-l.offsetY,r.newRelativeX=r.newPosX-l.relativePos,"function"==typeof r.options.startDragging&&!0!==l.dragging&&0!==r.newRelativeX&&(l.dragging=!0,r.options.startDragging.apply(r,[r.$elem])),(8<r.newRelativeX||-8>r.newRelativeX)&&!0===r.browser.isTouch&&(void 0!==o.preventDefault?o.preventDefault():o.returnValue=!1,l.sliding=!0),(10<r.newPosY||-10>r.newPosY)&&!1===l.sliding&&t(n).off("touchmove.owl"),r.newPosX=Math.max(Math.min(r.newPosX,r.newRelativeX/5),r.maximumPixels+r.newRelativeX/5),!0===r.browser.support3d?r.transition3d(r.newPosX):r.css2move(r.newPosX)}function a(n){var i;(n=n.originalEvent||n||e.event).target=n.target||n.srcElement,l.dragging=!1,!0!==r.browser.isTouch&&r.$owlWrapper.removeClass("grabbing"),r.dragDirection=0>r.newRelativeX?r.owl.dragDirection="left":r.owl.dragDirection="right",0!==r.newRelativeX&&(i=r.getNewPosition(),r.goTo(i,!1,"drag"),l.targetElement===n.target&&!0!==r.browser.isTouch&&(t(n.target).on("click.disable",(function(e){e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),t(e.target).off("click.disable")})),i=(n=t._data(n.target,"events").click).pop(),n.splice(0,0,i))),o("off")}var r=this,l={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};r.isCssFinish=!0,r.$elem.on(r.ev_types.start,".owl-wrapper",(function(n){var s;if(3===(n=n.originalEvent||n||e.event).which)return!1;if(!(r.itemsAmount<=r.options.items)){if(!1===r.isCssFinish&&!r.options.dragBeforeAnimFinish||!1===r.isCss3Finish&&!r.options.dragBeforeAnimFinish)return!1;!1!==r.options.autoPlay&&e.clearInterval(r.autoPlayInterval),!0===r.browser.isTouch||r.$owlWrapper.hasClass("grabbing")||r.$owlWrapper.addClass("grabbing"),r.newPosX=0,r.newRelativeX=0,t(this).css(r.removeTransition()),s=t(this).position(),l.relativePos=s.left,l.offsetX=i(n).x-s.left,l.offsetY=i(n).y-s.top,o("on"),l.sliding=!1,l.targetElement=n.target||n.srcElement}}))},getNewPosition:function(){var t=this.closestItem();return t>this.maximumItem?t=this.currentItem=this.maximumItem:0<=this.newPosX&&(this.currentItem=t=0),t},closestItem:function(){var e=this,n=!0===e.options.scrollPerPage?e.pagesInArray:e.positionsInArray,i=e.newPosX,o=null;return t.each(n,(function(s,a){i-e.itemWidth/20>n[s+1]&&i-e.itemWidth/20<a&&"left"===e.moveDirection()?(o=a,e.currentItem=!0===e.options.scrollPerPage?t.inArray(o,e.positionsInArray):s):i+e.itemWidth/20<a&&i+e.itemWidth/20>(n[s+1]||n[s]-e.itemWidth)&&"right"===e.moveDirection()&&(!0===e.options.scrollPerPage?(o=n[s+1]||n[n.length-1],e.currentItem=t.inArray(o,e.positionsInArray)):(o=n[s+1],e.currentItem=s+1))})),e.currentItem},moveDirection:function(){var t;return 0>this.newRelativeX?(t="right",this.playDirection="next"):(t="left",this.playDirection="prev"),t},customEvents:function(){var t=this;t.$elem.on("owl.next",(function(){t.next()})),t.$elem.on("owl.prev",(function(){t.prev()})),t.$elem.on("owl.play",(function(e,n){t.options.autoPlay=n,t.play(),t.hoverStatus="play"})),t.$elem.on("owl.stop",(function(){t.stop(),t.hoverStatus="stop"})),t.$elem.on("owl.goTo",(function(e,n){t.goTo(n)})),t.$elem.on("owl.jumpTo",(function(e,n){t.jumpTo(n)}))},stopOnHover:function(){var t=this;!0===t.options.stopOnHover&&!0!==t.browser.isTouch&&!1!==t.options.autoPlay&&(t.$elem.on("mouseover",(function(){t.stop()})),t.$elem.on("mouseout",(function(){"stop"!==t.hoverStatus&&t.play()})))},lazyLoad:function(){var e,n,i,o,s;if(!1===this.options.lazyLoad)return!1;for(e=0;e<this.itemsAmount;e+=1)"loaded"!==(n=t(this.$owlItems[e])).data("owl-loaded")&&(i=n.data("owl-item"),"string"!=typeof(o=n.find(".lazyOwl")).data("src")?n.data("owl-loaded","loaded"):(void 0===n.data("owl-loaded")&&(o.hide(),n.addClass("loading").data("owl-loaded","checked")),(s=!0!==this.options.lazyFollow||i>=this.currentItem)&&i<this.currentItem+this.options.items&&o.length&&this.lazyPreload(n,o)))},lazyPreload:function(t,n){function i(){t.data("owl-loaded","loaded").removeClass("loading"),n.removeAttr("data-src"),"fade"===s.options.lazyEffect?n.fadeIn(400):n.show(),"function"==typeof s.options.afterLazyLoad&&s.options.afterLazyLoad.apply(this,[s.$elem])}
42function o(){a+=1,s.completeImg(n.get(0))||!0===r?i():100>=a?e.setTimeout(o,100):i()}var s=this,a=0,r;"DIV"===n.prop("tagName")?(n.css("background-image","url("+n.data("src")+")"),r=!0):n[0].src=n.data("src"),o()},autoHeight:function(){function n(){var n=t(o.$owlItems[o.currentItem]).height();o.wrapperOuter.css("height",n+"px"),o.wrapperOuter.hasClass("autoHeight")||e.setTimeout((function(){o.wrapperOuter.addClass("autoHeight")}),0)}function i(){a+=1,o.completeImg(s.get(0))?n():100>=a?e.setTimeout(i,100):o.wrapperOuter.css("height","")}var o=this,s=t(o.$owlItems[o.currentItem]).find("img"),a;void 0!==s.get(0)?(a=0,i()):n()},completeImg:function(t){return!(!t.complete||void 0!==t.naturalWidth&&0===t.naturalWidth)},onVisibleItems:function(){var e;for(!0===this.options.addClassActive&&this.$owlItems.removeClass("active"),this.visibleItems=[],e=this.currentItem;e<this.currentItem+this.options.items;e+=1)this.visibleItems.push(e),!0===this.options.addClassActive&&t(this.$owlItems[e]).addClass("active");this.owl.visibleItems=this.visibleItems},transitionTypes:function(t){this.outClass="owl-"+t+"-out",this.inClass="owl-"+t+"-in"},singleItemTransition:function(){var t=this,e=t.outClass,n=t.inClass,i=t.$owlItems.eq(t.currentItem),o=t.$owlItems.eq(t.prevItem),s=Math.abs(t.positionsInArray[t.currentItem])+t.positionsInArray[t.prevItem],a=Math.abs(t.positionsInArray[t.currentItem])+t.itemWidth/2;t.isTransition=!0,t.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":a+"px","-moz-perspective-origin":a+"px","perspective-origin":a+"px"}),o.css({position:"relative",left:s+"px"}).addClass(e).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend",(function(){t.endPrev=!0,o.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend"),t.clearTransStyle(o,e)})),i.addClass(n).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend",(function(){t.endCurrent=!0,i.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend"),t.clearTransStyle(i,n)}))},clearTransStyle:function(t,e){t.css({position:"",left:""}).removeClass(e),this.endPrev&&this.endCurrent&&(this.$owlWrapper.removeClass("owl-origin"),this.isTransition=this.endCurrent=this.endPrev=!1)},owlStatus:function(){this.owl={userOptions:this.userOptions,baseElement:this.$elem,userItems:this.$userItems,owlItems:this.$owlItems,currentItem:this.currentItem,prevItem:this.prevItem,visibleItems:this.visibleItems,isTouch:this.browser.isTouch,browser:this.browser,dragDirection:this.dragDirection}},clearEvents:function(){this.$elem.off(".owl owl mousedown.disableTextSelect"),t(n).off(".owl owl"),t(e).off("resize",this.resizer)},unWrap:function(){0!==this.$elem.children().length&&(this.$owlWrapper.unwrap(),this.$userItems.unwrap().unwrap(),this.owlControls&&this.owlControls.remove()),this.clearEvents(),this.$elem.attr("style",this.$elem.data("owl-originalStyles")||"").attr("class",this.$elem.data("owl-originalClasses"))},destroy:function(){this.stop(),e.clearInterval(this.checkVisible),this.unWrap(),this.$elem.removeData()},reinit:function(e){e=t.extend({},this.userOptions,e),this.unWrap(),this.init(e,this.$elem)},addItem:function(t,e){var n;return!!t&&(0===this.$elem.children().length?(this.$elem.append(t),this.setVars(),!1):(this.unWrap(),(n=void 0===e||-1===e?-1:e)>=this.$userItems.length||-1===n?this.$userItems.eq(-1).after(t):this.$userItems.eq(n).before(t),void this.setVars()))},removeItem:function(t){if(0===this.$elem.children().length)return!1;t=void 0===t||-1===t?-1:t,this.unWrap(),
43this.$userItems.eq(t).remove(),this.setVars()}};t.fn.owlCarousel=function(e){return this.each((function(){if(!0===t(this).data("owl-init"))return!1;t(this).data("owl-init",!0);var n=Object.create(i);n.init(e,this),t.data(this,"owlCarousel",n)}))},t.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:e,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}((function(t){function e(e){var a=e||window.event,r=l.call(arguments,1
43),c=0,d=0,p=0,h=0,f=0,m=0;if((e=t.event.fix(a)).type="mousewheel","detail"in a&&(p=-1*a.detail),"wheelDelta"in a&&(p=a.wheelDelta),"wheelDeltaY"in a&&(p=a.wheelDeltaY),"wheelDeltaX"in a&&(d=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(d=-1*p,p=0),c=0===p?d:p,"deltaY"in a&&(c=p=-1*a.deltaY),"deltaX"in a&&(d=a.deltaX,0===p&&(c=-1*d)),0!==p||0!==d){if(1===a.deltaMode){var g=t.data(this,"mousewheel-line-height");c*=g,p*=g,d*=g}else if(2===a.deltaMode){var v=t.data(this,"mousewheel-page-height");c*=v,p*=v,d*=v}if(h=Math.max(Math.abs(p),Math.abs(d)),(!s||s>h)&&(s=h,i(a,h)&&(s/=40)),i(a,h)&&(c/=40,d/=40,p/=40),c=Math[c>=1?"floor":"ceil"](c/s),d=Math[d>=1?"floor":"ceil"](d/s),p=Math[p>=1?"floor":"ceil"](p/s),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();f=e.clientX-y.left,m=e.clientY-y.top}return e.deltaX=d,e.deltaY=p,e.deltaFactor=s,e.offsetX=f,e.offsetY=m,e.deltaMode=0,r.unshift(e,c,d,p),o&&clearTimeout(o),o=setTimeout(n,200),(t.event.dispatch||t.event.handle).apply(this,r)}}function n(){s=null}function i(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var o,s,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=a.length;c;)t.event.fixHooks[a[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=r.length;n;)this.addEventListener(r[--n],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=r.length;n;)this.removeEventListener(r[--n],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var n=t(e),i=n["offsetParent"in t.fn?"offsetParent":"parent"]();return i.length||(i=t("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})})),function(t){var e={init:function(e){var n={set_width:!1,set_height:!1,horizontalScroll:!1,scrollInertia:950,mouseWheel:!0,mouseWheelPixels:"auto",autoDraggerLength:!0,autoHideScrollbar:!1,snapAmount:null,snapOffset:0,scrollButtons:{enable:!1,scrollType:"continuous",scrollSpeed:"auto",scrollAmount:40},advanced:{updateOnBrowserResize:!0,updateOnContentResize:!1,autoExpandHorizontalScroll:!1,autoScrollOnFocus:!0,normalizeMouseWheelDelta:!1},contentTouchScroll:!0,callbacks:{onScrollStart:function(){},onScroll:function(){},onTotalScroll:function(){},onTotalScrollBack:function(){},onTotalScrollOffset:0,onTotalScrollBackOffset:0,whileScrolling:function(){}},theme:"light"},e=t.extend(!0,n,e);return this.each((function(){var n=t(this);if(e.set_width&&n.css("width",e.set_width),e.set_height&&n.css("height",e.set_height),t(document).data("mCustomScrollbar-index")){var i=parseInt(t(document).data("mCustomScrollbar-index"));t(document).data("mCustomScrollbar-index",i+1)}else t(document).data("mCustomScrollbar-index","1");n.wrapInner("<div class='mCustomScrollBox mCS-"+e.theme+"' id='mCSB_"+t(document).data("mCustomScrollbar-index")+"' style='position:relative; height:100%; overflow:hidden; max-width:100%;' />").addClass("mCustomScrollbar _mCS_"+t(document).data("mCustomScrollbar-index"));var o=n.children(".mCustomScrollBox");if(e.horizontalScroll){o.addClass("mCSB_horizontal").wrapInner("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />");var s=o.children(".mCSB_h_wrapper");s.wrapInner("<div class='mCSB_container' style='position:absolute; left:0;' />").children(".mCSB_container").css({width:s.children().outerWidth(),position:"relative"}).unwrap()}else o.wrapInner("<div class='mCSB_container' style='position:relative; top:0;' />");var a=o.children(".mCSB_container");t.support.touch&&a.addClass("mCS_touch"),a.after("<div class='mCSB_scrollTools' style='position:absolute;'><div class='mCSB_draggerContainer'><div class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' style='position:relative;'></div></div><div class='mCSB_draggerRail'></div></div></div>");var r=o.children(".mCSB_scrollTools"),l,c=r.children(".mCSB_draggerContainer").children(".mCSB_dragger");if(e.horizontalScroll?c.data("minDraggerWidth",c.width()):c.data("minDraggerHeight",c.height()),e.scrollButtons.enable&&(e.horizontalScroll?r.prepend("<
43a class='mCSB_buttonLeft' oncontextmenu='return false;'></a>").append("<a class='mCSB_buttonRight' oncontextmenu='return false;'></a>"):r.prepend("<a class='mCSB_buttonUp' oncontextmenu='return false;'></a>").append("<a class='mCSB_buttonDown' oncontextmenu='return false;'></a>")),o.bind("scroll",(function(){n.is(".mCS_disabled")||o.scrollTop(0).scrollLeft(0)})),n.data({mCS_Init:!0,mCustomScrollbarIndex:t(document).data("mCustomScrollbar-index"),horizontalScroll:e.horizontalScroll,scrollInertia:e.scrollInertia,scrollEasing:"mcsEaseOut",mouseWheel:e.mouseWheel,mouseWheelPixels:e.mouseWheelPixels,autoDraggerLength:e.autoDraggerLength,autoHideScrollbar:e.autoHideScrollbar,snapAmount:e.snapAmount,snapOffset:e.snapOffset,scrollButtons_enable:e.scrollButtons.enable,scrollButtons_scrollType:e.scrollButtons.scrollType,scrollButtons_scrollSpeed:e.scrollButtons.scrollSpeed,scrollButtons_scrollAmount:e.scrollButtons.scrollAmount,autoExpandHorizontalScroll:e.advanced.autoExpandHorizontalScroll,autoScrollOnFocus:e.advanced.autoScrollOnFocus,normalizeMouseWheelDelta:e.advanced.normalizeMouseWheelDelta,contentTouchScroll:e.contentTouchScroll,onScrollStart_Callback:e.callbacks.onScrollStart,onScroll_Callback:e.callbacks.onScroll,onTotalScroll_Callback:e.callbacks.onTotalScroll,onTotalScrollBack_Callback:e.callbacks.onTotalScrollBack,onTotalScroll_Offset:e.callbacks.onTotalScrollOffset,onTotalScrollBack_Offset:e.callbacks.onTotalScrollBackOffset,whileScrolling_Callback:e.callbacks.whileScrolling,bindEvent_scrollbar_drag:!1,bindEvent_content_touch:!1,bindEvent_scrollbar_click:!1,bindEvent_mousewheel:!1,bindEvent_buttonsContinuous_y:!1,bindEvent_buttonsContinuous_x:!1,bindEvent_buttonsPixels_y:!1,bindEvent_buttonsPixels_x:!1,bindEvent_focusin:!1,bindEvent_autoHideScrollbar:!1,mCSB_buttonScrollRight:!1,mCSB_buttonScrollLeft:!1,mCSB_buttonScrollDown:!1,mCSB_buttonScrollUp:!1}),e.horizontalScroll)"none"!==n.css("max-width")&&(e.advanced.updateOnContentResize||(e.advanced.updateOnContentResize=!0));else if("none"!==n.css("max-height")){var u=!1,d=parseInt(n.css("max-height"));n.css("max-height").indexOf("%")>=0&&(u=d,d=n.parent().height()*u/100),n.css("overflow","hidden"),o.css("max-height",d)}if(n.mCustomScrollbar("update"),e.advanced.updateOnBrowserResize){var p,h=t(window).width(),f=t(window).height();t(window).bind("resize."+n.data("mCustomScrollbarIndex"),(function(){p&&clearTimeout(p),p=setTimeout((function(){if(!n.is(".mCS_disabled")&&!n.is(".mCS_destroyed")){var e=t(window).width(),i=t(window).height();h===e&&f===i||("none"!==n.css("max-height")&&u&&o.css("max-height",n.parent().height()*u/100),n.mCustomScrollbar("update"),h=e,f=i)}}),150)}))}if(e.advanced.updateOnContentResize){var m;if(e.horizontalScroll)var g=a.outerWidth();else var g=a.outerHeight();m=setInterval((function(){if(e.horizontalScroll){e.advanced.autoExpandHorizontalScroll&&a.css({position:"absolute",width:"auto"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:a.outerWidth(),position:"relative"}).unwrap();var t=a.outerWidth()}else var t=a.outerHeight();t!=g&&(n.mCustomScrollbar("update"),g=t)}),300)}}))},update:function(){var e=t(this),n=e.children(".mCustomScrollBox"),i=n.children(".mCSB_container");i.removeClass("mCS_no_scrollbar"),e.removeClass("mCS_disabled mCS_destroyed"),n.scrollTop(0).scrollLeft(0);var o=n.children(".mCSB_scrollTools"),s=o.children(".mCSB_draggerContainer"),a=s.children(".mCSB_dragger");if(e.data("horizontalScroll")){var r=o.children(".mCSB_buttonLeft"),l=o.children(".mCSB_buttonRight"),c=n.width();e.data("autoExpandHorizontalScroll")&&i.css({position:"absolute",width:"auto"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:i.outerWidth(),position:"relative"}).unwrap();var u=i.outerWidth()}else var d=o.children(".mCSB_buttonUp"),p=o.children(".mCSB_buttonDown"),h=n.height(),f=i.outerHeight();if(f>h&&!e.data("horizontalScroll")){o.css("display","block");var m=s.height();if(e.data("autoDraggerLength")){var g=Math.round(h/f*m),v=a.data("minDraggerHeight");if(g<=v)a.css({height:v});else if(g>=m-10){var y=m-10;a.css({height:y})}else a.css({height:g});a.children(".mCSB_dragger_bar").css({"line-height":a.height()+"px"})}var w,b=(f-h)/(m-a.height());e.data("scrollAmount",b).mCustomScrollbar("scrolling",n,i,s,a,d,p,r,l);var _=Math.abs(i.position().top);e.mCustomScrollbar("scrollTo",_,{scrollInertia:0,trigger:"internal"})}else if(u>c&&e.data("horizontalScroll")){o.css("display","block");var C=s.width();if(e.data("autoDraggerLength")){var S=Math.round(c/u*C),x=a.data("minDraggerWidth");if(S<=x)a.css({width:x});else if(S>=C-10){var T=C-10;a.css({width:T})}else a.css({width:S})}var I,b=(u-c)/(C-a.width());e.data("scrollAmount",b).mCustomScrollbar("scrolling",n,i,s,a,d,p,r,l);var _=Math.abs(i.position().left);e.mCustomScrollbar("scrollTo",_,{scrollInertia:0,trigger:"internal"})}else n.unbind("mousewheel focusin"),e.data("horizontalScroll")?a.add(i).css("left",0):a.add(i).css("top",0),o.css("display","none"),i.addClass("mCS_no_scrollbar"),e.data({bindEvent_mousewheel:!1,bindEvent_focusin:!1})},scrolling:function(e,i,o,s,a,r,l,c){function u(t,e,n,i){d.data("horizontalScroll")?d.mCustomScrollbar("scrollTo",s.position().left-e+i,{moveDragger:!0,trigger:"internal"}):d.mCustomScrollbar("scrollTo",s.position().top-t+n,{moveDragger:!0,trigger:"internal"})}var d=t(this),p,h,f,m,g,v,y,w,b;
43d.data("bindEvent_scrollbar_drag")||(t.support.msPointer?(s.bind("MSPointerDown",(function(e){e.preventDefault(),d.data({on_drag:!0}),s.addClass("mCSB_dragger_onDrag");var n=t(this),i=n.offset(),o=e.originalEvent.pageX-i.left,a=e.originalEvent.pageY-i.top;o<n.width()&&o>0&&a<n.height()&&a>0&&(p=a,h=o)})),t(document).bind("MSPointerMove."+d.data("mCustomScrollbarIndex"),(function(t){if(t.preventDefault(),d.data("on_drag")){var e,n=s.offset(),i=t.originalEvent.pageX-n.left,o=t.originalEvent.pageY-n.top;u(p,h,o,i)}})).bind("MSPointerUp."+d.data("mCustomScrollbarIndex"),(function(t){d.data({on_drag:!1}),s.removeClass("mCSB_dragger_onDrag")}))):(s.bind("mousedown touchstart",(function(e){e.preventDefault(),e.stopImmediatePropagation();var n=t(this),i=n.offset(),o,a;if("touchstart"===e.type){var r=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];o=r.pageX-i.left,a=r.pageY-i.top}else d.data({on_drag:!0}),s.addClass("mCSB_dragger_onDrag"),o=e.pageX-i.left,a=e.pageY-i.top;o<n.width()&&o>0&&a<n.height()&&a>0&&(p=a,h=o)})).bind("touchmove",(function(e){e.preventDefault(),e.stopImmediatePropagation();var n=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],i,o=t(this).offset(),s=n.pageX-o.left,a=n.pageY-o.top;u(p,h,a,s)})),t(document).bind("mousemove."+d.data("mCustomScrollbarIndex"),(function(t){if(d.data("on_drag")){var e,n=s.offset(),i=t.pageX-n.left,o=t.pageY-n.top;u(p,h,o,i)}})).bind("mouseup."+d.data("mCustomScrollbarIndex"),(function(t){d.data({on_drag:!1}),s.removeClass("mCSB_dragger_onDrag")}))),d.data({bindEvent_scrollbar_drag:!0}));t.support.touch&&d.data("contentTouchScroll")&&(d.data("bindEvent_content_touch")||(i.bind("touchstart",(function(e){e.stopImmediatePropagation(),f=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],m=t(this),g=m.offset(),y=f.pageX-g.left,v=f.pageY-g.top,w=v,b=y})),i.bind("touchmove",(function(e){e.preventDefault(),e.stopImmediatePropagation(),f=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],m=t(this).parent(),g=m.offset(),y=f.pageX-g.left,v=f.pageY-g.top,d.data("horizontalScroll")?d.mCustomScrollbar("scrollTo",b-y,{trigger:"internal"}):d.mCustomScrollbar("scrollTo",w-v,{trigger:"internal"})}))));if(d.data("bindEvent_scrollbar_click")||(o.bind("click",(function(e){var n=(e.pageY-o.offset().top)*d.data("scrollAmount"),i=t(e.target);d.data("horizontalScroll")&&(n=(e.pageX-o.offset().left)*d.data("scrollAmount")),(i.hasClass("mCSB_draggerContainer")||i.hasClass("mCSB_draggerRail"))&&d.mCustomScrollbar("scrollTo",n,{trigger:"internal",scrollEasing:"draggerRailEase"})})),d.data({bindEvent_scrollbar_click:!0})),d.data("mouseWheel")&&(d.data("bindEvent_mousewheel")||(e.bind("mousewheel",(function(t,e){var n,a=d.data("mouseWheelPixels"),r=Math.abs(i.position().top),l=s.position().top,c=o.height()-s.height();d.data("normalizeMouseWheelDelta")&&(e=e<0?-1:1),"auto"===a&&(a=100+Math.round(d.data("scrollAmount")/2)),d.data("horizontalScroll")&&(l=s.position().left,c=o.width()-s.width(),r=Math.abs(i.position().left)),(e>0&&0!==l||e<0&&l!==c)&&(t.preventDefault(),t.stopImmediatePropagation()),n=r-e*a,d.mCustomScrollbar("scrollTo",n,{trigger:"internal"})})),d.data({bindEvent_mousewheel:!0}))),d.data("scrollButtons_enable"))if("pixels"===d.data("scrollButtons_scrollType")){function _(t){s.data("preventAction")||(s.data("preventAction",!0),d.mCustomScrollbar("scrollTo",t,{trigger:"internal"}))}d.data("horizontalScroll")?(c.add(l).unbind("mousedown touchstart MSPointerDown mouseup MSPointerUp mouseout MSPointerOut touchend",C,S),d.data({bindEvent_buttonsContinuous_x:!1}),d.data("bindEvent_buttonsPixels_x")||(c.bind("click",(function(t){t.preventDefault(),_(Math.abs(i.position().left)+d.data("scrollButtons_scrollAmount"))})),l.bind("click",(function(t){t.preventDefault(),_(Math.abs(i.position().left)-d.data("scrollButtons_scrollAmount"))})),d.data({bindEvent_buttonsPixels_x:!0}))):(r.add(a).unbind("mousedown touchstart MSPointerDown mouseup MSPointerUp mouseout MSPointerOut touchend",C,S),d.data({bindEvent_buttonsContinuous_y:!1}),d.data("bindEvent_buttonsPixels_y")||(r.bind("click",(function(t){t.preventDefault(),_(Math.abs(i.position().top)+d.data("scrollButtons_scrollAmount"))})),a.bind("click",(function(t){t.preventDefault(),_(Math.abs(i.position().top)-d.data("scrollButtons_scrollAmount"))})),d.data({bindEvent_buttonsPixels_y:!0})))}else{if(d.data("horizontalScroll")){if(c.add(l).unbind("click"),d.data({bindEvent_buttonsPixels_x:!1}
43),!d.data("bindEvent_buttonsContinuous_x")){c.bind("mousedown touchstart MSPointerDown",(function(t){t.preventDefault();var e=I();d.data({mCSB_buttonScrollRight:setInterval((function(){d.mCustomScrollbar("scrollTo",Math.abs(i.position().left)+e,{trigger:"internal",scrollEasing:"easeOutCirc"})}),17)})}));var C=function(t){t.preventDefault(),clearInterval(d.data("mCSB_buttonScrollRight"))};c.bind("mouseup touchend MSPointerUp mouseout MSPointerOut",C),l.bind("mousedown touchstart MSPointerDown",(function(t){t.preventDefault();var e=I();d.data({mCSB_buttonScrollLeft:setInterval((function(){d.mCustomScrollbar("scrollTo",Math.abs(i.position().left)-e,{trigger:"internal",scrollEasing:"easeOutCirc"})}),17)})}));var S=function(t){t.preventDefault(),clearInterval(d.data("mCSB_buttonScrollLeft"))};l.bind("mouseup touchend MSPointerUp mouseout MSPointerOut",S),d.data({bindEvent_buttonsContinuous_x:!0})}}else if(r.add(a).unbind("click"),d.data({bindEvent_buttonsPixels_y:!1}),!d.data("bindEvent_buttonsContinuous_y")){r.bind("mousedown touchstart MSPointerDown",(function(t){t.preventDefault();var e=I();d.data({mCSB_buttonScrollDown:setInterval((function(){d.mCustomScrollbar("scrollTo",Math.abs(i.position().top)+e,{trigger:"internal",scrollEasing:"easeOutCirc"})}),17)})}));var x=function(t){t.preventDefault(),clearInterval(d.data("mCSB_buttonScrollDown"))};r.bind("mouseup touchend MSPointerUp mouseout MSPointerOut",x),a.bind("mousedown touchstart MSPointerDown",(function(t){t.preventDefault();var e=I();d.data({mCSB_buttonScrollUp:setInterval((function(){d.mCustomScrollbar("scrollTo",Math.abs(i.position().top)-e,{trigger:"internal",scrollEasing:"easeOutCirc"})}),17)})}));var T=function(t){t.preventDefault(),clearInterval(d.data("mCSB_buttonScrollUp"))};a.bind("mouseup touchend MSPointerUp mouseout MSPointerOut",T),d.data({bindEvent_buttonsContinuous_y:!0})}function I(){var t=d.data("scrollButtons_scrollSpeed");return"auto"===d.data("scrollButtons_scrollSpeed")&&(t=Math.round((d.data("scrollInertia")+100)/40)),t}}d.data("autoScrollOnFocus")&&(d.data("bindEvent_focusin")||(e.bind("focusin",(function(){e.scrollTop(0).scrollLeft(0);var n=t(document.activeElement);if(n.is("input,textarea,select,button,a[tabindex],area,object")){var o=i.position().top,s=n.position().top,a=e.height()-n.outerHeight();d.data("horizontalScroll")&&(o=i.position().left,s=n.position().left,a=e.width()-n.outerWidth()),(o+s<0||o+s>a)&&d.mCustomScrollbar("scrollTo",s,{trigger:"internal"})}})),d.data({bindEvent_focusin:!0}))),d.data("autoHideScrollbar")&&(d.data("bindEvent_autoHideScrollbar")||(e.bind("mouseenter",(function(t){e.addClass("mCS-mouse-over"),n.showScrollbar.call(e.children(".mCSB_scrollTools"))})).bind("mouseleave touchend",(function(t){e.removeClass("mCS-mouse-over"),"mouseleave"===t.type&&n.hideScrollbar.call(e.children(".mCSB_scrollTools"))})),d.data({bindEvent_autoHideScrollbar:!0})))},scrollTo:function(e,i){function o(t){switch(this.mcs={top:c.position().top,left:c.position().left,draggerTop:p.position().top,draggerLeft:p.position().left,topPct:Math.round(100*Math.abs(c.position().top)/Math.abs(c.outerHeight()-l.he
43ight())),leftPct:Math.round(100*Math.abs(c.position().left)/Math.abs(c.outerWidth()-l.width()))},t){case"onScrollStart":s.data("mCS_tweenRunning",!0).data("onScrollStart_Callback").call(s,this.mcs);break;case"whileScrolling":s.data("whileScrolling_Callback").call(s,this.mcs);break;case"onScroll":s.data("onScroll_Callback").call(s,this.mcs);break;case"onTotalScrollBack":s.data("onTotalScrollBack_Callback").call(s,this.mcs);break;case"onTotalScroll":s.data("onTotalScroll_Callback").call(s,this.mcs);break}}var s=t(this),a={moveDragger:!1,trigger:"external",callbacks:!0,scrollInertia:s.data("scrollInertia"),scrollEasing:s.data("scrollEasing")},i=t.extend(a,i),r,l=s.children(".mCustomScrollBox"),c=l.children(".mCSB_container"),u=l.children(".mCSB_scrollTools"),d=u.children(".mCSB_draggerContainer"),p=d.children(".mCSB_dragger"),h=draggerSpeed=i.scrollInertia,f,m,g,v;if(!c.hasClass("mCS_no_scrollbar")&&(s.data({mCS_trigger:i.trigger}),s.data("mCS_Init")&&(i.callbacks=!1),e||0===e)){var y,w,w;if("number"==typeof e)i.moveDragger?(r=e,e=s.data("horizontalScroll")?p.position().left*s.data("scrollAmount"):p.position().top*s.data("scrollAmount"),draggerSpeed=0):r=e/s.data("scrollAmount");else if("string"==typeof e)r=1===(y="top"===e?0:"bottom"!==e||s.data("horizontalScroll")?"left"===e?0:"right"===e&&s.data("horizontalScroll")?c.outerWidth()-l.width():"first"===e?s.find(".mCSB_container").find(":first"):"last"===e?s.find(".mCSB_container").find(":last"):s.find(e):c.outerHeight()-l.he
43ight()).length?(e=s.data("horizontalScroll")?y.position().left:y.position().top)/s.data("scrollAmount"):e=y;if(s.data("horizontalScroll"))s.data("onTotalScrollBack_Offset")&&(m=-s.data("onTotalScrollBack_Offset")),s.data("onTotalScroll_Offset")&&(v=l.width()-c.outerWidth()+s.data("onTotalScroll_Offset")),r<0?(r=e=0,clearInterval(s.data("mCSB_buttonScrollLeft")),m||(f=!0)):r>=d.width()-p.width()?(r=d.width()-p.width(),e=l.width()-c.outerWidth(),clearInterval(s.data("mCSB_buttonScrollRight")),v||(g=!0)):e=-e,(w=s.data("snapAmount"))&&(e=Math.round(e/w)*w-s.data("snapOffset")),n.mTweenAxis.call(this,p[0],"left",Math.round(r),draggerSpeed,i.scrollEasing),n.mTweenAxis.call(this,c[0],"left",Math.round(e),h,i.scrollEasing,{onStart:function(){i.callbacks&&!s.data("mCS_tweenRunning")&&o("onScrollStart"),s.data("autoHideScrollbar")&&n.showScrollbar.call(u)},onUpdate:function(){i.callbacks&&o("whileScrolling")},onComplete:function(){i.callbacks&&(o("onScroll"),(f||m&&c.position().left>=m)&&o("onTotalScrollBack"),(g||v&&c.position().left<=v)&&o("onTotalScroll")),p.data("preventAction",!1),s.data("mCS_tweenRunning",!1),s.data("autoHideScrollbar")&&(l.hasClass("mCS-mouse-over")||n.hideScrollbar.call(u))}});else s.data("onTotalScrollBack_Offset")&&(m=-s.data("onTotalScrollBack_Offset")),s.data("onTotalScroll_Offset")&&(v=l.height()-c.outerHeight()+s.data("onTotalScroll_Offset")),r<0?(r=e=0,clearInterval(s.data("mCSB_buttonScrollUp")),m||(f=!0)):r>=d.height()-p.height()?(r=d.height()-p.height(),e=l.height()-c.outerHeight(),clearInterval(s.data("mCSB_buttonScrollDown")),v||(g=!0)):e=-e,(w=s.data("snapAmount"))&&(e=Math.round(e/w)*w-s.data("snapOffset")),n.mTweenAxis.call(this,p[0],"top",Math.round(r),draggerSpeed,i.scrollEasing),n.mTweenAxis.call(this,c[0],"top",Math.round(e),h,i.scrollEasing,{onStart:function(){i.callbacks&&!s.data("mCS_tweenRunning")&&o("onScrollStart"),s.data("autoHideScrollbar")&&n.showScrollbar.call(u)},onUpdate:function(){i.callbacks&&o("whileScrolling")},onComplete:function(){i.callbacks&&(o("onScroll"),(f||m&&c.position().top>=m)&&o("onTotalScrollBack"),(g||v&&c.position().top<=v)&&o("onTotalScroll")),p.data("preventAction",!1),s.data("mCS_tweenRunning",!1),s.data("autoHideScrollbar")&&(l.hasClass("mCS-mouse-over")||n.hideScrollbar.call(u))}});s.data("mCS_Init")&&s.data({mCS_Init:!1})}},stop:function(){var e=t(this),i=e.children().children(".mCSB_container"),o=e.children().children().children().children(".mCSB_dragger");n.mTweenAxisStop.call(this,i[0]),n.mTweenAxisStop.call(this,o[0])},disable:function(e){var n=t(this),i=n.children(".mCustomScrollBox"),o=i.children(".mCSB_container"),s=i.children(".mCSB_scrollTools"),a=s.children().children(".mCSB_dragger");i.unbind("mousewheel focusin mouseenter mouseleave touchend"),o.unbind("touchstart touchmove"),e&&(n.data("horizontalScroll")?a.add(o).css("left",0):a.add(o).css("top",0)),s.css("display","none"),o.addClass("mCS_no_scrollbar"),n.data({bindEvent_mousewheel:!1,bindEvent_focusin:!1,bindEvent_content_touch:!1,bindEvent_autoHideScrollbar:!1}).addClass("mCS_disabled")},destroy:function(){var e=t(this);e.removeClass("mCustomScrollbar _mCS_"+e.data("mCustomScrollbarIndex")).addClass("mCS_destroyed").children().children(".mCSB_container").unwrap().children().unwrap().siblings(".mCSB_scrollTools").remove(),t(document).unbind("mousemove."+e.data("mCustomScrollbarIndex")+" mouseup."+e.data("mCustomScrollbarIndex")+" MSPointerMove."+e.data("mCustomScrollbarIndex")+" MSPointerUp."+e.data("mCustomScrollbarIndex")),t(window).unbind("resize."+e.data("mCustomScrollbarIndex"))}},n={showScrollbar:function(){this.stop().animate({opacity:1},"fast")},hideScrollbar:function(){this.stop().animate({opacity:0}
43,"fast")},mTweenAxis:function(t,e,n,i,o,s){function a(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()}function r(){v||p.call(),v=a()-m,l(),v>=t._time&&(t._time=v>t._time?v+g-(v-t._time):v+g-1,t._time<v+1&&(t._time=v+1)),t._time<i?t._id=_request(r):f.call()}function l(){i>0?(t.currVal=d(t._time,y,b,i,o),w[e]=Math.round(t.currVal)+"px"):w[e]=n+"px",h.call()}function c(){g=1e3/60,t._time=v+g,_request=window.requestAnimationFrame?window.requestAnimationFrame:function(t){return l(),setTimeout(t,.01)},t._id=_request(r)}function u(){null!=t._id&&(window.requestAnimationFrame?window.cancelAnimationFrame(t._id):clearTimeout(t._id),t._id=null)}function d(t,e,n,i,o){switch(o){case"linear":return n*t/i+e;break;case"easeOutQuad":return-n*(t/=i)*(t-2)+e;break;case"easeInOutQuad":return(t/=i/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e;break;case"easeOutCubic":return t/=i,n*(--t*t*t+1)+e;break;case"easeOutQuart":return t/=i,-n*(--t*t*t*t-1)+e;break;case"easeOutQuint":return t/=i,n*(--t*t*t*t*t+1)+e;break;case"easeOutCirc":return t/=i,t--,n*Math.sqrt(1-t*t)+e;break;case"easeOutSine":return n*Math.sin(t/i*(Math.PI/2))+e;break;case"easeOutExpo":return n*(1-Math.pow(2,-10*t/i))+e;break;case"mcsEaseOut":var s=(t/=i)*t,a=s*t;return e+n*(.499999999999997*a*s+-2.5*s*s+5.5*a+-6.5*s+4*t);break;case"draggerRailEase":return(t/=i/2)<1?n/2*t*t*t+e:n/2*((t-=2)*t*t+2)+e;break}}var s,p=(s=s||{}).onStart||function(){},h=s.onUpdate||function(){},f=s.onComplete||function(){},m=a(),g,v=0,y=t.offsetTop,w=t.style;"left"===e&&(y=t.offsetLeft);var b=n-y;u(),c()},mTweenAxisStop:function(t){null!=t._id&&(window.requestAnimationFrame?window.cancelAnimationFrame(t._id):clearTimeout(t._id),t._id=null)},rafPolyfill:function(){for(var t=["ms","moz","webkit","o"],e=t.length;--e>-1&&!window.requestAnimationFrame;)window.requestAnimationFrame=window[t[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[e]+"CancelAnimationFrame"]||window[t[e]+"CancelRequestAnimationFrame"]}};n.rafPolyfill.call(),t.support.touch=!!("ontouchstart"in window),t.support.msPointer=window.navigator.msPointerEnabled;var i="https:"==document.location.protocol?"https:":"http:";t.event.special.mousewheel,t.fn.mCustomScrollbar=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist"):e.init.apply(this,arguments)}}(jQuery),function($){var t=!0;$.flexslider=function(e,n){var i=$(e);void 0===n.rtl&&"rtl"==$("html").attr("dir")&&(n.rtl=!0),i.vars=$.extend({},$.flexslider.defaults,n);var o=i.vars.namespace,s=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,a=("ontouchstart"in window||s||window.DocumentTouch&&document instanceof DocumentTouch)&&i.vars.touch,r="click touchend MSPointerUp keyup",l="",c,u="vertical"===i.vars.direction,d=i.vars.reverse,p=i.vars.itemWidth>0,h="fade"===i.vars.animation,f=""!==i.vars.asNavFor,m={};$.data(e,"flexslider",i),m={init:function(){i.animating=!1,i.currentSlide=parseInt(i.vars.startAt?i.vars.startAt:0,10),isNaN(i.currentSlide)&&(i.currentSlide=0),i.animatingTo=i.currentSlide,i.atEnd=0===i.currentSlide||i.currentSlide===i.last,i.containerSelector=i.vars.selector.substr(0,i.vars.selector.search(" ")),i.slides=$(i.vars.selector,i),i.container=$(i.containerSelector,i),i.count=i.slides.length,i.syncExists=$(i.vars.sync).length>0,"slide"===i.vars.animation&&(i.vars.animation="swing"),i.prop=u?"top":i.vars.rtl?"marginRight":"marginLeft",i.args={},i.manualPause=!1,i.stopped=!1,i.started=!1,i.startTimeout=null,i.transitions=!i.vars.video&&!h&&i.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in e)if(void 0!==t.style[e[n]])return i.pfx=e[n].replace("Perspective","").toLowerCase(),i.prop="-"+i.pfx+"-transform",!0;return!1}(),i.ensureAnimationEnd="",""!==i.vars.controlsContainer&&(i.controlsContainer=$(i.vars.c
43ontrolsContainer).length>0&&$(i.vars.controlsContainer)),""!==i.vars.manualControls&&(i.manualControls=$(i.vars.manualControls).length>0&&$(i.vars.manualControls)),""!==i.vars.customDirectionNav&&(i.customDirectionNav=2===$(i.vars.customDirectionNav).length&&$(i.vars.customDirectionNav)),i.vars.randomize&&(i.slides.sort((function(){return Math.round(Math.random())-.5})),i.container.empty().append(i.slides)),i.doMath(),i.setup("init"),i.vars.controlNav&&m.controlNav.setup(),i.vars.directionNav&&m.directionNav.setup(),i.vars.keyboard&&(1===$(i.containerSelector).length||i.vars.multipleKeyboard)&&$(document).bind("keyup",(function(t){var e=t.keyCode;if(!i.animating&&(39===e||37===e)){var n=i.vars.rtl?37===e?i.getTarget("next"):39===e&&i.getTarget("prev"):39===e?i.getTarget("next"):37===e&&i.getTarget("prev");i.flexAnimate(n,i.vars.pauseOnAction)}})),i.vars.mousewheel&&i.bind("mousewheel",(function(t,e,n,o){t.preventDefault();var s=e<0?i.getTarget("next"):i.getTarget("prev");i.flexAnimate(s,i.vars.pauseOnAction)})),i.vars.pausePlay&&m.pausePlay.setup(),i.vars.slideshow&&i.vars.pauseInvisible&&m.pauseInvisible.init(),i.vars.slideshow&&(i.vars.pauseOnHover&&i.hover((function(){i.manualPlay||i.manualPause||i.pause()}),(function(){i.manualPause||i.manualPlay||i.stopped||i.play()})),i.vars.pauseInvisible&&m.pauseInvisible.isHidden()||(i.vars.initDelay>0?i.startTimeout=setTimeout(i.play,i.vars.initDelay):i.play())),f&&m.asNav.setup(),a&&i.vars.touch&&m.touch(),(!h||h&&i.vars.smoothHeight)&&$(window).bind("resize orientationchange focus",m.resize),i.find("img").attr("draggable","false"),setTimeout((function(){i.vars.start(i)}),200)},asNav:{setup:function(){i.asNav=!0,i.animatingTo=Math.floor(i.currentSlide/i.move),i.currentItem=i.currentSlide,i.slides.removeClass(o+"active-slide").eq(i.currentItem).addClass(o+"active-slide"),s?(e._slider=i,i.slides.each((function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",(function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)}),!1),t.addEventListener("MSGestureTap",(function(t){t.preventDefault();var e=$(this),n=e.index();$(i.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(i.direction=i.currentItem<n?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction,!1,!0,!0))}))}))):i.slides.on(r,(function(t){t.preventDefault();var e=$(this),n=e.index(),s;(s=i.vars.rtl?-1*(e.offset().right-$(i).scrollLeft()):e.offset().left-$(i).scrollLeft())<=0&&e.hasClass(o+"active-slide")?i.flexAnimate(i.getTarget("prev"),!0):$(i.vars.asNavFor).data("flexslider").animating||e.hasClass(o+"active-slide")||(i.direction=i.currentItem<n?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction,!1,!0,!0))}))}},controlNav:{setup:function(){i.manualControls?m.controlNav.setupManual():m.controlNav.setupPaging()},setupPaging:function(){var t="thumbnails"===i.vars.controlNav?"control-thumbs":"control-paging",e=1,n,s;if(i.controlNavScaffold=$('<ol class="'+o+"control-nav "+o+t+'"></ol>'),i.pagingCount>1)for(var a=0;a<i.pagingCount;a++){void 0===(s=i.slides.eq(a)).attr("data-thumb-alt")&&s.attr("data-thumb-alt","");var c=""!==s.attr("data-thumb-alt")?c=' alt="'+s.attr("data-thumb-alt")+'"':"";if(n="thumbnails"===i.vars.controlNav?'<img src="'+s.attr("data-thumb")+'"'+c+"/>":'<a href="#">'+e+"</a>","thumbnails"===i.vars.controlNav&&!0===i.vars.thumbCaptions){var u=s.attr("data-thumbcaption");""!==u&&void 0!==u&&(n+='<span class="'+o+'caption">'+u+"</span>")}
44i.controlNavScaffold.append("<li>"+n+"</li>"),e++}i.controlsContainer?$(i.controlsContainer).append(i.controlNavScaffold):i.append(i.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),i.controlNavScaffold.delegate("a, img",r,(function(t){if(t.preventDefault(),""===l||l===t.type){var e=$(this),n=i.controlNav.index(e);e.hasClass(o+"active")||(i.direction=n>i.currentSlide?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===l&&(l=t.type),m.setToClearWatchedEvent()}))},setupManual:function(){i.controlNav=i.manualControls,m.controlNav.active(),i.controlNav.bind(r,(function(t){if(t.preventDefault(),""===l||l===t.type){var e=$
vendor: 16,431 bytes, line 44
44(this),n=i.controlNav.index(e);e.hasClass(o+"active")||(n>i.currentSlide?i.direction="next":i.direction="prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===l&&(l=t.type),m.setToClearWatchedEvent()}))},set:function(){var t="thumbnails"===i.vars.controlNav?"img":"a";i.controlNav=$("."+o+"control-nav li "+t,i.controlsContainer?i.controlsContainer:i)},active:function(){i.controlNav.removeClass(o+"active").eq(i.animatingTo).addClass(o+"active")},update:function(t,e){i.pagingCount>1&&"add"===t?i.controlNavScaffold.append($('<li><a href="#">'+i.count+"</a></li>")):1===i.pagingCount?i.controlNavScaffold.find("li").remove():i.controlNav.eq(e).closest("li").remove(),m.controlNav.set(),i.pagingCount>1&&i.pagingCount!==i.controlNav.length?i.update(e,t):m.controlNav.active()}},directionNav:{setup:function(){var t=$('<ul class="'+o+'direction-nav"><li class="'+o+'nav-prev"><a class="'+o+'prev" href="#">'+i.vars.prevText+'</a></li><li class="'+o+'nav-next"><a class="'+o+'next" href="#">'+i.vars.nextText+"</a></li></ul>");i.customDirectionNav?i.directionNav=i.customDirectionNav:i.controlsContainer?($(i.controlsContainer).append(t),i.directionNav=$("."+o+"direction-nav li a",i.controlsContainer)):(i.append(t),i.directionNav=$("."+o+"direction-nav li a",i)),m.directionNav.update(),i.directionNav.bind(r,(function(t){var e;t.preventDefault(),""!==l&&l!==t.type||(e=$(this).hasClass(o+"next")?i.getTarget("next"):i.getTarget("prev"),i.flexAnimate(e,i.vars.pauseOnAction)),""===l&&(l=t.type),m.setToClearWatchedEvent()}))},update:function(){var t=o+"disabled";1===i.pagingCount?i.directionNav.addClass(t).attr("tabindex","-1"):i.vars.animationLoop?i.directionNav.removeClass(t).removeAttr("tabindex"):0===i.animatingTo?i.directionNav.removeClass(t).filter("."+o+"prev").addClass(t).attr("tabindex","-1"):i.animatingTo===i.last?i.directionNav.removeClass(t).filter("."+o+"next").addClass(t).attr("tabindex","-1"):i.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=$('<div class="'+o+'pauseplay"><a href="#"></a></div>');i.controlsContainer?(i.controlsContainer.append(t),i.pausePlay=$("."+o+"pauseplay a",i.controlsContainer)):(i.append(t),i.pausePlay=$("."+o+"pauseplay a",i)),m.pausePlay.update(i.vars.slideshow?o+"pause":o+"play"),i.pausePlay.bind(r,(function(t){t.preventDefault(),""!==l&&l!==t.type||($(this).hasClass(o+"pause")?(i.manualPause=!0,i.manualPlay=!1,i.pause()):(i.manualPause=!1,i.manualPlay=!0,i.play())),""===l&&(l=t.type),m.setToClearWatchedEvent()}))},update:function(t){"play"===t?i.pausePlay.removeClass(o+"pause").addClass(o+"play").html(i.vars.playText):i.pausePlay.removeClass(o+"play").addClass(o+"pause").html(i.vars.pauseText)}},touch:function(){var t,n,o,a,r,l,c,f,m,g=!1,v=0,y=0,w=0;if(s){function b(t){t.stopPropagation(),i.animating?t.preventDefault():(i.pause(),e._gesture.addPointer(t.pointerId),w=0,a=u?i.h:i.w,l=Number(new Date),o=p&&d&&i.animatingTo===i.last?0:p&&d?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:p&&i.currentSlide===i.last?i.limit:p?(i.itemW+i.vars.itemMargin)*i.move*i.currentSlide:d?(i.last-i.currentSlide+i.cloneOffset)*a:(i.currentSlide+i.cloneOffset)*a)}function _(t){t.stopPropagation();var n=t.target._slider;if(n){var i=-t.translationX,s=-t.translationY;w+=u?s:i,r=(n.vars.rtl?-1:1)*w,g=u?Math.abs(w)<Math.abs(-i):Math.abs(w)<Math.abs(-s),t.detail!==t.MSGESTURE_FLAG_INERTIA?(!g||Number(new Date)-l>500)&&(t.preventDefault(),!h&&n.transitions&&(n.vars.animationLoop||(r=w/(0===n.currentSlide&&w<0||n.currentSlide===n.last&&w>0?Math.abs(w)/a+2:1)),n.setProps(o+r,"setTouch"))):setImmediate((function(){e._gesture.stop()}))}}function C(e){e.stopPropagation();var i=e.target._slider;if(i){if(i.animatingTo===i.currentSlide&&!g&&null!==r){var s=d?-r:r,c=s>0?i.getTarget("next"):i.getTarget("prev");i.canAdvance(c)&&(Number(new Date)-l<550&&Math.abs(s)>50||Math.abs(s)>a/2)?i.flexAnimate(c,i.vars.pauseOnAction):h||i.flexAnimate(i.currentSlide,i.vars.pauseOnAction,!0)}t=null,n=null,r=null,o=null,w=0}}e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",b,!1),e._slider=i,e.addEventListener("MSGestureChange",_,!1),e.addEventListener("MSGestureEnd",C,!1)}else c=function(s){i.animating?s.preventDefault():(window.navigator.msPointerEnabled||1===s.touches.length)&&(i.pause(),a=u?i.h:i.w,l=Number(new Date),v=s.touches[0].pageX,y=s.touches[0].pageY,o=p&&d&&i.animatingTo===i.last?0:p&&d?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:p&&i.currentSlide===i.last?i.limit:p?(i.itemW+i.vars.itemMargin)*i.move*i.currentSlide:d?(i.last-i.currentSlide+i.cloneOffset)*a:(i.currentSlide+i.cloneOffset)*a,t=u?y:v,n=u?v:y,e.addEventListener("touchmove",f,!1),e.addEventListener("touchend",m,!1))},f=function(e){v=e.touches[0].pageX,y=e.touches[0].pageY,r=u?t-y:(i.vars.rtl?-1:1)*(t-v);var s=500;(!(g=u?Math.abs(r)<Math.abs(v-n):Math.abs(r)<Math.abs(y-n))||Number(new Date)-l>s)&&(e.preventDefault(),!h&&i.transitions&&(i.vars.animationLoop||(r/=0===i.currentSlide&&r<0||i.currentSlide===i.last&&r>0?Math.abs(r)/a+2:1),i.setProps(o+r,"setTouch")))},m=function(s){if(e.removeEventListener("touchmove",f,!1),i.animatingTo===i.currentSlide&&!g&&null!==r){var c=d?-r:r,u=c>0?i.getTarget("next"):i.getTarget("prev");i.canAdvance(u)&&(Number(new Date)-l<550&&Math.abs(c)>50||Math.abs(c)>a/2)?i.flexAnimate(u,i.vars.pauseOnAction):h||i.flexAnimate(i.currentSlide,i.vars.pauseOnAction,!0)}e.removeEventListener("touchend",m,!1),t=null,n=null,r=null,o=null},e.addEventListener("touchstart",c,!1)},resize:function(){!i.animating&&i.is(":visible")&&(p||i.doMath(),h?m.smoothHeight():p?(i.slides.width(i.computedW),i.update(i.pagingCount),i.setProps()):u?(i.viewport.height(i.h),i.setProps(i.h,"setTotal")):(i.vars.smoothHeight&&m.smoothHeight(),i.newSlides.width(i.computedW),i.setProps(i.computedW,"setTotal")))},smoothHeight:function(t){if(!u||h){var e=h?i:i.viewport;t?e.animate({height:i.slides.eq(i.animatingTo).innerHeight()},t):e.innerHeight(i.slides.eq(i.animatingTo).innerHeight())}},sync:function(t){var e=$(i.vars.sync).data("flexslider"),n=i.animatingTo;switch(t){case"animate":e.flexAnimate(n,i.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause();break}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each((function(){var t=$(this);t.attr("id",t.attr("id")+"_clone")})),t},pauseInvisible:{visProp:null,init:function(){var t=m.pauseInvisible.getHiddenProp();if(t){var e=t.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(e,(function(){m.pauseInvisible.isHidden()?i.startTimeout?clearTimeout(i.startTimeout):i.pause():i.started?i.play():i.vars.initDelay>0?setTimeout(i.play,i.vars.initDelay):i.play()}))}},isHidden:function(){var t=m.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(c),c=setTimeout((function(){l=""}),3e3)}},i.flexAnimate=function(t,e,n,s,r){if(i.vars.animationLoop||t===i.currentSlide||(i.direction=t>i.currentSlide?"next":"prev"),f&&1===i.pagingCount&&(i.direction=i.currentItem<t?"next":"prev"),!i.animating&&(i.canAdvance(t,r)||n)&&i.is(":visible")){if(f&&s){var l=$(i.vars.asNavFor).data("flexslider");if(i.atEnd=0===t||t===i.count-1,l.flexAnimate(t,!0,!1,!0,r),i.direction=i.currentItem<t?"next":"prev",l.direction=i.direction,Math.ceil((t+1)/i.visible)-1===i.currentSlide||0===t)return i.currentItem=t,i.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),!1;i.currentItem=t,i.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),t=Math.floor(t/i.visible)}if(i.animating=!0,i.animatingTo=t,e&&i.pause(),i.vars.before(i),i.syncExists&&!r&&m.sync("animate"),i.vars.controlNav&&m.controlNav.active(),p||i.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),i.atEnd=0===t||t===i.last,i.vars.directionNav&&m.directionNav.update(),t===i.last&&(i.vars.end(i),i.vars.animationLoop||i.pause()),h)a?(i.slides.eq(i.currentSlide).css({opacity:0,zIndex:1}),i.slides.eq(t).css({opacity:1,zIndex:2}),i.wrapup(c)):(i.slides.eq(i.currentSlide).css({zIndex:1}).animate({opacity:0},i.vars.animationSpeed,i.vars.easing),i.slides.eq(t).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing,i.wrapup));else{var c=u?i.slides.filter(":first").height():i.computedW,g,v,y;p?(g=i.vars.itemMargin,v=(y=(i.itemW+g)*i.move*i.animatingTo)>i.limit&&1!==i.visible?i.limit:y):v=0===i.currentSlide&&t===i.count-1&&i.vars.animationLoop&&"next"!==i.direction?d?(i.count+i.cloneOffset)*c:0:i.currentSlide===i.last&&0===t&&i.vars.animationLoop&&"prev"!==i.direction?d?0:(i.count+1)*c:d?(i.count-1-t+i.cloneOffset)*c:(t+i.cloneOffset)*c,i.setProps(v,"",i.vars.animationSpeed),i.transitions?(i.vars.animationLoop&&i.atEnd||(i.animating=!1,i.currentSlide=i.animatingTo),i.container.unbind("webkitTransitionEnd transitionend"),i.container.bind("webkitTransitionEnd transitionend",(function(){clearTimeout(i.ensureAnimationEnd),i.wrapup(c)})),clearTimeout(i.ensureAnimationEnd),i.ensureAnimationEnd=setTimeout((function(){i.wrapup(c)}),i.vars.animationSpeed+100)):i.container.animate(i.args,i.vars.animationSpeed,i.vars.easing,(function(){i.wrapup(c)}))}i.vars.smoothHeight&&m.smoothHeight(i.vars.animationSpeed)}},i.wrapup=function(t){h||p||(0===i.currentSlide&&i.animatingTo===i.last&&i.vars.animationLoop?i.setProps(t,"jumpEnd"):i.currentSlide===i.last&&0===i.animatingTo&&i.vars.animationLoop&&i.setProps(t,"jumpStart")),i.animating=!1,i.currentSlide=i.animatingTo,i.vars.after(i)},i.animateSlides=function(){!i.animating&&t&&i.flexAnimate(i.getTarget("next"))},i.pause=function(){clearInterval(i.animatedSlides),i.animatedSlides=null,i.playing=!1,i.vars.pausePlay&&m.pausePlay.update("play"),i.syncExists&&m.sync("pause")},i.play=function(){i.playing&&clearInterval(i.animatedSlides),i.animatedSlides=i.animatedSlides||setInterval(i.animateSlides,i.vars.slideshowSpeed),i.started=i.playing=!0,i.vars.pausePlay&&m.pausePlay.update("pause"),i.syncExists&&m.sync("play")},i.stop=function(){i.pause(),i.stopped=!0},i.canAdvance=function(t,e){var n=f?i.pagingCount-1:i.last;return!!e||(!(!f||i.currentItem!==i.count-1||0!==t||"prev"!==i.direction)||(!f||0!==i.currentItem||t!==i.pagingCount-1||"next"===i.direction)&&(!(t===i.currentSlide&&!f)&&(!!i.vars.animationLoop||(!i.atEnd||0!==i.currentSlide||t!==n||"next"===i.direction)&&(!i.atEnd||i.currentSlide!==n||0!==t||"next"!==i.direction))))},i.getTarget=function(t){return i.direction=t,"next"===t?i.currentSlide===i.last?0:i.currentSlide+1:0===i.currentSlide?i.last:i.currentSlide-1},i.setProps=function(t,e,n){var o=(s=t||(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo,-1*function(){if(p)return"setTouch"===e?t:d&&i.animatingTo===i.last?0:d?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:i.animatingTo===i.last?i.limit:s;switch(e){case"setTotal":return d?(i.count-1-i.currentSlide+i.cloneOffset)*t:(i.currentSlide+i.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return d?t:i.count*t;case"jumpStart":return d?i.count*t:t;default:return t}}()+"px"),s,a;i.transitions&&(o=u?"translate3d(0,"+o+",0)":"translate3d("+(i.vars.rtl?-1:1)*parseInt(o)+"px,0,0)",n=void 0!==n?n/1e3+"s":"0s",i.container.css("-"+i.pfx+"-transition-duration",n),i.container.css("transition-duration",n)),i.args[i.prop]=o,(i.transitions||void 0===n)&&i.container.css(i.args),i.container.css("transform",o)},i.setup=function(t){var e,n;h?(i.vars.rtl?i.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):i.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(a?i.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+i.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(i.currentSlide).css({opacity:1,zIndex:2}):0==i.vars.fadeFirstSlide?i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).css({opacity:1}):i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing)),i.vars.smoothHeight&&m.smoothHeight()):("init"===t&&(i.viewport=$('<div class="'+o+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(i).append(i.container),i.cloneCount=0,i.cloneOffset=0,d&&(n=$.makeArray(i.slides).reverse(),i.slides=$(n),i.container.empty().append(i.slides))),i.vars.animationLoop&&!p&&(i.cloneCount=2,i.cloneOffset=1,"init"!==t&&i.container.find(".clone").remove(),i.container.append(m.uniqueID(i.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(m.uniqueID(i.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),i.newSlides=$(i.vars.selector,i),e=d?i.count-1-i.currentSlide+i.cloneOffset:i.currentSlide+i.cloneOffset,u&&!p?(i.container.height(200*(i.count+i.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout((function(){i.newSlides.css({display:"block"}),i.doMath(),i.viewport.height(i.h),i.setProps(e*i.h,"init")}),"init"===t?100:0)):(i.container.width(200*(i.count+i.cloneCount)+"%"),i.setProps(e*i.computedW,"init"),setTimeout((function(){i.doMath(),i.vars.rtl?i.newSlides.css({width:i.computedW,marginLeft:i.computedM,float:"right",display:"block"}):i.newSlides.css({width:i.computedW,marginRight:i.computedM,float:"left",display:"block"}),i.vars.smoothHeight&&m.smoothHeight()}),"init"===t?100:0)));p||i.slides.removeClass(o+"active-slide").eq(i.currentSlide).addClass(o+"active-slide"),i.vars.init(i)},i.doMath=function(){var t=i.slides.first(),e=i.vars.itemMargin,n=i.vars.minItems,o=i.vars.maxItems;i.w=void 0===i.viewport?i.width():i.viewport.width(),i.h=t.height(),i.boxPadding=t.outerWidth()-t.width(),p?(i.itemT=i.vars.itemWidth+e,i.itemM=e,i.minW=n?n*i.itemT:i.w,i.maxW=o?o*i.itemT-e:i.w,i.itemW=i.minW>i.w?(i.w-e*(n-1))/n:i.maxW<i.w?(i.w-e*(o-1))/o:i.vars.itemWidth>i.w?i.w:i.vars.itemWidth,i.visible=Math.floor(i.w/i.itemW),i.move=i.vars.move>0&&i.vars.move<i.visible?i.vars.move:i.visible,i.pagingCount=Math.ceil((i.count-i.visible)/i.move+1),i.last=i.pagingCount-1,i.limit=1===i.pagingCount?0:i.vars.itemWidth>i.w?i.itemW*(i.count-1)+e*(i.count-1):(i.itemW+e)*i.count-i.w-e):(i.itemW=i.w,i.itemM=e,i.pagingCount=i.count,i.last=i.count-1),i.computedW=i.itemW-i.boxPadding,i.computedM=i.itemM},i.update=function(t,e){i.doMath(),p||(t<i.currentSlide?i.currentSlide+=1:t<=i.currentSlide&&0!==t&&(i.currentSlide-=1),i.animatingTo=i.currentSlide),i.vars.controlNav&&!i.manualControls&&("add"===e&&!p||i.pagingCount>i.controlNav.length?m.controlNav.update("add"):("remove"===e&&!p||i.pagingCount<i.controlNav.length)&&(p&&i.currentSlide>i.last&&(i.currentSlide-=1,i.animatingTo-=1),m.controlNav.update("remove",i.last))),i.vars.directionNav&&m.directionNav.update()},i.addSlide=function(t,e){var n=$(t);i.count+=1,i.last=i.count-1,u&&d?void 0!==e?i.slides.eq(i.count-e).after(n):i.container.prepend(n):void 0!==e?i.slides.eq(e).before(n):i.container.append(n),i.update(e,"add"),i.slides=$(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.added(i)},i.removeSlide=function(t){var e=isNaN(t)?i.slides.index($(t)):t;i.count-=1,i.last=i.count-1,isNaN(t)?$(t,i.slides).remove():u&&d?i.slides.eq(i.last).remove():i.slides.eq(t).remove(),i.doMath(),i.update(e,"remove"),i.slides=$(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.removed(i)},m.init()},$(window).blur((function(e){t=!1})).focus((function(e){t=!0})),$.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,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,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:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},$.fn.flexslider=function(t){if(void 0===t&&(t={}
44),"object"==typeof t)return this.each((function(){var e=$(this),n=t.selector?t.selector:".slides > li",i=e.find(n);1===i.length&&!1===t.allowOneSlide||0===i.length?(i.fadeIn(400),t.start&&t.start(e)):void 0===e.data("flexslider")&&new $.flexslider(this,t)}));var e=$(this).data("flexslider");switch(t){case"play":e.play();break;case"pause":e.pause();break;case"stop":e.stop();break;case"next":e.flexAnimate(e.getTarget("next"),!0);break;case"prev":case"previous":e.flexAnimate(e.getTarget("prev"),!0);break;default:"number"==typeof t&&e.flexAnimate(t,!0)}}}(jQuery),function(){var $,t,e,n;$=jQuery,n="counter",e={autoStart:!0,duration:1500,countFrom:void 0,countTo:void 0,runOnce:!1,placeholder:void 0,easing:"easeOutQuad",onStart:function(){},onComplete:function(){},numberFormatter:function(t){return Math.round(t)}},(t=function(){function t(t,n){this.element=t,this.options=$.extend(!0,{},e,n),this.init()}return t}()).prototype.init=function(){var t;if(null==(t=parseInt(this.element.innerHTML))||isNaN(t)||(this.options.countFrom<t?this.options.countTo=t:this.options.countFrom=t),void 0===this.options.countFrom&&(this.options.countFrom=0),void 0===this.options.countTo&&(this.options.countTo=0),null!=this.options.placeholder&&(this.element.innerHTML=this.options.placeholder),this.options.autoStart)return this.start()},t.prototype.start=function(){var t;return!(this.options.runOnce&&this.runCount()>=1)&&(this.running?void 0:(this.running=!0,this.updateRunCount(),this.options.onStart(),t=this,jQuery({count:this.options.countFrom}).animate({count:this.options.countTo},{duration:this.options.duration,easing:this.options.easing,step:function(){return t.setNumber(this.count)},complete:function(){return t.setNumber(t.options.countTo),t.running=!1,t.options.onComplete()}})))},t.prototype.updateRunCount=function(){return $(this.element).data("counterRunCount",(this.runCount()||0)+1)},t.prototype.runCount=function(){return $(this.element).data("counterRunCount")},t.prototype.setNumber=function(t){return this.element.innerHTML=this.options.numberFormatter(t)},$.fn.counter=function(e){var n;return n=this,this.each((function(){var n;if(!(n=$(this).data("plugin_counter")))return $(this).data("plugin_counter",new t(this,e));if("string"==typeof e)switch(e){case"start":return n.start()}}))}}.call(this),function(t){"use strict";t.fn.selectOrDie=function(e){var n,i,o={customID:null,customClass:"",placeholder:null,placeholderOption:!1,prefix:null,cycle:!1,stripEmpty:!1,links:!1,linksExternal:!1,size:0,tabIndex:0,onChange:t.noop},s={},a=!1,r={initSoD:function(e){return s=t.extend({},o,e),this.each((function(){if(t(this).parent().hasClass("sod_select"))console.log("Select or Die: It looks like the SoD already exists");else{var e,n,i,o=t(this),a=o.data("custom-id")?o.data("custom-id"):s.customID,l=o.data("custom-class")?o.data("custom-class"):s.customClass,c=o.data("prefix")?o.data("prefix"):s.prefix,u=o.data("placeholder")?o.data("placeholder"):s.placeholder,d=o.data("placeholder-option")?o.data("placeholder-option"):s.placeholderOption,p=o.data("cycle")?o.data("cycle"):s.cycle,h=o.data("links")?o.data("links"):s.links,f=o.data("links-external")?o.data("links-external"):s.linksExternal,m=parseInt(o.data("size"))?o.data("size"):s.size,g=parseInt(o.data("tabindex"))?o.data("tabindex"):s.tabIndex?s.tabIndex:o.attr("tabindex")?o.attr("tabindex"):s.tabIndex,v=o.data("strip-empty")?o.data("strip-empty"):s.stripEmpty,y=o.prop("title")?o.prop("title"):null,w=o.is(":disabled")?" disabled":"",b="",_="",C=0;c&&(b='<span class="sod_prefix">'+c+"</span> "),e=t("<span/>",{id:a,class:"sod_select "+l+w,title:y,tabindex:g,html:_+=u&&!c?'<span class="sod_label sod_placeholder">'+u+"</span>":'<span class="sod_label">'+b+"</span>","data-cycle":p,"data-links":h,"data-links-external":f,"data-placeholder":u,"data-placeholder-option":d,"data-prefix":c,"data-filter":""}).insertAfter(this),r.isTouch()&&e.addClass("touch"),n=t("<span/>",{class:"sod_list_wrapper"}).appendTo(e),i=t("<span/>",{class:"sod_list"}).appendTo(n),t("option, optgroup",o).each((function(n){var o=t(this);v&&!t.trim(o.text())?o.remove():0===n&&d&&!b?r.populateSoD(o,i,e,!0):r.populateSoD(o,i,e,!1)})),m&&(n.show(),t(".sod_option:lt("+m+")",i).each((function(){C+=t(this).outerHeight()})),n.removeAttr("style"),i.css({"max-height":C})),o.appendTo(e),e.on("focusin",r.focusSod).on("click",r.triggerSod).on("click",".s
44od_option",r.optionClick).on("mousemove",".sod_option",r.optionHover).on("keydown",r.keyboardUse),o.on("change",r.selectChange),t(document).on("click","label[for='"+o.attr("id")+"']",(function(t){t.preventDefault(),e.focus()}))}}))},populateSoD:function(e,n,i,o){var s=i.data("placeholder"),a=i.data("placeholder-option"),r=i.data("prefix"),l=i.find(".sod_label"),c=e.parent(),u=e.text(),d=e.val(),p=e.data("custom-id")?e.data("custom-id"):null,h=e.data("custom-class")?e.data("custom-class"):"",f=e.is(":disabled")?" disabled ":"",m=e.is(":selected")?" selected active ":"",g=e.data("link")?" link ":"",v=e.data("link-external")?" linkexternal":"",y=e.prop("label");e.is("option")?(t("<span/>",{class:"sod_option "+h+f+m+g+v,id:p,title:u,html:u,"data-value":d}).appendTo(n),o&&!r?(i.data("label",u),i.data("placeholder",u),e.prop("disabled",!0),n.find(".sod_option:last").addClass("is-placeholder disabled"),m&&l.addClass("sod_placeholder")):m&&s&&!a&&!r?i.data("label",s):m&&i.data("label",u),(m&&!s||m&&a||m&&r)&&l.append(u),c.is("optgroup")&&(n.find(".sod_option:last").addClass("groupchild"),c.is(":disabled")&&n.find(".sod_option:last").addClass("disabled"))):t("<span/>",{class:"sod_option optgroup "+f,title:y,html:y,"data-label":y}).appendTo(n)},focusSod:function(){var e=t(this);e.hasClass("disabled")?r.blurSod(e):(r.blurSod(t(".sod_select.focus").not(e)),e.addClass("focus"),t("html").on("click.sodBlur",(function(){r.blurSod(e)})))},triggerSod:function(e){e.stopPropagation();var n=t(this),o=n.find(".sod_list"),s=n.data("placeholder"),a=n.find(".active"),l=n.find(".selected");n.hasClass("disabled")||n.hasClass("open")||n.hasClass("touch")?(clearTimeout(i),n.removeClass("open"),s&&(n.find(".sod_label").get(0).lastChild.nodeValue=a.text())):(n.addClass("open"),s&&!n.data("prefix")&&n.find(".sod_label").addClass("sod_placeholder").html(s),r.listScroll(o,l),r.checkViewport(n,o))},keyboardUse:function(e){var i,o,s,l=t(this),c=l.find(".sod_list"),u=l.find(".sod_option"),d=l.find(".sod_label"),p=l.data("cycle"),h=u.filter(".active");return e.which>36&&e.which<41?(37===e.which||38===e.which?(o=h.prevAll(":not('.disabled, .optgroup')").first(),s=u.not(".disabled, .optgroup").last()):(39===e.which||40===e.which)&&(o=h.nextAll(":not('.disabled, .optgroup')").first(),s=u.not(".disabled, .optgroup").first()),!o.hasClass("sod_option")&&p&&(o=s),(o.hasClass("sod_option")||p)&&(h.removeClass("active"),o.addClass("active"),d.get(0).lastChild.nodeValue=o.text(),r.listScroll(c,o),l.hasClass("open")||(a=!0)),!1):(13===e.which||32===e.which&&l.hasClass("open")&&(" "===l.data("filter")[0]||""===l.data("filter"))?(e.preventDefault(),h.click()):32!==e.which||l.hasClass("open")||" "!==l.data("filter")[0]&&""!==l.data("filter")?27===e.which&&r.blurSod(l):(e.preventDefault(),a=!1,l.click()),void(0!==e.which&&(clearTimeout(n),l.data("filter",l.data("filter")+String.fromCharCode(e.which)),i=u.filter((function(){return 0===t(this).text().toLowerCase().indexOf(l.data("filter").toLowerCase())})).not(".disabled, .optgroup").first(),i.length&&(h.removeClass("active"),i.addClass("active"),r.listScroll(c,i),d.get(0).lastChild.nodeValue=i.text(),l.hasClass("open")||(a=!0)),n=setTimeout((function(){l.data("filter","")}),500))))},optionHover:function(){var e=t(this);e.hasClass("disabled")||e.hasClass("optgroup")||e.siblings().removeClass("active").end().addClass("active")},optionClick:function(e){e.stopPropagation();var n=t(this),o=n.closest(".sod_select"),s=n.hasClass("disabled"),a=n.hasClass("optgroup"),r=o.find(".sod_option:not('.optgroup')").index(this);o.hasClass("touch")||(s||a||(o.find(".selected, .sod_placeholder").removeClass("selected sod_placeholder"),n.addClass("selected"),o.find("select option")[r].selected=!0,o.find("select").change()),clearTimeout(i),o.removeClass("open"))},selectChange:function(){var e=t(this),n=e.find(":selected"),i=n.text(),o=e.closest(".sod_select");o.find(".sod_label").get(0).lastChild.nodeValue=i,o.data("label",i),s.onChange.call(this),!o.data("links")&&!n.data("link")||n.data("link-external")?(o.data("links-external")||n.data("link-external"))&&window.open(n.val(),"_blank"):window.location.href=n.val()},blurSod:function(e){if(t("body").find(e).length){var n=e.data("label"),o=e.data("placeholder"),s=e.find(".active"),r=e.find(".selected"),l=!1;clearTimeout(i),a&&!s.hasClass("selected")?(s.click(),l=!0):s.hasClass("selected")||(s.removeClass("active"),r.addClass("active")),!l&&o?e.find(".sod_label").get(0).lastChild.nodeValue=r.text():l||(e.find(".sod_label").get(0).lastChild.nodeValue=n),a=!1,e.removeClass("open focu
44s"),e.blur(),t("html").off(".sodBlur")}},checkViewport:function(e,n){var o=e[0].getBoundingClientRect(),s=n.outerHeight();o.bottom+s+10>t(window).height()&&o.top-s>10?e.addClass("above"):e.removeClass("above"),i=setTimeout((function(){r.checkViewport(e,n)}),200)},listScroll:function(t,e){var n=t[0].getBoundingClientRect(),i=e[0].getBoundingClientRect();n.top>i.top?t.scrollTop(t.scrollTop()-n.top+i.top):n.bottom<i.bottom&&t.scrollTop(t.scrollTop()-n.bottom+i.bottom)},isTouch:function(){return"ontouchstart"in window||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0}},l={destroy:function(){return this.each((function(){var e=t(this),n=e.parent();n.hasClass("sod_select")?(e.off("change"),n.find("span").remove(),e.unwrap()):console.log("Select or Die: There's no SoD to destroy")}))},update:function(){return this.each((function(){var e=t(this),n=e.parent(),i=n.find(".sod_list:first");n.hasClass("sod_select")?(i.empty(),n.find(".sod_label").get(0).lastChild.nodeValue="",e.is(":disabled")&&n.addClass("disabled"),t("option, optgroup",e).each((function(){r.populateSoD(t(this),i,n)}))):console.log("Select or Die: There's no SoD to update")}))},disable:function(e){return this.each((function(){var n=t(this),i=n.parent();i.hasClass("sod_select")?void 0!==e?(i.find(".sod_list:first .sod_option[data-value='"+e+"']").addClass("disabled"),i.find(".sod_list:first .sod_option[data-label='"+e+"']").nextUntil(":not(.groupchild)").addClass("disabled"),t("option[value='"+e+"'], optgroup[label='"+e+"']",this).prop("disabled",!0)):i.hasClass("sod_select")&&(i.addClass("disabled"),n.prop("disabled",!0)):console.log("Select or Die: There's no SoD to disable")}))},enable:function(e){return this.each((function(){var n=t(this),i=n.parent();i.hasClass("sod_select")?void 0!==e?(i.find(".sod_list:first .sod_option[data-value='"+e+"']").removeClass("disabled"),i.find(".sod_list:first .sod_option[data-label='"+e+"']").nextUntil(":not(.groupchild)").removeClass("disabled"),t("option[value='"+e+"'], optgroup[label='"+e+"']",this).prop("disabled",!1)):i.hasClass("sod_select")&&(i.removeClass("disabled"),n.prop("disabled",!1)):console.log("Select or Die: There's no SoD to enable")}))}};return l[e]?l[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error('Select or Die: Oh no! No such method "'+e+'" for the SoD instance'):r.initSoD.apply(this,arguments)}}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.