PageSourceSearch

https://integroscrm.com/wp-content/cache/autoptimize/js/autoptimize_0b2e03542e92c71c7cf68b64002156cf.js

js integroscrm.com collected 2026-10-05 20:10:35 UTC 601,662 bytes, 1,696 lines download raw bytes

vendor: 4,527 bytes, lines 1-2
1/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */
2!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],"__proto__"!==d&&g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;d<c;d++)if(!1===b.call(a[d],d,a[d]))break}else for(d in a)if(!1===b.call(a[d],d,a[d]))break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?c<0?Math.max(0,d+c):c:0;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(d<c)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)(d=!b(a[f],f))!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;g<d;g++)null!=(e=b(a[g],g,c))&&h.push(e);else for(g in a)null!=(e=b(a[g],g,c))&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;if("string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a))return c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"!==c&&!n.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*ne
vendor: 3,069 bytes, line 2
2w Date,v=a.document,w=0,x=0,y=fa(),z=fa(),A=fa(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(xa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ea(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+pa(r[h]);s=r.join(","),w=_.test(a)&&na(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function fa(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ga(a){return a[u]=!0,a}
vendor: 4,944 bytes, line 2
2function ha(a){var b=n.createElement("div");try{return!!a(b)}catch(xa){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ia(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ja(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ka(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function la(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ma(a){return ga(function(b){return b=+b,ga(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function na(a){return a&&void 0!==a.getElementsByTagName&&a}c=ea.support={},f=ea.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ea.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ha(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ha(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ha(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(void 0!==b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c=void 0!==a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return void 0!==b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if(void 0!==b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ha(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ha(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ha(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d||(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ja(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ja(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ea.matches=function(a,b){return ea(a,null,null,b)},ea.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(xa){}return ea(b,n,null,[a]).length>0},ea.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ea.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);
vendor: 4,933 bytes, line 2
2var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ea.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ea.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ea.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ea.selectors={cacheLength:50,createPseudo:ga,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ea.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ea.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||void 0!==a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ea.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),!1===t)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return(t-=e)===d||t%d==0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ea.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ga(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ga(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ga(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ga(function(a){return function(b){return ea(a,b).length>0}}),contains:ga(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ga(function(a){return V.test(a||"")||ea.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do{if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(c=c.toLowerCase())===a||0===c.indexOf(a+"-")}while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)}
vendor: 30,632 bytes, lines 2-3
2,input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:ma(function(){return[0]}),last:ma(function(a,b){return[b-1]}),eq:ma(function(a,b,c){return[c<0?c+b:c]}),even:ma(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:ma(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:ma(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:ma(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ka(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=la(b);function oa(){}oa.prototype=d.filters=d.pseudos,d.setFilters=new oa,g=ea.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ea.error(a):z(a,i).slice(0)};function pa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function qa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function ra(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sa(a,b,c){for(var d=0,e=b.length;d<e;d++)ea(a,b[d],c);return c}function ta(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function ua(a,b,c,d,e,f){return d&&!d[u]&&(d=ua(d)),e&&!e[u]&&(e=ua(e,f)),ga(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||sa(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ta(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ta(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ta(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function va(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=qa(function(a){return a===b},h,!0),l=qa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[qa(ra(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return ua(i>1&&ra(m),i>1&&pa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,i<e&&va(a.slice(i,e)),e<f&&va(a=a.slice(e)),e<f&&pa(a))}m.push(c)}return ra(m)}function wa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ta(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ea.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ga(f):f}return h=ea.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=va(b[c]),f[u]?d.push(f):e.push(f);f=A(a,wa(e,d)),f.selector=a}return f},i=ea.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(!(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0]))return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&na(b.parentNode)||b))){if(j.splice(i,1),!(a=f.length&&pa(j)))return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&na(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ha(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ha(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ia("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ha(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ia("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ha(function(a){return null==a.getAttribute("disabled")})||ia(K,function(a,b,c){var d;if(!c)return!0===a[b]?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ea}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;b<e;b++)if(n.contains(d[b],this))return!0}));for(b=0;b<e;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(!(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a))||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if((f=d.getElementById(e[2]))&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))}).prototype=n.fn,A=n(d);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;b<d;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function E(a,b){do{a=a[b]}while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return E(a,"nextSibling")},prev:function(a){return E(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(D[a]||(e=n.uniqueSort(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\S+/g;function G(a){var b={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?G(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)!1===f[h].apply(c[0],c[1])&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function b(c){n.each(c,function(c,d){n.isFunction(d)?a.unique&&j.has(d)||f.push(d):d&&d.length&&"string"!==n.type(d)&&b(d)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);b<d;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(!0===a?--n.readyWait:n.isReady)||(n.isReady=!0,!0!==a&&--n.readyWait>0||(H.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function I(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J)):(d.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(I(),n.ready())}n.ready.promise=function(b){if(!H)if(H=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J);else{d.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&function b(){if(!n.isReady){try{c.doScroll("left")}catch(e){return a.setTimeout(b,50)}I(),n.ready()}}()}return H.promise(b)},n.ready.promise();var K;for(K in n(l))break;l.ownFirst="0"===K,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;(c=d.getElementsByTagName("body")[0])&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),void 0!==b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var L=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return(1===c||9===c)&&(!b||!0!==b&&a.getAttribute("classid")===b)},M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if("string"==typeof(c=a.getAttribute(d))){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:M.test(c)?n.parseJSON(c):c)}catch(e){}n.data(a,b,c)}else c=void 0}return c}function P(a){var b
3;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(L(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?null==(f=g[b])&&(f=g[n.camelCase(b)]):f=g,f}}function R(a,b,c){if(L(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return!!(a=a.nodeType?n.cache[a[n.expando]]:a[n.expando])&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),O(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?O(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)(c=n._data(f[g],a+"queueHooks"))&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}}),function(){var a;l.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,e;return(c=d.getElementsByTagName("body")[0])&&c.style?(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),void 0!==b.style.zoom&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(d.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(e),a):void 0}}();var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function W(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&T.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do{f=f||".5",k/=f,n.style(a,b,k+j)}while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var X=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)X(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Y=/^(?:checkbox|radio)$/i,Z=/<([\w:-]+)/,$=/^$|\/(?:java|ecma)script/i,_=/^\s+/,aa="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ba(a){var b=aa.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var ca={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};ca.optgroup=ca.option,ca.tbody=ca.tfoot=ca.colgroup=ca.caption=ca.thead,ca.th=ca.td;function da(a,b){var c,d,e=0,f=void 0!==a.getElementsByTagName?a.getElementsByTagName(b||"*"):void 0!==a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,da(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function ea(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var fa=/<|&#?\w+;/,ga=/<tbody/i;function ha(a){Y.test(a.type)&&(a.defaultChecked=a.checked)}function ia(a,b,c,d,e){for(var f,g,h,i,j,k,m,o=a.length,p=ba(b),q=[],r=0;r<o;r++)if((g=a[r])||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(fa.test(g)){i=i||p.appendChild(b.createElement("div")),j=(Z.exec(g)||["",""])[1].toLowerCase(),m=ca[j]||ca._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&_.test(g)&&q.push(b.createTextNode(_.exec(g)[0])),!l.tbody){g="table"!==j||ga.test(g)?"<table>"!==m[1]||ga.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(da(q,"input"),ha),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=da(p.appendChild(g),"script"),h&&ea(i),c){f=0;while(g=i[f++])$.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=!1===e.attributes[c].expando);e=null}();var ja=/^(?:input|select|textarea)$/i,ka=/^key/,la=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ma=/^(?:focusinfocus|focusoutblur)$/,na=/^([^.]*)(?:\.(.+)|)/;function oa(){return!0}function pa(){return!1}function qa(){try{return d.activeElement}catch(a){}}function ra(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ra(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),!1===e)e=pa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return void 0===n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(F)||[""],h=b.length;while(h--)f=na.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&!1!==j.setup.call(a,d,p,k)||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(F)||[""],j=b.length;while(j--)if(h=na.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&!1!==l.teardown.call(a,p,r.handle)||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ma.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||!1!==l.trigger.apply(e,c))){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,ma.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),(g=h&&i[h])&&g.apply&&L(i)&&(b.result=g.apply(i,c),!1===b.result&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||!1===l._default.apply(p.pop(),c))&&L(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||!1!==k.preDispatch.call(this,a)){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,void 0!==(d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i))&&!1===(a.result=d)&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(!0!==i.disabled||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=la.test(f)?this.mouseHooks:ka.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=g.srcElement||d),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,h.filter?h.filter(a,g):a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button,h=b.fromElement;return null==a.pageX&&null!=b.clientX&&(e=a.target.ownerDocument||d,f=e.documentElement,c=e.body,a.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||0)-(f&&f.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?b.toElement:h),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==qa()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){if(this===qa()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(n.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b),d.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=d.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)}:function(a,b,c){var d="on"+b;a.detachEvent&&(void 0===a[d]&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){if(!(this instanceof n.Event))return new n.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&!1===a.returnValue?oa:pa):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),this[n.expando]=!0},n.Event.prototype={constructor:n.Event,isDefaultPrevented:pa,isPropagationStopped:pa,isImmediatePropagationStopped:pa,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=oa,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=oa,a&&!this.isSimulated&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=oa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 4,510 bytes, line 3
3,n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submit||(n.event.special.submit={setup:function(){if(n.nodeName(this,"form"))return!1;n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?n.prop(b,"form"):void 0;c&&!n._data(c,"submit")&&(n.event.add(c,"submit._submit",function(a){a._submitBubble=!0}),n._data(c,"submit",!0))})},postDispatch:function(a){a._submitBubble&&(delete a._submitBubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a))},teardown:function(){if(n.nodeName(this,"form"))return!1;n.event.remove(this,"._submit")}}),l.change||(n.event.special.change={setup:function(){if(ja.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._justChanged=!0)}),n.event.add(this,"click._change",function(a){this._justChanged&&!a.isTrigger&&(this._justChanged=!1),n.event.simulate("change",this,a)})),!1;n.event.add(this,"beforeactivate._change",function(a){var b=a.target;ja.test(b.nodeName)&&!n._data(b,"change")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a)}),n._data(b,"change",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){return n.event.remove(this,"._change"),!ja.test(this.nodeName)}}),l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d){return ra(this,a,b,c,d)},one:function(a,b,c,d){return ra(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return!1!==b&&"function"!=typeof b||(c=b,b=void 0),!1===c&&(c=pa),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return n.event.trigger(a,b,c,!0)}});var sa=/ jQuery\d+="(?:null|\d+)"/g,ta=new RegExp("<(?:"+aa+")[\\s/>]","i"),ua=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,va=/<script|<style|<link/i,wa=/checked\s*(?:[^=]|=\s*.checked.)/i,xa=/^true\/(.*)/,ya=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,za=ba(d),Aa=za.appendChild(d.createElement("div"));function Ba(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Ca(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Da(a){var b=xa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ea(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Fa(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Ca(b).text=a.text,Da(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Y.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ga(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);
vendor: 4,085 bytes, line 3
3if(r||o>1&&"string"==typeof q&&!l.checkClone&&wa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ga(f,b,c,d)});if(o&&(k=ia(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(da(k,"script"),Ca),h=i.length;m<o;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,da(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Da),m=0;m<h;m++)g=i[m],$.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(ya,"")));k=e=null}return a}function Ha(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(da(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&ea(da(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ua,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ta.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Aa.innerHTML=a.outerHTML,Aa.removeChild(f=Aa.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=da(f),h=da(a),g=0;null!=(e=h[g]);++g)d[g]&&Fa(e,d[g]);if(b)if(c)for(h=h||da(a),d=d||da(f),g=0;null!=(e=h[g]);g++)Ea(e,d[g]);else Ea(a,f);return d=da(f,"script"),d.length>0&&ea(d,!i&&da(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||L(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||void 0===d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ga,detach:function(a){return Ha(this,a,!0)},remove:function(a){return Ha(this,a)},text:function(a){return X(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ga(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){Ba(this,a).appendChild(a)}})},prepend:function(){return Ga(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ba(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ga(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ga(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(da(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return X(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(sa,""):void 0;if("string"==typeof a&&!va.test(a)&&(l.htmlSerialize||!ta.test(a))&&(l.leadingWhitespace||!_.test(a))&&!ca[(Z.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(da(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ga(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(da(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;d<=h;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ia,Ja={HTML:"block",BODY:"block"};function Ka(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function La(a){var b=d,c=Ja[a];return c||(c=Ka(a,b),"none"!==c&&c||(Ia=(Ia||n("<iframe frameborder='0' width='0' height='0'/>
3")).appendTo(b.documentElement),b=(Ia[0].contentWindow||Ia[0].contentDocument).document,b.write(),b.close(),c=Ka(a,b),Ia.detach()),Ja[a]=c),c}var Ma=/^margin/,Na=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Oa=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Pa=d.documentElement;!function(){var b,c,e,f,g,h,i=d.createElement("div"),j=d.createElement("div");function k(){var k,l,m=d.documentElement;m.appendChild(i),j.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",b=e=h=!1,c=g=!0,a.getComputedStyle&&(l=a.getComputedStyle(j),b="1%"!==(l||{}).top,h="2px"===(l||{}).marginLeft,e="4px"===(l||{width:"4px"}).width,j.style.marginRight="50%",c="4px"===(l||{marginRight:"4px"}).marginRight,k=j.appendChild(d.createElement("div")),k.style.cssText=j.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",k.style.marginRight=k.style.width="0",j.style.width="1px",g=!parseFloat((a.getComputedStyle(k)||{}).marginRight),j.removeChild(k)),j.style.display="none",f=0===j.getClientRects().length,f&&(j.style.display="",j.innerHTML="<table><tr><td></td><td>t</td></tr></table>",j.childNodes[0].style.borderCollapse="separate",k=j.getElementsByTagName("td"),k[0].style.cssText="margin:0;border:0;padding:0;display:none",(f=0===k[0].offsetHeight)&&(k[0].style.display="",k[1].style.display="none",f=0===k[0].offsetHeight)),m.removeChild(i)}j.style&&(j.style.cssText="float:left;opacity:.5",l.opacity="0.5"===j.style.opacity,l.cssFloat=!!j.style.cssFloat,j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===j.style.backgroundClip,i=d.createElement("div"),i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",j.innerHTML="",i.appendChild(j),l.boxSizing=""===j.style.boxSizing||""===j.style.MozBoxSizing||""===j.style.WebkitBoxSizing,n.extend(l,{reliableHiddenOffsets:function(){return null==b&&k(),f},boxSizingReliable:function(){return null==b&&k(),e},pixelMarginRight:function(){return null==b&&k(),c},pixelPosition:function(){return null==b&&k(),b},reliableMarginRight:function(){return null==b&&k(),g},reliableMarginLeft:function(){return null==b&&k(),h}}))}();var Qa,Ra,Sa=/^(top|right|bottom|left)$/;a.getComputedStyle?(Qa=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Ra=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Qa(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Na.test(g)&&Ma.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0===g?g:g+""}):Pa.currentStyle&&(Qa=function(a){return a.currentStyle},Ra=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Qa(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Na.test(g)&&!Sa.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Ta(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Ua=/alpha\([^)]*\)/i,Va=/opacity\s*=\s*([^)]*)/i,Wa=/^(none|table(?!-c[ea]).+)/,Xa=new RegExp("^("+S+")(.*)$","i"),Ya={position:"absolute",visibility:"hidden",display:"block"},Za={letterSpacing:"0",fontWeight:"400"},$a=["Webkit","O","Moz","ms"],_a=d.createElement("div").style;function ab(a){if(a in _a)return a;var b=a.charAt(0).toUpperCase()+a.slice(1),c=$a.length;while(c--)if((a=$a[c]+b)in _a)return a}function bb(a,b){for(var c,d,e,f=[],g=0,h=a.length;g<h;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=n._data(d,"olddisplay",La(d.nodeName)))):(e=V(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;g<h;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function cb(a,b,c){var d=Xa.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function db(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function eb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Qa(a),g=l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,f);
vendor: 10,641 bytes, lines 3-4
3if(e<=0||null==e){if(e=Ra(a,b,f),(e<0||null==e)&&(e=a.style[b]),Na.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+db(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ra(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=ab(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=T.exec(c))&&e[1]&&(c=W(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=ab(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Ra(a,b,d)),"normal"===f&&b in Za&&(f=Za[b]),""===c||c?(e=parseFloat(f),!0===c||isFinite(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){if(c)return Wa.test(n.css(a,"display"))&&0===a.offsetWidth?Oa(a,Ya,function(){return eb(a,b,d)}):eb(a,b,d)},set:function(a,c,d){var e=d&&Qa(a);return cb(a,c,d?db(a,b,d,l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Va.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Ua,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Ua.test(f)?f.replace(Ua,e):f+" "+e)}}),n.cssHooks.marginRight=Ta(l.reliableMarginRight,function(a,b){if(b)return Oa(a,{display:"inline-block"},Ra,[a,"marginRight"])}),n.cssHooks.marginLeft=Ta(l.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ra(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Oa(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px"}),n.each({
4margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Ma.test(a)||(n.cssHooks[a+b].set=cb)}),n.fn.extend({css:function(a,b){return X(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Qa(a),e=b.length;g<e;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return bb(this,!0)},hide:function(){return bb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function fb(a,b,c,d,e){return new fb.prototype.init(a,b,c,d,e)}n.Tween=fb,fb.prototype={constructor:fb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=fb.propHooks[this.prop];return a&&a.get?a.get(this):fb.propHooks._default.get(this)},run:function(a){var b,c=fb.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):fb.propHooks._default.set(this),this}},fb.prototype.init.prototype=fb.prototype,fb.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},fb.propHooks.scrollTop=fb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=fb.prototype.init,n.fx.step={};var gb,hb,ib=/^(?:toggle|show|hide)$/,jb=/queueHooks$/;function kb(){return a.setTimeout(function(){gb=void 0}),gb=n.now()}function lb(a,b){var c,d={height:a},e=0;for(b=b?1:0;e<4;e+=2-b)c=U[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function mb(a,b,c){for(var d,e=(pb.tweeners[b]||[]).concat(pb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function nb(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&V(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),"inline"===(k="none"===j?n._data(a,"olddisplay")||La(a.nodeName):j)&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==La(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ib.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(o))"inline"===("none"===j?La(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=mb(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function ob(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),(g=n.cssHooks[d])&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function pb(a,b,c){var d,e,f=0,g=pb.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=gb||kb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:gb||kb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(ob(k,j.opts.specialEasing);f<g;f++)if(d=pb.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,mb,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(pb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return W(c.elem,a,T.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(F);for(var c,d=0,e=a.length;d<e;d++)c=a[d],pb.tweeners[c]=pb.tweeners[c]||[],pb.tweeners[c].unshift(b)},prefilters:[nb],prefilter:function(a,b){b?pb.prefilters.unshift(a):pb.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&!0!==d.queue||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=pb(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||!1===f.queue?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&!1!==a&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&jb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(lb(b,!0),a,d,e)}}),n.each({slideDown:lb("show"),slideUp:lb("hide"),slideToggle:lb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(gb=n.now();c<b.length;c++)(a=b[c])()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),gb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){hb||(hb=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(hb),hb=null},n.fx.speeds={slow:600,fast:200,_default:400}
vendor: 16,778 bytes, line 4
4,n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a,b=d.createElement("input"),c=d.createElement("div"),e=d.createElement("select"),f=e.appendChild(d.createElement("option"));c=d.createElement("div"),c.setAttribute("className","t"),c.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],b.setAttribute("type","checkbox"),c.appendChild(b),a=c.getElementsByTagName("a")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==c.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=f.selected,l.enctype=!!d.createElement("form").enctype,e.disabled=!0,l.optDisabled=!f.disabled,b=d.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value}();var qb=/\r/g,rb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),(b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()])&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return(b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()])&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(qb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(rb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>-1)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){if(n.isArray(b))return a.checked=n.inArray(n(a).val(),b)>-1}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb,tb,ub=n.expr.attrHandle,vb=/^(?:checked|selected)$/i,wb=l.getSetAttribute,xb=l.input;n.fn.extend({attr:function(a,b){return X(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return void 0===a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?tb:sb)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(F);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?xb&&wb||!vb.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(wb?c:d)}}),tb={set:function(a,b,c){return!1===b?n.removeAttr(a,c):xb&&wb||!vb.test(c)?a.setAttribute(!wb&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ub[b]||n.find.attr;xb&&wb||!vb.test(b)?ub[b]=function(a,b,d){var e,f;return d||(f=ub[b],ub[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,ub[b]=f),e}:ub[b]=function(a,b,c){if(!c)return a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),xb&&wb||(n.attrHooks.value={set:function(a,b,c){if(!n.nodeName(a,"input"))return sb&&sb.set(a,b,c);a.defaultValue=b}}),wb||(sb={set:function(a,b,c){var d=a.getAttributeNode(c);if(d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c))return b}},ub.id=ub.name=ub.coords=function(a,b,c){var d;if(!c)return(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);if(c&&c.specified)return c.value},set:sb.set},n.attrHooks.contenteditable={set:function(a,b,c){sb.set(a,""!==b&&b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){if(""===c)return a.setAttribute(b,"auto"),c}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var yb=/^(?:input|select|textarea|button|object)$/i,zb=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return X(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):yb.test(a.nodeName)||zb.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var Ab=/[\t\r\n\f]/g;function Bb(a){return n.attr(a,"class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,Bb(this)))});if("string"==typeof a&&a){b=a.match(F)||[];while(c=this[i++])if(e=Bb(c),d=1===c.nodeType&&(" "+e+" ").replace(Ab," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,Bb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(F)||[];while(c=this[i++])if(e=Bb(c),d=1===c.nodeType&&(" "+e+" ").replace(Ab," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,Bb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(F)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=Bb(this),b&&n._data(this,"__className__",b),n.attr(this,"class",b||!1===a?"":n._data(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+Bb(c)+" ").replace(Ab," ").indexOf(b)>-1)return!0;return!1}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Cb=a.location,Db=n.now(),Eb=/\?/,Fb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(Fb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new a.DOMParser,c=d.parseFromString(b,"text/xml")):(c=new a.ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var Gb=/#.*$/,Hb=/([?&])_=[^&]*/,Ib=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Jb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kb=/^(?:GET|HEAD)$/,Lb=/^\/\//,Mb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Nb={},Ob={},Pb="*/".concat("*"),Qb=Cb.href,Rb=Mb.exec(Qb.toLowerCase())||[];function Sb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(F)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Tb(a,b,c,d){var e={},f=a===Ob;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ub(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Vb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Wb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(!(g=j[i+" "+f]||j["* "+f]))for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){!0===g?g=j[e]:!0!==j[e]&&(f=h[0],k.unshift(h[1]));break}if(!0!==g)if(g&&a.throws)b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Qb,type:"GET",isLocal:Jb.test(Rb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ub(Ub(a,n.ajaxSettings),b):Ub(n.ajaxSettings,a)},ajaxPrefilter:Sb(Nb),ajaxTransport:Sb(Ob),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var d,e,f,g,h,i,j,k,l=n.ajaxSetup({},c),m=l.context||l,o=l.context&&(m.nodeType||m.jquery)?n(m):n.event,p=n.Deferred(),q=n.Callbacks("once memory"),r=l.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!k){k={};while(b=Ib.exec(g))k[b[1].toLowerCase()]=b[2]}b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(u<2)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return j&&j.abort(b),x(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,l.url=((b||l.url||Qb)+"").replace(Gb,"").replace(Lb,Rb[1]+"//"),l.type=c.method||c.type||l.method||l.type,l.dataTypes=n.trim(l.dataType||"*").toLowerCase().match(F)||[""],null==l.crossDomain&&(d=Mb.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===Rb[1]&&d[2]===Rb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(Rb[3]||("http:"===Rb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=n.param(l.data,l.traditional)),Tb(Nb,l,c,w),2===u)return w;i=n.event&&l.global,i&&0==n.active++&&n.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Kb.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(Eb.test(f)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=Hb.test(f)?f.replace(Hb,"$1_="+Db++):f+(Eb.test(f)?"&":"?")+"_="+Db++)),l.ifModified&&(n.lastModified[f]&&w.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&w.setRequestHeader("If-None-Match",n.etag[f])),(l.data&&l.hasContent&&!1!==l.contentType||c.contentType)&&w.setRequestHeader("Content-Type",l.contentType),w.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Pb+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)w.setRequestHeader(e,l.headers[e]);if(l.beforeSend&&(!1===l.beforeSend.call(m,w,l)||2===u))return w.abort();v="abort";for(e in{success:1,error:1,complete:1})w[e](l[e]);if(j=Tb(Ob,l,c,w)){if(w.readyState=1,i&&o.trigger("ajaxSend",[w,l]),2===u)return w;l.async&&l.timeout>0&&(h=a.setTimeout(function(){w.abort("timeout")},l.timeout));try{u=1,j.send(s,x)}catch(y){if(!(u<2))throw y;x(-1,y)}}else x(-1,"No Transport");function x(b,c,d,e){var k,s,t,v,x,y=c;2!==u&&(u=2,h&&a.clearTimeout(h),j=void 0,g=e||"",w.readyState=b>0?4:0,k=b>=200&&b<300||304===b,d&&(v=Vb(l,w,d)),v=Wb(l,v,w,k),k?(l.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(n.lastModified[f]=x),(x=w.getResponseHeader("etag"))&&(n.etag[f]=x)),204===b||"HEAD"===l.type?y="nocontent":304===b?y="notmodified":(y=v.state,s=v.data,t=v.error,k=!t)):(t=y,!b&&y||(y="error",b<0&&(b=0))),w.status=b,w.statusText=(c||y)+"",k?p.resolveWith(m,[s,y,w]):p.rejectWith(m,[w,y,t]),w.statusCode(r),r=void 0,i&&o.trigger(k?"ajaxSuccess":"ajaxError",[w,l,k?s:t]),q.fireWith(m,[w,y]),i&&(o.trigger("ajaxComplete",[w,l]),--n.active||n.event.trigger("ajaxStop")))}return w},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}});function Xb(a){return a.style&&a.style.display||n.css(a,"display")}function Yb(a){if(!n.contains(a.ownerDocument||d,a))return!0;while(a&&1===a.nodeType){if("none"===Xb(a)||"hidden"===a.type)return!0;a=a.parentNode}return!1}n.expr.filters.hidden=function(a){return l.reliableHiddenOffsets()?a.offsetWidth<=0&&a.offsetHeight<=0&&!a.getClientRects().length:Yb(a)},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var Zb=/%20/g,$b=/\[\]$/,_b=/\r?\n/g,ac=/^(?:submit|button|image|reset|file)$/i,bc=/^(?:input|select|textarea|keygen)/i;function cc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||$b.test(a)?d(a,e):cc(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)cc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};
vendor: 4,428 bytes, line 4
4if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)cc(c,a[c],b,e);return d.join("&").replace(Zb,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&bc.test(this.nodeName)&&!ac.test(a)&&(this.checked||!Y.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(_b,"\r\n")}}):{name:b.name,value:c.replace(_b,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return this.isLocal?hc():d.documentMode>8?gc():/^(get|post|head|put|delete|options)$/i.test(this.type)&&gc()||hc()}:gc;var dc=0,ec={},fc=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in ec)ec[a](void 0,!0)}),l.cors=!!fc&&"withCredentials"in fc,(fc=l.ajax=!!fc)&&n.ajaxTransport(function(b){if(!b.crossDomain||l.cors){var c;return{send:function(d,e){var f,g=b.xhr(),h=++dc;if(g.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(f in b.xhrFields)g[f]=b.xhrFields[f];b.mimeType&&g.overrideMimeType&&g.overrideMimeType(b.mimeType),b.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");for(f in d)void 0!==d[f]&&g.setRequestHeader(f,d[f]+"");g.send(b.hasContent&&b.data||null),c=function(a,d){var f,i,j;if(c&&(d||4===g.readyState))if(delete ec[h],c=void 0,g.onreadystatechange=n.noop,d)4!==g.readyState&&g.abort();else{j={},f=g.status,"string"==typeof g.responseText&&(j.text=g.responseText);try{i=g.statusText}catch(k){i=""}f||!b.isLocal||b.crossDomain?1223===f&&(f=204):f=j.text?200:404}j&&e(f,i,j,g.getAllResponseHeaders())},b.async?4===g.readyState?a.setTimeout(c):g.onreadystatechange=ec[h]=c:c()},abort:function(){c&&c(void 0,!0)}}}});function gc(){try{return new a.XMLHttpRequest}catch(b){}}function hc(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=d.head||n("head")[0]||d.documentElement;return{send:function(e,f){b=d.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var ic=[],jc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ic.pop()||n.expando+"_"+Db++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=!1!==b.jsonp&&(jc.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&jc.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(jc,"$1"+e):!1!==b.jsonp&&(b.url+=(Eb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,ic.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ia([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var kc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&kc)return kc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h,a.length)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}
4).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function lc(a){return n.isWindow(a)?a:9===a.nodeType&&(a.defaultView||a.parentWindow)}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?(void 0!==e.getBoundingClientRect&&(d=e.getBoundingClientRect()),c=lc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Pa})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return X(this,function(a,d,e){var f=lc(a);if(void 0===e)return f?b in f?f[b]:f.document.documentElement[d]:a[d];f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ta(l.pixelPosition,function(a,c){if(c)return c=Ra(a,b),Na.test(c)?n(a).position()[b]+"px":c})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(!0===d||!0===e?"margin":"border")
5;return X(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var mc=a.jQuery,nc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=nc),b&&a.jQuery===n&&(a.jQuery=mc),n},b||(a.jQuery=a.$=n),n});
6jQuery.noConflict();
7/*! jQuery Migrate v1.4.1 | (c) jQuery Foundation and other contributors | jquery.org/license */
8"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(a,b,c){function d(c){var d=b.console;f[c]||(f[c]=!0,a.migrateWarnings.push(c),d&&d.warn&&!a.migrateMute&&(d.warn("JQMIGRATE: "+c),a.migrateTrace&&d.trace&&d.trace()))}function e(b,c,e,f){if(Object.defineProperty)try{return void Object.defineProperty(b,c,{configurable:!0,enumerable:!0,get:function(){return d(f),e},set:function(a){d(f),e=a}})}catch(g){}a._definePropertyBroken=!0,b[c]=e}a.migrateVersion="1.4.1";var f={};a.migrateWarnings=[],b.console&&b.console.log&&b.console.log("JQMIGRATE: Migrate is installed"+(a.migrateMute?"":" with logging active")+", version "+a.migrateVersion),a.migrateTrace===c&&(a.migrateTrace=!0),a.migrateReset=function(){f={},a.migrateWarnings.length=0},"BackCompat"===document.compatMode&&d("jQuery is not compatible with Quirks Mode");var g=a("<input/>",{size:1}).attr("size")&&a.attrFn,h=a.attr,i=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},j=a.attrHooks.value&&a.attrHooks.value.set||function(){return c},k=/^(?:input|button)$/i,l=/^[238]$/,m=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,n=/^(?:checked|selected)$/i;e(a,"attrFn",g||{},"jQuery.attrFn is deprecated"),a.attr=function(b,e,f,i){var j=e.toLowerCase(),o=b&&b.nodeType;return i&&(h.length<4&&d("jQuery.fn.attr( props, pass ) is deprecated"),b&&!l.test(o)&&(g?e in g:a.isFunction(a.fn[e])))?a(b)[e](f):("type"===e&&f!==c&&k.test(b.nodeName)&&b.parentNode&&d("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[j]&&m.test(j)&&(a.attrHooks[j]={get:function(b,d){var e,f=a.prop(b,d);return f===!0||"boolean"!=typeof f&&(e=b.getAttributeNode(d))&&e.nodeValue!==!1?d.toLowerCase():c},set:function(b,c,d){var e;return c===!1?a.removeAttr(b,d):(e=a.propFix[d]||d,e in b&&(b[e]=!0),b.setAttribute(d,d.toLowerCase())),d}},n.test(j)&&d("jQuery.fn.attr('"+j+"') might use property instead of attribute")),h.call(a,b,e,f))},a.attrHooks.value={get:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?i.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value') no longer gets properties"),b in a?a.value:null)},set:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?j.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=b))}};var o,p,q=a.fn.init,r=a.find,s=a.parseJSON,t=/^\s*</,u=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,v=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,w=/^([^<]*)(<[\w\W]+>)([^>]*)$/;a.fn.init=function(b,e,f){var g,h;return b&&"string"==typeof b&&!a.isPlainObject(e)&&(g=w.exec(a.trim(b)))&&g[0]&&(t.test(b)||d("$(html) HTML strings must start with '<' character"),g[3]&&d("$(html) HTML text after last tag is ignored"),"#"===g[0].charAt(0)&&(d("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),e&&e.context&&e.context.nodeType&&(e=e.context),a.parseHTML)?q.call(this,a.parseHTML(g[2],e&&e.ownerDocument||e||document,!0),e,f):(h=q.apply(this,arguments),b&&b.selector!==c?(h.selector=b.selector,h.context=b.context):(h.selector="string"==typeof b?b:"",b&&(h.context=b.nodeType?b:e||document)),h)},a.fn.init.prototype=a.fn,a.find=function(a){var b=Array.prototype.slice.call(arguments);if("string"==typeof a&&u.test(a))try{document.querySelector(a)}catch(c){a=a.replace(v,function(a,b,c,d){return"["+b+c+'"'+d+'"]'});try{document.querySelector(a),d("Attribute selector with '#' must be quoted: "+b[0]),b[0]=a}catch(e){d("Attribute selector with '#' was not fixed: "+b[0])}}return r.apply(this,b)};var x;for(x in r)Object.prototype.hasOwnProperty.call(r,x)&&(a.find[x]=r[x]);a.parseJSON=function(a){return a?s.apply(this,arguments):(d("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a.browser||(o=a.uaMatch(navigator.userAgent),p={},o.browser&&(p[o.browser]=!0,p.version=o.version),p.chrome?p.webkit=!0:p.webkit&&(p.safari=!0),a.browser=p),e(a,"browser",a.browser,"jQuery.browser is deprecated"),a.boxModel=a.support.boxModel="CSS1Compat"===document.compatMode,e(a,"boxModel",a.boxModel,"jQuery.boxModel is deprecated"),e(
8a.support,"boxModel",a.support.boxModel,"jQuery.support.boxModel is deprecated"),a.sub=function(){function b(a,c){return new b.fn.init(a,c)}a.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(d,e){var f=a.fn.init.call(this,d,e,c);return f instanceof b?f:b(f)},b.fn.init.prototype=b.fn;var c=b(document);return d("jQuery.sub() is deprecated"),b},a.fn.size=function(){return d("jQuery.fn.size() is deprecated; use the .length property"),this.length};var y=!1;a.swap&&a.each(["height","width","reliableMarginRight"],function(b,c){var d=a.cssHooks[c]&&a.cssHooks[c].get;d&&(a.cssHooks[c].get=function(){var a;return y=!0,a=d.apply(this,arguments),y=!1,a})}),a.swap=function(a,b,c,e){var f,g,h={};y||d("jQuery.swap() is undocumented and deprecated");for(g in b)h[g]=a.style[g],a.style[g]=b[g];f=c.apply(a,e||[]);for(g in b)a.style[g]=h[g];return f},a.ajaxSetup({converters:{"text json":a.parseJSON}});var z=a.fn.data;a.fn.data=function(b){var e,f,g=this[0];return!g||"events"!==b||1!==arguments.length||(e=a.data(g,b),f=a._data(g,b),e!==c&&e!==f||f===c)?z.apply(this,arguments):(d("Use of jQuery.fn.data('events') is deprecated"),f)};var A=/\/(java|ecma)script/i;a.clean||(a.clean=function(b,c,e,f){c=c||document,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,d("jQuery.clean() is deprecated");var g,h,i,j,k=[];if(a.merge(k,a.buildFragment(b,c).childNodes),e)for(i=function(a){return!a.type||A.test(a.type)?f?f.push(a.parentNode?a.parentNode.removeChild(a):a):e.appendChild(a):void 0},g=0;null!=(h=k[g]);g++)a.nodeName(h,"script")&&i(h)||(e.appendChild(h),"undefined"!=typeof h.getElementsByTagName&&(j=a.grep(a.merge([],h.getElementsByTagName("script")),i),k.splice.apply(k,[g+1,0].concat(j)),g+=j.length));return k});var B=a.event.add,C=a.event.remove,D=a.event.trigger,E=a.fn.toggle,F=a.fn.live,G=a.fn.die,H=a.fn.load,I="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",J=new RegExp("\\b(?:"+I+")\\b"),K=/(?:^|\s)hover(\.\S+|)\b/,L=function(b){return"string"!=typeof b||a.event.special.hover?b:(K.test(b)&&d("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),b&&b.replace(K,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&e(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,b,c,e,f){a!==document&&J.test(b)&&d("AJAX events should be attached to document: "+b),B.call(this,a,L(b||""),c,e,f)},a.event.remove=function(a,b,c,d,e){C.call(this,a,L(b)||"",c,d,e)},a.each(["load","unload","error"],function(b,c){a.fn[c]=function(){var a=Array.prototype.slice.call(arguments,0);return"load"===c&&"string"==typeof a[0]?H.apply(this,a):(d("jQuery.fn."+c+"() is deprecated"),a.splice(0,0,c),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this))}}),a.fn.toggle=function(b,c){if(!a.isFunction(b)||!a.isFunction(c))return E.apply(this,arguments);d("jQuery.fn.toggle(handler, handler...) is deprecated");var e=arguments,f=b.guid||a.guid++,g=0,h=function(c){var d=(a._data(this,"lastToggle"+b.guid)||0)%g;return a._data(this,"lastToggle"+b.guid,d+1),c.preventDefault(),e[d].apply(this,arguments)||!1};for(h.guid=f;g<e.length;)e[g++].guid=f;return this.click(h)},a.fn.live=function(b,c,e){return d("jQuery.fn.live() is deprecated"),F?F.apply(this,arguments):(a(this.context).on(b,this.selector,c,e),this)},a.fn.die=function(b,c){return d("jQuery.fn.die() is deprecated"),G?G.apply(this,arguments):(a(this.context).off(b,this.selector||"**",c),this)},a.event.trigger=function(a,b,c,e){return c||J.test(a)||d("Global events are undocumented and deprecated"),D.call(this,a,b,c||document,e)},a.each(I.split("|"),function(b,c){a.event.special[c]={setup:function(){var b=this;return b!==document&&(a.event.add(document,c+"."+a.guid,function(){a.event.trigger(c,Array.prototype.slice.call(arguments,1),b,!0)}),a._data(this,c,a.guid++)),!1},teardown:function(){return this!==document&&a.event.remove(document,c+"."+a._data(this,c)),!1}}}),a.event.special.ready={setup:function(){this===document&&d("'ready' event is deprecated")}};var M=a.fn.andSelf||a.fn.addBack,N=a.fn.find;if(a.fn.andSelf=function(){return d("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),M.apply(this,arguments)},a.fn.find=function(a){var b=N.apply(this,arguments);return b.context=this.context,b.selector=this.selector?this.selector+" "+a:a,b},a.Callbacks){var O=a.Deferred,P=[["resolve","done",a.Callbacks("once memory"),a.Callbacks("once memory"),"resolved"],["reject","fail",a.Callbacks("once memory"),a.Callbacks("once memory"),"rejected"],["notify","progress",a.Callbacks("memory"),a.Callbacks("memory")]];a.Deferred=function(b){var c=O(),e=c.promise();return c.pipe=e.pipe=function(){var b=arguments;return d("deferred.pipe() is deprecated"),a.Deferred(function(d){a.each(P,function(f,g){var h=a.isFunction(b[f])&&b[f];c[g[1]](function(){var b=h&&h.apply(this,arguments);b&&a.isFunction(b.promise)?b.promise().done(d.resolve).fail(d.reject).progress(d.notify):d[g[0]+"With"](this===e?d.promise():this,h?[b]:arguments)})}),b=null}).promise()},c.isResolved=function(){return d("deferred.isResolved is deprecated"),"resolved"===c.state()},c.isRejected=function(){return d("deferred.isRejected is deprecated"),"rejected"===c.state()},b&&b.call(c,c),c}}}(jQuery,window);
9var jQueryCrayon=jQuery;(function(a){CrayonUtil=new function(){var c=this;var b=null;c.init=function(){b=CrayonSyntaxSettings;c.initGET()};c.addPrefixToID=function(d){return d.replace(/^([#.])?(.*)$/,"$1"+b.prefix+"$2")};c.removePrefixFromID=function(e){var d=new RegExp("^[#.]?"+b.prefix,"i");return e.replace(d,"")};c.cssElem=function(d){return a(c.addPrefixToID(d))};c.setDefault=function(e,f){return(typeof e=="undefined")?f:e};c.setMax=function(e,d){return e<=d?e:d};c.setMin=function(d,e){return d>=e?d:e};c.setRange=function(e,f,d){return c.setMax(c.setMin(e,f),d)};c.getExt=function(e){if(e.indexOf(".")==-1){return undefined}var d=e.split(".");if(d.length){d=d[d.length-1]}else{d=""}return d};c.initGET=function(){window.currentURL=window.location.protocol+"//"+window.location.host+window.location.pathname;window.currentDir=window.currentURL.substring(0,window.currentURL.lastIndexOf("/"));function d(e){e=e.split("+").join(" ");var h={},g,f=/[?&]?([^=]+)=([^&]*)/g;while(g=f.exec(e)){h[decodeURIComponent(g[1])]=decodeURIComponent(g[2])}return h}window.GET=d(document.location.search)};c.getAJAX=function(d,e){d.version=b.version;a.get(b.ajaxurl,d,e)};c.postAJAX=function(d,e){d.version=b.version;a.post(b.ajaxurl,d,e)};c.reload=function(){var d="?";for(var e in window.GET){d+=e+"="+window.GET[e]+"&"}window.location=window.currentURL+d};c.escape=function(d){if(typeof encodeURIComponent=="function"){return encodeURIComponent(d)}else{if(typeof escape!="function"){return escape(d)}else{return d}}};c.log=function(d){if(typeof console!="undefined"&&b.debug){console.log(d)}};c.decode_html=function(d){return String(d).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")};c.encode_html=function(d){return String(d).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};c.getReadableColor=function(g,f){f=a.extend({amount:0.5,xMulti:1,yMulti:1.5,normalizeHue:[20,180],normalizeHueXMulti:1/2.5,normalizeHueYMulti:1},f);var d=tinycolor(g);var e=d.toHsv();var i={x:e.s,y:1-e.v};i.x*=f.xMulti;i.y*=f.yMulti;
9if(f.normalizeHue&&e.h>f.normalizeHue[0]&&e.h<f.normalizeHue[1]){i.x*=f.normalizeHueXMulti;i.y*=f.normalizeHueYMulti}var h=Math.sqrt(Math.pow(i.x,2)+Math.pow(i.y,2));if(h<f.amount){e.v=0}else{e.v=1}e.s=0;return tinycolor(e).toHexString()};c.removeChars=function(e,f){var d=new RegExp("["+e+"]","gmi");return f.replace(d,"")}};a(document).ready(function(){CrayonUtil.init()});a.fn.bindFirst=function(c,e){this.bind(c,e);var b=this.data("events")[c.split(".")[0]];var d=b.pop();b.splice(0,0,d)};a.keys=function(d){var c=[];for(var b in d){c.push(b)}return c};RegExp.prototype.execAll=function(c){var f=[];var b=null;while((b=this.exec(c))!=null){var e=[];for(var d in b){if(parseInt(d)==d){e.push(b[d])}}f.push(e)}return f};RegExp.prototype.escape=function(b){return b.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};String.prototype.sliceReplace=function(d,b,c){return this.substring(0,d)+c+this.substring(b)};String.prototype.escape=function(){var b={"&":"&amp;","<":"&lt;",">":"&gt;"};return this.replace(/[&<>]/g,function(c){return b[c]||c})};String.prototype.linkify=function(b){b=typeof b!="undefined"?b:"";return this.replace(/(http(s)?:\/\/(\S)+)/gmi,'<a href="$1" target="'+b+'">$1</a>')};String.prototype.toTitleCase=function(){var b=this.split(/\s+/);var c="";a.each(b,function(e,d){if(d!=""){c+=d.slice(0,1).toUpperCase()+d.slice(1,d.length);if(e!=b.length-1&&b[e+1]!=""){c+=" "}}});return c}})(jQueryCrayon);jqueryPopup=Object();jqueryPopup.defaultSettings={centerBrowser:0,centerScreen:0,height:500,left:0,location:0,menubar:0,resizable:0,scrollbars:0,status:0,width:500,windowName:null,windowURL:null,top:0,toolbar:0,data:null,event:"click"};(function(a){popupWindow=function(d,c,f,b){f=typeof f!=="undefined"?f:null;b=typeof b!=="undefined"?b:null;if(typeof d=="string"){d=jQuery(d)}if(!(d instanceof jQuery)){return false}var e=jQuery.extend({},jqueryPopup.defaultSettings,c||{});d.handler=jQuery(d).bind(e.event,function(){if(f){f()}var g="height="+e.height+",width="+e.width+",toolbar="+e.toolbar+",scrollbars="+e.scrollbars+",status="+e.status+",resizable="+e.resizable+",location="+e.location+",menuBar="+e.menubar;e.windowName=e.windowName||jQuery(this).attr("name");var h=jQuery(this).attr("href");if(!e.windowURL&&!(h=="#")&&!(h=="")){e.windowURL=jQuery(this).attr("href")}var i,j;var k=null;if(e.centerBrowser){if(typeof window.screenY=="undefined"){i=(window.screenTop-120)+((((document.documentElement.clientHeight+120)/2)-(e.height/2)));j=window.screenLeft+((((document.body.offsetWidth+20)/2)-(e.width/2)))}else{i=window.screenY+(((window.outerHeight/2)-(e.height/2)));j=window.screenX+(((window.outerWidth/2)-(e.width/2)))}k=window.open(e.windowURL,e.windowName,g+",left="+j+",top="+i)}else{if(e.centerScreen){i=(screen.height-e.height)/2;j=(screen.width-e.width)/2;k=window.open(e.windowURL,e.windowName,g+",left="+j+",top="+i)}else{k=window.open(e.windowURL,e.windowName,g+",left="+e.left+",top="+e.top)}}if(k!=null){k.focus();if(e.data){k.document.write(e.data)}}if(b){b()}});return e};popdownWindow=function(b,c){if(typeof c=="undefined"){c="click"}b=jQuery(b);if(!(b instanceof jQuery)){return false}b.unbind(c,b.handler)}})(jQueryCrayon);(function(f){f.fn.exists=function(){return this.length!==0};f.fn.style=function(B,E,A){var D=this.get(0);if(typeof D=="undefined"){return}var C=D.style;if(typeof B!="undefined"){if(typeof E!="undefined"){A=typeof A!="undefined"?A:"";if(typeof C.setProperty!="undefined"){C.setProperty(B,E,A)}else{C[B]=E}}else{return C[B]}}else{return C}};var d="crayon-pressed";var a="";var n="div.crayon-syntax";var e=".crayon-toolbar";var c=".crayon-info";var w=".crayon-plain";var o=".crayon-main";var m=".crayon-table";var v=".crayon-loading";var h=".crayon-code";var p=".crayon-title";var l=".crayon-tools";var b=".crayon-nums";var j=".crayon-num";var q=".crayon-line";var g="crayon-wrapped";var s=".crayon-nums-content";var u=".crayon-nums-button";var k=".crayon-wrap-button";var i=".crayon-expand-button";var t="crayon-expanded crayon-toolbar-visible";var y="crayon-placeholder";var x=".crayon-popup-button";var r=".crayon-copy-button";var z=".crayon-plain-button";CrayonSyntax=new function(){var I=this;var N=new Object();var ag;var H;var G=0;var Z;I.init=function(){if(typeof N=="undefined"){N=new Object()}ag=CrayonSyntaxSettings;H=CrayonSyntaxStrings;f(n).each(function(){I.process(this)})};I.process=function(aD,aE){aD=f(aD);var ar=aD.attr("id");if(ar=="crayon-"){ar+=X()}aD.attr("id",ar);CrayonUtil.log(ar);if(typeof aE=="undefined"){aE=false}if(!aE&&!aa(ar)){return}var au=aD.find(e);var aC=aD.find(c);var ap=aD.find(w);var aq=aD.find(o);var aB=aD.find(m);var aj=aD.find(h);var aG=aD.find(p);var aA=aD.find(l);var ay=aD.find(b);var av=aD.find(s);var az=aD.find(u);var am=aD.find(k);var ao=aD.find(i);var aF=aD.find(x);var at=aD.find(r);var al=aD.find(z);N[ar]=aD;N[ar].toolbar=au;N[ar].plain=ap;N[ar].info=aC;N[ar].main=aq;N[ar].table=aB;N[ar].code=aj;N[ar].title=aG;N[ar].tools=aA;N[ar].nums=ay;N[ar].nums_content=av;N[ar].numsButton=az;N[ar].wrapButton=am;N[ar].expandButton=ao;N[ar].popup_button=aF;N[ar].copy_button=at;N[ar].plainButton=al;N[ar].numsVisible=true;N[ar].wrapped=false;N[ar].plainVisible=false;N[ar].toolbar_delay=0;N[ar].time=1;f(w).css("z-index",0);var aw=aq.style();N[ar].mainStyle={height:aw&&aw.height||"","max-height":aw&&aw.maxHeight||"","min-height":aw&&aw.minHeight||"",width:aw&&aw.width||"","max-width":aw&&aw.maxWidth||"","min-width":aw&&aw.minWidth||""};N[ar].mainHeightAuto=N[ar].mainStyle.height==""&&N[ar].mainStyle["max-height"]=="";var ak;var ax=0;N[ar].loading=true;N[ar].scrollBlockFix=false;az.click(function(){CrayonSyntax.toggleNums(ar)});am.click(function(){CrayonSyntax.toggleWrap(ar)});ao.click(function(){CrayonSyntax.toggleExpand(ar)});al.click(function(){CrayonSyntax.togglePlain(ar)});at.click(function(){CrayonSyntax.copyPlain(ar)});B(ar);var an=function(){if(ay.filter('[data-settings~="hide"]').length!=0){av.ready(function(){CrayonUtil.log("function"+ar);CrayonSyntax.toggleNums(ar,true,true)})}else{ac(ar)}if(typeof N[ar].expanded=="undefined"){if(Math.abs(N[ar].main.outerWidth()-N[ar].table.outerWidth())<10){N[ar].expandButton.hide()}else{N[ar].expandButton.show()}}if(ax==5){clearInterval(ak);N[ar].loading=false}ax++};ak=setInterval(an,300);C(ar);f(j,N[ar]).each(function(){var aJ=f(this).attr("data-line");var aI=f("#"+aJ);var aH=aI.style("height");if(aH){aI.attr("data-height",aH)}});aq.css("position","relative");aq.css("z-index",1);Z=(aD.filter('[data-settings~="touchscreen"]').length!=0);if(!Z){aq.click(function(){A(ar,"",false)});ap.click(function(){A(ar,"",false)});aC.click(function(){A(ar,"",false)})}if(aD.filter('[data-settings~="no-popup"]').length==0){N[ar].popup_settings=popupWindow(aF,{height:screen.height-200,width:screen.width-100,top:75,left:50,scrollbars:1,windowURL:"",data:""},function(){F(ar)},function(){})}ap.css("opacity",0);N[ar].toolbarVisible=true;N[ar].hasOneLine=aB.outerHeight()<au.outerHeight()*2;N[ar].toolbarMouseover=false;if(au.filter('[data-settings~="mouseover"]').length!=0&&!Z){N[ar].toolbarMouseover=true;N[ar].toolbarVisible=false;au.css("margin-top","-"+au.outerHeight()+"px");au.hide();if(au.filter('[data-settings~="overlay"]').length!=0&&!N[ar].hasOneLine){au.css("position","absolute");au.css("z-index",2);if(au.filter('[data-settings~="hide"]').length!=0){aq.click(function(){T(ar,undefined,undefined,0)});
9ap.click(function(){T(ar,false,undefined,0)})}}else{au.css("z-index",4)}if(au.filter('[data-settings~="delay"]').length!=0){N[ar].toolbar_delay=500}aD.mouseenter(function(){T(ar,true)}).mouseleave(function(){T(ar,false)})}else{if(Z){au.show()}}if(aD.filter('[data-settings~="minimize"]').length==0){I.minimize(ar)}if(ap.length!=0&&!Z){if(ap.filter('[data-settings~="dblclick"]').length!=0){aq.dblclick(function(){CrayonSyntax.togglePlain(ar)})}else{if(ap.filter('[data-settings~="click"]').length!=0){aq.click(function(){CrayonSyntax.togglePlain(ar)})}else{if(ap.filter('[data-settings~="mouseover"]').length!=0){aD.mouseenter(function(){CrayonSyntax.togglePlain(ar,true)}).mouseleave(function(){CrayonSyntax.togglePlain(ar,false)});az.hide()}}}if(ap.filter('[data-settings~="show-plain-default"]').length!=0){CrayonSyntax.togglePlain(ar,true)}}var ai=aD.filter('[data-settings~="expand"]').length!=0;if(!Z&&aD.filter('[data-settings~="scroll-mouseover"]').length!=0){aq.css("overflow","hidden");ap.css("overflow","hidden");aD.mouseenter(function(){M(ar,true,ai)}).mouseleave(function(){M(ar,false,ai)})}if(ai){aD.mouseenter(function(){D(ar,true)}).mouseleave(function(){D(ar,false)})}if(aD.filter('[data-settings~="disable-anim"]').length!=0){N[ar].time=0}if(aD.filter('[data-settings~="wrap"]').length!=0){N[ar].wrapped=true}N[ar].mac=aD.hasClass("crayon-os-mac");ac(ar);ab(ar);Y(ar)};var aa=function(ai){CrayonUtil.log(N);if(typeof N[ai]=="undefined"){N[ai]=f("#"+ai);CrayonUtil.log("make "+ai);return true}CrayonUtil.log("no make "+ai);return false};var X=function(){return G++};var F=function(ai){if(typeof N[ai]=="undefined"){return aa(ai)}var aj=N[ai].popup_settings;if(aj&&aj.data){return}var al=N[ai].clone(true);al.removeClass("crayon-wrapped");if(N[ai].wrapped){f(j,al).each(function(){var ao=f(this).attr("data-line");var an=f("#"+ao);var am=an.attr("data-height");am=am?am:"";if(typeof am!="undefined"){an.css("height",am);f(this).css("height",am)}})}al.find(o).css("height","");var ak="";if(N[ai].plainVisible){ak=al.find(w)}else{ak=al.find(o)}aj.data=I.getAllCSS()+'<body class="crayon-popup-window" style="padding:0; margin:0;"><div class="'+al.attr("class")+' crayon-popup">'+I.removeCssInline(I.getHtmlString(ak))+"</div></body>"};I.minimize=function(al){var ak=f('<div class="crayon-minimize crayon-button"><div>');N[al].tools.append(ak);N[al].origTitle=N[al].title.html();if(!N[al].origTitle){N[al].title.html(H.minimize)}var aj="crayon-minimized";var ai=function(){N[al].toolbarPreventHide=false;ak.remove();N[al].removeClass(aj);N[al].title.html(N[al].origTitle);var am=N[al].toolbar;if(am.filter('[data-settings~="never-show"]').length!=0){am.remove()}};N[al].toolbar.click(ai);ak.click(ai);N[al].addClass(aj);N[al].toolbarPreventHide=true;T(al,undefined,undefined,0)};I.getHtmlString=function(ai){return f("<div>").append(ai.clone()).remove().html()};I.removeCssInline=function(ak){var aj=/style\s*=\s*"([^"]+)"/gmi;var ai=null;while((ai=aj.exec(ak))!=null){var al=ai[1];al=al.replace(/\b(?:width|height)\s*:[^;]+;/gmi,"");ak=ak.sliceReplace(ai.index,ai.index+ai[0].length,'style="'+al+'"')}return ak};I.getAllCSS=function(){var ak="";var aj=f('link[rel="stylesheet"]');var ai=[];if(aj.length==1){ai=aj}else{ai=aj.filter('[href*="crayon-syntax-highlighter"], [href*="min/"]')}ai.each(function(){var al=I.getHtmlString(f(this));ak+=al});return ak};I.copyPlain=function(ak,al){if(typeof N[ak]=="undefined"){return aa(ak)}var aj=N[ak].plain;I.togglePlain(ak,true,true);T(ak,true);var ai=N[ak].mac?"\u2318":"CTRL";var am=H.copy;am=am.replace(/%s/,ai+"+C");am=am.replace(/%s/,ai+"+V");A(ak,am);return false};var A=function(aj,al,ai){if(typeof N[aj]=="undefined"){return aa(aj)}var ak=N[aj].info;if(typeof al=="undefined"){al=""}if(typeof ai=="undefined"){ai=true}if(L(ak)&&ai){ak.html("<div>"+al+"</div>");ak.css("margin-top",-ak.outerHeight());ak.show();Q(aj,ak,true);setTimeout(function(){Q(aj,ak,false)},5000)}if(!ai){Q(aj,ak,false)}};var B=function(ai){if(window.devicePixelRatio>1){var aj=f(".crayon-button-icon",N[ai].toolbar);aj.each(function(){var al=f(this).css("background-image");var ak=al.replace(/\.(?=[^\.]+$)/g,"@2x.");f(this).css("background-size","48px 128px");f(this).css("background-image",ak)})}};var L=function(ai){var aj="-"+ai.outerHeight()+"px";if(ai.css("margin-top")==aj||ai.css("display")=="none"){return true}else{return false}};var Q=function(al,ak,aj,an,am,ap){var ai=function(){if(ap){ap(al,ak)}};var ao="-"+ak.outerHeight()+"px";if(typeof aj=="undefined"){if(L(ak)){aj=true}else{aj=false}}if(typeof an=="undefined"){an=100}if(an==false){an=false}if(typeof am=="undefined"){am=0}ak.stop(true);if(aj==true){ak.show();ak.animate({marginTop:0},ah(an,al),ai)}else{if(aj==false){if(ak.css("margin-top")=="0px"&&am){ak.delay(am)}ak.animate({marginTop:ao},ah(an,al),function(){ak.hide();ai()})}}};I.togglePlain=function(al,am,aj){if(typeof N[al]=="undefined"){return aa(al)}var ai=N[al].main;var ak=N[al].plain;if((ai.is(":animated")||ak.is(":animated"))&&typeof am=="undefined"){return}ae(al);var ao,an;if(typeof am!="undefined"){if(am){ao=ai;an=ak}else{ao=ak;an=ai}}else{if(ai.css("z-index")==1){ao=ai;an=ak}else{ao=ak;an=ai}}N[al].plainVisible=(an==ak);N[al].top=ao.scrollTop();
9N[al].left=ao.scrollLeft();N[al].scrollChanged=false;C(al);ao.stop(true);ao.fadeTo(ah(500,al),0,function(){ao.css("z-index",0)});an.stop(true);an.fadeTo(ah(500,al),1,function(){an.css("z-index",1);if(an==ak){if(aj){ak.select()}else{}}an.scrollTop(N[al].top+1);an.scrollTop(N[al].top);an.scrollLeft(N[al].left+1);an.scrollLeft(N[al].left)});an.scrollTop(N[al].top);an.scrollLeft(N[al].left);ab(al);T(al,false);return false};I.toggleNums=function(am,al,ai){if(typeof N[am]=="undefined"){aa(am);return false}if(N[am].table.is(":animated")){return false}var ao=Math.round(N[am].nums_content.outerWidth()+1);var an="-"+ao+"px";var ak;if(typeof al!="undefined"){ak=false}else{ak=(N[am].table.css("margin-left")==an)}var aj;if(ak){aj="0px";N[am].numsVisible=true}else{N[am].table.css("margin-left","0px");N[am].numsVisible=false;aj=an}if(typeof ai!="undefined"){N[am].table.css("margin-left",aj);ac(am);return false}var ap=(N[am].table.outerWidth()+J(N[am].table.css("margin-left"))>N[am].main.outerWidth());var aq=(N[am].table.outerHeight()>N[am].main.outerHeight());if(!ap&&!aq){N[am].main.css("overflow","hidden")}N[am].table.animate({marginLeft:aj},ah(200,am),function(){if(typeof N[am]!="undefined"){ac(am);if(!ap&&!aq){N[am].main.css("overflow","auto")}}});return false};I.toggleWrap=function(ai){N[ai].wrapped=!N[ai].wrapped;Y(ai)};I.toggleExpand=function(ai){var aj=!CrayonUtil.setDefault(N[ai].expanded,false);D(ai,aj)};var Y=function(ai,aj){aj=CrayonUtil.setDefault(aj,true);if(N[ai].wrapped){N[ai].addClass(g)}else{N[ai].removeClass(g)}E(ai);if(!N[ai].expanded&&aj){V(ai)}N[ai].wrapTimes=0;clearInterval(N[ai].wrapTimer);N[ai].wrapTimer=setInterval(function(){if(N[ai].is(":visible")){O(ai);N[ai].wrapTimes++;if(N[ai].wrapTimes==5){clearInterval(N[ai].wrapTimer)}}},200)};var ad=function(ai){if(typeof N[ai]=="undefined"){aa(ai);return false}};var J=function(aj){if(typeof aj!="string"){return 0}var ai=aj.replace(/[^-0-9]/g,"");if(ai.length==0){return 0}else{return parseInt(ai)}};var ac=function(ai){if(typeof N[ai]=="undefined"||typeof N[ai].numsVisible=="undefined"){return}if(N[ai].numsVisible){N[ai].numsButton.removeClass(a);N[ai].numsButton.addClass(d)}else{N[ai].numsButton.removeClass(d);N[ai].numsButton.addClass(a)}};var E=function(ai){if(typeof N[ai]=="undefined"||typeof N[ai].wrapped=="undefined"){return}if(N[ai].wrapped){N[ai].wrapButton.removeClass(a);N[ai].wrapButton.addClass(d)}else{N[ai].wrapButton.removeClass(d);N[ai].wrapButton.addClass(a)}};var W=function(ai){if(typeof N[ai]=="undefined"||typeof N[ai].expanded=="undefined"){return}if(N[ai].expanded){N[ai].expandButton.removeClass(a);N[ai].expandButton.addClass(d)}else{N[ai].expandButton.removeClass(d);N[ai].expandButton.addClass(a)}};var ab=function(ai){if(typeof N[ai]=="undefined"||typeof N[ai].plainVisible=="undefined"){return}if(N[ai].plainVisible){N[ai].plainButton.removeClass(a);N[ai].plainButton.addClass(d)}else{N[ai].plainButton.removeClass(d);N[ai].plainButton.addClass(a)}};var T=function(aj,ai,al,ak){if(typeof N[aj]=="undefined"){return aa(aj)}else{if(!N[aj].toolbarMouseover){return}else{if(ai==false&&N[aj].toolbarPreventHide){return}else{if(Z){return}}}}var am=N[aj].toolbar;if(typeof ak=="undefined"){ak=N[aj].toolbar_delay}Q(aj,am,ai,al,ak,function(){N[aj].toolbarVisible=ai})};var R=function(ak,ai){var aj=f.extend({},ak);aj.width+=ai.width;aj.height+=ai.height;return aj};var P=function(ak,ai){var aj=f.extend({},ak);aj.width-=ai.width;aj.height-=ai.height;return aj};var U=function(ai){if(typeof N[ai].initialSize=="undefined"){N[ai].toolbarHeight=N[ai].toolbar.outerHeight();N[ai].innerSize={width:N[ai].width(),height:N[ai].height()};N[ai].outerSize={width:N[ai].outerWidth(),height:N[ai].outerHeight()};N[ai].borderSize=P(N[ai].outerSize,N[ai].innerSize);N[ai].initialSize={width:N[ai].main.outerWidth(),height:N[ai].main.outerHeight()};N[ai].initialSize.height+=N[ai].toolbarHeight;N[ai].initialOuterSize=R(N[ai].initialSize,N[ai].borderSize);N[ai].finalSize={width:N[ai].table.outerWidth(),height:N[ai].table.outerHeight()};N[ai].finalSize.height+=N[ai].toolbarHeight;N[ai].finalSize.width=CrayonUtil.setMin(N[ai].finalSize.width,N[ai
9].initialSize.width);N[ai].finalSize.height=CrayonUtil.setMin(N[ai].finalSize.height,N[ai].initialSize.height);N[ai].diffSize=P(N[ai].finalSize,N[ai].initialSize);N[ai].finalOuterSize=R(N[ai].finalSize,N[ai].borderSize);N[ai].initialSize.height+=N[ai].toolbar.outerHeight()}};var D=function(al,ao){if(typeof N[al]=="undefined"){return aa(al)}if(typeof ao=="undefined"){return}var aj=N[al].main;var aq=N[al].plain;if(ao){if(typeof N[al].expanded=="undefined"){U(al);N[al].expandTime=CrayonUtil.setRange(N[al].diffSize.width/3,300,800);N[al].expanded=false;var ap=N[al].finalOuterSize;N[al].placeholder=f("<div></div>");N[al].placeholder.addClass(y);N[al].placeholder.css(ap);N[al].before(N[al].placeholder);N[al].placeholder.css("margin",N[al].css("margin"));f(window).bind("resize",K)}var am={height:"auto","min-height":"none","max-height":"none"};var ai={width:"auto","min-width":"none","max-width":"none"};N[al].outerWidth(N[al].outerWidth());N[al].css({"min-width":"none","max-width":"none"});var an={width:N[al].finalOuterSize.width};if(!N[al].mainHeightAuto&&!N[al].hasOneLine){an.height=N[al].finalOuterSize.height;N[al].outerHeight(N[al].outerHeight())}aj.css(am);aj.css(ai);N[al].stop(true);N[al].animate(an,ah(N[al].expandTime,al),function(){N[al].expanded=true;W(al)});N[al].placeholder.show();f("body").prepend(N[al]);N[al].addClass(t);K()}else{var ar=N[al].initialOuterSize;var ak=N[al].toolbar_delay;if(ar){N[al].stop(true);if(!N[al].expanded){N[al].delay(ak)}var an={width:ar.width};if(!N[al].mainHeightAuto&&!N[al].hasOneLine){an.height=ar.height}N[al].animate(an,ah(N[al].expandTime,al),function(){af(al)})}else{setTimeout(function(){af(al)},ak)}N[al].placeholder.hide();N[al].placeholder.before(N[al]);N[al].css({left:"auto",top:"auto"});N[al].removeClass(t)}ae(al);if(ao){Y(al,false)}};var K=function(){for(uid in N){if(N[uid].hasClass(t)){N[uid].css(N[uid].placeholder.offset())}}};var af=function(ai){N[ai].expanded=false;V(ai);W(ai);if(N[ai].wrapped){Y(ai)}};var M=function(al,aj,am){if(typeof N[al]=="undefined"){return aa(al)}if(typeof aj=="undefined"||am||N[al].expanded){return}var ai=N[al].main;var ak=N[al].plain;if(aj){ai.css("overflow","auto");ak.css("overflow","auto");if(typeof N[al].top!="undefined"){visible=(ai.css("z-index")==1?ai:ak);visible.scrollTop(N[al].top-1);visible.scrollTop(N[al].top);visible.scrollLeft(N[al].left-1);visible.scrollLeft(N[al].left)}}else{visible=(ai.css("z-index")==1?ai:ak);N[al].top=visible.scrollTop();N[al].left=visible.scrollLeft();ai.css("overflow","hidden");ak.css("overflow","hidden")}N[al].scrollChanged=true;C(al)};var C=function(ai){N[ai].table.style("width","100%","important");var aj=setTimeout(function(){N[ai].table.style("width","");clearInterval(aj)},10)};var V=function(ak){var aj=N[ak].main;var ai=N[ak].mainStyle;aj.css(ai);N[ak].css("height","auto");N[ak].css("width",ai.width);N[ak].css("max-width",ai["max-width"]);N[ak].css("min-width",ai["min-width"])};var ae=function(ai){N[ai].plain.outerHeight(N[ai].main.outerHeight())};var O=function(ai){f(j,N[ai]).each(function(){var al=f(this).attr("data-line");var ak=f("#"+al);var aj=null;if(N[ai].wrapped){ak.css("height","");aj=ak.outerHeight();aj=aj?aj:""}else{aj=ak.attr("data-height");aj=aj?aj:"";ak.css("height",aj)}f(this).css("height",aj)})};var ah=function(ai,aj){if(ai=="fast"){ai=200}else{if(ai=="slow"){ai=600}else{if(!S(ai)){ai=parseInt(ai);if(isNaN(ai)){return 0}}}}return ai*N[aj].time};var S=function(ai){return typeof ai=="number"}};f(document).ready(function(){CrayonSyntax.init()})})(jQueryCrayon);
10(function(e){function t(){var e=location.href;hashtag=e.indexOf("#prettyPhoto")!==-1?decodeURI(e.substring(e.indexOf("#prettyPhoto")+1,e.length)):false;return hashtag}function n(){if(typeof theRel=="undefined")return;location.hash=theRel+"/"+rel_index+"/"}function r(){if(location.href.indexOf("#prettyPhoto")!==-1)location.hash="prettyPhoto"}function i(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n="[\\?&]"+e+"=([^&#]*)";var r=new RegExp(n);var i=r.exec(t);return i==null?"":i[1]}e.prettyPhoto={version:"3.1.5"};e.fn.prettyPhoto=function(s){function g(){e(".pp_loaderIcon").hide();projectedTop=scroll_pos["scrollTop"]+(d/2-a["containerHeight"]/2);if(projectedTop<0)projectedTop=0;$ppt.fadeTo(settings.animation_speed,1);$pp_pic_holder.find(".pp_content").animate({height:a["contentHeight"],width:a["contentWidth"]},settings.animation_speed);
10$pp_pic_holder.animate({top:projectedTop,left:v/2-a["containerWidth"]/2<0?0:v/2-a["containerWidth"]/2,width:a["containerWidth"]},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(a["height"]).width(a["width"]);$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed);if(isSet&&S(pp_images[set_position])=="image"){$pp_pic_holder.find(".pp_hoverContainer").show()}else{$pp_pic_holder.find(".pp_hoverContainer").hide()}if(settings.allow_expand){if(a["resized"]){e("a.pp_expand,a.pp_contract").show()}else{e("a.pp_expand").hide()}}if(settings.autoplay_slideshow&&!m&&!f)e.prettyPhoto.startSlideshow();settings.changepicturecallback();f=true});C();s.ajaxcallback()}function y(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){e(".pp_loaderIcon").show();t()})}function b(t){t>1?e(".pp_nav").show():e(".pp_nav").hide()}function w(e,t){resized=false;E(e,t);imageWidth=e,imageHeight=t;if((p>v||h>d)&&doresize&&settings.allow_resize&&!u){resized=true,fitting=false;while(!fitting){if(p>v){imageWidth=v-200;imageHeight=t/e*imageWidth}else if(h>d){imageHeight=d-200;imageWidth=e/t*imageHeight}else{fitting=true}h=imageHeight,p=imageWidth}if(p>v||h>d){w(p,h)}E(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(h),containerWidth:Math.floor(p)+settings.horizontal_padding*2,contentHeight:Math.floor(l),contentWidth:Math.floor(c),resized:resized}}function E(t,n){t=parseFloat(t);n=parseFloat(n);$pp_details=$pp_pic_holder.find(".pp_details");$pp_details.width(t);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(e("body")).css({position:"absolute",top:-1e4});detailsHeight+=$pp_details.height();detailsHeight=detailsHeight<=34?36:detailsHeight;$pp_details.remove();$pp_title=$pp_pic_holder.find(".ppt");$pp_title.width(t);titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom"));$pp_title=$pp_title.clone().appendTo(e("body")).css({position:"absolute",top:-1e4});titleHeight+=$pp_title.height();$pp_title.remove();l=n+detailsHeight;c=t;h=l+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();p=t}function S(e){if(e.match(/youtube\.com\/watch/i)||e.match(/youtu\.be/i)){return"youtube"}else if(e.match(/vimeo\.com/i)){return"vimeo"}else if(e.match(/\b.mov\b/i)){return"quicktime"}else if(e.match(/\b.swf\b/i)){return"flash"}else if(e.match(/\biframe=true\b/i)){return"iframe"}else if(e.match(/\bajax=true\b/i)){return"ajax"}else if(e.match(/\bcustom=true\b/i)){return"custom"}else if(e.substr(0,1)=="#"){return"inline"}else{return"image"}}function x(){if(doresize&&typeof $pp_pic_holder!="undefined"){scroll_pos=T();contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width();projectedTop=d/2+scroll_pos["scrollTop"]-contentHeight/2;if(projectedTop<0)projectedTop=0;if(contentHeight>d)return;$pp_pic_holder.css({top:projectedTop,left:v/2+scroll_pos["scrollLeft"]-contentwidth/2})}}function T(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}}else if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}}else if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}}function N(){d=e(window).height(),v=e(window).width();if(typeof $pp_overlay!="undefined")$pp_overlay.height(e(document).height()).width(v)}function C(){if(isSet&&settings.overlay_gallery&&S(pp_images[set_position])=="image"){itemWidth=52+5;navWidth=settings.theme=="facebook"||settings.theme=="pp_default"?50:30;itemsPerPage=Math.floor((a["containerWidth"]-100-navWidth)/itemWidth);itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length;totalPage=Math.ceil(pp_images.length/itemsPerPage)-1;if(totalPage==0){navWidth=0;$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()}else{$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show()}galleryWidth=itemsPerPage*itemWidth;fullGalleryWidth=pp_images.length*itemWidth;$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected");goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage;e.prettyPhoto.changeGalleryPage(goToPage);$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")}else{$pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave")}}function k(t){if(settings.social_tools)facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));settings.markup=settings.markup.replace("{pp_social}","");e("body").append(settings.markup);$pp_pic_holder=e(".pp_pic_holder"),$ppt=e(".ppt"),$pp_overlay=e("div.pp_overlay");if(isSet&&settings.overlay_gallery){currentGalleryPage=0;toInject="";for(var n=0;n<pp_images.length;n++){if(!pp_images[n].match(/\b(jpg|jpeg|png|gif)\b/gi)){classname="default";img_src=""}else{classname="";img_src=pp_images[n]}toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find("#pp_full_res").after(toInject);
10$pp_gallery=e(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li");$pp_gallery.find(".pp_arrow_next").click(function(){e.prettyPhoto.changeGalleryPage("next");e.prettyPhoto.stopSlideshow();return false});$pp_gallery.find(".pp_arrow_previous").click(function(){e.prettyPhoto.changeGalleryPage("previous");e.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()});itemWidth=52+5;$pp_gallery_li.each(function(t){e(this).find("a").click(function(){e.prettyPhoto.changePage(t);e.prettyPhoto.stopSlideshow();return false})})}if(settings.slideshow){$pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>');$pp_pic_holder.find(".pp_nav .pp_play").click(function(){e.prettyPhoto.startSlideshow();return false})}$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme);$pp_overlay.css({opacity:0,height:e(document).height(),width:e(window).width()}).bind("click",function(){if(!settings.modal)e.prettyPhoto.close()});e("a.pp_close").bind("click",function(){e.prettyPhoto.close();return false});if(settings.allow_expand){e("a.pp_expand").bind("click",function(t){if(e(this).hasClass("pp_expand")){e(this).removeClass("pp_expand").addClass("pp_contract");doresize=false}else{e(this).removeClass("pp_contract").addClass("pp_expand");doresize=true}y(function(){e.prettyPhoto.open()});return false})}$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){e.prettyPhoto.changePage("previous");e.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){e.prettyPhoto.changePage("next");e.prettyPhoto.stopSlideshow();return false});x()}s=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:false,opacity:.8,show_title:true,allow_resize:true,allow_expand:true,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:false,wmode:"opaque",autoplay:true,modal:false,deeplinking:true,overlay_gallery:true,overlay_gallery_max:30,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},ie6_fallback:true,markup:'<div class="pp_pic_holder">       <div class="ppt"> </div>       <div class="pp_top">        <div class="pp_left"></div>        <div class="pp_middle"></div>        <div class="pp_right"></div>       </div>       <div class="pp_content_container">        <div class="pp_left">        <div class="pp_right">         <div class="pp_content">          <div class="pp_loaderIcon"></div>          <div class="pp_fade">           <a href="#" class="pp_expand" title="Expand the image">Expand</a>           <div class="pp_hoverContainer">            <a class="pp_next" href="#">next</a>            <a class="pp_previous" href="#">previous</a>           </div>           <div id="pp_full_res"></div>           <div class="pp_details">            <div class="pp_nav">             <a href="#" class="pp_arrow_previous">Previous</a>             <p class="currentTextHolder">0/0</p>             <a href="#" class="pp_arrow_next">Next</a>            </div>            <p class="pp_description"></p>            <div class="pp_social">{pp_social}</div>            <a class="pp_close" href="#">Close</a>           </div>          </div>         </div>        </div>        </div>       </div>       <div class="pp_bottom">        <div class="pp_left"></div>        <div class="pp_middle"></div>        <div class="pp_right"></div>       </div>      </div>      <div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery">         <a href="#" class="pp_arrow_previous">Previous</a>         <div>          <ul>           {gallery}          </ul>         </div>         <a href="#" class="pp_arrow_next">Next</a>        </div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},s);var o=this,u=false,a,f,l,c,h,p,d=e(window).height(),v=e(window).width(),m;doresize=true,scroll_pos=T();e(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){x();N()});
10if(s.keyboard_shortcuts){e(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if(typeof $pp_pic_holder!="undefined"){if($pp_pic_holder.is(":visible")){switch(t.keyCode){case 37:e.prettyPhoto.changePage("previous");t.preventDefault();break;case 39:e.prettyPhoto.changePage("next");t.preventDefault();break;case 27:if(!settings.modal)e.prettyPhoto.close();t.preventDefault();break}}}})}e.prettyPhoto.initialize=function(){settings=s;if(settings.theme=="pp_default")settings.horizontal_padding=16;theRel=e(this).attr(settings.hook);galleryRegExp=/\[(?:.*)\]/;isSet=galleryRegExp.exec(theRel)?true:false;pp_images=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).attr("href")}):e.makeArray(e(this).attr("href"));pp_titles=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).find("img").attr("alt")?e(t).find("img").attr("alt"):""}):e.makeArray(e(this).find("img").attr("alt"));pp_descriptions=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).attr("title")?e(t).attr("title"):""}):e.makeArray(e(this).attr("title"));if(pp_images.length>settings.overlay_gallery_max)settings.overlay_gallery=false;set_position=jQuery.inArray(e(this).attr("href"),pp_images);rel_index=isSet?set_position:e("a["+settings.hook+"^='"+theRel+"']").index(e(this));k(this);if(settings.allow_resize)e(window).bind("scroll.prettyphoto",function(){x()});e.prettyPhoto.open();return false};e.prettyPhoto.open=function(t){if(typeof settings=="undefined"){settings=s;pp_images=e.makeArray(arguments[0]);pp_titles=arguments[1]?e.makeArray(arguments[1]):e.makeArray("");pp_descriptions=arguments[2]?e.makeArray(arguments[2]):e.makeArray("");isSet=pp_images.length>1?true:false;set_position=arguments[3]?arguments[3]:0;k(t.target)}if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden");b(e(pp_images).size());e(".pp_loaderIcon").show();if(settings.deeplinking)n();if(settings.social_tools){facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));$pp_pic_holder.find(".pp_social").html(facebook_like_link)}if($ppt.is(":hidden"))$ppt.css("opacity",0).show();$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+e(pp_images).size());if(typeof pp_descriptions[set_position]!="undefined"&&pp_descriptions[set_position]!=""){$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position]))}else{$pp_pic_holder.find(".pp_description").hide()}movie_width=parseFloat(i("width",pp_images[set_position]))?i("width",pp_images[set_position]):settings.default_width.toString();movie_height=parseFloat(i("height",pp_images[set_position]))?i("height",pp_images[set_position]):settings.default_height.toString();u=false;if(movie_height.indexOf("%")!=-1){movie_height=parseFloat(e(window).height()*parseFloat(movie_height)/100-150);u=true}if(movie_width.indexOf("%")!=-1){movie_width=parseFloat(e(window).width()*parseFloat(movie_width)/100-150);u=true}$pp_pic_holder.fadeIn(function(){settings.show_title&&pp_titles[set_position]!=""&&typeof pp_titles[set_position]!="undefined"?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(" ");imgPreloader="";skipInjection=false;switch(S(pp_images[set_position])){case"image":imgPreloader=new Image;nextImage=new Image;if(isSet&&set_position<e(pp_images).size()-1)nextImage.src=pp_images[set_position+1];prevImage=new Image;if(isSet&&pp_images[set_position-1])prevImage.src=pp_images[set_position-1];$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]);imgPreloader.onload=function(){a=w(imgPreloader.width,imgPreloader.height);g()};imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist.");e.prettyPhoto.close()};imgPreloader.src=pp_images[set_position];break;case"youtube":a=w(movie_width,movie_height);movie_id=i("v",pp_images[set_position]);if(movie_id==""){movie_id=pp_images[set_position].split("youtu.be/");movie_id=movie_id[1];if(movie_id.indexOf("?")>0)movie_id=movie_id.substr(0,movie_id.indexOf("?"));if(movie_id.indexOf("&")>0)movie_id=movie_id.substr(0,movie_id.indexOf("&"))}movie="https://www.youtube.com/embed/"+movie_id;i("rel",pp_images[set_position])?movie+="?rel="+i("rel",pp_images[set_position]):movie+="?rel=1";if(settings.autoplay)movie+="&autoplay=1";toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":a=w(movie_width,movie_height);movie_id=pp_images[set_position];var t=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/;var n=movie_id.match(t);movie="https://player.vimeo.com/video/"+n[3]+"?title=0&byline=0&portrait=0";if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=a["width"]+"/embed/?moog_width="+a["width"];toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,a["height"]).replace(/{path}/g,movie);break;case"quicktime":a=w(movie_width,movie_height);a["height"]+=15;a["contentHeight"]+=15;a["containerHeight"]+=15;toInject=settings.quicktime_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}
10/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":a=w(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf("?"));toInject=settings.flash_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":a=w(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1);toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{path}/g,frame_url);break;case"ajax":doresize=false;a=w(movie_width,movie_height);doresize=true;skipInjection=true;e.get(pp_images[set_position],function(e){toInject=settings.inline_markup.replace(/{content}/g,e);$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()});break;case"custom":a=w(movie_width,movie_height);toInject=settings.custom_markup;break;case"inline":myClone=e(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(e("body")).show();doresize=false;a=w(e(myClone).width(),e(myClone).height());doresize=true;e(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,e(pp_images[set_position]).html());break}if(!imgPreloader&&!skipInjection){$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()}});return false};e.prettyPhoto.changePage=function(t){currentGalleryPage=0;if(t=="previous"){set_position--;if(set_position<0)set_position=e(pp_images).size()-1}else if(t=="next"){set_position++;if(set_position>e(pp_images).size()-1)set_position=0}else{set_position=t}rel_index=set_position;if(!doresize)doresize=true;if(settings.allow_expand){e(".pp_contract").removeClass("pp_contract").addClass("pp_expand")}y(function(){e.prettyPhoto.open()})};e.prettyPhoto.changeGalleryPage=function(e){if(e=="next"){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0}else if(e=="previous"){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage}else{currentGalleryPage=e}slide_speed=e=="next"||e=="previous"?settings.animation_speed:0;slide_to=currentGalleryPage*itemsPerPage*itemWidth;$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)};e.prettyPhoto.startSlideshow=function(){if(typeof m=="undefined"){$pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){e.prettyPhoto.stopSlideshow();return false});m=setInterval(e.prettyPhoto.startSlideshow,settings.slideshow)}else{e.prettyPhoto.changePage("next")}};e.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){e.prettyPhoto.startSlideshow();return false});clearInterval(m);m=undefined};e.prettyPhoto.close=function(){if($pp_overlay.is(":animated"))return;e.prettyPhoto.stopSlideshow();$pp_pic_holder.stop().find("object,embed").css("visibility","hidden");e("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){e(this).remove()});$pp_overlay.fadeOut(settings.animation_speed,function(){if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible");e(this).remove();e(window).unbind("scroll.prettyphoto");r();settings.callback();doresize=true;f=false;delete settings})};if(!pp_alreadyInitialized&&t()){pp_alreadyInitialized=true;hashIndex=t();hashRel=hashIndex;hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1);hashRel=hashRel.substring(0,hashRel.indexOf("/"));setTimeout(function(){e("a["+s.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)}return this.unbind("click.prettyphoto").bind("click.prettyphoto",e.prettyPhoto.initialize)};})(jQuery);var pp_alreadyInitialized=false;
11
12;(function($){$(document).ready(function(){function setupTabs(){$('.rtbs').each(function(){var rtbs_def_colors={backgroundColor:''}
13rtbs_def_colors.backgroundColor=$(this).find('.rtbs_inactive_tab_background').html();var color=$(this).find('.rtbs_color').html();var breakpoint=$(this).find('.rtbs_breakpoint').html();var rtbssize=$(this).width();if(rtbssize>breakpoint){$(this).find('.rtbs_menu a').not('.active').css(rtbs_def_colors);$(this).removeClass('rtbs_full');$(this).find(".mobile_toggle").hide();$(this).find('.rtbs_menu li:not(".mobile_toggle")').show();$(this).find('.rtbs_menu li:not(".mobile_toggle")').css("display","inline-block")}
14else{$(this).addClass('rtbs_full');$(this).find('.rtbs_menu li:not(".mobile_toggle")').css("display","block");
14$(this).find(".mobile_toggle").css('background',color);$(this).find('.rtbs_menu li:not(".mobile_toggle")').hide()}});$('.rtbs').each(function(){var current_text=$(this).find("a.active").text();$(this).find(".mobile_toggle").empty();$(this).find(".mobile_toggle").append(current_text)})}
15$("body").on('click','.dmb_show_preview_tab_set',function(){setupTabs()});setupTabs();var resizeTimerTwo;$(window).resize(function(){clearTimeout(resizeTimerTwo);resizeTimerTwo=setTimeout(function(){$('.rtbs').each(function(){var breakpoint=$(this).find('.rtbs_breakpoint').html();var rtbssize=$(this).width();if(rtbssize>breakpoint){$(this).removeClass('rtbs_full')}else{$(this).addClass('rtbs_full')}})},100)});var resizeTimerOne;$(window).resize(function(){clearTimeout(resizeTimerOne);resizeTimerOne=setTimeout(function(){$('.rtbs').each(function(){var rtbs_def_colors={backgroundColor:''}
16rtbs_def_colors.backgroundColor=$(this).find('.rtbs_inactive_tab_background').html();var breakpoint=$(this).find('.rtbs_breakpoint').html();var color=$(this).find('.rtbs_color').html();var rtbssize=$(this).width();if(rtbssize>breakpoint){$(this).removeClass('rtbs_full');$(this).find(".mobile_toggle").hide();$(this).find('.rtbs_menu li:not(".mobile_toggle")').show();$(this).find('.rtbs_menu li:not(".mobile_toggle")').css("display","inline-block");$(this).find('.rtbs_menu li a').css(rtbs_def_colors);$(this).find('.rtbs_menu li').find('.active').css('background',color)}else{$(this).addClass('rtbs_full');$(this).find(".mobile_toggle").show();$(this).find(".mobile_toggle").css('background',color);$(this).find('.rtbs_menu li:not(".mobile_toggle")').css("display","block");$(this).find('.rtbs_menu li:not(".mobile_toggle")').hide()}})},100)});$("body").on('click','.mobile_toggle',function(){var color=$(this).closest('.rtbs').find('.rtbs_color').html();
16$(this).parent().children('li').not(".rtbs_menu li.mobile_toggle").slideToggle(90);$(this).siblings('.current').css("display","none");$(this).css('background',color);$(this).siblings().find('a').css('background','#f1f1f1');return!1});$("body").on('click',".rtbs_menu li > a",function(){var rtbs_def_colors={backgroundColor:''}
17rtbs_def_colors.backgroundColor=$(this).closest('.rtbs').find('.rtbs_inactive_tab_background').html();var color=$(this).closest('.rtbs').find('.rtbs_color').html();var breakpoint=$(this).closest('.rtbs').find('.rtbs_breakpoint').html();var rtbssize=$(this).closest('.rtbs').width();if(rtbssize>breakpoint){$(this).addClass('active');$(this).css('background',color);$(this).parent().siblings().children().css(rtbs_def_colors);$(this).parent().siblings().children().removeClass('active');$(this).closest('.rtbs').children('.rtbs_content').hide();var current_id=$(this).attr('data-tab');$(current_id).fadeToggle(0);var current_text=$(this).closest('.rtbs').find("a.active").text();$(this).closest('.rtbs').find(".mobile_toggle").empty();$(this).closest('.rtbs').find(".mobile_toggle").append(current_text);$(this).parent().siblings().removeClass('current');$(this).parent().addClass('current');return!1}else{$(this).closest('.rtbs').find('.rtbs_menu li').css("display","block");$(this).addClass('active');$(this).parent().siblings().children().removeClass('active');$(this).closest('.rtbs').find('.rtbs_content').hide();var current_id=$(this).attr('data-tab');$(current_id).fadeToggle(0);$(this).closest('.rtbs').find('.rtbs_menu li').not('.mobile_toggle').slideToggle(0);var current_text=$(this).closest('.rtbs').find("a.active").text();$(this).closest('.rtbs').find(".mobile_toggle").empty();$(this).closest('.rtbs').find(".mobile_toggle").append(current_text);$(this).parent().siblings().removeClass('current');$(this).parent().addClass('current');return!1}})})})(jQuery);
18function N2Deferred(){this.state=0,this.args=null,this.callbacks=[]}function NextendThrottle(e,t){t||(t=250);var n,r;return function(){var s=this,i=+new Date,a=arguments;n&&n+t>i?(clearTimeout(r),r=setTimeout(function(){n=i,e.apply(s,a)},t)):(n=i,e.apply(s,a))}}function NextendDeBounce(e,t,n){var r;return function(){var s=this,i=arguments,a=function(){r=null,n||e.apply(s,i)},o=n&&!r;clearTimeout(r),r=setTimeout(a,t),o&&e.apply(s,i)}}(function(){var e=this;e.N2_=e.N2_||{r:[],d:[]},e.N2R=e.N2R||function(){e.N2_.r.push(arguments)},e.N2D=e.N2D||function(){e.N2_.d.push(arguments)}}).call(window),N2Deferred.prototype._doCallbacks=function(){if(0!==this.state)for(;this.callbacks.length>0;)this.callbacks.shift().apply(window,this.args)},N2Deferred.prototype.resolve=function(){this.state=1,this.args=arguments,this._doCallbacks()},N2Deferred.prototype.reject=function(){this.state=-1,this._doCallbacks()},N2Deferred.prototype.then=function(e){this.callbacks.push(e),this._doCallbacks()},N2Deferred.n2When=function(e){var t=e.length,n=new N2Deferred;if(0===t)n.resolve();else for(var r=0,s=function(){r++,r===t&&n.resolve()},i=0;t>i;i++)e[i]instanceof N2Deferred?e[i].then(s):s();return n},function(e){"use strict";this.N2Classes={};var t={};this.N2D=function(n,r,s){var i=[];if(n&&t[n]===e&&(t[n]=new N2Deferred),2===arguments.length?(s=arguments[1],r=[]):"string"==typeof r&&(r=[r]),r=r||[],"$"!==n&&r.push("$"),r.length)for(var a=0;a<r.length;a++)t[r[a]]===e&&(t[r[a]]=new N2Deferred),i.push(t[r[a]]);N2Deferred.n2When(i).then(function(){if("function"==typeof s){var e=s.apply(N2Classes,[N2Classes.$]);e instanceof N2Deferred?e.then(function(e){N2Classes[n]=e,t[n].resolve()}):(N2Classes[n]=e,t[n].resolve())}else N2Classes[n]=!0,t[n].resolve()})};for(var n=0;n<this.N2_.d.length;n++)this.N2D.apply(this,this.N2_.d[n]);this.N2R=function(n,r){var s=[];if(1===arguments.length?(r=arguments[0],n=[]):"string"==typeof n&&(n=[n]),n=n||[],n.push("$"),n!==e&&n)for(var i=0;i<n.length;i++)t[n[i]]===e&&(t[n[i]]=new N2Deferred),s.push(t[n[i]]);N2Deferred.n2When(s).then(function(){for(var e=[N2Classes.$],t=0;t<n.length-1;t++)e.push(N2Classes[n[t]]);r.apply(N2Classes,e)})};for(var r=0;r<this.N2_.r.length;r++)this.N2R.apply(this,this.N2_.r[r])}.call(window),function(){var e=new Date,t=function(){if(window.nextend&&window.jQuery){var n=window.jQuery;N2D("$",function(){return window.n2=n,n}),N2R("nextend-frontend",function(){n(document).ready(function(){N2D("documentReady")}),"complete"===document.readyState?N2D("windowLoad"):n(window).on("load",function(){N2D("windowLoad")})})}else if(setTimeout(t,20),(new Date).getTime()-e.getTime()>1e3){var r=document.createElement("script");r.src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js",document.getElementsByTagName("head")[0].appendChild(r)}};t()}(),N2R("$",function(e){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?n(2*e)/2:1-n(-2*e+2)/2}})}),N2D("n2");
19(function(){var e=this;e.N2_=e.N2_||{r:[],d:[]},e.N2R=e.N2R||function(){e.N2_.r.push(arguments)},e.N2D=e.N2D||function(){e.N2_.d.push(arguments)}}).call(window),N2D("StringHelper",function(){return{capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1)}}}),window.n2c=function(e){var t=!1,n={logs:[],errors:[],warns:[],infos:[]};return{log:function(){n.logs.push(arguments),t&&e.log&&e.log.apply(e,arguments)},warn:function(){n.warns.push(arguments),t&&e.warn&&e.warn.apply(e,arguments)},error:function(){n.errors.push(arguments),t&&e.error&&e.error.apply(e,arguments)},info:function(i){n.infos.push(arguments),t&&e.info&&e.info.apply(e,arguments)},debug:function(e){t=e},logArray:function(){return n}}}(window.console),window.n2const={passiveEvents:!1,devicePixelRatio:window.devicePixelRatio||1,isIOS:/iPad|iPhone|iPod/.test(navigator.platform),isEdge:function(){var e=navigator.userAgent.match(/Edge\/([0-9]+)/);return null===e?!1:e[1]}(),isFirefox:navigator.userAgent.toLowerCase().indexOf("firefox")>-1,isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Silk/i.test(navigator.userAgent),isPhone:/Android/i.test(navigator.userAgent)&&/mobile/i.test(navigator.userAgent)||/webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isIE:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}return!1}(),isSamsungBrowser:navigator.userAgent.match(/SamsungBrowser/i),isBot:/bot|googlebot|crawler|spider|robot|crawling|Google Search Console/i.test(navigator.userAgent),lightboxMobileNewTab:1,isVideoAutoplayAllowed:function(){var e=!!(navigator.platform.match(/(Win|Mac)/)||!/Mobi/.test(navigator.userAgent)||"playsInl
19ine"in document.createElement("video")||"webkit-playsinline"in document.createElement("video")||navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)&&parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2])>=53||navigator.userAgent.match(/Android.*(Firefox|Edge|Opera)/));return window.n2const.isVideoAutoplayAllowed=function(){return e},e},isWaybackMachine:function(){var e="undefined"!=typeof window.__wm;return window.n2const.isWaybackMachine=function(){return e},e},setLocation:function(e){"function"==typeof window.zajax_goto?window.zajax_goto(e):window.location=e}},window.n2const.IOSVersion=function(){if(window.n2const.isIOS){var e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return e?e[1]:100}return!1}(),window.n2const.isTablet=function(){return window.n2const.isPhone?!1:/Android|iPad|tablet|Silk/i.test(navigator.userAgent)}();try{var opts=Object.defineProperty({},"passive",{get:function(){window.n2const.passiveEvents=!0}});window.addEventListener("test",null,opts)}catch(e){}window.n2const.rtl=function(){return window.n2const.isRTL=function(){return window.n2const.rtl.isRtl},"rtl"===document.documentElement.getAttribute("dir")?{isRtl:!0,marginLeft:"marginRight",marginRight:"marginLeft",left:"right",right:"left",next:"previous",previous:"next",modifier:-1}:(document.documentElement.setAttribute("dir","ltr"),{isRtl:!1,marginLeft:"marginLeft",marginRight:"marginRight",left:"left",right:"right",next:"next",previous:"previous",modifier:1})}(),N2R("$",function(e){n2const.isRetina=function(){return window.matchMedia&&(window.matchMedia("only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx), only screen and (min-resolution: 75.6dpcm)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min--moz-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2)").matches)||window.devicePixelRatio&&window.devicePixelRatio>=2}(),nextend.triggerResize=function(){var t=100,n=null,i=e(window);return function(){n&&clearTimeout(n),n=setTimeout(function(){i.trigger("resize"),n=null},t)}}(),nextend.shouldPreventClick=!1,nextend.preventClick=function(){nextend.shouldPreventClick||(nextend.shouldPreventClick=!0,setTimeout(function(){nextend.shouldPreventClick=!1},300))},nextend.shouldPreventMouseUp=!1,nextend.preventMouseUp=function(){nextend.shouldPreventMouseUp?e("html").attr("dir","ltr"):(nextend.shouldPreventMouseUp=!0,setTimeout(function(){nextend.shouldPreventMouseUp=!1},300))}}),window.n2FilterProperty=!1;var element=document.createElement("div");void 0!==element.style.webkitFilter?window.n2FilterProperty="webkitFilter":void 0!==element.style.filter&&(window.n2FilterProperty="filter"),N2D("Base64",function(){var e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);128>i?t+=String.fromCharCode(i):i>127&&2048>i?(t+=String.fromCharCode(i>>6|192),t+=String.fromCharCode(63&i|128)):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128),t+=String.fromCharCode(63&i|128))}return t},t=function(e){for(var t="",n=0,i=c1=c2=0;n<e.length;)i=e.charCodeAt(n),128>i?(t+=String.fromCharCode(i),n++):i>191&&224>i?(c2=e.charCodeAt(n+1),t+=String.fromCharCode((31&i)<<6|63&c2),n+=2):(c2=e.charCodeAt(n+1),c3=e.charCodeAt(n+2),t+=String.fromCharCode((15&i)<<12|(63&c2)<<6|63&c3),n+=3);return t};return N2Classes.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(t){var n,i,r,o,a,s,l,T="",u=0;for(t=e(t);u<t.length;)n=t.charCodeAt(u++),i=t.charCodeAt(u++),r=t.charCodeAt(u++),o=n>>2,a=(3&n)<<4|i>>4,s=(15&i)<<2|r>>6,l=63&r,isNaN(i)?s=l=64:isNaN(r)&&(l=64),T=T+this._keyStr.charAt(o)+this._keyStr.charAt(a)+this._keyStr.charAt(s)+this._keyStr.charAt(l);return T},decode:function(e){var n,i,r,o,a,s,l,T="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)o=this._keyStr.indexOf(e.charAt(u++)),a=this._keyStr.indexOf(e.charAt(u++)),s=this._keyStr.indexOf(e.charAt(u++)),l=this._keyStr.indexOf(e.charAt(u++)),n=o<<2|a>>4,i=(15&a)<<4|s>>2,r=(3&s)<<6|l,T+=String.fromCharCode(n),64!=s&&(T+=String.fromCharCode(i)),64!=l&&(T+=String.fromCharCode(r));return T=t(T)}},N2Classes.Base64}),!function(e,t){e(function(){"use strict";function e(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function n(e,t){var n,i,r=e.length;if(!r||!t)return!1;for(n=t.toLowerCase(),i=0;r>i;++i)if(n===e[i].toLowerCase())return!0;return!1}function i(e){for(var t in e)s.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function r(e,t){this.ua=e||"",this._cache={},this.maxPhoneWidth=t||600}var o={};o.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",Samsung:"Samsung
vendor: 5,289 bytes, line 19
19|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205
19",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLI
19M|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T360|SM-T533",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI)\\b",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MI
19D810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris E10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfVie
19wTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.*\\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",
19NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",Hudl:"Hudl HT7S3",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bJolla\\b|\\bTP750\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",
20WindowsPhoneOS:"Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",Tizen:"Tizen",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:"Firefox/[VER]",Fennec:"Fennec/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]","UC Browser":"UC Browser[VER]",MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},o.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
vendor: 5,396 bytes, line 20
20sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i};var a,s=Object.prototype.hasOwnProperty;return o.FALLBACK_PHONE="UnknownPhone",o.FALLBACK_TABLET="UnknownTablet",o.FALLBACK_MOBILE="UnknownMobile",a="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,n,r,l,T,u=o.mobileDetectRules;for(e in u.props)if(s.call(u.props,e)){for(t=u.props[e],a(t)||(t=[t]),l=t.length,r=0;l>r;++r)n=t[r],T=n.indexOf("[VER]"),T>=0&&(n=n.substring(0,T)+"([\\w._\\+]+)"+n.substring(T+5)),t[r]=new RegExp(n,"i");u.props[e]=t}i(u.oss),i(u.phones),i(u.tablets),i(u.uas),i(u.utils),u.oss0={WindowsPhoneOS:u.oss.WindowsPhoneOS,WindowsMobileOS:u.oss.WindowsMobileOS}}(),o.findMatch=function(e,t){for(var n in e)if(s.call(e,n)&&e[n].test(t))return n;return null},o.findMatches=function(e,t){var n=[];for(var i in e)s.call(e,i)&&e[i].test(t)&&n.push(i);return n},o.getVersionStr=function(e,t){var n,i,r,a,l=o.mobileDetectRules.props;if(s.call(l,e))for(n=l[e],r=n.length,i=0;r>i;++i)if(a=n[i].exec(t),null!==a)return a[1];return null},o.getVersion=function(e,t){var n=o.getVersionStr(e,t);return n?o.prepareVersionNo(n):NaN},o.prepareVersionNo=function(e){var t;return t=e.split(/[a-z._ \/\-]/i),1===t.length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},o.isMobileFallback=function(e){return o.detectMobileBrowsers.fullPattern.test(e)||o.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},o.isTabletFallback=function(e){return o.detectMobileBrowsers.tabletPattern.test(e)},o.prepareDetectionCache=function(e,n,i){if(e.mobile===t){var a,s,l;return(s=o.findMatch(o.mobileDetectRules.tablets,n))?(e.mobile=e.tablet=s,void(e.phone=null)):(a=o.findMatch(o.mobileDetectRules.phones,n))?(e.mobile=e.phone=a,void(e.tablet=null)):void(o.isMobileFallback(n)?(l=r.isPhoneSized(i),l===t?(e.mobile=o.FALLBACK_MOBILE,e.tablet=e.phone=null):l?(e.mobile=e.phone=o.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=o.FALLBACK_TABLET,e.phone=null)):o.isTabletFallback(n)?(e.mobile=e.tablet=o.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null)}},o.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile")<=5.2,"C")},o.detectOS=function(e){return o.findMatch(o.mobileDetectRules.oss0,e)||o.findMatch(o.mobileDetectRules.oss,e)},o.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},r.prototype={constructor:r,mobile:function(){return o.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return o.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return o.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===t&&(this._cache.userAgent=o.findMatch(o.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===t&&(this._cache.userAgents=o.findMatches(o.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===t&&(this._cache.os=o.detectOS(this.ua)),this._cache.os},version:function(e){return o.getVersion(e,this.ua)},versionStr:function(e){return o.getVersionStr(e,this.ua)},is:function(t){return n(this.userAgents(),t)||e(t,this.os())||e(t,this.phone())||e(t,this.tablet())||n(o.findMatches(o.mobileDetectRules.utils,this.ua),t)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return r.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===t&&(this._cache.grade=
20o.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?r.isPhoneSized=function(e){return 0>e?t:o.getDeviceSmallerSide()<=e}:r.isPhoneSized=function(){},r._impl=o,r})}(function(e){return function(e){window.MobileDetect=e()}}()),N2D("ImagesLoaded",function(e,t){(function(){"use strict";function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,a=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):a.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,a=this.getListenersAsObject(e);for(r in a)if(a.hasOwnProperty(r))for(i=a[r].length;i--;)n=a[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},this.EventEmitter=e}).call(window),function(e){function n(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var i=document.documentElement,r=function(){};i.addEventListener?r=function(e,t,n){e.addEventListener(t,n,!1)}:i.attachEvent&&(r=function(e,t,i){e[t+i]=i.handleEvent?function(){var t=n(e);i.handleEvent.call(i,t)}:function(){var t=n(e);i.call(e,t)},e.attachEvent("on"+t,e[t+i])});var o=function(){};i.removeEventListener?o=function(e,t,n){e.removeEventListener(t,n,!1)}:i.detachEvent&&(o=function(e,n,i){e.detachEvent("on"+n,e[n+i]);try{delete e[n+i]}catch(r){e[n+i]=t}});var a={bind:r,unbind:o};e.eventie=a}(window),function(e,t){"use strict";e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(n,i,r){function o(e,t){for(var n in t)e[n]=t[n];return e}function a(e){return"[object Array]"==h.call(e)}function s(e){var t=[];if(a(e))t=e;else if("number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t}function l(t,n,i){if(!(this instanceof l))return new l(t,n,i);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=s(t),this.options=o({},this.options),"function"==typeof n?i=n:o(this.options,n),i&&this.on("always",i),this.getImages(),e&&(this.jqDeferred=new e.Deferred);var r=this;setTimeout(function(){r.check()})}function T(e){this.img=e}function u(e,t){this.url=e,this.element=t,this.img=new Image}var c=n.console,h=Object.prototype.toString;l.prototype=new i,l.prototype.options={},l.prototype.getImages=function(){this.images=[];for(var e=0;e<this.elements.length;e++){var t=this.elements[e];this.addElementImages(t)}},l.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroun
20dImages(e);var t=e.nodeType;if(t&&d[t]){for(var n=e.querySelectorAll("img"),i=0;i<n.length;i++){var r=n[i];this.addImage(r)}if("string"==typeof this.options.background){var o=e.querySelectorAll(this.options.background);for(i=0;i<o.length;i++){var a=o[i];this.addElementBackgroundImages(a)}}}};var d={1:!0,9:!0,11:!0};l.prototype.addElementBackgroundImages=function(e){var t=S(e),n=/url\(["]*([^"\)]+)["]*\)/gi,i=n.exec(t.backgroundImage);if(!i){var r=/url\([']*([^'\)]+)[']*\)/gi;i=r.exec(t.backgroundImage)}for(;null!==i;){var o=i&&i[1];o&&this.addBackground(o,e),i=n.exec(t.backgroundImage)}};var S=n.getComputedStyle||function(e){return e.currentStyle};return l.prototype.addImage=function(e){var t=new T(e);this.images.push(t)},l.prototype.addBackground=function(e,t){var n=new u(e,t);this.images.push(n)},l.prototype.check=function(){function e(e,n,i){setTimeout(function(){t.progress(e,n,i)})}var t=this;if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();for(var n=0;n<this.images.length;n++){var i=this.images[n];i.once("progress",e),i.check()}},l.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emit("progress",this,e,t),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&c&&c.log("progress: "+n,e,t)},l.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emit(e,this),this.emit("always",this),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},T.prototype=new i,T.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,r.bind(this.proxyImage,"load",this),r.bind(this.proxyImage,"error",this),r.bind(this.img,"load",this),r.bind(this.img,"error",this),void(this.proxyImage.src=this.img.src))},T.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth!==t},T.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("progress",this,this.img,t)},T.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},T.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},T.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},T.prototype.unbindEvents=function(){r.unbind(this.proxyImage,"load",this),r.unbind(this.proxyImage,"error",this),r.unbind(this.img,"load",this),r.unbind(this.img,"error",this)},u.prototype=new T,u.prototype.check=function(){r.bind(this.img,"load",this),r.bind(this.img,"error",this),this.img.src=this.url;var e=this.getIsImageComplete();e&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},u.prototype.unbindEvents=function(){r.unbind(this.img,"load",this),r.unbind(this.img,"error",this)},u.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("progress",this,this.element,t)},l.makeJQueryPlugin=function(){e&&(e.fn.n2imagesLoaded=function(t,n){var i=new l(this,t,n);return i.jqDeferred.promise(e(this))})},l.makeJQueryPlugin(),l})}),N2D("UniversalPointer",function(e,t){function n(t,n){this.el=t,this.handler=n,this.$el=e(t).data("universalclick",this),this.preventMouse=!1,this.timeouts=[],this.localListeners=[],this.globalListeners=[]}function i(t,n,i){this.el=t,this.handler=n,this.$el=e(t).data("universalenter",this),this.leaveOnSecond=i,this.preventMouse=!1,this.isActive=!1,this.timeouts=[],this.localListeners=[],this.globalListeners=[]}var r=!!(window.PointerEvent||window.MSPointerEvent||window.navigator.msPointerEnabled||window.navigator.pointerEnabled),o=!!window.TouchEvent,a=o&&navigator.userAgent.match(/iPhone|iPad|iPod/i);n.prototype.addTimeout=function(e){this.timeouts.push(e)},n.prototype.clearTimeouts=function(){for(var e=0;e<this.timeouts.length;e++)clearTimeout(this.timeouts[e]);this.timeouts=[]}
20,n.prototype.click=function(e,n){n!==t&&(e={currentTarget:n,target:this.el}),this.handler.call(this.el,e),this.clear()},n.prototype.clear=function(){for(var e=0;e<this.localListeners.length;e++)this.localListeners[e][0].removeEventListener(this.localListeners[e][1],this.localListeners[e][2],this.localListeners[e][3])},n.prototype.addGlobalEventListener=function(e,t,n){this.globalListeners.push([e,t,n]),this.el.addEventListener(e,t,n)},n.prototype.addLocalEventListener=function(e,t,n,i){this.localListeners.push([e,t,n,i]),e.addEventListener(t,n,i)},n.prototype.remove=function(){this.clear(),this.clearTimeouts();for(var e=0;e<this.globalListeners.length;e++)this.el.removeEventListener(this.globalListeners[e][0],this.globalListeners[e][1],this.globalListeners[e][2])},e.event.special.universalclick={add:function(e){var t=new n(this,e.handler);r?t.addGlobalEventListener("pointerdown",function(e){if(e.isPrimary){var n=e.currentTarget;t.addLocalEventListener(document.body.parentNode,"pointerup",function(i){i.isPrimary&&e.pointerId===i.pointerId&&(Math.abs(i.clientX-e.clientX)<10&&Math.abs(i.clientY-e.clientY)<10?t.click(i,n):t.clear())})}}):(a||t.addGlobalEventListener("click",function(e){t.preventMouse||t.click(e)}),o&&t.addGlobalEventListener("touchstart",function(e){var n=e.currentTarget;t.clearTimeouts(),t.preventMouse=!0,t.addLocalEventListener(document.body.parentNode,"touchend",function(i){Math.abs(i.changedTouches[0].clientX-e.changedTouches[0].clientX)<10&&Math.abs(i.changedTouches[0].clientY-e.changedTouches[0].clientY)<10?t.click(i,n):t.clear(),t.addTimeout(setTimeout(function(){t.preventMouse=!1},1e3))},{passive:!0})},{passive:!0}))},remove:function(){var t=e(this),n=t.data("universalclick");n&&(n.remove(),t.removeData("universalclick"))}},i.prototype.enter=function(e){return this.leaveOnSecond&&this.isActive?(this.leave(),!1):(this.handler.apply(this.el,arguments),this.isActive=!0,!0)},i.prototype.leave=function(){this.clearTimeouts();for(var e=0;e<this.localListeners.length;e++)this.localListeners[e][0].removeEventListener(this.localListeners[e][1],this.localListeners[e][2],this.localListeners[e][3]);this.isActive=!1,this.$el.triggerHandler("universalleave")},i.prototype.testLeave=function(e){this.$el.is(e)||0!==this.$el.find(e).length||this.leave()},i.prototype.addTimeout=function(e){this.timeouts.push(e)},i.prototype.clearTimeouts=function(){for(var e=0;e<this.timeouts.length;e++)clearTimeout(this.timeouts[e]);this.timeouts=[]},i.prototype.addGlobalEventListener=function(e,t,n){this.globalListeners.push([e,t,n]),this.el.addEventListener(e,t,n)},i.prototype.remove=function(){this.isActive&&this.leave(),this.clearTimeouts();for(var e=0;e<this.globalListeners.length;e++)this.el.removeEventListener(this.globalListeners[e][0],this.globalListeners[e][1],this.globalListeners[e][2])},i.prototype.addLocalEventListener=function(e,t,n,i){this.localListeners.push([e,t,n,i]),e.addEventListener(t,n,i)},e.event.special.universalenter={add:function(e){var t=new i(this,e.handler,e.data?e.data.leaveOnSecond:!1);r?(t.addGlobalEventListener("pointerenter",function(e){e.isPrimary&&(t.clearTimeouts(),t.enter(e)&&"mouse"!==e.pointerType&&(t.addLocalEventListener(document.body.parentNode,"pointerdown",function(e){e.isPrimary&&t.testLeave(e.target)}),t.addTimeout(setTimeout(function(){t.leave()},5e3))))}),t.addGlobalEventListener("pointerleave",function(e){e.isPrimary&&"mouse"===e.pointerType&&t.leave()})):(t.addGlobalEventListener("mouseenter",function(e){t.preventMouse||t.enter(e)}),t.addGlobalEventListener("mouseleave",function(){t.preventMouse||t.leave()}),o&&t.addGlobalEventListener("touchstart",function(e){t.preventMouse=!0,t.clearTimeouts(),t.enter(e)&&(t.addLocalEventListener(document.body.parentNode,"touchstart",function(e){t.testLeave(e.target)}),t.addTimeout(setTimeout(function(){t.leave(),t.preventMouse=!1},5e3)))},{passive:!0}))},remove:function(){var t=e(this),n=t.data("universalenter");n&&(n.remove(),t.removeData("universalenter"))}}}),N2D("EventBurrito",function(e,t){function n(n,o){function a(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function s(e,t,n,i){return t?(e.addEventListener?e.addEventListener(t,n,i):e.attachEvent("on"+t,n),{remove:function(){l(e,t,n,i)}}):void 0}function l(e,t,n,i){t&&(e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent("on"+t,n))}function T(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function u(e){M={x:(P?e.clientX:e.touches[0].clientX)-m.x,y:(P?e.clientY:e.touches[0].clientY)-m.y,time:Date.now()}}function c(e,n){(e.isPrimary===t||e.isPrimary)&&(r||(v=!0,P=n,E[P](e)||y(e.target)||(r=!0,0!==P&&s(document,g[P][1],h,!1),s(document,g[P][2],d,!1),s(document,g[P][3],d,!1),p.preventDefault&&P&&T(e),m={x:P?e.clientX:e.touches[0].clientX,y:P?e.clientY:e.touches[0].clientY,time:Date.now()},b=t,f=!1,M={x:0,y:0},p.start(e,m),h(e))))}function h(e){(e.isPrimary===t||e.isPrimary)&&("x"===p.axis&&(!p.preventScroll&&b||E[P](e))||y(e.target)||(u(e),(Math.abs(M.x)>p.clickTolerance||Math.abs(M.y)>p.clickTolerance)&&(v=!1),b===t&&2!==P&&(b=Math.abs(M.x)<Math.abs(M.y)&&!p.preventScroll)||p.move(e,m,M,f)&&p.preventDefault&&T(e)))}function d(e){(e.isPrimary===t||e.isPrimary)&&(P&&u(e),!v&&e.target&&e.target.blur&&e.target.blur(),0!==P&&l(document,g[P][1],h,!1),l(document,g[P][2],d,!1),l(document,g[P][3],d,!1),p.end(e,m,M,f),f=!1,r=!1)}function S(){G.push(s(document,"scroll",function(e){window.nextendScrollFocus!==t&&window.nextendScrollFocus||(f=!0)})),1===C&&("y"===p.axis?n.style.touchAction="pan-up pan-x":n.style.touchAction="pan-y"),G.push(s(n,g[C][0],function(e){c(e,C)},0===C?{passive:!1}:!1)),0===C&&G.push(s(n,g[0][1],function(e){h(e,0)},{passive:!1})),G.push(s(n,"dragstart",T)),p.mouse&&!C&&G.push(s(n,g[2][0],function(e){c(e,2)})),G.push(s(n,"click",function(e){v?p.click(e):T(e)}))}var p={preventDefault:!0,clickTolerance:10,preventScroll:!1,mouse:!0,axis:"x",start:i,move:i,end:i,click:i};o&&a(p,o);var b,f,P,A={pointerEvents:!!(window.PointerEvent||window.MSPointerEvent||window.navigator.msPointerEnabled||window.navigator.pointerEnabled)},m={},M={},G=[],v=!0,C=A.pointerEvents?1:0,g=[["touchstart","touchmove","touchend","touchcancel"],["pointerdown","pointermove","pointerup","pointercancel"],["mousedown","mousemove","mouseup",!1]],E=[function(e){return e.touches&&e.touches.length>1||e.scale&&1!==e.scale},function(e){return!e.isPrimary||e.buttons&&1!==e.buttons||!p.mouse&&"touch"!==e.pointerType&&"pen"!==e.pointerType},function(e){return e.buttons&&1!==e.buttons}],y=function(t){var n=t.tagName;return!("INPUT"!=n&&"TEXTAREA"!=n&&"SELECT"!=n&&"BUTTON"!=n&&"VIDEO"!=n&&!e(t).hasClass("n2-scrollable")&&!e(t).closest(".
20n2-scrollable").length)};return S(),{supportsPointerEvents:A.pointerEvents,getClicksAllowed:function(){return v},kill:function(){for(var e=G.length-1;e>=0;e--)G[e].remove()}}}var i=function(){return!0},r=!1;return n});var tmpModernizr=null;"undefined"!=typeof window.Modernizr&&(tmpModernizr=window.Modernizr),!function(e,t,n){function i(e,t){return typeof e===t}function r(){var e,t,n,r,o,a,s;for(var l in A)if(A.hasOwnProperty(l)){if(e=[],t=A[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(r=i(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)a=e[o],s=a.split("."),1===s.length?M[s[0]]=r:(!M[s[0]]||M[s[0]]instanceof Boolean||(M[s[0]]=new Boolean(M[s[0]])),M[s[0]][s[1]]=r),y.push((r?"":"no-")+s.join("-"))}}function o(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function a(e){var t=v.className,n=M._config.classPrefix||"";if(I&&(t=t.baseVal),M._config.enableJSClass){new RegExp("(^|\\s)"+n+"no-js(\\s|$)")}M._config.enableClasses&&(t+=" "+n+e.join(" "+n),I?v.className.baseVal=t:v.className=t)}function s(e,t){if("object"==typeof e)for(var n in e)E(e,n)&&s(n,e[n]);else{e=e.toLowerCase();var i=e.split("."),r=M[i[0]];if(2==i.length&&(r=r[i[1]]),"undefined"!=typeof r)return M;t="function"==typeof t?t():t,1==i.length?M[i[0]]=t:(!M[i[0]]||M[i[0]]instanceof Boolean||(M[i[0]]=new Boolean(M[i[0]])),M[i[0]][i[1]]=t),a([(t&&0!=t?"":"no-")+i.join("-")]),M._trigger(e,t)}return M}function l(e,t){return!!~(""+e).indexOf(t)}function T(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):I?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function u(){var e=t.body;return e||(e=T(I?"svg":"body"),e.fake=!0),e}function c(e,n,i,r){var o,a,s,l,c="modernizr",h=T("div"),d=u();if(parseInt(i,10))for(;i--;)s=T("div"),s.id=r?r[i]:c+(i+1),h.appendChild(s);return o=T("style"),o.type="text/css",o.id="s"+c,(d.fake?d:h).appendChild(o),d.appendChild(h),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(t.createTextNode(e)),h.id=c,d.fake&&(d.style.background="",d.style.overflow="hidden",l=v.style.overflow,v.style.overflow="hidden",v.appendChild(d)),a=n(h,e),d.fake?(d.parentNode.removeChild(d),v.style.overflow=l,v.offsetHeight):h.parentNode.removeChild(h),!!a}function h(e,t){return function(){return e.apply(t,arguments)}}function d(e,t,n){var r;for(var o in e)if(e[o]in t)return n===!1?e[o]:(r=t[e[o]],i(r,"function")?h(r,n||t):r);return!1}function S(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function p(t,i){var r=t.length;if("CSS"in e&&"supports"in e.CSS){for(;r--;)if(e.CSS.supports(S(t[r]),i))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];r--;)o.push("("+S(t[r])+":"+i+")");return o=o.join(" or "),c("@supports ("+o+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return n}function b(e,t,r,a){function s(){c&&(delete N.style,delete N.modElem)}if(a=i(a,"undefined")?!1:a,!i(r,"undefined")){var u=p(e,r);if(!i(u,"undefined"))return u}for(var c,h,d,S,b,f=["modernizr","tspan"];!N.style;)c=!0,N.modElem=T(f.shift()),N.style=N.modElem.style;for(d=e.length,h=0;d>h;h++)if(S=e[h],b=N.style[S],l(S,"-")&&(S=o(S)),N.style[S]!==n){if(a||i(r,"undefined"))return s(),"pfx"==t?S:!0;try{N.style[S]=r}catch(P){}if(N.style[S]!=b)return s(),"pfx"==t?S:!0}return s(),!1}function f(e,t,n,r,o){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+w.join(a+" ")+a).split(" ");return i(t,"string")||i(t,"undefined")?b(s,t,r,o):(s=(e+" "+g.join(a+" ")+a).split(" "),d(s,t,n))}function P(e,t,i){return f(e,n,n,t,i)}var A=[],m={_version:"3.2.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){A.push({name:e,fn:t,options:n})},addAsyncTest:function(e){A.push({name:null,fn:e})}},M=function(){};M.prototype=m,M=new M;var G=m._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];m._prefixes=G;var v=t.documentElement,C="Moz O ms Webkit",g=m._config.usePrefixes?C.toLowerCase().split(" "):[];m._domPrefixes=g;var E;!function(){var e={}.hasOwnProperty;E=i(e,"undefined")||i(e.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}();var y=[],B="CSS"in e&&"supports"in e.CSS,H="supportsCSS"in e;M.addTest("supports",B||H);var I="svg"===v.nodeName.toLowerCase();m._l={},m.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),M.hasOwnProperty(e)&&setTimeout(function(){M._trigger(e,M[e])},0)},m._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e,i;for(e=0;e<n.length;e++)(i=n[e])(t)},0),delete this._l[e]}},M._q.push(function(){m.addTest=s}),I||!function(e,t){function n(e,t){var n=e.createElement("p"),i=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",i.insertBefore(n.lastChild,i.firstChild)}function i(){var e=A.elements;return"string"==typeof e?e.split(" "):e}function r(e,t){var n=A.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),A.elements=n+" "+e,T(t)}function o(e){var t=P[e[b]];return t||(t={},f++,e[b]=f,P[f]=t),t}function a(e,n,i){if(n||(n=t),c)return n.createElement(e);i||(i=o(n));var r;return r=i.cache[e]?i.cache[e].cloneNode():p.test(e)?(i.cache[e]=i.createElem(e)).cloneNode():i.createElem(e),!r.canHaveChildren||S.test(e)||r.tagUrn?r:i.frag.appendChild(r)}function s(e,n){if(e||(e=t),c)return e.createDocumentFragment();n=n||o(e);for(var r=n.frag.cloneNode(),a=0,s=i(),l=s.length;l>a;a++)r.createElement(s[a]);return r}function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return A.
20shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(A,t.frag)}function T(e){e||(e=t);var i=o(e);return!A.shivCSS||u||i.hasCSS||(i.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||l(e,i),e}var u,c,h="3.7.3",d=e.html5||{},S=/^<|^(?: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,b="_html5shiv",f=0,P={};
21!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,c=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,c=!0}}();var A={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:h,shivCSS:d.shivCSS!==!1,supportsUnknownElements:c,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:T,createElement:a,createDocumentFragment:s,addElements:r};e.html5=A,T(t),"object"==typeof module&&module.exports&&(module.exports=A)}("undefined"!=typeof e?e:this,t);var w=m._config.usePrefixes?C.split(" "):[];m._cssomPrefixes=w;var D=function(t){var i,r=G.length,o=e.CSSRule;if("undefined"==typeof o)return n;if(!t)return!1;if(t=t.replace(/^@/,""),i=t.replace(/-/g,"_").toUpperCase()+"_RULE",i in o)return"@"+t;for(var a=0;r>a;a++){var s=G[a],l=s.toUpperCase()+"_"+i;if(l in o)return"@-"+s.toLowerCase()+"-"+t}return!1};m.atRule=D;var _=m.testStyles=c,L={elem:T("modernizr")};M._q.push(function(){delete L.elem});var N={style:L.elem.style};M._q.unshift(function(){delete N.style}),m.testProp=function(e,t,i){return b([e],n,t,i)},m.testAllProps=f,m.prefixed=function(e,t,n){return 0===e.indexOf("@")?D(e):(-1!=e.indexOf("-")&&(e=o(e)),t?f(e,t,n):f(e,"pfx"))},m.testAllProps=P,M.addTest("csstransforms3d",function(){var e=!!P("perspective","1px",!0),t=M._config.usePrefixes;if(e&&(!t||"webkitPerspective"in v.style)){var n,i="#modernizr{width:0;height:0}";M.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",t&&(n+=",(-webkit-transform-3d)")),n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}",_(i+n,function(t){e=7===t.offsetWidth&&18===t.offsetHeight})}return e}),r(),a(y),delete m.addTest,delete m.addAsyncTest;for(var k=0;k<M._q.length;k++)M._q[k]();e.Modernizr=M}(window,document),Modernizr.addTest("csstransformspreserve3d",function(){var e,t=Modernizr.prefixed("transformStyle"),n="preserve-3d";return t?(t=t.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-"),Modernizr.testStyles("#modernizr{"+t+":"+n+";}",function(n,i){window.getComputedStyle?(e=getComputedStyle(n,null),e=e?e.getPropertyValue(t):""):e=""}),e===n):!1}),window.nModernizr=window.Modernizr,tmpModernizr&&(window.Modernizr=tmpModernizr),N2D("RAF",function(){function e(){this._isTicking=!1,this._isMobile=!1,this._lastTick=0,this._ticks=[],this._postTickCallbacks=[];var e=function(){var e=0;return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-e)),e=i+n,setTimeout(function(){t(i+n)},n)}}();this._raf=window.requestAnimationFrame||e;var t=this;this._isMobile||void 0===document.hidden||document.addEventListener("visibilitychange",function(){document.hidden?(this._raf=function(e){return setTimeout(function(){e(t.now())},16)},t._tick(t.now())):t._raf=window.requestAnimationFrame||e})}var t=function(e){for(var t,n,i=arguments,r=i.length;r>1&&e.length;)for(t=i[--r];-1!==(n=e.indexOf(t));)e.splice(n,1);return e};return e.prototype.addTick=function(e){-1==this._ticks.indexOf(e)&&this._ticks.push(e),this._isTicking||(this._isTicking=!0,this._raf.call(null,this.getTickStart()))},e.prototype.removeTick=function(e){t(this._ticks,e),0===this._ticks.length&&this._isTicking&&(this._lastTick=0,this._isTicking=!1)},e.prototype._tickStart=function(e){this._lastTick=e,this._isTicking&&(this._lastTick=e,this._raf.call(null,this.getTick()))},e.prototype._tick=function(e){var t=(e-this._lastTick)/1e3;if(0!=t){for(var n=0;n<this._ticks.length;n++)this._ticks[n].call(null,t);this.postTick()}this._continueTick(e)},e.prototype._continueTick=function(e){this._isTicking&&(this._lastTick=e,this._raf.call(null,this.getTick()))},e.prototype.getTick=function(){var e=this;return function(){e._tick.apply(e,arguments)}},e.prototype.getTickStart=function(){var e=this;return function(){e._tickStart.apply(e,arguments)}},e.prototype.now=function(){return performance.now()},e.prototype.postTick=function(){for(var e=0;e<this._postTickCallbacks.length;e++)this._postTickCallbacks[e]();this._postTickCallbacks=[]},e.prototype.addPostTick=function(e){this._postTickCallbacks.push(e)},new e}),N2D("Animation","RAF",function(){function e(e){this._tickCallback=null,this._progress=0,this._delayTimeout=!1,this._delay=0,this._duration=4,this._timeScale=1,this._isPlaying=!1,this._startTime=0,this._eventCallbacks={},this._immediateRender=!0,this._timeline=null,this._isCompleted=!1,this._isStarted=!1,this._isReversed=!1,this.toParams=e,this.initParameters()}return e.prototype.initParameters=function(){this.parseParameters(this.toParams),"object"!=typeof this.toParams&&this.paused(!1)},e.prototype.parseParameters=function(e){e&&(e.delay&&(this.delay(e.delay),delete e.delay),"undefined"!=typeof e.duration&&(this.duration(e.duration),delete e.duration),e.onComplete&&(this.eventCallback("onComplete",e.onComplete),delete e.onComplete),e.onStart&&(this.eventCallback("onStart",e.onStart),delete e.onStart),e.onUpdate&&(this.eventCallback("onUp
21date",e.onUpdate),delete e.onUpdate),e.immediateRender&&(this._immediateRender=e.immediateRender,delete e.immediateRender),e.paused&&this.paused(!0))},e.prototype.setTimeline=function(e){this._timeline=e},e.prototype._tick=function(e){var t=this._progress;this._isReversed?(this._progress-=e/this._duration*this._timeScale,1!=t&&this._isStarted?this._progress<=0?(this._progress=0,this._isPlaying=!1,N2Classes.RAF.removeTick(this.getTickCallback()),this._onUpdate(),this._onReverseComplete()):this._onUpdate():this._onReverseStart()):(this._progress+=e/this._duration*this._timeScale,0!=t&&this._isStarted?this._progress>=1?(this._progress=1,this._isPlaying=!1,N2Classes.RAF.removeTick(this.getTickCallback()),this._onUpdate(),this._onComplete()):this._onUpdate():this._onStart())},e.prototype._onStart=function(){this._isStarted=!0,this._isPlaying=!1,this._isCompleted=!1,this.trigger("onStart"),this._onUpdate()},e.prototype._onUpdate=function(){this.trigger("onUpdate")},e.prototype._onComplete=function(){this._isCompleted=!0,this._onUpdate(),this.trigger("onComplete")},e.prototype._onReverseComplete=function(){this._isCompleted=!0,this._isReversed=!1,this._onUpdate(),this.trigger("onReverseComplete")},e.prototype._onReverseStart=function(){this._isStarted=!0,this._isPlaying=!1,this._isCompleted=!1,this.trigger("onReverseStart"),this._onUpdate()},e.prototype.getTickCallback=function(){if(!this._tickCallback){var e=this;this._tickCallback=function(){e._tick.apply(e,arguments)}}return this._tickCallback},e.prototype._clearDelayTimeout=function(){this._delayTimeout&&(clearTimeout(this._delayTimeout),this._delayTimeout=!1)},e.prototype._timeToProgress=function(e){return e/this._duration*this._timeScale},e.prototype.delay=function(){if(arguments.length>0){var e=parseFloat(arguments[0]);return!isNaN(e)&&e!=1/0&&e||(e=0),this._delay=Math.max(0,e),this}return this._delay},e.prototype.duration=function(){if(arguments.length>0){var e=parseFloat(arguments[0]);return!isNaN(e)&&e!=1/0&&e||(e=0),this._duration=Math.max(0,e),this}return this._duration},e.prototype.eventCallback=function(e){return arguments.length>3?this._eventCallbacks[e]=[arguments[1],arguments[2],arguments[3]]:arguments.length>2?this._eventCallbacks[e]=[arguments[1],arguments[2],this]:arguments.length>1&&(this._eventCallbacks[e]=[arguments[1],[],this]),this._eventCallbacks[e]},e.prototype.pause=function(){return this._isPlaying=!1,N2Classes.RAF.removeTick(this.getTickCallback()),arguments.length>0&&null!=arguments[0]&&this.progress(this._timeToProgress(arguments[0])),this},e.prototype.paused=function(){return arguments.length>0?(arguments[0]?this._isPlaying&&this.pause():this._isPlaying||this.play(),this):!this._isPlaying},e.prototype.play=function(){var e=!0;arguments.length>0&&null!=arguments[0]&&(e=!1,this._progress=this._timeToProgress(arguments[0])),this._play(e)},e.prototype._play=function(e){if(this._progress<1)if(0==this._progress&&e&&this._delay>0){if(!this._delayTimeout){var t=this;this._delayTimeout=setTimeout(function(){t.__play.apply(t,arguments)},1e3*this._delay)}}else this.__play();else this._isCompleted||(this._isReversed?this._onReverseComplete():this._onComplete())},e.prototype.__play=function(){this._clearDelayTimeout(),this._isPlaying||(N2Classes.RAF.addTick(this.getTickCallback()),this._isPlaying=!0)},e.prototype.progress=function(){if(arguments.length>0){var e=parseFloat(arguments[0]);return isNaN(e)&&(e=0),e=Math.min(1,Math.max(0,e)),this._progress=e,this._isPlaying||(this._isStarted||this._onStart(),this._onUpdate()),this}return this._progress},e.prototype.reverse=function(){this._isReversed=!0,0!=this.progress()&&this.play()},e.prototype.restart=function(){return arguments.length>0&&arguments[0]?(this.pause(0),this.play(),this):(this.play(0),this)},e.prototype.seek=function(e){null!=e&&(this._progress=this._timeToProgress(arguments[0]),this._isPlaying||this._onUpdate())},e.prototype.startTime=function(){if(arguments.length>0){var e=parseFloat(arguments[0]);return isNaN(e)&&(e=0),this._startTime=Math.max(0,e),this}return this._startTime},e.prototype.timeScale=function(){if(arguments.length>0){var e=parseFloat(arguments[0]);return isNaN(e)&&(e=1),e=Math.max(.01,e),this._timeScale!=e&&(this._timeScale=e),this}return this._timeScale},e.prototype.trigger=function(e){"object"==typeof this._eventCallbacks[e]&&this._eventCallbacks[e][0].apply(this._eventCallbacks[e][2],this._eventCallbacks[e][1])},e.prototype.totalDuration=function(){if(arguments.length>0){var e=parseFloat(arguments[0]);return isNaN(e)&&(e=0),e=Math.max(0,e),this.timeScale(this._duration/e),this}return this._duration*this._timeScale},e.prototype.reset=function(){this._isCompleted=!1,this._isStarted=!1,this.progress(0)},e}),N2D("AnimationCSS","RAF",function(e){function t(){}function n(e){return e.n2Transform||(e.n2Transform=new i),e.n2Transform}function i(t){this.data=e.extend({},s)}var r={},o=function(e){return"function"==typeof e},a=function(e){return"[object Array]"===Object.prototype.toString.call(e)};t.prototype.set=function(e,t,n,i){e.length||(e=[e]),n+=i;for(var r=0;r<e.length;r++){var o=e[r];this.applyStyles(o,t,n)}},t.prototype.applyStyles=function(e,t,n){var i={};i[t]=n,"undefined"!=typeof r[t]&&r[t](e).prepare(i);for(var o in i){var a=nModernizr.prefixed(o);a&&(e.style[a]=i[o])}},t.prototype.makeTransitionData=function(e,t,n,i){var r,o,a,s,l;
21if(t.match(/transformOrigin|perspective/)){if(i)return{startValue:i,endValue:i,unit:"",range:0};if(n)return{startValue:n,endValue:n,unit:"",range:0}}return"undefined"==typeof n&&(n=this.getProperty(e,t)),s=this.separateValue(t,n),n=s[0],o=s[1],"undefined"==typeof i&&(i=this.getProperty(e,t)),l=this.separateValue(t,i),i=l[0],a=l[1],r=a||o,a!=r&&(i=this.transformUnit(e,t,i,a,r)),o!=r&&(n=this.transformUnit(e,t,n,o,r)),{startValue:n,endValue:i,unit:r,range:i-n}},t.prototype.getProperty=function(t,n){if("undefined"!=typeof r[n])return r[n](t).get(n);var i=nModernizr.prefixed(n);if(i){var o=e(t).css(n);return"auto"==o?0:o}},t.prototype.transformUnit=function(e,t,n,i,r){if(0==n)return 0;var o="";switch(t){case"left":case"right":o="width";break;case"top":case"bottom":o="height";break;default:o=t}if("px"==i&&"%"==r){var a=this.getProperty(e.parent(),o),s=this.separateValue(o,a);return n/s[0]*100}if("%"==i&&"px"==r){var a=this.getProperty(e.parent(),o),s=this.separateValue(o,a);return n/100*s[0]}return n},t.prototype.parsePropertyValue=function(e,t){var n=void 0,i=void 0;return a(t)?(n=t[0],i=t[1]):n=t,o(n)&&(n=n.call(e)),o(i)&&(i=i.call(e)),[n||0,i]},t.prototype.separateValue=function(e,t){var n,i;return i=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=this.getUnitType(e)),[parseFloat(i),n]},t.prototype.getUnitType=function(e){return/(^(x|y|z|rotationX|rotationY|rotationZ|scale|scaleX|scaleY|opacity)$)/i.test(e)?"":"px"},r.transform=n,r.x=n,r.y=n,r.z=n,r.rotationX=n,r.rotationY=n,r.rotationZ=n,r.scale=n,r.scaleX=n,r.scaleY=n,r.scaleZ=n;var s={x:0,y:0,z:0,rotationX:0,rotationY:0,rotationZ:0,scaleX:1,scaleY:1,scaleZ:1,scale:1};i.prototype.get=function(e){return this.data[e]};var l=Math.PI/180;return i.prototype.prepare=function(t){"undefined"!=typeof t.transform&&"none"===t.transform&&(this.data=e.extend({},s)),"undefined"!=typeof t.scale&&(t.scaleX=t.scale,t.scaleY=t.scale,delete t.scale);for(var n in this.data)"undefined"!=typeof t[n]&&(this.data[n]=t[n],delete t[n]);return this.data.scale=this.data.scaleX,t.transform=this.matrix3d(this.data.x,this.data.y,this.data.z,this.data.scaleX,this.data.scaleY,this.data.rotationX,this.data.rotationY,this.data.rotationZ),t},i.prototype.matrix3d=function(e,t,n,i,r,o,a,s){var T=Math.cos(o*l),u=Math.sin(o*l),c=Math.cos(a*l),h=Math.sin(a*l),d=Math.cos(s*l),S=Math.sin(s*l),p=new Array(16);return p[0]=c*d*i,p[1]=S,p[2]=h,p[3]=0,p[4]=-1*S,p[5]=T*d*r,p[6]=u,p[7]=0,p[8]=-1*h,p[9]=-1*u,p[10]=c*T,p[11]=0,p[12]=e,p[13]=t,p[14]=n,p[15]=1,"matrix3d("+p[0]+","+p[1]+","+p[2]+","+p[3]+","+p[4]+","+p[5]+","+p[6]+","+p[7]+","+p[8]+","+p[9]+","+p[10]+","+p[11]+","+p[12]+","+p[13]+","+p[14]+","+p[15]+")"},new t}),N2D("Tween","RAF",function(e){function t(t,i){this.ease="linear",this._tweenContainer=null,this._setContainer=null;var r,o=null;switch(arguments.length){case 4:o=e.extend(!0,{},arguments[2]),r=arguments[3],r?(this._mode=n.FROMTO,r=e.extend(!0,{},r)):this._mode=n.FROM;break;default:this._mode=n.TO,o={},r=e.extend(!0,{},arguments[2])}if(this._target=e(t),this.fromParams=o,N2Classes.Animation.call(this,r),this.parseParameters({duration:i}),(this._mode==n.FROM||this._mode==n.FROMTO)&&this._immediateRender){null===this._tweenContainer&&this._makeTweenContainer(this.fromParams,this.toParams);for(var a in this._tweenContainer){var s=this._tweenContainer[a];N2Classes.AnimationCSS.set(this._target,a,s.startValue,s.unit)}for(var a in this._setContainer){var s=this._setContainer[a];N2Classes.AnimationCSS.set(this._target,a,s.endValue,s.unit)}}}var n={FROM:1,FROMTO:2,TO:3};return t.prototype=Object.create(N2Classes.Animation.prototype),t.prototype.constructor=t,t.prototype.initParameters=function(){this.parseParameters(this.fromParams),N2Classes.Animation.prototype.initParameters.apply(this,arguments)},t.prototype.parseParameters=function(e){e&&(e.ease&&(this.ease=e.ease,delete e.ease),N2Classes.Animation.prototype.parseParameters.apply(this,arguments))},t.prototype._onStart=function(){null===this._tweenContainer&&this._makeTweenContainer(this.fromParams,this.toParams);for(var e in this._setContainer){var t=this._setContainer[e];N2Classes.AnimationCSS.set(this._target,e,t.endValue,t.unit)}N2Classes.Animation.prototype._onStart.call(this)},t.prototype._onUpdate=function(){for(var e in this._tweenContainer){var t=this._tweenContainer[e];N2Classes.AnimationCSS.set(this._target,e,N2Classes.Easings[this.ease](this._progress,t.startValue,t.range*this._progress,
211),t.unit)}N2Classes.Animation.prototype._onUpdate.call(this)},t.prototype._makeTweenContainer=function(e,t){if(this._setContainer={},this._tweenContainer={},t)for(var n in t){var i=N2Classes.AnimationCSS.makeTransitionData(this._target,n,e[n],t[n]);0==i.range?this._setContainer[n]=i:this._tweenContainer[n]=i}else for(var n in e){var i=N2Classes.AnimationCSS.makeTransitionData(this._target,n,e[n]);0==i.range?this._setContainer[n]=i:this._tweenContainer[n]=i}},t.set=function(t,n){for(var i in n)N2Classes.AnimationCSS.set(e(t),i,n[i],"")},t.to=function(e,n,i){var r=new t(e,n,i);return void 0!==i.paused&&i.paused||r.play(),r},t.fromTo=function(e,n,i,r){var o=new t(e,n,i,r);return void 0!==r.paused&&r.paused||o.play(),o},t.from=function(e,n,i){var r=new t(e,n,i,null);return void 0!==i.paused&&i.paused||r.play(),r},window.NextendTween=t,t}),N2D("Timeline","RAF",function(e){function t(t){this.originalParams=e.extend(!0,{},t),this._tweens=[],N2Classes.Animation.call(this,t),this._duration=0}return t.prototype=Object.create(N2Classes.Animation.prototype),t.prototype.constructor=t,t.prototype._onUpdate=function(){if(this.tweensContainer)for(var e=0;e<this.tweensContainer.length;e++){var t=this.tweensContainer[e],n=Math.min(1,(this._progress-t.startProgress)/(t.endProgress-t.startProgress));t.tween._isCompleted&&n<=t.endProgress&&t.tween.reset(),!t.tween._isStarted&&n>=0&&0==t.tween.progress()&&t.tween._onStart(),t.tween._isStarted&&(1!=n||t.tween._isCompleted?n>=0&&1>n?t.tween.progress(n):0>n&&0!=t.tween.progress()&&t.tween.progress(0):(t.tween.progress(n),t.tween._onComplete()))}N2Classes.Animation.prototype._onUpdate.call(this),N2Classes.RAF._isTicking||N2Classes.RAF.postTick()},t.prototype.addTween=function(e){e.pause(),e.setTimeline(this);var t=0;t=arguments.length>1?this._parsePosition(arguments[1]):this._parsePosition();var n=e.delay();n>0&&(t+=n,e.delay(0)),e.startTime(t),this._tweens.push(e);var i=e.totalDuration()+t;i>this._duration&&(this._duration=i),this.makeCache()},t.prototype.clear=function(){this.paused()||this.pause(),t.call(this,this.originalParams)},t.prototype.add=function(e,t){this.addTween(e,t)},t.prototype.set=function(e,t,n){this.addTween(NextendTween.to(e,.05,t),n)},t.prototype.to=function(e,t,n,i){n.paused=!0,this.addTween(NextendTween.to(e,t,n),i)},t.prototype.fromTo=function(e,t,n,i,r){i.paused=!0,this.addTween(NextendTween.fromTo(e,t,n,i),r)},t.prototype.from=function(e,t,n,i){n.paused=!0,this.addTween(NextendTween.from(e,t,n),i)},t.prototype._play=function(){if(0==this._progress)for(var e=0;e<this._tweens.length;e++)this._tweens[e].pause(0);N2Classes.Animation.prototype._play.apply(this,arguments)},t.prototype._parsePosition=function(){var e="+=0";arguments.length>0&&"undefined"!=typeof arguments[0]&&!isNaN(arguments[0])&&(e=arguments[0]);var t=0;switch(typeof e){case"string":switch(e.substr(0,2)){case"+=":t=this.duration()+parseFloat(e.substr(2));break;case"-=":t=this.duration()-parseFloat(e.substr(2))}break;default:t=parseFloat(e)}return Math.max(0,t)},t.prototype.makeCache=function(){var e=this.totalDuration();this.tweensContainer=[];for(var t=0;t<this._tweens.length;t++){var n=this._tweens[t],i=n.startTime()/e,r=(n.startTime()+n.totalDuration())/e;this.tweensContainer.push({tween:n,startProgress:i,endProgress:r,range:r-i})}},window.NextendTimeline=t,t}),N2D("Easings","RAF",function(){var e={linear:function(e,t,n,i){return n+t},easeInQuad:function(e,t,n,i){return n*(e/=i)*e+t},easeOutQuad:function(e,t,n,i){return-n*(e/=i)*(e-2)+t},easeInOutQuad:function(e,t,n,i){return(e/=i/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t},easeInCubic:function(e,t,n,i){return n*(e/=i)*e*e+t},easeOutCubic:function(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t},easeInOutCubic:function(e,t,n,i){return(e/=i/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t},easeInQuart:function(e,t,n,i){return n*(e/=i)*e*e*e+t},easeOutQuart:function(e,t,n,i){return-n*((e=e/i-1)*e*e*e-1)+t},easeInOutQuart:function(e,t,n,i){return(e/=i/2)<1?n/2*e*e*e*e+t:-n/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(e,t,n,i){return n*(e/=i)*e*e*e*e+t},easeOutQuint:function(e,t,n,i){return n*((e=e/i-1)*e*e*e*e+1)+t},easeInOutQuint:function(e,t,n,i){return(e/=i/2)<1?n/2*e*e*e*e*e+t:n/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(e,t,n,i){return-n*Math.cos(e/i*(Math.PI/2))+n+t},easeOutSine:function(e,t,n,i){return n*Math.sin(e/i*(Math.PI/2))+t},easeInOutSine:function(e,t,n,i){return-n/2*(Math.cos(Math.PI*e/i)-1)+t},easeInExpo:function(e,t,n,i){return 0==e?t:n*Math.pow(2,10*(e/i-1))+t},easeOutExpo:function(e,t,n,i){return e==i?t+n:n*(-Math.pow(2,-10*e/i)+1)+t},easeInOutExpo:function(e,t,n,i){return 0==e?t:e==i?t+n:(e/=i/2)<1?n/2*Math.pow(2,10*(e-1))+t:n/2*(-Math.pow(2,-10*--e)+2)+t},easeInCirc:function(e,t,n,i){return-n*(Math.sqrt(1-(e/=i)*e)-1)+t},easeOutCirc:function(e,t,n,i){return n*Math.sqrt(1-(e=e/i-1)*e)+t},easeInOutCirc:function(e,t,n,i){return(e/=i/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+t:n/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(e,t,n,i){var r=1.70158,o=0,a=n;if(0==e)return t;if(1==(e/=i))return t+n;if(o||(o=.3*i),a<Math.abs(n)){a=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/a);return-(a*Math.pow(2,10*(e-=1))*Math.sin((e*i-r)*(2*Math.PI)/o))+t},easeOutElastic:function(e,t,n,i){var r=1.70158,o=0,a=n;if(0==e)return t;if(1==(e/=i))return t+n;if(o||(o=.3*i),a<Math.abs(n)){a=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/a);return a*Math.pow(2,-10*e)*Math.sin((e*i-r)*(2*Math.PI)/o)+n+t},easeInOutElastic:function(e,t,n,i){var r=1.70158,o=0,a=n;if(0==e)return t;if(2==(e/=i/2))return t+n;if(o||(o=i*(.3*1.5)),a<Math.abs(n)){a=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/a);return 1>e?-.5*(a*Math.pow(2,10*(e-=1))*Math.sin((e*i-r)*(2*Math.PI)/o))+t:a*Math.pow(2,-10*(e-=1))*Math.sin((e*i-r)*(2*Math.PI)/o)*.5+n+t},easeInBack:function(e,t,n,i,r){return void 0==r&&(r=1.70158),n*(e/=i)*e*((r+1)*e-r)+t},easeOutBack:function(e,t,n,i,r){return void 0==r&&(r=1.70158),n*((e=e/i-1)*e*((r+1)*e+r)+1)+t},easeInOutBack:function(e,t,n,i,r){return void 0==r&&(r=1.70158),(e/=i/2)<1?n/2*(e*e*(((r*=1.525)+1)*e-r))+t:n/2*((e-=2)*e*(((r*=1.525)+1)*e+r)+2)+t},easeInBounce:function(e,t,n,i){return n-N2Classes.Easing.easeOutBounce(i-e,0,n,i)+t},easeOutBounce:function(e,t,n,i){return(e/=i)<1/2.75?n*(7.5625*e*e)+t:2/2.75>
21e?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:2.5/2.75>e?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t},easeInOutBounce:function(e,t,n,i){return i/2>e?.5*N2Classes.Easing.easeInBounce(2*e,0,n,i)+t:.5*N2Classes.Easing.easeOutBounce(2*e-i,0,n,i)+.5*n+t}};return e}),N2D("nextend-frontend");
22(function(){var e=this;e.N2_=e.N2_||{r:[],d:[]},e.N2R=e.N2R||function(){e.N2_.r.push(arguments)},e.N2D=e.N2D||function(){e.N2_.d.push(arguments)}}).call(window),N2D("SmartSliderBackgrounds",function(e,t){function i(t){this.device=null,this.slider=t,this.hasFixed=!1,this.lazyLoad=t.parameters.lazyLoad,this.lazyLoadNeighbor=t.parameters.lazyLoadNeighbor,this.deviceDeferred=e.Deferred(),this.slider.sliderElement.one("SliderDevice",e.proxy(this.onSlideDeviceChangedFirst,this)),this.slider.sliderElement.on("visibleSlidesChanged",e.proxy(this.onVisibleSlidesChanged,this)),this.slider.sliderElement.on("slideCountChanged",e.proxy(this.onVisibleSlidesChanged,this))}return i.prototype.whenWithProgress=function(t){for(var i=0,s=e.Deferred(),r=0;r<t.length;r++)e.when(t[r]).done(function(){s.notify(++i,t.length)});return e.when.apply(e,t).done(function(){s.resolveWith(null,arguments)}),s},i.prototype.getBackgroundImages=function(){for(var e=[],t=0;t<this.slider.realSlides.length;t++)e.push(this.slider.realSlides[t].background);return e},i.prototype.onVisibleSlidesChanged=function(){1==this.lazyLoad?this.load=e.when.apply(e,this.preLoadSlides(this.slider.getVisibleSlides(this.slider.currentSlide))):2==this.lazyLoad&&(this.load=e.when.apply(e,this.preLoadSlides(this.slider.getVisibleSlides(this.slider.currentSlide))))},i.prototype.onSlideDeviceChangedFirst=function(t,i){this.onSlideDeviceChanged(t,i),this.deviceDeferred.resolve(),this.slider.sliderElement.on("SliderDevice",e.proxy(this.onSlideDeviceChanged,this)),1==this.lazyLoad?(this.preLoadSlides=this.preloadSlidesLazyNeighbor,this.load=this.whenWithProgress(e,this.preLoadSlides(this.slider.getVisibleSlides(this.slider.currentSlide)))):2==this.lazyLoad?(this.preLoadSlides=this._preLo
22adSlides,e(window).on("load",e.proxy(this.preLoadAll,this)),this.load=this.whenWithProgress(e,this.preLoadSlides(this.slider.getVisibleSlides(this.slider.currentSlide)))):(this.preLoadSlides=this._preLoadSlides,this.load=this.whenWithProgress(this.preLoadAll()))},i.prototype.onSlideDeviceChanged=function(e,t){this.device=t;for(var i=0;i<this.slider.realSlides.length;i++)this.slider.realSlides[i].background&&this.slider.realSlides[i].background.updateBackgroundToDevice(t)},i.prototype.preLoadAll=function(){for(var e=[],t=0;t<this.slider.realSlides.length;t++)e.push(this.slider.realSlides[t].preLoad());return e},i.prototype._preLoadSlides=function(e){var t=[];"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]);for(var i=0;i<e.length;i++)t.push(e[i].preLoad());return t},i.prototype.preloadSlidesLazyNeighbor=function(t){var i=this._preLoadSlides(t);if(this.lazyLoadNeighbor)for(var s=0,r=t[0].previousSlide,n=t[t.length-1].nextSlide;s<this.lazyLoadNeighbor;)i.push(r.preLoad()),r=r.previousSlide,i.push(n.preLoad()),n=n.nextSlide,s++;var o=e.Deferred();if("resolved"!=i[0].state()){var a=setTimeout(e.proxy(function(){this.slider.load.showSpinner("backgroundImage"+t[0].index),a=null},this),50);e.when.apply(e,i).done(e.proxy(function(){a?(clearTimeout(a),a=null):this.slider.load.removeSpinner("backgroundImage"+t[0].index),setTimeout(function(){o.resolve()},100)},this))}else setTimeout(function(){o.resolve()},100);return i.push(o),i},i.prototype.hack=function(){for(var e=0;e<this.slider.realSlides.length;e++)this.slider.realSlides[e].background&&this.slider.realSlides[e].background.hack()},i}),N2D("SmartSliderLoad",function(e,t){function i(t,i){this.parameters=e.extend({fade:1,scroll:0},i),this.deferred=e.Deferred(),this.smartSlider=t,this.spinnerCouner=0,this.id=t.sliderElement.attr("id"),this.$window=e(window),this.spinner=e("#"+this.id+"-spinner")}return i.prototype.start=function(){if(this.parameters.scroll){var t=e(window);t.on("scroll."+this.id,e.proxy(this.onScroll,this)),this.onScroll()}else if(this.parameters.fade){this.loadingArea=e("#"+this.id+"-placeholder").eq(0),this.showSpinner("fadePlaceholder");var i=this.spinner.find(".n2-ss-spinner-counter");i.length&&(i.html("0%"),this.smartSlider.backgrounds.load.progress(e.proxy(function(e,t){i.html(Math.round(e/(t+1)*100)+"%")},this))),this.showSlider()}else this.showSlider()},i.prototype.onScroll=function(){this.$window.scrollTop()+this.$window.height()>this.smartSlider.sliderElement.offset().top+100&&(this.$window.off("scroll."+this.id),this.showSlider())},i.prototype.loadLayerImages=function(){var t=e.Deferred();return this.smartSlider.sliderElement.find(".n2-ss-layers-container").n2imagesLoaded().always(function(){t.resolve()}),t},i.prototype.showSlider=function(){e.when(this.smartSlider.responsive.ready,this.smartSlider.backgrounds.load,this.loadLayerImages()).always(e.proxy(function(){this._showSlider()},this))},i.prototype._showSlider=function(t){this.smartSlider.responsive.isReadyToResize=!0,e.when.apply(e,this.smartSlider.widgetDeferreds).done(e.proxy(function(){this.smartSlider.responsive.invalidateResponsiveState=!0,this.smartSlider.responsive.doResize(),this.smartSlider.mainAnimation&&this.smartSlider.mainAnimation.setToStarterSlide(this.smartSlider.starterSlide),this.smartSlider.starterSlide.setStarterSlide(),this.smartSlider.sliderElement.trigger("BeforeVisible"),this.smartSlider.responsive.alignElement.addClass("n2-ss-align-visible"),this.smartSlider.sliderElement.addClass("n2-ss-loaded").removeClass("n2notransition"),this.spinner.find(".n2-ss-spinner-counter").html(""),this.removeSpinner("fadePlaceholder"),e("#"+this.id+"-placeholder").remove(),this.loadingArea=this.smartSlider.sliderElement,"function"==typeof t?t(this.deferred):this.deferred.resolve(),this.smartSlider.sliderElement.triggerHandler("Show")},this))},i.prototype.loaded=function(e){this.deferred.done(e)},i.prototype.showSpinner=function(e){0===this.spinnerCouner&&this.spinner.appendTo(this.loadingArea).css("display",""),this.spinnerCouner++},i.prototype.removeSpinner=function(e){this.spinnerCouner--,this.spinnerCouner<=0&&(this.spinner.detach(),this.spinnerCouner=0)},i}),N2D("ScrollTracker",function(e,t,i){function s(){this.started=!1,this.items=[]}return s.prototype.add=function(e,t,i,s){var r={$el:e,mode:t,onVisible:i,onHide:s,state:"unknown"};this.items.push(r),this._onScroll(r,Math.max(document.documentElement.clientHeight,window.innerHeight)),this.started||this.start()},s.prototype.start=function(){this.started||(e(window).on("scroll.
22scrollTracker",e.proxy(this.onScroll,this)),this.started=!0)},s.prototype.onScroll=function(e){for(var t=Math.max(document.documentElement.clientHeight,window.innerHeight),i=0;i<this.items.length;i++)this._onScroll(this.items[i],t)},s.prototype._onScroll=function(e,t){var i=e.$el[0].getBoundingClientRect(),s=i.height>.7*t,r=!0;"partly-visible"===e.mode?s&&(i.bottom<0||i.top>=i.height)?r=!1:!s&&(i.bottom-i.height<0||i.top-t+i.height>=0)&&(r=!1):"not-visible"===e.mode&&(r=i.top-t<0&&i.top+i.height>0),r===!1?"hidden"!==e.state&&("function"==typeof e.onHide&&e.onHide(),e.state="hidden"):"visible"!==e.state&&("function"==typeof e.onVisible&&e.onVisible(),e.state="visible")},new s}),N2D("SmartSliderApi",function(e,t){function i(){this.sliders={},this.readys={}}i.prototype.makeReady=function(e,t){if(this.sliders[e]=t,"undefined"!=typeof this.readys[e])for(var i=0;i<this.readys[e].length;i++)this.readys[e][i].call(t,t,t.sliderElement)},i.prototype.ready=function(e,t){"undefined"!=typeof this.sliders[e]?t.call(this.sliders[e],this.sliders[e],this.sliders[e].sliderElement):("undefined"==typeof this.readys[e]&&(this.readys[e]=[]),this.readys[e].push(t))},i.prototype.trigger=function(t,i){var s=e(t),r=i.split(","),n=s.closest(".n2-ss-slide,.n2-ss-static-slide"),o=n.data("ss-last-event");s.data("ss-reset-events")||(s.data("ss-reset-events",1),n.on("layerAnimationPlayIn.resetCounter",e.proxy(function(e){e.data("ss-last-event","")},this,n)));for(var a=r.length-1,l=0;l<r.length;l++)r[l]===o&&(a=l);i=a===r.length-1?r[0]:r[a+1],n.data("ss-last-event",i),n.triggerHandler("ss"+i)},i.prototype.applyAction=function(t,i){if(this.isClickAllowed(t)){var s=t.currentTarget,r=e(s).closest(".n2-ss-slider").data("ss");r[i].apply(r,Array.prototype.slice.call(arguments,2))}},i.prototype.applyActionWithClick=function(e){nextend.shouldPreventClick||(e.preventDefault(),this.applyAction.apply(this,arguments))},i.prototype.isClickAllowed=function(t){return!e.contains(t.currentTarget,e(t.target).closest('a[href!="#"], *[onclick][onclick!=""], *[data-n2click][data-n2click!=""], *[n2-lightbox]').get(0))},i.prototype.openUrl=function(t,i){if(this.isClickAllowed(t)){var s=e(t.currentTarget),r=s.data("href");if("undefined"==typeof i&&(i=s.data("target")),"_blank"===i){var n=window.open();n.opener=null,n.location=r}else n2const.setLocation(r)}};var s={to:function(t){e("html, body").animate({scrollTop:t},window.n2ScrollSpeed||400)},top:function(){s.to(0)},bottom:function(){s.to(e(document).height()-e(window).height())},before:function(t){s.to(t.offset().top-e(window).height())},after:function(e){s.to(e.offset().top+e.height())},next:function(t,i){var r=e(i),n=-1;r.each(function(i,s){return e(t).is(s)||e.contains(s,t)?(n=i+1,!1):void 0}),-1!==n&&n<=r.length&&s.element(r.eq(n))},previous:function(t,i){var r=e(i),n=-1;r.each(function(i,s){return e(t).is(s)||e.contains(s,t)?(n=i-1,!1):void 0}),n>=0&&s.element(r.eq(n))},element:function(t){s.to(e(t).offset().top)}};return i.prototype.scroll=function(e,t){this.isClickAllowed(e)&&(e.preventDefault(),s[t].apply(window,Array.prototype.slice.call(arguments,2)))},window.n2ss=new i,i}),N2D("SmartSliderAbstract",function($,undefined){function SmartSliderAbstract(e,t){this.editor=null,this.startedDeferred=$.Deferred(),this.visibleDeferred=$.Deferred(),e instanceof $&&(e="#"+e.attr("id"));var i=e.substr(1);if(this.elementID=i,window[i]&&window[i]instanceof SmartSliderAbstract){if(window[i].sliderElement===undefined)return void console.error("Slider [#"+i+"] inited multiple times");if($.contains(document.body,window[i].sliderElement.get(0)))return void console.error("Slider [#"+i+"] embedded multiple times")}this.readyDeferred=$.Deferred(),N2D(e,$.proxy(function(){return this}
22,this)),this.isAdmin=!!t.admin,this.id=parseInt(i.replace("n2-ss-","")),window[i]=this,t.isDelayed!==undefined&&t.isDelayed?$(window).ready($.proxy(function(){this.waitForExists(i,t)},this)):this.waitForExists(i,t)}return SmartSliderAbstract.prototype.kill=function(){this.killed=!0;var e=this.sliderElement.attr("id"),t=$("#"+e+"-placeholder");t.length?t.remove():N2R("documentReady",function(t){t("#"+e+"-placeholder").remove()});var i=this.sliderElement.closest(".n2-ss-margin");i.length?i.remove():N2R("documentReady",$.proxy(function(e){this.sliderElement.closest(".n2-ss-margin").remove()},this));var s=this.sliderElement.closest(".n2-ss-align");s.length?s.remove():N2R("documentReady",$.proxy(function(e){this.sliderElement.closest(".n2-ss-align").remove()},this)),n2ss.makeReady(this.id,this),this.readyDeferred.resolve()},SmartSliderAbstract.prototype.waitForExists=function(e,t){var i=$.Deferred(),s=function(){var t=$("#"+e);t.length?i.resolve(t):setTimeout(s,500)};i.done($.proxy(this.onSliderExists,this,e,t)),s()},SmartSliderAbstract.prototype.onSliderExists=function(e,t,i){if("TEMPLATE"===i.prop("tagName")){var s=i.data("dependency"),r=i.data("delay"),n=$.proxy(function(){var s=$(i.html());i.replaceWith(s),this.waitForDimension($("#"+e),t),$(window).triggerHandler("n2Rocket",[this.sliderElement])},this);s&&$("#n2-ss-"+s).length?n2ss.ready(s,$.proxy(function(e){e.ready(n)},this)):r?setTimeout(n,r):n()}else this.waitForDimension(i,t)},SmartSliderAbstract.prototype.waitForDimension=function(e,t){var i=$.Deferred(),s=function(){var t=e.is(":visible");t?i.resolve():setTimeout(s,200)};s(),i.done($.proxy(this.onSliderHasDimension,this,e,t))},SmartSliderAbstract.prototype.initCSS=function(){this.parameters.css&&$('<style type="text/css">'+this.parameters.css+"</style>").appendTo("head")},SmartSliderAbstract.prototype.onSliderHasDimension=function($sliderElement,parameters){if(this.killed=!1,n2const.isIE?$sliderElement.attr("data-ie",n2const.isIE):n2const.isEdge&&$sliderElement.attr("data-ie",n2const.isEdge),this.slideClass=this.slideClass||"FrontendSliderSlide",this.responsive=!1,this.mainAnimationLastChangeTime=0,this.currentSlide=null,this.currentRealSlide=null,this.staticSlide=!1,this.isShuffled=!1,this.slides=[],this.visibleSlides=1,this.sliderElement=$sliderElement.data("ss",this),this.needBackgroundWrap=!1,this.blockCarousel=!1,this.parameters=$.extend({admin:!1,playWhenVisible:1,playWhenVisibleAt:.5,perspective:1e3,callbacks:"",autoplay:{},blockrightclick:!1,maintainSession:0,align:"normal",controls:{touch:"horizontal",keyboard:!1,mousewheel:!1,blockCarouselInteraction:1},hardwareAcceleration:!0,layerMode:{playOnce:0,playFirstLayer:1,mode:"skippable",inAnimation:"mainInEnd"},foreverLayerAnimation:!1,parallax:{enabled:0,mobile:0,horizontal:"mouse",vertical:"mouse",origin:"enter"},load:{},mainanimation:{},randomize:{randomize:0,randomizeFirst:0},responsive:{},lazyload:{enabled:0},postBackgroundAnimations:!1,initCallbacks:[],dynamicHeight:0,lightbox:[],lightboxDeviceImages:[],titles:[],descriptions:[],allowBGImageAttachmentFixed:1,backgroundParallax:{strength:0,tablet:0,mobile:0},particlejs:0},parameters),this.disabled={layerAnimations:!1,layerSplitTextAnimations:!1,backgroundAnimations:!1,postBackgroundAnimations:!1},n2const.isSamsungBrowser&&(this.disabled.layerSplitTextAnimations=!0,this.disabled.postBackgroundAnimations=!0),!(this.isAdmin||parameters.responsive.desktop&&parameters.responsive.tablet&&parameters.responsive.mobile)){var md=new MobileDetect(window.navigator.userAgent,801),isTablet=!!md.tablet(),isMobile=!!md.phone();if(!parameters.responsive.mobile&&isMobile||!parameters.responsive.tablet&&isTablet||!parameters.responsive.desktop&&!isTablet&&!isMobile)return void this.kill()}this.initCSS(),this.firstSlideReady=$.Deferred();try{eval(this.parameters.callbacks)}catch(e){console.error(e)}this.startVisibilityCheck(),n2ss.makeReady(this.id,this),this.widgetDeferreds=[],this.sliderElement.on("addWidget",$.proxy(this.addWidget,this)),this.isAdmin&&(this.changeTo=function(){}),this.load=new N2Classes.SmartSliderLoad(this,this.parameters.load),this.backgrounds=new N2Classes.SmartSliderBackgroun
22ds(this),this.__initSlides(),$.when(this.overrideFirstSlide()).done($.proxy(this.onFirstSlideInitialized,this)),navigator.userAgent.match("UCBrowser")&&$("html").addClass("n2-ucbrowser")},SmartSliderAbstract.prototype.overrideFirstSlide=function(){if("undefined"!=typeof window["ss"+this.id]){if("object"==typeof window["ss"+this.id])return window["ss"+this.id].done($.proxy(function(e){null!==e&&this.changeActiveBeforeLoad(e)},this));var e="undefined"!=typeof window["ss"+this.id]?parseInt(window["ss"+this.id]):null;null!==e&&this.changeActiveBeforeLoad(e)}else if(!this.isAdmin&&this.parameters.maintainSession&&"undefined"!=typeof sessionStorage){var t=sessionStorage.getItem("ss-"+this.id);null!==t&&this.changeActiveBeforeLoad(parseInt(t)),this.sliderElement.on("mainAnimationComplete",$.proxy(function(e,t,i,s){sessionStorage.setItem("ss-"+this.id,s)},this))}return!0},SmartSliderAbstract.prototype.changeActiveBeforeLoad=function(e){e>=0&&e<this.realSlides.length&&this.starterSlide!==this.realSlides[e]&&(this.unsetActiveSlide(this.starterSlide),this.starterSlide=this.realSlides[e],this.setActiveSlide(this.realSlides[e]))},SmartSliderAbstract.prototype.startCurrentSlideIndex=function(){this.currentRealSlide=this.currentSlide=this.starterSlide,this.setActiveSlide(this.currentSlide),parseInt(this.parameters.carousel)?this.initCarousel():this.initNotCarousel()},SmartSliderAbstract.prototype.onFirstSlideInitialized=function(){for(var i=0;i<this.realSlides.length;i++)this.realSlides[i].setNext(this.realSlides[i+1>this.realSlides.length-1?0:i+1]);this.startCurrentSlideIndex(),this.firstSlideReady.resolve(this.currentSlide);for(var j=0;j<this.parameters.initCallbacks.length;j++)new Function("$",this.parameters.initCallbacks[j]).call(this,$);if(this.disableLayerAnimations===!0&&(this.disabled.layerAnimations=!0),this.widgets=new N2Classes.SmartSliderWidgets(this),this.sliderElement.on({universalenter:$.proxy(function(e){$(e.target).closest(".n2-full-screen-widget").length||(this.sliderElement.addClass("n2-hover"),this.widgets.setState("hover",!0))},this),universalleave:$.proxy(function(e){e.stopPropagation(),this.sliderElement.removeClass("n2-hover"),this.widgets.setState("hover",!1)},this)}),this.controls={},this.parameters.blockrightclick&&this.sliderElement.bind("contextmenu",function(e){e.preventDefault()}),this.initMainAnimation(),this.initResponsiveMode(),!this.killed){try{var removeHoverClassCB=$.proxy(function(){this.sliderElement.removeClass("n2-has-hover"),this.sliderElement[0].removeEventListener("touchstart",removeHoverClassCB,window.n2const.passiveEvents?{passive:!0}:!1)},this);this.sliderElement[0].addEventListener("touchstart",removeHoverClassCB,window.n2const.passiveEvents?{passive:!0}:!1)}catch(e){}if(this.initControls(),this.startedDeferred.resolve(this),!this.isAdmin){var event="click";this.hasTouch()&&(event="n2click"),this.sliderElement.find("[data-n2click]").each(function(i,el){var el=$(el);el.on(event,function(event){eval(el.data("n2click"))})}),this.sliderElement.find("[data-click]").each(function(i,el){var el=$(el).on("click",function(event){eval(el.data("click"))}).css("cursor","pointer")}),this.sliderElement.find("[data-n2middleclick]").on("mousedown",function(event){var el=$(this);2!=event.which&&4!=event.which||(event.preventDefault(),eval(el.data("n2middleclick")))}),this.sliderElement.find("[data-mouseenter]").each(function(i,el){var el=$(el).on("mouseenter",function(event){eval(el.data("mouseenter"))})}),this.sliderElement.find("[data-mouseleave]").each(function(i,el){var el=$(el).on("mouseleave",function(event){eval(el.data("mouseleave"))})}),this.sliderElement.find("[data-play]").each(function(i,el){var el=$(el).on("n2play",function(event){eval(el.data("play"))})}),this.sliderElement.find("[data-pause]").each(function(i,el){var el=$(el).on("n2pause",function(event){eval(el.data("pause"))})}),this.sliderElement.find("[data-stop]").each(function(i,el){var el=$(el).on("n2stop",function(event){eval(el.data("stop"))})}),window.n2FocusAllowed===undefined&&(window.n2FocusAllowed=!1,$(window).on({keydown:function(){window.n2FocusAllowed=!0},keyup:function(){window.n2FocusAllowed=!1}}
22)),this.sliderElement.find("a").on({focus:$.proxy(function(e){if(n2FocusAllowed){var t=this.findSlideByElement(e.currentTarget);t&&t!==this.currentRealSlide&&this.directionalChangeToReal(t.index)}},this)})}this.preReadyResolve(),this.sliderElement.find('[role="button"],[tabindex]').not("input,select,textarea").keypress(function(e){32!==e.charCode&&13!==e.charCode||(e.preventDefault(),$(e.target).click().triggerHandler("n2Activate"))}).on("mouseleave",function(e){$(e.currentTarget).blur()})}},SmartSliderAbstract.prototype.__initSlides=function(){for(var e=this.sliderElement.find(".n2-ss-slide"),t=0;t<e.length;t++)this.slides.push(new N2Classes[this.slideClass](this,e.eq(t),t));this.starterSlide=this.slides[0];for(var t=0;t<this.slides.length;t++)this.slides[t].init(),1==this.slides[t].$element.data("first")&&(this.starterSlide=this.slides[t]);this.realSlides=this.slides,this.afterRawSlidesReady(),this.randomize(this.slides);var i=this.sliderElement.find(".n2-ss-static-slide");i.length&&(this.staticSlide=new N2Classes.FrontendSliderStaticSlide(this,i))},SmartSliderAbstract.prototype.afterRawSlidesReady=function(){},SmartSliderAbstract.prototype.setVisibleSlides=function(e){e!==this.visibleSlides&&(this.visibleSlides=e,this.sliderElement.triggerHandler("visibleSlidesChanged"))},SmartSliderAbstract.prototype.getVisibleSlides=function(e){return e===undefined&&(e=this.currentSlide),[e]},SmartSliderAbstract.prototype.getActiveSlidesCompat=function(e){return this.getVisibleSlides(e)},SmartSliderAbstract.prototype.findSlideBackground=function(e){return e.$element.find(".n2-ss-slide-background")},SmartSliderAbstract.prototype.getRealIndex=function(e){return e},SmartSliderAbstract.prototype.randomize=function(e){this.randomizeFirst(),this.parameters.randomize.randomize&&this.shuffleSlides(e)},SmartSliderAbstract.prototype.randomizeFirst=function(){this.parameters.randomize.randomizeFirst&&(this.unsetActiveSlide(this.starterSlide),this.starterSlide=this.realSlides[Math.floor(Math.random()*this.realSlides.length)],this.setActiveSlide(this.starterSlide))},SmartSliderAbstract.prototype.shuffleSlides=function(e){e.sort(function(){return.5-Math.random()});for(var t=e[0].$element.parent(),i=0;i<e.length;i++)e[i].$element.appendTo(t),e[i].setIndex(i);this.isShuffled=!0},SmartSliderAbstract.prototype.addWidget=function(e,t){this.widgetDeferreds.push(t)},SmartSliderAbstract.prototype.started=function(e){this.startedDeferred.done($.proxy(e,this))},SmartSliderAbstract.prototype.preReadyResolve=function(){setTimeout($.proxy(this._preReadyResolve,this),1)},SmartSliderAbstract.prototype._preReadyResolve=function(){this.load.start(),this.load.loaded($.proxy(this.readyResolve,this))},SmartSliderAbstract.prototype.readyResolve=function(){$(window).scroll(),this.readyDeferred.resolve()},SmartSliderAbstract.prototype.ready=function(e){this.readyDeferred.done($.proxy(e,this))},SmartSliderAbstract.prototype.startVisibilityCheck=function(){!this.isAdmin&&this.parameters.playWhenVisible?this.ready($.proxy(function(){$(window).on("scroll.n2-ss-visible"+this.id+" resize.n2-ss-visible"+this.id,$.proxy(this.checkIfVisible,this)),this.checkIfVisible()},this)):this.ready($.proxy(function(){this.visibleDeferred.resolve()},this))},SmartSliderAbstract.prototype.checkIfVisible=function(){var e=this.parameters.playWhenVisibleAt,t=$(window).scrollTop(),i=$(window).height(),s=$(document).height(),r=this.sliderElement[0].getBoundingClientRect(),n=i*e/2,o=t+n,a=t+i-n;n>t&&(o*=t/n),t+i>s-n&&(a+=t+i-s+n);var l=t+r.top,h=t+r.bottom;(this.isAdmin||a>=l&&l>=o||h>=o&&a>=h||o>=l&&h>=a)&&($(window).off(".n2-ss-visible"+this.id),this.visibleDeferred.resolve())},SmartSliderAbstract.prototype.visible=function(e){this.visibleDeferred.done($.proxy(e,this))},SmartSliderAbstract.prototype.isPlaying=function(){return"ended"!==this.mainAnimation.getState()},SmartSliderAbstract.prototype.focus=function(e){var t=!1;if(this.responsive.parameters.focusUser&&!e&&(t=!0),t){var i=$(window).scrollTop(),s=this.responsive.focusOffsetTop,r=this.responsive.focusOffsetBottom,n=$(window).height(),o=this.sliderElement[0].getBoundingClientRect(),a=o.top-s,l=n-o.bottom-r;if(0>=a&&0>=l);else if(a>0&&l>0);else{var h=i;if(0>a?h=l>=-a?i-s+o.top:i+r+o.bottom-n:0>l&&(h=a>=-l?i+r+o.bottom-n:i-s+o.top),h!==i)return this._scrollTo(h,Math.abs(i-h))}}return!0},SmartSliderAbstract.prototype._scrollTo=function(e,t){var i=$.Deferred();return window.nextendScrollFocus=!0,$("html, body").animate({scrollTop:e},t,$.proxy(function(){i.resolve(),setTimeout(function(){window.nextendScrollFocus=!1},100)},this)),i},SmartSliderAbstract.prototype.isChangeCarousel=function(e){return"next"===e?this.currentSlide.index+1>=this.slides.length:"previous"===e?this.currentSlide.index-1<0:!1},SmartSliderAbstract.prototype.initNotCarousel=function(){this.next=function(e,t){var i=this.currentSlide.index+1;return i<this.slides.length?this.changeTo(i,!1,e,t):!1},this.previous=function(e,t){var i=this.currentSlide.index-1;return i>=0?this.changeTo(i,!0,e,t):!1},this.isChangePossible=function(e){var t=!1;return"next"===e?(t=this.currentSlide.index+1,t>=this.slides.length&&(t=!1)):"previous"===e&&(t=this.currentSlide.index-1,0>t&&(t=!1)),t!==!1&&t!==this.currentSlide.index};var e=$.proxy(function(e){0===e?this.widgets.setState("nonCarouselFirst",!0):this.widgets.setState("nonCarouselFirst",!1),e===this.slides.length-1?this.widgets.setState("nonCarouselLast",!0):this.widgets.setState("nonCarouselLast",!1)},this);this.startedDeferred.done($.proxy(function(){e(this.currentSlide.index)},this)),this.sliderElement.on("sliderSwitchTo",function(t,i){e(i)})},SmartSliderAbstract.prototype.isChangePossibleCarousel=function(e){var t=!1;return"next"===e?(t=this.currentSlide.index+1,t>=this.slides.length&&(t=0)):"previous"===e&&(t=this.currentSlide.index-1,0>t&&(t=this.slides.length-1)),t!==!1&&t!==this.currentSlide.index},SmartSliderAbstract.prototype.initCarousel=function(){this.next=this.nextCarousel,this.previous=this.previousCarou
22sel,this.isChangePossible=this.isChangePossibleCarousel},SmartSliderAbstract.prototype.nextCarousel=function(e,t){var i=this.currentSlide.index+1;return i>=this.slides.length&&(i=0),this.changeTo(i,!1,e,t)},SmartSliderAbstract.prototype.previousCarousel=function(e,t){var i=this.currentSlide.index-1;return 0>i&&(i=this.slides.length-1),this.changeTo(i,!0,e,t)},SmartSliderAbstract.prototype.directionalChangeToReal=function(e){this.directionalChangeTo(e)},SmartSliderAbstract.prototype.directionalChangeTo=function(e){e>this.currentSlide.index?this.changeTo(e,!1):this.changeTo(e,!0)},SmartSliderAbstract.prototype.changeTo=function(e,t,i,s){if(e=parseInt(e),e!==this.currentSlide.index){this.sliderElement.trigger("sliderSwitchTo",[e,this.getRealIndex(e)]);var r=$.now();return $.when($.when.apply($,this.backgrounds.preLoadSlides(this.getVisibleSlides(this.slides[e]))),this.focus(i)).done($.proxy(function(){if(this.mainAnimationLastChangeTime<=r){this.mainAnimationLastChangeTime=r;var n=this.mainAnimation.getState();if("ended"===n){"undefined"==typeof i&&(i=!1);var o=this.mainAnimation;"undefined"!=typeof s&&(o=s),this._changeTo(e,t,i,s),o.changeTo(this.currentSlide,this.slides[e],t,i),this._changeCurrentSlide(e)}else"initAnimation"!==n&&"playing"!==n||(this.sliderElement.off(".fastChange").one("mainAnimationComplete.fastChange",$.proxy(function(){this.changeTo.call(this,e,t,i,s)},this)),this.mainAnimation.timeScale(2*this.mainAnimation.timeScale()))}},this)),!0}return!1},SmartSliderAbstract.prototype._changeCurrentSlide=function(e){this.currentRealSlide=this.currentSlide=this.slides[e],this.sliderElement.triggerHandler("sliderChangeCurrentSlide")},SmartSliderAbstract.prototype._changeTo=function(e,t,i,s){},SmartSliderAbstract.prototype.revertTo=function(e,t){this.unsetActiveSlide(this.slides[t]),this.setActiveSlide(this.slides[e]),this._changeCurrentSlide(e),this.sliderElement.trigger("sliderSwitchTo",[e,this.getRealIndex(e)])},SmartSliderAbstract.prototype.setActiveSlide=function(e){e.$element.addClass("n2-ss-slide-active")},SmartSliderAbstract.prototype.unsetActiveSlide=function(e){e.$element.removeClass("n2-ss-slide-active")},SmartSliderAbstract.prototype.findSlideByElement=function(e){e=$(e);for(var t=0;t<this.realSlides.length;t++)if(1===this.realSlides[t].$element.has(e).length)return this.realSlides[t];return!1},SmartSliderAbstract.prototype.findSlideIndexByElement=function(e){var t=this.findSlideByElement(e);return t?t:-1},SmartSliderAbstract.prototype.initMainAnimation=function(){this.mainAnimation=!1},SmartSliderAbstract.prototype.initResponsiveMode=function(){this.dimensions=this.responsive.responsiveDimensions},SmartSliderAbstract.prototype.hasTouch=function(){return"0"!=this.parameters.controls.touch&&this.slides.length>1},SmartSliderAbstract.prototype.initControls=function(){if(!this.parameters.admin){if(this.hasTouch())switch(this.parameters.controls.touch){case"vertical":new N2Classes.SmartSliderControlTouchVertical(this);break;case"horizontal":new N2Classes.SmartSliderControlTouchHorizontal(this)}this.parameters.controls.keyboard&&("undefined"!=typeof this.controls.touch?new N2Classes.SmartSliderControlKeyboard(this,this.controls.touch.axis):new N2Classes.SmartSliderControlKeyboard(this,"horizontal")),this.parameters.controls.mousewheel&&new N2Classes.SmartSliderControlMouseWheel(this),this.controlAutoplay=new N2Classes.SmartSliderControlAutoplay(this,this.parameters.autoplay),this.controlFullscreen=new N2Classes.SmartSliderControlFullscreen(this)}},SmartSliderAbstract.prototype.getSlideIndex=function(e){return e},SmartSliderAbstract.prototype.slideToID=function(e,t){for(var i=0;i<this.realSlides.length;i++)if(this.realSlides[i].id===e)return this.slide(this.getSlideIndex(i),t);var s=$('[data-id="'+e+'"]').closest(".n2-ss-slider");return s.length&&this.id===s.data("ss").id?!0:s.length?($("html, body").animate({scrollTop:s.offset().top},400),s.data("ss").slideToID(e,t)):void 0},SmartSliderAbstract.prototype.slide=function(e,t){return e>=0&&e<this.slides.length?t===undefined?parseInt(this.parameters.carousel)&&this.currentSlide.index===this.slides.length-1&&0===e?this.next():this.currentSlide.index>e?this.changeTo(e,!0):this.changeTo(e):this.changeTo(e,!t):!1},SmartSliderAbstract.prototype.startAutoplay=function(e){return"undefined"!=typeof this.controlAutoplay?(this.controlAutoplay.pauseAutoplayExtraPlayingEnded(e,"autoplayButton"),!0):!1},SmartSliderAbstract}),N2D("SmartSliderWidgets",function($,undefined){function SmartSliderWidgets(e){this.slider=e,this.sliderElement=e.sliderElement.on("BeforeVisible",$.proxy(this.onReady,this)),this.widgets={},this.excludedSlides={},this.states={hover:!1,nonCarouselFirst:!1,nonCarouselLast:!1,currentSlideIndex:-1,singleSlide:!1},this.widgets={previous:this.sliderElement.find(".nextend-arrow-previous"),next:this.sliderElement.find(".nextend-arrow-next"),bullet:this.sliderElement.find(".n2-ss-control-bullet"),autoplay:this.sliderElement.find(".nextend-autoplay"),indicator:this.sliderElement.find(".nextend-indicator"),bar:this.sliderElement.find(".nextend-bar"),thumbnail:this.sliderElement.find(".nextend-thumbn
22ail"),shadow:this.sliderElement.find(".nextend-shadow"),fullscreen:this.sliderElement.find(".nextend-fullscreen"),html:this.sliderElement.find(".nextend-widget-html")}}return SmartSliderWidgets.prototype.setState=function(e,t){if(this.states[e]!=t){this.states[e]=t;var i=e.split(".");switch(i[0]){case"hide":this.onStateChangeSingle(i[1]);break;case"nonCarouselFirst":this.onStateChangeSingle("previous");break;case"nonCarouselLast":this.onStateChangeSingle("next");break;default:this.onStateChangeAll()}}},SmartSliderWidgets.prototype.onStateChangeAll=function(){for(var e in this.widgets)this.onStateChangeSingle(e)},SmartSliderWidgets.prototype.onStateChangeSingle=function(e){if(this.widgets[e].length){var t=!0;if(this.widgets[e].hasClass("n2-ss-widget-display-hover")&&(t=this.states.hover),t&&("previous"===e&&this.states.nonCarouselFirst?t=!1:"next"===e&&this.states.nonCarouselLast&&(t=!1)),t){var i=e+"-"+(this.states.currentSlideIndex+1);this.excludedSlides[i]&&(t=!1)}t&&this.states["hide."+e]!==undefined&&this.states["hide."+e]&&(t=!1),t&&this.states.singleSlide&&("previous"!==e&&"next"!==e&&"bullet"!==e&&"autoplay"!==e&&"indicator"!==e||(t=!1)),this.widgets[e].toggleClass("n2-ss-widget-hidden",!t)}},SmartSliderWidgets.prototype.onReady=function(){this.slider.sliderElement.on("slideCountChanged",$.proxy(function(){this.setState("singleSlide",this.slider.slides.length<=1)},this)),this.dimensions=this.slider.dimensions,this.$vertical=this.sliderElement.find('[data-position="above"],[data-position="below"]').not(".nextend-shadow");var e=!1;for(var t in this.widgets){var i=this.widgets[t].attr("data-exclude-slides");if(i!==undefined){for(var s=i.split(","),r=s.length-1;r>=0;r--){var n=s[r].split("-");if(2===n.length){var o=parseInt(n[0]),a=parseInt(n[1]);if(a>=o)for(var l=o;a>=l;l++)s.push(l)}else s[r]=parseInt(s[r])}if(s.length>0){for(var r=0;r<s.length;r++)this.excludedSlides[t+"-"+s[r]]=!0;e=!0}}}if(e){var h=$.proxy(function(e,t){this.setState("currentSlideIndex",t)},this);h(null,this.slider.currentRealSlide.index),this.slider.sliderElement.on({sliderSwitchTo:h})}this.variableElementsDimension={width:this.sliderElement.find("[data-sswidth]"),height:this.sliderElement.find("[data-ssheight]")},this.variableElements={top:this.sliderElement.find("[data-sstop]"),right:this.sliderElement.find("[data-ssright]"),bottom:this.sliderElement.find("[data-ssbottom]"),left:this.sliderElement.find("[data-ssleft]")},this.slider.sliderElement.on("SliderAnimatedResize",$.proxy(this.onAnimatedResize,this)),
23this.slider.sliderElement.on("SliderResize",$.proxy(this.onResize,this)),this.slider.sliderElement.one("slideCountChanged",$.proxy(function(){this.onResize(this.slider.responsive.lastRatios)},this)),this.onResize(this.slider.responsive.lastRatios),this.onStateChangeAll()},SmartSliderWidgets.prototype.onAnimatedResize=function(e,ratios,timeline,duration){for(var key in this.widgets){var el=this.widgets[key],visible=el.is(":visible");this.dimensions[key+"width"]=visible?el.outerWidth(!1):0,this.dimensions[key+"height"]=visible?el.outerHeight(!1):0}this.dimensions.width=this.dimensions.slider.width,this.dimensions.height=this.dimensions.slider.height,this.dimensions.outerwidth=this.sliderElement.parent().width(),this.dimensions.outerheight=this.sliderElement.parent().height(),this.dimensions.canvaswidth=this.dimensions.slide.width,this.dimensions.canvasheight=this.dimensions.slide.height,this.dimensions.margintop=this.dimensions.slider.marginTop,this.dimensions.marginright=this.dimensions.slider.marginRight,this.dimensions.marginbottom=this.dimensions.slider.marginBottom,this.dimensions.marginleft=this.dimensions.slider.marginLeft;var variableText="";for(var key in this.dimensions){var value=this.dimensions[key];if("object"==typeof value)for(var key2 in value)variableText+="var "+key+key2+" = "+value[key2]+";";else variableText+="var "+key+" = "+value+";"}eval(variableText);for(var k in this.variableElementsDimension)for(var i=0;i<this.variableElementsDimension[k].length;i++){var el=this.variableElementsDimension[k].eq(i);if(el.is(":visible")){var to={};try{to[k]=eval(el.data("ss"+k))+"px";for(var widget in this.widgets)this.widgets[widget].filter(el).length&&("width"==k?this.dimensions[widget+k]=el.outerWidth(!1):"height"==k&&(this.dimensions[widget+k]=el.outerHeight(!1)),eval(widget+k+" = "+this.dimensions[widget+k]+";"))}catch(e){console.log(el," position variable: "+e.message+": ",el.data("ss"+k))}timeline.to(el,duration,to,0)}}for(var k in this.variableElements)for(var i=0;i<this.variableElements[k].length;i++){var el=this.variableElements[k].eq(i);try{var to={};to[k]=eval(el.data("ss"+k))+"px",timeline.to(el,duration,to,0)}catch(e){console.log(el," position variable: "+e.message+": ",el.data("ss"+k))}}},SmartSliderWidgets.prototype.onResize=function(e,ratios,responsive,timeline){if(!timeline){for(var k in this.variableElements)for(var i=0;i<this.variableElements[k].length;i++){var last=this.variableElements[k].data("n2Last"+k);last>0&&this.variableElements[k].css(k,0)}for(var key in this.widgets){var el=this.widgets[key],visible=el.length&&el.is(":visible");el.length&&el.is(":visible")?(this.dimensions[key+"width"]=el.outerWidth(!1),this.dimensions[key+"height"]=el.outerHeight(!1)):(this.dimensions[key+"width"]=0,this.dimensions[key+"height"]=0)}for(var k in this.variableElements)for(var i=0;i<this.variableElements[k].length;i++){var last=this.variableElements[k].data("n2Last"+k);last>0&&this.variableElements[k].css(k,last)}this.dimensions.width=this.dimensions.slider.width,this.dimensions.height=this.dimensions.slider.height,this.dimensions.outerwidth=this.sliderElement.parent().width(),this.dimensions.outerheight=this.sliderElement.parent().height(),this.dimensions.canvaswidth=this.dimensions.slide.width,this.dimensions.canvasheight=this.dimensions.slide.height,this.dimensions.margintop=this.dimensions.slider.marginTop,this.dimensions.marginright=this.dimensions.slider.marginRight,this.dimensions.marginbottom=this.dimensions.slider.marginBottom,this.dimensions.marginleft=this.dimensions.slider.marginLeft;var variableText="";for(var key in this.dimensions){var value=this.dimensions[key];if("object"==typeof value)for(var key2 in value)variableText+="var "+key+key2+" = "+value[key2]+";";else variableText+="var "+key+" = "+value+";"}eval(variableText);for(var k in this.variableElementsDimension)for(var i=0;i<this.variableElementsDimension[k].length;i++){var el=this.variableElementsDimension[k].eq(i);if(el.is(":visible"))try{el.css(k,eval(el.data("ss"+k))+"px");for(var widget in this.widgets)this.widgets[widget].filter(el).length&&("width"==k?this.dimensions[widget+k]=el.outerWidth(!1):"height"==k&&(this.dimensions[widget+k]=el.outerHeight(!1)),eval(widget+k+" = "+this.dimensions[widget+k]+";"))}catch(e){console.log(el," position variable: "+e.message+": ",el.data("ss"+k))}}for(var k in this.variableElements)for(var i=0;i<this.variableElements[k].length;i++){var el=this.variableElements[k].eq(i);try{var value=eval(el.data("ss"+k));el.css(k,value+"px"),el.data("n2Last"+k,value)}catch(e){console.log(el," position variable: "+e.message+": ",el.data("ss"+k))}}this.slider.responsive.refreshStaticSizes()}},SmartSliderWidgets}),N2D("SmartSliderMainAnimationAbstract",function(e,t){function i(t,i){this.state="ended",this.isTouch=!1,this.isReverseAllowed=!0,this.isReverseEnabled=!1,this.reverseSlideIndex=null,this.isNoAnimation=!1,this.slider=t,this.parameters=e.extend({duration:1500,ease:"easeInOutQuint"},i),this.parameters.duration/=1e3,this.sliderElement=t.sliderElement,this.timeline=new NextendTimeline({paused:!0}),this.sliderElement.on("mainAnimationStart",e.proxy(function(e,t,i,s){this._revertCurrentSlideIndex=i,this._revertNextSlideIndex=s},this))}return i.prototype.setToStarterSlide=function(e){},i.prototype.enableReverseMode=function(){this.isReverseEnabled=!0,this.reverseTimeline=new NextendTimeline({paused:!0}),this.sliderElement.triggerHandler("reverseModeEnabled",this.reverseSlideIndex)},i.prototype.disableReverseMode=function(){this.isReverseEnabled=!1},i.prototype.setTouch=function(e){this.isTouch=e},i.prototype.setTouchProgress=function(e){"ended"!==this.state&&(this.isReverseEnabled?0===e?(this.reverseTimeline.progress(0),this.timeline.progress(e,!1)):e>=0&&1>=e?(this.reverseTimeline.progress(0),this.timeline.progress(e)):0>e&&e>=-1&&(this.timeline.progress(0),this.reverseTimeline.progress(Math.abs(e))):0>=e?this.timeline.progress(Math.max(e,1e-6),!1):e>=0&&1>=e&&this.timeline.progress(e))},i.prototype.setTouchEnd=function(e,t,i){"ended"!=this.state&&(this.isReverseEnabled?this._setTouchEndWithReverse(e,t,i):this._setTouchEnd(e,t,i))},i.prototype._setTouchEnd=function(e,t,i){e&&t>0?(this.fixTouchDuration(this.timeline,t,i),this.timeline.play()):(this.revertCB(this.timeline),this.fixTouchDuration(this.timeline,1-t,i),this.timeline.reverse(),this.willRevertTo(this._revertCurrentSlideIndex,this._revertNextSlideIndex))},i.prototype._setTouchEndWithReverse=function(e,t,i){e?0>t&&this.reverseTimeline.totalDuration()>0?(this.fixTouchDuration(this.reverseTimeline,t,i),this.reverseTimeline.play(),this.willRevertTo(this.reverseSlideIndex,this._revertNextSlideIndex)):(this.willCleanSlideIndex(this.reverseSlideIndex),this.fixTouchDuration(this.timeline,t,i),this.timeline.play()):(0>t?(this.revertCB(this.reverseTimeline),this.fixTouchDuration(this.reverseTimeline,1-t,i),this.reverseTimeline.reverse()):(this.revertCB(this.timeline),this.fixTouchDuration(this.timeline,1-t,i),this.timeline.reverse()),this.willCleanSlideIndex(this.reverseSlideIndex),this.willRevertTo(this._revertCurrentSlideIndex,this._revertNextSlideIndex))},i.prototype.fixTouchDuration=function(e,t,i){var s=e.totalDuration(),r=Math.max(s/3,Math.min(s,i/Math.abs(t)/1e3));r!==s&&e.totalDuration(r)},i.prototype.getState=function(){return this.state},i.prototype.timeScale=function(){return arguments.length>0?(this.timeline.timeScale(arguments[0]),this):this.timeline.timeScale()},i.prototype.changeTo=function(t,i,s,r){if(this._initAnimation(t,i,s),this.state="initAnimation",this.timeline.paused(!0),this.timeline.eventCallback("onStart",this.onChangeToStart,[t,i,r],this),this.timeline.eventCallback("onComplete",this.onChangeToComplete,[t,i,r],this),this.timeline.eventCallback("onReverseComplete",null),this.revertCB=e.proxy(function(e){e.eventCallback("onReverseComplete",this.onReverseChangeToComplete,[i,t,r],this)},this),this.slider.parameters.dynamicHeight){var n=new NextendTimeline;this.slider.responsive.doResize(null,n,i,.6),this.timeline.add(n)}this.isTouch||this.timeline.play()},i.prototype.willRevertTo=function(t,i){this.sliderElement.triggerHandler("mainAnimationWillRevertTo",[t,i]),this.sliderElement.one("mainAnimationComplete",e.proxy(this.revertTo,this,t,i))},i.prototype.revertTo=function(e,t){this.slider.revertTo(e,t),this.slider.slides[t].triggerHandler("mainAnimationStartInCancel")},i.prototype.willCleanSlideIndex=function(t){this.sliderElement.one("mainAnimationComplete",e.proxy(this.cleanSlideIndex,this,t))},i.prototype.cleanSlideIndex=function(){},i.prototype._initAnimation=function(e,t,i){},i.prototype.onChangeToStart=function(e,t,i){this.state="playing";var s=[this,e.index,t.index,i];this.sliderElement.trigger("mainAnimationStart",s),this.slider.slides[e.index].trigger("mainAnimationStartOut",s),this.slider.slides[t.index].trigger("mainAnimationStartIn",s)},i.prototype.onChangeToComplete=function(e,t,i){var s=[this,e.index,t.index,i];this.clearTimelines(),this.disableReverseMode(),this.slider.slides[e.index].trigger("mainAnimationCompleteOut",s),this.slider.slides[t.index].trigger("mainAnimationCompleteIn",s),this.state="ended",this.sliderElement.trigger("mainAnimationComplete",s)},i.prototype.onReverseChangeToComplete=function(e,t,s){i.prototype.onChangeToComplete.apply(this,arguments)},i.prototype.clearTimelines=function(){this.revertCB=function(){},this.timeline.clear(),this.timeline.timeScale(1)},i.prototype.getEase=function(){return this.isTouch?"linear":this.parameters.ease},i}),N2D("SmartSliderControlAutoplay",function(e,t){"use strict";function i(t,i){this._paused=!0,this._wait=!1,this._disabled=!1,this._currentCount=0,this._progressEnabled=!1,this.timeline=null,this.hasButton=!1,this.deferredsMediaPlaying=null,this.deferredMouseLeave=null,this.deferredMouseEnter=null,this.mainAnimationDeferred=!0,this.autoplayDeferred=null,this.slider=t,this.parameters=e.extend({enabled:0,start:1,duration:8e3,autoplayToSlide:0,autoplayToSlideIndex:-1,allowReStart:0,pause:{mouse:"enter",click:!0,mediaStarted:!0},resume:{click:0,mouse:0,mediaEnded:!0}},i),this.parameters.enabled?(this.parameters.duration/=1e3,t.controls.autoplay=this,this.deferredsExtraPlaying={},this.slider.visible(e.proxy(this.onReady,this))):this.disable(),t.controls.autoplay=this}var s=!1;return i.prototype.onReady=function(){this.autoplayDeferred=e.Deferred();var i={_progress:0};
23this.timeline=NextendTween.to(i,this.getSlideDuration(this.slider.currentSlide.index),{_progress:1,paused:!0,onComplete:e.proxy(this.next,this)}),this._progressEnabled&&this.enableProgress();var r=this.slider.sliderElement;if(this.parameters.start?this.continueAutoplay():this.pauseAutoplayExtraPlaying(null,"autoplayButton"),r.on("mainAnimationStart.autoplay",e.proxy(this.onMainAnimationStart,this)),"0"!=this.parameters.pause.mouse)switch(r.on("touchend.autoplay",function(){s=!0,setTimeout(function(){s=!1},300)}),this.parameters.pause.mouse){case"enter":r.on("mouseenter.autoplay",e.proxy(this.pauseAutoplayMouseEnter,this)),r.on("mouseleave.autoplay",e.proxy(this.pauseAutoplayMouseEnterEnded,this));break;case"leave":r.on("mouseleave.autoplay",e.proxy(this.pauseAutoplayMouseLeave,this)),r.on("mouseenter.autoplay",e.proxy(this.pauseAutoplayMouseLeaveEnded,this))}if(this.parameters.pause.click&&!this.parameters.resume.click?r.on("universalclick.autoplay",e.proxy(function(e){e.ss3HandledAutoplay===t&&this.pauseAutoplayUniversal(e)},this)):!this.parameters.pause.click&&this.parameters.resume.click?r.on("universalclick.autoplay",e.proxy(function(e){e.ss3HandledAutoplay===t&&this.pauseAutoplayExtraPlayingEnded(e,"autoplayButton")},this)):this.parameters.pause.click&&this.parameters.resume.click&&r.on("universalclick.autoplay",e.proxy(function(e){e.ss3HandledAutoplay===t&&(this._paused?this.pauseAutoplayExtraPlayingEnded(e,"autoplayButton"):this.pauseAutoplayUniversal(e))},this)),this.parameters.pause.mediaStarted&&(this.deferredsMediaPlaying={},r.on("mediaStarted.autoplay",e.proxy(this.pauseAutoplayMediaPlaying,this)),r.on("mediaEnded.autoplay",e.proxy(this.pauseAutoplayMediaPlayingEnded,this))),"0"!=this.parameters.resume.mouse)switch(this.parameters.resume.mouse){case"enter":this.hasButton&&"0"!=this.parameters.pause.mouse?r.on("mouseenter.autoplay",e.proxy(this.continueAutoplay,this)):r.on("mouseenter.autoplay",e.proxy(function(e){this.pauseAutoplayExtraPlayingEnded(e,"autoplayButton")},this));break;case"leave":this.hasButton&&"0"!=this.parameters.pause.mouse?r.on("mouseleave.autoplay",e.proxy(this.continueAutoplay,this)):r.on("mouseleave.autoplay",e.proxy(function(e){this.pauseAutoplayExtraPlayingEnded(e,"autoplayButton")},this))}this.parameters.resume.mediaEnded&&r.on("mediaEnded.autoplay",e.proxy(this.continueAutoplay,this)),r.on("autoplayExtraWait.autoplay",e.proxy(this.pauseAutoplayExtraPlaying,this)),r.on("autoplayExtraContinue.autoplay",e.proxy(this.pauseAutoplayExtraPlayingEnded,this)),this.slider.sliderElement.on("mainAnimationComplete.autoplay",e.proxy(this.onMainAnimationComplete,this))},i.prototype.enableProgress=function(){this.timeline&&this.timeline.eventCallback("onUpdate",e.proxy(this.onUpdate,this)),this._progressEnabled=!0},i.prototype.onMainAnimationStart=function(t,i,s,r,n){this.mainAnimationDeferred=e.Deferred(),this.deActivate(0,"wait");for(var o in this.deferredsMediaPlaying)this.deferredsMediaPlaying[o].resolve()},i.prototype.onMainAnimationComplete=function(e,t,i,s){this.parameters.autoplayToSlideIndex>=0&&this.parameters.autoplayToSlideIndex==this.slider.currentRealSlide.index+1&&this.limitAutoplay(),this.timeline.duration(this.getSlideDuration(s)),this.mainAnimationDeferred.resolve(),this.continueAutoplay()},i.prototype.getSlideDuration=function(e){var t=this.slider.realSlides[this.slider.getRealIndex(e)],i=t.minimumSlideDuration;return 0==i&&(i=this.parameters.duration),i},i.prototype.continueAutoplay=function(t){"pending"==this.autoplayDeferred.state()&&this.autoplayDeferred.reject();var i=[];for(var s in this.deferredsExtraPlaying)i.push(this.deferredsExtraPlaying[s]);for(var s in this.deferredsMediaPlaying)i.push(this.deferredsMediaPlaying[s]);this.deferredMouseEnter&&i.push(this.deferredMouseEnter),this.deferredMouseLeave&&i.push(this.deferredMouseLeave),i.push(this.mainAnimationDeferred),this.autoplayDeferred=e.Deferred(),this.autoplayDeferred.done(e.proxy(this._continueAutoplay,this)),e.when.apply(e,i).done(e.proxy(function(){"pending"==this.autoplayDeferred.state()&&this.autoplayDeferred.resolve()},this))},i.prototype._continueAutoplay=function(){!this._paused&&!this._wait||this._disabled||(this._paused=!1,this._wait=!1,this.slider.sliderElement.triggerHandler("autoplayStarted"),1==this.timeline.progress()&&this.timeline.pause(0,!1),this.startTimeout(null))},i.prototype.pauseAutoplayUniversal=function(e){this.pauseAutoplayExtraPlaying(e,"autoplayButton"),this.deActivate(null,"pause")},i.prototype.pauseAutoplayMouseEnter=function(){s||(this.autoplayDeferred.reject(),this.deferredMouseEnter=e.Deferred(),this.deActivate(null,"leave"==this.parameters.resume.mouse?"wait":"pause"))},i.prototype.pauseAutoplayMouseEnterEnded=function(){this.deferredMouseEnter&&this.deferredMouseEnter.resolve()},i.prototype.pauseAutoplayMouseLeave=function(){this.autoplayDeferred.reject(),this.deferredMouseLeave=e.Deferred(),this.deActivate(null,"enter"==this.parameters.resume.mouse?"wait":"pause")},i.prototype.pauseAutoplayMouseLeaveEnded=function(){this.deferredMouseLeave&&this.deferredMouseLeave.resolve()},i.prototype.pauseAutoplayMediaPlaying=function(t,i){"undefined"!=typeof this.deferredsMediaPlaying[i]&&this.autoplayDeferred.reject(),this.deferredsMediaPlaying[i]=e.Deferred(),this.deActivate(null,"wait")},i.prototype.pauseAutoplayMediaPlayingEnded=function(e,t){"undefined"!=typeof this.deferredsMediaPlaying[t]&&(this.autoplayDeferred.reject(),this.deferredsMediaPlaying[t].resolve(),delete this.deferredsMediaPlaying[t])},i.prototype.pauseAutoplayExtraPlaying=function(t,i){"undefined"!=typeof this.deferredsExtraPlaying[i]&&this.autoplayDeferred.reject(),this.deferredsExtraPlaying[i]=e.Deferred(),this.deActivate(null,"pause")},i.prototype.pauseAutoplayExtraPlayingEnded=function(e,t){"undefined"!=typeof this.deferredsExtraPlaying[t]&&(this.autoplayDeferred.reject(),this.deferredsExtraPlaying[t].resolve(),delete this.deferredsExtraPlaying[t]),this.continueAutoplay()},i.prototype.deActivate=function(e,t){"pause"==t?this._paused||(this._paused=!0,0!==e&&this.slider.sliderElement.triggerHandler("autoplayPaused")):"wait"==t&&(this._wait||(this._wait=!0,0!==e&&this.slider.sliderElement.triggerHandler("autoplayWait"))),this.timeline&&this.timeline.pause(e,!1)},i.prototype.disable=function(){this.deActivate(0,"pause"),this.slider.sliderElement.triggerHandler("autoplayPaused"),this.slider.sliderElement.triggerHandler("autoplayDisabled"),this.slider.sliderElement.off(".auto
23play"),this._disabled=!0},i.prototype.startTimeout=function(e){this._paused||this._disabled||this.timeline.play(e)},i.prototype.next=function(){this.timeline.pause(),this._currentCount++,(this.parameters.autoplayToSlide>0&&this._currentCount>=this.parameters.autoplayToSlide||this.parameters.autoplayToSlideIndex>=0&&this.parameters.autoplayToSlideIndex==this.slider.currentRealSlide.index+2)&&this.limitAutoplay(),this.slider.nextCarousel(!0)},i.prototype.limitAutoplay=function(){this.parameters.allowReStart?(this._currentCount=0,this.slider.sliderElement.triggerHandler("autoplayExtraWait","autoplayButton")):this.disable()},i.prototype.onUpdate=function(){this.slider.sliderElement.triggerHandler("autoplay",this.timeline.progress())},i}),N2D("SmartSliderControlFullscreen",function(e,t){"use strict";function i(t,i,s){this.slider=t,this.responsive=this.slider.responsive,this._type=this.responsive.parameters.type,this._forceFull=this.responsive.parameters.forceFull,this.forceFullpage="auto"==this._type||"fullwidth"==this._type||"fullpage"==this._type,this.forceFullpage&&(this._upscale=this.responsive.parameters.upscale,this._minimumHeightRatio=e.extend({},this.responsive.parameters.minimumHeightRatio),this._maximumHeightRatio=e.extend({},this.responsive.parameters.maximumHeightRatio)),this.isFullScreen=!1,this.fullParent=this.slider.sliderElement.closest(".
23n2-ss-align"),this.browserSpecific={};var r=this.slider.sliderElement[0];r.requestFullscreen?(this.browserSpecific.requestFullscreen="requestFullscreen",this.browserSpecific.event="fullscreenchange"):r.msRequestFullscreen?(this.browserSpecific.requestFullscreen="msRequestFullscreen",this.browserSpecific.event="MSFullscreenChange"):r.mozRequestFullScreen?(this.browserSpecific.requestFullscreen="mozRequestFullScreen",this.browserSpecific.event="mozfullscreenchange"):r.webkitRequestFullscreen?(this.browserSpecific.requestFullscreen="webkitRequestFullscreen",this.browserSpecific.event="webkitfullscreenchange"):(this.browserSpecific.requestFullscreen="nextendRequestFullscreen",this.browserSpecific.event="nextendfullscreenchange",this.fullParent[0][this.browserSpecific.requestFullscreen]=e.proxy(function(){this.fullParent.css({position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundColor:"#000",zIndex:1e6}),document.fullscreenElement=this.fullParent[0],this.triggerEvent(document,this.browserSpecific.event),e(window).trigger("resize")},this)),document.exitFullscreen?this.browserSpecific.exitFullscreen="exitFullscreen":document.msExitFullscreen?this.browserSpecific.exitFullscreen="msExitFullscreen":document.mozCancelFullScreen?this.browserSpecific.exitFullscreen="mozCancelFullScreen":document.webkitExitFullscreen?this.browserSpecific.exitFullscreen="webkitExitFullscreen":(this.browserSpecific.exitFullscreen="nextendExitFullscreen",this.fullParent[0][this.browserSpecific.exitFullscreen]=e.proxy(function(){this.fullParent.css({position:"",left:"",top:"",width:"",height:"",backgroundColor:"",zIndex:""}),document.fullscreenElement=null,this.triggerEvent(document,this.browserSpecific.event)},this)),document.addEventListener(this.browserSpecific.event,e.proxy(this.fullScreenChange,this))}return i.prototype.switchState=function(){this.isFullScreen=!this.isFullScreen,this.isFullScreen?this._fullScreen():this._normalScreen()},i.prototype.requestFullscreen=function(){return this.isFullScreen?!1:(this.isFullScreen=!0,this._fullScreen(),!0)},i.prototype.exitFullscreen=function(){return this.isFullScreen?(this.isFullScreen=!1,this._normalScreen(),!0):!1},i.prototype.triggerEvent=function(e,t){var i;document.createEvent?(i=document.createEvent("HTMLEvents"),i.initEvent(t,!0,!0)):document.createEventObject&&(i=document.createEventObject(),i.eventType=t),i.eventName=t,e.dispatchEvent?e.dispatchEvent(i):e.fireEvent&&htmlEvents["on"+t]?e.fireEvent("on"+i.eventType,i):e[t]?e[t]():e["on"+t]&&e["on"+t]()},i.prototype._fullScreen=function(){this.forceFullpage&&(this.responsive.isFullScreen=!0,this.responsive.parameters.type="fullpage",this.responsive.parameters.upscale=!0,this.responsive.parameters.forceFull=!1,this._marginLeft=this.responsive.containerElement[0].style.marginLeft,this.responsive.containerElement.css(n2const.rtl.marginLeft,0)),this.fullParent.css({width:"100%",height:"100%",backgroundColor:e("body").css("background-color")}).addClass("n2-ss-in-fullscreen"),this.fullParent.get(0)[this.browserSpecific.requestFullscreen]()},i.prototype._normalScreen=function(){document[this.browserSpecific.exitFullscreen]?document[this.browserSpecific.exitFullscreen]():this.fullParent[0][this.browserSpecific.exitFullscreen]&&this.fullParent[0][this.browserSpecific.exitFullscreen]()},i.prototype.fullScreenChange=function(){this.isDocumentInFullScreenMode()?(this.slider.sliderElement.triggerHandler("n2FullScreen"),e("html").addClass("n2-in-fullscreen"),this.isFullScreen=!0,e(window).trigger("resize")):this.forceFullpage&&(this.responsive.isFullScreen=!1,this.responsive.parameters.type=this._type,this.responsive.parameters.upscale=this._upscale,this.responsive.parameters.forceFull=this._forceFull,this.responsive.parameters.minimumHeightRatio=this._minimumHeightRatio,this.responsive.parameters.maximumHeightRatio=this._maximumHeightRatio,this.responsive.containerElement.css(n2const.rtl.marginLeft,this._marginLeft),this.fullParent.css({width:"",height:"",backgroundColor:""}).removeClass("n2-ss-in-fullscreen"),e("html").removeClass("n2-in-fullscreen"),e(window).trigger("resize"),this.isFullScreen=!1,this.slider.sliderElement.triggerHandler("n2ExitFullScreen"))},i.prototype.isDocumentInFullScreenMode=function(){return document.fullscreenElement&&null!==document.fullscreenElement||document.msFullscreenElement&&null!==document.msFullscreenElement||document.mozFullScreen||document.webkitIsFullScreen},i}),N2D("SmartSliderControlKeyboard",function(e,t){"use strict";function i(t,s,r){this.slider=t,this.parameters=e.extend({},r),"vertical"===s?this.parseEvent=i.prototype.parseEventVertical:this.parseEvent=i.prototype.parseEventHorizontal,e(document).on("keydown",e.proxy(this.onKeyDown,this)),t.controls.keyboard=this}return i.prototype.isSliderOnScreen=function(){var t=this.slider.sliderElement.offset(),i=e(window).scrollTop(),s=this.slider.sliderElement.height();return t.top+.5*s>=i&&t.top-.5*s<=i+e(window).height()},i.prototype.onKeyDown=function(e){e.target.tagName.match(/BODY|DIV|IMG/)&&this.isSliderOnScreen()&&(e=e||window.event,this.parseEvent.call(this,e)&&(e.preventDefault(),e.stopImmediatePropagation()))},i.prototype.parseEventHorizontal=function(e){switch(e.keyCode){case 39:return this.slider[n2const.rtl.next](),!0;case 37:return this.slider[n2const.rtl.previous](),!0;default:return!1}},i.prototype.parseEventVertical=function(e){switch(e.keyCode){case 40:return this.slider.isChangeCarousel("next")&&this.slider.parameters.controls.blockCarouselInteraction?!1:(this.slider.next(),!0);case 38:return this.slider.isChangeCarousel("previous")&&this.slider.parameters.controls.blockCarouselInteraction?!1:(this.slider.previous(),!0);default:return!1}},i}),N2D("SmartSliderControlMouseWheel",function(e,t){"use strict";function i(t){this.preventScroll=!1,this.preventScrollGlobal=!1,this.slider=t,t.sliderElement.on("wheel",e.proxy(this.onMouseWheel,this)),t.controls.mouseWheel=this}return i.prototype.onMouseWheel=function(e){if(this.preventScroll===!1){var t=e.originalEvent.deltaY<0;t?this.slider.isChangeCarousel("previous")&&this.slider.parameters.controls.blockCarouselInteraction||(this.slider.previous(),e.preventDefault(),this.preventRepeat(),this.preventGlobal()):this.slider.isChangeCarousel("next")&&this.slider.parameters.controls.blockCarouselInteraction||(this.slider.next(),e.preventDefault(),this.preventRepeat(),this.preventGlobal())}else e.preventDefault(),this.preventRepeat(e)},i.prototype.preventRepeat=function(){this.preventScroll!==!1&&clearTimeout(this.preventScroll),this.preventScroll=setTimeout(e.proxy(function(){this.preventScroll=!1,this.preventScrollGlobal!==!1&&(clearTimeout(this.preventScrollGlobal),this.preventScrollGlobal=!1)},this),200)},i.prototype.preventGlobal=function(){this.preventScrollGlobal!==!1&&clearTimeout(this.preventScrollGlobal),this.preventScrollGlobal=setTimeout(e.proxy(function(){this.preventScroll!==!1&&clearTimeout(this.preventScroll),this.preventScroll=!1},this),2e3)},i}),N2D("SmartSliderControlTouch",function(e,t){"use strict";function i(t){if(this.slider=t,this.minDistance=10,this.interactiveDrag=!0,this.preventMultipleTap=!1,this._animation=t.mainAnimation,this.swipeElement=this.slider.sliderElement.find("> .n2-ss-swipe-element"),this.$window=e(window),navigator.userAgent.toLowerCase().indexOf("android")>-1){var i=this.swipeElement.parent();"1"!==i.css("opacity")?this.swipeElement.parent().one("transitionend",e.proxy(this.initTouch,this)):this.initTouch()}else this.initTouch();this.slider.sliderElement.on("sliderChangeCurrentSlide",e.proxy(this.updatePanDirections,this)),this.swipeElement.addClass("n2-grab"),t.controls.touch=this}return i.prototype.initTouch=function(){this._animation.isNoAnimation&&(this.interactiveDrag=!1),this.eventBurrito=N2Classes.EventBurrito(this.swipeElement.get(0),{mouse:!0,axis:"horizontal"===this.axis?"x":"y",start:e.proxy(this._start,this),move:e.proxy(this._move,this),end:e.proxy(this._end,this)}),this.updatePanDirections(),this.cancelKineticScroll=e.proxy(function(){this.kineticScrollCancelled=!0},this)},i.prototype._start=function(t){this.swipeElement.addClass("n2-grabbing"),this.currentInteraction={type:"pointerdown"===t.type?"pointer":"touchstart"===t.type?"touch":"mouse",state:e.extend({},this.state),action:"unknown",distance:[],distanceY:[],percent:0,progress:0,scrollTop:this.$window.scrollTop(),animationStartDirection:"unknown",hadDirection:!1},this.logDistance(0,0)},i.prototype._move=function(e,t,i,s){if(!s||"unknown"!==this.currentInteraction.action){this.currentInteraction.diection=this.measure(i);var r=this.get(i);if((this.currentInteraction.hadDirection||Math.abs(r)>this.minDistance||Math.abs(i.y)>this.minDistance)&&(this.logDistance(r,i.y),this.currentInteraction.percent<1&&this.setTouchProgress(r,i.y),"touch"===this.currentInteraction.type&&e.cancelable&&"switch"===this.currentInteraction.action))return this.currentInteraction.hadDirection=!0,!0}return!1},i.prototype._end=function(e,t,i,s){if("switch"===this.currentInteraction.action){var r=s?0:this.measureRealDirection();if(this.interactiveDrag){var n=this._animation.timeline.progress();1>n&&this._animation.setTouchEnd(r,this.currentInteraction.progress,i.time),this._animation.setTouch(!1)}else r&&this.callAction(this.currentInteraction.animationStartDirection)}this.onEnd(),delete this.currentInteraction,Math.abs(i.x)<10&&Math.abs(i.y)<10?this.onTap(e):nextend.preventClick(),this.swipeElement.removeClass("n2-grabbing")},i.prototype.onEnd=function(){if("scroll"===this.currentInteraction.action&&"pointer"===this.currentInteraction.type){var t=this.currentInteraction.distanceY[0],i=this.currentInteraction.distanceY[this.currentInteraction.distanceY.length-1],s=(t.d-i.d)/(i.t-t.t)*10,r=Date.now(),n=e.proxy(function(){requestAnimationFrame(e.proxy(function(){var e,t;return!this.kineticScrollCancelled&&s&&(e=Date.now()-r,t=s*Math.exp(-e/325),t>1||-1>t)?(this.$window.scrollTop(this.$window.scrollTop()+t),void n()):(delete this.kineticScrollCancelled,void document.removeEventListener("pointerdown",this.cancelKineticScroll))},this))},this);this.kineticScrollCancelled=!1,n(),document.addEventListener("pointerdown",this.cancelKineticScroll)}},i.prototype.setTouchProgress=function(e,t){this.recognizeSwitchInteraction();var i,s=this.getPercent(e);
23if(this.currentInteraction.percent=s,"switch"===this.currentInteraction.action){if(this.interactiveDrag){switch(this.currentInteraction.animationStartDirection){case"up":i=-1*s;break;case"down":i=s;break;case"left":i=-1*s;break;case"right":i=s}this.currentInteraction.progress=i,this._animation.setTouchProgress(i)}}else this.startScrollInteraction(t)},i.prototype.startScrollInteraction=function(e){("vertical"===this.axis||n2const.isEdge)&&(this.slider.controlFullscreen.isFullScreen||(this.currentInteraction.action="scroll","pointer"===this.currentInteraction.type&&this.$window.scrollTop(Math.max(0,this.currentInteraction.scrollTop-e))))},i.prototype.recognizeSwitchInteraction=function(){if("ended"===this._animation.state&&"unknown"===this.currentInteraction.action){var e=this.currentInteraction.diection;if("unknown"!==e&&this.currentInteraction.state[e]){if(this.currentInteraction.animationStartDirection=e,this.interactiveDrag){this._animation.setTouch(this.axis);this.callAction(e,!1)}this.currentInteraction.action="switch"}}},i.prototype.logDistance=function(e,t){this.currentInteraction.distance.length>3&&(this.currentInteraction.distance.shift(),this.currentInteraction.distanceY.shift()),this.currentInteraction.distance.push({d:e,t:Date.now()}),this.currentInteraction.distanceY.push({d:t,t:Date.now()})},i.prototype.measureRealDirection=function(){var e=this.currentInteraction.distance[0],t=this.currentInteraction.distance[this.currentInteraction.distance.length-1];return t.d>=0&&e.d>t.d||t.d<0&&e.d<t.d?0:1},i.prototype.onTap=function(t){this.preventMultipleTap||(e(t.target).trigger("n2click"),this.preventMultipleTap=!0,setTimeout(e.proxy(function(){this.preventMultipleTap=!1},this),500))},i.prototype.updatePanDirections=function(){},i.prototype.setState=function(e,t){"object"!=typeof arguments[0]&&(e={},e[arguments[0]]=arguments[1],t=arguments[2]);var i=!1;for(var s in e)this.state[s]!==e[s]&&(this.state[s]=e[s],i=!0);i&&t&&this.eventBurrito.supportsPointerEvents&&this.syncTouchAction()},i}),N2D("SmartSliderControlTouchHorizontal","SmartSliderControlTouch",function(e,t){"use strict";function i(){this.state={left:!1,right:!1},this.axis="horizontal",N2Classes.SmartSliderControlTouch.prototype.constructor.apply(this,arguments)}return i.prototype=Object.create(N2Classes.SmartSliderControlTouch.prototype),i.prototype.constructor=i,i.prototype.callAction=function(e,t){switch(e){case"left":return this.slider[n2const.rtl.next].call(this.slider,t);case"right":return this.slider[n2const.rtl.previous].call(this.slider,t)}return!1},i.prototype.measure=function(e){return!this.currentInteraction.hadDirection&&Math.abs(e.x)<10||0===e.x||Math.abs(e.x)<Math.abs(e.y)?"unknown":e.x<0?"left":"right"},i.prototype.get=function(e){return e.x},i.prototype.getPercent=function(e){return Math.max(-.99999,Math.min(.99999,e/this.slider.dimensions.slider.width))},i.prototype.updatePanDirections=function(){var e=this.slider.currentSlide.index,t=e+1<this.slider.slides.length,i=e-1>=0;this.slider.parameters.carousel&&(t=!0,i=!0),this.setState({right:i,left:t},!0)},i.prototype.syncTouchAction=function(){var e={"pan-y":!1,none:!1};n2const.isEdge?e.none=!0:(this.state.left&&(e["pan-y"]=!0),this.state.right&&(e["pan-y"]=!0));var t=[];for(var i in e)e[i]&&t.push(i);this.swipeElement.css("touch-action",t.join(" "))},i}),N2D("SmartSliderControlTouchVertical","SmartSliderControlTouch",function(e,t){
24"use strict";function i(){this.state={up:!1,down:!1},this.action={up:"next",down:"previous"},this.axis="vertical",N2Classes.SmartSliderControlTouch.prototype.constructor.apply(this,arguments)}return i.prototype=Object.create(N2Classes.SmartSliderControlTouch.prototype),i.prototype.constructor=i,i.prototype.callAction=function(e,t){switch(e){case"up":return this.slider.next.call(this.slider,t);case"down":return this.slider.previous.call(this.slider,t)}return!1},i.prototype.measure=function(e){return!this.currentInteraction.hadDirection&&Math.abs(e.y)<1||0==e.y||Math.abs(e.y)<Math.abs(e.x)?"unknown":e.y<0?"up":"down"},i.prototype.get=function(e){return e.y},i.prototype.getPercent=function(e){return Math.max(-.99999,Math.min(.99999,e/this.slider.dimensions.slider.height))},i.prototype.updatePanDirections=function(){this.slider.isChangeCarousel("previous");this.setState({down:!this.slider.isChangeCarousel("previous")||!this.slider.parameters.controls.blockCarouselInteraction,up:!this.slider.isChangeCarousel("next")||!this.slider.parameters.controls.blockCarouselInteraction},!0)},i.prototype.syncTouchAction=function(){var e={"pan-x":!1,none:!1};n2const.isEdge?e.none=!0:(this.state.up&&(e["pan-x"]=!0),this.state.down&&(e["pan-x"]=!0));var t=[];for(var i in e)e[i]&&t.push(i);this.swipeElement.css("touch-action",t.join(" "))},i.prototype._start=function(e){this.slider.blockCarousel=!0,N2Classes.SmartSliderControlTouch.prototype._start.apply(this,arguments)},i.prototype.onEnd=function(e){N2Classes.SmartSliderControlTouch.prototype.onEnd.apply(this,arguments),this.slider.blockCarousel=!1},i}
24),N2D("SmartSliderSlideBackgroundColor",function(e,t){function i(e,t){this.$el=t}return i.prototype.getLoadedDeferred=function(){return!0},i}),N2D("SmartSliderSlideBackgroundImage",function(e,t){function i(t,i,s,r){if(this.loadStarted=!1,this.loadAllowed=!1,this.slide=t,this.manager=i,this.background=s,this.deferred=e.Deferred(),this.$background=r,this.blur=r.data("blur"),"blurfit"===s.mode&&(window.n2FilterProperty?(this.$background=this.$background.add(this.$background.clone().insertAfter(this.$background)),this.$background.first().css({margin:"-14px",padding:"14px"}).css(window.n2FilterProperty,"blur(7px)")):(s.element.attr("data-mode","fill"),s.mode="fill")),window.n2FilterProperty&&(this.blur>0?this.$background.last().css({margin:"-"+2*this.blur+"px",padding:2*this.blur+"px"}).css(window.n2FilterProperty,"blur("+this.blur+"px)"):this.$background.last().css({margin:"",padding:""}).css(window.n2FilterProperty,"")),n2const.isWaybackMachine())this.mobileSrc=this.tabletSrc=this.desktopSrc=r.data("desktop");else if(this.desktopSrc=r.data("desktop")||"",this.tabletSrc=r.data("tablet")||"",this.mobileSrc=r.data("mobile")||"",n2const.isRetina){var n=r.data("desktop-retina");n&&(this.desktopSrc=n),n=r.data("tablet-retina"),n&&(this.tabletSrc=n),n=r.data("mobile-retina"),n&&(this.mobileSrc=n)}}return i.prototype.getLoadedDeferred=function(){return this.deferred},i.prototype.preLoad=function(){this.loadAllowed=!0,this.manager.deviceDeferred.done(e.proxy(function(){this.updateBackgroun
24dToDevice(this.manager.device),this.waitForImage()},this))},i.prototype.waitForImage=function(){this.$background.n2imagesLoaded({background:!0},e.proxy(function(t){if(t.images.length>0){var i=t.images[0].img;switch(this.width=i.naturalWidth,this.height=i.naturalHeight,this.background.mode){case"tile":case"center":n2const.devicePixelRatio>1&&this.$background.css("background-size",this.width/n2const.devicePixelRatio+"px "+this.height/n2const.devicePixelRatio+"px")}this.deferred.resolve()}else setTimeout(e.proxy(this.waitForImage,this),100)},this))},i.prototype.updateBackgroundToDevice=function(e){var t=this.desktopSrc;"mobile"===e.device?this.mobileSrc?t=this.mobileSrc:this.tabletSrc&&(t=this.tabletSrc):"tablet"===e.device&&this.tabletSrc&&(t=this.tabletSrc),t?this.setSrc(t):this.setSrc("")},i.prototype.setSrc=function(e){this.loadAllowed&&e!==this.currentSrc&&(""===e?this.$background.css("background-image",""):this.$background.css("background-image",'url("'+e+'")'),this.currentSrc=e)},i.prototype.fadeOut=function(){NextendTween.to(this.$background,.3,{opacity:0})},i}),N2D("SmartSliderSlideBackground",function(e,t){function i(t,i,s){if(this.loadStarted=!1,this.types=this.types||{color:"SmartSliderSlideBackgroundColor",image:"SmartSliderSlideBackgroundImage",video:"SmartSliderSlideBackgroundVideo"},this.width=0,this.height=0,this.slide=t,this.element=i,t.slider.needBackgroundWrap){var r=i.find("> *");this.$wrapElement=e('<div class="n2-ss-slide-background-wrap n2-ow" />').appendTo(i).append(r)}else this.$wrapElement=this.element;this.manager=s,this.loadDeferred=e.Deferred(),this.elements={color:!1,image:!1,video:!1},this.currentSrc="",this.mode=i.data("mode"),this.opacity=i.data("opacity");var n=this.element.find(".n2-ss-slide-background-image");n.length&&(this.elements.image=new N2Classes[this.types.image](t,s,this,n));var o=this.element.find(".n2-ss-slide-background-color");o.length&&(this.elements.color=new N2Classes[this.types.color](this,o));var a=[];for(var l in this.elements)this.elements[l]&&a.push(this.elements[l].getLoadedDeferred());e.when.apply(e,a).then(e.proxy(function(){this.loadDeferred.resolve()},this))}return i.prototype.preLoad=function(){return this.loadStarted||(this.slide.$element.find("[data-lazysrc]").each(function(){var t=e(this);t.attr("src",t.data("lazysrc"))}),this.loadStarted=!0),"pending"===this.loadDeferred.state()&&this.elements.image&&this.elements.image.preLoad(),this.loadDeferred},i.prototype.fadeOut=function(){this.elements.image&&this.elements.image.fadeOut()},i.prototype.hack=function(){NextendTween.set(this.element,{rotation:1e-4})},i.prototype.hasColor=function(){return this.elements.color},i.prototype.hasImage=function(){return this.elements.image},i.prototype.hasVideo=function(){return this.elements.video},i.prototype.hasBackground=function(){return this.elements.color||this.elements.image||this.elements.video}
24,i.prototype.updateBackgroundToDevice=function(e){this.hasImage()&&this.elements.image.updateBackgroundToDevice(e)},i}),N2D("FrontendComponent",function(e,t){function i(e,t,i,s){this.wraps={},this.isVisible=!0,this.device="",this.children=[],this.slide=e,this.parent=t,this.$layer=i.data("layer",this),this.skipSelfAnimation=!1,this.stateCBs=[],this.state={InComplete:!1};var r=this.$layer.find("> .n2-ss-layer-mask");r.length&&(this.wraps.mask=r);var n=this.$layer.find("> .n2-ss-layer-parallax");switch(n.length&&(this.wraps.parallax=n),i.data("pm")){case"absolute":this.placement=new N2Classes.FrontendPlacementAbsolute(this);break;case"normal":this.placement=new N2Classes.FrontendPlacementNormal(this);break;case"content":this.placement=new N2Classes.FrontendPlacementContent(this);break;default:this.placement=new N2Classes.FrontendPlacementDefault(this)}if(this.parallax=i.data("parallax"),this.baseSize=this.baseSize||100,this.isAdaptiveFont=this.get("adaptivefont"),this.refreshBaseSize(this.getDevice("fontsize")),s)for(var o=0;o<s.length;o++)switch(s.eq(o).data("sstype")){case"content":this.children.push(new N2Classes.FrontendComponentContent(this.slide,this,s.eq(o)));break;case"row":this.children.push(new N2Classes.FrontendComponentRow(this.slide,this,s.eq(o)));break;case"col":this.children.push(new N2Classes.FrontendComponentCol(this.slide,this,s.eq(o)));break;case"group":break;default:this.children.push(new N2Classes.FrontendComponentLayer(this.slide,this,s.eq(o)))}}return i.prototype.setState=function(e,t){this.state[e]=t;for(var i=0;i<this.stateCBs.length;i++)this.stateCBs[i].call(this,this.state)},i.prototype.addStateCallback=function(e){this.stateCBs.push(e),e.call(this,this.state)},i.prototype.refreshBaseSize=function(e){this.isAdaptiveFont?this.baseSize=16*e/100:this.baseSize=this.parent.baseSize*e/100},i.prototype.start=function(){this.placement.start();for(var e=0;e<this.children.length;e++)this.children[e].start();var t=this.get("rotation")||0;if(t/360!=0){var i=this.addWrap("rotation","<div class='n2-ss-layer-rotation'></div>");NextendTween.set(i[0],{rotationZ:t})}},i.prototype.onDeviceChange=function(e){this.device=e;var i=this.isVisible;if(this.isVisible=this.getDevice(""),this.isVisible===t&&(this.isVisible=1),i&&!this.isVisible?(this.$layer.data("shows",0),this.$layer.css("display","none"),this.$layer.triggerHandler("visibilityChange",[0])):!i&&this.isVisible&&(this.$layer.data("shows",1),this.$layer.css("display",""),this.$layer.triggerHandler("visibilityChange",[1])),this.isVisible){var s=this.getDevice("fontsize");this.refreshBaseSize(s),this.isAdaptiveFont?this.$layer.css("font-size",16*s/100+"px"):this.$layer.css("font-size",s+"%");for(var r=0;r<this.children.length;r++)this.children[r].onDeviceChange(e);this.placement.onDeviceChange(e),this.onAfterDeviceChange(e)}},i.prototype.onAfterDeviceChange=function(e){},i.prototype.onResize=function(e,t,i){if(this.isVisible||this.placement.alwaysResize){for(var s=0;s<this.children.length;s++)this.children[s].onResize(e,t,i);this.placement.onResize(e,t,i)}},i.prototype.getDevice=function(e,i){var s=this.$layer.data(this.device+e);return s!=t?s:"desktopportrait"!=this.device?this.$layer.data("desktopportrait"+e):i!==t?i:0},i.prototype.get=function(e){return this.$layer.data(e)},i.prototype.hasLayerAnimation=function(){return this.animationManager!==t},i.prototype.getParallaxNodes=function(){var e=[];if(this.isVisible){this.parallax&&e.push(this.$layer[0]);for(var t=0;t<this.children.length;t++)e.push.apply(e,this.children[t].getParallaxNodes())}return e},i.prototype.addWrap=function(i,s){if(this.wraps[i]===t){var r=e(s);switch(i){case"rotation":this.wraps.mask!==t?r.appendTo(this.wraps.mask):this.wraps.parallax!==t?r.appendTo(this.wraps.parallax):r.appendTo(this.$layer),r.append(this.getContents())}this.wraps[i]=r}return r},i.prototype.getContents=function(){return!1},i}),N2D("FrontendPlacement",function(e,t){function i(e){this.layer=e,this.alwaysResize=!1}return i.prototype.start=function(){},i.prototype.onDeviceChange=function(e){},i.prototype.onResize=function(e,t,i){},i}),N2D("FrontendSliderSlide",["FrontendComponentSlideAbstract"],function(e,t){function i(t,i,s){this.isStaticSlide=!1,this.originalIndex=s,this.index=s,this.localIndex=s,this.$element=i.data("slide",this),this.id=this.$element.data("id"),this.background=!1,this.slides=[this],t.parameters.admin?this.minimumSlideDuration=0:(this.minimumSlideDuration=i.data("slide-duration"),e.isNumeric(this.minimumSlideDuration)||(this.minimumSlideDuration=0));var r=i.find(".n2-ss-layers-container");N2Classes.FrontendComponentSlideAbstract.prototype.constructor.call(this,t,r)}return i.prototype=Object.create(N2Classes.FrontendComponentSlideAbstract.prototype),i.prototype.constructor=i,i.prototype.init=function(){N2Classes.FrontendComponentSlideAbstract.prototype.init.call(this);
24var e=this.slider.findSlideBackground(this);e.length>0&&(this.slider.isAdmin?this.background=new N2Classes.SmartSliderSlideBackgroundAdmin(this,e,this.slider.backgrounds):this.background=new N2Classes.SmartSliderSlideBackground(this,e,this.slider.backgrounds)),this.$element.data("slideBackground",this.background)},i.prototype.setStarterSlide=function(){N2Classes.FrontendComponentSlideAbstract.prototype.setStarterSlide.call(this)},i.prototype.setIndex=function(e){this.localIndex=this.index=e},i.prototype.preLoad=function(){return this.background?this.background.preLoad():!0},i.prototype.setPrevious=function(e){this.previousSlide=e},i.prototype.setNext=function(e){this.nextSlide=e,e.setPrevious(this)},i.prototype.hasBackgroundVideo=function(){return this.background.hasVideo()},i.prototype.getTitle=function(){return this.$element.data("title")},i.prototype.getDescription=function(){return this.$element.data("description")},i.prototype.getThumbnail=function(){return this.$element.data("thumbnail")},i.prototype.getThumbnailType=function(){return this.$element.data("thumbnail-type")},i.prototype.hasLink=function(){return!!this.$element.data("haslink")},i}),N2D("FrontendComponentSlideAbstract",["FrontendComponent"],function(e,t){function i(t,i){this.baseSize=16,this.slider=t,this.isCurrentlyEdited()||(this.status=s.NOT_INITIALIZED,N2Classes.FrontendComponent.prototype.constructor.call(this,this,this,i,i.find("> .n2-ss-layer, > .n2-ss-layer-group")),this.skipSelfAnimation=!0,this.slider.sliderElement.on({SliderDeviceOrientation:e.proxy(function(e,t){this.onDeviceChange(t.device+t.orientation.toLowerCase())},this),SliderResize:e.proxy(function(e,t,i){this.onResize(t,i.responsiveDimensions)},this)}),N2Classes.FrontendComponent.prototype.start.call(this))}var s={NOT_INITIALIZED:-1,INITIALIZED:0,READY_TO_START:1,PLAYING:2,ENDED:3,SUSPENDED:4};return i.prototype=Object.create(N2Classes.FrontendComponent.prototype),i.prototype.constructor=i,i.prototype.is=function(e){return this===e},i.prototype.isCurrentlyEdited=function(){return this.slider.parameters.admin&&this.$element.hasClass("n2-ss-currently-edited-slide")},i.prototype.trigger=function(){this.$element.trigger.apply(this.$element,[].slice.call(arguments))},i.prototype.triggerHandler=function(){return this.$element.triggerHandler.apply(this.$element,[].slice.call(arguments))},i.prototype.init=function(){},i.prototype.refreshBaseSize=function(e){},i.prototype.onResize=function(e,t){for(var i=0;i<this.children.length;i++)this.children[i].onResize(e,t,this.isStaticSlide)},i.prototype.hasLayers=function(){return this.children.length>0},i.prototype.onDeviceChange=function(e){this.device=e;for(var t=0;t<this.children.length;t++)this.children[t].onDeviceChange(e);this.placement.onDeviceChange(e)},i.prototype.setStarterSlide=function(){},i}),N2D("FrontendSliderStaticSlide",["FrontendComponentSlideAbstract"],function(e,t){function i(e,t){this.isStaticSlide=!0,this.$element=t.data("slide",this),N2Classes.FrontendComponentSlideAbstract.prototype.constructor.call(this,e,t),this.init()}return i.prototype=Object.create(N2Classes.FrontendComponentSlideAbstract.prototype),i.prototype.constructor=i,i}),N2D("FrontendPlacementAbsolute",["FrontendPlacement"],function(e,t){function i(e){return{left:e.prop("offsetLeft"),top:e.prop("offsetTop")}}function s(e){this.linked=[],this.parentLayer=!1,this.$parent=!1,N2Classes.FrontendPlacement.prototype.constructor.apply(this,arguments)}return s.prototype=Object.create(N2Classes.FrontendPlacement.prototype),s.prototype.constructor=s,s.prototype.start=function(){var t=this.layer.get("parentid");t&&(this.$parent=e("#"+t),0==this.$parent.length?this.$parent=!1:(this.parentLayer=this.$parent.data("layer"),this.parentLayer.placement.addLinked(this),this.onResize=function(){}))},s.prototype.addLinked=function(e){this.linked.push(e),this.alwaysResize=!0},s.prototype.onResize=s.prototype.onResizeLinked=function(e,t,s){var r=this.layer.$layer,n=e.slideW,o=n,a=e.slideH,l=a;parseInt(this.layer.get("responsivesize"))||(o=l=1),r.css("width",this.getWidth(o)),r.css("height",this.getHeight(l)),parseInt(this.layer.get("responsiveposition"))||(n=a=1);var h=this.layer.getDevice("left")*n,d=this.layer.getDevice("top")*a,p=this.layer.getDevice("align"),c=this.layer.getDevice("valign"),u={left:"auto",top:"auto",right:"auto",bottom:"auto"};
24if(this.$parent&&this.$parent.data("layer").isVisible){var m=i(this.$parent),f={left:0,top:0};switch(this.layer.getDevice("parentalign")){case"right":f.left=m.left+this.$parent.width();break;case"center":f.left=m.left+this.$parent.width()/2;break;default:f.left=m.left}switch(p){case"right":u.right=r.parent().width()-f.left-h+"px";break;case"center":u.left=f.left+h-r.width()/2+"px";break;default:u.left=f.left+h+"px"}switch(this.layer.getDevice("parentvalign")){case"bottom":f.top=m.top+this.$parent.height();break;case"middle":f.top=m.top+this.$parent.height()/2;break;default:f.top=m.top}switch(c){case"bottom":u.bottom=r.parent().height()-f.top-d+"px";break;case"middle":u.top=f.top+d-r.height()/2+"px";break;default:u.top=f.top+d+"px"}}else{switch(p){case"right":u.right=-h+"px";break;case"center":u.left=(s?r.parent().width():t.slide.width)/2+h-r.width()/2+"px";break;default:u.left=h+"px"}switch(c){case"bottom":u.bottom=-d+"px";break;case"middle":u.top=(s?r.parent().height():t.slide.height)/2+d-r.height()/2+"px";break;default:u.top=d+"px"}}r.css(u);for(var y=0;y<this.linked.length;y++)this.linked[y].onResizeLinked(e,t,s)},s.prototype.getWidth=function(e){var t=this.layer.getDevice("width");return this.isDimensionPropertyAccepted(t)?t:t*e+"px"},s.prototype.getHeight=function(e){var t=this.layer.getDevice("height");return this.isDimensionPropertyAccepted(t)?t:t*e+"px"},s.prototype.isDimensionPropertyAccepted=function(e){return!(!(e+"").match(/[0-9]+%/)&&"auto"!=e)},s}),N2D("FrontendPlacementContent",["FrontendPlacement"],function(e,t){function i(e){N2Classes.FrontendPlacement.prototype.constructor.apply(this,arguments)}return i.prototype=Object.create(N2Classes.FrontendPlacement.prototype),i.prototype.constructor=i,i}),N2D("FrontendPlacementDefault",["FrontendPlacement"],function(e,t){function i(e){N2Classes.FrontendPlacement.prototype.constructor.apply(this,arguments)}return i.prototype=Object.create(N2Classes.FrontendPlacement.prototype),i.prototype.constructor=i,i}),N2D("FrontendPlacementNormal",["FrontendPlacement"],function(e,t){function i(e){N2Classes.FrontendPlacement.prototype.constructor.apply(this,arguments)}return i.prototype=Object.create(N2Classes.FrontendPlacement.prototype),i.prototype.constructor=i,i.prototype.onDeviceChange=function(){this.updateMargin(),this.updateHeight(),this.updateMaxWidth(),this.updateSelfAlign()},i.prototype.updateMargin=function(){var e=this.layer.getDevice("margin").split("|*|"),t=e.pop(),i=this.layer.baseSize;if("px+"==t&&i>0){t="em";for(var s=0;s<e.length;s++)e[s]=parseInt(e[s])/i}this.layer.$layer.css("margin",e.join(t+" ")+t)},i.prototype.updateHeight=function(){var e=this.layer.getDevice("height"),t="px";if(e>0){var i=this.layer.baseSize;i>0&&(t="em",e=parseInt(e)/i),this.layer.$layer.css("height",e+t)}else this.layer.$layer.css("height","")},i.prototype.updateMaxWidth=function(){var e=parseInt(this.layer.getDevice("maxwidth"));0>=e||isNaN(e)?this.layer.$layer.css("maxWidth","").attr("data-has-maxwidth","0"):this.layer.$layer.css("maxWidth",e+"px").attr("data-has-maxwidth","1")},i.prototype.updateSelfAlign=function(){this.layer.$layer.attr("data-cssselfalign",this.layer.getDevice("selfalign"))},i}),N2D("FrontendComponentCol",["FrontendComponent"],function(e,t){function i(e,t,i){this.$content=i.find(".n2-ss-layer-col:first"),N2Classes.FrontendComponent.prototype.constructor.call(this,e,t,i,this.$content.find("> .n2-ss-layer"))}return i.prototype=Object.create(N2Classes.FrontendComponent.prototype),i.prototype.constructor=i,i.prototype.onDeviceChange=function(e){N2Classes.FrontendComponent.prototype.onDeviceChange.apply(this,arguments),this.updateOrder(),this.updatePadding(),this.updateInnerAlign(),this.updateMaxWidth()},i.prototype.updatePadding=function(){var e=this.getDevice("padding").split("|*|"),t=e.pop(),i=this.baseSize;if("px+"===t&&i>0){t="em";for(var s=0;s<e.length;s++)e[s]=parseInt(e[s])/i}this.$content.css("padding",e.join(t+" ")+t)},i.prototype.updateInnerAlign=function(){this.$layer.attr("data-csstextalign",this.getDevice("inneralign"))},i.prototype.updateMaxWidth=function(){var e=parseInt(this.getDevice("maxwidth"));0>=e||isNaN(e)?this.$layer.css("maxWidth","").attr("data-has-maxwidth","0"):this.$layer.css("maxWidth",e+"px").attr("data-has-maxwidth","1")},i.prototype.getWidthPercentage=function(){return parseFloat(this.$layer.data("colwidthpercent"))},i.prototype.getRealOrder=function(){var e=this.getDevice("order");return 0==e?10:e},i.prototype.updateOrder=function(){var e=this.getDevice("order");0==e?this.$layer.css("order",""):this.$layer.css("order",e)},i.prototype.getContents=function(){return this.$content},i}),N2D("FrontendComponentContent",["FrontendComponent"],function(e,t){function i(e,t,i){this.$content=i.find(".n2-ss-section-main-content:first"),N2Classes.FrontendComponent.prototype.constructor.call(this,e,t,i,this.$content.find("> .n2-ss-layer"))}return i.prototype=Object.create(N2Classes.FrontendComponent.prototype),i.prototype.constructor=i,i.prototype.onDeviceChange=function(e){N2Classes.FrontendComponent.prototype.onDeviceChange.apply(this,arguments),this.updatePadding(),this.updateInnerAlign(),this.updateMaxWidth(),this.updateSelfAlign()},i.prototype.updatePadding=function(){var e=this.getDevice("padding").split("|*|"),t=e.pop(),i=this.baseSize;if("px+"==t&&i>0){t="em";for(var s=0;s<e.length;s++)e[s]=parseInt(e[s])/i}this.$content.css("padding",e.join(t+" ")+t)},i.prototype.updateInnerAlign=function(){this.$layer.attr("data-csstextalign",this.getDevice("inneralign"))},i.prototype.updateMaxWidth=function(){var e=parseInt(this.getDevice("maxwidth"));0>=e||isNaN(e)?this.$layer.css("maxWidth","").attr("data-has-maxwidth","0"):this.$layer.css("maxWidth",e+"px").attr("data-has-maxwidth","1")},i.prototype.updateSelfAlign=function(){this.$layer.attr("data-cssselfalign",this.getDevice("selfalign"))},i.prototype.getContents=function(){return this.$content},i}),N2D("FrontendComponentLayer",["FrontendComponent"],function(e,t){function i(e,i,s){N2Classes.FrontendComponent.prototype.constructor.call(this,e,i,s),this.wraps.mask!==t?this.$item=this.wraps.mask.children():this.wraps.parallax!==t?this.$item=this.wraps.parallax.children():this.$item=s.children()}return i.prototype=Object.create(N2Classes.FrontendComponent.prototype),i.prototype.constructor=i,i.prototype.getContents=function(){return this.$item},i}),N2D("FrontendComponentRow",["FrontendComponent"],function(e,t){function i(e,t,i){this.$row=i.find(".n2-ss-layer-row:first"),this.$rowInner=this.$row.find(".n2-ss-layer-row-inner:first"),N2Classes.FrontendComponent.prototype.constructor.call(this,e,t,i,this.$rowInner.find("> .n2-ss-layer"))}return i.prototype=Object.create(N2Classes.FrontendComponent.prototype),i.prototype.constructor=i,i.prototype.onDeviceChange=function(e){N2Classes.FrontendComponent.prototype.onDeviceChange.apply(this,arguments),this.updatePadding(),this.updateGutter(),this.updateInnerAlign()},i.prototype.onAfterDeviceChange=function(e){this.updateWrapAfter()},i.prototype.updatePadding=function(){var e=this.getDevice("padding").split("|*|"),t=e.pop(),i=this.baseSize;if("px+"===t&&i>0){t="em";for(var s=0;s<e.length;s++)e[s]=parseInt(e[s])/i}this.$row.css("padding",e.join(t+" ")+t)},i.prototype.updateInnerAlign=function(){this.$layer.attr("data-csstextalign",this.getDevice("inneralign"))},i.prototype.updateGutter=function(){var e=this.getDevice("gutter"),t=e/2;if(this.children.length>0)for(var i=this.children.length-1;i>=0;i--)this.children[i].$layer.css("margin",t+"px");this.$rowInner.css({width:"calc(100% + "+(e+1)+"px)",margin:-t+"px"})},i.prototype.getSortedColumns=function(){for(var t=e.extend([],this.children).sort(function(e,t){return e.getRealOrder()-t.getRealOrder()}),i=t.length-1;i>=0;i--)t[i].isVisible||t.splice(i,1);return t},i.prototype.updateWrapAfter=function(){var e=parseInt(this.getDevice("wrapafter")),t=this.getSortedColumns(),i=t.length,s=!1;if(0===i)return!1;e>0&&i>e&&(s=!0),this.$row.attr("row-wrapped",s?1:0);var r;if(s){var n=[];for(r=0;i>r;r++){var o=Math.floor(r/e);"undefined"==typeof n[o]&&(n[o]=[]),n[o].push(t[r]),t[r].$layer.attr("data-r",o).toggleClass("n2-ss-last-in-row",(r+1)%e===0||r===i-1)}var a=this.getDevice("gutter");for(r=0;r<n.length;r++){var l,h=n[r],d=0;for(l=0;l<h.length;l++)d+=h[l].getWidthPercentage();for(l=0;l<h.length;l++)h[l].$layer.css("width","calc("+h[l].getWidthPercentage()/d*100+"% - "+(n2const.isIE||n2const.isEdge?a+1:a)+"px)")}}else{var d=0;for(r=0;i>r;r++)d+=t[r].getWidthPercentage();for(r=0;i>r;r++)t[r].$layer.css("width",t[r].getWidthPercentage()/d*100+"%").removeClass("n2-ss-last-in-row").attr("data-r",0);t[i-1].$layer.addClass("n2-ss-last-in-row")}},i.prototype.getContents=function(){return this.$row},i}),N2D("SmartSliderResponsive",function(e,t){function i(t,i){this.disableTransitions=!1,this.disableTransitionsTimeout=null,this.lastClientHeight=0,this.lastClientHeightTime=0,this.lastOrientation=0,this.pixelSnappingFraction=0,this.focusOffsetTop=0,this.focusOffsetBottom=0,this.isFullScreen=!1,this.invalidateResponsiveState=!0,this.parameters=e.extend({desktop:1,tablet:1,mobile:1,onResizeEnabled:!0,type:"auto",downscale:!0,upscale:!1,constrainRatio:!0,minimumHeight:0,maximumHeight:0,minimumHeightRatio:0,maximumHeightRatio:{desktopLandscape:0,desktopPortrait:0,mobileLandscape:0,mobilePortrait:0,tabletLandscape:0,tabletPortrait:0},maximumSlideWidth:0,maximumSlideWidthLandscape:0,maximumSlideWidthRatio:-1,maximumSlideWidthTablet:0,maximumSlideWidthTabletLandscape:0,maximumSlideWidthMobile:0,maximumSlideWidthMobileLandscape:0,maximumSlideWidthConstrainHeight:0,forceFull:0,forceFullOverflowX:"body",forceFullHorizontalSelector:"",sliderHeightBasedOn:"real",decreaseSliderHeight:0,focusUser:1,deviceModes:{desktopLandscape:1,desktopPortrait:0,mobileLandscape:0,mobilePortrait:0,tabletLandscape:0,tabletPortrait:0},normalizedDeviceModes:{unknownUnknown:["unknown","Unknown"],desktopPortrait:["desktop","Portrait"]},verticalRatioModifiers:{unknownUnknown:1,desktopLandscape:1,desktopPortrait:1,mobileLandscape:1,mobilePortrait:1,tabletLandscape:1,tabletPortrait:1},minimumFontSizes:{desktopLandscape:0,desktopPortrait:0,mobileLandscape:0,mobilePortrait:0,tabletLandscape:0,tabletPortrait:0},ratioToDevice:{Portrait:{tablet:0,mobile:0},Landscape:{tablet:0,mobile:0}},sliderWidthToDevice:{desktopLandscape:0,desktopPortrait:0,mobileLandscape:0,mobilePortrait:0,tabletLandscape:0,tabletPortrait:0},basedOn:"combined",desktopPortraitScreenWidth:1200,tabletPortraitScreenWidth:800,mobilePortraitScreenWidth:440,tabletLandscapeScreenWidth:1024,mobileLandscapeScreenWidth:740,orientationMode:"width_and_height",overflowHiddenPage:0,focus:{offsetTop:"",offsetBottom:""}},i),t.isAdmin&&(this.doResize=NextendThrottle(this.doResize,50)),this.loadDeferred=e.Deferred(),this.slider=t,this.sliderElement=t.sliderElement}var s=null,r=null;return i.OrientationMode={SCREEN:0,ADMIN_LANDSCAPE:1,ADMIN_PORTRAIT:2,SCREEN_WIDTH_ONLY:3},i.DeviceOrientation={UNKNOWN:0,LANDSCAPE:1,PORTRAIT:2},i._DeviceOrientation={0:"Unknown",1:"Landscape",2:"Portrait"},i.DeviceMode={UNKNOWN:0,DESKTOP:1,TABLET:2,MOBILE:3},i._DeviceMode={0:"unknown",1:"desktop",2:"tablet",3:"mobile"},i.prototype.start=function(){nextend.fontsDeferred===t?N2R("windowLoad",e.proxy(function(){this.loadDeferred.resolve()},this)):nextend.fontsDeferred.always(e.proxy(function(){this.loadDeferred.resolve()},this)),this.normalizeTimeout=null,this.delayedResizeAdded=!1,this.deviceMode=i.DeviceMode.UNKNOWN,this.orientationMode=i.OrientationMode.SCREEN,this.orientation=i.DeviceOrientation.UNKNOWN,this.lastRatios={ratio:-1},this.lastRawRatios={ratio:-1},this.normalizedMode="unknownUnknown",this.widgetMargins={Top:[],Right:[],Bottom:[],Left:[]},this.staticSizes={paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},this.enabledWidgetMargins=[],this.alignElement=this.slider.sliderElement.closest(".
24n2-ss-align"),this.$section=this.alignElement.parent();var n=this.ready=e.Deferred();switch(this.sliderElement.triggerHandler("SliderResponsiveStarted"),this.sliderElement.one("SliderResize",function(){n.resolve()}),"fullpage"===this.parameters.type&&"100vh"===this.parameters.sliderHeightBasedOn&&(this.$viewportHeight=e('<div style="height:100vh;width:0;position:absolute;bottom:0;visibility:hidden;"></div>').appendTo("body")),this.containerElementPadding=this.sliderElement.parent(),this.containerElement=this.containerElementPadding.parent(),!this.slider.isAdmin&&this.parameters.overflowHiddenPage&&e("html, body").css("overflow","hidden"),"width"==this.parameters.orientationMode&&(this.orientationMode=i.OrientationMode.SCREEN_WIDTH_ONLY),nextend.smallestZoom=Math.min(Math.max(this.parameters.sliderWidthToDevice.mobilePortrait,120),320),this.parameters.basedOn){case"screen":break;default:if(null==s){var o=new MobileDetect(window.navigator.userAgent,801);s=!!o.tablet(),r=!!o.phone()}}if(this.storeDefaults(),this.parameters.minimumHeight>0&&(this.parameters.minimumHeightRatio=this.parameters.minimumHeight/this.responsiveDimensions.startHeight),this.parameters.maximumHeight>0&&this.parameters.maximumHeight>=this.parameters.minimumHeight&&(this.parameters.maximumHeightRatio={desktopPortrait:this.parameters.maximumHeight/this.responsiveDimensions.startHeight},this.parameters.maximumHeightRatio.desktopLandscape=this.parameters.maximumHeightRatio.desktopPortrait,this.parameters.maximumHeightRatio.tabletPortrait=this.parameters.maximumHeightRatio.desktopPortrait,this.parameters.maximumHeightRatio.tabletLandscape=this.parameters.maximumHeightRatio.desktopPortrait,this.parameters.maximumHeightRatio.mobilePortrait=this.parameters.maximumHeightRatio.desktopPortrait,this.parameters.maximumHeightRatio.mobileLandscape=this.parameters.maximumHeightRatio.desktopPortrait),this.parameters.maximumSlideWidth>0&&(this.parameters.maximumSlideWidthRatio={desktopPortrait:this.parameters.maximumSlideWidth/this.responsiveDimensions.startSlideWidth,desktopLandscape:this.parameters.maximumSlideWidthLandscape/this.responsiveDimensions.startSlideWidth,tabletPortrait:this.parameters.maximumSlideWidthTablet/this.responsiveDimensions.startSlideWidth,tabletLandscape:this.parameters.maximumSlideWidthTabletLandscape/this.responsiveDimensions.startSlideWidth,mobilePortrait:this.parameters.maximumSlideWidthMobile/this.responsiveDimensions.startSlideWidth,mobileLandscape:this.parameters.maximumSlideWidthMobileLandscape/this.responsiveDimensions.startSlideWidth},this.parameters.maximumSlideWidthConstrainHeight)){this.parameters.maximumHeightRatio=e.extend({},this.parameters.maximumSlideWidthRatio);for(var a in this.parameters.maximumHeightRatio)this.parameters.maximumHeightRatio[a]*=this.parameters.verticalRatioModifiers[a]}if(N2Classes.Zoom!==t&&N2Classes.Zoom.add(this),this.onResize(),e(window).on("SliderContentResize",e.proxy(function(e){this.invalidateResponsiveState=!0,this.onResize(e)},this)),this.parameters.onResizeEnabled||"adaptive"==this.parameters.type)if(e(window).on({resize:e.proxy(this.onResize,this),orientationchange:e.proxy(this.onResize,this)}),this.sliderElement.on("SliderInternalResize",e.proxy(this.onResize,this)),window.ResizeObserver!==t){var l=0,h=new ResizeObserver(e.proxy(function(t){t.forEach(e.proxy(function(e){l!==e.contentRect.width&&(l=e.contentRect.width,this.sliderElement.triggerHandler("SliderInternalResize"))},this))},this));h.observe(this.containerElement.parent().get(0))}else try{e('<iframe class="bt_skip_resize" sandbox="allow-same-origin allow-scripts" style="margin:0;padding:0;border:0;display:block;width:100%;height:0;min-height:0;max-height:0px;"/>').on("load",e.proxy(function(t){var i=0,s=e(t.target.contentWindow?t.target.contentWindow:t.target.contentDocument.defaultView).on("resize",e.proxy(function(e){var t=s.width();i!==t&&(i=t,this.sliderElement.triggerHandler("SliderInternalResize"))},this));s[0].document.getElementsByTagName("HTML")[0].setAttribute("lang",window.document.getElementsByTagName("HTML")[0].getAttribute("lang"))},this)).insertBefore(this.containerElement)}catch(d){}},i.prototype.getOuterWidth=function(){return this.responsiveDimensions.startSliderWidth+this.responsiveDimensions.startSliderMarginLeft+this.responsiveDimensions.startSliderMarginRight},i.prototype.storeDefaults=function(){this.responsiveDimensions={startWidth:this.sliderElement.outerWidth(!0),startHeight:this.sliderElement.outerHeight(!0),startSliderMarginhorizontal:0,startSliderMarginvert
24ical:0},this.horizontalElements=[],this.verticalElements=[],this.init(),this.margins={top:this.responsiveDimensions.startSliderMarginTop,right:this.responsiveDimensions.startSliderMarginRight,bottom:this.responsiveDimensions.startSliderMarginBottom,left:this.responsiveDimensions.startSliderMarginLeft
25}},i.prototype.addHorizontalElement=function(e,t,i,s){i=i||"ratio";var r=new N2Classes.SmartSliderResponsiveElement(this,i,e,t,s);return this.horizontalElements.push(r),r},i.prototype.addVerticalElement=function(e,t,i,s){i=i||"ratio";var r=new N2Classes.SmartSliderResponsiveElement(this,i,e,t,s);return this.verticalElements.push(r),r},i.prototype.resizeHorizontalElements=function(e){for(var t=0;t<this.horizontalElements.length;t++){var i=this.horizontalElements[t];"undefined"==typeof e[i.ratioName]&&console.log("error with "+i.ratioName),i.resize(this.responsiveDimensions,e[i.ratioName],!1,0)}this.slider.sliderElement.triggerHandler("SliderResizeHorizontal")},i.prototype.updateVerticalRatios=function(e){return e},i.prototype._updateVerticalRatios=function(t){var i=this.responsiveDimensions.startSlideHeight*t.slideH,s=!1;return this.sliderElement.find(".n2-ss-section-main-content").addClass("n2-ss-section-main-content-calc").each(function(t,r){var n=e(r).outerHeight();n>i&&(s=!0,i=n)}).removeClass("n2-ss-section-main-content-calc"),s&&(t.slideH=i/this.responsiveDimensions.startSlideHeight,t.h=Math.max(t.h,t.slideH)),t},i.prototype.resizeVerticalElements=function(e,t,i){for(var s=0;s<this.verticalElements.length;s++){var r=this.verticalElements[s];"undefined"==typeof e[r.ratioName]&&console.log("error with "+r.ratioName),r.resize(this.responsiveDimensions,e[r.ratioName],t,i)}},i.prototype.getDeviceMode=function(){return i._DeviceMode[this.deviceMode]},i.prototype.getDeviceModeOrientation=function(){return i._DeviceMode[this.deviceMode]+i._DeviceOrientation[this.orientation]},i.prototype.onResize=function(t){this.slider.mainAnimation&&"playing"==this.slider.mainAnimation.getState()?this.delayedResizeAdded||(this.delayedResizeAdded=!0,this.sliderElement.on("mainAnimationComplete.responsive",e.proxy(this._onResize,this,t))):this._onResize(t)},i.prototype._onResize=function(e){this.doResize(e),this.delayedResizeAdded=!1},i.prototype.doNormalizedResize=function(){this.normalizeTimeout&&clearTimeout(this.normalizeTimeout),this.normalizeTimeout=setTimeout(e.proxy(this.doResize,this),10)},i.prototype._getOrientation=function(){return this.orientationMode==i.OrientationMode.SCREEN?window.innerHeight<=window.innerWidth?i.DeviceOrientation.LANDSCAPE:i.DeviceOrientation.PORTRAIT:this.orientationMode==i.OrientationMode.ADMIN_PORTRAIT?i.DeviceOrientation.PORTRAIT:this.orientationMode==i.OrientationMode.ADMIN_LANDSCAPE?i.DeviceOrientation.LANDSCAPE:void 0},i.prototype._getDevice=function(){switch(this.parameters.basedOn){case"combined":return this._getDeviceDevice(this._getDeviceScreenWidth());case"device":return this._getDeviceDevice(i.DeviceMode.DESKTOP);case"screen":return this._getDeviceScreenWidth()}},i.prototype._getDeviceScreenWidth=function(){var e=window.innerWidth;if(this.orientation==i.DeviceOrientation.PORTRAIT){if(e<this.parameters.mobilePortraitScreenWidth)return i.DeviceMode.MOBILE;if(e<this.parameters.tabletPortraitScreenWidth)return i.DeviceMode.TABLET}else{if(e<this.parameters.mobileLandscapeScreenWidth)return i.DeviceMode.MOBILE;if(e<this.parameters.tabletLandscapeScreenWidth)return i.DeviceMode.TABLET}return i.DeviceMode.DESKTOP},i.prototype._getDeviceAndOrientationByScreenWidth=function(){var e=window.innerWidth;return e<this.parameters.mobilePortraitScreenWidth?[i.DeviceMode.MOBILE,i.DeviceOrientation.PORTRAIT]:e<this.parameters.mobileLandscapeScreenWidth?[i.DeviceMode.MOBILE,i.DeviceOrientation.LANDSCAPE]:e<this.parameters.tabletPortraitScreenWidth?[i.DeviceMode.TABLET,i.DeviceOrientation.PORTRAIT]:e<this.parameters.tabletLandscapeScreenWidth?[i.DeviceMode.TABLET,i.DeviceOrientation.LANDSCAPE]:e<this.parameters.desktopPortraitScreenWidth?[i.DeviceMode.DESKTOP,i.DeviceOrientation.PORTRAIT]:[i.DeviceMode.DESKTOP,i.DeviceOrientation.LANDSCAPE]},i.prototype._getDeviceDevice=function(e){return r===!0?i.DeviceMode.MOBILE:s&&e!=i.DeviceMode.MOBILE?i.DeviceMode.TABLET:e},i.prototype._getDeviceZoom=function(e){var t;this.orientationMode==i.OrientationMode.ADMIN_PORTRAIT?t=i.DeviceOrientation.PORTRAIT:this.orientationMode==i.OrientationMode.ADMIN_LANDSCAPE&&(t=i.DeviceOrientation.LANDSCAPE);var s=i.DeviceMode.DESKTOP;return e-this.parameters.ratioToDevice[i._DeviceOrientation[t]].mobile<.001?s=i.DeviceMode.MOBILE:e-this.parameters.ratioToDevice[i._DeviceOrientation[t]].tablet<.001&&(s=i.DeviceMode.TABLET),s},i.prototype.updateOffsets=function(){if(this.focusOffsetTop=0,""!==this.parameters.focus.offsetTop)for(var t=e(this.parameters.focus.offsetTop),i=0;i<t.length;i++)this.focusOffsetTop+=t.eq(i).outerHeight();if(this.focusOffsetBottom=0,""!==this.parameters.focus.offsetBottom)for(var s=e(this.parameters.focus.offsetBottom),i=0;i<s.length;i++)this.focusOffsetBottom+=s.eq(i).outerHeight()},i.prototype.doPixelSnapping=function(){var e=this.containerElementPadding[0].getBoundingClientRect().left+this.pixelSnappingFraction,t=Math.max(0,e%1);t!==this.pixelSnappingFraction&&(this.containerElementPadding.css({marginLeft:-t+"px",marginRight:-t+"px"}),this.pixelSnappingFraction=t)},i.prototype.doResize=function(t,s,r,n){if(this.doPixelSnapping(),this.updateOffsets(),this.disableTransitions||(this.disableTransitions=!0,this.sliderElement.addClass("n2notransition"),this.disableTransitionsTimeout&&clearTimeout(this.disableTransitionsTimeout),this.disableTransitionsTimeout=setTimeout(e.proxy(function(){this.sliderElement.removeClass("n2notransition"),this.disableTransitions=!1},this),500)),!this.containerElementPadding.is(":visible"))return!1;this.refreshMargin();var o;if("center"===this.slider.parameters.align&&("fullpage"===this.parameters.type?this.alignElement.css("maxWidth","none"):(o=this.responsiveDimensions.startWidth,this.staticSizes&&(o+=this.staticSizes.paddingLeft+this.staticSizes.paddingRight),this.alignElement.css("maxWidth",o))),!this.slider.isAdmin&&this.parameters.forceFull){"none"!==this.parameters.forceFullOverflowX&&e(this.parameters.forceFullOverflowX).css("overflow-x","hidden");var a=0,l=0;if(""!==this.parameters.forceFullHorizontalSelector){var h=this.sliderElement.closest(this.parameters.forceFullHorizontalSelector);h&&h.length>0&&(a=h.width(),l=h.offset().left)}var d,p=a>0?a:document.body.clientWidth||document.documentElement.clientWidth,c=this.containerElement.parent(),u=c.offset().left;d=n2const.rtl.isRtl?p-(u+c.outerWidth()):u,this.containerElement.css(n2const.rtl.marginLeft,-d-parseInt(c.css("paddingLeft"))-parseInt(c.css("borderLeftWidth"))+l).width(p)}var m=this.containerElementPadding.width()/this.getOuterWidth(),f=!1,y=this.orientation,g=this.deviceMode,v=null,S=null;if(this.orientationMode===i.OrientationMode.SCREEN_WIDTH_ONLY){var b=this._getDeviceAndOrientationByScreenWidth();S=b[0],v=b[1]}else v=this._getOrientation();if(this.orientation!==v&&(this.orientation=v,f=!0,this.sliderElement.trigger("SliderOrientation",{lastOrientation:i._DeviceOrientation[y],orientation:i._DeviceOrientation[v]})),this.orientationMode!==i.OrientationMode.SCREEN_WIDTH_ONLY&&(S=this._getDevice(m)),this.deviceMode!==S&&(this.deviceMode=S,this.sliderElement.removeClass("n2-ss-"+i._DeviceMode[g]).addClass("n2-ss-"+i._DeviceMode[S]),this.sliderElement.trigger("SliderDevice",{lastDevice:i._DeviceMode[g],device:i._DeviceMode[S]}),f=!0),!this.slider.isAdmin&&"fullpage"===this.parameters.type){var w=0;if("100vh"===this.parameters.sliderHeightBasedOn)w=this.$viewportHe
25ight.height();else if(window.matchMedia&&/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||window.opera)){var x,C=!1;t&&"orientationchange"===t.type&&(C=!0),x=n2const.isIOS?document.documentElement.clientHeight:window.innerHeight,window.matchMedia("(orientation: landscape)").matches?(w=Math.min(screen.width,x),90!=this.lastOrientation&&(C=!0,this.lastOrientation=90)):(w=Math.min(screen.height,x),0!=this.lastOrientation&&(C=!0,this.lastOrientation=0)),w=window.n2ClientHeight||w;var D=e.now(),E=100;/SamsungBrowser/i.test(navigator.userAgent)&&(E=150),!C&&Math.abs(w-this.lastClientHeight)<E&&D-this.lastClientHeightTime>400?w=this.lastClientHeight:(this.lastClientHeight=w,this.lastClientHeightTime=D)}else w=window.n2ClientHeight||document.documentElement.clientHeight||document.body.clientHeight;n2const.isBot&&(w=Math.min(w,document.documentElement.clientWidth||document.body.clientWidth)),this.parameters.maximumHeightRatio[this.getDeviceModeOrientation()]=this.parameters.minimumHeightRatio=(w-this.getVerticalOffsetHeight())/this.responsiveDimensions.startHeight}if(f){this.invalidateResponsiveState=!0;var A=this._normalizeMode(i._DeviceMode[g],i._DeviceOrientation[y]),k=this._normalizeMode(i._DeviceMode[this.deviceMode],i._DeviceOrientation[this.orientation]);A[0]===k[0]&&A[1]===k[1]||(this.normalizedMode=k[0]+k[1],this.sliderElement.trigger("SliderDeviceOrientation",{lastDevice:A[0],lastOrientation:A[1],device:k[0],orientation:k[1]}))}var T=this.parameters.sliderWidthToDevice[this.normalizedMode]/this.parameters.sliderWidthToDevice.desktopPortrait;!this.parameters.downscale&&T>m?m=T:!this.parameters.upscale&&m>T&&(m=T),this._doResize(m,s,r,n),"center"===this.slider.parameters.align&&(o=this.responsiveDimensions.slider.width,this.staticSizes&&(o+=this.staticSizes.paddingLeft+this.staticSizes.paddingRight),this.responsiveDimensions&&(o+=this.responsiveDimensions.startSliderMarginhorizontal),this.alignElement.css("maxWidth",o))},i.prototype._normalizeMode=function(e,t){return this.parameters.normalizedDeviceModes[e+t]},i.prototype.getNormalizedModeString=function(){var e=this._normalizeMode(i._DeviceMode[this.deviceMode],i._DeviceOrientation[this.orientation]);return e.join("")},i.prototype.getModeString=function(){return i._DeviceMode[this.deviceMode]+i._DeviceOrientation[this.orientation]},i.prototype.enabled=function(e,t){return this.parameters.deviceModes[e+t]},i.prototype._doResize=function(t,i,s,r){var n={ratio:t,w:t,h:t,slideW:t,slideH:t,fontRatio:1};this._buildRatios(n,this.slider.parameters.dynamicHeight,s),n.fontRatio=n.slideW;var o=!1;for(var a in n)if(n[a]!=this.lastRawRatios[a]){o=!0;break}(this.invalidateResponsiveState||o)&&(this.lastRawRatios=e.extend({},n),this.resizeHorizontalElements(n),this.finishResize(n,i,r))},i.prototype.finishResize=function(t,i,s){this.loadDeferred.done(e.proxy(function(){var r=e.proxy(function(){this.finishResize=this._finishResize,this.finishResize(t,i,s)},this);/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor)||/CriOS/.exec(window.navigator.userAgent)?setTimeout(r,200):r()},this)),this.invalidateResponsiveState=!1},i.prototype._finishResize=function(e,t,i){this.invalidateResponsiveState=!1,e=this.updateVerticalRatios(e),this.resizeVerticalElements(e,t,i),this.lastRatios=e,t?(this.sliderElement.trigger("SliderAnimatedResize",[e,t,i]),t.eventCallback("onComplete",function(){this.triggerResize(e,t)},[],this)):this.triggerResize(e,!1)},i.prototype.doVerticalResize=function(){var t=this.updateVerticalRatios(e.extend({},this.lastRawRatios)),i=!1;for(var s in t)if(t[s]!=this.lastRatios[s]){i=!0;break}i&&this.finishVerticalResize(t)}
25,i.prototype.finishVerticalResize=function(t){this.loadDeferred.done(e.proxy(function(){this.finishVerticalResize=this._finishVerticalResize,this.finishVerticalResize(t)},this))},i.prototype._finishVerticalResize=function(e){this.resizeVerticalElements(e,!1,0),this.lastRatios=e,this.triggerResize(e,!1)},i.prototype.triggerResize=function(e,t){this.sliderElement.trigger("SliderResize",[e,this,t])},i.prototype._buildRatios=function(e,i,s){var r=this.getDeviceModeOrientation();this.parameters.maximumSlideWidthRatio[r]>0&&e.slideW>this.parameters.maximumSlideWidthRatio[r]&&(e.slideW=this.parameters.maximumSlideWidthRatio[r]),e.slideW=e.slideH=Math.min(e.slideW,e.slideH);var n=this.parameters.verticalRatioModifiers[r];if(e.slideH*=n,"fullpage"===this.parameters.type)e.h*=n,this.parameters.minimumHeightRatio>0&&(e.h=Math.max(e.h,this.parameters.minimumHeightRatio)),this.parameters.maximumHeightRatio[r]>0&&(e.h=Math.min(e.h,this.parameters.maximumHeightRatio[r])),this.slider.isAdmin?this.parameters.constrainRatio?(e.slideH=Math.min(e.slideH,e.h),e.slideH=e.slideW=Math.min(e.slideW,e.slideH)):(e.w=e.slideW,e.h=e.slideH):this.parameters.constrainRatio?(e.slideH=Math.min(e.slideH,e.h),e.slideH=e.slideW=Math.min(e.slideW,e.slideH)):(e.slideW=e.w,this.parameters.maximumSlideWidthRatio[r]>0&&e.slideW>this.parameters.maximumSlideWidthRatio[r]&&(e.slideW=this.parameters.maximumSlideWidthRatio[r]),e.slideH=e.h);else if(e.h*=n,this.parameters.minimumHeightRatio>0&&(e.h=Math.max(e.h,this.parameters.minimumHeightRatio)),this.parameters.maximumHeightRatio[r]>0&&(e.h=Math.min(e.h,this.parameters.maximumHeightRatio[r])),e.slideH=Math.min(e.slideH,e.h),e.slideW=e.slideH/n,"showcase"===this.slider.type&&(e.slideW=Math.min(e.slideW,e.w),e.slideH=Math.min(e.slideW,e.slideH)),i){var o;if(s!==t&&s.background.elements.image!==t?o=s.background.elements.image:this.slider.currentSlide.background.elements.image!==t&&(o=this.slider.currentSlide.background.elements.image),o!==t&&o.width>0&&o.height>0){var a=this.responsiveDimensions.startSlideWidth/o.width*(o.height/this.responsiveDimensions.startSlideHeight);a>0&&(e.slideH*=a,e.h*=a)}}this.sliderElement.triggerHandler("responsiveBuildRatios",[e])},i.prototype.getVerticalOffsetHeight=function(){if(this.isFullScreen)return 0;var e=this.focusOffsetTop+this.focusOffsetBottom;if(this.slider.widgets.$vertical)for(var t=0;t<this.slider.widgets.$vertical.length;t++)e+=this.slider.widgets.$vertical.eq(t).outerHeight();return e+this.parameters.decreaseSliderHeight},i.prototype.addMargin=function(e,t){this.widgetMargins[e].push(t),t.isVisible()&&(this._addMarginSize(e,t.getSize()),this.enabledWidgetMargins.push(t)),this.doNormalizedResize()},i.prototype.addStaticMargin=function(e,t){"Bottom"!=e&&"Top"!=e&&(this.widgetStaticMargins||(this.widgetStaticMargins={Top:[],Right:[],Bottom:[],Left:[]}),this.widgetStaticMargins[e].push(t),this.doNormalizedResize())},i.prototype.refreshMargin=function(){for(var t in this.widgetMargins)for(var i=this.widgetMargins[t],s=i.length-1;s>=0;s--){var r=i[s];if(r.isVisible())-1==e.inArray(r,this.enabledWidgetMargins)&&(this._addMarginSize(t,r.getSize()),this.enabledWidgetMargins.push(r));else{var n=e.inArray(r,this.enabledWidgetMargins);-1!=n&&(this._addMarginSize(t,-r.getSize()),this.enabledWidgetMargins.splice(n,1))}}this.refreshStaticSizes()},i.prototype.refreshStaticSizes=function(){if(this.widgetStaticMargins){var e={paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};for(var t in this.widgetStaticMargins)for(var i=this.widgetStaticMargins[t],s=i.length-1;s>=0;s--){var r=i[s];r.isVisible()&&(e["padding"+t]+=r.getSize())}for(var n in e)this.containerElementPadding.css(e);this.staticSizes=e}},i.prototype._addMarginSize=function(e,t){var i=null;switch(e){case"Top":case"Bottom":i=this._sliderVertical;break;default:i=this._sliderHorizontal}i.data["margin"+e]+=t,this.responsiveDimensions["startSliderMargin"+e]+=t},i}),N2D("SmartSliderResponsiveElement",function(e,t){function i(t,i,s,r,n){this._lastRatio=1,this.responsive=t,this.ratioName=i,this.element=s,this._readyDeferred=e.Deferred(),"undefined"!=typeof n?this.name=n:this.name=null,this.data={},this.helper={parent:null,parentProps:null,fontSize:!1,centered:!1},this._lateInit(r)}return i.prototype._lateInit=function(t){this._cssProperties=t,this.reloadDefault(),-1!=e.inArray("fontSize",t)&&(this.data.fontSize=this.element.data("fontsize"),this.helper.fontSize={fontSize:this.element.data("fontsize"),desktopPortrait:this.element.data("minfontsizedesktopportrait"),desktopLandscape:this.element.data("minfontsizedesktoplandscape"),tabletPortrait:this.element.data("minfontsizetabletportrait"),tabletLandscape:this.element.data("minfontsizetabletlandscape"),mobilePortrait:this.element.data("minfontsizemobileportrait"),mobileLandscape:this.element.data("minfontsizemobilelandscape")},this.responsive.sliderElement.on("SliderDeviceOrientation",e.proxy(this.onModeChange,this))),this.resize=this._resize,this._readyDeferred.resolve()},i.prototype.reloadDefault=function(){for(var e=0;e<this._cssProperties.length;e++){var t=this._cssProperties[e];this.data[t]=parseInt(this.element.css(t))}if(this.name){var i=this.responsive.responsiveDimensions;for(var s in this.data)i["start"+N2Classes.StringHelper.capitalize(this.name)+N2Classes.StringHelper.capitalize(s)]=this.data[s]}},i.prototype.ready=function(e){this._readyDeferred.done(e)},i.prototype.resize=function(t,i){this.ready(e.proxy(this.resize,this,t,i)),this._lastRatio=i},i.prototype._resize=function(e,t,i,s){this.name&&"undefined"==typeof e[this.name]&&(e[this.name]={});var r={};for(var n in this.data){var o=this.data[n]*t;"function"==typeof this[n+"Prepare"]&&(o=this[n+"Prepare"](o)),this.name&&(e[this.name][n]=o),r[n]=o}if(i)i.to(this.element,s,r,0);else if(this.element.css(r),this.helper.centered){var a=this.getVerticalMargin(parseInt((this.helper.parent.height()-this.element.height())/2)),l=this.getHorizontalMargin(parseInt((this.helper.parent.width()-this.element.width())/2));this.element.css({marginLeft:l,marginRight:l,marginTop:a,marginBottom:a})}this._lastRatio=t},i.prototype.getHorizontalMargin=function(e){return e},i.prototype.getVerticalMargin=function(e){return e},i.prototype._refreshResize=function(){this.responsive.ready.done(e.proxy(function(){this._resize(this.responsive.responsiveDimensions,this.responsive.lastRatios[this.ratioName])},this))},i.prototype.widthPrepare=function(e){return Math.round(e)},i.prototype.heightPrepare=function(e){return Math.round(e)},i.prototype.marginLeftPrepare=function(e){return parseInt(e)},i.prototype.marginRightPrepare=function(e){return parseInt(e)},i.prototype.lineHeightPrepare=function(e){return e+"px"},i.prototype.borderLeftWidthPrepare=function(e){return parseInt(e)},i.prototype.borderRightWidthPrepare=function(e){return parseInt(e)},i.prototype.borderTopWidthPrepare=function(e){return parseInt(e)},i.prototype.borderBottomWidthPrepare=function(e){return parseInt(e)},i.prototype.fontSizePrepare=function(e){var t=this.responsive.getNormalizedModeString();return e<this.helper.fontSize[t]?this.helper.fontSize[t]:e},i.prototype.setCentered=function(){this.helper.parent=this.element.parent(),this.helper.centered=!0},i.prototype.unsetCentered=function(){this.helper.centered=!1},i.prototype.onModeChange=function(){this.setFontSizeByMode()},i.prototype.setFontSizeByMode=function(){this.element.css("fontSize",this.fontSizePrepare(this.data.fontSize*this._lastRatio))},i}),N2D("FrontendItemVimeo",function(e,t){function i(t,i,s,r,n,o){this.state={scroll:!1,slide:!1,play:!1,continuePlay:!1},this.readyDeferred=e.Deferred(),this.slider=t,this.playerId=i,this.$playerElement=e("#"+this.playerId),this.$cover=this.$playerElement.find(".n2-ss-layer-player-cover"),this.start=o,this.parameters=e.extend({vimeourl:"//vimeo.com/144598279",autoplay:"0",reset:"0",title:"1",byline:"1",portrait:"0",loop:"0",color:"00adef",volume:"-1"},r),navigator.userAgent.toLowerCase().indexOf("android")>-1&&(this.parameters.autoplay=0),1===parseInt(this.parameters.autoplay)||!n||n2const.isMobile?this.ready(e.proxy(this.initVimeoPlayer,this)):this.ready(e.proxy(function(){this.$playerElement.on("click.vimeo n2click.vimeo",e.proxy(function(e){this.$playerElement.off(".vimeo"),e.preventDefault(),e.stopPropagation(),this.initVimeoPlayer(),this.safePlay()},this))},this))}return i.vimeoDeferred=null,i.prototype.ready=function(t){null===i.vimeoDeferred&&(i.vimeoDeferred=e.getScript("https://player.vimeo.com/api/player.js")),i.vimeoDeferred.done(t)},i.prototype.initVimeoPlayer=function(){var t=e('<iframe allow="autoplay; encrypted-media" id="'+this.playerId+'-frame" src="https://player.vimeo.com/video/'+this.parameters.vimeocode+"?autoplay=0&_video&title="+this.parameters.title+"&byline="+this.parameters.byline+"&background="+this.parameters.background+"&portrait="+this.parameters.portrait+"&color="+this.parameters.color+"&loop="+this.parameters.loop+("-1"==this.parameters.quality?"":"&quality="+this.parameters.quality)+'" style="position: absolute; top:0; left: 0; width: 100%; height: 100%;" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>');
25this.$playerElement.prepend(t),this.isStatic=t.closest(".n2-ss-static-slide").length,this.player=new Vimeo.Player(t[0],{autoplay:!0}),this.promise=this.player.ready(),this.promise.then(e.proxy(this.onReady,this))},i.prototype.onReady=function(){var t=parseFloat(this.parameters.volume);t>=0&&this.setVolume(t),this.slide=this.slider.findSlideByElement(this.$playerElement);var i=this.$playerElement.closest(".n2-ss-layer");this.$cover.length&&(n2const.isMobile&&this.$cover.css("pointer-events","none"),i.one("n2play",e.proxy(function(){NextendTween.to(this.$cover,.3,{opacity:0,onComplete:e.proxy(function(){this.$cover.remove()},this)})},this))),this.player.on("play",e.proxy(function(){this.isStatic||this.slider.sliderElement.trigger("mediaStarted",this.playerId),i.triggerHandler("n2play")},this)),this.player.on("pause",e.proxy(function(){i.triggerHandler("n2pause"),this.state.continuePlay?(this.setState("continuePlay",!1),this.setState("play",!0)):this.setState("play",!1)},this)),this.player.on("ended",e.proxy(function(){this.isStatic||this.slider.sliderElement.trigger("mediaEnded",this.playerId),i.triggerHandler("n2stop"),this.setState("play",!1)},this)),this.isStatic||this.slider.sliderElement.on("mainAnimationStart",e.proxy(function(t,i,s,r,n){-1==e.inArray(this.slide,this.slider.getActiveSlidesCompat(this.slider.slides[r]))?(parseInt(this.parameters.reset)&&this.reset(),this.setState("slide",!1,!0)):this.setState("slide",!0,!0)},this)),""!==this.parameters["scroll-pause"]?N2Classes.ScrollTracker.add(this.$playerElement,this.parameters["scroll-pause"],e.proxy(function(){this.setState("scroll",!0,!0)},this),e.proxy(function(){this.setState("continuePlay",!0),this.setState("scroll",!1,!0)},this)):this.setState("scroll",!0,!0),(this.isStatic||-1!==e.inArray(this.slide,this.slider.getActiveSlidesCompat(this.slider.currentSlide)))&&this.setState("slide",!0,!0),1===parseInt(this.parameters.autoplay)&&this.slider.visible(e.proxy(this.initAutoplay,this)),this.readyDeferred.resolve()},i.prototype.initAutoplay=function(){this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(this.slider.sliderElement.on("mainAnimationComplete",e.proxy(function(t,i,s,r,n){e.inArray(this.slide,this.slider.getActiveSlidesCompat(this.slider.slides[r]))>=0?(this.setState("play",!0),this.setState("slide",!0,!0)):this.setState("slide",!1,!0)},this)),e.inArray(this.slide,this.slider.getActiveSlidesCompat())>=0&&(this.setState("play",!0),this.setState("slide",!0,!0)))},i.prototype.setState=function(e,t,i){i=i||!1,this.state[e]=t,i&&(this.state.play&&this.state.slide&&this.state.scroll?this.play():this.pause())},i.prototype.play=function(){this.slider.sliderElement.trigger("mediaStarted",this.playerId),0!=this.start&&this.safeSetCurrentTime(this.start),this.safePlay(),this.player.getCurrentTime().then(e.proxy(function(e){e<this.start&&0!=this.start&&this.safeSetCurrentTime(this.start),this.safePlay()},this))["catch"](e.proxy(function(e){this.safePlay()},this))},i.prototype.pause=function(){this.safePause()},i.prototype.reset=function(){this.safeSetCurrentTime(this.start)},i.prototype.setVolume=function(t){this.safeCallback(e.proxy(function(){this.promise=this.player.setVolume(t)},this))},i.prototype.safeSetCurrentTime=function(t){this.safeCallback(e.proxy(function(){this.promise=this.player.setCurrentTime(t)},this))},i.prototype.safePlay=function(){this.safeCallback(e.proxy(function(){this.promise=this.player.getPaused(),this.safeCallback(e.proxy(function(e){e&&(this.promise=this.player.play())},this))},this))},i.prototype.safePause=function(){this.safeCallback(e.proxy(function(){this.promise=this.player.getPaused(),this.safeCallback(e.proxy(function(e){e||(this.promise=this.player.pause())},this))},this))},i.prototype.safeCallback=function(e){this.promise&&Promise!==t?this.promise.then(e)["catch"](e):e()},i}),N2D("FrontendItemYouTube",function(e,t){function i(t,i,s,r){this.state={scroll:!1,slide:!1,InComplete:!1,play:!1,continuePlay:!1},this.readyDeferred=e.Deferred(),this.slider=t,this.playerId=i,this.$playerElement=e("#"+this.playerId),this.$cover=this.$playerElement.find(".n2-ss-layer-player-cover"),this.parameters=e.extend({youtubeurl:"//www.youtube.com/watch?v=MKmIwHAFjSU",youtubecode:"MKmIwHAFjSU",center:0,autoplay:"1",related:"1",volume:"-1",loop:0,modestbranding:1,reset:0,query:[],playsinline:0},s),1===parseInt(this.parameters.autoplay)||!r||n2const.isMobile?this.ready(e.proxy(this.initYoutubePlayer,this)):this.$playerElement.on("click.youtube n2click.youtube",e.proxy(function(t){this.$playerElement.off(".youtube"),t.preventDefault(),t.stopPropagation(),this.ready(e.proxy(function(){this.readyDeferred.done(e.proxy(function(){this.play()},this)),this.initYoutubePlayer()},this))},this))}return i.YTDeferred=null,i.prototype.ready=function(s){null===i.YTDeferred&&(i.YTDeferred=e.Deferred(),window.YT===t&&e.getScript("https://www.youtube.com/iframe_api"),function(e){var i=function(){window.YT!==t&&window.YT.loaded?e.resolve():setTimeout(i,100)};i()}(i.YTDeferred)),i.YTDeferred.done(s)},i.prototype.fadeOutCover=function(){this.coverFadedOut===t&&this.$cover.length&&(this.coverFadedOut=!0,NextendTween.to(this.$cover,.3,{opacity:0,onComplete:e.proxy(function(){this.$cover.remove()},this)}))},i.prototype.initYoutubePlayer=function(){var t=this.$playerElement.closest(".
25n2-ss-layer");this.layer=t.data("layer"),this.$cover.length&&(n2const.isMobile&&this.$cover.css("pointer-events","none"),t.one("n2play",e.proxy(this.fadeOutCover,this))),this.isStatic=this.$playerElement.closest(".n2-ss-static-slide").length;var i={enablejsapi:1,origin:window.location.protocol+"//"+window.location.host,wmode:"opaque",rel:1-this.parameters.related,start:this.parameters.start,end:this.parameters.end,modestbranding:this.parameters.modestbranding,playsinline:this.parameters.playsinline};if(1===parseInt(this.parameters.autoplay))if(navigator.userAgent.toLowerCase().indexOf("android")>-1)this.parameters.volume=0;else if(n2const.isIOS){this.parameters.autoplay=0;try{"playsInline"in document.createElement("video")&&(this.parameters.autoplay=1,this.parameters.volume=0,i.playsinline=1)}catch(s){}}n2const.isIOS&&this.parameters.controls&&(i.use_native_controls=1),1==this.parameters.center&&(i.controls=0),1!=this.parameters.controls&&(i.autohide=1,i.controls=0),+(navigator.platform.toUpperCase().indexOf("MAC")>
25=0&&navigator.userAgent.search("Firefox")>-1)&&(i.html5=1);for(var r in this.parameters.query)this.parameters.query.hasOwnProperty(r)&&(i[r]=this.parameters.query[r]);var n={videoId:this.parameters.youtubecode,wmode:"opaque",playerVars:i,events:{onReady:e.proxy(this.onReady,this),onStateChange:e.proxy(function(e){switch(e.data){case YT.PlayerState.PLAYING:this.isStatic||this.slider.sliderElement.trigger("mediaStarted",this.playerId),t.triggerHandler("n2play");break;case YT.PlayerState.PAUSED:t.triggerHandler("n2pause"),this.state.continuePlay?(this.setState("continuePlay",!1),this.setState("play",!0)):this.setState("play",!1);break;case YT.PlayerState.ENDED:1==this.parameters.loop?(this.player.seekTo(this.parameters.start),this.player.playVideo()):(this.isStatic||this.slider.sliderElement.trigger("mediaEnded",this.playerId),t.triggerHandler("n2stop"),this.setState("play",!1))}},this)}};this.parameters["privacy-enhanced"]&&(n.host="https://www.youtube-nocookie.com"),this.player=new YT.Player(this.playerId+"-frame",n),this.slide=this.slider.findSlideByElement(this.$playerElement),1==this.parameters.center&&(this.$playerElement.parent().css("overflow","hidden"),this.onResize(),this.slider.sliderElement.on("SliderResize",e.proxy(this.onResize,this)))},i.prototype.onReady=function(){var t=parseFloat(this.parameters.volume);t>0?this.setVolume(t):-1!==t&&this.player.mute(),(this.isStatic||-1!==e.inArray(this.slide,this.slider.getActiveSlidesCompat(this.slider.currentSlide)))&&this.setState("slide",!0,!0),1==this.parameters.autoplay&&this.slider.visible(e.proxy(this.initAutoplay,this)),this.isStatic||(this.slider.sliderElement.on("mainAnimationStart",e.proxy(function(t,i,s,r){-1==e.inArray(this.slide,this.slider.getActiveSlidesCompat(this.slider.slides[r]))?this.setState("slide",!1,!0):this.setState("slide",!0,!0)},this)),parseInt(this.parameters.reset)&&this.slider.sliderElement.on("mainAnimationComplete",e.proxy(function(t,i,s,r){-1==e.inArray(this.slide,this.slider.getVisibleSlides(this.slider.slides[r]))&&this.player.seekTo(this.parameters.start)},this))),this.readyDeferred.resolve(),""!==this.parameters["scroll-pause"]?N2Classes.ScrollTracker.add(this.$playerElement,this.parameters["scroll-pause"],e.proxy(function(){this.setState("scroll",!0,!0)},this),e.proxy(function(){this.setState("continuePlay",!0),this.setState("scroll",!1,!0)},this)):this.setState("scroll",!0,!0)},i.prototype.onResize=function(){var e=100,t=this.$playerElement.parent(),i=t.width(),s=t.height()+e,r=16/9,n={width:i,height:s,marginTop:0};n[n2const.rtl.marginLeft]=0,i/s>r?(n.height=i*r,n.marginTop=(s-n.height)/2):(n.width=s*r,n[n2const.rtl.marginLeft]=(i-n.width)/2),this.$playerElement.css(n)},i.prototype.initAutoplay=function(){this.setState("InComplete",!0,!0),this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(this.slider.sliderElement.on("mainAnimationComplete",e.proxy(function(t,i,s,r){e.inArray(this.slide,this.slider.getActiveSlidesCompat(this.slider.slides[r]))>=0?(this.setState("play",!0),this.setState("slide",!0,!0)):this.setState("slide",!1,!0)},this)),e.inArray(this.slide,this.slider.getActiveSlidesCompat())>=0&&(this.setState("play",!0),this.setState("slide",!0,!0)))},i.prototype.setState=function(e,t,i){i=i||!1,this.state[e]=t,i&&(this.state.play&&this.state.slide&&this.state.InComplete&&this.state.scroll?this.play():this.pause())},i.prototype.play=function(){this.isStopped()&&(this.coverFadedOut===t&&setTimeout(e.proxy(this.fadeOutCover,this),200),this.slider.sliderElement.trigger("mediaStarted",this.playerId),this.player.playVideo())},i.prototype.pause=function(){this.isStopped()||this.player.pauseVideo()},i.prototype.stop=function(){this.player.stopVideo()},i.prototype.isStopped=function(){var e=this.player.getPlayerState();switch(e){case-1:case 0:case 2:case 5:return!0;default:return!1}},i.prototype.setVolume=function(e){this.player.setVolume(100*e)},i}),N2D("smartslider-frontend");
26(function(){var e=this;e.N2_=e.N2_||{r:[],d:[]},e.N2R=e.N2R||function(){e.N2_.r.push(arguments)},e.N2D=e.N2D||function(){e.N2_.d.push(arguments)}}).call(window),N2D("SmartSliderMainAnimationSimple",["SmartSliderMainAnimationAbstract"],function(e,i){function t(i,t){switch(this.postBackgroun
26dAnimation=!1,this._currentBackgroundAnimation=!1,this.reverseSlideIndex=null,t=e.extend({delay:0,parallax:0,type:"horizontal",shiftedBackgroundAnimation:"auto"},t),t.delay/=1e3,N2Classes.SmartSliderMainAnimationAbstract.prototype.constructor.apply(this,arguments),this.parameters.type){case"no":this.animation=this._mainAnimationNo,this.isNoAnimation=!0;break;case"fade":this.animation=this._mainAnimationFade;break;case"crossfade":this.animation=this._mainAnimationCrossFade;break;case"vertical":i.backgrounds.hasFixed?this.animation=this._mainAnimationFade:0===this.parameters.parallax?this.animation=this._mainAnimationVertical:this.animation=this._mainAnimationVerticalParallax;break;case"vertical-reversed":i.backgrounds.hasFixed?this.animation=this._mainAnimationFade:0===this.parameters.parallax?this.animation=this._mainAnimationVerticalReversed:this.animation=this._mainAnimationVerticalReversedParallax;break;case"horizontal-reversed":0===this.parameters.parallax?this.animation=this._mainAnimationHorizontalReversed:this.animation=this._mainAnimationHorizontalReversedParallax;break;default:0===this.parameters.parallax?this.animation=this._mainAnimationHorizontal:this.animation=this._mainAnimationHorizontalParallax}}return t.prototype=Object.create(N2Classes.SmartSliderMainAnimationAbstract.prototype),t.prototype.constructor=t,t.prototype.setToStarterSlide=function(e){this.setActiveSlide(e)},t.prototype.changeTo=function(e,i,t,n){this.postBackgroundAnimation&&this.postBackgroundAnimation.prepareToSwitchSlide(e,i),N2Classes.SmartSliderMainAnimationAbstract.prototype.changeTo.apply(this,arguments)},t.prototype.setActiveSlide=function(e){for(var i=0;i<this.slider.slides.length;i++)this.slider.slides[i]!==e&&this._hideSlide(this.slider.slides[i])},t.prototype._hideSlide=function(e){NextendTween.set(e.$element,{x:-1e5*n2const.rtl.modifier}),e.background&&NextendTween.set(e.background.element,{x:-1e5*n2const.rtl.modifier})},t.prototype._showSlide=function(e){NextendTween.set(e.$element.get(0),{x:0}),e.background&&NextendTween.set(e.background.element,{x:0})},t.prototype.cleanSlideIndex=function(e){this._hideSlide(this.slider.slides[e])},t.prototype.revertTo=function(e,i){this.slider.slides[i].$element.css("zIndex",""),this._hideSlide(this.slider.slides[i]),N2Classes.SmartSliderMainAnimationAbstract.prototype.revertTo.apply(this,arguments)},t.prototype._initAnimation=function(e,i,t){this.animation(e,i,t)},t.prototype.onBackwardChangeToComplete=function(e,i,t){this.reverseSlideIndex=null,this.onChangeToComplete(e,i,t)},t.prototype.onChangeToComplete=function(e,i,t){null!==this.reverseSlideIndex&&(this.slider.slides[this.reverseSlideIndex].triggerHandler("mainAnimationStartInCancel"),this.reverseSlideIndex=null),this._hideSlide(e),N2Classes.SmartSliderMainAnimationAbstract.prototype.onChangeToComplete.apply(this,arguments)},t.prototype.onReverseChangeToComplete=function(e,i,t){this._hideSlide(e),N2Classes.SmartSliderMainAnimationAbstract.prototype.onReverseChangeToComplete.apply(this,arguments)},t.prototype._mainAnimationNo=function(i,t){this._showSlide(t),this.slider.unsetActiveSlide(i),t.$element.css("opacity",0),t.background&&t.background.element.css("opacity",0),this.slider.setActiveSlide(t);var n=this.timeline.totalDuration(),s=this.getExtraDelay();this._currentBackgroundAnimation&&this.parameters.shiftedBackgroundAnimation&&this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup(),0===n&&(n=1e-5,s+=n),this.timeline.set(i.$element,{opacity:0},s),!this._currentBackgroundAnimation&&i.background&&this.timeline.set(i.background.element,{opacity:0},s),this.timeline.set(t.$element,{opacity:1},n),!this._currentBackgroundAnimation&&t.background&&this.timeline.set(t.background.element,{opacity:1},n),this.sliderElement.on("mainAnimationComplete.n2-simple-no",e.proxy(function(e,i,t,n){this.sliderElement.off("mainAnimationComplete.n2-simple-no");var s=this.slider.slides[t],a=this.slider.slides[n];s.$element.css("opacity",""),!this._currentBackgroundAnimation&&s.background&&s.background.element.css("opacity",""),a.$element.css("opacity",""),
26!this._currentBackgroundAnimation&&a.background&&a.background.element.css("opacity","")},this))},t.prototype._mainAnimationFade=function(i,t){i.$element.css("zIndex",23),i.background&&i.background.element.css("zIndex",23),t.$element.css("opacity",0),this._showSlide(t),this.slider.unsetActiveSlide(i),this.slider.setActiveSlide(t);var n=this.adjustMainAnimation();if(0!=this.parameters.shiftedBackgroundAnimation){var s=!1,a=!1;if("auto"==this.parameters.shiftedBackgroundAnimation?i.hasLayers()?s=!0:a=!0:s=!0,this._currentBackgroundAnimation&&s){var r=n.outDuration-n.extraDelay;r>0&&this.timeline.shiftChildren(r),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else a&&(n.extraDelay>0&&this.timeline.shiftChildren(n.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}this.timeline.to(i.$element.get(0),n.outDuration,{opacity:0,ease:this.getEase()},n.outDelay),!this._currentBackgroundAnimation&&i.background&&this.timeline.to(i.background.element,n.outDuration,{opacity:0,ease:this.getEase()},n.outDelay),this.timeline.to(t.$element.get(0),n.inDuration,{opacity:1,ease:this.getEase()},n.inDelay),!this._currentBackgroundAnimation&&t.background&&t.background.element.css("opacity",1),this.sliderElement.on("mainAnimationComplete.n2-simple-fade",e.proxy(function(e,i,t,n){this.sliderElement.off("mainAnimationComplete.n2-simple-fade");var s=this.slider.slides[t],a=this.slider.slides[n];s.$element.css({zIndex:"",opacity:""}),!this._currentBackgroundAnimation&&s.background&&s.background.element.css({zIndex:"",opacity:""}),a.$element.css("opacity",""),!this._currentBackgroundAnimation&&a.background&&a.background.element.css("opacity","")},this))},t.prototype._mainAnimationCrossFade=function(i,t){i.$element.css("zIndex",23),i.background&&i.background.element.css("zIndex",23),t.$element.css("opacity",0),t.background&&t.background.element.css("opacity",0),this._showSlide(t),this.slider.unsetActiveSlide(i),this.slider.setActiveSlide(t);var n=this.adjustMainAnimation();if(0!=this.parameters.shiftedBackgroundAnimation){var s=!1,a=!1;if("auto"==this.parameters.shiftedBackgroundAnimation?i.hasLayers()?s=!0:a=!0:s=!0,this._currentBackgroundAnimation&&s){var r=n.outDuration-n.extraDelay;r>0&&this.timeline.shiftChildren(r),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else a&&(n.extraDelay>0&&this.timeline.shiftChildren(n.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}this.timeline.to(i.$element.get(0),n.outDuration,{opacity:0,ease:this.getEase()},n.outDelay),!this._currentBackgroundAnimation&&i.background&&this.timeline.to(i.background.element.get(0),n.outDuration,{opacity:0,ease:this.getEase()},n.outDelay),this.timeline.to(t.$element.get(0),n.inDuration,{opacity:1,ease:this.getEase()},n.inDelay),!this._currentBackgroundAnimation&&t.background&&this.timeline.to(t.background.element.get(0),n.inDuration,{opacity:1,ease:this.getEase()},n.inDelay),this.sliderElement.on("mainAnimationComplete.n2-simple-fade",e.proxy(function(e,i,t,n){this.sliderElement.off("mainAnimationComplete.n2-simple-fade");var s=this.slider.slides[t],a=this.slider.slides[n];s.$element.css({zIndex:"",opacity:""}),!this._currentBackgroundAnimation&&s.background&&s.background.element.css({zIndex:"",opacity:""}),a.$element.css("opacity",""),!this._currentBackgroundAnimation&&a.background&&a.background.element.css("opacity","")},this))},t.prototype._mainAnimationHorizontal=function(e,i,t){this.__mainAnimationDirection(e,i,"horizontal",0,t)},t.prototype._mainAnimationVertical=function(e,i,t){this._showSlide(i),this.__mainAnimationDirection(e,i,"vertical",0,t)},t.prototype._mainAnimationHorizontalParallax=function(e,i,t){this.__mainAnimationDirection(e,i,"horizontal",this.parameters.parallax,t)},t.prototype._mainAnimationVerticalParallax=function(e,i,t){this._showSlide(i),this.__mainAnimationDirection(e,i,"vertical",this.parameters.parallax,t)},t.prototype._mainAnimationHorizontalReversed=function(e,i,t){this.__mainAnimationDirection(e,i,"horizontal",0,!t)}
26,t.prototype._mainAnimationVerticalReversed=function(e,i,t){this._showSlide(i),this.__mainAnimationDirection(e,i,"vertical",0,!t)},t.prototype._mainAnimationHorizontalReversedParallax=function(e,i,t){this.__mainAnimationDirection(e,i,"horizontal",this.parameters.parallax,!t)},t.prototype._mainAnimationVerticalReversedParallax=function(e,i,t){this._showSlide(i),this.__mainAnimationDirection(e,i,"vertical",this.parameters.parallax,!t)},t.prototype.__mainAnimationDirection=function(i,t,n,s,a){var r="",o=0,l=0,d="",h=1-s/100;"horizontal"===n?(r="x",d="width",l=o=this.slider.dimensions.slideouter.width,n2const.rtl.isRtl&&(a=!a)):"vertical"===n&&(r="y",d="height",l=o=this.slider.dimensions.slideouter.height),a&&(o*=-1);var m={},c={ease:this.getEase()},p={},u={ease:this.getEase()},g={ease:this.getEase()},y={ease:this.getEase()},A=23,f=22;if(0!==s)if(a)i.$element.addClass("n2-ss-parallax-clip"),A=22,f=23,c[d]=-o,u[d]=-o,o*=h,m[r]=o,m[d]=-o,p[r]=o,p[d]=-o,g[d]=-o,g[r]=l,y[r]=-o;else{o*=h;var k={};if(k[r]=o,NextendTween.set(t.$element,k),t.background){var v={};v[r]=o,NextendTween.set(t.background.element,v)}t.$element.addClass("n2-ss-parallax-clip"),m[r]=l,m[d]=o,c[d]=l,p[r]=o,g[d]=o,y[d]=o,g[r]=-o,y[r]=-o}else{var S={};if(S[r]=o,NextendTween.set(t.$element,S),t.background){var _={};_[r]=o,NextendTween.set(t.background.element,_)}m[r]=o,p[r]=o,g[r]=-o,y[r]=-o}i.$element.css("zIndex",A),i.background&&i.background.element.css("zIndex",A),t.$element.css("zIndex",f),t.background&&t.background.element.css("zIndex",f),this.slider.unsetActiveSlide(i),this.slider.setActiveSlide(t);var b=this.adjustMainAnimation();if(c[r]=0,c.roundProps="x,y",u[r]=0,u.roundProps="x,y",this.timeline.fromTo(t.$element.get(0),b.inDuration,m,c,b.inDelay),t.background&&this.timeline.fromTo(t.background.element,b.inDuration,p,u,b.inDelay),0!=this.parameters.shiftedBackgroundAnimation){var x=!1,D=!1;if("auto"===this.parameters.shiftedBackgroundAnimation?i.hasLayers()?x=!0:D=!0:x=!0,this._currentBackgroundAnimation&&x){var B=b.outDuration-b.extraDelay;B>0&&this.timeline.shiftChildren(B),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else D&&(b.extraDelay>0&&this.timeline.shiftChildren(b.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}if(g.roundProps="x,y",y.roundProps="x,y",this.timeline.to(i.$element.get(0),b.outDuration,g,b.outDelay),i.background&&this.timeline.to(i.background.element,b.outDuration,y,b.outDelay),this.isTouch&&this.isReverseAllowed&&0===s){var E=a?i.index+1:i.index-1;if(0>E?E=this.slider.parameters.carousel&&!this.slider.blockCarousel?this.slider.slides.length-1:i.index:E>=this.slider.slides.length&&(E=this.slider.parameters.carousel&&!this.slider.blockCarousel?0:i.index),E!==t.index){if(E!==i.index){this.reverseSlideIndex=E,this.enableReverseMode();var C=this.slider.slides[E];"vertical"===n&&this._showSlide(C),C.$element.css(r,o);var w={},z={ease:this.getEase()},T={},N={ease:this.getEase()};z[r]=0,w[r]=-o,N[r]=o,T[r]=0,C.$element.trigger("mainAnimationStartIn",[this,i.index,C.index,!1]),this.reverseTimeline.paused(!0),this.reverseTimeline.eventCallback("onComplete",this.onBackwardChangeToComplete,[i,C,!1],this),z.roundProps="x,y",this.reverseTimeline.fromTo(C.$element.get(0),b.inDuration,w,z,b.inDelay),C.background&&this.reverseTimeline.fromTo(C.background.element,b.inDuration,w,z,b.inDelay),N.roundProps="x,y",this.reverseTimeline.fromTo(i.$element.get(0),b.inDuration,T,N,b.inDelay),i.background&&this.reverseTimeline.fromTo(i.background.element,b.inDuration,T,N,b.inDelay)}}else this.reverseSlideIndex=null}this.sliderElement.on("mainAnimationComplete.n2-simple-fade",e.proxy(function(e,i,t,n){this.sliderElement.off("mainAnimationComplete.n2-simple-fade");var s=this.slider.slides[t],a=this.slider.slides[n];a.$element.css("zIndex","").css(r,"").removeClass("n2-ss-parallax-clip"),a.background&&a.background.element.css("zIndex","").css(r,""),s.$element.css("zIndex","").css(d,"").removeClass("n2-ss-parallax-clip"),s.background&&s.background.element.css("zIndex","").css(d,"")},this))},t.prototype.getExtraDelay=function(){return 0},t.prototype.adjustMainAnimation=function(){var e=this.parameters.duration,i=this.parameters.delay,t=this.timeline.totalDuration(),n=this.getExtraDelay();if(t>0){var s=e+i;if(!(s>t))return{inDuration:e,outDuration:e,inDelay:t-e,outDelay:n,extraDelay:n};e=e*t/s,i=i*t/s,n>i&&(e-=n-i,i=n)}else i+=n;return{inDuration:e,outDuration:e,inDelay:i,outDelay:i,extraDelay:n}}
26,t.prototype.hasBackgroundAnimation=function(){return!1},t}),N2D("SmartSliderResponsiveSimple",["SmartSliderResponsive"],function(e,i){function t(){this.round=1,N2Classes.SmartSliderResponsive.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(N2Classes.SmartSliderResponsive.prototype),t.prototype.constructor=t,t.prototype.init=function(){this.sliderElement.find(".n2-ss-section-main-content").length&&(this.updateVerticalRatios=this._updateVerticalRatios),this._sliderHorizontal=this.addHorizontalElement(this.sliderElement,["width","marginLeft","marginRight"],"w","slider"),this.addHorizontalElement(this.sliderElement.find(".n2-ss-slider-1"),["width","paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],"w"),this._sliderVertical=this.addVerticalElement(this.sliderElement,["marginTop","marginBottom"],"h"),this.addHorizontalElement(this.sliderElement,["fontSize"],"fontRatio","slider"),this.addVerticalElement(this.sliderElement.find(".n2-ss-slider-1"),["height","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"],"h","slider1"),this.addHorizontalElement(this.sliderElement.find(".n2-ss-slide"),["width"],"w","slideouter"),this.addVerticalElement(this.sliderElement.find(".n2-ss-slide"),["height"],"h","slideouter");var i=this.sliderElement.find(".n2-ss-layers-container");this.addHorizontalElement(i,["width"],"slideW","slide"),this.addVerticalElement(i,["height"],"slideH","slide").setCentered();for(var t=this.slider.parameters.mainanimation.parallax,n=this.slider.backgrounds.getBackgroundImages(),s=0;s<n.length;s++)0!==t&&(this.addHorizontalElement(n[s].element,["width"],"w"),this.addVerticalElement(n[s].element,["height"],"h"),this.slider.needBackgroundWrap&&(this.addHorizontalElement(n[s].$wrapElement,["width"],"w"),this.addVerticalElement(n[s].$wrapElement,["height"],"h")));var a=this.sliderElement.find(".n2-ss-slider-background-video");a.length&&(n2const.isVideoAutoplayAllowed()?(this._videoPlayerReady=e.proxy(this.videoPlayerReady,this,a),a[0].videoWidth>0?this._videoPlayerReady():(a[0].addEventListener("error",e.proxy(this.videoPlayerError,this,a),!0),a[0].addEventListener("canplay",this._videoPlayerReady)),a[0].load(),a[0].play()):this.videoPlayerError(a))},t.prototype.resizeVerticalElements=function(e,i,t){N2Classes.SmartSliderResponsive.prototype.resizeVerticalElements.apply(this,arguments),this.responsiveDimensions.slider.height=this.responsiveDimensions.slider1.height+this.responsiveDimensions.slider1.paddingTop+this.responsiveDimensions.slider1.paddingBottom},t.prototype.videoPlayerError=function(e){e.remove()},t.prototype.videoPlayerReady=function(i){i[0].removeEventListener("canplay",this._videoPlayerReady),i.data("ratio",i[0].videoWidth/i[0].videoHeight),i.addClass("n2-active"),this.slider.ready(e.proxy(function(){this.slider.sliderElement.on("SliderResize",e.proxy(this.resizeVideo,this,i)),this.resizeVideo(i)},this))},t.prototype.resizeVideo=function(e){var i=e.data("mode"),t=e.data("ratio"),n=this.slider.dimensions.slideouter||this.slider.dimensions.slide,s=n.width/n.height;"fill"===i?s>t?e.css({width:"100%",height:"auto"}):e.css({width:"auto",height:"100%"}):"fit"===i&&(t>s?e.css({width:"100%",height:"auto"}):e.css({width:"auto",height:"100%"})),e.css({marginTop:0,marginLeft:0}),this.center(e)},t.prototype.center=function(e){var i=e.parent();e.css({marginTop:Math.round((i.height()-e.height())/2),marginLeft:Math.round((i.width()-e.width())/2)})},t}),N2D("SmartSliderSimple",["SmartSliderAbstract"],function(e,i){function t(i,t){this.type="simple",N2Classes.SmartSliderAbstract.prototype.constructor.call(this,i,e.extend({bgAnimations:0,carousel:1},t))}return t.prototype=Object.create(N2Classes.SmartSliderAbstract.prototype),t.prototype.constructor=t,t.prototype.__initSlides=function(){1!==this.parameters.mainanimation.parallax&&(this.needBackgroundWrap=!0),N2Classes.SmartSliderAbstract.prototype.__initSlides.apply(this,arguments)},t.prototype.initResponsiveMode=function(){this.responsive=new N2Classes.SmartSliderResponsiveSimple(this,this.parameters.responsive),this.responsive.start(),N2Classes.SmartSliderAbstract.prototype.initResponsiveMode.call(this),this.$backgroundsContainer=this.sliderElement.find(".n2-ss-slide-backgrounds")},t.prototype.initMainAnimation=function(){!this.disabled.backgroundAnimations&&nModernizr.csstransforms3d&&nModernizr.csstransformspreserve3d&&this.parameters.bgAnimations?this.mainAnimation=new N2Classes.SmartSliderFrontendBackgroun
26dAnimation(this,this.parameters.mainanimation,this.parameters.bgAnimations):this.mainAnimation=new N2Classes.SmartSliderMainAnimationSimple(this,this.parameters.mainanimation)},t.prototype.afterRawSlidesReady=function(){if(this.parameters.postBackgroundAnimations&&this.parameters.postBackgroundAnimations.slides){for(var e=0;e<this.slides.length;e++)this.slides[e].postBackgroundAnimation=this.parameters.postBackgroundAnimations.slides[e];delete this.parameters.postBackgroundAnimations.slides}if(this.parameters.bgAnimations&&this.parameters.bgAnimations.slides){for(var i=0;i<this.slides.length;i++)this.slides[i].backgroundAnimation=this.parameters.bgAnimations.slides[i];delete this.parameters.bgAnimations.slides}},t.prototype.findSlideBackground=function(e){var i=N2Classes.SmartSliderAbstract.prototype.findSlideBackground.call(this,e);return i.appendTo(this.sliderElement.find(".n2-ss-slide-backgrounds")),i},t}),N2D("smartslider-simple-type-frontend");
27(function(){var t=this;t.N2_=t.N2_||{r:[],d:[]},t.N2R=t.N2R||function(){t.N2_.r.push(arguments)},t.N2D=t.N2D||function(){t.N2_.d.push(arguments)}}).call(window),function(){function t(t,n,i){return t.call.apply(t.bind,arguments)}function n(t,n,i){if(!t)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var i=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(i,e),t.apply(n,i)}}return function(){return t.apply(n,arguments)}}function i(e,o,a){return i=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?t:n,i.apply(null,arguments)}function e(t,n){this.a=t,this.o=n||t,this.c=this.o.document}function o(t,n,i,e){if(n=t.c.createElement(n),i)for(var o in i)i.hasOwnProperty(o)&&("style"==o?n.style.cssText=i[o]:n.setAttribute(o,i[o]));return e&&n.appendChild(t.c.createTextNode(e)),n}function a(t,n,i){t=t.c.getElementsByTagName(n)[0],t||(t=document.documentElement),t.insertBefore(i,t.lastChild)}function s(t){t.parentNode&&t.parentNode.removeChild(t)}function r(t,n,i){n=n||[],i=i||[];for(var e=t.className.split(/\s+/),o=0;o<n.length;o+=1){for(var a=!1,s=0;s<e.length;s+=1)if(n[o]===e[s]){a=!0;break}a||e.push(n[o])}for(n=[],o=0;o<e.length;o+=1){for(a=!1,s=0;s<i.length;s+=1)if(e[o]===i[s]){a=!0;break}a||n.push(e[o])}t.className=n.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function c(t,n){for(var i=t.className.split(/\s+/),e=0,o=i.length;o>e;e++)if(i[e]==n)return!0;return!1}function f(t){return t.o.location.hostname||t.a.location.hostname}function h(t,n,i){function e(){f&&s&&r&&(f(c),f=null)}n=o(t,"link",{rel:"stylesheet",href:n,media:"all"});var s=!1,r=!0,c=null,f=i||null;nt?(n.onload=function(){s=!0,e()},n.onerror=function(){s=!0,c=Error("Stylesheet failed to load"),e()}):setTimeout(function(){s=!0,e()},0),a(t,"head",n)}function l(t,n,i,e){var a=t.c.getElementsByTagName("head")[0];if(a){var s=o(t,"script",{src:n}),r=!1;return s.onload=s.onreadystatechange=function(){r||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(r=!0,i&&i(null),s.onload=s.onreadystatechange=null,"HEAD"==s.parentNode.tagName&&a.removeChild(s))},a.appendChild(s),setTimeout(function(){r||(r=!0,i&&i(Error("Script load timeout")))},e||5e3),s}return null}function u(){this.a=0,this.c=null}function p(t){return t.a++,function(){t.a--,d(t)}}function g(t,n){t.c=n,d(t)}function d(t){0==t.a&&t.c&&(t.c(),t.c=null)}function v(t){this.a=t||"-"}function w(t,n){this.c=t,this.f=4,this.a="n";var i=(n||"n4").match(/^([nio])([1-9])$/i);i&&(this.a=i[1],this.f=parseInt(i[2],10))}function m(t){return _(t)+" "+(t.f+"00")+" 300px "+y(t.c)}function y(t){var n=[];t=t.split(/,\s*/);for(var i=0;i<t.length;i++){var e=t[i].replace(/['"]/g,"");-1!=e.indexOf(" ")||/^\d/.test(e)?n.push("'"+e+"'"):n.push(e)}return n.join(",")}function b(t){return t.a+t.f}function _(t){var n="normal";return"o"===t.a?n="oblique":"i"===t.a&&(n="italic"),n}function x(t){var n=4,i="n",e=null;return t&&((e=t.match(/(normal|oblique|italic)/i))&&e[1]&&(i=e[1].substr(0,1).toLowerCase()),(e=t.match(/([1-9]00|normal|bold)/i))&&e[1]&&(/bold/i.test(e[1])?n=7:/[1-9]00/.test(e[1])&&(n=parseInt(e[1].substr(0,1),10)))),i+n}function j(t,n){this.c=t,this.f=t.o.document.documentElement,this.h=n,this.a=new v("-"),this.j=!1!==n.events,this.g=!1!==n.classes}
27function k(t){t.g&&r(t.f,[t.a.c("wf","loading")]),N(t,"loading")}function T(t){if(t.g){var n=c(t.f,t.a.c("wf","active")),i=[],e=[t.a.c("wf","loading")];n||i.push(t.a.c("wf","inactive")),r(t.f,i,e)}N(t,"inactive")}function N(t,n,i){t.j&&t.h[n]&&(i?t.h[n](i.c,b(i)):t.h[n]())}function S(){this.c={}}function C(t,n,i){var e,o=[];for(e in n)if(n.hasOwnProperty(e)){var a=t.c[e];a&&o.push(a(n[e],i))}return o}function A(t,n){this.c=t,this.f=n,this.a=o(this.c,"span",{"aria-hidden":"true"},this.f)}function E(t){a(t.c,"body",t.a)}function W(t){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+y(t.c)+";"+("font-style:"+_(t)+";font-weight:"+(t.f+"00")+";")}function F(t,n,i,e,o,a){this.g=t,this.j=n,this.a=e,this.c=i,this.f=o||3e3,this.h=a||void 0}function I(t,n,i,e,o,a,s){this.v=t,this.B=n,this.c=i,this.a=e,this.s=s||"BESbswy",this.f={},this.w=o||3e3,this.u=a||null,this.m=this.j=this.h=this.g=null,this.g=new A(this.c,this.s),this.h=new A(this.c,this.s),this.j=new A(this.c,this.s),this.m=new A(this.c,this.s),t=new w(this.a.c+",serif",b(this.a)),t=W(t),this.g.a.style.cssText=t,t=new w(this.a.c+",sans-serif",b(this.a)),t=W(t),this.h.a.style.cssText=t,t=new w("serif",b(this.a)),t=W(t),this.j.a.style.cssText=t,t=new w("sans-serif",b(this.a)),t=W(t),this.m.a.style.cssText=t,E(this.g),E(this.h),E(this.j),E(this.m)}function O(){if(null===et){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);et=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}return et}function P(t,n,i){for(var e in it)if(it.hasOwnProperty(e)&&n===t.f[it[e]]&&i===t.f[it[e]])return!0;return!1}function B(t){var n,i=t.g.a.offsetWidth,e=t.h.a.offsetWidth;(n=i===t.f.serif&&e===t.f["sans-serif"])||(n=O()&&P(t,i,e)),n?tt()-t.A>=t.w?O()&&P(t,i,e)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?L(t,t.v):L(t,t.B):D(t):L(t,t.v)}function D(t){setTimeout(i(function(){B(this)},t),50)}function L(t,n){setTimeout(i(function(){s(this.g.a),s(this.h.a),s(this.j.a),s(this.m.a),n(this.a)},t),0)}function $(t,n,i){this.c=t,this.a=n,this.f=0,this.m=this.j=!1,this.s=i}function R(t){0==--t.f&&t.j&&(t.m?(t=t.a,t.g&&r(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),N(t,"active")):T(t.a))}function q(t){this.j=t,this.a=new S,this.h=0,this.f=this.g=!0}function H(t,n,e,o,a){var s=0==--t.h;(t.f||t.g)&&setTimeout(function(){var t=a||null,c=o||null||{};if(0===e.length&&s)T(n.a);else{n.f+=e.length,s&&(n.j=s);var f,h=[];for(f=0;f<e.length;f++){var l=e[f],u=c[l.c],p=n.a,g=l;if(p.g&&r(p.f,[p.a.c("wf",g.c,b(g).toString(),"loading")]),N(p,"fontloading",g),p=null,null===ot)if(window.FontFace){var g=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent),d=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);ot=g?42<parseInt(g[1],10):!d}else ot=!1;p=ot?new F(i(n.g,n),i(n.h,n),n.c,l,n.s,u):new I(i(n.g,n),i(n.h,n),n.c,l,n.s,t,u),h.push(p)}for(f=0;f<h.length;f++)h[f].start()}},0)}function M(t,n,i){var e=[],o=i.timeout;k(n);var e=C(t.a,i,t.c),a=new $(t.c,n,o);for(t.h=e.length,n=0,i=e.length;i>n;n++)e[n].load(function(n,i,e){H(t,a,n,i,e)})}function z(t,n){this.c=t,this.a=n}function G(t,n){this.c=t,this.a=n}function K(t,n){t?this.c=t:this.c=at,this.a=[],this.f=[],this.g=n||""}function U(t,n){for(var i=n.length,e=0;i>e;e++){var o=n[e].split(":");3==o.length&&t.f.push(o.pop());var a="";2==o.length&&""!=o[1]&&(a=":"),t.a.push(o.join(a))}}function V(t){if(0==t.a.length)throw Error("No fonts to load!");if(-1!=t.c.indexOf("kit="))return t.c;for(var n=t.a.length,i=[],e=0;n>e;e++)i.push(t.a[e].replace(/ /g,"+"));return n=t.c+"?family="+i.join("%7C"),0<t.f.length&&(n+="&subset="+t.f.join(",")),0<t.g.length&&(n+="&text="+encodeURIComponent(t.g)),n}function X(t){this.f=t,this.a=[],this.c={}}function J(t){for(var n=t.f.length,i=0;n>i;i++){var e=t.f[i].split(":"),o=e[0].replace(/\+/g," "),a=["n4"];if(2<=e.length){var s,r=e[1];if(s=[],r)for(var r=r.split(","),c=r.length,f=0;c>f;f++){var h;if(h=r[f],h.match(/^[\w-]+$/)){var l=ft.exec(h.toLowerCase());if(null==l)h="";else{if(h=l[2],h=null==h||""==h?"n":ct[h],l=l[1],null==l||""==l)l="4";else var u=rt[l],l=u?u:isNaN(l)?"4":l.substr(0,1);h=[h,l].join("")}}else h="";h&&s.push(h)}0<s.length&&(a=s),3==e.length&&(e=e[2],s=[],e=e?e.split(","):s,0<e.length&&(e=st[e[0]])&&(t.c[o]=e))}
27for(t.c[o]||(e=st[o])&&(t.c[o]=e),e=0;e<a.length;e+=1)t.a.push(new w(o,a[e]))}}function Q(t,n){this.c=t,this.a=n}function Y(t,n){this.c=t,this.a=n}function Z(t,n){this.c=t,this.f=n,this.a=[]}var tt=Date.now||function(){return+new Date},nt=!!window.FontFace;v.prototype.c=function(t){for(var n=[],i=0;i<arguments.length;i++)n.push(arguments[i].replace(/[\W_]+/g,"").toLowerCase());return n.join(this.a)},F.prototype.start=function(){var t=this.c.o.document,n=this,i=tt(),e=new Promise(function(e,o){function a(){tt()-i>=n.f?o():t.fonts.load(m(n.a),n.h).then(function(t){1<=t.length?e():setTimeout(a,25)},function(){o()})}a()}),o=null,a=new Promise(function(t,i){o=setTimeout(i,n.f)});Promise.race([a,e]).then(function(){o&&(clearTimeout(o),o=null),n.g(n.a)},function(){n.j(n.a)})};var it={D:"serif",C:"sans-serif"},et=null;I.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=tt(),B(this)};var ot=null;$.prototype.g=function(t){var n=this.a;n.g&&r(n.f,[n.a.c("wf",t.c,b(t).toString(),"active")],[n.a.c("wf",t.c,b(t).toString(),"loading"),n.a.c("wf",t.c,b(t).toString(),"inactive")]),N(n,"fontactive",t),this.m=!0,R(this)},$.prototype.h=function(t){var n=this.a;if(n.g){var i=c(n.f,n.a.c("wf",t.c,b(t).toString(),"active")),e=[],o=[n.a.c("wf",t.c,b(t).toString(),"loading")];i||e.push(n.a.c("wf",t.c,b(t).toString(),"inactive")),r(n.f,e,o)}N(n,"fontinactive",t),R(this)},q.prototype.load=function(t){this.c=new e(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,M(this,new j(this.c,t),t)},z.prototype.load=function(t){function n(){if(a["__mti_fntLst"+e]){var i,o=a["__mti_fntLst"+e](),s=[];if(o)for(var r=0;r<o.length;r++){var c=o[r].fontfamily;void 0!=o[r].fontStyle&&void 0!=o[r].fontWeight?(i=o[r].fontStyle+o[r].fontWeight,s.push(new w(c,i))):s.push(new w(c))}t(s)}else setTimeout(function(){n()},50)}var i=this,e=i.a.projectId,o=i.a.version;if(e){var a=i.c.o;l(this.c,(i.a.api||"https://fast.fonts.net/jsapi")+"/"+e+".js"+(o?"?v="+o:""),function(o){o?t([]):(a["__MonotypeConfiguration__"+e]=function(){return i.a},n())}).id="__MonotypeAPIScript__"+e}else t([])},G.prototype.load=function(t){var n,i,e=this.a.urls||[],o=this.a.families||[],a=this.a.testStrings||{},s=new u;for(n=0,i=e.length;i>n;n++)h(this.c,e[n],p(s));var r=[];for(n=0,i=o.length;i>n;n++)if(e=o[n].split(":"),e[1])for(var c=e[1].split(","),f=0;f<c.length;f+=1)r.push(new w(e[0],c[f]));else r.push(new w(e[0]));g(s,function(){t(r,a)})};var at="https://fonts.googleapis.com/css",st={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},rt={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ct={i:"i",italic:"i",n:"n",normal:"n"},ft=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/,ht={Arimo:!0,Cousine:!0,Tinos:!0};Q.prototype.load=function(t){var n=new u,i=this.c,e=new K(this.a.api,this.a.text),o=this.a.families;U(e,o);var a=new X(o);J(a),h(i,V(e),p(n)),g(n,function(){t(a.a,a.c,ht)})},Y.prototype.load=function(t){var n=this.a.id,i=this.c.o;n?l(this.c,(this.a.api||"https://use.typekit.net")+"/"+n+".js",function(n){if(n)t([]);else if(i.Typekit&&i.Typekit.config&&i.Typekit.config.fn){n=i.Typekit.config.fn;for(var e=[],o=0;o<n.length;o+=2)for(var a=n[o],s=n[o+1],r=0;r<s.length;r++)e.push(new w(a,s[r]));try{i.Typekit.load({events:!1,classes:!1,async:!0})}catch(c){}t(e)}},2e3):t([])},Z.prototype.load=function(t){var n=this.f.id,i=this.c.o,e=this;n?(i.__webfontfontdeckmodule__||(i.__webfontfontdeckmodule__={}),i.__webfontfontdeckmodule__[n]=function(n,i){for(var o=0,a=i.fonts.length;a>o;++o){var s=i.fonts[o];e.a.push(new w(s.name,x("font-weight:"+s.weight+";font-style:"+s.style)))}t(e.a)},l(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+f(this.c)+"/"+n+".js",function(n){n&&t([])})):t([])};var lt=new q(window);lt.a.c.custom=function(t,n){return new G(n,t)},lt.a.c.fontdeck=function(t,n){return new Z(n,t)},lt.a.c.monotype=function(t,n){return new z(n,t)},lt.a.c.typekit=function(t,n){return new Y(n,t)},lt.a.c.google=function(t,n){return new Q(n,t)};var ut={load:i(lt.load,lt)};window.WebFont=ut,window.WebFontConfig&&lt.load(window.WebFontConfig)}(),N2D("nextend-webfontloader");
28/*!
29 * Bootstrap v3.3.6 (http://getbootstrap.com)
30 * Copyright 2011-2015 Twitter, Inc.
31 * Licensed under the MIT license
32 */
33if(typeof jQuery==='undefined'){throw new Error('Bootstrap\'s JavaScript requires jQuery')}
34+function($){'use strict';var version=$.fn.jquery.split(' ')[0].split('.')
35if((version[0]<2&&version[1]<9)||(version[0]==1&&version[1]==9&&version[2]<1)||(version[0]>2)){throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')}}(jQuery);+function($){'use strict';function transitionEnd(){var el=document.createElement('bootstrap')
36var transEndEventNames={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'}
vendor: 7,390 bytes, lines 37-171
37for(var name in transEndEventNames){if(el.style[name]!==undefined){return{end:transEndEventNames[name]}}}
38return false}
39$.fn.emulateTransitionEnd=function(duration){var called=false
40var $el=this
41$(this).one('bsTransitionEnd',function(){called=true})
42var callback=function(){if(!called)$($el).trigger($.support.transition.end)}
43setTimeout(callback,duration)
44return this}
45$(function(){$.support.transition=transitionEnd()
46if(!$.support.transition)return
47$.event.special.bsTransitionEnd={bindType:$.support.transition.end,delegateType:$.support.transition.end,handle:function(e){if($(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}})}(jQuery);+function($){'use strict';var dismiss='[data-dismiss="alert"]'
48var Alert=function(el){$(el).on('click',dismiss,this.close)}
49Alert.VERSION='3.3.6'
50Alert.TRANSITION_DURATION=150
51Alert.prototype.close=function(e){var $this=$(this)
52var selector=$this.attr('data-target')
53if(!selector){selector=$this.attr('href')
54selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
55var $parent=$(selector)
56if(e)e.preventDefault()
57if(!$parent.length){$parent=$this.closest('.alert')}
58$parent.trigger(e=$.Event('close.bs.alert'))
59if(e.isDefaultPrevented())return
60$parent.removeClass('in')
61function removeElement(){$parent.detach().trigger('closed.bs.alert').remove()}
62$.support.transition&&$parent.hasClass('fade')?$parent.one('bsTransitionEnd',removeElement).emulateTransitionEnd(Alert.TRANSITION_DURATION):removeElement()}
63function Plugin(option){return this.each(function(){var $this=$(this)
64var data=$this.data('bs.alert')
65if(!data)$this.data('bs.alert',(data=new Alert(this)))
66if(typeof option=='string')data[option].call($this)})}
67var old=$.fn.alert
68$.fn.alert=Plugin
69$.fn.alert.Constructor=Alert
70$.fn.alert.noConflict=function(){$.fn.alert=old
71return this}
72$(document).on('click.bs.alert.data-api',dismiss,Alert.prototype.close)}(jQuery);+function($){'use strict';var Button=function(element,options){this.$element=$(element)
73this.options=$.extend({},Button.DEFAULTS,options)
74this.isLoading=false}
75Button.VERSION='3.3.6'
76Button.DEFAULTS={loadingText:'loading...'}
77Button.prototype.setState=function(state){var d='disabled'
78var $el=this.$element
79var val=$el.is('input')?'val':'html'
80var data=$el.data()
81state+='Text'
82if(data.resetText==null)$el.data('resetText',$el[val]())
83setTimeout($.proxy(function(){$el[val](data[state]==null?this.options[state]:data[state])
84if(state=='loadingText'){this.isLoading=true
85$el.addClass(d).attr(d,d)}else if(this.isLoading){this.isLoading=false
86$el.removeClass(d).removeAttr(d)}},this),0)}
87Button.prototype.toggle=function(){var changed=true
88var $parent=this.$element.closest('[data-toggle="buttons"]')
89if($parent.length){var $input=this.$element.find('input')
90if($input.prop('type')=='radio'){if($input.prop('checked'))changed=false
91$parent.find('.active').removeClass('active')
92this.$element.addClass('active')}else if($input.prop('type')=='checkbox'){if(($input.prop('checked'))!==this.$element.hasClass('active'))changed=false
93this.$element.toggleClass('active')}
94$input.prop('checked',this.$element.hasClass('active'))
95if(changed)$input.trigger('change')}else{this.$element.attr('aria-pressed',!this.$element.hasClass('active'))
96this.$element.toggleClass('active')}}
97function Plugin(option){return this.each(function(){var $this=$(this)
98var data=$this.data('bs.button')
99var options=typeof option=='object'&&option
100if(!data)$this.data('bs.button',(data=new Button(this,options)))
101if(option=='toggle')data.toggle()
102else if(option)data.setState(option)})}
103var old=$.fn.button
104$.fn.button=Plugin
105$.fn.button.Constructor=Button
106$.fn.button.noConflict=function(){$.fn.button=old
107return this}
108$(document).on('click.bs.button.data-api','[data-toggle^="button"]',function(e){var $btn=$(e.target)
109if(!$btn.hasClass('btn'))$btn=$btn.closest('.btn')
110Plugin.call($btn,'toggle')
111if(!($(e.target).is('input[type="radio"]')||$(e.target).is('input[type="checkbox"]')))e.preventDefault()}).on('focus.bs.button.data-api blur.bs.button.data-api','[data-toggle^="button"]',function(e){$(e.target).closest('.btn').toggleClass('focus',/^focus(in)?$/.test(e.type))})}(jQuery);+function($){'use strict';var Carousel=function(element,options){this.$element=$(element)
112this.$indicators=this.$element.find('.carousel-indicators')
113this.options=options
114this.paused=null
115this.sliding=null
116this.interval=null
117this.$active=null
118this.$items=null
119this.options.keyboard&&this.$element.on('keydown.bs.carousel',$.proxy(this.keydown,this))
120this.options.pause=='hover'&&!('ontouchstart'in document.documentElement)&&this.$element.on('mouseenter.bs.carousel',$.proxy(this.pause,this)).on('mouseleave.bs.carousel',$.proxy(this.cycle,this))}
121Carousel.VERSION='3.3.6'
122Carousel.TRANSITION_DURATION=600
123Carousel.DEFAULTS={interval:5000,pause:'hover',wrap:true,keyboard:true}
124Carousel.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName))return
125switch(e.which){case 37:this.prev();break
126case 39:this.next();break
127default:return}
128e.preventDefault()}
129Carousel.prototype.cycle=function(e){e||(this.paused=false)
130this.interval&&clearInterval(this.interval)
131this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval))
132return this}
133Carousel.prototype.getItemIndex=function(item){this.$items=item.parent().children('.item')
134return this.$items.index(item||this.$active)}
135Carousel.prototype.getItemForDirection=function(direction,active){var activeIndex=this.getItemIndex(active)
136var willWrap=(direction=='prev'&&activeIndex===0)||(direction=='next'&&activeIndex==(this.$items.length-1))
137if(willWrap&&!this.options.wrap)return active
138var delta=direction=='prev'?-1:1
139var itemIndex=(activeIndex+delta)%this.$items.length
140return this.$items.eq(itemIndex)}
141Carousel.prototype.to=function(pos){var that=this
142var activeIndex=this.getItemIndex(this.$active=this.$element.find('.item.active'))
143if(pos>(this.$items.length-1)||pos<0)return
144if(this.sliding)return this.$element.one('slid.bs.carousel',function(){that.to(pos)})
145if(activeIndex==pos)return this.pause().cycle()
146return this.slide(pos>activeIndex?'next':'prev',this.$items.eq(pos))}
147Carousel.prototype.pause=function(e){e||(this.paused=true)
148if(this.$element.find('.next, .prev').length&&$.support.transition){this.$element.trigger($.support.transition.end)
149this.cycle(true)}
150this.interval=clearInterval(this.interval)
151return this}
152Carousel.prototype.next=function(){if(this.sliding)return
153return this.slide('next')}
154Carousel.prototype.prev=function(){if(this.sliding)return
155return this.slide('prev')}
156Carousel.prototype.slide=function(type,next){var $active=this.$element.find('.item.active')
157var $next=next||this.getItemForDirection(type,$active)
158var isCycling=this.interval
159var direction=type=='next'?'left':'right'
160var that=this
161if($next.hasClass('active'))return(this.sliding=false)
162var relatedTarget=$next[0]
163var slideEvent=$.Event('slide.bs.carousel',{relatedTarget:relatedTarget,direction:direction})
164this.$element.trigger(slideEvent)
165if(slideEvent.isDefaultPrevented())return
166this.sliding=true
167isCycling&&this.pause()
168if(this.$indicators.length){this.$indicators.find('.active').removeClass('active')
169var $nextIndicator=$(this.$indicators.children()[this.getItemIndex($next)])
170$nextIndicator&&$nextIndicator.addClass('active')}
171var slidEvent=$.Event('slid.bs.carousel',{relatedTarget:relatedTarget,direction:direction})
vendor: 9,406 bytes, lines 172-340
172if($.support.transition&&this.$element.hasClass('slide')){$next.addClass(type)
173$next[0].offsetWidth
174$active.addClass(direction)
175$next.addClass(direction)
176$active.one('bsTransitionEnd',function(){$next.removeClass([type,direction].join(' ')).addClass('active')
177$active.removeClass(['active',direction].join(' '))
178that.sliding=false
179setTimeout(function(){that.$element.trigger(slidEvent)},0)}).emulateTransitionEnd(Carousel.TRANSITION_DURATION)}else{$active.removeClass('active')
180$next.addClass('active')
181this.sliding=false
182this.$element.trigger(slidEvent)}
183isCycling&&this.cycle()
184return this}
185function Plugin(option){return this.each(function(){var $this=$(this)
186var data=$this.data('bs.carousel')
187var options=$.extend({},Carousel.DEFAULTS,$this.data(),typeof option=='object'&&option)
188var action=typeof option=='string'?option:options.slide
189if(!data)$this.data('bs.carousel',(data=new Carousel(this,options)))
190if(typeof option=='number')data.to(option)
191else if(action)data[action]()
192else if(options.interval)data.pause().cycle()})}
193var old=$.fn.carousel
194$.fn.carousel=Plugin
195$.fn.carousel.Constructor=Carousel
196$.fn.carousel.noConflict=function(){$.fn.carousel=old
197return this}
198var clickHandler=function(e){var href
199var $this=$(this)
200var $target=$($this.attr('data-target')||(href=$this.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,''))
201if(!$target.hasClass('carousel'))return
202var options=$.extend({},$target.data(),$this.data())
203var slideIndex=$this.attr('data-slide-to')
204if(slideIndex)options.interval=false
205Plugin.call($target,options)
206if(slideIndex){$target.data('bs.carousel').to(slideIndex)}
207e.preventDefault()}
208$(document).on('click.bs.carousel.data-api','[data-slide]',clickHandler).on('click.bs.carousel.data-api','[data-slide-to]',clickHandler)
209$(window).on('load',function(){$('[data-ride="carousel"]').each(function(){var $carousel=$(this)
210Plugin.call($carousel,$carousel.data())})})}(jQuery);+function($){'use strict';var Collapse=function(element,options){this.$element=$(element)
211this.options=$.extend({},Collapse.DEFAULTS,options)
212this.$trigger=$('[data-toggle="collapse"][href="#'+element.id+'"],'+'[data-toggle="collapse"][data-target="#'+element.id+'"]')
213this.transitioning=null
214if(this.options.parent){this.$parent=this.getParent()}else{this.addAriaAndCollapsedClass(this.$element,this.$trigger)}
215if(this.options.toggle)this.toggle()}
216Collapse.VERSION='3.3.6'
217Collapse.TRANSITION_DURATION=350
218Collapse.DEFAULTS={toggle:true}
219Collapse.prototype.dimension=function(){var hasWidth=this.$element.hasClass('width')
220return hasWidth?'width':'height'}
221Collapse.prototype.show=function(){if(this.transitioning||this.$element.hasClass('in'))return
222var activesData
223var actives=this.$parent&&this.$parent.children('.wpsm_panel').children('.in, .collapsing')
224if(actives&&actives.length){activesData=actives.data('bs.collapse')
225if(activesData&&activesData.transitioning)return}
226var startEvent=$.Event('show.bs.collapse')
227this.$element.trigger(startEvent)
228if(startEvent.isDefaultPrevented())return
229if(actives&&actives.length){Plugin.call(actives,'hide')
230activesData||actives.data('bs.collapse',null)}
231var dimension=this.dimension()
232this.$element.removeClass('collapse').addClass('collapsing')[dimension](0).attr('aria-expanded',true)
233this.$trigger.removeClass('collapsed').attr('aria-expanded',true)
234this.transitioning=1
235var complete=function(){this.$element.removeClass('collapsing').addClass('collapse in')[dimension]('')
236this.transitioning=0
237this.$element.trigger('shown.bs.collapse')}
238if(!$.support.transition)return complete.call(this)
239var scrollSize=$.camelCase(['scroll',dimension].join('-'))
240this.$element.one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])}
241Collapse.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass('in'))return
242var startEvent=$.Event('hide.bs.collapse')
243this.$element.trigger(startEvent)
244if(startEvent.isDefaultPrevented())return
245var dimension=this.dimension()
246this.$element[dimension](this.$element[dimension]())[0].offsetHeight
247this.$element.addClass('collapsing').removeClass('collapse in').attr('aria-expanded',false)
248this.$trigger.addClass('collapsed').attr('aria-expanded',false)
249this.transitioning=1
250var complete=function(){this.transitioning=0
251this.$element.removeClass('collapsing').addClass('collapse').trigger('hidden.bs.collapse')}
252if(!$.support.transition)return complete.call(this)
253this.$element
254[dimension](0).one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)}
255Collapse.prototype.toggle=function(){this[this.$element.hasClass('in')?'hide':'show']()}
256Collapse.prototype.getParent=function(){return $(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each($.proxy(function(i,element){var $element=$(element)
257this.addAriaAndCollapsedClass(getTargetFromTrigger($element),$element)},this)).end()}
258Collapse.prototype.addAriaAndCollapsedClass=function($element,$trigger){var isOpen=$element.hasClass('in')
259$element.attr('aria-expanded',isOpen)
260$trigger.toggleClass('collapsed',!isOpen).attr('aria-expanded',isOpen)}
261function getTargetFromTrigger($trigger){var href
262var target=$trigger.attr('data-target')||(href=$trigger.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,'')
263return $(target)}
264function Plugin(option){return this.each(function(){var $this=$(this)
265var data=$this.data('bs.collapse')
266var options=$.extend({},Collapse.DEFAULTS,$this.data(),typeof option=='object'&&option)
267if(!data&&options.toggle&&/show|hide/.test(option))options.toggle=false
268if(!data)$this.data('bs.collapse',(data=new Collapse(this,options)))
269if(typeof option=='string')data[option]()})}
270var old=$.fn.collapse
271$.fn.collapse=Plugin
272$.fn.collapse.Constructor=Collapse
273$.fn.collapse.noConflict=function(){$.fn.collapse=old
274return this}
275$(document).on('click.bs.collapse.data-api','[data-toggle="collapse"]',function(e){var $this=$(this)
276if(!$this.attr('data-target'))e.preventDefault()
277var $target=getTargetFromTrigger($this)
278var data=$target.data('bs.collapse')
279var option=data?'toggle':$this.data()
280Plugin.call($target,option)})}(jQuery);+function($){'use strict';var backdrop='.dropdown-backdrop'
281var toggle='[data-toggle="dropdown"]'
282var Dropdown=function(element){$(element).on('click.bs.dropdown',this.toggle)}
283Dropdown.VERSION='3.3.6'
284function getParent($this){var selector=$this.attr('data-target')
285if(!selector){selector=$this.attr('href')
286selector=selector&&/#[A-Za-z]/.test(selector)&&selector.replace(/.*(?=#[^\s]*$)/,'')}
287var $parent=selector&&$(selector)
288return $parent&&$parent.length?$parent:$this.parent()}
289function clearMenus(e){if(e&&e.which===3)return
290$(backdrop).remove()
291$(toggle).each(function(){var $this=$(this)
292var $parent=getParent($this)
293var relatedTarget={relatedTarget:this}
294if(!$parent.hasClass('open'))return
295if(e&&e.type=='click'&&/input|textarea/i.test(e.target.tagName)&&$.contains($parent[0],e.target))return
296$parent.trigger(e=$.Event('hide.bs.dropdown',relatedTarget))
297if(e.isDefaultPrevented())return
298$this.attr('aria-expanded','false')
299$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown',relatedTarget))})}
300Dropdown.prototype.toggle=function(e){var $this=$(this)
301if($this.is('.disabled, :disabled'))return
302var $parent=getParent($this)
303var isActive=$parent.hasClass('open')
304clearMenus()
305if(!isActive){if('ontouchstart'in document.documentElement&&!$parent.closest('.navbar-nav').length){$(document.createElement('div')).addClass('dropdown-backdrop').insertAfter($(this)).on('click',clearMenus)}
306var relatedTarget={relatedTarget:this}
307$parent.trigger(e=$.Event('show.bs.dropdown',relatedTarget))
308if(e.isDefaultPrevented())return
309$this.trigger('focus').attr('aria-expanded','true')
310$parent.toggleClass('open').trigger($.Event('shown.bs.dropdown',relatedTarget))}
311return false}
312Dropdown.prototype.keydown=function(e){if(!/(38|40|27|32)/.test(e.which)||/input|textarea/i.test(e.target.tagName))return
313var $this=$(this)
314e.preventDefault()
315e.stopPropagation()
316if($this.is('.disabled, :disabled'))return
317var $parent=getParent($this)
318var isActive=$parent.hasClass('open')
319if(!isActive&&e.which!=27||isActive&&e.which==27){if(e.which==27)$parent.find(toggle).trigger('focus')
320return $this.trigger('click')}
321var desc=' li:not(.disabled):visible a'
322var $items=$parent.find('.dropdown-menu'+desc)
323if(!$items.length)return
324var index=$items.index(e.target)
325if(e.which==38&&index>0)index--
326if(e.which==40&&index<$items.length-1)index++
327if(!~index)index=0
328$items.eq(index).trigger('focus')}
329function Plugin(option){return this.each(function(){var $this=$(this)
330var data=$this.data('bs.dropdown')
331if(!data)$this.data('bs.dropdown',(data=new Dropdown(this)))
332if(typeof option=='string')data[option].call($this)})}
333var old=$.fn.dropdown
334$.fn.dropdown=Plugin
335$.fn.dropdown.Constructor=Dropdown
336$.fn.dropdown.noConflict=function(){$.fn.dropdown=old
337return this}
338$(document).on('click.bs.dropdown.data-api',clearMenus).on('click.bs.dropdown.data-api','.dropdown form',function(e){e.stopPropagation()}).on('click.bs.dropdown.data-api',toggle,Dropdown.prototype.toggle).on('keydown.bs.dropdown.data-api',toggle,Dropdown.prototype.keydown).on('keydown.bs.dropdown.data-api','.dropdown-menu',Dropdown.prototype.keydown)}(jQuery);+function($){'use strict';var Modal=function(element,options){this.options=options
339this.$body=$(document.body)
340this.$element=$(element)
vendor: 29,973 bytes, lines 341-827
341this.$dialog=this.$element.find('.modal-dialog')
342this.$backdrop=null
343this.isShown=null
344this.originalBodyPad=null
345this.scrollbarWidth=0
346this.ignoreBackdropClick=false
347if(this.options.remote){this.$element.find('.modal-content').load(this.options.remote,$.proxy(function(){this.$element.trigger('loaded.bs.modal')},this))}}
348Modal.VERSION='3.3.6'
349Modal.TRANSITION_DURATION=300
350Modal.BACKDROP_TRANSITION_DURATION=150
351Modal.DEFAULTS={backdrop:true,keyboard:true,show:true}
352Modal.prototype.toggle=function(_relatedTarget){return this.isShown?this.hide():this.show(_relatedTarget)}
353Modal.prototype.show=function(_relatedTarget){var that=this
354var e=$.Event('show.bs.modal',{relatedTarget:_relatedTarget})
355this.$element.trigger(e)
356if(this.isShown||e.isDefaultPrevented())return
357this.isShown=true
358this.checkScrollbar()
359this.setScrollbar()
360this.$body.addClass('modal-open')
361this.escape()
362this.resize()
363this.$element.on('click.dismiss.bs.modal','[data-dismiss="modal"]',$.proxy(this.hide,this))
364this.$dialog.on('mousedown.dismiss.bs.modal',function(){that.$element.one('mouseup.dismiss.bs.modal',function(e){if($(e.target).is(that.$element))that.ignoreBackdropClick=true})})
365this.backdrop(function(){var transition=$.support.transition&&that.$element.hasClass('fade')
366if(!that.$element.parent().length){that.$element.appendTo(that.$body)}
367that.$element.show().scrollTop(0)
368that.adjustDialog()
369if(transition){that.$element[0].offsetWidth}
370that.$element.addClass('in')
371that.enforceFocus()
372var e=$.Event('shown.bs.modal',{relatedTarget:_relatedTarget})
373transition?that.$dialog.one('bsTransitionEnd',function(){that.$element.trigger('focus').trigger(e)}).emulateTransitionEnd(Modal.TRANSITION_DURATION):that.$element.trigger('focus').trigger(e)})}
374Modal.prototype.hide=function(e){if(e)e.preventDefault()
375e=$.Event('hide.bs.modal')
376this.$element.trigger(e)
377if(!this.isShown||e.isDefaultPrevented())return
378this.isShown=false
379this.escape()
380this.resize()
381$(document).off('focusin.bs.modal')
382this.$element.removeClass('in').off('click.dismiss.bs.modal').off('mouseup.dismiss.bs.modal')
383this.$dialog.off('mousedown.dismiss.bs.modal')
384$.support.transition&&this.$element.hasClass('fade')?this.$element.one('bsTransitionEnd',$.proxy(this.hideModal,this)).emulateTransitionEnd(Modal.TRANSITION_DURATION):this.hideModal()}
385Modal.prototype.enforceFocus=function(){$(document).off('focusin.bs.modal').on('focusin.bs.modal',$.proxy(function(e){if(this.$element[0]!==e.target&&!this.$element.has(e.target).length){this.$element.trigger('focus')}},this))}
386Modal.prototype.escape=function(){if(this.isShown&&this.options.keyboard){this.$element.on('keydown.dismiss.bs.modal',$.proxy(function(e){e.which==27&&this.hide()},this))}else if(!this.isShown){this.$element.off('keydown.dismiss.bs.modal')}}
387Modal.prototype.resize=function(){if(this.isShown){$(window).on('resize.bs.modal',$.proxy(this.handleUpdate,this))}else{$(window).off('resize.bs.modal')}}
388Modal.prototype.hideModal=function(){var that=this
389this.$element.hide()
390this.backdrop(function(){that.$body.removeClass('modal-open')
391that.resetAdjustments()
392that.resetScrollbar()
393that.$element.trigger('hidden.bs.modal')})}
394Modal.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove()
395this.$backdrop=null}
396Modal.prototype.backdrop=function(callback){var that=this
397var animate=this.$element.hasClass('fade')?'fade':''
398if(this.isShown&&this.options.backdrop){var doAnimate=$.support.transition&&animate
399this.$backdrop=$(document.createElement('div')).addClass('modal-backdrop '+animate).appendTo(this.$body)
400this.$element.on('click.dismiss.bs.modal',$.proxy(function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=false
401return}
402if(e.target!==e.currentTarget)return
403this.options.backdrop=='static'?this.$element[0].focus():this.hide()},this))
404if(doAnimate)this.$backdrop[0].offsetWidth
405this.$backdrop.addClass('in')
406if(!callback)return
407doAnimate?this.$backdrop.one('bsTransitionEnd',callback).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callback()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass('in')
408var callbackRemove=function(){that.removeBackdrop()
409callback&&callback()}
410$.support.transition&&this.$element.hasClass('fade')?this.$backdrop.one('bsTransitionEnd',callbackRemove).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callbackRemove()}else if(callback){callback()}}
411Modal.prototype.handleUpdate=function(){this.adjustDialog()}
412Modal.prototype.adjustDialog=function(){var modalIsOverflowing=this.$element[0].scrollHeight>document.documentElement.clientHeight
413this.$element.css({paddingLeft:!this.bodyIsOverflowing&&modalIsOverflowing?this.scrollbarWidth:'',paddingRight:this.bodyIsOverflowing&&!modalIsOverflowing?this.scrollbarWidth:''})}
414Modal.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:'',paddingRight:''})}
415Modal.prototype.checkScrollbar=function(){var fullWindowWidth=window.innerWidth
416if(!fullWindowWidth){var documentElementRect=document.documentElement.getBoundingClientRect()
417fullWindowWidth=documentElementRect.right-Math.abs(documentElementRect.left)}
418this.bodyIsOverflowing=document.body.clientWidth<fullWindowWidth
419this.scrollbarWidth=this.measureScrollbar()}
420Modal.prototype.setScrollbar=function(){var bodyPad=parseInt((this.$body.css('padding-right')||0),10)
421this.originalBodyPad=document.body.style.paddingRight||''
422if(this.bodyIsOverflowing)this.$body.css('padding-right',bodyPad+this.scrollbarWidth)}
423Modal.prototype.resetScrollbar=function(){this.$body.css('padding-right',this.originalBodyPad)}
424Modal.prototype.measureScrollbar=function(){var scrollDiv=document.createElement('div')
425scrollDiv.className='modal-scrollbar-measure'
426this.$body.append(scrollDiv)
427var scrollbarWidth=scrollDiv.offsetWidth-scrollDiv.clientWidth
428this.$body[0].removeChild(scrollDiv)
429return scrollbarWidth}
430function Plugin(option,_relatedTarget){return this.each(function(){var $this=$(this)
431var data=$this.data('bs.modal')
432var options=$.extend({},Modal.DEFAULTS,$this.data(),typeof option=='object'&&option)
433if(!data)$this.data('bs.modal',(data=new Modal(this,options)))
434if(typeof option=='string')data[option](_relatedTarget)
435else if(options.show)data.show(_relatedTarget)})}
436var old=$.fn.modal
437$.fn.modal=Plugin
438$.fn.modal.Constructor=Modal
439$.fn.modal.noConflict=function(){$.fn.modal=old
440return this}
441$(document).on('click.bs.modal.data-api','[data-toggle="modal"]',function(e){var $this=$(this)
442var href=$this.attr('href')
443var $target=$($this.attr('data-target')||(href&&href.replace(/.*(?=#[^\s]+$)/,'')))
444var option=$target.data('bs.modal')?'toggle':$.extend({remote:!/#/.test(href)&&href},$target.data(),$this.data())
445if($this.is('a'))e.preventDefault()
446$target.one('show.bs.modal',function(showEvent){if(showEvent.isDefaultPrevented())return
447$target.one('hidden.bs.modal',function(){$this.is(':visible')&&$this.trigger('focus')})})
448Plugin.call($target,option,this)})}(jQuery);+function($){'use strict';var Tooltip=function(element,options){this.type=null
449this.options=null
450this.enabled=null
451this.timeout=null
452this.hoverState=null
453this.$element=null
454this.inState=null
455this.init('tooltip',element,options)}
456Tooltip.VERSION='3.3.6'
457Tooltip.TRANSITION_DURATION=150
458Tooltip.DEFAULTS={animation:true,placement:'top',selector:false,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:'hover focus',title:'',delay:0,html:false,container:false,viewport:{selector:'body',padding:0}}
459Tooltip.prototype.init=function(type,element,options){this.enabled=true
460this.type=type
461this.$element=$(element)
462this.options=this.getOptions(options)
463this.$viewport=this.options.viewport&&$($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):(this.options.viewport.selector||this.options.viewport))
464this.inState={click:false,hover:false,focus:false}
465if(this.$element[0]instanceof document.constructor&&!this.options.selector){throw new Error('`selector` option must be specified when initializing '+this.type+' on the window.document object!')}
466var triggers=this.options.trigger.split(' ')
467for(var i=triggers.length;i--;){var trigger=triggers[i]
468if(trigger=='click'){this.$element.on('click.'+this.type,this.options.selector,$.proxy(this.toggle,this))}else if(trigger!='manual'){var eventIn=trigger=='hover'?'mouseenter':'focusin'
469var eventOut=trigger=='hover'?'mouseleave':'focusout'
470this.$element.on(eventIn+'.'+this.type,this.options.selector,$.proxy(this.enter,this))
471this.$element.on(eventOut+'.'+this.type,this.options.selector,$.proxy(this.leave,this))}}
472this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()}
473Tooltip.prototype.getDefaults=function(){return Tooltip.DEFAULTS}
474Tooltip.prototype.getOptions=function(options){options=$.extend({},this.getDefaults(),this.$element.data(),options)
475if(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay}}
476return options}
477Tooltip.prototype.getDelegateOptions=function(){var options={}
478var defaults=this.getDefaults()
479this._options&&$.each(this._options,function(key,value){if(defaults[key]!=value)options[key]=value})
480return options}
481Tooltip.prototype.enter=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type)
482if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions())
483$(obj.currentTarget).data('bs.'+this.type,self)}
484if(obj instanceof $.Event){self.inState[obj.type=='focusin'?'focus':'hover']=true}
485if(self.tip().hasClass('in')||self.hoverState=='in'){self.hoverState='in'
486return}
487clearTimeout(self.timeout)
488self.hoverState='in'
489if(!self.options.delay||!self.options.delay.show)return self.show()
490self.timeout=setTimeout(function(){if(self.hoverState=='in')self.show()},self.options.delay.show)}
491Tooltip.prototype.isInStateTrue=function(){for(var key in this.inState){if(this.inState[key])return true}
492return false}
493Tooltip.prototype.leave=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type)
494if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions())
495$(obj.currentTarget).data('bs.'+this.type,self)}
496if(obj instanceof $.Event){self.inState[obj.type=='focusout'?'focus':'hover']=false}
497if(self.isInStateTrue())return
498clearTimeout(self.timeout)
499self.hoverState='out'
500if(!self.options.delay||!self.options.delay.hide)return self.hide()
501self.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide()},self.options.delay.hide)}
502Tooltip.prototype.show=function(){var e=$.Event('show.bs.'+this.type)
503if(this.hasContent()&&this.enabled){this.$element.trigger(e)
504var inDom=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0])
505if(e.isDefaultPrevented()||!inDom)return
506var that=this
507var $tip=this.tip()
508var tipId=this.getUID(this.type)
509this.setContent()
510$tip.attr('id',tipId)
511this.$element.attr('aria-describedby',tipId)
512if(this.options.animation)$tip.addClass('fade')
513var placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement
514var autoToken=/\s?auto?\s?/i
515var autoPlace=autoToken.test(placement)
516if(autoPlace)placement=placement.replace(autoToken,'')||'top'
517$tip.detach().css({top:0,left:0,display:'block'}).addClass(placement).data('bs.'+this.type,this)
518this.options.container?$tip.appendTo(this.options.container):$tip.insertAfter(this.$element)
519this.$element.trigger('inserted.bs.'+this.type)
520var pos=this.getPosition()
521var actualWidth=$tip[0].offsetWidth
522var actualHeight=$tip[0].offsetHeight
523if(autoPlace){var orgPlacement=placement
524var viewportDim=this.getPosition(this.$viewport)
525placement=placement=='bottom'&&pos.bottom+actualHeight>viewportDim.bottom?'top':placement=='top'&&pos.top-actualHeight<viewportDim.top?'bottom':placement=='right'&&pos.right+actualWidth>viewportDim.width?'left':placement=='left'&&pos.left-actualWidth<viewportDim.left?'right':placement
526$tip.removeClass(orgPlacement).addClass(placement)}
527var calculatedOffset=this.getCalculatedOffset(placement,pos,actualWidth,actualHeight)
528this.applyPlacement(calculatedOffset,placement)
529var complete=function(){var prevHoverState=that.hoverState
530that.$element.trigger('shown.bs.'+that.type)
531that.hoverState=null
532if(prevHoverState=='out')that.leave(that)}
533$.support.transition&&this.$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete()}}
534Tooltip.prototype.applyPlacement=function(offset,placement){var $tip=this.tip()
535var width=$tip[0].offsetWidth
536var height=$tip[0].offsetHeight
537var marginTop=parseInt($tip.css('margin-top'),10)
538var marginLeft=parseInt($tip.css('margin-left'),10)
539if(isNaN(marginTop))marginTop=0
540if(isNaN(marginLeft))marginLeft=0
541offset.top+=marginTop
542offset.left+=marginLeft
543$.offset.setOffset($tip[0],$.extend({using:function(props){$tip.css({top:Math.round(props.top),left:Math.round(props.left)})}},offset),0)
544$tip.addClass('in')
545var actualWidth=$tip[0].offsetWidth
546var actualHeight=$tip[0].offsetHeight
547if(placement=='top'&&actualHeight!=height){offset.top=offset.top+height-actualHeight}
548var delta=this.getViewportAdjustedDelta(placement,offset,actualWidth,actualHeight)
549if(delta.left)offset.left+=delta.left
550else offset.top+=delta.top
551var isVertical=/top|bottom/.test(placement)
552var arrowDelta=isVertical?delta.left*2-width+actualWidth:delta.top*2-height+actualHeight
553var arrowOffsetPosition=isVertical?'offsetWidth':'offsetHeight'
554$tip.offset(offset)
555this.replaceArrow(arrowDelta,$tip[0][arrowOffsetPosition],isVertical)}
556Tooltip.prototype.replaceArrow=function(delta,dimension,isVertical){this.arrow().css(isVertical?'left':'top',50*(1-delta/dimension)+'%').css(isVertical?'top':'left','')}
557Tooltip.prototype.setContent=function(){var $tip=this.tip()
558var title=this.getTitle()
559$tip.find('.tooltip-inner')[this.options.html?'html':'text'](title)
560$tip.removeClass('fade in top bottom left right')}
561Tooltip.prototype.hide=function(callback){var that=this
562var $tip=$(this.$tip)
563var e=$.Event('hide.bs.'+this.type)
564function complete(){if(that.hoverState!='in')$tip.detach()
565that.$element.removeAttr('aria-describedby').trigger('hidden.bs.'+that.type)
566callback&&callback()}
567this.$element.trigger(e)
568if(e.isDefaultPrevented())return
569$tip.removeClass('in')
570$.support.transition&&$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete()
571this.hoverState=null
572return this}
573Tooltip.prototype.fixTitle=function(){var $e=this.$element
574if($e.attr('title')||typeof $e.attr('data-original-title')!='string'){$e.attr('data-original-title',$e.attr('title')||'').attr('title','')}}
575Tooltip.prototype.hasContent=function(){return this.getTitle()}
576Tooltip.prototype.getPosition=function($element){$element=$element||this.$element
577var el=$element[0]
578var isBody=el.tagName=='BODY'
579var elRect=el.getBoundingClientRect()
580if(elRect.width==null){elRect=$.extend({},elRect,{width:elRect.right-elRect.left,height:elRect.bottom-elRect.top})}
581var elOffset=isBody?{top:0,left:0}:$element.offset()
582var scroll={scroll:isBody?document.documentElement.scrollTop||document.body.scrollTop:$element.scrollTop()}
583var outerDims=isBody?{width:$(window).width(),height:$(window).height()}:null
584return $.extend({},elRect,scroll,outerDims,elOffset)}
585Tooltip.prototype.getCalculatedOffset=function(placement,pos,actualWidth,actualHeight){return placement=='bottom'?{top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2}:placement=='top'?{top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2}:placement=='left'?{top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth}:{top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width}}
586Tooltip.prototype.getViewportAdjustedDelta=function(placement,pos,actualWidth,actualHeight){var delta={top:0,left:0}
587if(!this.$viewport)return delta
588var viewportPadding=this.options.viewport&&this.options.viewport.padding||0
589var viewportDimensions=this.getPosition(this.$viewport)
590if(/right|left/.test(placement)){var topEdgeOffset=pos.top-viewportPadding-viewportDimensions.scroll
591var bottomEdgeOffset=pos.top+viewportPadding-viewportDimensions.scroll+actualHeight
592if(topEdgeOffset<viewportDimensions.top){delta.top=viewportDimensions.top-topEdgeOffset}else if(bottomEdgeOffset>viewportDimensions.top+viewportDimensions.height){delta.top=viewportDimensions.top+viewportDimensions.height-bottomEdgeOffset}}else{var leftEdgeOffset=pos.left-viewportPadding
593var rightEdgeOffset=pos.left+viewportPadding+actualWidth
594if(leftEdgeOffset<viewportDimensions.left){delta.left=viewportDimensions.left-leftEdgeOffset}else if(rightEdgeOffset>viewportDimensions.right){delta.left=viewportDimensions.left+viewportDimensions.width-rightEdgeOffset}}
595return delta}
596Tooltip.prototype.getTitle=function(){var title
597var $e=this.$element
598var o=this.options
599title=$e.attr('data-original-title')||(typeof o.title=='function'?o.title.call($e[0]):o.title)
600return title}
601Tooltip.prototype.getUID=function(prefix){do prefix+=~~(Math.random()*1000000)
602while(document.getElementById(prefix))
603return prefix}
604Tooltip.prototype.tip=function(){if(!this.$tip){this.$tip=$(this.options.template)
605if(this.$tip.length!=1){throw new Error(this.type+' `template` option must consist of exactly 1 top-level element!')}}
606return this.$tip}
607Tooltip.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.tooltip-arrow'))}
608Tooltip.prototype.enable=function(){this.enabled=true}
609Tooltip.prototype.disable=function(){this.enabled=false}
610Tooltip.prototype.toggleEnabled=function(){this.enabled=!this.enabled}
611Tooltip.prototype.toggle=function(e){var self=this
612if(e){self=$(e.currentTarget).data('bs.'+this.type)
613if(!self){self=new this.constructor(e.currentTarget,this.getDelegateOptions())
614$(e.currentTarget).data('bs.'+this.type,self)}}
615if(e){self.inState.click=!self.inState.click
616if(self.isInStateTrue())self.enter(self)
617else self.leave(self)}else{self.tip().hasClass('in')?self.leave(self):self.enter(self)}}
618Tooltip.prototype.destroy=function(){var that=this
619clearTimeout(this.timeout)
620this.hide(function(){that.$element.off('.'+that.type).removeData('bs.'+that.type)
621if(that.$tip){that.$tip.detach()}
622that.$tip=null
623that.$arrow=null
624that.$viewport=null})}
625function Plugin(option){return this.each(function(){var $this=$(this)
626var data=$this.data('bs.tooltip')
627var options=typeof option=='object'&&option
628if(!data&&/destroy|hide/.test(option))return
629if(!data)$this.data('bs.tooltip',(data=new Tooltip(this,options)))
630if(typeof option=='string')data[option]()})}
631var old=$.fn.tooltip
632$.fn.tooltip=Plugin
633$.fn.tooltip.Constructor=Tooltip
634$.fn.tooltip.noConflict=function(){$.fn.tooltip=old
635return this}}(jQuery);+function($){'use strict';var Popover=function(element,options){this.init('popover',element,options)}
636if(!$.fn.tooltip)throw new Error('Popover requires tooltip.js')
637Popover.VERSION='3.3.6'
638Popover.DEFAULTS=$.extend({},$.fn.tooltip.Constructor.DEFAULTS,{placement:'right',trigger:'click',content:'',template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'})
639Popover.prototype=$.extend({},$.fn.tooltip.Constructor.prototype)
640Popover.prototype.constructor=Popover
641Popover.prototype.getDefaults=function(){return Popover.DEFAULTS}
642Popover.prototype.setContent=function(){var $tip=this.tip()
643var title=this.getTitle()
644var content=this.getContent()
645$tip.find('.popover-title')[this.options.html?'html':'text'](title)
646$tip.find('.popover-content').children().detach().end()[this.options.html?(typeof content=='string'?'html':'append'):'text'](content)
647$tip.removeClass('fade top bottom left right in')
648if(!$tip.find('.popover-title').html())$tip.find('.popover-title').hide()}
649Popover.prototype.hasContent=function(){return this.getTitle()||this.getContent()}
650Popover.prototype.getContent=function(){var $e=this.$element
651var o=this.options
652return $e.attr('data-content')||(typeof o.content=='function'?o.content.call($e[0]):o.content)}
653Popover.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.arrow'))}
654function Plugin(option){return this.each(function(){var $this=$(this)
655var data=$this.data('bs.popover')
656var options=typeof option=='object'&&option
657if(!data&&/destroy|hide/.test(option))return
658if(!data)$this.data('bs.popover',(data=new Popover(this,options)))
659if(typeof option=='string')data[option]()})}
660var old=$.fn.popover
661$.fn.popover=Plugin
662$.fn.popover.Constructor=Popover
663$.fn.popover.noConflict=function(){$.fn.popover=old
664return this}}(jQuery);+function($){'use strict';function ScrollSpy(element,options){this.$body=$(document.body)
665this.$scrollElement=$(element).is(document.body)?$(window):$(element)
666this.options=$.extend({},ScrollSpy.DEFAULTS,options)
667this.selector=(this.options.target||'')+' .nav li > a'
668this.offsets=[]
669this.targets=[]
670this.activeTarget=null
671this.scrollHeight=0
672this.$scrollElement.on('scroll.bs.scrollspy',$.proxy(this.process,this))
673this.refresh()
674this.process()}
675ScrollSpy.VERSION='3.3.6'
676ScrollSpy.DEFAULTS={offset:10}
677ScrollSpy.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)}
678ScrollSpy.prototype.refresh=function(){var that=this
679var offsetMethod='offset'
680var offsetBase=0
681this.offsets=[]
682this.targets=[]
683this.scrollHeight=this.getScrollHeight()
684if(!$.isWindow(this.$scrollElement[0])){offsetMethod='position'
685offsetBase=this.$scrollElement.scrollTop()}
686this.$body.find(this.selector).map(function(){var $el=$(this)
687var href=$el.data('target')||$el.attr('href')
688var $href=/^#./.test(href)&&$(href)
689return($href&&$href.length&&$href.is(':visible')&&[[$href[offsetMethod]().top+offsetBase,href]])||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){that.offsets.push(this[0])
690that.targets.push(this[1])})}
691ScrollSpy.prototype.process=function(){var scrollTop=this.$scrollElement.scrollTop()+this.options.offset
692var scrollHeight=this.getScrollHeight()
693var maxScroll=this.options.offset+scrollHeight-this.$scrollElement.height()
694var offsets=this.offsets
695var targets=this.targets
696var activeTarget=this.activeTarget
697var i
698if(this.scrollHeight!=scrollHeight){this.refresh()}
699if(scrollTop>=maxScroll){return activeTarget!=(i=targets[targets.length-1])&&this.activate(i)}
700if(activeTarget&&scrollTop<offsets[0]){this.activeTarget=null
701return this.clear()}
702for(i=offsets.length;i--;){activeTarget!=targets[i]&&scrollTop>=offsets[i]&&(offsets[i+1]===undefined||scrollTop<offsets[i+1])&&this.activate(targets[i])}}
703ScrollSpy.prototype.activate=function(target){this.activeTarget=target
704this.clear()
705var selector=this.selector+'[data-target="'+target+'"],'+
706this.selector+'[href="'+target+'"]'
707var active=$(selector).parents('li').addClass('active')
708if(active.parent('.dropdown-menu').length){active=active.closest('li.dropdown').addClass('active')}
709active.trigger('activate.bs.scrollspy')}
710ScrollSpy.prototype.clear=function(){$(this.selector).parentsUntil(this.options.target,'.active').removeClass('active')}
711function Plugin(option){return this.each(function(){var $this=$(this)
712var data=$this.data('bs.scrollspy')
713var options=typeof option=='object'&&option
714if(!data)$this.data('bs.scrollspy',(data=new ScrollSpy(this,options)))
715if(typeof option=='string')data[option]()})}
716var old=$.fn.scrollspy
717$.fn.scrollspy=Plugin
718$.fn.scrollspy.Constructor=ScrollSpy
719$.fn.scrollspy.noConflict=function(){$.fn.scrollspy=old
720return this}
721$(window).on('load.bs.scrollspy.data-api',function(){$('[data-spy="scroll"]').each(function(){var $spy=$(this)
722Plugin.call($spy,$spy.data())})})}(jQuery);+function($){'use strict';var Tab=function(element){this.element=$(element)}
723Tab.VERSION='3.3.6'
724Tab.TRANSITION_DURATION=150
725Tab.prototype.show=function(){var $this=this.element
726var $ul=$this.closest('ul:not(.dropdown-menu)')
727var selector=$this.data('target')
728if(!selector){selector=$this.attr('href')
729selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
730if($this.parent('li').hasClass('active'))return
731var $previous=$ul.find('.active:last a')
732var hideEvent=$.Event('hide.bs.tab',{relatedTarget:$this[0]})
733var showEvent=$.Event('show.bs.tab',{relatedTarget:$previous[0]})
734$previous.trigger(hideEvent)
735$this.trigger(showEvent)
736if(showEvent.isDefaultPrevented()||hideEvent.isDefaultPrevented())return
737var $target=$(selector)
738this.activate($this.closest('li'),$ul)
739this.activate($target,$target.parent(),function(){$previous.trigger({type:'hidden.bs.tab',relatedTarget:$this[0]})
740$this.trigger({type:'shown.bs.tab',relatedTarget:$previous[0]})})}
741Tab.prototype.activate=function(element,container,callback){var $active=container.find('> .active')
742var transition=callback&&$.support.transition&&($active.length&&$active.hasClass('fade')||!!container.find('> .fade').length)
743function next(){$active.removeClass('active').find('> .dropdown-menu > .active').removeClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',false)
744element.addClass('active').find('[data-toggle="tab"]').attr('aria-expanded',true)
745if(transition){element[0].offsetWidth
746element.addClass('in')}else{element.removeClass('fade')}
747if(element.parent('.dropdown-menu').length){element.closest('li.dropdown').addClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',true)}
748callback&&callback()}
749$active.length&&transition?$active.one('bsTransitionEnd',next).emulateTransitionEnd(Tab.TRANSITION_DURATION):next()
750$active.removeClass('in')}
751function Plugin(option){return this.each(function(){var $this=$(this)
752var data=$this.data('bs.tab')
753if(!data)$this.data('bs.tab',(data=new Tab(this)))
754if(typeof option=='string')data[option]()})}
755var old=$.fn.tab
756$.fn.tab=Plugin
757$.fn.tab.Constructor=Tab
758$.fn.tab.noConflict=function(){$.fn.tab=old
759return this}
760var clickHandler=function(e){e.preventDefault()
761Plugin.call($(this),'show')}
762$(document).on('click.bs.tab.data-api','[data-toggle="tab"]',clickHandler).on('click.bs.tab.data-api','[data-toggle="pill"]',clickHandler)}(jQuery);+function($){'use strict';var Affix=function(element,options){this.options=$.extend({},Affix.DEFAULTS,options)
763this.$target=$(this.options.target).on('scroll.bs.affix.data-api',$.proxy(this.checkPosition,this)).on('click.bs.affix.data-api',$.proxy(this.checkPositionWithEventLoop,this))
764this.$element=$(element)
765this.affixed=null
766this.unpin=null
767this.pinnedOffset=null
768this.checkPosition()}
769Affix.VERSION='3.3.6'
770Affix.RESET='affix affix-top affix-bottom'
771Affix.DEFAULTS={offset:0,target:window}
772Affix.prototype.getState=function(scrollHeight,height,offsetTop,offsetBottom){var scrollTop=this.$target.scrollTop()
773var position=this.$element.offset()
774var targetHeight=this.$target.height()
775if(offsetTop!=null&&this.affixed=='top')return scrollTop<offsetTop?'top':false
776if(this.affixed=='bottom'){if(offsetTop!=null)return(scrollTop+this.unpin<=position.top)?false:'bottom'
777return(scrollTop+targetHeight<=scrollHeight-offsetBottom)?false:'bottom'}
778var initializing=this.affixed==null
779var colliderTop=initializing?scrollTop:position.top
780var colliderHeight=initializing?targetHeight:height
781if(offsetTop!=null&&scrollTop<=offsetTop)return'top'
782if(offsetBottom!=null&&(colliderTop+colliderHeight>=scrollHeight-offsetBottom))return'bottom'
783return false}
784Affix.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset
785this.$element.removeClass(Affix.RESET).addClass('affix')
786var scrollTop=this.$target.scrollTop()
787var position=this.$element.offset()
788return(this.pinnedOffset=position.top-scrollTop)}
789Affix.prototype.checkPositionWithEventLoop=function(){setTimeout($.proxy(this.checkPosition,this),1)}
790Affix.prototype.checkPosition=function(){if(!this.$element.is(':visible'))return
791var height=this.$element.height()
792var offset=this.options.offset
793var offsetTop=offset.top
794var offsetBottom=offset.bottom
795var scrollHeight=Math.max($(document).height(),$(document.body).height())
796if(typeof offset!='object')offsetBottom=offsetTop=offset
797if(typeof offsetTop=='function')offsetTop=offset.top(this.$element)
798if(typeof offsetBottom=='function')offsetBottom=offset.bottom(this.$element)
799var affix=this.getState(scrollHeight,height,offsetTop,offsetBottom)
800if(this.affixed!=affix){if(this.unpin!=null)this.$element.css('top','')
801var affixType='affix'+(affix?'-'+affix:'')
802var e=$.Event(affixType+'.bs.affix')
803this.$element.trigger(e)
804if(e.isDefaultPrevented())return
805this.affixed=affix
806this.unpin=affix=='bottom'?this.getPinnedOffset():null
807this.$element.removeClass(Affix.RESET).addClass(affixType).trigger(affixType.replace('affix','affixed')+'.bs.affix')}
808if(affix=='bottom'){this.$element.offset({top:scrollHeight-height-offsetBottom})}}
809function Plugin(option){return this.each(function(){var $this=$(this)
810var data=$this.data('bs.affix')
811var options=typeof option=='object'&&option
812if(!data)$this.data('bs.affix',(data=new Affix(this,options)))
813if(typeof option=='string')data[option]()})}
814var old=$.fn.affix
815$.fn.affix=Plugin
816$.fn.affix.Constructor=Affix
817$.fn.affix.noConflict=function(){$.fn.affix=old
818return this}
819$(window).on('load',function(){$('[data-spy="affix"]').each(function(){var $spy=$(this)
820var data=$spy.data()
821data.offset=data.offset||{}
822if(data.offsetBottom!=null)data.offset.bottom=data.offsetBottom
823if(data.offsetTop!=null)data.offset.top=data.offsetTop
824Plugin.call($spy,data)})})}(jQuery);
825jQuery(document).ready(function(jQuery){jQuery('.counter').counterUp({delay:20,time:2000});});
826
827(function(){var t=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++){if(e in this&&this[e]===t)return e}return-1},e=[].slice;(function(t,e){if(typeof define==="function"&&define.amd){return define("waypoints",["jquery"],function(n){return e(n,t)})}else{return e(t.jQuery,t)}})(this,function(n,r){var i,o,l,s,f,u,a,c,h,d,p,y,v,w,g,m;i=n(r);c=t.call(r,"ontouchstart")>=0;s={horizontal:{},vertical:{}};f=1;a={};u="waypoints-context-id";p="resize.waypoints";y="scroll.waypoints";v=1;
vendor: 6,759 bytes, line 827
827w="waypoints-waypoint-ids";g="waypoint";m="waypoints";o=function(){function t(t){var e=this;this.$element=t;this.element=t[0];this.didResize=false;this.didScroll=false;this.id="context"+f++;this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()};this.waypoints={horizontal:{},vertical:{}};t.data(u,this.id);a[this.id]=this;t.bind(y,function(){var t;if(!(e.didScroll||c)){e.didScroll=true;t=function(){e.doScroll();return e.didScroll=false};return r.setTimeout(t,n[m].settings.scrollThrottle)}});t.bind(p,function(){var t;if(!e.didResize){e.didResize=true;t=function(){n[m]("refresh");return e.didResize=false};return r.setTimeout(t,n[m].settings.resizeThrottle)}})}t.prototype.doScroll=function(){var t,e=this;t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};if(c&&(!t.vertical.oldScroll||!t.vertical.newScroll)){n[m]("refresh")}n.each(t,function(t,r){var i,o,l;l=[];o=r.newScroll>r.oldScroll;i=o?r.forward:r.backward;n.each(e.waypoints[t],function(t,e){var n,i;if(r.oldScroll<(n=e.offset)&&n<=r.newScroll){return l.push(e)}else if(r.newScroll<(i=e.offset)&&i<=r.oldScroll){return l.push(e)}});l.sort(function(t,e){return t.offset-e.offset});if(!o){l.reverse()}return n.each(l,function(t,e){if(e.options.continuous||t===l.length-1){return e.trigger([i])}})});return this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}};t.prototype.refresh=function(){var t,e,r,i=this;r=n.isWindow(this.element);e=this.$element.offset();this.doScroll();t={horizontal:{contextOffset:r?0:e.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:e.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?n[m]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};return n.each(t,function(t,e){return n.each(i.waypoints[t],function(t,r){var i,o,l,s,f;i=r.options.offset;l=r.offset;o=n.isWindow(r.element)?0:r.$element.offset()[e.offsetProp];if(n.isFunction(i)){i=i.apply(r.element)}else if(typeof i==="string"){i=parseFloat(i);if(r.options.offset.indexOf("%")>-1){i=Math.ceil(e.contextDimension*i/100)}}r.offset=o-e.contextOffset+e.contextScroll-i;if(r.options.onlyOnScroll&&l!=null||!r.enabled){return}if(l!==null&&l<(s=e.oldScroll)&&s<=r.offset){return r.trigger([e.backward])}else if(l!==null&&l>(f=e.oldScroll)&&f>=r.offset){return r.trigger([e.forward])}else if(l===null&&e.oldScroll>=r.offset){return r.trigger([e.forward])}})})};t.prototype.checkEmpty=function(){if(n.isEmptyObject(this.waypoints.horizontal)&&n.isEmptyObject(this.waypoints.vertical)){this.$element.unbind([p,y].join(" "));return delete a[this.id]}};return t}();l=function(){function t(t,e,r){var i,o;r=n.extend({},n.fn[g].defaults,r);if(r.offset==="bottom-in-view"){r.offset=function(){var t;t=n[m]("viewportHeight");if(!n.isWindow(e.element)){t=e.$element.height()}return t-n(this).outerHeight()}}this.$element=t;this.element=t[0];this.axis=r.horizontal?"horizontal":"vertical";this.callback=r.handler;this.context=e;this.enabled=r.enabled;this.id="waypoints"+v++;this.offset=null;this.options=r;e.waypoints[this.axis][this.id]=this;s[this.axis][this.id]=this;i=(o=t.data(w))!=null?o:[];i.push(this.id);t.data(w,i)}t.prototype.trigger=function(t){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,t)}if(this.options.triggerOnce){return this.destroy()}};t.prototype.disable=function(){return this.enabled=false};t.prototype.enable=function(){this.context.refresh();return this.enabled=true};t.prototype.destroy=function(){delete s[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkEmpty()};t.getWaypointsByElement=function(t){var e,r;r=n(t).data(w);if(!r){return[]}e=n.extend({},s.horizontal,s.vertical);return n.map(r,function(t){return e[t]})};return t}();d={init:function(t,e){var r;if(e==null){e={}}if((r=e.handler)==null){e.handler=t}this.each(function(){var t,r,i,s;t=n(this);i=(s=e.context)!=null?s:n.fn[g].defaults.context;if(!n.isWindow(i)){i=t.closest(i)}i=n(i);r=a[i.data(u)];if(!r){r=new o(i)}return new l(t,r,e)});n[m]("refresh");return this},disable:function(){return d._invoke(this,"disable")},enable:function(){return d._invoke(this,"enable")},destroy:function(){return d._invoke(this,"destroy")},prev:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e>0){return t.push(n[e-1])}})},next:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e<n.length-1){return t.push(n[e+1])}})},_traverse:function(t,e,i){var o,l;if(t==null){t="vertical"}if(e==null){e=r}l=h.aggregate(e);o=[];this.each(function(){var e;e=n.inArray(this,l[t]);return i(o,e,l[t])});return this.pushStack(o)},_invoke:function(t,e){t.each(function(){var t;t=l.getWaypointsByElement(this);return n.each(t,function(t,n){n[e]();return true})});return this}};n.fn[g]=function(){var t,r;r=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(d[r]){return d[r].apply(this,t)}else if(n.isFunction(r)){return d.init.apply(this,arguments)}else if(n.isPlainObject(r)){return d.init.apply(this,[null,r])}else if(!r){return n.error("jQuery Waypoints needs a callback function or handler option.")}else{return n.error("The "+r+" method does not exist in jQuery Waypoints.")}};n.fn[g].defaults={context:r,continuous:true,enabled:true,horizontal:false,offset:0,triggerOnce:false};h={refresh:function(){return n.each(a,function(t,e){return e.refresh()})},viewportHeight:function(){var t;return(t=r.innerHeight)!=null?t:i.height()},aggregate:function(t){var e,r,i;e=s;if(t){e=(i=a[n(t).data(u)])!=null?i.waypoints:void 0}if(!e){return[]}r={horizontal:[],vertical:[]};n.each(r,function(t,i){n.each(e[t],function(t,e){return i.push(e)});i.sort(function(t,e){return t.offset-e.offset});r[t]=n.map(i,function(t){return t.element});return r[t]=n.unique(r[t])});return r},above:function(t){if(t==null){t=r}return h._filter(t,"vertical",function(t,e){return e.offset<=t.oldScroll.y})},below:function(t){if(t==null){t=r}return h._filter(t,"vertical",function(t,e){return e.offset>t.oldScroll.y})},left:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return h._invoke("enable")},disable:function(){return h._invoke("disable")},destroy:function(){return h._invoke("destroy")},extendFn:function(t,e){return d[t]=e},_invoke:function(t){var e;e=n.extend({},s.vertical,s.horizontal);
827return n.each(e,function(e,n){n[t]();return true})},_filter:function(t,e,r){var i,o;i=a[n(t).data(u)];if(!i){return[]}o=[];n.each(i.waypoints[e],function(t,e){if(r(i,e)){return o.push(e)}});o.sort(function(t,e){return t.offset-e.offset});return n.map(o,function(t){return t.element})}};n[m]=function(){var t,n;n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(h[n]){return h[n].apply(null,t)}else{return h.aggregate.call(null,n)}};n[m].settings={resizeThrottle:100,scrollThrottle:30};return i.load(function(){return n[m]("refresh")})})}).call(this);
828/*!
829* jquery.counterup.js 1.0
830*
831* Copyright 2013, Benjamin Intal http://gambit.ph @bfintal
832* Released under the GPL v2 License
833*
834* Date: Nov 26, 2013
835*/(function(e){"use strict";e.fn.counterUp=function(t){var n=e.extend({time:400,delay:10},t);return this.each(function(){var t=e(this),r=n,i=function(){var e=[],n=r.time/r.delay,i=t.text(),s=/[0-9]+,[0-9]+/.test(i);i=i.replace(/,/g,"");var o=/^[0-9]+$/.test(i),u=/^[0-9]+\.[0-9]+$/.test(i),a=u?(i.split(".")[1]||[]).length:0;for(var f=n;f>=1;f--){var l=parseInt(Math.round(i/n*f));u&&(l=parseFloat(i/n*f).toFixed(a));if(s)while(/(\d+)(\d{3})/.test(l.toString()))l=l.toString().replace(/(\d+)(\d{3})/,"$1,$2");e.unshift(l)}t.data("counterup-nums",e);t.text("0");var c=function(){t.text(t.data("counterup-nums").shift());if(t.data("counterup-nums").length)setTimeout(t.data("counterup-func"),r.delay);else{delete t.data("counterup-nums");t.data("counterup-nums",null);t.data("counterup-func",null)}};t.data("counterup-func",c);setTimeout(t.data("counterup-func"),r.delay)};t.waypoint(i,{offset:"100%",triggerOnce:!0})})}})(jQuery);
836!function(e){function t(){var e=location.href;return hashtag=-1!==e.indexOf("#prettyPhoto")?decodeURI(e.substring(e.indexOf("#prettyPhoto")+1,e.length)):!1,hashtag&&(hashtag=hashtag.replace(/<|>/g,"")),hashtag}function i(){"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/")}function p(){-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto")}function o(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i="[\\?&]"+e+"=([^&#]*)",p=new RegExp(i),o=p.exec(t);return null==o?"":o[1]}e.prettyPhoto={version:"3.1.6"},e.fn.prettyPhoto=function(a){function s(){e(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(I/2-f.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:f.contentHeight,width:f.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:j/2-f.containerWidth/2<0?0:j/2-f.containerWidth/2,width:f.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(f.height).width(f.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==h(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(f.resized?e("a.pp_expand,a.pp_contract").show():e("a.pp_expand").hide()),!settings.autoplay_slideshow||P||v||e.prettyPhoto.startSlideshow(),settings.changepicturecallback(),v=!0}),m(),a.ajaxcallback()}function n(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){e(".pp_loaderIcon").show(),t()})}function r(t){t>1?e(".pp_nav").show():e(".pp_nav").hide()}function l(e,t){if(resized=!1,d(e,t),imageWidth=e,imageHeight=t,(k>j||b>I)&&doresize&&settings.allow_resize&&!$){for(resized=!0,fitting=!1;!fitting;)k>j?(imageWidth=j-200,imageHeight=t/e*imageWidth):b>I?(imageHeight=I-200,imageWidth=e/t*imageHeight):fitting=!0,b=imageHeight,k=imageWidth;(k>j||b>I)&&l(k,b),d(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(b),containerWidth:Math.floor(k)+2*settings.horizontal_padding,contentHeight:Math.floor(y),contentWidth:Math.floor(w),resized:resized}}function d(t,i){t=parseFloat(t),i=parseFloat(i),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(t),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(e("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(t),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(e("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),y=i+detailsHeight,w=t,b=y+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),k=t}function h(e){return e.match(/youtube\.com\/watch/i)||e.match(/youtu\.be/i)?"youtube":e.match(/vimeo\.com/i)?"vimeo":e.match(/\b.mov\b/i)?"quicktime":e.match(/\b.swf\b/i)?"flash":e.match(/\biframe=true\b/i)?"
836iframe":e.match(/\bajax=true\b/i)?"ajax":e.match(/\bcustom=true\b/i)?"custom":"#"==e.substr(0,1)?"inline":"image"}function c(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=_(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=I/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>I)return;$pp_pic_holder.css({top:projectedTop,left:j/2+scroll_pos.scrollLeft-contentwidth/2})}}function _(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function g(){I=e(window).height(),j=e(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(e(document).height()).width(j)}function m(){isSet&&settings.overlay_gallery&&"image"==h(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((f.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length,totalPage=Math.ceil(pp_images.length/itemsPerPage)-1,0==totalPage?(navWidth=0,$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()):$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show(),galleryWidth=itemsPerPage*itemWidth,fullGalleryWidth=pp_images.length*itemWidth,$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected"),goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage,e.prettyPhoto.changeGalleryPage(goToPage),$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")):$pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave")}function u(){if(settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href))),settings.markup=settings.markup.replace("{pp_social}",""),e("body").append(settings.markup),$pp_pic_holder=e(".pp_pic_holder"),$ppt=e(".ppt"),$pp_overlay=e("div.pp_overlay"),isSet&&settings.overlay_gallery){currentGalleryPage=0,toInject="";for(var t=0;t<pp_images.length;t++)pp_images[t].match(/\b(jpg|jpeg|png|gif)\b/gi)?(classname="",img_src=pp_images[t]):(classname="default",img_src=""),toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=e(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").click(function(){return e.prettyPhoto.changeGalleryPage("next"),e.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").click(function(){return e.prettyPhoto.changeGalleryPage("previous"),e.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(t){e(this).find("a").click(function(){return e.prettyPhoto.changePage(t),e.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){return e.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:e(document).height(),width:e(window).width()}).bind("click",function(){settings.modal||e.prettyPhoto.close()}),e("a.pp_close").bind("click",function(){return e.prettyPhoto.close(),!1}),settings.allow_expand&&e("a.pp_expand").bind("click",function(){return e(this).hasClass("pp_expand")?(e(this).removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(e(this).removeClass("pp_contract").addClass("pp_expand"),doresize=!0),n(function(){e.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return e.prettyPhoto.changePage("previous"),e.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return e.prettyPhoto.changePage("next"),e.prettyPhoto.stopSlideshow(),!1}),c()}a=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'<div class="pp_pic_holder">       <div class="ppt">&nbsp;</div>       <div class="pp_top">        <div class="pp_left"></div>        <div class="pp_middle"></div>        <div class="pp_right"></div>       </div>       <div class="pp_content_container">        <div class="pp_left">        <div class="pp_right">         <div class="pp_content">          <div class="pp_loaderIcon"></div>          <div class="pp_fade">           <a href="#" class="pp_expand" title="Expand the image">Expand</a>           <div class="pp_hoverContainer">            <a class="pp_next" href="#">next</a>            <a class="pp_previous" href="#">previous</a>           </div>           <div id="pp_full_res"></div>           <div class="pp_details">            <div class="pp_nav">             <a href="#" class="pp_arrow_previous">Previous</a>             <p class="currentTextHolder">0/0</p>             <a href="#" class="pp_arrow_next">Next</a>            </div>            <p class="pp_description"></p>            <div class="pp_social">{pp_social}</div>            <a class="pp_close" href="#">Close</a>           </div>          </div>         </div>        </div>        </div>       </div>       <div class="pp_bottom">        <div class="pp_left"></div>        <div class="pp_middle"></div>        <div class="pp_right"></div>       </div>      </div>      <div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery">         <a href="#" class="pp_arrow_previous">Previous</a>         <div>          <ul>           {gallery}          </ul>         </div>         <a href="#" class="pp_arrow_next">Next</a>        </div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},a);var f,v,y,w,b,k,P,x=this,$=!1,I=e(window).height(),j=e(window).width();return doresize=!0,scroll_pos=_(),e(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){c(),g()}
836),a.keyboard_shortcuts&&e(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(t.keyCode){case 37:e.prettyPhoto.changePage("previous"),t.preventDefault();break;case 39:e.prettyPhoto.changePage("next"),t.preventDefault();break;case 27:settings.modal||e.prettyPhoto.close(),t.preventDefault()}}),e.prettyPhoto.initialize=function(){return settings=a,"pp_default"==settings.theme&&(settings.horizontal_padding=16),theRel=e(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=galleryRegExp.exec(theRel)?!0:!1,pp_images=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).attr("href"):void 0}):e.makeArray(e(this).attr("href")),pp_titles=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).find("img").attr("alt")?e(t).find("img").attr("alt"):"":void 0}):e.makeArray(e(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).attr("title")?e(t).attr("title"):"":void 0}):e.makeArray(e(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(e(this).attr("href"),pp_images),rel_index=isSet?set_position:e("a["+settings.hook+"^='"+theRel+"']").index(e(this)),u(this),settings.allow_resize&&e(window).bind("scroll.prettyphoto",function(){c()}),e.prettyPhoto.open(),!1},e.prettyPhoto.open=function(t){return"undefined"==typeof settings&&(settings=a,pp_images=e.makeArray(arguments[0]),pp_titles=e.makeArray(arguments[1]?arguments[1]:""),pp_descriptions=e.makeArray(arguments[2]?arguments[2]:""),isSet=pp_images.length>1?!0:!1,set_position=arguments[3]?arguments[3]:0,u(t.target)),settings.hideflash&&e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),r(e(pp_images).size()),e(".pp_loaderIcon").show(),settings.deeplinking&&i(),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+e(pp_images).size()),"undefined"!=typeof pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(o("width",pp_images[set_position]))?o("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(o("height",pp_images[set_position]))?o("height",pp_images[set_position]):settings.default_height.toString(),$=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(e(window).height()*parseFloat(movie_height)/100-150),$=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(e(window).width()*parseFloat(movie_width)/100-150),$=!0),$pp_pic_holder.fadeIn(function(){switch($ppt.html(settings.show_title&&""!=pp_titles[set_position]&&"undefined"!=typeof pp_titles[set_position]?unescape(pp_titles[set_position]):"&nbsp;"),imgPreloader="",skipInjection=!1,h(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position<e(pp_images).size()-1&&(nextImage.src=pp_images[set_position+1]),prevImage=new Image,isSet&&pp_images[set_position-1]&&(prevImage.src=pp_images[set_position-1]),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]),imgPreloader.onload=function(){f=l(imgPreloader.width,imgPreloader.height),s()},imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist."),e.prettyPhoto.close()},imgPreloader.src=pp_images[set_position];break;case"youtube":f=l(movie_width,movie_height),movie_id=o("v",pp_images[set_position]),""==movie_id&&(movie_id=pp_images[set_position].split("youtu.be/"),movie_id=movie_id[1],movie_id.indexOf("?")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),movie_id.indexOf("&")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="http://www.youtube.com/embed/"+movie_id,movie+=o("rel",pp_images[set_position])?"?rel="+o("rel",pp_images[set_position]):"?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":f=l(movie_width,movie_height),movie_id=pp_images[set_position];var t=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/,i=movie_id.match(t);movie="http://player.vimeo.com/video/"+i[3]+"?title=0&byline=0&portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=f.width+"/embed/?moog_width="+f.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,f.height).replace(/{path}/g,movie);break;case"quicktime":f=l(movie_width,movie_height),f.height+=15,f.contentHeight+=15,f.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}
836/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":f=l(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":f=l(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,f=l(movie_width,movie_height),doresize=!0,skipInjection=!0,e.get(pp_images[set_position],function(e){toInject=settings.inline_markup.replace(/{content}/g,e),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,s()});break;case"custom":f=l(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=e(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(e("body")).show(),doresize=!1,f=l(e(myClone).width(),e(myClone).height()),doresize=!0,e(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,e(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,s())}),!1},e.prettyPhoto.changePage=function(t){currentGalleryPage=0,"previous"==t?(set_position--,set_position<0&&(set_position=e(pp_images).size()-1)):"next"==t?(set_position++,set_position>e(pp_images).size()-1&&(set_position=0)):set_position=t,rel_index=set_position,doresize||(doresize=!0),settings.allow_expand&&e(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),n(function(){e.prettyPhoto.open()})},e.prettyPhoto.changeGalleryPage=function(e){"next"==e?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"==e?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=e,slide_speed="next"==e||"previous"==e?settings.animation_speed:0,slide_to=currentGalleryPage*itemsPerPage*itemWidth,$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},e.prettyPhoto.startSlideshow=function(){"undefined"==typeof P?($pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){return e.prettyPhoto.stopSlideshow(),!1}),P=setInterval(e.prettyPhoto.startSlideshow,settings.slideshow)):e.prettyPhoto.changePage("next")},e.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){return e.prettyPhoto.startSlideshow(),!1}),clearInterval(P),P=void 0},e.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(e.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),e("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){e(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),e(this).remove(),e(window).unbind("scroll.prettyphoto"),p(),settings.callback(),doresize=!0,v=!1,delete settings}))},!pp_alreadyInitialized&&t()&&(pp_alreadyInitialized=!0,hashIndex=t(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){e("a["+a.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.unbind("click.prettyphoto").bind("click.prettyphoto",e.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1;
837+function($){'use strict';function transitionEnd(){var el=document.createElement('bootstrap')
838var transEndEventNames={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'}
vendor: 7,390 bytes, lines 839-973
839for(var name in transEndEventNames){if(el.style[name]!==undefined){return{end:transEndEventNames[name]}}}
840return false}
841$.fn.emulateTransitionEnd=function(duration){var called=false
842var $el=this
843$(this).one('bsTransitionEnd',function(){called=true})
844var callback=function(){if(!called)$($el).trigger($.support.transition.end)}
845setTimeout(callback,duration)
846return this}
847$(function(){$.support.transition=transitionEnd()
848if(!$.support.transition)return
849$.event.special.bsTransitionEnd={bindType:$.support.transition.end,delegateType:$.support.transition.end,handle:function(e){if($(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}})}(jQuery);+function($){'use strict';var dismiss='[data-dismiss="alert"]'
850var Alert=function(el){$(el).on('click',dismiss,this.close)}
851Alert.VERSION='3.3.6'
852Alert.TRANSITION_DURATION=150
853Alert.prototype.close=function(e){var $this=$(this)
854var selector=$this.attr('data-target')
855if(!selector){selector=$this.attr('href')
856selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
857var $parent=$(selector)
858if(e)e.preventDefault()
859if(!$parent.length){$parent=$this.closest('.alert')}
860$parent.trigger(e=$.Event('close.bs.alert'))
861if(e.isDefaultPrevented())return
862$parent.removeClass('in')
863function removeElement(){$parent.detach().trigger('closed.bs.alert').remove()}
864$.support.transition&&$parent.hasClass('fade')?$parent.one('bsTransitionEnd',removeElement).emulateTransitionEnd(Alert.TRANSITION_DURATION):removeElement()}
865function Plugin(option){return this.each(function(){var $this=$(this)
866var data=$this.data('bs.alert')
867if(!data)$this.data('bs.alert',(data=new Alert(this)))
868if(typeof option=='string')data[option].call($this)})}
869var old=$.fn.alert
870$.fn.alert=Plugin
871$.fn.alert.Constructor=Alert
872$.fn.alert.noConflict=function(){$.fn.alert=old
873return this}
874$(document).on('click.bs.alert.data-api',dismiss,Alert.prototype.close)}(jQuery);+function($){'use strict';var Button=function(element,options){this.$element=$(element)
875this.options=$.extend({},Button.DEFAULTS,options)
876this.isLoading=false}
877Button.VERSION='3.3.6'
878Button.DEFAULTS={loadingText:'loading...'}
879Button.prototype.setState=function(state){var d='disabled'
880var $el=this.$element
881var val=$el.is('input')?'val':'html'
882var data=$el.data()
883state+='Text'
884if(data.resetText==null)$el.data('resetText',$el[val]())
885setTimeout($.proxy(function(){$el[val](data[state]==null?this.options[state]:data[state])
886if(state=='loadingText'){this.isLoading=true
887$el.addClass(d).attr(d,d)}else if(this.isLoading){this.isLoading=false
888$el.removeClass(d).removeAttr(d)}},this),0)}
889Button.prototype.toggle=function(){var changed=true
890var $parent=this.$element.closest('[data-toggle="buttons"]')
891if($parent.length){var $input=this.$element.find('input')
892if($input.prop('type')=='radio'){if($input.prop('checked'))changed=false
893$parent.find('.active').removeClass('active')
894this.$element.addClass('active')}else if($input.prop('type')=='checkbox'){if(($input.prop('checked'))!==this.$element.hasClass('active'))changed=false
895this.$element.toggleClass('active')}
896$input.prop('checked',this.$element.hasClass('active'))
897if(changed)$input.trigger('change')}else{this.$element.attr('aria-pressed',!this.$element.hasClass('active'))
898this.$element.toggleClass('active')}}
899function Plugin(option){return this.each(function(){var $this=$(this)
900var data=$this.data('bs.button')
901var options=typeof option=='object'&&option
902if(!data)$this.data('bs.button',(data=new Button(this,options)))
903if(option=='toggle')data.toggle()
904else if(option)data.setState(option)})}
905var old=$.fn.button
906$.fn.button=Plugin
907$.fn.button.Constructor=Button
908$.fn.button.noConflict=function(){$.fn.button=old
909return this}
910$(document).on('click.bs.button.data-api','[data-toggle^="button"]',function(e){var $btn=$(e.target)
911if(!$btn.hasClass('btn'))$btn=$btn.closest('.btn')
912Plugin.call($btn,'toggle')
913if(!($(e.target).is('input[type="radio"]')||$(e.target).is('input[type="checkbox"]')))e.preventDefault()}).on('focus.bs.button.data-api blur.bs.button.data-api','[data-toggle^="button"]',function(e){$(e.target).closest('.btn').toggleClass('focus',/^focus(in)?$/.test(e.type))})}(jQuery);+function($){'use strict';var Carousel=function(element,options){this.$element=$(element)
914this.$indicators=this.$element.find('.carousel-indicators')
915this.options=options
916this.paused=null
917this.sliding=null
918this.interval=null
919this.$active=null
920this.$items=null
921this.options.keyboard&&this.$element.on('keydown.bs.carousel',$.proxy(this.keydown,this))
922this.options.pause=='hover'&&!('ontouchstart'in document.documentElement)&&this.$element.on('mouseenter.bs.carousel',$.proxy(this.pause,this)).on('mouseleave.bs.carousel',$.proxy(this.cycle,this))}
923Carousel.VERSION='3.3.6'
924Carousel.TRANSITION_DURATION=600
925Carousel.DEFAULTS={interval:5000,pause:'hover',wrap:true,keyboard:true}
926Carousel.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName))return
927switch(e.which){case 37:this.prev();break
928case 39:this.next();break
929default:return}
930e.preventDefault()}
931Carousel.prototype.cycle=function(e){e||(this.paused=false)
932this.interval&&clearInterval(this.interval)
933this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval))
934return this}
935Carousel.prototype.getItemIndex=function(item){this.$items=item.parent().children('.item')
936return this.$items.index(item||this.$active)}
937Carousel.prototype.getItemForDirection=function(direction,active){var activeIndex=this.getItemIndex(active)
938var willWrap=(direction=='prev'&&activeIndex===0)||(direction=='next'&&activeIndex==(this.$items.length-1))
939if(willWrap&&!this.options.wrap)return active
940var delta=direction=='prev'?-1:1
941var itemIndex=(activeIndex+delta)%this.$items.length
942return this.$items.eq(itemIndex)}
943Carousel.prototype.to=function(pos){var that=this
944var activeIndex=this.getItemIndex(this.$active=this.$element.find('.item.active'))
945if(pos>(this.$items.length-1)||pos<0)return
946if(this.sliding)return this.$element.one('slid.bs.carousel',function(){that.to(pos)})
947if(activeIndex==pos)return this.pause().cycle()
948return this.slide(pos>activeIndex?'next':'prev',this.$items.eq(pos))}
949Carousel.prototype.pause=function(e){e||(this.paused=true)
950if(this.$element.find('.next, .prev').length&&$.support.transition){this.$element.trigger($.support.transition.end)
951this.cycle(true)}
952this.interval=clearInterval(this.interval)
953return this}
954Carousel.prototype.next=function(){if(this.sliding)return
955return this.slide('next')}
956Carousel.prototype.prev=function(){if(this.sliding)return
957return this.slide('prev')}
958Carousel.prototype.slide=function(type,next){var $active=this.$element.find('.item.active')
959var $next=next||this.getItemForDirection(type,$active)
960var isCycling=this.interval
961var direction=type=='next'?'left':'right'
962var that=this
963if($next.hasClass('active'))return(this.sliding=false)
964var relatedTarget=$next[0]
965var slideEvent=$.Event('slide.bs.carousel',{relatedTarget:relatedTarget,direction:direction})
966this.$element.trigger(slideEvent)
967if(slideEvent.isDefaultPrevented())return
968this.sliding=true
969isCycling&&this.pause()
970if(this.$indicators.length){this.$indicators.find('.active').removeClass('active')
971var $nextIndicator=$(this.$indicators.children()[this.getItemIndex($next)])
972$nextIndicator&&$nextIndicator.addClass('active')}
973var slidEvent=$.Event('slid.bs.carousel',{relatedTarget:relatedTarget,direction:direction})
vendor: 9,406 bytes, lines 974-1142
974if($.support.transition&&this.$element.hasClass('slide')){$next.addClass(type)
975$next[0].offsetWidth
976$active.addClass(direction)
977$next.addClass(direction)
978$active.one('bsTransitionEnd',function(){$next.removeClass([type,direction].join(' ')).addClass('active')
979$active.removeClass(['active',direction].join(' '))
980that.sliding=false
981setTimeout(function(){that.$element.trigger(slidEvent)},0)}).emulateTransitionEnd(Carousel.TRANSITION_DURATION)}else{$active.removeClass('active')
982$next.addClass('active')
983this.sliding=false
984this.$element.trigger(slidEvent)}
985isCycling&&this.cycle()
986return this}
987function Plugin(option){return this.each(function(){var $this=$(this)
988var data=$this.data('bs.carousel')
989var options=$.extend({},Carousel.DEFAULTS,$this.data(),typeof option=='object'&&option)
990var action=typeof option=='string'?option:options.slide
991if(!data)$this.data('bs.carousel',(data=new Carousel(this,options)))
992if(typeof option=='number')data.to(option)
993else if(action)data[action]()
994else if(options.interval)data.pause().cycle()})}
995var old=$.fn.carousel
996$.fn.carousel=Plugin
997$.fn.carousel.Constructor=Carousel
998$.fn.carousel.noConflict=function(){$.fn.carousel=old
999return this}
1000var clickHandler=function(e){var href
1001var $this=$(this)
1002var $target=$($this.attr('data-target')||(href=$this.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,''))
1003if(!$target.hasClass('carousel'))return
1004var options=$.extend({},$target.data(),$this.data())
1005var slideIndex=$this.attr('data-slide-to')
1006if(slideIndex)options.interval=false
1007Plugin.call($target,options)
1008if(slideIndex){$target.data('bs.carousel').to(slideIndex)}
1009e.preventDefault()}
1010$(document).on('click.bs.carousel.data-api','[data-slide]',clickHandler).on('click.bs.carousel.data-api','[data-slide-to]',clickHandler)
1011$(window).on('load',function(){$('[data-ride="carousel"]').each(function(){var $carousel=$(this)
1012Plugin.call($carousel,$carousel.data())})})}(jQuery);+function($){'use strict';var Collapse=function(element,options){this.$element=$(element)
1013this.options=$.extend({},Collapse.DEFAULTS,options)
1014this.$trigger=$('[data-toggle="collapse"][href="#'+element.id+'"],'+'[data-toggle="collapse"][data-target="#'+element.id+'"]')
1015this.transitioning=null
1016if(this.options.parent){this.$parent=this.getParent()}else{this.addAriaAndCollapsedClass(this.$element,this.$trigger)}
1017if(this.options.toggle)this.toggle()}
1018Collapse.VERSION='3.3.6'
1019Collapse.TRANSITION_DURATION=350
1020Collapse.DEFAULTS={toggle:true}
1021Collapse.prototype.dimension=function(){var hasWidth=this.$element.hasClass('width')
1022return hasWidth?'width':'height'}
1023Collapse.prototype.show=function(){if(this.transitioning||this.$element.hasClass('in'))return
1024var activesData
1025var actives=this.$parent&&this.$parent.children('.wpsm_panel').children('.in, .collapsing')
1026if(actives&&actives.length){activesData=actives.data('bs.collapse')
1027if(activesData&&activesData.transitioning)return}
1028var startEvent=$.Event('show.bs.collapse')
1029this.$element.trigger(startEvent)
1030if(startEvent.isDefaultPrevented())return
1031if(actives&&actives.length){Plugin.call(actives,'hide')
1032activesData||actives.data('bs.collapse',null)}
1033var dimension=this.dimension()
1034this.$element.removeClass('collapse').addClass('collapsing')[dimension](0).attr('aria-expanded',true)
1035this.$trigger.removeClass('collapsed').attr('aria-expanded',true)
1036this.transitioning=1
1037var complete=function(){this.$element.removeClass('collapsing').addClass('collapse in')[dimension]('')
1038this.transitioning=0
1039this.$element.trigger('shown.bs.collapse')}
1040if(!$.support.transition)return complete.call(this)
1041var scrollSize=$.camelCase(['scroll',dimension].join('-'))
1042this.$element.one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])}
1043Collapse.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass('in'))return
1044var startEvent=$.Event('hide.bs.collapse')
1045this.$element.trigger(startEvent)
1046if(startEvent.isDefaultPrevented())return
1047var dimension=this.dimension()
1048this.$element[dimension](this.$element[dimension]())[0].offsetHeight
1049this.$element.addClass('collapsing').removeClass('collapse in').attr('aria-expanded',false)
1050this.$trigger.addClass('collapsed').attr('aria-expanded',false)
1051this.transitioning=1
1052var complete=function(){this.transitioning=0
1053this.$element.removeClass('collapsing').addClass('collapse').trigger('hidden.bs.collapse')}
1054if(!$.support.transition)return complete.call(this)
1055this.$element
1056[dimension](0).one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)}
1057Collapse.prototype.toggle=function(){this[this.$element.hasClass('in')?'hide':'show']()}
1058Collapse.prototype.getParent=function(){return $(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each($.proxy(function(i,element){var $element=$(element)
1059this.addAriaAndCollapsedClass(getTargetFromTrigger($element),$element)},this)).end()}
1060Collapse.prototype.addAriaAndCollapsedClass=function($element,$trigger){var isOpen=$element.hasClass('in')
1061$element.attr('aria-expanded',isOpen)
1062$trigger.toggleClass('collapsed',!isOpen).attr('aria-expanded',isOpen)}
1063function getTargetFromTrigger($trigger){var href
1064var target=$trigger.attr('data-target')||(href=$trigger.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,'')
1065return $(target)}
1066function Plugin(option){return this.each(function(){var $this=$(this)
1067var data=$this.data('bs.collapse')
1068var options=$.extend({},Collapse.DEFAULTS,$this.data(),typeof option=='object'&&option)
1069if(!data&&options.toggle&&/show|hide/.test(option))options.toggle=false
1070if(!data)$this.data('bs.collapse',(data=new Collapse(this,options)))
1071if(typeof option=='string')data[option]()})}
1072var old=$.fn.collapse
1073$.fn.collapse=Plugin
1074$.fn.collapse.Constructor=Collapse
1075$.fn.collapse.noConflict=function(){$.fn.collapse=old
1076return this}
1077$(document).on('click.bs.collapse.data-api','[data-toggle="collapse"]',function(e){var $this=$(this)
1078if(!$this.attr('data-target'))e.preventDefault()
1079var $target=getTargetFromTrigger($this)
1080var data=$target.data('bs.collapse')
1081var option=data?'toggle':$this.data()
1082Plugin.call($target,option)})}(jQuery);+function($){'use strict';var backdrop='.dropdown-backdrop'
1083var toggle='[data-toggle="dropdown"]'
1084var Dropdown=function(element){$(element).on('click.bs.dropdown',this.toggle)}
1085Dropdown.VERSION='3.3.6'
1086function getParent($this){var selector=$this.attr('data-target')
1087if(!selector){selector=$this.attr('href')
1088selector=selector&&/#[A-Za-z]/.test(selector)&&selector.replace(/.*(?=#[^\s]*$)/,'')}
1089var $parent=selector&&$(selector)
1090return $parent&&$parent.length?$parent:$this.parent()}
1091function clearMenus(e){if(e&&e.which===3)return
1092$(backdrop).remove()
1093$(toggle).each(function(){var $this=$(this)
1094var $parent=getParent($this)
1095var relatedTarget={relatedTarget:this}
1096if(!$parent.hasClass('open'))return
1097if(e&&e.type=='click'&&/input|textarea/i.test(e.target.tagName)&&$.contains($parent[0],e.target))return
1098$parent.trigger(e=$.Event('hide.bs.dropdown',relatedTarget))
1099if(e.isDefaultPrevented())return
1100$this.attr('aria-expanded','false')
1101$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown',relatedTarget))})}
1102Dropdown.prototype.toggle=function(e){var $this=$(this)
1103if($this.is('.disabled, :disabled'))return
1104var $parent=getParent($this)
1105var isActive=$parent.hasClass('open')
1106clearMenus()
1107if(!isActive){if('ontouchstart'in document.documentElement&&!$parent.closest('.navbar-nav').length){$(document.createElement('div')).addClass('dropdown-backdrop').insertAfter($(this)).on('click',clearMenus)}
1108var relatedTarget={relatedTarget:this}
1109$parent.trigger(e=$.Event('show.bs.dropdown',relatedTarget))
1110if(e.isDefaultPrevented())return
1111$this.trigger('focus').attr('aria-expanded','true')
1112$parent.toggleClass('open').trigger($.Event('shown.bs.dropdown',relatedTarget))}
1113return false}
1114Dropdown.prototype.keydown=function(e){if(!/(38|40|27|32)/.test(e.which)||/input|textarea/i.test(e.target.tagName))return
1115var $this=$(this)
1116e.preventDefault()
1117e.stopPropagation()
1118if($this.is('.disabled, :disabled'))return
1119var $parent=getParent($this)
1120var isActive=$parent.hasClass('open')
1121if(!isActive&&e.which!=27||isActive&&e.which==27){if(e.which==27)$parent.find(toggle).trigger('focus')
1122return $this.trigger('click')}
1123var desc=' li:not(.disabled):visible a'
1124var $items=$parent.find('.dropdown-menu'+desc)
1125if(!$items.length)return
1126var index=$items.index(e.target)
1127if(e.which==38&&index>0)index--
1128if(e.which==40&&index<$items.length-1)index++
1129if(!~index)index=0
1130$items.eq(index).trigger('focus')}
1131function Plugin(option){return this.each(function(){var $this=$(this)
1132var data=$this.data('bs.dropdown')
1133if(!data)$this.data('bs.dropdown',(data=new Dropdown(this)))
1134if(typeof option=='string')data[option].call($this)})}
1135var old=$.fn.dropdown
1136$.fn.dropdown=Plugin
1137$.fn.dropdown.Constructor=Dropdown
1138$.fn.dropdown.noConflict=function(){$.fn.dropdown=old
1139return this}
1140$(document).on('click.bs.dropdown.data-api',clearMenus).on('click.bs.dropdown.data-api','.dropdown form',function(e){e.stopPropagation()}).on('click.bs.dropdown.data-api',toggle,Dropdown.prototype.toggle).on('keydown.bs.dropdown.data-api',toggle,Dropdown.prototype.keydown).on('keydown.bs.dropdown.data-api','.dropdown-menu',Dropdown.prototype.keydown)}(jQuery);+function($){'use strict';var Modal=function(element,options){this.options=options
1141this.$body=$(document.body)
1142this.$element=$(element)
vendor: 30,338 bytes, lines 1143-1637
1143this.$dialog=this.$element.find('.modal-dialog')
1144this.$backdrop=null
1145this.isShown=null
1146this.originalBodyPad=null
1147this.scrollbarWidth=0
1148this.ignoreBackdropClick=false
1149if(this.options.remote){this.$element.find('.modal-content').load(this.options.remote,$.proxy(function(){this.$element.trigger('loaded.bs.modal')},this))}}
1150Modal.VERSION='3.3.6'
1151Modal.TRANSITION_DURATION=300
1152Modal.BACKDROP_TRANSITION_DURATION=150
1153Modal.DEFAULTS={backdrop:true,keyboard:true,show:true}
1154Modal.prototype.toggle=function(_relatedTarget){return this.isShown?this.hide():this.show(_relatedTarget)}
1155Modal.prototype.show=function(_relatedTarget){var that=this
1156var e=$.Event('show.bs.modal',{relatedTarget:_relatedTarget})
1157this.$element.trigger(e)
1158if(this.isShown||e.isDefaultPrevented())return
1159this.isShown=true
1160this.checkScrollbar()
1161this.setScrollbar()
1162this.$body.addClass('modal-open')
1163this.escape()
1164this.resize()
1165this.$element.on('click.dismiss.bs.modal','[data-dismiss="modal"]',$.proxy(this.hide,this))
1166this.$dialog.on('mousedown.dismiss.bs.modal',function(){that.$element.one('mouseup.dismiss.bs.modal',function(e){if($(e.target).is(that.$element))that.ignoreBackdropClick=true})})
1167this.backdrop(function(){var transition=$.support.transition&&that.$element.hasClass('fade')
1168if(!that.$element.parent().length){that.$element.appendTo(that.$body)}
1169that.$element.show().scrollTop(0)
1170that.adjustDialog()
1171if(transition){that.$element[0].offsetWidth}
1172that.$element.addClass('in')
1173that.enforceFocus()
1174var e=$.Event('shown.bs.modal',{relatedTarget:_relatedTarget})
1175transition?that.$dialog.one('bsTransitionEnd',function(){that.$element.trigger('focus').trigger(e)}).emulateTransitionEnd(Modal.TRANSITION_DURATION):that.$element.trigger('focus').trigger(e)})}
1176Modal.prototype.hide=function(e){if(e)e.preventDefault()
1177e=$.Event('hide.bs.modal')
1178this.$element.trigger(e)
1179if(!this.isShown||e.isDefaultPrevented())return
1180this.isShown=false
1181this.escape()
1182this.resize()
1183$(document).off('focusin.bs.modal')
1184this.$element.removeClass('in').off('click.dismiss.bs.modal').off('mouseup.dismiss.bs.modal')
1185this.$dialog.off('mousedown.dismiss.bs.modal')
1186$.support.transition&&this.$element.hasClass('fade')?this.$element.one('bsTransitionEnd',$.proxy(this.hideModal,this)).emulateTransitionEnd(Modal.TRANSITION_DURATION):this.hideModal()}
1187Modal.prototype.enforceFocus=function(){$(document).off('focusin.bs.modal').on('focusin.bs.modal',$.proxy(function(e){if(this.$element[0]!==e.target&&!this.$element.has(e.target).length){this.$element.trigger('focus')}},this))}
1188Modal.prototype.escape=function(){if(this.isShown&&this.options.keyboard){this.$element.on('keydown.dismiss.bs.modal',$.proxy(function(e){e.which==27&&this.hide()},this))}else if(!this.isShown){this.$element.off('keydown.dismiss.bs.modal')}}
1189Modal.prototype.resize=function(){if(this.isShown){$(window).on('resize.bs.modal',$.proxy(this.handleUpdate,this))}else{$(window).off('resize.bs.modal')}}
1190Modal.prototype.hideModal=function(){var that=this
1191this.$element.hide()
1192this.backdrop(function(){that.$body.removeClass('modal-open')
1193that.resetAdjustments()
1194that.resetScrollbar()
1195that.$element.trigger('hidden.bs.modal')})}
1196Modal.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove()
1197this.$backdrop=null}
1198Modal.prototype.backdrop=function(callback){var that=this
1199var animate=this.$element.hasClass('fade')?'fade':''
1200if(this.isShown&&this.options.backdrop){var doAnimate=$.support.transition&&animate
1201this.$backdrop=$(document.createElement('div')).addClass('modal-backdrop '+animate).appendTo(this.$body)
1202this.$element.on('click.dismiss.bs.modal',$.proxy(function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=false
1203return}
1204if(e.target!==e.currentTarget)return
1205this.options.backdrop=='static'?this.$element[0].focus():this.hide()},this))
1206if(doAnimate)this.$backdrop[0].offsetWidth
1207this.$backdrop.addClass('in')
1208if(!callback)return
1209doAnimate?this.$backdrop.one('bsTransitionEnd',callback).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callback()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass('in')
1210var callbackRemove=function(){that.removeBackdrop()
1211callback&&callback()}
1212$.support.transition&&this.$element.hasClass('fade')?this.$backdrop.one('bsTransitionEnd',callbackRemove).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callbackRemove()}else if(callback){callback()}}
1213Modal.prototype.handleUpdate=function(){this.adjustDialog()}
1214Modal.prototype.adjustDialog=function(){var modalIsOverflowing=this.$element[0].scrollHeight>document.documentElement.clientHeight
1215this.$element.css({paddingLeft:!this.bodyIsOverflowing&&modalIsOverflowing?this.scrollbarWidth:'',paddingRight:this.bodyIsOverflowing&&!modalIsOverflowing?this.scrollbarWidth:''})}
1216Modal.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:'',paddingRight:''})}
1217Modal.prototype.checkScrollbar=function(){var fullWindowWidth=window.innerWidth
1218if(!fullWindowWidth){var documentElementRect=document.documentElement.getBoundingClientRect()
1219fullWindowWidth=documentElementRect.right-Math.abs(documentElementRect.left)}
1220this.bodyIsOverflowing=document.body.clientWidth<fullWindowWidth
1221this.scrollbarWidth=this.measureScrollbar()}
1222Modal.prototype.setScrollbar=function(){var bodyPad=parseInt((this.$body.css('padding-right')||0),10)
1223this.originalBodyPad=document.body.style.paddingRight||''
1224if(this.bodyIsOverflowing)this.$body.css('padding-right',bodyPad+this.scrollbarWidth)}
1225Modal.prototype.resetScrollbar=function(){this.$body.css('padding-right',this.originalBodyPad)}
1226Modal.prototype.measureScrollbar=function(){var scrollDiv=document.createElement('div')
1227scrollDiv.className='modal-scrollbar-measure'
1228this.$body.append(scrollDiv)
1229var scrollbarWidth=scrollDiv.offsetWidth-scrollDiv.clientWidth
1230this.$body[0].removeChild(scrollDiv)
1231return scrollbarWidth}
1232function Plugin(option,_relatedTarget){return this.each(function(){var $this=$(this)
1233var data=$this.data('bs.modal')
1234var options=$.extend({},Modal.DEFAULTS,$this.data(),typeof option=='object'&&option)
1235if(!data)$this.data('bs.modal',(data=new Modal(this,options)))
1236if(typeof option=='string')data[option](_relatedTarget)
1237else if(options.show)data.show(_relatedTarget)})}
1238var old=$.fn.modal
1239$.fn.modal=Plugin
1240$.fn.modal.Constructor=Modal
1241$.fn.modal.noConflict=function(){$.fn.modal=old
1242return this}
1243$(document).on('click.bs.modal.data-api','[data-toggle="modal"]',function(e){var $this=$(this)
1244var href=$this.attr('href')
1245var $target=$($this.attr('data-target')||(href&&href.replace(/.*(?=#[^\s]+$)/,'')))
1246var option=$target.data('bs.modal')?'toggle':$.extend({remote:!/#/.test(href)&&href},$target.data(),$this.data())
1247if($this.is('a'))e.preventDefault()
1248$target.one('show.bs.modal',function(showEvent){if(showEvent.isDefaultPrevented())return
1249$target.one('hidden.bs.modal',function(){$this.is(':visible')&&$this.trigger('focus')})})
1250Plugin.call($target,option,this)})}(jQuery);+function($){'use strict';var Tooltip=function(element,options){this.type=null
1251this.options=null
1252this.enabled=null
1253this.timeout=null
1254this.hoverState=null
1255this.$element=null
1256this.inState=null
1257this.init('tooltip',element,options)}
1258Tooltip.VERSION='3.3.6'
1259Tooltip.TRANSITION_DURATION=150
1260Tooltip.DEFAULTS={animation:true,placement:'top',selector:false,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:'hover focus',title:'',delay:0,html:false,container:false,viewport:{selector:'body',padding:0}}
1261Tooltip.prototype.init=function(type,element,options){this.enabled=true
1262this.type=type
1263this.$element=$(element)
1264this.options=this.getOptions(options)
1265this.$viewport=this.options.viewport&&$($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):(this.options.viewport.selector||this.options.viewport))
1266this.inState={click:false,hover:false,focus:false}
1267if(this.$element[0]instanceof document.constructor&&!this.options.selector){throw new Error('`selector` option must be specified when initializing '+this.type+' on the window.document object!')}
1268var triggers=this.options.trigger.split(' ')
1269for(var i=triggers.length;i--;){var trigger=triggers[i]
1270if(trigger=='click'){this.$element.on('click.'+this.type,this.options.selector,$.proxy(this.toggle,this))}else if(trigger!='manual'){var eventIn=trigger=='hover'?'mouseenter':'focusin'
1271var eventOut=trigger=='hover'?'mouseleave':'focusout'
1272this.$element.on(eventIn+'.'+this.type,this.options.selector,$.proxy(this.enter,this))
1273this.$element.on(eventOut+'.'+this.type,this.options.selector,$.proxy(this.leave,this))}}
1274this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()}
1275Tooltip.prototype.getDefaults=function(){return Tooltip.DEFAULTS}
1276Tooltip.prototype.getOptions=function(options){options=$.extend({},this.getDefaults(),this.$element.data(),options)
1277if(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay}}
1278return options}
1279Tooltip.prototype.getDelegateOptions=function(){var options={}
1280var defaults=this.getDefaults()
1281this._options&&$.each(this._options,function(key,value){if(defaults[key]!=value)options[key]=value})
1282return options}
1283Tooltip.prototype.enter=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type)
1284if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions())
1285$(obj.currentTarget).data('bs.'+this.type,self)}
1286if(obj instanceof $.Event){self.inState[obj.type=='focusin'?'focus':'hover']=true}
1287if(self.tip().hasClass('in')||self.hoverState=='in'){self.hoverState='in'
1288return}
1289clearTimeout(self.timeout)
1290self.hoverState='in'
1291if(!self.options.delay||!self.options.delay.show)return self.show()
1292self.timeout=setTimeout(function(){if(self.hoverState=='in')self.show()},self.options.delay.show)}
1293Tooltip.prototype.isInStateTrue=function(){for(var key in this.inState){if(this.inState[key])return true}
1294return false}
1295Tooltip.prototype.leave=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type)
1296if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions())
1297$(obj.currentTarget).data('bs.'+this.type,self)}
1298if(obj instanceof $.Event){self.inState[obj.type=='focusout'?'focus':'hover']=false}
1299if(self.isInStateTrue())return
1300clearTimeout(self.timeout)
1301self.hoverState='out'
1302if(!self.options.delay||!self.options.delay.hide)return self.hide()
1303self.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide()},self.options.delay.hide)}
1304Tooltip.prototype.show=function(){var e=$.Event('show.bs.'+this.type)
1305if(this.hasContent()&&this.enabled){this.$element.trigger(e)
1306var inDom=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0])
1307if(e.isDefaultPrevented()||!inDom)return
1308var that=this
1309var $tip=this.tip()
1310var tipId=this.getUID(this.type)
1311this.setContent()
1312$tip.attr('id',tipId)
1313this.$element.attr('aria-describedby',tipId)
1314if(this.options.animation)$tip.addClass('fade')
1315var placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement
1316var autoToken=/\s?auto?\s?/i
1317var autoPlace=autoToken.test(placement)
1318if(autoPlace)placement=placement.replace(autoToken,'')||'top'
1319$tip.detach().css({top:0,left:0,display:'block'}).addClass(placement).data('bs.'+this.type,this)
1320this.options.container?$tip.appendTo(this.options.container):$tip.insertAfter(this.$element)
1321this.$element.trigger('inserted.bs.'+this.type)
1322var pos=this.getPosition()
1323var actualWidth=$tip[0].offsetWidth
1324var actualHeight=$tip[0].offsetHeight
1325if(autoPlace){var orgPlacement=placement
1326var viewportDim=this.getPosition(this.$viewport)
1327placement=placement=='bottom'&&pos.bottom+actualHeight>viewportDim.bottom?'top':placement=='top'&&pos.top-actualHeight<viewportDim.top?'bottom':placement=='right'&&pos.right+actualWidth>viewportDim.width?'left':placement=='left'&&pos.left-actualWidth<viewportDim.left?'right':placement
1328$tip.removeClass(orgPlacement).addClass(placement)}
1329var calculatedOffset=this.getCalculatedOffset(placement,pos,actualWidth,actualHeight)
1330this.applyPlacement(calculatedOffset,placement)
1331var complete=function(){var prevHoverState=that.hoverState
1332that.$element.trigger('shown.bs.'+that.type)
1333that.hoverState=null
1334if(prevHoverState=='out')that.leave(that)}
1335$.support.transition&&this.$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete()}}
1336Tooltip.prototype.applyPlacement=function(offset,placement){var $tip=this.tip()
1337var width=$tip[0].offsetWidth
1338var height=$tip[0].offsetHeight
1339var marginTop=parseInt($tip.css('margin-top'),10)
1340var marginLeft=parseInt($tip.css('margin-left'),10)
1341if(isNaN(marginTop))marginTop=0
1342if(isNaN(marginLeft))marginLeft=0
1343offset.top+=marginTop
1344offset.left+=marginLeft
1345$.offset.setOffset($tip[0],$.extend({using:function(props){$tip.css({top:Math.round(props.top),left:Math.round(props.left)})}},offset),0)
1346$tip.addClass('in')
1347var actualWidth=$tip[0].offsetWidth
1348var actualHeight=$tip[0].offsetHeight
1349if(placement=='top'&&actualHeight!=height){offset.top=offset.top+height-actualHeight}
1350var delta=this.getViewportAdjustedDelta(placement,offset,actualWidth,actualHeight)
1351if(delta.left)offset.left+=delta.left
1352else offset.top+=delta.top
1353var isVertical=/top|bottom/.test(placement)
1354var arrowDelta=isVertical?delta.left*2-width+actualWidth:delta.top*2-height+actualHeight
1355var arrowOffsetPosition=isVertical?'offsetWidth':'offsetHeight'
1356$tip.offset(offset)
1357this.replaceArrow(arrowDelta,$tip[0][arrowOffsetPosition],isVertical)}
1358Tooltip.prototype.replaceArrow=function(delta,dimension,isVertical){this.arrow().css(isVertical?'left':'top',50*(1-delta/dimension)+'%').css(isVertical?'top':'left','')}
1359Tooltip.prototype.setContent=function(){var $tip=this.tip()
1360var title=this.getTitle()
1361$tip.find('.tooltip-inner')[this.options.html?'html':'text'](title)
1362$tip.removeClass('fade in top bottom left right')}
1363Tooltip.prototype.hide=function(callback){var that=this
1364var $tip=$(this.$tip)
1365var e=$.Event('hide.bs.'+this.type)
1366function complete(){if(that.hoverState!='in')$tip.detach()
1367that.$element.removeAttr('aria-describedby').trigger('hidden.bs.'+that.type)
1368callback&&callback()}
1369this.$element.trigger(e)
1370if(e.isDefaultPrevented())return
1371$tip.removeClass('in')
1372$.support.transition&&$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete()
1373this.hoverState=null
1374return this}
1375Tooltip.prototype.fixTitle=function(){var $e=this.$element
1376if($e.attr('title')||typeof $e.attr('data-original-title')!='string'){$e.attr('data-original-title',$e.attr('title')||'').attr('title','')}}
1377Tooltip.prototype.hasContent=function(){return this.getTitle()}
1378Tooltip.prototype.getPosition=function($element){$element=$element||this.$element
1379var el=$element[0]
1380var isBody=el.tagName=='BODY'
1381var elRect=el.getBoundingClientRect()
1382if(elRect.width==null){elRect=$.extend({},elRect,{width:elRect.right-elRect.left,height:elRect.bottom-elRect.top})}
1383var elOffset=isBody?{top:0,left:0}:$element.offset()
1384var scroll={scroll:isBody?document.documentElement.scrollTop||document.body.scrollTop:$element.scrollTop()}
1385var outerDims=isBody?{width:$(window).width(),height:$(window).height()}:null
1386return $.extend({},elRect,scroll,outerDims,elOffset)}
1387Tooltip.prototype.getCalculatedOffset=function(placement,pos,actualWidth,actualHeight){return placement=='bottom'?{top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2}:placement=='top'?{top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2}:placement=='left'?{top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth}:{top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width}}
1388Tooltip.prototype.getViewportAdjustedDelta=function(placement,pos,actualWidth,actualHeight){var delta={top:0,left:0}
1389if(!this.$viewport)return delta
1390var viewportPadding=this.options.viewport&&this.options.viewport.padding||0
1391var viewportDimensions=this.getPosition(this.$viewport)
1392if(/right|left/.test(placement)){var topEdgeOffset=pos.top-viewportPadding-viewportDimensions.scroll
1393var bottomEdgeOffset=pos.top+viewportPadding-viewportDimensions.scroll+actualHeight
1394if(topEdgeOffset<viewportDimensions.top){delta.top=viewportDimensions.top-topEdgeOffset}else if(bottomEdgeOffset>viewportDimensions.top+viewportDimensions.height){delta.top=viewportDimensions.top+viewportDimensions.height-bottomEdgeOffset}}else{var leftEdgeOffset=pos.left-viewportPadding
1395var rightEdgeOffset=pos.left+viewportPadding+actualWidth
1396if(leftEdgeOffset<viewportDimensions.left){delta.left=viewportDimensions.left-leftEdgeOffset}else if(rightEdgeOffset>viewportDimensions.right){delta.left=viewportDimensions.left+viewportDimensions.width-rightEdgeOffset}}
1397return delta}
1398Tooltip.prototype.getTitle=function(){var title
1399var $e=this.$element
1400var o=this.options
1401title=$e.attr('data-original-title')||(typeof o.title=='function'?o.title.call($e[0]):o.title)
1402return title}
1403Tooltip.prototype.getUID=function(prefix){do prefix+=~~(Math.random()*1000000)
1404while(document.getElementById(prefix))
1405return prefix}
1406Tooltip.prototype.tip=function(){if(!this.$tip){this.$tip=$(this.options.template)
1407if(this.$tip.length!=1){throw new Error(this.type+' `template` option must consist of exactly 1 top-level element!')}}
1408return this.$tip}
1409Tooltip.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.tooltip-arrow'))}
1410Tooltip.prototype.enable=function(){this.enabled=true}
1411Tooltip.prototype.disable=function(){this.enabled=false}
1412Tooltip.prototype.toggleEnabled=function(){this.enabled=!this.enabled}
1413Tooltip.prototype.toggle=function(e){var self=this
1414if(e){self=$(e.currentTarget).data('bs.'+this.type)
1415if(!self){self=new this.constructor(e.currentTarget,this.getDelegateOptions())
1416$(e.currentTarget).data('bs.'+this.type,self)}}
1417if(e){self.inState.click=!self.inState.click
1418if(self.isInStateTrue())self.enter(self)
1419else self.leave(self)}else{self.tip().hasClass('in')?self.leave(self):self.enter(self)}}
1420Tooltip.prototype.destroy=function(){var that=this
1421clearTimeout(this.timeout)
1422this.hide(function(){that.$element.off('.'+that.type).removeData('bs.'+that.type)
1423if(that.$tip){that.$tip.detach()}
1424that.$tip=null
1425that.$arrow=null
1426that.$viewport=null})}
1427function Plugin(option){return this.each(function(){var $this=$(this)
1428var data=$this.data('bs.tooltip')
1429var options=typeof option=='object'&&option
1430if(!data&&/destroy|hide/.test(option))return
1431if(!data)$this.data('bs.tooltip',(data=new Tooltip(this,options)))
1432if(typeof option=='string')data[option]()})}
1433var old=$.fn.tooltip
1434$.fn.tooltip=Plugin
1435$.fn.tooltip.Constructor=Tooltip
1436$.fn.tooltip.noConflict=function(){$.fn.tooltip=old
1437return this}}(jQuery);+function($){'use strict';var Popover=function(element,options){this.init('popover',element,options)}
1438if(!$.fn.tooltip)throw new Error('Popover requires tooltip.js')
1439Popover.VERSION='3.3.6'
1440Popover.DEFAULTS=$.extend({},$.fn.tooltip.Constructor.DEFAULTS,{placement:'right',trigger:'click',content:'',template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'})
1441Popover.prototype=$.extend({},$.fn.tooltip.Constructor.prototype)
1442Popover.prototype.constructor=Popover
1443Popover.prototype.getDefaults=function(){return Popover.DEFAULTS}
1444Popover.prototype.setContent=function(){var $tip=this.tip()
1445var title=this.getTitle()
1446var content=this.getContent()
1447$tip.find('.popover-title')[this.options.html?'html':'text'](title)
1448$tip.find('.popover-content').children().detach().end()[this.options.html?(typeof content=='string'?'html':'append'):'text'](content)
1449$tip.removeClass('fade top bottom left right in')
1450if(!$tip.find('.popover-title').html())$tip.find('.popover-title').hide()}
1451Popover.prototype.hasContent=function(){return this.getTitle()||this.getContent()}
1452Popover.prototype.getContent=function(){var $e=this.$element
1453var o=this.options
1454return $e.attr('data-content')||(typeof o.content=='function'?o.content.call($e[0]):o.content)}
1455Popover.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.arrow'))}
1456function Plugin(option){return this.each(function(){var $this=$(this)
1457var data=$this.data('bs.popover')
1458var options=typeof option=='object'&&option
1459if(!data&&/destroy|hide/.test(option))return
1460if(!data)$this.data('bs.popover',(data=new Popover(this,options)))
1461if(typeof option=='string')data[option]()})}
1462var old=$.fn.popover
1463$.fn.popover=Plugin
1464$.fn.popover.Constructor=Popover
1465$.fn.popover.noConflict=function(){$.fn.popover=old
1466return this}}(jQuery);+function($){'use strict';function ScrollSpy(element,options){this.$body=$(document.body)
1467this.$scrollElement=$(element).is(document.body)?$(window):$(element)
1468this.options=$.extend({},ScrollSpy.DEFAULTS,options)
1469this.selector=(this.options.target||'')+' .nav li > a'
1470this.offsets=[]
1471this.targets=[]
1472this.activeTarget=null
1473this.scrollHeight=0
1474this.$scrollElement.on('scroll.bs.scrollspy',$.proxy(this.process,this))
1475this.refresh()
1476this.process()}
1477ScrollSpy.VERSION='3.3.6'
1478ScrollSpy.DEFAULTS={offset:10}
1479ScrollSpy.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)}
1480ScrollSpy.prototype.refresh=function(){var that=this
1481var offsetMethod='offset'
1482var offsetBase=0
1483this.offsets=[]
1484this.targets=[]
1485this.scrollHeight=this.getScrollHeight()
1486if(!$.isWindow(this.$scrollElement[0])){offsetMethod='position'
1487offsetBase=this.$scrollElement.scrollTop()}
1488this.$body.find(this.selector).map(function(){var $el=$(this)
1489var href=$el.data('target')||$el.attr('href')
1490var $href=/^#./.test(href)&&$(href)
1491return($href&&$href.length&&$href.is(':visible')&&[[$href[offsetMethod]().top+offsetBase,href]])||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){that.offsets.push(this[0])
1492that.targets.push(this[1])})}
1493ScrollSpy.prototype.process=function(){var scrollTop=this.$scrollElement.scrollTop()+this.options.offset
1494var scrollHeight=this.getScrollHeight()
1495var maxScroll=this.options.offset+scrollHeight-this.$scrollElement.height()
1496var offsets=this.offsets
1497var targets=this.targets
1498var activeTarget=this.activeTarget
1499var i
1500if(this.scrollHeight!=scrollHeight){this.refresh()}
1501if(scrollTop>=maxScroll){return activeTarget!=(i=targets[targets.length-1])&&this.activate(i)}
1502if(activeTarget&&scrollTop<offsets[0]){this.activeTarget=null
1503return this.clear()}
1504for(i=offsets.length;i--;){activeTarget!=targets[i]&&scrollTop>=offsets[i]&&(offsets[i+1]===undefined||scrollTop<offsets[i+1])&&this.activate(targets[i])}}
1505ScrollSpy.prototype.activate=function(target){this.activeTarget=target
1506this.clear()
1507var selector=this.selector+'[data-target="'+target+'"],'+
1508this.selector+'[href="'+target+'"]'
1509var active=$(selector).parents('li').addClass('active')
1510if(active.parent('.dropdown-menu').length){active=active.closest('li.dropdown').addClass('active')}
1511active.trigger('activate.bs.scrollspy')}
1512ScrollSpy.prototype.clear=function(){$(this.selector).parentsUntil(this.options.target,'.active').removeClass('active')}
1513function Plugin(option){return this.each(function(){var $this=$(this)
1514var data=$this.data('bs.scrollspy')
1515var options=typeof option=='object'&&option
1516if(!data)$this.data('bs.scrollspy',(data=new ScrollSpy(this,options)))
1517if(typeof option=='string')data[option]()})}
1518var old=$.fn.scrollspy
1519$.fn.scrollspy=Plugin
1520$.fn.scrollspy.Constructor=ScrollSpy
1521$.fn.scrollspy.noConflict=function(){$.fn.scrollspy=old
1522return this}
1523$(window).on('load.bs.scrollspy.data-api',function(){$('[data-spy="scroll"]').each(function(){var $spy=$(this)
1524Plugin.call($spy,$spy.data())})})}(jQuery);+function($){'use strict';var Tab=function(element){this.element=$(element)}
1525Tab.VERSION='3.3.6'
1526Tab.TRANSITION_DURATION=150
1527Tab.prototype.show=function(){var $this=this.element
1528var $ul=$this.closest('ul:not(.dropdown-menu)')
1529var selector=$this.data('target')
1530if(!selector){selector=$this.attr('href')
1531selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
1532if($this.parent('li').hasClass('active'))return
1533var $previous=$ul.find('.active:last a')
1534var hideEvent=$.Event('hide.bs.tab',{relatedTarget:$this[0]})
1535var showEvent=$.Event('show.bs.tab',{relatedTarget:$previous[0]})
1536$previous.trigger(hideEvent)
1537$this.trigger(showEvent)
1538if(showEvent.isDefaultPrevented()||hideEvent.isDefaultPrevented())return
1539var $target=$(selector)
1540this.activate($this.closest('li'),$ul)
1541this.activate($target,$target.parent(),function(){$previous.trigger({type:'hidden.bs.tab',relatedTarget:$this[0]})
1542$this.trigger({type:'shown.bs.tab',relatedTarget:$previous[0]})})}
1543Tab.prototype.activate=function(element,container,callback){var $active=container.find('> .active')
1544var transition=callback&&$.support.transition&&($active.length&&$active.hasClass('fade')||!!container.find('> .fade').length)
1545function next(){$active.removeClass('active').find('> .dropdown-menu > .active').removeClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',false)
1546element.addClass('active').find('[data-toggle="tab"]').attr('aria-expanded',true)
1547if(transition){element[0].offsetWidth
1548element.addClass('in')}else{element.removeClass('fade')}
1549if(element.parent('.dropdown-menu').length){element.closest('li.dropdown').addClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',true)}
1550callback&&callback()}
1551$active.length&&transition?$active.one('bsTransitionEnd',next).emulateTransitionEnd(Tab.TRANSITION_DURATION):next()
1552$active.removeClass('in')}
1553function Plugin(option){return this.each(function(){var $this=$(this)
1554var data=$this.data('bs.tab')
1555if(!data)$this.data('bs.tab',(data=new Tab(this)))
1556if(typeof option=='string')data[option]()})}
1557var old=$.fn.tab
1558$.fn.tab=Plugin
1559$.fn.tab.Constructor=Tab
1560$.fn.tab.noConflict=function(){$.fn.tab=old
1561return this}
1562var clickHandler=function(e){e.preventDefault()
1563Plugin.call($(this),'show')}
1564$(document).on('click.bs.tab.data-api','[data-toggle="tab"]',clickHandler).on('click.bs.tab.data-api','[data-toggle="pill"]',clickHandler)}(jQuery);+function($){'use strict';var Affix=function(element,options){this.options=$.extend({},Affix.DEFAULTS,options)
1565this.$target=$(this.options.target).on('scroll.bs.affix.data-api',$.proxy(this.checkPosition,this)).on('click.bs.affix.data-api',$.proxy(this.checkPositionWithEventLoop,this))
1566this.$element=$(element)
1567this.affixed=null
1568this.unpin=null
1569this.pinnedOffset=null
1570this.checkPosition()}
1571Affix.VERSION='3.3.6'
1572Affix.RESET='affix affix-top affix-bottom'
1573Affix.DEFAULTS={offset:0,target:window}
1574Affix.prototype.getState=function(scrollHeight,height,offsetTop,offsetBottom){var scrollTop=this.$target.scrollTop()
1575var position=this.$element.offset()
1576var targetHeight=this.$target.height()
1577if(offsetTop!=null&&this.affixed=='top')return scrollTop<offsetTop?'top':false
1578if(this.affixed=='bottom'){if(offsetTop!=null)return(scrollTop+this.unpin<=position.top)?false:'bottom'
1579return(scrollTop+targetHeight<=scrollHeight-offsetBottom)?false:'bottom'}
1580var initializing=this.affixed==null
1581var colliderTop=initializing?scrollTop:position.top
1582var colliderHeight=initializing?targetHeight:height
1583if(offsetTop!=null&&scrollTop<=offsetTop)return'top'
1584if(offsetBottom!=null&&(colliderTop+colliderHeight>=scrollHeight-offsetBottom))return'bottom'
1585return false}
1586Affix.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset
1587this.$element.removeClass(Affix.RESET).addClass('affix')
1588var scrollTop=this.$target.scrollTop()
1589var position=this.$element.offset()
1590return(this.pinnedOffset=position.top-scrollTop)}
1591Affix.prototype.checkPositionWithEventLoop=function(){setTimeout($.proxy(this.checkPosition,this),1)}
1592Affix.prototype.checkPosition=function(){if(!this.$element.is(':visible'))return
1593var height=this.$element.height()
1594var offset=this.options.offset
1595var offsetTop=offset.top
1596var offsetBottom=offset.bottom
1597var scrollHeight=Math.max($(document).height(),$(document.body).height())
1598if(typeof offset!='object')offsetBottom=offsetTop=offset
1599if(typeof offsetTop=='function')offsetTop=offset.top(this.$element)
1600if(typeof offsetBottom=='function')offsetBottom=offset.bottom(this.$element)
1601var affix=this.getState(scrollHeight,height,offsetTop,offsetBottom)
1602if(this.affixed!=affix){if(this.unpin!=null)this.$element.css('top','')
1603var affixType='affix'+(affix?'-'+affix:'')
1604var e=$.Event(affixType+'.bs.affix')
1605this.$element.trigger(e)
1606if(e.isDefaultPrevented())return
1607this.affixed=affix
1608this.unpin=affix=='bottom'?this.getPinnedOffset():null
1609this.$element.removeClass(Affix.RESET).addClass(affixType).trigger(affixType.replace('affix','affixed')+'.bs.affix')}
1610if(affix=='bottom'){this.$element.offset({top:scrollHeight-height-offsetBottom})}}
1611function Plugin(option){return this.each(function(){var $this=$(this)
1612var data=$this.data('bs.affix')
1613var options=typeof option=='object'&&option
1614if(!data)$this.data('bs.affix',(data=new Affix(this,options)))
1615if(typeof option=='string')data[option]()})}
1616var old=$.fn.affix
1617$.fn.affix=Plugin
1618$.fn.affix.Constructor=Affix
1619$.fn.affix.noConflict=function(){$.fn.affix=old
1620return this}
1621$(window).on('load',function(){$('[data-spy="affix"]').each(function(){var $spy=$(this)
1622var data=$spy.data()
1623data.offset=data.offset||{}
1624if(data.offsetBottom!=null)data.offset.bottom=data.offsetBottom
1625if(data.offsetTop!=null)data.offset.top=data.offsetTop
1626Plugin.call($spy,data)})})}(jQuery);
1627;
1628/*!
1629 SlickNav Responsive Mobile Menu
1630 (c) 2014 Josh Cope
1631 licensed under MIT
1632*/
1633(function($,document,window){var
1634defaults={label:'MENU',duplicate:true,duration:200,easingOpen:'swing',easingClose:'swing',closedSymbol:'&#9658;',openedSymbol:'&#9660;',prependTo:'body',parentTag:'a',closeOnClick:false,allowParentLinks:false,init:function(){},open:function(){},close:function(){}},mobileMenu='slicknav',prefix='slicknav';function Plugin(element,options){this.element=element;this.settings=$.extend({},defaults,options);this._defaults=defaults;this._name=mobileMenu;this.init();}
1635Plugin.prototype.init=function(){var $this=this;var menu=$(this.element);var settings=this.settings;if(settings.duplicate){$this.mobileNav=menu.clone();$this.mobileNav.removeAttr('id');$this.mobileNav.find('*').each(function(i,e){$(e).removeAttr('id');});}
1636else
1637$this.mobileNav=menu;var iconClass=prefix+'_icon';if(settings.label==''){iconClass+=' '+prefix+'_no-text';}
1638if(settings.parentTag=='a'){settings.parentTag='a href="#"';}
1639$this.mobileNav.attr('class',prefix+'_nav');var menuBar=$('<div class="'+prefix+'_menu"></div>');$this.btn=$('<'+settings.parentTag+' aria-haspopup="true" tabindex="0" class="'+prefix+'_btn '+prefix+'_collapsed"><span class="'+prefix+'_menutxt">'+settings.label+'</span><span class="'+iconClass+'"><span class="'+prefix+'_icon-bar"></span><span class="'+prefix+'_icon-bar"></span><span class="'+prefix+'_icon-bar"></span></span></a>');$(menuBar).append($this.btn);$(settings.prependTo).prepend(menuBar);menuBar.append($this.mobileNav);var items=$this.mobileNav.find('li');$(items).each(function(){var item=$(this);data={};data.children=item.children('ul').attr('role','menu');item.data("menu",data);if(data.children.length>0){var a=item.contents();var nodes=[];$(a).each(function(){if(!$(this).is("ul")){nodes.push(this);}
1640else{return false;}});var wrap=$(nodes).wrapAll('<'+settings.parentTag+' role="menuitem" aria-haspopup="true" tabindex="-1" class="'+prefix+'_item"/>').parent();item.addClass(prefix+'_collapsed');item.addClass(prefix+'_parent');$(nodes).last().after('<span class="'+prefix+'_arrow">'+settings.closedSymbol+'</span>');}else if(item.children().length==0){item.addClass(prefix+'_txtnode');}
1641item.children('a').attr('role','menuitem').click(function(event){if(settings.closeOnClick&&!$(event.target).parent().closest('li').hasClass(prefix+'_parent'))
1642$($this.btn).click();});if(settings.closeOnClick&&settings.allowParentLinks){item.children('a').children('a').click(function(event){$($this.btn).click();});}});$(items).each(function(){var data=$(this).data("menu");$this._visibilityToggle(data.children,false,null,true);});$this._visibilityToggle($this.mobileNav,false,'init',true);$this.mobileNav.attr('role','menu');$(document).mousedown(function(){$this._outlines(false);});$(document).keyup(function(){$this._outlines(true);});$($this.btn).click(function(e){e.preventDefault();$this._menuToggle();});$this.mobileNav.on('click','.'+prefix+'_item',function(e){e.preventDefault();$this._itemClick($(this));});$($this.btn).keydown(function(e){var ev=e||event;if(ev.keyCode==13){e.preventDefault();$this._menuToggle();}});$this.mobileNav.on('keydown','.'+prefix+'_item',function(e){var ev=e||event;if(ev.keyCode==13){e.preventDefault();$this._itemClick($(e.target));}});if(settings.allowParentLinks){$('.'+prefix+'_item a').click(function(e){e.stopImmediatePropagation();});}};Plugin.prototype._menuToggle=function(el){var $this=this;var btn=$this.btn;var mobileNav=$this.mobileNav;if(btn.hasClass(prefix+'_collapsed')){btn.removeClass(prefix+'_collapsed');btn.addClass(prefix+'_open');}else{btn.removeClass(prefix+'_open');btn.addClass(prefix+'_collapsed');}
1643btn.addClass(prefix+'_animating');$this._visibilityToggle(mobileNav,true,btn);}
1644Plugin.prototype._itemClick=function(el){var $this=this;var settings=$this.settings;var data=el.data("menu");if(!data){data={};data.arrow=el.children('.'+prefix+'_arrow');data.ul=el.next('ul');data.parent=el.parent();el.data("menu",data);}
1645if(data.parent.hasClass(prefix+'_collapsed')){data.arrow.html(settings.openedSymbol);data.parent.removeClass(prefix+'_collapsed');data.parent.addClass(prefix+'_open');data.parent.addClass(prefix+'_animating');$this._visibilityToggle(data.ul,true,el);}else{data.arrow.html(settings.closedSymbol);data.parent.addClass(prefix+'_collapsed');data.parent.removeClass(prefix+'_open');data.parent.addClass(prefix+'_animating');$this._visibilityToggle(data.ul,true,el);}}
1646Plugin.prototype._visibilityToggle=function(el,animate,trigger,init){var $this=this;var settings=$this.settings;var items=$this._getActionItems(el);var duration=0;if(animate)
1647duration=settings.duration;if(el.hasClass(prefix+'_hidden')){el.removeClass(prefix+'_hidden');el.slideDown(duration,settings.easingOpen,function(){$(trigger).removeClass(prefix+'_animating');$(trigger).parent().removeClass(prefix+'_animating');if(!init){settings.open(trigger);}});el.attr('aria-hidden','false');items.attr('tabindex','0');$this._setVisAttr(el,false);}else{el.addClass(prefix+'_hidden');el.slideUp(duration,this.settings.easingClose,function(){el.attr('aria-hidden','true');items.attr('tabindex','-1');$this._setVisAttr(el,true);el.hide();$(trigger).removeClass(prefix+'_animating');$(trigger).parent().removeClass(prefix+'_animating');
1647if(!init)
1648settings.close(trigger);else if(trigger=='init')
1649settings.init();});}}
1650Plugin.prototype._setVisAttr=function(el,hidden){var $this=this;var nonHidden=el.children('li').children('ul').not('.'+prefix+'_hidden');if(!hidden){nonHidden.each(function(){var ul=$(this);ul.attr('aria-hidden','false');var items=$this._getActionItems(ul);items.attr('tabindex','0');$this._setVisAttr(ul,hidden);});}else{nonHidden.each(function(){var ul=$(this);ul.attr('aria-hidden','true');var items=$this._getActionItems(ul);items.attr('tabindex','-1');$this._setVisAttr(ul,hidden);});}}
1651Plugin.prototype._getActionItems=function(el){var data=el.data("menu");if(!data){data={};var items=el.children('li');var anchors=items.children('a');data.links=anchors.add(items.children('.'+prefix+'_item'));el.data("menu",data);}
1652return data.links;}
1653Plugin.prototype._outlines=function(state){if(!state){$('.'+prefix+'_item, .'+prefix+'_btn').css('outline','none');}else{$('.'+prefix+'_item, .'+prefix+'_btn').css('outline','');}}
1654Plugin.prototype.toggle=function(){$this._menuToggle();}
1655Plugin.prototype.open=function(){$this=this;if($this.btn.hasClass(prefix+'_collapsed')){$this._menuToggle();}}
1656Plugin.prototype.close=function(){$this=this;if($this.btn.hasClass(prefix+'_open')){$this._menuToggle();}}
1657$.fn[mobileMenu]=function(options){var args=arguments;if(options===undefined||typeof options==='object'){return this.each(function(){if(!$.data(this,'plugin_'+mobileMenu)){$.data(this,'plugin_'+mobileMenu,new Plugin(this,options));}});}else if(typeof options==='string'&&options[0]!=='_'&&options!=='init'){var returns;this.each(function(){var instance=$.data(this,'plugin_'+mobileMenu);if(instance instanceof Plugin&&typeof instance[options]==='function'){returns=instance[options].apply(instance,Array.prototype.slice.call(args,1));}});
1657return returns!==undefined?returns:this;}};}(jQuery,document,window));
1658(function($){"use strict";$(window).resize(function(){});$(window).load(function(){})
1659$(document).ready(function(){if($("a[rel^='prettyPhoto']").length){$("a[rel^='prettyPhoto']").prettyPhoto({default_width:600,default_height:700,});}
1660if($("a.video-popup[rel^='prettyPhoto']").length){$("a.video-popup[rel^='prettyPhoto']").prettyPhoto({default_width:1000,default_height:700,});}
1661$('.footer-menu > li > a').click(function(event){console.log(1);event.preventDefault();});$('#menu-top-menu').slicknav();$("#scroll_top-top").hide();$(window).scroll(function(){if($(this).scrollTop()>100){$('#scroll_top').fadeIn();}else{$('#scroll_top').fadeOut();}});$("*[onscroll]").click(function(){var elId=$(this).attr('onscroll');var scroll=0;if(elId){scroll=$("#"+elId).offset().top}
1662$('html, body').animate({scrollTop:scroll},500);return false;});});})(jQuery);
1663window.addComment=function(a){function b(){c(),g()}function c(a){if(t&&(m=j(r.cancelReplyId),n=j(r.commentFormId),m)){m.addEventListener("touchstart",e),m.addEventListener("click",e);for(var b,c=d(a),g=0,h=c.length;g<h;g++)b=c[g],b.addEventListener("touchstart",f),b.addEventListener("click",f)}}function d(a){var b,c=r.commentReplyClass;return a&&a.childNodes||(a=q),b=q.getElementsByClassName?a.getElementsByClassName(c):a.querySelectorAll("."+c)}function e(a){var b=this,c=r.temporaryFormId,d=j(c);d&&o&&(j(r.parentIdFieldId).value="0",d.parentNode.replaceChild(o,d),b.style.display="none",a.preventDefault())}function f(b){var c,d=this,e=i(d,"belowelement"),f=i(d,"commentid"),g=i(d,"respondelement"),h=i(d,"postid");e&&f&&g&&h&&(c=a.addComment.moveForm(e,f,g,h),!1===c&&b.preventDefault())}function g(){if(s){var a={childList:!0,subTree:!0};p=new s(h),p.observe(q.body,a)}}function h(a){for(var b=a.length;b--;)if(a[b].addedNodes.length)return void c()}function i(a,b){return u?a.dataset[b]:a.getAttribute("data-"+b)}function j(a){return q.getElementById(a)}function k(b,c,d,e){var f=j(b);o=j(d);var g,h,i,k=j(r.parentIdFieldId),p=j(r.postIdFieldId);if(f&&o&&k){l(o),e&&p&&(p.value=e),k.value=c,m.style.display="",f.parentNode.insertBefore(o,f.nextSibling),m.onclick=function(){return!1};try{for(var s=0;s<n.elements.length;s++)if(g=n.elements[s],h=!1,"getComputedStyle"in a?i=a.getComputedStyle(g):q.documentElement.currentStyle&&(i=g.currentStyle),(g.offsetWidth<=0&&g.offsetHeight<=0||"hidden"===i.visibility)&&(h=!0),"hidden"!==g.type&&!g.disabled&&!h){g.focus();break}}catch(t){}return!1}}function l(a){var b=r.temporaryFormId,c=j(b);c||(c=q.createElement("div"),c.id=b,c.style.display="none",a.parentNode.insertBefore(c,a))}var m,n,o,p,q=a.document,r={commentReplyClass:"comment-reply-link",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},s=a.MutationObserver||a.WebKitMutationObserver||a.MozMutationObserver,t="querySelector"in q&&"addEventListener"in a,u=!!q.documentElement.dataset;return t&&"loading"!==q.readyState?b():t&&a.addEventListener("DOMContentLoaded",b,!1),{init:c,moveForm:k}}(window);
1664/*!
1665 * imagesLoaded PACKAGED v3.2.0
1666 * JavaScript is all like "You images are done yet or what?"
1667 * MIT License
1668 */
1669(function(){"use strict";function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,s=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),s="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(s?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,s=this.getListenersAsObject(e);for(r in s)s.hasOwnProperty(r)&&(i=t(s[r],n),-1!==i&&s[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,s=e?this.removeListener:this.addListener,o=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)s.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?s.call(this,i,r):o.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,s,o=this.getListenersAsObject(e);for(r in o)if(o.hasOwnProperty(r))for(i=o[r].length;i--;)n=o[r][i],n.once===!0&&this.removeListener(e,n.listener),s=n.listener.apply(this,t||[]),s===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1
1669);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=s,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var s={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",s):e.eventie=s}(this),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"==f.call(e)}function s(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t}function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=s(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),u&&(this.jqDeferred=new u.Deferred);var r=this;setTimeout(function(){r.check()})}function h(e){this.img=e}function a(e,t){this.url=e,this.element=t,this.img=new Image}var u=e.jQuery,c=e.console,f=Object.prototype.toString;o.prototype=new t,o.prototype.options={},o.prototype.getImages=function(){this.images=[];for(var e=0;e<this.elements.length;e++){var t=this.elements[e];this.addElementImages(t)}},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&d[t]){for(var n=e.querySelectorAll("img"),i=0;i<n.length;i++){var r=n[i];this.addImage(r)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(i=0;i<s.length;i++){var o=s[i];this.addElementBackgroundImages(o)}}}};var d={1:!0,9:!0,11:!0};o.prototype.addElementBackgroundImages=function(e){for(var t=m(e),n=/url\(['"]*([^'"\)]+)['"]*\)/gi,i=n.exec(t.backgroundImage);null!==i;){var r=i&&i[1];r&&this.addBackground(r,e),i=n.exec(t.backgroundImage)}};var m=e.getComputedStyle||function(e){return e.currentStyle};return o.prototype.addImage=function(e){var t=new h(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var n=new a(e,t);this.images.push(n)},o.prototype.check=function(){function e(e,n,i){setTimeout(function(){t.progress(e,n,i)})}var t=this;if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();for(var n=0;n<this.images.length;n++){var i=this.images[n];i.once("progress",e),i.check()}},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emit("progress",this,e,t),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&c&&c.log("progress: "+n,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emit(e,this),this.emit("always",this),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=new t,h.prototype.check=function(){var e=this.getIsImageComplete();
1669return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,n.bind(this.proxyImage,"load",this),n.bind(this.proxyImage,"error",this),n.bind(this.img,"load",this),n.bind(this.img,"error",this),void(this.proxyImage.src=this.img.src))},h.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},h.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("progress",this,this.img,t)},h.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){n.unbind(this.proxyImage,"load",this),n.unbind(this.proxyImage,"error",this),n.unbind(this.img,"load",this),n.unbind(this.img,"error",this)},a.prototype=new h,a.prototype.check=function(){n.bind(this.img,"load",this),n.bind(this.img,"error",this),this.img.src=this.url;var e=this.getIsImageComplete();e&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){n.unbind(this.img,"load",this),n.unbind(this.img,"error",this)},a.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("progress",this,this.element,t)},o.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&(u=t,u.fn.imagesLoaded=function(e,t){var n=new o(this,e,t);return n.jqDeferred.promise(u(this))})},o.makeJQueryPlugin(),o});
1670/*!
1671 * Masonry PACKAGED v3.3.2
1672 * Cascading grid layout library
1673 * http://masonry.desandro.com
1674 * MIT License
1675 * by David DeSandro
1676 */
1677!function(a){function b(){}function c(a){function c(b){b.prototype.option||(b.prototype.option=function(b){a.isPlainObject(b)&&(this.options=a.extend(!0,this.options,b))})}function e(b,c){a.fn[b]=function(e){if("string"==typeof e){for(var g=d.call(arguments,1),h=0,i=this.length;i>h;h++){var j=this[h],k=a.data(j,b);if(k)if(a.isFunction(k[e])&&"_"!==e.charAt(0)){var l=k[e].apply(k,g);if(void 0!==l)return l}else f("no such method '"+e+"' for "+b+" instance");else f("cannot call methods on "+b+" prior to initialization; attempted to call '"+e+"'")}return this}return this.each(function(){var d=a.data(this,b);d?(d.option(e),d._init()):(d=new c(this,e),a.data(this,b,d))})}}if(a){var f="undefined"==typeof console?b:function(a){console.error(a)};return a.bridget=function(a,b){c(b),e(a,b)},a.bridget}}var d=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],c):c("object"==typeof exports?require("jquery"):a.jQuery)}(window),function(a){function b(b){var c=a.event;return c.target=c.target||c.srcElement||b,c}var c=document.documentElement,d=function(){};c.addEventListener?d=function(a,b,c){a.addEventListener(b,c,!1)}:c.attachEvent&&(d=function(a,c,d){a[c+d]=d.handleEvent?function(){var c=b(a);d.handleEvent.call(d,c)}:function(){var c=b(a);d.call(a,c)},a.attachEvent("on"+c,a[c+d])});var e=function(){};c.removeEventListener?e=function(a,b,c){a.removeEventListener(b,c,!1)}:c.detachEvent&&(e=function(a,b,c){a.detachEvent("on"+b,a[b+c]);try{delete a[b+c]}catch(d){a[b+c]=void 0}});var f={bind:d,unbind:e};"function"==typeof define&&define.amd?define("eventie/eventie",f):"object"==typeof exports?module.exports=f:a.eventie=f}(window),function(){function a(){}function b(a,b){for(var c=a.length;c--;)if(a[c].listener===b)return c;return-1}function c(a){return function(){return this[a].apply(this,arguments)}}var d=a.prototype,e=this,f=e.EventEmitter;d.getListeners=function(a){var b,c,d=this._getEvents();if(a instanceof RegExp){b={};for(c in d)d.hasOwnProperty(c)&&a.test(c)&&(b[c]=d[c])}else b=d[a]||(d[a]=[]);return b},d.flattenListeners=function(a){var b,c=[];for(b=0;b<a.length;b+=1)c.push(a[b].listener);return c},d.getListenersAsObject=function(a){var b,c=this.getListeners(a);return c instanceof Array&&(b={},b[a]=c),b||c},d.addListener=function(a,c){var d,e=this.getListenersAsObject(a),f="object"==typeof c;for(d in e)e.hasOwnProperty(d)&&-1===b(e[d],c)&&e[d].push(f?c:{listener:c,once:!1});return this},d.on=c("addListener"),d.addOnceListener=function(a,b){return this.addListener(a,{listener:b,once:!0})},d.once=c("addOnceListener"),d.defineEvent=function(a){return this.getListeners(a),this},d.defineEvents=function(a){for(var b=0;b<a.length;b+=1)this.defineEvent(a[b]);return this},d.removeListener=function(a,c){var d,e,f=this.getListenersAsObject(a);for(e in f)f.hasOwnProperty(e)&&(d=b(f[e],c),-1!==d&&f[e].splice(d,1));return this},d.off=c("removeListener"),d.addListeners=function(a,b){return this.manipulateListeners(!1,a,b)},d.removeListeners=function(a,b){return this.manipulateListeners(!0,a,b)},d.manipulateListeners=function(a,b,c){var d,e,f=a?this.removeListener:this.addListener,g=a?this.removeListeners:this.addListeners;if("object"!=typeof b||b instanceof RegExp)for(d=c.length;d--;)f.call(this,b,c[d]);
1677else for(d in b)b.hasOwnProperty(d)&&(e=b[d])&&("function"==typeof e?f.call(this,d,e):g.call(this,d,e));return this},d.removeEvent=function(a){var b,c=typeof a,d=this._getEvents();if("string"===c)delete d[a];else if(a instanceof RegExp)for(b in d)d.hasOwnProperty(b)&&a.test(b)&&delete d[b];else delete this._events;return this},d.removeAllListeners=c("removeEvent"),d.emitEvent=function(a,b){var c,d,e,f,g=this.getListenersAsObject(a);for(e in g)if(g.hasOwnProperty(e))for(d=g[e].length;d--;)c=g[e][d],c.once===!0&&this.removeListener(a,c.listener),f=c.listener.apply(this,b||[]),f===this._getOnceReturnValue()&&this.removeListener(a,c.listener);return this},d.trigger=c("emitEvent"),d.emit=function(a){var b=Array.prototype.slice.call(arguments,1);return this.emitEvent(a,b)},d.setOnceReturnValue=function(a){return this._onceReturnValue=a,this},d._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},d._getEvents=function(){return this._events||(this._events={})},a.noConflict=function(){return e.EventEmitter=f,a},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return a}):"object"==typeof module&&module.exports?module.exports=a:e.EventEmitter=a}.call(this),function(a){function b(a){if(a){if("string"==typeof d[a])return a;a=a.charAt(0).toUpperCase()+a.slice(1);for(var b,e=0,f=c.length;f>e;e++)if(b=c[e]+a,"string"==typeof d[b])return b}}var c="Webkit Moz ms Ms O".split(" "),d=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return b}):"object"==typeof exports?module.exports=b:a.getStyleProperty=b}(window),function(a){function b(a){var b=parseFloat(a),c=-1===a.indexOf("%")&&!isNaN(b);return c&&b}function c(){}function d(){for(var a={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},b=0,c=g.length;c>b;b++){var d=g[b];a[d]=0}return a}function e(c){function e(){if(!m){m=!0;var d=a.getComputedStyle;if(j=function(){var a=d?function(a){return d(a,null)}:function(a){return a.currentStyle};return function(b){var c=a(b);return c||f("Style returned "+c+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),c}}(),k=c("boxSizing")){var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style[k]="border-box";var g=document.body||document.documentElement;g.appendChild(e);var h=j(e);l=200===b(h.width),g.removeChild(e)}}}function h(a){if(e(),"string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var c=j(a);if("none"===c.display)return d();var f={};f.width=a.offsetWidth,f.height=a.offsetHeight;for(var h=f.isBorderBox=!(!k||!c[k]||"border-box"!==c[k]),m=0,n=g.length;n>m;m++){var o=g[m],p=c[o];p=i(a,p);var q=parseFloat(p);f[o]=isNaN(q)?0:q}var r=f.paddingLeft+f.paddingRight,s=f.paddingTop+f.paddingBottom,t=f.marginLeft+f.marginRight,u=f.marginTop+f.marginBottom,v=f.borderLeftWidth+f.borderRightWidth,w=f.borderTopWidth+f.borderBottomWidth,x=h&&l,y=b(c.width);y!==!1&&(f.width=y+(x?0:r+v));var z=b(c.height);return z!==!1&&(f.height=z+(x?0:s+w)),f.innerWidth=f.width-(r+v),f.innerHeight=f.height-(s+w),f.outerWidth=f.width+t,f.outerHeight=f.height+u,f}}function i(b,c){if(a.getComputedStyle||-1===c.indexOf("%"))return c;var d=b.style,e=d.left,f=b.runtimeStyle,g=f&&f.left;return g&&(f.left=b.currentStyle.left),d.left=c,c=d.pixelLeft,d.left=e,g&&(f.left=g),c}var j,k,l,m=!1;return h}var f="undefined"==typeof console?c:function(a){console.error(a)},g=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property")):a.getSize=e(a.getStyleProperty)}(window),function(a){function b(a){"function"==typeof a&&(b.isReady?a():g.push(a))}function c(a){var c="readystatechange"===a.type&&"complete"!==f.readyState;b.isReady||c||d()}function d(){b.isReady=!0;for(var a=0,c=g.length;c>a;a++){var d=g[a];d()}}function e(e){return"complete"===f.readyState?d():(e.bind(f,"DOMContentLoaded",c),e.bind(f,"readystatechange",c),e.bind(a,"load",c)
1677),b}var f=a.document,g=[];b.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],e):"object"==typeof exports?module.exports=e(require("eventie")):a.docReady=e(a.eventie)}(window),function(a){function b(a,b){return a[g](b)}function c(a){if(!a.parentNode){var b=document.createDocumentFragment();b.appendChild(a)}}function d(a,b){c(a);for(var d=a.parentNode.querySelectorAll(b),e=0,f=d.length;f>e;e++)if(d[e]===a)return!0;return!1}function e(a,d){return c(a),b(a,d)}var f,g=function(){if(a.matches)return"matches";if(a.matchesSelector)return"matchesSelector";for(var b=["webkit","moz","ms","o"],c=0,d=b.length;d>c;c++){var e=b[c],f=e+"MatchesSelector";if(a[f])return f}}();if(g){var h=document.createElement("div"),i=b(h,"div");f=i?b:e}else f=d;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return f}):"object"==typeof exports?module.exports=f:window.matchesSelector=f}(Element.prototype),function(a,b){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(c,d){return b(a,c,d)}):"object"==typeof exports?module.exports=b(a,require("doc-ready"),require("desandro-matches-selector")):a.fizzyUIUtils=b(a,a.docReady,a.matchesSelector)}(window,function(a,b,c){var d={};d.extend=function(a,b){for(var c in b)a[c]=b[c];return a},d.modulo=function(a,b){return(a%b+b)%b};var e=Object.prototype.toString;d.isArray=function(a){return"[object Array]"==e.call(a)},d.makeArray=function(a){var b=[];if(d.isArray(a))b=a;else if(a&&"number"==typeof a.length)for(var c=0,e=a.length;e>c;c++)b.push(a[c]);else b.push(a);return b},d.indexOf=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},d.removeFrom=function(a,b){var c=d.indexOf(a,b);-1!=c&&a.splice(c,1)},d.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(a){return a instanceof HTMLElement}:function(a){return a&&"object"==typeof a&&1==a.nodeType&&"string"==typeof a.nodeName},d.setText=function(){function a(a,c){b=b||(void 0!==document.documentElement.textContent?"textContent":"innerText"),a[b]=c}var b;return a}(),d.getParent=function(a,b){for(;a!=document.body;)if(a=a.parentNode,c(a,b))return a},d.getQueryElement=function(a){return"string"==typeof a?document.querySelector(a):a},d.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},d.filterFindElements=function(a,b){a=d.makeArray(a);for(var e=[],f=0,g=a.length;g>f;f++){var h=a[f];if(d.isElement(h))if(b){c(h,b)&&e.push(h);for(var i=h.querySelectorAll(b),j=0,k=i.length;k>j;j++)e.push(i[j])}else e.push(h)}return e},d.debounceMethod=function(a,b,c){var d=a.prototype[b],e=b+"Timeout";a.prototype[b]=function(){var a=this[e];a&&clearTimeout(a);var b=arguments,f=this;this[e]=setTimeout(function(){d.apply(f,b),delete f[e]},c||100)}},d.toDashed=function(a){return a.replace(/(.)([A-Z])/g,function(a,b,c){return b+"-"+c}).toLowerCase()};var f=a.console;return d.htmlInit=function(c,e){b(function(){for(var b=d.toDashed(e),g=document.querySelectorAll(".js-"+b),h="data-"+b+"-options",i=0,j=g.length;j>i;i++){var k,l=g[i],m=l.getAttribute(h);try{k=m&&JSON.parse(m)}catch(n){f&&f.error("Error parsing "+h+" on "+l.nodeName.toLowerCase()+(l.id?"#"+l.id:"")+": "+n);continue}var o=new c(l,k),p=a.jQuery;p&&p.data(l,e,o)}})},d}),function(a,b){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(c,d,e,f){return b(a,c,d,e,f)}):"object"==typeof exports?module.exports=b(a,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(a.Outlayer={},a.Outlayer.Item=b(a,a.EventEmitter,a.getSize,a.getStyleProperty,a.fizzyUIUtils))}(window,function(a,b,c,d,e){function f(a){for(var b in a)return!1;return b=null,!0}function g(a,b){a&&(this.element=a,this.layout=b,this.position={x:0,y:0},this._create())}function h(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}var i=a.getComputedStyle,j=i?function(a){return i(a,null)}:function(a){return a.currentStyle},k=d("transition"),l=d("transform"),m=k&&l,n=!!d("perspective"),o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[k],p=["transform","transition","transitionDuration","transitionProperty"],q=function(){for(var a={},b=0,c=p.length;c>b;b++){var e=p[b],f=d(e);f&&f!==e&&(a[e]=f)}return a}();e.extend(g.prototype,b.prototype),g.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},g.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},g.prototype.getSize=function(){this.size=c(this.element)},g.prototype.css=function(a){var b=this.element.style;for(var c in a){var d=q[c]||c;b[d]=a[c]}},g.prototype.getPosition=function(){var a=j(this.element),b=this.layout.options,c=b.isOriginLeft,d=b.isOriginTop,e=a[c?"left":"right"],f=a[d?"top":"bottom"],g=this.layout.size,h=-1!=e.indexOf("%")?parseFloat(e)/100*g.width:parseInt(e,10),i=-1!=f.indexOf("%")?parseFloat(f)/100*g.height:parseInt(f,10);h=isNaN(h)?0:h,i=isNaN(i)?0:i,h-=c?g.paddingLeft:g.paddingRight,i-=d?g.paddingTop:g.paddingBottom,this.position.x=h,this.position.y=i},g.prototype.layoutPosition=function(){var a=this.layout.size,b=this.layout.options,c={},d=b.isOriginLeft?"paddingLeft":"paddingRight",e=b.isOriginLeft?"left"
1677:"right",f=b.isOriginLeft?"right":"left",g=this.position.x+a[d];c[e]=this.getXValue(g),c[f]="";var h=b.isOriginTop?"paddingTop":"paddingBottom",i=b.isOriginTop?"top":"bottom",j=b.isOriginTop?"bottom":"top",k=this.position.y+a[h];c[i]=this.getYValue(k),c[j]="",this.css(c),this.emitEvent("layout",[this])},g.prototype.getXValue=function(a){var b=this.layout.options;return b.percentPosition&&!b.isHorizontal?a/this.layout.size.width*100+"%":a+"px"},g.prototype.getYValue=function(a){var b=this.layout.options;return b.percentPosition&&b.isHorizontal?a/this.layout.size.height*100+"%":a+"px"},g.prototype._transitionTo=function(a,b){this.getPosition();var c=this.position.x,d=this.position.y,e=parseInt(a,10),f=parseInt(b,10),g=e===this.position.x&&f===this.position.y;if(this.setPosition(a,b),g&&!this.isTransitioning)return void this.layoutPosition();var h=a-c,i=b-d,j={};j.transform=this.getTranslate(h,i),this.transition({to:j,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},g.prototype.getTranslate=function(a,b){var c=this.layout.options;return a=c.isOriginLeft?a:-a,b=c.isOriginTop?b:-b,n?"translate3d("+a+"px, "+b+"px, 0)":"translate("+a+"px, "+b+"px)"},g.prototype.goTo=function(a,b){this.setPosition(a,b),this.layoutPosition()},g.prototype.moveTo=m?g.prototype._transitionTo:g.prototype.goTo,g.prototype.setPosition=function(a,b){this.position.x=parseInt(a,10),this.position.y=parseInt(b,10)},g.prototype._nonTransition=function(a){this.css(a.to),a.isCleaning&&this._removeStyles(a.to);for(var b in a.onTransitionEnd)a.onTransitionEnd[b].call(this)},g.prototype._transition=function(a){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(a);var b=this._transn;for(var c in a.onTransitionEnd)b.onEnd[c]=a.onTransitionEnd[c];for(c in a.to)b.ingProperties[c]=!0,a.isCleaning&&(b.clean[c]=!0);if(a.from){this.css(a.from);var d=this.element.offsetHeight;d=null}this.enableTransition(a.to),this.css(a.to),this.isTransitioning=!0};var r="opacity,"+h(q.transform||"transform");g.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:r,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(o,this,!1))},g.prototype.transition=g.prototype[k?"_transition":"_nonTransition"],g.prototype.onwebkitTransitionEnd=function(a){this.ontransitionend(a)},g.prototype.onotransitionend=function(a){this.ontransitionend(a)};var s={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};g.prototype.ontransitionend=function(a){if(a.target===this.element){var b=this._transn,c=s[a.propertyName]||a.propertyName;if(delete b.ingProperties[c],f(b.ingProperties)&&this.disableTransition(),c in b.clean&&(this.element.style[a.propertyName]="",delete b.clean[c]),c in b.onEnd){var d=b.onEnd[c];d.call(this),delete b.onEnd[c]}this.emitEvent("transitionEnd",[this])}},g.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},g.prototype._removeStyles=function(a){var b={};for(var c in a)b[c]="";this.css(b)};var t={transitionProperty:"",transitionDuration:""};return g.prototype.removeTransitionStyles=function(){this.css(t)},g.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},g.prototype.remove=function(){if(!k||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var a=this;this.once("transitionEnd",function(){a.removeElem()}),this.hide()},g.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var a=this.layout.options,b={},c=this.getHideRevealTransitionEndProperty("visibleStyle");b[c]=this.onRevealTransitionEnd,this.transition({from:a.hiddenStyle,to:a.visibleStyle,isCleaning:!0,onTransitionEnd:b})},g.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},g.prototype.getHideRevealTransitionEndProperty=function(a){var b=this.layout.options[a];if(b.opacity)return"opacity";for(var c in b)return c},g.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var a=this.layout.options,b={}
1677,c=this.getHideRevealTransitionEndProperty("hiddenStyle");b[c]=this.onHideTransitionEnd,this.transition({from:a.visibleStyle,to:a.hiddenStyle,isCleaning:!0,onTransitionEnd:b})},g.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},g.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},g}),function(a,b){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(c,d,e,f,g){return b(a,c,d,e,f,g)}):"object"==typeof exports?module.exports=b(a,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):a.Outlayer=b(a,a.eventie,a.EventEmitter,a.getSize,a.fizzyUIUtils,a.Outlayer.Item)}(window,function(a,b,c,d,e,f){function g(a,b){var c=e.getQueryElement(a);if(!c)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(c||a)));this.element=c,i&&(this.$element=i(this.element)),this.options=e.extend({},this.constructor.defaults),this.option(b);var d=++k;this.element.outlayerGUID=d,l[d]=this,this._create(),this.options.isInitLayout&&this.layout()}var h=a.console,i=a.jQuery,j=function(){},k=0,l={};return g.namespace="outlayer",g.Item=f,g.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},e.extend(g.prototype,c.prototype),g.prototype.option=function(a){e.extend(this.options,a)},g.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},g.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},g.prototype._itemize=function(a){for(var b=this._filterFindItemElements(a),c=this.constructor.Item,d=[],e=0,f=b.length;f>e;e++){var g=b[e],h=new c(g,this);d.push(h)}return d},g.prototype._filterFindItemElements=function(a){return e.filterFindElements(a,this.options.itemSelector)},g.prototype.getItemElements=function(){for(var a=[],b=0,c=this.items.length;c>b;b++)a.push(this.items[b].element);return a},g.prototype.layout=function(){this._resetLayout(),this._manageStamps();var a=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,a),this._isLayoutInited=!0},g.prototype._init=g.prototype.layout,g.prototype._resetLayout=function(){this.getSize()},g.prototype.getSize=function(){this.size=d(this.element)},g.prototype._getMeasurement=function(a,b){var c,f=this.options[a];f?("string"==typeof f?c=this.element.querySelector(f):e.isElement(f)&&(c=f),this[a]=c?d(c)[b]:f):this[a]=0},g.prototype.layoutItems=function(a,b){a=this._getItemsForLayout(a),this._layoutItems(a,b),this._postLayout()},g.prototype._getItemsForLayout=function(a){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c];e.isIgnored||b.push(e)}return b},g.prototype._layoutItems=function(a,b){if(this._emitCompleteOnItems("layout",a),a&&a.length){for(var c=[],d=0,e=a.length;e>d;d++){var f=a[d],g=this._getItemLayoutPosition(f);g.item=f,g.isInstant=b||f.isLayoutInstant,c.push(g)}this._processLayoutQueue(c)}},g.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},g.prototype._processLayoutQueue=function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b];this._positionItem(d.item,d.x,d.y,d.isInstant)}},g.prototype._positionItem=function(a,b,c,d){d?a.goTo(b,c):a.moveTo(b,c)},g.prototype._postLayout=function(){this.resizeContainer()},g.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var a=this._getContainerSize();a&&(this._setContainerMeasure(a.width,!0),this._setContainerMeasure(a.height,!1))}},g.prototype._getContainerSize=j,g.prototype._setContainerMeasure=function(a,b){if(void 0!==a){var c=this.size;c.isBorderBox&&(a+=b?c.paddingLeft+c.paddingRight+c.borderLeftWidth+c.borderRightWidth:c.paddingBottom+c.paddingTop+c.borderTopWidth+c.borderBottomWidth),a=Math.max(a,0),this.element.style[b?"width":"height"]=a+"px"}},g.prototype._emitCompleteOnItems=function(a,b){function c(){e.dispatchEvent(a+"Complete",null,[b])}function d(){g++,g===f&&c()}var e=this,f=b.length;if(!b||!f)return void c();for(var g=0,h=0,i=b.length;i>h;h++){var j=b[h];j.once(a,d)}},g.prototype.dispatchEvent=function(a,b,c){var d=b?[b].concat(c):c;if(this.emitEvent(a,d),i)if(this.$element=this.$element||i(this.element),b){var e=i.Event(b);e.type=a,this.$element.trigger(e,c)}else this.$element.trigger(a,c)},g.prototype.ignore=function(a){var b=this.getItem(a);b&&(b.isIgnored=!0)},g.prototype.unignore=function(a){var b=this.getItem(a);b&&delete b.isIgnored}
1677,g.prototype.stamp=function(a){if(a=this._find(a)){this.stamps=this.stamps.concat(a);for(var b=0,c=a.length;c>b;b++){var d=a[b];this.ignore(d)}}},g.prototype.unstamp=function(a){if(a=this._find(a))for(var b=0,c=a.length;c>b;b++){var d=a[b];e.removeFrom(this.stamps,d),this.unignore(d)}},g.prototype._find=function(a){return a?("string"==typeof a&&(a=this.element.querySelectorAll(a)),a=e.makeArray(a)):void 0},g.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var a=0,b=this.stamps.length;b>a;a++){var c=this.stamps[a];this._manageStamp(c)}}},g.prototype._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),b=this.size;this._boundingRect={left:a.left+b.paddingLeft+b.borderLeftWidth,top:a.top+b.paddingTop+b.borderTopWidth,right:a.right-(b.paddingRight+b.borderRightWidth),bottom:a.bottom-(b.paddingBottom+b.borderBottomWidth)}},g.prototype._manageStamp=j,g.prototype._getElementOffset=function(a){var b=a.getBoundingClientRect(),c=this._boundingRect,e=d(a),f={left:b.left-c.left-e.marginLeft,top:b.top-c.top-e.marginTop,right:c.right-b.right-e.marginRight,bottom:c.bottom-b.bottom-e.marginBottom};return f},g.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},g.prototype.bindResize=function(){this.isResizeBound||(b.bind(a,"resize",this),this.isResizeBound=!0)},g.prototype.unbindResize=function(){this.isResizeBound&&b.unbind(a,"resize",this),this.isResizeBound=!1},g.prototype.onresize=function(){function a(){b.resize(),delete b.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var b=this;this.resizeTimeout=setTimeout(a,100)},g.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},g.prototype.needsResizeLayout=function(){var a=d(this.element),b=this.size&&a;return b&&a.innerWidth!==this.size.innerWidth},g.prototype.addItems=function(a){var b=this._itemize(a);return b.length&&(this.items=this.items.concat(b)),b},g.prototype.appended=function(a){var b=this.addItems(a);b.length&&(this.layoutItems(b,!0),this.reveal(b))},g.prototype.prepended=function(a){var b=this._itemize(a);if(b.length){var c=this.items.slice(0);this.items=b.concat(c),this._resetLayout(),this._manageStamps(),this.layoutItems(b,!0),this.reveal(b),this.layoutItems(c)}},g.prototype.reveal=function(a){this._emitCompleteOnItems("reveal",a);for(var b=a&&a.length,c=0;b&&b>c;c++){var d=a[c];d.reveal()}},g.prototype.hide=function(a){this._emitCompleteOnItems("hide",a);for(var b=a&&a.length,c=0;b&&b>c;c++){var d=a[c];d.hide()}},g.prototype.revealItemElements=function(a){var b=this.getItems(a);this.reveal(b)},g.prototype.hideItemElements=function(a){var b=this.getItems(a);this.hide(b)},g.prototype.getItem=function(a){for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];if(d.element===a)return d}},g.prototype.getItems=function(a){a=e.makeArray(a);for(var b=[],c=0,d=a.length;d>c;c++){var f=a[c],g=this.getItem(f);g&&b.push(g)}return b},g.prototype.remove=function(a){var b=this.getItems(a);if(this._emitCompleteOnItems("remove",b),b&&b.length)for(var c=0,d=b.length;d>c;c++){var f=b[c];f.remove(),e.removeFrom(this.items,f)}},g.prototype.destroy=function(){var a=this.element.style;a.height="",a.position="",a.width="";for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];d.destroy()}this.unbindResize();var e=this.element.outlayerGUID;delete l[e],delete this.element.outlayerGUID,i&&i.removeData(this.element,this.constructor.namespace)},g.data=function(a){a=e.getQueryElement(a);var b=a&&a.outlayerGUID;return b&&l[b]}
1677,g.create=function(a,b){function c(){g.apply(this,arguments)}return Object.create?c.prototype=Object.create(g.prototype):e.extend(c.prototype,g.prototype),c.prototype.constructor=c,c.defaults=e.extend({},g.defaults),e.extend(c.defaults,b),c.prototype.settings={},c.namespace=a,c.data=g.data,c.Item=function(){f.apply(this,arguments)},c.Item.prototype=new f,e.htmlInit(c,a),i&&i.bridget&&i.bridget(a,c),c},g.Item=f,g}),function(a,b){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],b):"object"==typeof exports?module.exports=b(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):a.Masonry=b(a.Outlayer,a.getSize,a.fizzyUIUtils)}(window,function(a,b,c){var d=a.create("masonry");return d.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var a=this.cols;for(this.colYs=[];a--;)this.colYs.push(0);this.maxY=0},d.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var a=this.items[0],c=a&&a.element;this.columnWidth=c&&b(c).outerWidth||this.containerWidth}var d=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,f=e/d,g=d-e%d,h=g&&1>g?"round":"floor";f=Math[h](f),this.cols=Math.max(f,1)},d.prototype.getContainerWidth=function(){var a=this.options.isFitWidth?this.element.parentNode:this.element,c=b(a);this.containerWidth=c&&c.innerWidth},d.prototype._getItemLayoutPosition=function(a){a.getSize();var b=a.size.outerWidth%this.columnWidth,d=b&&1>b?"round":"ceil",e=Math[d](a.size.outerWidth/this.columnWidth);e=Math.min(e,this.cols);for(var f=this._getColGroup(e),g=Math.min.apply(Math,f),h=c.indexOf(f,g),i={x:this.columnWidth*h,y:g},j=g+a.size.outerHeight,k=this.cols+1-f.length,l=0;k>l;l++)this.colYs[h+l]=j;return i},d.prototype._getColGroup=function(a){if(2>a)return this.colYs;for(var b=[],c=this.cols+1-a,d=0;c>d;d++){var e=this.colYs.slice(d,d+a);b[d]=Math.max.apply(Math,e)}return b},d.prototype._manageStamp=function(a){var c=b(a),d=this._getElementOffset(a),e=this.options.isOriginLeft?d.left:d.right,f=e+c.outerWidth,g=Math.floor(e/this.columnWidth);g=Math.max(0,g);var h=Math.floor(f/this.columnWidth);h-=f%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var i=(this.options.isOriginTop?d.top:d.bottom)+c.outerHeight,j=g;h>=j;j++)this.colYs[j]=Math.max(i,this.colYs[j])},d.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var a={height:this.maxY};return this.options.isFitWidth&&(a.width=this._getContainerFitWidth()),a},d.prototype._getContainerFitWidth=function(){for(var a=0,b=this.cols;--b&&0===this.colYs[b];)a++;return(this.cols-a)*this.columnWidth-this.gutter},d.prototype.needsResizeLayout=function(){var a=this.containerWidth;return this.getContainerWidth(),a!==this.containerWidth},d});
1678/*!
1679 * Masonry v2 shim
1680 * to maintain backwards compatibility
1681 * as of Masonry v3.1.2
1682 *
1683 * Cascading grid layout library
1684 * http://masonry.desandro.com
1685 * MIT License
1686 * by David DeSandro
1687 */
1688!function(a){"use strict";var b=a.Masonry;b.prototype._remapV2Options=function(){this._remapOption("gutterWidth","gutter"),this._remapOption("isResizable","isResizeBound"),this._remapOption("isRTL","isOriginLeft",function(a){return!a});var a=this.options.isAnimated;if(void 0!==a&&(this.options.transitionDuration=a?this.options.transitionDuration:0),void 0===a||a){var b=this.options.animationOptions,c=b&&b.duration;c&&(this.options.transitionDuration="string"==typeof c?c:c+"ms")}},b.prototype._remapOption=function(a,b,c){var d=this.options[a];void 0!==d&&(this.options[b]=c?c(d):d)};var c=b.prototype._create;b.prototype._create=function(){var a=this;this._remapV2Options(),c.apply(this,arguments),setTimeout(function(){jQuery(a.element).addClass("masonry")},0)};var d=b.prototype.layout;b.prototype.layout=function(){this._remapV2Options(),d.apply(this,arguments)};var e=b.prototype.option;b.prototype.option=function(){e.apply(this,arguments),this._remapV2Options()};var f=b.prototype._itemize;b.prototype._itemize=function(a){var b=f.apply(this,arguments);return jQuery(a).addClass("masonry-brick"),b};var g=b.prototype.measureColumns;b.prototype.measureColumns=function(){var a=this.options.columnWidth;a&&"function"==typeof a&&(this.getContainerWidth(),this.columnWidth=a(this.containerWidth)),g.apply(this,arguments)},b.prototype.reload=function(){this.reloadItems.apply(this,arguments),this.layout.apply(this)};var h=b.prototype.destroy;b.prototype.destroy=function(){var a=this.getItemElements();jQuery(this.element).removeClass("masonry"),jQuery(a).removeClass("masonry-brick"),h.apply(this,arguments)}}(window);
1689(function($){var body=$('body'),_window=$(window);$(function(){if(body.is('.sidebar')){var sidebar=$('#secondary .widget-area'),secondary=(0===sidebar.length)?-40:sidebar.height(),margin=$('#tertiary .widget-area').height()-$('#content').height()-secondary;if(margin>0&&_window.innerWidth()>999){$('#colophon').css('margin-top',margin+'px');}}});(function(){var nav=$('#site-navigation'),button,menu;if(!nav){return;}
1690button=nav.find('.menu-toggle');
1690if(!button){return;}
1691menu=nav.find('.nav-menu');if(!menu||!menu.children().length){button.hide();return;}
1692button.on('click.twentythirteen',function(){nav.toggleClass('toggled-on');});if('ontouchstart'in window){menu.find('.menu-item-has-children > a').on('touchstart.twentythirteen',function(e){var el=$(this).parent('li');if(!el.hasClass('focus')){e.preventDefault();el.toggleClass('focus');el.siblings('.focus').removeClass('focus');}});}
1693menu.find('a').on('focus.twentythirteen blur.twentythirteen',function(){$(this).parents('.menu-item, .page_item').toggleClass('focus');});})();_window.on('hashchange.twentythirteen',function(){var element=document.getElementById(location.hash.substring(1));if(element){if(!/^(?:a|select|input|button|textarea)$/i.test(element.tagName)){element.tabIndex=-1;}
1694element.focus();}});if($.isFunction($.fn.masonry)){var columnWidth=body.is('.sidebar')?228:245;$('#secondary .widget-area').masonry({itemSelector:'.widget',columnWidth:columnWidth,gutterWidth:20,isRTL:body.is('.rtl')});}})(jQuery);
1695!function(a,b){"use strict";function c(){if(!e){e=!0;var a,c,d,f,g=-1!==navigator.appVersion.indexOf("MSIE 10"),h=!!navigator.userAgent.match(/Trident.*rv:11\./),i=b.querySelectorAll("iframe.wp-embedded-content");for(c=0;c<i.length;c++){if(d=i[c],!d.getAttribute("data-secret"))f=Math.random().toString(36).substr(2,10),d.src+="#?secret="+f,d.setAttribute("data-secret",f);if(g||h)a=d.cloneNode(!0),a.removeAttribute("security"),d.parentNode.replaceChild(a,d)}}}var d=!1,e=!1;if(b.querySelector)if(a.addEventListener)d=!0;if(a.wp=a.wp||{},!a.wp.receiveEmbedMessage)if(a.wp.receiveEmbedMessage=function(c){var d=c.data;if(d)if(d.secret||d.message||d.value)if(!/[^a-zA-Z0-9]/.test(d.secret)){var e,f,g,h,i,j=b.querySelectorAll('iframe[data-secret="'+d.secret+'"]'),k=b.querySelectorAll('blockquote[data-secret="'+d.secret+'"]');for(e=0;e<k.length;e++)k[e].style.display="none";for(e=0;e<j.length;e++)if(f=j[e],c.source===f.contentWindow){if(f.removeAttribute("style"),"height"===d.message){if(g=parseInt(d.value,10),g>1e3)g=1e3;else if(~~g<200)g=200;f.height=g}if("link"===d.message)if(h=b.createElement("a"),i=b.createElement("a"),h.href=f.getAttribute("src"),i.href=d.value,i.host===h.host)if(b.activeElement===f)a.top.location.href=d.value}else;}},d)a.addEventListener("message",a.wp.receiveEmbedMessage,!1),b.addEventListener("DOMContentLoaded",c,!1),a.addEventListener("load",c,!1)}(window,document);
1696!function(e){var t=!0;e.flexslider=function(a,n){var i=e(a);"undefined"==typeof n.rtl&&"rtl"==e("html").attr("dir")&&(n.rtl=!0),i.vars=e.extend({},e.flexslider.defaults,n);var s,r=i.vars.namespace,o=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,l=("ontouchstart"in window||o||window.DocumentTouch&&document instanceof DocumentTouch)&&i.vars.touch,c="click touchend MSPointerUp",d="",u="vertical"===i.vars.direction,v=i.vars.reverse,p=i.vars.itemWidth>0,m="fade"===i.vars.animation,f=""!==i.vars.asNavFor,g={};e.data(a,"flexslider",i),g={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=e(i.vars.selector,i),i.container=e(i.containerSelector,i),i.count=i.slides.length,i.syncExists=e(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&&!m&&i.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return i.pfx=t[a].replace("Perspective","").toLowerCase(),i.prop="-"+i.pfx+"-transform",!0;return!1}(),i.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,i.ensureAnimationEnd="",""!==i.vars.controlsContainer&&(i.controlsContainer=e(i.vars.controlsContainer).length>
vendor: 21,770 bytes, line 1696
16960&&e(i.vars.controlsContainer)),""!==i.vars.manualControls&&(i.manualControls=e(i.vars.manualControls).length>0&&e(i.vars.manualControls)),""!==i.vars.customDirectionNav&&(i.customDirectionNav=2===e(i.vars.customDirectionNav).length&&e(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&&g.controlNav.setup(),i.vars.directionNav&&g.directionNav.setup(),i.vars.keyboard&&(1===e(i.containerSelector).length||i.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!i.animating&&(39===t||37===t)){var a=i.vars.rtl?37===t?i.getTarget("next"):39===t&&i.getTarget("prev"):39===t?i.getTarget("next"):37===t&&i.getTarget("prev");i.flexAnimate(a,i.vars.pauseOnAction)}}),i.vars.mousewheel&&i.bind("mousewheel",function(e,t,a,n){e.preventDefault();var s=t<0?i.getTarget("next"):i.getTarget("prev");i.flexAnimate(s,i.vars.pauseOnAction)}),i.vars.pausePlay&&g.pausePlay.setup(),i.vars.slideshow&&i.vars.pauseInvisible&&g.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&&g.pauseInvisible.isHidden()||(i.vars.initDelay>0?i.startTimeout=setTimeout(i.play,i.vars.initDelay):i.play())),f&&g.asNav.setup(),l&&i.vars.touch&&g.touch(),(!m||m&&i.vars.smoothHeight)&&e(window).on("resize orientationchange focus",g.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(r+"active-slide").eq(i.currentItem).addClass(r+"active-slide"),o?(a._slider=i,i.slides.each(function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var a=e(this),n=a.index();e(i.vars.asNavFor).data("flexslider").animating||a.hasClass("active")||(i.direction=i.currentItem<n?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction,!1,!0,!0))})})):i.slides.on(c,function(t){t.preventDefault();var a,n=e(this),s=n.index();a=i.vars.rtl?-1*(n.offset().right-e(i).scrollLeft()):n.offset().left-e(i).scrollLeft(),a<=0&&n.hasClass(r+"active-slide")?i.flexAnimate(i.getTarget("prev"),!0):e(i.vars.asNavFor).data("flexslider").animating||n.hasClass(r+"active-slide")||(i.direction=i.currentItem<s?"next":"prev",i.flexAnimate(s,i.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){i.manualControls?g.controlNav.setupManual():g.controlNav.setupPaging()},setupPaging:function(){var t,a,n="thumbnails"===i.vars.controlNav?"control-thumbs":"control-paging",s=1;if(i.controlNavScaffold=e('<ol class="'+r+"control-nav "+r+n+'"></ol>'),i.pagingCount>1)for(var o=0;o<i.pagingCount;o++){a=i.slides.eq(o),void 0===a.attr("data-thumb-alt")&&a.attr("data-thumb-alt","");var l=""!==a.attr("data-thumb-alt")?l=' alt="'+a.attr("data-thumb-alt")+'"':"";if(t="thumbnails"===i.vars.controlNav?'<img src="'+a.attr("data-thumb")+'"'+l+"/>":'<a href="#">'+s+"</a>","thumbnails"===i.vars.controlNav&&!0===i.vars.thumbCaptions){var u=a.attr("data-thumbcaption");""!==u&&void 0!==u&&(t+='<span class="'+r+'caption">'+u+"</span>")}i.controlNavScaffold.append("<li>"+t+"</li>"),s++}i.controlsContainer?e(i.controlsContainer).append(i.controlNavScaffold):i.append(i.controlNavScaffold),g.controlNav.set(),g.controlNav.active(),i.controlNavScaffold.delegate("a, img",c,function(t){if(t.preventDefault(),""===d||d===t.type){var a=e(this),n=i.controlNav.index(a);a.hasClass(r+"active")||(i.direction=n>i.currentSlide?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===d&&(d=t.type),g.setToClearWatchedEvent()})},setupManual:function(){i.controlNav=i.manualControls,g.controlNav.active(),i.controlNav.bind(c,function(t){if(t.preventDefault(),""===d||d===t.type){var a=e(this),n=i.controlNav.index(a);a.hasClass(r+"active")||(n>i.currentSlide?i.direction="next":i.direction="prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===d&&(d=t.type),g.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===i.vars.controlNav?"img":"a";i.controlNav=e("."+r+"control-nav li "+t,i.controlsContainer?i.controlsContainer:i)},active:function(){i.controlNav.removeClass(r+"active").eq(i.animatingTo).addClass(r+"active")},update:function(t,a){i.pagingCount>1&&"add"===t?i.controlNavScaffold.append(e('<li><a href="#"></a></li>')):1===i.pagingCount?i.controlNavScaffold.find("li").remove():i.controlNav.eq(a).closest("li").remove(),i.controlNavScaffold.find("li").each(function(t,a){e(a).find("a").text(t+1)}),g.controlNav.set(),i.pagingCount>1&&i.pagingCount!==i.controlNav.length?i.update(a,t):g.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+r+'direction-nav"><li class="'+r+'nav-prev"><a class="'+r+'prev" href="#">'+i.vars.prevText+'</a></li><li class="'+r+'nav-next"><a class="'+r+'next" href="#">'+i.vars.nextText+"</a></li></ul>");i.customDirectionNav?i.directionNav=i.customDirectionNav:i.controlsContainer?(e(i.controlsContainer).append(t),i.directionNav=e("."+r+"direction-nav li a",i.controlsContainer)):(i.append(t),i.directionNav=e("."+r+"direction-nav li a",i)),g.directionNav.update(),i.directionNav.bind(c,function(t){t.preventDefault();var a;""!==d&&d!==t.type||(a=e(this).hasClass(r+"next")?i.getTarget("next"):i.getTarget("prev"),i.flexAnimate(a,i.vars.pauseOnAction)),""===d&&(d=t.type),g.setToClearWatchedEvent()})},update:function(){var e=r+"disabled";1===i.pagingCount?i.directionNav.addClass(e).attr("tabindex","-1"):i.vars.animationLoop?i.directionNav.removeClass(e).removeAttr("tabindex"):0===i.animatingTo?i.directionNav.removeClass(e).filter("."+r+"prev").addClass(e).attr("tabindex","-1"):i.animatingTo===i.last?i.directionNav.removeClass(e).filter("."+r+"next").addClass(e).attr("tabindex","-1"):i.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+r+'pauseplay"><a href="#"></a></div>');i.controlsContainer?(i.controlsContainer.append(t),i.pausePlay=e("."+r+"pauseplay a",i.controlsContainer)):(i.append(t),i.pausePlay=e("."+r+"pauseplay a",i)),g.pausePlay.update(i.vars.slideshow?r+"pause":r+"play"),i.pausePlay.bind(c,function(t){t.preventDefault(),""!==d&&d!==t.type||(e(this).hasClass(r+"pause")?(i.manualPause=!0,i.manualPlay=!1,i.pause()):(i.manualPause=!1,i.manualPlay=!0,i.play())),""===d&&(d=t.type),g.setToClearWatchedEvent()})},update:function(e){"play"===e?i.pausePlay.removeClass(r+"pause").addClass(r+"play").html(i.vars.playText):i.pausePlay.removeClass(r+"play").addClass(r+"pause").html(i.vars.pauseText)}},touch:function(){function e(e){e.stopPropagation(),i.animating?e.preventDefault():(i.pause(),a._gesture.addPointer(e.pointerId),b=0,c=u?i.h:i.w,f=Number(new Date),l=p&&v&&i.animatingTo===i.last?0:p&&v?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:v?(i.last-i.currentSlide+i.cloneOffset)*c:(i.currentSlide+i.cloneOffset)*c)}function t(e){e.stopPropagation();var t=e.target._slider;if(t){var n=-e.translationX,i=-e.translationY;return b+=u?i:n,d=(t.vars.rtl?-1:1)*b,x=u?Math.abs(b)<Math.abs(-n):Math.abs(b)<Math.abs(-i),e.detail===e.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){a._gesture.stop()}):void((!x||Number(new Date)-f>500)&&(e.preventDefault(),!m&&t.transitions&&(t.vars.animationLoop||(d=b/(0===t.currentSlide&&b<0||t.currentSlide===t.last&&b>0?Math.abs(b)/c+2:1)),t.setProps(l+d,"setTouch"))))}}function n(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!x&&null!==d){var a=v?-d:d,n=a>0?t.getTarget("next"):t.getTarget("prev");t.canAdvance(n)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>c/2)?t.flexAnimate(n,t.vars.pauseOnAction):m||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}d&&x?t.vars.slideshow&&t.play():d?!t.vars.pauseOnAction&&t.play()||(t.vars.slideshow=!1):t.vars.slideshow&&!t.vars.pauseOnAction&&t.play()||(t.vars.slideshow=!1),s=null,r=null,d=null,l=null,b=0}}var s,r,l,c,d,f,g,h,S,x=!1,y=0,w=0,b=0;o?(a.style.msTouchAction="none",a._gesture=new MSGesture,a._gesture.target=a,a.addEventListener("MSPointerDown",e,!1),a._slider=i,a.addEventListener("MSGestureChange",t,!1),a.addEventListener("MSGestureEnd",n,!1)):(g=function(e){i.animating?e.preventDefault():(window.navigator.msPointerEnabled||1===e.touches.length)&&(i.pause(),c=u?i.h:i.w,f=Number(new Date),y=e.touches[0].pageX,w=e.touches[0].pageY,l=p&&v&&i.animatingTo===i.last?0:p&&v?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:v?(i.last-i.currentSlide+i.cloneOffset)*c:(i.currentSlide+i.cloneOffset)*c,s=u?w:y,r=u?y:w,a.addEventListener("touchmove",h,!1),a.addEventListener("touchend",S,!1))},h=function(e){y=e.touches[0].pageX,w=e.touches[0].pageY,d=u?s-w:(i.vars.rtl?-1:1)*(s-y),x=u?Math.abs(d)<Math.abs(y-r):Math.abs(d)<Math.abs(w-r);var t=500;(!x||Number(new Date)-f>t)&&(e.preventDefault(),!m&&i.transitions&&(i.vars.animationLoop||(d/=0===i.currentSlide&&d<0||i.currentSlide===i.last&&d>0?Math.abs(d)/c+2:1),i.setProps(l+d,"setTouch")))},S=function(e){if(a.removeEventListener("touchmove",h,!1),i.animatingTo===i.currentSlide&&!x&&null!==d){var t=v?-d:d,n=t>0?i.getTarget("next"):i.getTarget("prev");i.canAdvance(n)&&(Number(new Date)-f<550&&Math.abs(t)>50||Math.abs(t)>c/2)?i.flexAnimate(n,i.vars.pauseOnAction):m||i.flexAnimate(i.currentSlide,i.vars.pauseOnAction,!0)}a.removeEventListener("touchend",S,!1),d&&x?i.vars.slideshow&&i.play():d?!i.vars.pauseOnAction&&i.play()||(i.vars.slideshow=!1):i.vars.slideshow&&!i.vars.pauseOnAction&&i.play()||(i.vars.slideshow=!1),s=null,r=null,d=null,l=null},a.addEventListener("touchstart",g,!1))},resize:function(){!i.animating&&i.is(":visible")&&(p||i.doMath(),m?g.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&&g.smoothHeight(),i.newSlides.width(i.computedW),i.setProps(i.computedW,"setTotal")))},smoothHeight:function(e){if(!u||m){var t=m?i:i.viewport;e?t.animate({height:i.slides.eq(i.animatingTo).innerHeight()},e):t.innerHeight(i.slides.eq(i.animatingTo).innerHeight())}},sync:function(t){var a=e(i.vars.sync).data("flexslider"),n=i.animatingTo;switch(t){case"animate":a.flexAnimate(n,i.vars.pauseOnAction,!1,!0);break;case"play":a.playing||a.asNav||a.play();break;case"pause":a.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var e=g.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){g.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 e=g.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(s),s=setTimeout(function(){d=""},3e3)}},i.flexAnimate=function(t,a,n,s,o){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,o)||n)&&i.is(":visible")){if(f&&s){var c=e(i.vars.asNavFor).data("flexslider");if(i.atEnd=0===t||t===i.count-1,c.flexAnimate(t,!0,!1,!0,o),i.direction=i.currentItem<t?"next":"prev",c.direction=i.direction,Math.ceil((t+1)/i.visible)-1===i.currentSlide||0===t)return i.currentItem=t,i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),!1;i.currentItem=t,i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),t=Math.floor(t/i.visible)}if(i.animating=!0,i.animatingTo=t,a&&i.pause(),i.vars.before(i),i.syncExists&&!o&&g.sync("animate"),i.vars.controlNav&&g.controlNav.active(),p||i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),i.atEnd=0===t||t===i.last,i.vars.directionNav&&g.directionNav.update(),t===i.last&&(i.vars.end(i),i.vars.animationLoop||i.pause()),m)l?(i.slides.eq(i.currentSlide).css({opacity:0,zIndex:1}),i.slides.eq(t).css({opacity:1,zIndex:2}),i.wrapup(x)):(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 d,h,S,x=u?i.slides.filter(":first").height():i.computedW;p?(d=i.vars.itemMargin,S=(i.itemW+d)*i.move*i.animatingTo,h=S>i.limit&&1!==i.visible?i.limit:S):h=0===i.currentSlide&&t===i.count-1&&i.vars.animationLoop&&"next"!==i.direction?v?(i.count+i.cloneOffset)*x:0:i.currentSlide===i.last&&0===t&&i.vars.animationLoop&&"prev"!==i.direction?v?0:(i.count+1)*x:v?(i.count-1-t+i.cloneOffset)*x:(t+i.cloneOffset)*x,i.setProps(h,"",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(x)}),clearTimeout(i.ensureAnimationEnd),i.ensureAnimationEnd=setTimeout(function(){i.wrapup(x)},i.vars.animationSpeed+100)):i.container.animate(i.args,i.vars.animationSpeed,i.vars.easing,function(){i.wrapup(x)})}i.vars.smoothHeight&&g.smoothHeight(i.vars.animationSpeed)}},i.wrapup=function(e){m||p||(0===i.currentSlide&&i.animatingTo===i.last&&i.vars.animationLoop?i.setProps(e,"jumpEnd"):i.currentSlide===i.last&&0===i.animatingTo&&i.vars.animationLoop&&i.setProps(e,"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&&g.pausePlay.update("play"),i.syncExists&&g.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&&g.pausePlay.update("pause"),i.syncExists&&g.sync("play")},i.stop=function(){i.pause(),i.stopped=!0},i.canAdvance=function(e,t){var a=f?i.pagingCount-1:i.last;return!!t||(!(!f||i.currentItem!==i.count-1||0!==e||"prev"!==i.direction)||(!f||0!==i.currentItem||e!==i.pagingCount-1||"next"===i.direction)&&(!(e===i.currentSlide&&!f)&&(!!i.vars.animationLoop||(!i.atEnd||0!==i.currentSlide||e!==a||"next"===i.direction)&&(!i.atEnd||i.currentSlide!==a||0!==e||"next"!==i.direction))))},i.getTarget=function(e){return i.direction=e,"next"===e?i.currentSlide===i.last?0:i.currentSlide+1:0===i.currentSlide?i.last:i.currentSlide-1},i.setProps=function(e,t,a){var n=function(){var a=e?e:(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo,n=function(){if(p)return"setTouch"===t?e:v&&i.animatingTo===i.last?0:v?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:i.animatingTo===i.last?i.limit:a;switch(t){case"setTotal":return v?(i.count-1-i.currentSlide+i.cloneOffset)*e:(i.currentSlide+i.cloneOffset)*e;case"setTouch":return v?e:e;case"jumpEnd":return v?e:i.count*e;case"jumpStart":return v?i.count*e:e;default:return e}}();return n*(i.vars.rtl?1:-1)+"px"}();i.transitions&&(n=i.isFirefox?u?"translate3d(0,"+n+",0)":"translate3d("+(parseInt(n)+"px")+",0,0)":u?"translate3d(0,"+n+",0)":"translate3d("+((i.vars.rtl?-1:1)*parseInt(n)+"px")+",0,0)",a=void 0!==a?a/1e3+"s":"0s",i.container.css("-"+i.pfx+"-transition-duration",a),i.container.css("transition-duration",a)),i.args[i.prop]=n,(i.transitions||void 0===a)&&i.container.css(i.args),i.container.css("transform",n)},i.setup=function(t){if(m)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&&(l?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&&g.smoothHeight();else{var a,n;"init"===t&&(i.viewport=e('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(i).append(i.container),i.cloneCount=0,i.cloneOffset=0,v&&(n=e.makeArray(i.slides).reverse(),i.slides=e(n),i.container.empty().append(i.slides))),i.vars.animationLoop&&!p&&(i.doMath(),i.slides.css({width:i.computedW,marginRight:i.computedM,"float":"left",display:"block"}),i.cloneCount=2,i.cloneOffset=1,"init"!==t&&i.container.find(".clone").remove(),i.container.append(g.uniqueID(i.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(g.uniqueID(i.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),i.newSlides=e(i.vars.selector,i),a=v?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(a*i.h,"init")},"init"===t?100:0)):(i.container.width(200*(i.count+i.cloneCount)+"%"),i.setProps(a*i.computedW,"init"),setTimeout(function(){i.doMath(),i.vars.rtl&&i.isFirefox?i.newSlides.css({width:i.computedW,marginRight:i.computedM,"float":"right",display:"block"}):i.newSlides.css({width:i.computedW,marginRight:i.computedM,"float":"left",display:"block"}),i.vars.smoothHeight&&g.smoothHeight()},"init"===t?100:0))}p||i.slides.removeClass(r+"active-slide").eq(i.currentSlide).addClass(r+"active-slide"),i.vars.init(i)},i.doMath=function(){var e=i.slides.first(),t=i.vars.itemMargin,a=i.vars.minItems,n=i.vars.maxItems;i.w=void 0===i.viewport?i.width():i.viewport.width(),i.isFirefox&&(i.w=i.width()),i.h=e.height(),i.boxPadding=e.outerWidth()-e.width(),p?(i.itemT=i.vars.itemWidth+t,i.itemM=t,i.minW=a?a*i.itemT:i.w,i.maxW=n?n*i.itemT-t:i.w,i.itemW=i.minW>i.w?(i.w-t*(a-1))/a:i.maxW<i.w?(i.w-t*(n-1))/n: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)+t*(i.count-1):(i.itemW+t)*i.count-i.w-t):(i.itemW=i.w,i.itemM=t,i.pagingCount=i.count,i.last=i.count-1),i.computedW=i.itemW-i.boxPadding,i.computedM=i.itemM},i.update=function(e,t){i.doMath(),p||(e<i.currentSlide?i.currentSlide+=1:e<=i.currentSlide&&0!==e&&(i.currentSlide-=1),i.animatingTo=i.currentSlide),i.vars.controlNav&&!i.manualControls&&("add"===t&&!p||i.pagingCount>i.controlNav.length?g.controlNav.update("add"):("remove"===t&&!p||i.pagingCount<i.controlNav.length)&&(p&&i.currentSlide>i.last&&(i.currentSlide-=1,i.animatingTo-=1),g.controlNav.update("remove",i.last))),i.vars.directionNav&&g.directionNav.update()},i.addSlide=function(t,a){var n=e(t);i.count+=1,i.last=i.count-1,u&&v?void 0!==a?i.slides.eq(i.count-a).after(n):i.container.prepend(n):void 0!==a?i.slides.eq(a).before(n):i.container.append(n),i.update(a,"add"),i.slides=e(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.added(i)},i.removeSlide=function(t){var a=isNaN(t)?i.slides.index(e(t)):t;i.count-=1,i.last=i.count-1,isNaN(t)?e(t,i.slides).remove():u&&v?i.slides.eq(i.last).remove():i.slides.eq(t).remove(),i.doMath(),i.update(a,"remove"),i.slides=e(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.removed(i)},g.init()},e(window).blur(function(e){t=!1}).focus(function(e){t=!0}),e.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,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var a=e(this),n=t.selector?t.selector:".slides > li",i=a.find(n);1===i.length&&t.allowOneSlide===!1||0===i.length?(i.fadeIn(400),t.start&&t.start(a)):void 0===a.data("flexslider")&&new e.flexslider(this,t)});var a=e(this).data("flexslider");switch(t){case"play":a.play();break;case"pause":a.pause();break;case"stop":a.stop();break;case"next":a.flexAnimate(a.getTarget("next"),!0);break;case"prev":case"previous":a.flexAnimate(a.getTarget("prev"),!0);break;default:"number"==typeof t&&a.flexAnimate(t,!0)}}}(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.