From 182ccd025dfed5e654ddec336fd1a764b8ca0b91 Mon Sep 17 00:00:00 2001 From: tecnik <44696073+TecnikOfficial@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:42:06 +0530 Subject: [PATCH] Update script.min.js --- assets/js/script.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/script.min.js b/assets/js/script.min.js index b902dcc..a2efac0 100644 --- a/assets/js/script.min.js +++ b/assets/js/script.min.js @@ -1,2 +1,2 @@ -!function(e,n){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(e)}("undefined"==typeof window?this:window,function(ie,i){"use strict";function j(n,o,e){var i,d,c=(e=e||r).createElement("script");if(c.text=n,o)for(i in a)(d=o[i]||o.getAttribute&&o.getAttribute(i))&&c.setAttribute(i,d);e.head.appendChild(c).parentNode.removeChild(c)}function L(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?st[n.call(e)]||"object":typeof e}function m(n){var a=!!n&&"length"in n&&n.length,e=L(n);return!pt(n)&&!ut(n)&&("array"===e||0===a||"number"==typeof a&&0=(1-l)*(1-(l=c()/p||.5))&&(d=0),g/=l;g*=2,gt.style(a,n,g+u),e=e||[]}return e&&(g=+g||+p||0,i=e[1]?g+(e[1]+1)*e[2]:+e[2],o&&(o.unit=u,o.start=g,o.end=i)),i}function W(a,n){for(var e,o,i,r,s,d,c,u=[],f=0,b=a.length;fi;i+=2)"margin"===e&&(c+=gt.css(a,e+E[i],!0,n)),t?("content"===e&&(c-=gt.css(a,"padding"+E[i],!0,n)),"margin"!==e&&(c-=gt.css(a,"border"+E[i]+"Width",!0,n))):(c+=gt.css(a,"padding"+E[i],!0,n),"padding"===e?d+=gt.css(a,"border"+E[i]+"Width",!0,n):c+=gt.css(a,"border"+E[i]+"Width",!0,n));return!t&&0<=r&&(c+=Math.max(0,Math.ceil(a["offset"+s[0].toUpperCase()+s.slice(1)]-r-c-d-.5))||0),c}function Oe(a,o,e){var t=ge(a),n=(!ct.boxSizingReliable()||e)&&"border-box"===gt.css(a,"boxSizing",!1,t),i=n,s=Se(a,o,t),d="offset"+o[0].toUpperCase()+o.slice(1);if(ue.test(s)){if(!e)return s;s="auto"}return(!ct.boxSizingReliable()&&n||!ct.reliableTrDimensions()&&x(a,"tr")||"auto"===s||!parseFloat(s)&&"inline"===gt.css(a,"display",!1,t))&&a.getClientRects().length&&(n="border-box"===gt.css(a,"boxSizing",!1,t),(i=d in a)&&(s=a[d])),(s=parseFloat(s)||0)+Pe(a,o,e||(n?"border":"content"),i,t,s)+"px"}function Ne(i,a,e,t,n){return new Ne.prototype.init(i,a,e,t,n)}function Re(){We&&(!1===r.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(Re):ie.setTimeout(Re,gt.fx.interval),gt.fx.tick())}function Le(){return ie.setTimeout(function(){Fe=void 0}),Fe=Date.now()}function $e(t,a){var n,i=0,r={height:t};for(a=a?1:0;4>i;i+=2-a)r["margin"+(n=E[i])]=r["padding"+n]=t;return a&&(r.opacity=r.width=t),r}function Be(a,o,e){for(var t,r=(qe.tweeners[o]||[]).concat(qe.tweeners["*"]),s=0,d=r.length;st&&s?e:(s||u.notifyWith(o,[m,1,0]),u.resolveWith(o,[m]),!1)},m=u.promise({elem:o,props:gt.extend({},i),opts:gt.extend(!0,{specialEasing:{},easing:gt.easing._default},e),originalProperties:i,originalOptions:e,startTime:Fe||Le(),duration:e.duration,tweens:[],createTween:function(a,e){var t=gt.Tween(o,m.opts,a,e,m.opts.specialEasing[a]||m.opts.easing);return m.tweens.push(t),t},stop:function(n){var e=0,i=n?m.tweens.length:0;if(d)return this;for(d=!0;ee?this[e+this.length]:this[e]},pushStack:function(t){var a=gt.merge(this.constructor(),t);return a.prevObject=this,a},each:function(e){return gt.each(this,e)},map:function(n){return this.pushStack(gt.map(this,function(a,e){return n.call(a,e,a)}))},slice:function(){return this.pushStack(nt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(gt.grep(this,function(t,a){return(a+1)%2}))},odd:function(){return this.pushStack(gt.grep(this,function(t,a){return a%2}))},eq:function(n){var a=this.length,e=+n+(0>n?a:0);return this.pushStack(0<=e&&e_.cacheLength&&delete a[o.shift()],a[e+" "]=t}}function o(e){return e[se]=!0,e}function i(t){var a=V.createElement("fieldset");try{return!!t(a)}catch(e){return!1}finally{a.parentNode&&a.parentNode.removeChild(a),a=null}}function e(o,a){for(var e=o.split("|"),t=e.length;t--;)_.attrHandle[e[t]]=a}function n(n,a){var e=a&&n,i=e&&1===n.nodeType&&1===a.nodeType&&n.sourceIndex-a.sourceIndex;if(i)return i;if(e)for(;e=e.nextSibling;)if(e===a)return-1;return n?1:-1}function r(t){return function(a){return"input"===a.nodeName.toLowerCase()&&a.type===t}}function s(n){return function(a){var e=a.nodeName.toLowerCase();return("input"===e||"button"===e)&&a.type===n}}function l(t){return function(a){return"form"in a?a.parentNode&&!1===a.disabled?"label"in a?"label"in a.parentNode?a.parentNode.disabled===t:a.disabled===t:a.isDisabled===t||a.isDisabled!==!t&&ie(a)===t:a.disabled===t:"label"in a&&a.disabled===t}}function d(a){return o(function(i){return i=+i,o(function(e,t){for(var n,s=a([],e.length,i),l=s.length;l--;)e[n=s[l]]&&(e[n]=!(t[n]=e[n]))})})}function c(e){return e&&void 0!==e.getElementsByTagName&&e}function p(){}function u(t){for(var a=0,i=t.length,o="";a+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,$=/[\x20\t\r\n\f]|>/,z={ID:/^#((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)/,CLASS:/^\.((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)/,TAG:/^((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+))|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},U=/^[^{]+\{\s*\[native \w/,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=/\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\([^\r\n\f])/g,ee=function(n,a){var e="0x"+n.slice(1)-65536;return a||(0>e?String.fromCharCode(e+65536):String.fromCharCode(55296|e>>10,56320|1023&e))},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(t,a){return a?"\0"===t?"\uFFFD":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},re=function(){M()},ie=y(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{q.apply(_e=Ye.call(le.childNodes),le.childNodes),_e[le.childNodes.length].nodeType}catch(t){q={apply:_e.length?function(t,a){Ie.apply(t,Ye.call(a))}:function(n,a){for(var e=n.length,i=0;n[e++]=a[i++];);n.length=e-1}}}for(g in h=v.support={},I=v.isXML=function(n){var a=n.namespaceURI,e=(n.ownerDocument||n).documentElement;return!/HTML$/i.test(a||e&&e.nodeName||"HTML")},M=v.setDocument=function(t){var a,r,l=t?t.ownerDocument||t:le;return l!=V&&9===l.nodeType&&l.documentElement&&(H=(V=l).documentElement,W=!I(V),le!=V&&(r=V.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",re,!1):r.attachEvent&&r.attachEvent("onunload",re)),h.scope=i(function(e){return H.appendChild(e).appendChild(V.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),h.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=i(function(e){return e.appendChild(V.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=U.test(V.getElementsByClassName),h.getById=i(function(e){return H.appendChild(e).id=se,!V.getElementsByName||!V.getElementsByName(se).length}),h.getById?(_.filter.ID=function(e){var n=e.replace(Z,ee);return function(e){return e.getAttribute("id")===n}},_.find.ID=function(n,a){if(void 0!==a.getElementById&&W){var e=a.getElementById(n);return e?[e]:[]}}):(_.filter.ID=function(e){var n=e.replace(Z,ee);return function(a){var t=void 0!==a.getAttributeNode&&a.getAttributeNode("id");return t&&t.value===n}},_.find.ID=function(n,a){if(void 0!==a.getElementById&&W){var e,o,i,r=a.getElementById(n);if(r){if((e=r.getAttributeNode("id"))&&e.value===n)return[r];for(i=a.getElementsByName(n),o=0;r=i[o++];)if((e=r.getAttributeNode("id"))&&e.value===n)return[r]}return[]}}),_.find.TAG=h.getElementsByTagName?function(t,a){return void 0===a.getElementsByTagName?h.qsa?a.querySelectorAll(t):void 0:a.getElementsByTagName(t)}:function(n,a){var e,o=[],i=0,s=a.getElementsByTagName(n);if("*"===n){for(;e=s[i++];)1===e.nodeType&&o.push(e);return o}return s},_.find.CLASS=h.getElementsByClassName&&function(t,a){if(void 0!==a.getElementsByClassName&&W)return a.getElementsByClassName(t)},Q=[],X=[],(h.qsa=U.test(V.querySelectorAll))&&(i(function(t){var a;H.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&X.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||X.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)"),t.querySelectorAll("[id~="+se+"-]").length||X.push("~="),(a=V.createElement("input")).setAttribute("name",""),t.appendChild(a),t.querySelectorAll("[name='']").length||X.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||X.push(":checked"),t.querySelectorAll("a#"+se+"+*").length||X.push(".#.+[+~]"),t.querySelectorAll("\\\f"),X.push("[\\r\\n\\f]")}),i(function(t){t.innerHTML="";var a=V.createElement("input");a.setAttribute("type","hidden"),t.appendChild(a).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&X.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&X.push(":enabled",":disabled"),H.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&X.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),X.push(",.*:")})),(h.matchesSelector=U.test(J=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&i(function(e){h.disconnectedMatch=J.call(e,"*"),J.call(e,"[s!='']:x"),Q.push("!=",":((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}),X=X.length&&new RegExp(X.join("|")),Q=Q.length&&new RegExp(Q.join("|")),a=U.test(H.compareDocumentPosition),ae=a||U.test(H.contains)?function(o,a){var e=9===o.nodeType?o.documentElement:o,t=a&&a.parentNode;return o===t||t&&1===t.nodeType&&(e.contains?e.contains(t):o.compareDocumentPosition&&16&o.compareDocumentPosition(t))}:function(t,a){if(a)for(;a=a.parentNode;)if(a===t)return!0;return!1},k=a?function(a,n){if(a===n)return j=!0,0;var e=!a.compareDocumentPosition-!n.compareDocumentPosition;return e||(1&(e=(a.ownerDocument||a)==(n.ownerDocument||n)?a.compareDocumentPosition(n):1)||!h.sortDetached&&n.compareDocumentPosition(a)===e?a==V||a.ownerDocument==le&&ae(le,a)?-1:n==V||n.ownerDocument==le&&ae(le,n)?1:F?Oe(F,a)-Oe(F,n):0:4&e?-1:1)}:function(r,s){if(r===s)return j=!0,0;var e,d=0,c=r.parentNode,p=s.parentNode,i=[r],o=[s];if(!c||!p)return r==V?-1:s==V?1:c?-1:p?1:F?Oe(F,r)-Oe(F,s):0;if(c===p)return n(r,s);for(e=r;e=e.parentNode;)i.unshift(e);for(e=s;e=e.parentNode;)o.unshift(e);for(;i[d]===o[d];)d++;return d?n(i[d],o[d]):i[d]==le?-1:o[d]==le?1:0}),V},v.matches=function(t,a){return v(t,null,null,a)},v.matchesSelector=function(t,n){if(M(t),h.matchesSelector&&W&&!S[n+" "]&&(!Q||!Q.test(n))&&(!X||!X.test(n)))try{var a=J.call(t,n);if(a||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return a}catch(e){S(n,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||v.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&v.error(e[0]),e},PSEUDO:function(t){var a,n=!t[6]&&t[2];return z.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&/:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/.test(n)&&(a=Y(n,!0))&&(a=n.indexOf(")",n.length-a)-n.length)&&(t[0]=t[0].slice(0,a),t[2]=n.slice(0,a)),t.slice(0,3))}},filter:{TAG:function(e){var n=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===n}},CLASS:function(e){var n=ce[e+" "];return n||(n=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"([\\x20\\t\\r\\n\\f]|$)"))&&ce(e,function(e){return n.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,a,e){return function(t){var n=v.attr(t,i);return null==n?"!="===a:!a||(n+="","="===a?n===e:"!="===a?n!==e:"^="===a?e&&0===n.indexOf(e):"*="===a?e&&-1e.nodeType)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return /^h\d$/i.test(e.nodeName)},input:function(e){return /^(?:input|select|textarea|button)$/i.test(e.nodeName)},button:function(t){var a=t.nodeName.toLowerCase();return"input"===a&&"button"===t.type||"button"===a},text:function(t){var a;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(a=t.getAttribute("type"))||"text"===a.toLowerCase())},first:d(function(){return[0]}),last:d(function(t,a){return[a-1]}),eq:d(function(n,a,e){return[0>e?e+a:e]}),even:d(function(n,a){for(var e=0;ee?e+a:ae?e+a:e;++t:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;gt.filter=function(e,i,o){var t=i[0];return o&&(e=":not("+e+")"),1===i.length&&1===t.nodeType?gt.find.matchesSelector(t,e)?[t]:[]:gt.find.matches(e,gt.grep(i,function(e){return 1===e.nodeType}))},gt.fn.extend({find:function(t){var a,n,i=this.length,s=this;if("string"!=typeof t)return this.pushStack(gt(t).filter(function(){for(a=0;a"===t[t.length-1]&&3<=t.length?[null,t,null]:/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/.exec(t))||!i[1]&&a)return!a||a.jquery?(a||n).find(t):this.constructor(a).find(t);if(i[1]){if(a=a instanceof gt?a[0]:a,gt.merge(this,gt.parseHTML(i[1],a&&a.nodeType?a.ownerDocument||a:r,!0)),u.test(i[1])&>.isPlainObject(a))for(i in a)pt(this[i])?this[i](a[i]):this.attr(i,a[i]);return this}return(l=r.getElementById(i[2]))&&(this[0]=l,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):pt(t)?void 0===n.ready?t(gt):n.ready(t):gt.makeArray(t,this)}).prototype=gt.fn,g=gt(r);var f={children:!0,contents:!0,next:!0,prev:!0};gt.fn.extend({has:function(e){var a=gt(e,this),o=a.length;return this.filter(function(){for(var e=0;ee.nodeType&&(i?-1=i&&(t(n,r.done(o(s)).resolve,r.reject,!i),"pending"===r.state()||pt(l[s]&&l[s].then)))return r.then();for(;s--;)t(l[s],o(s),r.reject);return r.promise()}}),gt.Deferred.exceptionHook=function(a,e){ie.console&&ie.console.warn&&a&&/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/.test(a.name)&&ie.console.warn("jQuery.Deferred exception: "+a.message,a.stack,e)},gt.readyException=function(t){ie.setTimeout(function(){throw t})};var h=gt.Deferred();gt.fn.ready=function(e){return h.then(e).catch(function(e){gt.readyException(e)}),this},gt.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--gt.readyWait:gt.isReady)||(gt.isReady=!0)!==e&&0<--gt.readyWait||h.resolveWith(r,[gt])}}),gt.ready.then=h.then,"complete"!==r.readyState&&("loading"===r.readyState||r.documentElement.doScroll)?(r.addEventListener("DOMContentLoaded",O),ie.addEventListener("load",O)):ie.setTimeout(gt.ready);var v=function(t,a,i,s,n,l,d){var c=0,p=t.length,g=null==i;if("object"===L(i))for(c in n=!0,i)v(t,a,c,i[c],!0,l,d);else if(void 0!==s&&(n=!0,pt(s)||(d=!0),g&&(d?(a.call(t,s),a=null):(g=a,a=function(n,a,e){return g.call(gt(n),e)})),a))for(;c\x20\t\r\n\f]*)/i,ae=/^$|^module$|\/(?:java|ecma)script/i;H=r.createDocumentFragment().appendChild(r.createElement("div")),(Q=r.createElement("input")).setAttribute("type","radio"),Q.setAttribute("checked","checked"),Q.setAttribute("name","t"),H.appendChild(Q),ct.checkClone=H.cloneNode(!0).cloneNode(!0).lastChild.checked,H.innerHTML="",ct.noCloneChecked=!!H.cloneNode(!0).lastChild.defaultValue,H.innerHTML="",ct.option=!!H.lastChild;var ne={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ne.tbody=ne.tfoot=ne.colgroup=ne.caption=ne.thead,ne.th=ne.td,ct.option||(ne.optgroup=ne.option=[1,""]);var oe=/<|&#?\w+;/,re=/^([^.]*)(?:\.(.+)|)/;gt.event={global:{},add:function(t,a,n,o,i){var s,l,d,c,p,u,g,m,f,h,v,x=ht.get(t);if(ft(t))for(n.handler&&(n=(s=n).handler,i=s.selector),i&>.find.matchesSelector($,i),n.guid||(n.guid=gt.guid++),(c=x.events)||(c=x.events=Object.create(null)),(l=x.handle)||(l=x.handle=function(a){return void 0!==gt&>.event.triggered!==a.type?gt.event.dispatch.apply(t,arguments):void 0}),p=(a=(a||"").match(mt)||[""]).length;p--;)f=v=(d=re.exec(a[p])||[])[1],h=(d[2]||"").split(".").sort(),f&&(g=gt.event.special[f]||{},f=(i?g.delegateType:g.bindType)||f,g=gt.event.special[f]||{},u=gt.extend({type:f,origType:v,data:o,handler:n,guid:n.guid,selector:i,needsContext:i&>.expr.match.needsContext.test(i),namespace:h.join(".")},s),(m=c[f])||((m=c[f]=[]).delegateCount=0,g.setup&&!1!==g.setup.call(t,o,h,l)||t.addEventListener&&t.addEventListener(f,l)),g.add&&(g.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?m.splice(m.delegateCount++,0,u):m.push(u),gt.event.global[f]=!0)},remove:function(t,a,o,s,n){var r,l,d,c,p,u,g,m,f,h,y,v=ht.hasData(t)&&ht.get(t);if(v&&(c=v.events)){for(p=(a=(a||"").match(mt)||[""]).length;p--;)if(f=y=(d=re.exec(a[p])||[])[1],h=(d[2]||"").split(".").sort(),f){for(g=gt.event.special[f]||{},m=c[f=(s?g.delegateType:g.bindType)||f]||[],d=d[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=m.length;r--;)u=m[r],!n&&y!==u.origType||o&&o.guid!==u.guid||d&&!d.test(u.namespace)||s&&s!==u.selector&&("**"!==s||!u.selector)||(m.splice(r,1),u.selector&&m.delegateCount--,g.remove&&g.remove.call(t,u));l&&!m.length&&(g.teardown&&!1!==g.teardown.call(t,h,v.handle)||gt.removeEvent(t,f,v.handle),delete c[f])}else for(f in c)gt.event.remove(t,f+a[p],o,s,!0);gt.isEmptyObject(c)&&ht.remove(t,"handle events")}},dispatch:function(t){var a,n,o,i,r,d,c=Array(arguments.length),y=gt.event.fix(t),s=(ht.get(this,"events")||Object.create(null))[y.type]||[],u=gt.event.special[y.type]||{};for(c[0]=y,a=1;a\s*$/g;gt.extend({htmlPrefilter:function(e){return e},clone:function(a,o,e){var t,i,r,s,l,d,u,f=a.cloneNode(!0),v=N(a);if(!(ct.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||gt.isXMLDoc(a)))for(s=U(f),t=0,i=(r=U(a)).length;tgt.inArray(this,n)&&(gt.cleanData(U(this)),e&&e.replaceChild(a,this))},n)}}),gt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){gt.fn[e]=function(a){for(var t,s=[],l=gt(a),r=l.length-1,i=0;i<=r;i++)t=i==r?this:this.clone(!0),gt(l[i])[n](t),it.apply(s,t.get());return this.pushStack(s)}});var ue=new RegExp("^("+_+")(?!px)[a-z%]+$","i"),ge=function(a){var e=a.ownerDocument.defaultView;return e&&e.opener||(e=ie),e.getComputedStyle(a)},me=function(o,a,e){var t,i,r={};for(i in a)r[i]=o.style[i],o.style[i]=a[i];for(i in t=e.call(o),a)o.style[i]=r[i];return t},he=new RegExp(E.join("|"),"i");!function(){function t(){if(v){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",v.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",$.appendChild(h).appendChild(v);var t=ie.getComputedStyle(v);o="1%"!==t.top,u=12===a(t.marginLeft),v.style.right="60%",d=36===a(t.right),i=36===a(t.width),v.style.position="absolute",s=12===a(v.offsetWidth/3),$.removeChild(h),v=null}}function a(e){return Math.round(parseFloat(e))}var o,i,s,d,c,u,h=r.createElement("div"),v=r.createElement("div");v.style&&(v.style.backgroundClip="content-box",v.cloneNode(!0).style.backgroundClip="",ct.clearCloneStyle="content-box"===v.style.backgroundClip,gt.extend(ct,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),d},pixelPosition:function(){return t(),o},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),s},reliableTrDimensions:function(){var t,n,i,l;return null==c&&(t=r.createElement("table"),n=r.createElement("tr"),i=r.createElement("div"),t.style.cssText="position:absolute;left:-11111px",n.style.height="1px",i.style.height="9px",$.appendChild(t).appendChild(n).appendChild(i),l=ie.getComputedStyle(n),c=3t;t++)r[o+E[t]+a]=s[t]||s[t-2]||s[0];return r}},"margin"!==o&&(gt.cssHooks[o+a].set=Ee)}),gt.fn.extend({css:function(t,a){return v(this,function(a,i,e){var t,r,s={},l=0;if(Array.isArray(i)){for(t=ge(a),r=i.length;lo.indexOf(" "+r+" ")&&(o+=r+" ");i!==(d=Ve(o))&&n.setAttribute("class",d)}return this},removeClass:function(t){var a,n,o,i,r,s,d,u=0;if(pt(t))return this.each(function(a){gt(this).removeClass(t.call(this,a,He(this)))});if(!arguments.length)return this.attr("class","");if((a=Xe(t)).length)for(;n=this[u++];)if(i=He(n),o=1===n.nodeType&&" "+Ve(i)+" "){for(s=0;r=a[s++];)for(;-1c?a:i?c:0;dx.indexOf(":")&&"on"+x,(t=t[gt.expando]?t:new gt.Event(x,"object"==typeof t&&t)).isTrigger=s?2:3,t.namespace=_.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),a=null==a?[t]:gt.makeArray(a,[t]),f=gt.event.special[x]||{},s||!f.trigger||!1!==f.trigger.apply(n,a))){if(!s&&!f.noBubble&&!ut(n)){for(p=f.delegateType||x,Dt.test(p+x)||(d=d.parentNode);d;d=d.parentNode)v.push(d),c=d;c===(n.ownerDocument||r)&&v.push(c.defaultView||c.parentWindow||ie)}for(l=0;(d=v[l++])&&!t.isPropagationStopped();)h=d,t.type=1t||304===t,o&&(T=function(a,o,e){for(var t,i,r,d,u=a.contents,g=a.dataTypes;"*"===g[0];)g.shift(),void 0===t&&(t=a.mimeType||o.getResponseHeader("Content-Type"));if(t)for(i in u)if(u[i]&&u[i].test(t)){g.unshift(i);break}if(g[0]in e)r=g[0];else{for(i in e){if(!g[0]||a.converters[i+" "+g[0]]){r=i;break}d||(d=i)}r=r||d}return r?(r!==g[0]&&g.unshift(r),e[r]):void 0}(C,N,o)),!a&&-1t&&(t=0))),N.status=t,N.statusText=(m||S)+"",a?E.resolveWith(Y,[v,S,N]):E.rejectWith(Y,[N,S,b]),N.statusCode(y),y=void 0,_&&d.trigger(a?"ajaxSuccess":"ajaxError",[N,C,a?v:b]),g.fireWith(Y,[N,S]),_&&(d.trigger("ajaxComplete",[N,C]),--gt.active||gt.event.trigger("ajaxStop")))}"object"==typeof t&&(a=t,t=void 0),a=a||{};var p,f,h,i,x,n,w,_,s,l,C=gt.ajaxSetup({},a),Y=C.context||C,d=C.context&&(Y.nodeType||Y.jquery)?gt(Y):gt.event,E=gt.Deferred(),g=gt.Callbacks("once memory"),y=C.statusCode||{},c={},u={},b="canceled",N={readyState:0,getResponseHeader:function(t){var a;if(w){if(!i)for(i={};a=/^(.*?):[ \t]*([^\r\n]*)$/gm.exec(h);)i[a[1].toLowerCase()+" "]=(i[a[1].toLowerCase()+" "]||[]).concat(a[2]);a=i[t.toLowerCase()+" "]}return null==a?null:a.join(", ")},getAllResponseHeaders:function(){return w?h:null},setRequestHeader:function(e,t){return null==w&&(e=u[e.toLowerCase()]=u[e.toLowerCase()]||e,c[e]=t),this},overrideMimeType:function(e){return null==w&&(C.mimeType=e),this},statusCode:function(t){if(t)if(w)N.always(t[N.status]);else for(var a in t)y[a]=[y[a],t[a]];return this},abort:function(t){var a=t||b;return p&&p.abort(a),o(0,a),this}};if(E.promise(N),C.url=((t||C.url||bt.href)+"").replace(/^\/\//,bt.protocol+"//"),C.type=a.method||a.type||C.method||C.type,C.dataTypes=(C.dataType||"*").toLowerCase().match(mt)||[""],null==C.crossDomain){n=r.createElement("a");try{n.href=C.url,n.href=n.href,C.crossDomain=Et.protocol+"//"+Et.host!=n.protocol+"//"+n.host}catch(t){C.crossDomain=!0}}if(C.data&&C.processData&&"string"!=typeof C.data&&(C.data=gt.param(C.data,C.traditional)),Je(St,C,a,N),w)return N;for(s in(_=gt.event&&C.global)&&0==gt.active++&>.event.trigger("ajaxStart"),C.type=C.type.toUpperCase(),C.hasContent=!/^(?:GET|HEAD)$/.test(C.type),f=C.url.replace(/#.*$/,""),C.hasContent?C.data&&C.processData&&0===(C.contentType||"").indexOf("application/x-www-form-urlencoded")&&(C.data=C.data.replace(/%20/g,"+")):(l=C.url.slice(f.length),C.data&&(C.processData||"string"==typeof C.data)&&(f+=(Tt.test(f)?"&":"?")+C.data,delete C.data),!1===C.cache&&(f=f.replace(/([?&])_=[^&]*/,"$1"),l=(Tt.test(f)?"&":"?")+"_="+wt.guid++ +l),C.url=f+l),C.ifModified&&(gt.lastModified[f]&&N.setRequestHeader("If-Modified-Since",gt.lastModified[f]),gt.etag[f]&&N.setRequestHeader("If-None-Match",gt.etag[f])),(C.data&&C.hasContent&&!1!==C.contentType||a.contentType)&&N.setRequestHeader("Content-Type",C.contentType),N.setRequestHeader("Accept",C.dataTypes[0]&&C.accepts[C.dataTypes[0]]?C.accepts[C.dataTypes[0]]+("*"===C.dataTypes[0]?"":", */*; q=0.01"):C.accepts["*"]),C.headers)N.setRequestHeader(s,C.headers[s]);if(C.beforeSend&&(!1===C.beforeSend.call(Y,N,C)||w))return N.abort();if(b="abort",g.add(C.complete),N.done(C.success),N.fail(C.error),p=Je(kt,C,a,N)){if(N.readyState=1,_&&d.trigger("ajaxSend",[N,C]),w)return N;C.async&&0").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(t){a.remove(),i=null,t&&e("error"===t.type?404:200,t.type)}),r.head.appendChild(a[0])},abort:function(){i&&i()}}});var $t,Lt=[],Ot=/(=)\?(?=&|$)|\?\?/;gt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Lt.pop()||gt.expando+"_"+wt.guid++;return this[e]=!0,e}}),gt.ajaxPrefilter("json jsonp",function(a,e,t){var n,o,i,s=!1!==a.jsonp&&(Ot.test(a.url)?"url":"string"==typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ot.test(a.data)&&"data");if(s||"jsonp"===a.dataTypes[0])return n=a.jsonpCallback=pt(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,s?a[s]=a[s].replace(Ot,"$1"+n):!1!==a.jsonp&&(a.url+=(Tt.test(a.url)?"&":"?")+a.jsonp+"="+n),a.converters["script json"]=function(){return i||gt.error(n+" was not called"),i[0]},a.dataTypes[0]="json",o=ie[n],ie[n]=function(){i=arguments},t.always(function(){void 0===o?gt(ie).removeProp(n):ie[n]=o,a[n]&&(a.jsonpCallback=e.jsonpCallback,Lt.push(n)),i&&pt(o)&&o(i[0]),i=o=void 0}),"script"}),ct.createHTMLDocument=(($t=r.implementation.createHTMLDocument("").body).innerHTML="
",2===$t.childNodes.length),gt.parseHTML=function(t,a,n){return"string"==typeof t?("boolean"==typeof a&&(n=a,a=!1),a||(ct.createHTMLDocument?((o=(a=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,a.head.appendChild(o)):a=r),c=!n&&[],(i=u.exec(t))?[a.createElement(i[1])]:(i=G([t],a,c),c&&c.length&>(c).remove(),gt.merge([],i.childNodes))):[];var o,i,c},gt.fn.load=function(e,t,o){var n,i,r,s=this,g=e.indexOf(" ");return-1").append(gt.parseHTML(e)).find(n):e)}).always(o&&function(t,a){s.each(function(){o.apply(this,r||[t.responseText,a,t])})}),this},gt.expr.pseudos.animated=function(t){return gt.grep(gt.timers,function(a){return t===a.elem}).length},gt.offset={setOffset:function(t,a,o){var i,r,s,d,p,u,f=gt.css(t,"position"),v=gt(t),l={};"static"===f&&(t.style.position="relative"),p=v.offset(),s=gt.css(t,"top"),u=gt.css(t,"left"),("absolute"===f||"fixed"===f)&&-1<(s+u).indexOf("auto")?(d=(i=v.position()).top,r=i.left):(d=parseFloat(s)||0,r=parseFloat(u)||0),pt(a)&&(a=a.call(t,o,gt.extend({},p))),null!=a.top&&(l.top=a.top-p.top+d),null!=a.left&&(l.left=a.left-p.left+r),"using"in a?a.using.call(t,l):("number"==typeof l.top&&(l.top+="px"),"number"==typeof l.left&&(l.left+="px"),v.css(l))}},gt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(a){gt.offset.setOffset(this,t,a)});var a,n,i=this[0];return i?i.getClientRects().length?(a=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:a.top+n.pageYOffset,left:a.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],l={top:0,left:0};if("fixed"===gt.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===gt.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((l=gt(e).offset()).top+=gt.css(e,"borderTopWidth",!0),l.left+=gt.css(e,"borderLeftWidth",!0))}return{top:t.top-l.top-gt.css(i,"marginTop",!0),left:t.left-l.left-gt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===gt.css(e,"position");)e=e.offsetParent;return e||$})}}),gt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,o){var i="pageYOffset"===o;gt.fn[n]=function(t){return v(this,function(t,n,e){var a;return(ut(t)?a=t:9===t.nodeType&&(a=t.defaultView),void 0===e)?a?a[o]:t[n]:void(a?a.scrollTo(i?a.pageXOffset:e,i?e:a.pageYOffset):t[n]=e)},n,t,arguments.length)}}),gt.each(["top","left"],function(e,n){gt.cssHooks[n]=ke(ct.pixelPosition,function(a,t){if(t)return t=Se(a,n),ue.test(t)?gt(a).position()[n]+"px":t})}),gt.each({Height:"height",Width:"width"},function(o,a){gt.each({padding:"inner"+o,content:a,"":"outer"+o},function(e,i){gt.fn[i]=function(t,n){var r=arguments.length&&(e||"boolean"!=typeof t),d=e||(!0===t||!0===n?"margin":"border");return v(this,function(a,e,t){var n;return ut(a)?0===i.indexOf("outer")?a["inner"+o]:a.document.documentElement["client"+o]:9===a.nodeType?(n=a.documentElement,Math.max(a.body["scroll"+o],n["scroll"+o],a.body["offset"+o],n["offset"+o],n["client"+o])):void 0===t?gt.css(a,e,d):gt.style(a,e,t,d)},a,r?t:void 0,r)}})}),gt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){gt.fn[n]=function(e){return this.on(n,e)}}),gt.fn.extend({bind:function(n,a,e){return this.on(n,null,a,e)},unbind:function(t,a){return this.off(t,null,a)},delegate:function(o,a,e,t){return this.on(a,o,e,t)},undelegate:function(n,a,e){return 1===arguments.length?this.off(n,"**"):this.off(a,n||"**",e)},hover:function(t,a){return this.mouseenter(t).mouseleave(a||t)}}),gt.each(["blur","focus","focusin","focusout","resize","scroll","click","dblclick","mousedown","mouseup","mousemove","mouseover","mouseout","mouseenter","mouseleave","change","select","submit","keydown","keypress","keyup","contextmenu"],function(e,n){gt.fn[n]=function(a,t){return 0e?"desktop":768e?"tablet":300e?"mobile":300>e?"mobile_portrait":""}"function"!=typeof window.vc_js&&(window.vc_js=function(){"use strict";vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),a=e.attr("data-flex_fx");e.is(":visible")&&e.flexslider({animation:a,slideshow:0!=t,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){0parseInt(t[1],10),a.each(function(){var t=jQuery(this).attr("data-interval"),o=[],a=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(t&&0t?t=a.tabs("length")-1:t>=a.tabs("length")&&(t=0),a.tabs("select",t)):(t=a.tabs("option","active"),e=a.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:0>t-1?e-1:t-1,a.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0 div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:a,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}}),!0===e.data("vcDisableKeydown")&&(a.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var t={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),a=e.find(".wpb_thumbnails"),n=a.attr("data-layout-mode");a.isotope({itemSelector:".isotope-item",layoutMode:void 0===t[n]?"fitRows":t[n]}),e.find(".categories_filter a").data("isotope",a).on("click",function(e){e&&e.preventDefault&&e.preventDefault(),e=jQuery(this).data("isotope"),jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){a.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(t){(t?t.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var t=jQuery(this);!0!==t.data("carousel_enabled")&&t.is(":visible")&&(t.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(t=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":t.css("margin-left"),"margin-left":0}),(t=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(t.width()+300),jQuery(window).on("resize",function(){n!=(n=e())&&window.setTimeout(function(){location.reload()},20)}))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var t,a,n=jQuery(this);n.hasClass("wpb_slider_nivo")?(0==(a=1e3*n.attr("data-interval"))&&(a=9999999999),n.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:a,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})):n.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?t=n.find(".wpb_image_grid_ul").imagesLoaded(function(){t.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):n.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery("a.prettyphoto, .gallery-icon a[href*=\".jpg\"]").prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1(l=i)&&(l=0),0>(u=i)&&(u=0)):0>(u=s-(l=0>(l=-1*i)?0:l)-g.width()+t+a)&&(u=0),e.css({"padding-left":l+"px","padding-right":u+"px"})),e.attr("data-vc-full-width-init","true"),e.removeClass("vc_hidden"),r(document).trigger("vc-full-width-row-single",{el:e,offset:i,marginLeft:t,marginRight:a,elFull:g,width:s}))}),r(document).trigger("vc-full-width-row",e)}function e(){var t,a,n=r(".vc_row-o-full-height:first");n.length&&(t=r(window).height(),(a=n.offset().top)")}),vc_initVideoBackgrounds(),n=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),r(".vc_parallax-inner").remove(),r("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),r("[data-vc-parallax]").each(function(){var t,o,i,s;n=!0,"on"===r(this).data("vcParallaxOFade")&&r(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),t=100*r(this).data("vcParallax"),(o=r("
").addClass("vc_parallax-inner").appendTo(r(this))).height(t+"%"),i=r(this).data("vcParallaxImage"),(s=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(o,s):void 0!==i&&o.css("background-image","url("+i+")"),t=-(t-100),o.attr("data-bottom-top","top: "+t+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr&&(a={forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}},window.vcParallaxSkroll=skrollr.init(a),window.vcParallaxSkroll)}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(t){for(var n=!1,o=1;!1==n;){if(t.hasClass("columns_count_"+o))return n=!0,o;o++}});var n=e();"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(a,n){var o=n.panel||n.newPanel,i=o.find(".vc_pie_chart:not(.vc_ready)"),e=o.find(".vc_round-chart"),r=o.find(".vc_line-chart"),s=o.find("[data-ride=\"vc_carousel\"]");vc_carouselBehaviour(),vc_plugin_flexslider(o),n.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&n.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&o.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.length&&jQuery.fn.vcChat&&i.vcChat(),e.length&&jQuery.fn.vcRoundChart&&e.vcRoundChart({reload:!1}),r.length&&jQuery.fn.vcLineChart&&r.vcLineChart({reload:!1}),s.length&&jQuery.fn.carousel&&s.carousel("resizeAction"),r=o.find(".isotope, .wpb_image_grid_ul"),s=o.find(".wpb_gmaps_widget"),0
").find(".inner");new YT.Player(n[0],{width:"100%",height:"100%",videoId:e,playerVars:{playlist:e,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(t),jQuery(window).on("resize",function(){vcResizeVideoBackground(t)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,a,n,o,r=e.innerWidth(),s=e.innerHeight();r/s<16/9?(t=s*(16/9),a=s,n=-Math.round((t-r)/2)+"px",o=-Math.round((a-s)/2)+"px"):(a=(t=r)*(9/16),o=-Math.round((a-s)/2)+"px",n=-Math.round((t-r)/2)+"px"),t+="px",a+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:n,marginTop:o,width:t,height:a})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=4*e.width()+"px";e.css("perspective",t)})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var t=(n=jQuery(this)).find(".vc-hoverbox-inner");t.css("min-height",0);var n,o=n.find(".vc-hoverbox-front-inner").outerHeight();250>(n=(n=n.find(".vc-hoverbox-back-inner").outerHeight())Error: More than 1 Hero Container found!"),function(){return 0!=t(".grcs_main_menu").length&&void(t(".grcs_main_menu_button").click(function(){t("body").hasClass("grcs_menu_open")?t("body").removeClass("grcs_menu_open"):t("body").addClass("grcs_menu_open")}),t(".grcs_page_wrapper").click(function(){t("body").hasClass("grcs_menu_open")&&t("body").removeClass("grcs_menu_open")}),t(".grcs_main_menu li.menu-item-has-children").append("t.y||t.y>n.height?(t.vx=t.vx,t.vy=-t.vy):(0>t.x||t.x>n.width)&&(t.vx=-t.vx,t.vy=t.vy),t.x+=t.vx,t.y+=t.vy}},line:function(){var t,n,o,i,r=p.length;for(o=0;o-p.distance&&t.y-n.y>-p.distance&&t.x-p.position.x-p.radius&&t.y-p.position.y>-p.radius&&(d.beginPath(),d.moveTo(t.x,t.y),d.lineTo(n.x,n.y),d.stroke(),d.closePath())}},this.createStars=function(){var t,o,i=p.length;for(d.clearRect(0,0,n.width,n.height),o=0;oe[0]&&9>e[1]||1==e[0]&&9==e[1]&&1>e[2]||3this.$items.length-1||0>t))return this.sliding?this.$element.one("slid.bs.carousel",function(){a.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},s.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&d.support.transition&&(this.$element.trigger(d.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},s.prototype.next=function(){if(!this.sliding)return this.slide("next")},s.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},s.prototype.slide=function(l,c){var e=this.$element.find(".item.active"),t=c||this.getItemForDirection(l,e),i=this.interval,n="next"==l?"left":"right",o=this;if(t.hasClass("active"))return this.sliding=!1;var a=t[0],r=d.Event("slide.bs.carousel",{relatedTarget:a,direction:n});if(this.$element.trigger(r),!r.isDefaultPrevented()){if(this.sliding=!0,i&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=d(this.$indicators.children()[this.getItemIndex(t)]);p&&p.addClass("active")}var g=d.Event("slid.bs.carousel",{relatedTarget:a,direction:n});return d.support.transition&&this.$element.hasClass("slide")?(t.addClass(l),t[0].offsetWidth,e.addClass(n),t.addClass(n),e.one("bsTransitionEnd",function(){t.removeClass([l,n].join(" ")).addClass("active"),e.removeClass(["active",n].join(" ")),o.sliding=!1,setTimeout(function(){o.$element.trigger(g)},0)}).emulateTransitionEnd(s.TRANSITION_DURATION)):(e.removeClass("active"),t.addClass("active"),this.sliding=!1,this.$element.trigger(g)),i&&this.cycle(),this}};var n=d.fn.carousel;d.fn.carousel=a,d.fn.carousel.Constructor=s,d.fn.carousel.noConflict=function(){return d.fn.carousel=n,this};var e=function(i){var e,l=d(this),r=d(l.attr("data-target")||(e=l.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""));if(r.hasClass("carousel")){var s=d.extend({},r.data(),l.data()),n=l.attr("data-slide-to");n&&(s.interval=!1),a.call(r,s),n&&r.data("bs.carousel").to(n),i.preventDefault()}};d(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),d(window).on("load",function(){d("[data-ride=\"carousel\"]").each(function(){var t=d(this);a.call(t,t.data())})})}(jQuery),function(c){"use strict";function s(t){var a,n=t.attr("data-target")||(a=t.attr("href"))&&a.replace(/.*(?=#[^\s]+$)/,"");return c(n)}function r(a){return this.each(function(){var n=c(this),e=n.data("bs.collapse"),o=c.extend({},i.DEFAULTS,n.data(),"object"==typeof a&&a);!e&&o.toggle&&/show|hide/.test(a)&&(o.toggle=!1),e||n.data("bs.collapse",e=new i(this,o)),"string"==typeof a&&e[a]()})}var i=function(t,a){this.$element=c(t),this.options=c.extend({},i.DEFAULTS,a),this.$trigger=c("[data-toggle=\"collapse\"][href=\"#"+t.id+"\"],[data-toggle=\"collapse\"][data-target=\"#"+t.id+"\"]"),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"),e&&e.transitioning))){var s=c.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(r.call(n,"hide"),e||n.data("bs.collapse",null));var l=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[l](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var d=function(){this.$element.removeClass("collapsing").addClass("collapse in")[l](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return d.call(this);var o=c.camelCase(["scroll",l].join("-"));this.$element.one("bsTransitionEnd",c.proxy(d,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[l](this.$element[0][o])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=c.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var a=this.dimension();this.$element[a](this.$element[a]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return c.support.transition?void this.$element[a](0).one("bsTransitionEnd",c.proxy(e,this)).emulateTransitionEnd(i.TRANSITION_DURATION):e.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return c(this.options.parent).find("[data-toggle=\"collapse\"][data-parent=\""+this.options.parent+"\"]").each(c.proxy(function(a,e){var t=c(e);this.addAriaAndCollapsedClass(s(t),t)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,a){var n=t.hasClass("in");t.attr("aria-expanded",n),a.toggleClass("collapsed",!n).attr("aria-expanded",n)};var t=c.fn.collapse;c.fn.collapse=r,c.fn.collapse.Constructor=i,c.fn.collapse.noConflict=function(){return c.fn.collapse=t,this},c(document).on("click.bs.collapse.data-api","[data-toggle=\"collapse\"]",function(n){var e=c(this);e.attr("data-target")||n.preventDefault();var t=s(e),a=t.data("bs.collapse")?"toggle":e.data();r.call(t,a)})}(jQuery),function(l){"use strict";function c(t){var a=t.attr("data-target");a||(a=(a=t.attr("href"))&&/#[A-Za-z]/.test(a)&&a.replace(/.*(?=#[^\s]*$)/,""));var n=a&&l(a);return n&&n.length?n:t.parent()}function d(i){i&&3===i.which||(l(n).remove(),l(a).each(function(){var e=l(this),t=c(e),a={relatedTarget:this};t.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&l.contains(t[0],i.target)||(t.trigger(i=l.Event("hide.bs.dropdown",a)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),t.removeClass("open").trigger(l.Event("hidden.bs.dropdown",a)))))}))}var n=".dropdown-backdrop",a="[data-toggle=\"dropdown\"]",o=function(e){l(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.7",o.prototype.toggle=function(e){var a=l(this);if(!a.is(".disabled, :disabled")){var i=c(a),r=i.hasClass("open");if(d(),!r){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&l(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(l(this)).on("click",d);var n={relatedTarget:this};if(i.trigger(e=l.Event("show.bs.dropdown",n)),e.isDefaultPrevented())return;a.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(l.Event("shown.bs.dropdown",n))}return!1}},o.prototype.keydown=function(r){if(/(38|40|27|32)/.test(r.which)&&!/input|textarea/i.test(r.target.tagName)){var e=l(this);if(r.preventDefault(),r.stopPropagation(),!e.is(".disabled, :disabled")){var t=c(e),i=t.hasClass("open");if(!i&&27!=r.which||i&&27==r.which)return 27==r.which&&t.find("[data-toggle=\"dropdown\"]").trigger("focus"),e.trigger("click");var n=t.find(".dropdown-menu li:not(.disabled):visible a");if(n.length){var o=n.index(r.target);38==r.which&&0document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var n=document.documentElement.getBoundingClientRect();a=n.right-Math.abs(n.left)}this.bodyIsOverflowing=document.body.clientWidth
",trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},f.prototype.init=function(n,a,e){if(this.enabled=!0,this.type=n,this.$element=h(a),this.options=this.getOptions(e),this.$viewport=this.options.viewport&&h(h.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var t,r=this.options.trigger.split(" "),i=r.length;i--;)if(t=r[i],"click"==t)this.$element.on("click."+this.type,this.options.selector,h.proxy(this.toggle,this));else if("manual"!=t){var s="hover"==t?"mouseenter":"focusin",d="hover"==t?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,h.proxy(this.enter,this)),this.$element.on(d+"."+this.type,this.options.selector,h.proxy(this.leave,this))}this.options.selector?this._options=h.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},f.prototype.getDefaults=function(){return f.DEFAULTS},f.prototype.getOptions=function(e){return(e=h.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},f.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&h.each(this._options,function(o,t){n[o]!=t&&(e[o]=t)}),e},f.prototype.enter=function(t){var a=t instanceof this.constructor?t:h(t.currentTarget).data("bs."+this.type);return a||(a=new this.constructor(t.currentTarget,this.getDelegateOptions()),h(t.currentTarget).data("bs."+this.type,a)),t instanceof h.Event&&(a.inState["focusin"==t.type?"focus":"hover"]=!0),a.tip().hasClass("in")||"in"==a.hoverState?void(a.hoverState="in"):(clearTimeout(a.timeout),a.hoverState="in",a.options.delay&&a.options.delay.show?void(a.timeout=setTimeout(function(){"in"==a.hoverState&&a.show()},a.options.delay.show)):a.show())},f.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},f.prototype.leave=function(t){var a=t instanceof this.constructor?t:h(t.currentTarget).data("bs."+this.type);if(a||(a=new this.constructor(t.currentTarget,this.getDelegateOptions()),h(t.currentTarget).data("bs."+this.type,a)),t instanceof h.Event&&(a.inState["focusout"==t.type?"focus":"hover"]=!1),!a.isInStateTrue())return clearTimeout(a.timeout),a.hoverState="out",a.options.delay&&a.options.delay.hide?void(a.timeout=setTimeout(function(){"out"==a.hoverState&&a.hide()},a.options.delay.hide)):a.hide()},f.prototype.show=function(){var a=h.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(a);var e=h.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(a.isDefaultPrevented()||!e)return;var t=this,i=this.tip(),r=this.getUID(this.type);this.setContent(),i.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&i.addClass("fade");var n="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,m=s.test(n);m&&(n=n.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(n).data("bs."+this.type,this),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var g=this.getPosition(),l=i[0].offsetWidth,u=i[0].offsetHeight;if(m){var c=n,d=this.getPosition(this.$viewport);n="bottom"==n&&g.bottom+u>d.bottom?"top":"top"==n&&g.top-ud.width?"left":"left"==n&&g.left-lr.top+r.height&&(t.top=r.top+r.height-o)}else{var a=c.left-i,s=c.left+i+d;ar.right&&(t.left=r.left+r.width-s)}return t},f.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},f.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},f.prototype.tip=function(){if(!this.$tip&&(this.$tip=h(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},f.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},f.prototype.enable=function(){this.enabled=!0},f.prototype.disable=function(){this.enabled=!1},f.prototype.toggleEnabled=function(){this.enabled=!this.enabled},f.prototype.toggle=function(t){var a=this;t&&((a=h(t.currentTarget).data("bs."+this.type))||(a=new this.constructor(t.currentTarget,this.getDelegateOptions()),h(t.currentTarget).data("bs."+this.type,a))),t?(a.inState.click=!a.inState.click,a.isInStateTrue()?a.enter(a):a.leave(a)):a.tip().hasClass("in")?a.leave(a):a.enter(a)},f.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var t=h.fn.tooltip;h.fn.tooltip=function(a){return this.each(function(){var e=h(this),t=e.data("bs.tooltip");!t&&/destroy|hide/.test(a)||(t||e.data("bs.tooltip",t=new f(this,"object"==typeof a&&a)),"string"==typeof a&&t[a]())})},h.fn.tooltip.Constructor=f,h.fn.tooltip.noConflict=function(){return h.fn.tooltip=t,this}}(jQuery),function(i){"use strict";var n=function(e,t){this.init("popover",e,t)};if(!i.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=i.extend({},i.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:"

"}),n.prototype=i.extend({},i.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),a=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](a),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=i.fn.popover;i.fn.popover=function(o){return this.each(function(){var e=i(this),t=e.data("bs.popover");!t&&/destroy|hide/.test(o)||(t||e.data("bs.popover",t=new n(this,"object"==typeof o&&o)),"string"==typeof o&&t[o]())})},i.fn.popover.Constructor=n,i.fn.popover.noConflict=function(){return i.fn.popover=t,this}}(jQuery),function(s){"use strict";function n(a,e){this.$body=s(document.body),this.$scrollElement=s(s(a).is(document.body)?window:a),this.options=s.extend({},n.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",s.proxy(this.process,this)),this.refresh(),this.process()}function a(a){return this.each(function(){var e=s(this),t=e.data("bs.scrollspy");t||e.data("bs.scrollspy",t=new n(this,"object"==typeof a&&a)),"string"==typeof a&&t[a]()})}n.VERSION="3.3.7",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),s.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var a=s(this),o=a.data("target")||a.attr("href"),e=/^#./.test(o)&&s(o);return e&&e.length&&e.is(":visible")&&[[e[n]().top+i,o]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},n.prototype.process=function(){var o,s=this.$scrollElement.scrollTop()+this.options.offset,a=this.getScrollHeight(),l=this.options.offset+a-this.$scrollElement.height(),t=this.offsets,i=this.targets,r=this.activeTarget;if(this.scrollHeight!=a&&this.refresh(),s>=l)return r!=(o=i[i.length-1])&&this.activate(o);if(r&&s=t[o]&&(void 0===t[o+1]||s .dropdown-menu > .active").removeClass("active").end().find("[data-toggle=\"tab\"]").attr("aria-expanded",!1),a.addClass("active").find("[data-toggle=\"tab\"]").attr("aria-expanded",!0),n?(a[0].offsetWidth,a.addClass("in")):a.removeClass("fade"),a.parent(".dropdown-menu").length&&a.closest("li.dropdown").addClass("active").end().find("[data-toggle=\"tab\"]").attr("aria-expanded",!0),e&&e()}var i=s.find("> .active"),n=e&&c.support.transition&&(i.length&&i.hasClass("fade")||!!s.find("> .fade").length);i.length&&n?i.one("bsTransitionEnd",t).emulateTransitionEnd(r.TRANSITION_DURATION):t(),i.removeClass("in")};var a=c.fn.tab;c.fn.tab=n,c.fn.tab.Constructor=r,c.fn.tab.noConflict=function(){return c.fn.tab=a,this};var e=function(t){t.preventDefault(),n.call(c(this),"show")};c(document).on("click.bs.tab.data-api","[data-toggle=\"tab\"]",e).on("click.bs.tab.data-api","[data-toggle=\"pill\"]",e)}(jQuery),function(r){"use strict";function n(a){return this.each(function(){var n=r(this),e=n.data("bs.affix");e||n.data("bs.affix",e=new l(this,"object"==typeof a&&a)),"string"==typeof a&&e[a]()})}var l=function(t,a){this.options=r.extend({},l.DEFAULTS,a),this.$target=r(this.options.target).on("scroll.bs.affix.data-api",r.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",r.proxy(this.checkPositionWithEventLoop,this)),this.$element=r(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};l.VERSION="3.3.7",l.RESET="affix affix-top affix-bottom",l.DEFAULTS={offset:0,target:window},l.prototype.getState=function(s,l,d,e){var t=this.$target.scrollTop(),i=this.$element.offset(),r=this.$target.height();if(null!=d&&"top"==this.affixed)return t=s-e&&"bottom"},l.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(l.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},l.prototype.checkPositionWithEventLoop=function(){setTimeout(r.proxy(this.checkPosition,this),1)},l.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),o=this.options.offset,e=o.top,i=o.bottom,u=Math.max(r(document).height(),r(document.body).height());"object"!=typeof o&&(i=e=o),"function"==typeof e&&(e=o.top(this.$element)),"function"==typeof i&&(i=o.bottom(this.$element));var c=this.getState(u,n,e,i);if(this.affixed!=c){null!=this.unpin&&this.$element.css("top","");var p="affix"+(c?"-"+c:""),a=r.Event(p+".bs.affix");if(this.$element.trigger(a),a.isDefaultPrevented())return;this.affixed=c,this.unpin="bottom"==c?this.getPinnedOffset():null,this.$element.removeClass(l.RESET).addClass(p).trigger(p.replace("affix","affixed")+".bs.affix")}"bottom"==c&&this.$element.offset({top:u-n-i})}};var t=r.fn.affix;r.fn.affix=n,r.fn.affix.Constructor=l,r.fn.affix.noConflict=function(){return r.fn.affix=t,this},r(window).on("load",function(){r("[data-spy=\"affix\"]").each(function(){var a=r(this),e=a.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),n.call(a,e)})})}(jQuery),function(s){s.fn.appear=function(a,t){var p=s.extend({data:void 0,one:!0,accX:0,accY:0},t);return this.each(function(){var g=s(this);if(g.appeared=!1,a){var m=s(window),n=function(){if(g.is(":visible")){var r=m.scrollLeft(),i=m.scrollTop(),n=g.offset(),e=n.left,t=n.top,o=p.accX,a=p.accY,s=g.height(),l=m.height(),u=g.width(),c=m.width();t+s+a>=i&&i+l+a>=t&&e+u+o>=r&&r+c+o>=e?g.appeared||g.trigger("appear",p.data):g.appeared=!1}else g.appeared=!1},e=function(){if(g.appeared=!0,p.one){m.unbind("scroll",n);var e=s.inArray(n,s.fn.appear.checks);0<=e&&s.fn.appear.checks.splice(e,1)}a.apply(this,arguments)};p.one?g.one("appear",p.data,e):g.bind("appear",p.data,e),m.scroll(n),s.fn.appear.checks.push(n),n()}else g.trigger("appear",p.data)})},s.extend(s.fn.appear,{checks:[],timeout:null,checkAll:function(){var e=s.fn.appear.checks.length;if(0v;v++)if(null===this.vendors[v]?(f="transform",h="transform"):(f=this.vendors[v][0]+"transform",h=this.vendors[v][1]+"Transform"),a.style[h]!==g){o=!0;break}switch(t){case"2D":l=o;break;case"3D":if(o){var x=e.body||e.createElement("body"),T=e.documentElement,d=T.style.overflow;e.body||(T.style.overflow="hidden",T.appendChild(x),x.style.overflow="hidden",x.style.background=""),x.appendChild(a),a.style[h]="translate3d(1px,1px,1px)",l=(r=n.getComputedStyle(a).getPropertyValue(f))!==g&&0o;o++)if(t=null===this.vendors[o]?n:c.camelCase(this.vendors[o][1]+"-"+n),a.style[t]!==g){this.propertyCache[n]=t;break}a.style[t]=e},s.prototype.accelerate=function(e){for(var t,a=0,n=e.length;n>a;a++)t=e[a],this.css(t,"transform","translate3d(0,0,0)"),this.css(t,"transform-style","preserve-3d"),this.css(t,"backface-visibility","hidden")},s.prototype.setPosition=function(e,t,a){t+="px",a+="px",this.transform3DSupport?this.css(e,"transform","translate3d("+t+","+a+",0)"):this.transform2DSupport?this.css(e,"transform","translate("+t+","+a+")"):(e.style.left=t,e.style.top=a)},s.prototype.onOrientationTimer=function(){this.orientationSupport&&0===this.orientationStatus&&(this.disable(),this.orientationSupport=!1,this.enable())},s.prototype.onCalibrationTimer=function(){this.calibrationFlag=!0},s.prototype.onWindowResize=function(){this.updateDimensions()},s.prototype.onAnimationFrame=function(){this.updateBounds();var t=this.ix-this.cx,a=this.iy-this.cy;(Math.abs(t)>this.calibrationThreshold||Math.abs(a)>this.calibrationThreshold)&&this.queueCalibration(0),this.portrait?(this.mx=this.calibrateX?a:this.iy,this.my=this.calibrateY?t:this.ix):(this.mx=this.calibrateX?t:this.ix,this.my=this.calibrateY?a:this.iy),this.mx*=this.ew*(this.scalarX/100),this.my*=this.eh*(this.scalarY/100),isNaN(parseFloat(this.limitX))||(this.mx=this.clamp(this.mx,-this.limitX,this.limitX)),isNaN(parseFloat(this.limitY))||(this.my=this.clamp(this.my,-this.limitY,this.limitY)),this.vx+=(this.mx-this.vx)*this.frictionX,this.vy+=(this.my-this.vy)*this.frictionY;for(var i=0,s=this.$layers.length;s>i;i++){var l=this.depths[i],d=this.$layers[i],r=this.vx*l*(this.invertX?-1:1),n=this.vy*l*(this.invertY?-1:1);this.setPosition(d,r,n)}this.raf=requestAnimationFrame(this.onAnimationFrame)},s.prototype.onDeviceOrientation=function(i){if(!this.desktop&&null!==i.beta&&null!==i.gamma){this.orientationStatus=1;var o=(i.beta||0)/30,t=(i.gamma||0)/30,e=n.innerHeight>n.innerWidth;this.portrait!==e&&(this.portrait=e,this.calibrationFlag=!0),this.calibrationFlag&&(this.calibrationFlag=!1,this.cx=o,this.cy=t),this.ix=o,this.iy=t}},s.prototype.onMouseMove=function(e){var t=e.clientX,a=e.clientY;!this.orientationSupport&&this.relativeInput?(this.clipRelativeInput&&(t=Math.max(t,this.ex),t=Math.min(t,this.ex+this.ew),a=Math.max(a,this.ey),a=Math.min(a,this.ey+this.eh)),this.ix=(t-this.ex-this.ecx)/this.erx,this.iy=(a-this.ey-this.ecy)/this.ery):(this.ix=(t-this.wcx)/this.wrx,this.iy=(a-this.wcy)/this.wry)};var i={enable:s.prototype.enable,disable:s.prototype.disable,updateLayers:s.prototype.updateLayers,calibrate:s.prototype.calibrate,friction:s.prototype.friction,invert:s.prototype.invert,scalar:s.prototype.scalar,limit:s.prototype.limit,origin:s.prototype.origin};c.fn.parallax=function(n){var a=arguments;return this.each(function(){var e=c(this),t=e.data("parallax");t||(t=new s(this,n),e.data("parallax",t)),i[n]&&t[n].apply(t,Array.prototype.slice.call(a,1))})}}(window.jQuery||window.Zepto,window,document),function(){for(var n=0,t=["ms","moz","webkit","o"],e=0;en._remainingTimeout||isNaN(n._remainingTimeout))&&(n._remainingTimeout=void 0)))},resume:function(t){var a=this.opts(),n=!a.hoverPaused&&!a.paused;t?a.hoverPaused=!1:a.paused=!1,n||(a.container.removeClass("cycle-paused"),0===a.slides.filter(":animated").length&&a.API.queueTransition(a.API.getSlideOpts(),a._remainingTimeout),a.API.trigger("cycle-resumed",[a,a._remainingTimeout]).log("cycle-resumed"))},add:function(e,n){var o,l=this.opts(),i=l.slideCount;"string"==c.type(e)&&(e=c.trim(e)),c(e).each(function(){var e,t=c(this);n?l.container.prepend(t):l.container.append(t),l.slideCount++,e=l.API.buildSlideOpts(t),l.slides=n?c(t).add(l.slides):l.slides.add(t),l.API.initSlide(e,t,--l._maxZ),t.data("cycle.opts",e),l.API.trigger("cycle-slide-added",[l,e,t])}),l.API.updateView(!0),l._preInitialized&&2>i&&1<=l.slideCount&&(l._initialized?l.timeout&&(o=l.slides.length,l.nextSlide=l.reverse?o-1:1,l.timeoutId||l.API.queueTransition(l)):l.API.initSlideshow())},calcFirstSlide:function(){var a,n=this.opts();((a=parseInt(n.startingSlide||0,10))>=n.slides.length||0>a)&&(a=0),n.currSlide=a,n.reverse?(n.nextSlide=a-1,0>n.nextSlide&&(n.nextSlide=n.slides.length-1)):(n.nextSlide=a+1,n.nextSlide==n.slides.length&&(n.nextSlide=0))},calcNextSlide:function(){var a,n=this.opts();n.reverse?(a=0>n.nextSlide-1,n.nextSlide=a?n.slideCount-1:n.nextSlide-1,n.currSlide=a?0:n.nextSlide+1):(a=n.nextSlide+1==n.slides.length,n.nextSlide=a?0:n.nextSlide+1,n.currSlide=a?n.slides.length-1:n.nextSlide-1)},calcTx:function(a,o){var e,i=a;return i._tempFx?e=c.fn.cycle.transitions[i._tempFx]:o&&i.manualFx&&(e=c.fn.cycle.transitions[i.manualFx]),e||(e=c.fn.cycle.transitions[i.fx]),i._tempFx=null,this.opts()._tempFx=null,e||(e=c.fn.cycle.transitions.fade,i.API.log("Transition \""+i.fx+"\" not found. Using fade.")),e},prepareTx:function(t,a){var o,d,c,p,u,g=this.opts();return 2>g.slideCount?void(g.timeoutId=0):(!t||g.busy&&!g.manualTrump||(g.API.stopTransition(),g.busy=!1,clearTimeout(g.timeoutId),g.timeoutId=0),void(g.busy||(0!==g.timeoutId||t)&&(d=g.slides[g.currSlide],c=g.slides[g.nextSlide],p=g.API.getSlideOpts(g.nextSlide),u=g.API.calcTx(p,t),g._tx=u,t&&void 0!==p.manualSpeed&&(p.speed=p.manualSpeed),g.nextSlide!=g.currSlide&&(t||!g.paused&&!g.hoverPaused&&g.timeout)?(g.API.trigger("cycle-before",[p,d,c,a]),u.before&&u.before(p,d,c,a),o=function(){g.busy=!1,g.container.data("cycle.opts")&&(u.after&&u.after(p,d,c,a),g.API.trigger("cycle-after",[p,d,c,a]),g.API.queueTransition(p),g.API.updateView(!0))},g.busy=!0,u.transition?u.transition(p,d,c,a,o):g.API.doTransition(p,d,c,a,o),g.API.calcNextSlide(),g.API.updateView()):g.API.queueTransition(p))))},doTransition:function(l,d,e,t,i){var r=l,n=c(d),o=c(e),a=function(){o.animate(r.animIn||{opacity:1},r.speed,r.easeIn||r.easing,i)};o.css(r.cssBefore||{}),n.animate(r.animOut||{},r.speed,r.easeOut||r.easing,function(){n.css(r.cssAfter||{}),r.sync||a()}),r.sync&&a()},queueTransition:function(a,n){var e=this.opts(),t=void 0===n?a.timeout:n;return 0===e.nextSlide&&0==--e.loop?(e.API.log("terminating; loop=0"),e.timeout=0,t?setTimeout(function(){e.API.trigger("cycle-finished",[e])},t):e.API.trigger("cycle-finished",[e]),void(e.nextSlide=e.currSlide)):void 0!==e.continueAuto&&(!1===e.continueAuto||c.isFunction(e.continueAuto)&&!1===e.continueAuto())?(e.API.log("terminating automatic transitions"),e.timeout=0,void(e.timeoutId&&clearTimeout(e.timeoutId))):void(t&&(e._lastQueue=c.now(),void 0===n&&(e._remainingTimeout=a.timeout),e.paused||e.hoverPaused||(e.timeoutId=setTimeout(function(){e.API.prepareTx(!1,!e.reverse)},t))))},stopTransition:function(){var t=this.opts();t.slides.filter(":animated").length&&(t.slides.stop(!1,!0),t.API.trigger("cycle-transition-stopped",[t])),t._tx&&t._tx.stopTransition&&t._tx.stopTransition(t)},advanceSlide:function(e){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+e,0>t.nextSlide?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,0<=e),!1},buildSlideOpts:function(a){var e,o,l=this.opts(),r=a.data()||{};for(var p in r)r.hasOwnProperty(p)&&/^cycle[A-Z]+/.test(p)&&(e=r[p],o=p.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,i),l.API.log("["+(l.slideCount-1)+"]",o+":",e,"("+typeof e+")"),r[o]=e);(r=c.extend({},c.fn.cycle.defaults,l,r)).slideNum=l.slideCount;try{delete r.API,delete r.slideCount,delete r.currSlide,delete r.nextSlide,delete r.slides}catch(t){}return r},getSlideOpts:function(e){var i=this.opts();void 0===e&&(e=i.currSlide);var n=i.slides[e],o=c(n).data("cycle.opts");return c.extend({},i,o)},initSlide:function(a,n,e){var t=this.opts();n.css(a.slideCss||{}),0a.updateView)||(a.slideActiveClass&&a.slides.removeClass(a.slideActiveClass).eq(a.currSlide).addClass(a.slideActiveClass),n&&a.hideNonActive&&a.slides.filter(":not(."+a.slideActiveClass+")").css("visibility","hidden"),0===a.updateView&&setTimeout(function(){a.API.trigger("cycle-update-view",[a,e,t,n])},e.speed/(a.sync?2:1)),0!==a.updateView&&a.API.trigger("cycle-update-view",[a,e,t,n]),n&&a.API.trigger("cycle-update-view-after",[a,e,t]))}},getComponent:function(n){var a=this.opts(),e=a[n];return"string"==typeof e?/^\s*[\>|\+|~]/.test(e)?a.container.find(e):c(e):e.jquery?e:c(e)},stackSlides:function(e,n,l){var p=this.opts();e||(e=p.slides[p.currSlide],n=p.slides[p.nextSlide],l=!p.reverse),c(e).css("zIndex",p.maxZ);var i,u=p.maxZ-2,g=p.slideCount;if(l){for(i=p.currSlide+1;g>i;i++)c(p.slides[i]).css("zIndex",u--);for(i=0;ip.currSlide;i--)c(p.slides[i]).css("zIndex",u--)}c(n).css("zIndex",p.maxZ-1)},getSlideIndex:function(t){return this.opts().slides.index(t)}},c.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},c.fn.cycle.version=function(){return"Cycle2: 2.1.6"},c.fn.cycle.transitions={custom:{},none:{before:function(a,n,o,e){a.API.stackSlides(o,n,e),a.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(n,o,e,t){var a=n.API.getSlideOpts(n.nextSlide).slideCss||{};n.API.stackSlides(o,e,t),n.cssBefore=c.extend(a,{opacity:0,visibility:"visible",display:"block"}),n.animIn={opacity:1},n.animOut={opacity:0}}},fadeout:{before:function(n,o,e,t){var a=n.API.getSlideOpts(n.nextSlide).slideCss||{};n.API.stackSlides(o,e,t),n.cssBefore=c.extend(a,{opacity:1,visibility:"visible",display:"block"}),n.animOut={opacity:0}}},scrollHorz:{before:function(i,n,o,e){i.API.stackSlides(n,o,e);var t=i.container.css("overflow","hidden").width();i.cssBefore={left:e?t:-t,top:0,opacity:1,visibility:"visible",display:"block"},i.cssAfter={zIndex:i._maxZ-2,left:0},i.animIn={left:0},i.animOut={left:e?-t:t}}},scrollVert:{before:function(i,n,o,e){i.API.stackSlides(n,o,e);var t=i.container.css("overflow","hidden").height();i.cssBefore={top:e?-t:t,left:0,opacity:1,visibility:"visible",display:"block"},i.cssAfter={zIndex:i-1,top:0},i.animIn={top:0},i.animOut={top:e?t:-t}}}},c.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},c(document).ready(function(){c(c.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(u){"use strict";function c(i,a){var e,s,l,d=a.autoHeight;if("container"==d)s=u(a.slides[a.currSlide]).outerHeight(),a.container.height(s);else if(a._autoHeightRatio)a.container.height(a.container.width()/a._autoHeightRatio);else if("calc"===d||"number"==u.type(d)&&0<=d){if(l="calc"===d?function(t,a){var o=0,i=-1;return a.slides.each(function(t){var a=u(this).height();a>i&&(i=a,o=t)}),o}(0,a):d>=a.slides.length?0:d,l==a._sentinelIndex)return;a._sentinelIndex=l,a._sentinel&&a._sentinel.remove(),(e=u(a.slides[l].cloneNode(!0))).removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),e.css({position:"static",visibility:"hidden",display:"block"}).prependTo(a.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),e.find("*").css("visibility","hidden"),a._sentinel=e}}function s(n,a,e,t){var o=u(t).outerHeight();a.container.animate({height:o},a.autoHeightSpeed,a.autoHeightEasing)}function e(t,n){n._autoHeightOnResize&&(u(window).off("resize orientationchange",n._autoHeightOnResize),n._autoHeightOnResize=null),n.container.off("cycle-slide-added cycle-slide-removed",c),n.container.off("cycle-destroyed",e),n.container.off("cycle-before",s),n._sentinel&&(n._sentinel.remove(),n._sentinel=null)}u.extend(u.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),u(document).on("cycle-initialized",function(t,a){function i(){c(0,a)}var n,r=a.autoHeight,d=u.type(r),p=null;("string"===d||"number"===d)&&(a.container.on("cycle-slide-added cycle-slide-removed",c),a.container.on("cycle-destroyed",e),"container"==r?a.container.on("cycle-before",s):"string"===d&&/\d+\:\d+/.test(r)&&(n=(n=r.match(/(\d+)\:(\d+)/))[1]/n[2],a._autoHeightRatio=n),"number"!==d&&(a._autoHeightOnResize=function(){clearTimeout(p),p=setTimeout(i,50)},u(window).on("resize orientationchange",a._autoHeightOnResize)),setTimeout(i,30))})}(jQuery),function(o){"use strict";o.extend(o.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"
{{title}}
{{desc}}
",captionModule:"caption"}),o(document).on("cycle-update-view",function(e,n,r,a){"caption"===n.captionModule&&o.each(["caption","overlay"],function(){var e=r[this+"Template"],t=n.API.getComponent(this);t.length&&e?(t.html(n.API.tmpl(e,r,n,a)),t.show()):t.hide()})}),o(document).on("cycle-destroyed",function(t,a){o.each(["caption","overlay"],function(){var e=a[this+"Template"];a[this]&&e&&a.API.getComponent("caption").empty()})})}(jQuery),function(d){"use strict";var o=d.fn.cycle;d.fn.cycle=function(a){var e,r,c,p=d.makeArray(arguments);return"number"==d.type(a)?this.cycle("goto",a):"string"==d.type(a)?this.each(function(){var t;return e=a,void 0===(c=d(this).data("cycle.opts"))?void o.log("slideshow must be initialized before sending commands; \""+e+"\" ignored"):(e="goto"==e?"jump":e,r=c.API[e],d.isFunction(r)?((t=d.makeArray(p)).shift(),r.apply(c.API,t)):void o.log("unknown command: ",e))}):o.apply(this,arguments)},d.extend(d.fn.cycle,o),d.extend(o.API,{next:function(){var e=this.opts();if(!e.busy||e.manualTrump){var t=e.reverse?-1:1;!1===e.allowWrap&&e.currSlide+t>=e.slideCount||(e.API.advanceSlide(t),e.API.trigger("cycle-next",[e]).log("cycle-next"))}},prev:function(){var e=this.opts();if(!e.busy||e.manualTrump){var t=e.reverse?1:-1;!1===e.allowWrap&&0>e.currSlide+t||(e.API.advanceSlide(t),e.API.trigger("cycle-prev",[e]).log("cycle-prev"))}},destroy:function(){this.stop();var n=this.opts(),a=d.isFunction(d._data)?d._data:d.noop;clearTimeout(n.timeoutId),n.timeoutId=0,n.API.stop(),n.API.trigger("cycle-destroyed",[n]).log("cycle-destroyed"),n.container.removeData(),a(n.container[0],"parsedAttrs",!1),n.retainStylesOnDestroy||(n.container.removeAttr("style"),n.slides.removeAttr("style"),n.slides.removeClass(n.slideActiveClass)),n.slides.each(function(){var e=d(this);e.removeData(),e.removeClass(n.slideClass),a(this,"parsedAttrs",!1)})},jump:function(t,i){var o,r=this.opts();if(!r.busy||r.manualTrump){var n=parseInt(t,10);if(isNaN(n)||0>n||n>=r.slides.length)return void r.API.log("goto: invalid slide index: "+n);if(n==r.currSlide)return void r.API.log("goto: skipping, already on slide",n);r.nextSlide=n,clearTimeout(r.timeoutId),r.timeoutId=0,r.API.log("goto: ",n," (zero-index)"),o=r.currSlide .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"\xE2\u20AC\xA2"}),o(document).on("cycle-bootstrap",function(n,o,t){t.buildPagerLink=a}),o(document).on("cycle-slide-added",function(n,a,o,e){a.pager&&(a.API.buildPagerLink(a,o,e),a.API.page=i)}),o(document).on("cycle-slide-removed",function(n,a,e){a.pager&&a.API.getComponent("pager").each(function(){var t=o(this);o(t.children()[e]).remove()})}),o(document).on("cycle-update-view",function(t,a){a.pager&&a.API.getComponent("pager").each(function(){o(this).children().removeClass(a.pagerActiveClass).eq(a.currSlide).addClass(a.pagerActiveClass)})}),o(document).on("cycle-destroyed",function(t,a){var n=a.API.getComponent("pager");n&&(n.children().off(a.pagerEvent),a.pagerTemplate&&n.empty())})}(jQuery),function(t){"use strict";t.extend(t.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),t(document).on("cycle-initialized",function(t,n){if(n.API.getComponent("next").on(n.nextEvent,function(t){t.preventDefault(),n.API.next()}),n.API.getComponent("prev").on(n.prevEvent,function(t){t.preventDefault(),n.API.prev()}),n.swipe){var o=n.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",a=n.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";n.container.on(o,function(){n._tempFx=n.swipeFx,n.API.next()}),n.container.on(a,function(){n._tempFx=n.swipeFx,n.API.prev()})}}),t(document).on("cycle-update-view",function(r,s){if(!s.allowWrap){var i=s.disabledClass,e=s.API.getComponent("next"),t=s.API.getComponent("prev"),n=s._prevBoundry||0,o=void 0===s._nextBoundry?s.slideCount-1:s._nextBoundry;s.currSlide==o?e.addClass(i).prop("disabled",!0):e.removeClass(i).prop("disabled",!1),s.currSlide===n?t.addClass(i).prop("disabled",!0):t.removeClass(i).prop("disabled",!1)}}),t(document).on("cycle-destroyed",function(e,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(t){"use strict";t.extend(t.fn.cycle.defaults,{progressive:!1}),t(document).on("cycle-pre-initialize",function(e,i){if(i.progressive){var n,s,l=i.API,p=l.next,c=l.prev,u=l.prepareTx,o=t.type(i.progressive);if("array"==o)n=i.progressive;else if(t.isFunction(i.progressive))n=i.progressive(i);else if("string"==o){if(s=t(i.progressive),!(n=t.trim(s.html())))return;if(/^(\[)/.test(n))try{n=t.parseJSON(n)}catch(t){return void l.log("error parsing progressive slides",t)}else(n=n.split(new RegExp(s.data("cycle-split")||"\n")))[n.length-1]||n.pop()}u&&(l.prepareTx=function(t,o){var a,r;return t||0===n.length?void u.apply(i.API,[t,o]):void(o&&i.currSlide==i.slideCount-1?(r=n[0],n=n.slice(1),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(r)):o||0!==i.currSlide?u.apply(i.API,[t,o]):(a=n.length-1,r=n[a],n=n.slice(0,a),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),i.API.add(r,!0)))}),p&&(l.next=function(){var e=this.opts();if(n.length&&e.currSlide==e.slideCount-1){var t=n[0];n=n.slice(1),e.container.one("cycle-slide-added",function(e,t){p.apply(t.API),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(t)}else p.apply(e.API)}),c&&(l.prev=function(){var t=this.opts();if(n.length&&0===t.currSlide){var a=n.length-1,o=n[a];n=n.slice(0,a),t.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),t.container.addClass("cycle-loading"),t.API.add(o,!0)}else c.apply(t.API)})}})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),n.extend(n.fn.cycle.API,{tmpl:function(a,i){var e=new RegExp(i.tmplRegex||n.fn.cycle.defaults.tmplRegex,"g"),r=n.makeArray(arguments);return r.shift(),a.replace(e,function(a,o){var e,i,c,u,g=o.split(".");for(e=0;e").attr({src:"https://www.youtube.com/iframe_api?v="+jQuery.mbYTPlayer.version,id:"YTAPI"});jQuery("head").prepend(t)}return this.each(function(){let YTPlayer=this,$YTPlayer=jQuery(YTPlayer);$YTPlayer.hide(),YTPlayer.loop=0,YTPlayer.state=0,YTPlayer.filters=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaultFilters),YTPlayer.filtersEnabled=!0,YTPlayer.id=YTPlayer.id||"YTP_"+new Date().getTime(),$YTPlayer.addClass("mb_YTPlayer");let property=$YTPlayer.data("property")&&"string"==typeof $YTPlayer.data("property")?eval("("+$YTPlayer.data("property")+")"):$YTPlayer.data("property");"object"!=typeof property&&(property={}),YTPlayer.opt=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaults,YTPlayer.opt,options,property),YTPRndSuffix=getYTPVideoID(YTPlayer.opt.videoURL).videoID,YTPTimerLabels={init:"YTPlayerInit_"+YTPRndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPRndSuffix},console.time(YTPTimerLabels.init),console.time(YTPTimerLabels.startPlaying),YTPlayer.opt.elementId=YTPlayer.id,0===YTPlayer.opt.vol&&(YTPlayer.opt.vol=1,YTPlayer.opt.mute=!0),YTPlayer.opt.loop&&"boolean"==typeof YTPlayer.opt.loop&&(YTPlayer.opt.loop=9999);let fullScreenAvailable=document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled;YTPlayer.opt.realFullscreen=!isIframe()&&fullScreenAvailable&&YTPlayer.opt.realFullscreen,YTPlayer.opt.showAnnotations=YTPlayer.opt.showAnnotations?"1":"3",YTPlayer.opt.cc_load_policy=YTPlayer.opt.cc_load_policy?"1":"0",YTPlayer.opt.coverImage=YTPlayer.opt.coverImage||YTPlayer.opt.backgroundImage,YTPlayer.opt.quality="hd1080",jQuery.mbBrowser.msie&&9>jQuery.mbBrowser.version&&(YTPlayer.opt.opacity=1),YTPlayer.opt.containment="self"===YTPlayer.opt.containment?$YTPlayer:jQuery(YTPlayer.opt.containment),YTPlayer.isRetina=window.retina||1").css({position:"absolute",top:0,left:0,width:"100%",height:"100%"}).addClass("YTPOverlay"),$YTPlayer.changeCoverImage(),YTPlayer.wrapper=jQuery("
").attr("id","wrapper_"+YTPlayer.id).css({position:"absolute",zIndex:0,minWidth:"100%",minHeight:"100%",left:0,top:0,overflow:"hidden",opacity:0}).addClass("mbYTP_wrapper"),YTPlayer.isPlayer)&&(jQuery.browser.mobile?"inlinePlayButtonMobile":"inlinePlayButton",YTPlayer.inlinePlayButton=jQuery("
").addClass("inlinePlayButton").html(jQuery.mbYTPlayer.controls.play),$YTPlayer.append(YTPlayer.inlinePlayButton),YTPlayer.inlinePlayButton.on("click",function(t){$YTPlayer.YTPPlay(),YTPlayer.inlinePlayButton.hide(),YTPlayer.opt.goFullScreenOnPlay&&$YTPlayer.YTPFullscreen(),t.stopPropagation()}),YTPlayer.opt.autoPlay&&YTPlayer.inlinePlayButton.hide(),YTPlayer.overlay.on("click",function(){$YTPlayer.YTPTogglePlay(),YTPlayer.opt.goFullScreenOnPlay&&$YTPlayer.YTPFullscreen()}).css({cursor:"pointer"}));let e=jQuery("
").attr("id",YTPlayer.playerID).addClass("playerBox");return(e.css({position:"absolute",zIndex:0,width:"100%",height:"100%",top:0,left:0,overflow:"hidden",opacity:1}),YTPlayer.wrapper.append(e),e.after(YTPlayer.overlay),YTPlayer.isPlayer&&(YTPlayer.inlineWrapper=jQuery("
").addClass("inline-YTPlayer"),YTPlayer.inlineWrapper.css({position:"relative",maxWidth:YTPlayer.opt.containment.css("width")}),YTPlayer.opt.containment.css({position:"relative",paddingBottom:"56.25%",overflow:"hidden",height:0}),YTPlayer.opt.containment.wrap(YTPlayer.inlineWrapper)),YTPlayer.opt.containment.children().not("script, style").each(function(){"static"===jQuery(this).css("position")&&jQuery(this).css("position","relative")}),YTPlayer.isBackground?(jQuery("body").css({boxSizing:"border-box"}),YTPlayer.wrapper.css({position:"fixed",top:0,left:0,zIndex:0})):"static"===YTPlayer.opt.containment.css("position")&&(YTPlayer.opt.containment.css({position:"relative"}),$YTPlayer.show()),YTPlayer.opt.containment.prepend(YTPlayer.wrapper),YTPlayer.isBackground||YTPlayer.overlay.on("mouseenter",function(){YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.addClass("visible")}).on("mouseleave",function(){YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.removeClass("visible")}),jQuery.mbBrowser.mobile&&!YTPlayer.opt.useOnMobile)?(YTPlayer.opt.coverImage&&(YTPlayer.wrapper.css({backgroundImage:"url("+YTPlayer.opt.coverImage+")",backgroundPosition:"center center",backgroundSize:"cover",backgroundRepeat:"no-repeat",opacity:1}),YTPlayer.wrapper.css({opacity:1})),$YTPlayer):void(jQuery.mbBrowser.mobile&&YTPlayer.opt.autoPlay&&YTPlayer.opt.useOnMobile&&jQuery("body").one("touchstart",function(){YTPlayer.player.playVideo()}),jQuery(document).one("YTAPIReady",function(){$YTPlayer.trigger("YTAPIReady_"+YTPlayer.id),ytp.YTAPIReady=!0}),YTPlayer.isOnScreen=jQuery.mbYTPlayer.isOnScreen(YTPlayer,YTPlayer.opt.onScreenPercentage),$YTPlayer.one("YTAPIReady_"+YTPlayer.id,function(){let r=this,t=jQuery(r);r.isBackground&&ytp.backgroundIsInited||r.isInit||(r.isBackground&&(ytp.backgroundIsInited=!0),r.opt.autoPlay=void 0===r.opt.autoPlay?!!r.isBackground:r.opt.autoPlay,r.opt.vol=r.opt.vol?r.opt.vol:100,jQuery.mbYTPlayer.getDataFromAPI(r),jQuery(r).on("YTPChanged",function(){if(!r.isInit){r.isInit=!0;let a={modestbranding:1,autoplay:0,controls:0,showinfo:0,rel:0,enablejsapi:1,version:3,playerapiid:r.playerID,origin:"*",allowfullscreen:!0,wmode:"transparent",iv_load_policy:r.opt.showAnnotations,cc_load_policy:r.opt.cc_load_policy,playsinline:jQuery.mbBrowser.mobile&&!r.isPlayer?1:0,html5:document.createElement("video").canPlayType?1:0};new YT.Player(r.playerID,{host:r.opt.useNoCookie?"https://www.youtube-nocookie.com":"https://www.youtube.com",playerVars:a,events:{onReady:function(a){r.player=a.target,r.player.loadVideoById({videoId:r.videoID.toString(),suggestedQuality:r.opt.quality}),t.trigger("YTPlayerIsReady_"+r.id)},onStateChange:function(t){if("function"!=typeof t.target.getPlayerState)return;let o,i=t.target.getPlayerState();if(r.preventTrigger||r.isStarting)return void(r.preventTrigger=!1);switch(r.state=i,t.data===YT.PlayerState.PLAYING&&t.target.setPlaybackQuality(r.opt.quality),i){case-1:o="YTPUnstarted";break;case 0:o="YTPRealEnd";break;case 1:o="YTPPlay",r.controlBar.length&&r.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.pause),r.isPlayer&&r.inlinePlayButton.hide(),jQuery(document).off("mousedown.YTPstart");break;case 2:o="YTPPause",r.controlBar.length&&r.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play),r.isPlayer&&r.inlinePlayButton.show();break;case 3:r.player.setPlaybackQuality(r.opt.quality),o="YTPBuffering",r.controlBar.length&&r.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play);break;case 5:o="YTPCued";}let n=jQuery.Event(o);n.time=r.currentTime,jQuery(r).trigger(n)},onPlaybackQualityChange:function(a){let n=a.target.getPlaybackQuality(),e=jQuery.Event("YTPQualityChange");e.quality=n,jQuery(r).trigger(e)},onError:function(a){switch("function"==typeof r.opt.onError&&r.opt.onError(t,a),console.debug("error:",a),a.data){case 2:console.error("video ID:: "+r.videoID+": The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.");break;case 5:console.error("video ID:: "+r.videoID+": The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.");break;case 100:console.error("video ID:: "+r.videoID+": The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.");break;case 101:case 150:console.error("video ID:: "+r.videoID+": The video doesn't exist or The owner does not allow it to be played in embedded players.");}r.isList&&jQuery(r).YTPPlayNext()}}}),t.on("YTPlayerIsReady_"+r.id,function(){return r.isReady?this:void(r.playerEl=r.player.getIframe(),jQuery(r.playerEl).unselectable(),t.optimizeDisplay(),jQuery(window).off("resize.YTP_"+r.id).on("resize.YTP_"+r.id,function(){t.optimizeDisplay()}),jQuery(window).off("orientationchange.YTP_"+r.id).on("orientationchange.YTP_"+r.id,function(){t.optimizeDisplay()}),r.opt.remember_last_time&&jQuery(window).on("unload.YTP_"+r.id,function(){let e=r.player.getCurrentTime();jQuery.mbCookie.set("YTPlayer_start_from"+r.videoID,e,0)}),t.YTPCheckForState())})}}))}),$YTPlayer.off("YTPTime.mask"),jQuery.mbYTPlayer.applyMask(YTPlayer),console.timeEnd(YTPTimerLabels.init),setTimeout(function(){ytp.YTAPIReady||"object"!=typeof window.YT||(jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0,console.error("YTPlayer: More then a call to the YT API has been detected"))},YTPlayer.opt.delayAtStart))}})},isOnScreen:function(e,t){t=t||10;let o=e.wrapper,s=jQuery(window).scrollTop(),l=s+jQuery(window).height(),i=o.height()*t/100,r=o.offset().top+i;return o.offset().top+(o.height()-i)<=l&&r>=s},getDataFromAPI:function(i){i.videoData=jQuery.mbStorage.get("YTPlayer_data_"+i.videoID),i.videoData?(setTimeout(function(){i.dataReceived=!0;let e=jQuery.Event("YTPChanged");e.time=i.currentTime,e.videoId=i.videoID,e.opt=i.opt,jQuery(i).trigger(e);let a=jQuery.Event("YTPData");for(let e in a.prop={},i.videoData)i.videoData.hasOwnProperty(e)&&(a.prop[e]=i.videoData[e]);jQuery(i).trigger(a)},i.opt.fadeOnStartTime),i.hasData=!0):jQuery.mbYTPlayer.apiKey?jQuery.getJSON("https://www.googleapis.com/youtube/v3/videos?id="+i.videoID+"&key="+jQuery.mbYTPlayer.apiKey+"&part=snippet",function(a){i.dataReceived=!0;let n=jQuery.Event("YTPChanged");n.time=i.currentTime,n.videoId=i.videoID,jQuery(i).trigger(n),a.items[0]?(function(e){i.videoData={},i.videoData.id=i.videoID,i.videoData.channelTitle=e.channelTitle,i.videoData.title=e.title,i.videoData.description=400>e.description.length?e.description:e.description.substring(0,400)+" ...",i.videoData.thumb_max=e.thumbnails.maxres?e.thumbnails.maxres.url:null,i.videoData.thumb_high=e.thumbnails.high?e.thumbnails.high.url:null,i.videoData.thumb_medium=e.thumbnails.medium?e.thumbnails.medium.url:null,jQuery.mbStorage.set("YTPlayer_data_"+i.videoID,i.videoData)}(a.items[0].snippet),i.hasData=!0):(i.videoData={},i.hasData=!1);let o=jQuery.Event("YTPData");for(let t in o.prop={},i.videoData)o.prop[t]=i.videoData[t];jQuery(i).trigger(o)}).fail(function(t){console.error("YT data error:: ",t),i.hasData=!1;let a=jQuery.Event("YTPChanged");a.time=i.currentTime,a.videoId=i.videoID,jQuery(i).trigger(a)}):(setTimeout(function(){let e=jQuery.Event("YTPChanged");e.time=i.currentTime,e.videoId=i.videoID,jQuery(i).trigger(e)},10),i.videoData=null),i.opt.ratio="auto"==i.opt.ratio?16/9:i.opt.ratio,i.isPlayer&&!i.opt.autoPlay&&(i.loading=jQuery("
").addClass("loading").html("Loading").hide(),jQuery(i).append(i.loading),i.loading.fadeIn())},removeStoredData:function(){jQuery.mbStorage.remove()},getVideoData:function(){return this.get(0).videoData},getVideoID:function(){return this.get(0).videoID||!1},getPlaylistID:function(){return this.get(0).playlistID||!1},setVideoQuality:function(t){let a=this.get(0),n=a.player.getCurrentTime();return jQuery(a).YTPPause(),a.opt.quality=t,a.player.setPlaybackQuality(t),a.player.seekTo(n),jQuery(a).YTPPlay(),this},getVideoQuality:function(){return this.get(0).player.getPlaybackQuality()},playlist:function(o,i,n){let a=this.get(0);return a.isList=!0,i&&(o=jQuery.shuffle(o)),a.videoID||(a.videos=o,a.videoCounter=1,a.videoLength=o.length,jQuery(a).data("property",o[0]),jQuery(a).YTPlayer()),"function"==typeof n&&jQuery(a).on("YTPChanged",function(){n(a)}),jQuery(a).on("YTPEnd",function(){jQuery(a).YTPPlayNext()}),this},playNext:function(){let t=this.get(0);return t.videoCounter++,t.videoCounter>t.videoLength&&(t.videoCounter=1),jQuery(t).YTPPlayIndex(t.videoCounter),this},playPrev:function(){let t=this.get(0);return t.videoCounter--,0>=t.videoCounter&&(t.videoCounter=t.videoLength),jQuery(t).YTPPlayIndex(t.videoCounter),this},playIndex:function(t){let a=this.get(0);a.checkForStartAt&&(clearInterval(a.checkForStartAt),clearInterval(a.getState)),a.videoCounter=t,a.videoCounter>=a.videoLength&&(a.videoCounter=a.videoLength);let n=a.videos[a.videoCounter-1];return jQuery(a).YTPChangeVideo(n),this},changeVideo:function(a){let n=this,o=n.get(0);o.opt.startAt=0,o.opt.stopAt=0,o.opt.mask=!1,o.opt.mute=!0,o.opt.autoPlay=!0,o.opt.addFilters=!1,o.opt.coverImage=!1,o.hasData=!1,o.hasChanged=!0,o.player.loopTime=void 0,a&&jQuery.extend(o.opt,a),o.videoID=getYTPVideoID(o.opt.videoURL).videoID,o.opt.loop&&"boolean"==typeof o.opt.loop&&(o.opt.loop=9999),o.wrapper.css({background:"none"}),jQuery(o.playerEl).CSSAnimate({opacity:0},o.opt.fadeOnStartTime,function(){jQuery.mbYTPlayer.getDataFromAPI(o),n.YTPGetPlayer().loadVideoById({videoId:o.videoID,suggestedQuality:o.opt.quality}),n.YTPPause(),n.optimizeDisplay(),o.checkForStartAt&&(clearInterval(o.checkForStartAt),clearInterval(o.getState)),n.YTPCheckForState()});let e=jQuery.Event("YTPChangeVideo");return e.time=o.currentTime,jQuery(o).trigger(e),jQuery.mbYTPlayer.applyMask(o),this},getPlayer:function(){let t=this.get(0);return t.isReady?t.player:null},playerDestroy:function(){let t=this.get(0);return t.isReady?(ytp.YTAPIReady=!0,ytp.backgroundIsInited=!1,t.isInit=!1,t.videoID=null,t.isReady=!1,t.wrapper.remove(),jQuery("#controlBar_"+t.id).remove(),clearInterval(t.checkForStartAt),clearInterval(t.getState),this):this},fullscreen:function(real){function RunPrefixMethod(n,o){for(let a,e,t=["webkit","moz","ms","o",""],i=0;it.opt.abundance&&this.YTPSetAbundance(.2),t.player.pauseVideo(),t.state=2,this):this},seekTo:function(e){let t=this.get(0);return t.isReady?(t.player.seekTo(e,!0),this):this},getPlaybackRate:function(){let t=this.get(0);return t.isReady?t.player.getPlaybackRate():this},setPlaybackRate:function(e){let t=this.get(0);return t.isReady?(t.player.setPlaybackRate(e),this):this},setVolume:function(e){let t=this.get(0);return t.isReady?(t.opt.vol=e,this.YTPUnmute(),t.player.setVolume(t.opt.vol),t.volumeBar&&t.volumeBar.length&&t.volumeBar.updateSliderVal(e),this):this},getVolume:function(){let t=this.get(0);return t.isReady?t.player.getVolume():this},toggleVolume:function(){let t=this.get(0);return t.isReady?(t.isMute?(jQuery.mbBrowser.mobile||this.YTPSetVolume(t.opt.vol),this.YTPUnmute()):this.YTPMute(),this):this},mute:function(){let e=this.get(0);if(!e.isReady)return this;if(e.isMute)return this;e.player.mute(),e.isMute=!0,e.player.setVolume(0),e.volumeBar&&e.volumeBar.length&&10").attr("src",t).on("load",function(){n.overlay.CSSAnimate({opacity:0},n.opt.fadeOnStartTime,function(){n.hasMask=!0,o.remove(),n.overlay.css({backgroundImage:"url("+t+")",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"cover"}),n.overlay.CSSAnimate({opacity:1},n.opt.fadeOnStartTime)})});return this},removeMask:function(){let t=this.get(0);return t.overlay.CSSAnimate({opacity:0},t.opt.fadeOnStartTime,function(){t.hasMask=!1,t.overlay.css({backgroundImage:"",backgroundRepeat:"",backgroundPosition:"",backgroundSize:""}),t.overlay.CSSAnimate({opacity:1},t.opt.fadeOnStartTime)}),this},applyMask:function(a){let n=jQuery(a);if(n.off("YTPTime.mask"),a.opt.mask)if("string"==typeof a.opt.mask)n.YTPAddMask(a.opt.mask),a.actualMask=a.opt.mask;else if("object"==typeof a.opt.mask){for(let e in a.opt.mask)a.opt.mask[e]&&(img=jQuery("").attr("src",a.opt.mask[e]));a.opt.mask[0]&&n.YTPAddMask(a.opt.mask[0]),n.on("YTPTime.mask",function(o){for(let e in a.opt.mask)o.time==e&&(a.opt.mask[e]?(n.YTPAddMask(a.opt.mask[e]),a.actualMask=a.opt.mask[e]):n.YTPRemoveMask())})}},toggleMask:function(){let e=this.get(0),t=jQuery(e);return e.hasMask?t.YTPRemoveMask():t.YTPAddMask(),this},manageProgress:function(){let s=this.get(0),d=jQuery("#controlBar_"+s.id),l=d.find(".mb_YTPProgress"),e=d.find(".mb_YTPLoaded"),t=d.find(".mb_YTPseekbar"),i=l.outerWidth(),r=Math.floor(s.player.getCurrentTime()),n=Math.floor(s.player.getDuration()),o=100*s.player.getVideoLoadedFraction();return e.css({left:0,width:o+"%"}),t.css({left:0,width:r*i/n}),{totalTime:n,currentTime:r}},buildControls:function(YTPlayer){if(jQuery("#controlBar_"+YTPlayer.id).remove(),!YTPlayer.opt.showControls)return void(YTPlayer.controlBar=!1);if(YTPlayer.opt.showYTLogo=YTPlayer.opt.showYTLogo||YTPlayer.opt.printUrl,jQuery("#controlBar_"+YTPlayer.id).length)return;YTPlayer.controlBar=jQuery("
").attr("id","controlBar_"+YTPlayer.id).addClass("mb_YTPBar").css({whiteSpace:"noWrap",position:YTPlayer.isBackground?"fixed":"absolute",zIndex:YTPlayer.isBackground?1e4:1e3}).hide().on("click",function(t){t.stopPropagation()});let buttonBar=jQuery("
").addClass("buttonBar"),playpause=jQuery(""+jQuery.mbYTPlayer.controls.play+"").addClass("mb_YTPPlayPause ytpicon").on("click",function(t){t.stopPropagation(),jQuery(YTPlayer).YTPTogglePlay()}),MuteUnmute=jQuery(""+jQuery.mbYTPlayer.controls.mute+"").addClass("mb_YTPMuteUnmute ytpicon").on("click",function(t){t.stopPropagation(),jQuery(YTPlayer).YTPToggleVolume()}),volumeBar=jQuery("
").addClass("mb_YTPVolumeBar").css({display:"inline-block"});YTPlayer.volumeBar=volumeBar;let idx=jQuery("").addClass("mb_YTPTime"),vURL=YTPlayer.opt.videoURL?YTPlayer.opt.videoURL:"";0>vURL.indexOf("http")&&(vURL="https://www.youtube.com/watch?v="+YTPlayer.opt.videoURL);let movieUrl=jQuery("").html(jQuery.mbYTPlayer.controls.ytLogo).addClass("mb_YTPUrl ytpicon").attr("title","view on YouTube").on("click",function(){window.open(vURL,"viewOnYT")}),onlyVideo=jQuery("").html(jQuery.mbYTPlayer.controls.onlyYT).addClass("mb_OnlyYT ytpicon").on("click",function(t){t.stopPropagation(),jQuery(YTPlayer).YTPFullscreen(YTPlayer.opt.realFullscreen)}),progressBar=jQuery("
").addClass("mb_YTPProgress").css("position","absolute").on("click",function(e){e.stopPropagation(),timeBar.css({width:e.clientX-timeBar.offset().left}),YTPlayer.timeW=e.clientX-timeBar.offset().left,YTPlayer.controlBar.find(".mb_YTPLoaded").css({width:0});let t=Math.floor(YTPlayer.player.getDuration());YTPlayer.goto=timeBar.outerWidth()*t/progressBar.outerWidth(),YTPlayer.player.seekTo(parseFloat(YTPlayer.goto),!0),YTPlayer.controlBar.find(".mb_YTPLoaded").css({width:0})}),loadedBar=jQuery("
").addClass("mb_YTPLoaded").css("position","absolute"),timeBar=jQuery("
").addClass("mb_YTPseekbar").css("position","absolute");progressBar.append(loadedBar).append(timeBar),buttonBar.append(playpause).append(MuteUnmute).append(volumeBar).append(idx),YTPlayer.opt.showYTLogo&&buttonBar.append(movieUrl),(YTPlayer.isBackground||eval(YTPlayer.opt.realFullscreen)&&!YTPlayer.isBackground)&&buttonBar.append(onlyVideo),YTPlayer.controlBar.append(buttonBar).append(progressBar),YTPlayer.isBackground?jQuery("body").after(YTPlayer.controlBar):(YTPlayer.controlBar.addClass("inlinePlayer"),YTPlayer.wrapper.before(YTPlayer.controlBar)),volumeBar.simpleSlider({initialval:YTPlayer.opt.vol,scale:100,orientation:"h",callback:function(t){0==t.value?jQuery(YTPlayer).YTPMute():jQuery(YTPlayer).YTPUnmute(),YTPlayer.player.setVolume(t.value),YTPlayer.isMute||(YTPlayer.opt.vol=t.value)}})},changeCoverImage:function(t){let a=this.get(0);if(a.opt.coverImage||a.orig_containment_background){let n=t||(a.opt.coverImage?"url("+a.opt.coverImage+") center center":a.orig_containment_background);n&&a.opt.containment.css({background:n,backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundAttachment:"fixed"})}return this},checkForState:function(){let YTPlayer=this.get(0),$YTPlayer=jQuery(YTPlayer);clearInterval(YTPlayer.getState);let interval=100;return jQuery.contains(document,YTPlayer)?void(jQuery.mbYTPlayer.checkForStart(YTPlayer),YTPlayer.getState=setInterval(function(){let $YTPlayer=jQuery(YTPlayer);if(!YTPlayer.isReady)return;let prog=jQuery(YTPlayer).YTPManageProgress(),stopAt=YTPlayer.opt.stopAt>YTPlayer.opt.startAt?YTPlayer.opt.stopAt:0;if(stopAt=stopAt=YTPlayer.controlBar.outerWidth()&&!YTPlayer.isCompact?(YTPlayer.controlBar.addClass("compact"),YTPlayer.isCompact=!0,!YTPlayer.isMute&&YTPlayer.volumeBar&&YTPlayer.volumeBar.updateSliderVal(YTPlayer.opt.vol)):YTPlayer.controlBar.length&&400=stopAt)){if(YTPlayer.isEnded)return;if(YTPlayer.isEnded=!0,setTimeout(function(){YTPlayer.isEnded=!1},1e3),YTPlayer.isList){if(!YTPlayer.opt.loop||0=startAt/YTPlayer.player.getDuration();if(jQuery.browser.mobile&&(canPlayVideo=!0),0=startAt&&canPlayVideo){YTPlayer.start_from_last=null,YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),clearInterval(YTPlayer.checkForStartAt),"function"==typeof YTPlayer.opt.onReady&&YTPlayer.opt.onReady(YTPlayer),YTPlayer.isReady=!0,$YTPlayer.YTPRemoveFilter(),YTPlayer.opt.addFilters?$YTPlayer.YTPApplyFilters(YTPlayer.opt.addFilters):$YTPlayer.YTPApplyFilters(),$YTPlayer.YTPEnableFilters();let YTPready=jQuery.Event("YTPReady");if(YTPready.time=YTPlayer.currentTime,$YTPlayer.trigger(YTPready),YTPlayer.state=2,YTPlayer.opt.mute?$YTPlayer.YTPMute():YTPlayer.opt.autoPlay?(console.debug("We muted the audio to make the video 'auto-play' according with the latest vendor policy. The audio will unmute at the first user interaction with the page"),YTPlayer.player.mute(),YTPlayer.forcedMuted=!0,jQuery(document).on("mousedown.YTPstartAudio",function(){YTPlayer.forcedMuted&&(console.debug("AAAAAAA"),YTPlayer.player.unMute(),YTPlayer.forcedMuted=!1,jQuery(document).off("mousedown.YTPstartAudio"))}),jQuery(window).on("scroll",function(){console.debug("AAAAA")})):YTPlayer.player.unMute(),"undefined"!=typeof _gaq&&eval(YTPlayer.opt.gaTrack)?_gaq.push(["_trackEvent","YTPlayer","Play",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()]):"undefined"!=typeof ga&&eval(YTPlayer.opt.gaTrack)&&ga("send","event","YTPlayer","play",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()),YTPlayer.opt.autoPlay){let t=jQuery.Event("YTPStart");t.time=YTPlayer.currentTime,jQuery(YTPlayer).trigger(t),YTPlayer.isStarting=!1,"mac"===jQuery.mbBrowser.os.name&&jQuery.mbBrowser.safari&&jQuery("body").one("mousedown.YTPstart",function(){$YTPlayer.YTPPlay()}),$YTPlayer.YTPPlay(),console.timeEnd(YTPTimerLabels.startPlaying)}else YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),YTPlayer.start_from_last&&YTPlayer.player.seekTo(startAt,!0),setTimeout(function(){YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),YTPlayer.isPlayer||(YTPlayer.opt.coverImage?(YTPlayer.wrapper.css({opacity:0}),setTimeout(function(){$YTPlayer.changeCoverImage()},YTPlayer.opt.fadeOnStartTime)):(jQuery(YTPlayer.playerEl).CSSAnimate({opacity:1},YTPlayer.opt.fadeOnStartTime),YTPlayer.wrapper.CSSAnimate({opacity:YTPlayer.isAlone?1:YTPlayer.opt.opacity},YTPlayer.opt.fadeOnStartTime))),YTPlayer.isStarting=!1},500),YTPlayer.controlBar.length&&YTPlayer.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play);YTPlayer.isPlayer&&!YTPlayer.opt.autoPlay&&YTPlayer.loading&&YTPlayer.loading.length&&(YTPlayer.loading.html("Ready"),setTimeout(function(){YTPlayer.loading.fadeOut()},100)),YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.slideDown(1e3)}"mac"===jQuery.mbBrowser.os.name&&jQuery.mbBrowser.safari&&(YTPlayer.player.playVideo(),0<=startAt&&YTPlayer.player.seekTo(startAt,!0))},100),$YTPlayer},getTime:function(){let t=this.get(0);return jQuery.mbYTPlayer.formatTime(t.currentTime)},getTotalTime:function(){let t=this.get(0);return jQuery.mbYTPlayer.formatTime(t.totalTime)},formatTime:function(t){let a=Math.floor(t/60),n=Math.floor(t-60*a);return(9>=a?"0"+a:a)+" : "+(9>=n?"0"+n:n)},setAnchor:function(t){this.optimizeDisplay(t)},getAnchor:function(){return this.get(0).opt.anchor},setAbundance:function(t,a){let n=this.get(0);return a&&(n.opt.abundance=t),this.optimizeDisplay(n.opt.anchor,t),this},getAbundance:function(){return this.get(0).opt.abundance},setOption:function(e,t){return this.get(0).opt[e]=t,this}},jQuery.fn.optimizeDisplay=function(anchor,abundanceX){let YTPlayer=this.get(0),vid={},el=YTPlayer.wrapper,iframe=jQuery(YTPlayer.playerEl);YTPlayer.opt.anchor=anchor||YTPlayer.opt.anchor,YTPlayer.opt.anchor="undefined "==typeof YTPlayer.opt.anchor?"center,center":YTPlayer.opt.anchor;let YTPAlign=YTPlayer.opt.anchor.split(","),ab=abundanceX||YTPlayer.opt.abundance;if(YTPlayer.opt.optimizeDisplay){let abundance=el.height()*ab,win={};win.width=el.outerWidth(),win.height=el.outerHeight()+abundance,YTPlayer.opt.ratio="auto"===YTPlayer.opt.ratio?16/9:YTPlayer.opt.ratio,YTPlayer.opt.ratio=eval(YTPlayer.opt.ratio),vid.width=win.width+abundance,vid.height=Math.ceil(vid.width/YTPlayer.opt.ratio),vid.marginTop=Math.ceil(-(vid.height-win.height+abundance)/2),vid.marginLeft=-abundance/2;let lowest=vid.heightnavigator.appVersion.indexOf("Mobile")&&(t.name="Mac"),-1!=navigator.appVersion.indexOf("Linux")&&(t.name="Linux"),/Mac OS X/.test(nAgt)&&!/Mobile/.test(nAgt)&&(t.version=/Mac OS X ([\._\d]+)/.exec(nAgt)[1],t.version=t.version.replace(/_/g,".").substring(0,5)),/Windows/.test(nAgt)&&(t.version="Unknown.Unknown"),/Windows NT 5.1/.test(nAgt)&&(t.version="5.1"),/Windows NT 6.0/.test(nAgt)&&(t.version="6.0"),/Windows NT 6.1/.test(nAgt)&&(t.version="6.1"),/Windows NT 6.2/.test(nAgt)&&(t.version="6.2"),/Windows NT 10.0/.test(nAgt)&&(t.version="10.0"),/Linux/.test(nAgt)&&/Linux/.test(nAgt)&&(t.version="Unknown.Unknown"),t.name=t.name.toLowerCase(),t.major_version="Unknown",t.minor_version="Unknown","Unknown.Unknown"!=t.version&&(t.major_version=parseFloat(t.version.split(".")[0]),t.minor_version=parseFloat(t.version.split(".")[1])),t};if(jQuery.browser.os=getOS(),jQuery.browser.hasTouch=isTouchSupported(),jQuery.browser.name=navigator.appName,jQuery.browser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10),-1!=(verOffset=nAgt.indexOf("Opera")))jQuery.browser.opera=!0,jQuery.browser.name="Opera",jQuery.browser.fullVersion=nAgt.substring(verOffset+6),-1!=(verOffset=nAgt.indexOf("Version"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8));else if(-1!=(verOffset=nAgt.indexOf("OPR")))jQuery.browser.opera=!0,jQuery.browser.name="Opera",jQuery.browser.fullVersion=nAgt.substring(verOffset+4);else if(-1!=(verOffset=nAgt.indexOf("MSIE")))jQuery.browser.msie=!0,jQuery.browser.name="Microsoft Internet Explorer",jQuery.browser.fullVersion=nAgt.substring(verOffset+5);else if(-1!=nAgt.indexOf("Trident")){jQuery.browser.msie=!0,jQuery.browser.name="Microsoft Internet Explorer";var start=nAgt.indexOf("rv:")+3,end=start+4;jQuery.browser.fullVersion=nAgt.substring(start,end)}else-1==(verOffset=nAgt.indexOf("Edge"))?-1==(verOffset=nAgt.indexOf("Chrome"))?-1jQuery.CSS.filters[i].max?jQuery.CSS.filters[i].max:o,jQuery.CSS.filters[i].unit),t[n+"filter"]+=r+"("+o+") ",delete t[i]}-1!=(ix=jQuery.browser.fullVersion.indexOf(";"))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),-1!=(ix=jQuery.browser.fullVersion.indexOf(" "))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),jQuery.browser.majorVersion=parseInt(""+jQuery.browser.fullVersion,10),isNaN(jQuery.browser.majorVersion)&&(jQuery.browser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10)),jQuery.browser.version=jQuery.browser.majorVersion,jQuery.browser.android=/Android/i.test(nAgt),jQuery.browser.blackberry=/BlackBerry|BB|PlayBook/i.test(nAgt),jQuery.browser.ios=/iPhone|iPad|iPod|webOS/i.test(nAgt),jQuery.browser.operaMobile=/Opera Mini/i.test(nAgt),jQuery.browser.windowsMobile=/IEMobile|Windows Phone/i.test(nAgt),jQuery.browser.kindle=/Kindle|Silk/i.test(nAgt),jQuery.browser.mobile=jQuery.browser.android||jQuery.browser.blackberry||jQuery.browser.ios||jQuery.browser.windowsMobile||jQuery.browser.operaMobile||jQuery.browser.kindle,jQuery.isMobile=jQuery.browser.mobile,jQuery.isTablet=jQuery.browser.mobile&&765parseInt(e[t]))return 1;if(e[t]&&!a[t]&&0a.indexOf(t)&&a.push(uncamel(t));return a.join(",")},animate:function(a,n,i,r,h){return this.each(function(){function s(){l.called=!0,l.CSSAIsRunning=!1,e.off(jQuery.CSS.transitionEnd+"."+l.id),clearTimeout(l.timeout),e.css(jQuery.CSS.sfx+"transition",""),"function"==typeof h&&h.apply(l),"function"==typeof l.CSSqueue&&(l.CSSqueue(),l.CSSqueue=null)}var l=this,e=jQuery(this);l.id=l.id||"CSSA_"+new Date().getTime();var t=t||{type:"noEvent"};if(l.CSSAIsRunning&&l.eventType==t.type&&!jQuery.browser.msie&&9>=jQuery.browser.version)l.CSSqueue=function(){e.CSSAnimate(a,n,i,r,h)};else if(l.CSSqueue=null,l.eventType=t.type,0!==e.length&&a){if(a=jQuery.normalizeCss(a),l.CSSAIsRunning=!0,"function"==typeof n&&(h=n,n=jQuery.fx.speeds._default),"function"==typeof i&&(r=i,i=0),"string"==typeof i&&(h=i,i=0),"function"==typeof r&&(h=r,r="cubic-bezier(0.65,0.03,0.36,0.72)"),"string"==typeof n)for(var d in jQuery.fx.speeds){if(n==d){n=jQuery.fx.speeds[d];break}n=jQuery.fx.speeds._default}if(n||(n=jQuery.fx.speeds._default),"string"==typeof h&&(r=h,h=null),jQuery.support.CSStransition){var c={default:"ease",in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};c[r]&&(r=c[r]),e.off(jQuery.CSS.transitionEnd+"."+l.id),c=jQuery.CSS.getProp(a);var p={};jQuery.extend(p,a),p[jQuery.CSS.sfx+"transition-property"]=c,p[jQuery.CSS.sfx+"transition-duration"]=n+"ms",p[jQuery.CSS.sfx+"transition-delay"]=i+"ms",p[jQuery.CSS.sfx+"transition-timing-function"]=r,setTimeout(function(){e.one(jQuery.CSS.transitionEnd+"."+l.id,s),e.css(p)},1),l.timeout=setTimeout(function(){l.called||!h?(l.called=!1,l.CSSAIsRunning=!1):(e.css(jQuery.CSS.sfx+"transition",""),h.apply(l),l.CSSAIsRunning=!1,"function"==typeof l.CSSqueue&&(l.CSSqueue(),l.CSSqueue=null))},n+i+10)}else{for(c in a)"transform"===c&&delete a[c],"filter"===c&&delete a[c],"transform-origin"===c&&delete a[c],"auto"===a[c]&&delete a[c],"x"===c&&(t=a[c],a[d="left"]=t,delete a[c]),"y"===c&&(t=a[c],a[d="top"]=t,delete a[c]),"-ms-transform"!==c&&"-ms-filter"!==c||delete a[c];e.delay(i).animate(a,n,h)}}})}},jQuery.fn.CSSAnimate=jQuery.CSS.animate,jQuery.normalizeCss=jQuery.CSS.normalizeCss,jQuery.fn.css3=function(t){return this.each(function(){var a=jQuery(this),n=jQuery.normalizeCss(t);a.css(n)})},function(n){n.simpleSlider={defaults:{initialval:0,maxval:100,orientation:"h",readonly:!1,callback:!1},events:{start:n.browser.mobile?"touchstart":"mousedown",end:n.browser.mobile?"touchend":"mouseup",move:n.browser.mobile?"touchmove":"mousemove"},init:function(i){return this.each(function(){var a=this,o=n(a);o.addClass("simpleSlider"),a.opt={},n.extend(a.opt,n.simpleSlider.defaults,i),n.extend(a.opt,o.data()),console.debug(o.data());var r="h"==a.opt.orientation?"horizontal":"vertical",e=n("
").addClass("level").addClass(r);o.prepend(e),a.level=e,o.css({cursor:"default"}),"auto"==a.opt.maxval&&(a.opt.maxval=n(a).outerWidth()),o.updateSliderVal(),a.opt.readonly||(o.on(n.simpleSlider.events.start,function(e){n.browser.mobile&&(e=e.changedTouches[0]),a.canSlide=!0,o.updateSliderVal(e),"h"==a.opt.orientation?o.css({cursor:"col-resize"}):o.css({cursor:"row-resize"}),a.lastVal=a.val,n.browser.mobile||(e.preventDefault(),e.stopPropagation())}),n(document).on(n.simpleSlider.events.move,function(e){n.browser.mobile&&(e=e.changedTouches[0]),a.canSlide&&(n(document).css({cursor:"default"}),o.updateSliderVal(e),n.browser.mobile||(e.preventDefault(),e.stopPropagation()))}).on(n.simpleSlider.events.end,function(){n(document).css({cursor:"auto"}),a.canSlide=!1,o.css({cursor:"auto"})}))})},updateSliderVal:function(r){function a(e,t){return Math.floor(100*e/t)}var e=this.get(0);if(e.opt){e.opt.initialval="number"==typeof e.opt.initialval?e.opt.initialval:e.opt.initialval(e);var t=n(e).outerWidth(),o=n(e).outerHeight();e.x="object"==typeof r?r.clientX+document.body.scrollLeft-this.offset().left:"number"==typeof r?r*t/e.opt.maxval:e.opt.initialval*t/e.opt.maxval,e.y="object"==typeof r?r.clientY+document.body.scrollTop-this.offset().top:"number"==typeof r?(e.opt.maxval-e.opt.initialval-r)*o/e.opt.maxval:e.opt.initialval*o/e.opt.maxval,e.y=this.outerHeight()-e.y,e.scaleX=e.x*e.opt.maxval/t,e.scaleY=e.y*e.opt.maxval/o,e.outOfRangeX=e.scaleX>e.opt.maxval?e.scaleX-e.opt.maxval:0>e.scaleX?e.scaleX:0,e.outOfRangeY=e.scaleY>e.opt.maxval?e.scaleY-e.opt.maxval:0>e.scaleY?e.scaleY:0,e.outOfRange="h"==e.opt.orientation?e.outOfRangeX:e.outOfRangeY,e.value=void 0===r?"h"==e.opt.orientation?e.scaleX:e.scaleY:"h"==e.opt.orientation?e.x>=this.outerWidth()?e.opt.maxval:0>=e.x?0:e.scaleX:e.y>=this.outerHeight()?e.opt.maxval:0>=e.y?0:e.scaleY,"h"==e.opt.orientation?e.level.width(a(e.x,t)+"%"):e.level.height(a(e.y,o)),e.lastVal===e.value&&("h"===e.opt.orientation&&(e.x>=this.outerWidth()||0>=e.x)||"h"!==e.opt.orientation&&(e.y>=this.outerHeight()||0>=e.y))||("function"==typeof e.opt.callback&&e.opt.callback(e),e.lastVal=e.value)}}},n.fn.simpleSlider=n.simpleSlider.init,n.fn.updateSliderVal=n.simpleSlider.updateSliderVal}(jQuery),function(e){e.mbCookie={set:function(e,t,n,o){"object"==typeof t&&(t=JSON.stringify(t)),o=o?"; domain="+o:"";var i=new Date,s="";0this.total,this.paused=!this.settings.autoplay||this.noshow,this.ended=!1,this.$elmt=g(a),this.$timer=null,this.$overlay=null,this.$slide=null,this.timeout=null,this.first=!0,this.transitions=["fade","fade2","blur","blur2","flash","flash2","negative","negative2","burn","burn2","slideLeft","slideLeft2","slideRight","slideRight2","slideUp","slideUp2","slideDown","slideDown2","zoomIn","zoomIn2","zoomOut","zoomOut2","swirlLeft","swirlLeft2","swirlRight","swirlRight2"],this.animations=["kenburns","kenburnsLeft","kenburnsRight","kenburnsUp","kenburnsUpLeft","kenburnsUpRight","kenburnsDown","kenburnsDownLeft","kenburnsDownRight"],0==this.settings.transitionRegister instanceof Array&&(this.settings.transitionRegister=[this.settings.transitionRegister]),0==this.settings.animationRegister instanceof Array&&(this.settings.animationRegister=[this.settings.animationRegister]),this.transitions=this.transitions.concat(this.settings.transitionRegister),this.animations=this.animations.concat(this.settings.animationRegister),this.support={objectFit:"objectFit"in document.body.style,transition:"transition"in document.body.style||"WebkitTransition"in document.body.style,video:g.vegas.isVideoCompatible()},!0===this.settings.shuffle&&this.shuffle(),this._init()};e.prototype={_init:function(){var e,a,r,l="BODY"===this.elmt.tagName,d=this.settings.timer,c=this.settings.overlay,n=this;this._preload(),l||(this.$elmt.css("height",this.$elmt.css("height")),e=g("
").css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||e.css("padding-top",this.$elmt.css("padding-top")).css("padding-bottom",this.$elmt.css("padding-bottom")).css("padding-left",this.$elmt.css("padding-left")).css("padding-right",this.$elmt.css("padding-right")),this.$elmt.clone(!0).children().appendTo(e),this.elmt.innerHTML=""),d&&this.support.transition&&(r=g("
"),this.$timer=r,this.$elmt.prepend(r)),c&&(a=g("
"),"string"==typeof c&&a.css("background-image","url("+c+")"),this.$overlay=a,this.$elmt.prepend(a)),this.$elmt.addClass("vegas-container"),l||this.$elmt.append(e),setTimeout(function(){n.trigger("init"),n._goto(n.slide),n.settings.autoplay&&n.trigger("play")},1)},_preload:function(){var t;for(t=0;te&&(a.volume=e,setTimeout(function(){o._fadeInSound(a,n)},n/10))},_options:function(e,t){return void 0===t&&(t=this.slide),void 0===this.settings.slides[t][e]?this.settings[e]:this.settings.slides[t][e]},_goto:function(e){function i(){P._timer(!0),setTimeout(function(){f&&(P.support.transition?(C.css("transition","all "+I+"ms").addClass("vegas-transition-"+f+"-out"),C.each(function(){var t=C.find("video").get(0);t&&(t.volume=1,P._fadeOutSound(t,I))}),a.css("transition","all "+I+"ms").addClass("vegas-transition-"+f+"-in")):a.fadeIn(I));for(var t=0;tl)&&(I=l),"auto"===E&&(E=l),a=g("
"),this.support.transition&&f&&a.addClass("vegas-transition-"+f),this.support.video&&T?((x=T instanceof Array?this._video(T):this._video(T.src)).loop=void 0===T.loop||T.loop,x.muted=void 0===T.mute||T.mute,!1===x.muted?(x.volume=0,this._fadeInSound(x,I)):x.pause(),h=g(x).addClass("vegas-video").css("background-color",k),this.support.objectFit?h.css("object-position",u+" "+c).css("object-fit",d).css("width","100%").css("height","100%"):"contain"===d&&h.css("width","100%").css("height","100%"),a.append(h)):(_=new Image,r=g("
").css("background-image","url(\""+v+"\")").css("background-color",k).css("background-position",u+" "+c),"repeat"===d?r.css("background-repeat","repeat"):r.css("background-size",d),this.support.transition&&D&&r.addClass("vegas-animation-"+D).css("animation-duration",E+"ms"),a.append(r)),this.support.transition||a.css("display","none"),w?C.eq(w-1).after(a):this.$elmt.prepend(a),C.css("transition","all 0ms").each(function(){this.className="vegas-slide","VIDEO"===this.tagName&&(this.className+=" vegas-video"),f&&(this.className+=" vegas-transition-"+f,this.className+=" vegas-transition-"+f+"-in")}),P._timer(!1),x?(4===x.readyState&&(x.currentTime=0),x.play(),i()):(_.src=v,_.complete?i():_.onload=i)},_end:function(){this.ended=!0,this._timer(!1),this.trigger("end")},shuffle:function(){for(var a,n,o=this.total-1;0t||t>this.total-1||t===this.slide||(this.slide=t,this._goto(this.slide))},next:function(){if(this.slide++,this.slide>=this.total){if(!this.settings.loop)return this._end();this.slide=0}this._goto(this.slide)},previous:function(){if(this.slide--,0>this.slide){if(!this.settings.loop)return void this.slide++;this.slide=this.total-1}this._goto(this.slide)},trigger:function(e){var t;t="init"===e?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+e,t),"function"==typeof this.settings[e]&&this.settings[e].apply(this.$elmt,t)},options:function(a,e){var t=this.settings.slides.slice();if("object"==typeof a)this.settings=g.extend({},n,g.vegas.defaults,a);else{if("string"!=typeof a)return this.settings;if(void 0===e)return this.settings[a];this.settings[a]=e}this.settings.slides!==t&&(this.total=this.settings.slides.length,this.noshow=2>this.total,this._preload())},destroy:function(){clearTimeout(this.timeout),this.$elmt.removeClass("vegas-container"),this.$elmt.find("> .vegas-slide").remove(),this.$elmt.find("> .vegas-wrapper").clone(!0).children().appendTo(this.$elmt),this.$elmt.find("> .vegas-wrapper").remove(),this.settings.timer&&this.$timer.remove(),this.settings.overlay&&this.$overlay.remove(),this.elmt._vegas=null}},g.fn.vegas=function(t){var a,n=arguments,i=!1;if(void 0===t||"object"==typeof t)return this.each(function(){this._vegas||(this._vegas=new e(this,t))});if("string"==typeof t){if(this.each(function(){var o=this._vegas;if(!o)throw new Error("No Vegas applied to this element.");"function"==typeof o[t]&&"_"!==t[0]?a=o[t].apply(o,[].slice.call(n,1)):i=!0}),i)throw new Error("No method \""+t+"\" in Vegas.");return void 0===a?this:a}},g.vegas={},g.vegas.defaults=n,g.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(window.jQuery||window.Zepto),function(g){"use strict";function t(e,t){this.element=e,this.settings=g.extend({},i,t),this._defaults=i,this._name=n,this.init()}var n="mgGlitch",i={destroy:!1,glitch:!0,scale:!0,blend:!0,blendModeType:"hue",glitch1TimeMin:600,glitch1TimeMax:900,glitch2TimeMin:10,glitch2TimeMax:115,zIndexStart:5};g.extend(t.prototype,{init:function(){this.glitch()},glitch:function(){function p(e,t){return Math.floor(Math.random()*(t-e+1))+e}var m=this.element,e=this.settings.scale,s=this.settings.glitch1TimeMin,l=this.settings.glitch1TimeMax,t=this.settings.glitch2TimeMin,i=this.settings.glitch2TimeMax,n=this.settings.zIndexStart;!0===this.settings.destroy?((g(m).hasClass("el-front-1")||g(m).hasClass("front-3")||g(m).hasClass("front-2"))&&g(".front-1, .front-2, .front-3").remove(),g(".back").removeClass("back")):!1===this.settings.destroy&&((g(m).clone().insertBefore(m).addClass("back").css({"z-index":n}),!0===this.settings.blend)&&(g(m).clone().insertAfter(m).addClass("front-3").css({"z-index":n+3,"mix-blend-mode":this.settings.blendModeType}),function r(){var a=p(10,1900),s=p(10,1300),n=p(0,40),o=p(0,40),l=p(t,i);if(!0===e)var d=(Math.random()*(1.1-.9)+.9).toFixed(2);else!1===e&&(d=1);g(m).next().next().css({clip:"rect("+a+"px, 9999px, "+s+"px,0px)",left:n,right:o,"-webkit-transform":"scale("+d+")","-ms-transform":"scale("+d+")",transform:"scale("+d+")"}),setTimeout(r,l)}()),!0===this.settings.glitch&&(g(m).clone().insertAfter(m).addClass("front-2").css({"z-index":n+2}),g(".back").next().addClass("front-1").css({"z-index":n+1}),function e(){var t=p(10,1900),o=p(10,1300),i=p(0,16),a=p(0,16),n=p(s,l);g(m).css({clip:"rect("+t+"px, 9999px, "+o+"px,0px)",right:a,left:i}),setTimeout(e,n)}(),function r(){var a=p(10,1900),s=p(10,1300),n=p(0,40),o=p(0,40),l=p(t,i);if(!0===e)var d=(Math.random()*(1.1-.9)+.9).toFixed(2);else!1===e&&(d=1);g(m).next().css({clip:"rect("+a+"px, 9999px, "+s+"px,0px)",left:n,right:o,"-webkit-transform":"scale("+d+")","-ms-transform":"scale("+d+")",transform:"scale("+d+")"}),setTimeout(r,l)}()))}}),g.fn.mgGlitch=function(a){return this.each(function(){new t(this,a)})}}(jQuery,window,document),function(d,l){function e(a,o){this.element=a,this.settings=d.extend({},t,o),this.settings.duplicate||o.hasOwnProperty("removeIds")||(this.settings.removeIds=!1),this._defaults=t,this._name=n,this.init()}var t={label:"MENU",duplicate:!0,duration:200,easingOpen:"swing",easingClose:"swing",closedSymbol:"►",openedSymbol:"▼",prependTo:"body",appendTo:"",parentTag:"a",closeOnClick:!1,allowParentLinks:!1,nestedParentLinks:!0,showChildren:!1,removeIds:!0,removeClasses:!1,removeStyles:!1,brand:"",animations:"jquery",init:function(){},beforeOpen:function(){},beforeClose:function(){},afterOpen:function(){},afterClose:function(){}},n="slicknav";e.prototype.init=function(){var t,a,u=this,r=d(this.element),p=this.settings;if(u.mobileNav=p.duplicate?r.clone():r,p.removeIds&&(u.mobileNav.removeAttr("id"),u.mobileNav.find("*").each(function(t,a){d(a).removeAttr("id")})),p.removeClasses&&(u.mobileNav.removeAttr("class"),u.mobileNav.find("*").each(function(t,a){d(a).removeAttr("class")})),p.removeStyles&&(u.mobileNav.removeAttr("style"),u.mobileNav.find("*").each(function(t,a){d(a).removeAttr("style")})),t="slicknav_icon",""===p.label&&(t+=" slicknav_no-text"),"a"==p.parentTag&&(p.parentTag="a href=\"#\""),u.mobileNav.attr("class","slicknav_nav"),a=d("
"),""!==p.brand){var s=d("
"+p.brand+"
");d(a).append(s)}u.btn=d(["<"+p.parentTag+" aria-haspopup=\"true\" role=\"button\" tabindex=\"0\" class=\"slicknav_btn slicknav_collapsed\">",""+p.label+"","","","","","",""].join("")),d(a).append(u.btn),""===p.appendTo?d(p.prependTo).prepend(a):d(p.appendTo).append(a),a.append(u.mobileNav);var n=u.mobileNav.find("li");d(n).each(function(){var i=d(this),o={};if(o.children=i.children("ul").attr("role","menu"),i.data("menu",o),0");p.allowParentLinks&&!p.nestedParentLinks&&t?d(l).wrapAll("").parent():d(l).wrapAll(s).parent().addClass("slicknav_row"),p.showChildren?i.addClass("slicknav_open"):i.addClass("slicknav_collapsed"),i.addClass("slicknav_parent");var n=d(""+(p.showChildren?p.openedSymbol:p.closedSymbol)+"");p.allowParentLinks&&!p.nestedParentLinks&&t&&(n=n.wrap(s).parent()),d(l).last().after(n)}else 0===i.children().length&&i.addClass("slicknav_txtnode");i.children("a").attr("role","menuitem").click(function(e){p.closeOnClick&&!d(e.target).parent().closest("li").hasClass("slicknav_parent")&&d(u.btn).click()}),p.closeOnClick&&p.allowParentLinks&&(i.children("a").children("a").click(function(){d(u.btn).click()}),i.find(".slicknav_parent-link a:not(.slicknav_item)").click(function(){d(u.btn).click()}))}),d(n).each(function(){var e=d(this).data("menu");p.showChildren||u._visibilityToggle(e.children,null,!1,null,!0)}),u._visibilityToggle(u.mobileNav,null,!1,"init",!0),u.mobileNav.attr("role","menu"),d(l).mousedown(function(){u._outlines(!1)}),d(l).keyup(function(){u._outlines(!0)}),d(u.btn).click(function(t){t.preventDefault(),u._menuToggle()}),u.mobileNav.on("click",".slicknav_item",function(e){e.preventDefault(),u._itemClick(d(this))}),d(u.btn).keydown(function(t){var a=t||event;switch(a.keyCode){case 13:case 32:case 40:t.preventDefault(),40===a.keyCode&&d(u.btn).hasClass("slicknav_open")||u._menuToggle(),d(u.btn).next().find("[role=\"menuitem\"]").first().focus();}}),u.mobileNav.on("keydown",".slicknav_item",function(e){switch((e||event).keyCode){case 13:e.preventDefault(),u._itemClick(d(e.target));break;case 39:e.preventDefault(),d(e.target).parent().hasClass("slicknav_collapsed")&&u._itemClick(d(e.target)),d(e.target).next().find("[role=\"menuitem\"]").first().focus();}}),u.mobileNav.on("keydown","[role=\"menuitem\"]",function(t){switch((t||event).keyCode){case 40:t.preventDefault();var a=(o=(n=d(t.target).parent().parent().children().children("[role=\"menuitem\"]:visible")).index(t.target))+1;n.length<=a&&(a=0),n.eq(a).focus();break;case 38:t.preventDefault();var n,o=(n=d(t.target).parent().parent().children().children("[role=\"menuitem\"]:visible")).index(t.target);n.eq(o-1).focus();break;case 37:if(t.preventDefault(),d(t.target).parent().parent().parent().hasClass("slicknav_open")){var l=d(t.target).parent().parent().prev();l.focus(),u._itemClick(l)}else d(t.target).parent().parent().hasClass("slicknav_nav")&&(u._menuToggle(),d(u.btn).focus());break;case 27:t.preventDefault(),u._menuToggle(),d(u.btn).focus();}}),p.allowParentLinks&&p.nestedParentLinks&&d(".slicknav_item a").click(function(t){t.stopImmediatePropagation()})},e.prototype._menuToggle=function(){var n=this,a=n.btn,e=n.mobileNav;a.hasClass("slicknav_collapsed")?(a.removeClass("slicknav_collapsed"),a.addClass("slicknav_open")):(a.removeClass("slicknav_open"),a.addClass("slicknav_collapsed")),a.addClass("slicknav_animating"),n._visibilityToggle(e,a.parent(),!0,a)},e.prototype._itemClick=function(a){var n=this,o=n.settings,e=a.data("menu");e||((e={}).arrow=a.children(".slicknav_arrow"),e.ul=a.next("ul"),e.parent=a.parent(),e.parent.hasClass("slicknav_parent-link")&&(e.parent=a.parent().parent(),e.ul=a.parent().next("ul")),a.data("menu",e)),e.parent.hasClass("slicknav_collapsed")?(e.arrow.html(o.openedSymbol),e.parent.removeClass("slicknav_collapsed"),e.parent.addClass("slicknav_open"),e.parent.addClass("slicknav_animating"),n._visibilityToggle(e.ul,e.parent,!0,a)):(e.arrow.html(o.closedSymbol),e.parent.addClass("slicknav_collapsed"),e.parent.removeClass("slicknav_open"),e.parent.addClass("slicknav_animating"),n._visibilityToggle(e.ul,e.parent,!0,a))},e.prototype._visibilityToggle=function(u,p,e,t,g){function a(t,a){d(t).removeClass("slicknav_animating"),d(a).removeClass("slicknav_animating"),g||i.afterOpen(t)}function n(a,e){u.attr("aria-hidden","true"),r.attr("tabindex","-1"),o._setVisAttr(u,!0),u.hide(),d(a).removeClass("slicknav_animating"),d(e).removeClass("slicknav_animating"),g?"init"==a&&i.init():i.afterClose(a)}var o=this,i=o.settings,r=o._getActionItems(u),s=0;e&&(s=i.duration),u.hasClass("slicknav_hidden")?(u.removeClass("slicknav_hidden"),g||i.beforeOpen(t),"jquery"===i.animations?u.stop(!0,!0).slideDown(s,i.easingOpen,function(){a(t,p)}):"velocity"===i.animations&&u.velocity("finish").velocity("slideDown",{duration:s,easing:i.easingOpen,complete:function(){a(t,p)}}),u.attr("aria-hidden","false"),r.attr("tabindex","0"),o._setVisAttr(u,!1)):(u.addClass("slicknav_hidden"),g||i.beforeClose(t),"jquery"===i.animations?u.stop(!0,!0).slideUp(s,this.settings.easingClose,function(){n(t,p)}):"velocity"===i.animations&&u.velocity("finish").velocity("slideUp",{duration:s,easing:i.easingClose,complete:function(){n(t,p)}}))},e.prototype._setVisAttr=function(t,a){var n=this,o=t.children("li").children("ul").not(".slicknav_hidden");a?o.each(function(){var e=d(this);e.attr("aria-hidden","true"),n._getActionItems(e).attr("tabindex","-1"),n._setVisAttr(e,a)}):o.each(function(){var e=d(this);e.attr("aria-hidden","false"),n._getActionItems(e).attr("tabindex","0"),n._setVisAttr(e,a)})},e.prototype._getActionItems=function(e){var t=e.data("menu");if(!t){t={};var i=e.children("li"),n=i.find("a");t.links=n.add(i.find(".slicknav_item")),e.data("menu",t)}return t.links},e.prototype._outlines=function(e){e?d(".slicknav_item, .slicknav_btn").css("outline",""):d(".slicknav_item, .slicknav_btn").css("outline","none")},e.prototype.toggle=function(){this._menuToggle()},e.prototype.open=function(){this.btn.hasClass("slicknav_collapsed")&&this._menuToggle()},e.prototype.close=function(){this.btn.hasClass("slicknav_open")&&this._menuToggle()},d.fn.slicknav=function(o){var a,i=arguments;return void 0===o||"object"==typeof o?this.each(function(){d.data(this,"plugin_slicknav")||d.data(this,"plugin_slicknav",new e(this,o))}):"string"==typeof o&&"_"!==o[0]&&"init"!==o?(this.each(function(){var e=d.data(this,"plugin_slicknav");e instanceof e&&"function"==typeof e[o]&&(a=e[o].apply(e,Array.prototype.slice.call(i,1)))}),void 0===a?this:a):void 0}}(jQuery,document,window);jQuery(document).ready(function(t){t(".grcs_text_slider").each(function(){var a=t(this);if(!(a.hasClass("unsync")||"kenburns"!=background_mode))n=background_kenburns_timeout,o=background_kenburns_transition_duration;else if(a.hasClass("unsync")||"slider"!=background_mode)n=a.attr("data-timeout"),o=a.attr("data-duration");else var n=background_slider_timeout,o=background_slider_transition_duration;a.cycle({delay:0,slides:".slide",log:!1,autoHeight:"container",fx:a.attr("data-fx"),timeout:parseInt(n),speed:parseInt(o)})}),t(".grcs_social_icons").each(function(){t(this).find("li>a,li>div").tooltip({container:"body",delay:{show:150,hide:0}})}),t(".grcs_social_icons").click(function(){t(this).find("li>a,li>div").tooltip("hide")}),t(".grcs_contact_form").each(function(){var e=t(this);t(this).submit(function(n){n.preventDefault();var o=t(this).serializeArray();o.push({name:"formide",value:e.find(".form-generate-unique").data("form-ide")}),o.push({name:"formmSuccess",value:e.find(".form-generate-unique").data("form-msuccess")}),o.push({name:"formmInvalid",value:e.find(".form-generate-unique").data("form-minvalid")}),o.push({name:"formmEmpty",value:e.find(".form-generate-unique").data("form-mempty")}),t.ajax({type:"POST",url:e.attr("action"),data:o,dataType:"json",success:function(t){e.hasClass("error")&&(e.find("input").removeClass("active"),e.find("textarea").removeClass("active")),setTimeout(function(){""!==t.nameMessage&&(e.find("input[name=name]").addClass("active").attr("placeholder",t.nameMessage),e.addClass("error")),""!==t.emailMessage&&(e.find("input[name=email]").addClass("active").val("").attr("placeholder",t.emailMessage),e.addClass("error")),""!==t.messageMessage&&(e.find("textarea[name=message]").addClass("active").attr("placeholder",t.messageMessage),e.addClass("error"))},50),""===t.nameMessage&&""===t.emailMessage&&""===t.messageMessage&&(e.removeClass("error").addClass("success"),e.find("textarea, input").attr("placeholder",""),e.find("textarea").attr("placeholder",t.succesMessage),e.find("textarea, input, button").val("").prop("disabled",!0))}})})}),t(".grcs_subscribe_form").each(function(){var e=t(this);t(this).submit(function(n){n.preventDefault();var o=t(this).serializeArray();o.push({name:"formMo",value:e.find(".form-generate-unique").data("form-mo")}),o.push({name:"formmSuccess",value:e.find(".form-generate-unique").data("form-msuccess")}),o.push({name:"formmInvalid",value:e.find(".form-generate-unique").data("form-minvalid")}),o.push({name:"formmEmpty",value:e.find(".form-generate-unique").data("form-mempty")}),o.push({name:"formmFail",value:e.find(".form-generate-unique").data("form-mfail")}),o.push({name:"formMake",value:e.find(".form-generate-unique").data("form-make")}),o.push({name:"formMaid",value:e.find(".form-generate-unique").data("form-maid")}),o.push({name:"formMaopt",value:e.find(".form-generate-unique").data("form-maopt")}),o.push({name:"formFilo",value:e.find(".form-generate-unique").data("form-filo")}),t.ajax({type:"POST",url:e.attr("action"),data:o,dataType:"json",success:function(t){0===t.valid?(e.addClass("error"),e.find("input").attr("placeholder",t.message),e.find("input").val("")):(e.find("input").val("").prop("disabled",!0),e.find("button").val("").prop("disabled",!0),e.find("input").attr("placeholder",t.message),e.removeClass("error").addClass("success"))}})})}),t(".grcs_overlay").each(function(){function n(){return h!=f&&!0!==blockProcess&&void(blockProcess=!0,c.addClass("movement-in-progress"),0===h&&(prevent_class_removal=!1,t(".grcs_hero_container .container-mid").addClass("block-overflow"),m.addClass("overlay-active"),m.find(".enter-animation").addClass("ivis"),m.find(".enter-animation").css("transition","all 1s .5s"),t(".grcs_youtube_controls").removeClass("show"),t(".grcs_audio_player_toggle").removeClass("show"),t("#cycle").cycle("pause"),setTimeout(function(){c.addClass("open")},200)),0==u?h+=1:(h=p,u=!1),e.removeClass("active"),l=e.eq(h-1),setTimeout(function(){l.addClass("active"),s(),setTimeout(function(){d.addClass("active"),setTimeout(function(){blockProcess=!1,c.removeClass("movement-in-progress")},800)},400)},1e3))}function o(){return 0!==h&&!0!==blockProcess&&void(blockProcess=!0,c.addClass("movement-in-progress"),0==u?h-=1:(h=p,u=!1),e.removeClass("active"),l=e.eq(h-1),setTimeout(function(){1
"),i=0;i
");if("yes"===c.data("bullet-nav-titles")){t(".grcs_bullet_nav .nav_dots").eq(0).attr("title","Home");for(var e,a=t(".grcs_overlay .grcs_overlay_section").length,i=0;a>i;i++)e=t(".grcs_overlay .grcs_overlay_section").eq(i).data("name"),t(".grcs_bullet_nav .nav_dots").eq(i+1).attr("title",e);t(".grcs_bullet_nav .nav_dots").tooltip({placement:"left"})}s(),t(".grcs_bullet_nav .nav_dots").click(function(){(p=t(".grcs_bullet_nav .nav_dots").index(this))!=h&&(p(e.originalEvent.wheelDelta||-1*e.originalEvent.detail)/120&&n()}),t("html").on("DOMMouseScroll mousewheel",function(e){0<(e.originalEvent.wheelDelta||-1*e.originalEvent.detail)/120&&o()})),"yes"!=c.attr("data-arrow-control")&&t(document).keydown(function(e){switch(e.which){case 38:o();break;case 40:n();break;default:return;}e.preventDefault()})})});jQuery(document).ready(function(v){"use strict";if(0!=v(".grcs_background_content").length)switch(background_mode){case"image":v(".bg-image").vegas({slides:[{src:background_image_image}],delay:10,transitionDuration:10,timer:!1});break;case"slider":v(".grcs_background_content .bg-image").vegas({slides:background_slider_slides,transition:background_slider_transition,delay:background_slider_timeout,transitionDuration:background_slider_transition_duration,firstTransitionDuration:1,timer:!1,walk:function(){v(".grcs_text_slider").cycle("next")}});break;case"kenburns":v(".grcs_background_content .bg-image").vegas({slides:background_kenburns_slides,transition:background_kenburns_transition,delay:background_kenburns_timeout,transitionDuration:background_kenburns_transition_duration,firstTransitionDuration:1,timer:!1,animation:background_kenburns_effect,walk:function(){v(".grcs_text_slider").cycle("next")}});break;case"youtube":!function(){if(jQuery.browser.mobile)v(".grcs_background_content .bg-image").vegas({slides:[{src:background_youtube_fallback_image}],delay:100,transitionDuration:100,timer:!1});else{1==background_youtube_controls&&v("body").append("
"),1==background_youtube_sound?background_youtube_sound=0:(background_youtube_sound=1,v(".grcs_youtube_controls .volume-button").removeClass("fa-volume-up").addClass("fa-volume-off")),v(".grcs_background_content .bg-video").append("
"),v("#bg-youtube").attr("data-property","{videoURL:background_youtube_url,containment:\".bg-video\",autoPlay:true,mute:background_youtube_sound,startAt: background_youtube_start_point,stopAt: background_youtube_end_point,opacity:1,stopMovieOnBlur:false,showControls:false,loop:true}"),v(".player").mb_YTPlayer(),v(".grcs_youtube_controls .volume-button").click(function(){v("#bg-youtube").hasClass("isMuted")?(v("#bg-youtube").YTPUnmute(),v(".grcs_youtube_controls .volume-button").removeClass("fa-volume-off").addClass("fa-volume-up")):(v("#bg-youtube").YTPMute(),v(".grcs_youtube_controls .volume-button").removeClass("fa-volume-up").addClass("fa-volume-off"))});var e=!0;v("#bg-youtube").on("YTPPause",function(){e=!1}),v("#bg-youtube").on("YTPPlay",function(){e=!0}),v(".grcs_youtube_controls .pause-button").click(function(){1==e?(v("#bg-youtube").YTPPause(),v(".grcs_youtube_controls .pause-button").removeClass("ti-control-pause").addClass("ti-control-play")):(v("#bg-youtube").YTPPlay(),v(".grcs_youtube_controls .pause-button").removeClass("ti-control-play").addClass("ti-control-pause"))}),v("#bg-youtube").on("YTPReady",function(){setTimeout(function(){v("#bg-youtube").YTPPlay()},500)})}}();break;case"color":v(".grcs_background_content .bg-color").css("background",background_color_color),v(".grcs_background_content .bg-color").css("opacity","1"),v(".grcs_background_content .bg-pattern").remove(),v(".grcs_background_content .bg-overlay").remove();break;case"gradient":!function(){function e(e){e=e.replace("#","");var t=parseInt(e,16);return[255&t>>16,255&t>>8,255&t]}var t=[e(background_gradient_color_1),e(background_gradient_color_2),e(background_gradient_color_3),e(background_gradient_color_4),e(background_gradient_color_5),e(background_gradient_color_6)],n=0,r=v(".grcs_background_content .bg-color"),o=[0,1,2,3],s=parseFloat(background_gradient_speed)/4e4;setInterval(function(){var i=t[o[0]],l=t[o[1]],a=t[o[2]],d=t[o[3]],e=1-n,p="rgb("+Math.round(e*i[0]+n*l[0])+","+Math.round(e*i[1]+n*l[1])+","+Math.round(e*i[2]+n*l[2])+")",c="rgb("+Math.round(e*a[0]+n*d[0])+","+Math.round(e*a[1]+n*d[1])+","+Math.round(e*a[2]+n*d[2])+")";r.css({background:"-webkit-gradient(linear, left top, right top, from("+p+"), to("+c+"))"}).css({background:"-moz-linear-gradient(left, "+p+" 0%, "+c+" 100%)"}),1<=(n+=s)&&(n%=1,o[0]=o[1],o[2]=o[3],o[1]=(o[1]+Math.floor(1+Math.random()*(t.length-1)))%t.length,o[3]=(o[3]+Math.floor(1+Math.random()*(t.length-1)))%t.length)},1),v(".grcs_background_content .bg-color").css("opacity","1"),v(".grcs_background_content .bg-pattern").remove(),v(".grcs_background_content .bg-overlay").remove()}();break;case"sphere":!function(){function a(){var e=v(".grcs_background_content .level-1").width(),t=v(".grcs_background_content .level-1").height();d=t/2,p.aspect=e/t,p.updateProjectionMatrix(),h.setSize(e,t)}function s(e){n=e.clientX-l,o=e.clientY-d}v(".grcs_background_content .bg-overlay").remove(),v(".grcs_background_content .bg-pattern").remove();var p,c,h,y=v(".grcs_background_content .level-1").width(),u=v(".grcs_background_content .level-1").height(),n=0,o=0,l=y/2,d=u/2;!function(){var e,t;e=document.createElement("div"),document.getElementById("canvas").appendChild(e),(p=new THREE.PerspectiveCamera(75,y/u,1,1e4)).position.z=10*background_sphere_distance,c=new THREE.Scene,(h=new THREE.CanvasRenderer).setPixelRatio(window.devicePixelRatio),h.setSize(y,u),e.appendChild(h.domElement),h.setClearColor(background_sphere_background_color);for(var r=2*Math.PI,l=new THREE.SpriteCanvasMaterial({color:background_sphere_dot_color,program:function(e){e.beginPath(),e.arc(0,0,.5,0,r,!0),e.fill()}}),f=0;1e3>f;f++)(t=new THREE.Sprite(l)).position.x=2*Math.random()-1,t.position.y=2*Math.random()-1,t.position.z=2*Math.random()-1,t.position.normalize(),t.position.multiplyScalar(10*Math.random()+450),t.scale.multiplyScalar(2),c.add(t);for(f=0;300>f;f++){var v=new THREE.Geometry,n=new THREE.Vector3(2*Math.random()-1,2*Math.random()-1,2*Math.random()-1);n.normalize(),n.multiplyScalar(450),v.vertices.push(n);var o=n.clone();o.multiplyScalar(.3*Math.random()+1),v.vertices.push(o);var d=new THREE.Line(v,new THREE.LineBasicMaterial({color:background_sphere_line_color,opacity:Math.random()}));c.add(d)}document.addEventListener("mousemove",s,!1),window.addEventListener("resize",a,!1)}(),function e(){requestAnimationFrame(e),p.position.x+=.05*(n-p.position.x),p.position.y+=.05*(200-o-p.position.y),p.lookAt(c.position),c.rotation.y+=background_sphere_rotation_speed/1e4,h.render(c,p)}()}();break;case"waves":!function(){function s(){var e=v(".grcs_background_content .level-1").width(),t=v(".grcs_background_content .level-1").height();S=e/2,A=t/2,y.aspect=e/t,y.updateProjectionMatrix(),T.setSize(e,t)}function u(e){h=e.clientX-S,P=e.clientY-A}v(".grcs_background_content .bg-overlay").remove(),v(".grcs_background_content .bg-pattern").remove();var g,y,x,T,w,_,f=background_waves_dot_spacing,a=background_waves_dot_amount_x,t=background_waves_dot_amount_y,C=v(".grcs_background_content .level-1").width(),c=v(".grcs_background_content .level-1").height(),n=0,h=0,P=0,S=C/2,A=c/2;!function(){g=document.createElement("div"),document.getElementById("canvas").appendChild(g),(y=new THREE.PerspectiveCamera(75,C/c,1,1e4)).position.z=100*background_waves_distance,x=new THREE.Scene,w=[];for(var e=2*Math.PI,o=new THREE.SpriteCanvasMaterial({color:background_waves_dot_color,program:function(t){t.beginPath(),t.arc(0,0,.5,0,e,!0),t.fill()}}),i=0,r=0;r").addClass(s.settings.divclass),s.wrapper.appendTo(s.el),s.starz=e("canvas",s.el),s.starz[0].getContext&&(s.context=s.starz[0].getContext("2d"),p=!0),s.context.canvas.width=s.w,s.context.canvas.height=s.h,function(){if(p){s.x=Math.round(s.w/2),s.y=Math.round(s.h/2),s.z=(s.w+s.h)/2,s.star_color_ratio=1/s.z,s.cursor_x=s.x,s.cursor_y=s.y;for(var e=0;e>4,this.star[e][0]>this.x<<1&&(this.star[e][0]-=this.w<<1,this.test=!1),this.star[e][0]<-this.x<<1&&(this.star[e][0]+=this.w<<1,this.test=!1),this.star[e][1]+=this.mouse_y>>4,this.star[e][1]>this.y<<1&&(this.star[e][1]-=this.h<<1,this.test=!1),this.star[e][1]<-this.y<<1&&(this.star[e][1]+=this.h<<1,this.test=!1),this.star[e][2]-=this.star_speed,this.star[e][2]>this.z&&(this.star[e][2]-=this.z,this.test=!1),0>this.star[e][2]&&(this.star[e][2]+=this.z,this.test=!1),this.star[e][3]=this.x+this.star[e][0]/this.star[e][2]*this.star_ratio,this.star[e][4]=this.y+this.star[e][1]/this.star[e][2]*this.star_ratio,0=v(".grcs_background_content .level-1 #canvas").offset().top&&(v(".grcs_background_content .level-1 #canvas").css({WebkitTransition:"all .4s",transition:"all .4s"}),v(".grcs_background_content .level-1 #canvas").css("background",background_abstract_background_color),clearInterval(P))},50),S=background_abstract_shader_width/100,A=1.8,I=background_abstract_width_expansion,h=background_abstract_move_speed/1e4,l={count:2,xyScalar:1,zOffset:100,ambient:"#fff",diffuse:"#b3b3b3",speed:2e-4,gravity:500,dampening:.95,minLimit:10,maxLimit:null,minDistance:20,maxDistance:400,autopilot:!0,draw:!1,bounds:FSS.Vector3.create(),step:FSS.Vector3.create(Math.randomInRange(.2,1),Math.randomInRange(.2,1),Math.randomInRange(.2,1))},C=Date.now(),y=FSS.Vector3.create(),p=FSS.Vector3.create(),c=document.getElementById("canvas"),w=document.getElementById("canvas");if(g=new FSS.CanvasRenderer,n&&w.removeChild(n.element),(n=g).setSize(c.offsetWidth,c.offsetHeight),w.appendChild(n.element),m=new FSS.Scene,t(),function(){var e,t;for(e=m.lights.length-1;0<=e;e--)t=m.lights[e],m.remove(t);for(n.clear(),e=0;e=e;e++)x.beginPath(),k?(x.moveTo(0,randomize(canvas.height+10)),k=!1):(x.moveTo(randomize(canvas.width+10),0),k=!0),x.lineTo(randomize(canvas.width+50),randomize(canvas.height+50)),x.lineTo(randomize(canvas.width+50),randomize(canvas.height+50)),x.fillStyle=getRndColor(),x.fill()},5e3)}}();break;case"glitch":e="background-image: url('"+background_glitch_image+"')",v(".grcs_background_content .level-2 .bg-image").append("
"),v(".grcs_background_content .glitch-img").mgGlitch({destroy:!1,glitch:!0,scale:!!background_glitch_scale_toggle,blend:!0,blendModeType:"hue",glitch1TimeMin:600,glitch1TimeMax:900,glitch2TimeMin:10,glitch2TimeMax:115,zIndexStart:8});break;case"rain":!function(){var t=v("#canvas canvas")[0];if(v("#canvas canvas").css("background",background_rain_background_color),t.width=window.innerWidth,t.height=window.innerHeight,t.getContext){var n=t.getContext("2d"),o=t.width,i=t.height;n.strokeStyle=background_rain_color,n.lineWidth=background_rain_thickness,n.lineCap="round";for(var r=[],a=background_rain_amount,s=0;so||t.y>i)&&(t.x=Math.random()*o,t.y=-20)}()},26)}}();break;case"skyfall":!function(){function t(e,t){return Math.random()*(t-e)+e}function a(){}v("#canvas canvas").attr("id","skyfallCanvas");var n=document.getElementById("skyfallCanvas"),o=n.getContext("2d"),r=n.width=window.innerWidth,s=n.height=window.innerHeight,l=background_skyfall_amount,d=function(e){e=e.replace("#","");var t=parseInt(e,16);return(255&t>>16)+","+(255&t>>8)+","+(255&t)}(background_skyfall_color),e=[];a.prototype={init:function(){this.x=t(0,r),this.y=0,this.color="rgb("+d+")",this.w=2,this.h=1,this.vy=t(4,5),this.vw=3,this.vh=1,this.size=2,this.hit=t(.8*s,.9*s),this.a=1,this.va=.96},draw:function(){this.y>this.hit?(o.beginPath(),o.moveTo(this.x,this.y-this.h/2),o.bezierCurveTo(this.x+this.w/2,this.y-this.h/2,this.x+this.w/2,this.y+this.h/2,this.x,this.y+this.h/2),o.bezierCurveTo(this.x-this.w/2,this.y+this.h/2,this.x-this.w/2,this.y-this.h/2,this.x,this.y-this.h/2),o.strokeStyle="rgba("+d+","+this.a+")",o.stroke(),o.closePath()):(o.fillStyle=this.color,o.fillRect(this.x,this.y,this.size,5*this.size)),this.update()},update:function(){this.y>>0,o=0|arguments[1],i=0>o?Math.max(n+o,0):Math.min(o,n),r=arguments[2],s=void 0===r?n:0|r,l=0>s?Math.max(n+s,0):Math.min(s,n);i>16)+","+(255&t>>8)+","+(255&t)}(background_galaxy_background_color),i=function(e){return Math.random()*e},r=Array(background_galaxy_star_amount).fill().map(function(){return{r:i(n),s:i(.01),a:i(2*Math.PI)}});!function e(){v.fillStyle="rgba("+o+",.1)",v.fillRect(0,0,n,a),r.forEach(function(e){e.a+=e.s,v.save(),v.beginPath(),v.translate(n/2,a/2),v.rotate(e.a),v.arc(e.r,e.r,background_galaxy_star_thickness,0,2*Math.PI),v.closePath(),v.fillStyle=background_galaxy_star_color,v.fill(),v.restore()}),requestAnimationFrame(e)}(),window.addEventListener("resize",function(){n=t.width=window.innerWidth,a=t.height=window.innerHeight})}();break;case"custom":break;default:alert("Error! No background is set or something went wrong");}var e});/*custom*/!function(){function b(b,c){const d=a[b][c%a[b].length];j.style.backgroundPosition=`${32*d[0]}px ${32*d[1]}px`}function f(){v=null,w=0}function g(){q+=1;const a=e-m,c=k-p,d=Math.sqrt(a**2+c**2);if(dd)!function(){switch(u+=1,10w){b("tired",0);break}b("sleeping",Math.floor(w/4)),192c/d?"S":"",direction+=.5a/d?"E":"",b(direction,q),e-=a/d*x,k-=c/d*x,j.style.left=e-16+"px",j.style.top=k-16+"px"}}const j=document.createElement("div");let e=32,k=32,m=0,p=0,q=0,u=0,v=null,w=0;const x=10,a={idle:[[-3,-3]],alert:[[-7,-3]],scratch:[[-5,0],[-6,0],[-7,0]],tired:[[-3,-2]],sleeping:[[-2,0],[-2,-1]],N:[[-1,-2],[-1,-3]],NE:[[0,-2],[0,-3]],E:[[-3,0],[-3,-1]],SE:[[-5,-1],[-5,-2]],S:[[-6,-3],[-7,-2]],SW:[[-5,-3],[-6,-1]],W:[[-4,-2],[-4,-3]],NW:[[-1,0],[-1,-1]]};j.id="cat",j.style.width="32px",j.style.height="32px",j.style.position="fixed",j.style.backgroundImage="url('assets/img/cat.gif')",j.style.imageRendering="pixelated",j.style.left="16px",j.style.top="16px",document.body.appendChild(j),document.onmousemove=a=>{m=a.clientX,p=a.clientY},window.catInterval=setInterval(g,100)}();/*original-script-oneko*/function setClipboard(e){var o=document.createElement("input");o.style="position: absolute; left: -1000px; top: -1000px",o.value=e,document.body.appendChild(o),o.select(),document.execCommand("copy"),document.body.removeChild(o),alert("Discord Username Copied")}/*discord*/const POPUP_TIMEOUT_MS=8e3,timeout=setTimeout(function(){document.getElementById("popup").style.display="block",document.getElementById("subscribeBtn").addEventListener("click",function(){window.location.href="https://www.youtube.com/channel/UCXucwi4swKyTmCUB9RrFaQw?sub_confirmation=1"}),document.getElementById("closeBtn").addEventListener("click",function(){document.getElementById("popup").style.display="none"})},8e3);/*popup*/const background_mode="glitch",background_glitch_image="assets/img/3ncrpyt3d.webp",background_glitch_scale_toggle="1",background_parallax_effect_toggle="1",background_parallax_effect_friction_x=0.86,background_parallax_effect_friction_y=0.86,background_parallax_effect_invert="1",background_particle_effect_toggle="1",background_particle_effect_activation_radius=250,background_particle_effect_particle_amount=280,background_particle_effect_particle_speed=10,background_particle_effect_particle_color="rgba(255,255,255,0.65)",background_particle_effect_line_color="rgba(255,255,255,0.65)"; +!function(e,n){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(e)}("undefined"==typeof window?this:window,function(ie,i){"use strict";function j(n,o,e){var i,d,c=(e=e||r).createElement("script");if(c.text=n,o)for(i in a)(d=o[i]||o.getAttribute&&o.getAttribute(i))&&c.setAttribute(i,d);e.head.appendChild(c).parentNode.removeChild(c)}function L(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?st[n.call(e)]||"object":typeof e}function m(n){var a=!!n&&"length"in n&&n.length,e=L(n);return!pt(n)&&!ut(n)&&("array"===e||0===a||"number"==typeof a&&0=(1-l)*(1-(l=c()/p||.5))&&(d=0),g/=l;g*=2,gt.style(a,n,g+u),e=e||[]}return e&&(g=+g||+p||0,i=e[1]?g+(e[1]+1)*e[2]:+e[2],o&&(o.unit=u,o.start=g,o.end=i)),i}function W(a,n){for(var e,o,i,r,s,d,c,u=[],f=0,b=a.length;fi;i+=2)"margin"===e&&(c+=gt.css(a,e+E[i],!0,n)),t?("content"===e&&(c-=gt.css(a,"padding"+E[i],!0,n)),"margin"!==e&&(c-=gt.css(a,"border"+E[i]+"Width",!0,n))):(c+=gt.css(a,"padding"+E[i],!0,n),"padding"===e?d+=gt.css(a,"border"+E[i]+"Width",!0,n):c+=gt.css(a,"border"+E[i]+"Width",!0,n));return!t&&0<=r&&(c+=Math.max(0,Math.ceil(a["offset"+s[0].toUpperCase()+s.slice(1)]-r-c-d-.5))||0),c}function Oe(a,o,e){var t=ge(a),n=(!ct.boxSizingReliable()||e)&&"border-box"===gt.css(a,"boxSizing",!1,t),i=n,s=Se(a,o,t),d="offset"+o[0].toUpperCase()+o.slice(1);if(ue.test(s)){if(!e)return s;s="auto"}return(!ct.boxSizingReliable()&&n||!ct.reliableTrDimensions()&&x(a,"tr")||"auto"===s||!parseFloat(s)&&"inline"===gt.css(a,"display",!1,t))&&a.getClientRects().length&&(n="border-box"===gt.css(a,"boxSizing",!1,t),(i=d in a)&&(s=a[d])),(s=parseFloat(s)||0)+Pe(a,o,e||(n?"border":"content"),i,t,s)+"px"}function Ne(i,a,e,t,n){return new Ne.prototype.init(i,a,e,t,n)}function Re(){We&&(!1===r.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(Re):ie.setTimeout(Re,gt.fx.interval),gt.fx.tick())}function Le(){return ie.setTimeout(function(){Fe=void 0}),Fe=Date.now()}function $e(t,a){var n,i=0,r={height:t};for(a=a?1:0;4>i;i+=2-a)r["margin"+(n=E[i])]=r["padding"+n]=t;return a&&(r.opacity=r.width=t),r}function Be(a,o,e){for(var t,r=(qe.tweeners[o]||[]).concat(qe.tweeners["*"]),s=0,d=r.length;st&&s?e:(s||u.notifyWith(o,[m,1,0]),u.resolveWith(o,[m]),!1)},m=u.promise({elem:o,props:gt.extend({},i),opts:gt.extend(!0,{specialEasing:{},easing:gt.easing._default},e),originalProperties:i,originalOptions:e,startTime:Fe||Le(),duration:e.duration,tweens:[],createTween:function(a,e){var t=gt.Tween(o,m.opts,a,e,m.opts.specialEasing[a]||m.opts.easing);return m.tweens.push(t),t},stop:function(n){var e=0,i=n?m.tweens.length:0;if(d)return this;for(d=!0;ee?this[e+this.length]:this[e]},pushStack:function(t){var a=gt.merge(this.constructor(),t);return a.prevObject=this,a},each:function(e){return gt.each(this,e)},map:function(n){return this.pushStack(gt.map(this,function(a,e){return n.call(a,e,a)}))},slice:function(){return this.pushStack(nt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(gt.grep(this,function(t,a){return(a+1)%2}))},odd:function(){return this.pushStack(gt.grep(this,function(t,a){return a%2}))},eq:function(n){var a=this.length,e=+n+(0>n?a:0);return this.pushStack(0<=e&&e_.cacheLength&&delete a[o.shift()],a[e+" "]=t}}function o(e){return e[se]=!0,e}function i(t){var a=V.createElement("fieldset");try{return!!t(a)}catch(e){return!1}finally{a.parentNode&&a.parentNode.removeChild(a),a=null}}function e(o,a){for(var e=o.split("|"),t=e.length;t--;)_.attrHandle[e[t]]=a}function n(n,a){var e=a&&n,i=e&&1===n.nodeType&&1===a.nodeType&&n.sourceIndex-a.sourceIndex;if(i)return i;if(e)for(;e=e.nextSibling;)if(e===a)return-1;return n?1:-1}function r(t){return function(a){return"input"===a.nodeName.toLowerCase()&&a.type===t}}function s(n){return function(a){var e=a.nodeName.toLowerCase();return("input"===e||"button"===e)&&a.type===n}}function l(t){return function(a){return"form"in a?a.parentNode&&!1===a.disabled?"label"in a?"label"in a.parentNode?a.parentNode.disabled===t:a.disabled===t:a.isDisabled===t||a.isDisabled!==!t&&ie(a)===t:a.disabled===t:"label"in a&&a.disabled===t}}function d(a){return o(function(i){return i=+i,o(function(e,t){for(var n,s=a([],e.length,i),l=s.length;l--;)e[n=s[l]]&&(e[n]=!(t[n]=e[n]))})})}function c(e){return e&&void 0!==e.getElementsByTagName&&e}function p(){}function u(t){for(var a=0,i=t.length,o="";a+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,$=/[\x20\t\r\n\f]|>/,z={ID:/^#((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)/,CLASS:/^\.((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)/,TAG:/^((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+))|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},U=/^[^{]+\{\s*\[native \w/,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=/\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\([^\r\n\f])/g,ee=function(n,a){var e="0x"+n.slice(1)-65536;return a||(0>e?String.fromCharCode(e+65536):String.fromCharCode(55296|e>>10,56320|1023&e))},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(t,a){return a?"\0"===t?"\uFFFD":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},re=function(){M()},ie=y(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{q.apply(_e=Ye.call(le.childNodes),le.childNodes),_e[le.childNodes.length].nodeType}catch(t){q={apply:_e.length?function(t,a){Ie.apply(t,Ye.call(a))}:function(n,a){for(var e=n.length,i=0;n[e++]=a[i++];);n.length=e-1}}}for(g in h=v.support={},I=v.isXML=function(n){var a=n.namespaceURI,e=(n.ownerDocument||n).documentElement;return!/HTML$/i.test(a||e&&e.nodeName||"HTML")},M=v.setDocument=function(t){var a,r,l=t?t.ownerDocument||t:le;return l!=V&&9===l.nodeType&&l.documentElement&&(H=(V=l).documentElement,W=!I(V),le!=V&&(r=V.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",re,!1):r.attachEvent&&r.attachEvent("onunload",re)),h.scope=i(function(e){return H.appendChild(e).appendChild(V.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),h.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=i(function(e){return e.appendChild(V.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=U.test(V.getElementsByClassName),h.getById=i(function(e){return H.appendChild(e).id=se,!V.getElementsByName||!V.getElementsByName(se).length}),h.getById?(_.filter.ID=function(e){var n=e.replace(Z,ee);return function(e){return e.getAttribute("id")===n}},_.find.ID=function(n,a){if(void 0!==a.getElementById&&W){var e=a.getElementById(n);return e?[e]:[]}}):(_.filter.ID=function(e){var n=e.replace(Z,ee);return function(a){var t=void 0!==a.getAttributeNode&&a.getAttributeNode("id");return t&&t.value===n}},_.find.ID=function(n,a){if(void 0!==a.getElementById&&W){var e,o,i,r=a.getElementById(n);if(r){if((e=r.getAttributeNode("id"))&&e.value===n)return[r];for(i=a.getElementsByName(n),o=0;r=i[o++];)if((e=r.getAttributeNode("id"))&&e.value===n)return[r]}return[]}}),_.find.TAG=h.getElementsByTagName?function(t,a){return void 0===a.getElementsByTagName?h.qsa?a.querySelectorAll(t):void 0:a.getElementsByTagName(t)}:function(n,a){var e,o=[],i=0,s=a.getElementsByTagName(n);if("*"===n){for(;e=s[i++];)1===e.nodeType&&o.push(e);return o}return s},_.find.CLASS=h.getElementsByClassName&&function(t,a){if(void 0!==a.getElementsByClassName&&W)return a.getElementsByClassName(t)},Q=[],X=[],(h.qsa=U.test(V.querySelectorAll))&&(i(function(t){var a;H.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&X.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||X.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)"),t.querySelectorAll("[id~="+se+"-]").length||X.push("~="),(a=V.createElement("input")).setAttribute("name",""),t.appendChild(a),t.querySelectorAll("[name='']").length||X.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||X.push(":checked"),t.querySelectorAll("a#"+se+"+*").length||X.push(".#.+[+~]"),t.querySelectorAll("\\\f"),X.push("[\\r\\n\\f]")}),i(function(t){t.innerHTML="";var a=V.createElement("input");a.setAttribute("type","hidden"),t.appendChild(a).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&X.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&X.push(":enabled",":disabled"),H.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&X.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),X.push(",.*:")})),(h.matchesSelector=U.test(J=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&i(function(e){h.disconnectedMatch=J.call(e,"*"),J.call(e,"[s!='']:x"),Q.push("!=",":((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}),X=X.length&&new RegExp(X.join("|")),Q=Q.length&&new RegExp(Q.join("|")),a=U.test(H.compareDocumentPosition),ae=a||U.test(H.contains)?function(o,a){var e=9===o.nodeType?o.documentElement:o,t=a&&a.parentNode;return o===t||t&&1===t.nodeType&&(e.contains?e.contains(t):o.compareDocumentPosition&&16&o.compareDocumentPosition(t))}:function(t,a){if(a)for(;a=a.parentNode;)if(a===t)return!0;return!1},k=a?function(a,n){if(a===n)return j=!0,0;var e=!a.compareDocumentPosition-!n.compareDocumentPosition;return e||(1&(e=(a.ownerDocument||a)==(n.ownerDocument||n)?a.compareDocumentPosition(n):1)||!h.sortDetached&&n.compareDocumentPosition(a)===e?a==V||a.ownerDocument==le&&ae(le,a)?-1:n==V||n.ownerDocument==le&&ae(le,n)?1:F?Oe(F,a)-Oe(F,n):0:4&e?-1:1)}:function(r,s){if(r===s)return j=!0,0;var e,d=0,c=r.parentNode,p=s.parentNode,i=[r],o=[s];if(!c||!p)return r==V?-1:s==V?1:c?-1:p?1:F?Oe(F,r)-Oe(F,s):0;if(c===p)return n(r,s);for(e=r;e=e.parentNode;)i.unshift(e);for(e=s;e=e.parentNode;)o.unshift(e);for(;i[d]===o[d];)d++;return d?n(i[d],o[d]):i[d]==le?-1:o[d]==le?1:0}),V},v.matches=function(t,a){return v(t,null,null,a)},v.matchesSelector=function(t,n){if(M(t),h.matchesSelector&&W&&!S[n+" "]&&(!Q||!Q.test(n))&&(!X||!X.test(n)))try{var a=J.call(t,n);if(a||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return a}catch(e){S(n,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||v.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&v.error(e[0]),e},PSEUDO:function(t){var a,n=!t[6]&&t[2];return z.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&/:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\0-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/.test(n)&&(a=Y(n,!0))&&(a=n.indexOf(")",n.length-a)-n.length)&&(t[0]=t[0].slice(0,a),t[2]=n.slice(0,a)),t.slice(0,3))}},filter:{TAG:function(e){var n=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===n}},CLASS:function(e){var n=ce[e+" "];return n||(n=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"([\\x20\\t\\r\\n\\f]|$)"))&&ce(e,function(e){return n.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,a,e){return function(t){var n=v.attr(t,i);return null==n?"!="===a:!a||(n+="","="===a?n===e:"!="===a?n!==e:"^="===a?e&&0===n.indexOf(e):"*="===a?e&&-1e.nodeType)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return /^h\d$/i.test(e.nodeName)},input:function(e){return /^(?:input|select|textarea|button)$/i.test(e.nodeName)},button:function(t){var a=t.nodeName.toLowerCase();return"input"===a&&"button"===t.type||"button"===a},text:function(t){var a;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(a=t.getAttribute("type"))||"text"===a.toLowerCase())},first:d(function(){return[0]}),last:d(function(t,a){return[a-1]}),eq:d(function(n,a,e){return[0>e?e+a:e]}),even:d(function(n,a){for(var e=0;ee?e+a:ae?e+a:e;++t:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;gt.filter=function(e,i,o){var t=i[0];return o&&(e=":not("+e+")"),1===i.length&&1===t.nodeType?gt.find.matchesSelector(t,e)?[t]:[]:gt.find.matches(e,gt.grep(i,function(e){return 1===e.nodeType}))},gt.fn.extend({find:function(t){var a,n,i=this.length,s=this;if("string"!=typeof t)return this.pushStack(gt(t).filter(function(){for(a=0;a"===t[t.length-1]&&3<=t.length?[null,t,null]:/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/.exec(t))||!i[1]&&a)return!a||a.jquery?(a||n).find(t):this.constructor(a).find(t);if(i[1]){if(a=a instanceof gt?a[0]:a,gt.merge(this,gt.parseHTML(i[1],a&&a.nodeType?a.ownerDocument||a:r,!0)),u.test(i[1])&>.isPlainObject(a))for(i in a)pt(this[i])?this[i](a[i]):this.attr(i,a[i]);return this}return(l=r.getElementById(i[2]))&&(this[0]=l,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):pt(t)?void 0===n.ready?t(gt):n.ready(t):gt.makeArray(t,this)}).prototype=gt.fn,g=gt(r);var f={children:!0,contents:!0,next:!0,prev:!0};gt.fn.extend({has:function(e){var a=gt(e,this),o=a.length;return this.filter(function(){for(var e=0;ee.nodeType&&(i?-1=i&&(t(n,r.done(o(s)).resolve,r.reject,!i),"pending"===r.state()||pt(l[s]&&l[s].then)))return r.then();for(;s--;)t(l[s],o(s),r.reject);return r.promise()}}),gt.Deferred.exceptionHook=function(a,e){ie.console&&ie.console.warn&&a&&/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/.test(a.name)&&ie.console.warn("jQuery.Deferred exception: "+a.message,a.stack,e)},gt.readyException=function(t){ie.setTimeout(function(){throw t})};var h=gt.Deferred();gt.fn.ready=function(e){return h.then(e).catch(function(e){gt.readyException(e)}),this},gt.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--gt.readyWait:gt.isReady)||(gt.isReady=!0)!==e&&0<--gt.readyWait||h.resolveWith(r,[gt])}}),gt.ready.then=h.then,"complete"!==r.readyState&&("loading"===r.readyState||r.documentElement.doScroll)?(r.addEventListener("DOMContentLoaded",O),ie.addEventListener("load",O)):ie.setTimeout(gt.ready);var v=function(t,a,i,s,n,l,d){var c=0,p=t.length,g=null==i;if("object"===L(i))for(c in n=!0,i)v(t,a,c,i[c],!0,l,d);else if(void 0!==s&&(n=!0,pt(s)||(d=!0),g&&(d?(a.call(t,s),a=null):(g=a,a=function(n,a,e){return g.call(gt(n),e)})),a))for(;c\x20\t\r\n\f]*)/i,ae=/^$|^module$|\/(?:java|ecma)script/i;H=r.createDocumentFragment().appendChild(r.createElement("div")),(Q=r.createElement("input")).setAttribute("type","radio"),Q.setAttribute("checked","checked"),Q.setAttribute("name","t"),H.appendChild(Q),ct.checkClone=H.cloneNode(!0).cloneNode(!0).lastChild.checked,H.innerHTML="",ct.noCloneChecked=!!H.cloneNode(!0).lastChild.defaultValue,H.innerHTML="",ct.option=!!H.lastChild;var ne={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ne.tbody=ne.tfoot=ne.colgroup=ne.caption=ne.thead,ne.th=ne.td,ct.option||(ne.optgroup=ne.option=[1,""]);var oe=/<|&#?\w+;/,re=/^([^.]*)(?:\.(.+)|)/;gt.event={global:{},add:function(t,a,n,o,i){var s,l,d,c,p,u,g,m,f,h,v,x=ht.get(t);if(ft(t))for(n.handler&&(n=(s=n).handler,i=s.selector),i&>.find.matchesSelector($,i),n.guid||(n.guid=gt.guid++),(c=x.events)||(c=x.events=Object.create(null)),(l=x.handle)||(l=x.handle=function(a){return void 0!==gt&>.event.triggered!==a.type?gt.event.dispatch.apply(t,arguments):void 0}),p=(a=(a||"").match(mt)||[""]).length;p--;)f=v=(d=re.exec(a[p])||[])[1],h=(d[2]||"").split(".").sort(),f&&(g=gt.event.special[f]||{},f=(i?g.delegateType:g.bindType)||f,g=gt.event.special[f]||{},u=gt.extend({type:f,origType:v,data:o,handler:n,guid:n.guid,selector:i,needsContext:i&>.expr.match.needsContext.test(i),namespace:h.join(".")},s),(m=c[f])||((m=c[f]=[]).delegateCount=0,g.setup&&!1!==g.setup.call(t,o,h,l)||t.addEventListener&&t.addEventListener(f,l)),g.add&&(g.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?m.splice(m.delegateCount++,0,u):m.push(u),gt.event.global[f]=!0)},remove:function(t,a,o,s,n){var r,l,d,c,p,u,g,m,f,h,y,v=ht.hasData(t)&&ht.get(t);if(v&&(c=v.events)){for(p=(a=(a||"").match(mt)||[""]).length;p--;)if(f=y=(d=re.exec(a[p])||[])[1],h=(d[2]||"").split(".").sort(),f){for(g=gt.event.special[f]||{},m=c[f=(s?g.delegateType:g.bindType)||f]||[],d=d[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=m.length;r--;)u=m[r],!n&&y!==u.origType||o&&o.guid!==u.guid||d&&!d.test(u.namespace)||s&&s!==u.selector&&("**"!==s||!u.selector)||(m.splice(r,1),u.selector&&m.delegateCount--,g.remove&&g.remove.call(t,u));l&&!m.length&&(g.teardown&&!1!==g.teardown.call(t,h,v.handle)||gt.removeEvent(t,f,v.handle),delete c[f])}else for(f in c)gt.event.remove(t,f+a[p],o,s,!0);gt.isEmptyObject(c)&&ht.remove(t,"handle events")}},dispatch:function(t){var a,n,o,i,r,d,c=Array(arguments.length),y=gt.event.fix(t),s=(ht.get(this,"events")||Object.create(null))[y.type]||[],u=gt.event.special[y.type]||{};for(c[0]=y,a=1;a\s*$/g;gt.extend({htmlPrefilter:function(e){return e},clone:function(a,o,e){var t,i,r,s,l,d,u,f=a.cloneNode(!0),v=N(a);if(!(ct.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||gt.isXMLDoc(a)))for(s=U(f),t=0,i=(r=U(a)).length;tgt.inArray(this,n)&&(gt.cleanData(U(this)),e&&e.replaceChild(a,this))},n)}}),gt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){gt.fn[e]=function(a){for(var t,s=[],l=gt(a),r=l.length-1,i=0;i<=r;i++)t=i==r?this:this.clone(!0),gt(l[i])[n](t),it.apply(s,t.get());return this.pushStack(s)}});var ue=new RegExp("^("+_+")(?!px)[a-z%]+$","i"),ge=function(a){var e=a.ownerDocument.defaultView;return e&&e.opener||(e=ie),e.getComputedStyle(a)},me=function(o,a,e){var t,i,r={};for(i in a)r[i]=o.style[i],o.style[i]=a[i];for(i in t=e.call(o),a)o.style[i]=r[i];return t},he=new RegExp(E.join("|"),"i");!function(){function t(){if(v){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",v.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",$.appendChild(h).appendChild(v);var t=ie.getComputedStyle(v);o="1%"!==t.top,u=12===a(t.marginLeft),v.style.right="60%",d=36===a(t.right),i=36===a(t.width),v.style.position="absolute",s=12===a(v.offsetWidth/3),$.removeChild(h),v=null}}function a(e){return Math.round(parseFloat(e))}var o,i,s,d,c,u,h=r.createElement("div"),v=r.createElement("div");v.style&&(v.style.backgroundClip="content-box",v.cloneNode(!0).style.backgroundClip="",ct.clearCloneStyle="content-box"===v.style.backgroundClip,gt.extend(ct,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),d},pixelPosition:function(){return t(),o},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),s},reliableTrDimensions:function(){var t,n,i,l;return null==c&&(t=r.createElement("table"),n=r.createElement("tr"),i=r.createElement("div"),t.style.cssText="position:absolute;left:-11111px",n.style.height="1px",i.style.height="9px",$.appendChild(t).appendChild(n).appendChild(i),l=ie.getComputedStyle(n),c=3t;t++)r[o+E[t]+a]=s[t]||s[t-2]||s[0];return r}},"margin"!==o&&(gt.cssHooks[o+a].set=Ee)}),gt.fn.extend({css:function(t,a){return v(this,function(a,i,e){var t,r,s={},l=0;if(Array.isArray(i)){for(t=ge(a),r=i.length;lo.indexOf(" "+r+" ")&&(o+=r+" ");i!==(d=Ve(o))&&n.setAttribute("class",d)}return this},removeClass:function(t){var a,n,o,i,r,s,d,u=0;if(pt(t))return this.each(function(a){gt(this).removeClass(t.call(this,a,He(this)))});if(!arguments.length)return this.attr("class","");if((a=Xe(t)).length)for(;n=this[u++];)if(i=He(n),o=1===n.nodeType&&" "+Ve(i)+" "){for(s=0;r=a[s++];)for(;-1c?a:i?c:0;dx.indexOf(":")&&"on"+x,(t=t[gt.expando]?t:new gt.Event(x,"object"==typeof t&&t)).isTrigger=s?2:3,t.namespace=_.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),a=null==a?[t]:gt.makeArray(a,[t]),f=gt.event.special[x]||{},s||!f.trigger||!1!==f.trigger.apply(n,a))){if(!s&&!f.noBubble&&!ut(n)){for(p=f.delegateType||x,Dt.test(p+x)||(d=d.parentNode);d;d=d.parentNode)v.push(d),c=d;c===(n.ownerDocument||r)&&v.push(c.defaultView||c.parentWindow||ie)}for(l=0;(d=v[l++])&&!t.isPropagationStopped();)h=d,t.type=1t||304===t,o&&(T=function(a,o,e){for(var t,i,r,d,u=a.contents,g=a.dataTypes;"*"===g[0];)g.shift(),void 0===t&&(t=a.mimeType||o.getResponseHeader("Content-Type"));if(t)for(i in u)if(u[i]&&u[i].test(t)){g.unshift(i);break}if(g[0]in e)r=g[0];else{for(i in e){if(!g[0]||a.converters[i+" "+g[0]]){r=i;break}d||(d=i)}r=r||d}return r?(r!==g[0]&&g.unshift(r),e[r]):void 0}(C,N,o)),!a&&-1t&&(t=0))),N.status=t,N.statusText=(m||S)+"",a?E.resolveWith(Y,[v,S,N]):E.rejectWith(Y,[N,S,b]),N.statusCode(y),y=void 0,_&&d.trigger(a?"ajaxSuccess":"ajaxError",[N,C,a?v:b]),g.fireWith(Y,[N,S]),_&&(d.trigger("ajaxComplete",[N,C]),--gt.active||gt.event.trigger("ajaxStop")))}"object"==typeof t&&(a=t,t=void 0),a=a||{};var p,f,h,i,x,n,w,_,s,l,C=gt.ajaxSetup({},a),Y=C.context||C,d=C.context&&(Y.nodeType||Y.jquery)?gt(Y):gt.event,E=gt.Deferred(),g=gt.Callbacks("once memory"),y=C.statusCode||{},c={},u={},b="canceled",N={readyState:0,getResponseHeader:function(t){var a;if(w){if(!i)for(i={};a=/^(.*?):[ \t]*([^\r\n]*)$/gm.exec(h);)i[a[1].toLowerCase()+" "]=(i[a[1].toLowerCase()+" "]||[]).concat(a[2]);a=i[t.toLowerCase()+" "]}return null==a?null:a.join(", ")},getAllResponseHeaders:function(){return w?h:null},setRequestHeader:function(e,t){return null==w&&(e=u[e.toLowerCase()]=u[e.toLowerCase()]||e,c[e]=t),this},overrideMimeType:function(e){return null==w&&(C.mimeType=e),this},statusCode:function(t){if(t)if(w)N.always(t[N.status]);else for(var a in t)y[a]=[y[a],t[a]];return this},abort:function(t){var a=t||b;return p&&p.abort(a),o(0,a),this}};if(E.promise(N),C.url=((t||C.url||bt.href)+"").replace(/^\/\//,bt.protocol+"//"),C.type=a.method||a.type||C.method||C.type,C.dataTypes=(C.dataType||"*").toLowerCase().match(mt)||[""],null==C.crossDomain){n=r.createElement("a");try{n.href=C.url,n.href=n.href,C.crossDomain=Et.protocol+"//"+Et.host!=n.protocol+"//"+n.host}catch(t){C.crossDomain=!0}}if(C.data&&C.processData&&"string"!=typeof C.data&&(C.data=gt.param(C.data,C.traditional)),Je(St,C,a,N),w)return N;for(s in(_=gt.event&&C.global)&&0==gt.active++&>.event.trigger("ajaxStart"),C.type=C.type.toUpperCase(),C.hasContent=!/^(?:GET|HEAD)$/.test(C.type),f=C.url.replace(/#.*$/,""),C.hasContent?C.data&&C.processData&&0===(C.contentType||"").indexOf("application/x-www-form-urlencoded")&&(C.data=C.data.replace(/%20/g,"+")):(l=C.url.slice(f.length),C.data&&(C.processData||"string"==typeof C.data)&&(f+=(Tt.test(f)?"&":"?")+C.data,delete C.data),!1===C.cache&&(f=f.replace(/([?&])_=[^&]*/,"$1"),l=(Tt.test(f)?"&":"?")+"_="+wt.guid++ +l),C.url=f+l),C.ifModified&&(gt.lastModified[f]&&N.setRequestHeader("If-Modified-Since",gt.lastModified[f]),gt.etag[f]&&N.setRequestHeader("If-None-Match",gt.etag[f])),(C.data&&C.hasContent&&!1!==C.contentType||a.contentType)&&N.setRequestHeader("Content-Type",C.contentType),N.setRequestHeader("Accept",C.dataTypes[0]&&C.accepts[C.dataTypes[0]]?C.accepts[C.dataTypes[0]]+("*"===C.dataTypes[0]?"":", */*; q=0.01"):C.accepts["*"]),C.headers)N.setRequestHeader(s,C.headers[s]);if(C.beforeSend&&(!1===C.beforeSend.call(Y,N,C)||w))return N.abort();if(b="abort",g.add(C.complete),N.done(C.success),N.fail(C.error),p=Je(kt,C,a,N)){if(N.readyState=1,_&&d.trigger("ajaxSend",[N,C]),w)return N;C.async&&0").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(t){a.remove(),i=null,t&&e("error"===t.type?404:200,t.type)}),r.head.appendChild(a[0])},abort:function(){i&&i()}}});var $t,Lt=[],Ot=/(=)\?(?=&|$)|\?\?/;gt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Lt.pop()||gt.expando+"_"+wt.guid++;return this[e]=!0,e}}),gt.ajaxPrefilter("json jsonp",function(a,e,t){var n,o,i,s=!1!==a.jsonp&&(Ot.test(a.url)?"url":"string"==typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ot.test(a.data)&&"data");if(s||"jsonp"===a.dataTypes[0])return n=a.jsonpCallback=pt(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,s?a[s]=a[s].replace(Ot,"$1"+n):!1!==a.jsonp&&(a.url+=(Tt.test(a.url)?"&":"?")+a.jsonp+"="+n),a.converters["script json"]=function(){return i||gt.error(n+" was not called"),i[0]},a.dataTypes[0]="json",o=ie[n],ie[n]=function(){i=arguments},t.always(function(){void 0===o?gt(ie).removeProp(n):ie[n]=o,a[n]&&(a.jsonpCallback=e.jsonpCallback,Lt.push(n)),i&&pt(o)&&o(i[0]),i=o=void 0}),"script"}),ct.createHTMLDocument=(($t=r.implementation.createHTMLDocument("").body).innerHTML="
",2===$t.childNodes.length),gt.parseHTML=function(t,a,n){return"string"==typeof t?("boolean"==typeof a&&(n=a,a=!1),a||(ct.createHTMLDocument?((o=(a=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,a.head.appendChild(o)):a=r),c=!n&&[],(i=u.exec(t))?[a.createElement(i[1])]:(i=G([t],a,c),c&&c.length&>(c).remove(),gt.merge([],i.childNodes))):[];var o,i,c},gt.fn.load=function(e,t,o){var n,i,r,s=this,g=e.indexOf(" ");return-1").append(gt.parseHTML(e)).find(n):e)}).always(o&&function(t,a){s.each(function(){o.apply(this,r||[t.responseText,a,t])})}),this},gt.expr.pseudos.animated=function(t){return gt.grep(gt.timers,function(a){return t===a.elem}).length},gt.offset={setOffset:function(t,a,o){var i,r,s,d,p,u,f=gt.css(t,"position"),v=gt(t),l={};"static"===f&&(t.style.position="relative"),p=v.offset(),s=gt.css(t,"top"),u=gt.css(t,"left"),("absolute"===f||"fixed"===f)&&-1<(s+u).indexOf("auto")?(d=(i=v.position()).top,r=i.left):(d=parseFloat(s)||0,r=parseFloat(u)||0),pt(a)&&(a=a.call(t,o,gt.extend({},p))),null!=a.top&&(l.top=a.top-p.top+d),null!=a.left&&(l.left=a.left-p.left+r),"using"in a?a.using.call(t,l):("number"==typeof l.top&&(l.top+="px"),"number"==typeof l.left&&(l.left+="px"),v.css(l))}},gt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(a){gt.offset.setOffset(this,t,a)});var a,n,i=this[0];return i?i.getClientRects().length?(a=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:a.top+n.pageYOffset,left:a.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],l={top:0,left:0};if("fixed"===gt.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===gt.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((l=gt(e).offset()).top+=gt.css(e,"borderTopWidth",!0),l.left+=gt.css(e,"borderLeftWidth",!0))}return{top:t.top-l.top-gt.css(i,"marginTop",!0),left:t.left-l.left-gt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===gt.css(e,"position");)e=e.offsetParent;return e||$})}}),gt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,o){var i="pageYOffset"===o;gt.fn[n]=function(t){return v(this,function(t,n,e){var a;return(ut(t)?a=t:9===t.nodeType&&(a=t.defaultView),void 0===e)?a?a[o]:t[n]:void(a?a.scrollTo(i?a.pageXOffset:e,i?e:a.pageYOffset):t[n]=e)},n,t,arguments.length)}}),gt.each(["top","left"],function(e,n){gt.cssHooks[n]=ke(ct.pixelPosition,function(a,t){if(t)return t=Se(a,n),ue.test(t)?gt(a).position()[n]+"px":t})}),gt.each({Height:"height",Width:"width"},function(o,a){gt.each({padding:"inner"+o,content:a,"":"outer"+o},function(e,i){gt.fn[i]=function(t,n){var r=arguments.length&&(e||"boolean"!=typeof t),d=e||(!0===t||!0===n?"margin":"border");return v(this,function(a,e,t){var n;return ut(a)?0===i.indexOf("outer")?a["inner"+o]:a.document.documentElement["client"+o]:9===a.nodeType?(n=a.documentElement,Math.max(a.body["scroll"+o],n["scroll"+o],a.body["offset"+o],n["offset"+o],n["client"+o])):void 0===t?gt.css(a,e,d):gt.style(a,e,t,d)},a,r?t:void 0,r)}})}),gt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){gt.fn[n]=function(e){return this.on(n,e)}}),gt.fn.extend({bind:function(n,a,e){return this.on(n,null,a,e)},unbind:function(t,a){return this.off(t,null,a)},delegate:function(o,a,e,t){return this.on(a,o,e,t)},undelegate:function(n,a,e){return 1===arguments.length?this.off(n,"**"):this.off(a,n||"**",e)},hover:function(t,a){return this.mouseenter(t).mouseleave(a||t)}}),gt.each(["blur","focus","focusin","focusout","resize","scroll","click","dblclick","mousedown","mouseup","mousemove","mouseover","mouseout","mouseenter","mouseleave","change","select","submit","keydown","keypress","keyup","contextmenu"],function(e,n){gt.fn[n]=function(a,t){return 0e?"desktop":768e?"tablet":300e?"mobile":300>e?"mobile_portrait":""}"function"!=typeof window.vc_js&&(window.vc_js=function(){"use strict";vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),a=e.attr("data-flex_fx");e.is(":visible")&&e.flexslider({animation:a,slideshow:0!=t,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){0parseInt(t[1],10),a.each(function(){var t=jQuery(this).attr("data-interval"),o=[],a=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(t&&0t?t=a.tabs("length")-1:t>=a.tabs("length")&&(t=0),a.tabs("select",t)):(t=a.tabs("option","active"),e=a.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:0>t-1?e-1:t-1,a.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0 div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:a,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}}),!0===e.data("vcDisableKeydown")&&(a.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var t={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),a=e.find(".wpb_thumbnails"),n=a.attr("data-layout-mode");a.isotope({itemSelector:".isotope-item",layoutMode:void 0===t[n]?"fitRows":t[n]}),e.find(".categories_filter a").data("isotope",a).on("click",function(e){e&&e.preventDefault&&e.preventDefault(),e=jQuery(this).data("isotope"),jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){a.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(t){(t?t.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var t=jQuery(this);!0!==t.data("carousel_enabled")&&t.is(":visible")&&(t.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(t=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":t.css("margin-left"),"margin-left":0}),(t=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(t.width()+300),jQuery(window).on("resize",function(){n!=(n=e())&&window.setTimeout(function(){location.reload()},20)}))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var t,a,n=jQuery(this);n.hasClass("wpb_slider_nivo")?(0==(a=1e3*n.attr("data-interval"))&&(a=9999999999),n.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:a,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})):n.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?t=n.find(".wpb_image_grid_ul").imagesLoaded(function(){t.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):n.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery("a.prettyphoto, .gallery-icon a[href*=\".jpg\"]").prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1(l=i)&&(l=0),0>(u=i)&&(u=0)):0>(u=s-(l=0>(l=-1*i)?0:l)-g.width()+t+a)&&(u=0),e.css({"padding-left":l+"px","padding-right":u+"px"})),e.attr("data-vc-full-width-init","true"),e.removeClass("vc_hidden"),r(document).trigger("vc-full-width-row-single",{el:e,offset:i,marginLeft:t,marginRight:a,elFull:g,width:s}))}),r(document).trigger("vc-full-width-row",e)}function e(){var t,a,n=r(".vc_row-o-full-height:first");n.length&&(t=r(window).height(),(a=n.offset().top)
")}),vc_initVideoBackgrounds(),n=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),r(".vc_parallax-inner").remove(),r("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),r("[data-vc-parallax]").each(function(){var t,o,i,s;n=!0,"on"===r(this).data("vcParallaxOFade")&&r(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),t=100*r(this).data("vcParallax"),(o=r("
").addClass("vc_parallax-inner").appendTo(r(this))).height(t+"%"),i=r(this).data("vcParallaxImage"),(s=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(o,s):void 0!==i&&o.css("background-image","url("+i+")"),t=-(t-100),o.attr("data-bottom-top","top: "+t+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr&&(a={forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}},window.vcParallaxSkroll=skrollr.init(a),window.vcParallaxSkroll)}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(t){for(var n=!1,o=1;!1==n;){if(t.hasClass("columns_count_"+o))return n=!0,o;o++}});var n=e();"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(a,n){var o=n.panel||n.newPanel,i=o.find(".vc_pie_chart:not(.vc_ready)"),e=o.find(".vc_round-chart"),r=o.find(".vc_line-chart"),s=o.find("[data-ride=\"vc_carousel\"]");vc_carouselBehaviour(),vc_plugin_flexslider(o),n.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&n.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&o.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.length&&jQuery.fn.vcChat&&i.vcChat(),e.length&&jQuery.fn.vcRoundChart&&e.vcRoundChart({reload:!1}),r.length&&jQuery.fn.vcLineChart&&r.vcLineChart({reload:!1}),s.length&&jQuery.fn.carousel&&s.carousel("resizeAction"),r=o.find(".isotope, .wpb_image_grid_ul"),s=o.find(".wpb_gmaps_widget"),0
").find(".inner");new YT.Player(n[0],{width:"100%",height:"100%",videoId:e,playerVars:{playlist:e,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(t),jQuery(window).on("resize",function(){vcResizeVideoBackground(t)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,a,n,o,r=e.innerWidth(),s=e.innerHeight();r/s<16/9?(t=s*(16/9),a=s,n=-Math.round((t-r)/2)+"px",o=-Math.round((a-s)/2)+"px"):(a=(t=r)*(9/16),o=-Math.round((a-s)/2)+"px",n=-Math.round((t-r)/2)+"px"),t+="px",a+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:n,marginTop:o,width:t,height:a})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=4*e.width()+"px";e.css("perspective",t)})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var t=(n=jQuery(this)).find(".vc-hoverbox-inner");t.css("min-height",0);var n,o=n.find(".vc-hoverbox-front-inner").outerHeight();250>(n=(n=n.find(".vc-hoverbox-back-inner").outerHeight())Error: More than 1 Hero Container found!"),function(){return 0!=t(".grcs_main_menu").length&&void(t(".grcs_main_menu_button").click(function(){t("body").hasClass("grcs_menu_open")?t("body").removeClass("grcs_menu_open"):t("body").addClass("grcs_menu_open")}),t(".grcs_page_wrapper").click(function(){t("body").hasClass("grcs_menu_open")&&t("body").removeClass("grcs_menu_open")}),t(".grcs_main_menu li.menu-item-has-children").append("t.y||t.y>n.height?(t.vx=t.vx,t.vy=-t.vy):(0>t.x||t.x>n.width)&&(t.vx=-t.vx,t.vy=t.vy),t.x+=t.vx,t.y+=t.vy}},line:function(){var t,n,o,i,r=p.length;for(o=0;o-p.distance&&t.y-n.y>-p.distance&&t.x-p.position.x-p.radius&&t.y-p.position.y>-p.radius&&(d.beginPath(),d.moveTo(t.x,t.y),d.lineTo(n.x,n.y),d.stroke(),d.closePath())}},this.createStars=function(){var t,o,i=p.length;for(d.clearRect(0,0,n.width,n.height),o=0;oe[0]&&9>e[1]||1==e[0]&&9==e[1]&&1>e[2]||3this.$items.length-1||0>t))return this.sliding?this.$element.one("slid.bs.carousel",function(){a.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},s.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&d.support.transition&&(this.$element.trigger(d.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},s.prototype.next=function(){if(!this.sliding)return this.slide("next")},s.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},s.prototype.slide=function(l,c){var e=this.$element.find(".item.active"),t=c||this.getItemForDirection(l,e),i=this.interval,n="next"==l?"left":"right",o=this;if(t.hasClass("active"))return this.sliding=!1;var a=t[0],r=d.Event("slide.bs.carousel",{relatedTarget:a,direction:n});if(this.$element.trigger(r),!r.isDefaultPrevented()){if(this.sliding=!0,i&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=d(this.$indicators.children()[this.getItemIndex(t)]);p&&p.addClass("active")}var g=d.Event("slid.bs.carousel",{relatedTarget:a,direction:n});return d.support.transition&&this.$element.hasClass("slide")?(t.addClass(l),t[0].offsetWidth,e.addClass(n),t.addClass(n),e.one("bsTransitionEnd",function(){t.removeClass([l,n].join(" ")).addClass("active"),e.removeClass(["active",n].join(" ")),o.sliding=!1,setTimeout(function(){o.$element.trigger(g)},0)}).emulateTransitionEnd(s.TRANSITION_DURATION)):(e.removeClass("active"),t.addClass("active"),this.sliding=!1,this.$element.trigger(g)),i&&this.cycle(),this}};var n=d.fn.carousel;d.fn.carousel=a,d.fn.carousel.Constructor=s,d.fn.carousel.noConflict=function(){return d.fn.carousel=n,this};var e=function(i){var e,l=d(this),r=d(l.attr("data-target")||(e=l.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""));if(r.hasClass("carousel")){var s=d.extend({},r.data(),l.data()),n=l.attr("data-slide-to");n&&(s.interval=!1),a.call(r,s),n&&r.data("bs.carousel").to(n),i.preventDefault()}};d(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),d(window).on("load",function(){d("[data-ride=\"carousel\"]").each(function(){var t=d(this);a.call(t,t.data())})})}(jQuery),function(c){"use strict";function s(t){var a,n=t.attr("data-target")||(a=t.attr("href"))&&a.replace(/.*(?=#[^\s]+$)/,"");return c(n)}function r(a){return this.each(function(){var n=c(this),e=n.data("bs.collapse"),o=c.extend({},i.DEFAULTS,n.data(),"object"==typeof a&&a);!e&&o.toggle&&/show|hide/.test(a)&&(o.toggle=!1),e||n.data("bs.collapse",e=new i(this,o)),"string"==typeof a&&e[a]()})}var i=function(t,a){this.$element=c(t),this.options=c.extend({},i.DEFAULTS,a),this.$trigger=c("[data-toggle=\"collapse\"][href=\"#"+t.id+"\"],[data-toggle=\"collapse\"][data-target=\"#"+t.id+"\"]"),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"),e&&e.transitioning))){var s=c.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(r.call(n,"hide"),e||n.data("bs.collapse",null));var l=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[l](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var d=function(){this.$element.removeClass("collapsing").addClass("collapse in")[l](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return d.call(this);var o=c.camelCase(["scroll",l].join("-"));this.$element.one("bsTransitionEnd",c.proxy(d,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[l](this.$element[0][o])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=c.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var a=this.dimension();this.$element[a](this.$element[a]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return c.support.transition?void this.$element[a](0).one("bsTransitionEnd",c.proxy(e,this)).emulateTransitionEnd(i.TRANSITION_DURATION):e.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return c(this.options.parent).find("[data-toggle=\"collapse\"][data-parent=\""+this.options.parent+"\"]").each(c.proxy(function(a,e){var t=c(e);this.addAriaAndCollapsedClass(s(t),t)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,a){var n=t.hasClass("in");t.attr("aria-expanded",n),a.toggleClass("collapsed",!n).attr("aria-expanded",n)};var t=c.fn.collapse;c.fn.collapse=r,c.fn.collapse.Constructor=i,c.fn.collapse.noConflict=function(){return c.fn.collapse=t,this},c(document).on("click.bs.collapse.data-api","[data-toggle=\"collapse\"]",function(n){var e=c(this);e.attr("data-target")||n.preventDefault();var t=s(e),a=t.data("bs.collapse")?"toggle":e.data();r.call(t,a)})}(jQuery),function(l){"use strict";function c(t){var a=t.attr("data-target");a||(a=(a=t.attr("href"))&&/#[A-Za-z]/.test(a)&&a.replace(/.*(?=#[^\s]*$)/,""));var n=a&&l(a);return n&&n.length?n:t.parent()}function d(i){i&&3===i.which||(l(n).remove(),l(a).each(function(){var e=l(this),t=c(e),a={relatedTarget:this};t.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&l.contains(t[0],i.target)||(t.trigger(i=l.Event("hide.bs.dropdown",a)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),t.removeClass("open").trigger(l.Event("hidden.bs.dropdown",a)))))}))}var n=".dropdown-backdrop",a="[data-toggle=\"dropdown\"]",o=function(e){l(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.7",o.prototype.toggle=function(e){var a=l(this);if(!a.is(".disabled, :disabled")){var i=c(a),r=i.hasClass("open");if(d(),!r){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&l(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(l(this)).on("click",d);var n={relatedTarget:this};if(i.trigger(e=l.Event("show.bs.dropdown",n)),e.isDefaultPrevented())return;a.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(l.Event("shown.bs.dropdown",n))}return!1}},o.prototype.keydown=function(r){if(/(38|40|27|32)/.test(r.which)&&!/input|textarea/i.test(r.target.tagName)){var e=l(this);if(r.preventDefault(),r.stopPropagation(),!e.is(".disabled, :disabled")){var t=c(e),i=t.hasClass("open");if(!i&&27!=r.which||i&&27==r.which)return 27==r.which&&t.find("[data-toggle=\"dropdown\"]").trigger("focus"),e.trigger("click");var n=t.find(".dropdown-menu li:not(.disabled):visible a");if(n.length){var o=n.index(r.target);38==r.which&&0document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var n=document.documentElement.getBoundingClientRect();a=n.right-Math.abs(n.left)}this.bodyIsOverflowing=document.body.clientWidth
",trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},f.prototype.init=function(n,a,e){if(this.enabled=!0,this.type=n,this.$element=h(a),this.options=this.getOptions(e),this.$viewport=this.options.viewport&&h(h.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var t,r=this.options.trigger.split(" "),i=r.length;i--;)if(t=r[i],"click"==t)this.$element.on("click."+this.type,this.options.selector,h.proxy(this.toggle,this));else if("manual"!=t){var s="hover"==t?"mouseenter":"focusin",d="hover"==t?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,h.proxy(this.enter,this)),this.$element.on(d+"."+this.type,this.options.selector,h.proxy(this.leave,this))}this.options.selector?this._options=h.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},f.prototype.getDefaults=function(){return f.DEFAULTS},f.prototype.getOptions=function(e){return(e=h.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},f.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&h.each(this._options,function(o,t){n[o]!=t&&(e[o]=t)}),e},f.prototype.enter=function(t){var a=t instanceof this.constructor?t:h(t.currentTarget).data("bs."+this.type);return a||(a=new this.constructor(t.currentTarget,this.getDelegateOptions()),h(t.currentTarget).data("bs."+this.type,a)),t instanceof h.Event&&(a.inState["focusin"==t.type?"focus":"hover"]=!0),a.tip().hasClass("in")||"in"==a.hoverState?void(a.hoverState="in"):(clearTimeout(a.timeout),a.hoverState="in",a.options.delay&&a.options.delay.show?void(a.timeout=setTimeout(function(){"in"==a.hoverState&&a.show()},a.options.delay.show)):a.show())},f.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},f.prototype.leave=function(t){var a=t instanceof this.constructor?t:h(t.currentTarget).data("bs."+this.type);if(a||(a=new this.constructor(t.currentTarget,this.getDelegateOptions()),h(t.currentTarget).data("bs."+this.type,a)),t instanceof h.Event&&(a.inState["focusout"==t.type?"focus":"hover"]=!1),!a.isInStateTrue())return clearTimeout(a.timeout),a.hoverState="out",a.options.delay&&a.options.delay.hide?void(a.timeout=setTimeout(function(){"out"==a.hoverState&&a.hide()},a.options.delay.hide)):a.hide()},f.prototype.show=function(){var a=h.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(a);var e=h.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(a.isDefaultPrevented()||!e)return;var t=this,i=this.tip(),r=this.getUID(this.type);this.setContent(),i.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&i.addClass("fade");var n="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,m=s.test(n);m&&(n=n.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(n).data("bs."+this.type,this),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var g=this.getPosition(),l=i[0].offsetWidth,u=i[0].offsetHeight;if(m){var c=n,d=this.getPosition(this.$viewport);n="bottom"==n&&g.bottom+u>d.bottom?"top":"top"==n&&g.top-ud.width?"left":"left"==n&&g.left-lr.top+r.height&&(t.top=r.top+r.height-o)}else{var a=c.left-i,s=c.left+i+d;ar.right&&(t.left=r.left+r.width-s)}return t},f.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},f.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},f.prototype.tip=function(){if(!this.$tip&&(this.$tip=h(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},f.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},f.prototype.enable=function(){this.enabled=!0},f.prototype.disable=function(){this.enabled=!1},f.prototype.toggleEnabled=function(){this.enabled=!this.enabled},f.prototype.toggle=function(t){var a=this;t&&((a=h(t.currentTarget).data("bs."+this.type))||(a=new this.constructor(t.currentTarget,this.getDelegateOptions()),h(t.currentTarget).data("bs."+this.type,a))),t?(a.inState.click=!a.inState.click,a.isInStateTrue()?a.enter(a):a.leave(a)):a.tip().hasClass("in")?a.leave(a):a.enter(a)},f.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var t=h.fn.tooltip;h.fn.tooltip=function(a){return this.each(function(){var e=h(this),t=e.data("bs.tooltip");!t&&/destroy|hide/.test(a)||(t||e.data("bs.tooltip",t=new f(this,"object"==typeof a&&a)),"string"==typeof a&&t[a]())})},h.fn.tooltip.Constructor=f,h.fn.tooltip.noConflict=function(){return h.fn.tooltip=t,this}}(jQuery),function(i){"use strict";var n=function(e,t){this.init("popover",e,t)};if(!i.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=i.extend({},i.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:"

"}),n.prototype=i.extend({},i.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),a=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](a),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=i.fn.popover;i.fn.popover=function(o){return this.each(function(){var e=i(this),t=e.data("bs.popover");!t&&/destroy|hide/.test(o)||(t||e.data("bs.popover",t=new n(this,"object"==typeof o&&o)),"string"==typeof o&&t[o]())})},i.fn.popover.Constructor=n,i.fn.popover.noConflict=function(){return i.fn.popover=t,this}}(jQuery),function(s){"use strict";function n(a,e){this.$body=s(document.body),this.$scrollElement=s(s(a).is(document.body)?window:a),this.options=s.extend({},n.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",s.proxy(this.process,this)),this.refresh(),this.process()}function a(a){return this.each(function(){var e=s(this),t=e.data("bs.scrollspy");t||e.data("bs.scrollspy",t=new n(this,"object"==typeof a&&a)),"string"==typeof a&&t[a]()})}n.VERSION="3.3.7",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),s.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var a=s(this),o=a.data("target")||a.attr("href"),e=/^#./.test(o)&&s(o);return e&&e.length&&e.is(":visible")&&[[e[n]().top+i,o]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},n.prototype.process=function(){var o,s=this.$scrollElement.scrollTop()+this.options.offset,a=this.getScrollHeight(),l=this.options.offset+a-this.$scrollElement.height(),t=this.offsets,i=this.targets,r=this.activeTarget;if(this.scrollHeight!=a&&this.refresh(),s>=l)return r!=(o=i[i.length-1])&&this.activate(o);if(r&&s=t[o]&&(void 0===t[o+1]||s .dropdown-menu > .active").removeClass("active").end().find("[data-toggle=\"tab\"]").attr("aria-expanded",!1),a.addClass("active").find("[data-toggle=\"tab\"]").attr("aria-expanded",!0),n?(a[0].offsetWidth,a.addClass("in")):a.removeClass("fade"),a.parent(".dropdown-menu").length&&a.closest("li.dropdown").addClass("active").end().find("[data-toggle=\"tab\"]").attr("aria-expanded",!0),e&&e()}var i=s.find("> .active"),n=e&&c.support.transition&&(i.length&&i.hasClass("fade")||!!s.find("> .fade").length);i.length&&n?i.one("bsTransitionEnd",t).emulateTransitionEnd(r.TRANSITION_DURATION):t(),i.removeClass("in")};var a=c.fn.tab;c.fn.tab=n,c.fn.tab.Constructor=r,c.fn.tab.noConflict=function(){return c.fn.tab=a,this};var e=function(t){t.preventDefault(),n.call(c(this),"show")};c(document).on("click.bs.tab.data-api","[data-toggle=\"tab\"]",e).on("click.bs.tab.data-api","[data-toggle=\"pill\"]",e)}(jQuery),function(r){"use strict";function n(a){return this.each(function(){var n=r(this),e=n.data("bs.affix");e||n.data("bs.affix",e=new l(this,"object"==typeof a&&a)),"string"==typeof a&&e[a]()})}var l=function(t,a){this.options=r.extend({},l.DEFAULTS,a),this.$target=r(this.options.target).on("scroll.bs.affix.data-api",r.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",r.proxy(this.checkPositionWithEventLoop,this)),this.$element=r(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};l.VERSION="3.3.7",l.RESET="affix affix-top affix-bottom",l.DEFAULTS={offset:0,target:window},l.prototype.getState=function(s,l,d,e){var t=this.$target.scrollTop(),i=this.$element.offset(),r=this.$target.height();if(null!=d&&"top"==this.affixed)return t=s-e&&"bottom"},l.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(l.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},l.prototype.checkPositionWithEventLoop=function(){setTimeout(r.proxy(this.checkPosition,this),1)},l.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),o=this.options.offset,e=o.top,i=o.bottom,u=Math.max(r(document).height(),r(document.body).height());"object"!=typeof o&&(i=e=o),"function"==typeof e&&(e=o.top(this.$element)),"function"==typeof i&&(i=o.bottom(this.$element));var c=this.getState(u,n,e,i);if(this.affixed!=c){null!=this.unpin&&this.$element.css("top","");var p="affix"+(c?"-"+c:""),a=r.Event(p+".bs.affix");if(this.$element.trigger(a),a.isDefaultPrevented())return;this.affixed=c,this.unpin="bottom"==c?this.getPinnedOffset():null,this.$element.removeClass(l.RESET).addClass(p).trigger(p.replace("affix","affixed")+".bs.affix")}"bottom"==c&&this.$element.offset({top:u-n-i})}};var t=r.fn.affix;r.fn.affix=n,r.fn.affix.Constructor=l,r.fn.affix.noConflict=function(){return r.fn.affix=t,this},r(window).on("load",function(){r("[data-spy=\"affix\"]").each(function(){var a=r(this),e=a.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),n.call(a,e)})})}(jQuery),function(s){s.fn.appear=function(a,t){var p=s.extend({data:void 0,one:!0,accX:0,accY:0},t);return this.each(function(){var g=s(this);if(g.appeared=!1,a){var m=s(window),n=function(){if(g.is(":visible")){var r=m.scrollLeft(),i=m.scrollTop(),n=g.offset(),e=n.left,t=n.top,o=p.accX,a=p.accY,s=g.height(),l=m.height(),u=g.width(),c=m.width();t+s+a>=i&&i+l+a>=t&&e+u+o>=r&&r+c+o>=e?g.appeared||g.trigger("appear",p.data):g.appeared=!1}else g.appeared=!1},e=function(){if(g.appeared=!0,p.one){m.unbind("scroll",n);var e=s.inArray(n,s.fn.appear.checks);0<=e&&s.fn.appear.checks.splice(e,1)}a.apply(this,arguments)};p.one?g.one("appear",p.data,e):g.bind("appear",p.data,e),m.scroll(n),s.fn.appear.checks.push(n),n()}else g.trigger("appear",p.data)})},s.extend(s.fn.appear,{checks:[],timeout:null,checkAll:function(){var e=s.fn.appear.checks.length;if(0v;v++)if(null===this.vendors[v]?(f="transform",h="transform"):(f=this.vendors[v][0]+"transform",h=this.vendors[v][1]+"Transform"),a.style[h]!==g){o=!0;break}switch(t){case"2D":l=o;break;case"3D":if(o){var x=e.body||e.createElement("body"),T=e.documentElement,d=T.style.overflow;e.body||(T.style.overflow="hidden",T.appendChild(x),x.style.overflow="hidden",x.style.background=""),x.appendChild(a),a.style[h]="translate3d(1px,1px,1px)",l=(r=n.getComputedStyle(a).getPropertyValue(f))!==g&&0o;o++)if(t=null===this.vendors[o]?n:c.camelCase(this.vendors[o][1]+"-"+n),a.style[t]!==g){this.propertyCache[n]=t;break}a.style[t]=e},s.prototype.accelerate=function(e){for(var t,a=0,n=e.length;n>a;a++)t=e[a],this.css(t,"transform","translate3d(0,0,0)"),this.css(t,"transform-style","preserve-3d"),this.css(t,"backface-visibility","hidden")},s.prototype.setPosition=function(e,t,a){t+="px",a+="px",this.transform3DSupport?this.css(e,"transform","translate3d("+t+","+a+",0)"):this.transform2DSupport?this.css(e,"transform","translate("+t+","+a+")"):(e.style.left=t,e.style.top=a)},s.prototype.onOrientationTimer=function(){this.orientationSupport&&0===this.orientationStatus&&(this.disable(),this.orientationSupport=!1,this.enable())},s.prototype.onCalibrationTimer=function(){this.calibrationFlag=!0},s.prototype.onWindowResize=function(){this.updateDimensions()},s.prototype.onAnimationFrame=function(){this.updateBounds();var t=this.ix-this.cx,a=this.iy-this.cy;(Math.abs(t)>this.calibrationThreshold||Math.abs(a)>this.calibrationThreshold)&&this.queueCalibration(0),this.portrait?(this.mx=this.calibrateX?a:this.iy,this.my=this.calibrateY?t:this.ix):(this.mx=this.calibrateX?t:this.ix,this.my=this.calibrateY?a:this.iy),this.mx*=this.ew*(this.scalarX/100),this.my*=this.eh*(this.scalarY/100),isNaN(parseFloat(this.limitX))||(this.mx=this.clamp(this.mx,-this.limitX,this.limitX)),isNaN(parseFloat(this.limitY))||(this.my=this.clamp(this.my,-this.limitY,this.limitY)),this.vx+=(this.mx-this.vx)*this.frictionX,this.vy+=(this.my-this.vy)*this.frictionY;for(var i=0,s=this.$layers.length;s>i;i++){var l=this.depths[i],d=this.$layers[i],r=this.vx*l*(this.invertX?-1:1),n=this.vy*l*(this.invertY?-1:1);this.setPosition(d,r,n)}this.raf=requestAnimationFrame(this.onAnimationFrame)},s.prototype.onDeviceOrientation=function(i){if(!this.desktop&&null!==i.beta&&null!==i.gamma){this.orientationStatus=1;var o=(i.beta||0)/30,t=(i.gamma||0)/30,e=n.innerHeight>n.innerWidth;this.portrait!==e&&(this.portrait=e,this.calibrationFlag=!0),this.calibrationFlag&&(this.calibrationFlag=!1,this.cx=o,this.cy=t),this.ix=o,this.iy=t}},s.prototype.onMouseMove=function(e){var t=e.clientX,a=e.clientY;!this.orientationSupport&&this.relativeInput?(this.clipRelativeInput&&(t=Math.max(t,this.ex),t=Math.min(t,this.ex+this.ew),a=Math.max(a,this.ey),a=Math.min(a,this.ey+this.eh)),this.ix=(t-this.ex-this.ecx)/this.erx,this.iy=(a-this.ey-this.ecy)/this.ery):(this.ix=(t-this.wcx)/this.wrx,this.iy=(a-this.wcy)/this.wry)};var i={enable:s.prototype.enable,disable:s.prototype.disable,updateLayers:s.prototype.updateLayers,calibrate:s.prototype.calibrate,friction:s.prototype.friction,invert:s.prototype.invert,scalar:s.prototype.scalar,limit:s.prototype.limit,origin:s.prototype.origin};c.fn.parallax=function(n){var a=arguments;return this.each(function(){var e=c(this),t=e.data("parallax");t||(t=new s(this,n),e.data("parallax",t)),i[n]&&t[n].apply(t,Array.prototype.slice.call(a,1))})}}(window.jQuery||window.Zepto,window,document),function(){for(var n=0,t=["ms","moz","webkit","o"],e=0;en._remainingTimeout||isNaN(n._remainingTimeout))&&(n._remainingTimeout=void 0)))},resume:function(t){var a=this.opts(),n=!a.hoverPaused&&!a.paused;t?a.hoverPaused=!1:a.paused=!1,n||(a.container.removeClass("cycle-paused"),0===a.slides.filter(":animated").length&&a.API.queueTransition(a.API.getSlideOpts(),a._remainingTimeout),a.API.trigger("cycle-resumed",[a,a._remainingTimeout]).log("cycle-resumed"))},add:function(e,n){var o,l=this.opts(),i=l.slideCount;"string"==c.type(e)&&(e=c.trim(e)),c(e).each(function(){var e,t=c(this);n?l.container.prepend(t):l.container.append(t),l.slideCount++,e=l.API.buildSlideOpts(t),l.slides=n?c(t).add(l.slides):l.slides.add(t),l.API.initSlide(e,t,--l._maxZ),t.data("cycle.opts",e),l.API.trigger("cycle-slide-added",[l,e,t])}),l.API.updateView(!0),l._preInitialized&&2>i&&1<=l.slideCount&&(l._initialized?l.timeout&&(o=l.slides.length,l.nextSlide=l.reverse?o-1:1,l.timeoutId||l.API.queueTransition(l)):l.API.initSlideshow())},calcFirstSlide:function(){var a,n=this.opts();((a=parseInt(n.startingSlide||0,10))>=n.slides.length||0>a)&&(a=0),n.currSlide=a,n.reverse?(n.nextSlide=a-1,0>n.nextSlide&&(n.nextSlide=n.slides.length-1)):(n.nextSlide=a+1,n.nextSlide==n.slides.length&&(n.nextSlide=0))},calcNextSlide:function(){var a,n=this.opts();n.reverse?(a=0>n.nextSlide-1,n.nextSlide=a?n.slideCount-1:n.nextSlide-1,n.currSlide=a?0:n.nextSlide+1):(a=n.nextSlide+1==n.slides.length,n.nextSlide=a?0:n.nextSlide+1,n.currSlide=a?n.slides.length-1:n.nextSlide-1)},calcTx:function(a,o){var e,i=a;return i._tempFx?e=c.fn.cycle.transitions[i._tempFx]:o&&i.manualFx&&(e=c.fn.cycle.transitions[i.manualFx]),e||(e=c.fn.cycle.transitions[i.fx]),i._tempFx=null,this.opts()._tempFx=null,e||(e=c.fn.cycle.transitions.fade,i.API.log("Transition \""+i.fx+"\" not found. Using fade.")),e},prepareTx:function(t,a){var o,d,c,p,u,g=this.opts();return 2>g.slideCount?void(g.timeoutId=0):(!t||g.busy&&!g.manualTrump||(g.API.stopTransition(),g.busy=!1,clearTimeout(g.timeoutId),g.timeoutId=0),void(g.busy||(0!==g.timeoutId||t)&&(d=g.slides[g.currSlide],c=g.slides[g.nextSlide],p=g.API.getSlideOpts(g.nextSlide),u=g.API.calcTx(p,t),g._tx=u,t&&void 0!==p.manualSpeed&&(p.speed=p.manualSpeed),g.nextSlide!=g.currSlide&&(t||!g.paused&&!g.hoverPaused&&g.timeout)?(g.API.trigger("cycle-before",[p,d,c,a]),u.before&&u.before(p,d,c,a),o=function(){g.busy=!1,g.container.data("cycle.opts")&&(u.after&&u.after(p,d,c,a),g.API.trigger("cycle-after",[p,d,c,a]),g.API.queueTransition(p),g.API.updateView(!0))},g.busy=!0,u.transition?u.transition(p,d,c,a,o):g.API.doTransition(p,d,c,a,o),g.API.calcNextSlide(),g.API.updateView()):g.API.queueTransition(p))))},doTransition:function(l,d,e,t,i){var r=l,n=c(d),o=c(e),a=function(){o.animate(r.animIn||{opacity:1},r.speed,r.easeIn||r.easing,i)};o.css(r.cssBefore||{}),n.animate(r.animOut||{},r.speed,r.easeOut||r.easing,function(){n.css(r.cssAfter||{}),r.sync||a()}),r.sync&&a()},queueTransition:function(a,n){var e=this.opts(),t=void 0===n?a.timeout:n;return 0===e.nextSlide&&0==--e.loop?(e.API.log("terminating; loop=0"),e.timeout=0,t?setTimeout(function(){e.API.trigger("cycle-finished",[e])},t):e.API.trigger("cycle-finished",[e]),void(e.nextSlide=e.currSlide)):void 0!==e.continueAuto&&(!1===e.continueAuto||c.isFunction(e.continueAuto)&&!1===e.continueAuto())?(e.API.log("terminating automatic transitions"),e.timeout=0,void(e.timeoutId&&clearTimeout(e.timeoutId))):void(t&&(e._lastQueue=c.now(),void 0===n&&(e._remainingTimeout=a.timeout),e.paused||e.hoverPaused||(e.timeoutId=setTimeout(function(){e.API.prepareTx(!1,!e.reverse)},t))))},stopTransition:function(){var t=this.opts();t.slides.filter(":animated").length&&(t.slides.stop(!1,!0),t.API.trigger("cycle-transition-stopped",[t])),t._tx&&t._tx.stopTransition&&t._tx.stopTransition(t)},advanceSlide:function(e){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+e,0>t.nextSlide?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,0<=e),!1},buildSlideOpts:function(a){var e,o,l=this.opts(),r=a.data()||{};for(var p in r)r.hasOwnProperty(p)&&/^cycle[A-Z]+/.test(p)&&(e=r[p],o=p.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,i),l.API.log("["+(l.slideCount-1)+"]",o+":",e,"("+typeof e+")"),r[o]=e);(r=c.extend({},c.fn.cycle.defaults,l,r)).slideNum=l.slideCount;try{delete r.API,delete r.slideCount,delete r.currSlide,delete r.nextSlide,delete r.slides}catch(t){}return r},getSlideOpts:function(e){var i=this.opts();void 0===e&&(e=i.currSlide);var n=i.slides[e],o=c(n).data("cycle.opts");return c.extend({},i,o)},initSlide:function(a,n,e){var t=this.opts();n.css(a.slideCss||{}),0a.updateView)||(a.slideActiveClass&&a.slides.removeClass(a.slideActiveClass).eq(a.currSlide).addClass(a.slideActiveClass),n&&a.hideNonActive&&a.slides.filter(":not(."+a.slideActiveClass+")").css("visibility","hidden"),0===a.updateView&&setTimeout(function(){a.API.trigger("cycle-update-view",[a,e,t,n])},e.speed/(a.sync?2:1)),0!==a.updateView&&a.API.trigger("cycle-update-view",[a,e,t,n]),n&&a.API.trigger("cycle-update-view-after",[a,e,t]))}},getComponent:function(n){var a=this.opts(),e=a[n];return"string"==typeof e?/^\s*[\>|\+|~]/.test(e)?a.container.find(e):c(e):e.jquery?e:c(e)},stackSlides:function(e,n,l){var p=this.opts();e||(e=p.slides[p.currSlide],n=p.slides[p.nextSlide],l=!p.reverse),c(e).css("zIndex",p.maxZ);var i,u=p.maxZ-2,g=p.slideCount;if(l){for(i=p.currSlide+1;g>i;i++)c(p.slides[i]).css("zIndex",u--);for(i=0;ip.currSlide;i--)c(p.slides[i]).css("zIndex",u--)}c(n).css("zIndex",p.maxZ-1)},getSlideIndex:function(t){return this.opts().slides.index(t)}},c.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},c.fn.cycle.version=function(){return"Cycle2: 2.1.6"},c.fn.cycle.transitions={custom:{},none:{before:function(a,n,o,e){a.API.stackSlides(o,n,e),a.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(n,o,e,t){var a=n.API.getSlideOpts(n.nextSlide).slideCss||{};n.API.stackSlides(o,e,t),n.cssBefore=c.extend(a,{opacity:0,visibility:"visible",display:"block"}),n.animIn={opacity:1},n.animOut={opacity:0}}},fadeout:{before:function(n,o,e,t){var a=n.API.getSlideOpts(n.nextSlide).slideCss||{};n.API.stackSlides(o,e,t),n.cssBefore=c.extend(a,{opacity:1,visibility:"visible",display:"block"}),n.animOut={opacity:0}}},scrollHorz:{before:function(i,n,o,e){i.API.stackSlides(n,o,e);var t=i.container.css("overflow","hidden").width();i.cssBefore={left:e?t:-t,top:0,opacity:1,visibility:"visible",display:"block"},i.cssAfter={zIndex:i._maxZ-2,left:0},i.animIn={left:0},i.animOut={left:e?-t:t}}},scrollVert:{before:function(i,n,o,e){i.API.stackSlides(n,o,e);var t=i.container.css("overflow","hidden").height();i.cssBefore={top:e?-t:t,left:0,opacity:1,visibility:"visible",display:"block"},i.cssAfter={zIndex:i-1,top:0},i.animIn={top:0},i.animOut={top:e?t:-t}}}},c.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},c(document).ready(function(){c(c.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(u){"use strict";function c(i,a){var e,s,l,d=a.autoHeight;if("container"==d)s=u(a.slides[a.currSlide]).outerHeight(),a.container.height(s);else if(a._autoHeightRatio)a.container.height(a.container.width()/a._autoHeightRatio);else if("calc"===d||"number"==u.type(d)&&0<=d){if(l="calc"===d?function(t,a){var o=0,i=-1;return a.slides.each(function(t){var a=u(this).height();a>i&&(i=a,o=t)}),o}(0,a):d>=a.slides.length?0:d,l==a._sentinelIndex)return;a._sentinelIndex=l,a._sentinel&&a._sentinel.remove(),(e=u(a.slides[l].cloneNode(!0))).removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),e.css({position:"static",visibility:"hidden",display:"block"}).prependTo(a.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),e.find("*").css("visibility","hidden"),a._sentinel=e}}function s(n,a,e,t){var o=u(t).outerHeight();a.container.animate({height:o},a.autoHeightSpeed,a.autoHeightEasing)}function e(t,n){n._autoHeightOnResize&&(u(window).off("resize orientationchange",n._autoHeightOnResize),n._autoHeightOnResize=null),n.container.off("cycle-slide-added cycle-slide-removed",c),n.container.off("cycle-destroyed",e),n.container.off("cycle-before",s),n._sentinel&&(n._sentinel.remove(),n._sentinel=null)}u.extend(u.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),u(document).on("cycle-initialized",function(t,a){function i(){c(0,a)}var n,r=a.autoHeight,d=u.type(r),p=null;("string"===d||"number"===d)&&(a.container.on("cycle-slide-added cycle-slide-removed",c),a.container.on("cycle-destroyed",e),"container"==r?a.container.on("cycle-before",s):"string"===d&&/\d+\:\d+/.test(r)&&(n=(n=r.match(/(\d+)\:(\d+)/))[1]/n[2],a._autoHeightRatio=n),"number"!==d&&(a._autoHeightOnResize=function(){clearTimeout(p),p=setTimeout(i,50)},u(window).on("resize orientationchange",a._autoHeightOnResize)),setTimeout(i,30))})}(jQuery),function(o){"use strict";o.extend(o.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"
{{title}}
{{desc}}
",captionModule:"caption"}),o(document).on("cycle-update-view",function(e,n,r,a){"caption"===n.captionModule&&o.each(["caption","overlay"],function(){var e=r[this+"Template"],t=n.API.getComponent(this);t.length&&e?(t.html(n.API.tmpl(e,r,n,a)),t.show()):t.hide()})}),o(document).on("cycle-destroyed",function(t,a){o.each(["caption","overlay"],function(){var e=a[this+"Template"];a[this]&&e&&a.API.getComponent("caption").empty()})})}(jQuery),function(d){"use strict";var o=d.fn.cycle;d.fn.cycle=function(a){var e,r,c,p=d.makeArray(arguments);return"number"==d.type(a)?this.cycle("goto",a):"string"==d.type(a)?this.each(function(){var t;return e=a,void 0===(c=d(this).data("cycle.opts"))?void o.log("slideshow must be initialized before sending commands; \""+e+"\" ignored"):(e="goto"==e?"jump":e,r=c.API[e],d.isFunction(r)?((t=d.makeArray(p)).shift(),r.apply(c.API,t)):void o.log("unknown command: ",e))}):o.apply(this,arguments)},d.extend(d.fn.cycle,o),d.extend(o.API,{next:function(){var e=this.opts();if(!e.busy||e.manualTrump){var t=e.reverse?-1:1;!1===e.allowWrap&&e.currSlide+t>=e.slideCount||(e.API.advanceSlide(t),e.API.trigger("cycle-next",[e]).log("cycle-next"))}},prev:function(){var e=this.opts();if(!e.busy||e.manualTrump){var t=e.reverse?1:-1;!1===e.allowWrap&&0>e.currSlide+t||(e.API.advanceSlide(t),e.API.trigger("cycle-prev",[e]).log("cycle-prev"))}},destroy:function(){this.stop();var n=this.opts(),a=d.isFunction(d._data)?d._data:d.noop;clearTimeout(n.timeoutId),n.timeoutId=0,n.API.stop(),n.API.trigger("cycle-destroyed",[n]).log("cycle-destroyed"),n.container.removeData(),a(n.container[0],"parsedAttrs",!1),n.retainStylesOnDestroy||(n.container.removeAttr("style"),n.slides.removeAttr("style"),n.slides.removeClass(n.slideActiveClass)),n.slides.each(function(){var e=d(this);e.removeData(),e.removeClass(n.slideClass),a(this,"parsedAttrs",!1)})},jump:function(t,i){var o,r=this.opts();if(!r.busy||r.manualTrump){var n=parseInt(t,10);if(isNaN(n)||0>n||n>=r.slides.length)return void r.API.log("goto: invalid slide index: "+n);if(n==r.currSlide)return void r.API.log("goto: skipping, already on slide",n);r.nextSlide=n,clearTimeout(r.timeoutId),r.timeoutId=0,r.API.log("goto: ",n," (zero-index)"),o=r.currSlide .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"\xE2\u20AC\xA2"}),o(document).on("cycle-bootstrap",function(n,o,t){t.buildPagerLink=a}),o(document).on("cycle-slide-added",function(n,a,o,e){a.pager&&(a.API.buildPagerLink(a,o,e),a.API.page=i)}),o(document).on("cycle-slide-removed",function(n,a,e){a.pager&&a.API.getComponent("pager").each(function(){var t=o(this);o(t.children()[e]).remove()})}),o(document).on("cycle-update-view",function(t,a){a.pager&&a.API.getComponent("pager").each(function(){o(this).children().removeClass(a.pagerActiveClass).eq(a.currSlide).addClass(a.pagerActiveClass)})}),o(document).on("cycle-destroyed",function(t,a){var n=a.API.getComponent("pager");n&&(n.children().off(a.pagerEvent),a.pagerTemplate&&n.empty())})}(jQuery),function(t){"use strict";t.extend(t.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),t(document).on("cycle-initialized",function(t,n){if(n.API.getComponent("next").on(n.nextEvent,function(t){t.preventDefault(),n.API.next()}),n.API.getComponent("prev").on(n.prevEvent,function(t){t.preventDefault(),n.API.prev()}),n.swipe){var o=n.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",a=n.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";n.container.on(o,function(){n._tempFx=n.swipeFx,n.API.next()}),n.container.on(a,function(){n._tempFx=n.swipeFx,n.API.prev()})}}),t(document).on("cycle-update-view",function(r,s){if(!s.allowWrap){var i=s.disabledClass,e=s.API.getComponent("next"),t=s.API.getComponent("prev"),n=s._prevBoundry||0,o=void 0===s._nextBoundry?s.slideCount-1:s._nextBoundry;s.currSlide==o?e.addClass(i).prop("disabled",!0):e.removeClass(i).prop("disabled",!1),s.currSlide===n?t.addClass(i).prop("disabled",!0):t.removeClass(i).prop("disabled",!1)}}),t(document).on("cycle-destroyed",function(e,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(t){"use strict";t.extend(t.fn.cycle.defaults,{progressive:!1}),t(document).on("cycle-pre-initialize",function(e,i){if(i.progressive){var n,s,l=i.API,p=l.next,c=l.prev,u=l.prepareTx,o=t.type(i.progressive);if("array"==o)n=i.progressive;else if(t.isFunction(i.progressive))n=i.progressive(i);else if("string"==o){if(s=t(i.progressive),!(n=t.trim(s.html())))return;if(/^(\[)/.test(n))try{n=t.parseJSON(n)}catch(t){return void l.log("error parsing progressive slides",t)}else(n=n.split(new RegExp(s.data("cycle-split")||"\n")))[n.length-1]||n.pop()}u&&(l.prepareTx=function(t,o){var a,r;return t||0===n.length?void u.apply(i.API,[t,o]):void(o&&i.currSlide==i.slideCount-1?(r=n[0],n=n.slice(1),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(r)):o||0!==i.currSlide?u.apply(i.API,[t,o]):(a=n.length-1,r=n[a],n=n.slice(0,a),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),i.API.add(r,!0)))}),p&&(l.next=function(){var e=this.opts();if(n.length&&e.currSlide==e.slideCount-1){var t=n[0];n=n.slice(1),e.container.one("cycle-slide-added",function(e,t){p.apply(t.API),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(t)}else p.apply(e.API)}),c&&(l.prev=function(){var t=this.opts();if(n.length&&0===t.currSlide){var a=n.length-1,o=n[a];n=n.slice(0,a),t.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),t.container.addClass("cycle-loading"),t.API.add(o,!0)}else c.apply(t.API)})}})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),n.extend(n.fn.cycle.API,{tmpl:function(a,i){var e=new RegExp(i.tmplRegex||n.fn.cycle.defaults.tmplRegex,"g"),r=n.makeArray(arguments);return r.shift(),a.replace(e,function(a,o){var e,i,c,u,g=o.split(".");for(e=0;e").attr({src:"https://www.youtube.com/iframe_api?v="+jQuery.mbYTPlayer.version,id:"YTAPI"});jQuery("head").prepend(t)}return this.each(function(){let YTPlayer=this,$YTPlayer=jQuery(YTPlayer);$YTPlayer.hide(),YTPlayer.loop=0,YTPlayer.state=0,YTPlayer.filters=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaultFilters),YTPlayer.filtersEnabled=!0,YTPlayer.id=YTPlayer.id||"YTP_"+new Date().getTime(),$YTPlayer.addClass("mb_YTPlayer");let property=$YTPlayer.data("property")&&"string"==typeof $YTPlayer.data("property")?eval("("+$YTPlayer.data("property")+")"):$YTPlayer.data("property");"object"!=typeof property&&(property={}),YTPlayer.opt=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaults,YTPlayer.opt,options,property),YTPRndSuffix=getYTPVideoID(YTPlayer.opt.videoURL).videoID,YTPTimerLabels={init:"YTPlayerInit_"+YTPRndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPRndSuffix},console.time(YTPTimerLabels.init),console.time(YTPTimerLabels.startPlaying),YTPlayer.opt.elementId=YTPlayer.id,0===YTPlayer.opt.vol&&(YTPlayer.opt.vol=1,YTPlayer.opt.mute=!0),YTPlayer.opt.loop&&"boolean"==typeof YTPlayer.opt.loop&&(YTPlayer.opt.loop=9999);let fullScreenAvailable=document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled;YTPlayer.opt.realFullscreen=!isIframe()&&fullScreenAvailable&&YTPlayer.opt.realFullscreen,YTPlayer.opt.showAnnotations=YTPlayer.opt.showAnnotations?"1":"3",YTPlayer.opt.cc_load_policy=YTPlayer.opt.cc_load_policy?"1":"0",YTPlayer.opt.coverImage=YTPlayer.opt.coverImage||YTPlayer.opt.backgroundImage,YTPlayer.opt.quality="hd1080",jQuery.mbBrowser.msie&&9>jQuery.mbBrowser.version&&(YTPlayer.opt.opacity=1),YTPlayer.opt.containment="self"===YTPlayer.opt.containment?$YTPlayer:jQuery(YTPlayer.opt.containment),YTPlayer.isRetina=window.retina||1").css({position:"absolute",top:0,left:0,width:"100%",height:"100%"}).addClass("YTPOverlay"),$YTPlayer.changeCoverImage(),YTPlayer.wrapper=jQuery("
").attr("id","wrapper_"+YTPlayer.id).css({position:"absolute",zIndex:0,minWidth:"100%",minHeight:"100%",left:0,top:0,overflow:"hidden",opacity:0}).addClass("mbYTP_wrapper"),YTPlayer.isPlayer)&&(jQuery.browser.mobile?"inlinePlayButtonMobile":"inlinePlayButton",YTPlayer.inlinePlayButton=jQuery("
").addClass("inlinePlayButton").html(jQuery.mbYTPlayer.controls.play),$YTPlayer.append(YTPlayer.inlinePlayButton),YTPlayer.inlinePlayButton.on("click",function(t){$YTPlayer.YTPPlay(),YTPlayer.inlinePlayButton.hide(),YTPlayer.opt.goFullScreenOnPlay&&$YTPlayer.YTPFullscreen(),t.stopPropagation()}),YTPlayer.opt.autoPlay&&YTPlayer.inlinePlayButton.hide(),YTPlayer.overlay.on("click",function(){$YTPlayer.YTPTogglePlay(),YTPlayer.opt.goFullScreenOnPlay&&$YTPlayer.YTPFullscreen()}).css({cursor:"pointer"}));let e=jQuery("
").attr("id",YTPlayer.playerID).addClass("playerBox");return(e.css({position:"absolute",zIndex:0,width:"100%",height:"100%",top:0,left:0,overflow:"hidden",opacity:1}),YTPlayer.wrapper.append(e),e.after(YTPlayer.overlay),YTPlayer.isPlayer&&(YTPlayer.inlineWrapper=jQuery("
").addClass("inline-YTPlayer"),YTPlayer.inlineWrapper.css({position:"relative",maxWidth:YTPlayer.opt.containment.css("width")}),YTPlayer.opt.containment.css({position:"relative",paddingBottom:"56.25%",overflow:"hidden",height:0}),YTPlayer.opt.containment.wrap(YTPlayer.inlineWrapper)),YTPlayer.opt.containment.children().not("script, style").each(function(){"static"===jQuery(this).css("position")&&jQuery(this).css("position","relative")}),YTPlayer.isBackground?(jQuery("body").css({boxSizing:"border-box"}),YTPlayer.wrapper.css({position:"fixed",top:0,left:0,zIndex:0})):"static"===YTPlayer.opt.containment.css("position")&&(YTPlayer.opt.containment.css({position:"relative"}),$YTPlayer.show()),YTPlayer.opt.containment.prepend(YTPlayer.wrapper),YTPlayer.isBackground||YTPlayer.overlay.on("mouseenter",function(){YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.addClass("visible")}).on("mouseleave",function(){YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.removeClass("visible")}),jQuery.mbBrowser.mobile&&!YTPlayer.opt.useOnMobile)?(YTPlayer.opt.coverImage&&(YTPlayer.wrapper.css({backgroundImage:"url("+YTPlayer.opt.coverImage+")",backgroundPosition:"center center",backgroundSize:"cover",backgroundRepeat:"no-repeat",opacity:1}),YTPlayer.wrapper.css({opacity:1})),$YTPlayer):void(jQuery.mbBrowser.mobile&&YTPlayer.opt.autoPlay&&YTPlayer.opt.useOnMobile&&jQuery("body").one("touchstart",function(){YTPlayer.player.playVideo()}),jQuery(document).one("YTAPIReady",function(){$YTPlayer.trigger("YTAPIReady_"+YTPlayer.id),ytp.YTAPIReady=!0}),YTPlayer.isOnScreen=jQuery.mbYTPlayer.isOnScreen(YTPlayer,YTPlayer.opt.onScreenPercentage),$YTPlayer.one("YTAPIReady_"+YTPlayer.id,function(){let r=this,t=jQuery(r);r.isBackground&&ytp.backgroundIsInited||r.isInit||(r.isBackground&&(ytp.backgroundIsInited=!0),r.opt.autoPlay=void 0===r.opt.autoPlay?!!r.isBackground:r.opt.autoPlay,r.opt.vol=r.opt.vol?r.opt.vol:100,jQuery.mbYTPlayer.getDataFromAPI(r),jQuery(r).on("YTPChanged",function(){if(!r.isInit){r.isInit=!0;let a={modestbranding:1,autoplay:0,controls:0,showinfo:0,rel:0,enablejsapi:1,version:3,playerapiid:r.playerID,origin:"*",allowfullscreen:!0,wmode:"transparent",iv_load_policy:r.opt.showAnnotations,cc_load_policy:r.opt.cc_load_policy,playsinline:jQuery.mbBrowser.mobile&&!r.isPlayer?1:0,html5:document.createElement("video").canPlayType?1:0};new YT.Player(r.playerID,{host:r.opt.useNoCookie?"https://www.youtube-nocookie.com":"https://www.youtube.com",playerVars:a,events:{onReady:function(a){r.player=a.target,r.player.loadVideoById({videoId:r.videoID.toString(),suggestedQuality:r.opt.quality}),t.trigger("YTPlayerIsReady_"+r.id)},onStateChange:function(t){if("function"!=typeof t.target.getPlayerState)return;let o,i=t.target.getPlayerState();if(r.preventTrigger||r.isStarting)return void(r.preventTrigger=!1);switch(r.state=i,t.data===YT.PlayerState.PLAYING&&t.target.setPlaybackQuality(r.opt.quality),i){case-1:o="YTPUnstarted";break;case 0:o="YTPRealEnd";break;case 1:o="YTPPlay",r.controlBar.length&&r.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.pause),r.isPlayer&&r.inlinePlayButton.hide(),jQuery(document).off("mousedown.YTPstart");break;case 2:o="YTPPause",r.controlBar.length&&r.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play),r.isPlayer&&r.inlinePlayButton.show();break;case 3:r.player.setPlaybackQuality(r.opt.quality),o="YTPBuffering",r.controlBar.length&&r.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play);break;case 5:o="YTPCued";}let n=jQuery.Event(o);n.time=r.currentTime,jQuery(r).trigger(n)},onPlaybackQualityChange:function(a){let n=a.target.getPlaybackQuality(),e=jQuery.Event("YTPQualityChange");e.quality=n,jQuery(r).trigger(e)},onError:function(a){switch("function"==typeof r.opt.onError&&r.opt.onError(t,a),console.debug("error:",a),a.data){case 2:console.error("video ID:: "+r.videoID+": The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.");break;case 5:console.error("video ID:: "+r.videoID+": The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.");break;case 100:console.error("video ID:: "+r.videoID+": The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.");break;case 101:case 150:console.error("video ID:: "+r.videoID+": The video doesn't exist or The owner does not allow it to be played in embedded players.");}r.isList&&jQuery(r).YTPPlayNext()}}}),t.on("YTPlayerIsReady_"+r.id,function(){return r.isReady?this:void(r.playerEl=r.player.getIframe(),jQuery(r.playerEl).unselectable(),t.optimizeDisplay(),jQuery(window).off("resize.YTP_"+r.id).on("resize.YTP_"+r.id,function(){t.optimizeDisplay()}),jQuery(window).off("orientationchange.YTP_"+r.id).on("orientationchange.YTP_"+r.id,function(){t.optimizeDisplay()}),r.opt.remember_last_time&&jQuery(window).on("unload.YTP_"+r.id,function(){let e=r.player.getCurrentTime();jQuery.mbCookie.set("YTPlayer_start_from"+r.videoID,e,0)}),t.YTPCheckForState())})}}))}),$YTPlayer.off("YTPTime.mask"),jQuery.mbYTPlayer.applyMask(YTPlayer),console.timeEnd(YTPTimerLabels.init),setTimeout(function(){ytp.YTAPIReady||"object"!=typeof window.YT||(jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0,console.error("YTPlayer: More then a call to the YT API has been detected"))},YTPlayer.opt.delayAtStart))}})},isOnScreen:function(e,t){t=t||10;let o=e.wrapper,s=jQuery(window).scrollTop(),l=s+jQuery(window).height(),i=o.height()*t/100,r=o.offset().top+i;return o.offset().top+(o.height()-i)<=l&&r>=s},getDataFromAPI:function(i){i.videoData=jQuery.mbStorage.get("YTPlayer_data_"+i.videoID),i.videoData?(setTimeout(function(){i.dataReceived=!0;let e=jQuery.Event("YTPChanged");e.time=i.currentTime,e.videoId=i.videoID,e.opt=i.opt,jQuery(i).trigger(e);let a=jQuery.Event("YTPData");for(let e in a.prop={},i.videoData)i.videoData.hasOwnProperty(e)&&(a.prop[e]=i.videoData[e]);jQuery(i).trigger(a)},i.opt.fadeOnStartTime),i.hasData=!0):jQuery.mbYTPlayer.apiKey?jQuery.getJSON("https://www.googleapis.com/youtube/v3/videos?id="+i.videoID+"&key="+jQuery.mbYTPlayer.apiKey+"&part=snippet",function(a){i.dataReceived=!0;let n=jQuery.Event("YTPChanged");n.time=i.currentTime,n.videoId=i.videoID,jQuery(i).trigger(n),a.items[0]?(function(e){i.videoData={},i.videoData.id=i.videoID,i.videoData.channelTitle=e.channelTitle,i.videoData.title=e.title,i.videoData.description=400>e.description.length?e.description:e.description.substring(0,400)+" ...",i.videoData.thumb_max=e.thumbnails.maxres?e.thumbnails.maxres.url:null,i.videoData.thumb_high=e.thumbnails.high?e.thumbnails.high.url:null,i.videoData.thumb_medium=e.thumbnails.medium?e.thumbnails.medium.url:null,jQuery.mbStorage.set("YTPlayer_data_"+i.videoID,i.videoData)}(a.items[0].snippet),i.hasData=!0):(i.videoData={},i.hasData=!1);let o=jQuery.Event("YTPData");for(let t in o.prop={},i.videoData)o.prop[t]=i.videoData[t];jQuery(i).trigger(o)}).fail(function(t){console.error("YT data error:: ",t),i.hasData=!1;let a=jQuery.Event("YTPChanged");a.time=i.currentTime,a.videoId=i.videoID,jQuery(i).trigger(a)}):(setTimeout(function(){let e=jQuery.Event("YTPChanged");e.time=i.currentTime,e.videoId=i.videoID,jQuery(i).trigger(e)},10),i.videoData=null),i.opt.ratio="auto"==i.opt.ratio?16/9:i.opt.ratio,i.isPlayer&&!i.opt.autoPlay&&(i.loading=jQuery("
").addClass("loading").html("Loading").hide(),jQuery(i).append(i.loading),i.loading.fadeIn())},removeStoredData:function(){jQuery.mbStorage.remove()},getVideoData:function(){return this.get(0).videoData},getVideoID:function(){return this.get(0).videoID||!1},getPlaylistID:function(){return this.get(0).playlistID||!1},setVideoQuality:function(t){let a=this.get(0),n=a.player.getCurrentTime();return jQuery(a).YTPPause(),a.opt.quality=t,a.player.setPlaybackQuality(t),a.player.seekTo(n),jQuery(a).YTPPlay(),this},getVideoQuality:function(){return this.get(0).player.getPlaybackQuality()},playlist:function(o,i,n){let a=this.get(0);return a.isList=!0,i&&(o=jQuery.shuffle(o)),a.videoID||(a.videos=o,a.videoCounter=1,a.videoLength=o.length,jQuery(a).data("property",o[0]),jQuery(a).YTPlayer()),"function"==typeof n&&jQuery(a).on("YTPChanged",function(){n(a)}),jQuery(a).on("YTPEnd",function(){jQuery(a).YTPPlayNext()}),this},playNext:function(){let t=this.get(0);return t.videoCounter++,t.videoCounter>t.videoLength&&(t.videoCounter=1),jQuery(t).YTPPlayIndex(t.videoCounter),this},playPrev:function(){let t=this.get(0);return t.videoCounter--,0>=t.videoCounter&&(t.videoCounter=t.videoLength),jQuery(t).YTPPlayIndex(t.videoCounter),this},playIndex:function(t){let a=this.get(0);a.checkForStartAt&&(clearInterval(a.checkForStartAt),clearInterval(a.getState)),a.videoCounter=t,a.videoCounter>=a.videoLength&&(a.videoCounter=a.videoLength);let n=a.videos[a.videoCounter-1];return jQuery(a).YTPChangeVideo(n),this},changeVideo:function(a){let n=this,o=n.get(0);o.opt.startAt=0,o.opt.stopAt=0,o.opt.mask=!1,o.opt.mute=!0,o.opt.autoPlay=!0,o.opt.addFilters=!1,o.opt.coverImage=!1,o.hasData=!1,o.hasChanged=!0,o.player.loopTime=void 0,a&&jQuery.extend(o.opt,a),o.videoID=getYTPVideoID(o.opt.videoURL).videoID,o.opt.loop&&"boolean"==typeof o.opt.loop&&(o.opt.loop=9999),o.wrapper.css({background:"none"}),jQuery(o.playerEl).CSSAnimate({opacity:0},o.opt.fadeOnStartTime,function(){jQuery.mbYTPlayer.getDataFromAPI(o),n.YTPGetPlayer().loadVideoById({videoId:o.videoID,suggestedQuality:o.opt.quality}),n.YTPPause(),n.optimizeDisplay(),o.checkForStartAt&&(clearInterval(o.checkForStartAt),clearInterval(o.getState)),n.YTPCheckForState()});let e=jQuery.Event("YTPChangeVideo");return e.time=o.currentTime,jQuery(o).trigger(e),jQuery.mbYTPlayer.applyMask(o),this},getPlayer:function(){let t=this.get(0);return t.isReady?t.player:null},playerDestroy:function(){let t=this.get(0);return t.isReady?(ytp.YTAPIReady=!0,ytp.backgroundIsInited=!1,t.isInit=!1,t.videoID=null,t.isReady=!1,t.wrapper.remove(),jQuery("#controlBar_"+t.id).remove(),clearInterval(t.checkForStartAt),clearInterval(t.getState),this):this},fullscreen:function(real){function RunPrefixMethod(n,o){for(let a,e,t=["webkit","moz","ms","o",""],i=0;it.opt.abundance&&this.YTPSetAbundance(.2),t.player.pauseVideo(),t.state=2,this):this},seekTo:function(e){let t=this.get(0);return t.isReady?(t.player.seekTo(e,!0),this):this},getPlaybackRate:function(){let t=this.get(0);return t.isReady?t.player.getPlaybackRate():this},setPlaybackRate:function(e){let t=this.get(0);return t.isReady?(t.player.setPlaybackRate(e),this):this},setVolume:function(e){let t=this.get(0);return t.isReady?(t.opt.vol=e,this.YTPUnmute(),t.player.setVolume(t.opt.vol),t.volumeBar&&t.volumeBar.length&&t.volumeBar.updateSliderVal(e),this):this},getVolume:function(){let t=this.get(0);return t.isReady?t.player.getVolume():this},toggleVolume:function(){let t=this.get(0);return t.isReady?(t.isMute?(jQuery.mbBrowser.mobile||this.YTPSetVolume(t.opt.vol),this.YTPUnmute()):this.YTPMute(),this):this},mute:function(){let e=this.get(0);if(!e.isReady)return this;if(e.isMute)return this;e.player.mute(),e.isMute=!0,e.player.setVolume(0),e.volumeBar&&e.volumeBar.length&&10").attr("src",t).on("load",function(){n.overlay.CSSAnimate({opacity:0},n.opt.fadeOnStartTime,function(){n.hasMask=!0,o.remove(),n.overlay.css({backgroundImage:"url("+t+")",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"cover"}),n.overlay.CSSAnimate({opacity:1},n.opt.fadeOnStartTime)})});return this},removeMask:function(){let t=this.get(0);return t.overlay.CSSAnimate({opacity:0},t.opt.fadeOnStartTime,function(){t.hasMask=!1,t.overlay.css({backgroundImage:"",backgroundRepeat:"",backgroundPosition:"",backgroundSize:""}),t.overlay.CSSAnimate({opacity:1},t.opt.fadeOnStartTime)}),this},applyMask:function(a){let n=jQuery(a);if(n.off("YTPTime.mask"),a.opt.mask)if("string"==typeof a.opt.mask)n.YTPAddMask(a.opt.mask),a.actualMask=a.opt.mask;else if("object"==typeof a.opt.mask){for(let e in a.opt.mask)a.opt.mask[e]&&(img=jQuery("").attr("src",a.opt.mask[e]));a.opt.mask[0]&&n.YTPAddMask(a.opt.mask[0]),n.on("YTPTime.mask",function(o){for(let e in a.opt.mask)o.time==e&&(a.opt.mask[e]?(n.YTPAddMask(a.opt.mask[e]),a.actualMask=a.opt.mask[e]):n.YTPRemoveMask())})}},toggleMask:function(){let e=this.get(0),t=jQuery(e);return e.hasMask?t.YTPRemoveMask():t.YTPAddMask(),this},manageProgress:function(){let s=this.get(0),d=jQuery("#controlBar_"+s.id),l=d.find(".mb_YTPProgress"),e=d.find(".mb_YTPLoaded"),t=d.find(".mb_YTPseekbar"),i=l.outerWidth(),r=Math.floor(s.player.getCurrentTime()),n=Math.floor(s.player.getDuration()),o=100*s.player.getVideoLoadedFraction();return e.css({left:0,width:o+"%"}),t.css({left:0,width:r*i/n}),{totalTime:n,currentTime:r}},buildControls:function(YTPlayer){if(jQuery("#controlBar_"+YTPlayer.id).remove(),!YTPlayer.opt.showControls)return void(YTPlayer.controlBar=!1);if(YTPlayer.opt.showYTLogo=YTPlayer.opt.showYTLogo||YTPlayer.opt.printUrl,jQuery("#controlBar_"+YTPlayer.id).length)return;YTPlayer.controlBar=jQuery("
").attr("id","controlBar_"+YTPlayer.id).addClass("mb_YTPBar").css({whiteSpace:"noWrap",position:YTPlayer.isBackground?"fixed":"absolute",zIndex:YTPlayer.isBackground?1e4:1e3}).hide().on("click",function(t){t.stopPropagation()});let buttonBar=jQuery("
").addClass("buttonBar"),playpause=jQuery(""+jQuery.mbYTPlayer.controls.play+"").addClass("mb_YTPPlayPause ytpicon").on("click",function(t){t.stopPropagation(),jQuery(YTPlayer).YTPTogglePlay()}),MuteUnmute=jQuery(""+jQuery.mbYTPlayer.controls.mute+"").addClass("mb_YTPMuteUnmute ytpicon").on("click",function(t){t.stopPropagation(),jQuery(YTPlayer).YTPToggleVolume()}),volumeBar=jQuery("
").addClass("mb_YTPVolumeBar").css({display:"inline-block"});YTPlayer.volumeBar=volumeBar;let idx=jQuery("").addClass("mb_YTPTime"),vURL=YTPlayer.opt.videoURL?YTPlayer.opt.videoURL:"";0>vURL.indexOf("http")&&(vURL="https://www.youtube.com/watch?v="+YTPlayer.opt.videoURL);let movieUrl=jQuery("").html(jQuery.mbYTPlayer.controls.ytLogo).addClass("mb_YTPUrl ytpicon").attr("title","view on YouTube").on("click",function(){window.open(vURL,"viewOnYT")}),onlyVideo=jQuery("").html(jQuery.mbYTPlayer.controls.onlyYT).addClass("mb_OnlyYT ytpicon").on("click",function(t){t.stopPropagation(),jQuery(YTPlayer).YTPFullscreen(YTPlayer.opt.realFullscreen)}),progressBar=jQuery("
").addClass("mb_YTPProgress").css("position","absolute").on("click",function(e){e.stopPropagation(),timeBar.css({width:e.clientX-timeBar.offset().left}),YTPlayer.timeW=e.clientX-timeBar.offset().left,YTPlayer.controlBar.find(".mb_YTPLoaded").css({width:0});let t=Math.floor(YTPlayer.player.getDuration());YTPlayer.goto=timeBar.outerWidth()*t/progressBar.outerWidth(),YTPlayer.player.seekTo(parseFloat(YTPlayer.goto),!0),YTPlayer.controlBar.find(".mb_YTPLoaded").css({width:0})}),loadedBar=jQuery("
").addClass("mb_YTPLoaded").css("position","absolute"),timeBar=jQuery("
").addClass("mb_YTPseekbar").css("position","absolute");progressBar.append(loadedBar).append(timeBar),buttonBar.append(playpause).append(MuteUnmute).append(volumeBar).append(idx),YTPlayer.opt.showYTLogo&&buttonBar.append(movieUrl),(YTPlayer.isBackground||eval(YTPlayer.opt.realFullscreen)&&!YTPlayer.isBackground)&&buttonBar.append(onlyVideo),YTPlayer.controlBar.append(buttonBar).append(progressBar),YTPlayer.isBackground?jQuery("body").after(YTPlayer.controlBar):(YTPlayer.controlBar.addClass("inlinePlayer"),YTPlayer.wrapper.before(YTPlayer.controlBar)),volumeBar.simpleSlider({initialval:YTPlayer.opt.vol,scale:100,orientation:"h",callback:function(t){0==t.value?jQuery(YTPlayer).YTPMute():jQuery(YTPlayer).YTPUnmute(),YTPlayer.player.setVolume(t.value),YTPlayer.isMute||(YTPlayer.opt.vol=t.value)}})},changeCoverImage:function(t){let a=this.get(0);if(a.opt.coverImage||a.orig_containment_background){let n=t||(a.opt.coverImage?"url("+a.opt.coverImage+") center center":a.orig_containment_background);n&&a.opt.containment.css({background:n,backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundAttachment:"fixed"})}return this},checkForState:function(){let YTPlayer=this.get(0),$YTPlayer=jQuery(YTPlayer);clearInterval(YTPlayer.getState);let interval=100;return jQuery.contains(document,YTPlayer)?void(jQuery.mbYTPlayer.checkForStart(YTPlayer),YTPlayer.getState=setInterval(function(){let $YTPlayer=jQuery(YTPlayer);if(!YTPlayer.isReady)return;let prog=jQuery(YTPlayer).YTPManageProgress(),stopAt=YTPlayer.opt.stopAt>YTPlayer.opt.startAt?YTPlayer.opt.stopAt:0;if(stopAt=stopAt=YTPlayer.controlBar.outerWidth()&&!YTPlayer.isCompact?(YTPlayer.controlBar.addClass("compact"),YTPlayer.isCompact=!0,!YTPlayer.isMute&&YTPlayer.volumeBar&&YTPlayer.volumeBar.updateSliderVal(YTPlayer.opt.vol)):YTPlayer.controlBar.length&&400=stopAt)){if(YTPlayer.isEnded)return;if(YTPlayer.isEnded=!0,setTimeout(function(){YTPlayer.isEnded=!1},1e3),YTPlayer.isList){if(!YTPlayer.opt.loop||0=startAt/YTPlayer.player.getDuration();if(jQuery.browser.mobile&&(canPlayVideo=!0),0=startAt&&canPlayVideo){YTPlayer.start_from_last=null,YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),clearInterval(YTPlayer.checkForStartAt),"function"==typeof YTPlayer.opt.onReady&&YTPlayer.opt.onReady(YTPlayer),YTPlayer.isReady=!0,$YTPlayer.YTPRemoveFilter(),YTPlayer.opt.addFilters?$YTPlayer.YTPApplyFilters(YTPlayer.opt.addFilters):$YTPlayer.YTPApplyFilters(),$YTPlayer.YTPEnableFilters();let YTPready=jQuery.Event("YTPReady");if(YTPready.time=YTPlayer.currentTime,$YTPlayer.trigger(YTPready),YTPlayer.state=2,YTPlayer.opt.mute?$YTPlayer.YTPMute():YTPlayer.opt.autoPlay?(console.debug("We muted the audio to make the video 'auto-play' according with the latest vendor policy. The audio will unmute at the first user interaction with the page"),YTPlayer.player.mute(),YTPlayer.forcedMuted=!0,jQuery(document).on("mousedown.YTPstartAudio",function(){YTPlayer.forcedMuted&&(console.debug("AAAAAAA"),YTPlayer.player.unMute(),YTPlayer.forcedMuted=!1,jQuery(document).off("mousedown.YTPstartAudio"))}),jQuery(window).on("scroll",function(){console.debug("AAAAA")})):YTPlayer.player.unMute(),"undefined"!=typeof _gaq&&eval(YTPlayer.opt.gaTrack)?_gaq.push(["_trackEvent","YTPlayer","Play",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()]):"undefined"!=typeof ga&&eval(YTPlayer.opt.gaTrack)&&ga("send","event","YTPlayer","play",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()),YTPlayer.opt.autoPlay){let t=jQuery.Event("YTPStart");t.time=YTPlayer.currentTime,jQuery(YTPlayer).trigger(t),YTPlayer.isStarting=!1,"mac"===jQuery.mbBrowser.os.name&&jQuery.mbBrowser.safari&&jQuery("body").one("mousedown.YTPstart",function(){$YTPlayer.YTPPlay()}),$YTPlayer.YTPPlay(),console.timeEnd(YTPTimerLabels.startPlaying)}else YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),YTPlayer.start_from_last&&YTPlayer.player.seekTo(startAt,!0),setTimeout(function(){YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),YTPlayer.isPlayer||(YTPlayer.opt.coverImage?(YTPlayer.wrapper.css({opacity:0}),setTimeout(function(){$YTPlayer.changeCoverImage()},YTPlayer.opt.fadeOnStartTime)):(jQuery(YTPlayer.playerEl).CSSAnimate({opacity:1},YTPlayer.opt.fadeOnStartTime),YTPlayer.wrapper.CSSAnimate({opacity:YTPlayer.isAlone?1:YTPlayer.opt.opacity},YTPlayer.opt.fadeOnStartTime))),YTPlayer.isStarting=!1},500),YTPlayer.controlBar.length&&YTPlayer.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play);YTPlayer.isPlayer&&!YTPlayer.opt.autoPlay&&YTPlayer.loading&&YTPlayer.loading.length&&(YTPlayer.loading.html("Ready"),setTimeout(function(){YTPlayer.loading.fadeOut()},100)),YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.slideDown(1e3)}"mac"===jQuery.mbBrowser.os.name&&jQuery.mbBrowser.safari&&(YTPlayer.player.playVideo(),0<=startAt&&YTPlayer.player.seekTo(startAt,!0))},100),$YTPlayer},getTime:function(){let t=this.get(0);return jQuery.mbYTPlayer.formatTime(t.currentTime)},getTotalTime:function(){let t=this.get(0);return jQuery.mbYTPlayer.formatTime(t.totalTime)},formatTime:function(t){let a=Math.floor(t/60),n=Math.floor(t-60*a);return(9>=a?"0"+a:a)+" : "+(9>=n?"0"+n:n)},setAnchor:function(t){this.optimizeDisplay(t)},getAnchor:function(){return this.get(0).opt.anchor},setAbundance:function(t,a){let n=this.get(0);return a&&(n.opt.abundance=t),this.optimizeDisplay(n.opt.anchor,t),this},getAbundance:function(){return this.get(0).opt.abundance},setOption:function(e,t){return this.get(0).opt[e]=t,this}},jQuery.fn.optimizeDisplay=function(anchor,abundanceX){let YTPlayer=this.get(0),vid={},el=YTPlayer.wrapper,iframe=jQuery(YTPlayer.playerEl);YTPlayer.opt.anchor=anchor||YTPlayer.opt.anchor,YTPlayer.opt.anchor="undefined "==typeof YTPlayer.opt.anchor?"center,center":YTPlayer.opt.anchor;let YTPAlign=YTPlayer.opt.anchor.split(","),ab=abundanceX||YTPlayer.opt.abundance;if(YTPlayer.opt.optimizeDisplay){let abundance=el.height()*ab,win={};win.width=el.outerWidth(),win.height=el.outerHeight()+abundance,YTPlayer.opt.ratio="auto"===YTPlayer.opt.ratio?16/9:YTPlayer.opt.ratio,YTPlayer.opt.ratio=eval(YTPlayer.opt.ratio),vid.width=win.width+abundance,vid.height=Math.ceil(vid.width/YTPlayer.opt.ratio),vid.marginTop=Math.ceil(-(vid.height-win.height+abundance)/2),vid.marginLeft=-abundance/2;let lowest=vid.heightnavigator.appVersion.indexOf("Mobile")&&(t.name="Mac"),-1!=navigator.appVersion.indexOf("Linux")&&(t.name="Linux"),/Mac OS X/.test(nAgt)&&!/Mobile/.test(nAgt)&&(t.version=/Mac OS X ([\._\d]+)/.exec(nAgt)[1],t.version=t.version.replace(/_/g,".").substring(0,5)),/Windows/.test(nAgt)&&(t.version="Unknown.Unknown"),/Windows NT 5.1/.test(nAgt)&&(t.version="5.1"),/Windows NT 6.0/.test(nAgt)&&(t.version="6.0"),/Windows NT 6.1/.test(nAgt)&&(t.version="6.1"),/Windows NT 6.2/.test(nAgt)&&(t.version="6.2"),/Windows NT 10.0/.test(nAgt)&&(t.version="10.0"),/Linux/.test(nAgt)&&/Linux/.test(nAgt)&&(t.version="Unknown.Unknown"),t.name=t.name.toLowerCase(),t.major_version="Unknown",t.minor_version="Unknown","Unknown.Unknown"!=t.version&&(t.major_version=parseFloat(t.version.split(".")[0]),t.minor_version=parseFloat(t.version.split(".")[1])),t};if(jQuery.browser.os=getOS(),jQuery.browser.hasTouch=isTouchSupported(),jQuery.browser.name=navigator.appName,jQuery.browser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10),-1!=(verOffset=nAgt.indexOf("Opera")))jQuery.browser.opera=!0,jQuery.browser.name="Opera",jQuery.browser.fullVersion=nAgt.substring(verOffset+6),-1!=(verOffset=nAgt.indexOf("Version"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8));else if(-1!=(verOffset=nAgt.indexOf("OPR")))jQuery.browser.opera=!0,jQuery.browser.name="Opera",jQuery.browser.fullVersion=nAgt.substring(verOffset+4);else if(-1!=(verOffset=nAgt.indexOf("MSIE")))jQuery.browser.msie=!0,jQuery.browser.name="Microsoft Internet Explorer",jQuery.browser.fullVersion=nAgt.substring(verOffset+5);else if(-1!=nAgt.indexOf("Trident")){jQuery.browser.msie=!0,jQuery.browser.name="Microsoft Internet Explorer";var start=nAgt.indexOf("rv:")+3,end=start+4;jQuery.browser.fullVersion=nAgt.substring(start,end)}else-1==(verOffset=nAgt.indexOf("Edge"))?-1==(verOffset=nAgt.indexOf("Chrome"))?-1jQuery.CSS.filters[i].max?jQuery.CSS.filters[i].max:o,jQuery.CSS.filters[i].unit),t[n+"filter"]+=r+"("+o+") ",delete t[i]}-1!=(ix=jQuery.browser.fullVersion.indexOf(";"))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),-1!=(ix=jQuery.browser.fullVersion.indexOf(" "))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),jQuery.browser.majorVersion=parseInt(""+jQuery.browser.fullVersion,10),isNaN(jQuery.browser.majorVersion)&&(jQuery.browser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10)),jQuery.browser.version=jQuery.browser.majorVersion,jQuery.browser.android=/Android/i.test(nAgt),jQuery.browser.blackberry=/BlackBerry|BB|PlayBook/i.test(nAgt),jQuery.browser.ios=/iPhone|iPad|iPod|webOS/i.test(nAgt),jQuery.browser.operaMobile=/Opera Mini/i.test(nAgt),jQuery.browser.windowsMobile=/IEMobile|Windows Phone/i.test(nAgt),jQuery.browser.kindle=/Kindle|Silk/i.test(nAgt),jQuery.browser.mobile=jQuery.browser.android||jQuery.browser.blackberry||jQuery.browser.ios||jQuery.browser.windowsMobile||jQuery.browser.operaMobile||jQuery.browser.kindle,jQuery.isMobile=jQuery.browser.mobile,jQuery.isTablet=jQuery.browser.mobile&&765parseInt(e[t]))return 1;if(e[t]&&!a[t]&&0a.indexOf(t)&&a.push(uncamel(t));return a.join(",")},animate:function(a,n,i,r,h){return this.each(function(){function s(){l.called=!0,l.CSSAIsRunning=!1,e.off(jQuery.CSS.transitionEnd+"."+l.id),clearTimeout(l.timeout),e.css(jQuery.CSS.sfx+"transition",""),"function"==typeof h&&h.apply(l),"function"==typeof l.CSSqueue&&(l.CSSqueue(),l.CSSqueue=null)}var l=this,e=jQuery(this);l.id=l.id||"CSSA_"+new Date().getTime();var t=t||{type:"noEvent"};if(l.CSSAIsRunning&&l.eventType==t.type&&!jQuery.browser.msie&&9>=jQuery.browser.version)l.CSSqueue=function(){e.CSSAnimate(a,n,i,r,h)};else if(l.CSSqueue=null,l.eventType=t.type,0!==e.length&&a){if(a=jQuery.normalizeCss(a),l.CSSAIsRunning=!0,"function"==typeof n&&(h=n,n=jQuery.fx.speeds._default),"function"==typeof i&&(r=i,i=0),"string"==typeof i&&(h=i,i=0),"function"==typeof r&&(h=r,r="cubic-bezier(0.65,0.03,0.36,0.72)"),"string"==typeof n)for(var d in jQuery.fx.speeds){if(n==d){n=jQuery.fx.speeds[d];break}n=jQuery.fx.speeds._default}if(n||(n=jQuery.fx.speeds._default),"string"==typeof h&&(r=h,h=null),jQuery.support.CSStransition){var c={default:"ease",in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};c[r]&&(r=c[r]),e.off(jQuery.CSS.transitionEnd+"."+l.id),c=jQuery.CSS.getProp(a);var p={};jQuery.extend(p,a),p[jQuery.CSS.sfx+"transition-property"]=c,p[jQuery.CSS.sfx+"transition-duration"]=n+"ms",p[jQuery.CSS.sfx+"transition-delay"]=i+"ms",p[jQuery.CSS.sfx+"transition-timing-function"]=r,setTimeout(function(){e.one(jQuery.CSS.transitionEnd+"."+l.id,s),e.css(p)},1),l.timeout=setTimeout(function(){l.called||!h?(l.called=!1,l.CSSAIsRunning=!1):(e.css(jQuery.CSS.sfx+"transition",""),h.apply(l),l.CSSAIsRunning=!1,"function"==typeof l.CSSqueue&&(l.CSSqueue(),l.CSSqueue=null))},n+i+10)}else{for(c in a)"transform"===c&&delete a[c],"filter"===c&&delete a[c],"transform-origin"===c&&delete a[c],"auto"===a[c]&&delete a[c],"x"===c&&(t=a[c],a[d="left"]=t,delete a[c]),"y"===c&&(t=a[c],a[d="top"]=t,delete a[c]),"-ms-transform"!==c&&"-ms-filter"!==c||delete a[c];e.delay(i).animate(a,n,h)}}})}},jQuery.fn.CSSAnimate=jQuery.CSS.animate,jQuery.normalizeCss=jQuery.CSS.normalizeCss,jQuery.fn.css3=function(t){return this.each(function(){var a=jQuery(this),n=jQuery.normalizeCss(t);a.css(n)})},function(n){n.simpleSlider={defaults:{initialval:0,maxval:100,orientation:"h",readonly:!1,callback:!1},events:{start:n.browser.mobile?"touchstart":"mousedown",end:n.browser.mobile?"touchend":"mouseup",move:n.browser.mobile?"touchmove":"mousemove"},init:function(i){return this.each(function(){var a=this,o=n(a);o.addClass("simpleSlider"),a.opt={},n.extend(a.opt,n.simpleSlider.defaults,i),n.extend(a.opt,o.data()),console.debug(o.data());var r="h"==a.opt.orientation?"horizontal":"vertical",e=n("
").addClass("level").addClass(r);o.prepend(e),a.level=e,o.css({cursor:"default"}),"auto"==a.opt.maxval&&(a.opt.maxval=n(a).outerWidth()),o.updateSliderVal(),a.opt.readonly||(o.on(n.simpleSlider.events.start,function(e){n.browser.mobile&&(e=e.changedTouches[0]),a.canSlide=!0,o.updateSliderVal(e),"h"==a.opt.orientation?o.css({cursor:"col-resize"}):o.css({cursor:"row-resize"}),a.lastVal=a.val,n.browser.mobile||(e.preventDefault(),e.stopPropagation())}),n(document).on(n.simpleSlider.events.move,function(e){n.browser.mobile&&(e=e.changedTouches[0]),a.canSlide&&(n(document).css({cursor:"default"}),o.updateSliderVal(e),n.browser.mobile||(e.preventDefault(),e.stopPropagation()))}).on(n.simpleSlider.events.end,function(){n(document).css({cursor:"auto"}),a.canSlide=!1,o.css({cursor:"auto"})}))})},updateSliderVal:function(r){function a(e,t){return Math.floor(100*e/t)}var e=this.get(0);if(e.opt){e.opt.initialval="number"==typeof e.opt.initialval?e.opt.initialval:e.opt.initialval(e);var t=n(e).outerWidth(),o=n(e).outerHeight();e.x="object"==typeof r?r.clientX+document.body.scrollLeft-this.offset().left:"number"==typeof r?r*t/e.opt.maxval:e.opt.initialval*t/e.opt.maxval,e.y="object"==typeof r?r.clientY+document.body.scrollTop-this.offset().top:"number"==typeof r?(e.opt.maxval-e.opt.initialval-r)*o/e.opt.maxval:e.opt.initialval*o/e.opt.maxval,e.y=this.outerHeight()-e.y,e.scaleX=e.x*e.opt.maxval/t,e.scaleY=e.y*e.opt.maxval/o,e.outOfRangeX=e.scaleX>e.opt.maxval?e.scaleX-e.opt.maxval:0>e.scaleX?e.scaleX:0,e.outOfRangeY=e.scaleY>e.opt.maxval?e.scaleY-e.opt.maxval:0>e.scaleY?e.scaleY:0,e.outOfRange="h"==e.opt.orientation?e.outOfRangeX:e.outOfRangeY,e.value=void 0===r?"h"==e.opt.orientation?e.scaleX:e.scaleY:"h"==e.opt.orientation?e.x>=this.outerWidth()?e.opt.maxval:0>=e.x?0:e.scaleX:e.y>=this.outerHeight()?e.opt.maxval:0>=e.y?0:e.scaleY,"h"==e.opt.orientation?e.level.width(a(e.x,t)+"%"):e.level.height(a(e.y,o)),e.lastVal===e.value&&("h"===e.opt.orientation&&(e.x>=this.outerWidth()||0>=e.x)||"h"!==e.opt.orientation&&(e.y>=this.outerHeight()||0>=e.y))||("function"==typeof e.opt.callback&&e.opt.callback(e),e.lastVal=e.value)}}},n.fn.simpleSlider=n.simpleSlider.init,n.fn.updateSliderVal=n.simpleSlider.updateSliderVal}(jQuery),function(e){e.mbCookie={set:function(e,t,n,o){"object"==typeof t&&(t=JSON.stringify(t)),o=o?"; domain="+o:"";var i=new Date,s="";0this.total,this.paused=!this.settings.autoplay||this.noshow,this.ended=!1,this.$elmt=g(a),this.$timer=null,this.$overlay=null,this.$slide=null,this.timeout=null,this.first=!0,this.transitions=["fade","fade2","blur","blur2","flash","flash2","negative","negative2","burn","burn2","slideLeft","slideLeft2","slideRight","slideRight2","slideUp","slideUp2","slideDown","slideDown2","zoomIn","zoomIn2","zoomOut","zoomOut2","swirlLeft","swirlLeft2","swirlRight","swirlRight2"],this.animations=["kenburns","kenburnsLeft","kenburnsRight","kenburnsUp","kenburnsUpLeft","kenburnsUpRight","kenburnsDown","kenburnsDownLeft","kenburnsDownRight"],0==this.settings.transitionRegister instanceof Array&&(this.settings.transitionRegister=[this.settings.transitionRegister]),0==this.settings.animationRegister instanceof Array&&(this.settings.animationRegister=[this.settings.animationRegister]),this.transitions=this.transitions.concat(this.settings.transitionRegister),this.animations=this.animations.concat(this.settings.animationRegister),this.support={objectFit:"objectFit"in document.body.style,transition:"transition"in document.body.style||"WebkitTransition"in document.body.style,video:g.vegas.isVideoCompatible()},!0===this.settings.shuffle&&this.shuffle(),this._init()};e.prototype={_init:function(){var e,a,r,l="BODY"===this.elmt.tagName,d=this.settings.timer,c=this.settings.overlay,n=this;this._preload(),l||(this.$elmt.css("height",this.$elmt.css("height")),e=g("
").css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||e.css("padding-top",this.$elmt.css("padding-top")).css("padding-bottom",this.$elmt.css("padding-bottom")).css("padding-left",this.$elmt.css("padding-left")).css("padding-right",this.$elmt.css("padding-right")),this.$elmt.clone(!0).children().appendTo(e),this.elmt.innerHTML=""),d&&this.support.transition&&(r=g("
"),this.$timer=r,this.$elmt.prepend(r)),c&&(a=g("
"),"string"==typeof c&&a.css("background-image","url("+c+")"),this.$overlay=a,this.$elmt.prepend(a)),this.$elmt.addClass("vegas-container"),l||this.$elmt.append(e),setTimeout(function(){n.trigger("init"),n._goto(n.slide),n.settings.autoplay&&n.trigger("play")},1)},_preload:function(){var t;for(t=0;te&&(a.volume=e,setTimeout(function(){o._fadeInSound(a,n)},n/10))},_options:function(e,t){return void 0===t&&(t=this.slide),void 0===this.settings.slides[t][e]?this.settings[e]:this.settings.slides[t][e]},_goto:function(e){function i(){P._timer(!0),setTimeout(function(){f&&(P.support.transition?(C.css("transition","all "+I+"ms").addClass("vegas-transition-"+f+"-out"),C.each(function(){var t=C.find("video").get(0);t&&(t.volume=1,P._fadeOutSound(t,I))}),a.css("transition","all "+I+"ms").addClass("vegas-transition-"+f+"-in")):a.fadeIn(I));for(var t=0;tl)&&(I=l),"auto"===E&&(E=l),a=g("
"),this.support.transition&&f&&a.addClass("vegas-transition-"+f),this.support.video&&T?((x=T instanceof Array?this._video(T):this._video(T.src)).loop=void 0===T.loop||T.loop,x.muted=void 0===T.mute||T.mute,!1===x.muted?(x.volume=0,this._fadeInSound(x,I)):x.pause(),h=g(x).addClass("vegas-video").css("background-color",k),this.support.objectFit?h.css("object-position",u+" "+c).css("object-fit",d).css("width","100%").css("height","100%"):"contain"===d&&h.css("width","100%").css("height","100%"),a.append(h)):(_=new Image,r=g("
").css("background-image","url(\""+v+"\")").css("background-color",k).css("background-position",u+" "+c),"repeat"===d?r.css("background-repeat","repeat"):r.css("background-size",d),this.support.transition&&D&&r.addClass("vegas-animation-"+D).css("animation-duration",E+"ms"),a.append(r)),this.support.transition||a.css("display","none"),w?C.eq(w-1).after(a):this.$elmt.prepend(a),C.css("transition","all 0ms").each(function(){this.className="vegas-slide","VIDEO"===this.tagName&&(this.className+=" vegas-video"),f&&(this.className+=" vegas-transition-"+f,this.className+=" vegas-transition-"+f+"-in")}),P._timer(!1),x?(4===x.readyState&&(x.currentTime=0),x.play(),i()):(_.src=v,_.complete?i():_.onload=i)},_end:function(){this.ended=!0,this._timer(!1),this.trigger("end")},shuffle:function(){for(var a,n,o=this.total-1;0t||t>this.total-1||t===this.slide||(this.slide=t,this._goto(this.slide))},next:function(){if(this.slide++,this.slide>=this.total){if(!this.settings.loop)return this._end();this.slide=0}this._goto(this.slide)},previous:function(){if(this.slide--,0>this.slide){if(!this.settings.loop)return void this.slide++;this.slide=this.total-1}this._goto(this.slide)},trigger:function(e){var t;t="init"===e?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+e,t),"function"==typeof this.settings[e]&&this.settings[e].apply(this.$elmt,t)},options:function(a,e){var t=this.settings.slides.slice();if("object"==typeof a)this.settings=g.extend({},n,g.vegas.defaults,a);else{if("string"!=typeof a)return this.settings;if(void 0===e)return this.settings[a];this.settings[a]=e}this.settings.slides!==t&&(this.total=this.settings.slides.length,this.noshow=2>this.total,this._preload())},destroy:function(){clearTimeout(this.timeout),this.$elmt.removeClass("vegas-container"),this.$elmt.find("> .vegas-slide").remove(),this.$elmt.find("> .vegas-wrapper").clone(!0).children().appendTo(this.$elmt),this.$elmt.find("> .vegas-wrapper").remove(),this.settings.timer&&this.$timer.remove(),this.settings.overlay&&this.$overlay.remove(),this.elmt._vegas=null}},g.fn.vegas=function(t){var a,n=arguments,i=!1;if(void 0===t||"object"==typeof t)return this.each(function(){this._vegas||(this._vegas=new e(this,t))});if("string"==typeof t){if(this.each(function(){var o=this._vegas;if(!o)throw new Error("No Vegas applied to this element.");"function"==typeof o[t]&&"_"!==t[0]?a=o[t].apply(o,[].slice.call(n,1)):i=!0}),i)throw new Error("No method \""+t+"\" in Vegas.");return void 0===a?this:a}},g.vegas={},g.vegas.defaults=n,g.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(window.jQuery||window.Zepto),function(g){"use strict";function t(e,t){this.element=e,this.settings=g.extend({},i,t),this._defaults=i,this._name=n,this.init()}var n="mgGlitch",i={destroy:!1,glitch:!0,scale:!0,blend:!0,blendModeType:"hue",glitch1TimeMin:600,glitch1TimeMax:900,glitch2TimeMin:10,glitch2TimeMax:115,zIndexStart:5};g.extend(t.prototype,{init:function(){this.glitch()},glitch:function(){function p(e,t){return Math.floor(Math.random()*(t-e+1))+e}var m=this.element,e=this.settings.scale,s=this.settings.glitch1TimeMin,l=this.settings.glitch1TimeMax,t=this.settings.glitch2TimeMin,i=this.settings.glitch2TimeMax,n=this.settings.zIndexStart;!0===this.settings.destroy?((g(m).hasClass("el-front-1")||g(m).hasClass("front-3")||g(m).hasClass("front-2"))&&g(".front-1, .front-2, .front-3").remove(),g(".back").removeClass("back")):!1===this.settings.destroy&&((g(m).clone().insertBefore(m).addClass("back").css({"z-index":n}),!0===this.settings.blend)&&(g(m).clone().insertAfter(m).addClass("front-3").css({"z-index":n+3,"mix-blend-mode":this.settings.blendModeType}),function r(){var a=p(10,1900),s=p(10,1300),n=p(0,40),o=p(0,40),l=p(t,i);if(!0===e)var d=(Math.random()*(1.1-.9)+.9).toFixed(2);else!1===e&&(d=1);g(m).next().next().css({clip:"rect("+a+"px, 9999px, "+s+"px,0px)",left:n,right:o,"-webkit-transform":"scale("+d+")","-ms-transform":"scale("+d+")",transform:"scale("+d+")"}),setTimeout(r,l)}()),!0===this.settings.glitch&&(g(m).clone().insertAfter(m).addClass("front-2").css({"z-index":n+2}),g(".back").next().addClass("front-1").css({"z-index":n+1}),function e(){var t=p(10,1900),o=p(10,1300),i=p(0,16),a=p(0,16),n=p(s,l);g(m).css({clip:"rect("+t+"px, 9999px, "+o+"px,0px)",right:a,left:i}),setTimeout(e,n)}(),function r(){var a=p(10,1900),s=p(10,1300),n=p(0,40),o=p(0,40),l=p(t,i);if(!0===e)var d=(Math.random()*(1.1-.9)+.9).toFixed(2);else!1===e&&(d=1);g(m).next().css({clip:"rect("+a+"px, 9999px, "+s+"px,0px)",left:n,right:o,"-webkit-transform":"scale("+d+")","-ms-transform":"scale("+d+")",transform:"scale("+d+")"}),setTimeout(r,l)}()))}}),g.fn.mgGlitch=function(a){return this.each(function(){new t(this,a)})}}(jQuery,window,document),function(d,l){function e(a,o){this.element=a,this.settings=d.extend({},t,o),this.settings.duplicate||o.hasOwnProperty("removeIds")||(this.settings.removeIds=!1),this._defaults=t,this._name=n,this.init()}var t={label:"MENU",duplicate:!0,duration:200,easingOpen:"swing",easingClose:"swing",closedSymbol:"►",openedSymbol:"▼",prependTo:"body",appendTo:"",parentTag:"a",closeOnClick:!1,allowParentLinks:!1,nestedParentLinks:!0,showChildren:!1,removeIds:!0,removeClasses:!1,removeStyles:!1,brand:"",animations:"jquery",init:function(){},beforeOpen:function(){},beforeClose:function(){},afterOpen:function(){},afterClose:function(){}},n="slicknav";e.prototype.init=function(){var t,a,u=this,r=d(this.element),p=this.settings;if(u.mobileNav=p.duplicate?r.clone():r,p.removeIds&&(u.mobileNav.removeAttr("id"),u.mobileNav.find("*").each(function(t,a){d(a).removeAttr("id")})),p.removeClasses&&(u.mobileNav.removeAttr("class"),u.mobileNav.find("*").each(function(t,a){d(a).removeAttr("class")})),p.removeStyles&&(u.mobileNav.removeAttr("style"),u.mobileNav.find("*").each(function(t,a){d(a).removeAttr("style")})),t="slicknav_icon",""===p.label&&(t+=" slicknav_no-text"),"a"==p.parentTag&&(p.parentTag="a href=\"#\""),u.mobileNav.attr("class","slicknav_nav"),a=d("
"),""!==p.brand){var s=d("
"+p.brand+"
");d(a).append(s)}u.btn=d(["<"+p.parentTag+" aria-haspopup=\"true\" role=\"button\" tabindex=\"0\" class=\"slicknav_btn slicknav_collapsed\">",""+p.label+"","","","","","",""].join("")),d(a).append(u.btn),""===p.appendTo?d(p.prependTo).prepend(a):d(p.appendTo).append(a),a.append(u.mobileNav);var n=u.mobileNav.find("li");d(n).each(function(){var i=d(this),o={};if(o.children=i.children("ul").attr("role","menu"),i.data("menu",o),0");p.allowParentLinks&&!p.nestedParentLinks&&t?d(l).wrapAll("").parent():d(l).wrapAll(s).parent().addClass("slicknav_row"),p.showChildren?i.addClass("slicknav_open"):i.addClass("slicknav_collapsed"),i.addClass("slicknav_parent");var n=d(""+(p.showChildren?p.openedSymbol:p.closedSymbol)+"");p.allowParentLinks&&!p.nestedParentLinks&&t&&(n=n.wrap(s).parent()),d(l).last().after(n)}else 0===i.children().length&&i.addClass("slicknav_txtnode");i.children("a").attr("role","menuitem").click(function(e){p.closeOnClick&&!d(e.target).parent().closest("li").hasClass("slicknav_parent")&&d(u.btn).click()}),p.closeOnClick&&p.allowParentLinks&&(i.children("a").children("a").click(function(){d(u.btn).click()}),i.find(".slicknav_parent-link a:not(.slicknav_item)").click(function(){d(u.btn).click()}))}),d(n).each(function(){var e=d(this).data("menu");p.showChildren||u._visibilityToggle(e.children,null,!1,null,!0)}),u._visibilityToggle(u.mobileNav,null,!1,"init",!0),u.mobileNav.attr("role","menu"),d(l).mousedown(function(){u._outlines(!1)}),d(l).keyup(function(){u._outlines(!0)}),d(u.btn).click(function(t){t.preventDefault(),u._menuToggle()}),u.mobileNav.on("click",".slicknav_item",function(e){e.preventDefault(),u._itemClick(d(this))}),d(u.btn).keydown(function(t){var a=t||event;switch(a.keyCode){case 13:case 32:case 40:t.preventDefault(),40===a.keyCode&&d(u.btn).hasClass("slicknav_open")||u._menuToggle(),d(u.btn).next().find("[role=\"menuitem\"]").first().focus();}}),u.mobileNav.on("keydown",".slicknav_item",function(e){switch((e||event).keyCode){case 13:e.preventDefault(),u._itemClick(d(e.target));break;case 39:e.preventDefault(),d(e.target).parent().hasClass("slicknav_collapsed")&&u._itemClick(d(e.target)),d(e.target).next().find("[role=\"menuitem\"]").first().focus();}}),u.mobileNav.on("keydown","[role=\"menuitem\"]",function(t){switch((t||event).keyCode){case 40:t.preventDefault();var a=(o=(n=d(t.target).parent().parent().children().children("[role=\"menuitem\"]:visible")).index(t.target))+1;n.length<=a&&(a=0),n.eq(a).focus();break;case 38:t.preventDefault();var n,o=(n=d(t.target).parent().parent().children().children("[role=\"menuitem\"]:visible")).index(t.target);n.eq(o-1).focus();break;case 37:if(t.preventDefault(),d(t.target).parent().parent().parent().hasClass("slicknav_open")){var l=d(t.target).parent().parent().prev();l.focus(),u._itemClick(l)}else d(t.target).parent().parent().hasClass("slicknav_nav")&&(u._menuToggle(),d(u.btn).focus());break;case 27:t.preventDefault(),u._menuToggle(),d(u.btn).focus();}}),p.allowParentLinks&&p.nestedParentLinks&&d(".slicknav_item a").click(function(t){t.stopImmediatePropagation()})},e.prototype._menuToggle=function(){var n=this,a=n.btn,e=n.mobileNav;a.hasClass("slicknav_collapsed")?(a.removeClass("slicknav_collapsed"),a.addClass("slicknav_open")):(a.removeClass("slicknav_open"),a.addClass("slicknav_collapsed")),a.addClass("slicknav_animating"),n._visibilityToggle(e,a.parent(),!0,a)},e.prototype._itemClick=function(a){var n=this,o=n.settings,e=a.data("menu");e||((e={}).arrow=a.children(".slicknav_arrow"),e.ul=a.next("ul"),e.parent=a.parent(),e.parent.hasClass("slicknav_parent-link")&&(e.parent=a.parent().parent(),e.ul=a.parent().next("ul")),a.data("menu",e)),e.parent.hasClass("slicknav_collapsed")?(e.arrow.html(o.openedSymbol),e.parent.removeClass("slicknav_collapsed"),e.parent.addClass("slicknav_open"),e.parent.addClass("slicknav_animating"),n._visibilityToggle(e.ul,e.parent,!0,a)):(e.arrow.html(o.closedSymbol),e.parent.addClass("slicknav_collapsed"),e.parent.removeClass("slicknav_open"),e.parent.addClass("slicknav_animating"),n._visibilityToggle(e.ul,e.parent,!0,a))},e.prototype._visibilityToggle=function(u,p,e,t,g){function a(t,a){d(t).removeClass("slicknav_animating"),d(a).removeClass("slicknav_animating"),g||i.afterOpen(t)}function n(a,e){u.attr("aria-hidden","true"),r.attr("tabindex","-1"),o._setVisAttr(u,!0),u.hide(),d(a).removeClass("slicknav_animating"),d(e).removeClass("slicknav_animating"),g?"init"==a&&i.init():i.afterClose(a)}var o=this,i=o.settings,r=o._getActionItems(u),s=0;e&&(s=i.duration),u.hasClass("slicknav_hidden")?(u.removeClass("slicknav_hidden"),g||i.beforeOpen(t),"jquery"===i.animations?u.stop(!0,!0).slideDown(s,i.easingOpen,function(){a(t,p)}):"velocity"===i.animations&&u.velocity("finish").velocity("slideDown",{duration:s,easing:i.easingOpen,complete:function(){a(t,p)}}),u.attr("aria-hidden","false"),r.attr("tabindex","0"),o._setVisAttr(u,!1)):(u.addClass("slicknav_hidden"),g||i.beforeClose(t),"jquery"===i.animations?u.stop(!0,!0).slideUp(s,this.settings.easingClose,function(){n(t,p)}):"velocity"===i.animations&&u.velocity("finish").velocity("slideUp",{duration:s,easing:i.easingClose,complete:function(){n(t,p)}}))},e.prototype._setVisAttr=function(t,a){var n=this,o=t.children("li").children("ul").not(".slicknav_hidden");a?o.each(function(){var e=d(this);e.attr("aria-hidden","true"),n._getActionItems(e).attr("tabindex","-1"),n._setVisAttr(e,a)}):o.each(function(){var e=d(this);e.attr("aria-hidden","false"),n._getActionItems(e).attr("tabindex","0"),n._setVisAttr(e,a)})},e.prototype._getActionItems=function(e){var t=e.data("menu");if(!t){t={};var i=e.children("li"),n=i.find("a");t.links=n.add(i.find(".slicknav_item")),e.data("menu",t)}return t.links},e.prototype._outlines=function(e){e?d(".slicknav_item, .slicknav_btn").css("outline",""):d(".slicknav_item, .slicknav_btn").css("outline","none")},e.prototype.toggle=function(){this._menuToggle()},e.prototype.open=function(){this.btn.hasClass("slicknav_collapsed")&&this._menuToggle()},e.prototype.close=function(){this.btn.hasClass("slicknav_open")&&this._menuToggle()},d.fn.slicknav=function(o){var a,i=arguments;return void 0===o||"object"==typeof o?this.each(function(){d.data(this,"plugin_slicknav")||d.data(this,"plugin_slicknav",new e(this,o))}):"string"==typeof o&&"_"!==o[0]&&"init"!==o?(this.each(function(){var e=d.data(this,"plugin_slicknav");e instanceof e&&"function"==typeof e[o]&&(a=e[o].apply(e,Array.prototype.slice.call(i,1)))}),void 0===a?this:a):void 0}}(jQuery,document,window);jQuery(document).ready(function(t){t(".grcs_text_slider").each(function(){var a=t(this);if(!(a.hasClass("unsync")||"kenburns"!=background_mode))n=background_kenburns_timeout,o=background_kenburns_transition_duration;else if(a.hasClass("unsync")||"slider"!=background_mode)n=a.attr("data-timeout"),o=a.attr("data-duration");else var n=background_slider_timeout,o=background_slider_transition_duration;a.cycle({delay:0,slides:".slide",log:!1,autoHeight:"container",fx:a.attr("data-fx"),timeout:parseInt(n),speed:parseInt(o)})}),t(".grcs_social_icons").each(function(){t(this).find("li>a,li>div").tooltip({container:"body",delay:{show:150,hide:0}})}),t(".grcs_social_icons").click(function(){t(this).find("li>a,li>div").tooltip("hide")}),t(".grcs_contact_form").each(function(){var e=t(this);t(this).submit(function(n){n.preventDefault();var o=t(this).serializeArray();o.push({name:"formide",value:e.find(".form-generate-unique").data("form-ide")}),o.push({name:"formmSuccess",value:e.find(".form-generate-unique").data("form-msuccess")}),o.push({name:"formmInvalid",value:e.find(".form-generate-unique").data("form-minvalid")}),o.push({name:"formmEmpty",value:e.find(".form-generate-unique").data("form-mempty")}),t.ajax({type:"POST",url:e.attr("action"),data:o,dataType:"json",success:function(t){e.hasClass("error")&&(e.find("input").removeClass("active"),e.find("textarea").removeClass("active")),setTimeout(function(){""!==t.nameMessage&&(e.find("input[name=name]").addClass("active").attr("placeholder",t.nameMessage),e.addClass("error")),""!==t.emailMessage&&(e.find("input[name=email]").addClass("active").val("").attr("placeholder",t.emailMessage),e.addClass("error")),""!==t.messageMessage&&(e.find("textarea[name=message]").addClass("active").attr("placeholder",t.messageMessage),e.addClass("error"))},50),""===t.nameMessage&&""===t.emailMessage&&""===t.messageMessage&&(e.removeClass("error").addClass("success"),e.find("textarea, input").attr("placeholder",""),e.find("textarea").attr("placeholder",t.succesMessage),e.find("textarea, input, button").val("").prop("disabled",!0))}})})}),t(".grcs_subscribe_form").each(function(){var e=t(this);t(this).submit(function(n){n.preventDefault();var o=t(this).serializeArray();o.push({name:"formMo",value:e.find(".form-generate-unique").data("form-mo")}),o.push({name:"formmSuccess",value:e.find(".form-generate-unique").data("form-msuccess")}),o.push({name:"formmInvalid",value:e.find(".form-generate-unique").data("form-minvalid")}),o.push({name:"formmEmpty",value:e.find(".form-generate-unique").data("form-mempty")}),o.push({name:"formmFail",value:e.find(".form-generate-unique").data("form-mfail")}),o.push({name:"formMake",value:e.find(".form-generate-unique").data("form-make")}),o.push({name:"formMaid",value:e.find(".form-generate-unique").data("form-maid")}),o.push({name:"formMaopt",value:e.find(".form-generate-unique").data("form-maopt")}),o.push({name:"formFilo",value:e.find(".form-generate-unique").data("form-filo")}),t.ajax({type:"POST",url:e.attr("action"),data:o,dataType:"json",success:function(t){0===t.valid?(e.addClass("error"),e.find("input").attr("placeholder",t.message),e.find("input").val("")):(e.find("input").val("").prop("disabled",!0),e.find("button").val("").prop("disabled",!0),e.find("input").attr("placeholder",t.message),e.removeClass("error").addClass("success"))}})})}),t(".grcs_overlay").each(function(){function n(){return h!=f&&!0!==blockProcess&&void(blockProcess=!0,c.addClass("movement-in-progress"),0===h&&(prevent_class_removal=!1,t(".grcs_hero_container .container-mid").addClass("block-overflow"),m.addClass("overlay-active"),m.find(".enter-animation").addClass("ivis"),m.find(".enter-animation").css("transition","all 1s .5s"),t(".grcs_youtube_controls").removeClass("show"),t(".grcs_audio_player_toggle").removeClass("show"),t("#cycle").cycle("pause"),setTimeout(function(){c.addClass("open")},200)),0==u?h+=1:(h=p,u=!1),e.removeClass("active"),l=e.eq(h-1),setTimeout(function(){l.addClass("active"),s(),setTimeout(function(){d.addClass("active"),setTimeout(function(){blockProcess=!1,c.removeClass("movement-in-progress")},800)},400)},1e3))}function o(){return 0!==h&&!0!==blockProcess&&void(blockProcess=!0,c.addClass("movement-in-progress"),0==u?h-=1:(h=p,u=!1),e.removeClass("active"),l=e.eq(h-1),setTimeout(function(){1
"),i=0;i
");if("yes"===c.data("bullet-nav-titles")){t(".grcs_bullet_nav .nav_dots").eq(0).attr("title","Home");for(var e,a=t(".grcs_overlay .grcs_overlay_section").length,i=0;a>i;i++)e=t(".grcs_overlay .grcs_overlay_section").eq(i).data("name"),t(".grcs_bullet_nav .nav_dots").eq(i+1).attr("title",e);t(".grcs_bullet_nav .nav_dots").tooltip({placement:"left"})}s(),t(".grcs_bullet_nav .nav_dots").click(function(){(p=t(".grcs_bullet_nav .nav_dots").index(this))!=h&&(p(e.originalEvent.wheelDelta||-1*e.originalEvent.detail)/120&&n()}),t("html").on("DOMMouseScroll mousewheel",function(e){0<(e.originalEvent.wheelDelta||-1*e.originalEvent.detail)/120&&o()})),"yes"!=c.attr("data-arrow-control")&&t(document).keydown(function(e){switch(e.which){case 38:o();break;case 40:n();break;default:return;}e.preventDefault()})})});jQuery(document).ready(function(v){"use strict";if(0!=v(".grcs_background_content").length)switch(background_mode){case"image":v(".bg-image").vegas({slides:[{src:background_image_image}],delay:10,transitionDuration:10,timer:!1});break;case"slider":v(".grcs_background_content .bg-image").vegas({slides:background_slider_slides,transition:background_slider_transition,delay:background_slider_timeout,transitionDuration:background_slider_transition_duration,firstTransitionDuration:1,timer:!1,walk:function(){v(".grcs_text_slider").cycle("next")}});break;case"kenburns":v(".grcs_background_content .bg-image").vegas({slides:background_kenburns_slides,transition:background_kenburns_transition,delay:background_kenburns_timeout,transitionDuration:background_kenburns_transition_duration,firstTransitionDuration:1,timer:!1,animation:background_kenburns_effect,walk:function(){v(".grcs_text_slider").cycle("next")}});break;case"youtube":!function(){if(jQuery.browser.mobile)v(".grcs_background_content .bg-image").vegas({slides:[{src:background_youtube_fallback_image}],delay:100,transitionDuration:100,timer:!1});else{1==background_youtube_controls&&v("body").append("
"),1==background_youtube_sound?background_youtube_sound=0:(background_youtube_sound=1,v(".grcs_youtube_controls .volume-button").removeClass("fa-volume-up").addClass("fa-volume-off")),v(".grcs_background_content .bg-video").append("
"),v("#bg-youtube").attr("data-property","{videoURL:background_youtube_url,containment:\".bg-video\",autoPlay:true,mute:background_youtube_sound,startAt: background_youtube_start_point,stopAt: background_youtube_end_point,opacity:1,stopMovieOnBlur:false,showControls:false,loop:true}"),v(".player").mb_YTPlayer(),v(".grcs_youtube_controls .volume-button").click(function(){v("#bg-youtube").hasClass("isMuted")?(v("#bg-youtube").YTPUnmute(),v(".grcs_youtube_controls .volume-button").removeClass("fa-volume-off").addClass("fa-volume-up")):(v("#bg-youtube").YTPMute(),v(".grcs_youtube_controls .volume-button").removeClass("fa-volume-up").addClass("fa-volume-off"))});var e=!0;v("#bg-youtube").on("YTPPause",function(){e=!1}),v("#bg-youtube").on("YTPPlay",function(){e=!0}),v(".grcs_youtube_controls .pause-button").click(function(){1==e?(v("#bg-youtube").YTPPause(),v(".grcs_youtube_controls .pause-button").removeClass("ti-control-pause").addClass("ti-control-play")):(v("#bg-youtube").YTPPlay(),v(".grcs_youtube_controls .pause-button").removeClass("ti-control-play").addClass("ti-control-pause"))}),v("#bg-youtube").on("YTPReady",function(){setTimeout(function(){v("#bg-youtube").YTPPlay()},500)})}}();break;case"color":v(".grcs_background_content .bg-color").css("background",background_color_color),v(".grcs_background_content .bg-color").css("opacity","1"),v(".grcs_background_content .bg-pattern").remove(),v(".grcs_background_content .bg-overlay").remove();break;case"gradient":!function(){function e(e){e=e.replace("#","");var t=parseInt(e,16);return[255&t>>16,255&t>>8,255&t]}var t=[e(background_gradient_color_1),e(background_gradient_color_2),e(background_gradient_color_3),e(background_gradient_color_4),e(background_gradient_color_5),e(background_gradient_color_6)],n=0,r=v(".grcs_background_content .bg-color"),o=[0,1,2,3],s=parseFloat(background_gradient_speed)/4e4;setInterval(function(){var i=t[o[0]],l=t[o[1]],a=t[o[2]],d=t[o[3]],e=1-n,p="rgb("+Math.round(e*i[0]+n*l[0])+","+Math.round(e*i[1]+n*l[1])+","+Math.round(e*i[2]+n*l[2])+")",c="rgb("+Math.round(e*a[0]+n*d[0])+","+Math.round(e*a[1]+n*d[1])+","+Math.round(e*a[2]+n*d[2])+")";r.css({background:"-webkit-gradient(linear, left top, right top, from("+p+"), to("+c+"))"}).css({background:"-moz-linear-gradient(left, "+p+" 0%, "+c+" 100%)"}),1<=(n+=s)&&(n%=1,o[0]=o[1],o[2]=o[3],o[1]=(o[1]+Math.floor(1+Math.random()*(t.length-1)))%t.length,o[3]=(o[3]+Math.floor(1+Math.random()*(t.length-1)))%t.length)},1),v(".grcs_background_content .bg-color").css("opacity","1"),v(".grcs_background_content .bg-pattern").remove(),v(".grcs_background_content .bg-overlay").remove()}();break;case"sphere":!function(){function a(){var e=v(".grcs_background_content .level-1").width(),t=v(".grcs_background_content .level-1").height();d=t/2,p.aspect=e/t,p.updateProjectionMatrix(),h.setSize(e,t)}function s(e){n=e.clientX-l,o=e.clientY-d}v(".grcs_background_content .bg-overlay").remove(),v(".grcs_background_content .bg-pattern").remove();var p,c,h,y=v(".grcs_background_content .level-1").width(),u=v(".grcs_background_content .level-1").height(),n=0,o=0,l=y/2,d=u/2;!function(){var e,t;e=document.createElement("div"),document.getElementById("canvas").appendChild(e),(p=new THREE.PerspectiveCamera(75,y/u,1,1e4)).position.z=10*background_sphere_distance,c=new THREE.Scene,(h=new THREE.CanvasRenderer).setPixelRatio(window.devicePixelRatio),h.setSize(y,u),e.appendChild(h.domElement),h.setClearColor(background_sphere_background_color);for(var r=2*Math.PI,l=new THREE.SpriteCanvasMaterial({color:background_sphere_dot_color,program:function(e){e.beginPath(),e.arc(0,0,.5,0,r,!0),e.fill()}}),f=0;1e3>f;f++)(t=new THREE.Sprite(l)).position.x=2*Math.random()-1,t.position.y=2*Math.random()-1,t.position.z=2*Math.random()-1,t.position.normalize(),t.position.multiplyScalar(10*Math.random()+450),t.scale.multiplyScalar(2),c.add(t);for(f=0;300>f;f++){var v=new THREE.Geometry,n=new THREE.Vector3(2*Math.random()-1,2*Math.random()-1,2*Math.random()-1);n.normalize(),n.multiplyScalar(450),v.vertices.push(n);var o=n.clone();o.multiplyScalar(.3*Math.random()+1),v.vertices.push(o);var d=new THREE.Line(v,new THREE.LineBasicMaterial({color:background_sphere_line_color,opacity:Math.random()}));c.add(d)}document.addEventListener("mousemove",s,!1),window.addEventListener("resize",a,!1)}(),function e(){requestAnimationFrame(e),p.position.x+=.05*(n-p.position.x),p.position.y+=.05*(200-o-p.position.y),p.lookAt(c.position),c.rotation.y+=background_sphere_rotation_speed/1e4,h.render(c,p)}()}();break;case"waves":!function(){function s(){var e=v(".grcs_background_content .level-1").width(),t=v(".grcs_background_content .level-1").height();S=e/2,A=t/2,y.aspect=e/t,y.updateProjectionMatrix(),T.setSize(e,t)}function u(e){h=e.clientX-S,P=e.clientY-A}v(".grcs_background_content .bg-overlay").remove(),v(".grcs_background_content .bg-pattern").remove();var g,y,x,T,w,_,f=background_waves_dot_spacing,a=background_waves_dot_amount_x,t=background_waves_dot_amount_y,C=v(".grcs_background_content .level-1").width(),c=v(".grcs_background_content .level-1").height(),n=0,h=0,P=0,S=C/2,A=c/2;!function(){g=document.createElement("div"),document.getElementById("canvas").appendChild(g),(y=new THREE.PerspectiveCamera(75,C/c,1,1e4)).position.z=100*background_waves_distance,x=new THREE.Scene,w=[];for(var e=2*Math.PI,o=new THREE.SpriteCanvasMaterial({color:background_waves_dot_color,program:function(t){t.beginPath(),t.arc(0,0,.5,0,e,!0),t.fill()}}),i=0,r=0;r").addClass(s.settings.divclass),s.wrapper.appendTo(s.el),s.starz=e("canvas",s.el),s.starz[0].getContext&&(s.context=s.starz[0].getContext("2d"),p=!0),s.context.canvas.width=s.w,s.context.canvas.height=s.h,function(){if(p){s.x=Math.round(s.w/2),s.y=Math.round(s.h/2),s.z=(s.w+s.h)/2,s.star_color_ratio=1/s.z,s.cursor_x=s.x,s.cursor_y=s.y;for(var e=0;e>4,this.star[e][0]>this.x<<1&&(this.star[e][0]-=this.w<<1,this.test=!1),this.star[e][0]<-this.x<<1&&(this.star[e][0]+=this.w<<1,this.test=!1),this.star[e][1]+=this.mouse_y>>4,this.star[e][1]>this.y<<1&&(this.star[e][1]-=this.h<<1,this.test=!1),this.star[e][1]<-this.y<<1&&(this.star[e][1]+=this.h<<1,this.test=!1),this.star[e][2]-=this.star_speed,this.star[e][2]>this.z&&(this.star[e][2]-=this.z,this.test=!1),0>this.star[e][2]&&(this.star[e][2]+=this.z,this.test=!1),this.star[e][3]=this.x+this.star[e][0]/this.star[e][2]*this.star_ratio,this.star[e][4]=this.y+this.star[e][1]/this.star[e][2]*this.star_ratio,0=v(".grcs_background_content .level-1 #canvas").offset().top&&(v(".grcs_background_content .level-1 #canvas").css({WebkitTransition:"all .4s",transition:"all .4s"}),v(".grcs_background_content .level-1 #canvas").css("background",background_abstract_background_color),clearInterval(P))},50),S=background_abstract_shader_width/100,A=1.8,I=background_abstract_width_expansion,h=background_abstract_move_speed/1e4,l={count:2,xyScalar:1,zOffset:100,ambient:"#fff",diffuse:"#b3b3b3",speed:2e-4,gravity:500,dampening:.95,minLimit:10,maxLimit:null,minDistance:20,maxDistance:400,autopilot:!0,draw:!1,bounds:FSS.Vector3.create(),step:FSS.Vector3.create(Math.randomInRange(.2,1),Math.randomInRange(.2,1),Math.randomInRange(.2,1))},C=Date.now(),y=FSS.Vector3.create(),p=FSS.Vector3.create(),c=document.getElementById("canvas"),w=document.getElementById("canvas");if(g=new FSS.CanvasRenderer,n&&w.removeChild(n.element),(n=g).setSize(c.offsetWidth,c.offsetHeight),w.appendChild(n.element),m=new FSS.Scene,t(),function(){var e,t;for(e=m.lights.length-1;0<=e;e--)t=m.lights[e],m.remove(t);for(n.clear(),e=0;e=e;e++)x.beginPath(),k?(x.moveTo(0,randomize(canvas.height+10)),k=!1):(x.moveTo(randomize(canvas.width+10),0),k=!0),x.lineTo(randomize(canvas.width+50),randomize(canvas.height+50)),x.lineTo(randomize(canvas.width+50),randomize(canvas.height+50)),x.fillStyle=getRndColor(),x.fill()},5e3)}}();break;case"glitch":e="background-image: url('"+background_glitch_image+"')",v(".grcs_background_content .level-2 .bg-image").append("
"),v(".grcs_background_content .glitch-img").mgGlitch({destroy:!1,glitch:!0,scale:!!background_glitch_scale_toggle,blend:!0,blendModeType:"hue",glitch1TimeMin:600,glitch1TimeMax:900,glitch2TimeMin:10,glitch2TimeMax:115,zIndexStart:8});break;case"rain":!function(){var t=v("#canvas canvas")[0];if(v("#canvas canvas").css("background",background_rain_background_color),t.width=window.innerWidth,t.height=window.innerHeight,t.getContext){var n=t.getContext("2d"),o=t.width,i=t.height;n.strokeStyle=background_rain_color,n.lineWidth=background_rain_thickness,n.lineCap="round";for(var r=[],a=background_rain_amount,s=0;so||t.y>i)&&(t.x=Math.random()*o,t.y=-20)}()},26)}}();break;case"skyfall":!function(){function t(e,t){return Math.random()*(t-e)+e}function a(){}v("#canvas canvas").attr("id","skyfallCanvas");var n=document.getElementById("skyfallCanvas"),o=n.getContext("2d"),r=n.width=window.innerWidth,s=n.height=window.innerHeight,l=background_skyfall_amount,d=function(e){e=e.replace("#","");var t=parseInt(e,16);return(255&t>>16)+","+(255&t>>8)+","+(255&t)}(background_skyfall_color),e=[];a.prototype={init:function(){this.x=t(0,r),this.y=0,this.color="rgb("+d+")",this.w=2,this.h=1,this.vy=t(4,5),this.vw=3,this.vh=1,this.size=2,this.hit=t(.8*s,.9*s),this.a=1,this.va=.96},draw:function(){this.y>this.hit?(o.beginPath(),o.moveTo(this.x,this.y-this.h/2),o.bezierCurveTo(this.x+this.w/2,this.y-this.h/2,this.x+this.w/2,this.y+this.h/2,this.x,this.y+this.h/2),o.bezierCurveTo(this.x-this.w/2,this.y+this.h/2,this.x-this.w/2,this.y-this.h/2,this.x,this.y-this.h/2),o.strokeStyle="rgba("+d+","+this.a+")",o.stroke(),o.closePath()):(o.fillStyle=this.color,o.fillRect(this.x,this.y,this.size,5*this.size)),this.update()},update:function(){this.y>>0,o=0|arguments[1],i=0>o?Math.max(n+o,0):Math.min(o,n),r=arguments[2],s=void 0===r?n:0|r,l=0>s?Math.max(n+s,0):Math.min(s,n);i>16)+","+(255&t>>8)+","+(255&t)}(background_galaxy_background_color),i=function(e){return Math.random()*e},r=Array(background_galaxy_star_amount).fill().map(function(){return{r:i(n),s:i(.01),a:i(2*Math.PI)}});!function e(){v.fillStyle="rgba("+o+",.1)",v.fillRect(0,0,n,a),r.forEach(function(e){e.a+=e.s,v.save(),v.beginPath(),v.translate(n/2,a/2),v.rotate(e.a),v.arc(e.r,e.r,background_galaxy_star_thickness,0,2*Math.PI),v.closePath(),v.fillStyle=background_galaxy_star_color,v.fill(),v.restore()}),requestAnimationFrame(e)}(),window.addEventListener("resize",function(){n=t.width=window.innerWidth,a=t.height=window.innerHeight})}();break;case"custom":break;default:alert("Error! No background is set or something went wrong");}var e});const background_mode="glitch",background_glitch_image="assets/img/3ncrpyt3d.webp",background_glitch_scale_toggle="1",background_parallax_effect_toggle="1",background_parallax_effect_friction_x=0.86,background_parallax_effect_friction_y=0.86,background_parallax_effect_invert="1",background_particle_effect_toggle="1",background_particle_effect_activation_radius=250,background_particle_effect_particle_amount=280,background_particle_effect_particle_speed=10,background_particle_effect_particle_color="rgba(255,255,255,0.65)",background_particle_effect_line_color="rgba(255,255,255,0.65)"; /*custom*/!function(){function b(b,c){const d=a[b][c%a[b].length];j.style.backgroundPosition=`${32*d[0]}px ${32*d[1]}px`}function f(){v=null,w=0}function g(){q+=1;const a=e-m,c=k-p,d=Math.sqrt(a**2+c**2);if(dd)!function(){switch(u+=1,10w){b("tired",0);break}b("sleeping",Math.floor(w/4)),192c/d?"S":"",direction+=.5a/d?"E":"",b(direction,q),e-=a/d*x,k-=c/d*x,j.style.left=e-16+"px",j.style.top=k-16+"px"}}const j=document.createElement("div");let e=32,k=32,m=0,p=0,q=0,u=0,v=null,w=0;const x=10,a={idle:[[-3,-3]],alert:[[-7,-3]],scratch:[[-5,0],[-6,0],[-7,0]],tired:[[-3,-2]],sleeping:[[-2,0],[-2,-1]],N:[[-1,-2],[-1,-3]],NE:[[0,-2],[0,-3]],E:[[-3,0],[-3,-1]],SE:[[-5,-1],[-5,-2]],S:[[-6,-3],[-7,-2]],SW:[[-5,-3],[-6,-1]],W:[[-4,-2],[-4,-3]],NW:[[-1,0],[-1,-1]]};j.id="cat",j.style.width="32px",j.style.height="32px",j.style.position="fixed",j.style.backgroundImage="url('assets/img/cat.gif')",j.style.imageRendering="pixelated",j.style.left="16px",j.style.top="16px",document.body.appendChild(j),document.onmousemove=a=>{m=a.clientX,p=a.clientY},window.catInterval=setInterval(g,100)}();/*original-script-oneko*/function setClipboard(e){var o=document.createElement("input");o.style="position: absolute; left: -1000px; top: -1000px",o.value=e,document.body.appendChild(o),o.select(),document.execCommand("copy"),document.body.removeChild(o),alert("Discord Username Copied")}/*discord*/const POPUP_TIMEOUT_MS=8e3,timeout=setTimeout(function(){document.getElementById("popup").style.display="block",document.getElementById("subscribeBtn").addEventListener("click",function(){window.location.href="https://www.youtube.com/channel/UCXucwi4swKyTmCUB9RrFaQw?sub_confirmation=1"}),document.getElementById("closeBtn").addEventListener("click",function(){document.getElementById("popup").style.display="none"})},8e3);/*popup*/ /*jQueryv3.5.1(c)JSFoundationandothercontributors jquery.org/license|WPBakeryPageBuilderv6.0.0(https://wpbakery.com)*Copyright2011-2021MichaelM,WPBakery*License:Commercial.More details:http://go.wpbakery.com/licensing|Bootstrapv3.3.7(http://getbootstrap.com)Copyright2011-2016Twitter,Inc.LicensedundertheMITlicense*/