// source --> https://www.viagioengine.com/wp-content/cache/autoptimize/js/autoptimize_1ae43dda27b48c474ef20b7d9df249cf.js try{/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */ !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=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;d0&&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*new 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+~]|"+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}function 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.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);var 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)},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=0;)a.push(d);return a}),gt:ma(function(a,b,c){for(var d=c<0?c+b:c;++d1?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-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}];i1&&ra(m),i>1&&pa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,i0,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.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="",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;b1?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-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-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);b0||(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 ;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
a",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="",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,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:l.htmlSerialize?[0,"",""]:[1,"X
","
"]};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=/"!==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-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]","i"),ua=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,va=/\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;d1&&"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")},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")).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="
t
",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=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({ margin:"",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;g1)},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
a",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-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)};if(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}).done(function(a){f=arguments,g.html(d?n("
").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") ;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}); jQuery.noConflict();}catch(e){} try{/*! jQuery Migrate v1.4.1 | (c) jQuery Foundation and other contributors | jquery.org/license */ "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("",{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*)([^>]*)$/;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(a.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;g0&&this.main_link.hasClass('cli-minimize-bar')) {this.hideHeader();this.showagain_elm.slideDown(this.settings.animate_speed_show);return true;} return false;},attachEvents:function() {jQuery('.cli_action_button').click(function(e){e.preventDefault();var elm=jQuery(this);var button_action=elm.attr('data-cli_action');var open_link=elm[0].hasAttribute("href")&&elm.attr("href")!='#'?true:false;var new_window=false;if(button_action=='accept') {CLI.accept_close();new_window=CLI.settings.button_1_new_win?true:false;}else if(button_action=='reject') {CLI.reject_close();new_window=CLI.settings.button_3_new_win?true:false;} if(open_link) {if(new_window) {window.open(elm.attr("href"),'_blank');}else {window.location.href=elm.attr("href");}}});this.settingsPopUp();this.settingsTabbedAccordion();this.toggleUserPreferenceCheckBox();},toggleUserPreferenceCheckBox:function() {jQuery('.cli-user-preference-checkbox').each(function(){if(jQuery(this).is(':checked')) {CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'yes',CLI_ACCEPT_COOKIE_EXPIRE);}else {CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'no',CLI_ACCEPT_COOKIE_EXPIRE);}});jQuery('.cli-user-preference-checkbox').click(function(){if(jQuery(this).is(':checked')) {CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'yes',CLI_ACCEPT_COOKIE_EXPIRE);}else {CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'no',CLI_ACCEPT_COOKIE_EXPIRE);}});},settingsPopUp:function() {jQuery('.cli_settings_button').click(function(e){e.preventDefault();jQuery('#cliSettingsPopup').addClass("cli-show").css({'opacity':0}).animate({'opacity':1});jQuery('#cliSettingsPopup').removeClass('cli-blowup cli-out').addClass("cli-blowup");jQuery('body').addClass("cli-modal-open");jQuery(".cli-settings-overlay").addClass("cli-show");jQuery("#cookie-law-info-bar").css({'opacity':.1});if(!jQuery('.cli-settings-mobile').is(':visible')) {jQuery('#cliSettingsPopup').find('.cli-nav-link:eq(0)').click();}});jQuery('#cliModalClose').click(function(){CLI.settingsPopUpClose();});jQuery("#cliSettingsPopup").click(function(e){if(!(document.getElementsByClassName('cli-modal-dialog')[0].contains(e.target))) {CLI.settingsPopUpClose();}});jQuery('.cli_enable_all_btn').click(function(){var cli_toggle_btn=jQuery(this);var enable_text=cli_toggle_btn.attr('data-enable-text');var disable_text=cli_toggle_btn.attr('data-disable-text');if(cli_toggle_btn.hasClass('cli-enabled')){CLI.disableAllCookies();cli_toggle_btn.html(enable_text);} else {CLI.enableAllCookies();cli_toggle_btn.html(disable_text);} jQuery(this).toggleClass('cli-enabled');});this.privacyReadmore();},settingsTabbedAccordion:function() {jQuery(".cli-tab-header").on("click",function(e){if(!(jQuery(e.target).hasClass('cli-slider')||jQuery(e.target).hasClass('cli-user-preference-checkbox'))) {if(jQuery(this).hasClass("cli-tab-active")){jQuery(this).removeClass("cli-tab-active");jQuery(this).siblings(".cli-tab-content").slideUp(200);}else{jQuery(".cli-tab-header").removeClass("cli-tab-active");jQuery(this).addClass("cli-tab-active");jQuery(".cli-tab-content").slideUp(200);jQuery(this).siblings(".cli-tab-content").slideDown(200);}}});},settingsPopUpClose:function() {jQuery('#cliSettingsPopup').removeClass('cli-show');jQuery('#cliSettingsPopup').addClass('cli-out');jQuery('body').removeClass("cli-modal-open");jQuery(".cli-settings-overlay").removeClass("cli-show");jQuery("#cookie-law-info-bar").css({'opacity':1});},privacyReadmore:function() {var el=jQuery('.cli-privacy-content .cli-privacy-content-text'),clone=el.clone(),originalHtml=clone.html(),originalHeight=el.outerHeight(),Trunc={addReadmore:function(textBlock) {if(textBlock.html().length>250) {jQuery('.cli-privacy-readmore').show();} else {jQuery('.cli-privacy-readmore').hide();}},truncateText:function(textBlock){var strippedText=jQuery('
').html(textBlock.html());strippedText.find('table').remove();textBlock.html(strippedText.html());while(textBlock.text().length>250) {textBlock.text(function(index,text){return text.replace(/\W*\s(\S)*$/,'...');});}},replaceText:function(textBlock,original){return textBlock.html(original);}};Trunc.addReadmore(el);Trunc.truncateText(el);jQuery('a.cli-privacy-readmore').click(function(e){e.preventDefault();if(jQuery('.cli-privacy-overview').hasClass('cli-collapsed')) {Trunc.truncateText(el);jQuery('.cli-privacy-overview').removeClass('cli-collapsed');el.css('height','100%');} else {jQuery('.cli-privacy-overview').addClass('cli-collapsed');Trunc.replaceText(el,originalHtml);}});},attachDelete:function() {this.delete_link.click(function(){CLI_Cookie.erase(CLI_ACCEPT_COOKIE_NAME);for(var k in Cli_Data.nn_cookie_ids) {CLI_Cookie.erase(Cli_Data.nn_cookie_ids[k]);} return false;});},configButtons:function() {this.main_button.css('color',this.settings.button_1_link_colour);if(this.settings.button_1_as_button) {this.main_button.css('background-color',this.settings.button_1_button_colour);this.main_button.hover(function(){jQuery(this).css('background-color',CLI.settings.button_1_button_hover);},function(){jQuery(this).css('background-color',CLI.settings.button_1_button_colour);});} this.main_link.css('color',this.settings.button_2_link_colour);if(this.settings.button_2_as_button) {this.main_link.css('background-color',this.settings.button_2_button_colour);this.main_link.hover(function(){jQuery(this).css('background-color',CLI.settings.button_2_button_hover);},function(){jQuery(this).css('background-color',CLI.settings.button_2_button_colour);});} this.reject_link.css('color',this.settings.button_3_link_colour);if(this.settings.button_3_as_button) {this.reject_link.css('background-color',this.settings.button_3_button_colour);this.reject_link.hover(function(){jQuery(this).css('background-color',CLI.settings.button_3_button_hover);},function(){jQuery(this).css('background-color',CLI.settings.button_3_button_colour);});} this.settings_button.css('color',this.settings.button_4_link_colour);if(this.settings.button_4_as_button) {this.settings_button.css('background-color',this.settings.button_4_button_colour);this.settings_button.hover(function(){jQuery(this).css('background-color',CLI.settings.button_4_button_hover);},function(){jQuery(this).css('background-color',CLI.settings.button_4_button_colour);});}},toggleBar:function() {if(CLI_COOKIEBAR_AS_POPUP) {this.barAsPopUp(1);} if(CLI.settings.cookie_bar_as=='widget') {this.barAsWidget(1);} if(!CLI_Cookie.exists(CLI_ACCEPT_COOKIE_NAME)) {this.displayHeader();}else {this.hideHeader();} if(this.settings.show_once_yn) {setTimeout(function(){CLI.close_header();},CLI.settings.show_once);} this.showagain_elm.click(function(e){e.preventDefault();CLI.showagain_elm.slideUp(CLI.settings.animate_speed_hide,function() {CLI.bar_elm.slideDown(CLI.settings.animate_speed_show);if(CLI_COOKIEBAR_AS_POPUP) {CLI.showPopupOverlay();}});});},configShowAgain:function() {this.showagain_config={'background-color':this.settings.background,'color':this.l1hs(this.settings.text),'position':'fixed','font-family':this.settings.font_family};if(this.settings.border_on) {var border_to_hide='border-'+this.settings.notify_position_vertical;this.showagain_config['border']='1px solid '+this.l1hs(this.settings.border);this.showagain_config[border_to_hide]='none';} var cli_win=jQuery(window);var cli_winw=cli_win.width();var showagain_x_pos=this.settings.showagain_x_position;if(cli_winw<300) {showagain_x_pos=10;this.showagain_config.width=cli_winw-20;}else {this.showagain_config.width='auto';} var cli_defw=cli_winw>400?500:cli_winw-20;if(CLI_COOKIEBAR_AS_POPUP) {var sa_pos=this.settings.popup_showagain_position;var sa_pos_arr=sa_pos.split('-');if(sa_pos_arr[1]=='left') {this.showagain_config.left=showagain_x_pos;}else if(sa_pos_arr[1]=='right') {this.showagain_config.right=showagain_x_pos;} if(sa_pos_arr[0]=='top') {this.showagain_config.top=0;}else if(sa_pos_arr[0]=='bottom') {this.showagain_config.bottom=0;} this.bar_config['position']='fixed';}else if(this.settings.cookie_bar_as=='widget') {this.showagain_config.bottom=0;if(this.settings.widget_position=='left') {this.showagain_config.left=showagain_x_pos;}else if(this.settings.widget_position=='right') {this.showagain_config.right=showagain_x_pos;}} else {if(this.settings.notify_position_vertical=="top") {this.showagain_config.top='0';} else if(this.settings.notify_position_vertical=="bottom") {this.bar_config['position']='fixed';this.bar_config['bottom']='0';this.showagain_config.bottom='0';} if(this.settings.notify_position_horizontal=="left") {this.showagain_config.left=showagain_x_pos;}else if(this.settings.notify_position_horizontal=="right") {this.showagain_config.right=showagain_x_pos;}} this.showagain_elm.css(this.showagain_config);},configBar:function() {this.bar_config={'background-color':this.settings.background,'color':this.settings.text,'font-family':this.settings.font_family};if(this.settings.notify_position_vertical=="top") {this.bar_config['top']='0';if(this.settings.header_fix===true) {this.bar_config['position']='fixed';}}else {this.bar_config['bottom']='0';} this.configShowAgain();this.bar_elm.css(this.bar_config).hide();},l1hs:function(str) {if(str.charAt(0)=="#"){str=str.substring(1,str.length);}else{return"#"+str;} return this.l1hs(str);},close_header:function() {CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'yes',CLI_ACCEPT_COOKIE_EXPIRE);this.hideHeader();},accept_close:function() {this.hidePopupOverlay();CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'yes',CLI_ACCEPT_COOKIE_EXPIRE);if(this.settings.notify_animate_hide) {this.bar_elm.slideUp(this.settings.animate_speed_hide);}else {this.bar_elm.hide();} if(this.settings.showagain_tab) {this.showagain_elm.slideDown(this.settings.animate_speed_show);} if(this.settings.accept_close_reload===true) {this.reload_current_page();} return false;},reject_close:function() {this.hidePopupOverlay();for(var k in Cli_Data.nn_cookie_ids) {CLI_Cookie.erase(Cli_Data.nn_cookie_ids[k]);} CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'no',CLI_ACCEPT_COOKIE_EXPIRE);if(this.settings.notify_animate_hide) {this.bar_elm.slideUp(this.settings.animate_speed_hide);}else {this.bar_elm.hide();} if(this.settings.showagain_tab) {this.showagain_elm.slideDown(this.settings.animate_speed_show);} if(this.settings.reject_close_reload===true) {this.reload_current_page();} return false;},reload_current_page:function() {if(typeof cli_flush_cache!=='undefined'&&cli_flush_cache==1) {window.location.href=this.add_clear_cache_url_query();}else {window.location.reload(true);}},add_clear_cache_url_query:function() {var cli_rand=new Date().getTime()/1000;var cli_url=window.location.href;var cli_hash_arr=cli_url.split('#');var cli_urlparts=cli_hash_arr[0].split('?');if(cli_urlparts.length>=2) {var cli_url_arr=cli_urlparts[1].split('&');cli_url_temp_arr=new Array();for(var cli_i=0;cli_i0?'&':'')+'cli_action=';}else {cli_url=cli_hash_arr[0]+'?cli_action=';} cli_url+=cli_rand;if(cli_hash_arr.length>1) {cli_url+='#'+cli_hash_arr[1];} return cli_url;},closeOnScroll:function() {if(window.pageYOffset>100&&!CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)) {CLI.accept_close();if(CLI.settings.scroll_close_reload===true) {window.location.reload();} window.removeEventListener("scroll",CLI.closeOnScroll,false);}},displayHeader:function() {if(this.settings.notify_animate_show) {this.bar_elm.slideDown(this.settings.animate_speed_show);}else {this.bar_elm.show();} this.showagain_elm.hide();if(CLI_COOKIEBAR_AS_POPUP) {this.showPopupOverlay();}},hideHeader:function() {if(this.settings.showagain_tab) {if(this.settings.notify_animate_show) {this.showagain_elm.slideDown(this.settings.animate_speed_show);}else{this.showagain_elm.show();}}else {this.showagain_elm.hide();} this.bar_elm.slideUp(this.settings.animate_speed_show);this.hidePopupOverlay();},hidePopupOverlay:function() {jQuery('body').removeClass("cli-barmodal-open");jQuery(".cli-popupbar-overlay").removeClass("cli-show");},showPopupOverlay:function() {if(this.settings.popup_overlay) {jQuery('body').addClass("cli-barmodal-open");jQuery(".cli-popupbar-overlay").addClass("cli-show");}},barAsWidget:function(a) {var cli_elm=this.bar_elm;var cli_win=jQuery(window);var cli_winh=cli_win.height()-40;var cli_winw=cli_win.width();var cli_defw=cli_winw>400?300:cli_winw-30;cli_elm.css({'width':cli_defw,'height':'auto','max-height':cli_winh,'padding':'25px 15px','overflow':'auto','position':'fixed','box-sizing':'border-box'});if(this.settings.widget_position=='left') {cli_elm.css({'left':'15px','right':'auto','bottom':'15px','top':'auto'});}else {cli_elm.css({'left':'auto','right':'15px','bottom':'15px','top':'auto'});} if(a) {this.setResize();}},barAsPopUp:function(a) {if(typeof cookie_law_info_bar_as_popup==='function') {return false;} var cli_elm=this.bar_elm;var cli_win=jQuery(window);var cli_winh=cli_win.height()-40;var cli_winw=cli_win.width();var cli_defw=cli_winw>700?500:cli_winw-20;cli_elm.css({'width':cli_defw,'height':'auto','max-height':cli_winh,'bottom':'','top':'50%','left':'50%','margin-left':(cli_defw/2)*-1,'margin-top':'-100px','padding':'25px 15px','overflow':'auto'}).addClass('cli-bar-popup cli-modal-content');cli_h=cli_elm.height();li_h=cli_h<200?200:cli_h;cli_elm.css({'top':'50%','margin-top':((cli_h/2)+30)*-1});setTimeout(function(){cli_elm.css({'bottom':''});},100);if(a) {this.setResize();}},setResize:function() {var resizeTmr=null;jQuery(window).resize(function(){clearTimeout(resizeTmr);resizeTmr=setTimeout(function() {if(CLI_COOKIEBAR_AS_POPUP) {CLI.barAsPopUp();} if(CLI.settings.cookie_bar_as=='widget') {CLI.barAsWidget();} CLI.configShowAgain();},500);});}} jQuery(document).ready(function(){if(typeof cli_cookiebar_settings!='undefined') {CLI.set({settings:cli_cookiebar_settings});}});}catch(e){} try{function 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;a1e3){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");(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),N2D("GSAP",function(t,e){var i,r,n=this;return n.document=window.document,n.navigator=window.navigator,n.console=window.console,n.SVGElement=window.SVGElement,n.chrome=window.chrome,n.getComputedStyle=function(){return window.getComputedStyle.apply(window,arguments)},n._gsQueue=[],n._gsQueue.push(function(){"use strict";n._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,r,s,a=n.GreenSockGlobals||n,o=a.com.greensock,l=2*Math.PI,h=Math.PI/2,u=o._class,p=function(e,i){var r=u("easing."+e,function(){},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},f=t.register||function(){},c=function(t,e,i,r,n){var s=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return f(s,t),s},_=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},d=function(e,i){var r=u("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},m=c("Back",d("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),d("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),g=u("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),v=g.prototype=new t;return v.constructor=g,v.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},g.ease=new g(.7,.7),v.config=g.config=function(t,e,i){return new g(t,e,i)},e=u("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0),v=e.prototype=new t,v.constructor=e,v.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=e.config=function(t,i){return new e(t,i)},i=u("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0),v=i.prototype=new t,v.constructor=i,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=i.config=function(t,e,r){return new i(t,e,r)},r=u("easing.RoughEase",function(e){e=e||{};for(var i,r,n,s,a,o,l=e.taper||"none",h=[],u=0,p=0|(e.points||20),f=p,c=e.randomize!==!1,d=e.clamp===!0,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=c?Math.random():1/p*f,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?(s=1-i,n=s*s*g):"in"===l?n=i*i*g:.5>i?(s=2*i,n=s*s*.5*g):(s=2*(1-i),n=s*s*.5*g),c?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,d&&(r>1?r=1:0>r&&(r=0)),h[u++]={x:i,y:r};for(h.sort(function(t,e){return t.x-e.x}),o=new _(1,1,null),f=p;--f>-1;)a=h[f],o=new _(a.x,a.y,o);this._prev=new _(0,0,0!==o.t?o:o.next)},!0),v=r.prototype=new t,v.constructor=r,v.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},v.config=function(t){return new r(t)},r.ease=new r,c("Bounce",p("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),p("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),p("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),c("Circ",p("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),p("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),p("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),s=function(e,i,r){var n=u("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/l*(Math.asin(1/this._p1)||0),this._p2=l/this._p2},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},c("Elastic",s("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),s("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2))},.3),s("ElasticInOut",function(t){return(t*=2)<1?-.5*(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),c("Expo",p("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),p("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),p("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),c("Sine",p("SineOut",function(t){return Math.sin(t*h)}),p("SineIn",function(t){return-Math.cos(t*h)+1}),p("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),f(a.SlowMo,"SlowMo","ease,"),f(r,"RoughEase","ease,"),f(e,"SteppedEase","ease,"),m},!0)}),n._gsDefine&&n._gsQueue.pop()(),n._gsQueue.push(function(){"use strict";n._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,s,a,o=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},l=n._gsDefine.globals,h={},u=o.prototype=new t("css");u.constructor=o,o.version="2.1.3",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,u="px",o.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var p,f,c,_,d,m,g,v,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,x=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,P=/(?:\d|\-|\+|=|#|\.)*/g,O=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,C=/alpha\(opacity *=.+?\)/i,A=/^(rgb|hsl)/,k=/([A-Z])/g,M=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,N=function(t,e){return e.toUpperCase()},F=/(?:Left|Right|Width)/i,D=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,X=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,E=/[\s,\(]/i,I=Math.PI/180,L=180/Math.PI,B={},Y={style:{}},j=n.document||{createElement:function(){return Y}},V=function(t,e){var i=j.createElementNS?j.createElementNS(e||"http://www.w3.org/1999/xhtml",t):j.createElement(t);return i.style?i:j.createElement(t)},W=V("div"),G=V("img"),U=o._internals={_specialProps:h},q=(n.navigator||{}).userAgent||"",H=function(){var t=q.indexOf("Android"),e=V("a");return c=-1!==q.indexOf("Safari")&&-1===q.indexOf("Chrome")&&(-1===t||parseFloat(q.substr(t+8,2))>3),d=c&&parseFloat(q.substr(q.indexOf("Version/")+8,2))<6,_=-1!==q.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(q)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(q))&&(m=parseFloat(RegExp.$1)),e?(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity)):!1}(),Z=function(t){return O.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Q=function(t){n.console&&console.log(t)},$="",K="",J=function(t,e){e=e||W;var i,r,n=e.style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(K=3===r?"ms":i[r],$="-"+K.toLowerCase()+"-",K+t):null},tt="undefined"!=typeof window?window:j.defaultView||{getComputedStyle:function(){}},et=function(t){return tt.getComputedStyle(t)},it=o.getStyle=function(t,e,i,r,n){var s;return H||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||et(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(k,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):Z(t)},rt=U.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var a,l,h,u=F.test(i),p=t,f=W.style,c=0>r,_=1===r;if(c&&(r=-r),_&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))a=r/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+it(t,"position")+";line-height:0;","%"!==n&&p.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[u?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(p=t.parentNode||j.body,-1!==it(p,"display").indexOf("flex")&&(f.position="absolute"),l=p._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*r/100;f[u?"width":"height"]=r+n}p.appendChild(W),a=parseFloat(W[u?"offsetWidth":"offsetHeight"]),p.removeChild(W),u&&"%"===n&&o.cacheWidths!==!1&&(l=p._gsCache=p._gsCache||{},l.time=h,l.width=a/r*100),0!==a||s||(a=rt(t,i,r,n,!0))}else l=et(t).lineHeight,t.style.lineHeight=r,a=parseFloat(et(t).lineHeight),t.style.lineHeight=l;return _&&(a/=100),c?-a:a},nt=U.calculateOffset=function(t,e,i){if("absolute"!==it(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=it(t,"margin"+r,i);return t["offset"+r]-(rt(t,e,parseFloat(n),n.replace(P,""))||0)},st=function(t,e){var i,r,n,s={};if(e=e||et(t,null))if(i=e.length)for(;--i>-1;)n=e[i],(-1===n.indexOf("-transform")||Nt===n)&&(s[n.replace(M,N)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||Rt===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(M,N)]=e[i]);return H||(s.opacity=Z(t)),r=Ut(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Dt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},at=function(t,e,i,r,n){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[a]||""===e[a].replace(b,"")?s:0:nt(t,a),void 0!==h[a]&&(o=new Tt(h,a,h[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},ot={width:["Left","Right"],height:["Top","Bottom"]},lt=["marginLeft","marginRight","marginTop","marginBottom"],ht=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||et(t))[e]||0;if(t.getCTM&&Vt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=ot[e],s=n.length;for(i=i||et(t,null);--s>-1;)r-=parseFloat(it(t,"padding"+n[s],i,!0))||0,r-=parseFloat(it(t,"border"+n[s]+"Width",i,!0))||0;return r},ut=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i2?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(b,"")),e.oy=parseFloat(s.replace(b,"")),e.v=t),e||t},pt=function(t,e){return"function"==typeof t&&(t=t(v,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ft=function(t,e){"function"==typeof t&&(t=t(v,g));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ct=function(t,e,i,r){var n,s,a,o,l,h=1e-6;return"function"==typeof t&&(t=t(v,g)),null==t?o=e:"number"==typeof t?o=t:(n=360,s=t.split("_"),l="="===t.charAt(1),a=(l?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:L)-(l?0:e),s.length&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&(a%=n,a!==a%(n/2)&&(a=0>a?a+n:a-n)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*n)%n-(a/n|0)*n:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*n)%n-(a/n|0)*n)),o=e+a),h>o&&o>-h&&(o=0),o},_t={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,255*(1>6*t?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},mt=o.parseColor=function(t,e){var i,r,n,s,a,o,l,h,u,p,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),_t[t])i=_t[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(y),e){if(-1!==t.indexOf("="))return t.match(x)}else a=Number(i[0])%360/360,o=Number(i[1])/100,l=Number(i[2])/100,n=.5>=l?l*(o+1):l+o-l*o,r=2*l-n,i.length>3&&(i[3]=Number(i[3])),i[0]=dt(a+1/3,r,n),i[1]=dt(a,r,n),i[2]=dt(a-1/3,r,n);else i=t.match(y)||_t.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=_t.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,h=Math.max(r,n,s),u=Math.min(r,n,s),l=(h+u)/2,h===u?a=o=0:(p=h-u,o=l>.5?p/(2-h-u):p/(h+u),a=h===r?(n-s)/p+(s>n?6:0):h===n?(s-r)/p+2:(r-n)/p+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},gt=function(t,e){var i,r,n,s=t.match(vt)||[],a=0,o="";if(!s.length)return t;for(i=0;i0?a[0].replace(y,""):"";return u?n=e?function(t){var e,f,c,_;if("number"==typeof t)t+=p;else if(r&&z.test(t)){for(_=t.replace(z,"|").split("|"),c=0;c<_.length;c++)_[c]=n(_[c]);return _.join(",")}if(e=(t.match(vt)||[s])[0],f=t.split(e).join("").match(T)||[],c=f.length,u>c--)for(;++cf--)for(;++fl;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return n.parse(e,o,s,a)}},Tt=(U._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,a=this.data,o=a.proxy,l=a.firstMPT,h=1e-6;l;)e=o[l.v],l.r?e=l.r(e):h>e&&e>-h&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,o.rotation,this.t,this._tween):o.rotation),1===t||0===t)for(l=a.firstMPT,s=1===t?"e":"b";l;){if(i=l.t,i.type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r0;)l="xn"+a,o=r.p+"_"+l,c[o]=r.data[l],f[o]=r[l],s||(h=new Tt(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:f,end:c,firstMPT:h,pt:u}},U.CSSPropTween=function(t,e,r,n,s,o,l,h,u,p,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof wt||a.push(this.n),this.r=h?"function"==typeof h?h:Math.round:h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===p?r:p,this.e=void 0===f?r+n:f,s&&(this._next=s,s._prev=this)}),bt=function(t,e,i,r,n,s){var a=new wt(t,e,i,r-i,n,-1,s);return a.b=i,a.e=a.xs0=r,a},Pt=o.parseComplex=function(t,e,i,r,n,s,a,l,h,u){i=i||s||"","function"==typeof r&&(r=r(v,g)),a=new wt(t,e,0,0,a,u?2:1,null,!1,l,i,r),r+="",n&&vt.test(r+i)&&(r=[i,r],o.colorStringFilter(r),i=r[0],r=r[1]);var f,c,_,d,m,T,w,b,P,O,S,C,A,k=i.split(", ").join(",").split(" "),M=r.split(", ").join(",").split(" "),R=k.length,N=p!==!1;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(k=k.join(" ").replace(z,", ").split(" "),M=M.join(" ").replace(z,", ").split(" ")):(k=k.join(" ").split(",").join(", ").split(" "),M=M.join(" ").split(",").join(", ").split(" ")),R=k.length),R!==M.length&&(k=(s||"").split(" "),R=k.length),a.plugin=h,a.setRatio=u,vt.lastIndex=0,f=0;R>f;f++)if(d=k[f],m=M[f]+"",b=parseFloat(d),b||0===b)a.appendXtra("",b,pt(m,b),m.replace(x,""),N&&-1!==m.indexOf("px")?Math.round:!1,!0);else if(n&&vt.test(d))C=m.indexOf(")")+1,C=")"+(C?m.substr(C):""),A=-1!==m.indexOf("hsl")&&H,O=m,d=mt(d,A),m=mt(m,A),P=d.length+m.length>6,P&&!H&&0===m[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(M[f]).join("transparent")):(H||(P=!1),A?a.appendXtra(O.substr(0,O.indexOf("hsl"))+(P?"hsla(":"hsl("),d[0],pt(m[0],d[0]),",",!1,!0).appendXtra("",d[1],pt(m[1],d[1]),"%,",!1).appendXtra("",d[2],pt(m[2],d[2]),P?"%,":"%"+C,!1):a.appendXtra(O.substr(0,O.indexOf("rgb"))+(P?"rgba(":"rgb("),d[0],m[0]-d[0],",",Math.round,!0).appendXtra("",d[1],m[1]-d[1],",",Math.round).appendXtra("",d[2],m[2]-d[2],P?",":C,Math.round),P&&(d=d.length<4?1:d[3],a.appendXtra("",d,(m.length<4?1:m[3])-d,C,!1))),vt.lastIndex=0;else if(T=d.match(y)){if(w=m.match(x),!w||w.length!==T.length)return a;for(_=0,c=0;c0;)u["xn"+Ot]=0,u["xs"+Ot]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,r,n,s){var a=this,o=a.l;return a["xs"+o]+=s&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=r||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=n,a["xn"+o]=e,a.plugin||(a.xfirst=new wt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=n,a)):(a["xs"+o]+=e+(r||""),a)};var St=function(t,e){e=e||{},this.p=e.prefix?J(t)||t:t,h[t]=h[this.p]=this,this.format=e.formatter||yt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Ct=U._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n,s=t.split(","),a=e.defaultValue;for(i=i||[a],r=0;ro.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,f&&(u=e.indexOf(f),p=i.indexOf(f),u!==p&&(-1===p?o[a]=o[a].split(f).join(""):-1===u&&(o[a]+=" "+f)));e=o.join(", "),i=l.join(", ")}return Pt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},u.parse=function(t,e,i,r,n,a,o){return this.parseComplex(t.style,this.format(it(t,this.p,s,!1,this.dflt)),this.format(e),n,a)},o.registerSpecialProp=function(t,e,i){Ct(t,{parser:function(t,r,n,s,a,o,l){var h=new wt(t,n,0,0,a,2,n,!1,i);return h.plugin=o,h.setRatio=e(t,r,s._tween,n),h},priority:i})},o.useSVGTransformAttr=!0;var kt,Mt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Rt=J("transform"),Nt=$+"transform",Ft=J("transformOrigin"),Dt=null!==J("perspective"),Xt=U.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=o.defaultForce3D!==!1&&Dt?o.defaultForce3D||"auto":!1},zt=n.SVGElement,Et=function(t,e,i){var r,n=j.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},It=j.documentElement||{},Lt=function(){var t,e,i,r=m||/Android/i.test(q)&&!n.chrome;return j.createElementNS&&It.appendChild&&!r&&(t=Et("svg",It),e=Et("rect",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[Ft]="50% 50%",e.style[Rt]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(_&&Dt),It.removeChild(t)),r}(),Bt=function(t,e,i,r,n,s){var a,l,h,u,p,f,c,_,d,m,g,v,y,x,T=t._gsTransform,w=Gt(t,!0);T&&(y=T.xOrigin,x=T.yOrigin),(!r||(a=r.split(" ")).length<2)&&(c=t.getBBox(),0===c.x&&0===c.y&&c.width+c.height===0&&(c={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),e=ut(e).split(" "),a=[(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*c.width:parseFloat(e[0]))+c.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*c.height:parseFloat(e[1]))+c.y]),i.xOrigin=u=parseFloat(a[0]),i.yOrigin=p=parseFloat(a[1]),r&&w!==Wt&&(f=w[0],c=w[1],_=w[2],d=w[3],m=w[4],g=w[5],v=f*d-c*_,v&&(l=u*(d/v)+p*(-_/v)+(_*g-d*m)/v,h=u*(-c/v)+p*(f/v)-(f*g-c*m)/v,u=i.xOrigin=a[0]=l,p=i.yOrigin=a[1]=h)),T&&(s&&(i.xOffset=T.xOffset,i.yOffset=T.yOffset,T=i),n||n!==!1&&o.defaultSmoothOrigin!==!1?(l=u-y,h=p-x,T.xOffset+=l*w[0]+h*w[2]-l,T.yOffset+=l*w[1]+h*w[3]-h):T.xOffset=T.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Yt=function(t){var e,i=V("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(It.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Yt}catch(a){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),It.removeChild(i),this.style.cssText=s,e},jt=function(t){try{return t.getBBox()}catch(e){return Yt.call(t,!0)}},Vt=function(t){return!(!zt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!jt(t))},Wt=[1,0,0,1,0,0],Gt=function(t,e){var i,r,n,s,a,o,l,h=t._gsTransform||new Xt,u=1e5,p=t.style;if(Rt?r=it(t,Nt,null,!0):t.currentStyle&&(r=t.currentStyle.filter.match(D),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),h.x||0,h.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,Rt&&i&&!t.offsetParent&&t!==It&&(s=p.display,p.display="block",l=t.parentNode,l&&t.offsetParent||(a=1,o=t.nextSibling,It.appendChild(t)),r=it(t,Nt,null,!0),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?p.display=s:Qt(p,"display"),a&&(o?l.insertBefore(t,o):l?l.appendChild(t):It.removeChild(t))),(h.svg||t.getCTM&&Vt(t))&&(i&&-1!==(p[Rt]+"").indexOf("matrix")&&(r=p[Rt],i=0),n=t.getAttribute("transform"),i&&n&&(n=t.transform.baseVal.consolidate().matrix,r="matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return Wt;for(n=(r||"").match(y)||[],Ot=n.length;--Ot>-1;)s=Number(n[Ot]),n[Ot]=(a=s-(s|=0))?(a*u+(0>a?-.5:.5)|0)/u+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Ut=U.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,a,l,h,u,p,f=r?t._gsTransform||new Xt:new Xt,c=f.scaleX<0,_=2e-5,d=1e5,m=Dt?parseFloat(it(t,Ft,i,!1,"0 0 0").split(" ")[2])||f.zOrigin||0:0,g=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Vt(t)),f.svg&&(Bt(t,it(t,Ft,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),kt=o.useSVGTransformAttr||Lt),s=Gt(t),s!==Wt){if(16===s.length){var v,y,x,T,w,b=s[0],P=s[1],O=s[2],S=s[3],C=s[4],A=s[5],k=s[6],M=s[7],R=s[8],N=s[9],F=s[10],D=s[12],X=s[13],z=s[14],E=s[11],I=Math.atan2(k,F);f.zOrigin&&(z=-f.zOrigin,D=R*z-s[12],X=N*z-s[13],z=F*z+f.zOrigin-s[14]),f.rotationX=I*L,I&&(T=Math.cos(-I),w=Math.sin(-I),v=C*T+R*w,y=A*T+N*w,x=k*T+F*w,R=C*-w+R*T,N=A*-w+N*T,F=k*-w+F*T,E=M*-w+E*T,C=v,A=y,k=x),I=Math.atan2(-O,F),f.rotationY=I*L,I&&(T=Math.cos(-I),w=Math.sin(-I),v=b*T-R*w,y=P*T-N*w,x=O*T-F*w,N=P*w+N*T,F=O*w+F*T,E=S*w+E*T,b=v,P=y,O=x),I=Math.atan2(P,b),f.rotation=I*L,I&&(T=Math.cos(I),w=Math.sin(I),v=b*T+P*w,y=C*T+A*w,x=R*T+N*w,P=P*T-b*w,A=A*T-C*w,N=N*T-R*w,b=v,C=y,R=x),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),I=Math.atan2(C,A),f.scaleX=(Math.sqrt(b*b+P*P+O*O)*d+.5|0)/d,f.scaleY=(Math.sqrt(A*A+k*k)*d+.5|0)/d,f.scaleZ=(Math.sqrt(R*R+N*N+F*F)*d+.5|0)/d,b/=f.scaleX,C/=f.scaleY,P/=f.scaleX,A/=f.scaleY,Math.abs(I)>_?(f.skewX=I*L,C=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(I))):f.skewX=0,f.perspective=E?1/(0>E?-E:E):0,f.x=D,f.y=X,f.z=z,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*b-f.yOrigin*C),f.y-=f.yOrigin-(f.yOrigin*P-f.xOrigin*A))}else if(!Dt||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var B=s.length>=6,Y=B?s[0]:1,j=s[1]||0,V=s[2]||0,W=B?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(Y*Y+j*j),h=Math.sqrt(W*W+V*V),u=Y||j?Math.atan2(j,Y)*L:f.rotation||0,p=V||W?Math.atan2(V,W)*L+u:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=p,Dt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*Y+f.yOrigin*V),f.y-=f.yOrigin-(f.xOrigin*j+f.yOrigin*W))}Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(c?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=m;for(a in f)f[a]<_&&f[a]>-_&&(f[a]=0)}return r&&(t._gsTransform=f,f.svg&&(kt&&t.style[Rt]?e.delayedCall(.001,function(){Qt(t.style,Rt)}):!kt&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},qt=function(t){var e,i,r=this.data,n=-r.rotation*I,s=n+r.skewX*I,a=1e5,o=(Math.cos(n)*r.scaleX*a|0)/a,l=(Math.sin(n)*r.scaleX*a|0)/a,h=(Math.sin(s)*-r.scaleY*a|0)/a,u=(Math.cos(s)*r.scaleY*a|0)/a,p=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-h,h=-i,e=f.filter,p.filter="";var c,_,d=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==f.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,x=r.x+d*r.xPercent/100,T=r.y+g*r.yPercent/100;if(null!=r.ox&&(c=(r.oxp?d*r.ox*.01:r.ox)-d/2,_=(r.oyp?g*r.oy*.01:r.oy)-g/2,x+=c-(c*o+_*l),T+=_-(c*h+_*u)),v?(c=d/2,_=g/2,y+=", Dx="+(c-(c*o+_*l)+x)+", Dy="+(_-(c*h+_*u)+T)+")"):y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?p.filter=e.replace(X,y):p.filter=y+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===y.indexOf("Dx=0, Dy=0")||O.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&p.removeAttribute("filter")),!v){var w,b,S,C=8>m?1:-1;for(c=r.ieOffsetX||0,_=r.ieOffsetY||0,r.ieOffsetX=Math.round((d-((0>o?-o:o)*d+(0>l?-l:l)*g))/2+x),r.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*d))/2+T),Ot=0;4>Ot;Ot++)b=lt[Ot],w=f[b],i=-1!==w.indexOf("px")?parseFloat(w):rt(this.t,b,parseFloat(w),w.replace(P,""))||0,S=i!==r[b]?2>Ot?-r.ieOffsetX:-r.ieOffsetY:2>Ot?c-r.ieOffsetX:_-r.ieOffsetY,p[b]=(r[b]=Math.round(i-S*(0===Ot||2===Ot?1:C)))+"px"}}},Ht=U.set3DTransformRatio=U.setTransformRatio=function(t){var e,i,r,n,s,a,o,l,h,u,p,f,c,d,m,g,v,y,x,T,w,b,P,O=this.data,S=this.t.style,C=O.rotation,A=O.rotationX,k=O.rotationY,M=O.scaleX,R=O.scaleY,N=O.scaleZ,F=O.x,D=O.y,X=O.z,z=O.svg,E=O.perspective,L=O.force3D,B=O.skewY,Y=O.skewX;if(B&&(Y+=B,C+=B),((1===t||0===t)&&"auto"===L&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!L)&&!X&&!E&&!k&&!A&&1===N||kt&&z||!Dt)return void(C||Y||z?(C*=I,b=Y*I,P=1e5,i=Math.cos(C)*M,s=Math.sin(C)*M,r=Math.sin(C-b)*-R,a=Math.cos(C-b)*R,b&&"simple"===O.skewType&&(e=Math.tan(b-B*I),e=Math.sqrt(1+e*e),r*=e,a*=e,B&&(e=Math.tan(B*I),e=Math.sqrt(1+e*e),i*=e,s*=e)),z&&(F+=O.xOrigin-(O.xOrigin*i+O.yOrigin*r)+O.xOffset,D+=O.yOrigin-(O.xOrigin*s+O.yOrigin*a)+O.yOffset,kt&&(O.xPercent||O.yPercent)&&(m=this.t.getBBox(),F+=.01*O.xPercent*m.width,D+=.01*O.yPercent*m.height),m=1e-6,m>F&&F>-m&&(F=0),m>D&&D>-m&&(D=0)),x=(i*P|0)/P+","+(s*P|0)/P+","+(r*P|0)/P+","+(a*P|0)/P+","+F+","+D+")",z&&kt?this.t.setAttribute("transform","matrix("+x):S[Rt]=(O.xPercent||O.yPercent?"translate("+O.xPercent+"%,"+O.yPercent+"%) matrix(":"matrix(")+x):S[Rt]=(O.xPercent||O.yPercent?"translate("+O.xPercent+"%,"+O.yPercent+"%) matrix(":"matrix(")+M+",0,0,"+R+","+F+","+D+")");if(_&&(m=1e-4,m>M&&M>-m&&(M=N=2e-5),m>R&&R>-m&&(R=N=2e-5),!E||O.z||O.rotationX||O.rotationY||(E=0)),C||Y)C*=I,g=i=Math.cos(C),v=s=Math.sin(C),Y&&(C-=Y*I,g=Math.cos(C),v=Math.sin(C),"simple"===O.skewType&&(e=Math.tan((Y-B)*I),e=Math.sqrt(1+e*e),g*=e,v*=e,O.skewY&&(e=Math.tan(B*I),e=Math.sqrt(1+e*e),i*=e,s*=e))),r=-v,a=g;else{if(!(k||A||1!==N||E||z))return void(S[Rt]=(O.xPercent||O.yPercent?"translate("+O.xPercent+"%,"+O.yPercent+"%) translate3d(":"translate3d(")+F+"px,"+D+"px,"+X+"px)"+(1!==M||1!==R?" scale("+M+","+R+")":""));i=a=1,r=s=0}u=1,n=o=l=h=p=f=0,c=E?-1/E:0,d=O.zOrigin,m=1e-6,T=",",w="0",C=k*I,C&&(g=Math.cos(C),v=Math.sin(C),l=-v,p=c*-v,n=i*v,o=s*v,u=g,c*=g,i*=g,s*=g),C=A*I,C&&(g=Math.cos(C),v=Math.sin(C),e=r*g+n*v,y=a*g+o*v,h=u*v,f=c*v,n=r*-v+n*g,o=a*-v+o*g,u*=g,c*=g,r=e,a=y),1!==N&&(n*=N,o*=N,u*=N,c*=N),1!==R&&(r*=R,a*=R,h*=R,f*=R),1!==M&&(i*=M,s*=M,l*=M,p*=M),(d||z)&&(d&&(F+=n*-d,D+=o*-d,X+=u*-d+d),z&&(F+=O.xOrigin-(O.xOrigin*i+O.yOrigin*r)+O.xOffset,D+=O.yOrigin-(O.xOrigin*s+O.yOrigin*a)+O.yOffset),m>F&&F>-m&&(F=w),m>D&&D>-m&&(D=w),m>X&&X>-m&&(X=0)),x=O.xPercent||O.yPercent?"translate("+O.xPercent+"%,"+O.yPercent+"%) matrix3d(":"matrix3d(",x+=(m>i&&i>-m?w:i)+T+(m>s&&s>-m?w:s)+T+(m>l&&l>-m?w:l),x+=T+(m>p&&p>-m?w:p)+T+(m>r&&r>-m?w:r)+T+(m>a&&a>-m?w:a),A||k||1!==N?(x+=T+(m>h&&h>-m?w:h)+T+(m>f&&f>-m?w:f)+T+(m>n&&n>-m?w:n),x+=T+(m>o&&o>-m?w:o)+T+(m>u&&u>-m?w:u)+T+(m>c&&c>-m?w:c)+T):x+=",0,0,0,0,1,0,",x+=F+T+D+T+X+T+(E?1+-X/E:1)+")",S[Rt]=x};u=Xt.prototype,u.x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,Ct("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,n,a,l){if(r._lastParsedTransform===l)return n;r._lastParsedTransform=l;var h=l.scale&&"function"==typeof l.scale?l.scale:0;h&&(l.scale=h(v,t));var u,p,f,c,_,d,m,y,x,T=t._gsTransform,w=t.style,b=1e-6,P=Mt.length,O=l,S={},C="transformOrigin",A=Ut(t,s,!0,O.parseTransform),k=O.transform&&("function"==typeof O.transform?O.transform(v,g):O.transform);if(A.skewType=O.skewType||A.skewType||o.defaultSkewType,r._transform=A,"rotationZ"in O&&(O.rotation=O.rotationZ),k&&"string"==typeof k&&Rt)p=W.style,p[Rt]=k,p.display="block",p.position="absolute",-1!==k.indexOf("%")&&(p.width=it(t,"width"),p.height=it(t,"height")),j.body.appendChild(W),u=Ut(W,null,!1),"simple"===A.skewType&&(u.scaleY*=Math.cos(u.skewX*I)),A.svg&&(d=A.xOrigin,m=A.yOrigin,u.x-=A.xOffset,u.y-=A.yOffset,(O.transformOrigin||O.svgOrigin)&&(k={},Bt(t,ut(O.transformOrigin),k,O.svgOrigin,O.smoothOrigin,!0),d=k.xOrigin,m=k.yOrigin,u.x-=k.xOffset-A.xOffset,u.y-=k.yOffset-A.yOffset),(d||m)&&(y=Gt(W,!0),u.x-=d-(d*y[0]+m*y[2]),u.y-=m-(d*y[1]+m*y[3]))),j.body.removeChild(W),u.perspective||(u.perspective=A.perspective),null!=O.xPercent&&(u.xPercent=ft(O.xPercent,A.xPercent)),null!=O.yPercent&&(u.yPercent=ft(O.yPercent,A.yPercent));else if("object"==typeof O){if(u={scaleX:ft(null!=O.scaleX?O.scaleX:O.scale,A.scaleX),scaleY:ft(null!=O.scaleY?O.scaleY:O.scale,A.scaleY),scaleZ:ft(O.scaleZ,A.scaleZ),x:ft(O.x,A.x),y:ft(O.y,A.y),z:ft(O.z,A.z),xPercent:ft(O.xPercent,A.xPercent),yPercent:ft(O.yPercent,A.yPercent),perspective:ft(O.transformPerspective,A.perspective)},_=O.directionalRotation,null!=_)if("object"==typeof _)for(p in _)O[p]=_[p];else O.rotation=_;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(u.x=0,u.xPercent=ft(O.x,A.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(u.y=0,u.yPercent=ft(O.y,A.yPercent)),u.rotation=ct("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":A.rotation,A.rotation,"rotation",S),Dt&&(u.rotationX=ct("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":A.rotationX||0,A.rotationX,"rotationX",S),u.rotationY=ct("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":A.rotationY||0,A.rotationY,"rotationY",S)),u.skewX=ct(O.skewX,A.skewX),u.skewY=ct(O.skewY,A.skewY)}for(Dt&&null!=O.force3D&&(A.force3D=O.force3D,c=!0),f=A.force3D||A.z||A.rotationX||A.rotationY||u.z||u.rotationX||u.rotationY||u.perspective,f||null==O.scale||(u.scaleZ=1);--P>-1;)x=Mt[P],k=u[x]-A[x],(k>b||-b>k||null!=O[x]||null!=B[x])&&(c=!0,n=new wt(A,x,A[x],k,n),x in S&&(n.e=S[x]),n.xs0=0,n.plugin=a,r._overwriteProps.push(n.n));return k="function"==typeof O.transformOrigin?O.transformOrigin(v,g):O.transformOrigin,A.svg&&(k||O.svgOrigin)&&(d=A.xOffset,m=A.yOffset,Bt(t,ut(k),u,O.svgOrigin,O.smoothOrigin),n=bt(A,"xOrigin",(T?A:u).xOrigin,u.xOrigin,n,C),n=bt(A,"yOrigin",(T?A:u).yOrigin,u.yOrigin,n,C),(d!==A.xOffset||m!==A.yOffset)&&(n=bt(A,"xOffset",T?d:A.xOffset,A.xOffset,n,C),n=bt(A,"yOffset",T?m:A.yOffset,A.yOffset,n,C)),k="0px 0px"),(k||Dt&&f&&A.zOrigin)&&(Rt?(c=!0,x=Ft,k||(k=(it(t,x,s,!1,"50% 50%")+"").split(" "),k=k[0]+" "+k[1]+" "+A.zOrigin+"px"),k+="",n=new wt(w,x,0,0,n,-1,C),n.b=w[x],n.plugin=a,Dt?(p=A.zOrigin,k=k.split(" "),A.zOrigin=(k.length>2?parseFloat(k[2]):p)||0,n.xs0=n.e=k[0]+" "+(k[1]||"50%")+" 0px",n=new wt(A,"zOrigin",0,0,n,-1,n.n),n.b=p,n.xs0=n.e=A.zOrigin):n.xs0=n.e=k):ut(k+"",A)),c&&(r._transformType=A.svg&&kt||!f&&3!==this._transformType?2:3),h&&(l.scale=h),n},allowFunc:!0,prefix:!0}),Ct("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ct("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:yt("inset(0% 0% 0% 0%)",!1,!0)}),Ct("borderRadius",{defaultValue:"0px",parser:function(t,e,i,n,a,o){e=this.format(e);var l,h,u,p,f,c,_,d,m,g,v,y,x,T,w,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],O=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),h=0;hd?1:0))||""):(d=parseFloat(c),v=c.substr((d+"").length)),""===v&&(v=r[i]||y),v!==y&&(T=rt(t,"borderLeft",_,y),w=rt(t,"borderTop",_,y),"%"===v?(f=T/m*100+"%",p=w/g*100+"%"):"em"===v?(b=rt(t,"borderLeft",1,"em"),f=T/b+"em",p=w/b+"em"):(f=T+"px",p=w+"px"),x&&(c=parseFloat(f)+d+v,u=parseFloat(p)+d+v)),a=Pt(O,P[h],f+" "+p,c+" "+u,!1,"0px",a);return a},prefix:!0,formatter:yt("0px 0px 0px 0px",!1,!0)}),Ct("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,n,a){return Pt(t.style,i,this.format(it(t,i,s,!1,"0px 0px")),this.format(e),!1,"0px",n)},prefix:!0,formatter:yt("0px 0px",!1,!0)}),Ct("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,n,a){var o,l,h,u,p,f,c="background-position",_=s||et(t,null),d=this.format((_?m?_.getPropertyValue(c+"-x")+" "+_.getPropertyValue(c+"-y"):_.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==d.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&(f=it(t,"backgroundImage").replace(R,""),f&&"none"!==f)){for(o=d.split(" "),l=g.split(" "),G.setAttribute("src",f),h=2;--h>-1;)d=o[h],u=-1!==d.indexOf("%"),u!==(-1!==l[h].indexOf("%"))&&(p=0===h?t.offsetWidth-G.width:t.offsetHeight-G.height,o[h]=u?parseFloat(d)/100*p+"px":parseFloat(d)/p*100+"%");d=o.join(" ")}return this.parseComplex(t.style,d,g,n,a)},formatter:ut}),Ct("backgroundSize",{defaultValue:"0 0",formatter:function(t){return t+="","co"===t.substr(0,2)?t:ut(-1===t.indexOf(" ")?t+" "+t:t)}}),Ct("perspective",{defaultValue:"0px",prefix:!0}),Ct("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ct("transformStyle",{prefix:!0}),Ct("backfaceVisibility",{prefix:!0}),Ct("userSelect",{prefix:!0}),Ct("margin",{parser:xt("marginTop,marginRight,marginBottom,marginLeft")}),Ct("padding",{parser:xt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ct("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,n,a){var o,l,h;return 9>m?(l=t.currentStyle,h=8>m?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(it(t,this.p,s,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,n,a)}}),Ct("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ct("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Ct("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,n,a){var o=it(t,"borderTopWidth",s,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(P,"");return"px"!==h&&(o=parseFloat(o)/rt(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+it(t,"borderTopStyle",s,!1,"solid")+" "+it(t,"borderTopColor",s,!1,"#000")),l.join(" "),n,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(vt)||["#000"])[0]}}),Ct("borderWidth",{parser:xt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ct("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new wt(a,o,0,0,n,-1,i,!1,0,a[o],e)}});var Zt=function(t){var e,i=this.t,r=i.filter||it(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!it(this.data,"filter")):(i.filter=r.replace(C,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(O,"opacity="+n))};Ct("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,n,a){var o=parseFloat(it(t,"opacity",s,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===it(t,"visibility",s)&&0!==e&&(o=0),H?n=new wt(l,"opacity",o,e-o,n):(n=new wt(l,"opacity",100*o,100*(e-o),n),n.xn1=h?1:0,l.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=a,n.setRatio=Zt),h&&(n=new wt(l,"visibility",0,0,n,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit"),n.xs0="inherit",r._overwriteProps.push(n.n),r._overwriteProps.push(i)),n}});var Qt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(k,"-$1").toLowerCase())):t.removeAttribute(e))},$t=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Qt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ct("className",{parser:function(t,e,r,n,a,o,l){var h,u,p,f,c,_=t.getAttribute("class")||"",d=t.style.cssText;if(a=n._classNamePT=new wt(t,r,0,0,a,2),a.setRatio=$t,a.pr=-11,i=!0,a.b=_,u=st(t,s),p=t._gsClassPT){for(f={},c=p.data;c;)f[c.p]=1,c=c._next;p.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:_.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),h=at(t,u,st(t),l,f),t.setAttribute("class",_),a.data=h.firstMPT,t.style.cssText!==d&&(t.style.cssText=d),a=a.xfirst=n.parse(t,h.difs,a,o)}});var Kt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,a=this.t.style,o=h.transform.parse;if("all"===this.e)a.cssText="",n=!0;else for(e=this.e.split(" ").join("").split(","),r=e.length;--r>-1;)i=e[r],h[i]&&(h[i].parse===o?n=!0:i="transformOrigin"===i?Ft:h[i].p),Qt(a,i);n&&(Qt(a,Rt),s=this.t._gsTransform,s&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ct("clearProps",{parser:function(t,e,r,n,s){return s=new wt(t,r,0,0,s,2),s.setRatio=Kt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),u="bezier,throwProps,physicsProps,physics2D".split(","),Ot=u.length;Ot--;)At(u[Ot]);u=o.prototype,u._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,n,l){if(!t.nodeType)return!1;this._target=g=t,this._tween=n,this._vars=e,v=l,p=e.autoRound,i=!1,r=e.suffixMap||o.suffixMap,s=et(t,""),a=this._overwriteProps;var u,_,m,y,x,T,w,b,P,O=t.style;if(f&&""===O.zIndex&&(u=it(t,"zIndex",s),("auto"===u||""===u)&&this._addLazySet(O,"zIndex",0)),"string"==typeof e&&(y=O.cssText,u=st(t,s),O.cssText=y+";"+e,u=at(t,u,st(t)).difs,!H&&S.test(e)&&(u.opacity=parseFloat(RegExp.$1)),e=u,O.cssText=y),e.className?this._firstPT=_=h.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=_=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,Rt?c&&(f=!0,""===O.zIndex&&(w=it(t,"zIndex",s),("auto"===w||""===w)&&this._addLazySet(O,"zIndex",0)),d&&this._addLazySet(O,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):O.zoom=1,m=_;m&&m._next;)m=m._next;b=new wt(t,"transform",0,0,null,2),this._linkCSSP(b,null,m),b.setRatio=Rt?Ht:qt,b.data=this._transform||Ut(t,s,!0),b.tween=n,b.pr=-1,a.pop()}if(i){for(;_;){for(T=_._next,m=y;m&&m.pr>_.pr;)m=m._next;(_._prev=m?m._prev:x)?_._prev._next=_:y=_,(_._next=m)?m._prev=_:x=_,_=T}this._firstPT=y}return!0},u.parse=function(t,e,i,n){var a,o,l,u,f,c,_,d,m,y,x=t.style;for(a in e){if(c=e[a],o=h[a],"function"!=typeof c||o&&o.allowFunc||(c=c(v,g)),o)i=o.parse(t,c,a,this,i,n,e);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",et(t).getPropertyValue(a)+"",c+"",a,!1,a);continue}f=it(t,a,s)+"",m="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&A.test(c)?(m||(c=mt(c),c=(c.length>3?"rgba(":"rgb(")+c.join(",")+")"),i=Pt(x,a,f,c,!0,"transparent",i,0,n)):m&&E.test(c)?i=Pt(x,a,f,c,!0,null,i,0,n):(l=parseFloat(f),_=l||0===l?f.substr((l+"").length):"",(""===f||"auto"===f)&&("width"===a||"height"===a?(l=ht(t,a,s),_="px"):"left"===a||"top"===a?(l=nt(t,a,s),_="px"):(l="opacity"!==a?0:1,_="")),y=m&&"="===c.charAt(1),y?(u=parseInt(c.charAt(0)+"1",10),c=c.substr(2),u*=parseFloat(c),d=c.replace(P,"")):(u=parseFloat(c),d=m?c.replace(P,""):""),""===d&&(d=a in r?r[a]:_),c=u||0===u?(y?u+l:u)+d:e[a],_!==d&&(""!==d||"lineHeight"===a)&&(u||0===u)&&l&&(l=rt(t,a,l,_),"%"===d?(l/=rt(t,a,100,"%")/100,e.strictUnits!==!0&&(f=l+"%")):"em"===d||"rem"===d||"vw"===d||"vh"===d?l/=rt(t,a,1,d):"px"!==d&&(u=rt(t,a,u,d),d="px"),y&&(u||0===u)&&(c=u+l+d)),y&&(u+=l),!l&&0!==l||!u&&0!==u?void 0!==x[a]&&(c||c+""!="NaN"&&null!=c)?(i=new wt(x,a,u||l||0,0,i,-1,a,!1,0,f,c),i.xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:f):Q("invalid "+a+" tween value: "+e[a]):(i=new wt(x,a,l,u-l,i,0,a,p!==!1&&("px"===d||"zIndex"===a),0,f,c),i.xs0=d))}n&&i&&!i.plugin&&(i.plugin=n)}return i},u.setRatio=function(t){var e,i,r,n=this._firstPT,s=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):s>e&&e>-s&&(e=0),n.type)if(1===n.type)if(r=n.l,2===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r-1;)te(t[n],e,i);else for(r=t.childNodes,n=r.length;--n>-1;)s=r[n],a=s.type,s.style&&(e.push(st(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||te(s,e,i)};return o.cascadeTo=function(t,i,r){var n,s,a,o,l=e.to(t,i,r),h=[l],u=[],p=[],f=[],c=e._internals.reservedProps;for(t=l._targets||l.target,te(t,u,f),l.render(i,!0,!0),te(t,p),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if(s=at(f[n],u[n],p[n]),s.firstMPT){s=s.difs;for(a in r)c[a]&&(s[a]=r[a]);o={};for(a in s)o[a]=u[n][a];h.push(e.fromTo(f[n],i,o,s))}return h},t.activate([o]),o},!0)}),n._gsDefine&&n._gsQueue.pop()(),!function(t,e){"use strict";var n={},s=t.document,a=t.GreenSockGlobals=t.GreenSockGlobals||t,o=a[e];if(o)return"undefined"!=typeof i&&i.exports&&(i.exports=o),o;var l,h,u,p,f,c=function(t){var e,i=t.split("."),r=a;for(e=0;e-1;)(f=y[o[g]]||new x(o[g],[])).gsClass?(u[g]=f.gsClass,v--):p&&f.sc.push(this);if(0===v&&l){if(_=("com.greensock."+s).split("."),d=_.pop(),m=c(_.join("."))[d]=this.gsClass=l.apply(l,u),h)if(a[d]=n[d]=m,"undefined"!=typeof i&&i.exports)if(s===e){i.exports=n[e]=m;for(g in n)m[g]=n[g]}else n[e]&&(n[e][d]=m);else"function"==typeof r&&r.amd&&r((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+s.split(".").pop(),[],function(){return m});for(g=0;g-1;)for(s=l[h],n=r?w("easing."+s,null,!0):_.easing[s]||{},a=u.length;--a>-1;)o=u[a],O[s+"."+o]=O[o+s]=n[o]=t.getRatio?t:t[o]||new t};for(u=P.prototype,u._calcEnd=!1,u.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},l=["Linear","Quad","Cubic","Quart","Quint,Strong"],h=l.length;--h>-1;)u=l[h]+",Power"+h,S(new P(null,null,1,h),u,"easeOut",!0),S(new P(null,null,2,h),u,"easeIn"+(0===h?",easeNone":"")),S(new P(null,null,3,h),u,"easeInOut");O.linear=_.easing.Linear.easeIn,O.swing=_.easing.Quad.easeInOut;var C=w("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});u=C.prototype,u.addEventListener=function(t,e,i,r,n){n=n||0;var s,a,o=this._listeners[t],l=0;for(this!==p||f||p.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)s=o[a],s.c===e&&s.s===i?o.splice(a,1):0===l&&s.pr-1;)if(r[i].c===e)return void r.splice(i,1)},u.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for(e=n.length,e>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)r=n[e],r&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var A=t.requestAnimationFrame,k=t.cancelAnimationFrame,M=Date.now||function(){return(new Date).getTime()},R=M();for(l=["ms","moz","webkit","o"],h=l.length;--h>-1&&!A;)A=t[l[h]+"RequestAnimationFrame"],k=t[l[h]+"CancelAnimationFrame"]||t[l[h]+"CancelRequestAnimationFrame"];w("Ticker",function(t,e){var i,r,n,a,o,l=this,h=M(),u=e!==!1&&A?"auto":!1,c=500,_=33,m="tick",v=function(t){var e,s,u=M()-R;u>c&&(h+=u-_),R+=u,l.time=(R-h)/1e3,e=l.time-o,(!i||e>0||t===!0)&&(l.frame++,o+=e+(e>=a?.004:a-e),s=!0),t!==!0&&(n=r(v)),s&&l.dispatchEvent(m)};C.call(l),l.time=l.frame=0,l.tick=function(){v(!0)},l.lagSmoothing=function(t,e){return arguments.length?(c=t||1/d,void(_=Math.min(e,c,0))):1/d>c},l.sleep=function(){null!=n&&(u&&k?k(n):clearTimeout(n),r=g,n=null,l===p&&(f=!1))},l.wake=function(t){null!==n?l.sleep():t?h+=-R+(R=M()):l.frame>10&&(R=M()-c+5),r=0===i?g:u&&A?A:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===p&&(f=!0),v(2)},l.fps=function(t){return arguments.length?(i=t,a=1/(i||60),o=this.time+a,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),u=t,void l.fps(i)):u},l.fps(t),setTimeout(function(){"auto"===u&&l.frame<5&&"hidden"!==(s||{}).visibilityState&&l.useRAF(!1)},1500)}),u=_.Ticker.prototype=new _.events.EventDispatcher,u.constructor=_.Ticker;var N=w("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,J){f||p.wake();var i=this.vars.useFrames?K:J;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});p=N.ticker=new _.Ticker,u=N.prototype,u._dirty=u._gc=u._initted=u._paused=!1,u._totalTime=u._time=0,u._rawPrevTime=-1,u._next=u._last=u._onUpdate=u._timeline=u.timeline=null,u._paused=!1;var F=function(){f&&M()-R>2e3&&("hidden"!==(s||{}).visibilityState||!p.lagSmoothing())&&p.wake();var t=setTimeout(F,2e3);t.unref&&t.unref()};F(),u.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},u.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},u.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},u.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},u.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},u.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},u.render=function(t,e,i){},u.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},u.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},u._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this,s=r?r.length:0;switch(s){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},u.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=v(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},u.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},u.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},u.totalTime=function(t,e,i){if(f||p.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(I.length&&et(),this.render(t,e,!1),I.length&&et())}return this},u.progress=u.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},u.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},u.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},u.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||d,this._timeline&&this._timeline.smoothChildTiming&&(e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},u.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},u.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(f||t||p.wake(),e=r.rawTime(),i=e-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var D=w("core.SimpleTimeline",function(t){N.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});u=D.prototype=new N,u.constructor=D,u.kill()._gc=!1,u._first=u._last=u._recent=null,u._sortChildren=!1,u.add=u.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},u._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},u.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},u.rawTime=function(){return f||p.wake(),this._totalTime};var X=w("TweenLite",function(e,i,r){if(N.call(this,i,r),this.render=X.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:X.selector(e)||e;var n,s,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?$[X.defaultOverwrite]:"number"==typeof l?l>>0:$[l],(o||e instanceof Array||e.push&&v(e))&&"number"!=typeof e[0])for(this._targets=a=m(e),this._propLookup=[],this._siblings=[],n=0;n1&&nt(s,this,null,1,this._siblings[n])):(s=a[n--]=X.selector(s),"string"==typeof s&&a.splice(n+1,1)):a.splice(n--,1);else this._propLookup={},this._siblings=it(e,this,!1),1===l&&this._siblings.length>1&&nt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-d,this.render(Math.min(0,-this._delay)))},!0),z=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},E=function(t,e){var i,r={};for(i in t)Q[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!q[i]||q[i]&&q[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r};u=X.prototype=new N,u.constructor=X,u.kill()._gc=!1,u.ratio=0,u._firstPT=u._targets=u._overwrittenProps=u._startAt=null,u._notifyPluginsOfEnabled=u._lazy=!1,X.version="2.1.3",X.defaultEase=u._ease=new P(null,null,1,1),X.defaultOverwrite="auto",X.ticker=p,X.autoSleep=120,X.lagSmoothing=function(t,e){p.lagSmoothing(t,e)},X.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(X.selector=i,i(e)):(s||(s=t.document),s?s.querySelectorAll?s.querySelectorAll(e):s.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var I=[],L={},B=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Y=/[\+-]=-?[\.\d]/,j=function(t){for(var e,i=this._firstPT,r=1e-6;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):r>e&&e>-r&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},V=function(t){return(1e3*t|0)/1e3+""},W=function(t,e,i,r){var n,s,a,o,l,h,u,p=[],f=0,c="",_=0;for(p.start=t,p.end=e,t=p[0]=t+"",e=p[1]=e+"",i&&(i(p),t=p[0],e=p[1]),p.length=0,n=t.match(B)||[],s=e.match(B)||[],r&&(r._next=null,r.blob=1,p._firstPT=p._applyPT=r),l=s.length,o=0;l>o;o++)u=s[o],h=e.substr(f,e.indexOf(u,f)-f),c+=h||!o?h:",",f+=h.length,_?_=(_+1)%5:"rgba("===h.substr(-5)&&(_=1),u===n[o]||n.length<=o?c+=u:(c&&(p.push(c),c=""),a=parseFloat(n[o]),p.push(a),p._firstPT={_next:p._firstPT,t:p,p:p.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:_&&4>_?Math.round:V}),f+=u.length;return c+=e.substr(f),c&&p.push(c),p.setRatio=j,Y.test(e)&&(p.end=null),p},G=function(t,e,i,r,n,s,a,o,l){"function"==typeof r&&(r=r(l||0,t));var h,u=typeof t[e],p="function"!==u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==i?i:p?a?t[p](a):t[p]():t[e],c="string"==typeof r&&"="===r.charAt(1),_={t:t,p:e,s:f,f:"function"===u,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:c?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-f||0};return("number"!=typeof f||"number"!=typeof r&&!c)&&(a||isNaN(f)||!c&&isNaN(r)||"boolean"==typeof f||"boolean"==typeof r?(_.fp=a,h=W(f,c?parseFloat(_.s)+_.c+(_.s+"").replace(/[0-9\-\.]/g,""):r,o||X.defaultStringFilter,_),_={t:h,p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(_.s=parseFloat(f),c||(_.c=parseFloat(r)-_.s||0))),_.c?((_._next=this._firstPT)&&(_._next._prev=_),this._firstPT=_,_):void 0},U=X._internals={isArray:v,isSelector:z,lazyTweens:I,blobDif:W},q=X._plugins={},H=U.tweenLookup={},Z=0,Q=U.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},$={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},K=N._rootFramesTimeline=new D,J=N._rootTimeline=new D,tt=30,et=U.lazyRender=function(){var t,e,i=I.length;for(L={},t=0;i>t;t++)e=I[t],e&&e._lazy!==!1&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);I.length=0};J._startTime=p.time,K._startTime=p.frame,J._active=K._active=!0,setTimeout(et,1),N._updateRoot=X.render=function(){var t,e,i;if(I.length&&et(),J.render((p.time-J._startTime)*J._timeScale,!1,!1),K.render((p.frame-K._startTime)*K._timeScale,!1,!1),I.length&&et(),p.frame>=tt){tt=p.frame+(parseInt(X.autoSleep,10)||120);for(i in H){for(e=H[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete H[i]}if(i=J._first,(!i||i._paused)&&X.autoSleep&&!K._first&&1===p._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||p.sleep()}}},p.addEventListener("tick",N._updateRoot);var it=function(t,e,i){var r,n,s=t._gsTweenID;if(H[s||(t._gsTweenID=s="t"+Z++)]||(H[s]={target:t,tweens:[]}),e&&(r=H[s].tweens,r[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return H[s].tweens},rt=function(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),a=X.onOverwrite,a&&(s=a(t,e,i,r)),n!==!1&&s!==!1},nt=function(t,e,i,r,n){var s,a,o,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((o=n[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===r)break;return a}var h,u=e._startTime+d,p=[],f=0,c=0===e._duration;for(s=n.length;--s>-1;)(o=n[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||st(e,0,c),0===st(o,h,c)&&(p[f++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((c||!o._initted)&&u-o._startTime<=2*d||(p[f++]=o)));for(s=f;--s>-1;)if(o=p[s],l=o._firstPT,2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!rt(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},st=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return s/=n,s>e?s-e:i&&s===e||!t._initted&&2*d>s-e?d:(s+=t.totalDuration()/t._timeScale/n)>e+d?0:s-e-d};u._init=function(){var t,e,i,r,n,s,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,u=a.ease,p=this._startAt;if(a.startAt){p&&(p.render(-1,!0),p.kill()),n={};for(r in a.startAt)n[r]=a.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=h&&a.lazy!==!1,n.startAt=n.delay=null,n.onUpdate=a.onUpdate,n.onUpdateParams=a.onUpdateParams,n.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=X.to(this.target||{},0,n),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(p)p.render(-1,!0),p.kill(),this._startAt=null;else{0!==this._time&&(h=!1),i={};for(r in a)Q[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&a.lazy!==!1,i.immediateRender=h,this._startAt=X.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof P?u:"function"==typeof u?new P(u,a.easeParams):O[u]||X.defaultEase:X.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&X._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},u._initProps=function(e,i,r,n,s){var a,o,l,h,u,p;if(null==e)return!1;L[e._gsTweenID]&&et(),this.vars.css||e.style&&e!==t&&e.nodeType&&q.css&&this.vars.autoCSS!==!1&&E(this.vars,e);for(a in this.vars)if(p=this.vars[a],Q[a])p&&(p instanceof Array||p.push&&v(p))&&-1!==p.join("").indexOf("{self}")&&(this.vars[a]=p=this._swapSelfInParams(p,this));else if(q[a]&&(h=new q[a])._onInitTween(e,this.vars[a],this,s)){for(this._firstPT=u={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:h._priority,m:0},o=h._overwriteProps.length;--o>-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[a]=G.call(this,e,a,"get",p,a,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&nt(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(L[e._gsTweenID]=!0),l)},u.render=function(t,e,i){var r,n,s,a,o=this,l=o._time,h=o._duration,u=o._rawPrevTime;if(t>=h-d&&t>=0)o._totalTime=o._time=h,o.ratio=o._ease._calcEnd?o._ease.getRatio(1):1,o._reversed||(r=!0,n="onComplete",i=i||o._timeline.autoRemoveChildren),0===h&&(o._initted||!o.vars.lazy||i)&&(o._startTime===o._timeline._duration&&(t=0),(0>u||0>=t&&t>=-d||u===d&&"isPause"!==o.data)&&u!==t&&(i=!0,u>d&&(n="onReverseComplete")),o._rawPrevTime=a=!e||t||u===t?t:d);else if(d>t)o._totalTime=o._time=0,o.ratio=o._ease._calcEnd?o._ease.getRatio(0):0,(0!==l||0===h&&u>0)&&(n="onReverseComplete",r=o._reversed),t>-d?t=0:0>t&&(o._active=!1,0===h&&(o._initted||!o.vars.lazy||i)&&(u>=0&&(u!==d||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=a=!e||t||u===t?t:d)),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0);else if(o._totalTime=o._time=t,o._easeType){var p=t/h,f=o._easeType,c=o._easePower;(1===f||3===f&&p>=.5)&&(p=1-p),3===f&&(p*=2),1===c?p*=p:2===c?p*=p*p:3===c?p*=p*p*p:4===c&&(p*=p*p*p*p),o.ratio=1===f?1-p:2===f?p:.5>t/h?p/2:1-p/2}else o.ratio=o._ease.getRatio(t/h);if(o._time!==l||i){if(!o._initted){if(o._init(),!o._initted||o._gc)return;if(!i&&o._firstPT&&(o.vars.lazy!==!1&&o._duration||o.vars.lazy&&!o._duration))return o._time=o._totalTime=l,o._rawPrevTime=u,I.push(o),void(o._lazy=[t,e]);o._time&&!r?o.ratio=o._ease.getRatio(o._time/h):r&&o._ease._calcEnd&&(o.ratio=o._ease.getRatio(0===o._time?0:1))}for(o._lazy!==!1&&(o._lazy=!1),o._active||!o._paused&&o._time!==l&&t>=0&&(o._active=!0),0===l&&(o._startAt&&(t>=0?o._startAt.render(t,!0,i):n||(n="_dummyGS")),o.vars.onStart&&(0!==o._time||0===h)&&(e||o._callback("onStart"))),s=o._firstPT;s;)s.f?s.t[s.p](s.c*o.ratio+s.s):s.t[s.p]=s.c*o.ratio+s.s,s=s._next;o._onUpdate&&(0>t&&o._startAt&&t!==-1e-4&&o._startAt.render(t,!0,i),e||(o._time!==l||r||i)&&o._callback("onUpdate")),n&&(!o._gc||i)&&(0>t&&o._startAt&&!o._onUpdate&&t!==-1e-4&&o._startAt.render(t,!0,i),r&&(o._timeline.autoRemoveChildren&&o._enabled(!1,!1),o._active=!1),!e&&o.vars[n]&&o._callback(n),0===h&&o._rawPrevTime===d&&a!==d&&(o._rawPrevTime=0))}},u._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:X.selector(e)||e;var r,n,s,a,o,l,h,u,p,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,c=this._firstPT;if((v(e)||z(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(X.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(p||(p=[]),p.push(s));if((p||!t)&&!rt(this,i,e,p))return!1}for(s in h)(a=o[s])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&c&&this._enabled(!1,!1)}}return l},u.invalidate=function(){this._notifyPluginsOfEnabled&&X._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?[]:{},N.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-d,this.render(t,!1,this.vars.lazy!==!1)),this},u._enabled=function(t,e){if(f||p.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=it(r[i],this,!0);else this._siblings=it(this.target,this,!0)}return N.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?X._onPluginEvent(t?"_onEnable":"_onDisable",this):!1},X.to=function(t,e,i){return new X(t,e,i)},X.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new X(t,e,i)},X.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new X(t,e,r)},X.delayedCall=function(t,e,i,r,n){return new X(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},X.set=function(t,e){return new X(t,0,e)},X.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:X.selector(t)||t;var i,r,n,s;if((v(t)||z(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(X.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(r=it(t).concat(),i=r.length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},X.killTweensOf=X.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=X.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var at=w("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=at.prototype},!0);if(u=at.prototype,at.version="1.19.0",at.API=2,u._firstPT=null,u._addTween=G,u.setRatio=j,u._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},u._mod=u._roundProps=function(t){for(var e,i=this._firstPT;i;)e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")],e&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},X._onPluginEvent=function(t,e){var i,r,n,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:s)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:s=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},at.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===at.API&&(q[(new t[e])._propName]=t[e]);return!0},T.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){at.call(this,i,r),this._overwriteProps=n||[]},t.global===!0),o=a.prototype=new at(i);o.constructor=a,a.API=t.API;for(e in s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,at.activate([a]),a},l=t._gsQueue){for(h=0;hy;);y--}for(T=s[x]=[],p=a?Math.min(y,x)*l-.5:r%y,f=a?x*l/y-.5:r/y|0,g=0,v=1/0,m=0;x>m;m++)c=m%y-p,_=f-(m/y|0),T[m]=d=o?Math.abs("y"===o?_:c):Math.sqrt(c*c+_*_),d>g&&(g=d),v>d&&(v=d);T.max=g-v,T.min=v,T.v=x=e.amount||e.each*(y>x?x-1:o?"y"===o?x/y:y:Math.max(y,x/y))||0,T.b=0>x?n-x:n}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},y=r.prototype=new e;return r.version="2.1.3",r.distribute=v,y.constructor=r,y.kill()._gc=y._forcingPlayhead=y._hasPause=!1,y.to=function(t,e,r,n){var s=r.repeat&&f.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},y.from=function(t,e,r,n){return this.add((r.repeat&&f.TweenMax||i).from(t,e,g(this,r)),n)},y.fromTo=function(t,e,r,n,s){var a=n.repeat&&f.TweenMax||i;return n=g(this,n,r),e?this.add(a.fromTo(t,e,r,n),s):this.set(t,n,s)},y.staggerTo=function(t,e,n,s,a,o,h,u){var p,f,d=new r({onComplete:o,onCompleteParams:h,callbackScope:u,smoothChildTiming:this.smoothChildTiming}),g=v(n.stagger||s),y=n.startAt,x=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),t=t||[],l(t)&&(t=m(t)),f=0;fs&&(n=1),l.add(a,s)),a=o;return h.add(l,0),n&&l.totalDuration(),l},y.add=function(n,s,a,o){var l,u,p,f,c,_,d=this;if("number"!=typeof s&&(s=d._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&h(n)){for(a=a||"normal",o=o||0,l=s,u=n.length,p=0;u>p;p++)h(f=n[p])&&(f=new r({tweens:f})),d.add(f,l),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?l=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),l+=o;return d._uncache(!0)}if("string"==typeof n)return d.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(d,n,s),(n._time||!n._duration&&n._initted)&&(l=(d.rawTime()-n._startTime)*n._timeScale,(!n._duration||Math.abs(Math.max(0,Math.min(n.totalDuration(),l)))-n._totalTime>1e-5)&&n.render(l,!1,!1)),(d._gc||d._time===d._duration)&&!d._paused&&d._durationn._startTime;c._timeline;)_&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return d},y.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&h(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},y._remove=function(t,i){e.prototype._remove.call(this,t,i);var r=this._last;return r?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},y.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},y.insert=y.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},y.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},y.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},y.addPause=function(t,e,r,n){var s=i.delayedCall(0,d,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},y.removeLabel=function(t){return delete this._labels[t],this},y.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},y._parseTimeOrLabel=function(e,i,r,n){var s,a;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&h(n)))for(a=n.length;--a>-1;)n[a]instanceof t&&n[a].timeline===this&&this.remove(n[a]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(a=e.indexOf("="),-1===a)return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(a-1)+"1",10)*Number(e.substr(a+1)),e=a>1?this._parseTimeOrLabel(e.substr(0,a-1),0,r):s}return Number(e)+i},y.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},y.stop=function(){return this.paused(!0)},y.gotoAndPlay=function(t,e){return this.play(t,e)},y.gotoAndStop=function(t,e){return this.pause(t,e)},y.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,n,a,o,l,h,f,c,_=this,d=_._time,m=_._dirty?_.totalDuration():_._totalDuration,g=_._startTime,v=_._timeScale,y=_._paused;if(d!==_._time&&(t+=_._time-d),_._hasPause&&!_._forcingPlayhead&&!e){if(t>d)for(r=_._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===_._rawPrevTime||(h=r),r=r._next;else for(r=_._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(_._time=_._totalTime=t=h._startTime,c=_._startTime+(_._reversed?_._duration-t:t)/_._timeScale)}if(t>=m-s&&t>=0)_._totalTime=_._time=m,_._reversed||_._hasPausedChild()||(n=!0,o="onComplete",l=!!_._timeline.autoRemoveChildren,0===_._duration&&(0>=t&&t>=-s||_._rawPrevTime<0||_._rawPrevTime===s)&&_._rawPrevTime!==t&&_._first&&(l=!0,_._rawPrevTime>s&&(o="onReverseComplete"))),_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:s,t=m+1e-4;else if(s>t)if(_._totalTime=_._time=0,t>-s&&(t=0),(0!==d||0===_._duration&&_._rawPrevTime!==s&&(_._rawPrevTime>0||0>t&&_._rawPrevTime>=0))&&(o="onReverseComplete",n=_._reversed),0>t)_._active=!1,_._timeline.autoRemoveChildren&&_._reversed?(l=n=!0,o="onReverseComplete"):_._rawPrevTime>=0&&_._first&&(l=!0),_._rawPrevTime=t;else{if(_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:s,0===t&&n)for(r=_._first;r&&0===r._startTime;)r._duration||(n=!1),r=r._next;t=0,_._initted||(l=!0)}else _._totalTime=_._time=_._rawPrevTime=t;if(_._time!==d&&_._first||i||l||h){if(_._initted||(_._initted=!0),_._active||!_._paused&&_._time!==d&&t>0&&(_._active=!0),0===d&&_.vars.onStart&&(0===_._time&&_._duration||e||_._callback("onStart")),f=_._time,f>=d)for(r=_._first;r&&(a=r._next,f===_._time&&(!_._paused||y));)(r._active||r._startTime<=f&&!r._paused&&!r._gc)&&(h===r&&(_.pause(),_._pauseTime=c),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=a;else for(r=_._last;r&&(a=r._prev,f===_._time&&(!_._paused||y));){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>_._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,_.pause(),_._pauseTime=c}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=a}_._onUpdate&&(e||(u.length&&p(),_._callback("onUpdate"))),o&&(_._gc||(g===_._startTime||v!==_._timeScale)&&(0===_._time||m>=_.totalDuration())&&(n&&(u.length&&p(),_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[o]&&_._callback(o)))}},y._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},y.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],a=this._first,o=0;a;)a._startTime-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(a[o++]=r[n]);return s&&this._enabled(!1,!0),a},y.recent=function(){return this._recent},y._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},y.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},y._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},y.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},y.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},y._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},y.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},y.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},y.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,s=n._last,a=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>a&&n._sortChildren&&!s._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(s,s._startTime-s._delay),n._calculatingDuration=0):a=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,n._timeline.smoothChildTiming&&(n._startTime+=s._startTime/n._timeScale,n._time-=s._startTime,n._totalTime-=s._startTime,n._rawPrevTime-=s._startTime),n.shiftChildren(-s._startTime,!1,-9999999999),a=0),i=s._startTime+s._totalDuration/s._timeScale,i>r&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},y.paused=function(e){if(e===!1&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},y.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},y.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},r},!0)}),n._gsDefine&&n._gsQueue.pop()(),!function(t){"use strict";var e=t.GreenSockGlobals||t,i=function(t){var i,r=t.split("."),n=e;for(i=0;ie;e++)if(i=t[e],p(i))for(r=i.length,r=0;r-1;)if(i=e[r],t.substr(0,i.length)===i)return i.length},_=/(?:\r|\n|\t\t)/g,d=/(?:\s\s+)/g,m=55296,g=56319,v=56320,y=127462,x=127487,T=127995,w=127999,b=function(t){return(t.charCodeAt(0)-m<<10)+(t.charCodeAt(1)-v)+65536},P=a.all&&!a.addEventListener,O=" style='position:relative;display:inline-block;"+(P?"*display:inline;*zoom:1;'":"'"),S=function(t,e){t=t||"";var i=-1!==t.indexOf("++"),r=1;return i&&(t=t.split("++").join("")),function(){return"<"+e+O+(t?" class='"+t+(i?r++:"")+"'>":">")}},C=r.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=C.selector(t)),!t)throw"cannot split a null element.";this.elements=p(t)?f(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},A=function(t,e,i){var r=t.nodeType;if(1===r||9===r||11===r)for(t=t.firstChild;t;t=t.nextSibling)A(t,e,i);else(3===r||4===r)&&(t.nodeValue=t.nodeValue.split(e).join(i))},k=function(t,e){for(var i=e.length;--i>-1;)t.push(e[i])},M=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},R=function(t,e,i){for(var r;t&&t!==e;){if(r=t._next||t.nextSibling)return r.textContent.charAt(0)===i;t=t.parentNode||t._parent}return!1},N=function(t){var e,i,r=M(t.childNodes),n=r.length;for(e=0;n>e;e++)i=r[e],i._isSplit?N(i):(e&&3===i.previousSibling.nodeType?i.previousSibling.nodeValue+=3===i.nodeType?i.nodeValue:i.firstChild.nodeValue:3!==i.nodeType&&t.insertBefore(i.firstChild,i),t.removeChild(i))},F=function(t,e,i,r,n,s,o){var h,p,f,c,_,d,m,g,v,y,x,T,w=l(t),b=u(t,"paddingLeft",w),P=-999,O=u(t,"borderBottomWidth",w)+u(t,"borderTopWidth",w),S=u(t,"borderLeftWidth",w)+u(t,"borderRightWidth",w),C=u(t,"paddingTop",w)+u(t,"paddingBottom",w),M=u(t,"paddingLeft",w)+u(t,"paddingRight",w),F=.2*u(t,"fontSize"),D=u(t,"textAlign",w,!0),X=[],z=[],E=[],I=e.wordDelimiter||" ",L=e.tag?e.tag:e.span?"span":"div-ss",B=e.type||e.split||"chars,words,lines",Y=n&&-1!==B.indexOf("lines")?[]:null,j=-1!==B.indexOf("words"),V=-1!==B.indexOf("chars"),W="absolute"===e.position||e.absolute===!0,G=e.linesClass,U=-1!==(G||"").indexOf("++"),q=[];for(U&&(G=G.split("++").join("")),p=t.getElementsByTagName("*"),f=p.length,_=[],h=0;f>h;h++)_[h]=p[h];if(Y||W)for(h=0;f>h;h++)c=_[h],d=c.parentNode===t,(d||W||V&&!j)&&(T=c.offsetTop,Y&&d&&Math.abs(T-P)>F&&("BR"!==c.nodeName||0===h)&&(m=[],Y.push(m),P=T),W&&(c._x=c.offsetLeft,c._y=T,c._w=c.offsetWidth,c._h=c.offsetHeight),Y&&((c._isSplit&&d||!V&&d||j&&d||!j&&c.parentNode.parentNode===t&&!c.parentNode._isSplit)&&(m.push(c),c._x-=b,R(c,t,I)&&(c._wordEnd=!0)),"BR"===c.nodeName&&(c.nextSibling&&"BR"===c.nextSibling.nodeName||0===h)&&Y.push([])));for(h=0;f>h;h++)c=_[h],d=c.parentNode===t,"BR"!==c.nodeName?(W&&(v=c.style,j||d||(c._x+=c.parentNode._x,c._y+=c.parentNode._y),v.left=c._x+"px",v.top=c._y+"px",v.position="absolute",v.display="block",v.width=c._w+1+"px",v.height=c._h+"px"),!j&&V?c._isSplit?(c._next=c.nextSibling,c.parentNode.appendChild(c)):c.parentNode._isSplit?(c._parent=c.parentNode,!c.previousSibling&&c.firstChild&&(c.firstChild._isFirst=!0),c.nextSibling&&" "===c.nextSibling.textContent&&!c.nextSibling.nextSibling&&q.push(c.nextSibling),c._next=c.nextSibling&&c.nextSibling._isFirst?null:c.nextSibling,c.parentNode.removeChild(c),_.splice(h--,1),f--):d||(T=!c.nextSibling&&R(c.parentNode,t,I),c.parentNode._parent&&c.parentNode._parent.appendChild(c),T&&c.parentNode.appendChild(a.createTextNode(" ")),"span"===L&&(c.style.display="inline"),X.push(c)):c.parentNode._isSplit&&!c._isSplit&&""!==c.innerHTML?z.push(c):V&&!c._isSplit&&("span"===L&&(c.style.display="inline"),X.push(c))):Y||W?(c.parentNode&&c.parentNode.removeChild(c),_.splice(h--,1),f--):j||t.appendChild(c);for(h=q.length;--h>-1;)q[h].parentNode.removeChild(q[h]);if(Y){for(W&&(y=a.createElement(L),t.appendChild(y),x=y.offsetWidth+"px",T=y.offsetParent===t?0:t.offsetLeft,t.removeChild(y)),v=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(g=" "===I&&(!W||!j&&!V),h=0;hp;p++)"BR"!==m[p].nodeName&&(c=m[p],y.appendChild(c),g&&c._wordEnd&&y.appendChild(a.createTextNode(" ")),W&&(0===p&&(y.style.top=c._y+"px",y.style.left=b+T+"px"),c.style.top="0px",T&&(c.style.left=c._x-T+"px")));0===f?y.innerHTML=" ":j||V||(N(y),A(y,String.fromCharCode(160)," ")),W&&(y.style.width=x,y.style.height=c._h+"px"),t.appendChild(y)}t.style.cssText=v}W&&(o>t.clientHeight&&(t.style.height=o-C+"px",t.clientHeightt.clientWidth&&(t.style.width=s-M+"px",t.clientWidth",D=!0,X=e.specialChars?"function"==typeof e.specialChars?e.specialChars:c:null,z=a.createElement("div"),E=t.parentNode;for(E.insertBefore(z,t),z.textContent=t.nodeValue,E.removeChild(t),t=z,n=s(t),f=-1!==n.indexOf("<"),e.reduceWhiteSpace!==!1&&(n=n.replace(d," ").replace(_,"")),f&&(n=n.split("<").join("{{LT}}")),u=n.length,o=(" "===n.charAt(0)?N:"")+i(),l=0;u>l;l++)if(p=n.charAt(l),X&&(O=X(n.substr(l),e.specialChars)))p=n.substr(l,O||1),o+=k&&" "!==p?r()+p+"":p,l+=O-1;else if(p===R&&n.charAt(l-1)!==R&&l){for(o+=D?F:"",D=!1;n.charAt(l+1)===R;)o+=N,l++;l===u-1?o+=N:")"!==n.charAt(l+1)&&(o+=N+i(),D=!0)}else"{"===p&&"{{LT}}"===n.substr(l,6)?(o+=k?r()+"{{LT}}":"{{LT}}",l+=5):p.charCodeAt(0)>=m&&p.charCodeAt(0)<=g||n.charCodeAt(l+1)>=65024&&n.charCodeAt(l+1)<=65039?(v=b(n.substr(l,2)),P=b(n.substr(l+2,2)),h=v>=y&&x>=v&&P>=y&&x>=P||P>=T&&w>=P?4:2,o+=k&&" "!==p?r()+n.substr(l,h)+"":n.substr(l,h),l+=h-1):o+=k&&" "!==p?r()+p+"":p;t.outerHTML=o+(D?F:""),f&&A(E,"{{LT}}","<")},X=function(t,e,i,r){var n,s,a=M(t.childNodes),o=a.length,l="absolute"===e.position||e.absolute===!0;if(3!==t.nodeType||o>1){for(e.absolute=!1,n=0;o>n;n++)s=a[n],(3!==s.nodeType||/\S+/.test(s.nodeValue))&&(l&&3!==s.nodeType&&"inline"===u(s,"display",null,!0)&&(s.style.display="inline-block",s.style.position="relative"),s._isSplit=!0,X(s,e,i,r));return e.absolute=l,void(t._isSplit=!0)}D(t,e,i,r)},z=C.prototype;z.split=function(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,i,r,n=this.elements.length,s=t.tag?t.tag:t.span?"span":"div-ss",a=S(t.wordsClass,s),o=S(t.charsClass,s);--n>-1;)r=this.elements[n],this._originals[n]=r.innerHTML,e=r.clientHeight,i=r.clientWidth,X(r,t,a,o),F(r,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},z.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},C.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(C.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)},C.version="0.7.0"}(n),n._gsQueue.push(function(){"use strict";var t=n._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){var e=1>t?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},i=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},r=t.prototype;r._onInitAllProps=function(){var t,r,n,s,a=this._tween,o=a.vars.roundProps,l={},h=a._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)l[o[n]]=Math.round;else for(s in o)l[s]=e(o[s]);for(s in l)for(t=a._firstPT;t;)r=t._next,t.pg?t.t._mod(l):t.n===s&&(2===t.f&&t.t?i(t.t._firstPT,l[s]):(this._add(t.t,s,t.s,t.c,l[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:a._firstPT===t&&(a._firstPT=r),t._next=t._prev=null,a._propLookup[s]=h)),t=r;return!1},r._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)}}),n._gsDefine&&n._gsQueue.pop()(),window.NextendTimeline=this.TimelineLite,window.NextendTween=this.TweenLite,window.NextendSplitText=this.SplitText,n}),N2D("n2GSAPAutoAlpha","GSAP",function(t,e){N2Classes.GSAP._gsDefine.plugin({propName:"n2AutoAlpha",API:2,version:"1.0.1",overwriteProps:["n2AutoAlpha"],init:function(t,e,i,r){var n=window.getComputedStyle(t).opacity;return"function"==typeof e&&(e=e(r,t)),this._target=t,this._style=t.style,this._tween=this._addTween(t.style,"opacity",n,e,"n2AutoAlpha"),this._tween||(this._opacity=n),!0},set:function(t){this._super.setRatio.call(this,t),this._tween||this._opacity==this._style.opacity||(this._style.opacity=this._opacity),"0"==this._style.opacity?this._target.setAttribute("data-force-hidden",""):this._target.hasAttribute("data-force-hidden")&&this._target.removeAttribute("data-force-hidden")}})}),N2D("n2GSAPBlur","GSAP",function(t,e){var i=document.createElement("div"),r=/Edge\/\d./i.test(navigator.userAgent)?!1:i.style.filter!==e?"filter":i.style.webkitFilter!==e?"webkitFilter":!1,n=r?"filter"==r?r:"-"+r.replace(/([A-Z])/g,"-$1").toLowerCase():"";N2Classes.GSAP._gsDefine.plugin({propName:"n2blur",API:2,version:"1.1.0",overwriteProps:["n2blur"],init:function(t,e,i,n){if(!r)return!0;"function"==typeof e&&(e=e(n,t));var s=window.getComputedStyle(t)[r],a="blur("+e+"px)";return"none"===s&&(s="blur(0px)"),this._style=t.style,this._remove=!e,s!=a&&this._addTween(t.style,r,s,a,"n2blur"),!0},set:function(t){this._super.setRatio.call(this,t),1===t&&this._remove&&this._style.removeProperty(n)}})}),N2D("nextend-gsap");(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,i={logs:[],errors:[],warns:[],infos:[]};return{log:function(){i.logs.push(arguments),t&&e.log&&e.log.apply(e,arguments)},warn:function(){i.warns.push(arguments),t&&e.warn&&e.warn.apply(e,arguments)},error:function(){i.errors.push(arguments),t&&e.error&&e.error.apply(e,arguments)},info:function(n){i.infos.push(arguments),t&&e.info&&e.info.apply(e,arguments)},debug:function(e){t=e},logArray:function(){return i}}}(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 i=e.indexOf("Trident/");if(i>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),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)||"playsInline"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",modifier:-1}:(document.documentElement.setAttribute("dir","ltr"),{isRtl:!1,marginLeft:"marginLeft",marginRight:"marginRight",left:"left",right:"right",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,i=null,n=e(window);return function(){i&&clearTimeout(i),i=setTimeout(function(){n.trigger("resize"),i=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="",i=0;in?t+=String.fromCharCode(n):n>127&&2048>n?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},t=function(e){for(var t="",i=0,n=c1=c2=0;in?(t+=String.fromCharCode(n),i++):n>191&&224>n?(c2=e.charCodeAt(i+1),t+=String.fromCharCode((31&n)<<6|63&c2),i+=2):(c2=e.charCodeAt(i+1),c3=e.charCodeAt(i+2),t+=String.fromCharCode((15&n)<<12|(63&c2)<<6|63&c3),i+=3);return t};return N2Classes.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(t){var i,n,o,r,T,a,s,S="",l=0;for(t=e(t);l>2,T=(3&i)<<4|n>>4,a=(15&n)<<2|o>>6,s=63&o,isNaN(n)?a=s=64:isNaN(o)&&(s=64),S=S+this._keyStr.charAt(r)+this._keyStr.charAt(T)+this._keyStr.charAt(a)+this._keyStr.charAt(s);return S},decode:function(e){var i,n,o,r,T,a,s,S="",l=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");l>4,n=(15&T)<<4|a>>2,o=(3&a)<<6|s,S+=String.fromCharCode(i),64!=a&&(S+=String.fromCharCode(n)),64!=s&&(S+=String.fromCharCode(o));return S=t(S)}},N2Classes.Base64}),!function(e,t){e(function(){"use strict";function e(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function i(e,t){var i,n,o=e.length;if(!o||!t)return!1;for(i=t.toLowerCase(),n=0;o>n;++n)if(i===e[n].toLowerCase())return!0;return!1}function n(e){for(var t in e)s.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function o(e){return(e||"").substr(0,500)}function r(e,t){this.ua=o(e),this._cache={},this.maxPhoneWidth=t||600}var T={};T.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[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|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|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|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|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|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",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|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",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(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|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|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",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)",GoogleTablet:"Android.*Pixel C",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-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",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 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",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|\\bA3-A20\\b|\\bA3-A30",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:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X",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:"97G4|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|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",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|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",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|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",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)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|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|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|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",PointOfViewTablet:"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)|Qualcore 1027",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|VF-1497|VFD 1400",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|TECNO DP8D",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",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",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]+|V10 \\b4G\\b",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",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",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",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"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",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",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|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},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})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",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",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},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]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[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]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[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|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},T.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 )|sy(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 T.FALLBACK_PHONE="UnknownPhone",T.FALLBACK_TABLET="UnknownTablet",T.FALLBACK_MOBILE="UnknownMobile",a="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,i,o,r,S,l=T.mobileDetectRules;for(e in l.props)if(s.call(l.props,e)){for(t=l.props[e],a(t)||(t=[t]),r=t.length,o=0;r>o;++o)i=t[o],S=i.indexOf("[VER]"),S>=0&&(i=i.substring(0,S)+"([\\w._\\+]+)"+i.substring(S+5)),t[o]=new RegExp(i,"i");l.props[e]=t}n(l.oss),n(l.phones),n(l.tablets),n(l.uas),n(l.utils),l.oss0={WindowsPhoneOS:l.oss.WindowsPhoneOS,WindowsMobileOS:l.oss.WindowsMobileOS}}(),T.findMatch=function(e,t){for(var i in e)if(s.call(e,i)&&e[i].test(t))return i;return null},T.findMatches=function(e,t){var i=[];for(var n in e)s.call(e,n)&&e[n].test(t)&&i.push(n);return i},T.getVersionStr=function(e,t){var i,n,o,r,a=T.mobileDetectRules.props;if(s.call(a,e))for(i=a[e],o=i.length,n=0;o>n;++n)if(r=i[n].exec(t),null!==r)return r[1];return null},T.getVersion=function(e,t){var i=T.getVersionStr(e,t);return i?T.prepareVersionNo(i):NaN},T.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)},T.isMobileFallback=function(e){return T.detectMobileBrowsers.fullPattern.test(e)||T.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},T.isTabletFallback=function(e){return T.detectMobileBrowsers.tabletPattern.test(e)},T.prepareDetectionCache=function(e,i,n){if(e.mobile===t){var o,a,s;return(a=T.findMatch(T.mobileDetectRules.tablets,i))?(e.mobile=e.tablet=a,void(e.phone=null)):(o=T.findMatch(T.mobileDetectRules.phones,i))?(e.mobile=e.phone=o,void(e.tablet=null)):void(T.isMobileFallback(i)?(s=r.isPhoneSized(n),s===t?(e.mobile=T.FALLBACK_MOBILE,e.tablet=e.phone=null):s?(e.mobile=e.phone=T.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=T.FALLBACK_TABLET,e.phone=null)):T.isTabletFallback(i)?(e.mobile=e.tablet=T.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null)}},T.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")},T.detectOS=function(e){return T.findMatch(T.mobileDetectRules.oss0,e)||T.findMatch(T.mobileDetectRules.oss,e)},T.getDeviceSmallerSide=function(){return window.screen.widthe?t:T.getDeviceSmallerSide()<=e}:r.isPhoneSized=function(){},r._impl=T,r.version="1.4.4 2019-09-21",r})}(function(e){if("undefined"!=typeof module&&module.exports)return function(e){module.exports=e()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(e){window.MobileDetect=e()};throw new Error("unknown environment")}()),N2D("ImagesLoaded",function(e,t){(function(){"use strict";function e(){}function t(e,t){for(var i=e.length;i--;)if(e[i].listener===t)return i;return-1}function i(e){return function(){return this[e].apply(this,arguments)}}var n=e.prototype,o=this,r=o.EventEmitter;n.getListeners=function(e){var t,i,n=this._getEvents();if("object"==typeof e){t={};for(i in n)n.hasOwnProperty(i)&&e.test(i)&&(t[i]=n[i])}else t=n[e]||(n[e]=[]);return t},n.flattenListeners=function(e){var t,i=[];for(t=0;tu.clickTolerance||Math.abs(H.y)>u.clickTolerance)&&(C=!1),M===t&&2!==G&&(M=Math.abs(H.x)1||e.scale&&1!==e.scale},function(e){return!e.isPrimary||e.buttons&&1!==e.buttons||!u.mouse&&"touch"!==e.pointerType&&"pen"!==e.pointerType},function(e){return e.buttons&&1!==e.buttons}],I=function(t){var i=t.tagName;return!("INPUT"!=i&&"TEXTAREA"!=i&&"SELECT"!=i&&"BUTTON"!=i&&"VIDEO"!=i&&!e(t).hasClass("n2-scrollable")&&!e(t).closest(".n2-scrollable").length)};return A(),{supportsPointerEvents:h.pointerEvents,getClicksAllowed:function(){return C},kill:function(){for(var e=m.length-1;e>=0;e--)m[e].remove()}}}var n=function(){return!0},o=!1;return i}),N2D("nextend-frontend");(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),N2D("SmartSliderBackgrounds",function(t,e){function i(e){this.device=null,this.slider=e,this.hasFixed=!1,this.lazyLoad=e.parameters.lazyLoad,this.lazyLoadNeighbor=e.parameters.lazyLoadNeighbor,this.deviceDeferred=t.Deferred(),this.slider.sliderElement.one("SliderDevice",t.proxy(this.onSlideDeviceChangedFirst,this)),this.slider.sliderElement.on("visibleSlidesChanged",t.proxy(this.onVisibleSlidesChanged,this)),this.slider.sliderElement.on("slideCountChanged",t.proxy(this.onVisibleSlidesChanged,this))}return i.prototype.whenWithProgress=function(e){for(var i=0,s=t.Deferred(),n=0;n
').appendTo("body")),parseFloat(s.css("fontSize"))/10}var s;return{toRem:function(t){return t/i()+"rem"}}}),N2D("SmartSliderLoad",function(t,e){function i(e,i){this.parameters=t.extend({fade:1,scroll:0},i),this.deferred=t.Deferred(),this.smartSlider=e,this.spinnerCouner=0,this.id=e.sliderElement.attr("id"),this.$window=t(window),this.spinner=t("#"+this.id+"-spinner")}return i.prototype.start=function(){if(this.parameters.scroll){var e=t(window);e.on("scroll."+this.id,t.proxy(this.onScroll,this)),this.onScroll()}else if(this.parameters.fade){this.loadingArea=t("#"+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(t.proxy(function(t,e){i.html(Math.round(t/(e+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 e=t.Deferred();return this.smartSlider.sliderElement.find(".n2-ss-layers-container").n2imagesLoaded().always(function(){e.resolve()}),e},i.prototype.showSlider=function(){t.when(this.smartSlider.responsive.ready,this.smartSlider.backgrounds.load,this.loadLayerImages()).always(t.proxy(function(){this._showSlider()},this))},i.prototype._showSlider=function(e){this.smartSlider.responsive.isReadyToResize=!0,t.when.apply(t,this.smartSlider.widgetDeferreds).done(t.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.initLayerAnimations(),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"),t("#"+this.id+"-placeholder").remove(),this.loadingArea=this.smartSlider.sliderElement,"function"==typeof e?e(this.deferred):this.deferred.resolve(),this.smartSlider.sliderElement.triggerHandler("Show")},this))},i.prototype.loaded=function(t){this.deferred.done(t)},i.prototype.showSpinner=function(t){0===this.spinnerCouner&&this.spinner.appendTo(this.loadingArea).css("display",""),this.spinnerCouner++},i.prototype.removeSpinner=function(t){this.spinnerCouner--,this.spinnerCouner<=0&&(this.spinner.detach(),this.spinnerCouner=0)},i}),N2D("ScrollTracker",function(t,e,i){function s(){this.started=!1,this.items=[]}return s.prototype.add=function(t,e,i,s){var n={$el:t,mode:e,onVisible:i,onHide:s,state:"unknown"};this.items.push(n),this._onScroll(n,Math.max(document.documentElement.clientHeight,window.innerHeight)),this.started||this.start()},s.prototype.start=function(){this.started||(t(window).on("scroll.scrollTracker",t.proxy(this.onScroll,this)),this.started=!0)},s.prototype.onScroll=function(t){for(var e=Math.max(document.documentElement.clientHeight,window.innerHeight),i=0;i.7*e,n=!0;"partly-visible"===t.mode?s&&(i.bottom<0||i.top>=i.height)?n=!1:!s&&(i.bottom-i.height<0||i.top-e+i.height>=0)&&(n=!1):"not-visible"===t.mode&&(n=i.top-e<0&&i.top+i.height>0),n===!1?"hidden"!==t.state&&("function"==typeof t.onHide&&t.onHide(),t.state="hidden"):"visible"!==t.state&&("function"==typeof t.onVisible&&t.onVisible(),t.state="visible")},new s}),N2D("SmartSliderApi",function(t,e){function i(){this.sliders={},this.readys={}}i.prototype.makeReady=function(t,e){if(this.sliders[t]=e,"undefined"!=typeof this.readys[t])for(var i=0;i=0&&s.element(n.eq(r))},element:function(e){var i=t(window.n2ScrollOffsetSelector).height();s.to(t(e).offset().top-i)}};return i.prototype.scroll=function(t,e){this.isClickAllowed(t)&&(t.preventDefault(),s[e].apply(window,Array.prototype.slice.call(arguments,2)))},window.n2ss=new i,i}),N2D("SmartSliderAbstract",function($,undefined){function SmartSliderAbstract(t,e){this.editor=null,this.startedDeferred=$.Deferred(),this.visibleDeferred=$.Deferred(),t instanceof $&&(t="#"+t.attr("id"));var i=t.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(t,$.proxy(function(){return this},this)),this.isAdmin=!!e.admin,this.id=parseInt(i.replace("n2-ss-","")),window[i]=this,e.isDelayed!==undefined&&e.isDelayed?$(window).ready($.proxy(function(){this.waitForExists(i,e)},this)):this.waitForExists(i,e)}return SmartSliderAbstract.prototype.kill=function(){this.killed=!0;var t=this.sliderElement.attr("id"),e=$("#"+t+"-placeholder");e.length?e.remove():N2R("documentReady",function(e){e("#"+t+"-placeholder").remove()});var i=this.sliderElement.closest(".n2-ss-margin");i.length?i.remove():N2R("documentReady",$.proxy(function(t){this.sliderElement.closest(".n2-ss-margin").remove()},this));var s=this.sliderElement.closest(".n2-ss-align");s.length?s.remove():N2R("documentReady",$.proxy(function(t){this.sliderElement.closest(".n2-ss-align").remove()},this)),n2ss.makeReady(this.id,this),this.readyDeferred.resolve()},SmartSliderAbstract.prototype.waitForExists=function(t,e){var i=$.Deferred(),s=function(){var e=$("#"+t);e.length?i.resolve(e):setTimeout(s,500)};i.done($.proxy(this.onSliderExists,this,t,e)),s()},SmartSliderAbstract.prototype.onSliderExists=function(t,e,i){if("TEMPLATE"===i.prop("tagName")){var s=i.data("dependency"),n=i.data("delay"),r=$.proxy(function(){var s=$(i.html());i.replaceWith(s),this.waitForDimension($("#"+t),e),$(window).triggerHandler("n2Rocket",[this.sliderElement])},this);s&&$("#n2-ss-"+s).length?n2ss.ready(s,$.proxy(function(t){t.ready(r)},this)):n?setTimeout(r,n):r()}else this.waitForDimension(i,e)},SmartSliderAbstract.prototype.waitForDimension=function(t,e){var i=$.Deferred(),s=function(){var e=t.is(":visible");e?i.resolve():setTimeout(s,200)};s(),i.done($.proxy(this.onSliderHasDimension,this,t,e))},SmartSliderAbstract.prototype.initCSS=function(){this.parameters.css&&$('").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&¶meters.responsive.tablet&¶meters.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.SmartSliderBackgrounds(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(t){null!==t&&this.changeActiveBeforeLoad(t)},this));var t="undefined"!=typeof window["ss"+this.id]?parseInt(window["ss"+this.id]):null;null!==t&&this.changeActiveBeforeLoad(t)}else if(!this.isAdmin&&this.parameters.maintainSession&&"undefined"!=typeof sessionStorage){var e=sessionStorage.getItem("ss-"+this.id);null!==e&&this.changeActiveBeforeLoad(parseInt(e)),this.sliderElement.on("mainAnimationComplete",$.proxy(function(t,e,i,s){sessionStorage.setItem("ss-"+this.id,s)},this))}return!0},SmartSliderAbstract.prototype.changeActiveBeforeLoad=function(t){t>=0&&tthis.realSlides.length-1?0:i+1]);this.startCurrentSlideIndex(),this.firstSlideReady.resolve(this.currentSlide);for(var j=0;je&&(o*=e/r),e+i>s-r&&(a+=e+i-s+r);var l=e+n.top,h=e+n.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(t){this.visibleDeferred.done($.proxy(t,this))},SmartSliderAbstract.prototype.isPlaying=function(){return"ended"!==this.mainAnimation.getState()},SmartSliderAbstract.prototype.focus=function(t){var e=!1;if(this.responsive.parameters.focusUser&&!t&&(e=!0),e){var i=$(window).scrollTop(),s=this.responsive.focusOffsetTop,n=this.responsive.focusOffsetBottom,r=$(window).height(),o=this.sliderElement[0].getBoundingClientRect(),a=o.top-s,l=r-o.bottom-n;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+n+o.bottom-r:0>l&&(h=a>=-l?i+n+o.bottom-r:i-s+o.top),h!==i)return this._scrollTo(h,Math.abs(i-h))}}return!0},SmartSliderAbstract.prototype._scrollTo=function(t,e){var i=$.Deferred();return window.nextendScrollFocus=!0,$("html, body").animate({scrollTop:t},e,$.proxy(function(){i.resolve(),setTimeout(function(){window.nextendScrollFocus=!1},100)},this)),i},SmartSliderAbstract.prototype.isChangeCarousel=function(t){return"next"===t?this.currentSlide.index+1>=this.slides.length:"previous"===t?this.currentSlide.index-1<0:!1},SmartSliderAbstract.prototype.initNotCarousel=function(){this.next=function(t,e){var i=this.currentSlide.index+1;return i=0?this.changeTo(i,!0,t,e):!1},this.isChangePossible=function(t){var e=!1;return"next"===t?(e=this.currentSlide.index+1,e>=this.slides.length&&(e=!1)):"previous"===t&&(e=this.currentSlide.index-1,0>e&&(e=!1)),e!==!1&&e!==this.currentSlide.index};var t=$.proxy(function(t){0===t?this.widgets.setState("nonCarouselFirst",!0):this.widgets.setState("nonCarouselFirst",!1),t===this.slides.length-1?this.widgets.setState("nonCarouselLast",!0):this.widgets.setState("nonCarouselLast",!1)},this);this.startedDeferred.done($.proxy(function(){t(this.currentSlide.index)},this)),this.sliderElement.on("sliderSwitchTo",function(e,i){t(i)})},SmartSliderAbstract.prototype.isChangePossibleCarousel=function(t){var e=!1;return"next"===t?(e=this.currentSlide.index+1,e>=this.slides.length&&(e=0)):"previous"===t&&(e=this.currentSlide.index-1,0>e&&(e=this.slides.length-1)),e!==!1&&e!==this.currentSlide.index},SmartSliderAbstract.prototype.initCarousel=function(){this.next=this.nextCarousel,this.previous=this.previousCarousel,this.isChangePossible=this.isChangePossibleCarousel},SmartSliderAbstract.prototype.nextCarousel=function(t,e){var i=this.currentSlide.index+1;return i>=this.slides.length&&(i=0),this.changeTo(i,!1,t,e)},SmartSliderAbstract.prototype.previousCarousel=function(t,e){var i=this.currentSlide.index-1;return 0>i&&(i=this.slides.length-1),this.changeTo(i,!0,t,e)},SmartSliderAbstract.prototype.directionalChangeToReal=function(t){this.directionalChangeTo(t)},SmartSliderAbstract.prototype.directionalChangeTo=function(t){t>this.currentSlide.index?this.changeTo(t,!1):this.changeTo(t,!0)},SmartSliderAbstract.prototype.changeTo=function(t,e,i,s){if(t=parseInt(t),t!==this.currentSlide.index){this.sliderElement.trigger("sliderSwitchTo",[t,this.getRealIndex(t)]);var n=$.now();return $.when($.when.apply($,this.backgrounds.preLoadSlides(this.getVisibleSlides(this.slides[t]))),this.focus(i)).done($.proxy(function(){if(this.mainAnimationLastChangeTime<=n){this.mainAnimationLastChangeTime=n;var r=this.mainAnimation.getState();if("ended"===r){"undefined"==typeof i&&(i=!1);var o=this.mainAnimation;"undefined"!=typeof s&&(o=s),this._changeTo(t,e,i,s),o.changeTo(this.currentSlide,this.slides[t],e,i),this._changeCurrentSlide(t)}else"initAnimation"!==r&&"playing"!==r||(this.sliderElement.off(".fastChange").one("mainAnimationComplete.fastChange",$.proxy(function(){this.changeTo.call(this,t,e,i,s)},this)),this.mainAnimation.timeScale(2*this.mainAnimation.timeScale()))}},this)),!0}return!1},SmartSliderAbstract.prototype._changeCurrentSlide=function(t){this.currentRealSlide=this.currentSlide=this.slides[t],this.sliderElement.triggerHandler("sliderChangeCurrentSlide")},SmartSliderAbstract.prototype._changeTo=function(t,e,i,s){},SmartSliderAbstract.prototype.revertTo=function(t,e){this.unsetActiveSlide(this.slides[e]),this.setActiveSlide(this.slides[t]),this._changeCurrentSlide(t),this.sliderElement.trigger("sliderSwitchTo",[t,this.getRealIndex(t)])},SmartSliderAbstract.prototype.setActiveSlide=function(t){t.$element.addClass("n2-ss-slide-active")},SmartSliderAbstract.prototype.unsetActiveSlide=function(t){t.$element.removeClass("n2-ss-slide-active")},SmartSliderAbstract.prototype.initMainAnimationWithLayerAnimation=function(){"forced"===this.parameters.layerMode.mode&&this.sliderElement.on("preChangeToPlay",$.proxy(function(t,e,i,s,n){i.handled=!0,s.$element.on("layerAnimationCompleteOut.layers",function(){s.$element.off("layerAnimationCompleteOut.layers"),e.resolve()}),s.playOut()},this)),this.sliderElement.on("mainAnimationStart",$.proxy(this.onMainAnimationStartSyncLayers,this,this.parameters.layerMode)).on("reverseModeEnabled",$.proxy(this.onMainAnimationStartSyncLayersReverse,this,this.parameters.layerMode))},SmartSliderAbstract.prototype.onMainAnimationStartSyncLayers=function(t,e,i,s,n){var r=this.slides[n].$element,o=this.slides[s].$element;"mainInStart"===t.inAnimation?r.one("mainAnimationStartIn.layers",$.proxy(function(){r.off("mainAnimationStartInCancel.layers"),r.data("slide").playIn()},this)):"mainInEnd"===t.inAnimation&&r.one("mainAnimationCompleteIn.layers",$.proxy(function(){r.off("mainAnimationStartInCancel.layers"),r.data("slide").playIn()},this)),o.on("mainAnimationCompleteOut.layers",$.proxy(function(){o.off("mainAnimationCompleteOut.layers"),"skippable"===t.mode?t.playOnce?o.data("slide").suspend():o.data("slide").reset():"forced"===t.mode&&(t.playOnce||o.data("slide").reset())},this)),r.one("mainAnimationStartInCancel.layers",function(){r.off("mainAnimationStartIn.layers"),r.off("mainAnimationCompleteIn.layers")})},SmartSliderAbstract.prototype.onMainAnimationStartSyncLayersReverse=function(t,e,i){var s=this.slides[i].$element;"mainInStart"===t.inAnimation?s.one("mainAnimationStartIn.layers",$.proxy(function(){s.data("slide").playIn()},this)):"mainInEnd"===t.inAnimation&&s.one("mainAnimationCompleteIn.layers",$.proxy(function(){this.sliderElement.off("mainAnimationComplete.layers"),s.data("slide").playIn()},this)),this.sliderElement.one("mainAnimationComplete.layers",function(){s.off("mainAnimationStartIn.layers"),s.off("mainAnimationCompleteIn.layers")})},SmartSliderAbstract.prototype.findSlideByElement=function(t){t=$(t);for(var e=0;e1},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(t){return t},SmartSliderAbstract.prototype.slideToID=function(t,e){for(var i=0;i=0&&tt?this.changeTo(t,!0):this.changeTo(t):this.changeTo(t,!e):!1},SmartSliderAbstract.prototype.startAutoplay=function(t){return"undefined"!=typeof this.controlAutoplay?(this.controlAutoplay.pauseAutoplayExtraPlayingEnded(t,"autoplayButton"),!0):!1},SmartSliderAbstract.prototype.initLayerAnimations=function(){this.staticSlide&&this.staticSlide.initLayerAnimations();for(var t=0;t0){if(this.isShuffled){for(var t=[],e=0;this.realSlides.length>e;e++)t.push(this.parameters.lightbox[this.realSlides[e].originalIndex]);this.parameters.lightbox=t}for(var i=[],s=0,n=this,e=0;e
").css({position:"absolute",left:0,top:0,width:i,height:n,overflow:"hidden",zIndex:o.main.zIndex}).append(this.clonedCurrent().clone().css({position:"absolute",top:-s+"px",left:-r+"px"})).appendTo(e);return NextendTween.set(e.get(0),{transformPerspective:1e3,transformStyle:"preserve-3d"}),{current:a,tile:e}},i.prototype.animate=function(e,i,n){this.timeline.to(n[0][0].tile,e.main.duration*this.durationMultiplier,{left:"-50%",ease:"easeInOutCubic"},0),this.timeline.to(n[0][1].tile,e.main.duration*this.durationMultiplier,{left:"-50%",ease:"easeInOutCubic"},.3),this.timeline.to(n[1][0].tile,e.main.duration*this.durationMultiplier,{left:"100%",ease:"easeInOutCubic"},.15),this.timeline.to(n[1][1].tile,e.main.duration*this.durationMultiplier,{left:"100%",ease:"easeInOutCubic"},.45),t("
").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden"}).prependTo(this.clonedImages.nextImage.parent()).append(this.clonedImages.nextImage),this.timeline.fromTo(this.clonedImages.nextImage,e.main.duration*this.durationMultiplier,{scale:1.3},{scale:1},.45)},i}),N2D("SmartSliderBackgroundAnimationTiled",["SmartSliderBackgroundAnimationFluxAbstract"],function(t,e){function i(){N2Classes.SmartSliderBackgroundAnimationFluxAbstract.prototype.constructor.apply(this,arguments),this.setup()}return i.prototype=Object.create(N2Classes.SmartSliderBackgroundAnimationFluxAbstract.prototype),i.prototype.constructor=i,i.prototype.setup=function(e){var i=t("
").css({position:"absolute",left:0,top:0,width:this.w,height:this.h});this.container=i,NextendTween.set(i.get(0),{force3D:!0,perspective:1e3});for(var n=[],o=[],r=e.columns,s=e.rows,a=Math.floor(this.w/r),l=Math.floor(this.h/s),d=this.w-r*a,p=Math.ceil(d/r),c=this.h-s*l,u=Math.ceil(c/s),h=0,m=0;r>m;m++){n[m]=[];var g=a,f=0;if(d>0){var y=d>=p?p:d;g+=y,d-=y}for(var v=c,x=0;s>x;x++){var S=l;if(v>0){var y=v>=u?u:v;S+=y,v-=y}var b=t('
').css({position:"absolute",top:f+"px",left:h+"px",width:g+"px",height:S+"px",zIndex:-Math.abs(m-parseInt(r/2))+r-Math.abs(x-parseInt(s/2))}).appendTo(i),k=this.renderTile(b,g,S,e,h,f);o.push(k),n[m][x]=k,f+=S}h+=g}i.appendTo(this.containerElement),this.preSetup(),this.animate(e,o,n)},i.prototype.animate=function(e,i,n){this["sequence"+e.tiles.sequence](t.proxy(this.transform,this,e),i,n,e.tiles.delay*this.durationMultiplier)},i.prototype.sequenceParallel=function(t,e){t(e,null)},i.prototype.sequenceRandom=function(t,e,i,n){for(var o=this.timeline.totalDuration(),r=0;r
').css({width:i,height:this.h,position:"absolute",top:"0px",left:"left"==e.direction?i:"0","z-index":101});NextendTween.set(n,{transformStyle:"preserve-3d",transformOrigin:"left"==e.direction?"0px 0px":i+"px 0px"});var o=t('
').append(this.clonedCurrent()).css({width:i,height:this.h,position:"absolute",top:0,left:0,"-webkit-transform":"translateZ(0.1px)",overflow:"hidden"}).appendTo(n);NextendTween.set(o,{backfaceVisibility:"hidden",transformStyle:"preserve-3d"});var r=t('
').append(this.clonedNext()).appendTo(n).css({width:i,height:this.h,position:"absolute",top:0,left:0,overflow:"hidden"});NextendTween.set(r,{backfaceVisibility:"hidden",transformStyle:"preserve-3d",rotationY:180,rotationZ:0});var s=t("
").append(this.clonedCurrent().clone().css("left","left"==e.direction?0:-i)).css({position:"absolute",top:0,left:"left"==e.direction?"0":i,width:i,height:this.h,zIndex:100,overflow:"hidden"}),a=t('
').css({position:"absolute",top:0,left:"left"==e.direction?i:0,width:i,height:this.h,background:"#000",opacity:1,overflow:"hidden"}),l=t("
").css({width:this.w,height:this.h,position:"absolute",top:0,left:0}).append(n).append(s).append(a);NextendTween.set(l,{perspective:e.perspective,perspectiveOrigin:"50% 50%"}),this.placeNextImage(),this.clonedImages.nextImage.css({overflow:"hidden",width:"100%",height:"100%"}),this.containerElement.append(l),this.preSetup(),this.timeline.to(n.get(0),e.duration*this.durationMultiplier,{rotationY:"left"==e.direction?-180:180},0),this.timeline.to(a.get(0),e.duration*this.durationMultiplier,{opacity:0},0)}return i.prototype=Object.create(N2Classes.SmartSliderBackgroundAnimationFluxAbstract.prototype),i.prototype.constructor=i,i.prototype.getExtraDelay=function(){return 0},i}),N2D("SmartSliderBackgroundAnimationFluxAbstract",["SmartSliderBackgroundAnimationAbstract"],function(t,e){function i(){this.shiftedPreSetup=!1,this._clonedCurrent=!1,this._clonedNext=!1,N2Classes.SmartSliderBackgroundAnimationAbstract.prototype.constructor.apply(this,arguments),this.w=this.original.currentImage.width(),this.h=this.original.currentImage.height(),this.initCSS()}i.prototype=Object.create(N2Classes.SmartSliderBackgroundAnimationAbstract.prototype),i.prototype.constructor=i;var n=!1;return i.prototype.initCSS=function(){if(!n){var e=[".n2-ss-background-animation{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3}",".n2-ss-background-animation .n2-ss-slide-background {z-index: auto;}",".n2-ss-background-animation img{max-width:none}",".n2-ss-background-animation .n2-3d-side{position:absolute;left:0;top:0;overflow:hidden;background:"+this.sliderBackgroundAnimation.backgroundAnimations.color+"}",".n2-firefox .n2-ss-background-animation .n2-3d-side{outline:transparent solid 1px}",".n2-ss-background-animation .n2-ff-3d,.n2-ss-background-animation .tile{outline:transparent solid 1px}",".tile-colored-overlay{z-index:100000;background:"+this.sliderBackgroundAnimation.backgroundAnimations.color+"}"];t('").appendTo("head"),n=!0}},i.prototype.clonedCurrent=function(){return this._clonedCurrent||(this._clonedCurrent=this.original.currentImage.clone().css({width:this.w,height:this.h}),NextendTween.set(this._clonedCurrent,{transform:"none"})),this._clonedCurrent},i.prototype.clonedNext=function(){return this._clonedNext||(this._clonedNext=this.original.nextImage.clone().css({width:this.w,height:this.h}),NextendTween.set(this._clonedNext,{transform:"none"})),this._clonedNext},i.prototype.preSetup=function(){0!=this.shiftedBackgroundAnimation?this.shiftedPreSetup=!0:this._preSetup()},i.prototype._preSetup=function(t){this.timeline.to(this.original.currentImage.get(0),this.getExtraDelay(),{opacity:0},0),this.original.nextImage.css("opacity",0)},i.prototype.postSetup=function(){this.timeline.to(this.original.nextImage.get(0),this.getExtraDelay(),{opacity:1})},i.prototype.getExtraDelay=function(){return.2},i.prototype.ended=function(){this.original.currentImage.css("opacity",1),this.containerElement.html("")},i.prototype.revertEnded=function(){this.original.nextImage.css("opacity",1),this.containerElement.html("")},i}),N2D("smartslider-backgroundanimation");(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("particlesJS",function(e,a){function t(e){var a=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(a,function(e,a,t,i){return a+a+t+t+i+i});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}function i(e,a,t){return Math.min(Math.max(e,a),t)}function n(e,a){return a.indexOf(e)>-1}function s(e,a){var t=document.createElement("canvas");t.className="n-particles-js-canvas-el";var i=e.append(t);return i.length?new r(t,a):!1}var r=function(s,r){this.pJS={canvas:{el:s,w:s.offsetWidth,h:s.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var c=this.pJS;r&&Object.deepExtend(c,r),c.tmp.obj={size_value:c.particles.size.value,size_anim_speed:c.particles.size.anim.speed,move_speed:c.particles.move.speed,line_linked_distance:c.particles.line_linked.distance,line_linked_width:c.particles.line_linked.width,mode_grab_distance:c.interactivity.modes.grab.distance,mode_bubble_distance:c.interactivity.modes.bubble.distance,mode_bubble_size:c.interactivity.modes.bubble.size,mode_repulse_distance:c.interactivity.modes.repulse.distance},c.fn.retinaInit=function(){c.retina_detect&&window.devicePixelRatio>1?(c.canvas.pxratio=window.devicePixelRatio,c.tmp.retina=!0):(c.canvas.pxratio=1,c.tmp.retina=!1),c.canvas.w=c.canvas.el.offsetWidth*c.canvas.pxratio,c.canvas.h=c.canvas.el.offsetHeight*c.canvas.pxratio,c.particles.size.value=c.tmp.obj.size_value*c.canvas.pxratio,c.particles.size.anim.speed=c.tmp.obj.size_anim_speed*c.canvas.pxratio,c.particles.move.speed=c.tmp.obj.move_speed*c.canvas.pxratio,c.particles.line_linked.distance=c.tmp.obj.line_linked_distance*c.canvas.pxratio,c.interactivity.modes.grab.distance=c.tmp.obj.mode_grab_distance*c.canvas.pxratio,c.interactivity.modes.bubble.distance=c.tmp.obj.mode_bubble_distance*c.canvas.pxratio,c.particles.line_linked.width=c.tmp.obj.line_linked_width*c.canvas.pxratio,c.interactivity.modes.bubble.size=c.tmp.obj.mode_bubble_size*c.canvas.pxratio,c.interactivity.modes.repulse.distance=c.tmp.obj.mode_repulse_distance*c.canvas.pxratio},c.fn.canvasInit=function(){c.canvas.ctx=c.canvas.el.getContext("2d")},c.fn.canvasSize=function(){c.canvas.el.width=c.canvas.w,c.canvas.el.height=c.canvas.h,c&&c.interactivity.events.resize&&window.addEventListener("resize",function(){c.canvas.w=c.canvas.el.offsetWidth,c.canvas.h=c.canvas.el.offsetHeight,c.tmp.retina&&(c.canvas.w*=c.canvas.pxratio,c.canvas.h*=c.canvas.pxratio),c.canvas.el.width=c.canvas.w,c.canvas.el.height=c.canvas.h,c.particles.move.enable||(c.fn.particlesEmpty(),c.fn.particlesCreate(),c.fn.particlesDraw(),c.fn.vendors.densityAutoParticles()),c.fn.vendors.densityAutoParticles()})},c.fn.resize=function(){c.canvas.w=c.canvas.el.offsetWidth,c.canvas.h=c.canvas.el.offsetHeight,c.tmp.retina&&(c.canvas.w*=c.canvas.pxratio,c.canvas.h*=c.canvas.pxratio),c.canvas.el.width=c.canvas.w,c.canvas.el.height=c.canvas.h,c.particles.move.enable||(c.fn.particlesEmpty(),c.fn.particlesCreate(),c.fn.particlesDraw(),c.fn.vendors.densityAutoParticles()),c.fn.vendors.densityAutoParticles()},c.fn.canvasPaint=function(){c.canvas.ctx.fillRect(0,0,c.canvas.w,c.canvas.h)},c.fn.canvasClear=function(){c.canvas.ctx.clearRect(0,0,c.canvas.w,c.canvas.h)},c.fn.particle=function(e,i,n){if(this.radius=(c.particles.size.random?Math.random():1)*c.particles.size.value,c.particles.size.anim.enable&&(this.size_status=!1,this.vs=c.particles.size.anim.speed/100,c.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=n?n.x:Math.random()*c.canvas.w,this.y=n?n.y:Math.random()*c.canvas.h,this.x>c.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>c.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),c.particles.move.bounce&&c.fn.vendors.checkOverlap(this,n),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var s=e.value[Math.floor(Math.random()*c.particles.color.value.length)];this.color.rgb=t(s)}else e.value.r!=a&&e.value.g!=a&&e.value.b!=a&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),e.value.h!=a&&e.value.s!=a&&e.value.l!=a&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=t(this.color.value));this.opacity=(c.particles.opacity.random?Math.random():1)*c.particles.opacity.value,c.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=c.particles.opacity.anim.speed/100,c.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var r={};switch(c.particles.move.direction){case"top":r={x:0,y:-1};break;case"top-right":r={x:.5,y:-.5};break;case"right":r={x:1,y:-0};break;case"bottom-right":r={x:.5,y:.5};break;case"bottom":r={x:0,y:1};break;case"bottom-left":r={x:-.5,y:1};break;case"left":r={x:-1,y:0};break;case"top-left":r={x:-.5,y:-.5};break;default:r={x:0,y:0}}c.particles.move.straight?(this.vx=r.x,this.vy=r.y,c.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=r.x+Math.random()-.5,this.vy=r.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var o=c.particles.shape.type;if("object"==typeof o?o instanceof Array&&(this.shape=o[Math.floor(Math.random()*o.length)]):this.shape=o,"image"==this.shape){var l=c.particles.shape;this.img={src:l.image.src,ratio:l.image.width/l.image.height},this.img.ratio||(this.img.ratio=1),"svg"==c.tmp.img_type&&c.tmp.source_svg!=a&&(c.fn.vendors.createSvgImg(this),c.tmp.pushing&&(this.img.loaded=!1))}},c.fn.particle.prototype.draw=function(){function e(){c.canvas.ctx.drawImage(r,t.x-i,t.y-i,2*i,2*i/t.img.ratio)}var t=this;if(t.radius_bubble!=a)var i=t.radius_bubble;else var i=t.radius;if(t.opacity_bubble!=a)var n=t.opacity_bubble;else var n=t.opacity;if(t.color.rgb)var s="rgba("+t.color.rgb.r+","+t.color.rgb.g+","+t.color.rgb.b+","+n+")";else var s="hsla("+t.color.hsl.h+","+t.color.hsl.s+"%,"+t.color.hsl.l+"%,"+n+")";switch(c.canvas.ctx.fillStyle=s,c.canvas.ctx.beginPath(),t.shape){case"circle":c.canvas.ctx.arc(t.x,t.y,i,0,2*Math.PI,!1);break;case"edge":c.canvas.ctx.rect(t.x-i,t.y-i,2*i,2*i);break;case"triangle":c.fn.vendors.drawShape(c.canvas.ctx,t.x-i,t.y+i/1.66,2*i,3,2);break;case"polygon":c.fn.vendors.drawShape(c.canvas.ctx,t.x-i/(c.particles.shape.polygon.nb_sides/3.5),t.y-i/.76,2.66*i/(c.particles.shape.polygon.nb_sides/3),c.particles.shape.polygon.nb_sides,1);break;case"star":c.fn.vendors.drawShape(c.canvas.ctx,t.x-2*i/(c.particles.shape.polygon.nb_sides/4),t.y-i/1.52,2*i*2.66/(c.particles.shape.polygon.nb_sides/3),c.particles.shape.polygon.nb_sides,2);break;case"image":if("svg"==c.tmp.img_type)var r=t.img.obj;else var r=c.tmp.img_obj;r&&e()}c.canvas.ctx.closePath(),c.particles.shape.stroke.width>0&&(c.canvas.ctx.strokeStyle=c.particles.shape.stroke.color,c.canvas.ctx.lineWidth=c.particles.shape.stroke.width,c.canvas.ctx.stroke()),c.canvas.ctx.fill()},c.fn.particlesCreate=function(){for(var e=0;e=c.particles.opacity.value&&(a.opacity_status=!1),a.opacity+=a.vo):(a.opacity<=c.particles.opacity.anim.opacity_min&&(a.opacity_status=!0),a.opacity-=a.vo),a.opacity<0&&(a.opacity=0)),c.particles.size.anim.enable&&(1==a.size_status?(a.radius>=c.particles.size.value&&(a.size_status=!1),a.radius+=a.vs):(a.radius<=c.particles.size.anim.size_min&&(a.size_status=!0),a.radius-=a.vs),a.radius<0&&(a.radius=0)),"bounce"==c.particles.move.out_mode)var i={x_left:a.radius,x_right:c.canvas.w,y_top:a.radius,y_bottom:c.canvas.h};else var i={x_left:-a.radius,x_right:c.canvas.w+a.radius,y_top:-a.radius,y_bottom:c.canvas.h+a.radius};switch(a.x-a.radius>c.canvas.w?(a.x=i.x_left,a.y=Math.random()*c.canvas.h):a.x+a.radius<0&&(a.x=i.x_right,a.y=Math.random()*c.canvas.h),a.y-a.radius>c.canvas.h?(a.y=i.y_top,a.x=Math.random()*c.canvas.w):a.y+a.radius<0&&(a.y=i.y_bottom,a.x=Math.random()*c.canvas.w),c.particles.move.out_mode){case"bounce":a.x+a.radius>c.canvas.w?a.vx=-a.vx:a.x-a.radius<0&&(a.vx=-a.vx),a.y+a.radius>c.canvas.h?a.vy=-a.vy:a.y-a.radius<0&&(a.vy=-a.vy)}if(n("grab",c.interactivity.events.onhover.mode)&&c.fn.modes.grabParticle(a),(n("bubble",c.interactivity.events.onhover.mode)||n("bubble",c.interactivity.events.onclick.mode))&&c.fn.modes.bubbleParticle(a),(n("repulse",c.interactivity.events.onhover.mode)||n("repulse",c.interactivity.events.onclick.mode))&&c.fn.modes.repulseParticle(a),c.particles.line_linked.enable||c.particles.move.attract.enable)for(var s=e+1;s0){var r=c.particles.line_linked.color_rgb_line;c.canvas.ctx.strokeStyle="rgba("+r.r+","+r.g+","+r.b+","+s+")",c.canvas.ctx.lineWidth=c.particles.line_linked.width,c.canvas.ctx.beginPath(),c.canvas.ctx.moveTo(e.x,e.y),c.canvas.ctx.lineTo(a.x,a.y),c.canvas.ctx.stroke(),c.canvas.ctx.closePath()}}},c.fn.interact.attractParticles=function(e,a){var t=e.x-a.x,i=e.y-a.y,n=Math.sqrt(t*t+i*i);if(n<=c.particles.line_linked.distance){var s=t/(1e3*c.particles.move.attract.rotateX),r=i/(1e3*c.particles.move.attract.rotateY);e.vx-=s,e.vy-=r,a.vx+=s,a.vy+=r}},c.fn.interact.bounceParticles=function(e,a){var t=e.x-a.x,i=e.y-a.y,n=Math.sqrt(t*t+i*i),s=e.radius+a.radius;s>=n&&(e.vx=-e.vx,e.vy=-e.vy,a.vx=-a.vx,a.vy=-a.vy)},c.fn.modes.pushParticles=function(e,a){c.tmp.pushing=!0;for(var t=0;e>t;t++)c.particles.array.push(new c.fn.particle(c.particles.color,c.particles.opacity.value,{x:a?a.pos_x:Math.random()*c.canvas.w,y:a?a.pos_y:Math.random()*c.canvas.h})),t==e-1&&(c.particles.move.enable||c.fn.particlesDraw(),c.tmp.pushing=!1)},c.fn.modes.removeParticles=function(e){c.particles.array.splice(0,e),c.particles.move.enable||c.fn.particlesDraw()},c.fn.modes.bubbleParticle=function(e){function t(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}function i(t,i,n,s,r){if(t!=i)if(c.tmp.bubble_duration_end){if(n!=a){var l=s-m*(s-t)/c.interactivity.modes.bubble.duration,v=t-l;d=t+v,"size"==r&&(e.radius_bubble=d),"opacity"==r&&(e.opacity_bubble=d)}}else if(o<=c.interactivity.modes.bubble.distance){if(n!=a)var p=n;else var p=s;if(p!=t){var d=s-m*(s-t)/c.interactivity.modes.bubble.duration;"size"==r&&(e.radius_bubble=d),"opacity"==r&&(e.opacity_bubble=d)}}else"size"==r&&(e.radius_bubble=a),"opacity"==r&&(e.opacity_bubble=a)}if(c.interactivity.events.onhover.enable&&n("bubble",c.interactivity.events.onhover.mode)){var s=e.x-c.interactivity.mouse.pos_x,r=e.y-c.interactivity.mouse.pos_y,o=Math.sqrt(s*s+r*r),l=1-o/c.interactivity.modes.bubble.distance;if(o<=c.interactivity.modes.bubble.distance){if(l>=0&&"mousemove"==c.interactivity.status){if(c.interactivity.modes.bubble.size!=c.particles.size.value)if(c.interactivity.modes.bubble.size>c.particles.size.value){var v=e.radius+c.interactivity.modes.bubble.size*l;v>=0&&(e.radius_bubble=v)}else{var p=e.radius-c.interactivity.modes.bubble.size,v=e.radius-p*l;v>0?e.radius_bubble=v:e.radius_bubble=0}if(c.interactivity.modes.bubble.opacity!=c.particles.opacity.value)if(c.interactivity.modes.bubble.opacity>c.particles.opacity.value){var d=c.interactivity.modes.bubble.opacity*l;d>e.opacity&&d<=c.interactivity.modes.bubble.opacity&&(e.opacity_bubble=d)}else{var d=e.opacity-(c.particles.opacity.value-c.interactivity.modes.bubble.opacity)*l;d=c.interactivity.modes.bubble.opacity&&(e.opacity_bubble=d)}}}else t();"mouseleave"==c.interactivity.status&&t()}else if(c.interactivity.events.onclick.enable&&n("bubble",c.interactivity.events.onclick.mode)){if(c.tmp.bubble_clicking){var s=e.x-c.interactivity.mouse.click_pos_x,r=e.y-c.interactivity.mouse.click_pos_y,o=Math.sqrt(s*s+r*r),m=((new Date).getTime()-c.interactivity.mouse.click_time)/1e3;m>c.interactivity.modes.bubble.duration&&(c.tmp.bubble_duration_end=!0),m>2*c.interactivity.modes.bubble.duration&&(c.tmp.bubble_clicking=!1,c.tmp.bubble_duration_end=!1)}c.tmp.bubble_clicking&&(i(c.interactivity.modes.bubble.size,c.particles.size.value,e.radius_bubble,e.radius,"size"),i(c.interactivity.modes.bubble.opacity,c.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},c.fn.modes.repulseParticle=function(e){function a(){var a=Math.atan2(u,m);if(e.vx=y*Math.cos(a),e.vy=y*Math.sin(a),"bounce"==c.particles.move.out_mode){var t={x:e.x+e.vx,y:e.y+e.vy};t.x+e.radius>c.canvas.w?e.vx=-e.vx:t.x-e.radius<0&&(e.vx=-e.vx),t.y+e.radius>c.canvas.h?e.vy=-e.vy:t.y-e.radius<0&&(e.vy=-e.vy)}}if(c.interactivity.events.onhover.enable&&n("repulse",c.interactivity.events.onhover.mode)&&"mousemove"==c.interactivity.status){var t=e.x-c.interactivity.mouse.pos_x,s=e.y-c.interactivity.mouse.pos_y,r=Math.sqrt(t*t+s*s),o={x:t/r,y:s/r},l=c.interactivity.modes.repulse.distance,v=100,p=i(1/l*(-1*Math.pow(r/l,2)+1)*l*v,0,50),d={x:e.x+o.x*p,y:e.y+o.y*p};"bounce"==c.particles.move.out_mode?(d.x-e.radius>0&&d.x+e.radius0&&d.y+e.radius=b&&a()}else 0==c.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i)},c.fn.modes.grabParticle=function(e){if(c.interactivity.events.onhover.enable&&"mousemove"==c.interactivity.status){var a=e.x-c.interactivity.mouse.pos_x,t=e.y-c.interactivity.mouse.pos_y,i=Math.sqrt(a*a+t*t);if(i<=c.interactivity.modes.grab.distance){var n=c.interactivity.modes.grab.line_linked.opacity-i/(1/c.interactivity.modes.grab.line_linked.opacity)/c.interactivity.modes.grab.distance;if(n>0){var s=c.particles.line_linked.color_rgb_line;c.canvas.ctx.strokeStyle="rgba("+s.r+","+s.g+","+s.b+","+n+")",c.canvas.ctx.lineWidth=c.particles.line_linked.width,c.canvas.ctx.beginPath(),c.canvas.ctx.moveTo(e.x,e.y),c.canvas.ctx.lineTo(c.interactivity.mouse.pos_x,c.interactivity.mouse.pos_y),c.canvas.ctx.stroke(),c.canvas.ctx.closePath()}}}},c.fn.vendors.eventsListeners=function(){"window"==c.interactivity.detect_on?c.interactivity.el=window:"parent"==c.interactivity.detect_on?c.interactivity.el=c.canvas.el.parentNode:"object"==typeof c.interactivity.detect_on?c.interactivity.el=c.interactivity.detect_on:c.interactivity.el=c.canvas.el,(c.interactivity.events.onhover.enable||c.interactivity.events.onclick.enable)&&(e(c.interactivity.el).on("mousemove",function(a){if(c.interactivity.el==window)var t=a.clientX,i=a.clientY;else var n=e(c.interactivity.el).offset(),t=a.pageX-n.left,i=a.pageY-n.top;c.interactivity.mouse.pos_x=t,c.interactivity.mouse.pos_y=i,c.tmp.retina&&(c.interactivity.mouse.pos_x*=c.canvas.pxratio,c.interactivity.mouse.pos_y*=c.canvas.pxratio),c.interactivity.status="mousemove"}),c.interactivity.el.addEventListener("mouseleave",function(e){c.interactivity.mouse.pos_x=null,c.interactivity.mouse.pos_y=null,c.interactivity.status="mouseleave"})),c.interactivity.events.onclick.enable&&c.interactivity.el.addEventListener("click",function(){if(c.interactivity.mouse.click_pos_x=c.interactivity.mouse.pos_x,c.interactivity.mouse.click_pos_y=c.interactivity.mouse.pos_y,c.interactivity.mouse.click_time=(new Date).getTime(),c.interactivity.events.onclick.enable)switch(c.interactivity.events.onclick.mode){case"push":c.particles.move.enable?c.fn.modes.pushParticles(c.interactivity.modes.push.particles_nb,c.interactivity.mouse):1==c.interactivity.modes.push.particles_nb?c.fn.modes.pushParticles(c.interactivity.modes.push.particles_nb,c.interactivity.mouse):c.interactivity.modes.push.particles_nb>1&&c.fn.modes.pushParticles(c.interactivity.modes.push.particles_nb);break;case"remove":c.fn.modes.removeParticles(c.interactivity.modes.remove.particles_nb);break;case"bubble":c.tmp.bubble_clicking=!0;break;case"repulse":c.tmp.repulse_clicking=!0,c.tmp.repulse_count=0,c.tmp.repulse_finish=!1,setTimeout(function(){c.tmp.repulse_clicking=!1},1e3*c.interactivity.modes.repulse.duration)}})},c.fn.vendors.densityAutoParticles=function(){if(c.particles.number.density.enable){var e=c.canvas.el.width*c.canvas.el.height/1e3;c.tmp.retina&&(e/=2*c.canvas.pxratio);var a=e*c.particles.number.value/c.particles.number.density.value_area,t=c.particles.array.length-a;0>t?c.fn.modes.pushParticles(Math.abs(t)):c.fn.modes.removeParticles(t)}},c.fn.vendors.checkOverlap=function(e,a){for(var t=0;tv;v++)e.lineTo(i,0),e.translate(i,0),e.rotate(l);e.fill(),e.restore()},c.fn.vendors.exportImg=function(){window.open(c.canvas.el.toDataURL("image/png"),"_blank")},c.fn.vendors.loadImg=function(e){if(c.tmp.img_error=a,""!=c.particles.shape.image.src)if("svg"==e){var t=new XMLHttpRequest;t.open("GET",c.particles.shape.image.src),t.onreadystatechange=function(e){4==t.readyState&&(200==t.status?(c.tmp.source_svg=e.currentTarget.response,c.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),c.tmp.img_error=!0))},t.send()}else{var i=new Image;i.addEventListener("load",function(){c.tmp.img_obj=i,c.fn.vendors.checkBeforeDraw()}),i.src=c.particles.shape.image.src}else console.log("Error pJS - No image.src"),c.tmp.img_error=!0},c.fn.vendors.draw=function(){"image"==c.particles.shape.type?"svg"==c.tmp.img_type?c.tmp.count_svg>=c.particles.number.value?(c.fn.particlesDraw(),c.particles.move.enable?c.fn.drawAnimFrame=requestAnimFrame(c.fn.vendors.draw):cancelRequestAnimFrame(c.fn.drawAnimFrame)):c.tmp.img_error||(c.fn.drawAnimFrame=requestAnimFrame(c.fn.vendors.draw)):c.tmp.img_obj!=a?(c.fn.particlesDraw(),c.particles.move.enable?c.fn.drawAnimFrame=requestAnimFrame(c.fn.vendors.draw):cancelRequestAnimFrame(c.fn.drawAnimFrame)):c.tmp.img_error||(c.fn.drawAnimFrame=requestAnimFrame(c.fn.vendors.draw)):(c.fn.particlesDraw(),c.particles.move.enable?c.fn.drawAnimFrame=requestAnimFrame(c.fn.vendors.draw):cancelRequestAnimFrame(c.fn.drawAnimFrame))},c.fn.vendors.checkBeforeDraw=function(){"image"==c.particles.shape.type?"svg"==c.tmp.img_type&&c.tmp.source_svg==a?c.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(c.tmp.checkAnimFrame),c.tmp.img_error||(c.fn.vendors.init(),c.fn.vendors.draw())):(c.fn.vendors.init(),c.fn.vendors.draw())},c.fn.vendors.init=function(){c.fn.retinaInit(),c.fn.canvasInit(),c.fn.canvasSize(),c.fn.canvasPaint(),c.fn.particlesCreate(),c.fn.vendors.densityAutoParticles(),c.particles.line_linked.color_rgb_line=t(c.particles.line_linked.color)},c.fn.vendors.start=function(){n("image",c.particles.shape.type)?(c.tmp.img_type=c.particles.shape.image.src.substr(c.particles.shape.image.src.length-3),c.fn.vendors.loadImg(c.tmp.img_type)):c.fn.vendors.checkBeforeDraw()},c.fn.vendors.eventsListeners(),c.fn.vendors.start()};return Object.deepExtend=function(e,a){for(var t in a)a[t]&&a[t].constructor&&a[t].constructor===Object?(e[t]=e[t]||{},arguments.callee(e[t],a[t])):e[t]=a[t];return e},window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),window.cancelRequestAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout}(),s}),N2D("particles");}catch(e){} try{(function($){'use strict';if(typeof wpcf7==='undefined'||wpcf7===null){return;} wpcf7=$.extend({cached:0,inputs:[]},wpcf7);$(function(){wpcf7.supportHtml5=(function(){var features={};var input=document.createElement('input');features.placeholder='placeholder'in input;var inputTypes=['email','url','tel','number','range','date'];$.each(inputTypes,function(index,value){input.setAttribute('type',value);features[value]=input.type!=='text';});return features;})();$('div.wpcf7 > form').each(function(){var $form=$(this);wpcf7.initForm($form);if(wpcf7.cached){wpcf7.refill($form);}});});wpcf7.getId=function(form){return parseInt($('input[name="_wpcf7"]',form).val(),10);};wpcf7.initForm=function(form){var $form=$(form);$form.submit(function(event){if(!wpcf7.supportHtml5.placeholder){$('[placeholder].placeheld',$form).each(function(i,n){$(n).val('').removeClass('placeheld');});} if(typeof window.FormData==='function'){wpcf7.submit($form);event.preventDefault();}});$('.wpcf7-submit',$form).after('');wpcf7.toggleSubmit($form);$form.on('click','.wpcf7-acceptance',function(){wpcf7.toggleSubmit($form);});$('.wpcf7-exclusive-checkbox',$form).on('click','input:checkbox',function(){var name=$(this).attr('name');$form.find('input:checkbox[name="'+name+'"]').not(this).prop('checked',false);});$('.wpcf7-list-item.has-free-text',$form).each(function(){var $freetext=$(':input.wpcf7-free-text',this);var $wrap=$(this).closest('.wpcf7-form-control');if($(':checkbox, :radio',this).is(':checked')){$freetext.prop('disabled',false);}else{$freetext.prop('disabled',true);} $wrap.on('change',':checkbox, :radio',function(){var $cb=$('.has-free-text',$wrap).find(':checkbox, :radio');if($cb.is(':checked')){$freetext.prop('disabled',false).focus();}else{$freetext.prop('disabled',true);}});});if(!wpcf7.supportHtml5.placeholder){$('[placeholder]',$form).each(function(){$(this).val($(this).attr('placeholder'));$(this).addClass('placeheld');$(this).focus(function(){if($(this).hasClass('placeheld')){$(this).val('').removeClass('placeheld');}});$(this).blur(function(){if(''===$(this).val()){$(this).val($(this).attr('placeholder'));$(this).addClass('placeheld');}});});} if(wpcf7.jqueryUi&&!wpcf7.supportHtml5.date){$form.find('input.wpcf7-date[type="date"]').each(function(){$(this).datepicker({dateFormat:'yy-mm-dd',minDate:new Date($(this).attr('min')),maxDate:new Date($(this).attr('max'))});});} if(wpcf7.jqueryUi&&!wpcf7.supportHtml5.number){$form.find('input.wpcf7-number[type="number"]').each(function(){$(this).spinner({min:$(this).attr('min'),max:$(this).attr('max'),step:$(this).attr('step')});});} $('.wpcf7-character-count',$form).each(function(){var $count=$(this);var name=$count.attr('data-target-name');var down=$count.hasClass('down');var starting=parseInt($count.attr('data-starting-value'),10);var maximum=parseInt($count.attr('data-maximum-value'),10);var minimum=parseInt($count.attr('data-minimum-value'),10);var updateCount=function(target){var $target=$(target);var length=$target.val().length;var count=down?starting-length:length;$count.attr('data-current-value',count);$count.text(count);if(maximum&&maximum');$.each(data.invalidFields,function(i,n){if(n.idref){var $li=$('
  • ').append($('').attr('href','#'+n.idref).append(n.message));}else{var $li=$('
  • ').append(n.message);} $invalids.append($li);});$response.append($invalids);} $response.attr('role','alert').focus();});};$.ajax({type:'POST',url:wpcf7.apiSettings.getRoute('/contact-forms/'+wpcf7.getId($form)+'/feedback'),data:formData,dataType:'json',processData:false,contentType:false}).done(function(data,status,xhr){ajaxSuccess(data,status,xhr,$form);$('.ajax-loader',$form).removeClass('is-active');}).fail(function(xhr,status,error){var $e=$('
    ').text(error.message);$form.after($e);});};wpcf7.triggerEvent=function(target,name,detail){var $target=$(target);var event=new CustomEvent('wpcf7'+name,{bubbles:true,detail:detail});$target.get(0).dispatchEvent(event);$target.trigger('wpcf7:'+name,detail);$target.trigger(name+'.wpcf7',detail);};wpcf7.toggleSubmit=function(form,state){var $form=$(form);var $submit=$('input:submit',$form);if(typeof state!=='undefined'){$submit.prop('disabled',!state);return;} if($form.hasClass('wpcf7-acceptance-as-validation')){return;} $submit.prop('disabled',false);$('.wpcf7-acceptance',$form).each(function(){var $span=$(this);var $input=$('input:checkbox',$span);if(!$span.hasClass('optional')){if($span.hasClass('invert')&&$input.is(':checked')||!$span.hasClass('invert')&&!$input.is(':checked')){$submit.prop('disabled',true);return false;}}});};wpcf7.notValidTip=function(target,message){var $target=$(target);$('.wpcf7-not-valid-tip',$target).remove();$('').text(message).appendTo($target);if($target.is('.use-floating-validation-tip *')){var fadeOut=function(target){$(target).not(':hidden').animate({opacity:0},'fast',function(){$(this).css({'z-index':-100});});};$target.on('mouseover','.wpcf7-not-valid-tip',function(){fadeOut(this);});$target.on('focus',':input',function(){fadeOut($('.wpcf7-not-valid-tip',$target));});}};wpcf7.refill=function(form,data){var $form=$(form);var refillCaptcha=function($form,items){$.each(items,function(i,n){$form.find(':input[name="'+i+'"]').val('');$form.find('img.wpcf7-captcha-'+i).attr('src',n);var match=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);$form.find('input:hidden[name="_wpcf7_captcha_challenge_'+i+'"]').attr('value',match[1]);});};var refillQuiz=function($form,items){$.each(items,function(i,n){$form.find(':input[name="'+i+'"]').val('');$form.find(':input[name="'+i+'"]').siblings('span.wpcf7-quiz-label').text(n[0]);$form.find('input:hidden[name="_wpcf7_quiz_answer_'+i+'"]').attr('value',n[1]);});};if(typeof data==='undefined'){$.ajax({type:'GET',url:wpcf7.apiSettings.getRoute('/contact-forms/'+wpcf7.getId($form)+'/refill'),beforeSend:function(xhr){var nonce=$form.find(':input[name="_wpnonce"]').val();if(nonce){xhr.setRequestHeader('X-WP-Nonce',nonce);}},dataType:'json'}).done(function(data,status,xhr){if(data.captcha){refillCaptcha($form,data.captcha);} if(data.quiz){refillQuiz($form,data.quiz);}});}else{if(data.captcha){refillCaptcha($form,data.captcha);} if(data.quiz){refillQuiz($form,data.quiz);}}};wpcf7.clearResponse=function(form){var $form=$(form);$form.removeClass('invalid spam sent failed');$form.siblings('.screen-reader-response').html('').attr('role','');$('.wpcf7-not-valid-tip',$form).remove();$('[aria-invalid]',$form).attr('aria-invalid','false');$('.wpcf7-form-control',$form).removeClass('wpcf7-not-valid');$('.wpcf7-response-output',$form).hide().empty().removeAttr('role').removeClass('wpcf7-mail-sent-ok wpcf7-mail-sent-ng wpcf7-validation-errors wpcf7-spam-blocked');};wpcf7.apiSettings.getRoute=function(path){var url=wpcf7.apiSettings.root;url=url.replace(wpcf7.apiSettings.namespace,wpcf7.apiSettings.namespace+path);return url;};})(jQuery);(function(){if(typeof window.CustomEvent==="function")return false;function CustomEvent(event,params){params=params||{bubbles:false,cancelable:false,detail:undefined};var evt=document.createEvent('CustomEvent');evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt;} CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent;})();}catch(e){} try{jQuery.noConflict(),jQuery(function(o){var t=100,e=o("a#scroll-to-top"),n=600,a="swing";e.hide(),o(window).scroll(function(){var n=o(document).scrollTop();n>t?o(e).stop().fadeTo(300,1):o(e).stop().fadeTo(300,0)}),o(e).click(function(){return o("html, body").animate({scrollTop:0},n,a),!1}),o('a[href*="#"]:not([href="#"]):not([href^="#tab"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")||location.hostname==this.hostname){var t=o(this.hash);o(".primary-header").height()+5;if(t=t.length?t:o("[name="+this.hash.slice(1)+"]"),t.length)return o("html,body").animate({scrollTop:t.offset().top},n,a),!1}})});}catch(e){} try{if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t){var e=!!t&&"length"in t&&t.length,i=ft.type(t);return"function"!==i&&!ft.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function n(t,e,i){if(ft.isFunction(e))return ft.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return ft.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(St.test(e))return ft.filter(e,t,i);e=ft.filter(e,t)}return ft.grep(t,function(t){return ft.inArray(t,e)>-1!==i})}function o(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function r(t){var e={};return ft.each(t.match(At)||[],function(t,i){e[i]=!0}),e}function s(){nt.addEventListener?(nt.removeEventListener("DOMContentLoaded",a),t.removeEventListener("load",a)):(nt.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(nt.addEventListener||"load"===t.event.type||"complete"===nt.readyState)&&(s(),ft.ready())}function l(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(jt,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Ot.test(i)?ft.parseJSON(i):i)}catch(t){}ft.data(t,e,i)}else i=void 0}return i}function d(t){var e;for(e in t)if(("data"!==e||!ft.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,i,n){if(Lt(t)){var o,r,s=ft.expando,a=t.nodeType,l=a?ft.cache:t,d=a?t[s]:t[s]&&s;if(d&&l[d]&&(n||l[d].data)||void 0!==i||"string"!=typeof e)return d||(d=a?t[s]=it.pop()||ft.guid++:s),l[d]||(l[d]=a?{}:{toJSON:ft.noop}),("object"==typeof e||"function"==typeof e)&&(n?l[d]=ft.extend(l[d],e):l[d].data=ft.extend(l[d].data,e)),r=l[d],n||(r.data||(r.data={}),r=r.data),void 0!==i&&(r[ft.camelCase(e)]=i),"string"==typeof e?null==(o=r[e])&&(o=r[ft.camelCase(e)]):o=r,o}}function u(t,e,i){if(Lt(t)){var n,o,r=t.nodeType,s=r?ft.cache:t,a=r?t[ft.expando]:ft.expando;if(s[a]){if(e&&(n=i?s[a]:s[a].data)){ft.isArray(e)?e=e.concat(ft.map(e,ft.camelCase)):e in n?e=[e]:(e=ft.camelCase(e),e=e in n?[e]:e.split(" ")),o=e.length;for(;o--;)delete n[e[o]];if(i?!d(n):!ft.isEmptyObject(n))return}(i||(delete s[a].data,d(s[a])))&&(r?ft.cleanData([t],!0):ut.deleteExpando||s!=s.window?delete s[a]:s[a]=void 0)}}}function p(t,e,i,n){var o,r=1,s=20,a=n?function(){return n.cur()}:function(){return ft.css(t,e,"")},l=a(),d=i&&i[3]||(ft.cssNumber[e]?"":"px"),c=(ft.cssNumber[e]||"px"!==d&&+l)&&It.exec(ft.css(t,e));if(c&&c[3]!==d){d=d||c[3],i=i||[],c=+l||1;do{r=r||".5",c/=r,ft.style(t,e,c+d)}while(r!==(r=a()/l)&&1!==r&&--s)}return i&&(c=+c||+l||0,o=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=d,n.start=c,n.end=o)),o}function f(t){var e=_t.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function h(t,e){var i,n,o=0,r=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],i=t.childNodes||t;null!=(n=i[o]);o++)!e||ft.nodeName(n,e)?r.push(n):ft.merge(r,h(n,e));return void 0===e||e&&ft.nodeName(t,e)?ft.merge([t],r):r}function v(t,e){for(var i,n=0;null!=(i=t[n]);n++)ft._data(i,"globalEval",!e||ft._data(e[n],"globalEval"))}function g(t){Mt.test(t.type)&&(t.defaultChecked=t.checked)}function m(t,e,i,n,o){for(var r,s,a,l,d,c,u,p=t.length,m=f(e),y=[],b=0;p>b;b++)if((s=t[b])||0===s)if("object"===ft.type(s))ft.merge(y,s.nodeType?[s]:s);else if(Ut.test(s)){for(l=l||m.appendChild(e.createElement("div")),d=(Rt.exec(s)||["",""])[1].toLowerCase(),u=Bt[d]||Bt._default,l.innerHTML=u[1]+ft.htmlPrefilter(s)+u[2],r=u[0];r--;)l=l.lastChild;if(!ut.leadingWhitespace&&Wt.test(s)&&y.push(e.createTextNode(Wt.exec(s)[0])),!ut.tbody)for(s="table"!==d||Xt.test(s)?""!==u[1]||Xt.test(s)?0:l:l.firstChild,r=s&&s.childNodes.length;r--;)ft.nodeName(c=s.childNodes[r],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(ft.merge(y,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=m.lastChild}else y.push(e.createTextNode(s));for(l&&m.removeChild(l),ut.appendChecked||ft.grep(h(y,"input"),g),b=0;s=y[b++];)if(n&&ft.inArray(s,n)>-1)o&&o.push(s);else if(a=ft.contains(s.ownerDocument,s),l=h(m.appendChild(s),"script"),a&&v(l),i)for(r=0;s=l[r++];)zt.test(s.type||"")&&i.push(s);return l=null,m}function y(){return!0}function b(){return!1}function w(){try{return nt.activeElement}catch(t){}}function x(t,e,i,n,o,r){var s,a;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(a in e)x(t,a,i,n,e[a],r);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=b;else if(!o)return t;return 1===r&&(s=o,o=function(t){return ft().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=ft.guid++)),t.each(function(){ft.event.add(this,e,o,n,i)})}function T(t,e){return ft.nodeName(t,"table")&&ft.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function S(t){return t.type=(null!==ft.find.attr(t,"type"))+"/"+t.type,t}function k(t){var e=ne.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function C(t,e){if(1===e.nodeType&&ft.hasData(t)){var i,n,o,r=ft._data(t),s=ft._data(e,r),a=r.events;if(a){delete s.handle,s.events={};for(i in a)for(n=0,o=a[i].length;o>n;n++)ft.event.add(e,i,a[i][n])}s.data&&(s.data=ft.extend({},s.data))}}function $(t,e){var i,n,o;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!ut.noCloneEvent&&e[ft.expando]){o=ft._data(e);for(n in o.events)ft.removeEvent(e,n,o.handle);e.removeAttribute(ft.expando)}"script"===i&&e.text!==t.text?(S(e).text=t.text,k(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),ut.html5Clone&&t.innerHTML&&!ft.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&Mt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}}function E(t,e,i,n){e=rt.apply([],e);var o,r,s,a,l,d,c=0,u=t.length,p=u-1,f=e[0],v=ft.isFunction(f);if(v||u>1&&"string"==typeof f&&!ut.checkClone&&ie.test(f))return t.each(function(o){var r=t.eq(o);v&&(e[0]=f.call(this,o,r.html())),E(r,e,i,n)});if(u&&(d=m(e,t[0].ownerDocument,!1,t,n),o=d.firstChild,1===d.childNodes.length&&(d=o),o||n)){for(a=ft.map(h(d,"script"),S),s=a.length;u>c;c++)r=d,c!==p&&(r=ft.clone(r,!0,!0),s&&ft.merge(a,h(r,"script"))),i.call(t[c],r,c);if(s)for(l=a[a.length-1].ownerDocument,ft.map(a,k),c=0;s>c;c++)r=a[c],zt.test(r.type||"")&&!ft._data(r,"globalEval")&&ft.contains(l,r)&&(r.src?ft._evalUrl&&ft._evalUrl(r.src):ft.globalEval((r.text||r.textContent||r.innerHTML||"").replace(oe,"")));d=o=null}return t}function A(t,e,i){for(var n,o=e?ft.filter(e,t):t,r=0;null!=(n=o[r]);r++)i||1!==n.nodeType||ft.cleanData(h(n)),n.parentNode&&(i&&ft.contains(n.ownerDocument,n)&&v(h(n,"script")),n.parentNode.removeChild(n));return t}function N(t,e){var i=ft(e.createElement(t)).appendTo(e.body),n=ft.css(i[0],"display");return i.detach(),n}function D(t){var e=nt,i=le[t];return i||(i=N(t,e),"none"!==i&&i||(ae=(ae||ft("');else if(u){var m="";m=b&&b.youtube?"lg-has-youtube":b&&b.vimeo?"lg-has-vimeo":"lg-has-html5",h.$slide.eq(i).prepend('
    ')}else b?(h.$slide.eq(i).prepend('
    '),h.$el.trigger("hasVideo.lg",[i,r,c])):h.$slide.eq(i).prepend('
    ');if(h.$el.trigger("onAferAppendSlide.lg",[i]),n=h.$slide.eq(i).find(".lg-object"),d&&n.attr("sizes",d),l){n.attr("srcset",l);try{picturefill({elements:[n[0]]})}catch(e){console.error("Make sure you have included Picturefill version 2")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&h.addHtml(i),h.$slide.eq(i).addClass("lg-loaded")}h.$slide.eq(i).find(".lg-object").on("load.lg error.lg",function(){var t=0;o&&!e("body").hasClass("lg-from-hash")&&(t=o),setTimeout(function(){h.$slide.eq(i).addClass("lg-complete"),h.$el.trigger("onSlideItemLoad.lg",[i,o||0])},t)}),b&&b.html5&&!u&&h.$slide.eq(i).addClass("lg-complete"),!0===s&&(h.$slide.eq(i).hasClass("lg-complete")?h.preload(i):h.$slide.eq(i).find(".lg-object").on("load.lg error.lg",function(){h.preload(i)}))},o.prototype.slide=function(t,i,s){var o=this.$outer.find(".lg-current").index(),n=this;if(!n.lGalleryOn||o!==t){var r=this.$slide.length,a=n.lGalleryOn?this.s.speed:0,l=!1,d=!1;if(!n.lgBusy){if(this.s.download){var c;c=n.s.dynamic?!1!==n.s.dynamicEl[t].downloadUrl&&(n.s.dynamicEl[t].downloadUrl||n.s.dynamicEl[t].src):"false"!==n.$items.eq(t).attr("data-download-url")&&(n.$items.eq(t).attr("data-download-url")||n.$items.eq(t).attr("href")||n.$items.eq(t).attr("data-src")),c?(e("#lg-download").attr("href",c),n.$outer.removeClass("lg-hide-download")):n.$outer.addClass("lg-hide-download")}if(this.$el.trigger("onBeforeSlide.lg",[o,t,i,s]),n.lgBusy=!0,clearTimeout(n.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){n.addHtml(t)},a),this.arrowDisable(t),i){var h=t-1,u=t+1;0===t&&o===r-1?(u=0,h=r-1):t===r-1&&0===o&&(u=0,h=r-1),this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide"),n.$slide.eq(h).addClass("lg-prev-slide"),n.$slide.eq(u).addClass("lg-next-slide"),n.$slide.eq(t).addClass("lg-current")}else n.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),o>t?(d=!0,0!==t||o!==r-1||s||(d=!1,l=!0)):t>o&&(l=!0,t!==r-1||0!==o||s||(d=!0,l=!1)),d?(this.$slide.eq(t).addClass("lg-prev-slide"),this.$slide.eq(o).addClass("lg-next-slide")):l&&(this.$slide.eq(t).addClass("lg-next-slide"),this.$slide.eq(o).addClass("lg-prev-slide")),setTimeout(function(){n.$slide.removeClass("lg-current"),n.$slide.eq(t).addClass("lg-current"),n.$outer.removeClass("lg-no-trans")},50);n.lGalleryOn?(setTimeout(function(){n.loadContent(t,!0,0)},this.s.speed+50),setTimeout(function(){n.lgBusy=!1,n.$el.trigger("onAfterSlide.lg",[o,t,i,s])},this.s.speed)):(n.loadContent(t,!0,n.s.backdropDuration),n.lgBusy=!1,n.$el.trigger("onAfterSlide.lg",[o,t,i,s])),n.lGalleryOn=!0,this.s.counter&&e("#lg-counter-current").text(t+1)}}},o.prototype.goToNextSlide=function(e){var t=this;t.lgBusy||(t.index+10?(t.index--,t.$el.trigger("onBeforePrevSlide.lg",[t.index,e]),t.slide(t.index,e,!1)):t.s.loop?(t.index=t.$items.length-1,t.$el.trigger("onBeforePrevSlide.lg",[t.index,e]),t.slide(t.index,e,!1)):t.s.slideEndAnimatoin&&(t.$outer.addClass("lg-left-end"),setTimeout(function(){t.$outer.removeClass("lg-left-end")},400)))},o.prototype.keyPress=function(){var i=this;this.$items.length>1&&e(t).on("keyup.lg",function(e){i.$items.length>1&&(37===e.keyCode&&(e.preventDefault(),i.goToPrevSlide()),39===e.keyCode&&(e.preventDefault(),i.goToNextSlide()))}),e(t).on("keydown.lg",function(e){!0===i.s.escKey&&27===e.keyCode&&(e.preventDefault(),i.$outer.hasClass("lg-thumb-open")?i.$outer.removeClass("lg-thumb-open"):i.destroy())})},o.prototype.arrow=function(){var e=this;this.$outer.find(".lg-prev").on("click.lg",function(){e.goToPrevSlide()}),this.$outer.find(".lg-next").on("click.lg",function(){e.goToNextSlide()})},o.prototype.arrowDisable=function(e){!this.s.loop&&this.s.hideControlOnEnd&&(e+10?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))},o.prototype.setTranslate=function(e,t,i){this.s.useLeft?e.css("left",t):e.css({transform:"translate3d("+t+"px, "+i+"px, 0px)"})},o.prototype.touchMove=function(t,i){var s=i-t;Math.abs(s)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),s,0),this.setTranslate(e(".lg-prev-slide"),-this.$slide.eq(this.index).width()+s,0),this.setTranslate(e(".lg-next-slide"),this.$slide.eq(this.index).width()+s,0))},o.prototype.touchEnd=function(e){var t=this;"lg-slide"!==t.s.mode&&t.$outer.addClass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),setTimeout(function(){t.$outer.removeClass("lg-dragging"),0>e&&Math.abs(e)>t.s.swipeThreshold?t.goToNextSlide(!0):e>0&&Math.abs(e)>t.s.swipeThreshold?t.goToPrevSlide(!0):Math.abs(e)<5&&t.$el.trigger("onSlideClick.lg"),t.$slide.removeAttr("style")}),setTimeout(function(){t.$outer.hasClass("lg-dragging")||"lg-slide"===t.s.mode||t.$outer.removeClass("lg-slide")},t.s.speed+100)},o.prototype.enableSwipe=function(){var e=this,t=0,i=0,s=!1;e.s.enableSwipe&&e.isTouch&&e.doCss()&&(e.$slide.on("touchstart.lg",function(i){e.$outer.hasClass("lg-zoomed")||e.lgBusy||(i.preventDefault(),e.manageSwipeClass(),t=i.originalEvent.targetTouches[0].pageX)}),e.$slide.on("touchmove.lg",function(o){e.$outer.hasClass("lg-zoomed")||(o.preventDefault(),i=o.originalEvent.targetTouches[0].pageX,e.touchMove(t,i),s=!0)}),e.$slide.on("touchend.lg",function(){e.$outer.hasClass("lg-zoomed")||(s?(s=!1,e.touchEnd(i-t)):e.$el.trigger("onSlideClick.lg"))}))},o.prototype.enableDrag=function(){var i=this,s=0,o=0,n=!1,r=!1;i.s.enableDrag&&!i.isTouch&&i.doCss()&&(i.$slide.on("mousedown.lg",function(t){i.$outer.hasClass("lg-zoomed")||(e(t.target).hasClass("lg-object")||e(t.target).hasClass("lg-video-play"))&&(t.preventDefault(),i.lgBusy||(i.manageSwipeClass(),s=t.pageX,n=!0,i.$outer.scrollLeft+=1,i.$outer.scrollLeft-=1,i.$outer.removeClass("lg-grab").addClass("lg-grabbing"),i.$el.trigger("onDragstart.lg")))}),e(t).on("mousemove.lg",function(e){n&&(r=!0,o=e.pageX,i.touchMove(s,o),i.$el.trigger("onDragmove.lg"))}),e(t).on("mouseup.lg",function(t){r?(r=!1,i.touchEnd(o-s),i.$el.trigger("onDragend.lg")):(e(t.target).hasClass("lg-object")||e(t.target).hasClass("lg-video-play"))&&i.$el.trigger("onSlideClick.lg"),n&&(n=!1,i.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))},o.prototype.manageSwipeClass=function(){var e=this.index+1,t=this.index-1,i=this.$slide.length;this.s.loop&&(0===this.index?t=i-1:this.index===i-1&&(e=0)),this.$slide.removeClass("lg-next-slide lg-prev-slide"),t>-1&&this.$slide.eq(t).addClass("lg-prev-slide"),this.$slide.eq(e).addClass("lg-next-slide")},o.prototype.mousewheel=function(){var e=this;e.$outer.on("mousewheel.lg",function(t){t.deltaY&&(t.deltaY>0?e.goToPrevSlide():e.goToNextSlide(),t.preventDefault())})},o.prototype.closeGallery=function(){var t=this,i=!1;this.$outer.find(".lg-close").on("click.lg",function(){t.destroy()}),t.s.closable&&(t.$outer.on("mousedown.lg",function(t){i=!!(e(t.target).is(".lg-outer")||e(t.target).is(".lg-item ")||e(t.target).is(".lg-img-wrap"))}),t.$outer.on("mouseup.lg",function(s){(e(s.target).is(".lg-outer")||e(s.target).is(".lg-item ")||e(s.target).is(".lg-img-wrap")&&i)&&(t.$outer.hasClass("lg-dragging")||t.destroy())}))},o.prototype.destroy=function(i){var s=this;i||s.$el.trigger("onBeforeClose.lg"),e(t).scrollTop(s.prevScrollTop),i&&(s.s.dynamic||this.$items.off("click.lg click.lgcustom"),e.removeData(s.el,"lightGallery")),this.$el.off(".lg.tm"),e.each(e.fn.lightGallery.modules,function(e){s.modules[e]&&s.modules[e].destroy()}),this.lGalleryOn=!1,clearTimeout(s.hideBartimeout),this.hideBartimeout=!1,e(t).off(".lg"),e("body").removeClass("lg-on lg-from-hash"),s.$outer&&s.$outer.removeClass("lg-visible"),e(".lg-backdrop").removeClass("in"),setTimeout(function(){s.$outer&&s.$outer.remove(),e(".lg-backdrop").remove(),i||s.$el.trigger("onCloseAfter.lg")},s.s.backdropDuration+50)},e.fn.lightGallery=function(t){return this.each(function(){if(e.data(this,"lightGallery"))try{e(this).data("lightGallery").init()}catch(e){console.error("lightGallery has not initiated properly")}else e.data(this,"lightGallery",new o(this,t))})},e.fn.lightGallery.modules={}}(jQuery,window,document),function(e,t,i,s){"use strict";var o={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbnail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},n=function(t){return this.core=e(t).data("lightGallery"),this.core.s=e.extend({},o,this.core.s),this.$el=e(t),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.left=0,this.init(),this};n.prototype.init=function(){var e=this;this.core.s.thumbnail&&this.core.$items.length>1&&(this.core.s.showThumbByDefault&&setTimeout(function(){e.core.$outer.addClass("lg-thumb-open")},700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb?(this.core.s.enableThumbDrag&&!this.core.isTouch&&this.core.doCss()&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.core.isTouch&&this.core.doCss()&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress())},n.prototype.build=function(){function i(e,t,i){var s,a=o.core.isVideo(e,i)||{},l="";a.youtube||a.vimeo||a.dailymotion?a.youtube?s=o.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+a.youtube[1]+"/"+o.core.s.youtubeThumbSize+".jpg":t:a.vimeo?o.core.s.loadVimeoThumbnail?(s="//i.vimeocdn.com/video/error_"+r+".jpg",l=a.vimeo[1]):s=t:a.dailymotion&&(s=o.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+a.dailymotion[1]:t):s=t,n+='
    ',l=""}var s,o=this,n="",r="";switch(this.core.s.vimeoThumbSize){case"thumbnail_large":r="640";break;case"thumbnail_medium":r="200x150";break;case"thumbnail_small":r="100x75"}if(o.core.$outer.addClass("lg-has-thumb"),o.core.$outer.find(".lg").append('
    '),o.$thumbOuter=o.core.$outer.find(".lg-thumb-outer"),o.thumbOuterWidth=o.$thumbOuter.width(),o.core.s.animateThumb&&o.core.$outer.find(".lg-thumb").css({width:o.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&o.$thumbOuter.css("height",o.core.s.thumbContHeight+"px"),o.core.s.dynamic)for(var a=0;athis.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth),this.left<0&&(this.left=0),this.core.lGalleryOn?(t.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||t.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||t.css("left",-this.left+"px"),this.setTranslate(this.left)}},n.prototype.enableThumbDrag=function(){var i=this,s=0,o=0,n=!1,r=!1,a=0;i.$thumbOuter.addClass("lg-grab"),i.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",function(e){i.thumbTotalWidth>i.thumbOuterWidth&&(e.preventDefault(),s=e.pageX,n=!0,i.core.$outer.scrollLeft+=1,i.core.$outer.scrollLeft-=1,i.thumbClickable=!1,i.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))}),e(t).on("mousemove.lg.thumb",function(e){n&&(a=i.left,r=!0,o=e.pageX,i.$thumbOuter.addClass("lg-dragging"),a-=o-s,a>i.thumbTotalWidth-i.thumbOuterWidth&&(a=i.thumbTotalWidth-i.thumbOuterWidth),0>a&&(a=0),i.setTranslate(a))}),e(t).on("mouseup.lg.thumb",function(){r?(r=!1,i.$thumbOuter.removeClass("lg-dragging"),i.left=a,Math.abs(o-s)e.thumbOuterWidth&&(i.preventDefault(),t=i.originalEvent.targetTouches[0].pageX,e.thumbClickable=!1)}),e.core.$outer.find(".lg-thumb").on("touchmove.lg",function(n){e.thumbTotalWidth>e.thumbOuterWidth&&(n.preventDefault(),i=n.originalEvent.targetTouches[0].pageX,s=!0,e.$thumbOuter.addClass("lg-dragging"),o=e.left,o-=i-t,o>e.thumbTotalWidth-e.thumbOuterWidth&&(o=e.thumbTotalWidth-e.thumbOuterWidth),0>o&&(o=0),e.setTranslate(o))}),e.core.$outer.find(".lg-thumb").on("touchend.lg",function(){e.thumbTotalWidth>e.thumbOuterWidth&&s?(s=!1,e.$thumbOuter.removeClass("lg-dragging"),Math.abs(i-t)'),e.core.$outer.find(".lg-toogle-thumb").on("click.lg",function(){e.core.$outer.toggleClass("lg-thumb-open")}))},n.prototype.thumbkeyPress=function(){var i=this;e(t).on("keydown.lg.thumb",function(e){38===e.keyCode?(e.preventDefault(),i.core.$outer.addClass("lg-thumb-open")):40===e.keyCode&&(e.preventDefault(),i.core.$outer.removeClass("lg-thumb-open"))})},n.prototype.destroy=function(){this.core.s.thumbnail&&this.core.$items.length>1&&(e(t).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"))},e.fn.lightGallery.modules.Thumbnail=n}(jQuery,window,document),function(e,t,i,s){"use strict";var o={fullScreen:!0},n=function(t){return this.core=e(t).data("lightGallery"),this.$el=e(t),this.core.s=e.extend({},o,this.core.s),this.init(),this};n.prototype.init=function(){var e="";if(this.core.s.fullScreen){if(!(i.fullscreenEnabled||i.webkitFullscreenEnabled||i.mozFullScreenEnabled||i.msFullscreenEnabled))return;e='',this.core.$outer.find(".lg-toolbar").append(e),this.fullScreen()}},n.prototype.requestFullscreen=function(){var e=i.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},n.prototype.exitFullscreen=function(){i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():i.webkitExitFullscreen&&i.webkitExitFullscreen()},n.prototype.fullScreen=function(){var t=this;e(i).on("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg",function(){t.core.$outer.toggleClass("lg-fullscreen-on")}),this.core.$outer.find(".lg-fullscreen").on("click.lg",function(){i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement?t.exitFullscreen():t.requestFullscreen()})},n.prototype.destroy=function(){this.exitFullscreen(),e(i).off("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg")},e.fn.lightGallery.modules.fullscreen=n}(jQuery,window,document),function(e,t){"use strict";function i(e){this.stc=e}function s(e){this.stc=e}function o(e){this.stc=e}function n(t){var n=this;n.$tabsContainer=t,n.instanceId=e.fn.scrollingTabs.nextInstanceId++,n.movableContainerLeftPos=0,n.scrollArrowsVisible=!1,n.scrollToTabEdge=!1,n.disableScrollArrowsOnFullyScrolled=!1,n.reverseScroll=!1,n.widthMultiplier=1,n.scrollMovement=new o(n),n.eventHandlers=new s(n),n.elementsHandler=new i(n)}function r(t,i,s){var o,n=i.tabs,r={paneId:i.propPaneId,title:i.propTitle,active:i.propActive,disabled:i.propDisabled,content:i.propContent},l=i.ignoreTabPanes,d=n.length&&void 0!==n[0][r.content],c=C.getNewElNavTabs(),h=C.getNewElTabContent(),u=l?null:function(){o.after(h)};if(n.length)return n.forEach(function(e,t){var s={forceActiveTab:!0,tabLiContent:i.tabsLiContent&&i.tabsLiContent[t],tabPostProcessor:i.tabsPostProcessors&&i.tabsPostProcessors[t]};C.getNewElTabLi(e,r,s).appendTo(c),!l&&d&&C.getNewElTabPane(e,r,s).appendTo(h)}),o=a(c,i,s,u),o.appendTo(t),t.data({scrtabs:{tabs:n,propNames:r,ignoreTabPanes:l,hasTabContent:d,tabsLiContent:i.tabsLiContent,tabsPostProcessors:i.tabsPostProcessors,scroller:o}}),o.find(".nav-tabs > li").each(function(t){T.storeDataOnLiEl(e(this),n,t)}),t}function a(e,t,i,s){e.find('a[data-toggle="tab"]').removeData(v.DATA_KEY_BOOTSTRAP_TAB);var o=C.getNewElScrollerElementWrappingNavTabsInstance(e.clone(!0),t),r=new n(o),a=e.data("scrtabs");return a?a.scroller=o:e.data("scrtabs",{scroller:o}),e.replaceWith(o.css("visibility","hidden")),t.tabClickHandler&&"function"==typeof t.tabClickHandler&&(o.hasTabClickHandler=!0,r.tabClickHandler=t.tabClickHandler),o.initTabs=function(){r.initTabs(t,o,i,s)},o.scrollToActiveTab=function(){r.scrollToActiveTab(t)},o.initTabs(),g(o,r),o}function l(e){var t=e.updatedTabsArray,i=e.updatedTabsLiContent||[],s=e.updatedTabsPostProcessors||[],o=e.propNames,n=e.ignoreTabPanes,r=e.options,a=e.$currTabLis,l=e.$navTabs,d=n?null:e.$currTabContentPanesContainer,c=n?null:e.$currTabContentPanes,h=!1;return t.forEach(function(e,u){var g,f=a.find('a[href="#'+e[o.paneId]+'"]'),b=u>=a.length;f.length||(h=!0,r.tabLiContent=i[u],r.tabPostProcessor=s[u],f=C.getNewElTabLi(e,o,r),T.storeDataOnLiEl(f,t,u),b?f.appendTo(l):f.insertBefore(a.eq(u)),n||void 0===e[o.content]||(g=C.getNewElTabPane(e,o,r),b?g.appendTo(d):g.insertBefore(c.eq(u))))}),h}function d(e){var t=e.tabLi,i=e.ignoreTabPanes,s=t.$li,o=t.$contentPane,n=t.origTabData,r=t.newTabData,a=e.propNames,l=!1;return n[a.title]!==r[a.title]&&(s.find('a[role="tab"]').html(n[a.title]=r[a.title]),l=!0),n[a.disabled]!==r[a.disabled]&&(r[a.disabled]?(s.addClass("disabled"),s.find('a[role="tab"]').attr("data-toggle","")):(s.removeClass("disabled"),s.find('a[role="tab"]').attr("data-toggle","tab")),n[a.disabled]=r[a.disabled],l=!0),e.options.forceActiveTab&&(s[r[a.active]?"addClass":"removeClass"]("active"),o[r[a.active]?"addClass":"removeClass"]("active"),n[a.active]=r[a.active],l=!0),i||n[a.content]===r[a.content]||(o.html(n[a.content]=r[a.content]),l=!0),l}function c(e){var t,i=e.tabLi,s=e.ignoreTabPanes,o=i.$li;return-1===i.newIdx&&(o.hasClass("active")&&(t=T.getIndexOfClosestEnabledTab(e.$currTabLis,i.currDomIdx))>-1&&(e.$currTabLis.eq(t).addClass("active"),s||e.$currTabContentPanes.eq(t).addClass("active")),o.remove(),s||i.$contentPane.remove(),!0)}function h(t){var i=t.$currTabLis,s=t.updatedTabsArray,o=t.propNames,n=t.ignoreTabPanes,r=[],a=n?null:[];return!!T.didTabOrderChange(i,s,o)&&(s.forEach(function(t){var s=t[o.paneId];r.push(i.find('a[role="tab"][href="#'+s+'"]').parent("li")),n||a.push(e("#"+s))}),t.$navTabs.append(r),n||t.$currTabContentPanesContainer.append(a),!0)}function u(t){var i=t.$currTabLis,s=t.updatedTabsArray,o=t.propNames,n=!1;return i.each(function(i){var r=e(this),a=r.data("tab"),l=T.getTabIndexByPaneId(s,o.paneId,a[o.paneId]),h=l>-1?s[l]:null;if(t.tabLi={$li:r,currDomIdx:i,newIdx:l,$contentPane:C.getElTabPaneForLi(r),origTabData:a,newTabData:h},c(t))return void(n=!0);d(t)&&(n=!0)}),n}function g(t,i){function s(t){e(t.target).append(n.off(v.EVENTS.CLICK))}function o(s){function o(){var i=e(this),s=i.parent("li"),o=s.parent(".dropdown-menu"),n=i.attr("href");s.hasClass("active")||(t.find("li.active").not(d).add(o.find("li.active")).removeClass("active"),d.add(s).addClass("active"),e(".tab-content .tab-pane.active").removeClass("active"),e(n).addClass("active"))}var r,a,l,d=e(s.target),c=d.offset(),h=t.find('li[role="presentation"].active');n=d.find(".dropdown-menu").attr("data-"+v.DATA_KEY_DDMENU_MODIFIED,!0),h[0]!==d[0]&&n.find("li.active").removeClass("active"),n.on(v.EVENTS.CLICK,'a[role="tab"]',o),e("body").append(n),r=n.width()+c.left,a=t.width()-(i.$slideRightArrow.outerWidth()+1),l=c.left,r>a&&(l-=r-a),n.css({display:"block",top:c.top+d.outerHeight()-2,left:l})}var n;t.on(v.EVENTS.DROPDOWN_MENU_SHOW,o).on(v.EVENTS.DROPDOWN_MENU_HIDE,s)}function f(e,t){var i=e.data().scrtabs,s=i.scroller,o=e.find(".scrtabs-tab-container .nav-tabs"),n=e.find(".tab-content"),r=!1,a={options:t,updatedTabsArray:i.tabs,updatedTabsLiContent:i.tabsLiContent,updatedTabsPostProcessors:i.tabsPostProcessors,propNames:i.propNames,ignoreTabPanes:i.ignoreTabPanes,$navTabs:o,$currTabLis:o.find("> li"),$currTabContentPanesContainer:n,$currTabContentPanes:n.find(".tab-pane")};return l(a)&&(r=!0),h(a)&&(r=!0),u(a)&&(r=!0),r&&s.initTabs(),r}function b(t,i){t.data("scrtabs")&&(!t.data("scrtabs").isWrapperOnly&&f(t,i)||e("body").trigger(v.EVENTS.FORCE_REFRESH))}function m(){var t=e(this),i=t.data("scrtabs");i&&i.scroller.scrollToActiveTab()}function p(){var i,s=e(this),o=s.data("scrtabs");if(o){for("self"===o.enableSwipingElement?s.removeClass(v.CSS_CLASSES.ALLOW_SCROLLBAR):"parent"===o.enableSwipingElement&&s.closest(".scrtabs-tab-container").parent().removeClass(v.CSS_CLASSES.ALLOW_SCROLLBAR),o.scroller.off(v.EVENTS.DROPDOWN_MENU_SHOW).off(v.EVENTS.DROPDOWN_MENU_HIDE), o.scroller.find("[data-"+v.DATA_KEY_DDMENU_MODIFIED+"]").css({display:"",left:"",top:""}).off(v.EVENTS.CLICK).removeAttr("data-"+v.DATA_KEY_DDMENU_MODIFIED),o.scroller.hasTabClickHandler&&s.find('a[data-toggle="tab"]').off(".scrtabs"),o.isWrapperOnly?(i=s.parents(".scrtabs-tab-container"),i.length&&i.replaceWith(s)):(o.scroller&&o.scroller.initTabs&&(o.scroller.initTabs=null),s.find(".scrtabs-tab-container").add(".tab-content").remove()),s.removeData("scrtabs");--e.fn.scrollingTabs.nextInstanceId>=0;)e(t).off(v.EVENTS.WINDOW_RESIZE+e.fn.scrollingTabs.nextInstanceId);e("body").off(v.EVENTS.FORCE_REFRESH)}}var v={CONTINUOUS_SCROLLING_TIMEOUT_INTERVAL:50,SCROLL_OFFSET_FRACTION:6,DATA_KEY_DDMENU_MODIFIED:"scrtabsddmenumodified",DATA_KEY_IS_MOUSEDOWN:"scrtabsismousedown",DATA_KEY_BOOTSTRAP_TAB:"bs.tab",CSS_CLASSES:{BOOTSTRAP4:"scrtabs-bootstrap4",RTL:"scrtabs-rtl",SCROLL_ARROW_CLICK_TARGET:"scrtabs-click-target",SCROLL_ARROW_DISABLE:"scrtabs-disable",SCROLL_ARROW_WITH_CLICK_TARGET:"scrtabs-with-click-target"},SLIDE_DIRECTION:{LEFT:1,RIGHT:2},EVENTS:{CLICK:"click.scrtabs",DROPDOWN_MENU_HIDE:"hide.bs.dropdown.scrtabs",DROPDOWN_MENU_SHOW:"show.bs.dropdown.scrtabs",FORCE_REFRESH:"forcerefresh.scrtabs",MOUSEDOWN:"mousedown.scrtabs",MOUSEUP:"mouseup.scrtabs",TABS_READY:"ready.scrtabs",TOUCH_END:"touchend.scrtabs",TOUCH_MOVE:"touchmove.scrtabs",TOUCH_START:"touchstart.scrtabs",WINDOW_RESIZE:"resize.scrtabs"}};!function(t){var i=function(e,t,i){var s;return function(){function o(){i||e.apply(n,r),s=null}var n=this,r=arguments;s?clearTimeout(s):i&&e.apply(n,r),s=setTimeout(o,t||100)}};e.fn[t]=function(e,s){var o=s||v.EVENTS.WINDOW_RESIZE;return e?this.bind(o,i(e)):this.trigger(t)}}("smartresizeScrtabs"),function(i){i.initElements=function(e){var t=this;t.setElementReferences(e),t.setEventListeners(e)},i.listenForTouchEvents=function(){var e,t,i,s=this,o=s.stc,n=o.scrollMovement,r=v.EVENTS,a=!1;o.$movableContainer.on(r.TOUCH_START,function(i){a=!0,t=o.movableContainerLeftPos,e=i.originalEvent.changedTouches[0].pageX}).on(r.TOUCH_END,function(){a=!1}).on(r.TOUCH_MOVE,function(s){if(a){var r=s.originalEvent.changedTouches[0].pageX,l=r-e;o.rtl&&(l=-l);var d;i=t+l,i>0?i=0:(d=n.getMinPos(),i li"),l.$slideLeftArrow=l.reverseScroll?s:o,l.$slideLeftArrowClickTarget=l.reverseScroll?n:r,l.$slideRightArrow=l.reverseScroll?o:s,l.$slideRightArrowClickTarget=l.reverseScroll?r:n,l.$scrollArrows=l.$slideLeftArrow.add(l.$slideRightArrow),l.$win=e(t)},i.setElementWidths=function(){var e=this,t=e.stc;t.winWidth=t.$win.width(),t.scrollArrowsCombinedWidth=t.$slideLeftArrow.outerWidth()+t.$slideRightArrow.outerWidth(),e.setFixedContainerWidth(),e.setMovableContainerWidth()},i.setEventListeners=function(t){var i=this,s=i.stc,o=s.eventHandlers,n=v.EVENTS,r=n.WINDOW_RESIZE+s.instanceId;t.enableSwiping&&i.listenForTouchEvents(),s.$slideLeftArrowClickTarget.off(".scrtabs").on(n.MOUSEDOWN,function(e){o.handleMousedownOnSlideMovContainerLeftArrow.call(o,e)}).on(n.MOUSEUP,function(e){o.handleMouseupOnSlideMovContainerLeftArrow.call(o,e)}).on(n.CLICK,function(e){o.handleClickOnSlideMovContainerLeftArrow.call(o,e)}),s.$slideRightArrowClickTarget.off(".scrtabs").on(n.MOUSEDOWN,function(e){o.handleMousedownOnSlideMovContainerRightArrow.call(o,e)}).on(n.MOUSEUP,function(e){o.handleMouseupOnSlideMovContainerRightArrow.call(o,e)}).on(n.CLICK,function(e){o.handleClickOnSlideMovContainerRightArrow.call(o,e)}),s.tabClickHandler&&s.$tabsLiCollection.find('a[data-toggle="tab"]').off(n.CLICK).on(n.CLICK,s.tabClickHandler),t.handleDelayedScrollbar&&i.listenForDelayedScrollbar(),s.$win.off(r).smartresizeScrtabs(function(e){o.handleWindowResize.call(o,e)},r),e("body").on(v.EVENTS.FORCE_REFRESH,s.elementsHandler.refreshAllElementSizes.bind(s.elementsHandler))},i.listenForDelayedScrollbar=function(){var i=document.createElement("iframe");i.id="scrtabs-scrollbar-resize-listener",i.style.cssText="height: 0; background-color: transparent; margin: 0; padding: 0; overflow: hidden; border-width: 0; position: absolute; width: 100%;",i.onload=function(){function s(){try{e(t).trigger("resize"),o=null}catch(e){}}var o;i.contentWindow.addEventListener("resize",function(){o&&clearTimeout(o),o=setTimeout(s,100)})},document.body.appendChild(i)},i.setFixedContainerWidth=function(){var e=this,t=e.stc,i=t.$tabsContainer.get(0).getBoundingClientRect();t.fixedContainerWidth=i.width||i.right-i.left,t.fixedContainerWidth=t.fixedContainerWidth*t.widthMultiplier,t.$fixedContainer.width(t.fixedContainerWidth)},i.setFixedContainerWidthForHiddenScrollArrows=function(){var e=this,t=e.stc;t.$fixedContainer.width(t.fixedContainerWidth)},i.setFixedContainerWidthForVisibleScrollArrows=function(){var e=this,t=e.stc;t.$fixedContainer.width(t.fixedContainerWidth-t.scrollArrowsCombinedWidth)},i.setMovableContainerWidth=function(){var t=this,i=t.stc,s=i.$tabsUl.find("> li");i.movableContainerWidth=0,s.length&&(s.each(function(){var t=e(this),s=0;i.isNavPills&&(s=parseInt(t.css("margin-left"),10)+parseInt(t.css("margin-right"),10)),i.movableContainerWidth+=t.outerWidth()+s}),i.movableContainerWidth+=1,i.movableContainerWidtht.fixedContainerWidth;i&&!t.scrollArrowsVisible?(t.$scrollArrows.show(),t.scrollArrowsVisible=!0):!i&&t.scrollArrowsVisible&&(t.$scrollArrows.hide(),t.scrollArrowsVisible=!1),t.scrollArrowsVisible?e.setFixedContainerWidthForVisibleScrollArrows():e.setFixedContainerWidthForHiddenScrollArrows()}}(i.prototype),function(e){e.handleClickOnSlideMovContainerLeftArrow=function(){this.stc.scrollMovement.incrementMovableContainerLeft()},e.handleClickOnSlideMovContainerRightArrow=function(){this.stc.scrollMovement.incrementMovableContainerRight()},e.handleMousedownOnSlideMovContainerLeftArrow=function(){var e=this,t=e.stc;t.$slideLeftArrowClickTarget.data(v.DATA_KEY_IS_MOUSEDOWN,!0),t.scrollMovement.continueSlideMovableContainerLeft()},e.handleMousedownOnSlideMovContainerRightArrow=function(){var e=this,t=e.stc;t.$slideRightArrowClickTarget.data(v.DATA_KEY_IS_MOUSEDOWN,!0),t.scrollMovement.continueSlideMovableContainerRight()},e.handleMouseupOnSlideMovContainerLeftArrow=function(){this.stc.$slideLeftArrowClickTarget.data(v.DATA_KEY_IS_MOUSEDOWN,!1)},e.handleMouseupOnSlideMovContainerRightArrow=function(){this.stc.$slideRightArrowClickTarget.data(v.DATA_KEY_IS_MOUSEDOWN,!1)},e.handleWindowResize=function(){var e=this,t=e.stc,i=t.$win.width();if(i===t.winWidth)return!1;t.winWidth=i,t.elementsHandler.refreshAllElementSizes()}}(s.prototype),function(t){t.continueSlideMovableContainerLeft=function(){var e=this,t=e.stc;setTimeout(function(){t.movableContainerLeftPos<=e.getMinPos()||!t.$slideLeftArrowClickTarget.data(v.DATA_KEY_IS_MOUSEDOWN)||e.incrementMovableContainerLeft()||e.continueSlideMovableContainerLeft()},v.CONTINUOUS_SCROLLING_TIMEOUT_INTERVAL)},t.continueSlideMovableContainerRight=function(){var e=this,t=e.stc;setTimeout(function(){t.movableContainerLeftPos>=0||!t.$slideRightArrowClickTarget.data(v.DATA_KEY_IS_MOUSEDOWN)||e.incrementMovableContainerRight()||e.continueSlideMovableContainerRight()},v.CONTINUOUS_SCROLLING_TIMEOUT_INTERVAL)},t.decrementMovableContainerLeftPos=function(e){var t=this,i=t.stc;i.movableContainerLeftPos-=i.fixedContainerWidth/v.SCROLL_OFFSET_FRACTION,i.movableContainerLeftPos0?i.movableContainerLeftPos=0:i.scrollToTabEdge&&t.setMovableContainerLeftPosToTabEdge(v.SLIDE_DIRECTION.RIGHT)),t.slideMovableContainerToLeftPos(),t.enableSlideLeftArrow(),0===i.movableContainerLeftPos},t.refreshScrollArrowsDisabledState=function(){var e=this,t=e.stc;if(t.disableScrollArrowsOnFullyScrolled&&t.scrollArrowsVisible){if(t.movableContainerLeftPos>=0)return e.disableSlideRightArrow(),void e.enableSlideLeftArrow();if(t.movableContainerLeftPos<=e.getMinPos())return e.disableSlideLeftArrow(),void e.enableSlideRightArrow();e.enableSlideLeftArrow(),e.enableSlideRightArrow()}},t.scrollToActiveTab=function(){var e,t,i,s,o,n,r,a,l,d=this,c=d.stc;if(c.scrollArrowsVisible&&(c.usingBootstrap4?(t=c.$tabsUl.find("li > .nav-link.active"),t.length&&(e=t.parent())):e=c.$tabsUl.find("li.active"),e&&e.length)){if(l=c.$slideRightArrow.outerWidth(),n=e.outerWidth(),i=e.offset().left-c.$fixedContainer.offset().left,s=i+n,o=c.fixedContainerWidth-l,c.rtl){if(c.$slideLeftArrow.outerWidth(),i<0)return c.movableContainerLeftPos+=i,d.slideMovableContainerToLeftPos(),!0;if(s>o)return c.movableContainerLeftPos+=s-o+2*l,d.slideMovableContainerToLeftPos(),!0}else{if(s>o)return r=s-o+l,a=c.fixedContainerWidth/2,r+=a-n/2,c.movableContainerLeftPos-=r,d.slideMovableContainerToLeftPos(),!0;if(c.$slideLeftArrow.outerWidth(),i<0)return a=c.fixedContainerWidth/2,c.movableContainerLeftPos+=-i+a-n/2,d.slideMovableContainerToLeftPos(),!0}return!1}},t.setMovableContainerLeftPosToTabEdge=function(t){var i=this,s=i.stc,o=-s.movableContainerLeftPos,n=0;s.$tabsLiCollection.each(function(){var i=e(this).width();if((n+=i)>o)return s.movableContainerLeftPos=t===v.SLIDE_DIRECTION.RIGHT?-(n-i):-n,!1})},t.slideMovableContainerToLeftPos=function(){var e,t=this,i=t.stc,s=t.getMinPos();i.movableContainerLeftPos>0?i.movableContainerLeftPos=0:i.movableContainerLeftPos')}function s(t,i){var s=e('
    '),o=i.leftArrowContent||'
    ',n=e(o),r=i.rightArrowContent||'
    ',a=e(r),l=e('
    '),d=e('
    ');return i.disableScrollArrowsOnFullyScrolled&&n.add(a).addClass(v.CSS_CLASSES.SCROLL_ARROW_DISABLE),s.append(n,l.append(d.append(t)),a)}function o(t,i){return e('').attr("href","#"+t[i.paneId]).html(t[i.title])}function n(){return e('
    ')}function r(t,i,s){var n=s.tabLiContent||'
  • ',r=e(n),a=o(t,i).appendTo(r);return t[i.disabled]?(r.addClass("disabled"),a.attr("data-toggle","")):s.forceActiveTab&&t[i.active]&&r.addClass("active"),s.tabPostProcessor&&s.tabPostProcessor(r,a),r}function a(t,i,s){var o=e('
    ').attr("id",t[i.paneId]).html(t[i.content]);return s.forceActiveTab&&t[i.active]&&o.addClass("active"),o}return{getElTabPaneForLi:t,getNewElNavTabs:i,getNewElScrollerElementWrappingNavTabsInstance:s,getNewElTabAnchor:o,getNewElTabContent:n,getNewElTabLi:r,getNewElTabPane:a}}(),T=function(){function t(t,i,o){var n=!1;return t.each(function(t){var r=s(i,o.paneId,e(this).data("tab")[o.paneId]);if(r>-1&&r!==t)return n=!0,!1}),n}function i(e,t){for(var i=e.length-1,s=-1,o=0,n=0;-1===s&&n>=0;)((n=t+ ++o)<=i&&!e.eq(n).hasClass("disabled")||(n=t-o)>=0&&!e.eq(n).hasClass("disabled"))&&(s=n);return s}function s(e,t,i){var s=-1;return e.some(function(e,o){if(e[t]===i)return s=o,!0}),s}function o(t,i,s){t.data({tab:e.extend({},i[s]),index:s})}return{didTabOrderChange:t,getIndexOfClosestEnabledTab:i,getTabIndexByPaneId:s,storeDataOnLiEl:o}}(),S={destroy:function(){return this.each(p)},init:function(t){var i=this,s=i.length-1,o=e.extend({},e.fn.scrollingTabs.defaults,t||{});return o.tabs?i.each(function(t){r(e(this),o,tRead More',lessLink:'Close',embedCSS:!0,blockCSS:"display: block; width: 100%;",startOpen:!1,blockProcessed:function(){},beforeToggle:function(){},afterToggle:function(){}},a={},l=0,d=function(e,t,i){var s;return function(){var o=this,n=arguments,r=function(){s=null,i||e.apply(o,n)},a=i&&!s;clearTimeout(s),s=setTimeout(r,t),a&&e.apply(o,n)}}(function(){e("[data-readmore]").each(function(){var t=e(this),s="true"===t.attr("aria-expanded");i(t),t.css({height:t.data(s?"expandedHeight":"collapsedHeight")})})},100);o.prototype={init:function(){var s=e(this.element);s.data({defaultHeight:this.options.collapsedHeight,heightMargin:this.options.heightMargin}),i(s);var o=s.data("collapsedHeight"),n=s.data("heightMargin");if(s.outerHeight(!0)<=o+n)return this.options.blockProcessed&&"function"==typeof this.options.blockProcessed&&this.options.blockProcessed(s,!1),!0;var r=s.attr("id")||t(),a=this.options.startOpen?this.options.lessLink:this.options.moreLink;s.attr({"data-readmore":"","aria-expanded":this.options.startOpen,id:r}),s.after(e(a).on("click",function(e){return function(t){e.toggle(this,s[0],t)}}(this)).attr({"data-readmore-toggle":r,"aria-controls":r})),this.options.startOpen||s.css({height:o}),this.options.blockProcessed&&"function"==typeof this.options.blockProcessed&&this.options.blockProcessed(s,!0)},toggle:function(t,i,s){s&&s.preventDefault(),t||(t=e('[aria-controls="'+this.element.id+'"]')[0]),i||(i=this.element);var o=e(i),n="",r="",a=!1,l=o.data("collapsedHeight");o.height()<=l?(n=o.data("expandedHeight")+"px",r="lessLink",a=!0):(n=l,r="moreLink"),this.options.beforeToggle&&"function"==typeof this.options.beforeToggle&&this.options.beforeToggle(t,o,!a),o.css({height:n}),o.on("transitionend",function(i){return function(){i.options.afterToggle&&"function"==typeof i.options.afterToggle&&i.options.afterToggle(t,o,a),e(this).attr({"aria-expanded":a}).off("transitionend")}}(this)),e(t).replaceWith(e(this.options[r]).on("click",function(e){return function(t){e.toggle(this,i,t)}}(this)).attr({"data-readmore-toggle":o.attr("id"),"aria-controls":o.attr("id")}))},destroy:function(){e(this.element).each(function(){var t=e(this);t.attr({"data-readmore":null,"aria-expanded":null}).css({maxHeight:"",height:""}).next("[data-readmore-toggle]").remove(),t.removeData()})}},e.fn.readmore=function(t){var i=arguments,s=this.selector;return t=t||{},"object"==typeof t?this.each(function(){if(e.data(this,"plugin_"+n)){var i=e.data(this,"plugin_"+n);i.destroy.apply(i)}t.selector=s,e.data(this,"plugin_"+n,new o(this,t))}):"string"==typeof t&&"_"!==t[0]&&"init"!==t?this.each(function(){var s=e.data(this,"plugin_"+n);s instanceof o&&"function"==typeof s[t]&&s[t].apply(s,Array.prototype.slice.call(i,1))}):void 0}}),$(document).ready(function(e){e(".itemPartners-readmore").length&&e(".itemPartners-readmore").each(function(){e(this).readmore({speed:75,collapsedHeight:580,moreLink:'Read more ',lessLink:'Close '})}),e(".itemtab-readmore").length&&e(".itemtab-readmore").each(function(){e(this).readmore({speed:75,collapsedHeight:2700,moreLink:'Read more ',lessLink:'Close '})})}),function(e){function t(){e(".nav-tabs").scrollingTabs().on("ready.scrtabs",function(){e(".tab-content").show()})}e(".row-lightgallery").length&&e(".row-lightgallery").each(function(){e(this).lightGallery({download:!1})}),e(t)}(jQuery);}catch(e){} try{!function(e){function n(){e("body").addClass("loaded")}e("#loftloader-wrapper").length&&(e(window).load(function(){n()}),e(document).ready(function(){var o=e("#loftloader-wrapper"),t="",a=!1;o.data("show-close-time")&&(t=parseInt(o.data("show-close-time"),10))&&(setTimeout(function(){o.find(".loader-close-button").css("display","")},t),e(".loader-close-button").on("click",function(){n()})),o.data("max-load-time")&&(a=parseInt(o.data("max-load-time"),10))&&setTimeout(function(){n()},a)}))}(jQuery);}catch(e){} try{/*! This file is auto-generated */ !function(d,l){"use strict";var e=!1,o=!1;if(l.querySelector)if(d.addEventListener)e=!0;if(d.wp=d.wp||{},!d.wp.receiveEmbedMessage)if(d.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){var r,a,i,s,n,o=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),c=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]');for(r=0;r