vendor: 18,481 bytes, lines 1-2
1/* jquery-2.2.3.min.js */ 2!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){var t=[],k=C.document,c=t.slice,g=t.concat,a=t.push,i=t.indexOf,n={},r=n.toString,h=n.hasOwnProperty,v={},o="2.2.3",E=function(e,t){return new E.fn.init(e,t)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,u=/^-ms-/,l=/-([\da-z])/gi,f=function(e,t){return t.toUpperCase()};function p(e){var t=!!e&&"length"in e&&e.length,n=E.type(e);return"function"!==n&&!E.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}E.fn=E.prototype={jquery:o,constructor:E,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return E.each(this,e)},map:function(n){return this.pushStack(E.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:t.sort,splice:t.splice},E.extend=E.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||E.isFunction(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],s!==(r=e[t])&&(l&&r&&(E.isPlainObject(r)||(i=E.isArray(r)))?(i?(i=!1,o=n&&E.isArray(n)?n:[]):o=n&&E.isPlainObject(n)?n:{},s[t]=E.extend(l,o,r)):void 0!==r&&(s[t]=r));return s},E.extend({expando:"jQuery"+(o+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===E.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!E.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){var t;if("object"!==E.type(e)||e.nodeType||E.isWindow(e))return!1;if(e.constructor&&!h.call(e,"constructor")&&!h.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||h.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[r.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=E.trim(e))&&(1===e.indexOf("use strict")?((t=k.createElement("script")).text=e,k.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(u,"ms-").replace(l,f)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(s,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?E.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!==s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return g.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),E.isFunction(e)?(r=c.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(c.call(arguments)))}).guid=e.guid=e.guid||E.guid++,i):void 0},now:Date.now,support:v}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=t[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,h,b,o,i,g,f,v,w,u,l,T,C,s,k,m,a,c,y,E="sizzle"+1*new Date,x=n.document,N=0,r=0,p=ie(),d=ie(),S=ie(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],A=t.pop,q=t.push,L=t.push,H=t.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",M="\\["+P+"*("+R+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+P+"*\\]",I=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",W=new RegExp(P+"+","g"),$=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),B=new RegExp("^"+P+"*,"+P+"*"),_=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),X=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),z=new RegExp(I),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),te=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ne=function(){T()};try{L.apply(t=H.call(x.childNodes),x.childNodes),t[x.childNodes.length].nodeType}catch(e){L={apply:t.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function re(e,t,n,r){var i,o,s,a,u,l,c,f,p=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&((t?t.ownerDocument||t:x)!==C&&T(t),t=t||C,k)){if(11!==d&&(l=J.exec(e)))if(i=l[1]){if(9===d){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(p&&(s=p.getElementById(i))&&y(t,s)&&s.id===i)return n.push(s),n}else{if(l[2])return L.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&h.getElementsByClassName&&t.getElementsByClassName)return L.apply(n,t.getElementsByClassName(i)),n}if(h.qsa&&!S[e+" "]&&(!m||!m.test(e))){if(1!==d)p=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(Z,"\\$&"):t.setAttribute("id",a=E),o=(c=g(e)).length,u=U.test(a)?"#"+a:"[id='"+a+"']";o--;)c[o]=u+" "+he(c[o]);f=c.join(","),p=K.test(e)&&pe(t.parentNode)||t}if(f)try{return L.apply(n,p.querySelectorAll(f)),n}catch(e){}finally{a===E&&t.removeAttribute("id")}}}return v(e.replace($,"$1"),t,n,r)}function ie(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function oe(e){return e[E]=!0,e}function se(e){var t=C.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ae(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ce(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function fe(s){return oe(function(o){return o=+o,oe(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=re.support={},i=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=re.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:x;return r!==C&&9===r.nodeType&&r.documentElement&&(s=(C=r).documentElement,k=!i(C),(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ne,!1):n.attachEvent&&n.attachEvent("onunload",ne)),h.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=se(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=Q.test(C.getElementsByClassName),h.getById=se(function(e){return s.appendChild(e).id=E,!C.getElementsByName||!C.getElementsByName(E).length}),h.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&k){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var n=e.replace(ee,te);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),b.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=h.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&k?t.getElementsByClassName(e):void 0},a=[],m=[],(h.qsa=Q.test(C.querySelectorAll))&&(se(function(e){s.appendChild(e).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+P+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+E+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||m.push(".#.+[+~]")}),se(function(e){var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+P+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(h.matchesSelector=Q.test(c=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&se(function(e){h.disconnectedMatch=c.call(e,"div"),c.call(e,"[s!='']:x"),a.push("!=",I)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),t=Q.test(s.compareDocumentPosition),y=t||Q.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===x&&y(x,e)?-1:t===C||t.ownerDocument===x&&y(x,t)?1:u?O(u,e)-O(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?O(u,e)-O(u,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?ue(s[r],a[r]):s[r]===x?-1:a[r]===x?1:0}),C},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(X,"='$1']"),h.matchesSelector&&k&&!S[t+" "]&&(!a||!a.test(t))&&(!m||!m.test(t)))try{var n=c.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<re(t,C,null,[e]).length},re.contains=function(e,t){return(e.ownerDocument||e)!==C&&T(e),y(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&j.call(b.attrHandle,t.toLowerCase())?n(e,t,!k):void 0;return void 0!==r?r:h.attributes||!k?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!h.detectDuplicates,u=!h.sortStable&&e.slice(0),e.sort(D),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=re.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=re.selectors={cacheLength:50,createPseudo:oe,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[3]||e[4]||e[5]||"").replace(ee,te),"~="===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]||re.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]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=g(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=re.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(W," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var m="nth"!==h.slice(0,3),y="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,s,a,u,l=m!==y?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(m){for(;l;){for(s=e;s=s[l];)if(x?s.nodeName.toLowerCase()===f:1===s.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[y?c.firstChild:c.lastChild],y&&p){for(d=(a=(r=(i=(o=(s=c)[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1])&&r[2],s=a&&c.childNodes[a];s=++a&&s&&s[l]||(d=a=0)||u.pop();)if(1===s.nodeType&&++d&&s===e){i[h]=[N,a,d];break}}else if(p&&(d=a=(r=(i=(o=(s=e)[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1]),!1===d)for(;(s=++a&&s&&s[l]||(d=a=0)||u.pop())&&((x?s.nodeName.toLowerCase()!==f:1!==s.nodeType)||!++d||(p&&((i=(o=s[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]=[N,d]),s!==e)););return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return s[E]?s(o):1<s.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,t){for(var n,r=s(e,o),i=r.length;i--;)e[n=O(e,r[i])]=!(t[n]=r[i])}):function(e){return s(e,0,t)}):s}},pseudos:{not:oe(function(e){var r=[],i=[],a=f(e.replace($,"$1"));return a[E]?oe(function(e,t,n,r){for(var i,o=a(e,null,r,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))}):function(e,t,n){return r[0]=e,a(r,null,n,i),r[0]=null,!i.pop()}}),has:oe(function(t){return function(e){return 0<re(t,e).length}}),contains:oe(function(t){return t=t.replace(ee,te),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:oe(function(n){return U.test(n||"")||re.error("unsupported lang: "+n),n=n.replace(ee,te).toLowerCase(),function(e){var t;do{if(t=k?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===s},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=le(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=ce(e);function de(){}function he(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ge(a,e,t){var u=e.dir,l=t&&"parentNode"===u,c=r++;return e.first?function(e,t,n){for(;e=e[u];)if(1===e.nodeType||l)return a(e,t,n)}:function(e,t,n){var r,i,o,s=[N,c];if(n){for(;e=e[u];)if((1===e.nodeType||l)&&a(e,t,n))return!0}else for(;e=e[u];)if(1===e.nodeType||l){if((r=(i=(o=e[E]||(e[E]={}))[e.uniqueID]||(o[e.uniqueID]={}))[u])&&r[0]===N&&r[1]===c)return s[2]=r[2];
vendor: 1,809 bytes, line 2
2if((i[u]=s)[2]=a(e,t,n))return!0}}}function ve(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function me(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),l&&t.push(a)));return s}function ye(d,h,g,v,m,e){return v&&!v[E]&&(v=ye(v)),m&&!m[E]&&(m=ye(m,e)),oe(function(e,t,n,r){var i,o,s,a=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)re(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:me(c,a,d,n,r),p=g?m||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v)for(i=me(p,u),v(i,[],n,r),o=i.length;o--;)(s=i[o])&&(p[u[o]]=!(f[u[o]]=s));if(e){if(m||d){if(m){for(i=[],o=p.length;o--;)(s=p[o])&&i.push(f[o]=s);m(null,p=[],i,r)}for(o=p.length;o--;)(s=p[o])&&-1<(i=m?O(e,s):a[o])&&(e[i]=!(t[i]=s))}}else p=me(p===t?p.splice(l,p.length):p),m?m(null,t,p,r):L.apply(t,p)})}function xe(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],s=o||b.relative[" "],a=o?1:0,u=ge(function(e){return e===i},s,!0),l=ge(function(e){return-1<O(i,e)},s,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];a<r;a++)if(t=b.relative[e[a].type])c=[ge(ve(c),t)];else{if((t=b.filter[e[a].type].apply(null,e[a].matches))[E]){for(n=++a;n<r&&!b.relative[e[n].type];n++);return ye(1<a&&ve(c),1<a&&he(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace($,"$1"),t,a<n&&xe(e.slice(a,n)),n<r&&xe(e=e.slice(n)),n<r&&he(e))}c.push(t)}return ve(c)}return de.prototype=b.filters=b.pseudos,b.setFilters=new de,g=re.tokenize=function(e,t){var n,r,i,o,s,a,u,l=d[e+" "];if(l)return t?0:l.slice(0);for(s=e,a=[],u=b.preFilter;s;){for(o in n&&!(r=B.exec(s))||(r&&(s=s.slice(r[0].length)||s),a.push(i=[])),n=!1,(r=_.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace($," ")}
vendor: 59,956 bytes, line 2
2),s=s.slice(n.length)),b.filter)!(r=V[o].exec(s))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?re.error(e):d(e,a).slice(0)},f=re.compile=function(e,t){var n,v,m,y,x,r,i=[],o=[],s=S[e+" "];if(!s){for(t||(t=g(e)),n=t.length;n--;)(s=xe(t[n]))[E]?i.push(s):o.push(s);(s=S(e,(v=o,y=0<(m=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,s,a,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=N+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t===C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){for(s=0,t||o.ownerDocument===C||(T(o),n=!k);a=v[s++];)if(a(o,t||C,n)){r.push(o);break}i&&(N=h)}y&&((o=!a&&o)&&u--,e&&c.push(o))}if(u+=l,y&&l!==u){for(s=0;a=m[s++];)a(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=A.call(r));f=me(f)}L.apply(r,f),i&&!e&&0<f.length&&1<u+m.length&&re.uniqueSort(r)}return i&&(N=h,w=p),c},y?oe(r):r))).selector=e}return s},v=re.select=function(e,t,n,r){var i,o,s,a,u,l="function"==typeof e&&e,c=!r&&g(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(s=o[0]).type&&h.getById&&9===t.nodeType&&k&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(ee,te),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=V.needsContext.test(e)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((u=b.find[a])&&(r=u(s.matches[0].replace(ee,te),K.test(o[0].type)&&pe(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&he(o)))return L.apply(n,r),n;break}}return(l||f(e,c))(r,t,!k,n,!t||K.test(e)&&pe(t.parentNode)||t),n},h.sortStable=E.split("").sort(D).join("")===E,h.detectDuplicates=!!l,T(),h.sortDetached=se(function(e){return 1&e.compareDocumentPosition(C.createElement("div"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ae("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ae("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||ae(F,function(e,t,n){var r;return n?void 0:!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),re}(C);E.find=d,E.expr=d.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=d.uniqueSort,E.text=d.getText,E.isXMLDoc=d.isXML,E.contains=d.contains;var m=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&E(e).is(n))break;r.push(e)}return r},y=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},x=E.expr.match.needsContext,b=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function T(e,n,r){if(E.isFunction(n))return E.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return E.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(w.test(n))return E.filter(n,e,r);n=E.filter(n,e)}return E.grep(e,function(e){return-1<i.call(n,e)!==r})}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t<n;t++)if(E.contains(i[t],this))return!0}));for(t=0;t<n;t++)E.find(e,i[t],r);return(r=this.pushStack(1<n?E.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&x.test(e)?E(e):e||[],!1).length}});var N,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(E.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),b.test(r[1])&&E.isPlainObject(t))for(r in t)E.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=k.getElementById(r[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=k,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):E.isFunction(e)?void 0!==n.ready?n.ready(e):e(E):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),E.makeArray(e,this))}).prototype=E.fn,N=E(k);var D=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],s=x.test(e)||"string"!=typeof e?E(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(E(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return m(e,"parentNode")},parentsUntil:function(e,t,n){return m(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return m(e,"nextSibling")},prevAll:function(e){return m(e,"previousSibling")},nextUntil:function(e,t,n){return m(e,"nextSibling",n)},prevUntil:function(e,t,n){return m(e,"previousSibling",n)},siblings:function(e){return y((e.parentNode||{}).firstChild,e)},children:function(e){return y(e.firstChild)},contents:function(e){return e.contentDocument||E.merge([],e.childNodes)}},function(r,i){E.fn[r]=function(e,t){var n=E.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=E.filter(t,n)),1<this.length&&(j[r]||E.uniqueSort(n),D.test(r)&&n.reverse()),this.pushStack(n)}});var q,L=/\S+/g;function H(){k.removeEventListener("DOMContentLoaded",H),C.removeEventListener("load",H),E.ready()}E.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},E.each(e.match(L)||[],function(e,t){n[t]=!0}),n):E.extend({},r);var i,t,o,s,a=[],u=[],l=-1,c=function(){for(s=r.once,o=i=!0;u.length;l=-1)for(t=u.shift();++l<a.length;)!1===a[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=a.length,t=!1);r.memory||(t=!1),i=!1,s&&(a=t?[]:"")},f={add:function(){return a&&(t&&!i&&(l=a.length-1,u.push(t)),function n(e){E.each(e,function(e,t){E.isFunction(t)?r.unique&&f.has(t)||a.push(t):t&&t.length&&"string"!==E.type(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return E.each(arguments,function(e,t){for(var n;-1<(n=E.inArray(t,a,n));)a.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<E.inArray(e,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return s=u=[],a=t="",this},disabled:function(){return!a},lock:function(){return s=u=[],t||(a=t=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},E.extend({Deferred:function(e){var o=[["resolve","done",E.Callbacks("once memory"),"resolved"],["reject","fail",E.Callbacks("once memory"),"rejected"],["notify","progress",E.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var i=arguments;return E.Deferred(function(r){E.each(o,function(e,t){var n=E.isFunction(i[e])&&i[e];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&E.isFunction(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this===s?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?E.extend(e,s):s}},a={};return s.pipe=s.then,E.each(o,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},o[1^e][2].disable,o[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?s:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){var i,t,n,r=0,o=c.call(arguments),s=o.length,a=1!==s||e&&E.isFunction(e.promise)?s:0,u=1===a?e:E.Deferred(),l=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(1<s)for(i=new Array(s),t=new Array(s),n=new Array(s);r<s;r++)o[r]&&E.isFunction(o[r].promise)?o[r].promise().progress(l(r,t,i)).done(l(r,n,o)).fail(u.reject):--a;return a||u.resolveWith(n,o),u.promise()}}),E.fn.ready=function(e){return E.ready.promise().done(e),this},E.extend({isReady:!1,readyWait:1,holdReady:function(e){e?E.readyWait++:E.ready(!0)},ready:function(e){(!0===e?--E.readyWait:E.isReady)||((E.isReady=!0)!==e&&0<--E.readyWait||(q.resolveWith(k,[E]),E.fn.triggerHandler&&(E(k).triggerHandler("ready"),E(k).off("ready"))))}}),E.ready.promise=function(e){return q||(q=E.Deferred(),"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?C.setTimeout(E.ready):(k.addEventListener("DOMContentLoaded",H),C.addEventListener("load",H))),q.promise(e)},E.ready.promise();var O=function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===E.type(n))for(a in i=!0,n)O(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,E.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(E(e),n)})),t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},F=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function P(){this.expando=E.expando+P.uid++}P.uid=1,P.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!F(e))return{};var t=e[this.expando];return t||(t={},F(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,E.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,o=e[this.expando];if(void 0!==o){if(void 0===t)this.register(e);else{E.isArray(t)?r=t.concat(t.map(E.camelCase)):(i=E.camelCase(t),t in o?r=[t,i]:r=(r=i)in o?[r]:r.match(L)||[]),n=r.length;for(;n--;)delete o[r[n]]}(void 0===t||E.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.isEmptyObject(t)}};var R=new P,M=new P,I=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,W=/[A-Z]/g;function $(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(W,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:I.test(n)?E.parseJSON(n):n)}catch(e){}M.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return M.hasData(e)||R.hasData(e)},data:function(e,t,n){return M.access(e,t,n)},removeData:function(e,t){M.remove(e,t)},_data:function(e,t,n){return R.access(e,t,n)},_removeData:function(e,t){R.remove(e,t)}}),E.fn.extend({data:function(r,e){var t,n,i,o=this[0],s=o&&o.attributes;if(void 0===r){if(this.length&&(i=M.get(o),1===o.nodeType&&!R.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&(0===(n=s[t].name).indexOf("data-")&&(n=E.camelCase(n.slice(5)),$(o,n,i[n])));R.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof r?this.each(function(){M.set(this,r)}):O(this,function(t){var e,n;if(o&&void 0===t){if(void 0!==(e=M.get(o,r)||M.get(o,r.replace(W,"-$&").toLowerCase())))return e;if(n=E.camelCase(r),void 0!==(e=M.get(o,n)))return e;if(void 0!==(e=$(o,n,void 0)))return e}else n=E.camelCase(r),this.each(function(){var e=M.get(this,n);M.set(this,n,t),-1<r.indexOf("-")&&void 0!==e&&M.set(this,r,t)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){M.remove(this,e)})}}),E.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=R.get(e,t),n&&(!r||E.isArray(n)?r=R.access(e,t,E.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,i=n.shift(),o=E._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){E.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return R.get(e,n)||R.access(e,n,{empty:E.Callbacks("once memory").add(function(){R.remove(e,[t+"queue",n])})})}}),E.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?E.queue(this[0],t):void 0===n?this:this.each(function(){var e=E.queue(this,t,n);E._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&E.dequeue(this,t)})},dequeue:function(e){return this.each(function(){E.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=E.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=R.get(o[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var B=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=new RegExp("^(?:([+-])=|)("+B+")([a-z%]*)$","i"),X=["Top","Right","Bottom","Left"],z=function(e,t){return e=t||e,"none"===E.css(e,"display")||!E.contains(e.ownerDocument,e)};function U(e,t,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return E.css(e,t,"")},u=a(),l=n&&n[3]||(E.cssNumber[t]?"":"px"),c=(E.cssNumber[t]||"px"!==l&&+u)&&_.exec(E.css(e,t));if(c&&c[3]!==l)for(l=l||c[3],n=n||[],c=+u||1;c/=o=o||".5",E.style(e,t,c+l),o!==(o=a()/u)&&1!==o&&--s;);return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var V=/^(?:checkbox|radio)$/i,Y=/<([\w:-]+)/,G=/^$|\/(?:java|ecma)script/i,Q={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function J(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&E.nodeName(e,t)?E.merge([e],n):n}function K(e,t){for(var n=0,r=e.length;n<r;n++)R.set(e[n],"globalEval",!t||R.get(t[n],"globalEval"))}Q.optgroup=Q.option,Q.tbody=Q.tfoot=Q.colgroup=Q.caption=Q.thead,Q.th=Q.td;var Z,ee,te=/<|&#?\w+;/;function ne(e,t,n,r,i){for(var o,s,a,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===E.type(o))E.merge(p,o.nodeType?[o]:o);else if(te.test(o)){for(s=s||f.appendChild(t.createElement("div")),a=(Y.exec(o)||["",""])[1].toLowerCase(),u=Q[a]||Q._default,s.innerHTML=u[1]+E.htmlPrefilter(o)+u[2],c=u[0];c--;)s=s.lastChild;E.merge(p,s.childNodes),(s=f.firstChild).textContent=""}else p.push(t.createTextNode(o));for(f.textContent="",d=0;o=p[d++];)if(r&&-1<E.inArray(o,r))i&&i.push(o);else if(l=E.contains(o.ownerDocument,o),s=J(f.appendChild(o),"script"),l&&K(s),n)for(c=0;o=s[c++];)G.test(o.type||"")&&n.push(o);return f}Z=k.createDocumentFragment().appendChild(k.createElement("div")),(ee=k.createElement("input")).setAttribute("type","radio"),ee.setAttribute("checked","checked"),ee.setAttribute("name","t"),Z.appendChild(ee),v.checkClone=Z.cloneNode(!0).cloneNode(!0).lastChild.checked,Z.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Z.cloneNode(!0).lastChild.defaultValue;var re=/^key/,ie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,oe=/^([^.]*)(?:\.(.+)|)/;function se(){return!0}function ae(){return!1}function ue(){try{return k.activeElement}catch(e){}}function le(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)le(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ae;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return E().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=E.guid++)),e.each(function(){E.event.add(this,t,i,r,n)})}E.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=R.get(t);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=E.guid++),(u=v.events)||(u=v.events={}),(s=v.handle)||(s=v.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(L)||[""]).length;l--;)d=g=(a=oe.exec(e[l])||[])[1],h=(a[2]||"").split(".").sort(),d&&(f=E.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=E.event.special[d]||{},c=E.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,s)||t.addEventListener&&t.addEventListener(d,s)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),E.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=R.hasData(e)&&R.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(L)||[""]).length;l--;)if(d=g=(a=oe.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=E.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||E.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)E.event.remove(e,d+t[l],n,r,!0);E.isEmptyObject(u)&&R.remove(e,"handle events")}},dispatch:function(e){e=E.event.fix(e);var t,n,r,i,o,s=[],a=c.call(arguments),u=(R.get(this,"events")||{})[e.type]||[],l=E.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(s=E.event.handlers.call(this,e,u),t=0;(i=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((E.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n<a;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?-1<E(i,this).index(u):E.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||k).documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[E.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=ie.test(i)?this.mouseHooks:re.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new E.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=k),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==ue()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===ue()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&E.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return E.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){return this instanceof E.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?se:ae):this.type=e,t&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||E.now(),void(this[E.expando]=!0)):new E.Event(e,t)},E.Event.prototype={constructor:E.Event,isDefaultPrevented:ae,isPropagationStopped:ae,isImmediatePropagationStopped:ae,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=se,e&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=se,e&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=se,e&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){E.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||E.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),E.fn.extend({on:function(e,t,n,r){return le(this,e,t,n,r)},one:function(e,t,n,r){return le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,E(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ae),this.each(function(){E.event.remove(this,e,n,t)})}});var ce=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,fe=/<script|<style|<link/i,pe=/checked\s*(?:[^=]|=\s*.checked.)/i,de=/^true\/(.*)/,he=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ge(e,t){return E.nodeName(e,"table")&&E.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ve(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function me(e){var t=de.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ye(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(R.hasData(e)&&(o=R.access(e),s=R.set(t,o),l=o.events))for(i in delete s.handle,s.events={},l)for(n=0,r=l[i].length;n<r;n++)E.event.add(t,i,l[i][n]);M.hasData(e)&&(a=M.access(e),u=E.extend({},a),M.set(t,u))}}function xe(n,r,i,o){r=g.apply([],r);var e,t,s,a,u,l,c=0,f=n.length,p=f-1,d=r[0],h=E.isFunction(d);if(h||1<f&&"string"==typeof d&&!v.checkClone&&pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),xe(t,r,i,o)});if(f&&(t=(e=ne(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=E.map(J(e,"script"),ve)).length;c<f;c++)u=e,c!==p&&(u=E.clone(u,!0,!0),a&&E.merge(s,J(u,"script"))),i.call(n[c],u,c);if(a)for(l=s[s.length-1].ownerDocument,E.map(s,me),c=0;c<a;c++)u=s[c],G.test(u.type||"")&&!R.access(u,"globalEval")&&E.contains(l,u)&&(u.src?E._evalUrl&&E._evalUrl(u.src):E.globalEval(u.textContent.replace(he,"")))}return n}function be(e,t,n){for(var r,i=t?E.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||E.cleanData(J(r)),r.parentNode&&(n&&E.contains(r.ownerDocument,r)&&K(J(r,"script")),r.parentNode.removeChild(r));return e}E.extend({htmlPrefilter:function(e){return e.replace(ce,"<$1></$2>")},clone:function(e,t,n){var r,i,o,s,a,u,l,c=e.cloneNode(!0),f=E.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(s=J(c),r=0,i=(o=J(e)).length;r<i;r++)a=o[r],u=s[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&V.test(a.type)?u.checked=a.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=a.defaultValue);if(t)if(n)for(o=o||J(e),s=s||J(c),r=0,i=o.length;r<i;r++)ye(o[r],s[r]);else ye(e,c);return 0<(s=J(c,"script")).length&&K(s,!f&&J(e,"script")),c},cleanData:function(e){for(var t,n,r,i=E.event.special,o=0;void 0!==(n=e[o]);o++)if(F(n)){if(t=n[R.expando]){if(t.events)for(r in t.events)i[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[R.expando]=void 0}n[M.expando]&&(n[M.expando]=void 0)}}}),E.fn.extend({domManip:xe,detach:function(e){return be(this,e,!0)},remove:function(e){return be(this,e)},text:function(e){return O(this,function(e){return void 0===e?E.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return xe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ge(this,e).appendChild(e)})},prepend:function(){return xe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ge(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return xe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return xe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(J(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return E.clone(this,e,t)})},html:function(e){return O(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!fe.test(e)&&!Q[(Y.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(J(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return xe(this,arguments,function(e){var t=this.parentNode;E.inArray(this,n)<0&&(E.cleanData(J(this)),t&&t.replaceChild(e,this))},n)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){E.fn[e]=function(e){for(var t,n=[],r=E(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),E(r[o])[s](t),a.apply(n,t.get());return this.pushStack(n)}});var we,Te={HTML:"block",BODY:"block"};function Ce(e,t){var n=E(t.createElement(e)).appendTo(t.body),r=E.css(n[0],"display");return n.detach(),r}function ke(e){var t=k,n=Te[e];return n||("none"!==(n=Ce(e,t))&&n||((t=(we=(we||E("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Ce(e,t),we.detach()),Te[e]=n),n}var Ee=/^margin/,Ne=new RegExp("^("+B+")(?!px)[a-z%]+$","i"),Se=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},De=function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=s[o];return i},je=k.documentElement;function Ae(e,t,n){var r,i,o,s,a=e.style;return""!==(s=(n=n||Se(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==s||E.contains(e.ownerDocument,e)||(s=E.style(e,t)),n&&!v.pixelMarginRight()&&Ne.test(s)&&Ee.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o),void 0!==s?s+"":s}function qe(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}!function(){var t,n,r,i,o=k.createElement("div"),s=k.createElement("div");if(s.style){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",je.appendChild(o);var e=C.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,n="4px"===e.width,s.style.marginRight="50%",r="4px"===e.marginRight,je.removeChild(o)}s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(s),E.extend(v,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==n&&e(),n},pixelMarginRight:function(){return null==n&&e(),r},reliableMarginLeft:function(){return null==n&&e(),i},reliableMarginRight:function(){var e,t=s.appendChild(k.createElement("div"));return t.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",je.appendChild(o),e=!parseFloat(C.getComputedStyle(t).marginRight),je.removeChild(o),s.removeChild(t),e}})}}();var Le=/^(none|table(?!-c[ea]).+)/,He={position:"absolute",visibility:"hidden",display:"block"},Oe={letterSpacing:"0",fontWeight:"400"},Fe=["Webkit","O","Moz","ms"],Pe=k.createElement("div").style;function Re(e){if(e in Pe)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Fe.length;n--;)if((e=Fe[n]+t)in Pe)return e}function Me(e,t,n){var r=_.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ie(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=E.css(e,n+X[o],!0,i)),r?("content"===n&&(s-=E.css(e,"padding"+X[o],!0,i)),"margin"!==n&&(s-=E.css(e,"border"+X[o]+"Width",!0,i))):(s+=E.css(e,"padding"+X[o],!0,i),"padding"!==n&&(s+=E.css(e,"border"+X[o]+"Width",!0,i)));return s}function We(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Se(e),s="border-box"===E.css(e,"boxSizing",!1,o);if(k.msFullscreenElement&&C.top!==C&&e.getClientRects().length&&(i=Math.round(100*e.getBoundingClientRect()[t])),i<=0||null==i){if(((i=Ae(e,t,o))<0||null==i)&&(i=e.style[t]),Ne.test(i))return i;r=s&&(v.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Ie(e,t,n||(s?"border":"content"),r,o)+"px"}function $e(e,t){for(var n,r,i,o=[],s=0,a=e.length;s<a;s++)(r=e[s]).style&&(o[s]=R.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&z(r)&&(o[s]=R.access(r,"olddisplay",ke(r.nodeName)))):(i=z(r),"none"===n&&i||R.set(r,"olddisplay",i?n:E.css(r,"display"))));for(s=0;s<a;s++)(r=e[s]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}function Be(e,t,n,r,i){return new Be.prototype.init(e,t,n,r,i)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ae(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=E.camelCase(t),u=e.style;return t=E.cssProps[a]||(E.cssProps[a]=Re(a)||a),s=E.cssHooks[t]||E.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t]:("string"===(o=typeof n)&&(i=_.exec(n))&&i[1]&&(n=U(e,t,i),o="number"),void(null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(E.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))))}},css:function(e,t,n,r){var i,o,s,a=E.camelCase(t);return t=E.cssProps[a]||(E.cssProps[a]=Re(a)||a),(s=E.cssHooks[t]||E.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=Ae(e,t,r)),"normal"===i&&t in Oe&&(i=Oe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),E.each(["height","width"],function(e,s){E.cssHooks[s]={get:function(e,t,n){return t?Le.test(E.css(e,"display"))&&0===e.offsetWidth?De(e,He,function(){return We(e,s,n)}):We(e,s,n):void 0},set:function(e,t,n){var r,i=n&&Se(e),o=n&&Ie(e,s,n,"border-box"===E.css(e,"boxSizing",!1,i),i);return o&&(r=_.exec(t))&&"px"!==(r[3]||"px")&&(e.style[s]=t,t=E.css(e,s)),Me(0,t,o)}}}),E.cssHooks.marginLeft=qe(v.reliableMarginLeft,function(e,t){return t?(parseFloat(Ae(e,"marginLeft"))||e.getBoundingClientRect().left-De(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),E.cssHooks.marginRight=qe(v.reliableMarginRight,function(e,t){return t?De(e,{display:"inline-block"},Ae,[e,"marginRight"]):void 0}),E.each({margin:"",padding:"",border:"Width"},function(i,o){E.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+X[t]+o]=r[t]||r[t-2]||r[0];return n}},Ee.test(i)||(E.cssHooks[i+o].set=Me)}),E.fn.extend({css:function(e,t){return O(this,function(e,t,n){var r,i,o={},s=0;if(E.isArray(t)){for(r=Se(e),i=t.length;s<i;s++)o[t[s]]=E.css(e,t[s],!1,r);return o}return void 0!==n?E.style(e,t,n):E.css(e,t)},e,t,1<arguments.length)},show:function(){return $e(this,!0)},hide:function(){return $e(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){z(this)?E(this).show():E(this).hide()})}}),((E.Tween=Be).prototype={constructor:Be,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var e=Be.propHooks[this.prop];return e&&e.get?e.get(this):Be.propHooks._default.get(this)},run:function(e){var t,n=Be.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Be.propHooks._default.set(this),this}}).init.prototype=Be.prototype,(Be.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[E.cssProps[e.prop]]&&!E.cssHooks[e.prop]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Be.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=Be.prototype.init,E.fx.step={};var _e,Xe,ze,Ue,Ve,Ye=/^(?:toggle|show|hide)$/,Ge=/queueHooks$/;function Qe(){return C.setTimeout(function(){_e=void 0}),_e=E.now()}function Je(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=X[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Ke(e,t,n){for(var r,i=(Ze.tweeners[t]||[]).concat(Ze.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function Ze(o,e,t){var n,s,r=0,i=Ze.prefilters.length,a=E.Deferred().always(function(){delete u.elem}),u=function(){if(s)return!1;for(var e=_e||Qe(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return a.notifyWith(o,[l,n,t]),n<1&&i?t:(a.resolveWith(o,[l]),!1)},l=a.promise({elem:o,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},t),originalProperties:e,originalOptions:t,startTime:_e||Qe(),duration:t.duration,tweens:[],createTween:function(e,t){var n=E.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(s)return this;for(s=!0;t<n;t++)l.tweens[t].run(1);return e?(a.notifyWith(o,[l,1,0]),a.resolveWith(o,[l,e])):a.rejectWith(o,[l,e]),this}}),c=l.props;for(function(e,t){var n,r,i,o,s;for(n in e)if(i=t[r=E.camelCase(n)],o=e[n],E.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=E.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=Ze.prefilters[r].call(l,o,c,l.opts))return E.isFunction(n.stop)&&(E._queueHooks(l.elem,l.opts.queue).stop=E.proxy(n.stop,n)),n;return E.map(c,Ke,l),E.isFunction(l.opts.start)&&l.opts.start.call(o,l),E.fx.timer(E.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}E.Animation=E.extend(Ze,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return U(n.elem,e,_.exec(t),n),n}]},tweener:function(e,t){E.isFunction(e)?(t=e,e=["*"]):e=e.match(L);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Ze.tweeners[n]=Ze.tweeners[n]||[],Ze.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var r,i,o,s,a,u,l,c=this,f={},p=t.style,d=t.nodeType&&z(t),h=R.get(t,"fxshow");for(r in n.queue||(null==(a=E._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,E.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(l=E.css(t,"display"))?R.get(t,"olddisplay")||ke(t.nodeName):l)&&"none"===E.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(i=e[r],Ye.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;d=!0}f[r]=h&&h[r]||E.style(t,r)}else l=void 0;if(E.isEmptyObject(f))"inline"===("none"===l?ke(t.nodeName):l)&&(p.display=l);else for(r in h?"hidden"in h&&(d=h.hidden):h=R.access(t,"fxshow",{}),o&&(h.hidden=!d),d?E(t).show():c.done(function(){E(t).hide()}),c.done(function(){var e;for(e in R.remove(t,"fxshow"),f)E.style(t,e,f[e])}),f)s=Ke(d?h[r]:0,r,c),r in h||(h[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}],prefilter:function(e,t){t?Ze.prefilters.unshift(e):Ze.prefilters.push(e)}}),E.speed=function(e,t,n){var r=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||E.isFunction(e)&&e,duration:e,easing:n&&t||t&&!E.isFunction(t)&&t};return r.duration=E.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in E.fx.speeds?E.fx.speeds[r.duration]:E.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){E.isFunction(r.old)&&r.old.call(this),r.queue&&E.dequeue(this,r.queue)},r},E.fn.extend({fadeTo:function(e,t,n,r){return this.filter(z).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=E.isEmptyObject(t),o=E.speed(e,n,r),s=function(){var e=Ze(this,E.extend({},t),o);(i||R.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(i,e,o){var s=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=E.timers,r=R.get(this);if(t)r[t]&&r[t].stop&&s(r[t]);else for(t in r)r[t]&&r[t].stop&&Ge.test(t)&&s(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||E.dequeue(this,i)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=R.get(this),n=t[s+"queue"],r=t[s+"queueHooks"],i=E.timers,o=n?n.length:0;for(t.finish=!0,E.queue(this,s,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===s&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),E.each(["toggle","show","hide"],function(e,r){var i=E.fn[r];E.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(Je(r,!0),e,t,n)}}),E.each({slideDown:Je("show"),slideUp:Je("hide"),slideToggle:Je("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){E.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(_e=E.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),_e=void 0},E.fx.timer=function(e){E.timers.push(e),e()?E.fx.start():E.timers.pop()},E.fx.interval=13,E.fx.start=function(){Xe||(Xe=C.setInterval(E.fx.tick,E.fx.interval))},E.fx.stop=function(){C.clearInterval(Xe),Xe=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(r,e){return r=E.fx&&E.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},ze=k.createElement("input"),Ue=k.createElement("select"),Ve=Ue.appendChild(k.createElement("option")),ze.type="checkbox",v.checkOn=""!==ze.value,v.optSelected=Ve.selected,Ue.disabled=!0,v.optDisabled=!Ve.disabled,(ze=k.createElement("input")).value="t",ze.type="radio",v.radioValue="t"===ze.value;var et,tt=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return O(this,E.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(t=t.toLowerCase(),i=E.attrHooks[t]||(E.expr.match.bool.test(t)?et:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=E.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&E.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[i++];)r=E.propFix[n]||n,E.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),et={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),function(e,t){var o=tt[t]||E.find.attr;tt[t]=function(e,t,n){var r,i;return n||(i=tt[t],tt[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,tt[t]=i),r}});var nt=/^(?:input|select|textarea|button)$/i,rt=/^(?:a|area)$/i;E.fn.extend({prop:function(e,t){return O(this,E.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[E.propFix[e]||e]})}}),E.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,i=E.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):nt.test(e.nodeName)||rt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this});var it=/[\t\r\n\f]/g;function ot(e){return e.getAttribute&&e.getAttribute("class")||""}E.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,u=0;if(E.isFunction(t))return this.each(function(e){E(this).addClass(t.call(this,e,ot(this)))});if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[u++];)if(i=ot(n),r=1===n.nodeType&&(" "+i+" ").replace(it," ")){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=E.trim(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,u=0;if(E.isFunction(t))return this.each(function(e){E(this).removeClass(t.call(this,e,ot(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[u++];)if(i=ot(n),r=1===n.nodeType&&(" "+i+" ").replace(it," ")){for(s=0;o=e[s++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(a=E.trim(r))&&n.setAttribute("class",a)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"===o?t?this.addClass(i):this.removeClass(i):E.isFunction(i)?this.each(function(e){E(this).toggleClass(i.call(this,e,ot(this),t),t)}):this.each(function(){var e,t,n,r;if("string"===o)for(t=0,n=E(this),r=i.match(L)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!==o||((e=ot(this))&&R.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":R.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+ot(n)+" ").replace(it," ").indexOf(t))return!0;return!1}});var st=/\r/g,at=/[\x20\t\r\n\f]+/g;E.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=E.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,E(this).val()):n)?t="":"number"==typeof t?t+="":E.isArray(t)&&(t=E.map(t,function(e){return null==e?"":e+""})),(r=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=E.valHooks[t.type]||E.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(st,""):null==e?"":e:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:E.trim(E.text(e)).replace(at," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u<a;u++)if(((n=r[u]).selected||u===i)&&(v.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!E.nodeName(n.parentNode,"optgroup"))){if(t=E(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=E.makeArray(t),s=i.length;s--;)((r=i[s]).selected=-1<E.inArray(E.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){return E.isArray(t)?e.checked=-1<E.inArray(E(e).val(),t):void 0}},v.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ut=/^(?:focusinfocus|focusoutblur)$/;E.extend(E.event,{trigger:function(e,t,n,r){var i,o,s,a,u,l,c,f=[n||k],p=h.call(e,"type")?e.type:e,d=h.call(e,"namespace")?e.namespace.split("."):[];if(o=s=n=n||k,3!==n.nodeType&&8!==n.nodeType&&!ut.test(p+E.event.triggered)&&(-1<p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),u=p.indexOf(":")<0&&"on"+p,(e=e[E.expando]?e:new E.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),c=E.event.special[p]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!E.isWindow(n)){for(a=c.delegateType||p,ut.test(a+p)||(o=o.parentNode);o;o=o.parentNode)f.push(o),s=o;s===(n.ownerDocument||k)&&f.push(s.defaultView||s.parentWindow||C)}for(i=0;(o=f[i++])&&!e.isPropagationStopped();)e.type=1<i?a:c.bindType||p,(l=(R.get(o,"events")||{})[e.type]&&R.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&F(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),t)||!F(n)||u&&E.isFunction(n[p])&&!E.isWindow(n)&&((s=n[u])&&(n[u]=null),n[E.event.triggered=p](),E.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}}),E.fn.extend({trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?E.event.trigger(e,t,n,!0):void 0}}),E.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),E.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.focusin="onfocusin"in C,v.focusin||E.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){E.event.simulate(r,e.target,E.event.fix(e))};E.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=R.access(e,r);t||e.addEventListener(n,i,!0),R.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=R.access(e,r)-1;t?R.access(e,r,t):(e.removeEventListener(n,i,!0),R.remove(e,r))}}});var lt=C.location,ct=E.now(),ft=/\?/;E.parseJSON=function(e){return JSON.parse(e+"")},E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var pt=/#.*$/,dt=/([?&])_=[^&]*/,ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,gt=/^(?:GET|HEAD)$/,vt=/^\/\//,mt={},yt={},xt="*/".concat("*"),bt=k.createElement("a");function wt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(L)||[];if(E.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Tt(t,i,o,s){var a={},u=t===yt;function l(e){var r;return a[e]=!0,E.each(t[e]||[],function(e,t){var n=t(i,o,s);return"string"!=typeof n||u||a[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!a["*"]&&l("*")}function Ct(e,t){var n,r,i=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&E.extend(!0,e,r),e}bt.href=lt.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:lt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":E.parseJSON,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ct(Ct(e,E.ajaxSettings),t):Ct(E.ajaxSettings,e)},ajaxPrefilter:wt(mt),ajaxTransport:wt(yt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,i,g=E.ajaxSetup({},t),v=g.context||g,m=g.context&&(v.nodeType||v.jquery)?E(v):E.event,y=E.Deferred(),x=E.Callbacks("once memory"),b=g.statusCode||{},o={},s={},w=0,a="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!n)for(n={};t=ht.exec(p);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?p:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,o[e]=t),this},overrideMimeType:function(e){return w||(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)b[t]=[b[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||a;return c&&c.abort(t),u(0,t),this}};if(y.promise(T).complete=x.add,T.success=T.done,T.error=T.fail,g.url=((e||g.url||lt.href)+"").replace(pt,"").replace(vt,lt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=E.trim(g.dataType||"*").toLowerCase().match(L)||[""],null==g.crossDomain){r=k.createElement("a");try{r.href=g.url,r.href=r.href,g.crossDomain=bt.protocol+"//"+bt.host!=r.protocol+"//"+r.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=E.param(g.data,g.traditional)),Tt(mt,g,t,T),2===w)return T;for(i in(h=E.event&&g.global)&&0==E.active++&&E.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!gt.test(g.type),f=g.url,g.hasContent||(g.data&&(f=g.url+=(ft.test(f)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=dt.test(f)?f.replace(dt,"$1_="+ct++):f+(ft.test(f)?"&":"?")+"_="+ct++)),g.ifModified&&(E.lastModified[f]&&T.setRequestHeader("If-Modified-Since",E.lastModified[f]),E.etag[f]&&T.setRequestHeader("If-None-Match",E.etag[f])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&T.setRequestHeader("Content-Type",g.contentType),T.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+xt+"; q=0.01":""):g.accepts["*"]),g.headers)T.setRequestHeader(i,g.headers[i]);if(g.beforeSend&&(!1===g.beforeSend.call(v,T,g)||2===w))return T.abort();for(i in a="abort",{success:1,error:1,complete:1})T[i](g[i]);if(c=Tt(yt,g,t,T)){if(T.readyState=1,h&&m.trigger("ajaxSend",[T,g]),2===w)return T;g.async&&0<g.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},g.timeout));try{w=1,c.send(o,u)}catch(e){if(!(w<2))throw e;u(-1,e)}}else u(-1,"No Transport");function u(e,t,n,r){var i,o,s,a,u,l=t;2!==w&&(w=2,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}(g,T,n)),a=function(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(g,a,T,i),i?(g.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(E.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(E.etag[f]=u)),204===e||"HEAD"===g.type?l="nocontent":304===e?l="notmodified":(l=a.state,o=a.data,i=!(s=a.error))):(s=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?y.resolveWith(v,[o,l,T]):y.rejectWith(v,[T,l,s]),T.statusCode(b),b=void 0,h&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,g,i?o:s]),x.fireWith(v,[T,l]),h&&(m.trigger("ajaxComplete",[T,g]),--E.active||E.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],function(e,i){E[i]=function(e,t,n,r){return E.isFunction(t)&&(r=r||n,n=t,t=void 0),E.ajax(E.extend({url:e,type:i,dataType:r,data:t,success:n},E.isPlainObject(e)&&e))}}),E._evalUrl=function(e){return E.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},E.fn.extend({wrapAll:function(t){var e;return E.isFunction(t)?this.each(function(e){E(this).wrapAll(t.call(this,e))}):(this[0]&&(e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return E.isFunction(n)?this.each(function(e){E(this).wrapInner(n.call(this,e))}):this.each(function(){var e=E(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=E.isFunction(t);return this.each(function(e){E(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){E.nodeName(this,"body")||E(this).replaceWith(this.childNodes)}).end()}}),E.expr.filters.hidden=function(e){return!E.expr.filters.visible(e)},E.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var kt=/%20/g,Et=/\[\]$/,Nt=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function jt(n,e,r,i){var t;if(E.isArray(e))E.each(e,function(e,t){r||Et.test(n)?i(n,t):jt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==E.type(e))i(n,e);else for(t in e)jt(n+"["+t+"]",e[t],r,i)}E.param=function(e,t){var n,r=[],i=function(e,t){t=E.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=E.ajaxSettings&&E.ajaxSettings.traditional),E.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&").replace(kt,"+")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Dt.test(this.nodeName)&&!St.test(e)&&(this.checked||!V.test(e))}).map(function(e,t){var n=E(this).val();return null==n?null:E.isArray(n)?E.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}}),E.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var At={0:200,1223:204},qt=E.ajaxSettings.xhr();v.cors=!!qt&&"withCredentials"in qt,v.ajax=qt=!!qt,E.ajaxTransport(function(i){var o,s;return v.cors||qt&&!i.crossDomain?{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=r.onload=r.onerror=r.onabort=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(At[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),s=r.onerror=o("error"),void 0!==r.onabort?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&s()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}:void 0}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),E.ajaxTransport("script",function(n){var r,i;if(n.crossDomain)return{send:function(e,t){r=E("<script>
2").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),k.head.appendChild(r[0])},abort:function(){i&&i()}}});var Lt=[],Ht=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Lt.pop()||E.expando+"_"+ct++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(Ht.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ht.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=E.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ht,"$1"+r):!1!==e.jsonp&&(e.url+=(ft.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||E.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?E(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Lt.push(r)),o&&E.isFunction(i)&&i(o[0]),o=i=void 0}),"script"):void 0}),E.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||k;var r=b.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=ne([e],t,i),i&&i.length&&E(i).remove(),E.merge([],r.childNodes))};var Ot=E.fn.load;function Ft(e){return E.isWindow(e)?e:9===e.nodeType&&e.defaultView}E.fn.load=function(e,t,n){if("string"!=typeof e&&Ot)return Ot.apply(this,arguments);var r,i,o,s=this,a=e.indexOf(" ");return-1<a&&(r=E.trim(e.slice(a)),e=e.slice(0,a)),E.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<s.length&&E.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?E("<div>").append(E.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.expr.filters.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,l=E.css(e,"position"),c=E(e),f={};"static"===l&&(e.style.position="relative"),a=c.offset(),o=E.css(e,"top"),u=E.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(s=(r=c.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),E.isFunction(t)&&(t=t.call(e,n,E.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+i),"using"in t?t.using.call(e,f):c.css(f)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;return o?(e=o.documentElement,E.contains(e,r)?(i=r.getBoundingClientRect(),n=Ft(o),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===E.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),E.nodeName(e[0],"html")||(r=e.offset()),r.top+=E.css(e[0],"borderTopWidth",!0),r.left+=E.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-E.css(n,"marginTop",!0),left:t.left-r.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||je})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;E.fn[t]=function(e){return O(this,function(e,t,n){var r=Ft(e);return void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=qe(v.pixelPosition,function(e,t){return t?(t=Ae(e,n),Ne.test(t)?E(e).position()[n]+"px":t):void 0})}),E.each({Height:"height",Width:"width"},function(o,s){E.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,e){E.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return O(this,function(e,t,n){var r;return E.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?E.css(e,t,i):E.style(e,t,n,i)},s,n?e:void 0,n,null)}})}),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),E.fn.andSelf=E.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return E});var Pt=C.jQuery,Rt=C.$;return E.noConflict=function(e){return C.$===E&&(C.$=Rt),e&&C.jQuery===E&&(C.jQuery=Pt),E},e||(C.jQuery=C.$=E),E}); 3/* jquery-validate.js */ 4!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(l){l.extend(l.fn,{validate:function(t){if(this.length){var s=l.data(this[0],"validator");return s||(this.attr("novalidate","novalidate"),s=new l.validator(t,this[0]),l.data(this[0],"validator",s),s.settings.onsubmit&&(this.validateDelegate(":submit","click",function(t){s.settings.submitHandler&&(s.submitButton=t.target),l(t.target).hasClass("cancel")&&(s.cancelSubmit=!0),void 0!==l(t.target).attr("formnovalidate")&&(s.cancelSubmit=!0)}),this.submit(function(i){function t(){var t,e;return!s.settings.submitHandler||(s.submitButton&&(t=l("<input type='hidden'/>").attr("name",s.submitButton.name).val(l(s.submitButton).val()).appendTo(s.currentForm)),e=s.settings.submitHandler.call(s,s.currentForm,i),s.submitButton&&t.remove(),void 0!==e&&e)}return s.settings.debug&&i.preventDefault(),s.cancelSubmit?(s.cancelSubmit=!1,t()):s.form()?s.pendingRequest?!(s.formSubmitted=!0):t():(s.focusInvalid(),!1)})),s)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e;return l(this[0]).is("form")?t=this.validate().form():(t=!0,e=l(this[0].form).validate(),this.each(function(){t=e.element(this)&&t})),t},removeAttrs:function(t){var i={},s=this;return l.each(t.split(/\s/),function(t,e){i[e]=s.attr(e),s.removeAttr(e)}),i},rules:function(t,e){var i,s,r,n,a,o,u=this[0];if(t)switch(s=(i=l.data(u.form,"validator").settings).rules,r=l.validator.staticRules(u),t){case"add":l.extend(r,l.validator.normalizeRule(e)),delete r.messages,s[u.name]=r,e.messages&&(i.messages[u.name]=l.extend(i.messages[u.name],e.messages));break;case"remove":return e?(o={},l.each(e.split(/\s/),function(t,e){o[e]=r[e],delete r[e],"required"===e&&l(u).removeAttr("aria-required")}),o):(delete s[u.name],r)}return(n=l.validator.normalizeRules(l.extend({},l.validator.classRules(u),l.validator.attributeRules(u),l.validator.dataRules(u),l.validator.staticRules(u)),u)).required&&(a=n.required,delete n.required,n=l.extend({required:a},n),l(u).attr("aria-required","true")),n.remote&&(a=n.remote,delete n.remote,n=l.extend(n,{remote:a})),n}}),l.extend(l.expr[":"],{blank:function(t){return!l.trim(""+l(t).val())},filled:function(t){return!!l.trim(""+l(t).val())},unchecked:function(t){return!l(t).prop("checked")}}),l.validator=function(t,e){this.settings=l.extend(!0,{},l.validator.defaults,t),this.currentForm=e,this.init()},l.validator.format=function(i,t){return 1===arguments.length?function(){var t=l.makeArray(arguments);return t.unshift(i),l.validator.format.apply(this,t)}:(2<arguments.length&&t.constructor!==Array&&(t=l.makeArray(arguments).slice(1)),t.constructor!==Array&&(t=[t]),l.each(t,function(t,e){i=i.replace(new RegExp("\\{"+t+"\\}","g"),function(){return e})}),i)},l.extend(l.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:l([]),errorLabelContainer:l([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.val
4idClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){9===e.which&&""===this.elementValue(t)||(t.name in this.submitted||t===this.lastElement)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(t,e,i){"radio"===t.type?this.findByName(t.name).addClass(e).removeClass(i):l(t).addClass(e).removeClass(i)},unhighlight:function(t,e,i){"radio"===t.type?this.findByName(t.name).removeClass(e).addClass(i):l(t).removeClass(e).addClass(i)}},setDefaults:function(t){l.extend(l.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:l.validator.format("Please enter no more than {0} characters."),minlength:l.validator.format("Please enter at least {0} characters."),rangelength:l.validator.format("Please enter a value between {0} and {1} characters long."),range:l.validator.format("Please enter a value between {0} and {1}."),max:l.validator.format("Please enter a value less than or equal to {0}."),min:l.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=l(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||l(this.currentForm),this.containers=l(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,s=this.groups={};function t(t){var e=l.data(this[0].form,"validator"),i="on"+t.type.replace(/^validate/,""),s=e.settings;s[i]&&!this.is(s.ignore)&&s[i].call(e,this[0],t)}l.each(this.settings.groups,function(i,t){"string"==typeof t&&(t=t.split(/\s/)),l.each(t,function(t,e){s[e]=i})}),i=this.settings.rules,l.each(i,function(t,e){i[t]=l.validator.normalizeRule(e)}),l(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']","focusin focusout keyup",t).validateDelegate("select, option, [type='radio'], [type='checkbox']","click",t),this.settings.invalidHandler&&l(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler),l(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),l.extend(this.submitted,this.errorMap),this.invalid=l.extend({},this.errorMap),this.valid()||l(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(t){var e=this.clean(t),i=this.validationTargetFor(e),s=!0;return void 0===(this.lastElement=i)?delete this.invalid[e.name]:(this.prepareElement(i),this.currentElements=l(i),(s=!1!==this.check(i))?delete this.invalid[i.name]:this.invalid[i.name]=!0),l(t).attr("aria-invalid",!s),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),s},showErrors:function(e){if(e){for(var t in l.extend(this.errorMap,e),this.errorList=[],e)this.errorList.push({message:e[t],element:this.findByName(t)[0]});this.successList=l.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){l.fn.resetForm&&l(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue").removeAttr("aria-invalid")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)i++;return i},hideErrors:function(){this.hideThese(this.toHide)}
4,hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{l(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===l.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var t=this,e={};return l(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled], [readonly]").not(this.settings.ignore).filter(function(){return!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),!(this.name in e||!t.objectLength(l(this).rules()))&&(e[this.name]=!0)})},clean:function(t){return l(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return l(this.settings.errorElement+"."+t,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=l([]),this.toHide=l([]),this.currentElements=l([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(t){var e,i=l(t),s=t.type;return"radio"===s||"checkbox"===s?l("input[name='"+t.name+"']:checked").val():"number"===s&&void 0!==t.validity?!t.validity.badInput&&i.val():"string"==typeof(e=i.val())?e.replace(/\r/g,""):e},check:function(e){e=this.validationTargetFor(this.clean(e));var t,i,s,r=l(e).rules(),n=l.map(r,function(t,e){return e}).length,a=!1,o=this.elementValue(e);for(i in r){s={method:i,parameters:r[i]};try{if("dependency-mismatch"===(t=l.validator.methods[i].call(this,o,e,s.parameters))&&1===n){a=!0;continue}if(a=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,s),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+s.method+"' method.",t),t}}if(!a)return this.objectLength(r)&&this.successList.push(e),!0},customDataMessage:function(t,e){return l(t).data("msg"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase())||l(t).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(t,e){return this.findDefined(this.customMessage(t.name,e),this.customDataMessage(t,e),!this.settings.ignoreTitle&&t.title||void 0,l.validator.messages[e],"<strong>Warning: No message defined for "+t.name+"</strong>")},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e.method),s=/\$?\{(\d+)\}/g;"function"==typeof i?i=i.call(this,e.parameters,t):s.test(i)&&(i=l.validator.format(i.replace(s,"{$1}"),e.parameters)),this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,i;for(t=0;this.errorList[t];t++)i=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return l(this.errorList).map(function(){return this.element})},showLabel:function(t,e){var i,s,r,n=this.errorsFor(t),a=this.idOrName(t),o=l(t).attr("aria-describedby");
4n.length?(n.removeClass(this.settings.validClass).addClass(this.settings.errorClass),n.html(e)):(i=n=l("<"+this.settings.errorElement+">").attr("id",a+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(i=n.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(i):this.settings.errorPlacement?this.settings.errorPlacement(i,l(t)):i.insertAfter(t),n.is("label")?n.attr("for",a):0===n.parents("label[for='"+a+"']").length&&(r=n.attr("id").replace(/(:|\.|\[|\])/g,"\\$1"),o?o.match(new RegExp("\\b"+r+"\\b"))||(o+=" "+r):o=r,l(t).attr("aria-describedby",o),(s=this.groups[t.name])&&l.each(this.groups,function(t,e){e===s&&l("[name='"+t+"']",this.currentForm).attr("aria-describedby",n.attr("id"))}))),!e&&this.settings.success&&(n.text(""),"string"==typeof this.settings.success?n.addClass(this.settings.success):this.settings.success(n,t)),this.toShow=this.toShow.add(n)},errorsFor:function(t){var e=this.idOrName(t),i=l(t).attr("aria-describedby"),s="label[for='"+e+"'], label[for='"+e+"'] *";return i&&(s=s+", #"+i.replace(/\s+/g,", #")),this.errors().filter(s)},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),l(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return l(this.currentForm).find("[name='"+t+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return l("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!l(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!l.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(l(this.currentForm).submit(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(l(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return l.data(t,"previousValue")||l.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:l.extend(this.classRuleSettings,t)},classRules:function(t){var e={},i=l(t).attr("class");return i&&l.each(i.split(" "),function(){this in l.validator.classRuleSettings&&l.extend(e,l.validator.classRuleSettings[this])}),e},attributeRules:function(t){var e,i,s={},r=l(t),n=t.getAttribute("type");for(e in l.validator.methods)"required"===e?(""===(i=t.getAttribute(e))&&(i=!0),i=!!i):i=r.attr(e),/min|max/.test(e)&&(null===n||/number|range|text/.test(n))&&(i=Number(i)),i||0===i?s[e]=i:n===e&&"range"!==n&&(s[e]=!0);return s.maxlength&&/-1|2147483647|524288/.test(s.maxlength)&&delete s.maxlength,s},dataRules:function(t){var e,i,s={},r=l(t);for(e in l.validator.methods)void 0!==(i=r.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()))&&(s[e]=i);return s},staticRules:function(t){var e={},i=l.data(t.form,"validator");return i.settings.rules&&(e=l.validator.normalizeRule(i.settings.rules[t.name])||{}),e},normalizeRules:function(s,r){return l.each(s,function(t,e){if(!1!==e){if(e.param||e.depends){var i=!0;
4switch(typeof e.depends){case"string":i=!!l(e.depends,r.form).length;break;case"function":i=e.depends.call(r,r)}i?s[t]=void 0===e.param||e.param:delete s[t]}}else delete s[t]}),l.each(s,function(t,e){s[t]=l.isFunction(e)?e(r):e}),l.each(["minlength","maxlength"],function(){s[this]&&(s[this]=Number(s[this]))}),l.each(["rangelength","range"],function(){var t;s[this]&&(l.isArray(s[this])?s[this]=[Number(s[this][0]),Number(s[this][1])]:"string"==typeof s[this]&&(t=s[this].replace(/[\[\]]/g,"").split(/[\s,]+/),s[this]=[Number(t[0]),Number(t[1])]))}),l.validator.autoCreateRanges&&(null!=s.min&&null!=s.max&&(s.range=[s.min,s.max],delete s.min,delete s.max),null!=s.minlength&&null!=s.maxlength&&(s.rangelength=[s.minlength,s.maxlength],delete s.minlength,delete s.maxlength)),s},normalizeRule:function(t){if("string"==typeof t){var e={};l.each(t.split(/\s/),function(){e[this]=!0}),t=e}return t},addMethod:function(t,e,i){l.validator.methods[t]=e,l.validator.messages[t]=void 0!==i?i:l.validator.messages[t],e.length<3&&l.validator.addClassRules(t,l.validator.normalizeRule(t))},methods:{required:function(t,e,i){if(!this.depend(i,e))return"dependency-mismatch";if("select"===e.nodeName.toLowerCase()){var s=l(e).val();return s&&0<s.length}return this.checkable(e)?0<this.getLength(t,e):0<l.trim(t).length},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},creditcard:function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i,s,r=0,n=0,a=!1;if((t=t.replace(/\D/g,"")).length<13||19<t.length)return!1;for(i=t.length-1;0<=i;i--)s=t.charAt(i),n=parseInt(s,10),a&&9<(n*=2)&&(n-=9),r+=n,a=!a;return r%10==0},minlength:function(t,e,i){var s=l.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||i<=s},maxlength:function(t,e,i){var s=l.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||s<=i},rangelength:function(t,e,i){var s=l.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||s>=i[0]&&s<=i[1]},min:function(t,e,i){return this.optional(e)||i<=t},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},equalTo:function(t,e,i){var s=l(i);return this.settings.onfocusout&&s.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){l(e).valid()}),t===s.val()},remote:function(n,a,t){if(this.optional(a))return"dependency-mismatch";var o,e,u=this.previousValue(a);return this.settings.messages[a.name]||(this.settings.messages[a.name]={}),u.originalMessage=this.settings.messages[a.name].remote,this.settings.messages[a.name].remote=u.message,t="string"==typeof t&&{url:t}
4||t,u.old===n?u.valid:(u.old=n,(o=this).startRequest(a),(e={})[a.name]=n,l.ajax(l.extend(!0,{url:t,mode:"abort",port:"validate"+a.name,dataType:"json",data:e,context:o.currentForm,success:function(t){var e,i,s,r=!0===t||"true"===t;o.settings.messages[a.name].remote=u.originalMessage,r?(s=o.formSubmitted,o.prepareElement(a),o.formSubmitted=s,o.successList.push(a),delete o.invalid[a.name],o.showErrors()):(e={},i=t||o.defaultMessage(a,"remote"),e[a.name]=u.message=l.isFunction(i)?i(n):i,o.invalid[a.name]=!0,o.showErrors(e)),u.valid=r,o.stopRequest(a,r)}},t)),"pending")}}}),l.format=function(){throw"$.format has been deprecated. Please use $.validator.format instead."};var s,r={};l.ajaxPrefilter?l.ajaxPrefilter(function(t,e,i){var s=t.port;"abort"===t.mode&&(r[s]&&r[s].abort(),r[s]=i)}):(s=l.ajax,l.ajax=function(t){var e=("mode"in t?t:l.ajaxSettings).mode,i=("port"in t?t:l.ajaxSettings).port;return"abort"===e?(r[i]&&r[i].abort(),r[i]=s.apply(this,arguments),r[i]):s.apply(this,arguments)}),l.extend(l.fn,{validateDelegate:function(i,t,s){return this.bind(t,function(t){var e=l(t.target);if(e.is(i))return s.apply(e,arguments)})}})}); 5/* bootstrap.min.js */ 6if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(s){"use strict";var e='[data-dismiss="alert"]',a=function(t){s(t).on("click",e,this.close)};a.VERSION="3.3.7",a.TRANSITION_DURATION=150,a.prototype.close=function(t){function e(){n.detach().trigger("closed.bs.alert").remove()}var i=s(this),o=i.attr("data-target");o||(o=(o=i.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var n=s("#"===o?[]:o);t&&t.preventDefault(),n.length||(n=i.closest(".alert")),n.trigger(t=s.Event("close.bs.alert")),t.isDefaultPrevented()||(n.removeClass("in"),s.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",e).emulateTransitionEnd(a.TRANSITION_DURATION):e())};var t=s.fn.alert;s.fn.alert=function(i){return this.each(function(){var t=s(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new a(this)),"string"==typeof i&&e[i].call(t)})},s.fn.alert.Constructor=a,s.fn.alert.noConflict=function(){return s.fn.alert=t,this},s(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery),function(s){"use strict";function i(o){return this.each(function(){var t=s(this),e=t.data("bs.button"),i="object"==typeof o&&o;e||t.data("bs.button",e=new n(this,i)),"toggle"==o?e.toggle():o&&e.setState(o)})}var n=function(t,e){this.$element=s(t),this.options=s.extend({},n.DEFAULTS,e),this.isLoading=!1};n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var e="disabled",i=this.$element,o=i.is("input")?"val":"html",n=i.data();t+="Text",null==n.resetText&&i.data("resetText",i[o]()),setTimeout(s.proxy(function(){i[o](null==n[t]?this.options[t]:n[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var t=s.fn.button;s.fn.button=i,s.fn.button.Constructor=n,s.fn.button.noConflict=function(){return s.fn.button=t,this},s(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=s(t.target).closest(".btn");i.call(e,"toggle"),s(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),e.is("input,button")?e.trigger("focus"):e.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){s(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(p){"use strict";function a(n){return this.each(function(){var t=p(this),e=t.data("bs.carousel"),i=p.extend({},c.DEFAULTS,t.data(),"object"==typeof n&&n),o="string"==typeof n?n:i.slide;e||t.data("bs.carousel",e=new c(this,i)),"number"==typeof n?e.to(n):o?e[o]():i.interval&&e.pause().cycle()})}var c=function(t,e){this.$element=p(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
6down.bs.carousel",p.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",p.proxy(this.pause,this)).on("mouseleave.bs.carousel",p.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},c.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(p.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},c.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var o=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(o)},c.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||t<0?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",this.$items.eq(t))},c.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&p.support.transition&&(this.$element.trigger(p.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(t,e){var i=this.$element.find(".item.active"),o=e||this.getItemForDirection(t,i),n=this.interval,s="next"==t?"left":"right",a=this;if(o.hasClass("active"))return this.sliding=!1;var r=o[0],l=p.Event("slide.bs.carousel",{relatedTarget:r,direction:s});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,n&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=p(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var d=p.Event("slid.bs.carousel",{relatedTarget:r,direction:s});return p.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),o[0].offsetWidth,i.addClass(s),o.addClass(s),i.one("bsTransitionEnd",function(){o.removeClass([t,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(d)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(d)),n&&this.cycle(),this}};var t=p.fn.carousel;p.fn.carousel=a,p.fn.carousel.Constructor=c,p.fn.carousel.noConflict=function(){return p.fn.carousel=t,this};var e=function(t){var e,i=p(this),o=p(i.attr("data-target")||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var n=p.extend({},o.data(),i.data()),s=i.attr("data-slide-to");s&&(n.interval=!1),a.call(o,n),s&&o.data("bs.carousel").to(s),t.preventDefault()}};p(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),p(window).on("load",function(){p('[data-ride="carousel"]').each(function(){var t=p(this);a.call(t,t.data())})})}(jQuery),function(a){"use strict";function r(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var i=e&&a(e);return i&&i.length?i:t.parent()}function s(o){o&&3===o.which||(a(".dropdown-backdrop").remove(),a(l).each(function(){var t=a(this),e=r(t),i={relatedTarget:this};e.hasClass("open")&&(o&&"click"==o.type&&/input|textarea/i.test(o.target.tagName)&&a.contains(e[0],o.target)||(e.trigger(o=a.Event("hide.bs.dropdown",i)),o.isDefaultPrevented()||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",i)))))}))}var l='[data-toggle="dropdown"]',o=function(t){a(t).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.7",o.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var i=r(e),o=i.hasClass("open");if(s(),!o){"ontouchstart"in document.documentElement&&!i.closest(".
6navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",s);var n={relatedTarget:this};if(i.trigger(t=a.Event("show.bs.dropdown",n)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(a.Event("shown.bs.dropdown",n))}return!1}},o.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=r(e),o=i.hasClass("open");if(!o&&27!=t.which||o&&27==t.which)return 27==t.which&&i.find(l).trigger("focus"),e.trigger("click");var n=i.find(".dropdown-menu li:not(.disabled):visible a");if(n.length){var s=n.index(t.target);38==t.which&&0<s&&s--,40==t.which&&s<n.length-1&&s++,~s||(s=0),n.eq(s).trigger("focus")}}}};var t=a.fn.dropdown;a.fn.dropdown=function(i){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new o(this)),"string"==typeof i&&e[i].call(t)})},a.fn.dropdown.Constructor=o,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",s).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",l,o.prototype.toggle).on("keydown.bs.dropdown.data-api",l,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),function(s){"use strict";function a(o,n){return this.each(function(){var t=s(this),e=t.data("bs.modal"),i=s.extend({},r.DEFAULTS,t.data(),"object"==typeof o&&o);e||t.data("bs.modal",e=new r(this,i)),"string"==typeof o?e[o](n):i.show&&e.show(n)})}var r=function(t,e){this.options=e,this.$body=s(document.body),this.$element=s(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,s.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};r.VERSION="3.3.7",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},r.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},r.prototype.show=function(i){var o=this,t=s.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',s.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){o.$element.one("mouseup.dismiss.bs.modal",function(t){s(t.target).is(o.$element)&&(o.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=s.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),t&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var e=s.Event("shown.bs.modal",{relatedTarget:i});t?o.$dialog.one("bsTransitionEnd",function(){o.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(r.TRANSITION_DURATION):o.$element.trigger("focus").trigger(e)}))},r.prototype.hide=function(t){t&&t.preventDefault(),t=s.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),s(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),s.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",s.proxy(this.hideModal,this)).emulateTransitionEnd(r.TRANSITION_DURATION):this.hideModal())},r.prototype.enforceFocus=function(){s(document).off("focusin.bs.modal").on("focusin.bs.modal",s.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
6down.dismiss.bs.modal",s.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},r.prototype.resize=function(){this.isShown?s(window).on("resize.bs.modal",s.proxy(this.handleUpdate,this)):s(window).off("resize.bs.modal")},r.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(t){var e=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=s.support.transition&&i;if(this.$backdrop=s(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",s.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;o?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var n=function(){e.removeBackdrop(),t&&t()};s.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):n()}else t&&t()},r.prototype.handleUpdate=function(){this.adjustDialog()},r.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.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 t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},r.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},r.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},r.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=s.fn.modal;s.fn.modal=a,s.fn.modal.Constructor=r,s.fn.modal.noConflict=function(){return s.fn.modal=t,this},s(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=s(this),i=e.attr("href"),o=s(e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),n=o.data("bs.modal")?"toggle":s.extend({remote:!/#/.test(i)&&i},o.data(),e.data());e.is("a")&&t.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),a.call(o,n,this)})}(jQuery),function(g){"use strict";var m=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};m.VERSION="3.3.7",m.TRANSITION_DURATION=150,m.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},m.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=g(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&g(g.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 o=this.options.trigger.split(" "),n=o.length;n--;){var s=o[n];if("click"==s)this.$element.on("click."+this.type,this.options.selector,g.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",r="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,g.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,g.proxy(this.leave,this))}}this.options.selector?this._options=g.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},m.prototype.getDefaults=function(){return m.DEFAULTS},m.prototype.getOptions=function(t){return(t=g.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},m.prototype.getDelegateOptions=function(){var i={},o=this.getDefaults();return this._options&&g.each(this._options,function(t,e){o[t]!=e&&(i[t]=e)}),i},m.prototype.enter=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);return e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusin"==t.type?"focu
6s":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState?void(e.hoverState="in"):(clearTimeout(e.timeout),e.hoverState="in",e.options.delay&&e.options.delay.show?void(e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)):e.show())},m.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},m.prototype.leave=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);return e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),e.isInStateTrue()?void 0:(clearTimeout(e.timeout),e.hoverState="out",e.options.delay&&e.options.delay.hide?void(e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)):e.hide())},m.prototype.show=function(){var t=g.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=g.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var i=this,o=this.tip(),n=this.getUID(this.type);this.setContent(),o.attr("id",n),this.$element.attr("aria-describedby",n),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,r=a.test(s);r&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),h=o[0].offsetWidth,d=o[0].offsetHeight;if(r){var p=s,c=this.getPosition(this.$viewport);s="bottom"==s&&l.bottom+d>c.bottom?"top":"top"==s&&l.top-d<c.top?"bottom":"right"==s&&l.right+h>c.width?"left":"left"==s&&l.left-h<c.left?"right":s,o.removeClass(p).addClass(s)}var f=this.getCalculatedOffset(s,l,h,d);this.applyPlacement(f,s);var u=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};g.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",u).emulateTransitionEnd(m.TRANSITION_DURATION):u()}},m.prototype.applyPlacement=function(t,e){var i=this.tip(),o=i[0].offsetWidth,n=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),t.top+=s,t.left+=a,g.offset.setOffset(i[0],g.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in");var r=i[0].offsetWidth,l=i[0].offsetHeight;"top"==e&&l!=n&&(t.top=t.top+n-l);var h=this.getViewportAdjustedDelta(e,t,r,l);h.left?t.left+=h.left:t.top+=h.top;var d=/top|bottom/.test(e),p=d?2*h.left-o+r:2*h.top-n+l,c=d?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(p,i[0][c],d)},m.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},m.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},m.prototype.hide=function(t){function e(){"in"!=i.hoverState&&o.detach(),i.$element&&i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),t&&t()}var i=this,o=g(this.$tip),n=g.Event("hide.bs."+this.type);return this.$element.trigger(n),n.isDefaultPrevented()?void 0:(o.removeClass("in"),g.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",e).emulateTransitionEnd(m.TRANSITION_DURATION):e(),this.hoverState=null,this)},m.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},m.prototype.hasContent=function(){return this.getTitle()},m.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,o=e.getBoundingClientRect();null==o.width&&(o=g.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var n=window.SVGElement&&e instanceof window.SVGElement,s=i?{top:0,left:0}:n?null:t.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},r=i?{width:g(window).width(),height:g(window).height()}:null;return g.extend({},o,a,r,s)}
vendor: 9,802 bytes, line 6
6,m.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},m.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+o;r<a.top?n.top=a.top-r:l>a.top+a.height&&(n.top=a.top+a.height-l)}else{var h=e.left-s,d=e.left+s+i;h<a.left?n.left=a.left-h:d>a.right&&(n.left=a.left+a.width-d)}return n},m.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},m.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},m.prototype.tip=function(){if(!this.$tip&&(this.$tip=g(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},m.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},m.prototype.enable=function(){this.enabled=!0},m.prototype.disable=function(){this.enabled=!1},m.prototype.toggleEnabled=function(){this.enabled=!this.enabled},m.prototype.toggle=function(t){var e=this;t&&((e=g(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},m.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=g.fn.tooltip;g.fn.tooltip=function(o){return this.each(function(){var t=g(this),e=t.data("bs.tooltip"),i="object"==typeof o&&o;!e&&/destroy|hide/.test(o)||(e||t.data("bs.tooltip",e=new m(this,i)),"string"==typeof o&&e[o]())})},g.fn.tooltip.Constructor=m,g.fn.tooltip.noConflict=function(){return g.fn.tooltip=t,this}}(jQuery),function(n){"use strict";var s=function(t,e){this.init("popover",t,e)};if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");s.VERSION="3.3.7",s.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((s.prototype=n.extend({},n.fn.tooltip.Constructor.prototype)).constructor=s).prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},s.prototype.hasContent=function(){return this.getTitle()||this.getContent()},s.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=n.fn.popover;n.fn.popover=function(o){return this.each(function(){var t=n(this),e=t.data("bs.popover"),i="object"==typeof o&&o;!e&&/destroy|hide/.test(o)||(e||t.data("bs.popover",e=new s(this,i)),"string"==typeof o&&e[o]())})},n.fn.popover.Constructor=s,n.fn.popover.noConflict=function(){return n.fn.popover=t,this}}(jQuery),function(r){"use strict";function e(i){return this.each(function(){var t=r(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof i&&e[i]()})}var a=function(t){this.element=r(t)};a.VERSION="3.3.7",a.TRANSITION_DURATION=150,a.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=e.find(".active:last a"),n=r.Event("hide.bs.tab",{relatedTarget:t[0]}),s=r.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(n),t.trigger(s),!s.isDefaultPrevented()&&!n.isDefaultPrevented()){var a=r(i);this.activate(t.closest("li"),e),this.activate(a,a.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},a.prototype.activate=function(t,e,i){function o(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var n=e.find("> .active"),s=i&&r.support.transition&&(n.length&&n.hasClass("fade")||!!e.find("> .fade").length);n.length&&s?n.one("bsTransitionEnd",o).emulateTransitionEnd(a.TRANSITION_DURATION):o(),n.removeClass("in")};var t=r.fn.tab;r.fn.tab=e,r.fn.tab.Constructor=a,r.fn.tab.noConflict=function(){return r.fn.tab=t,this};var i=function(t){t.preventDefault(),e.call(r(this),"show")};r(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(l){"use strict";function i(o){return this.each(function(){var t=l(this),e=t.data("bs.affix"),i="object"==typeof o&&o;e||t.data("bs.affix",e=new h(this,i)),"string"==typeof o&&e[o]()})}var h=function(t,e){this.options=l.extend({},h.DEFAULTS,e),this.$target=l(this.options.target).on("scroll.bs.affix.data-api",l.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",l.proxy(this.checkPositionWithEventLoop,this)),this.$element=l(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};h.VERSION="3.3.7",h.RESET="affix affix-top affix-bottom",h.DEFAULTS={offset:0,target:window},h.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return n<i&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=s.top)&&"bottom":!(n+a<=t-o)&&"bottom";var r=null==this.affixed,l=r?n:s.top;return null!=i&&n<=i?"top":null!=o&&t-o<=l+(r?a:e)&&"bottom"},h.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(h.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},h.prototype.checkPositionWithEventLoop=function(){setTimeout(l.proxy(this.checkPosition,this),1)},h.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,i=e.top,o=e.bottom,n=Math.max(l(document).height(),l(document.body).height());"object"!=typeof e&&(o=i=e),"function"==typeof i&&(i=e.top(this.$element)),"function"==typeof o&&(o=e.bottom(this.$element));var s=this.getState(n,t,i,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var a="affix"+(s?"-"+s:""),r=l.Event(a+".bs.affix");if(this.$element.trigger(r),r.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(h.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:n-t-o})}};var t=l.fn.affix;l.fn.affix=i,l.fn.affix.Constructor=h,l.fn.affix.noConflict=function(){return l.fn.affix=t,this},l(window).on("load",function(){l('[data-spy="affix"]').each(function(){var t=l(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery),function(a){"use strict";function n(t){var e,i=t.attr("data-target")||(e=t.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return a(i)}function r(o){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),i=a.extend({},l.DEFAULTS,t.data(),"object"==typeof o&&o);!e&&i.toggle&&/show|hide/.test(o)&&(i.toggle=!1),e||t.data("bs.collapse",e=new l(this,i)),"string"==typeof o&&e[o]()})}var l=function(t,e){this.$element=a(t),this.options=a.extend({},l.DEFAULTS,e),this.$trigger=a('[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()};l.VERSION="3.3.7",l.TRANSITION_DURATION=350,l.DEFAULTS={toggle:!0},l.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},l.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&((t=e.data("bs.collapse"))&&t.transitioning))){var i=a.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){e&&e.length&&(r.call(e,"hide"),t||e.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var n=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return n.call(this);
6var s=a.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",a.proxy(n,this)).emulateTransitionEnd(l.TRANSITION_DURATION)[o](this.$element[0][s])}}}},l.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[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 i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[e](0).one("bsTransitionEnd",a.proxy(i,this)).emulateTransitionEnd(l.TRANSITION_DURATION):i.call(this)}}},l.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},l.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){var i=a(e);this.addAriaAndCollapsedClass(n(i),i)},this)).end()},l.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var t=a.fn.collapse;a.fn.collapse=r,a.fn.collapse.Constructor=l,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this);e.attr("data-target")||t.preventDefault();var i=n(e),o=i.data("bs.collapse")?"toggle":e.data();r.call(i,o)})}(jQuery),function(s){"use strict";function n(t,e){this.$body=s(document.body),this.$scrollElement=s(s(t).is(document.body)?window:t),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 e(o){return this.each(function(){var t=s(this),e=t.data("bs.scrollspy"),i="object"==typeof o&&o;e||t.data("bs.scrollspy",e=new n(this,i)),"string"==typeof o&&e[o]()})}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 t=this,o="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),s.isWindow(this.$scrollElement[0])||(o="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=s(this),e=t.data("target")||t.attr("href"),i=/^#./.test(e)&&s(e);return i&&i.length&&i.is(":visible")&&[[i[o]().top+n,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},n.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),o=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),o<=e)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e<n[0])return this.activeTarget=null,this.clear();for(t=n.length;t--;)a!=s[t]&&e>=n[t]&&(void 0===n[t+1]||e<n[t+1])&&this.activate(s[t])},n.prototype.activate=function(t){this.activeTarget=t,this.clear();var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=s(e).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},n.prototype.clear=function(){s(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=s.fn.scrollspy;s.fn.scrollspy=e,s.fn.scrollspy.Constructor=n,s.fn.scrollspy.noConflict=function(){return s.fn.scrollspy=t,this},s(window).on("load.bs.scrollspy.data-api",function(){s('[data-spy="scroll"]').each(function(){var t=s(this);e.call(t,t.data())})})}(jQuery),function(o){"use strict";o.fn.emulateTransitionEnd=function(t){var e=!1,i=this;o(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||o(i).trigger(o.support.transition.end)},t),this},o(function(){o.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),o.support.transition&&(o.event.special.bsTransitionEnd={bindType:o.support.transition.end,delegateType:o.support.transition.end,handle:function(t){return o(t.target).is(this)?t.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery); 7/* plugins.min.js */ 8function populateTpl(t){}!function(n){n.fn.appear=function(i,t){var h=n.extend({data:void 0,one:!0,accX:0,accY:0},t);return this.each(function(){var d=n(this);if(d.appeared=!1,i){var p=n(window),e=function(){if(d.is(":visible")){var t=p.scrollLeft(),e=p.scrollTop(),i=d.offset(),n=i.left,o=i.top,a=h.accX,s=h.accY,r=d.height(),l=p.height(),c=d.width(),u=p.width();e<=o+r+s&&o<=e+l+s&&t<=n+c+a&&n<=t+u+a?d.appeared||d.trigger("appear",h.data):d.appeared=!1}else d.appeared=!1},t=function(){if(d.appeared=!0,h.one){p.unbind("scroll",e);var t=n.inArray(e,n.fn.appear.checks);0<=t&&n.fn.appear.checks.splice(t,1)}i.apply(this,arguments)};h.one?d.one("appear",h.data,t):d.bind("appear",h.data,t),p.scroll(e),n.fn.appear.checks.push(e),e()}else d.trigger("appear",h.data)})},n.extend(n.fn.appear,{checks:[],timeout:null,checkAll:function(){var t=n.fn.appear.checks.length;if(0<t)for(;t--;)n.fn.appear.checks[t]()},run:function(){n.fn.appear.timeout&&clearTimeout(n.fn.appear.timeout),n.fn.appear.timeout=setTimeout(n.fn.appear.checkAll,20)}}
8),n.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(t,e){var i=n.fn[e];i&&(n.fn[e]=function(){var t=i.apply(this,arguments);return n.fn.appear.run(),t})})}(jQuery),function(r){r.fn.countTo=function(o){o=r.extend({},r.fn.countTo.defaults,o||{});var a=Math.ceil(o.speed/o.refreshInterval),s=(o.to-o.from)/a;return r(this).each(function(){var t=this,e=0,i=o.from,n=setInterval(function(){i+=s,e++,r(t).html(i.toFixed(o.decimals)),"function"==typeof o.onUpdate&&o.onUpdate.call(t,i),a<=e&&(clearInterval(n),i=o.to,"function"==typeof o.onComplete&&o.onComplete.call(t,i))},o.refreshInterval)})},r.fn.countTo.defaults={from:0,to:100,speed:1e3,refreshInterval:100,decimals:0,onUpdate:null,onComplete:null}}(jQuery),function(z,v){function c(t){return"object"==typeof t}function u(t){return"string"==typeof t}function n(t){return"number"==typeof t}function y(t){return t===v}function w(t,e){return y(t)?"gmap3_"+(e?i+1:++i):t}function b(a,t,s,e,r){function i(t,o){t&&z.each(t,function(t,e){var i=a,n=e;P(e)&&(i=e[0],n=e[1]),o(s,t,function(t){n.apply(i,[r||s,t,l])})})}var n=t.td||{},l={id:e,data:n.data,tag:n.tag};i(n.events,W.event.addListener),i(n.onces,W.event.addListenerOnce)}function l(t){var e,i=[];for(e in t)t.hasOwnProperty(e)&&i.push(e);return i}function s(t,e){var i,n=arguments;for(i=2;i<n.length;i++)if(e in n[i]&&n[i].hasOwnProperty(e))return void(t[e]=n[i][e])}function x(t,e){var i,n,o=["data","tag","id","events","onces"],a={};if(t.td)for(i in t.td)t.td.hasOwnProperty(i)&&"options"!==i&&"values"!==i&&(a[i]=t.td[i]);for(n=0;n<o.length;n++)s(a,o[n],e,t.td);return a.options=z.extend({},t.opts||{},e.options||{}),a}function C(){if(j.verbose){var t,e=[];if(window.console&&F(console.error)){for(t=0;t<arguments.length;t++)e.push(arguments[t]);console.error.apply(console,e)}else{for(e="",t=0;t<arguments.length;t++)e+=arguments[t].toString()+" ";alert(e)}}}function o(t){return(n(t)||u(t))&&""!==t&&!isNaN(t)}function k(t){var e,i=[];if(!y(t))if(c(t))if(n(t.length))i=t;else for(e in t)i.push(t[e]);else i.push(t);return i}function p(i){return i?F(i)?i:(i=k(i),function(t){var e;if(y(t))return!1;if(c(t)){for(e=0;e<t.length;e++)if(0<=z.inArray(t[e],i))return!0;return!1}return 0<=z.inArray(t,i)}):void 0}function T(t,e,i){var n=e?t:null;return!t||u(t)?n:t.latLng?T(t.latLng):t instanceof W.LatLng?t:o(t.lat)?new W.LatLng(t.lat,t.lng):!i&&P(t)&&o(t[0])&&o(t[1])?new W.LatLng(t[0],t[1]):n}function I(t){var e,i;return!t||t instanceof W.LatLngBounds?t||null:(P(t)?2===t.length?(e=T(t[0]),i=T(t[1])):4===t.length&&(e=T([t[0],t[1]]),i=T([t[2],t[3]])):"ne"in t&&"sw"in t?(e=T(t.ne),i=T(t.sw)):"n"in t&&"e"in t&&"s"in t&&"w"in t&&(e=T([t.n,t.e]),i=T([t.s,t.w])),e&&i?new W.LatLngBounds(i,e):null)}function d(i,n,o,a,s){var t=!!o&&T(a.td,!1,!0),r=t?{latLng:t}:!!a.td.address&&(u(a.td.address)?{address:a.td.address}:a.td.address),e=!!r&&m.get(r),l=this;r?(s=s||0,e?(a.latLng=e.results[0].geometry.location,a.results=e.results,a.status=e.status,n.apply(i,[a])):(r.location&&(r.location=T(r.location)),r.bounds&&(r.bounds=I(r.bounds)),(L.geocoder||(L.geocoder=new W.Geocoder),L.geocoder).geocode(r,function(t,e){e===W.GeocoderStatus.OK?(m.store(r,{results:t,status:e}),a.latLng=t[0].geometry.location,a.results=t,a.status=e,n.apply(i,[a])):e===W.GeocoderStatus.OVER_QUERY_LIMIT&&s<j.queryLimit.attempt?setTimeout(function(){d.apply(l,[i,n,o,a,s+1])},j.queryLimit.delay+Math.floor(Math.random()*j.queryLimit.random)):(C("geocode failed",e,r),a.latLng=a.results=!1,a.status=e,n.apply(i,[a]))}))):(a.latLng=T(a.td,!1,!0),n.apply(i,[a]))}function h(i,t,n,o){var a=this,s=-1;!function e(){for(;++s<i.length&&!("address"in i[s]););return s>=i.length?void n.apply(t,[o]):void d(a,function(t){delete t.td,z.extend(i[s],t),e.apply(a,[])},!0,{td:i[s]})}()}function f(e,i,n){var o=!1;navigator&&navigator.geolocation?navigator.geolocation.getCurrentPosition(function(t){o||(o=!0,n.latLng=new W.LatLng(t.coords.latitude,t.coords.longitude),i.apply(e,[n]))},function(){o||(o=!0,n.latLng=!1,i.apply(e,[n]))},n.opts.getCurrentPosition):(n.latLng=!1,i.apply(e,[n]))}function t(){var e=[];this.empty=function(){return!e.length},this.add=function(t){e.push(t)},this.get=function(){return!!e.length&&e[0]},this.ack=function(){e.shift()}}function r(){function r(t){return{id:t.id,name:t.name,object:t.obj,tag:t.tag,data:t.data}}function o(t){F(t.setMap)&&t.setMap(null),F(t.remove)&&t.remove(),F(t.free)&&t.free(),t=null}var l={},c={},u=this;
8u.add=function(t,e,i,n){var o=t.td||{},a=w(o.id);return l[e]||(l[e]=[]),a in c&&u.clearById(a),c[a]={obj:i,sub:n,name:e,id:a,tag:o.tag,data:o.data},l[e].push(a),a},u.getById=function(t,e,i){var n=!1;return t in c&&(n=e?c[t].sub:i?r(c[t]):c[t].obj),n},u.get=function(t,e,i,n){var o,a,s=p(i);if(!l[t]||!l[t].length)return null;for(o=l[t].length;o;)if(o--,(a=l[t][e?o:l[t].length-o-1])&&c[a]){if(s&&!s(c[a].tag))continue;return n?r(c[a]):c[a].obj}return null},u.all=function(t,e,n){var o=[],a=p(e),i=function(t){var e,i;for(e=0;e<l[t].length;e++)if((i=l[t][e])&&c[i]){if(a&&!a(c[i].tag))continue;o.push(n?r(c[i]):c[i].obj)}};if(t in l)i(t);else if(y(t))for(t in l)i(t);return o},u.rm=function(t,e,i){var n,o;if(!l[t])return!1;if(e)if(i)for(n=l[t].length-1;0<=n&&(o=l[t][n],!e(c[o].tag));n--);else for(n=0;n<l[t].length&&(o=l[t][n],!e(c[o].tag));n++);else n=i?l[t].length-1:0;return n in l[t]&&u.clearById(l[t][n],n)},u.clearById=function(t,e){if(t in c){var i,n=c[t].name;for(i=0;y(e)&&i<l[n].length;i++)t===l[n][i]&&(e=i);return o(c[t].obj),c[t].sub&&o(c[t].sub),delete c[t],l[n].splice(e,1),!0}return!1},u.objGetById=function(t){var e,i;if(l.clusterer)for(i in l.clusterer)if(!1!==(e=c[l.clusterer[i]].obj.getById(t)))return e;return!1},u.objClearById=function(t){var e;if(l.clusterer)for(e in l.clusterer)if(c[l.clusterer[e]].obj.clearById(t))return!0;return null},u.clear=function(t,e,i,n){var o,a,s,r=p(n);if(t&&t.length)t=k(t);else for(o in t=[],l)t.push(o);for(a=0;a<t.length;a++)if(s=t[a],e)u.rm(s,r,!0);else if(i)u.rm(s,r,!1);else for(;u.rm(s,r,!1););},u.objClear=function(t,e,i,n){var o;if(l.clusterer&&(0<=z.inArray("marker",t)||!t.length))for(o in l.clusterer)c[l.clusterer[o]].obj.clear(e,i,n)}}function S(i,n,o){function a(){var t;for(t in o)if(o.hasOwnProperty(t)&&!r.hasOwnProperty(t))return t}var s,t,r={},e=this,l={latLng:{map:!1,marker:!1,infowindow:!1,circle:!1,overlay:!1,getlatlng:!1,getmaxzoom:!1,getelevation:!1,streetviewpanorama:!1,getaddress:!0},geoloc:{getgeoloc:!0}};u(o)&&((t={})[o]={},o=t),e.run=function(){for(var t,e;t=a();){if(F(i[t]))return s=t,e=z.extend(!0,{},j[t]||{},o[t].options||{}),void(t in l.latLng?o[t].values?h(o[t].values,i,i[t],{td:o[t],opts:e,session:r}):d(i,i[t],l.latLng[t],{td:o[t],opts:e,session:r}):t in l.geoloc?f(i,i[t],{td:o[t],opts:e,session:r}):i[t].apply(i,[{td:o[t],opts:e,session:r}]));r[t]=null}n.apply(i,[o,r])},e.ack=function(t){r[s]=t,e.run.apply(e,[])}}function D(){return L.es||(L.es=new W.ElevationService),L.es}function M(i,x,C){function e(t){r[t]||(delete O[t].options.map,r[t]=new j.classes.Marker(O[t].options),b(i,{td:O[t]},r[t],O[t].id))}function k(t){c(A[t])?(F(A[t].obj.setMap)&&A[t].obj.setMap(null),F(A[t].obj.remove)&&A[t].obj.remove(),F(A[t].shadow.remove)&&A[t].obj.remove(),F(A[t].shadow.setMap)&&A[t].shadow.setMap(null),delete A[t].obj,delete A[t].shadow):r[t]&&r[t].setMap(null),delete A[t]}function T(){var t=function(){var t,e,i,n,o,a,s,r,l=Math.cos,c=Math.sin,u=arguments;return u[0]instanceof W.LatLng?(t=u[0].lat(),i=u[0].lng(),u[1]instanceof W.LatLng?(e=u[1].lat(),n=u[1].lng()):(e=u[1],n=u[2])):(t=u[0],i=u[1],u[2]instanceof W.LatLng?(e=u[2].lat(),n=u[2].lng()):(e=u[2],n=u[3])),o=Math.PI*t/180,a=Math.PI*i/180,s=Math.PI*e/180,r=Math.PI*n/180,6371e3*Math.acos(Math.min(l(o)*l(s)*l(a)*l(r)+l(o)*c(a)*l(s)*c(r)+c(o)*c(s),1))}(x.getCenter(),x.getBounds().getNorthEast());return new W.Circle({center:x.getCenter(),radius:1.25*t}).getBounds()}function n(){clearTimeout(t),t=setTimeout(o,25)}function o(){if(!M&&!E&&P){var t,e,i,n,o,a,s,r,l,c,u,d=!1,p=[],h={},f=x.getZoom(),m="maxZoom"in C&&f>C.maxZoom,g=function(){var t,e={};for(t in A)e[t]=!0;return e}();
8for(_=!1,3<f&&(d=(o=T()).getSouthWest().lng()<o.getNorthEast().lng()),t=0;t<O.length;t++)!O[t]||d&&!o.contains(O[t].options.position)||S&&!S(N[t])||p.push(t);for(;;){for(t=0;h[t]&&t<p.length;)t++;if(t===p.length)break;if(n=[],L&&!m){u=10;do{for(r=n,n=[],u--,s=r.length?o.getCenter():O[p[t]].options.position,v=s,void 0,y=I.fromLatLngToDivPixel(v),w=I.fromDivPixelToLatLng(new W.Point(y.x+C.radius,y.y-C.radius)),b=I.fromDivPixelToLatLng(new W.Point(y.x-C.radius,y.y+C.radius)),o=new W.LatLngBounds(b,w),e=t;e<p.length;e++)h[e]||o.contains(O[p[e]].options.position)&&n.push(e)}while(r.length<n.length&&1<n.length&&u)}else for(e=t;e<p.length;e++)if(!h[e]){n.push(e);break}for(a={indexes:[],ref:[]},l=c=0,i=0;i<n.length;i++)h[n[i]]=!0,a.indexes.push(p[n[i]]),a.ref.push(p[n[i]]),l+=O[p[n[i]]].options.position.lat(),c+=O[p[n[i]]].options.position.lng();l/=n.length,c/=n.length,a.latLng=new W.LatLng(l,c),a.ref=a.ref.join("-"),a.ref in g?delete g[a.ref]:(1===n.length&&(A[a.ref]=!0),D(a))}z.each(g,function(t){k(t)}),E=!1}var v,y,w,b}var t,I,S,D,M=!1,_=!1,E=!1,P=!1,L=!0,u=this,a=[],A={},s={},d={},r=[],O=[],N=[],l=function(t,e){function i(){return this.onAdd=function(){},this.onRemove=function(){},this.draw=function(){},j.classes.OverlayView.apply(this,[])}i.prototype=j.classes.OverlayView.prototype;var n=new i;return n.setMap(t),n}(x,C.radius);(function t(){return(I=l.getProjection())?(P=!0,a.push(W.event.addListener(x,"zoom_changed",n)),a.push(W.event.addListener(x,"bounds_changed",n)),void o()):void setTimeout(function(){t.apply(u,[])},25)})(),u.getById=function(t){return t in s&&(e(s[t]),r[s[t]])},u.rm=function(t){var e=s[t];r[e]&&r[e].setMap(null),delete r[e],r[e]=!1,delete O[e],O[e]=!1,delete N[e],N[e]=!1,delete s[t],delete d[e],_=!0},u.clearById=function(t){return t in s?(u.rm(t),!0):void 0},u.clear=function(t,e,i){var n,o,a,s,r,l=[],c=p(i);for(t?(n=O.length-1,a=o=-1):(n=0,o=O.length,a=1),s=n;s!==o&&(!O[s]||c&&!c(O[s].tag)||(l.push(d[s]),!e&&!t));s+=a);for(r=0;r<l.length;r++)u.rm(l[r])},u.add=function(t,e){t.id=w(t.id),u.clearById(t.id),s[t.id]=r.length,d[r.length]=t.id,r.push(null),O.push(t),N.push(e),_=!0},u.addMarker=function(t,e){(e=e||{}).id=w(e.id),u.clearById(e.id),e.options||(e.options={}),e.options.position=t.getPosition(),b(i,{td:e},t,e.id),s[e.id]=r.length,d[r.length]=e.id,r.push(t),O.push(e),N.push(e.data||{}),_=!0},u.td=function(t){return O[t]},u.value=function(t){return N[t]},u.marker=function(t){return t in r&&(e(t),r[t])},u.markerIsSet=function(t){return Boolean(r[t])},u.setMarker=function(t,e){r[t]=e},u.store=function(t,e,i){A[t.ref]={obj:e,shadow:i}},u.free=function(){var t;for(t=0;t<a.length;t++)W.event.removeListener(a[t]);a=[],z.each(A,function(t){k(t)}),A={},z.each(O,function(t){O[t]=null}),O=[],z.each(r,function(t){r[t]&&(r[t].setMap(null),delete r[t])}),r=[],z.each(N,function(t){delete N[t]}),N=[],s={},d={}},u.filter=function(t){S=t,o()},u.enable=function(t){L!==t&&(L=t,o())},u.display=function(t){D=t},u.error=function(t){t},u.beginUpdate=function(){M=!0},u.endUpdate=function(){M=!1,_&&o()},u.autofit=function(t){var e;for(e=0;e<O.length;e++)O[e]&&t.extend(O[e].options.position)}}function _(t,o){var e=this;e.id=function(){return t},e.filter=function(t){o.filter(t)},e.enable=function(){o.enable(!0)},e.disable=function(){o.enable(!1)},e.add=function(t,e,i){i||o.beginUpdate(),o.addMarker(t,e),i||o.endUpdate()},e.getById=function(t){return o.getById(t)},e.clearById=function(t,e){var i;return e||o.beginUpdate(),i=o.clearById(t),e||o.endUpdate(),i},e.clear=function(t,e,i,n){n||o.beginUpdate(),o.clear(t,e,i),n||o.endUpdate()}}function E(t,e,i,n){var o=this,a=[];j.classes.OverlayView.call(o),o.setMap(t),o.onAdd=function(){var t=o.getPanes();e.pane in t&&z(t[e.pane]).append(n),z.each("dblclick click mouseover mousemove mouseout mouseup mousedown".split(" "),function(t,e){a.push(W.event.addDomListener(n[0],e,function(t){z.Event(t).stopPropagation(),W.event.trigger(o,e,[t]),o.draw()}))}),a.push(W.event.addDomListener(n[0],"contextmenu",function(t){z.Event(t).stopPropagation(),W.event.trigger(o,"rightclick",[t]),o.draw()}))},o.getPosition=function(){return i},o.setPosition=function(t){i=t,o.draw()},o.draw=function(){var t=o.getProjection().fromLatLngToDivPixel(i);n.css("left",t.x+e.offset.x+"px").css("top",t.y+e.offset.y+"px")},o.onRemove=function(){var t;for(t=0;t<a.length;t++)W.event.removeListener(a[t]);n.remove()},o.hide=function(){n.hide()},o.show=function(){n.show()},o.toggle=function(){n&&(n.is(":visible")?o.show():o.hide())},o.toggleDOM=function(){o.setMap(o.getMap()?null:t)},o.getDOMElement=function(){return n[0]}}function a(f){function i(){!a&&(a=s.get())&&a.run()}function n(){a=null,s.ack(),i.call(m)}function o(t){var e,i=t.td.callback;
8i&&(e=Array.prototype.slice.call(arguments,1),F(i)?i.apply(f,e):P(i)&&F(i[1])&&i[1].apply(i[0],e))}function d(t,e,i){i&&b(f,t,e,i),o(t,e),a.ack(e)}function p(t,e){var i=(e=e||{}).td&&e.td.options?e.td.options:0;g?i&&(i.center&&(i.center=T(i.center)),g.setOptions(i)):((i=e.opts||z.extend(!0,{},j.map,i||{})).center=t||T(i.center),g=new j.classes.Map(f.get(0),i))}function e(r,l,c){var u=[],t="values"in r.td;return t||(r.td.values=[{options:r.opts}]),r.td.values.length?(p(),z.each(r.td.values,function(t,e){var i,n,o,a,s=x(r,e);if(s.options[c])if(s.options[c][0][0]&&P(s.options[c][0][0]))for(n=0;n<s.options[c].length;n++)for(o=0;o<s.options[c][n].length;o++)s.options[c][n][o]=T(s.options[c][n][o]);else for(n=0;n<s.options[c].length;n++)s.options[c][n]=T(s.options[c][n]);s.options.map=g,a=new W[l](s.options),u.push(a),i=h.add({td:s},l.toLowerCase(),a),b(f,{td:s},a,i)}),void d(r,t?u:u[0])):void d(r,!1)}var a,m=this,s=new t,h=new r,g=null;m._plan=function(t){var e;for(e=0;e<t.length;e++)s.add(new S(m,n,t[e]));i()},m.map=function(t){p(t.latLng,t),b(f,t,g),d(t,g)},m.destroy=function(t){h.clear(),f.empty(),g&&(g=null),d(t,!0)},m.overlay=function(s,r){var l=[],t="values"in s.td;return t||(s.td.values=[{latLng:s.latLng,options:s.opts}]),s.td.values.length?(E.__initialised||(E.prototype=new j.classes.OverlayView,E.__initialised=!0),z.each(s.td.values,function(t,e){var i,n,o=x(s,e),a=z(document.createElement("div")).css({border:"none",borderWidth:0,position:"absolute"});a.append(o.options.content),n=new E(g,o.options,T(o)||T(e),a),l.push(n),a=null,r||(i=h.add(s,"overlay",n),b(f,{td:o},n,i))}),r?l[0]:void d(s,t?l:l[0])):void d(s,!1)},m.marker=function(a){var s,t,n,e="values"in a.td,r=!g;return e||(a.opts.position=a.latLng||T(a.opts.position),a.td.values=[{options:a.opts}]),a.td.values.length?(r&&p(),a.td.cluster&&!g.getBounds()?void W.event.addListenerOnce(g,"bounds_changed",function(){m.marker.apply(m,[a])}):void(a.td.cluster?(a.td.cluster instanceof _?(t=a.td.cluster,n=h.getById(t.id(),!0)):(n=function(l){var c,t,u=new M(f,g,l),d={},p={},h=[],e=/^[0-9]+$/;for(t in l)e.test(t)?(h.push(1*t),p[t]=l[t],p[t].width=p[t].width||0,p[t].height=p[t].height||0):d[t]=l[t];return h.sort(function(t,e){return e<t}),c=d.calculator?function(t){var i=[];return z.each(t,function(t,e){i.push(u.value(e))}),d.calculator.apply(f,[i])}:function(t){return t.length},u.error(function(){C.apply(m,arguments)}),u.display(function(t){var e,i,n,o,a,s,r=c(t.indexes);if(l.force||1<r)for(e=0;e<h.length;e++)h[e]<=r&&(i=p[h[e]]);i?(a=i.offset||[-i.width/2,-i.height/2],(n=z.extend({},d)).options=z.extend({pane:"overlayLayer",content:i.content?i.content.replace("CLUSTER_COUNT",r):"",offset:{x:("x"in a?a.x:a[0])||0,y:("y"in a?a.y:a[1])||0}},d.options||{}),o=m.overlay({td:n,opts:n.options,latLng:T(t)},!0),n.options.pane="floatShadow",n.options.content=z(document.createElement("div")).width(i.width+"px").height(i.height+"px").css({cursor:"pointer"}),s=m.overlay({td:n,opts:n.options,latLng:T(t)},!0),d.data={latLng:T(t),markers:[]},z.each(t.indexes,function(t,e){d.data.markers.push(u.value(e)),u.markerIsSet(e)&&u.marker(e).setMap(null)}),b(f,{td:d},s,v,{main:o,shadow:s}),u.store(t,o,s)):z.each(t.indexes,function(t,e){u.marker(e).setMap(g)})}),u}(a.td.cluster),t=new _(w(a.td.id,!0),n),h.add(a,"clusterer",t,n)),n.beginUpdate(),z.each(a.td.values,function(t,e){var i=x(a,e);i.options.position=T(i.options.position?i.options.position:e),i.options.position&&(i.options.map=g,r&&(g.setCenter(i.options.position),r=!1),n.add(i,e))}),n.endUpdate(),d(a,t)):(s=[],z.each(a.td.values,function(t,e){var i,n,o=x(a,e);o.options.position=T(o.options.position?o.options.position:e),o.options.position&&(o.options.map=g,r&&(g.setCenter(o.options.position),r=!1),n=new j.classes.Marker(o.options),s.push(n),i=h.add({td:o},"marker",n),b(f,{td:o},n,i))}),d(a,e?s:s[0])))):void d(a,!1)},m.getroute=function(i){i.opts.origin=T(i.opts.origin,!0),i.opts.destination=T(i.opts.destination,!0),(L.ds||(L.ds=new W.DirectionsService),L.ds).route(i.opts,function(t,e){o(i,e===W.DirectionsStatus.OK&&t,e),a.ack()})},m.getdistance=function(i){var t;for(i.opts.origins=k(i.opts.origins),t=0;t<i.opts.origins.length;t++)i.opts.origins[t]=T(i.opts.origins[t],!0);for(i.opts.destinations=k(i.opts.destinations),t=0;t<i.opts.destinations.length;t++)i.opts.destinations[t]=T(i.opts.destinations[t],!0);(L.dms||(L.dms=new W.DistanceMatrixService),L.dms).getDistanceMatrix(i.opts,function(t,e){o(i,e===W.DistanceMatrixStatus.OK&&t,e),a.ack()})},m.infowindow=function(a){var s=[],r="values"in a.td;
8r||(a.latLng&&(a.opts.position=a.latLng),a.td.values=[{options:a.opts}]),z.each(a.td.values,function(t,e){var i,n,o=x(a,e);o.options.position=T(o.options.position?o.options.position:e.latLng),g||p(o.options.position),(n=new j.classes.InfoWindow(o.options))&&(y(o.open)||o.open)&&(r?n.open(g,o.anchor||v):n.open(g,o.anchor||(a.latLng?v:a.session.marker?a.session.marker:v))),s.push(n),i=h.add({td:o},"infowindow",n),b(f,{td:o},n,i)}),d(a,r?s:s[0])},m.circle=function(a){var s=[],t="values"in a.td;return t||(a.opts.center=a.latLng||T(a.opts.center),a.td.values=[{options:a.opts}]),a.td.values.length?(z.each(a.td.values,function(t,e){var i,n,o=x(a,e);o.options.center=T(o.options.center?o.options.center:e),g||p(o.options.center),o.options.map=g,n=new j.classes.Circle(o.options),s.push(n),i=h.add({td:o},"circle",n),b(f,{td:o},n,i)}),void d(a,t?s:s[0])):void d(a,!1)},m.getaddress=function(t){o(t,t.results,t.status),a.ack()},m.getlatlng=function(t){o(t,t.results,t.status),a.ack()},m.getmaxzoom=function(e){(L.mzs||(L.mzs=new W.MaxZoomService),L.mzs).getMaxZoomAtLatLng(e.latLng,function(t){o(e,t.status===W.MaxZoomStatus.OK&&t.zoom,status),a.ack()})},m.getelevation=function(i){var t,e=[],n=function(t,e){o(i,e===W.ElevationStatus.OK&&t,e),a.ack()};if(i.latLng)e.push(i.latLng);else for(e=k(i.td.locations||[]),t=0;t<e.length;t++)e[t]=T(e[t]);if(e.length)D().getElevationForLocations({locations:e},n);else{if(i.td.path&&i.td.path.length)for(t=0;t<i.td.path.length;t++)e.push(T(i.td.path[t]));e.length?D().getElevationAlongPath({path:e,samples:i.td.samples},n):a.ack()}},m.defaults=function(t){z.each(t.td,function(t,e){c(j[t])?j[t]=z.extend({},j[t],e):j[t]=e}),a.ack(!0)},m.rectangle=function(a){var s=[],t="values"in a.td;return t||(a.td.values=[{options:a.opts}]),a.td.values.length?(z.each(a.td.values,function(t,e){var i,n,o=x(a,e);o.options.bounds=I(o.options.bounds?o.options.bounds:e),g||p(o.options.bounds.getCenter()),o.options.map=g,n=new j.classes.Rectangle(o.options),s.push(n),i=h.add({td:o},"rectangle",n),b(f,{td:o},n,i)}),void d(a,t?s:s[0])):void d(a,!1)},m.polyline=function(t){e(t,"Polyline","path")},m.polygon=function(t){e(t,"Polygon","paths")},m.trafficlayer=function(t){p();var e=h.get("trafficlayer");e||((e=new j.classes.TrafficLayer).setMap(g),h.add(t,"trafficlayer",e)),d(t,e)},m.bicyclinglayer=function(t){p();var e=h.get("bicyclinglayer");e||((e=new j.classes.BicyclingLayer).setMap(g),h.add(t,"bicyclinglayer",e)),d(t,e)},m.groundoverlay=function(t){t.opts.bounds=I(t.opts.bounds),t.opts.bounds&&p(t.opts.bounds.getCenter());var e=new j.classes.GroundOverlay(t.opts.url,t.opts.bounds,t.opts.opts);e.setMap(g),d(t,e,h.add(t,"groundoverlay",e))},m.streetviewpanorama=function(t){t.opts.opts||(t.opts.opts={}),t.latLng?t.opts.opts.position=t.latLng:t.opts.opts.position&&(t.opts.opts.position=T(t.opts.opts.position)),t.td.divId?t.opts.container=document.getElementById(t.td.divId):t.opts.container&&(t.opts.container=z(t.opts.container).get(0));var e=new j.classes.StreetViewPanorama(t.opts.container,t.opts.opts);e&&g.setStreetView(e),d(t,e,h.add(t,"streetviewpanorama",e))},m.kmllayer=function(s){var r=[],t="values"in s.td;return t||(s.td.values=[{options:s.opts}]),s.td.values.length?(z.each(s.td.values,function(t,e){var i,n,o,a=x(s,e);g||p(),o=a.options,a.options.opts&&(o=a.options.opts,a.options.url&&(o.url=a.options.url)),o.map=g,n=function(t){var e,i=W.version.split(".");for(t=t.split("."),e=0;e<i.length;e++)i[e]=parseInt(i[e],10);for(e=0;e<t.length;e++){if(t[e]=parseInt(t[e],10),!i.hasOwnProperty(e))return!1;if(i[e]<t[e])return!1}return!0}("3.10")?new j.classes.KmlLayer(o):new j.classes.KmlLayer(o.url,o),r.push(n),i=h.add({td:a},"kmllayer",n),b(f,{td:a},n,i)}),void d(s,t?r:r[0])):void d(s,!1)},m.panel=function(t){p();var e,i=0,n=0,o=z(document.createElement("div"));o.css({position:"absolute",zIndex:1e3,visibility:"hidden"}),t.opts.content&&(e=z(t.opts.content),o.append(e),f.first().prepend(o),y(t.opts.left)?y(t.opts.right)?t.opts.center&&(i=(f.width()-e.width())/2):i=f.width()-e.width()-t.opts.right:i=t.opts.left,y(t.opts.top)?y(t.opts.bottom)?t.opts.middle&&(n=(f.height()-e.height())/2):n=f.height()-e.height()-t.opts.bottom:n=t.opts.top,o.css({top:n,left:i,visibility:"visible"})),d(t,o,h.add(t,"panel",o)),o=null},m.directionsrenderer=function(t){t.opts.map=g;var e=new W.DirectionsRenderer(t.opts);t.td.divId?e.setPanel(document.getElementById(t.td.divId)):t.td.container&&e.setPanel(z(t.td.container).get(0)),d(t,e,h.add(t,"directionsrenderer",e))},m.getgeoloc=function(t){d(t,t.latLng)},m.styledmaptype=function(t){p();var e=new j.classes.StyledMapType(t.td.styles,t.opts);g.mapTypes.set(t.td.id,e),d(t,e)},m.imagemaptype=function(t){p();var e=new j.classes.ImageMapType(t.opts);g.mapTypes.set(t.td.id,e),d(t,e)},m.autofit=function(t){var i=new W.LatLngBounds;z.each(h.all(),function(t,e){e.getPosition?i.extend(e.getPosition()):e.getBounds?(i.extend(e.getBounds().getNorthEast()),i.extend(e.getBounds().getSouthWest
8())):e.getPaths?e.getPaths().forEach(function(t){t.forEach(function(t){i.extend(t)})}):e.getPath?e.getPath().forEach(function(t){i.extend(t)}):e.getCenter?i.extend(e.getCenter()):e instanceof _&&((e=h.getById(e.id(),!0))&&e.autofit(i))}),i.isEmpty()||g.getBounds()&&g.getBounds().equals(i)||("maxZoom"in t.td&&W.event.addListenerOnce(g,"bounds_changed",function(){this.getZoom()>t.td.maxZoom&&this.setZoom(t.td.maxZoom)}),g.fitBounds(i)),d(t,!0)},m.clear=function(t){if(u(t.td)){if(h.clearById(t.td)||h.objClearById(t.td))return void d(t,!0);t.td={name:t.td}}t.td.id?z.each(k(t.td.id),function(t,e){h.clearById(e)||h.objClearById(e)}):(h.clear(k(t.td.name),t.td.last,t.td.first,t.td.tag),h.objClear(k(t.td.name),t.td.last,t.td.first,t.td.tag)),d(t,!0)},m.get=function(t,e,n){var i,o,a=e?t:t.td;return e||(n=a.full),u(a)?!1===(o=h.getById(a,!1,n)||h.objGetById(a))&&(i=a,a={}):i=a.name,"map"===i&&(o=g),o||(o=[],a.id?(z.each(k(a.id),function(t,e){o.push(h.getById(e,!1,n)||h.objGetById(e))}),P(a.id)||(o=o[0])):(z.each(i?k(i):[v],function(t,e){var i;a.first?(i=h.get(e,!1,a.tag,n))&&o.push(i):a.all?z.each(h.all(e,a.tag,n),function(t,e){o.push(e)}):(i=h.get(e,!0,a.tag,n))&&o.push(i)}),a.all||P(i)||(o=o[0]))),o=P(o)||!a.all?o:[o],e?o:void d(t,o)},m.exec=function(e){z.each(k(e.td.func),function(t,i){z.each(m.get(e.td,!0,!e.td.hasOwnProperty("full")||e.td.full),function(t,e){i.call(f,e)})}),d(e,!0)},m.trigger=function(t){if(u(t.td))W.event.trigger(g,t.td);else{var i=[g,t.td.eventName];t.td.var_args&&z.each(t.td.var_args,function(t,e){i.push(e)}),W.event.trigger.apply(W.event,i)}o(t),a.ack()}}var j,W,i=0,F=z.isFunction,P=z.isArray,L={},m=new function(){var r=[];this.get=function(t){if(r.length){var e,i,n,o,a,s=l(t);for(e=0;e<r.length;e++){for(o=r[e],a=s.length===o.keys.length,i=0;i<s.length&&a;i++)(a=(n=s[i])in o.request)&&(a=c(t[n])&&"equals"in t[n]&&F(t[n])?t[n].equals(o.request[n]):t[n]===o.request[n]);if(a)return o.results}}},this.store=function(t,e){r.push({request:t,keys:l(t),results:e})}};z.fn.gmap3=function(){var t,i=[],n=[];for(function(){var i;W=google.maps,j||(j={verbose:!1,queryLimit:{attempt:5,delay:250,random:250},classes:(i={},z.each("Map Marker InfoWindow Circle Rectangle OverlayView StreetViewPanorama KmlLayer TrafficLayer BicyclingLayer GroundOverlay StyledMapType ImageMapType".split(" "),function(t,e){i[e]=W[e]}),i),map:{mapTypeId:W.MapTypeId.ROADMAP,center:[46.578498,2.457275],zoom:2},overlay:{pane:"floatPane",content:"",offset:{x:0,y:0}},geoloc:{getCurrentPosition:{maximumAge:6e4,timeout:5e3}}})}(),t=0;t<arguments.length;t++)arguments[t]&&i.push(arguments[t]);return i.length||i.push("map"),z.each(this,function(){var t=z(this),e=t.data("gmap3");!1,e||(e=new a(t),t.data("gmap3",e)),1!==i.length||"get"!==i[0]&&!function(t){var e,i=!1;if(c(t)&&t.hasOwnProperty("get")){for(e in t)if("get"!==e)return!1;i=!t.get.hasOwnProperty("callback")}return i}(i[0])?e._plan(i):"get"===i[0]?n.push(e.get("map",!0)):n.push(e.get(i[0].get,!0,i[0].get.full))}),n.length?1===n.length?n[0]:n:this}}(jQuery),function(t){"use strict";function e(){}function a(t,e){if(n)return e.indexOf(t);for(var i=e.length;i--;)if(e[i]===t)return i;return-1}var i=e.prototype,n=!!Array.prototype.indexOf;i._getEvents=function(){return this._events||(this._events={})},i.getListeners=function(t){var e,i,n=this._getEvents();if("object"==typeof t)for(i in e={},n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i]);else e=n[t]||(n[t]=[]);return e},i.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},i.addListener=function(t,e){var i,n=this.getListenersAsObject(t);for(i in n)n.hasOwnProperty(i)&&-1===a(e,n[i])&&n[i].push(e);return this},i.on=i.addListener,i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,e){var i,n,o=this.getListenersAsObject(t);for(n in o)o.hasOwnProperty(n)&&(-1!==(i=a(e,o[n]))&&o[n].splice(i,1));return this},i.off=i.removeListener,i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)}
8,i.manipulateListeners=function(t,e,i){var n,o,a=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)a.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?a.call(this,n,o):s.call(this,n,o));return this},i.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if("object"===i)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},i.emitEvent=function(t,e){var i,n,o=this.getListenersAsObject(t);for(n in o)if(o.hasOwnProperty(n))for(i=o[n].length;i--;)!0===(e?o[n][i].apply(null,e):o[n][i]())&&this.removeListener(t,o[n][i]);return this},i.trigger=i.emitEvent,i.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},"function"==typeof define&&define.amd?define(function(){return e}):t.EventEmitter=e}(this),function(n){"use strict";var t=document.documentElement,e=function(){};t.addEventListener?e=function(t,e,i){t.addEventListener(e,i,!1)}:t.attachEvent&&(e=function(e,t,i){e[t+i]=i.handleEvent?function(){var t=n.event;t.target=t.target||t.srcElement,i.handleEvent.call(i,t)}:function(){var t=n.event;t.target=t.target||t.srcElement,i.call(e,t)},e.attachEvent("on"+t,e[t+i])});var i=function(){};t.removeEventListener?i=function(t,e,i){t.removeEventListener(e,i,!1)}:t.detachEvent&&(i=function(e,i,n){e.detachEvent("on"+i,e[i+n]);try{delete e[i+n]}catch(t){e[i+n]=void 0}});var o={bind:e,unbind:i};"function"==typeof define&&define.amd?define(o):n.eventie=o}(this),function(t){"use strict";function s(t,e){for(var i in e)t[i]=e[i];return t}function r(t){var e,i=[];if(e=t,"[object Array]"===a.call(e))i=t;else if("number"==typeof t.length)for(var n=0,o=t.length;n<o;n++)i.push(t[n]);else i.push(t);return i}function e(t,i){function o(t,e,i){if(!(this instanceof o))return new o(t,e);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=r(t),this.options=s({},this.options),"function"==typeof e?i=e:s(this.options,e),i&&this.on("always",i),this.getImages(),l&&(this.jqDeferred=new l.Deferred);var n=this;setTimeout(function(){n.check()})}function n(t){this.img=t}(o.prototype=new t).options={},o.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;t<e;t++){var i=this.elements[t];"IMG"===i.nodeName&&this.addImage(i);for(var n=i.querySelectorAll("img"),o=0,a=n.length;o<a;o++){var s=n[o];this.addImage(s)}}},o.prototype.addImage=function(t){var e=new n(t);this.images.push(e)},o.prototype.check=function(){function t(t,e){return i.options.debug&&u&&c.log("confirm",t,e),i.progress(t),++n===o&&i.complete(),!0}var i=this,n=0,o=this.images.length;if(this.hasAnyBroken=!1,o)for(var e=0;e<o;e++){var a=this.images[e];a.on("confirm",t),a.check()}else this.complete()},o.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emit("progress",this,t),this.jqDeferred&&this.jqDeferred.notify(this,t)},o.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emit(t,this),this.emit("always",this),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l&&(l.fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(l(this))});var a={};return(n.prototype=new t).check=function(){var t=a[this.img.src];if(t)this.useCached(t);else if((a[this.img.src]=this).img.complete&&void 0!==this.img.naturalWidth)this.confirm(0!==this.img.naturalWidth,"naturalWidth");else{var e=this.proxyImage=new Image;i.bind(e,"load",this),i.bind(e,"error",this),e.src=this.img.src}},n.prototype.useCached=function(t){if(t.isConfirmed)this.confirm(t.isLoaded,"cached was confirmed");else{var e=this;t.on("confirm",function(t){return e.confirm(t.isLoaded,"cache emitted confirmed"),!0})}},n.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit("confirm",this,e)},n.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindProxyEvents()},n.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindProxyEvents()},n.prototype.unbindProxyEvents=function(){i.unbind(this.proxyImage,"load",this),i.unbind(this.proxyImage,"error",this)},o}var l=t.jQuery,c=t.console,u=void 0!==c,a=Object.prototype.toString;"function"==typeof define&&define.amd?define(["eventEmitter","eventie"],e):t.imagesLoaded=e(t.EventEmitter,t.eventie)}(window),function(t){function e(){}function i(c){if(c){var u="undefined"==typeof console?e:function(t){console.error(t)};return c.bridget=function(t,e){var r,l,i;(i=e).prototype.option||(i.prototype.option=function(t){c.isPlainObject(t)&&(this.options=c.extend(!0,this.options,t))}),r=t,l=e,c.fn[r]=function(e){if("string"==typeof e){for(var t=d.call(arguments,1
8),i=0,n=this.length;i<n;i++){var o=this[i],a=c.data(o,r);if(a)if(c.isFunction(a[e])&&"_"!==e.charAt(0)){var s=a[e].apply(a,t);if(void 0!==s)return s}else u("no such method '"+e+"' for "+r+" instance");else u("cannot call methods on "+r+" prior to initialization; attempted to call '"+e+"'")}return this}return this.each(function(){var t=c.data(this,r);t?(t.option(e),t._init()):(t=new l(this,e),c.data(this,r,t))})}},c.bridget}}var d=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i("object"==typeof exports?require("jquery"):t.jQuery)}(window),function(i){function n(t){var e=i.event;return e.target=e.target||e.srcElement||t,e}var t=document.documentElement,e=function(){};t.addEventListener?e=function(t,e,i){t.addEventListener(e,i,!1)}:t.attachEvent&&(e=function(e,t,i){e[t+i]=i.handleEvent?function(){var t=n(e);i.handleEvent.call(i,t)}:function(){var t=n(e);i.call(e,t)},e.attachEvent("on"+t,e[t+i])});var o=function(){};t.removeEventListener?o=function(t,e,i){t.removeEventListener(e,i,!1)}:t.detachEvent&&(o=function(e,i,n){e.detachEvent("on"+i,e[i+n]);try{delete e[i+n]}catch(t){e[i+n]=void 0}});var a={bind:e,unbind:o};"function"==typeof define&&define.amd?define("eventie/eventie",a):"object"==typeof exports?module.exports=a:i.eventie=a}(this),function(e){function i(t){"function"==typeof t&&(i.isReady?t():s.push(t))}function n(t){var e="readystatechange"===t.type&&"complete"!==a.readyState;i.isReady||e||o()}function o(){i.isReady=!0;for(var t=0,e=s.length;t<e;t++){(0,s[t])()}}function t(t){return"complete"===a.readyState?o():(t.bind(a,"DOMContentLoaded",n),t.bind(a,"readystatechange",n),t.bind(e,"load",n)),i}var a=e.document,s=[];i.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],t):"object"==typeof exports?module.exports=t(require("eventie")):e.docReady=t(e.eventie)}(window),function(){function t(){}function a(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function e(t){return function(){return this[t].apply(this,arguments)}}var i=t.prototype,n=this,o=n.EventEmitter;i.getListeners=function(t){var e,i,n=this._getEvents();if(t instanceof RegExp)for(i in e={},n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i]);else e=n[t]||(n[t]=[]);return e},i.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},i.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},i.addListener=function(t,e){var i,n=this.getListenersAsObject(t),o="object"==typeof e;for(i in n)n.hasOwnProperty(i)&&-1===a(n[i],e)&&n[i].push(o?e:{listener:e,once:!1});return this},i.on=e("addListener"),i.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},i.once=e("addOnceListener"),i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,e){var i,n,o=this.getListenersAsObject(t);for(n in o)o.hasOwnProperty(n)&&(-1!==(i=a(o[n],e))&&o[n].splice(i,1));return this},i.off=e("removeListener"),i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},i.manipulateListeners=function(t,e,i){var n,o,a=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)a.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?a.call(this,n,o):s.call(this,n,o));return this},i.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if(t instanceof RegExp)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},i.removeAllListeners=e("removeEvent"),i.emitEvent=function(t,e){var i,n,o,a=this.getListenersAsObject(t);for(o in a)if(a.hasOwnProperty(o))for(n=a[o].length;n--;)!0===(i=a[o][n]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},i.trigger=e("emitEvent"),i.emit=function(t){var e=Array.prototype.slice.call(arguments,1
8);return this.emitEvent(t,e)},i.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=o,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:n.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof a[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,i=0,n=o.length;i<n;i++)if(e=o[i]+t,"string"==typeof a[e])return e}}var o="Webkit Moz ms Ms O".split(" "),a=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(T,t){function I(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function e(y){function w(t,e){if(T.getComputedStyle||-1===e.indexOf("%"))return e;var i=t.style,n=i.left,o=t.runtimeStyle,a=o&&o.left;return a&&(o.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=n,a&&(o.left=a),e}var b,x,C,k=!1;return function(t){if(function(){if(!k){k=!0;var e=T.getComputedStyle;if(o=e?function(t){return e(t,null)}:function(t){return t.currentStyle},b=function(t){var e=o(t);return e||S("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e},x=y("boxSizing")){var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[x]="border-box";var i=document.body||document.documentElement;i.appendChild(t);var n=b(t);C=200===I(n.width),i.removeChild(t)}}var o}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=b(t);if("none"===e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=D.length;e<i;e++)t[D[e]]=0;return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var n=i.isBorderBox=!(!x||!e[x]||"border-box"!==e[x]),o=0,a=D.length;o<a;o++){var s=D[o],r=e[s];r=w(t,r);var l=parseFloat(r);i[s]=isNaN(l)?0:l}var c=i.paddingLeft+i.paddingRight,u=i.paddingTop+i.paddingBottom,d=i.marginLeft+i.marginRight,p=i.marginTop+i.marginBottom,h=i.borderLeftWidth+i.borderRightWidth,f=i.borderTopWidth+i.borderBottomWidth,m=n&&C,g=I(e.width);!1!==g&&(i.width=g+(m?0:c+h));var v=I(e.height);return!1!==v&&(i.height=v+(m?0:u+f)),i.innerWidth=i.width-(c+h),i.innerHeight=i.height-(u+f),i.outerWidth=i.width+d,i.outerHeight=i.height+p,i}}}var S="undefined"==typeof console?function(){}:function(t){console.error(t)},D=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property")):T.getSize=e(T.getStyleProperty)}(window),function(o){function i(t,e){return t[n](e)}function a(t){t.parentNode||document.createDocumentFragment().appendChild(t)}var t,n=function(){if(o.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],e=0,i=t.length;e<i;e++){var n=t[e]+"MatchesSelector";if(o[n])return n}}();if(n){var e=i(document.createElement("div"),"div");t=e?i:function(t,e){return a(t),i(t,e)}}else t=function(t,e){a(t);for(var i=t.parentNode.querySelectorAll(e),n=0,o=i.length;n<o;n++)if(i[n]===t)return!0;return!1};"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return t}):"object"==typeof exports?module.exports=t:window.matchesSelector=t}(Element.prototype),function(t){function e(t,e,a){function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var n=a("transition"),o=a("transform"),s=n&&o,r=!!a("perspective"),l={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[n],c=["transform","transition","transitionDuration","transitionProperty"],u=function(){for(var t={},e=0,i=c.length;e<i;e++){var n=c[e],o=a(n);o&&o!==n&&(t[n]=o)}return t}();(function(t,e){for(var i in e)t[i]=e[i]})(i.prototype,t.prototype),i.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.getSize=function(){this.size=e(this.element)},i.prototype.css=function(t){var e=this.element.style;for(var i in t){e[u[i]||i]=t[i]}},i.prototype.getPosition=function(){var t=m(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,o=parseInt(t[i?"left":"right"],10),a=parseInt(t[n?"top":"bottom"],10);o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=this.layout.size;o-=i?s.paddingLeft:s.paddingRight,a-=n?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=a},i.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};
8e.isOriginLeft?(i.left=this.position.x+t.paddingLeft+"px",i.right=""):(i.right=this.position.x+t.paddingRight+"px",i.left=""),e.isOriginTop?(i.top=this.position.y+t.paddingTop+"px",i.bottom=""):(i.bottom=this.position.y+t.paddingBottom+"px",i.top=""),this.css(i),this.emitEvent("layout",[this])};var d=r?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};i.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),a=parseInt(e,10),s=o===this.position.x&&a===this.position.y;if(this.setPosition(t,e),!s||this.isTransitioning){var r=t-i,l=e-n,c={},u=this.layout.options;r=u.isOriginLeft?r:-r,l=u.isOriginTop?l:-l,c.transform=d(r,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},i.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},i.prototype.moveTo=s?i.prototype._transitionTo:i.prototype.goTo,i.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},i.prototype._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},i.prototype._transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var p=o&&o.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})+",opacity";i.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:p,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(l,this,!1))},i.prototype.transition=i.prototype[n?"_transition":"_nonTransition"],i.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},i.prototype.onotransitionend=function(t){this.ontransitionend(t)};var h={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};i.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=h[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},i.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(l,this,!1),this.isTransitioning=!1},i.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:""};return i.prototype.removeTransitionStyles=function(){this.css(f)},i.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},i.prototype.remove=function(){if(n&&parseFloat(this.layout.options.transitionDuration)){var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()}else this.removeElem()},i.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},i.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options;this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},i.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}var i=t.getComputedStyle,m=i?function(t){return i(t,null)}:function(t){return t.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],e):"object"==typeof exports?module.exports=e(require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property")):(t.Outlayer={},t.Outlayer.Item=e(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(l){function d(t,e){for(var i in e)t[i]=e[i];return t}function u(t){var e,i=[];if(e=t,"[object Array]"===a.call(e))i=t;else if(t&&"number"==typeof t.length)for(var n=0,o=t.length;n<o;n++)i.push(t[n]);else i.push(t);return i}function p(t,e){var i=n(e,t);-1!==i&&e.splice(i,1)}function t(t,e,i,o,c,n){function a(t,e){if("string"==typeof t&&(t=h.querySelector(t)),t&&v(t)){this.element=t,this.options=d({},this.constructor.defaults),this.option(e);var i=++s;this.element.outlayerGUID=i,(r[i]=this)._create(),this.options.isInitLayout&&this.layout()}else f&&f.error("Bad "+this.constructor.namespace+" element: "+t)}var s=0,r={};return a.namespace="outlayer",a.Item=n,a.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},d(a.prototype,i.prototype),a.prototype.option=function(t){d(this.options,t)},a.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),d(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},a.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},a.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0,a=e.length;o<a;o++){var s=new i(e[o],this);n.push(s)}return n},a.prototype._filterFindItemElements=function(t){t=u(t);for(var e=this.options.itemSelector,i=[],n=0,o=t.length;n<o;n++){var a=t[n];if(v(a))if(e){c(a,e)&&i.push(a);for(var s=a.querySelectorAll(e),r=0,l=s.length;r<l;r++)i.push(s[r])}else i.push(a)}return i},a.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;e<i;e++)t.push(this.items[e].element);return t},a.prototype._init=a.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0}
8,a.prototype._resetLayout=function(){this.getSize()},a.prototype.getSize=function(){this.size=o(this.element)},a.prototype._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):v(n)&&(i=n),this[t]=i?o(i)[e]:n):this[t]=0},a.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},a.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var o=t[i];o.isIgnored||e.push(o)}return e},a.prototype._layoutItems=function(t,e){function i(){n.emitEvent("layoutComplete",[n,t])}var n=this;if(t&&t.length){this._itemsOn(t,"layout",i);for(var o=[],a=0,s=t.length;a<s;a++){var r=t[a],l=this._getItemLayoutPosition(r);l.item=r,l.isInstant=e||r.isLayoutInstant,o.push(l)}this._processLayoutQueue(o)}else i()},a.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},a.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},a.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},a.prototype._postLayout=function(){this.resizeContainer()},a.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},a.prototype._getContainerSize=g,a.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},a.prototype._itemsOn=function(t,e,i){function n(){return++o===a&&i.call(s),!0}for(var o=0,a=t.length,s=this,r=0,l=t.length;r<l;r++){t[r].on(e,n)}},a.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},a.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},a.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];this.ignore(n)}}},a.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;e<i;e++){var n=t[e];p(n,this.stamps),this.unignore(n)}},a.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=u(t)):void 0},a.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;t<e;t++){var i=this.stamps[t];this._manageStamp(i)}}},a.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},a.prototype._manageStamp=g,a.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,n=o(t);return{left:e.left-i.left-n.marginLeft,top:e.top-i.top-n.marginTop,right:i.right-e.right-n.marginRight,bottom:i.bottom-e.bottom-n.marginBottom}},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.bindResize=function(){this.isResizeBound||(t.bind(l,"resize",this),this.isResizeBound=!0)},a.prototype.unbindResize=function(){this.isResizeBound&&t.unbind(l,"resize",this),this.isResizeBound=!1},a.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},a.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},a.prototype.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},a.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},a.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},a.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},a.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;i<e;i++){t[i].reveal()}},a.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;i<e;i++){t[i].hide()}},a.prototype.getItem=function(t){for(var e=0,i=this.items.length;e<i;e++){var n=this.items[e];if(n.element===t)return n}},a.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,n=t.length;i<n;i++){var o=t[i],a=this.getItem(o);a&&e.push(a)}return e}},a.prototype.remove=function(t){t=u(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var i=0,n=e.length;i<n;i++){var o=e[i];o.remove(),p(o,this.items)}}},a.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;e<i;e++){this.items[e].destroy()}this.unbindResize();var n=this.element.outlayerGUID;delete r[n],delete this.element.outlayerGUID,m&&m.removeData(this.element,this.constructor.namespace)},a.data=function(t){var e=t&&t.outlayerGUID;return e&&r[e]},a.create=function(c,t){function u(){a.apply(this,arguments)}return Object.create?u.prototype=Object.create(a.prototype):d(u.prototype,a.prototype),d((u.prototype.constructor=u).defaults=d({},a.defaults),t),u.prototype.settings={},u.namespace=c,u.data=a.data,(u.Item=function(){n.apply(this,arguments)}).prototype=new n,e(function(){for(var t=c.replace(/(.)([A-Z])/g,function(t,e,
8i){return e+"-"+i}).toLowerCase(),e=h.querySelectorAll(".js-"+t),i="data-"+t+"-options",n=0,o=e.length;n<o;n++){var a,s=e[n],r=s.getAttribute(i);try{a=r&&JSON.parse(r)}catch(t){f&&f.error("Error parsing "+i+" on "+s.nodeName.toLowerCase()+(s.id?"#"+s.id:"")+": "+t);continue}var l=new u(s,a);m&&m.data(s,c,l)}}),m&&m.bridget&&m.bridget(c,u),u},a.Item=n,a}var h=l.document,f=l.console,m=l.jQuery,g=function(){},a=Object.prototype.toString,v="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},n=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],t):"object"==typeof exports?module.exports=t(require("eventie"),require("doc-ready"),require("wolfy87-eventemitter"),require("get-size"),require("desandro-matches-selector"),require("./item")):l.Outlayer=t(l.eventie,l.docReady,l.EventEmitter,l.getSize,l.matchesSelector,l.Outlayer.Item)}(window),function(t){function e(t){function e(){t.Item.apply(this,arguments)}(e.prototype=new t.Item)._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},e.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var i=e.prototype.destroy;return e.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},e}"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window),function(t){function e(e,a){function s(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}return function(){function t(t){return function(){return a.prototype[t].apply(this.isotope,arguments)}}for(var e=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],i=0,n=e.length;i<n;i++){var o=e[i];s.prototype[o]=t(o)}}(),s.prototype.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!==this.isotope.size.innerHeight},s.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},s.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},s.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},s.prototype.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var o=this.getFirstItemSize();this[i]=o&&o[n]||this.isotope.size["inner"+e]}},s.prototype.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},s.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},s.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},s.modes={},s.create=function(t,e){function i(){s.apply(this,arguments)}return i.prototype=new s,e&&(i.options=e),s.modes[i.prototype.namespace=t]=i},s}"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window),function(t){function e(t,c){var e=t.create("masonry");return e.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},e.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&c(e).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},e.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,e=c(t);this.containerWidth=e&&e.innerWidth},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var n=this._getColGroup(i),o=Math.min.apply(Math,n),a=u(n,o),s={x:this.columnWidth*a,y:o},r=o+t.size.outerHeight,l=this.cols+1-n.length,c=0;c<l;c++)this.colYs[a+c]=r;return s},e.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},e.prototype._manageStamp=function(t){var e=c(t),i=this._getElementOffset(t),n=this.options.isOriginLeft?i.left:i.right,o=n+e.outerWidth,a=Math.floor(n/this.columnWidth);a=Math.max(0,a);var s=Math.floor(o/this.columnWidth);s-=o%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var r=(this.options.isOriginTop?i.top:i.bottom)+e.outerHeight,l=a;l<=s;l++)this.colYs[l]=Math.max(r,this.colYs[l])},e.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},e.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},e.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},e}var u=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++){if(t[i]===e)return i}return-1};"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window),function(t){function e(t,e){var i=t.create("masonry"),n=i.prototype._getElementOffset,o=i.prototype.layout,a=i.prototype._getMeasurement;(function(t,e){for(var i in e)t[i]=e[i]})(i.prototype,e.prototype),i.prototype._getElementOffset=n,i.prototype.layout=o,i.prototype._getMeasurement=a;var s=i.prototype.measureColumns;i.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)};var r=i.prototype._manageStamp;return i.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,r.apply(this,arguments)},i}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window),function(t){function e(t){var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window),function(t){function e(t){var e=t.create("vertical",{horizontalAlignment:0});return e.prototype._resetLayout=function(){this.y=0},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},e.prototype._getContainerSize=function(){return{height:this.y}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window),function(t){function u(t){var e,i=[];if(e=t,"[object Array]"===a.call(e))i=t;else if(t&&"number"==typeof t.length)for(var n=0,o=t.length;n<o;n++)i.push(t[n]);else i.push(t);return i}function e(n,t,i,e,o){var c=n.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=e,c.LayoutMode=o,c.prototype._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),n.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],o.modes)this._initLayoutMode(t)},c.prototype.reloadItems=function(){this.itemGUID=0,n.prototype.reloadItems.call(this)},c.prototype._itemize=function(){for(var t=n.prototype._itemize.apply(this,arguments),e=0,i=t.length;e<i;e++){t[e].id=this.itemGUID++}return this._updateItemsSortData(t),t},c.prototype._initLayoutMode=function(t){var e=o.modes[t],i=this.options[t]||{};this.options[t]=e.options?function(t,e){for(var i in e)t[i]=e[i];return t}(e.options,i):i,this.modes[t]=new e(this)},c.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?void this.arrange():void this._layout()},c.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},c.prototype.arrange=function(t){this.option(t),this._getIsInstant(),this.filteredItems=this._filter(this.items),this._sort(),this._layout()},c.prototype._init=c.prototype.arrange,c.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t},c.prototype._filter=function(t){function e(){d.reveal(o),d.hide(a)}var i=this.options.filter;i=i||"*";for(var n=[],o=[],a=[],s=this._getFilterTest(i),r=0,l=t.length;r<l;r++){var c=t[r];if(!c.isIgnored){var u=s(c);u&&n.push(c),u&&c.isHidden?o.push(c):u||c.isHidden||a.push(c)}}var d=this;return this._isInstant?this._noTransition(e):e(),n},c.prototype._getFilterTest=function(e){return s&&this.options.isJQueryFiltering?function(t){return s(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return i(t.element,e)}},c.prototype.updateSortData=function(t){var e;t?(t=u(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},c.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=a(i)}},c.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var a=function(t){if("string"!=typeof t)return t;var e,i,n=d(t).split(" "),o=n[0],a=o.match(/^\[(.+)\]$/),s=a&&a[1],r=(i=o,(e=s)?function(t){return t.getAttribute(e)}:function(t){var e=t.querySelector(i);return e&&p(e)}),l=c.sortDataParsers[n[1]];return l?function(t){return t&&l(r(t))}:function(t){return t&&r(t)}};c.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},c.prototype._sort=function(){var r,l,t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=(r=e,l=this.options.sortAscending,function(t,e){for(var i=0,n=r.length;i<n;i++){var o=r[i],a=t.sortData[o],s=e.sortData[o];if(s<a||a<s)return(s<a?1:-1)*((void 0!==l[o]?l[o]:l)?1:-1)}return 0});this.filteredItems.sort(i),t!==this.sortHistory[0]&&this.sortHistory.unshift(t)}},c.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},c.prototype._resetLayout=function(){n.prototype._resetLayout.call(this),this._mode()._resetLayout()},c.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},c.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},c.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},c.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},c.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},c.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps();var n=this._filterRevealAdded(e);this.layoutItems(i),this.filteredItems=n.concat(this.filteredItems)}},c.prototype._filterRevealAdded=function(t){var e=this._noTransition(function(){return this._filter(t)});return this.layoutItems(e,!0),this.reveal(e),t},c.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;i<o;i++)n=e[i],this.element.appendChild(n.element);var a=this._filter(e);for(this._noTransition(function(){this.hide(a)}),i=0;i<o;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<o;i++)delete e[i].isLayoutInstant;this.reveal(a)}};var l=c.prototype.remove;return c.prototype.remove=function(t){t=u(t);var e,i,n,o=this.getItems(t);if(l.call(this,t),o&&o.length)for(var a=0,s=o.length;a<s;a++){var r=o[a];e=r,i=this.filteredItems,void 0,-1!==(n=h(i,e))&&i.splice(n,1)}},c.prototype.shuffle=function(){for(var t=0,e=this.items.length;t<e;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},c.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},c.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;e<i;e++)t.push(this.filteredItems[e].element);return t},c}var s=t.jQuery,d=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},p=document.documentElement.textContent?function(t){return t.textContent}:function(t){return t.innerText},a=Object.prototype.toString,h=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):t.Isotope=e(t.Outlayer,t.getSize,t.matchesSelector,t.Isotope.Item,t.Isotope.LayoutMode)}(window),function(t){function i(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function e(t,e){(n(t,e)?a:o)(t,e)}var n,o,a;"classList"in document.documentElement?(n=function(t,e){return t.classList.contains(e)},o=function(t,e){t.classList.add(e)},a=function(t,e){t.classList.remove(e)}):(n=function(t,e){return i(e).test(t.className)},o=function(t,e){n(t,e)||(t.className=t.className+" "+e)},a=function(t,e){t.className=t.className.replace(i(e)," ")});var s={hasClass:n,addClass:o,removeClass:a,toggleClass:e,has:n,add:o,remove:a,toggle:e};"function"==typeof define&&define.amd?define("classie/classie",s
8):"object"==typeof exports?module.exports=s:t.classie=s}(window),function(t){function e(){function r(t){for(var e in r.defaults)this[e]=r.defaults[e];for(e in t)this[e]=t[e]}return(i.Rect=r).defaults={x:0,y:0,width:0,height:0},r.prototype.contains=function(t){var e=t.width||0,i=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+i},r.prototype.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.x<n&&e>t.x&&this.y<o&&i>t.y},r.prototype.getMaximalFreeRects=function(t){if(!this.overlaps(t))return!1;var e,i=[],n=this.x+this.width,o=this.y+this.height,a=t.x+t.width,s=t.y+t.height;return this.y<t.y&&(e=new r({x:this.x,y:this.y,width:this.width,height:t.y-this.y}),i.push(e)),a<n&&(e=new r({x:a,y:this.y,width:n-a,height:this.height}),i.push(e)),s<o&&(e=new r({x:this.x,y:s,width:this.width,height:o-s}),i.push(e)),this.x<t.x&&(e=new r({x:this.x,y:this.y,width:t.x-this.x,height:this.height}),i.push(e)),i},r.prototype.canFit=function(t){return this.width>=t.width&&this.height>=t.height},r}var i=t.Packery=function(){};"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window),function(t){function e(e){function t(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}t.prototype.reset=function(){this.spaces=[],this.newSpaces=[];var t=new e({x:0,y:0,width:this.width,height:this.height});this.spaces.push(t),this.sorter=i[this.sortDirection]||i.downwardLeftToRight},t.prototype.pack=function(t){for(var e=0,i=this.spaces.length;e<i;e++){var n=this.spaces[e];if(n.canFit(t)){this.placeInSpace(t,n);break}}},t.prototype.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},t.prototype.placed=function(t){for(var e=[],i=0,n=this.spaces.length;i<n;i++){var o=this.spaces[i],a=o.getMaximalFreeRects(t);a?e.push.apply(e,a):e.push(o)}this.spaces=e,this.mergeSortSpaces()},t.prototype.mergeSortSpaces=function(){t.mergeRects(this.spaces),this.spaces.sort(this.sorter)},t.prototype.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},t.mergeRects=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e];if(n){var o=t.slice(0);o.splice(e,1);for(var a=0,s=0,r=o.length;s<r;s++){var l=o[s],c=s<e?0:1;n.contains(l)&&(t.splice(s+c-a,1),a++)}}}return t};var i={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return t}if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window),function(t){function e(t,e,i){var n=t("transform"),o=function(){e.Item.apply(this,arguments)},a=(o.prototype=new e.Item)._create;return o.prototype._create=function(){a.call(this),this.rect=new i,this.placeRect=new i},o.prototype.dragStart=function(){this.getPosition(),this.removeTransitionStyles(),this.isTransitioning&&n&&(this.element.style[n]="none"),this.getSize(),this.isPlacing=!0,this.needsPositioning=!1,this.positionPlaceRect(this.position.x,this.position.y),this.isTransitioning=!1,this.didDrag=!1},o.prototype.dragMove=function(t,e){this.didDrag=!0;var i=this.layout.size;t-=i.paddingLeft,e-=i.paddingTop,this.positionPlaceRect(t,e)},o.prototype.dragStop=function(){this.getPosition();var t=this.position.x!==this.placeRect.x,e=this.position.y!==this.placeRect.y;this.needsPositioning=t||e,this.didDrag=!1},o.prototype.positionPlaceRect=function(t,e,i){this.placeRect.x=this.getPlaceRectCoord(t,!0),this.placeRect.y=this.getPlaceRectCoord(e,!1,i)},o.prototype.getPlaceRectCoord=function(t,e,i){var n,o=e?"Width":"Height",a=this.size["outer"+o],s=this.layout[e?"columnWidth":"rowHeight"],r=this.layout.size["inner"+o];if(e||(r=Math.max(r,this.layout.maxY),this.layout.rowHeight||(r-=this.layout.gutter)),s){var l;s+=this.layout.gutter,r+=e?this.layout.gutter:0,t=Math.round(t/s),l=this.layout.options.isHorizontal?e?"ceil":"floor":e?"floor":"ceil";var c=Math[l](r/s);n=c-=Math.ceil(a/s)}else n=r-a;return t=i?t:Math.min(t,n),t*=s||1,Math.max(0,t)},o.prototype.copyPlaceRectPosition=function(){this.rect.x=this.placeRect.x,this.rect.y=this.placeRect.y},o.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o}"function"==typeof define&&define.amd?define("packery/js/item",["get-style-property/get-style-property","outlayer/outlayer","./rect"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property"),require("outlayer"),require("./rect")):t.Packery.Item=e(t.getStyleProperty,t.Outlayer,t.Packery.Rect)}(window),function(t){function e(s,a,t,o,e,i){function n(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function r(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}o.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var l=t.create("packery");return l.Item=i,l.prototype._create=function(){t.prototype._create.call(this),this.packer=new e,this.stamp(this.options.stamped);var i=this;this.handleDraggabilly={dragStart:function(t){i.itemDragStart(t.element)},dragMove:function(t){i.itemDragMove(t.element,t.position.x,t.position.y)},dragEnd:function(t){i.itemDragEnd(t.element)}},this.handleUIDraggable={start:function(t){i.itemDragStart(t.currentTarget)},drag:function(t,e){i.itemDragMove(t.currentTarget,e.position.left,e.position.top)},stop:function(t){i.itemDragEnd(t.currentTarget)}}}
8,l.prototype._resetLayout=function(){this.getSize(),this._getMeasurements();var t=this.packer;this.options.isHorizontal?(t.width=Number.POSITIVE_INFINITY,t.height=this.size.innerHeight+this.gutter,t.sortDirection="rightwardTopToBottom"):(t.width=this.size.innerWidth+this.gutter,t.height=Number.POSITIVE_INFINITY,t.sortDirection="downwardLeftToRight"),t.reset(),this.maxY=0,this.maxX=0},l.prototype._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},l.prototype._getItemLayoutPosition=function(t){return this._packItem(t),t.rect},l.prototype._packItem=function(t){this._setRectSize(t.element,t.rect),this.packer.pack(t.rect),this._setMaxXY(t.rect)},l.prototype._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},l.prototype._setRectSize=function(t,e){var i=a(t),n=i.outerWidth,o=i.outerHeight;(n||o)&&(n=this._applyGridGutter(n,this.columnWidth),o=this._applyGridGutter(o,this.rowHeight)),e.width=Math.min(n,this.packer.width),e.height=Math.min(o,this.packer.height)},l.prototype._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&i<1?"round":"ceil"](t/e)*e},l.prototype._getContainerSize=function(){return this.options.isHorizontal?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},l.prototype._manageStamp=function(t){var e,i=this.getItem(t);if(i&&i.isPlacing)e=i.placeRect;else{var n=this._getElementOffset(t);e=new o({x:this.options.isOriginLeft?n.left:n.right,y:this.options.isOriginTop?n.top:n.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},l.prototype.sortItemsByPosition=function(){var t=this.options.isHorizontal?r:n;this.items.sort(t)},l.prototype.fit=function(t,e,i){var n=this.getItem(t);n&&(this._getMeasurements(),this.stamp(n.element),n.getSize(),n.isPlacing=!0,e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,n.positionPlaceRect(e,i,!0),this._bindFitEvents(n),n.moveTo(n.placeRect.x,n.placeRect.y),this.layout(),this.unstamp(n.element),this.sortItemsByPosition(),n.isPlacing=!1,n.copyPlaceRectPosition())},l.prototype._bindFitEvents=function(t){function e(){2===++n&&i.emitEvent("fitComplete",[i,t])}var i=this,n=0;t.on("layout",function(){return e(),!0}),this.on("layoutComplete",function(){return e(),!0})},l.prototype.resize=function(){var t=a(this.element),e=this.size&&t,i=this.options.isHorizontal?"innerHeight":"innerWidth";e&&t[i]===this.size[i]||this.layout()},l.prototype.itemDragStart=function(t){this.stamp(t);var e=this.getItem(t);e&&e.dragStart()},l.prototype.itemDragMove=function(t,e,i){var n=this.getItem(t);n&&n.dragMove(e,i);var o=this;this.clearDragTimeout(),this.dragTimeout=setTimeout(function(){o.layout(),delete o.dragTimeout},40)},l.prototype.clearDragTimeout=function(){this.dragTimeout&&clearTimeout(this.dragTimeout)},l.prototype.itemDragEnd=function(t){var e,i=this.getItem(t);if(i&&(e=i.didDrag,i.dragStop()),i&&(e||i.needsPositioning)){s.add(i.element,"is-positioning-post-drag");var n=this._getDragEndLayoutComplete(t,i);i.needsPositioning?(i.on("layout",n),i.moveTo(i.placeRect.x,i.placeRect.y)):i&&i.copyPlaceRectPosition(),this.clearDragTimeout(),this.on("layoutComplete",n),this.layout()}else this.unstamp(t)},l.prototype._getDragEndLayoutComplete=function(t,e){var i=e&&e.needsPositioning,n=0,o=i?2:1,a=this;return function(){return++n!==o||(e&&(s.remove(e.element,"is-positioning-post-drag"),e.isPlacing=!1,e.copyPlaceRectPosition()),a.unstamp(t),a.sortItemsByPosition(),i&&a.emitEvent("dragItemPositioned",[a,e])),!0}},l.prototype.bindDraggabillyEvents=function(t){t.on("dragStart",this.handleDraggabilly.dragStart),t.on("dragMove",this.handleDraggabilly.dragMove),t.on("dragEnd",this.handleDraggabilly.dragEnd)},l.prototype.bindUIDraggableEvents=function(t){t.on("dragstart",this.handleUIDraggable.start).on("drag",this.handleUIDraggable.drag).on("dragstop",this.handleUIDraggable.stop)},l.Rect=o,l.Packer=e,l}"function"==typeof define&&define.amd?define("packery/js/packery",["classie/classie","get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof exports?module.exports=e(require("desandro-classie"),require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.classie,t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window),function(t){function e(t,e,n){var i=t.create("packery"),o=i.prototype._getElementOffset,a=i.prototype._getMeasurement;(function(t,e){for(var i in e)t[i]=e[i]})(i.prototype,e.prototype),i.prototype._getElementOffset=o,i.prototype._getMeasurement=a;var s=i.prototype._resetLayout;i.prototype._resetLayout=function(){this.packer=this.packer||new e.Packer,s.apply(this,arguments)};var r=i.prototype._getItemLayoutPosition;i.prototype._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,r.call(this,t)};var l=i.prototype._manageStamp;return i.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,l.apply(this,arguments)},i.prototype.needsResizeLayout=function(){var t=n(this.element),e=this.size&&t,i=this.options.isHorizontal?"innerHe
8ight":"innerWidth";return e&&t[i]!==this.size[i]},i}"function"==typeof define&&define.amd?define(["isotope/js/layout-mode","packery/js/packery","get-size/get-size"],e):"object"==typeof exports?module.exports=e(require("isotope-layout/js/layout-mode"),require("packery"),require("get-size")):e(t.Isotope.LayoutMode,t.Packery,t.getSize)}(window),function(p){var h=[],i={options:{prependExistingHelpBlock:!1,sniffHtml:!0,preventSubmit:!0,submitError:!1,submitSuccess:!1,semanticallyStrict:!1,autoAdd:{helpBlocks:!0},filter:function(){return!0}},methods:{init:function(t){var d=p.extend(!0,{},i);d.options=p.extend(!0,d.options,t);var e=p.unique(this.map(function(){return p(this).parents("form")[0]}).toArray());return p(e).bind("submit",function(t){var e=p(this),n=0,i=e.find("input,textarea,select").not("[type=submit],[type=image]").filter(d.options.filter);i.trigger("submit.validation").trigger("validationLostFocus.validation"),i.each(function(t,e){var i=p(e).parents(".form-group").first();i.hasClass("warning")&&(i.removeClass("warning").addClass("error"),n++)}),i.trigger("validationLostFocus.validation"),n?(d.options.preventSubmit&&t.preventDefault(),e.addClass("error"),p.isFunction(d.options.submitError)&&d.options.submitError(e,t,i.jqBootstrapValidation("collectErrors",!0))):(e.removeClass("error"),p.isFunction(d.options.submitSuccess)&&d.options.submitSuccess(e,t))}),this.each(function(){var r=p(this),i=r.parents(".form-group").first(),n=i.find(".help-block").first(),s=r.parents("form").first(),o=[];if(!n.length&&d.options.autoAdd&&d.options.autoAdd.helpBlocks&&(n=p('<div class="help-block" />'),i.find(".controls").append(n),h.push(n[0])),d.options.sniffHtml){var t="";if(void 0!==r.attr("pattern")&&(t="Not in the expected format\x3c!-- data-validation-pattern-message to override --\x3e",r.data("validationPatternMessage")&&(t=r.data("validationPatternMessage")),r.data("validationPatternMessage",t),r.data("validationPatternRegex",r.attr("pattern"))),void 0!==r.attr("max")||void 0!==r.attr("aria-valuemax")){var e=void 0!==r.attr("max")?r.attr("max"):r.attr("aria-valuemax");t="Too high: Maximum of '"+e+"'\x3c!-- data-validation-max-message to override --\x3e",r.data("validationMaxMessage")&&(t=r.data("validationMaxMessage")),r.data("validationMaxMessage",t),r.data("validationMaxMax",e)}if(void 0!==r.attr("min")||void 0!==r.attr("aria-valuemin")){var a=void 0!==r.attr("min")?r.attr("min"):r.attr("aria-valuemin");t="Too low: Minimum of '"+a+"'\x3c!-- data-validation-min-message to override --\x3e",r.data("validationMinMessage")&&(t=r.data("validationMinMessage")),r.data("validationMinMessage",t),r.data("validationMinMin",a)}void 0!==r.attr("maxlength")&&(t="Too long: Maximum of '"+r.attr("maxlength")+"' characters\x3c!-- data-validation-maxlength-message to override --\x3e",r.data("validationMaxlengthMessage")&&(t=r.data("validationMaxlengthMessage")),r.data("validationMaxlengthMessage",t),r.data("validationMaxlengthMaxlength",r.attr("maxlength"))),void 0!==r.attr("minlength")&&(t="Too short: Minimum of '"+r.attr("minlength")+"' characters\x3c!-- data-validation-minlength-message to override --\x3e",r.data("validationMinlengthMessage")&&(t=r.data("validationMinlengthMessage")),r.data("validationMinlengthMessage",t),r.data("validationMinlengthMinlength",r.attr("minlength"))),void 0===r.attr("required")&&void 0===r.attr("aria-required")||(t=d.builtInValidators.required.message,r.data("validationRequiredMessage")&&(t=r.data("validationRequiredMessage")),r.data("validationRequiredMessage",t)),void 0!==r.attr("type")&&"number"===r.attr("type").toLowerCase()&&(t=d.builtInValidators.number.message,r.data("validationNumberMessage")&&(t=r.data("validationNumberMessage")),r.data("validationNumberMessage",t)),void 0!==r.attr("type")&&"email"===r.attr("type").toLowerCase()&&(t="Not a valid email address\x3c!-- data-validator-validemail-message to override --\x3e",r.data("validationValidemailMessage")?t=r.data("validationValidemailMessage"):r.data("validationEmailMessage")&&(t=r.data("validationEmailMessage")),r.data("validationValidemailMessage",t)),void 0!==r.attr("minchecked")&&(t="Not enough options checked; Minimum of '"+r.attr("minchecked")+"' required\x3c!-- data-validation-minchecked-message to override --\x3e",r.data("validationMincheckedMessage")&&(t=r.data("validationMincheckedMessage")),r.data("validationMincheckedMessage",t),r.data("validationMincheckedMinchecked",r.attr("minchecked"))),void 0!==r.attr("maxchecked")&&(t="Too many options checked; Maximum of '"+r.attr("maxchecked")+"' required\x3c!-- data-validation-maxchecked-message to override --\x3e",r.data("validationMaxc
8heckedMessage")&&(t=r.data("validationMaxcheckedMessage")),r.data("validationMaxcheckedMessage",t),r.data("validationMaxcheckedMaxchecked",r.attr("maxchecked")))}void 0!==r.data("validation")&&(o=r.data("validation").split(",")),p.each(r.data(),function(t,e){var i=t.replace(/([A-Z])/g,",$1").split(",");"validation"===i[0]&&i[1]&&o.push(i[1])});for(var l=o,c=[];p.each(o,function(t,e){o[t]=f(e)}),o=p.unique(o),c=[],p.each(l,function(t,e){if(void 0!==r.data("validation"+e+"Shortcut"))p.each(r.data("validation"+e+"Shortcut").split(","),function(t,e){c.push(e)});else if(d.builtInValidators[e.toLowerCase()]){var i=d.builtInValidators[e.toLowerCase()];"shortcut"===i.type.toLowerCase()&&p.each(i.shortcut.split(","),function(t,e){e=f(e),c.push(e),o.push(e)})}}),0<(l=c).length;);var u={};p.each(o,function(t,i){var n=r.data("validation"+i+"Message"),e=void 0!==n,o=!1;if(n=n||"'"+i+"' validation failed \x3c!-- Add attribute 'data-validation-"+i.toLowerCase()+"-message' to input to change this message --\x3e",p.each(d.validatorTypes,function(t,e){void 0===u[t]&&(u[t]=[]),o||void 0===r.data("validation"+i+f(e.name))||(u[t].push(p.extend(!0,{name:f(e.name),message:n},e.init(r,i))),o=!0)}),!o&&d.builtInValidators[i.toLowerCase()]){var a=p.extend(!0,{},d.builtInValidators[i.toLowerCase()]);e&&(a.message=n);var s=a.type.toLowerCase();"shortcut"===s?o=!0:p.each(d.validatorTypes,function(t,e){void 0===u[t]&&(u[t]=[]),o||s!==t.toLowerCase()||(r.data("validation"+i+f(e.name),a[e.name.toLowerCase()]),u[s].push(p.extend(a,e.init(r,i))),o=!0)})}o||p.error("Cannot find validation info for '"+i+"'")}),n.data("original-contents",n.data("original-contents")?n.data("original-contents"):n.html()),n.data("original-role",n.data("original-role")?n.data("original-role"):n.attr("role")),i.data("original-classes",i.data("original-clases")?i.data("original-classes"):i.attr("class")),r.data("original-aria-invalid",r.data("original-aria-invalid")?r.data("original-aria-invalid"):r.attr("aria-invalid")),r.bind("validation.validation",function(t,e){var n=m(r),o=[];return p.each(u,function(i,t){(n||n.length||e&&e.includeEmpty||d.validatorTypes[i].blockSubmit&&e&&e.submitting)&&p.each(t,function(t,e){d.validatorTypes[i].validate(r,n,e)&&o.push(e.message)})}),o}),r.bind("getValidators.validation",function(){return u}),r.bind("submit.validation",function(){return r.triggerHandler("change.validation",{submitting:!0})}),r.bind(["keyup","focus","blur","click","keydown","keypress","change"].join(".validation ")+".validation",function(t,o){var e=m(r),a=[];i.find("input,textarea,select").each(function(t,e){var i=a.length;if(p.each(p(e).triggerHandler("validation.validation",o),function(t,e){a.push(e)}),a.length>i)p(e).attr("aria-invalid","true");else{var n=r.data("original-aria-invalid");p(e).attr("aria-invalid",void 0!==n&&n)}}),s.find("input,select,textarea").not(r).not('[name="'+r.attr("name")+'"]').trigger("validationLostFocus.validation"),(a=p.unique(a.sort())).length?(i.removeClass("success error").addClass("warning"),d.options.semanticallyStrict&&1===a.length?n.html(a[0]+(d.options.prependExistingHelpBlock?n.data("original-contents"):"")):n.html('<ul role="alert"><li>'+a.join("</li><li>")+"</li></ul>"+(d.options.prependExistingHelpBlock?n.data("original-contents"):""))):(i.removeClass("warning error success"),0<e.length&&i.addClass("success"),n.html(n.data("original-contents"))),"blur"===t.type&&i.removeClass("success")}),r.bind("validationLostFocus.validation",function(){i.removeClass("success")})})},destroy:function(){return this.each(function(){var t=p(this),e=t.parents(".form-group").first(),i=e.find(".help-block").first();t.unbind(".validation"),i.html(i.data("original-contents")),e.attr("class",e.data("original-classes")),t.attr("aria-invalid",t.data("original-aria-invalid")),i.attr("role",t.data("original-role")),-1<h.indexOf(i[0])&&i.remove()})},collectErrors:function(t){var a={};return this.each(function(t,e){var i=p(e),n=i.attr("name"),o=i.triggerHandler("validation.validation",{includeEmpty:!0});a[n]=p.extend(!0,o,a[n])}),p.each(a,function(t,e){0===e.length&&delete a[t]}),a},hasErrors:function(){var i=[];return this.each(function(t,e){i=i.concat(p(e).triggerHandler("getValidators.validation")?p(e).triggerHandler("validation.validation",{submitting:!0}):[])}),0<i.length},override:function(t){i=p.extend(!0,i,t)}},validatorTypes:{callback:{name:"callback",init:function(t,e){return{validatorName:e,callback:t.data("validation"+e+"Callback"),lastValue:t.val(),lastValid:!0,lastFinished:!0}}
8,validate:function(t,e,i){if(i.lastValue===e&&i.lastFinished)return!i.lastValid;if(!0===i.lastFinished){i.lastValue=e,i.lastValid=!0,i.lastFinished=!1;var n=i,o=t;!function(t,e){for(var i=Array.prototype.slice.call(arguments).splice(2),n=t.split("."),o=n.pop(),a=0;a<n.length;a++)e=e[n[a]];e[o].apply(this,i)}(i.callback,window,t,e,function(t){n.lastValue===t.value&&(n.lastValid=t.valid,t.message&&(n.message=t.message),n.lastFinished=!0,o.data("validation"+n.validatorName+"Message",n.message),setTimeout(function(){o.trigger("change.validation")},1))})}return!1}},ajax:{name:"ajax",init:function(t,e){return{validatorName:e,url:t.data("validation"+e+"Ajax"),lastValue:t.val(),lastValid:!0,lastFinished:!0}},validate:function(e,t,i){return""+i.lastValue==""+t&&!0===i.lastFinished?!1===i.lastValid:(!0===i.lastFinished&&(i.lastValue=t,i.lastValid=!0,i.lastFinished=!1,p.ajax({url:i.url,data:"value="+t+"&field="+e.attr("name"),dataType:"json",success:function(t){""+i.lastValue==""+t.value&&(i.lastValid=!!t.valid,t.message&&(i.message=t.message),i.lastFinished=!0,e.data("validation"+i.validatorName+"Message",i.message),setTimeout(function(){e.trigger("change.validation")},1))},failure:function(){i.lastValid=!0,i.message="ajax call failed",i.lastFinished=!0,e.data("validation"+i.validatorName+"Message",i.message),setTimeout(function(){e.trigger("change.validation")},1)}})),!1)}},regex:{name:"regex",init:function(t,e){return{regex:(i=t.data("validation"+e+"Regex"),new RegExp("^"+i+"$"))};var i},validate:function(t,e,i){return!i.regex.test(e)&&!i.negative||i.regex.test(e)&&i.negative}},required:{name:"required",init:function(t,e){return{}},validate:function(t,e,i){return!(0!==e.length||i.negative)||!!(0<e.length&&i.negative)},blockSubmit:!0},match:{name:"match",init:function(t,e){var i=t.parents("form").first().find('[name="'+t.data("validation"+e+"Match")+'"]').first();return i.bind("validation.validation",function(){t.trigger("change.validation",{submitting:!0})}),{element:i}},validate:function(t,e,i){return e!==i.element.val()&&!i.negative||e===i.element.val()&&i.negative},blockSubmit:!0},max:{name:"max",init:function(t,e){return{max:t.data("validation"+e+"Max")}},validate:function(t,e,i){return parseFloat(e,10)>parseFloat(i.max,10)&&!i.negative||parseFloat(e,10)<=parseFloat(i.max,10)&&i.negative}},min:{name:"min",init:function(t,e){return{min:t.data("validation"+e+"Min")}},validate:function(t,e,i){return parseFloat(e)<parseFloat(i.min)&&!i.negative||parseFloat(e)>=parseFloat(i.min)&&i.negative}},maxlength:{name:"maxlength",init:function(t,e){return{maxlength:t.data("validation"+e+"Maxlength")}},validate:function(t,e,i){return e.length>i.maxlength&&!i.negative||e.length<=i.maxlength&&i.negative}},minlength:{name:"minlength",init:function(t,e){return{minlength:t.data("validation"+e+"Minlength")}},validate:function(t,e,i){return e.length<i.minlength&&!i.negative||e.length>=i.minlength&&i.negative}},maxchecked:{name:"maxchecked",init:function(t,e){var i=t.parents("form").first().find('[name="'+t.attr("name")+'"]');return i.bind("click.validation",function(){t.trigger("change.validation",{includeEmpty:!0})}),{maxchecked:t.data("validation"+e+"Maxchecked"),elements:i}},validate:function(t,e,i){return i.elements.filter(":checked").length>i.maxchecked&&!i.negative||i.elements.filter(":checked").length<=i.maxchecked&&i.negative},blockSubmit:!0},minchecked:{name:"minchecked",init:function(t,e){var i=t.parents("form").first().find('[name="'+t.attr("name")+'"]');return i.bind("click.validation",function(){t.trigger("change.validation",{includeEmpty:!0})}),{minchecked:t.data("validation"+e+"Minchecked"),elements:i}},validate:function(t,e,i){return i.elements.filter(":checked").length<i.minchecked&&!i.negative||i.elements.filter(":checked").length>=i.minchecked&&i.negative},blockSubmit:!0}},builtInValidators:{email:{name:"Email",type:"shortcut",shortcut:"validemail"},validemail:{name:"Validemail",type:"regex",regex:"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}",message:"Not a valid email address\x3c!-- data-validator-validemail-message to override --\x3e"},passwordagain:{name:"Passwordagain",type:"match",match:"password",message:"Does not match the given password\x3c!-- data-validator-paswordagain-message to override --\x3e"},positive:{name:"Positive",type:"shortcut",shortcut:"number,positivenumber"},negative:{name:"Negative",type:"shortcut",shortcut:"number,negativenumber"},number:{name:"Number",type:"regex",regex:"([+-]?\\d+(\\.\\d*)?([eE][+-]?[0-9]+)?)?",message:"Must be a number\x3c!-- data-validator-number-message to override --\x3e"},integer:{name:"Integer",type:"regex",regex:"[+-]?\\d+",message:"No decimal places allowed\x3c!-- data-validator-integer-message to override --\x3e"},positivenumber:{name:"Positivenumber",type:"min",min:0,message:"Must be a positive number\x3c!-- data-validator-positivenumber-message to override --\x3e"},negativenumber:{name:"Negativenumber",type:"max",max:0,message:"Must be a negative number\x3c!-- data-validator-negativenumber-message to override --\x3e"},required:{name:"Required",type:"required",message:"This is required\x3c!-- data-validator-required-message to override --\x3e"},checkone:{name:"Checkone",type:"minchecked",minchecked:1,message:"Check at least one option\x3c!-- data-validation-checkone-message to override --\x3e"}}},f=function(t){return t.toLowerCase().replace(/(^|\s)([a-z])/g,function(t,e,
8i){return e+i.toUpperCase()})},m=function(t){var e=t.val(),i=t.attr("type");return"checkbox"===i&&(e=t.is(":checked")?e:""),"radio"===i&&(e=0<p('input[name="'+t.attr("name")+'"]:checked').length?e:""),e};p.fn.jqBootstrapValidation=function(t){return i.methods[t]?i.methods[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?(p.error("Method "+t+" does not exist on jQuery.jqBootstrapValidation"),null):i.methods.init.apply(this,arguments)},p.jqBootstrapValidation=function(t){p(":input").not("[type=image],[type=submit]").jqBootstrapValidation.apply(this,arguments)}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(a){var s=function(t,e){this.$element=a(t),this.options=a.extend({},s.DEFAULTS,this.dataOptions(),e),this.init()};s.DEFAULTS={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(t,e){return t.toFixed(e.decimals)},onUpdate:null,onComplete:null},s.prototype.init=function(){this.value=this.options.from,this.loops=Math.ceil(this.options.speed/this.options.refreshInterval),this.loopCount=0,this.increment=(this.options.to-this.options.from)/this.loops},s.prototype.dataOptions=function(){var t={from:this.$element.data("from"),to:this.$element.data("to"),speed:this.$element.data("speed"),refreshInterval:this.$element.data("refresh-interval"),decimals:this.$element.data("decimals")},e=Object.keys(t);for(var i in e){var n=e[i];void 0===t[n]&&delete t[n]}return t},s.prototype.update=function(){this.value+=this.increment,this.loopCount++,this.render(),"function"==typeof this.options.onUpdate&&this.options.onUpdate.call(this.$element,this.value),this.loopCount>=this.loops&&(clearInterval(this.interval),this.value=this.options.to,"function"==typeof this.options.onComplete&&this.options.onComplete.call(this.$element,this.value))},s.prototype.render=function(){var t=this.options.formatter.call(this.$element,this.value,this.options);this.$element.text(t)},s.prototype.restart=function(){this.stop(),this.init(),this.start()},s.prototype.start=function(){this.stop(),this.render(),this.interval=setInterval(this.update.bind(this),this.options.refreshInterval)},s.prototype.stop=function(){this.interval&&clearInterval(this.interval)},s.prototype.toggle=function(){this.interval?this.stop():this.start()},a.fn.countTo=function(o){return this.each(function(){var t=a(this),e=t.data("countTo"),i="object"==typeof o?o:{},n="string"==typeof o?o:"start";(!e||"object"==typeof o)&&(e&&e.stop(),t.data("countTo",e=new s(this,i))),e[n].call(e)})}}),function(o){"use strict";o.fn.fitVids=function(t){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("div");n.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',e.appendChild(n.childNodes[1])}return t&&o.extend(i,t),this.each(function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];i.customSelector&&t.push(i.customSelector);var n=".fitvidsignore";i.ignore&&(n=n+", "+i.ignore);var e=o(this).find(t.join(","));(e=(e=e.not("object object")).not(n)).each(function(){var t=o(this);if(!(0<t.parents(n).length||"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var e=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("id")){var i="fitvid"+Math.floor(999999*Math.random());t.attr("id",i)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),t.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(u){var d,n,p,h,o,f,e,l="Close",c="BeforeClose",m="MarkupParse",g="Open",v=".mfp",y="mfp-ready",i="mfp-removing",s="mfp-prevent-close",t=function(){},r=!!window.jQuery,w=u(window),b=function(t,e){d.ev.on("mfp"+t+v,e)}
8,x=function(t,e,i,n){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),n?e&&e.appendChild(o):(o=u(o),e&&o.appendTo(e)),o},C=function(t,e){d.ev.triggerHandler("mfp"+t,e),d.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),d.st.callbacks[t]&&d.st.callbacks[t].apply(d,u.isArray(e)?e:[e]))},k=function(t){return t===e&&d.currTemplate.closeBtn||(d.currTemplate.closeBtn=u(d.st.closeMarkup.replace("%title%",d.st.tClose)),e=t),d.currTemplate.closeBtn},a=function(){u.magnificPopup.instance||((d=new t).init(),u.magnificPopup.instance=d)};t.prototype={constructor:t,init:function(){var t=navigator.appVersion;d.isIE7=-1!==t.indexOf("MSIE 7."),d.isIE8=-1!==t.indexOf("MSIE 8."),d.isLowIE=d.isIE7||d.isIE8,d.isAndroid=/android/gi.test(t),d.isIOS=/iphone|ipad|ipod/gi.test(t),d.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),d.probablyMobile=d.isAndroid||d.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),h=u(document),d.popupsCache={}},open:function(t){var e;if(p||(p=u(document.body)),!1===t.isObj){d.items=t.items.toArray(),d.index=0;var i,n=t.items;for(e=0;e<n.length;e++)if((i=n[e]).parsed&&(i=i.el[0]),i===t.el[0]){d.index=e;break}}else d.items=u.isArray(t.items)?t.items:[t.items],d.index=t.index||0;if(!d.isOpen){d.types=[],f="",t.mainEl&&t.mainEl.length?d.ev=t.mainEl.eq(0):d.ev=h,t.key?(d.popupsCache[t.key]||(d.popupsCache[t.key]={}),d.currTemplate=d.popupsCache[t.key]):d.currTemplate={},d.st=u.extend(!0,{},u.magnificPopup.defaults,t),d.fixedContentPos="auto"===d.st.fixedContentPos?!d.probablyMobile:d.st.fixedContentPos,d.st.modal&&(d.st.closeOnContentClick=!1,d.st.closeOnBgClick=!1,d.st.showCloseBtn=!1,d.st.enableEscapeKey=!1),d.bgOverlay||(d.bgOverlay=x("bg").on("click"+v,function(){d.close()}),d.wrap=x("wrap").attr("tabindex",-1).on("click"+v,function(t){d._checkIfClose(t.target)&&d.close()}),d.container=x("container",d.wrap)),d.contentContainer=x("content"),d.st.preloader&&(d.preloader=x("preloader",d.container,d.st.tLoading));var o=u.magnificPopup.modules;for(e=0;e<o.length;e++){var a=o[e];a=a.charAt(0).toUpperCase()+a.slice(1),d["init"+a].call(d)}C("BeforeOpen"),d.st.showCloseBtn&&(d.st.closeBtnInside?(b(m,function(t,e,i,n){i.close_replaceWith=k(n.type)}),f+=" mfp-close-btn-in"):d.wrap.append(k())),d.st.alignTop&&(f+=" mfp-align-top"),d.fixedContentPos?d.wrap.css({overflow:d.st.overflowY,overflowX:"hidden",overflowY:d.st.overflowY}):d.wrap.css({top:w.scrollTop(),position:"absolute"}),(!1===d.st.fixedBgPos||"auto"===d.st.fixedBgPos&&!d.fixedContentPos)&&d.bgOverlay.css({height:h.height(),position:"absolute"}),d.st.enableEscapeKey&&h.on("keyup"+v,function(t){27===t.keyCode&&d.close()}),w.on("resize"+v,function(){d.updateSize()}),d.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&d.wrap.addClass(f);var s=d.wH=w.height(),r={};if(d.fixedContentPos&&d._hasScrollBar(s)){var l=d._getScrollbarSize();l&&(r.marginRight=l)}d.fixedContentPos&&(d.isIE7?u("body, html").css("overflow","hidden"):r.overflow="hidden");var c=d.st.mainClass;return d.isIE7&&(c+=" mfp-ie7"),c&&d._addClassToMFP(c),d.updateItemHTML(),C("BuildControls"),u("html").css(r),d.bgOverlay.add(d.wrap).prependTo(d.st.prependTo||p),d._lastFocusedEl=document.activeElement,setTimeout(function(){d.content?(d._addClassToMFP(y),d._setFocus()):d.bgOverlay.addClass(y),h.on("focusin"+v,d._onFocusIn)},16),d.isOpen=!0,d.updateSize(s),C(g),t}d.updateItemHTML()},close:function(){d.isOpen&&(C(c),d.isOpen=!1,d.st.removalDelay&&!d.isLowIE&&d.supportsTransition?(d._addClassToMFP(i),setTimeout(function(){d._close()},d.st.removalDelay)):d._close())},_close:function(){C(l);var t=i+" "+y+" ";if(d.bgOverlay.detach(),d.wrap.detach(),d.container.empty(),d.st.mainClass&&(t+=d.st.mainClass+" "),d._removeClassFromMFP(t),d.fixedContentPos){var e={marginRight:""};d.isIE7?u("body, html").css("overflow",""):e.overflow="",u("html").css(e)}h.off("keyup.mfp focusin"+v),d.ev.off(v),d.wrap.attr("class","mfp-wrap").removeAttr("style"),d.bgOverlay.attr("class","mfp-bg"),d.container.attr("class","mfp-container"),!d.st.showCloseBtn||d.st.closeBtnInside&&!0!==d.currTemplate[d.
8currItem.type]||d.currTemplate.closeBtn&&d.currTemplate.closeBtn.detach(),d._lastFocusedEl&&u(d._lastFocusedEl).focus(),d.currItem=null,d.content=null,d.currTemplate=null,d.prevHeight=0,C("AfterClose")},updateSize:function(t){if(d.isIOS){var e=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*e;d.wrap.css("height",i),d.wH=i}else d.wH=t||w.height();d.fixedContentPos||d.wrap.css("height",d.wH),C("Resize")},updateItemHTML:function(){var t=d.items[d.index];d.contentContainer.detach(),d.content&&d.content.detach(),t.parsed||(t=d.parseEl(d.index));var e=t.type;if(C("BeforeChange",[d.currItem?d.currItem.type:"",e]),d.currItem=t,!d.currTemplate[e]){var i=!!d.st[e]&&d.st[e].markup;C("FirstMarkupParse",i),d.currTemplate[e]=!i||u(i)}o&&o!==t.type&&d.container.removeClass("mfp-"+o+"-holder");var n=d["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,d.currTemplate[e]);d.appendContent(n,e),t.preloaded=!0,C("Change",t),o=t.type,d.container.prepend(d.contentContainer),C("AfterChange")},appendContent:function(t,e){(d.content=t)?d.st.showCloseBtn&&d.st.closeBtnInside&&!0===d.currTemplate[e]?d.content.find(".mfp-close").length||d.content.append(k()):d.content=t:d.content="",C("BeforeAppend"),d.container.addClass("mfp-"+e+"-holder"),d.contentContainer.append(d.content)},parseEl:function(t){var e,i=d.items[t];if(i.tagName?i={el:u(i)}:(e=i.type,i={data:i,src:i.src}),i.el){for(var n=d.types,o=0;o<n.length;o++)if(i.el.hasClass("mfp-"+n[o])){e=n[o];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||d.st.type||"inline",i.index=t,i.parsed=!0,d.items[t]=i,C("ElementParse",i),d.items[t]},addGroup:function(e,i){var t=function(t){t.mfpEl=this,d._openClick(t,e,i)};i||(i={});var n="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(n).on(n,t)):(i.isObj=!1,i.delegate?e.off(n).on(n,i.delegate,t):(i.items=e).off(n).on(n,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i.midClick:u.magnificPopup.defaults.midClick)||2!==t.which&&!t.ctrlKey&&!t.metaKey){var n=void 0!==i.disableOn?i.disableOn:u.magnificPopup.defaults.disableOn;if(n)if(u.isFunction(n)){if(!n.call(d))return!0}else if(w.width()<n)return!0;t.type&&(t.preventDefault(),d.isOpen&&t.stopPropagation()),i.el=u(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),d.open(i)}},updateStatus:function(t,e){if(d.preloader){n!==t&&d.container.removeClass("mfp-s-"+n),e||"loading"!==t||(e=d.st.tLoading);var i={status:t,text:e};C("UpdateStatus",i),t=i.status,e=i.text,d.preloader.html(e),d.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),d.container.addClass("mfp-s-"+t),n=t}},_checkIfClose:function(t){if(!u(t).hasClass(s)){var e=d.st.closeOnContentClick,i=d.st.closeOnBgClick;if(e&&i)return!0;if(!d.content||u(t).hasClass("mfp-close")||d.preloader&&t===d.preloader[0])return!0;if(t===d.content[0]||u.contains(d.content[0],t)){if(e)return!0}else if(i&&u.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){d.bgOverlay.addClass(t),d.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),d.wrap.removeClass(t)},_hasScrollBar:function(t){return(d.isIE7?h.height():document.body.scrollHeight)>(t||w.height())},_setFocus:function(){(d.st.focus?d.content.find(d.st.focus).eq(0):d.wrap).focus()},_onFocusIn:function(t){return t.target===d.wrap[0]||u.contains(d.wrap[0],t.target)?void 0:(d._setFocus(),!1)},_parseMarkup:function(o,t,e){var a;e.data&&(t=u.extend(e.data,t)),C(m,[o,t,e]),u.each(t,function(t,e){if(void 0===e||!1===e)return!0;if(1<(a=t.split("_")).length){var i=o.find(v+"-"+a[0]);if(0<i.length){var n=a[1];"replaceWith"===n?i[0]!==e[0]&&i.replaceWith(e):"img"===n?i.is("img")?i.attr("src",e):i.replaceWith('<img src="'+e+'" class="'+i.attr("class")+'" />'):i.attr(a[1],e)}}else o.find(v+"-"+t).html(e)})},_getScrollbarSize:function(){if(void 0===d.scrollbarSize){var t=document.createElement("div");t.id="mfp-sbm",t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),d.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return d.scrollbarSize}},u.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return a(),(t=t?u.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return u.magnificPopup.instance&&u.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(u.magnificPopup.defaults[t]=e.options),u.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},u.fn.magnificPopup=function(t){a();var e=u(this);if("string"==typeof t)if("open"===t){var i,n=r?e.data("magnificPopup"):e[0].magnificPopup,o=parseInt(arguments[1],10)||0;n.items?i=n.items[o]:(i=e,n.delegate&&(i=i.find(n.delegate)),i=i.eq(o)),d._openClick({mfpEl:i},e,n)}else d.isOpen&&d[t].apply(d,Array.prototype.slice.call(arguments,1
8));else t=u.extend(!0,{},t),r?e.data("magnificPopup",t):e[0].magnificPopup=t,d.addGroup(e,t);return e};var T,I,S,D="inline",M=function(){S&&(I.after(S.addClass(T)).detach(),S=null)};u.magnificPopup.registerModule(D,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){d.types.push(D),b(l+"."+D,function(){M()})},getInline:function(t,e){if(M(),t.src){var i=d.st.inline,n=u(t.src);if(n.length){var o=n[0].parentNode;o&&o.tagName&&(I||(T=i.hiddenClass,I=x(T),T="mfp-"+T),S=n.after(I).detach().removeClass(T)),d.updateStatus("ready")}else d.updateStatus("error",i.tNotFound),n=u("<div>");return t.inlineElement=n}return d.updateStatus("ready"),d._parseMarkup(e,{},t),e}}});var _,E="ajax",P=function(){_&&p.removeClass(_)},L=function(){P(),d.req&&d.req.abort()};u.magnificPopup.registerModule(E,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){d.types.push(E),_=d.st.ajax.cursor,b(l+"."+E,L),b("BeforeChange."+E,L)},getAjax:function(o){_&&p.addClass(_),d.updateStatus("loading");var t=u.extend({url:o.src,success:function(t,e,i){var n={data:t,xhr:i};C("ParseAjax",n),d.appendContent(u(n.data),E),o.finished=!0,P(),d._setFocus(),setTimeout(function(){d.wrap.addClass(y)},16),d.updateStatus("ready"),C("AjaxContentAdded")},error:function(){P(),o.finished=o.loadError=!0,d.updateStatus("error",d.st.ajax.tError.replace("%url%",o.src))}},d.st.ajax.settings);return d.req=u.ajax(t),""}}});var A;u.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=d.st.image,e=".image";d.types.push("image"),b(g+e,function(){"image"===d.currItem.type&&t.cursor&&p.addClass(t.cursor)}),b(l+e,function(){t.cursor&&p.removeClass(t.cursor),w.off("resize"+v)}),b("Resize"+e,d.resizeImage),d.isLowIE&&b("AfterChange",d.resizeImage)},resizeImage:function(){var t=d.currItem;if(t&&t.img&&d.st.image.verticalFit){var e=0;d.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",d.wH-e)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,A&&clearInterval(A),t.isCheckingImgSize=!1,C("ImageHasSize",t),t.imgHidden&&(d.content&&d.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(t){A&&clearInterval(A),A=setInterval(function(){return 0<n.naturalWidth?void d._onImageHasSize(e):(200<i&&clearInterval(A),void(3===++i?o(10):40===i?o(50):100===i&&o(500)))},t)};o(1)},getImage:function(t,e){var i=0,n=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===d.currItem&&(d._onImageHasSize(t),d.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,C("ImageLoadComplete")):++i<200?setTimeout(n,100):o())},o=function(){t&&(t.img.off(".mfploader"),t===d.currItem&&(d._onImageHasSize(t),d.updateStatus("error",a.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},a=d.st.image,s=e.find(".mfp-img");if(s.length){var r=document.createElement("img");r.className="mfp-img",t.img=u(r).on("load.mfploader",n).on("error.mfploader",o),r.src=t.src,s.is("img")&&(t.img=t.img.clone()),0<(r=t.img[0]).naturalWidth?t.hasSize=!0:r.width||(t.hasSize=!1)}return d._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=d.st.image.titleSrc;if(e){if(u.isFunction(e))return e.call(d,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),d.resizeImage(),t.hasSize?(A&&clearInterval(A),t.loadError?(e.addClass("mfp-loading"),d.updateStatus("error",a.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),d.updateStatus("ready"))):(d.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),d.findImageSize(t))),e}}});var O;u.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,a=d.st.zoom,e=".zoom";if(a.enabled&&d.supportsTransition){var i,n,o=a.duration,s=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+a.duration/1e3+"s "+a.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return n["-webkit-"+o]=n["-moz-"+o]=n["-o-"+o]=n[o]=i,e.css(n),e},r=function(){d.content.css("visibility","visible")};b("BuildControls"+e,function(){if(d._allowZoom()){if(clearTimeout(i),d.content.css("visibility","hidden"),!(t=d._getItemToZoom()))return void r();(n=s(t)).css(d._getOffset()),d.wrap.append(n),i=setTimeout(function(){n.css(d._getOffset(!0)),i=setTimeout(function(){r(),setTimeout(function(){n.remove(),t=n=null,C("ZoomAnimationEnded")},16)},o)},16)}}),b(c+e,function(){if(d._allowZoom()){if(clearTimeout(i),d.st.removalDelay=o,!t){if(!(t=d._getItemToZoom()))return;n=s(t)}n.css(d._getOffset(!0)),d.wrap.append(n),d.content.css("visibility","hidden"),setTimeout(function(){n.css(d._getOffset())},16)}}
8),b(l+e,function(){d._allowZoom()&&(r(),n&&n.remove(),t=null)})}},_allowZoom:function(){return"image"===d.currItem.type},_getItemToZoom:function(){return!!d.currItem.hasSize&&d.currItem.img},_getOffset:function(t){var e,i=(e=t?d.currItem.img:d.st.zoom.opener(d.currItem.el||d.currItem)).offset(),n=parseInt(e.css("padding-top"),10),o=parseInt(e.css("padding-bottom"),10);i.top-=u(window).scrollTop()-n;var a={width:e.width(),height:(r?e.innerHeight():e[0].offsetHeight)-o-n};return void 0===O&&(O=void 0!==document.createElement("p").style.MozTransform),O?a["-moz-transform"]=a.transform="translate("+i.left+"px,"+i.top+"px)":(a.left=i.left,a.top=i.top),a}}});var N="iframe",z=function(t){if(d.currTemplate[N]){var e=d.currTemplate[N].find("iframe");e.length&&(t||(e[0].src="//about:blank"),d.isIE8&&e.css("display",t?"block":"none"))}};u.magnificPopup.registerModule(N,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){d.types.push(N),b("BeforeChange",function(t,e,i){e!==i&&(e===N?z():i===N&&z(!0))}),b(l+"."+N,function(){z()})},getIframe:function(t,e){var i=t.src,n=d.st.iframe;u.each(n.patterns,function(){return-1<i.indexOf(this.index)?(this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1):void 0});var o={};return n.srcAction&&(o[n.srcAction]=i),d._parseMarkup(e,o,t),d.updateStatus("ready"),e}}});var j=function(t){var e=d.items.length;return e-1<t?t-e:t<0?e+t:t},W=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};u.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var a=d.st.gallery,t=".mfp-gallery",o=Boolean(u.fn.mfpFastClick);return d.direction=!0,!(!a||!a.enabled)&&(f+=" mfp-gallery",b(g+t,function(){a.navigateByImgClick&&d.wrap.on("click"+t,".mfp-img",function(){return 1<d.items.length?(d.next(),!1):void 0}),h.on("keydown"+t,function(t){37===t.keyCode?d.prev():39===t.keyCode&&d.next()})}),b("UpdateStatus"+t,function(t,e){e.text&&(e.text=W(e.text,d.currItem.index,d.items.length))}),b(m+t,function(t,e,i,n){var o=d.items.length;i.counter=1<o?W(a.tCounter,n.index,o):""}),b("BuildControls"+t,function(){if(1<d.items.length&&a.arrows&&!d.arrowLeft){var t=a.arrowMarkup,e=d.arrowLeft=u(t.replace(/%title%/gi,a.tPrev).replace(/%dir%/gi,"left")).addClass(s),i=d.arrowRight=u(t.replace(/%title%/gi,a.tNext).replace(/%dir%/gi,"right")).addClass(s),n=o?"mfpFastClick":"click";e[n](function(){d.prev()}),i[n](function(){d.next()}),d.isIE7&&(x("b",e[0],!1,!0),x("a",e[0],!1,!0),x("b",i[0],!1,!0),x("a",i[0],!1,!0)),d.container.append(e.add(i))}}),b("Change"+t,function(){d._preloadTimeout&&clearTimeout(d._preloadTimeout),d._preloadTimeout=setTimeout(function(){d.preloadNearbyImages(),d._preloadTimeout=null},16)}),void b(l+t,function(){h.off(t),d.wrap.off("click"+t),d.arrowLeft&&o&&d.arrowLeft.add(d.arrowRight).destroyMfpFastClick(),d.arrowRight=d.arrowLeft=null}))},next:function(){d.direction=!0,d.index=j(d.index+1),d.updateItemHTML()},prev:function(){d.direction=!1,d.index=j(d.index-1),d.updateItemHTML()},goTo:function(t){d.direction=t>=d.index,d.index=t,d.updateItemHTML()},preloadNearbyImages:function(){var t,e=d.st.gallery.preload,i=Math.min(e[0],d.items.length),n=Math.min(e[1],d.items.length);for(t=1;t<=(d.direction?n:i);t++)d._preloadItem(d.index+t);for(t=1;t<=(d.direction?i:n);t++)d._preloadItem(d.index-t)},_preloadItem:function(t){if(t=j(t),!d.items[t].preloaded){var e=d.items[t];e.parsed||(e=d.parseEl(t)),C("LazyLoad",e),"image"===e.type&&(e.img=u('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,C("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0}}}});var F,H,$,R="retina";u.magnificPopup.registerModule(R,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(1<window.devicePixelRatio){var i=d.st.retina,n=i.ratio;1<(n=isNaN(n)?n():n)&&(b("ImageHasSize."+R,function(t,e){e.img.css({"max-width":e.img[0].naturalWi
8dth/n,width:"100%"})}),b("ElementParse."+R,function(t,e){e.src=i.replaceSrc(e,n)}))}}}}),F="ontouchstart"in window,H=function(){w.off("touchmove"+$+" touchend"+$)},$=".mfpFastClick",u.fn.mfpFastClick=function(l){return u(this).each(function(){var e,i,n,o,a,s,r,t=u(this);F&&t.on("touchstart"+$,function(t){a=!1,r=1,s=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],n=s.clientX,o=s.clientY,w.on("touchmove"+$,function(t){s=t.originalEvent?t.originalEvent.touches:t.touches,r=s.length,s=s[0],(10<Math.abs(s.clientX-n)||10<Math.abs(s.clientY-o))&&(a=!0,H())}).on("touchend"+$,function(t){H(),a||1<r||(e=!0,t.preventDefault(),clearTimeout(i),i=setTimeout(function(){e=!1},1e3),l())})}),t.on("click"+$,function(){e||l()})})},u.fn.destroyMfpFastClick=function(){u(this).off("touchstart"+$+" click"+$),F&&w.off("touchmove"+$+" touchend"+$)},a()}(window.jQuery||window.Zepto),function(x){var i=!0;x.flexslider=function(h,t){var f=x(h);f.vars=x.extend({},x.flexslider.defaults,t);var e,u=f.vars.namespace,m=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,d=("ontouchstart"in window||m||window.DocumentTouch&&document instanceof DocumentTouch)&&f.vars.touch,s="click touchend MSPointerUp keyup",r="",g="vertical"===f.vars.direction,v=f.vars.reverse,y=0<f.vars.itemWidth,w="fade"===f.vars.animation,p=""!==f.vars.asNavFor,b={};x.data(h,"flexslider",f),b={init:function(){f.animating=!1,f.currentSlide=parseInt(f.vars.startAt?f.vars.startAt:0,10),isNaN(f.currentSlide)&&(f.currentSlide=0),f.animatingTo=f.currentSlide,f.atEnd=0===f.currentSlide||f.currentSlide===f.last,f.containerSelector=f.vars.selector.substr(0,f.vars.selector.search(" ")),f.slides=x(f.vars.selector,f),f.container=x(f.containerSelector,f),f.count=f.slides.length,f.syncExists=0<x(f.vars.sync).length,"slide"===f.vars.animation&&(f.vars.animation="swing"),f.prop=g?"top":"marginLeft",f.args={},f.manualPause=!1,f.stopped=!1,f.started=!1,f.startTimeout=null,f.transitions=!f.vars.video&&!w&&f.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return f.pfx=e[i].replace("Perspective","").toLowerCase(),f.prop="-"+f.pfx+"-transform",!0;return!1}(),(f.ensureAnimationEnd="")!==f.vars.controlsContainer&&(f.controlsContainer=0<x(f.vars.controlsContainer).length&&x(f.vars.controlsContainer)),""!==f.vars.manualControls&&(f.manualControls=0<x(f.vars.manualControls).length&&x(f.vars.manualControls)),""!==f.vars.customDirectionNav&&(f.customDirectionNav=2===x(f.vars.customDirectionNav).length&&x(f.vars.customDirectionNav)),f.vars.randomize&&(f.slides.sort(function(){return Math.round(Math.random())-.5}),f.container.empty().append(f.slides)),f.doMath(),f.setup("init"),f.vars.controlNav&&b.controlNav.setup(),f.vars.directionNav&&b.directionNav.setup(),f.vars.keyboard&&(1===x(f.containerSelector).length||f.vars.multipleKeyboard)&&x(document).bind("keyup",function(t){var e=t.keyCode;if(!f.animating&&(39===e||37===e)){var i=39===e?f.getTarget("next"):37===e&&f.getTarget("prev");f.flexAnimate(i,f.vars.pauseOnAction)}}),f.vars.mousewheel&&f.bind("mousewheel",function(t,e,i,n){t.preventDefault();var o=e<0?f.getTarget("next"):f.getTarget("prev");f.flexAnimate(o,f.vars.pauseOnAction)}),f.vars.pausePlay&&b.pausePlay.setup(),f.vars.slideshow&&f.vars.pauseInvisible&&b.pauseInvisible.init(),f.vars.slideshow&&(f.vars.pauseOnHover&&f.hover(function(){f.manualPlay||f.manualPause||f.pause()},function(){f.manualPause||f.manualPlay||f.stopped||f.play()}),f.vars.pauseInvisible&&b.pauseInvisible.isHidden()||(0<f.vars.initDelay?f.startTimeout=setTimeout(f.play,f.vars.initDelay):f.play())),p&&b.asNav.setup(),d&&f.vars.touch&&b.touch(),(!w||w&&f.vars.smoothHeight)&&x(window).bind("resize orientationchange focus",b.resize),f.find("img").attr("draggable","false"),setTimeout(function(){f.vars.start(f)},200)},asNav:{setup:function(){f.asNav=!0,f.animatingTo=Math.floor(f.currentSlide/f.move),f.currentItem=f.currentSlide,f.slides.removeClass(u+"active-slide").eq(f.currentItem).addClass(u+"active-slide"),m?(h._slider=f).slides.each(function(){var t=this;t._gesture=new MSGesture,(t._gesture.target=t).addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var e=x(this),i=e.index();x(f.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(f.direction=f.currentItem<i?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction,!1,!0,!0))})}):f.slides.on(s,function(t){t.preventDefault();var e=x(this),i=e.index();e.offset().left-x(f).scrollLeft()<=0&&e.hasClass(u+"active-slide")?f.flexAnimate(f.getTarget("prev"),!0):x(f.vars.asNavFor).data("flexslider").animating||e.hasClass(u+"active-slide")||(f.direction=f.currentItem<i?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){f.manualControls?b.controlNav.setupManual():b.controlNav.setupPaging(
8)},setupPaging:function(){var t,e,i="thumbnails"===f.vars.controlNav?"control-thumbs":"control-paging",n=1;if(f.controlNavScaffold=x('<ol class="'+u+"control-nav "+u+i+'"></ol>'),1<f.pagingCount)for(var o=0;o<f.pagingCount;o++){if(void 0===(e=f.slides.eq(o)).attr("data-thumb-alt")&&e.attr("data-thumb-alt",""),altText=""!==e.attr("data-thumb-alt")?altText=' alt="'+e.attr("data-thumb-alt")+'"':"",t="thumbnails"===f.vars.controlNav?'<img src="'+e.attr("data-thumb")+'"'+altText+"/>":'<a href="#">'+n+"</a>","thumbnails"===f.vars.controlNav&&!0===f.vars.thumbCaptions){var a=e.attr("data-thumbcaption");""!==a&&void 0!==a&&(t+='<span class="'+u+'caption">'+a+"</span>")}f.controlNavScaffold.append("<li>"+t+"</li>"),n++}f.controlsContainer?x(f.controlsContainer).append(f.controlNavScaffold):f.append(f.controlNavScaffold),b.controlNav.set(),b.controlNav.active(),f.controlNavScaffold.delegate("a, img",s,function(t){if(t.preventDefault(),""===r||r===t.type){var e=x(this),i=f.controlNav.index(e);e.hasClass(u+"active")||(f.direction=i>f.currentSlide?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction))}""===r&&(r=t.type),b.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,b.controlNav.active(),f.controlNav.bind(s,function(t){if(t.preventDefault(),""===r||r===t.type){var e=x(this),i=f.controlNav.index(e);e.hasClass(u+"active")||(i>f.currentSlide?f.direction="next":f.direction="prev",f.flexAnimate(i,f.vars.pauseOnAction))}""===r&&(r=t.type),b.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=x("."+u+"control-nav li "+t,f.controlsContainer?f.controlsContainer:f)},active:function(){f.controlNav.removeClass(u+"active").eq(f.animatingTo).addClass(u+"active")},update:function(t,e){1<f.pagingCount&&"add"===t?f.controlNavScaffold.append(x('<li><a href="#">'+f.count+"</a></li>")):1===f.pagingCount?f.controlNavScaffold.find("li").remove():f.controlNav.eq(e).closest("li").remove(),b.controlNav.set(),1<f.pagingCount&&f.pagingCount!==f.controlNav.length?f.update(e,t):b.controlNav.active()}},directionNav:{setup:function(){var t=x('<ul class="'+u+'direction-nav"><li class="'+u+'nav-prev"><a class="'+u+'prev" href="#">'+f.vars.prevText+'</a></li><li class="'+u+'nav-next"><a class="'+u+'next" href="#">'+f.vars.nextText+"</a></li></ul>");f.customDirectionNav?f.directionNav=f.customDirectionNav:f.controlsContainer?(x(f.controlsContainer).append(t),f.directionNav=x("."+u+"direction-nav li a",f.controlsContainer)):(f.append(t),f.directionNav=x("."+u+"direction-nav li a",f)),b.directionNav.update(),f.directionNav.bind(s,function(t){var e;t.preventDefault(),""!==r&&r!==t.type||(e=x(this).hasClass(u+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction)),""===r&&(r=t.type),b.setToClearWatchedEvent()})},update:function(){var t=u+"disabled";1===f.pagingCount?f.directionNav.addClass(t).attr("tabindex","-1"):f.vars.animationLoop?f.directionNav.removeClass(t).removeAttr("tabindex"):0===f.animatingTo?f.directionNav.removeClass(t).filter("."+u+"prev").addClass(t).attr("tabindex","-1"):f.animatingTo===f.last?f.directionNav.removeClass(t).filter("."+u+"next").addClass(t).attr("tabindex","-1"):f.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=x('<div class="'+u+'pauseplay"><a href="#"></a></div>');f.controlsContainer?(f.controlsContainer.append(t),f.pausePlay=x("."+u+"pauseplay a",f.controlsContainer)):(f.append(t),f.pausePlay=x("."+u+"pauseplay a",f)),b.pausePlay.update(f.vars.slideshow?u+"pause":u+"play"),f.pausePlay.bind(s,function(t){t.preventDefault(),""!==r&&r!==t.type||(x(this).hasClass(u+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===r&&(r=t.type),b.setToClearWatchedEvent()})},update:function(t){"play"===t?f.pausePlay.removeClass(u+"pause").addClass(u+"play").html(f.vars.playText):f.pausePlay.removeClass(u+"play").addClass(u+"pause").html(f.vars.pauseText)}},touch:function(){var o,a,s,r,l,c,t,n,u,d=!1,e=0,i=0,p=0;m?(h.style.msTouchAction="none",h._gesture=new MSGesture,(h._gesture.target=h).addEventListener("MSPointerDown",function(t){t.stopPropagation(),f.animating?t.preventDefault():(f.pause(),h._gesture.addPointer(t.pointerId),p=0,r=g?f.h:f.w,c=Number(new Date),s=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*r:(f.currentSlide+f.cloneOffset)*r)},!1),h._slider=f,h.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e=t.target._slider;if(e){var i=-t.translationX,n=-t.translationY;return l=p+=g?n:i,d=g?Math.abs(p)<Math.abs(-i):Math.abs(p)<Math.abs(-n),t.detail===t.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){h._gesture.stop()}):void((!d||500<Number(new Date)-c)&&(t.preventDefault(),!w&&e.transitions&&(e.vars.animationLoop||(l=p/(0===e.currentSlide&&p<0||e.currentSlide===e.last&&0<p?Math.abs(p)/r+2:1)),e.setProps(s+l,"setTouch"))))}},!1),h.addEventListener("MSGestureEnd",function(t){t.stopPropagation();var e=t.target._slider;if(e){if(e.animatingTo===e.currentSlide&&!d&&null!==l){var i=v?-l:l,n=0<i?e.getTarget("next"):e.getTarget("prev");e.canAdvance(n)&&(Number(new Date)-c<550&&50<Math.abs(i)||Math.abs(i)>r/2)?e.flexAnimate(n,e.vars.pauseOnAction):w||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)}s=l=a=o=null,p=0}},!1)):(t=function(t){f.animating?t.preventDefault():(window.navigator.msPointerEnabled||1===t.touches.length)&&(f.pause(),r=g?f.h:f.w,c=Number(new Date),e=t.touches[0].pageX,i=t.touches[0].pageY,s=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*r:(f.currentSlide+f.cloneOffset)*r,o=g?i:e,a=g?e:i,h.addEventListener("touchmove",n,!1),h.addEventListener("touchend",u,!1))},n=function(t){e=t.touches[0].pageX,i=t.touches[0].pageY,l=g?o-i:o-e;(!(d=g?Math.abs(l)<Math.abs(e-a):Math.abs(l)<Math.abs(i-a))||500<Number(new Date)-c)&&(t.preventDefault(),!w&&f.transitions&&(f.vars.animationLoop||(l/=0===f.currentSlide&&l<0||f.currentSlide===f.last&&0<l?Math.abs(l)/r+2:1),f.setProps(s+l,"setTouch")))},u=function(t){if(h.removeEventListener("touchmove",n,!1),f.animatingTo===f.currentSlide&&!d&&null!==l){var e=v?-l:l,i=0<e?f.getTarget("next"):f.getTarget("prev");f.canAdvance(i)&&(Number(new Date)-c<550&&50<Math.abs(e)||Math.abs(e)>r/2)?f.flexAnimate(i,f.vars.pauseOnAction):w||f.flexAnimate(f.currentSlide,f.vars.pauseOnAction,!0)}h.removeEventListener("touchend",u,!1),s=l=a=o=null},h.addEventListener("touchstart",t,!1))},resize:function(){!f.animating&&f.is(":visible")&&(y||f.doMath(),w?b.smoothHeight():y?(f.slides.width(f.computedW),f.update(f.pagingCount),f.setProps()):g?(f.viewport.height(f.h),f.setProps(f.h,"setTotal")):(f.vars.smoothHeight&&b.smoothHeight(),f.newSlides.width(f.computedW),f.setProps(f.computedW,"setTotal")))},smoothHeight:function(t){if(!g||w){var e=w?f:f.viewport;t?e.animate({height:f.slides.eq(f.animatingTo).height()},t):e.height(f.slides.eq(f.animatingTo).height())}},sync:function(t){var e=x(f.vars.sync).data("flexslider"),i=f.animatingTo;switch(t){case"animate":e.flexAnimate(i,f.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=x(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t=b.pauseInvisible.getHiddenProp();if(t){var e=t.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(e,function(){b.pauseInvisible.isHidden()?f.startTimeout?clearTimeout(f.startTimeout):f.pause():f.started?f.play():0<f.vars.initDelay?setTimeout(f.play,f.vars.initDelay):f.play()})}},isHidden:function(){var t=b.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){r=""},3e3)}}
vendor: 6,306 bytes, line 8
8,f.flexAnimate=function(t,e,i,n,o){if(f.vars.animationLoop||t===f.currentSlide||(f.direction=t>f.currentSlide?"next":"prev"),p&&1===f.pagingCount&&(f.direction=f.currentItem<t?"next":"prev"),!f.animating&&(f.canAdvance(t,o)||i)&&f.is(":visible")){if(p&&n){var a=x(f.vars.asNavFor).data("flexslider");if(f.atEnd=0===t||t===f.count-1,a.flexAnimate(t,!0,!1,!0,o),f.direction=f.currentItem<t?"next":"prev",a.direction=f.direction,Math.ceil((t+1)/f.visible)-1===f.currentSlide||0===t)return f.currentItem=t,f.slides.removeClass(u+"active-slide").eq(t).addClass(u+"active-slide"),!1;f.currentItem=t,f.slides.removeClass(u+"active-slide").eq(t).addClass(u+"active-slide"),t=Math.floor(t/f.visible)}if(f.animating=!0,f.animatingTo=t,e&&f.pause(),f.vars.before(f),f.syncExists&&!o&&b.sync("animate"),f.vars.controlNav&&b.controlNav.active(),y||f.slides.removeClass(u+"active-slide").eq(t).addClass(u+"active-slide"),f.atEnd=0===t||t===f.last,f.vars.directionNav&&b.directionNav.update(),t===f.last&&(f.vars.end(f),f.vars.animationLoop||f.pause()),w)d?(f.slides.eq(f.currentSlide).css({opacity:0,zIndex:1}),f.slides.eq(t).css({opacity:1,zIndex:2}),f.wrapup(c)):(f.slides.eq(f.currentSlide).css({zIndex:1}).animate({opacity:0},f.vars.animationSpeed,f.vars.easing),f.slides.eq(t).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing,f.wrapup));else{var s,r,l,c=g?f.slides.filter(":first").height():f.computedW;y?(s=f.vars.itemMargin,r=(l=(f.itemW+s)*f.move*f.animatingTo)>f.limit&&1!==f.visible?f.limit:l):r=0===f.currentSlide&&t===f.count-1&&f.vars.animationLoop&&"next"!==f.direction?v?(f.count+f.cloneOffset)*c:0:f.currentSlide===f.last&&0===t&&f.vars.animationLoop&&"prev"!==f.direction?v?0:(f.count+1)*c:v?(f.count-1-t+f.cloneOffset)*c:(t+f.cloneOffset)*c,f.setProps(r,"",f.vars.animationSpeed),f.transitions?(f.vars.animationLoop&&f.atEnd||(f.animating=!1,f.currentSlide=f.animatingTo),f.container.unbind("webkitTransitionEnd transitionend"),f.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(f.ensureAnimationEnd),f.wrapup(c)}),clearTimeout(f.ensureAnimationEnd),f.ensureAnimationEnd=setTimeout(function(){f.wrapup(c)},f.vars.animationSpeed+100)):f.container.animate(f.args,f.vars.animationSpeed,f.vars.easing,function(){f.wrapup(c)})}f.vars.smoothHeight&&b.smoothHeight(f.vars.animationSpeed)}},f.wrapup=function(t){w||y||(0===f.currentSlide&&f.animatingTo===f.last&&f.vars.animationLoop?f.setProps(t,"jumpEnd"):f.currentSlide===f.last&&0===f.animatingTo&&f.vars.animationLoop&&f.setProps(t,"jumpStart")),f.animating=!1,f.currentSlide=f.animatingTo,f.vars.after(f)},f.animateSlides=function(){!f.animating&&i&&f.flexAnimate(f.getTarget("next"))},f.pause=function(){clearInterval(f.animatedSlides),f.animatedSlides=null,f.playing=!1,f.vars.pausePlay&&b.pausePlay.update("play"),f.syncExists&&b.sync("pause")},f.play=function(){f.playing&&clearInterval(f.animatedSlides),f.animatedSlides=f.animatedSlides||setInterval(f.animateSlides,f.vars.slideshowSpeed),f.started=f.playing=!0,f.vars.pausePlay&&b.pausePlay.update("pause"),f.syncExists&&b.sync("play")},f.stop=function(){f.pause(),f.stopped=!0},f.canAdvance=function(t,e){var i=p?f.pagingCount-1:f.last;return!!e||(!(!p||f.currentItem!==f.count-1||0!==t||"prev"!==f.direction)||(!p||0!==f.currentItem||t!==f.pagingCount-1||"next"===f.direction)&&(!(t===f.currentSlide&&!p)&&(!!f.vars.animationLoop||(!f.atEnd||0!==f.currentSlide||t!==i||"next"===f.direction)&&(!f.atEnd||f.currentSlide!==i||0!==t||"next"!==f.direction))))},f.getTarget=function(t){return"next"===(f.direction=t)?f.currentSlide===f.last?0:f.currentSlide+1:0===f.currentSlide?f.last:f.currentSlide-1},f.setProps=function(t,e,i){var n,o=(n=t||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo,-1*function(){if(y)return"setTouch"===e?t:v&&f.animatingTo===f.last?0:v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:f.animatingTo===f.last?f.limit:n;switch(e){case"setTotal":return v?(f.count-1-f.currentSlide+f.cloneOffset)*t:(f.currentSlide+f.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return v?t:f.count*t;case"jumpStart":return v?f.count*t:t;default:return t}}()+"px");f.transitions&&(o=g?"translate3d(0,"+o+",0)":"translate3d("+o+",0,0)",i=void 0!==i?i/1e3+"s":"0s",f.container.css("-"+f.pfx+"-transition-duration",i),f.container.css("transition-duration",i)),f.args[f.prop]=o,(f.transitions||void 0===i)&&f.container.css(f.args),f.container.css("transform",o)},f.setup=function(t){var e,i;w?(f.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(d?f.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+f.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(f.currentSlide).css({opacity:1,zIndex:2}):0==f.vars.fadeFirstSlide?f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).css({opacity:1}):f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing)),f.vars.smoothHeight&&b.smoothHeight()):("init"===t&&(f.viewport=x('<div class="'+u+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,v&&(i=x.makeArray(f.slides).reverse(),f.slides=x(i),f.container.empty().append(f.slides))),f.vars.animationLoop&&!y&&(f.cloneCount=2,f.cloneOffset=1,"init"!==t&&f.container.find(".clone").remove(),f.container.append(b.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(b.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=x(f.vars.selector,f),e=v?f.count-1-f.currentSlide+f.cloneOffset:f.currentSlide+f.cloneOffset,g&&!y?(f.container.height(200*(f.count+f.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){f.newSlides.css({display:"block"}),f.doMath(),f.viewport.height(f.h),f.setProps(e*f.h,"init")},"init"===t?100:0)):(f.container.width(200*(f.count+f.cloneCount)+"%"),f.setProps(e*f.computedW,"init"),setTimeout(function(){f.doMath(),f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"left",display:"block"}),f.vars.smoothHeight&&b.smoothHeight()},"init"===t?100:0)));y||f.slides.removeClass(u+"active-slide").eq(f.currentSlide).addClass(u+"active-slide"),f.vars.init(f)}
8,f.doMath=function(){var t=f.slides.first(),e=f.vars.itemMargin,i=f.vars.minItems,n=f.vars.maxItems;f.w=void 0===f.viewport?f.width():f.viewport.width(),f.h=t.height(),f.boxPadding=t.outerWidth()-t.width(),y?(f.itemT=f.vars.itemWidth+e,f.itemM=e,f.minW=i?i*f.itemT:f.w,f.maxW=n?n*f.itemT-e:f.w,f.itemW=f.minW>f.w?(f.w-e*(i-1))/i:f.maxW<f.w?(f.w-e*(n-1))/n:f.vars.itemWidth>f.w?f.w:f.vars.itemWidth,f.visible=Math.floor(f.w/f.itemW),f.move=0<f.vars.move&&f.vars.move<f.visible?f.vars.move:f.visible,f.pagingCount=Math.ceil((f.count-f.visible)/f.move+1),f.last=f.pagingCount-1,f.limit=1===f.pagingCount?0:f.vars.itemWidth>f.w?f.itemW*(f.count-1)+e*(f.count-1):(f.itemW+e)*f.count-f.w-e):(f.itemW=f.w,f.itemM=e,f.pagingCount=f.count,f.last=f.count-1),f.computedW=f.itemW-f.boxPadding,f.computedM=f.itemM},f.update=function(t,e){f.doMath(),y||(t<f.currentSlide?f.currentSlide+=1:t<=f.currentSlide&&0!==t&&(f.currentSlide-=1),f.animatingTo=f.currentSlide),f.vars.controlNav&&!f.manualControls&&("add"===e&&!y||f.pagingCount>f.controlNav.length?b.controlNav.update("add"):("remove"===e&&!y||f.pagingCount<f.controlNav.length)&&(y&&f.currentSlide>f.last&&(f.currentSlide-=1,f.animatingTo-=1),b.controlNav.update("remove",f.last))),f.vars.directionNav&&b.directionNav.update()},f.addSlide=function(t,e){var i=x(t);f.count+=1,f.last=f.count-1,g&&v?void 0!==e?f.slides.eq(f.count-e).after(i):f.container.prepend(i):void 0!==e?f.slides.eq(e).before(i):f.container.append(i),f.update(e,"add"),f.slides=x(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(t){var e=isNaN(t)?f.slides.index(x(t)):t;f.count-=1,f.last=f.count-1,isNaN(t)?x(t,f.slides).remove():g&&v?f.slides.eq(f.last).remove():f.slides.eq(t).remove(),f.doMath(),f.update(e,"remove"),f.slides=x(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},b.init()},x(window).blur(function(t){i=!1}).focus(function(t){i=!0}),x.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},x.fn.flexslider=function(n){if(void 0===n&&(n={}),"object"==typeof n)return this.each(function(){var t=x(this),e=n.selector?n.selector:".slides > li",i=t.find(e);1===i.length&&!0===n.allowOneSlide||0===i.length?(i.fadeIn(400),n.start&&n.start(t)):void 0===t.data("flexslider")&&new x.flexslider(this,n)});var t=x(this).data("flexslider");switch(n){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof n&&t.flexAnimate(n,!0)}}}(jQuery),"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(l,c,u){var i={init:function(t,e){var i=this;i.$elem=l(e),i.options=l.extend({},l.fn.owlCarousel.options,i.$elem.data(),t),i.userOptions=t,i.loadContent()},loadContent:function(){var t,n=this;"function"==typeof n.options.beforeInit&&n.options.beforeInit.apply(this,[n.$elem]),"string"==typeof n.options.jsonPath?(t=n.options.jsonPath,l.getJSON(t,function(t){var e,i="";if("function"==typeof n.options.jsonSuccess)n.options.jsonSuccess.apply(this,[t]);else{for(e in t.owl)t.owl.hasOwnProperty(e)&&(i+=t.owl[e].item);n.$elem.html(i)}n.logIn()})):n.logIn()},logIn:function(){var t=this;t.$elem.data("owl-originalStyles",t.$elem.attr("style")),t.$elem.data("owl-originalClasses",t.$elem.attr("class")),t.$elem.css({opacity:0}
8),t.orignalItems=t.options.items,t.checkBrowser(),t.wrapperWidth=0,t.checkVisible=null,t.setVars()},setVars:function(){var t=this;return 0!==t.$elem.children().length&&(t.baseClass(),t.eventTypes(),t.$userItems=t.$elem.children(),t.itemsAmount=t.$userItems.length,t.wrapItems(),t.$owlItems=t.$elem.find(".owl-item"),t.$owlWrapper=t.$elem.find(".owl-wrapper"),t.playDirection="next",t.prevItem=0,t.prevArr=[0],t.currentItem=0,t.customEvents(),void t.onStartup())},onStartup:function(){var t=this;t.updateItems(),t.calculateAll(),t.buildControls(),t.updateControls(),t.response(),t.moveEvents(),t.stopOnHover(),t.owlStatus(),!1!==t.options.transitionStyle&&t.transitionTypes(t.options.transitionStyle),!0===t.options.autoPlay&&(t.options.autoPlay=5e3),t.play(),t.$elem.find(".owl-wrapper").css("display","block"),t.$elem.is(":visible")?t.$elem.css("opacity",1):t.watchVisibility(),t.onstartup=!1,t.eachMoveUpdate(),"function"==typeof t.options.afterInit&&t.options.afterInit.apply(this,[t.$elem])},eachMoveUpdate:function(){var t=this;!0===t.options.lazyLoad&&t.lazyLoad(),!0===t.options.autoHeight&&t.autoHeight(),t.onVisibleItems(),"function"==typeof t.options.afterAction&&t.options.afterAction.apply(this,[t.$elem])},updateVars:function(){var t=this;"function"==typeof t.options.beforeUpdate&&t.options.beforeUpdate.apply(this,[t.$elem]),t.watchVisibility(),t.updateItems(),t.calculateAll(),t.updatePosition(),t.updateControls(),t.eachMoveUpdate(),"function"==typeof t.options.afterUpdate&&t.options.afterUpdate.apply(this,[t.$elem])},reload:function(){var t=this;c.setTimeout(function(){t.updateVars()},0)},watchVisibility:function(){var t=this;return!1===t.$elem.is(":visible")&&(t.$elem.css({opacity:0}),c.clearInterval(t.autoPlayInterval),c.clearInterval(t.checkVisible),void(t.checkVisible=c.setInterval(function(){t.$elem.is(":visible")&&(t.reload(),t.$elem.animate({opacity:1},200),c.clearInterval(t.checkVisible))},500)))},wrapItems:function(){var t=this;t.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),t.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),t.wrapperOuter=t.$elem.find(".owl-wrapper-outer"),t.$elem.css("display","block")},baseClass:function(){var t=this,e=t.$elem.hasClass(t.options.baseClass),i=t.$elem.hasClass(t.options.theme);e||t.$elem.addClass(t.options.baseClass),i||t.$elem.addClass(t.options.theme)},updateItems:function(){var t,e,i=this;if(!1===i.options.responsive)return!1;if(!0===i.options.singleItem)return i.options.items=i.orignalItems=1,i.options.itemsCustom=!1,i.options.itemsDesktop=!1,i.options.itemsDesktopSmall=!1,i.options.itemsTablet=!1,i.options.itemsTabletSmall=!1,i.options.itemsMobile=!1;if((t=l(i.options.responsiveBaseWidth).width())>(i.options.itemsDesktop[0]||i.orignalItems)&&(i.options.items=i.orignalItems),!1!==i.options.itemsCustom)for(i.options.itemsCustom.sort(function(t,e){return t[0]-e[0]}),e=0;e<i.options.itemsCustom.length;e+=1)i.options.itemsCustom[e][0]<=t&&(i.options.items=i.options.itemsCustom[e][1]);else t<=i.options.itemsDesktop[0]&&!1!==i.options.itemsDesktop&&(i.options.items=i.options.itemsDesktop[1]),t<=i.options.itemsDesktopSmall[0]&&!1!==i.options.itemsDesktopSmall&&(i.options.items=i.options.itemsDesktopSmall[1]),t<=i.options.itemsTablet[0]&&!1!==i.options.itemsTablet&&(i.options.items=i.options.itemsTablet[1]),t<=i.options.itemsTabletSmall[0]&&!1!==i.options.itemsTabletSmall&&(i.options.items=i.options.itemsTabletSmall[1]),t<=i.options.itemsMobile[0]&&!1!==i.options.itemsMobile&&(i.options.items=i.options.itemsMobile[1]);i.options.items>i.itemsAmount&&!0===i.options.itemsScaleUp&&(i.options.items=i.itemsAmount)},response:function(){var t,e,i=this;return!0===i.options.responsive&&(e=l(c).width(),i.resizer=function(){l(c).width()!==e&&(!1!==i.options.autoPlay&&c.clearInterval(i.autoPlayInterval),c.clearTimeout(t),t=c.setTimeout(function(){e=l(c).width(),i.updateVars()},i.options.responsiveRefreshRate))},void l(c).resize(i.resizer))},updatePosition:function(){this.jumpTo(this.currentItem),!1!==this.options.autoPlay&&this.checkAp()},appendItemsSizes:function(){var i=this,n=0,o=i.itemsAmount-i.options.items;i.$owlItems.each(function(t){var e=l(this);e.css({width:i.itemWidth}).data("owl-item",Number(t)),t%i.options.items!=0&&t!==o||o<t||(n+=1),e.data("owl-roundPages",n)})},appendWrapperSizes:function(){var t=this.$owlItems.length*this.itemWidth;this.$owlWrapper.css({width:2*t,left:0}),this.appendItemsSizes()},calculateAll:function(){this.calculateWidth(),this.appendWrapperSizes(),this.loops(),this.max()},calculateWidth:function(){this.itemWidth=Math.round(this.$elem.width()/this.options.items)},max:function(){var t=this,e=-1*(t.itemsAmount*t.itemWidth-t.options.items*t.itemWidth);return t.options.items>t.itemsAmount?(e=t.maximumItem=0,t.maximumPixels=0):(t.maximumItem=t.itemsAmount-t.options.items,t.maximumPixels=e),e},min:function(){return 0},loops:function(){var t,e,i=this,n=0,o=0;for(i.positionsInArray=[0],i.pagesInArray=[],t=0;t<i.itemsAmount;t+=1)o+=i.itemWidth,i.positionsInArray.push(-o),!0===i.options.scrollPerPage&&((e=l(i.$owlItems[t]).data("owl-roundPages"))!==n&&(i.pages
8InArray[n]=i.positionsInArray[t],n=e))},buildControls:function(){var t=this;!0!==t.options.navigation&&!0!==t.options.pagination||(t.owlControls=l('<div class="owl-controls"/>').toggleClass("clickable",!t.browser.isTouch).appendTo(t.$elem)),!0===t.options.pagination&&t.buildPagination(),!0===t.options.navigation&&t.buildButtons()},buildButtons:function(){var e=this,t=l('<div class="owl-buttons"/>');e.owlControls.append(t),e.buttonPrev=l("<div/>",{class:"owl-prev",html:e.options.navigationText[0]||""}),e.buttonNext=l("<div/>",{class:"owl-next",html:e.options.navigationText[1]||""}),t.append(e.buttonPrev).append(e.buttonNext),t.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(t){t.preventDefault()}),t.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(t){t.preventDefault(),l(this).hasClass("owl-next")?e.next():e.prev()})},buildPagination:function(){var e=this;e.paginationWrapper=l('<div class="owl-pagination"/>'),e.owlControls.append(e.paginationWrapper),e.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(t){t.preventDefault(),Number(l(this).data("owl-page"))!==e.currentItem&&e.goTo(Number(l(this).data("owl-page")),!0)})},updatePagination:function(){var t,e,i,n,o,a,s=this;if(!1===s.options.pagination)return!1;for(s.paginationWrapper.html(""),t=0,e=s.itemsAmount-s.itemsAmount%s.options.items,n=0;n<s.itemsAmount;n+=1)n%s.options.items==0&&(t+=1,e===n&&(i=s.itemsAmount-s.options.items),o=l("<div/>",{class:"owl-page"}),a=l("<span></span>",{text:!0===s.options.paginationNumbers?t:"",class:!0===s.options.paginationNumbers?"owl-numbers":""}),o.append(a),o.data("owl-page",e===n?i:n),o.data("owl-roundPages",t),s.paginationWrapper.append(o));s.checkPagination()},checkPagination:function(){var t=this;return!1!==t.options.pagination&&void t.paginationWrapper.find(".owl-page").each(function(){l(this).data("owl-roundPages")===l(t.$owlItems[t.currentItem]).data("owl-roundPages")&&(t.paginationWrapper.find(".owl-page").removeClass("active"),l(this).addClass("active"))})},checkNavigation:function(){var t=this;return!1!==t.options.navigation&&void(!1===t.options.rewindNav&&(0===t.currentItem&&0===t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.addClass("disabled")):0===t.currentItem&&0!==t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.removeClass("disabled")):t.currentItem===t.maximumItem?(t.buttonPrev.removeClass("disabled"),t.buttonNext.addClass("disabled")):0!==t.currentItem&&t.currentItem!==t.maximumItem&&(t.buttonPrev.removeClass("disabled"),t.buttonNext.removeClass("disabled"))))},updateControls:function(){var t=this;t.updatePagination(),t.checkNavigation(),t.owlControls&&(t.options.items>=t.itemsAmount?t.owlControls.hide():t.owlControls.show())},destroyControls:function(){this.owlControls&&this.owlControls.remove()},next:function(t){var e=this;if(e.isTransition)return!1;if(e.currentItem+=!0===e.options.scrollPerPage?e.options.items:1,e.currentItem>e.maximumItem+(!0===e.options.scrollPerPage?e.options.items-1:0)){if(!0!==e.options.rewindNav)return e.currentItem=e.maximumItem,!1;e.currentItem=0,t="rewind"}e.goTo(e.currentItem,t)},prev:function(t){var e=this;if(e.isTransition)return!1;if(!0===e.options.scrollPerPage&&0<e.currentItem&&e.currentItem<e.options.items?e.currentItem=0:e.currentItem-=!0===e.options.scrollPerPage?e.options.items:1,e.currentItem<0){if(!0!==e.options.rewindNav)return e.currentItem=0,!1;e.currentItem=e.maximumItem,t="rewind"}e.goTo(e.currentItem,t)},goTo:function(t,e,i){var n,o=this;return!o.isTransition&&("function"==typeof o.options.beforeMove&&o.options.beforeMove.apply(this,[o.$elem]),t>=o.maximumItem?t=o.maximumItem:t<=0&&(t=0),o.currentItem=o.owl.currentItem=t,!1!==o.options.transitionStyle&&"drag"!==i&&1===o.options.items&&!0===o.browser.support3d?(o.swapSpeed(0),!0===o.browser.support3d?o.transition3d(o.positionsInArray[t]):o.css2slide(o.positionsInArray[t],1),o.afterGo(),o.singleItemTransition(),!1):(n=o.positionsInArray[t],!0===o.browser.support3d?(!(o.isCss3Finish=!1)===e?(o.swapSpeed("paginationSpeed"),c.setTimeout(function(){o.isCss3Finish=!0},o.options.paginationSpeed)):"rewind"===e?(o.swapSpeed(o.options.rewindSpeed),c.setTimeout(function(){o.isCss3Finish=!0},o.options.rewindSpeed)):(o.swapSpeed("slideSpeed"),c.setTimeout(function(){o.isCss3Finish=!0},o.options.slideSpeed)),o.transition3d(n)):!0===e?o.css2slide(n,o.options.paginationSpeed):"rewind"===e?o.css2slide(n,o.options.rewindSpeed):o.css2slide(n,o.options.slideSpeed),void o.afterGo()))},jumpTo:function(t){var e=this;
8"function"==typeof e.options.beforeMove&&e.options.beforeMove.apply(this,[e.$elem]),t>=e.maximumItem||-1===t?t=e.maximumItem:t<=0&&(t=0),e.swapSpeed(0),!0===e.browser.support3d?e.transition3d(e.positionsInArray[t]):e.css2slide(e.positionsInArray[t],1),e.currentItem=e.owl.currentItem=t,e.afterGo()},afterGo:function(){var t=this;t.prevArr.push(t.currentItem),t.prevItem=t.owl.prevItem=t.prevArr[t.prevArr.length-2],t.prevArr.shift(0),t.prevItem!==t.currentItem&&(t.checkPagination(),t.checkNavigation(),t.eachMoveUpdate(),!1!==t.options.autoPlay&&t.checkAp()),"function"==typeof t.options.afterMove&&t.prevItem!==t.currentItem&&t.options.afterMove.apply(this,[t.$elem])},stop:function(){this.apStatus="stop",c.clearInterval(this.autoPlayInterval)},checkAp:function(){"stop"!==this.apStatus&&this.play()},play:function(){var t=this;return!(t.apStatus="play")!==t.options.autoPlay&&(c.clearInterval(t.autoPlayInterval),void(t.autoPlayInterval=c.setInterval(function(){t.next(!0)},t.options.autoPlay)))},swapSpeed:function(t){var e=this;"slideSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.slideSpeed)):"paginationSpeed"===t?e.$owlWrapper.css(e.addCssSpeed(e.options.paginationSpeed)):"string"!=typeof t&&e.$owlWrapper.css(e.addCssSpeed(t))},addCssSpeed:function(t){return{"-webkit-transition":"all "+t+"ms ease","-moz-transition":"all "+t+"ms ease","-o-transition":"all "+t+"ms ease",transition:"all "+t+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(t){return{"-webkit-transform":"translate3d("+t+"px, 0px, 0px)","-moz-transform":"translate3d("+t+"px, 0px, 0px)","-o-transform":"translate3d("+t+"px, 0px, 0px)","-ms-transform":"translate3d("+t+"px, 0px, 0px)",transform:"translate3d("+t+"px, 0px,0px)"}},transition3d:function(t){this.$owlWrapper.css(this.doTranslate(t))},css2move:function(t){this.$owlWrapper.css({left:t})},css2slide:function(t,e){var i=this;i.isCssFinish=!1,i.$owlWrapper.stop(!0,!0).animate({left:t},{duration:e||i.options.slideSpeed,complete:function(){i.isCssFinish=!0}})},checkBrowser:function(){var t,e,i,n,o="translate3d(0px, 0px, 0px)",a=u.createElement("div");a.style.cssText=" -moz-transform:"+o+"; -ms-transform:"+o+"; -o-transform:"+o+"; -webkit-transform:"+o+"; transform:"+o,t=/translate3d\(0px, 0px, 0px\)/g,i=null!==(e=a.style.cssText.match(t))&&1===e.length,n="ontouchstart"in c||c.navigator.msMaxTouchPoints,this.browser={support3d:i,isTouch:n}},moveEvents:function(){!1===this.options.mouseDrag&&!1===this.options.touchDrag||(this.gestures(),this.disabledEvents())},eventTypes:function(){var t=this,e=["s","e","x"];t.ev_types={},!0===t.options.mouseDrag&&!0===t.options.touchDrag?e=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:!1===t.options.mouseDrag&&!0===t.options.touchDrag?e=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:!0===t.options.mouseDrag&&!1===t.options.touchDrag&&(e=["mousedown.owl","mousemove.owl","mouseup.owl"]),t.ev_types.start=e[0],t.ev_types.move=e[1],t.ev_types.end=e[2]},disabledEvents:function(){this.$elem.on("dragstart.owl",function(t){t.preventDefault()}),this.$elem.on("mousedown.disableTextSelect",function(t){return l(t.target).is("input, textarea, select, option")})},gestures:function(){function o(t){if(void 0!==t.touches)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(void 0===t.touches){if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY};if(void 0===t.pageX)return{x:t.clientX,y:t.clientY}}}function a(t){"on"===t?(l(u).on(s.ev_types.move,e),l(u).on(s.ev_types.end,i)):"off"===t&&(l(u).off(s.ev_types.move),l(u).off(s.ev_types.end))}function e(t){var e,i,n=t.originalEvent||t||c.event;s.newPosX=o(n).x-r.offsetX,s.newPosY=o(n).y-r.offsetY,s.newRelativeX=s.newPosX-r.relativePos,"function"==typeof s.options.startDragging&&!0!==r.dragging&&0!==s.newRelativeX&&(r.dragging=!0,s.options.startDragging.apply(s,[s.$elem])),(8<s.newRelativeX||s.newRelativeX<-8)&&!0===s.browser.isTouch&&(void 0!==n.preventDefault?n.preventDefault():n.returnValue=!1,r.sliding=!0),(10<s.newPosY||s.newPosY<-10)&&!1===r.
8sliding&&l(u).off("touchmove.owl"),e=function(){return s.newRelativeX/5},i=function(){return s.maximumPixels+s.newRelativeX/5},s.newPosX=Math.max(Math.min(s.newPosX,e()),i()),!0===s.browser.support3d?s.transition3d(s.newPosX):s.css2move(s.newPosX)}function i(t){var e,i,n,o=t.originalEvent||t||c.event;o.target=o.target||o.srcElement,!(r.dragging=!1)!==s.browser.isTouch&&s.$owlWrapper.removeClass("grabbing"),s.newRelativeX<0?s.dragDirection=s.owl.dragDirection="left":s.dragDirection=s.owl.dragDirection="right",0!==s.newRelativeX&&(e=s.getNewPosition(),s.goTo(e,!1,"drag"),r.targetElement===o.target&&!0!==s.browser.isTouch&&(l(o.target).on("click.disable",function(t){t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault(),l(t.target).off("click.disable")}),n=(i=l._data(o.target,"events").click).pop(),i.splice(0,0,n))),a("off")}var s=this,r={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};s.isCssFinish=!0,s.$elem.on(s.ev_types.start,".owl-wrapper",function(t){var e,i=t.originalEvent||t||c.event;if(3===i.which)return!1;if(!(s.itemsAmount<=s.options.items)){if(!1===s.isCssFinish&&!s.options.dragBeforeAnimFinish)return!1;if(!1===s.isCss3Finish&&!s.options.dragBeforeAnimFinish)return!1;!1!==s.options.autoPlay&&c.clearInterval(s.autoPlayInterval),!0===s.browser.isTouch||s.$owlWrapper.hasClass("grabbing")||s.$owlWrapper.addClass("grabbing"),s.newPosX=0,s.newRelativeX=0,l(this).css(s.removeTransition()),e=l(this).position(),r.relativePos=e.left,r.offsetX=o(i).x-e.left,r.offsetY=o(i).y-e.top,a("on"),r.sliding=!1,r.targetElement=i.target||i.srcElement}})},getNewPosition:function(){var t=this,e=t.closestItem();return e>t.maximumItem?(t.currentItem=t.maximumItem,e=t.maximumItem):0<=t.newPosX&&(e=0,t.currentItem=0),e},closestItem:function(){var i=this,n=!0===i.options.scrollPerPage?i.pagesInArray:i.positionsInArray,o=i.newPosX,a=null;return l.each(n,function(t,e){o-i.itemWidth/20>n[t+1]&&o-i.itemWidth/20<e&&"left"===i.moveDirection()?(a=e,!0===i.options.scrollPerPage?i.currentItem=l.inArray(a,i.positionsInArray):i.currentItem=t):o+i.itemWidth/20<e&&o+i.itemWidth/20>(n[t+1]||n[t]-i.itemWidth)&&"right"===i.moveDirection()&&(!0===i.options.scrollPerPage?(a=n[t+1]||n[n.length-1],i.currentItem=l.inArray(a,i.positionsInArray)):(a=n[t+1],i.currentItem=t+1))}),i.currentItem},moveDirection:function(){var t;return this.newRelativeX<0?(t="right",this.playDirection="next"):(t="left",this.playDirection="prev"),t},customEvents:function(){var i=this;i.$elem.on("owl.next",function(){i.next()}),i.$elem.on("owl.prev",function(){i.prev()}),i.$elem.on("owl.play",function(t,e){i.options.autoPlay=e,i.play(),i.hoverStatus="play"}),i.$elem.on("owl.stop",function(){i.stop(),i.hoverStatus="stop"}),i.$elem.on("owl.goTo",function(t,e){i.goTo(e)}),i.$elem.on("owl.jumpTo",function(t,e){i.jumpTo(e)})},stopOnHover:function(){var t=this;!0===t.options.stopOnHover&&!0!==t.browser.isTouch&&!1!==t.options.autoPlay&&(t.$elem.on("mouseover",function(){t.stop()}),t.$elem.on("mouseout",function(){"stop"!==t.hoverStatus&&t.play()}))},lazyLoad:function(){var t,e,i,n,o=this;if(!1===o.options.lazyLoad)return!1;for(t=0;t<o.itemsAmount;t+=1)"loaded"!==(e=l(o.$owlItems[t])).data("owl-loaded")&&(i=e.data("owl-item"),"string"==typeof(n=e.find(".lazyOwl")).data("src")?(void 0===e.data("owl-loaded")&&(n.hide(),e.addClass("loading").data("owl-loaded","checked")),(!0!==o.options.lazyFollow||i>=o.currentItem)&&i<o.currentItem+o.options.items&&n.length&&o.lazyPreload(e,n)):e.data("owl-loaded","loaded"))},lazyPreload:function(t,e){function i(){t.data("owl-loaded","loaded").removeClass("loading"),e.removeAttr("data-src"),"fade"===o.options.lazyEffect?e.fadeIn(400):e.show(),"function"==typeof o.options.afterLazyLoad&&o.options.afterLazyLoad.apply(this,[o.$elem])}var n,o=this,a=0;"DIV"===e.prop("tagName")?(e.css("background-image","url("+e.data("src")+")"),n=!0):e[0].src=e.data("src"),function t(){a+=1,o.completeImg(e.get(0))||!0===n?i():a<=100?c.setTimeout(t,100):i()}()},autoHeight:function(){function e(){var t=l(n.$owlItems[n.currentItem]).height();n.wrapperOuter.css("height",t+"px"),n.wrapperOuter.hasClass("autoHeight")||c.setTimeout(function(){n.wrapperOuter.addClass("autoHeight")},0)}var i,n=this,o=l(n.$owlItems[n.currentItem]).find("img");
8void 0!==o.get(0)?(i=0,function t(){i+=1,n.completeImg(o.get(0))?e():i<=100?c.setTimeout(t,100):n.wrapperOuter.css("height","")}()):e()},completeImg:function(t){return!!t.complete&&("undefined"===typeof t.naturalWidth||0!==t.naturalWidth)},onVisibleItems:function(){var t,e=this;for(!0===e.options.addClassActive&&e.$owlItems.removeClass("active"),e.visibleItems=[],t=e.currentItem;t<e.currentItem+e.options.items;t+=1)e.visibleItems.push(t),!0===e.options.addClassActive&&l(e.$owlItems[t]).addClass("active");e.owl.visibleItems=e.visibleItems},transitionTypes:function(t){this.outClass="owl-"+t+"-out",this.inClass="owl-"+t+"-in"},singleItemTransition:function(){var t,e=this,i=e.outClass,n=e.inClass,o=e.$owlItems.eq(e.currentItem),a=e.$owlItems.eq(e.prevItem),s=Math.abs(e.positionsInArray[e.currentItem])+e.positionsInArray[e.prevItem],r=Math.abs(e.positionsInArray[e.currentItem])+e.itemWidth/2,l="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";e.isTransition=!0,e.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":r+"px","-moz-perspective-origin":r+"px","perspective-origin":r+"px"}),a.css((t=s,{position:"relative",left:t+"px"})).addClass(i).on(l,function(){e.endPrev=!0,a.off(l),e.clearTransStyle(a,i)}),o.addClass(n).on(l,function(){e.endCurrent=!0,o.off(l),e.clearTransStyle(o,n)})},clearTransStyle:function(t,e){var i=this;t.css({position:"",left:""}).removeClass(e),i.endPrev&&i.endCurrent&&(i.$owlWrapper.removeClass("owl-origin"),i.endPrev=!1,i.endCurrent=!1,i.isTransition=!1)},owlStatus:function(){var t=this;t.owl={userOptions:t.userOptions,baseElement:t.$elem,userItems:t.$userItems,owlItems:t.$owlItems,currentItem:t.currentItem,prevItem:t.prevItem,visibleItems:t.visibleItems,isTouch:t.browser.isTouch,browser:t.browser,dragDirection:t.dragDirection}},clearEvents:function(){this.$elem.off(".owl owl mousedown.disableTextSelect"),l(u).off(".owl owl"),l(c).off("resize",this.resizer)},unWrap:function(){var t=this;0!==t.$elem.children().length&&(t.$owlWrapper.unwrap(),t.$userItems.unwrap().unwrap(),t.owlControls&&t.owlControls.remove()),t.clearEvents(),t.$elem.attr("style",t.$elem.data("owl-originalStyles")||"").attr("class",t.$elem.data("owl-originalClasses"))},destroy:function(){this.stop(),c.clearInterval(this.checkVisible),this.unWrap(),this.$elem.removeData()},reinit:function(t){var e=l.extend({},this.userOptions,t);this.unWrap(),this.init(e,this.$elem)},addItem:function(t,e){var i,n=this;return!!t&&(0===n.$elem.children().length?(n.$elem.append(t),n.setVars(),!1):(n.unWrap(),(i=void 0===e||-1===e?-1:e)>=n.$userItems.length||-1===i?n.$userItems.eq(-1).after(t):n.$userItems.eq(i).before(t),void n.setVars()))},removeItem:function(t){var e;return 0!==this.$elem.children().length&&(e=void 0===t||-1===t?-1:t,this.unWrap(),this.$userItems.eq(e).remove(),void this.setVars())}};l.fn.owlCarousel=function(e){return this.each(function(){if(!0===l(this).data("owl-init"))return!1;l(this).data("owl-init",!0);var t=Object.create(i);t.init(e,this),l.data(this,"owlCarousel",t)})},l.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:c,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document),function(){var e,i,n=function(t,e){return function(){return t.apply(e,arguments)}};e=function(){function t(){}return t.prototype.extend=function(t,e){var i,n;for(i in t)null!=(n=t[i])&&(e[i]=n);return e},t.prototype.isMobile=function(t){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)},t}(),i=this.WeakMap||(i=function(){function t(){this.keys=[],this.values=[]}return t.prototype.get=function(t){var e,i,n,o;for(e=i=0,n=(o=this.keys).length;i<n;e=++i)if(o[e]===t)return this.values[e]},t.prototype.set=function(t,e){var i,n,o,a;for(i=n=0,o=(a=this.keys).length;n<o;i=++n)if(a[i]===t)return void(this.values[i]=e);return this.keys.push(t),this.values.push(e)},t}()),this.WOW=function(){function t(t){null==t&&(t={}),this.scrollCallback=n(this.scrollCallback,this),this.scrollHandler=n(this.scrollHandler,this),this.start=n(this.start,this),this.scrolled=!0,this.config=this.util().extend(t,this.defaults),this.animationNameCache=new i}return t.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0},t.prototype.init=function(){var t;return this.element=window.document.documentElement,"interactive"===(t=document.readyState)||"complete"===t?this.start():document.addEventListener("DOMContentLoaded",this.start)},t.prototype.start=function(){var t,e,i,n;if(this.boxes=this.element.getElementsByClassName(this.config.boxClass),this.boxes.length){if(this.disabled())return this.resetStyle();for(e=0,i=(n=this.boxes).length;e<i;e++)t=n[e],this.applyStyle(t,!0);return window.addEventListener("scroll",this.scrollHandler,!1),window.addEventListener("resize",this.scrollHandler,!1),this.interval=setInterval(this.scrollCallback,50)}},t.prototype.stop=function(){return window.removeEventListener("scroll",this.scrollHandler,!1),window.removeEventListener("resize",this.scrollHandler,!1),null!=this.interval?clearInterval(this.interval):void 0},t.prototype.show=function(t){return this.applyStyle(t),t.className=t.className+" "+this.config.animateClass},t.prototype.applyStyle=function(t,e){var i,n,o,a;return n=t.getAttribute("data-wow-duration"),i=t.getAttribute("data-wow-delay"),o=t.getAttribute("data-wow-iteration"),this.animate((a=this,function(){return a.customStyle(t,e,n,i,o)}))},t.prototype.animate="requestAnimationFrame"in window?function(t){return window.requestAnimationFrame(t)}:function(t){return t()},t.prototype.resetStyle=function(){var t,e,i,n,o;for(o=[],e=0,i=(n=this.boxes).length;e<i;e++)t=n[e],o.push(t.setAttribute("style","visibility: visible;"));return o}
8,t.prototype.customStyle=function(t,e,i,n,o){return e&&this.cacheAnimationName(t),t.style.visibility=e?"hidden":"visible",i&&this.vendorSet(t.style,{animationDuration:i}),n&&this.vendorSet(t.style,{animationDelay:n}),o&&this.vendorSet(t.style,{animationIterationCount:o}),this.vendorSet(t.style,{animationName:e?"none":this.cachedAnimationName(t)}),t},t.prototype.vendors=["moz","webkit"],t.prototype.vendorSet=function(o,t){var a,s,r,e;for(a in e=[],t)s=t[a],o[""+a]=s,e.push(function(){var t,e,i,n;for(n=[],t=0,e=(i=this.vendors).length;t<e;t++)r=i[t],n.push(o[""+r+a.charAt(0).toUpperCase()+a.substr(1)]=s);return n}.call(this));return e},t.prototype.vendorCSS=function(t,e){var i,n,o,a,s,r;for(i=(n=window.getComputedStyle(t)).getPropertyCSSValue(e),a=0,s=(r=this.vendors).length;a<s;a++)o=r[a],i=i||n.getPropertyCSSValue("-"+o+"-"+e);return i},t.prototype.animationName=function(e){var i;try{i=this.vendorCSS(e,"animation-name").cssText}catch(t){i=window.getComputedStyle(e).getPropertyValue("animation-name")}return"none"===i?"":i},t.prototype.cacheAnimationName=function(t){return this.animationNameCache.set(t,this.animationName(t))},t.prototype.cachedAnimationName=function(t){return this.animationNameCache.get(t)},t.prototype.scrollHandler=function(){return this.scrolled=!0},t.prototype.scrollCallback=function(){var o;return this.scrolled&&(this.scrolled=!1,this.boxes=function(){var t,e,i,n;for(n=[],t=0,e=(i=this.boxes).length;t<e;t++)(o=i[t])&&(this.isVisible(o)?this.show(o):n.push(o));return n}.call(this),!this.boxes.length)?this.stop():void 0},t.prototype.offsetTop=function(t){for(var e;void 0===t.offsetTop;)t=t.parentNode;for(e=t.offsetTop;t=t.offsetParent;)e+=t.offsetTop;return e},t.prototype.isVisible=function(t){var e,i,n,o,a;return i=t.getAttribute("data-wow-offset")||this.config.offset,o=(a=window.pageYOffset)+this.element.clientHeight-i,e=(n=this.offsetTop(t))+t.clientHeight,n<=o&&a<=e},t.prototype.util=function(){return this._util||(this._util=new e)},t.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},t}()}.call(this),function(t,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Headroom=e()}(this,function(){"use strict";function t(t){this.callback=t,this.ticking=!1}function n(t,e){var i;e=function t(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var i,n,o,a=e||{};for(n=1;n<arguments.length;n++){var s=arguments[n]||{};for(i in s)"object"!=typeof a[i]||(o=a[i])&&"undefined"!=typeof window&&(o===window||o.nodeType)?a[i]=a[i]||s[i]:a[i]=t(a[i],s[i])}return a}(e,n.options),this.lastKnownScrollY=0,this.elem=t,this.tolerance=(i=e.tolerance)===Object(i)?i:{down:i,up:i},this.classes=e.classes,this.offset=e.offset,this.scroller=e.scroller,this.initialised=!1,this.onPin=e.onPin,this.onUnpin=e.onUnpin,this.onTop=e.onTop,this.onNotTop=e.onNotTop,this.onBottom=e.onBottom,this.onNotBottom=e.onNotBottom}var e={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,t.prototype={constructor:t,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},n.prototype={constructor:n,init:function(){return n.cutsTheMustard?(this.debouncer=new t(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this):void 0},destroy:function(){var t=this.classes;this.initialised=!1,this.elem.classList.remove(t.unpinned,t.pinned,t.top,t.notTop,t.initial),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var t=this.elem.classList,e=this.classes;!t.contains(e.pinned)&&t.contains(e.unpinned)||(t.add(e.unpinned),t.remove(e.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var t=this.elem.classList,e=this.classes;t.contains(e.unpinned)&&(t.remove(e.unpinned),t.add(e.pinned),this.onPin&&this.onPin.call(this))},top:function(){var t=this.elem.classList,e=this.classes;t.contains(e.top)||(t.add(e.top),t.remove(e.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var t=this.elem.classList,e=this.classes;t.contains(e.notTop)||(t.add(e.notTop),t.remove(e.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var t=this.elem.classList,e=this.classes;t.contains(e.bottom)||(t.add(e.bottom),t.remove(e.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var t=this.elem.classList,e=this.classes;t.contains(e.notBottom)||(t.add(e.notBottom),t.remove(e.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop}
8,getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(t){return Math.max(t.offsetHeight,t.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var t=document.body,e=document.documentElement;return Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,t.clientHeight,e.clientHeight)},getElementHeight:function(t){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(t){var e=t<0,i=t+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return e||i},toleranceExceeded:function(t,e){return Math.abs(t-this.lastKnownScrollY)>=this.tolerance[e]},shouldUnpin:function(t,e){var i=t>this.lastKnownScrollY,n=t>=this.offset;return i&&n&&e},shouldPin:function(t,e){var i=t<this.lastKnownScrollY,n=t<=this.offset;return i&&e||n},update:function(){var t=this.getScrollY(),e=t>this.lastKnownScrollY?"down":"up",i=this.toleranceExceeded(t,e);this.isOutOfBounds(t)||(t<=this.offset?this.top():this.notTop(),t+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(t,i)?this.unpin():this.shouldPin(t,i)&&this.pin(),this.lastKnownScrollY=t)}},n.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},n.cutsTheMustard=void 0!==e&&e.rAF&&e.bind&&e.classList,n}),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():e()}(0,function(){function b(t){return t.replace(/<b[^>]*>(.*?)<\/b>/gi,function(t,e){return e}).replace(/class="(?!(tco-hidden|tco-display|tco-ellipsis))+.*?"|data-query-source=".*?"|dir=".*?"|rel=".*?"/gi,"")}function x(t){for(var e=t.getElementsByTagName("a"),i=e.length-1;0<=i;i--)e[i].setAttribute("target","_blank")}function C(t,e){for(var i=[],n=new RegExp("(^| )"+e+"( |$)"),o=t.getElementsByTagName("*"),a=0,s=o.length;a<s;a++)n.test(o[a].className)&&i.push(o[a]);return i}function k(t){if(void 0!==t&&0<=t.innerHTML.indexOf("data-srcset")){var e=t.innerHTML.match(/data-srcset="([A-z0-9%_\.-]+)/i)[0];return decodeURIComponent(e).split('"')[1]}}var T="",I=20,S=!0,D=[],M=!1,_=!0,E=!0,P=null,L=!0,A=!0,O=null,N=!0,z=!1,j=!0,W=!0,F=!1,i=null,H={fetch:function(t){if(void 0===t.maxTweets&&(t.maxTweets=20),void 0===t.enableLinks&&(t.enableLinks=!0),void 0===t.showUser&&(t.showUser=!0),void 0===t.showTime&&(t.showTime=!0),void 0===t.dateFunction&&(t.dateFunction="default"),void 0===t.showRetweet&&(t.showRetweet=!0),void 0===t.customCallback&&(t.customCallback=null),void 0===t.showInteraction&&(t.showInteraction=!0),void 0===t.showImages&&(t.showImages=!1),void 0===t.linksInNewWindow&&(t.linksInNewWindow=!0),void 0===t.showPermalinks&&(t.showPermalinks=!0),void 0===t.dataOnly&&(t.dataOnly=!1),M)D.push(t);else{M=!0,T=t.domId,I=t.maxTweets,S=t.enableLinks,E=t.showUser,_=t.showTime,A=t.showRetweet,P=t.dateFunction,O=t.customCallback,N=t.showInteraction,z=t.showImages,j=t.linksInNewWindow,W=t.showPermalinks,F=t.dataOnly;var e=document.getElementsByTagName("head")[0];null!==i&&e.removeChild(i),(i=document.createElement("script")).type="text/javascript",i.src="https://cdn.syndication.twimg.com/widgets/timelines/"+t.id+"?&lang="+(t.lang||"en")+"&callback=twitterFetcher.callback&suppress_response_codes=true&rnd="+Math.random(),e.appendChild(i)}},callback:function(t){function e(t){var e=t.getElementsByTagName("img")[0];return e.src=e.getAttribute("data-src-2x"),t}var i=document.createElement("div");i.innerHTML=t.body,void 0===i.getElementsByClassName&&(L=!1);var n=[],o=[],a=[],s=[],r=[],l=[],c=[],u=0;if(L)for(var d=i.getElementsByClassName("timeline-Tweet");u<d.length;)0<d[u].getElementsByClassName("timeline-Tweet-retweetCredit").length?r.push(!0):r.push(!1),(!r[u]||r[u]&&A)&&(n.push(d[u].getElementsByClassName("timeline-Tweet-text")[0]),l.push(d[u].getAttribute("data-tweet-id")),o.push(e(d[u].getElementsByClassName("timeline-Tweet-author")[0])),a.push(d[u].getElementsByClassName("dt-updated")[0]),c.push(d[u].getElementsByClassName("timeline-Tweet-timestamp")[0]),void 0!==d[u].getElementsByClassName("timeline-Tweet-media")[0]?s.push(d[u].getElementsByClassName("timeline-Tweet-media")[0]):s.push(void 0)),u++;else for(d=C(i,"timeline-Tweet");u<d.length;)0<C(d[u],"timeline-Tweet-retweetCredit").length?r.push(!0):r.push(!1),(!r[u]||r[u]&&A)&&(n.push(C(d[u],"timeline-Tweet-text")[0]),l.push(d[u].getAttribute("data-tweet-id")),o.push(e(C(d[u],"timeline-Tweet-author")[0])),a.push(C(d[u],"dt-updated")[0]),c.push(C(d[u],"timeline-Tweet-timestamp")[0]),void 0!==C(d[u],"timeline-Tweet-media")[0]?s.push(C(d[u],"timeline-Tweet-media")[0]):s.push(void 0)),u++;n.length>I&&(n.splice(I,n.length-I),o.splice(I,o.length-I),a.splice(I,a.length-I),r.splice(I,r.length-I),s.splice(I,s.length-I),c.splice(I,c.length-I));var p=[],h=(u=n.length,0);if(F)for(;h<u;)p.push({tweet:n[h].innerHTML,author:o[h].innerHTML,time:a[h].textContent,image:k(s[h]),rt:r[h],tid:l[h],permalinkURL:void 0===c[h]?"":c[h].href}),h++;else for(;h<u;){if("string"!=typeof P){var f=a[h].getAttribute("datetime"),m=new Date(a[h].getAttribute("datetime").replace(/-/g,"/").replace("T"," ").split("+")[0]),g=P(m,f);if(a[h].setAttribute("aria-label",g),n[h].textContent)if(L)a[h].textContent=g;else{var v=document.createElement("p"),y=document.createTextNode(g);v.appendChild(y),v.setAttribute("aria-label",g),a[h]=v}else a[h].textContent=g}var w="";S?(j&&(x(n[h]),E&&x(o[h])),E&&(w+='<div class="user">'+b(o[h].innerHTML)+"</div>"),w+='<p class="tweet">'+b(n[h].innerHTML)+"</p>",_&&(w+=W?'<p class="timePosted"><a href="'+c[h]+'">'+a[h].getAttribute("aria-label")+"</a></p>":'<p class="timePosted">'+a[h].getAttribute("aria-label")+"</p>")):(n[h].textContent,E&&(w+='<p class="user">'+o[h].textContent+"</p>"),w+='<p class="tweet">'+n[h].textContent+"</p>",_&&(w+='<p class="timePosted">'+a[h].textContent+"</p>")),N&&(w+='<p class="interact"><a href="https://twitter.com/intent/tweet?in_reply_to='+l[h]+'" class="twitter_reply_icon"'+(j?' target="_blank">':">")+'Reply</a><a href="https://twitter.com/intent/retweet?tweet_id='+l[h]+'" class="twitter_retweet_icon"'+(j?' target="_blank">':">")+'Retweet</a><a href="https://twitter.com/intent/favorite?tweet_id='+l[h]+'" class="twitter_fav_icon"'+(j?' target="_blank">':">")+"Favorite</a></p>"),z&&void 0!==s[h]&&(w+='<div class="media"><img src="'+k(s[h])+'" alt="Image from tweet" /></div>'),p.push(w),h++}(function(t){if(null===O){for(var e=t.length,i=0,n=document.getElementById(T),o="<ul>";i<e;)o+="<li>"+t[i]+"</li>",i++;o+="</ul>",n.innerHTML=o}else O(t)})(p),M=!1,0<D.length&&(H.fetch(D[0]),D.splice(0,1))}};return window.twitterFetcher=H});var config8={id:"345170787868762112",dataOnly:!0,customCallback:populateTpl};twitterFetcher.fetch(config8),function(){function a(){w.keyboardSupport&&e("keydown",t)}function s(){if(document.body){var t=document.body,e=document.documentElement,i=window.innerHeight,n=t.scrollHeight;if(m=0<=document.compatMode.indexOf("CSS")?e:t,d=t,a(),f=!0,top!=self)h=!0;else if(i<n&&(t.offsetHeight<=i||e.offsetHeight<=i)&&(e.style.height="auto",m.offsetHeight<=i)){var o=document.createElement("div");o.style.clear="both",t.appendChild(o)}
8w.fixedBackground||p||(t.style.backgroundAttachment="scroll",e.style.backgroundAttachment="scroll")}}function l(p,h,f,m){if(m||(m=1e3),i=0<(i=h)?1:-1,n=0<(n=f)?1:-1,b.x===i&&b.y===n||(b.x=i,b.y=n,x=[],k=0),1!=w.accelerationMax){var t=+new Date-k;if(t<w.accelerationDelta){var e=(1+30/t)/2;1<e&&(e=Math.min(e,w.accelerationMax),h*=e,f*=e)}k=+new Date}var i,n;if(x.push({x:h,y:f,lastX:h<0?.99:-.99,lastY:f<0?.99:-.99,start:+new Date}),!C){var g=p===document.body,v=function(t){for(var e=+new Date,i=0,n=0,o=0;o<x.length;o++){var a=x[o],s=e-a.start,r=s>=w.animationTime,l=r?1:s/w.animationTime;w.pulseAlgorithm&&(l=1<=(d=l)?1:d<=0?0:(1==w.pulseNormalize&&(w.pulseNormalize/=y(1)),y(d)));var c=a.x*l-a.lastX>>0,u=a.y*l-a.lastY>>0;i+=c,n+=u,a.lastX+=c,a.lastY+=u,r&&(x.splice(o,1),o--)}var d;g?window.scrollBy(i,n):(i&&(p.scrollLeft+=i),n&&(p.scrollTop+=n)),h||f||(x=[]),x.length?D(v,p,m/w.frameRate+1):C=!1};D(v,p,0),C=!0}}function t(t){var e=t.target,i=t.ctrlKey||t.altKey||t.metaKey||t.shiftKey&&t.keyCode!==v.spacebar;if(/input|textarea|select|embed/i.test(e.nodeName)||e.isContentEditable||t.defaultPrevented||i)return!0;if(u(e,"button")&&t.keyCode===v.spacebar)return!0;var n=0,o=0,a=c(d),s=a.clientHeight;switch(a==document.body&&(s=window.innerHeight),t.keyCode){case v.up:o=-w.arrowScroll;break;case v.down:o=w.arrowScroll;break;case v.spacebar:o=-(t.shiftKey?1:-1)*s*.9;break;case v.pageup:o=.9*-s;break;case v.pagedown:o=.9*s;break;case v.home:o=-a.scrollTop;break;case v.end:var r=a.scrollHeight-a.scrollTop-s;o=0<r?r+10:0;break;case v.left:n=-w.arrowScroll;break;case v.right:n=w.arrowScroll;break;default:return!0}l(a,n,o),t.preventDefault()}function o(t,e){for(var i=t.length;i--;)T[S(t[i])]=e;return e}function c(t){var e=[],i=m.scrollHeight;do{var n=T[S(t)];if(n)return o(e,n);if(e.push(t),i===t.scrollHeight){if(!h||m.clientHeight+10<i)return o(e,document.body)}else if(t.clientHeight+10<t.scrollHeight&&(overflow=getComputedStyle(t,"").getPropertyValue("overflow-y"),"scroll"===overflow||"auto"===overflow))return o(e,t)}while(t=t.parentNode)}function e(t,e,i){window.addEventListener(t,e,i||!1)}function u(t,e){return(t.nodeName||"").toLowerCase()===e.toLowerCase()}function r(t,e){return Math.floor(t/e)==t/e}function y(t){var e,i;return(t*=w.pulseScale)<1?e=t-(1-Math.exp(-t)):(t-=1,e=(i=Math.exp(-1))+(1-Math.exp(-t))*(1-i)),e*w.pulseNormalize}var d,i={frameRate:150,animationTime:500,stepSize:150,pulseAlgorithm:!0,pulseScale:6,pulseNormalize:1,accelerationDelta:20,accelerationMax:1,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!0,fixedBackground:!0,excluded:""},w=i,p=!1,h=!1,b={x:0,y:0},f=!1,m=document.documentElement,g=[120,120,120],v={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},x=(w=i,[]),C=!1,k=+new Date,T={};setInterval(function(){T={}},1e4);var I,n,S=(n=0,function(t){return t.uniqueID||(t.uniqueID=n++)}),D=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t,e,i){window.setTimeout(t,i||1e3/60)},M=/chrome/i.test(window.navigator.userAgent);"onmousewheel"in document&&M&&(e("mousedown",function(t){d=t.target}),e("mousewheel",function(t){f||s();var e=t.target,i=c(e);if(!i||t.defaultPrevented||u(d,"embed")||u(e,"embed")&&/\.pdf/i.test(e.src))return!0;var n=t.wheelDeltaX||0,o=t.wheelDeltaY||0;return n||o||(o=t.wheelDelta||0),!(w.touchpadSupport||!function(t){if(t){t=Math.abs(t),g.push(t),g.shift(),clearTimeout(I);var e=g[0]==g[1]&&g[1]==g[2],i=r(g[0],120)&&r(g[1],120)&&r(g[2],120);return!(e||i)}}(o))||(1.2<Math.abs(n)&&(n*=w.stepSize/120),1.2<Math.abs(o)&&(o*=w.stepSize/120),l(i,-n,-o),void t.preventDefault())}),e("load",s))}(),function(t){"object"==typeof exports&&exports&&"object"==typeof module&&module&&module.exports===exports?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(b){function l(t){var e=t[0];return 0<e.offsetWidth&&0<e.offsetHeight}function s(t){if(t.minTime&&(t.minTime=_(t.minTime)),t.maxTime&&(t.maxTime=_(t.maxTime)),t.durationTime&&"function"!=typeof t.durationTime&&(t.durationTime=_(t.durationTime)),"now"==t.scrollDefault)t.scrollDefault=function(){return t.roundingFunction(_(new Date),t)};else if(t.scrollDefault&&"function"!=typeof t.scrollDefault){var e=t.scrollDefault;t.scrollDefault=function(){return t.roundingFunction(_(e),t)}}else t.minTime&&(t.scrollDefault=function(){return t.roundingFunction(t.minTime,t)});if("string"===b.type(t.timeFormat)&&t.timeFormat.match(/[gh]/)&&(t._twelveHourTime=!0),!1===t.showOnFocus&&-1!=t.showOn.indexOf("focus")&&t.showOn.splice(t.showOn.indexOf("focus"),1),0<t.disableTimeRanges.length){for(var i in t.disableTimeRanges)t.disableTimeRanges[i]=[_(t.disableTimeRanges[i][0]),_(t.disableTimeRanges[i][1])];t.disableTimeRanges=t.disableTimeRanges.sort(function(t,e){return t[0]-e[0]});for(i=t.disableTimeRanges.length-1;0<i;i--)t.disableTimeRanges[i][0]<=t.disableTimeRanges[i-1][1]&&(t.disableTimeRanges[i-1]=[Math.min(t.disableTimeRanges[i][0],t.disableTimeRanges[i-1][0]),Math.max(t.disableTimeRanges[i][1],t.disableTimeRanges[i-1][1])],t.disableTimeRanges.splice(i,1))}return t}function c(e){var t=e.data("timepicker-settings"),i=e.data("timepicker-list");if(i&&i.length&&(i.remove(),e.data("timepicker-list",!1)),t.useSelect)var n=i=b("<select />",{class:"ui-timepicker-select"});else i=b("<ul />",{class:"ui-timepicker-list"}),(n=b("<div />",{class:"ui-timepicker-wrapper",tabindex:-1})).css({display:"none",position:"absolute"}).append(i);if(t.noneOption)if(!0===t.noneOption&&(t.noneOption=t.useSelect?"Time...":"None"),b.isArray(t.noneOption)){for(var o in t.noneOption)if(parseInt(o,10)==o){var a=x(t.noneOption[o],t.useSelect);i.append(a)}}else{a=x(t.noneOption,t.useSelect);i.append(a)}t.className&&n.addClass(t.className),null===t.minTime&&null===t.durationTime||!t.showDuration||("function"==typeof t.step||t.step,n.addClass("ui-timepicker-with-duration"),n.addClass("ui-timepicker-step-"+t.step));var s=t.minTime;"function"==typeof t.durationTime?s=_(t.durationTime()):null!==t.durationTime&&(s=t.durationTime);var r=null!==t.minTime?t.minTime:0,l=null!==t.maxTime?t.maxTime:r+E-1;l<r&&(l+=E),l===E-1&&"string"===b.type(t.timeFormat)&&t.show2400&&(l=E);var c=t.disableTimeRanges,u=0,d=c.length,p=t.step;"function"!=typeof p&&(p=function(){return t.step});o=r;for(var h=0;o<=l;o+=60*p(++h)){var f,m=o,g=M(m,t);if(t.useSelect)(f=b("<option />",{value:g})).text(g);else(f=b("<li />")).addClass(m%86400<43200?"ui-timepicker-am":"ui-timepicker-pm"),f.data("time",m<=86400?m:m%86400),f.text(g);if((null!==t.minTime||null!==t.durationTime)&&t.showDuration){var v=D(o-s,t.step);if(t.useSelect)f.text(f.text()+" ("+v+")");else{var y=b("<span />",{class:"ui-timepicker-duration"});y.text(" ("+v+")"),f.append(y)}}u<d&&(m>=c[u][1]&&(u+=1),c[u]&&m>=c[u][0]&&m<c[u][1]&&(t.useSelect?f.prop("disabled",!0):f.addClass("ui-timepicker-disabled"))),i.append(f)}if(n.data("timepicker-input",e),e.data("timepicker-list",n),t.useSelect)e.val()&&i.val(C(_(e.val()),t)),i.on("focus",function(){b(this).data("timepicker-input").trigger("showTimepicker")}),i.on("blur",function(){b(this).data("timepicker-input").trigger("hideTimepicker")}),i.on("change",function(){I(e,b(this).val(),"select")}),I(e,i.val(),"initial"),e.hide().after(i);else{var w=t.appendTo;"string"==typeof w?w=b(w):"function"==typeof w&&(w=w(e)),w.append(n),T(e,i),i.on("mousedown click","li",function(t){e.off("focus.timepicker"),e.on("focus.timepicker-ie-hack",function(){e.off("focus.timepicker-ie-hack"),e.on("focus.timepicker",P.show)}),k(e)||e[0].focus(),i.find("li").removeClass("ui-timepicker-selected"),b(this).addClass("ui-timepicker-selected"),S(e)&&(e.trigger("hideTimepicker"),i.on("mouseup.timepicker click.timepicker","li",function(t){i.off("mouseup.timepicker click.timepicker"),n.hide()}))})}}function x(t,e){var i,n,o;return"object"==typeof t?(i=t.label,n=t.className,o=t.value):"string"==typeof t?i=t:b.error("Invalid noneOption value"),e?b("<option />",{value:o,class:n,text:i}):b("<li />",{class:n,text:i}).data("time",String(o))}function C(t,e){return null!==(t=e.roundingFunction(t,e))?M(t,e):void 0}function u(t){if(t.target!=window){var e=b(t.target);e.closest(".ui-timepicker-input").length||e.closest(".ui-timepicker-wrapper").length||(P.hide(),b(document).unbind(".ui-timepicker"),b(window).unbind(".ui-timepicker"))}}function k(t){var e=t.data("timepicker-settings");return(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&e.disableTouchKeyboard}function d(t,e,n){if(!n&&0!==n)return!1;var i=t.data("timepicker-settings"),o=!1;n=i.roundingFunction(n,i);return e.find("li").each(function(t,e){var i=b(e);if("number"==typeof i.data("time"))return i.data("time")==n?(o=i,!1):void 0}),o}function T(t,e){e.find("li").removeClass("ui-timepicker-selected");var i=_(p(t),t.data("timepicker-settings"));if(null!==i){var n=d(t,e,i);if(n){var o=n.offset().top-e.offset().top;(o+n.outerHeight()>e.outerHeight()||o<0)&&e.scrollTop(e.scrollTop()+n.position().top-n.outerHeight()),n.addClass("ui-timepicker-selected")}}}function r(t,e){if(""!==this.value&&"timepicker"!=e){var i=b(this);if(!i.is(":focus")||t&&"change"==t.type){var n=i.data("timepicker-settings"),o=_(this.value,
8n);if(null===o)return void i.trigger("timeFormatError");var a=!1;null!==n.minTime&&o<n.minTime&&null!==n.maxTime&&o>n.maxTime&&(a=!0),b.each(n.disableTimeRanges,function(){return o>=this[0]&&o<this[1]?!(a=!0):void 0}),n.forceRoundTime&&(o=n.roundingFunction(o,n));var s=M(o,n);a?I(i,s,"error")&&i.trigger("timeRangeError"):I(i,s)}}}function p(t){return t.is("input")?t.val():t.data("ui-timepicker-value")}function I(t,e,i){if(t.is("input")){t.val(e);var n=t.data("timepicker-settings");n.useSelect&&"select"!=i&&"initial"!=i&&t.data("timepicker-list").val(C(_(e),n))}return t.data("ui-timepicker-value")!=e?(t.data("ui-timepicker-value",e),"select"==i?t.trigger("selectTime").trigger("changeTime").trigger("change","timepicker"):"error"!=i&&t.trigger("changeTime"),!0):(t.trigger("selectTime"),!1)}function h(t){switch(t.keyCode){case 13:case 9:return;default:t.preventDefault()}}function f(t){var e=b(this),i=e.data("timepicker-list");if(!i||!l(i)){if(40!=t.keyCode)return!0;P.show.call(e.get(0)),i=e.data("timepicker-list"),k(e)||e.focus()}switch(t.keyCode){case 13:return S(e)&&P.hide.apply(this),t.preventDefault(),!1;case 38:var n=i.find(".ui-timepicker-selected");return n.length?n.is(":first-child")||(n.removeClass("ui-timepicker-selected"),n.prev().addClass("ui-timepicker-selected"),n.prev().position().top<n.outerHeight()&&i.scrollTop(i.scrollTop()-n.outerHeight())):(i.find("li").each(function(t,e){return 0<b(e).position().top?(n=b(e),!1):void 0}),n.addClass("ui-timepicker-selected")),!1;case 40:return 0===(n=i.find(".ui-timepicker-selected")).length?(i.find("li").each(function(t,e){return 0<b(e).position().top?(n=b(e),!1):void 0}),n.addClass("ui-timepicker-selected")):n.is(":last-child")||(n.removeClass("ui-timepicker-selected"),n.next().addClass("ui-timepicker-selected"),n.next().position().top+2*n.outerHeight()>i.outerHeight()&&i.scrollTop(i.scrollTop()+n.outerHeight())),!1;case 27:i.find("li").removeClass("ui-timepicker-selected"),P.hide();break;case 9:P.hide();break;default:return!0}}function m(t){var e=b(this),i=e.data("timepicker-list"),n=e.data("timepicker-settings");if(!i||!l(i)||n.disableTextInput)return!0;switch(t.keyCode){case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 77:case 80:case 186:case 8:case 46:n.typeaheadHighlight?T(e,i):i.hide()}}function S(t){var e=t.data("timepicker-settings"),i=null,n=t.data("timepicker-list").find(".ui-timepicker-selected");return!n.hasClass("ui-timepicker-disabled")&&(n.length&&(i=n.data("time")),null!==i&&("string"!=typeof i&&(i=M(i,e)),I(t,i,"select")),!0)}function D(t,e){t=Math.abs(t);var i,n,o=Math.round(t/60),a=[];return o<60?a=[o,g.mins]:(i=Math.floor(o/60),n=o%60,30==e&&30==n&&(i+=g.decimal+5),a.push(i),a.push(1==i?g.hr:g.hrs),30!=e&&n&&(a.push(n),a.push(g.mins))),a.join(" ")}function M(t,e){if("number"!=typeof t)return null;var i=parseInt(t%60),n=parseInt(t/60%60),o=parseInt(t/3600%24),a=new Date(1970,0,2,o,n,i,0);if(isNaN(a.getTime()))return null;if("function"===b.type(e.timeFormat))return e.timeFormat(a);for(var s,r,l="",c=0;c<e.timeFormat.length;c++)switch(r=e.timeFormat.charAt(c)){case"a":l+=11<a.getHours()?g.pm:g.am;break;case"A":l+=11<a.getHours()?g.PM:g.AM;break;case"g":l+=0===(s=a.getHours()%12)?"12":s;break;case"G":s=a.getHours(),t===E&&(s=e.show2400?24:0),l+=s;break;case"h":0!==(s=a.getHours()%12)&&s<10&&(s="0"+s),l+=0===s?"12":s;break;case"H":s=a.getHours(),t===E&&(s=e.show2400?24:0),l+=9<s?s:"0"+s;break;case"i":l+=9<(n=a.getMinutes())?n:"0"+n;break;case"s":l+=9<(i=a.getSeconds())?i:"0"+i;break;case"\\":c++,l+=e.timeFormat.charAt(c);break;default:l+=r}return l}function _(t,e){if(""===t||null===t)return null;if("object"==typeof t)return 3600*t.getHours()+60*t.getMinutes()+t.getSeconds();if("string"!=typeof t)return t;"a"!=(t=t.toLowerCase().replace(/[\s\.]/g,"")).slice(-1)&&"p"!=t.slice(-1)||(t+="m");var i="("+g.am.replace(".","")+"|"+g.pm.replace(".","")+"|"+g.AM.replace(".","")+"|"+g.PM.replace(".","")+")?",n=new RegExp("^"+i+"([0-9]?[0-9])\\W?
8([0-5][0-9])?\\W?([0-5][0-9])?"+i+"$"),o=t.match(n);if(!o)return null;var a=parseInt(1*o[2],10);if(24<a){if(e&&!1===e.wrapHours)return null;a%=24}var s=o[1]||o[5],r=a;if(a<=12&&s){var l=s==g.pm||s==g.PM;r=12==a?l?12:0:a+(l?12:0)}var c=3600*r+60*(1*o[3]||0)+(1*o[4]||0);if(a<12&&!s&&e&&e._twelveHourTime&&e.scrollDefault){var u=c-e.scrollDefault();u<0&&E/-2<=u&&(c=(c+E/2)%E)}return c}var E=86400,g={am:"am",pm:"pm",AM:"AM",PM:"PM",decimal:".",mins:"mins",hr:"hr",hrs:"hrs"},P={init:function(a){return this.each(function(){var t=b(this),e=[];for(var i in b.fn.timepicker.defaults)t.data(i)&&(e[i]=t.data(i));var n=b.extend({},b.fn.timepicker.defaults,e,a);if(n.lang&&(g=b.extend(g,n.lang)),n=s(n),t.data("timepicker-settings",n),t.addClass("ui-timepicker-input"),n.useSelect)c(t);else{if(t.prop("autocomplete","off"),n.showOn)for(var o in n.showOn)t.on(n.showOn[o]+".timepicker",P.show);t.on("change.timepicker",r),t.on("keydown.timepicker",f),t.on("keyup.timepicker",m),n.disableTextInput&&t.on("keydown.timepicker",h),r.call(t.get(0))}})},show:function(t){var e=b(this),i=e.data("timepicker-settings");if(t&&t.preventDefault(),i.useSelect)e.data("timepicker-list").focus();else{k(e)&&e.blur();var n=e.data("timepicker-list");if(!e.prop("readonly")&&(n&&0!==n.length&&"function"!=typeof i.durationTime||(c(e),n=e.data("timepicker-list")),!l(n))){e.data("ui-timepicker-value",e.val()),T(e,n),P.hide(),n.show();var o={};i.orientation.match(/r/)?o.left=e.offset().left+e.outerWidth()-n.outerWidth()+parseInt(n.css("marginLeft").replace("px",""),10):o.left=e.offset().left+parseInt(n.css("marginLeft").replace("px",""),10),"t"==(i.orientation.match(/t/)?"t":i.orientation.match(/b/)?"b":e.offset().top+e.outerHeight(!0)+n.outerHeight()>b(window).height()+b(window).scrollTop()?"t":"b")?(n.addClass("ui-timepicker-positioned-top"),o.top=e.offset().top-n.outerHeight()+parseInt(n.css("marginTop").replace("px",""),10)):(n.removeClass("ui-timepicker-positioned-top"),o.top=e.offset().top+e.outerHeight()+parseInt(n.css("marginTop").replace("px",""),10)),n.offset(o);var a=n.find(".ui-timepicker-selected");if(!a.length){var s=_(p(e));null!==s?a=d(e,n,s):i.scrollDefault&&(a=d(e,n,i.scrollDefault()))}if(a&&a.length){var r=n.scrollTop()+a.position().top-a.outerHeight();n.scrollTop(r)}else n.scrollTop(0);return i.stopScrollPropagation&&b(document).on("wheel.ui-timepicker",".ui-timepicker-wrapper",function(t){t.preventDefault();var e=b(this).scrollTop();b(this).scrollTop(e+t.originalEvent.deltaY)}),b(document).on("touchstart.ui-timepicker mousedown.ui-timepicker",u),b(window).on("resize.ui-timepicker",u),i.closeOnWindowScroll&&b(document).on("scroll.ui-timepicker",u),e.trigger("showTimepicker"),this}}},hide:function(t){var e=b(this),i=e.data("timepicker-settings");return i&&i.useSelect&&e.blur(),b(".ui-timepicker-wrapper").each(function(){var t=b(this);if(l(t)){var e=t.data("timepicker-input"),i=e.data("timepicker-settings");i&&i.selectOnBlur&&S(e),t.hide(),e.trigger("hideTimepicker")}}),this},option:function(n,o){return"string"==typeof n&&void 0===o?b(this).data("timepicker-settings")[n]:this.each(function(){var t=b(this),e=t.data("timepicker-settings"),i=t.data("timepicker-list");"object"==typeof n?e=b.extend(e,n):"string"==typeof n&&(e[n]=o),e=s(e),t.data("timepicker-settings",e),i&&(i.remove(),t.data("timepicker-list",!1)),e.useSelect&&c(t)})},getSecondsFromMidnight:function(){return _(p(this))},getTime:function(t){var e=p(this);if(!e)return null;var i=_(e);if(null===i)return null;t||(t=new Date);var n=new Date(t);return n.setHours(i/3600),n.setMinutes(i%3600/60),n.setSeconds(i%60),n.setMilliseconds(0),n},isVisible:function(){var t=this.data("timepicker-list");return!(!t||!l(t))},setTime:function(t){var e=this,i=e.data("timepicker-settings");if(i.forceRoundTime)var n=C(_(t),i);else n=M(_(t),i);return t&&null===n&&i.noneOption&&(n=t),I(e,n),e.data("timepicker-list")&&T(e,e.data("timepicker-list")),this},remove:function(){var t=this;if(t.hasClass("ui-timepicker-input")){var e=t.data("timepicker-settings");return t.removeAttr("autocomplete","off"),t.removeClass("ui-timepicker-input"),t.removeData("timepicker-settings"),t.off(".timepicker"),t.data("timepicker-list")&&t.data("timepicker-list").remove(),e.useSelect&&t.show(),t.removeData("timepicker-list"),this}}};b.fn.timepicker=function(t){return this.length?P[t]?this.hasClass("ui-timepicker-input")?P[t].apply(this,Array.prototype.slice.call(arguments,1
8)):this:"object"!=typeof t&&t?void b.error("Method "+t+" does not exist on jQuery.timepicker"):P.init.apply(this,arguments):this},b.fn.timepicker.defaults={appendTo:"body",className:null,closeOnWindowScroll:!1,disableTextInput:!1,disableTimeRanges:[],disableTouchKeyboard:!1,durationTime:null,forceRoundTime:!1,maxTime:null,minTime:null,noneOption:!1,orientation:"l",roundingFunction:function(t,e){if(null===t)return null;if("number"!=typeof e.step)return t;var i=t%(60*e.step);return i>=30*e.step?t+=60*e.step-i:t-=i,t==E&&e.show2400?t:t%E},scrollDefault:null,selectOnBlur:!1,show2400:!1,showDuration:!1,showOn:["click","focus"],showOnFocus:!0,step:30,stopScrollPropagation:!1,timeFormat:"g:ia",typeaheadHighlight:!0,useSelect:!1,wrapHours:!0}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(T,I){function S(){return new Date(Date.UTC.apply(Date,arguments))}function k(){var t=new Date;return S(t.getFullYear(),t.getMonth(),t.getDate())}function t(t){return function(){return this[t].apply(this,arguments)}}var e,i=(e={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),i=0,n=this.length;i<n;i++)if(this[i].valueOf()===e)return i;return-1},remove:function(t){this.splice(t,1)},replace:function(t){t&&(T.isArray(t)||(t=[t]),this.clear(),this.push.apply(this,t))},clear:function(){this.length=0},copy:function(){var t=new i;return t.replace(this),t}},function(){var t=[];return t.push.apply(t,arguments),T.extend(t,e),t}),D=function(t,e){T(t).data("datepicker",this),this._process_options(e),this.dates=new i,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=T(t),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .btn"),this.hasInput=this.component&&this.inputField.length,this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=T(_.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.viewMode=this.o.startView,this.o.calendarWeeks&&this.picker.find("thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(t,e){return parseInt(e)+1}),this._allow_update=!1,this.setStartDate(this._o.startDate),this.setEndDate(this._o.endDate),this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled),this.setDaysOfWeekHighlighted(this.o.daysOfWeekHighlighted),this.setDatesDisabled(this.o.datesDisabled),this.fillDow(),this.fillMonths(),this._allow_update=!0,this.update(),this.showMode(),this.isInline&&this.show()};D.prototype={constructor:D,_resolveViewName:function(t,e){return 0===t||"days"===t||"month"===t?0:1===t||"months"===t||"year"===t?1:2===t||"years"===t||"decade"===t?2:3===t||"decades"===t||"century"===t?3:4===t||"centuries"===t||"millennium"===t?4:e!==I&&e},_check_template:function(t){try{return t!==I&&""!==t&&((t.match(/[<>]/g)||[]).length<=0||0<T(t).length)}catch(t){return!1}},_process_options:function(t){this._o=T.extend({},this._o,t);var e=this.o=T.extend({},this._o),i=e.language;M[i]||(i=i.split("-")[0],M[i]||(i=u.language)),e.language=i,e.startView=this._resolveViewName(e.startView,0),e.minViewMode=this._resolveViewName(e.minViewMode,0),e.maxViewMode=this._resolveViewName(e.maxViewMode,4),e.startView=Math.min(e.startView,e.maxViewMode),e.startView=Math.max(e.startView,e.minViewMode),!0!==e.multidate&&(e.multidate=Number(e.multidate)||!1,!1!==e.multidate&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var n=_.parseFormat(e.format);e.startDate!==-1/0&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=_.parseDate(e.startDate,n,e.language,e.assumeNearbyYear):e.startDate=-1/0),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=_.parseDate(e.endDate,n,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=e.daysOfWeekDisabled||[],T.isArray(e.daysOfWeekDisabled)||(e.daysOfWeekDisabled=e.daysOfWeekDisabled.split(/[,\s]*/)),e.daysOfWeekDisabled=T.map(e.daysOfWeekDisabled,function(t){return parseInt(t,10)}),e.daysOfWeekHighlighted=e.daysOfWeekHighlighted||[],T.isArray(e.daysOfWeekHighlighted)||(e.daysOfWeekHighlighted=e.daysOfWeekHighlighted.split(/[,\s]*/)),e.daysOfWeekHighlighted=T.map(e.daysOfWeekHighlighted,function(t){return parseInt(t,10)}),e.datesDisabled=e.datesDisabled||[],T.isArray(e.datesDisabled)||(e.datesDisabled=[e.datesDisabled]),e.datesDisabled=T.map(e.datesDisabled,function(t){return _.parseDate(t,n,e.language,e.assumeNearbyYear)});var o=String(e.orientation).toLowerCase().split(/\s+/g),a=e.orientation.toLowerCase();if(o=T.grep(o,function(t){return/^auto|left|right|top|bottom$/.test(t)}),e.orientation={x:"auto",y:"auto"},a&&"auto"!==a)if(1===o.length)switch(o[0]){case"top":case"bottom":e.orientation.y=o[0];break;case"left":case"right":e.orientation.x=o[0]}else a=T.grep(o,function(t){return/^left|right$/.test(t)}),e.orientation.x=a[0]||"auto",a=T.grep(o,function(t){return/^top|bottom$/.test(t)}),e.orientation.y=a[0]||"auto";if(e.defaultViewDate){var s=e.defaultViewDate.year||(new Date).getFullYear(),r=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=S(s,r,l)}else e.defaultViewDate=k()},_events:[],_secondaryEvents:[],_applyEvents:function(t){for(var e,i,n,o=0;o<t.length;o++)e=t[o][0],2===t[o].length?(i=I,n=t[o][1]):3===t[o].length&&(i=t[o][1],n=t[o][2]),e.on(n,i)},_unapplyEvents:function(t){for(var e,i,n,o=0;o<t.length;o++)e=t[o][0],2===t[o].length?(n=I,i=t[o][1]):3===t[o].length&&(n=t[o][1],i=t[o][2]),e.off(i,n)},_buildEvents:function(){var t={keyup:T.proxy(function(t){-1===T.inArray(t.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:T.proxy(this.keydown,this),paste:T.proxy(this.paste,this)};!0===this.o.showOnFocus&&(t.focus=T.proxy(this.show,this)),this.isInput?this._events=[[this.element,t]]:this.component&&this.hasInput?this._events=[[this.inputField,t],[this.component,{click:T.proxy(this.show,this)}]]:this._events=[[this.element,{click:T.proxy(this.show,this),keydown:T.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:T.proxy(function(t){this._focused_from=t.target},this)}],[this.element,{blur:T.proxy(function(t){this._focused_from=t.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":T.proxy(function(t){this.update(t.date)},this)}]),this._secondaryEvents=[[this.picker,{click:T.proxy(this.click,this)}],[T(window),{resize:T.proxy(this.place,this)}],[T(document),{mousedown:T.proxy(function(t){this.element.is(t.target)||this.element.find(t.target).length||this.picker.is(t.target)||this.picker.find(t.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(t,e){var i=e||this.dates.get(-1),n=this._utc_to_local(i);this.element.trigger({type:t,date:n,dates:T.map(this.dates,this._utc_to_local),format:T.proxy(function(t,e){0===arguments.length?(t=this.dates.length-1,e=this.o.format):"string"==typeof t&&(e=t,t=this.dates.length-1),e=e||this.o.format;var i=this.dates.get(t);return _.formatDate(i,e,this.o.language)},this)})},show:function(){return this.inputField.prop("disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly?void 0:(this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&T(this.element).blur(),this)},hide:function(){return this.isInline||!this.picker.is(":visible")||(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.viewMode=this.o.startView,this.showMode(),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide")),this},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(t){var e;if(t.originalEvent.clipboardData&&t.originalEvent.clipboardData.types&&-1!==T.inArray("text/plain",t.originalEvent.clipboardData.types))e=t.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;e=window.clipboardData.getData("Text")}this.setDate(e),this.update(),t.preventDefault()},_utc_to_local:function(t){return t&&new Date(t.getTime()+6e4*t.getTimezoneOffset())},_local_to_utc:function(t){return t&&new Date(t.getTime()-6e4*t.getTimezoneOffset())},_zero_time:function(t){return t&&new Date(t.getFullYear(),t.getMonth(),t.getDate())},_zero_utc_time:function(t){return t&&new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()))},getDates:function(){return T.map(this.dates,this._utc_to_local)},getUTCDates:function(){return T.map(this.dates,function(t){return new Date(t)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var t=this.dates.get(-1);return void 0!==t?new Date(t):null},clearDates:function(){this.inputField&&this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var t=T.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,t),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var t=T.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,T.map(t,this._utc_to_local)),this._trigger("changeDate"),this.setValue(),this},setDate:t("setDates"),setUTCDate:t("setUTCDates"),remove:t("destroy"),setValue:function(){var t=this.getFormattedDate();return this.inputField.val(t),this},getFormattedDate:function(e){e===I&&(e=this.o.format);var i=this.o.language;return T.map(this.dates,function(t){return _.formatDate(t,e,i)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(t){return this._process_options({startDate:t}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(t){return this._process_options({endDate:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(t){return this._process_options({daysOfWeekDisabled:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekHighlighted:function(t){return this._process_options({daysOfWeekHighlighted:t}),this.update(),this},setDatesDisabled:function(t){this._process_options({datesDisabled:t}),this.update(),this.updateNavArrows()},place:function(){if(this.isInline)return this;var t=this.picker.outerWidth(),e=this.picker.outerHeight(),i=T(this.o.container),n=i.width(),o="body"===this.o.container?T(document).scrollTop():i.scrollTop(),a=i.offset(),s=[];this.element.parents().each(function(){var t=T(this).css("z-index");"auto"!==t&&0!==t&&s.push(parseInt(t))});var r=Math.max.apply(Math,s)+this.o.zIndexOffset,l=this.component?this.component.parent().offset():this.element.offset(),c=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),u=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),d=l.left-a.left,p=l.top-a.top;"body"!==this.o.container&&(p+=o),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(
8d-=t-u)):l.left<0?(this.picker.addClass("datepicker-orient-left"),d-=l.left-10):n<d+t?(this.picker.addClass("datepicker-orient-right"),d+=u-t):this.picker.addClass("datepicker-orient-left");var h=this.o.orientation.y;if("auto"===h&&(h=-o+p-e<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+h),"top"===h?p-=e+parseInt(this.picker.css("padding-top")):p+=c,this.o.rtl){var f=n-(d+u);this.picker.css({top:p,right:f,zIndex:r})}else this.picker.css({top:p,left:d,zIndex:r});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var t=this.dates.copy(),i=[],e=!1;return arguments.length?(T.each(arguments,T.proxy(function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),i.push(e)},this)),e=!0):(i=(i=this.isInput?this.element.val():this.element.data("date")||this.inputField.val())&&this.o.multidate?i.split(this.o.multidateSeparator):[i],delete this.element.data().date),i=T.map(i,T.proxy(function(t){return _.parseDate(t,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),i=T.grep(i,T.proxy(function(t){return!this.dateWithinRange(t)||!t},this),!0),this.dates.replace(i),this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate,e?this.setValue():i.length&&String(t)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&t.length&&this._trigger("clearDate"),this.fill(),this.element.change(),this},fillDow:function(){var t=this.o.weekStart,e="<tr>";for(this.o.calendarWeeks&&(this.picker.find(".datepicker-days .datepicker-switch").attr("colspan",function(t,e){return parseInt(e)+1}),e+='<th class="cw"> </th>');t<this.o.weekStart+7;)e+='<th class="dow',-1<T.inArray(t,this.o.daysOfWeekDisabled)&&(e+=" disabled"),e+='">'+M[this.o.language].daysMin[t++%7]+"</th>";e+="</tr>",this.picker.find(".datepicker-days thead").append(e)},fillMonths:function(){for(var t=this._utc_to_local(this.viewDate),e="",i=0;i<12;){e+='<span class="month'+(t&&t.getMonth()===i?" focused":"")+'">'+M[this.o.language].monthsShort[i++]+"</span>"}this.picker.find(".datepicker-months td").html(e)},setRange:function(t){t&&t.length?this.range=T.map(t,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(t){var e=[],i=this.viewDate.getUTCFullYear(),n=this.viewDate.getUTCMonth(),o=new Date;return t.getUTCFullYear()<i||t.getUTCFullYear()===i&&t.getUTCMonth()<n?e.push("old"):(t.getUTCFullYear()>i||t.getUTCFullYear()===i&&t.getUTCMonth()>n)&&e.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&e.push("focused"),this.o.todayHighlight&&t.getUTCFullYear()===o.getFullYear()&&t.getUTCMonth()===o.getMonth()&&t.getUTCDate()===o.getDate()&&e.push("today"),-1!==this.dates.contains(t)&&e.push("active"),this.dateWithinRange(t)||e.push("disabled"),this.dateIsDisabled(t)&&e.push("disabled","disabled-date"),-1!==T.inArray(t.getUTCDay(),this.o.daysOfWeekHighlighted)&&e.push("highlighted"),this.range&&(t>this.range[0]&&t<this.range[this.range.length-1]&&e.push("range"),-1!==T.inArray(t.valueOf(),this.range)&&e.push("selected"),t.valueOf()===this.range[0]&&e.push("range-start"),t.valueOf()===this.range[this.range.length-1]&&e.push("range-end")),e},_fill_yearsView:function(t,e,i,n,o,a,s,r){var l,c,u,d,p,h,f,m,g,v,y;for(l="",c=this.picker.find(t),u=parseInt(o/i,10)*i,p=parseInt(a/n,10)*n,h=parseInt(s/n,10)*n,d=T.map(this.dates,function(t){return parseInt(t.getUTCFullYear()/n,10)*n}),c.find(".datepicker-switch").text(u+"-"+(u+9*n)),f=u-n,m=-1;m<11;m+=1)g=[e],v=null,-1===m?g.push("old"):10===m&&g.push("new"),-1!==T.inArray(f,d)&&g.push("active"),(f<p||h<f)&&g.push("disabled"),f===this.viewDate.getFullYear()&&g.push("focused"),r!==T.noop&&((y=r(new Date(f,0,1)))===I?y={}:"boolean"==typeof y?y={enabled:y}:"string"==typeof y&&(y={classes:y}),!1===y.enabled&&g.push("disabled"),y.classes&&(g=g.concat(y.classes.split(/\s+/))),y.tooltip&&(v=y.tooltip)),l+='<span class="'+g.join(" ")+'"'+(v?' title="'+v+'"':"")+">"+f+"</span>",f+=n;c.find("td").html(l)},fill:function(){var t,e,i=new Date(this.viewDate),o=i.getUTCFullYear(),n=i.getUTCMonth(),a=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,s=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,r=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,c=M[this.o.language].today||M.en.today||"",u=M[this.o.language].clear||M.en.clear||"",d=M[this.o.language].titleFormat||M.en.titleFormat;if(!isNaN(o)&&!isNaN(n)){this.picker.find(".datepicker-days .datepicker-switch").text(_.formatDate(i,d,this.o.language)),this.picker.find("tfoot .today").text(c).toggle(!1!==this.o.todayBtn),this.picker.find("tfoot .clear").text(u).toggle(!1!==this.o.clearBtn),this.picker.find("thead .datepicker-title").text(this.o.title).toggle(""!==this.o.title),this.updateNavArrows(),this.fillMonths();var p=S(o,n-1,28),h=_.getDaysInMonth(p.getUTCFullYear(),p.getUTCMonth());p.setUTCDate(h),p.setUTCDate(h-(p.getUTCDay()-this.o.weekStart+7)%7);var f=new Date(p);p.getUTCFullYear()<100&&f.setUTCFullYear(p.getUTCFullYear()),f.setUTCDate(f.getUTCDate()+42),f=f.valueOf();for(var m,g=[];p.valueOf()<f;){if(p.getUTCDay()===this.o.weekStart&&(g.push("<tr>"),this.o.calendarWeeks)){var v=new Date(+p+(this.o.weekStart-p.getUTCDay()-7)%7*864e5),y=new Date(Number(v)+(11-v.getUTCDay())%7*864e5),w=new Date(Number(w=S(y.getUTCFullYear(),0,1))+(11-w.getUTCDay())%7*864e5),b=(y-w)/864e5/7+1;g.push('<td class="cw">'+b+"</td>")}(m=this.getClassNames(p)).push("day"),this.o.beforeShowDay!==T.noop&&((e=this.o.beforeShowDay(this._utc_to_local(p)))===I?e={}:"boolean"==typeof e?e={enabled:e}:"string"==typeof e&&(e={classes:e}),!1===e.enabled&&m.push("disabled"),e.classes&&(m=m.concat(e.classes.split(/\s+/))),e.tooltip&&(t=e.tooltip)),m=T.unique(m),g.push('<td class="'+m.join(" ")+'"'+(t?' title="'+t+'"':"")+(this.o.dateCells?' data-date="'+p.getTime().toString()+'"':"")+">"+p.getUTCDate()+"</td>"),t=null,p.getUTCDay()===this.o.weekEnd&&g.push("</tr>"),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(g.join(""));var x=M[this.o.language].monthsTitle||M.en.monthsTitle||"Months",C=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?x:o).end().find("span").removeClass("active");if(T.each(this.dates,function(t,e){e.getUTCFullYear()===o&&C.eq(e.getUTCMonth()).addClass("active")}),(o<a||r<o)&&C.addClass("disabled"),o===a&&C.slice(0,s).addClass("disabled"),o===r&&C.slice(l+1).addClass("disabled"),this.o.beforeShowMonth!==T.noop){var k=this;T.each(C,function(t,e){var i=new Date(o,t,1),n=k.o.beforeShowMonth(i);n===I?n={}:"boolean"==typeof n?n={enabled:n}:"string"==typeof n&&(n={classes:n}),!1!==n.enabled||T(e).hasClass("disabled")||T(e).addClass("disabled"),n.classes&&T(e).addClass(n.classes),n.tooltip&&T(e).prop("title",n.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,1,o,a,r,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,10,o,a,r,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,100,o,a,r,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t=new Date(this.viewDate),e=t.getUTCFullYear(),i=t.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-1/0&&e<=this.o.startDate.getUTCFullYear()&&i<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").addClass("disabled"):this.picker.find(".prev").removeClass("disabled"),this.o.endDate!==1/0&&e>=this.o.endDate.getUTCFullYear()&&i>=this.o.endDate.getUTCMonth()?this.picker.find(".next").addClass("disabled"):this.picker.find(".next").removeClass("disabled");break;case 1:case 2:case 3:case 4:this.o.startDate!==-1/0&&e<=this.o.startDate.getUTCFullYear()||this.o.maxViewMode<2?this.picker.find(".prev").addClass("disabled"):this.picker.find(".prev").removeClass("disabled"),this.o.endDate!==1/0&&e>=this.o.endDate.getUTCFullYear()||this.o.maxViewMode<2?this.picker.find(".next").addClass("disabled"):this.picker.find(".next").removeClass("disabled")}}},click:function(t){var e,i,n,o,a,s,r;t.preventDefault(),t.stopPropagation(),(e=T(t.target)).hasClass("datepicker-switch")&&this.showMode(1);var l=e.closest(".prev, .next");0<l.length&&(i=_.modes[this.viewMode].navStep*(l.hasClass("prev")?-1:1),0===this.viewMode?(this.viewDate=this.moveMonth(this.viewDate,i),this._trigger("changeMonth",this.viewDate)):(this.viewDate=this.moveYear(this.viewDate,i),1===this.viewMode&&this._trigger("changeYear",this.viewDate)),this.fill()),e.hasClass("today")&&!e.hasClass("day")&&(this.showMode(-2),this._setDate(k(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("day")&&(n=parseInt(e.text(),10)||1,o=this.viewDate.getUTCFullYear(),a=this.viewDate.getUTCMonth(),e.hasClass("old")&&(0===a?(a=11,o-=1,r=s=!0):(a-=1,s=!0)),e.hasClass("new")&&(11===a?(o+=1,r=s=!(a=0)):(a+=1,s=!0)),this._setDate(S(o,a,n)),r&&this._trigger("changeYear",this.viewDate),s&&this._trigger("changeMonth",this.viewDate)),e.hasClass("month")&&(this.viewDate.setUTCDate(1),n=1,a=e.parent().find("span").index(e),o=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(a),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode?(this._setDate(S(o,a,n)),this.showMode()):this.showMode(-1),this.fill()),(e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),n=1,a=0,o=parseInt(e.text(),10)||0,this.viewDate.setUTCFullYear(o),e.hasClass("year")&&(this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(S(o,a,n))),e.hasClass("decade")&&(this._trigger("changeDecade",this.viewDate),3===this.o.minViewMode&&this._setDate(S(o,a,n))),e.hasClass("century")&&(this._trigger("changeCentury",this.viewDate),4
8===this.o.minViewMode&&this._setDate(S(o,a,n))),this.showMode(-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&T(this._focused_from).focus(),delete this._focused_from},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),-1!==e?(!0===this.o.multidate||1<this.o.multidate||this.o.toggleActive)&&this.dates.remove(e):(!1===this.o.multidate&&this.dates.clear(),this.dates.push(t)),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),e&&"view"!==e||(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate"),this.inputField&&this.inputField.change(),!this.o.autoclose||e&&"date"!==e||this.hide()},moveDay:function(t,e){var i=new Date(t);return i.setUTCDate(t.getUTCDate()+e),i},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!(i=t)||isNaN(i.getTime()))return this.o.defaultViewDate;var i;if(!e)return t;var n,o,a=new Date(t.valueOf()),s=a.getUTCDate(),r=a.getUTCMonth(),l=Math.abs(e);if(e=0<e?1:-1,1===l)o=-1===e?function(){return a.getUTCMonth()===r}:function(){return a.getUTCMonth()!==n},n=r+e,a.setUTCMonth(n),(n<0||11<n)&&(n=(n+12)%12);else{for(var c=0;c<l;c++)a=this.moveMonth(a,e);n=a.getUTCMonth(),a.setUTCDate(s),o=function(){return n!==a.getUTCMonth()}}for(;o();)a.setUTCDate(--s),a.setUTCMonth(n);return a},moveYear:function(t,e){return this.moveMonth(t,12*e)},moveAvailableDate:function(t,e,i){do{if(t=this[i](t,e),!this.dateWithinRange(t))return!1;i="moveDay"}while(this.dateIsDisabled(t));return t},weekOfDateIsDisabled:function(t){return-1!==T.inArray(t.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(n){return this.weekOfDateIsDisabled(n)||0<T.grep(this.o.datesDisabled,function(t){return i=t,(e=n).getUTCFullYear()===i.getUTCFullYear()&&e.getUTCMonth()===i.getUTCMonth()&&e.getUTCDate()===i.getUTCDate();var e,i}).length},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(this.picker.is(":visible")){var e,i,n=!1,o=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault(),t.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;e=37===t.keyCode||38===t.keyCode?-1:1,0===this.viewMode?t.ctrlKey?(i=this.moveAvailableDate(o,e,"moveYear"))&&this._trigger("changeYear",this.viewDate):t.shiftKey?(i=this.moveAvailableDate(o,e,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===t.keyCode||39===t.keyCode?i=this.moveAvailableDate(o,e,"moveDay"):this.weekOfDateIsDisabled(o)||(i=this.moveAvailableDate(o,e,"moveWeek")):1===this.viewMode?(38!==t.keyCode&&40!==t.keyCode||(e*=4),i=this.moveAvailableDate(o,e,"moveMonth")):2===this.viewMode&&(38!==t.keyCode&&40!==t.keyCode||(e*=4),i=this.moveAvailableDate(o,e,"moveYear")),i&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),t.preventDefault());break;case 13:if(!this.o.forceParse)break;o=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(o),n=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}n&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField&&this.inputField.change())}else 40!==t.keyCode&&27!==t.keyCode||(this.show(),t.stopPropagation())},showMode:function(t){t&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,this.viewMode+t))),this.picker.children("div").hide().filter(".datepicker-"+_.modes[this.viewMode].clsName).show(),this.updateNavArrows()}};var c=function(t,e){T(t).data("datepicker",this),this.element=T(t),this.inputs=T.map(e.inputs,function(t){return t.jquery?t[0]:t}),delete e.inputs,o.call(T(this.inputs),e).on("changeDate",T.proxy(this.dateUpdated,this)),this.pickers=T.map(this.inputs,function(t){return T(t).data("datepicker")}),this.updateDates()};c.prototype={updateDates:function(){this.dates=T.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var i=T.map(this.dates,function(t){return t.valueOf()});T.each(this.pickers,function(t,e){e.setRange(i)})},dateUpdated:function(t){if(!this.updating){this.updating=!0;var e=T(t.target).data("datepicker");if(void 0!==e){var i=e.getUTCDate(),n=T.inArray(t.target,this.inputs),o=n-1,a=n+1,s=this.inputs.length;if(-1!==n){if(T.each(this.pickers,function(t,e){e.getUTCDate()||e.setUTCDate(i)}),i<this.dates[o])for(;0<=o&&i<this.dates[o];)this.pickers[o--].setUTCDate(i);else if(i>this.dates[a])for(;a<s&&i>this.dates[a];)this.pickers[a++].setUTCDate(i);this.updateDates(),delete this.updating}}}},remove:function(){T.map(this.pickers,function(t){t.remove()}),delete this.element.data().datepicker}};var n=T.fn.datepicker,o=function(s){var r,l=Array.apply(null,arguments);if(l.shift(),this.each(function(){var t=T(this),e=t.data("datepicker"),i="object"==typeof s&&s;if(!e){var n=function(t,e){function i(t,e){return e.toLowerCase()}var n=T(t).data(),o={},a=new RegExp("^"+e.toLowerCase()+"([A-Z])");for(var s in e=new RegExp("^"+e.toLowerCase()),n)e.test(s)&&(o[s.replace(a,i)]=n[s]);return o}(this,"date"),o=function(t){var i={};
8if(M[t]||(t=t.split("-")[0],M[t])){var n=M[t];return T.each(d,function(t,e){e in n&&(i[e]=n[e])}),i}}(T.extend({},u,n,i).language),a=T.extend({},u,o,n,i);t.hasClass("input-daterange")||a.inputs?(T.extend(a,{inputs:a.inputs||t.find("input").toArray()}),e=new c(this,a)):e=new D(this,a),t.data("datepicker",e)}"string"==typeof s&&"function"==typeof e[s]&&(r=e[s].apply(e,l))}),r===I||r instanceof D||r instanceof c)return this;if(1<this.length)throw new Error("Using only allowed for the collection of a single element ("+s+" function)");return r};T.fn.datepicker=o;var u=T.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:T.noop,beforeShowMonth:T.noop,beforeShowYear:T.noop,beforeShowDecade:T.noop,beforeShowCentury:T.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,dateCells:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"}},d=T.fn.datepicker.locale_opts=["format","rtl","weekStart"];T.fn.datepicker.Constructor=D;var M=T.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},_={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10},{clsName:"decades",navFnc:"FullDecade",navStep:100},{clsName:"centuries",navFnc:"FullCentury",navStep:1e3}],isLeapYear:function(t){return t%4==0&&t%100!=0||t%400==0},getDaysInMonth:function(t,e){return[31,_.isLeapYear(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(t){if("function"==typeof t.toValue&&"function"==typeof t.toDisplay)return t;var e=t.replace(this.validParts,"\0").split("\0"),i=t.match(this.validParts);if(!e||!e.length||!i||0===i.length)throw new Error("Invalid date format.");return{separators:e,parts:i}},parseDate:function(t,e,i,n){function o(t,e){return!0===e&&(e=10),t<100&&((t+=2e3)>(new Date).getFullYear()+e&&(t-=100)),t}function a(){var t=this.slice(0,d[l].length),e=d[l].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(!t)return I;if(t instanceof Date)return t;if("string"==typeof e&&(e=_.parseFormat(e)),e.toValue)return e.toValue(t,e,i);var s,r,l,c,u=/([\-+]\d+)([dmwy])/,d=t.match(/([\-+]\d+)([dmwy])/g),p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},h={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(t)){for(t=new Date,l=0;l<d.length;l++)s=u.exec(d[l]),r=parseInt(s[1]),c=p[s[2]],t=D.prototype[c](t,r);return S(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}if(void 0!==h[t]&&(d=(t=h[t]).match(/([\-+]\d+)([dmwy])/g),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(t))){for(t=new Date,l=0;l<d.length;l++)s=u.exec(d[l]),r=parseInt(s[1]),c=p[s[2]],t=D.prototype[c](t,r);return S(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}d=t&&t.match(this.nonpunctuation)||[],t=new Date;var f,m,g={},v=["yyyy","yy","M","MM","m","mm","d","dd"],y={yyyy:function(t,e){return t.setUTCFullYear(n?o(e,n):e)},yy:function(t,e){return t.setUTCFullYear(n?o(e,n):e)},m:function(t,e){if(isNaN(t))return t;for(e-=1;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};
8y.M=y.MM=y.mm=y.m,y.dd=y.d,t=k();var w=e.parts.slice();if(d.length!==w.length&&(w=T(w).filter(function(t,e){return-1!==T.inArray(e,v)}).toArray()),d.length===w.length){var b,x,C;for(l=0,b=w.length;l<b;l++){if(f=parseInt(d[l],10),s=w[l],isNaN(f))switch(s){case"MM":m=T(M[i].months).filter(a),f=T.inArray(m[0],M[i].months)+1;break;case"M":m=T(M[i].monthsShort).filter(a),f=T.inArray(m[0],M[i].monthsShort)+1}g[s]=f}for(l=0;l<v.length;l++)(C=v[l])in g&&!isNaN(g[C])&&(x=new Date(t),y[C](x,g[C]),isNaN(x)||(t=x))}return t},formatDate:function(t,e,i){if(!t)return"";if("string"==typeof e&&(e=_.parseFormat(e)),e.toDisplay)return e.toDisplay(t,e,i);var n={d:t.getUTCDate(),D:M[i].daysShort[t.getUTCDay()],DD:M[i].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:M[i].monthsShort[t.getUTCMonth()],MM:M[i].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()};n.dd=(n.d<10?"0":"")+n.d,n.mm=(n.m<10?"0":"")+n.m,t=[];for(var o=T.extend([],e.separators),a=0,s=e.parts.length;a<=s;a++)o.length&&t.push(o.shift()),t.push(n[e.parts[a]]);return t.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">«</th><th colspan="5" class="datepicker-switch"></th><th class="next">»</th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};_.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+_.headTemplate+"<tbody></tbody>"+_.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+_.headTemplate+_.contTemplate+_.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+_.headTemplate+_.contTemplate+_.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+_.headTemplate+_.contTemplate+_.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+_.headTemplate+_.contTemplate+_.footTemplate+"</table></div></div>",T.fn.datepicker.DPGlobal=_,T.fn.datepicker.noConflict=function(){return T.fn.datepicker=n,this},T.fn.datepicker.version="1.7.0-dev",T(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var e=T(this);e.data("datepicker")||(t.preventDefault(),o.call(e,"show"))}),T(function(){o.call(T('[data-provide="datepicker-inline"]'))})}),"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(o,i,t,e){"use strict";var n={init:function(t,e){this.options=o.extend({},o.fn.singlePageNav.defaults,t),this.container=e,this.$container=o(e),this.$links=this.$container.find("a"),""!==this.options.filter&&(this.$links=this.$links.filter(this.options.filter)),this.$window=o(i),this.$htmlbody=o("html, body"),this.$links.on("click.singlePageNav",o.proxy(this.handleClick,this)),this.didScroll=!1,this.checkPosition(),this.setTimer()},handleClick:function(t){var e=this,i=t.currentTarget,n=o(i.hash);t.preventDefault(),n.length&&(e.clearTimer(),"function"==typeof e.options.beforeStart&&e.options.beforeStart(),e.setActiveLink(i.hash),e.scrollTo(n,function(){e.options.updateHash&&history.pushState&&history.pushState(null,null,i.hash),e.setTimer(),"function"==typeof e.options.onComplete&&e.options.onComplete()}))},scrollTo:function(t,e){var i=this.getCoords(t).top,n=!1;this.$htmlbody.stop().animate({scrollTop:i},{duration:this.options.speed,easing:this.options.easing,complete:function(){"function"!=typeof e||n||e(),n=!0}})},setTimer:function(){var t=this;t.$window.on("scroll.singlePageNav",function(){t.didScroll=!0}),t.timer=setInterval(function(){t.didScroll&&(t.didScroll=!1,t.checkPosition())},250)},clearTimer:function(){clearInterval(this.timer),this.$window.off("scroll.singlePageNav"),this.didScroll=!1},checkPosition:function(){var t=this.$window.scrollTop(),e=this.getCurrentSection(t);null!==e&&this.setActiveLink(e)},getCoords:function(t){return{top:Math.round(t.offset().top)-this.options.offset}},setActiveLink:function(t){var e=this.$container.find("a[href$='"+t+"']");e.hasClass(this.options.currentClass)||(this.$links.removeClass(this.options.currentClass),e.addClass(this.options.currentClass))},getCurrentSection:function(t){var e,i,n;for(e=0;e<this.$links.length;e++)i=this.$links[e].hash,o(i).length&&(t>=this.getCoords(o(i)).top-this.options.threshold&&(n=i));return n||(0===this.$links.length?null:this.$links[0].hash)}};o.fn.singlePageNav=function(t){return this.each(function(){Object.create(n).init(t,this)})},o.fn.singlePageNav.defaults={offset:0,threshold:120,speed:400,currentClass:"current",easing:"swing",updateHash:!1,filter:"",onComplete:!1,beforeStart:!1}}(jQuery,window,document),function(o){"use strict";function n(){g=o.innerWidth||document.documentElement.clientWidth,v=o.innerHeight||document.documentElement.clientHeight}function t(t,e,i){t.addEventListener?t.addEventListener(e,i):t.attachEvent("on"+e,function(){i.call(t)})}function e(i){o.requestAnimationFrame(function(){"scroll"!==i.type&&n();for(var t=0,e=p.length;t<e;t++)"scroll"!==i.type&&(p[t].coverImage(),p[t].clipContainer()),p[t].onScroll()})}Date.now||(Date.now=function(){return(new Date).getTime()}),o.requestAnimationFrame||function(){for(var t=["webkit","moz"],e=0;e<t.length&&!o.requestAnimationFrame;++e){var i=t[e];o.requestAnimationFrame=o[i+"RequestAnimationFrame"],o.cancelAnimationFrame=o[i+"CancelAnimationFrame"]||o[i+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(o.navigator.userAgent)||!o.requestAnimationFrame||!o.cancelAnimationFrame){var n=0;o.requestAnimationFrame=function(t){var e=Date.now(),i=Math.max(n+16,e);return setTimeout(function(){t(n=i)},i-e)},o.cancelAnimationFrame=clearTimeout}}();var g,v,y=function(){if(!o.getComputedStyle)return!1;var t,e=document.createElement("p"),i={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var n in(document.body||document.documentElement).insertBefore(e,null),i)void 0!==e.style[n]&&(e.style[n]="translate3d(1px,1px,1px)",t=o.getComputedStyle(e).getPropertyValue(i[n]));return(document.body||document.documentElement).removeChild(e),void 0!==t&&0<t.length&&"none"!==t}(),a=-1<navigator.userAgent.toLowerCase().indexOf("android"),s=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!o.MSStream,r=!!o.opera,l=/Edge\/\d+/.test(navigator.userAgent),c=/Trident.*rv[ :]*11\./.test(navigator.userAgent),u=!!Function("/*@cc_on return document.documentMode===10@*/")(),w=document.all&&!o.atob;n();var d,p=[],h=(d=0,function(t,e){var i,n=this;n.$item=t,n.defaults={type:"scroll",speed:.5,imgSrc:null,imgWidth:null,imgHeight:null,enableTransform:!0,zIndex:-100,noAdnroid:!1,noIos:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null},i=JSON.parse(n.$item.getAttribute("data-jarallax")||"{}"),n.options=n.extend({},n.defaults,i,e),a&&n.options.noAdnroid||s&&n.options.noIos||(n.options.speed=Math.min(2,Math.max(-1,parseFloat(n.options.speed))),n.instanceID=d++,n.image={src:n.options.imgSrc||null,$container:null,$item:null,width:n.options.imgWidth||null,height:n.options.imgHeight||null,useImgTag:s||a||r||c||u||l},n.initImg()&&n.init())});h.prototype.css=function(t,e){if("string"==typeof e)return t.style[e];for(var i in e.transform&&(e.WebkitTransform=e.MozTransform=e.transform),e)t.style[i]=e[i];return t},h.prototype.extend=function(t){t=t||{};for(var e=1;e<arguments.length;e++)if(arguments[e])for(var i in arguments[e])arguments[e].hasOwnProperty(i)&&(t[i]=arguments[e][i]);return t},h.prototype.initImg=function(){var t=this;return null===t.image.src&&(t.image.src=t.css(t.$item,"background-image").replace(/^url\(['"]?/g,"").replace(/['"]?\)$/g,"")),!(!t.image.src||"none"===t.image.src)},h.prototype.init=function(){function i(){n.coverImage(),n.clipContainer(),n.onScroll(!0),n.$item.setAttribute("data-jarallax-original-styles",n.$item.getAttribute("style")),n.options.onInit&&n.options.onInit.call(n),setTimeout(function(){n.$item&&n.css(n.$item,{"background-image":"none","background-attachment":"scroll","background-size":"auto"})},0)}var n=this,t={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",pointerEvents:"none"},e={position:"fixed"};n.image.$container=document.createElement("div"),n.css(n.image.$container,t),n.css(n.image.$container,{visibility:"hidden","z-index":n.options.zIndex}),n.image.$container.setAttribute("id","jarallax-container-"+n.instanceID),n.$item.appendChild(n.image.$container),n.image.useImgTag&&y&&n.options.enableTransform?(n.image.$item=document.createElement("img"),n.image.$item.setAttribute("src",n.image.src),e=n.extend({"max-width":"none"},t,e)):(n.image.$item=document.createElement("div"),e=n.extend({"background-position":"50% 50%","background-size":"100% auto","background-repeat":"no-repeat no-repeat","background-image":'url("'+n.image.src+'")'},t,e)),w&&(e.backgroundAttachment="fixed"),n.parentWithTransform=0;for(var o=n.$item;null!==o&&o!==document&&0===n.parentWithTransform;)(n.css(o,"-webkit-transform")||n.css(o,"-moz-transform")||n.css(o,"transform"))&&(n.parentWithTransform=1,n.css(n.image.$container,{transform:"translateX(0) translateY(0)"})),o=o.parentNode;n.css(n.image.$item,e),n.image.$container.appendChild(n.image.$item),n.image.width&&n.image.height?i():n.getImageSize(n.image.src,function(t,e){n.image.width=t,n.image.height=e,i()}),p.push(n)},h.prototype.destroy=function(){for(var t=this,e=0,i=p.length;e<i;e++)if(p[e].instanceID===t.instanceID){p.splice(e,1);break}for(var n in t.$item.setAttribute("style",t.$item.getAttribute("data-jarallax-original-styles")),t.$item.removeAttribute("data-jarallax-original-styles"),t.$clipStyles&&t.$clipStyles.parentNode.removeChild(t.$clipStyles),t.image.$container.parentNode.removeChild(t.image.$container),t.options.onDestroy&&t.options.onDestroy.call(t),delete t.$item.jarallax,t)delete t[n]},h.prototype.getImageSize=function(t,e){if(t&&e){var i=new Image;i.onload=function(){e(i.width,i.height)},i.src=t}},h.prototype.clipContainer=function(){if(!w){var t=this,e=t.image.$container.getBoundingClientRect(),i=e.width,n=e.he
8ight;if(!t.$clipStyles)t.$clipStyles=document.createElement("style"),t.$clipStyles.setAttribute("type","text/css"),t.$clipStyles.setAttribute("id","#jarallax-clip-"+t.instanceID),(document.head||document.getElementsByTagName("head")[0]).appendChild(t.$clipStyles);var o=["#jarallax-container-"+t.instanceID+" {"," clip: rect(0 "+i+"px "+n+"px 0);"," clip: rect(0, "+i+"px, "+n+"px, 0);","}"].join("\n");t.$clipStyles.styleSheet?t.$clipStyles.styleSheet.cssText=o:t.$clipStyles.innerHTML=o}},h.prototype.coverImage=function(){var t=this;if(t.image.width&&t.image.height){var e=t.image.$container.getBoundingClientRect(),i=e.width,n=e.height,o=e.left,a=t.image.width,s=t.image.height,r=t.options.speed,l="scroll"===t.options.type||"scroll-opacity"===t.options.type,c=0,u=0,d=n,p=0,h=0;l&&(c=r*(n+v)/2,(r<0||1<r)&&(c=r*Math.max(n,v)/2),r<0||1<r?d=Math.max(n,v)+2*Math.abs(c):d+=Math.abs(v-n)*(1-r)),(u=d*a/s)<i&&(d=(u=i)*s/a),t.bgPosVerticalCenter=0,!(l&&d<v)||y&&t.options.enableTransform||(t.bgPosVerticalCenter=(v-d)/2,d=v),l?(p=o+(i-u)/2,h=(v-d)/2):(p=(i-u)/2,h=(n-d)/2),t.parentWithTransform&&(p-=o),t.parallaxScrollDistance=c,t.css(t.image.$item,{width:u+"px",height:d+"px",marginLeft:p+"px",marginTop:h+"px"}),t.options.onCoverImage&&t.options.onCoverImage.call(t)}},h.prototype.isVisible=function(){return this.isElementInViewport||!1},h.prototype.onScroll=function(t){var e=this;if(e.image.width&&e.image.height){var i=e.$item.getBoundingClientRect(),n=i.top,o=i.height,a={position:"absolute",visibility:"visible",backgroundPosition:"50% 50%"};if(e.isElementInViewport=0<=i.bottom&&0<=i.right&&n<=v&&i.left<=g,!(!t&&!e.isElementInViewport)){var s=Math.max(0,n),r=Math.max(0,o+n),l=Math.max(0,-n),c=Math.max(0,n+o-v),u=Math.max(0,o-(n+o-v)),d=Math.max(0,-n+v-o),p=1-2*(v-n)/(v+o),h=1;if(o<v?h=1-(l||c)/o:r<=v?h=r/v:u<=v&&(h=u/v),"opacity"!==e.options.type&&"scale-opacity"!==e.options.type&&"scroll-opacity"!==e.options.type||(a.transform="translate3d(0, 0, 0)",a.opacity=h),"scale"===e.options.type||"scale-opacity"===e.options.type){var f=1;e.options.speed<0?f-=e.options.speed*h:f+=e.options.speed*(1-h),a.transform="scale("+f+") translate3d(0, 0, 0)"}if("scroll"===e.options.type||"scroll-opacity"===e.options.type){var m=e.parallaxScrollDistance*p;y&&e.options.enableTransform?(e.parentWithTransform&&(m-=n),a.transform="translate3d(0, "+m+"px, 0)"):(e.bgPosVerticalCenter&&(m+=e.bgPosVerticalCenter),a.backgroundPosition="50% "+m+"px"),a.position=w?"absolute":"fixed"}e.css(e.image.$item,a),e.options.onScroll&&e.options.onScroll.call(e,{section:i,beforeTop:s,beforeTopEnd:r,afterTop:l,beforeBottom:c,beforeBottomEnd:u,afterBottom:d,visiblePercent:h,fromViewportCenter:p})}}},t(o,"scroll",e),t(o,"resize",e),t(o,"orientationchange",e),t(o,"load",e);var i=function(t){("object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)&&(t=[t]);for(var e,i=arguments[1],n=Array.prototype.slice.call(arguments,2),o=t.length,a=0;a<o;a++)if("object"==typeof i||void 0===i?t[a].jarallax||(t[a].jarallax=new h(t[a],i)):t[a].jarallax&&(e=t[a].jarallax[i].apply(t[a].jarallax,n)),void 0!==e)return e;return t};i.constructor=h;var f=o.jarallax;if(o.jarallax=i,o.jarallax.noConflict=function(){return o.jarallax=f,this},"undefined"!=typeof jQuery){var m=function(){var t=arguments||[];Array.prototype.unshift.call(t,this);var e=i.apply(o,t);return"object"!=typeof e?e:this};m.constructor=h;var b=jQuery.fn.jarallax;jQuery.fn.jarallax=m,jQuery.fn.jarallax.noConflict=function(){return jQuery.fn.jarallax=b,this}}t(o,"DOMContentLoaded",function(){i(document.querySelectorAll("[data-jarallax]"))})}(window),function(s){"use strict";function t(){this._done=[],this._fail=[]}t.prototype={execute:function(t,e){var i=t.length;for(e=Array.prototype.slice.call(e);i--;)t[i].apply(null,e)},resolve:function(){this.execute(this._done,arguments)},reject:function(){this.execute(this._fail,arguments)},done:function(t){this._done.push(t)},fail:function(t){this._fail.push(t)}};var n,e=(n=0,function(t,e){var i=this;
8i.url=t,i.options_default={autoplay:1,loop:1,mute:1,controls:0},i.options=function(t){t=t||{};for(var e=1;e<arguments.length;e++)if(arguments[e])for(var i in arguments[e])arguments[e].hasOwnProperty(i)&&(t[i]=arguments[e][i]);return t}({},i.options_default,e),i.videoID=i.parseURL(t),i.videoID&&(i.ID=n++,i.loadAPI(),i.init())});e.prototype.parseURL=function(t){var e,i,n=!(!(i=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==i[1].length)&&i[1],o=!(!(e=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/))||!e[3])&&e[3];return n?(this.type="youtube",n):!!o&&(this.type="vimeo",o)},e.prototype.isValid=function(){return!!this.videoID},e.prototype.on=function(t,e){this.userEventsList=this.userEventsList||[],(this.userEventsList[t]||(this.userEventsList[t]=[])).push(e)},e.prototype.off=function(t,e){if(this.userEventsList&&this.userEventsList[t])if(e)for(var i=0;i<this.userEventsList[t].length;i++)this.userEventsList[t][i]===e&&(this.userEventsList[t][i]=!1);else delete this.userEventsList[t]},e.prototype.fire=function(t){var e=[].slice.call(arguments,1);if(this.userEventsList&&void 0!==this.userEventsList[t])for(var i in this.userEventsList[t])this.userEventsList[t][i]&&this.userEventsList[t][i].apply(this,e)},e.prototype.play=function(){this.player&&("youtube"===this.type&&this.player.playVideo&&this.player.playVideo(),"vimeo"===this.type&&this.player.api("play"))},e.prototype.pause=function(){this.player&&("youtube"===this.type&&this.player.pauseVideo&&this.player.pauseVideo(),"vimeo"===this.type&&this.player.api("pause"))},e.prototype.getImageURL=function(e){var i=this;if(i.videoImage)e(i.videoImage);else if("youtube"===i.type&&(i.videoImage="https://img.youtube.com/vi/"+i.videoID+"/maxresdefault.jpg",e(i.videoImage)),"vimeo"===i.type){var t=new XMLHttpRequest;t.open("GET","https://vimeo.com/api/v2/video/"+i.videoID+".json",!0),t.onreadystatechange=function(){if(4===this.readyState&&200<=this.status&&this.status<400){var t=JSON.parse(this.responseText);i.videoImage=t[0].thumbnail_large,e(i.videoImage)}},t.send(),t=null}},e.prototype.getIframe=function(o){var a=this;return a.$iframe?void o(a.$iframe):void a.onAPIready(function(){var t;if(a.$iframe||((t=document.createElement("div")).style.display="none"),"youtube"===a.type){var e;a.playerOptions={},a.playerOptions.videoId=a.videoID,a.playerOptions.width=s.innerWidth||document.documentElement.clientWidth,a.playerOptions.playerVars={autohide:1,rel:0,autoplay:0},a.options.controls||(a.playerOptions.playerVars.iv_load_policy=3,a.playerOptions.playerVars.modestbranding=1,a.playerOptions.playerVars.controls=0,a.playerOptions.playerVars.showinfo=0,a.playerOptions.playerVars.disablekb=1),a.playerOptions.events={onReady:function(t){a.options.mute&&t.target.mute(),a.options.autoplay&&a.play(),a.fire("ready",t)},onStateChange:function(t){a.options.loop&&t.data===YT.PlayerState.ENDED&&t.target.playVideo(),e||t.data!==YT.PlayerState.PLAYING||(e=1,a.fire("started",t))}};var i=!a.$iframe;if(i){var n=document.createElement("div");n.setAttribute("id",a.playerID),t.appendChild(n),document.body.appendChild(t)}a.player=a.player||new s.YT.Player(a.playerID,a.playerOptions),i&&(a.$iframe=document.getElementById(a.playerID))}"vimeo"===a.type&&(a.playerOptions="",a.playerOptions+="player_id="+a.playerID,a.playerOptions+="&autopause=0",a.options.controls||(a.playerOptions+="&badge=0&byline=0&portrait=0&title=0"),a.playerOptions+="&autoplay=0",a.playerOptions+="&loop="+(a.options.loop?1:0),a.$iframe||(a.$iframe=document.createElement("iframe"),a.$iframe.setAttribute("id",a.playerID),a.$iframe.setAttribute("src","https://player.vimeo.com/video/"+a.videoID+"?"+a.playerOptions),a.$iframe.setAttribute("frameborder","0"),t.appendChild(a.$iframe),document.body.appendChild(t)),a.player=a.player||$f(a.$iframe),a.player.addEvent("ready",function(t){var e;a.player.api("setVolume",a.options.mute?0:100),a.options.autoplay&&a.play(),a.player.addEvent("playProgress",function(t){e||a.fire("started",t),e=1}),a.fire("ready",t)})),o(a.$iframe)})},e.prototype.init=function(){this.playerID="VideoWorker-"+this.ID};var o=0,a=0;e.prototype.loadAPI=function(){if(!o||!a){var t="";"youtube"!==this.type||o||(o=1,t="//www.youtube.com/iframe_api"),"vimeo"!==this.type||a||(a=1,t="//f.vimeocdn.com/js/froogaloop2.min.js"),"file://"===s.location.origin&&(t="http:"+t);var e=document.createElement("script"),i=document.getElementsByTagName("head")[0];e.src=t,i.appendChild(e),e=i=null}};var i=0,r=0,l=new t,c=new t;e.prototype.onAPIready=function(t){if("youtube"===this.type&&("undefined"!=typeof YT&&0!==YT.loaded||i?"object"==typeof YT&&1===YT.loaded?t():l.done(function(){t()}):(i=1,s.onYouTubeIframeAPIReady=function(){s.onYouTubeIframeAPIReady=null,l.resolve("done"),t()})),"vimeo"===this.type)if("undefined"!=typeof $f||r)"undefined"!=typeof $f?t():c.done(function(){t()});else{r=1;var e=setInterval(function(){"undefined"!=typeof $f&&(clearInterval(e),c.resolve("done"),t())},20)}},s.VideoWorker=e}(window),function(){"use strict";if("undefined"!=typeof jarallax){var t=jarallax.constructor,i=t.prototype.init;t.prototype.init=function(){var e=this;i.apply(e),e.video&&e.video.getIframe(function(t){e.css(t,{position:"fixed",top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",visibility:"visible",zIndex:-1}),e.$video=t,e.image.$container.appendChild(t)})};var e=t.prototype.coverImage;t.prototype.coverImage=function(){var t=this;e.apply(t),t.video&&"IFRAME"===t.image.$item.nodeName&&t.css(t.image.$item,{height:t.image.$item.getBoundingClientRect().height+400+"px",top:"-200px"})};var n=t.prototype.initImg;t.prototype.initImg=function(){var e=this;if(e.options.videoSrc||(e.options.videoSrc=e.$item.getAttribute("data-jarallax-video")||!1),e.options.videoSrc){var i=new VideoWorker(e.options.videoSrc);return i.isValid()&&(e.image.useImgTag=!0,i.on("ready",function(){var t=e.onScroll;e.onScroll=function(){t.apply(e),e.isVisible()?i.play():i.pause()}}),i.on("started",function(){e.image.$default_item=e.image.$item,e.image.$item=e.$video,e.image.width=e.imgWidth=1280,e.image.height=e.imgHeight=720,e.coverImage(),e.clipContainer(),e.onScroll(),e.image.$default_item&&(e.image.$default_item.style.display="none")}),(e.video=i).getImageURL(function(t){e.image.src=t,e.init()})),!1}return n.apply(e)};var o=t.prototype.destroy;t.prototype.destroy=function(){o.apply(this)}}}(),function(n){n(document).ready(function(){var i;i=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),n(window).on("resize",function(){var e=Math.max(n(window).width(),window.innerWidth),t=n(".has-submenu");991<e&&t.removeClass("submenu-open"),991<e&&!0!==i?(t.children("a").unbind("click"),t.unbind("mouseenter mouseleave"),t.on({mouseenter:function(){n(this).addClass("submenu-open")},mouseleave:function(){n(this).removeClass("submenu-open")}})):(t.unbind("mouseenter mouseleave"),t.children("a").unbind("click").click(function(t){t.preventDefault(),n(this).parent().toggleClass("submenu-open"),991<e&&1==i&&(n(this).parent().siblings().removeClass("submenu-open"),n(this).parent().siblings().find(".submenu-open").removeClass("submenu-open"))}))})})}(jQuery),function(l){l(document).ready(function(){l(".reserve-form").find("input,textarea").jqBootstrapValidation({preventSubmit:!0,submitError:function(t,e,
8i){},submitSuccess:function(e,t){t.preventDefault();var i=l("#reserve-response");l.ajax({type:"POST",url:"assets/php/booking.php",data:e.serialize(),dataType:"json",cache:!1,success:function(t){1==t.sendstatus?(i.html(t.message),e.fadeOut(500)):i.html(t.message)}})}}),l("#contact-form").find("input,textarea").jqBootstrapValidation({preventSubmit:!0,submitError:function(t,e,i){},submitSuccess:function(e,t){t.preventDefault();var i=l("#contact-form submit"),n=l("#contact-response"),o=l('#contact-form [name="name"]').val(),a=l('#contact-form [name="lastname"]').val(),s=l('#contact-form [name="email"]').val(),r=l('#contact-form [name="message"]').val();l.ajax({type:"POST",url:"assets/php/contact.php",dataType:"json",data:{name:o,lastname:a,email:s,message:r},cache:!1,beforeSend:function(t){i.empty(),i.append('<i class="fa fa-cog fa-spin"></i> Wait...')},success:function(t){1==t.sendstatus?(n.html(t.message),e.fadeOut(500)):n.html(t.message)}})}})})}(jQuery); 9/* custom.js */ 10!function(v){"use strict";v(window).load(function(){v(".page-loader").delay(350).fadeOut("slow")}),v(document).ready(function(){v(".header");var a,e=v(".module-hero");function t(){v(".owl-controls .owl-page").append('<a class="item-link" href="#"/>');var t=v(".owl-controls .item-link");v.each(this.owl.userItems,function(e){v(t[e]).css({background:"url("+v(this).find("img").attr("src")+") center center no-repeat","-webkit-background-size":"cover","-moz-background-size":"cover","-o-background-size":"cover","background-size":"cover"}).click(function(){return a.trigger("owl.goTo",e),!1})})}/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),v(".nav-toogle a").on("click",function(e){e.preventDefault()}),new Headroom(document.querySelector("#navigation"),{tolerance:5,offset:50,onUnpin:function(){v(".inner-navigation").collapse("hide")}}).init(),0==e.length&&v(".header").addClass("header-dark"),v(".onepage-nav").singlePageNav({currentClass:"active"}),v(document).on("click",".inner-navigation.in",function(e){v(e.target).is("a")&&!v(e.target).parent().hasClass("has-submenu")&&(v(this).collapse("hide"),v(".nav-icon-toggle").toggleClass("open"))}),v(".flexslider").flexslider({animation:"fade",prevText:'<i class="arrow_carrot-left"></i>',nextText:'<i class="arrow_carrot-right"></i>',before:function(e){v(".hero-caption").fadeOut().animate({top:"-80px"},{queue:!1,easing:"swing",duration:700}),e.slides.eq(e.currentSlide).delay(500),e.slides.eq(e.animatingTo).delay(500)},after:function(e){v(".hero-caption").fadeIn().animate({top:"0"},{queue:!1,easing:"swing",duration:700})},useCSS:!0}),v("[data-background]").each(function(){v(this).css("background-image","url("+v(this).attr("data-background")+")")}),v(".parallax").jarallax({speed:.6}),v("#date").datepicker({format:"dd.mm.yyyy",defaultDate:new Date,todayHighlight:!0,container:".date-group",autoclose:!0}),v("#time").timepicker({step:30,timeFormat:"h:i A",scrollDefault:"now"}),v(".twitter-feed").each(function(e){v(this).attr("id","twitter-"+e);var t={id:v(this).data("twitter"),domId:"twitter-"+e,maxTweets:2,enableLinks:!0,showPermalinks:!1};twitterFetcher.fetch(t)}),(a=v(".product-slider")).owlCarousel({navigation:!1,slideSpeed:300,paginationSpeed:400,singleItem:!0,afterInit:t,afterUpdate:t,touchDrag:!1,mouseDrag:!1}),v(".clients-carousel").each(function(){v(this).owlCarousel(v.extend({navigation:!1,pagination:!1,autoPlay:3e3,items:6,navigationText:['<i class="arrow_carrot-left"></i>','<i class="arrow_carrot-right"></i>']},v(this).data("carousel-options")))}),v(".image-slider").each(function(){v(this).owlCarousel(v.extend({stopOnHover:!0,navigation:!0,pagination:!0,autoPlay:3e3,singleItem:!0,items:1,navigationText:['<i class="arrow_carrot-left"></i>','<i class="arrow_carrot-right"></i>']},v(this).data("carousel-options")))}),v(".slider-testimonial").owlCarousel({stopOnHover:!0,paginationSpeed:400,slideSpeed:300,navigation:!0,pagination:!0,singleItem:!0,autoPlay:4e3,transitionStyle:"backSlide",navigationText:['<i class="arrow_carrot-left"></i>','<i class="arrow_carrot-right"></i>']}),v(window).on("resize",function(){setTimeout(function(){v(".post-masonry").masonry()},1e3)}).resize(),v(".progress-bar").each(function(){v(this).appear(function(){var e=v(this).attr("aria-valuenow");v(this).animate({width:e+"%"}),v(this).parent(".progress").prev(".progress-title").find("span span").countTo({from:0,to:e,speed:900,refreshInterval:30})})}),v(".counter-timer").each(function(){v(this).appear(function(){var e=v(this).find("span").attr("data-to");v(this).find("span").countTo({from:0,to:e,speed:1500,refreshInterval:10,formatter:function(e,t){return e=(e=e.toFixed(t.decimals)).replace(/\B(?=(\d{3})+(?!\d))/g,",")}})})}),v(".lightbox").magnificPopup({type:"image"}),v(".gallery").each(function(){v(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}
10,image:{titleSrc:"title",tError:"The image could not be loaded."}})}),v(".video-pop-up").magnificPopup({type:"iframe"});var i=v("#filters"),o=v(".gallery");v("a",i).on("click",function(){var e=v(this).attr("data-filter");return v(".current",i).removeClass("current"),v(this).addClass("current"),o.isotope({filter:e}),!1}).scroll(),v(window).on("resize",function(){o.imagesLoaded(function(){o.isotope({layoutMode:"packery",itemSelector:".gallery-item"})})}).resize(),v("body").fitVids(),new WOW({mobile:!1}).init();var r=/\[[^(\]\[)]*\]/g,n=v("#map"),s=736<Math.max(v(window).width(),window.innerWidth);if(0<n.length){var l,c=n[0].getAttribute("data-addresses").match(r),d=n.data("info").match(r),f=n.data("icon"),g=n.data("zoom"),p=[];c.forEach(function(e,t){var a="{";(a+='"latLng":'+e,0==t&&(l=JSON.parse(e)),null!=d)&&(d[t]&&(a+=', "data":"'+d[t].replace(/\[|\]/g,"")+'"'));a+="}",p.push(JSON.parse(a))});var u={scrollwheel:!1,styles:[{featureType:"water",elementType:"geometry",stylers:[{color:"#e9e9e9"},{lightness:17}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:20}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#ffffff"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:16}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:21}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#dedede"},{lightness:21}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{lightness:16}]},{elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#333333"},{lightness:40}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#f2f2f2"},{lightness:19}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#fefefe"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#fefefe"},{lightness:17},{weight:1.2}]}]};u.center=l,u.zoom=g,u.draggable=s;var m={};m.icon=f,n.gmap3({map:{options:u},marker:{values:p,options:m,events:{click:function(e,t,a){if(a.data){var i=v(this).gmap3("get"),o=v(this).gmap3({get:{name:"infowindow"}});o?(o.open(i,e),o.setContent(a.data)):v(this).gmap3({infowindow:{anchor:e,options:{content:a.data}}})}}}}})}v(function(){v('[data-toggle="tooltip"]').tooltip({trigger:"hover"})}),v(".smoothscroll").on("click",function(e){var t=this.hash,a=v(t);v("html, body").stop().animate({scrollTop:a.offset().top},600,"swing"),e.preventDefault()});var h,y=document.body;window.addEventListener("scroll",function(){clearTimeout(h),y.classList.contains("disable-hover")||y.classList.add("disable-hover"),h=setTimeout(function(){y.classList.remove("disable-hover")},100)},!1)})}(jQuery); 11/* query.themepunch.tools.min.js */ 12if(function(t){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(function(ot){var lt="left",ht="right",ut="up",ft="down",pt="in",ct="out",dt="none",_t="auto",gt="swipe",mt="pinch",vt="tap",xt="doubletap",yt="longtap",wt="horizontal",Tt="vertical",bt="all",Pt=10,Ot="start",St="move",kt="end",Ct="cancel",At="ontouchstart"in window,Rt=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,Mt=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,Et="TouchSwipe";function r(t,v){var e=At||Mt||!v.fallbackToMouseEvents,i=e?Mt?Rt?"MSPointerDown":"pointerdown":"touchstart":"mousedown",r=e?Mt?Rt?"MSPointerMove":"pointermove":"touchmove":"mousemove",n=e?Mt?Rt?"MSPointerUp":"pointerup":"touchend":"mouseup",s=e?null:"mouseleave",a=Mt?Rt?"MSPointerCancel":"pointercancel":"touchcancel",x=0,y=null,w=0,T=0,b=0,P=1,O=0,S=0,k=null,o=ot(t),C="start",A=0,R=null,l=0,M=0,h=0,u=0,f=0,p=null,E=null;try{o.bind(i,c),o.bind(a,g)}catch(t){ot.error("events not supported "+i+","+a+" on jQuery.swipetp")}function c(t){if(!0!==o.data(Et+"_intouch")&&!(0<ot(t.target).closest(v.excludedElements,o).length)){var e,i,r=t.originalEvent?t.originalEvent:t,n=r.touches,s=n?n[0]:r;return C=Ot,n?A=n.length:t.preventDefault(),S=y=null,P=1,O=b=T=w=x=0,R=function(){for(var t=[],e=0;e<=5;e++)t.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return t}(),(i={})[lt]=rt(lt),i[ht]=rt(ht),i[ut]=rt(ut),i[ft]=rt(ft),k=i,$(),!n||A===v.fingers||v.fingers===bt||Y()?(tt(0,s),l=at(),2==A&&(tt(1,n[1]),T=b=st(R[0].start,R[1].start)),(v.swipeStatus||v.pinchStatus)&&(e=F(r,C))):e=!1,!1===e?(F(r,C=Ct),e):(v.hold&&(E=setTimeout(ot.proxy(function(){o.trigger("hold",[r.target]),v.hold&&(e=v.hold.call(o,r,r.target))},this),v.longTapThreshold)),J(!0),null)}}function d(t){var e=t.originalEvent?t.originalEvent:t;if(C!==kt&&C!==Ct&&!K()){var i,r,n,s,a,o,l,h,u,f,p,c,d=e.touches,_=et(d?d[0]:e);if(M=at(),d&&(A=d.length),v.hold&&clearTimeout(E),C=St,2==A&&(0==T?(tt(1,d[1]),T=b=st(R[0].start,R[1].start)):(et(d[1]),b=st(R[
120].end,R[1].end),R[0].end,R[1].end,S=P<1?ct:pt),P=(b/T*1).toFixed(2),O=Math.abs(T-b)),A===v.fingers||v.fingers===bt||!d||Y()){if(f=_.start,p=_.end,c=function(t,e){var i=t.x-e.x,r=e.y-t.y,n=Math.atan2(r,i),s=Math.round(180*n/Math.PI);s<0&&(s=360-Math.abs(s));return s}(f,p),function(t,e){if(!1===v.preventDefaultEvents)return;if(v.allowPageScroll===dt)t.preventDefault();else{var i=v.allowPageScroll===_t;switch(e){case lt:(v.swipeLeft&&i||!i&&v.allowPageScroll!=wt)&&t.preventDefault();break;case ht:(v.swipeRight&&i||!i&&v.allowPageScroll!=wt)&&t.preventDefault();break;case ut:(v.swipeUp&&i||!i&&v.allowPageScroll!=Tt)&&t.preventDefault();break;case ft:(v.swipeDown&&i||!i&&v.allowPageScroll!=Tt)&&t.preventDefault()}}}(t,y=c<=45&&0<=c?lt:c<=360&&315<=c?lt:135<=c&&c<=225?ht:45<c&&c<135?ft:ut),h=_.start,u=_.end,x=Math.round(Math.sqrt(Math.pow(u.x-h.x,2)+Math.pow(u.y-h.y,2))),w=nt(),o=y,l=x,l=Math.max(l,it(o)),k[o].distance=l,(v.swipeStatus||v.pinchStatus)&&(i=F(e,C)),!v.triggerOnTouchEnd||v.triggerOnTouchLeave){var g=!0;if(v.triggerOnTouchLeave){var m={left:(a=(s=ot(s=this)).offset()).left,right:a.left+s.outerWidth(),top:a.top,bottom:a.top+s.outerHeight()};r=_.end,n=m,g=r.x>n.left&&r.x<n.right&&r.y>n.top&&r.y<n.bottom}!v.triggerOnTouchEnd&&g?C=D(St):v.triggerOnTouchLeave&&!g&&(C=D(kt)),C!=Ct&&C!=kt||F(e,C)}}else F(e,C=Ct);!1===i&&F(e,C=Ct)}}function _(t){var e=t.originalEvent?t.originalEvent:t,i=e.touches;return i&&i.length?(h=at(),u=event.touches.length+1,!0):(K()&&(A=u),M=at(),w=nt(),N()||!X()?F(e,C=Ct):v.triggerOnTouchEnd||0==v.triggerOnTouchEnd&&C===St?(t.preventDefault(),F(e,C=kt)):!v.triggerOnTouchEnd&&H()?I(e,C=kt,vt):C===St&&F(e,C=Ct),J(!1),null)}function g(){b=T=l=M=A=0,P=1,$(),J(!1)}function m(t){var e=t.originalEvent?t.originalEvent:t;v.triggerOnTouchLeave&&F(e,C=D(kt))}function L(){o.unbind(i,c),o.unbind(a,g),o.unbind(r,d),o.unbind(n,_),s&&o.unbind(s,m),J(!1)}function D(t){var e=t,i=z(),r=X(),n=N();return!i||n?e=Ct:!r||t!=St||v.triggerOnTouchEnd&&!v.triggerOnTouchLeave?!r&&t==kt&&v.triggerOnTouchLeave&&(e=Ct):e=kt,e}function F(t,e){var i,r=t.touches;return W()||G()||B()||Y()?((W()||G())&&(i=I(t,e,gt)),(B()||Y())&&!1!==i&&(i=I(t,e,mt))):Z()&&Q()&&!1!==i?i=I(t,e,xt):w>v.longTapThreshold&&x<Pt&&v.longTap&&!1!==i?i=I(t,e,yt):1!==A&&At||!(isNaN(x)||x<v.threshold)||!H()||!1===i||(i=I(t,e,vt)),e===Ct&&g(),e===kt&&(r&&r.length||g()),i}function I(t,e,i){var r;if(i==gt){if(o.trigger("swipeStatus",[e,y||null,x||0,w||0,A,R]),v.swipeStatus&&!1===(r=v.swipeStatus.call(o,t,e,y||null,x||0,w||0,A,R)))return!1;if(e==kt&&V()){if(o.trigger("swipe",[y,x,w,A,R]),v.swipe&&!1===(r=v.swipe.call(o,t,y,x,w,A,R)))return!1;switch(y){case lt:o.trigger("swipeLeft",[y,x,w,A,R]),v.swipeLeft&&(r=v.swipeLeft.call(o,t,y,x,w,A,R));break;case ht:o.trigger("swipeRight",[y,x,w,A,R]),v.swipeRight&&(r=v.swipeRight.call(o,t,y,x,w,A,R));break;case ut:o.trigger("swipeUp",[y,x,w,A,R]),v.swipeUp&&(r=v.swipeUp.call(o,t,y,x,w,A,R));break;case ft:o.trigger("swipeDown",[y,x,w,A,R]),v.swipeDown&&(r=v.swipeDown.call(o,t,y,x,w,A,R))}}}if(i==mt){if(o.trigger("pinchStatus",[e,S||null,O||0,w||0,A,P,R]),v.pinchStatus&&!1===(r=v.pinchStatus.call(o,t,e,S||null,O||0,w||0,A,P,R)))return!1;if(e==kt&&j())switch(S){case pt:o.trigger("pinchIn",[S||null,O||0,w||0,A,P,R]),v.pinchIn&&(r=v.pinchIn.call(o,t,S||null,O||0,w||0,A,P,R));break;case ct:o.trigger("pinchOut",[S||null,O||0,w||0,A,P,R]),v.pinchOut&&(r=v.pinchOut.call(o,t,S||null,O||0,w||0,A,P,R))}}return i==vt?e!==Ct&&e!==kt||(clearTimeout(p),clearTimeout(E),Q()&&!Z()?(f=at(),p=setTimeout(ot.proxy(function(){f=null,o.trigger("tap",[t.target]),v.tap&&(r=v.tap.call(o,t,t.target))},this),v.doubleTapThreshold)):(f=null,o.trigger("tap",[t.target]),v.tap&&(r=v.tap.call(o,t,t.target)))):i==xt?e!==Ct&&e!==kt||(clearTimeout(p),f=null,o.trigger("doubletap",[t.target]),v.doubleTap&&(r=v.doubleTap.call(o,t,t.target))):i==yt&&(e!==Ct&&e!==kt||(clearTimeout(p),f=null,o.trigger("longtap",[t.target]),v.longTap&&(r=v.longTap.call(o,t,t.target)))),r}function X(){var t=!0;return null!==v.threshold&&(t=x>=v.threshold),t}function N(){var t=!1;return null!==v.cancelThreshold&&null!==y&&(t=it(y)-x>=v.cancelThreshold),t}function z(){return!v.maxTimeThreshold||!(w>=v.maxTimeThreshold)}function j(){var t=U(),e=q(),i=null===v.pinchThreshold||O>=v.pinchThreshold;return t&&e&&i}function Y(){return!!(v.pinchStatus||v.pinchIn||v.pinchOut)}function B(){return!(!j()||!Y())}function V(){var t=z(),e=X(),i=U(),r=q();return!N()&&r&&i&&e&&t}function G(){return!!(v.swipe||v.swipeStatus||v.swipeLeft||v.swipeRight||v.swipeUp||v.swipeDown)}function W(){return!(!V()||!G())}function U(){return A===v.fingers||v.fingers===bt||!At}function q(){return 0!==R[0].end.x}
12function H(){return!!v.tap}function Q(){return!!v.doubleTap}function Z(){if(null==f)return!1;var t=at();return Q()&&t-f<=v.doubleTapThreshold}function $(){u=h=0}function K(){var t=!1;h&&(at()-h<=v.fingerReleaseThreshold&&(t=!0));return t}function J(t){!0===t?(o.bind(r,d),o.bind(n,_),s&&o.bind(s,m)):(o.unbind(r,d,!1),o.unbind(n,_,!1),s&&o.unbind(s,m,!1)),o.data(Et+"_intouch",!0===t)}function tt(t,e){var i=void 0!==e.identifier?e.identifier:0;return R[t].identifier=i,R[t].start.x=R[t].end.x=e.pageX||e.clientX,R[t].start.y=R[t].end.y=e.pageY||e.clientY,R[t]}function et(t){var e=function(t){for(var e=0;e<R.length;e++)if(R[e].identifier==t)return R[e]}(void 0!==t.identifier?t.identifier:0);return e.end.x=t.pageX||t.clientX,e.end.y=t.pageY||t.clientY,e}function it(t){if(k[t])return k[t].distance}function rt(t){return{direction:t,distance:0}}function nt(){return M-l}function st(t,e){var i=Math.abs(t.x-e.x),r=Math.abs(t.y-e.y);return Math.round(Math.sqrt(i*i+r*r))}function at(){return(new Date).getTime()}this.enable=function(){return o.bind(i,c),o.bind(a,g),o},this.disable=function(){return L(),o},this.destroy=function(){L(),o.data(Et,null),o=null},this.option=function(t,e){if(void 0!==v[t]){if(void 0===e)return v[t];v[t]=e}else ot.error("Option "+t+" does not exist on jQuery.swipetp.options");return null}}ot.fn.swipetp=function(t){var e=ot(this),i=e.data(Et);if(i&&"string"==typeof t){if(i[t])return i[t].apply(this,Array.prototype.slice.call(arguments,1));ot.error("Method "+t+" does not exist on jQuery.swipetp")}else if(!(i||"object"!=typeof t&&t))return function(i){!i||void 0!==i.allowPageScroll||void 0===i.swipe&&void 0===i.swipeStatus||(i.allowPageScroll=dt);void 0!==i.click&&void 0===i.tap&&(i.tap=i.click);i||(i={});return i=ot.extend({},ot.fn.swipetp.defaults,i),this.each(function(){var t=ot(this),e=t.data(Et);e||(e=new r(this,i),t.data(Et,e))})}.apply(this,arguments);return e},ot.fn.swipetp.version="1.6.9",ot.fn.swipetp.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:!0},ot.fn.swipetp.phases={PHASE_START:Ot,PHASE_MOVE:St,PHASE_END:kt,PHASE_CANCEL:Ct},ot.fn.swipetp.directions={LEFT:lt,RIGHT:ht,UP:ut,DOWN:ft,IN:pt,OUT:ct},ot.fn.swipetp.pageScroll={NONE:dt,HORIZONTAL:wt,VERTICAL:Tt,AUTO:_t},ot.fn.swipetp.fingers={ONE:1,TWO:2,THREE:3,ALL:bt}}),void 0===console){var console={};console.log=console.error=console.info=console.debug=console.warn=console.trace=console.dir=console.dirxml=console.group=console.groupEnd=console.time=console.timeEnd=console.assert=console.profile=console.groupCollapsed=function(){}}if(1==window.tplogs)try{console.groupCollapsed("ThemePunch GreenSocks Logs")}catch(t){}var oldgs=window.GreenSockGlobals;oldgs_queue=window._gsQueue;var _gsScope,punchgs=window.GreenSockGlobals={};if(1==window.tplogs)try{console.info("Build GreenSock SandBox for ThemePunch Plugins"),console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin")}catch(t){}!function(c,d){"use strict";var e,i,_={},g=c.GreenSockGlobals=c.GreenSockGlobals||c;if(!g.TweenLite){var t,r,n,m,v,x=function(t){var e,i=t.split("."),r=g;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},f=x("com.greensock"),y=1e-10,l=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},w=function(){},T=(e=Object.prototype.toString,i=e.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&e.call(t)===i)}),b={},P=function(l,h,u,f){this.sc=b[l]?b[l].sc:[],(b[l]=this).gsClass=null,this.func=u;var p=[];this.check=function(t){for(var e,i,r,n,s,a=h.length,o=a;-1<--a;)(e=b[h[a]]||new P(h[a],[])).gsClass?(p[a]=e.gsClass,o--):t&&e.sc.push(this);if(0===o&&u){if(r=(i=("com.greensock."+l).split(".")).pop(),n=x(i.join("."))[r]=this.gsClass=u.apply(u,p),f)if(g[r]=n,!(s="undefined"!=typeof module&&module.exports)&&"function"==typeof define&&define.amd)define((c.GreenSockAMDPath?c.GreenSockAMDPath+"/":"")+l.split(".").pop(),[],function(){return n});else if(s)if(l===d)for(a in module.exports=_[d]=n,_)n[a]=_[a];else _[d]&&(_[d][r]=n);for(a=0;a<this.sc.length;a++)this.sc[a].check()}},this.check(!0)}
12,s=c._gsDefine=function(t,e,i,r){return new P(t,e,i,r)},p=f._class=function(t,e,i){return e=e||function(){},s(t,[],function(){return e},i),e};s.globals=g;var a=[0,0,1,1],o=[],u=p("easing.Ease",function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?a.concat(e):a},!0),O=u.map={},h=u.register=function(t,e,i,r){for(var n,s,a,o,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");-1<--h;)for(s=l[h],n=r?p("easing."+s,null,!0):f.easing[s]||{},a=u.length;-1<--a;)o=u[a],O[s+"."+o]=O[o+s]=n[o]=t.getRatio?t:t[o]||new t};for((n=u.prototype)._calcEnd=!1,n.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:t<.5?r/2:1-r/2},r=(t=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--r;)n=t[r]+",Power"+r,h(new u(null,null,1,r),n,"easeOut",!0),h(new u(null,null,2,r),n,"easeIn"+(0===r?",easeNone":"")),h(new u(null,null,3,r),n,"easeInOut");O.linear=f.easing.Linear.easeIn,O.swing=f.easing.Quad.easeInOut;var S=p("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(n=S.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,a,o=this._listeners[t],l=0;for(this!==m||v||m.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;-1<--a;)(s=o[a]).c===e&&s.s===i?o.splice(a,1):0===l&&s.pr<n&&(l=a+1);o.splice(l,0,{c:e,s:i,up:r,pr:n})},n.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;-1<--i;)if(r[i].c===e)return void r.splice(i,1)},n.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for(e=n.length,i=this._eventTarget;-1<--e;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var k=c.requestAnimationFrame,C=c.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},R=A();for(r=(t=["ms","moz","webkit","o"]).length;-1<--r&&!k;)k=c[t[r]+"RequestAnimationFrame"],C=c[t[r]+"CancelAnimationFrame"]||c[t[r]+"CancelRequestAnimationFrame"];p("Ticker",function(t,e){var n,s,a,o,l,h=this,u=A(),i=!(!1===e||!k)&&"auto",f=500,p=33,c=function(t){var e,i,r=A()-R;f<r&&(u+=r-p),R+=r,h.time=(R-u)/1e3,e=h.time-l,(!n||0<e||!0===t)&&(h.frame++,l+=e+(o<=e?.004:o-e),i=!0),!0!==t&&(a=s(c)),i&&h.dispatchEvent("tick")};S.call(h),h.time=h.frame=0,h.tick=function(){c(!0)},h.lagSmoothing=function(t,e){f=t||1e10,p=Math.min(e,f,0)},h.sleep=function(){null!=a&&(i&&C?C(a):clearTimeout(a),s=w,a=null,h===m&&(v=!1))},h.wake=function(t){null!==a?h.sleep():t?u+=-R+(R=A()):10<h.frame&&(R=A()-f+5),s=0===n?w:i&&k?k:function(t){return setTimeout(t,1e3*(l-h.time)+1|0)},h===m&&(v=!0),c(2)},h.fps=function(t){return arguments.length?(o=1/((n=t)||60),l=this.time+o,void h.wake()):n},h.useRAF=function(t){return arguments.length?(h.sleep(),i=t,void h.fps(n)):i},h.fps(t),setTimeout(function(){"auto"===i&&h.frame<5&&"hidden"!==document.visibilityState&&h.useRAF(!1)},1500)}),(n=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var M=p("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,Q){v||m.wake();var i=this.vars.useFrames?H:Q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});m=M.ticker=new f.Ticker,(n=M.prototype)._dirty=n._gc=n._initted=n._paused=!1,n._totalTime=n._time=0,n._rawPrevTime=-1,n._next=n._last=n._onUpdate=n._timeline=n.timeline=null,n._paused=!1;var E=function(){v&&2e3<A()-R&&m.wake(),setTimeout(E,2e3)};E(),n.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},n.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},n.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},n.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},n.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},n.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)}
vendor: 4,332 bytes, line 12
12,n.render=function(t,e,i){},n.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},n.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&t<i+this.totalDuration()/this._timeScale},n._enabled=function(t,e){return v||m.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},n._kill=function(t,e){return this._enabled(!1,!1)},n.kill=function(t,e){return this._kill(t,e),this},n._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},n._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},n._callback=function(t){var e=this.vars;e[t].apply(e[t+"Scope"]||e.callbackScope||this,e[t+"Params"]||o)},n.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=T(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},n.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},n.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},n.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},n.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},n.totalTime=function(t,e,i){if(v||m.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(r<t&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(I.length&&$(),this.render(t,e,!1),I.length&&$())}return this},n.progress=n.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},n.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},n.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},n.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||y,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},n.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},n.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(v||t||m.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var L=p("core.SimpleTimeline",function(t){M.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(n=L.prototype=new M).constructor=L,n.kill()._gc=!1,n._first=n._last=n._recent=null,n._sortChildren=!1,n.add=n.insert=function(t,e,
12i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},n._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},n.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},n.rawTime=function(){return v||m.wake(),this._totalTime};var D=p("TweenLite",function(t,e,i){if(M.call(this,e,i),this.render=D.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:D.selector(t)||t;var r,n,s,a=t.jquery||t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType),o=this.vars.overwrite;if(this._overwrite=o=null==o?q[D.defaultOverwrite]:"number"==typeof o?o>>0:q[o],(a||t instanceof Array||t.push&&T(t))&&"number"!=typeof t[0])for(this._targets=s=l(t),this._propLookup=[],this._siblings=[],r=0;r<s.length;r++)(n=s[r])?"string"!=typeof n?n.length&&n!==c&&n[0]&&(n[0]===c||n[0].nodeType&&n[0].style&&!n.nodeType)?(s.splice(r--,1),this._targets=s=s.concat(l(n))):(this._siblings[r]=K(n,this,!1),1===o&&1<this._siblings[r].length&&tt(n,this,null,1,this._siblings[r])):"string"==typeof(n=s[r--]=D.selector(n))&&s.splice(r+1,1):s.splice(r--,1);else this._propLookup={},this._siblings=K(t,this,!1),1===o&&1<this._siblings.length&&tt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-y,this.render(Math.min(0,-this._delay)))},!0),F=function(t){return t&&t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType)};(n=D.prototype=new M).constructor=D,n.kill()._gc=!1,n.ratio=0,n._firstPT=n._targets=n._overwrittenProps=n._startAt=null,n._notifyPluginsOfEnabled=n._lazy=!1,D.version="1.18.5",D.defaultEase=n._ease=new u(null,null,1,1),D.defaultOverwrite="auto",D.ticker=m,D.autoSleep=120,D.lagSmoothing=function(t,e){m.lagSmoothing(t,e)},D.selector=c.$||c.jQuery||function(t){var e=c.$||c.jQuery;return e?(D.selector=e)(t):"undefined"==typeof document?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById("#"===t.charAt(0)?t.substr(1):t)};var I=[],X={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=function(t){for(var e,i=this._firstPT;i;)e=i.blob?t?this.join(""):this.start:i.c*t+i.s,i.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},j=function(t,e,i,r){var n,s,a,o,l,h,u,f=[t,e],p=0,c="",d=0;for(f.start=t,i&&(i(f),t=f[0],e=f[1]),f.length=0,n=t.match(N)||[],s=e.match(N)||[],r&&(r._next=null,r.blob=1,f._firstPT=r),l=s.length,o=0;o<l;o++)u=s[o],c+=(h=e.substr(p,e.indexOf(u,p)-p))||!o?h:",",p+=h.length,d?d=(d+1)%5:"rgba("===h.substr(-5)&&(d=1),u===n[o]||n.length<=o?c+=u:(c&&(f.push(c),c=""),a=parseFloat(n[o]),f.push(a),f._firstPT={_next:f._firstPT,t:f,p:f.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,r:d&&d<4}),p+=u.length;return(c+=e.substr(p))&&f.push(c),f.setRatio=z,f},Y=function(t,e,i,r,n,s,a,o){var l,h="get"===i?t[e]:i,u=typeof t[e],f="string"==typeof r&&"="===r.charAt(1),p={t:t,p:e,s:h,f:"function"===u,pg:0,n:n||e,r:s,pr:0,c:f?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-h||0};return"number"!==u&&("function"===u&&"get"===i&&(l=e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),p.s=h=a?t[l](a):t[l]()),"string"==typeof h&&(a||isNaN(h))?(p.fp=a,p={t:j(h,r,o||D.defaultStringFilter,p),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0}):f||(p.s=parseFloat(h),p.c=parseFloat(r)-p.s||0)),p.c?((p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p):void 0},B=D._internals={isArray:T,isSelector:F,lazyTweens:I,blobDif:j},V=D._plugins={},G=B.tweenLookup={},W=0,U=B.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},q={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},H=M._rootFramesTimeline=new L,Q=M._rootTimeline=new L,Z=30,$=B.lazyRender=function(){var t,e=I.length;for(X={};-1<--e;)(t=I[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);I.length=0};Q._startTime=m.time,H._startTime=m.frame,Q._active=H._active=!0,setTimeout($,1),M._updateRoot=D.render=function(){var t,e,i;if(I.length&&$(),Q.render((m.time-Q._startTime)*Q._timeScale,!1,!1),H.render((m.frame-H._startTime)*H._timeScale,!1,!1),I.length&&$(),m.frame>=Z){for(i in Z=m.frame+(parseInt(D.autoSleep,10)||120),G){for(t=(e=G[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete G[i]}if((!(i=Q._first)||i._paused)&&D.autoSleep&&!H._first&&1===m._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||m.sleep()}}},m.addEventListener("tick",M._updateRoot);
12var K=function(t,e,i){var r,n,s=t._gsTweenID;if(G[s||(t._gsTweenID=s="t"+W++)]||(G[s]={target:t,tweens:[]}),e&&((r=G[s].tweens)[n=r.length]=e,i))for(;-1<--n;)r[n]===e&&r.splice(n,1);return G[s].tweens},J=function(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),(a=D.onOverwrite)&&(s=a(t,e,i,r)),!1!==n&&!1!==s},tt=function(t,e,i,r,n){var s,a,o,l;if(1===r||4<=r){for(l=n.length,s=0;s<l;s++)if((o=n[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===r)break;return a}var h,u=e._startTime+y,f=[],p=0,c=0===e._duration;for(s=n.length;-1<--s;)(o=n[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||et(e,0,c),0===et(o,h,c)&&(f[p++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((c||!o._initted)&&u-o._startTime<=2e-10||(f[p++]=o)));for(s=p;-1<--s;)if(o=f[s],2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted){if(2!==r&&!J(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return e<(s/=n)?s-e:i&&s===e||!t._initted&&s-e<2*y?y:(s+=t.totalDuration()/t._timeScale/n)>e+y?0:s-e-y};n._init=function(){var t,e,i,r,n,s=this.vars,a=this._overwrittenProps,o=this._duration,l=!!s.immediateRender,h=s.ease;if(s.startAt){for(r in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={},s.startAt)n[r]=s.startAt[r];if(n.overwrite=!1,n.immediateRender=!0,n.lazy=l&&!1!==s.lazy,n.startAt=n.delay=null,this._startAt=D.to(this.target,0,n),l)if(0<this._time)this._startAt=null;else if(0!==o)return}else if(s.runBackwards&&0!==o)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(r in 0!==this._time&&(l=!1),i={},s)U[r]&&"autoCSS"!==r||(i[r]=s[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==s.lazy,i.immediateRender=l,this._startAt=D.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof u?h:"function"==typeof h?new u(h,s.easeParams):O[h]||D.defaultEase:D.defaultEase,s.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;-1<--t;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a);if(e&&D._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=s.onUpdate,this._initted=!0},n._initProps=function(t,e,i,r){var n,s,a,o,l,h;if(null==t)return!1;for(n in X[t._gsTweenID]&&$(),this.vars.css||t.style&&t!==c&&t.nodeType&&V.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)U[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!V[i]||V[i]&&V[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,t),this.vars)if(h=this.vars[n],U[n])h&&(h instanceof Array||h.push&&T(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[n]=h=this._swapSelfInParams(h,this));else if(V[n]&&(o=new V[n])._onInitTween(t,this.vars[n],this)){for(this._firstPT=l={_next:this._firstPT,t:o,p:"setRatio",s:0,c:1,f:1,n:n,pg:1,pr:o._priority},s=o._overwriteProps.length;-1<--s;)e[o._overwriteProps[s]]=this._firstPT;(o._priority||o._onInitAllProps)&&(a=!0),(o._onDisable||o._onEnable)&&(this._notifyPluginsOfEnabled=!0),l._next&&(l._next._prev=l)}else e[n]=Y.call(this,t,n,"get",h,n,0,null,this.vars.stringFilter);
12return r&&this._kill(r,t)?this._initProps(t,e,i,r):1<this._overwrite&&this._firstPT&&1<i.length&&tt(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initProps(t,e,i,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(X[t._gsTweenID]=!0),a)},n.render=function(t,e,i){var r,n,s,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(l-1e-7<=t)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(r=!0,n="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(h<0||t<=0&&-1e-7<=t||h===y&&"isPause"!==this.data)&&h!==t&&(i=!0,y<h&&(n="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:y);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&0<h)&&(n="onReverseComplete",r=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(0<=h&&(h!==y||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:y)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,f=this._easeType,p=this._easePower;(1===f||3===f&&.5<=u)&&(u=1-u),3===f&&(u*=2),1===p?u*=u:2===p?u*=u*u:3===p?u*=u*u*u:4===p&&(u*=u*u*u*u),this.ratio=1===f?1-u:2===f?u:t/l<.5?u/2:1-u/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=h,I.push(this),void(this._lazy=[t,e]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/l):r&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&0<=t&&(this._active=!0),0===o&&(this._startAt&&(0<=t?this._startAt.render(t,e,i):n||(n="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,i),e||(this._time!==o||r||i)&&this._callback("onUpdate")),n&&(!this._gc||i)&&(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n),0===l&&this._rawPrevTime===y&&a!==y&&(this._rawPrevTime=0))}},n._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:D.selector(e)||e;var r,n,s,a,o,l,h,u,f,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((T(e)||F(e))&&"number"!=typeof e[0])for(r=e.length;-1<--r;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;-1<--r;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(D.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(f||(f=[]),f.push(s));if((f||!t)&&!J(this,i,e,f))return!1}for(s in h)(a=o[s])&&(p&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},n.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],M.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-y,this.render(Math.min(0,-this._delay))),this},n._enabled=function(t,e){if(v||m.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;-1<--i;)this._siblings[i]=K(r[i],this,!0);else this._siblings=K(this.target,this,!0)}return M.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(t?"_onEnable":"_onDisable",this)}
12,D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new D(t,e,r)},D.delayedCall=function(t,e,i,r,n){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:D.selector(t)||t,(T(t)||F(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];-1<--i;)r=r.concat(D.getTweensOf(t[i],e));for(i=r.length;-1<--i;)for(s=r[i],n=i;-1<--n;)s===r[n]&&r.splice(i,1)}else for(i=(r=K(t).concat()).length;-1<--i;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r},D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=D.getTweensOf(t,e),n=r.length;-1<--n;)r[n]._kill(i,t)};var it=p("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(n=it.prototype,it.version="1.18.0",it.API=2,n._firstPT=null,n._addTween=Y,n.setRatio=z,n._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;-1<--e;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},n._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},D._onPluginEvent=function(t,e){var i,r,n,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:s)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:s=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},it.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===it.API&&(V[(new t[e])._propName]=t[e]);return!0},s.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=p("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){it.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new it(i);for(e in(o.constructor=a).API=t.API,s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,it.activate([a]),a},t=c._gsQueue){for(r=0;r<t.length;r++)t[r]();for(n in b)b[n].func||c.console.log("GSAP encountered missing dependency: com.greensock."+n)}v=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenLite"),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(u,f,p){var c=function(t){f.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,r=this.vars;for(i in r)e=r[i],g(e)&&-1!==e.join("").indexOf("{self}")&&(r[i]=this._swapSelfInParams(e));g(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},_=1e-10,t=p._internals,e=c._internals={},d=t.isSelector,g=t.isArray,m=t.lazyTweens,v=t.lazyRender,a=_gsScope._gsDefine.globals,x=function(t){var e,i={};for(e in t)i[e]=t[e];return i},y=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n.call(e[i],i):n[i%n.length];delete t.cycle},s=e.pauseCallback=function(){},w=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},i=c.prototype=new f;return c.version="1.18.5",i.constructor=c,i.kill()._gc=i._forcingPlayhead=i._hasPause=!1,i.to=function(t,e,
12i,r){var n=i.repeat&&a.TweenMax||p;return e?this.add(new n(t,e,i),r):this.set(t,i,r)},i.from=function(t,e,i,r){return this.add((i.repeat&&a.TweenMax||p).from(t,e,i),r)},i.fromTo=function(t,e,i,r,n){var s=r.repeat&&a.TweenMax||p;return e?this.add(s.fromTo(t,e,i,r),n):this.set(t,r,n)},i.staggerTo=function(t,e,i,r,n,s,a,o){var l,h,u=new c({onComplete:s,onCompleteParams:a,callbackScope:o,smoothChildTiming:this.smoothChildTiming}),f=i.cycle;for("string"==typeof t&&(t=p.selector(t)||t),d(t=t||[])&&(t=w(t)),(r=r||0)<0&&((t=w(t)).reverse(),r*=-1),h=0;h<t.length;h++)(l=x(i)).startAt&&(l.startAt=x(l.startAt),l.startAt.cycle&&y(l.startAt,t,h)),f&&(y(l,t,h),null!=l.duration&&(e=l.duration,delete l.duration)),u.to(t[h],e,l,h*r);return this.add(u,n)},i.staggerFrom=function(t,e,i,r,n,s,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,r,n,s,a,o)},i.staggerFromTo=function(t,e,i,r,n,s,a,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,r,n,s,a,o,l)},i.call=function(t,e,i,r){return this.add(p.delayedCall(0,t,e,i),r)},i.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new p(t,0,e),i)},c.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,r,n=new c(t),s=n._timeline;for(null==e&&(e=!0),s._remove(n,!0),n._startTime=0,n._rawPrevTime=n._time=n._totalTime=s._time,i=s._first;i;)r=i._next,e&&i instanceof p&&i.target===i.vars.onComplete||n.add(i,i._startTime-i._delay),i=r;return s.add(n,0),n},i.add=function(t,e,i,r){var n,s,a,o,l,h;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,t)),!(t instanceof u)){if(t instanceof Array||t&&t.push&&g(t)){for(i=i||"normal",r=r||0,n=e,s=t.length,a=0;a<s;a++)g(o=t[a])&&(o=new c({tweens:o})),this.add(o,n),"string"!=typeof o&&"function"!=typeof o&&("sequence"===i?n=o._startTime+o.totalDuration()/o._timeScale:"start"===i&&(o._startTime-=o.delay())),n+=r;return this._uncache(!0)}if("string"==typeof t)return this.addLabel(t,e);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=p.delayedCall(0,t)}if(f.prototype.add.call(this,t,e),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(h=(l=this).rawTime()>t._startTime;l._timeline;)h&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},i.remove=function(t){if(t instanceof u){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?u._rootFramesTimeline:u._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&g(t)){for(var i=t.length;-1<--i;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},i._remove=function(t,e){f.prototype._remove.call(this,t,e);var i=this._last;return i?this._time>i._startTime+i._totalDuration/i._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},i.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},i.insert=i.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},i.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},i.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},i.addPause=function(t,e,i,r){var n=p.delayedCall(0,s,i,r||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},i.removeLabel=function(t){return delete this._labels[t],this},i.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},i._parseTimeOrLabel=function(t,e,i,r){var n;if(r instanceof u&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&g(r)))for(n=r.length;-1<--n;)r[n]instanceof u&&r[n].timeline===this&&this.remove(r[n]);if("string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-this.duration():0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(-1===(n=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=this.duration()+e:e:this._labels[t]+e;e=parseInt(t.charAt(n-1)+"1",10)*Number(t.substr(n+1)),t=1<n?this._parseTimeOrLabel(t.substr(0,n-1),0,i):this.duration()}return Number(t)+e},i.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},i.stop=function(){return this.paused(!0)},i.gotoAndPlay=function(t,e){return this.play(t,e)},i.gotoAndStop=function(t,e){return this.pause(t,e)}
12,i.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,n,s,a,o,l,h,u=this._dirty?this.totalDuration():this._totalDuration,f=this._time,p=this._startTime,c=this._timeScale,d=this._paused;if(u-1e-7<=t)this._totalTime=this._time=u,this._reversed||this._hasPausedChild()||(n=!0,a="onComplete",o=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&-1e-7<=t||this._rawPrevTime<0||this._rawPrevTime===_)&&this._rawPrevTime!==t&&this._first&&(o=!0,this._rawPrevTime>_&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:_,t=u+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==_&&(0<this._rawPrevTime||t<0&&0<=this._rawPrevTime))&&(a="onReverseComplete",n=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(o=n=!0,a="onReverseComplete"):0<=this._rawPrevTime&&this._first&&(o=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:_,0===t&&n)for(r=this._first;r&&0===r._startTime;)r._duration||(n=!1),r=r._next;t=0,this._initted||(o=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(f<=t)for(r=this._first;r&&r._startTime<=t&&!l;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(l=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!l;)r._duration||"isPause"===r.data&&0<r._rawPrevTime&&(l=r),r=r._prev;l&&(this._time=t=l._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||o||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&0<t&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),f<=(h=this._time))for(r=this._first;r&&(s=r._next,h===this._time&&(!this._paused||d));)(r._active||r._startTime<=h&&!r._paused&&!r._gc)&&(l===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=this._last;r&&(s=r._prev,h===this._time&&(!this._paused||d));){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(l===r){for(l=r._prev;l&&l.endTime()>this._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}this._onUpdate&&(e||(m.length&&v(),this._callback("onUpdate"))),a&&(this._gc||(p===this._startTime||c!==this._timeScale)&&(0===this._time||u>=this.totalDuration())&&(n&&(m.length&&v(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},i._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof c&&t._hasPausedChild())return!0;t=t._next}return!1},i.getChildren=function(t,e,i,r){r=r||-9999999999;for(var n=[],s=this._first,a=0;s;)s._startTime<r||(s instanceof p?!1!==e&&(n[a++]=s):(!1!==i&&(n[a++]=s),!1!==t&&(a=(n=n.concat(s.getChildren(!0,e,i))).length))),s=s._next;return n},i.getTweensOf=function(t,e){var i,r,n=this._gc,s=[],a=0;for(n&&this._enabled(!0,!0),r=(i=p.getTweensOf(t)).length;-1<--r;)(i[r].timeline===this||e&&this._contains(i[r]))&&(s[a++]=i[r]);return n&&this._enabled(!1,!0),s},i.recent=function(){return this._recent},i._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},i.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},i._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;-1<--r;)i[r]._kill(t,e)&&(n=!0);return n},i.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},i.invalidate=function(){for(var t=this._first;t;
12)t.invalidate(),t=t._next;return u.prototype.invalidate.call(this)},i._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return f.prototype._enabled.call(this,t,e)},i.totalTime=function(t,e,i){this._forcingPlayhead=!0;var r=u.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},i.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},i.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this._last,s=999999999999;n;)e=n._prev,n._dirty&&n.totalDuration(),n._startTime>s&&this._sortChildren&&!n._paused?this.add(n,n._startTime-n._delay):s=n._startTime,n._startTime<0&&!n._paused&&(r-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale),this.shiftChildren(-n._startTime,!1,-9999999999),s=0),r<(i=n._startTime+n._totalDuration/n._timeScale)&&(r=i),n=e;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},i.paused=function(t){if(!t)for(var e=this._first,i=this._time;e;)e._startTime===i&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return u.prototype.paused.apply(this,arguments)},i.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===u._rootFramesTimeline},i.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},c},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).TimelineLite};"function"==typeof define&&define.amd?define(["./TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=e())}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(g){var e,i,t,r=_gsScope.GreenSockGlobals||_gsScope,n=r.com.greensock,s=2*Math.PI,a=Math.PI/2,o=n._class,l=function(t,e){var i=o("easing."+t,function(){},!0),r=i.prototype=new g;return r.constructor=i,r.getRatio=e,i},h=g.register||function(){},u=function(t,e,i,r,n){var s=o("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return h(s,t),s},m=function(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)},f=function(t,e){var i=o("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=i.prototype=new g;return r.constructor=i,r.getRatio=e,r.config=function(t){return new i(t)},i},p=u("Back",f("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),f("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),f("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),c=o("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1<t&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),d=c.prototype=new g;return d.constructor=c,d.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},c.ease=new c(.7,.7),d.config=c.config=function(t,e,i){return new c(t,e,i)},(d=(e=o("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new g).constructor=e,d.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},d.config=e.config=function(t){return new e(t)},(d=(i=o("easing.RoughEase",function(t){for(var e,i,r,n,s,a,o=(t=t||{}).taper||"none",l=[],h=0,u=0|(t.points||20),f=u,p=!1!==t.randomize,c=!0===t.clamp,d=t.template instanceof g?t.template:null,_="number"==typeof t.strength?.4*t.strength:.4;-1<--f;)e=p?Math.random():1/u*f,i=d?d.getRatio(e):e,"none"===o?r=_:"out"===o?r=(n=1-e)*n*_:"in"===o?r=e*e*_:r=(n=e<.5?2*e:2*(1-e))*n*.5*_,p?i+=Math.random()*r-.5*r:f%2?i+=.5*r:i-=.5*r,c&&(1<i?i=1:i<0&&(i=0)),l[h++]={x:e,y:i};for(l.sort(function(t,e){return t.x-e.x}),a=new m(1,1,null),f=u;-1<--f;)s=l[f],a=new m(s.x,s.y,a);this._prev=new m(0,0,0!==a.t?a:a.next)},!0)).prototype=new g).constructor=i,d.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},d.config=function(t){return new i(t)},i.ease=new i,u("Bounce",l("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),l("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),l("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),u("Circ",l("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),l("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),l("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}
12)),u("Elastic",(t=function(t,e,i){var r=o("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2},!0),n=r.prototype=new g;return n.constructor=r,n.getRatio=e,n.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),t("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),t("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),u("Expo",l("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),l("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),l("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u("Sine",l("SineOut",function(t){return Math.sin(t*a)}),l("SineIn",function(t){return 1-Math.cos(t*a)}),l("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),o("easing.EaseLookup",{find:function(t){return g.map[t]}},!0),h(r.SlowMo,"SlowMo","ease,"),h(i,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),p},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";var t=function(){return _gsScope.GreenSockGlobals||_gsScope};"function"==typeof define&&define.amd?define(["../TweenLite"],t):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=t())}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(s,j){var d,P,O,c,Y=function(){s.call(this,"css"),this._overwriteProps.length=0,this.setRatio=Y.prototype.setRatio},h=_gsScope._gsDefine.globals,_={},t=Y.prototype=new s("css");(t.constructor=Y).version="1.18.5",Y.API=2,Y.defaultTransformPerspective=0,Y.defaultSkewType="compensated",Y.defaultSmoothOrigin=!0,t="px",Y.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};var k,g,m,N,v,S,e,i,C=/(?:\-|\.|\b)(\d|\.|e\-)+/g,A=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,u=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,R=/(?:\d|\-|\+|=|#|\.)*/g,M=/opacity *= *([^)]*)/i,y=/opacity:([^;]*)/i,a=/alpha\(opacity *=.+?\)/i,w=/^(rgb|hsl)/,o=/([A-Z])/g,l=/-([a-z])/gi,T=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,f=function(t,e){return e.toUpperCase()},b=/(?:Left|Right|Width)/i,p=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,E=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,L=/,(?=[^\)]*(?:\(|$))/gi,D=/[\s,\(]/i,z=Math.PI/180,B=180/Math.PI,F={},I=document,r=function(t){return I.createElementNS?I.createElementNS("http://www.w3.org/1999/xhtml",t):I.createElement(t)},X=r("div"),V=r("img"),n=Y._internals={_specialProps:_},G=navigator.userAgent,W=(e=G.indexOf("Android"),i=r("a"),m=-1!==G.indexOf("Safari")&&-1===G.indexOf("Chrome")&&(-1===e||3<Number(G.substr(e+8,1))),v=m&&Number(G.substr(G.indexOf("Version/")+8,1))<6,N=-1!==G.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(G)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(G))&&(S=parseFloat(RegExp.$1)),!!i&&(i.style.cssText="top:1px;opacity:.55;",/^0.55/.test(i.style.opacity))),U=function(t){return M.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},q=function(t){window.console&&console.log(t)},H="",Q="",Z=function(t,e){var i,r,n=(e=e||X).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;-1<--r&&void 0===n[i[r]+t];);return 0<=r?(H="-"+(Q=3===r?"ms":i[r]).toLowerCase()+"-",Q+t):null},$=I.defaultView?I.defaultView.getComputedStyle:function(){},K=Y.getStyle=function(t,e,i,r,n){var s;return W||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||$(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(o,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):U(t)}
12,J=n.convertToPixels=function(t,e,i,r,n){if("px"===r||!r)return i;if("auto"===r||!i)return 0;var s,a,o,l=b.test(e),h=t,u=X.style,f=i<0,p=1===i;if(f&&(i=-i),p&&(i*=100),"%"===r&&-1!==e.indexOf("border"))s=i/100*(l?t.clientWidth:t.clientHeight);else{if(u.cssText="border:0 solid red;position:"+K(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)u[l?"borderLeftWidth":"borderTopWidth"]=i+r;else{if(a=(h=t.parentNode||I.body)._gsCache,o=j.ticker.frame,a&&l&&a.time===o)return a.width*i/100;u[l?"width":"height"]=i+r}h.appendChild(X),s=parseFloat(X[l?"offsetWidth":"offsetHeight"]),h.removeChild(X),l&&"%"===r&&!1!==Y.cacheWidths&&((a=h._gsCache=h._gsCache||{}).time=o,a.width=s/i*100),0!==s||n||(s=J(t,e,i,r,!0))}return p&&(s/=100),f?-s:s},tt=n.calculateOffset=function(t,e,i){if("absolute"!==K(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=K(t,"margin"+r,i);return t["offset"+r]-(J(t,e,parseFloat(n),n.replace(R,""))||0)},et=function(t,e){var i,r,n,s={};if(e=e||$(t,null))if(i=e.length)for(;-1<--i;)(-1===(n=e[i]).indexOf("-transform")||Et===n)&&(s[n.replace(l,f)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||Mt===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(l,f)]=e[i]);return W||(s.opacity=U(t)),r=Gt(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Dt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},it=function(t,e,i,r,n){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[a]||""===e[a].replace(u,"")?s:0:tt(t,a),void 0!==h[a]&&(o=new mt(h,a,h[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},rt={width:["Left","Right"],height:["Top","Bottom"]},nt=["marginLeft","marginRight","marginTop","marginBottom"],st=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||$(t))[e]||0;if(t.getBBox&&Yt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=rt[e],s=n.length;for(i=i||$(t,null);-1<--s;)r-=parseFloat(K(t,"padding"+n[s],i,!0))||0,r-=parseFloat(K(t,"border"+n[s]+"Width",i,!0))||0;return r},at=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(3<r.length&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i<r.length;i++)t.push(at(r[i]));return t.join(",")}return null==s?s="center"===n?"50%":"0":"center"===s&&(s="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),t=n+" "+s+(2<r.length?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(u,"")),e.oy=parseFloat(s.replace(u,"")),e.v=t),e||t},ot=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},lt=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ht=function(t,e,i,r){var n,s,a,o,l;return null==t?o=e:"number"==typeof t?o=t:(n=360,s=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:B)-(l?0:e),s.length&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&((a%=n)!==a%180&&(a=a<0?a+n:a-n)),-1!==t.indexOf("_cw")&&a<0?a=(a+3599999999640)%n-(a/n|0)*n:-1!==t.indexOf("ccw")&&0<a&&(a=(a-3599999999640)%n-(a/n|0)*n)),o=e+a),o<1e-6&&-1e-6<o&&(o=0),o},ut={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]}
12,ft=function(t,e,i){return 255*(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},pt=Y.parseColor=function(t,e){var i,r,n,s,a,o,l,h,u,f,p;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ut[t])i=ut[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(r=t.charAt(1))+r+(n=t.charAt(2))+n+(s=t.charAt(3))+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=p=t.match(C),e){if(-1!==t.indexOf("="))return t.match(A)}else a=Number(i[0])%360/360,o=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=l<=.5?l*(o+1):l+o-l*o),3<i.length&&(i[3]=Number(t[3])),i[0]=ft(a+1/3,r,n),i[1]=ft(a,r,n),i[2]=ft(a-1/3,r,n);else i=t.match(C)||ut.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),3<i.length&&(i[3]=Number(i[3]))}else i=ut.black;return e&&!p&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((h=Math.max(r,n,s))+(u=Math.min(r,n,s)))/2,h===u?a=o=0:(f=h-u,o=.5<l?f/(2-h-u):f/(h+u),a=h===r?(n-s)/f+(n<s?6:0):h===n?(s-r)/f+2:(r-n)/f+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},ct=function(t,e){var i,r,n,s=t.match(dt)||[],a=0,o=s.length?"":t;for(i=0;i<s.length;i++)r=s[i],a+=(n=t.substr(a,t.indexOf(r,a)-a)).length+r.length,3===(r=pt(r,e)).length&&r.push(1),o+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return o+t.substr(a)},dt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in ut)dt+="|"+t+"\\b";dt=new RegExp(dt+")","gi"),Y.colorStringFilter=function(t){var e,i=t[0]+t[1];dt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=ct(t[0],e),t[1]=ct(t[1],e)),dt.lastIndex=0},j.defaultStringFilter||(j.defaultStringFilter=Y.colorStringFilter);var _t=function(t,e,s,a){if(null==t)return function(t){return t};var o,l=e?(t.match(dt)||[""])[0]:"",h=t.split(l).join("").match(x)||[],u=t.substr(0,t.indexOf(h[0])),f=")"===t.charAt(t.length-1)?")":"",p=-1!==t.indexOf(" ")?" ":",",c=h.length,d=0<c?h[0].replace(C,""):"";return c?o=e?function(t){var e,i,r,n;if("number"==typeof t)t+=d;else if(a&&L.test(t)){for(n=t.replace(L,"|").split("|"),r=0;r<n.length;r++)n[r]=o(n[r]);return n.join(",")}if(e=(t.match(dt)||[l])[0],r=(i=t.split(e).join("").match(x)||[]).length,c>r--)for(;++r<c;)i[r]=s?i[(r-1)/2|0]:h[r];return u+i.join(p)+p+e+f+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,i,r;if("number"==typeof t)t+=d;else if(a&&L.test(t)){for(i=t.replace(L,"|").split("|"),r=0;r<i.length;r++)i[r]=o(i[r]);return i.join(",")}if(r=(e=t.match(x)||[]).length,c>r--)for(;++r<c;)e[r]=s?e[(r-1)/2|0]:h[r];return u+e.join(p)+f}:function(t){return t}},gt=function(h){return h=h.split(","),function(t,e,i,r,n,s,a){var o,l=(e+"").split(" ");for(a={},o=0;o<4;o++)a[h[o]]=l[o]=l[o]||l[(o-1)/2>>0];return r.parse(t,a,n,s)}},mt=(n._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,a=this.data,o=a.proxy,l=a.firstMPT;l;)e=o[l.v],l.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=o.rotation),1===t||0===t)for(l=a.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&((r._prev=this)._next=r)}),vt=(n._parseToProxy=function(t,e,i,r,n,s){var a,o,l,h,u,f=r,p={},c={},d=i._transform,_=F;for(i._transform=null,F=e,r=u=i.parse(t,e,r,n),F=_,s&&(i._transform=d,f&&(f._prev=null,f._prev&&(f._prev._next=null)));r&&r!==f;){if(r.type<=1&&(c[o=r.p]=r.s+r.c,p[o]=r.s,s||(h=new mt(r,"s",o,h,r.r),r.c=0),1===r.type))for(a=r.l;0<--a;)l="xn"+a,c[o=r.p+"_"+l]=r.data[l],p[o]=r[l],s||(h=new mt(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:p,end:c,firstMPT:h,pt:u}},n.CSSPropTween=function(t,e,i,r,n,s,a,o,l,h,u){this.t=t,this.p=e,this.s=i,this.c=r,this.n=a||e,t instanceof vt||c.push(this.n),this.r=o,this.type=s||0,l&&(this.pr=l,d=!0),this.b=void 0===h?i:h,this.e=void 0===u?i+r:u,n&&((this._next=n)._prev=this)}),xt=function(t,e,i,r,n,s){var a=new vt(t,e,i,r-i,n,-1,s);return a.b=i,a.e=a.xs0=r,a}
12,yt=Y.parseComplex=function(t,e,i,r,n,s,a,o,l,h){a=new vt(t,e,0,0,a,h?2:1,null,!1,o,i=i||s||"",r),r+="",n&&dt.test(r+i)&&(r=[i,r],Y.colorStringFilter(r),i=r[0],r=r[1]);var u,f,p,c,d,_,g,m,v,x,y,w,T,b=i.split(", ").join(",").split(" "),P=r.split(", ").join(",").split(" "),O=b.length,S=!1!==k;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(b=b.join(" ").replace(L,", ").split(" "),P=P.join(" ").replace(L,", ").split(" "),O=b.length),O!==P.length&&(O=(b=(s||"").split(" ")).length),a.plugin=l,a.setRatio=h,u=dt.lastIndex=0;u<O;u++)if(c=b[u],d=P[u],(m=parseFloat(c))||0===m)a.appendXtra("",m,ot(d,m),d.replace(A,""),S&&-1!==d.indexOf("px"),!0);else if(n&&dt.test(c))w=")"+((w=d.indexOf(")")+1)?d.substr(w):""),T=-1!==d.indexOf("hsl")&&W,c=pt(c,T),d=pt(d,T),(v=6<c.length+d.length)&&!W&&0===d[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(P[u]).join("transparent")):(W||(v=!1),T?a.appendXtra(v?"hsla(":"hsl(",c[0],ot(d[0],c[0]),",",!1,!0).appendXtra("",c[1],ot(d[1],c[1]),"%,",!1).appendXtra("",c[2],ot(d[2],c[2]),v?"%,":"%"+w,!1):a.appendXtra(v?"rgba(":"rgb(",c[0],d[0]-c[0],",",!0,!0).appendXtra("",c[1],d[1]-c[1],",",!0).appendXtra("",c[2],d[2]-c[2],v?",":w,!0),v&&(c=c.length<4?1:c[3],a.appendXtra("",c,(d.length<4?1:d[3])-c,w,!1))),dt.lastIndex=0;else if(_=c.match(C)){if(!(g=d.match(A))||g.length!==_.length)return a;for(f=p=0;f<_.length;f++)y=_[f],x=c.indexOf(y,p),a.appendXtra(c.substr(p,x-p),Number(y),ot(g[f],y),"",S&&"px"===c.substr(x+y.length,2),0===f),p=x+y.length;a["xs"+a.l]+=c.substr(p)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+d:d;if(-1!==r.indexOf("=")&&a.data){for(w=a.xs0+a.data.s,u=1;u<a.l;u++)w+=a["xs"+u]+a.data["xn"+u];a.e=w+a["xs"+u]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},wt=9;for((t=vt.prototype).l=t.pr=0;0<--wt;)t["xn"+wt]=0,t["xs"+wt]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,r,n,s){var a=this,o=a.l;return a["xs"+o]+=s&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=r||"",0<o?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=n,a["xn"+o]=e,a.plugin||(a.xfirst=new vt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0)):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=n)):a["xs"+o]+=e+(r||""),a};var Tt=function(t,e){e=e||{},this.p=e.prefix&&Z(t)||t,_[t]=_[this.p]=this,this.format=e.formatter||_t(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},bt=n._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;r<n.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new Tt(n[r],e)},Pt=function(t){if(!_[t]){var l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";bt(t,{parser:function(t,e,i,r,n,s,a){var o=h.com.greensock.plugins[l];return o?(o._cssRegister(),_[i].parse(t,e,i,r,n,s,a)):(q("Error: "+l+" js file not loaded."),n)}})}};(t=Tt.prototype).parseComplex=function(t,e,i,r,n,s){var a,o,l,h,u,f,p=this.keyword;if(this.multi&&(L.test(i)||L.test(e)?(o=e.replace(L,"|").split("|"),l=i.replace(L,"|").split("|")):p&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;a<h;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,p&&((u=e.indexOf(p))!==(f=i.indexOf(p))&&(-1===f?o[a]=o[a].split(p).join(""):-1===u&&(o[a]+=" "+p)));e=o.join(", "),i=l.join(", ")}return yt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},t.parse=function(t,e,i,r,n,s,a){return this.parseComplex(t.style,this.format(K(t,this.p,O,!1,this.dflt)),this.format(e),n,s)},Y.registerSpecialProp=function(t,l,h){bt(t,{parser:function(t,e,i,r,n,s,a){var o=new vt(t,i,0,0,n,2,i,!1,h);return o.plugin=s,o.setRatio=l(t,e,r._tween,i),o},priority:h})},Y.useSVGTransformAttr=m||N;var Ot,St,kt,Ct,At,Rt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Mt=Z("transform"),Et=H+"transform",Lt=Z("transformOrigin"),Dt=null!==Z("perspective"),Ft=n.Transform=function(){this.perspective=parseFloat(Y.defaultTransformPerspective)||0,this.force3D=!(!1===Y.defaultForce3D||!Dt)&&(Y.defaultForce3D||"auto")}
12,It=window.SVGElement,Xt=function(t,e,i){var r,n=I.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Nt=I.documentElement,zt=(At=S||/Android/i.test(G)&&!window.chrome,I.createElementNS&&!At&&(St=Xt("svg",Nt),Ct=(kt=Xt("rect",St,{width:100,height:50,x:100})).getBoundingClientRect().width,kt.style[Lt]="50% 50%",kt.style[Mt]="scaleX(0.5)",At=Ct===kt.getBoundingClientRect().width&&!(N&&Dt),Nt.removeChild(St)),At),jt=function(t,e,i,r,n,s){var a,o,l,h,u,f,p,c,d,_,g,m,v,x,y=t._gsTransform,w=Vt(t,!0);y&&(v=y.xOrigin,x=y.yOrigin),(!r||(a=r.split(" ")).length<2)&&(p=t.getBBox(),a=[(-1!==(e=at(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=h=parseFloat(a[0]),i.yOrigin=u=parseFloat(a[1]),r&&w!==Bt&&(f=w[0],p=w[1],c=w[2],d=w[3],_=w[4],o=h*(d/(m=f*d-p*c))+u*(-c/m)+(c*(g=w[5])-d*_)/m,l=h*(-p/m)+u*(f/m)-(f*g-p*_)/m,h=i.xOrigin=a[0]=o,u=i.yOrigin=a[1]=l),y&&(s&&(i.xOffset=y.xOffset,i.yOffset=y.yOffset,y=i),n||!1!==n&&!1!==Y.defaultSmoothOrigin?(o=h-v,l=u-x,y.xOffset+=o*w[0]+l*w[2]-o,y.yOffset+=o*w[1]+l*w[3]-l):y.xOffset=y.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Yt=function(t){return!!(It&&t.getBBox&&t.getCTM&&function(t){try{return t.getBBox()}catch(t){}}(t)&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},Bt=[1,0,0,1,0,0],Vt=function(t,e){var i,r,n,s,a,o,l=t._gsTransform||new Ft,h=t.style;if(Mt?r=K(t,Et,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(p))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),l.x||0,l.y||0].join(","):""),(i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r)&&Mt&&((o="none"===$(t).display)||!t.parentNode)&&(o&&(s=h.display,h.display="block"),t.parentNode||(a=1,Nt.appendChild(t)),i=!(r=K(t,Et,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?h.display=s:o&&Ht(h,"display"),a&&Nt.removeChild(t)),(l.svg||t.getBBox&&Yt(t))&&(i&&-1!==(h[Mt]+"").indexOf("matrix")&&(r=h[Mt],i=0),n=t.getAttribute("transform"),i&&n&&(-1!==n.indexOf("matrix")?(r=n,i=0):-1!==n.indexOf("translate")&&(r="matrix(1,0,0,1,"+n.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return Bt;for(n=(r||"").match(C)||[],wt=n.length;-1<--wt;)s=Number(n[wt]),n[wt]=(a=s-(s|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+s:s;return e&&6<n.length?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Gt=n.getTransform=function(t,e,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var n,s,a,o,l,h,u=i&&t._gsTransform||new Ft,f=u.scaleX<0,p=Dt&&(parseFloat(K(t,Lt,e,!1,"0 0 0").split(" ")[2])||u.zOrigin)||0,c=parseFloat(Y.defaultTransformPerspective)||0;if(u.svg=!(!t.getBBox||!Yt(t)),u.svg&&(jt(t,K(t,Lt,e,!1,"50% 50%")+"",u,t.getAttribute("data-svg-origin")),Ot=Y.useSVGTransformAttr||zt),(n=Vt(t))!==Bt){if(16===n.length){var d,_,g,m,v,x=n[0],y=n[1],w=n[2],T=n[3],b=n[4],P=n[5],O=n[6],S=n[7],k=n[8],C=n[9],A=n[10],R=n[12],M=n[13],E=n[14],L=n[11],D=Math.atan2(O,A);u.zOrigin&&(R=k*(E=-u.zOrigin)-n[12],M=C*E-n[13],E=A*E+u.zOrigin-n[14]),u.rotationX=D*B,D&&(d=b*(m=Math.cos(-D))+k*(v=Math.sin(-D)),_=P*m+C*v,g=O*m+A*v,k=b*-v+k*m,C=P*-v+C*m,A=O*-v+A*m,L=S*-v+L*m,b=d,P=_,O=g),D=Math.atan2(-w,A),u.rotationY=D*B,D&&(_=y*(m=Math.cos(-D))-C*(v=Math.sin(-D)),g=w*m-A*v,C=y*v+C*m,A=w*v+A*m,L=T*v+L*m,x=d=x*m-k*v,y=_,w=g),D=Math.atan2(y,x),u.rotation=D*B,D&&(x=x*(m=Math.cos(-D))+b*(v=Math.sin(-D)),_=y*m+P*v,P=y*-v+P*m,O=w*-v+O*m,y=_),u.rotationX&&359.9<Math.abs(u.rotationX)+Math.abs(u.rotation)&&(u.rotationX=u.rotation=0,u.rotationY=180-u.rotationY),u.scaleX=(1e5*Math.sqrt(x*x+y*y)+.5|0)/1e5,u.scaleY=(1e5*Math.sqrt(P*P+C*C)+.5|0)/1e5,u.scaleZ=(1e5*Math.sqrt(O*O+A*A)+.5|0)/1e5,u.rotationX||u.rotationY?u.skewX=0:(u.skewX=b||P?Math.atan2(b,P)*B+u.rotation:u.skewX||0,90<Math.abs(u.skewX)&&Math.abs(u.skewX)<270&&(f?(u.scaleX*=-1,u.skewX+=u.rotation<=0?180:-180,u.rotation+=u.rotation<=0?180:-180):(u.scaleY*=-1,u.skewX+=u.skewX<=0?180:-180))),u.perspective=L?1/(L<0?-L:L):0,u.x=R,u.y=M,u.z=E,u.svg&&(u.x-=u.xOr
12igin-(u.xOrigin*x-u.yOrigin*b),u.y-=u.yOrigin-(u.yOrigin*y-u.xOrigin*P))}else if(!Dt||r||!n.length||u.x!==n[4]||u.y!==n[5]||!u.rotationX&&!u.rotationY){var F=6<=n.length,I=F?n[0]:1,X=n[1]||0,N=n[2]||0,z=F?n[3]:1;u.x=n[4]||0,u.y=n[5]||0,a=Math.sqrt(I*I+X*X),o=Math.sqrt(z*z+N*N),l=I||X?Math.atan2(X,I)*B:u.rotation||0,h=N||z?Math.atan2(N,z)*B+l:u.skewX||0,90<Math.abs(h)&&Math.abs(h)<270&&(f?(a*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,h+=h<=0?180:-180)),u.scaleX=a,u.scaleY=o,u.rotation=l,u.skewX=h,Dt&&(u.rotationX=u.rotationY=u.z=0,u.perspective=c,u.scaleZ=1),u.svg&&(u.x-=u.xOrigin-(u.xOrigin*I+u.yOrigin*N),u.y-=u.yOrigin-(u.xOrigin*X+u.yOrigin*z))}for(s in u.zOrigin=p,u)u[s]<2e-5&&-2e-5<u[s]&&(u[s]=0)}return i&&((t._gsTransform=u).svg&&(Ot&&t.style[Mt]?j.delayedCall(.001,function(){Ht(t.style,Mt)}):!Ot&&t.getAttribute("transform")&&j.delayedCall(.001,function(){t.removeAttribute("transform")}))),u},Wt=function(t){var e,i,r=this.data,n=-r.rotation*z,s=n+r.skewX*z,a=1e5,o=(Math.cos(n)*r.scaleX*a|0)/a,l=(Math.sin(n)*r.scaleX*a|0)/a,h=(Math.sin(s)*-r.scaleY*a|0)/a,u=(Math.cos(s)*r.scaleY*a|0)/a,f=this.t.style,p=this.t.currentStyle;if(p){i=l,l=-h,h=-i,e=p.filter,f.filter="";var c,d,_=this.t.offsetWidth,g=this.t.offsetHeight,m="absolute"!==p.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,x=r.x+_*r.xPercent/100,y=r.y+g*r.yPercent/100;if(null!=r.ox&&(x+=(c=(r.oxp?_*r.ox*.01:r.ox)-_/2)-(c*o+(d=(r.oyp?g*r.oy*.01:r.oy)-g/2)*l),y+=d-(c*h+d*u)),m?v+=", Dx="+((c=_/2)-(c*o+(d=g/2)*l)+x)+", Dy="+(d-(c*h+d*u)+y)+")":v+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?f.filter=e.replace(E,v):f.filter=v+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(m&&-1===v.indexOf("Dx=0, Dy=0")||M.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&f.removeAttribute("filter")),!m){var w,T,b,P=S<8?1:-1;for(c=r.ieOffsetX||0,d=r.ieOffsetY||0,r.ieOffsetX=Math.round((_-((o<0?-o:o)*_+(l<0?-l:l)*g))/2+x),r.ieOffsetY=Math.round((g-((u<0?-u:u)*g+(h<0?-h:h)*_))/2+y),wt=0;wt<4;wt++)b=(i=-1!==(w=p[T=nt[wt]]).indexOf("px")?parseFloat(w):J(this.t,T,parseFloat(w),w.replace(R,""))||0)!==r[T]?wt<2?-r.ieOffsetX:-r.ieOffsetY:wt<2?c-r.ieOffsetX:d-r.ieOffsetY,f[T]=(r[T]=Math.round(i-b*(0===wt||2===wt?1:P)))+"px"}}},Ut=n.set3DTransformRatio=n.setTransformRatio=function(t){var e,i,r,n,s,a,o,l,h,u,f,p,c,d,_,g,m,v,x,y,w,T,b,P=this.data,O=this.t.style,S=P.rotation,k=P.rotationX,C=P.rotationY,A=P.scaleX,R=P.scaleY,M=P.scaleZ,E=P.x,L=P.y,D=P.z,F=P.svg,I=P.perspective,X=P.force3D;if(!((1!==t&&0!==t||"auto"!==X||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&X||D||I||C||k||1!==M)||Ot&&F||!Dt)S||P.skewX||F?(S*=z,T=P.skewX*z,b=1e5,e=Math.cos(S)*A,n=Math.sin(S)*A,i=Math.sin(S-T)*-R,s=Math.cos(S-T)*R,T&&"simple"===P.skewType&&(m=Math.tan(T),i*=m=Math.sqrt(1+m*m),s*=m,P.skewY&&(e*=m,n*=m)),F&&(E+=P.xOrigin-(P.xOrigin*e+P.yOrigin*i)+P.xOffset,L+=P.yOrigin-(P.xOrigin*n+P.yOrigin*s)+P.yOffset,Ot&&(P.xPercent||P.yPercent)&&(d=this.t.getBBox(),E+=.01*P.xPercent*d.width,L+=.01*P.yPercent*d.height),E<(d=1e-6)&&-d<E&&(E=0),L<d&&-d<L&&(L=0)),x=(e*b|0)/b+","+(n*b|0)/b+","+(i*b|0)/b+","+(s*b|0)/b+","+E+","+L+")",F&&Ot?this.t.setAttribute("transform","matrix("+x):O[Mt]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix(":"matrix(")+x):O[Mt]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix(":"matrix(")+A+",0,0,"+R+","+E+","+L+")";else{if(N&&(A<(d=1e-4)&&-d<A&&(A=M=2e-5),R<d&&-d<R&&(R=M=2e-5),!I||P.z||P.rotationX||P.rotationY||(I=0)),S||P.skewX)S*=z,_=e=Math.cos(S),g=n=Math.sin(S),P.skewX&&(S-=P.skewX*z,_=Math.cos(S),g=Math.sin(S),"simple"===P.skewType&&(m=Math.tan(P.skewX*z),_*=m=Math.sqrt(1+m*m),g*=m,P.skewY&&(e*=m,n*=m))),i=-g,s=_;else{if(!(C||k||1!==M||I||F))return void(O[Mt]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) translate3d(":"translate3d(")+E+"px,"+L+"px,"+D+"px)"+(1!==A||1!==R?" scale("+A+","+R+")":""));e=s=1,i=n=0}h=1,r=a=o=l=u=f=0,p=I?-1/I:0,c=P.zOrigin,d=1e-6,y=",",w="0",(S=C*z)&&(_=Math.cos(S),u=p*(o=-(g=Math.sin(S))),r=e*g,a=n*g,p*=h=_,e*=_,n*=_),(S=k*z)&&(m=i*(_=M
12ath.cos(S))+r*(g=Math.sin(S)),v=s*_+a*g,l=h*g,f=p*g,r=i*-g+r*_,a=s*-g+a*_,h*=_,p*=_,i=m,s=v),1!==M&&(r*=M,a*=M,h*=M,p*=M),1!==R&&(i*=R,s*=R,l*=R,f*=R),1!==A&&(e*=A,n*=A,o*=A,u*=A),(c||F)&&(c&&(E+=r*-c,L+=a*-c,D+=h*-c+c),F&&(E+=P.xOrigin-(P.xOrigin*e+P.yOrigin*i)+P.xOffset,L+=P.yOrigin-(P.xOrigin*n+P.yOrigin*s)+P.yOffset),E<d&&-d<E&&(E=w),L<d&&-d<L&&(L=w),D<d&&-d<D&&(D=0)),x=P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix3d(":"matrix3d(",x+=(e<d&&-d<e?w:e)+y+(n<d&&-d<n?w:n)+y+(o<d&&-d<o?w:o),x+=y+(u<d&&-d<u?w:u)+y+(i<d&&-d<i?w:i)+y+(s<d&&-d<s?w:s),k||C||1!==M?(x+=y+(l<d&&-d<l?w:l)+y+(f<d&&-d<f?w:f)+y+(r<d&&-d<r?w:r),x+=y+(a<d&&-d<a?w:a)+y+(h<d&&-d<h?w:h)+y+(p<d&&-d<p?w:p)+y):x+=",0,0,0,0,1,0,",x+=E+y+L+y+D+y+(I?1+-D/I:1)+")",O[Mt]=x}};(t=Ft.prototype).x=t.y=t.z=t.skewX=t.skewY=t.rotation=t.rotationX=t.rotationY=t.zOrigin=t.xPercent=t.yPercent=t.xOffset=t.yOffset=0,t.scaleX=t.scaleY=t.scaleZ=1,bt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,n,s,a){if(r._lastParsedTransform===a)return n;r._lastParsedTransform=a;
12var o,l,h,u,f,p,c,d,_,g=t._gsTransform,m=t.style,v=Rt.length,x=a,y={},w="transformOrigin",T=Gt(t,O,!0,a.parseTransform);if(r._transform=T,"string"==typeof x.transform&&Mt)(l=X.style)[Mt]=x.transform,l.display="block",l.position="absolute",I.body.appendChild(X),o=Gt(X,null,!1),T.svg&&(c=T.xOrigin,d=T.yOrigin,o.x-=T.xOffset,o.y-=T.yOffset,(x.transformOrigin||x.svgOrigin)&&(h={},jt(t,at(x.transformOrigin),h,x.svgOrigin,x.smoothOrigin,!0),c=h.xOrigin,d=h.yOrigin,o.x-=h.xOffset-T.xOffset,o.y-=h.yOffset-T.yOffset),(c||d)&&(_=Vt(X,!0),o.x-=c-(c*_[0]+d*_[2]),o.y-=d-(c*_[1]+d*_[3]))),I.body.removeChild(X),o.perspective||(o.perspective=T.perspective),null!=x.xPercent&&(o.xPercent=lt(x.xPercent,T.xPercent)),null!=x.yPercent&&(o.yPercent=lt(x.yPercent,T.yPercent));else if("object"==typeof x){if(o={scaleX:lt(null!=x.scaleX?x.scaleX:x.scale,T.scaleX),scaleY:lt(null!=x.scaleY?x.scaleY:x.scale,T.scaleY),scaleZ:lt(x.scaleZ,T.scaleZ),x:lt(x.x,T.x),y:lt(x.y,T.y),z:lt(x.z,T.z),xPercent:lt(x.xPercent,T.xPercent),yPercent:lt(x.yPercent,T.yPercent),perspective:lt(x.transformPerspective,T.perspective)},null!=(p=x.directionalRotation))if("object"==typeof p)for(l in p)x[l]=p[l];else x.rotation=p;"string"==typeof x.x&&-1!==x.x.indexOf("%")&&(o.x=0,o.xPercent=lt(x.x,T.xPercent)),"string"==typeof x.y&&-1!==x.y.indexOf("%")&&(o.y=0,o.yPercent=lt(x.y,T.yPercent)),o.rotation=ht("rotation"in x?x.rotation:"shortRotation"in x?x.shortRotation+"_short":"rotationZ"in x?x.rotationZ:T.rotation-T.skewY,T.rotation-T.skewY,"rotation",y),Dt&&(o.rotationX=ht("rotationX"in x?x.rotationX:"shortRotationX"in x?x.shortRotationX+"_short":T.rotationX||0,T.rotationX,"rotationX",y),o.rotationY=ht("rotationY"in x?x.rotationY:"shortRotationY"in x?x.shortRotationY+"_short":T.rotationY||0,T.rotationY,"rotationY",y)),o.skewX=ht(x.skewX,T.skewX-T.skewY),(o.skewY=ht(x.skewY,T.skewY))&&(o.skewX+=o.skewY,o.rotation+=o.skewY)}for(Dt&&null!=x.force3D&&(T.force3D=x.force3D,f=!0),T.skewType=x.skewType||T.skewType||Y.defaultSkewType,(u=T.force3D||T.z||T.rotationX||T.rotationY||o.z||o.rotationX||o.rotationY||o.perspective)||null==x.scale||(o.scaleZ=1);-1<--v;)(1e-6<(h=o[i=Rt[v]]-T[i])||h<-1e-6||null!=x[i]||null!=F[i])&&(f=!0,n=new vt(T,i,T[i],h,n),i in y&&(n.e=y[i]),n.xs0=0,n.plugin=s,r._overwriteProps.push(n.n));return h=x.transformOrigin,T.svg&&(h||x.svgOrigin)&&(c=T.xOffset,d=T.yOffset,jt(t,at(h),o,x.svgOrigin,x.smoothOrigin),n=xt(T,"xOrigin",(g?T:o).xOrigin,o.xOrigin,n,w),n=xt(T,"yOrigin",(g?T:o).yOrigin,o.yOrigin,n,w),(c!==T.xOffset||d!==T.yOffset)&&(n=xt(T,"xOffset",g?c:T.xOffset,T.xOffset,n,w),n=xt(T,"yOffset",g?d:T.yOffset,T.yOffset,n,w)),h=Ot?null:"0px 0px"),(h||Dt&&u&&T.zOrigin)&&(Mt?(f=!0,i=Lt,h=(h||K(t,i,O,!1,"50% 50%"))+"",(n=new vt(m,i,0,0,n,-1,w)).b=m[i],n.plugin=s,Dt?(l=T.zOrigin,h=h.split(" "),T.zOrigin=(2<h.length&&(0===l||"0px"!==h[2])?parseFloat(h[2]):l)||0,n.xs0=n.e=h[0]+" "+(h[1]||"50%")+" 0px",(n=new vt(T,"zOrigin",0,0,n,-1,n.n)).b=l,n.xs0=n.e=T.zOrigin):n.xs0=n.e=h):at(h+"",T)),f&&(r._transformType=T.svg&&Ot||!u&&3!==this._transformType?2:3),n},prefix:!0}),bt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),bt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,r,n,s){e=this.format(e);var a,o,l,h,u,f,p,c,d,_,g,m,v,x,y,w,T=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],b=t.style;for(d=parseFloat(t.offsetWidth),_=parseFloat(t.offsetHeight),a=e.split(" "),o=0;o<T.length;o++)this.p.indexOf("border")&&(T[o]=Z(T[o])),-1!==(u=h=K(t,T[o],O,!1,"0px")).indexOf(" ")&&(u=(h=u.split(" "))[0],h=h[1]),f=l=a[o],p=parseFloat(u),m=u.substr((p+"").length),(v="="===f.charAt(1))?(c=parseInt(f.charAt(0)+"1",10),f=f.substr(2),c*=parseFloat(f),g=f.substr((c+"").length-(c<0?1:0))||""):(c=parseFloat(f),g=f.substr((c+"").length)),""===g&&(g=P[i]||m),g!==m&&(x=J(t,"borderLeft",p,m),y=J(t,"borderTop",p,m),"%"===g?(u=x/d*100+"%",h=y/_*100+"%"):"em"===g?(u=x/(w=J(t,"borderLeft",1,"em"))+"em",h=y/w+"em"):(u=x+"px",h=y+"px"),v&&(f=parseFloat(u)+c+g,l=parseFloat(h)+c+g)),n=yt(b,T[o],u+" "+h,f+" "+l,!1,"0px",n);return n},prefix:!0,formatter:_t("0px 0px 0px 0px",!1,!0)}),bt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,
vendor: 4,126 bytes, line 12
12i,r,n,s){return yt(t.style,i,this.format(K(t,i,O,!1,"0px 0px")),this.format(e),!1,"0px",n)},prefix:!0,formatter:_t("0px 0px",!1,!0)}),bt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,n,s){var a,o,l,h,u,f,p="background-position",c=O||$(t,null),d=this.format((c?S?c.getPropertyValue(p+"-x")+" "+c.getPropertyValue(p+"-y"):c.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),_=this.format(e);if(-1!==d.indexOf("%")!=(-1!==_.indexOf("%"))&&_.split(",").length<2&&((f=K(t,"backgroundImage").replace(T,""))&&"none"!==f)){for(a=d.split(" "),o=_.split(" "),V.setAttribute("src",f),l=2;-1<--l;)(h=-1!==(d=a[l]).indexOf("%"))!==(-1!==o[l].indexOf("%"))&&(u=0===l?t.offsetWidth-V.width:t.offsetHeight-V.height,a[l]=h?parseFloat(d)/100*u+"px":parseFloat(d)/u*100+"%");d=a.join(" ")}return this.parseComplex(t.style,d,_,n,s)},formatter:at}),bt("backgroundSize",{defaultValue:"0 0",formatter:at}),bt("perspective",{defaultValue:"0px",prefix:!0}),bt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),bt("transformStyle",{prefix:!0}),bt("backfaceVisibility",{prefix:!0}),bt("userSelect",{prefix:!0}),bt("margin",{parser:gt("marginTop,marginRight,marginBottom,marginLeft")}),bt("padding",{parser:gt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),bt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,n,s){var a,o,l;return S<9?(o=t.currentStyle,l=S<8?" ":",",a="rect("+o.clipTop+l+o.clipRight+l+o.clipBottom+l+o.clipLeft+")",e=this.format(e).split(",").join(l)):(a=this.format(K(t,this.p,O,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,n,s)}}),bt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),bt("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),bt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,n,s){var a=K(t,"borderTopWidth",O,!1,"0px"),o=this.format(e).split(" "),l=o[0].replace(R,"");return"px"!==l&&(a=parseFloat(a)/J(t,"borderTopWidth",1,l)+l),this.parseComplex(t.style,this.format(a+" "+K(t,"borderTopStyle",O,!1,"solid")+" "+K(t,"borderTopColor",O,!1,"#000")),o.join(" "),n,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),bt("borderWidth",{parser:gt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),bt("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new vt(a,o,0,0,n,-1,i,!1,0,a[o],e)}});var qt=function(t){var e,i=this.t,r=i.filter||K(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!K(this.data,"filter")):(i.filter=r.replace(a,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(M,"opacity="+n))};bt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,n,s){var a=parseFloat(K(t,"opacity",O,!1,"1")),o=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),l&&1===a&&"hidden"===K(t,"visibility",O)&&0!==e&&(a=0),W?n=new vt(o,"opacity",a,e-a,n):((n=new vt(o,"opacity",100*a,100*(e-a),n)).xn1=l?1:0,o.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=s,n.setRatio=qt),l&&((n=new vt(o,"visibility",0,0,n,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(n.n),r._overwriteProps.push(i)),n}});var Ht=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(o,"-$1").toLowerCase())):t.removeAttribute(e))},Qt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ht(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};
12bt("className",{parser:function(t,e,i,r,n,s,a){var o,l,h,u,f,p=t.getAttribute("class")||"",c=t.style.cssText;if((n=r._classNamePT=new vt(t,i,0,0,n,2)).setRatio=Qt,n.pr=-11,d=!0,n.b=p,l=et(t,O),h=t._gsClassPT){for(u={},f=h.data;f;)u[f.p]=1,f=f._next;h.setRatio(1)}return(t._gsClassPT=n).e="="!==e.charAt(1)?e:p.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",n.e),o=it(t,l,et(t),a,u),t.setAttribute("class",p),n.data=o.firstMPT,t.style.cssText=c,n.xfirst=r.parse(t,o.difs,n,s)}});var Zt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,a=this.t.style,o=_.transform.parse;if("all"===this.e)n=!(a.cssText="");else for(r=(e=this.e.split(" ").join("").split(",")).length;-1<--r;)i=e[r],_[i]&&(_[i].parse===o?n=!0:i="transformOrigin"===i?Lt:_[i].p),Ht(a,i);n&&(Ht(a,Mt),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(bt("clearProps",{parser:function(t,e,i,r,n){return(n=new vt(t,i,0,0,n,2)).setRatio=Zt,n.e=e,n.pr=-10,n.data=r._tween,d=!0,n}}),t="bezier,throwProps,physicsProps,physics2D".split(","),wt=t.length;wt--;)Pt(t[wt]);(t=Y.prototype)._firstPT=t._lastParsedTransform=t._transform=null,t._onInitTween=function(t,e,i){if(!t.nodeType)return!1;this._target=t,this._tween=i,this._vars=e,k=e.autoRound,d=!1,P=e.suffixMap||Y.suffixMap,O=$(t,""),c=this._overwriteProps;var r,n,s,a,o,l,h,u,f,p=t.style;if(g&&""===p.zIndex&&(("auto"===(r=K(t,"zIndex",O))||""===r)&&this._addLazySet(p,"zIndex",0)),"string"==typeof e&&(a=p.cssText,r=et(t,O),p.cssText=a+";"+e,r=it(t,r,et(t)).difs,!W&&y.test(e)&&(r.opacity=parseFloat(RegExp.$1)),e=r,p.cssText=a),e.className?this._firstPT=n=_.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=n=this.parse(t,e,null),this._transformType){for(f=3===this._transformType,Mt?m&&(g=!0,""===p.zIndex&&(("auto"===(h=K(t,"zIndex",O))||""===h)&&this._addLazySet(p,"zIndex",0)),v&&this._addLazySet(p,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(f?"visible":"hidden"))):p.zoom=1,s=n;s&&s._next;)s=s._next;u=new vt(t,"transform",0,0,null,2),this._linkCSSP(u,null,s),u.setRatio=Mt?Ut:Wt,u.data=this._transform||Gt(t,O,!0),u.tween=i,u.pr=-1,c.pop()}if(d){for(;n;){for(l=n._next,s=a;s&&s.pr>n.pr;)s=s._next;(n._prev=s?s._prev:o)?n._prev._next=n:a=n,(n._next=s)?s._prev=n:o=n,n=l}this._firstPT=a}return!0},t.parse=function(t,e,i,r){var n,s,a,o,l,h,u,f,p,c,d=t.style;for(n in e)h=e[n],(s=_[n])?i=s.parse(t,h,n,this,i,r,e):(l=K(t,n,O)+"",p="string"==typeof h,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||p&&w.test(h)?(p||(h=(3<(h=pt(h)).length?"rgba(":"rgb(")+h.join(",")+")"),i=yt(d,n,l,h,!0,"transparent",i,0,r)):p&&D.test(h)?i=yt(d,n,l,h,!0,null,i,0,r):(u=(a=parseFloat(l))||0===a?l.substr((a+"").length):"",(""===l||"auto"===l)&&("width"===n||"height"===n?(a=st(t,n,O),u="px"):"left"===n||"top"===n?(a=tt(t,n,O),u="px"):(a="opacity"!==n?0:1,u="")),(c=p&&"="===h.charAt(1))?(o=parseInt(h.charAt(0)+"1",10),h=h.substr(2),o*=parseFloat(h),f=h.replace(R,"")):(o=parseFloat(h),f=p?h.replace(R,""):""),""===f&&(f=n in P?P[n]:u),h=o||0===o?(c?o+a:o)+f:e[n],u!==f&&""!==f&&(o||0===o)&&a&&(a=J(t,n,a,u),"%"===f?(a/=J(t,n,100,"%")/100,!0!==e.strictUnits&&(l=a+"%")):"em"===f||"rem"===f||"vw"===f||"vh"===f?a/=J(t,n,1,f):"px"!==f&&(o=J(t,n,o,f),f="px"),c&&(o||0===o)&&(h=o+a+f)),c&&(o+=a),!a&&0!==a||!o&&0!==o?void 0!==d[n]&&(h||h+""!="NaN"&&null!=h)?(i=new vt(d,n,o||a||0,0,i,-1,n,!1,0,l,h)).xs0="none"!==h||"display"!==n&&-1===n.indexOf("Style")?h:l:q("invalid "+n+" tween value: "+e[n]):(i=new vt(d,n,a,o-a,i,0,n,!1!==k&&("px"===f||"zIndex"===n),0,l,h)).xs0=f)),r&&i&&!i.plugin&&(i.plugin=r);return i},t.setRatio=function(t){var e,i,r,n=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=Math.round(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},t._enableTransforms=function(t){this._transform=this._transform||Gt(this._target,O,!0),this._transformType=this._transform.svg&&Ot||!t&&3!==this._transformType?2:3};var $t=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};
12t._addLazySet=function(t,e,i){var r=this._firstPT=new vt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=$t,r.data=this},t._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},t._kill=function(t){var e,i,r,n=t;if(t.autoAlpha||t.alpha){for(i in n={},t)n[i]=t[i];n.opacity=1,n.autoAlpha&&(n.visibility=1)}return t.className&&(e=this._classNamePT)&&((r=e.xfirst)&&r._prev?this._linkCSSP(r._prev,e._next,r._prev._prev):r===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,r._prev),this._classNamePT=null),s.prototype._kill.call(this,n)};var Kt=function(t,e,i){var r,n,s,a;if(t.slice)for(n=t.length;-1<--n;)Kt(t[n],e,i);else for(n=(r=t.childNodes).length;-1<--n;)a=(s=r[n]).type,s.style&&(e.push(et(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||Kt(s,e,i)};return Y.cascadeTo=function(t,e,i){var r,n,s,a,o=j.to(t,e,i),l=[o],h=[],u=[],f=[],p=j._internals.reservedProps;for(t=o._targets||o.target,Kt(t,h,f),o.render(e,!0,!0),Kt(t,u),o.render(0,!0,!0),o._enabled(!0),r=f.length;-1<--r;)if((n=it(f[r],h[r],u[r])).firstMPT){for(s in n=n.difs,i)p[s]&&(n[s]=i[s]);for(s in a={},n)a[s]=h[r][s];l.push(j.fromTo(f[r],e,a,n))}return l},s.activate([Y]),Y},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).CSSPlugin};"function"==typeof define&&define.amd?define(["../TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=e())}(),function(i){"use strict";var n=i.GreenSockGlobals||i,t=function(t){var e,i=t.split("."),r=n;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r}("com.greensock.utils"),U=function(t){var e=t.nodeType,i="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=U(t)}else if(3===e||4===e)return t.nodeValue;return i},q=document,H=q.defaultView?q.defaultView.getComputedStyle:function(){},s=/([A-Z])/g,Q=function(t,e,i,r){var n;return(i=i||H(t,null))?n=(t=i.getPropertyValue(e.replace(s,"-$1").toLowerCase()))||i.length?t:i[e]:t.currentStyle&&(n=(i=t.currentStyle)[e]),r?n:parseInt(n,10)||0},a=function(t){return!!(t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},Z=/(?:\r|\n|\s\s|\t\t)/g,$=")eefec303079ad17405c",K=/(?:<br>|<br\/>|<br \/>)/gi,r="<div style='position:relative;display:inline-block;"+(q.all&&!q.addEventListener?"*display:inline;*zoom:1;'":"'"),J=function(t){var e=-1!==(t=t||"").indexOf("++"),i=1;return e&&(t=t.split("++").join("")),function(){return r+(t?" class='"+t+(e?i++:"")+"'>":">")}},o=t.SplitText=n.SplitText=function(t,e){if("string"==typeof t&&(t=o.selector(t)),!t)throw"cannot split a null element.";this.elements=a(t)?function(t){var e,i,r,n=[],s=t.length;for(e=0;e<s;e++)if(i=t[e],a(i))for(r=i.length,r=0;r<i.length;r++)n.push(i[r]);else n.push(i);return n}(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},tt=function(t,e,i){var r=t.nodeType;if(1===r||9===r||11===r)for(t=t.firstChild;t;t=t.nextSibling)tt(t,e,i);else(3===r||4===r)&&(t.nodeValue=t.nodeValue.split(e).join(i))},et=function(t,e){for(var i=e.length;-1<--i;)t.push(e[i])},l=function(t,e,i,r,n){K.test(t.innerHTML)&&(t.innerHTML=t.innerHTML.replace(K,$));var s,a,o,l,h,u,f,p,c,d,_,g,m,v,x=U(t),y=e.type||e.split||"chars,words,lines",w=-1!==y.indexOf("lines")?[]:null,T=-1!==y.indexOf("words"),b=-1!==y.indexOf("chars"),P="absolute"===e.position||!0===e.absolute,O=P?"­ ":" ",S=-999,k=H(t),C=Q(t,"paddingLeft",k),A=Q(t,"borderBottomWidth",k)+Q(t,"borderTopWidth",k),R=Q(t,"borderLeftWidth",k)+Q(t,"borderRightWidth",k),M=Q(t,"paddingTop",k)+Q(t,"paddingBottom",k),E=Q(t,"paddingLeft",k)+Q(t,"paddingRight",k),L=Q(t,"textAlign",k,!0),D=t.clientHeight,F=t.clientWidth,I="</div>",X=J(e.wordsClass),N=J(e.charsClass),z=-1!==(e.linesClass||"").indexOf("++"),j=e.linesClass,Y=-1!==x.indexOf("<"),B=!0,V=[],G=[],W=[];for(0!=!e.reduceWhiteSpace&&(x=x.replace(Z,"")),z&&(j=j.split("++").join("")),Y&&(x=x.split("<").join("{{LT}}")),s=x.length,l=X(),h=0;h<s;h++)if(")"===(f=x.charAt(h))&&x.substr(h,20)===$)l+=(B?I:"")+"<BR/>",B=!1,h!==s-20&&x.substr(h+20,20)!==$&&(l+=" "+X(),B=!0),h+=19;else if(" "===f&&" "!==x.charAt(h-1)&&h!==s-1&&x.substr(h-20,20)!==$){for(l+=B?I:"",B=!1;" "===x.charAt(h+1);)l+=O,h++;(")"!==x.charAt(h+1)||x.substr(h+1,20)!==$)&&(l+=O+X(),B=!0)}else"{"===f&&"{{LT}}"===x.substr(h,6)?(l+=b?N()+"{{LT}}
12</div>":"{{LT}}",h+=5):l+=b&&" "!==f?N()+f+"</div>":f;for(t.innerHTML=l+(B?I:""),Y&&tt(t,"{{LT}}","<"),s=(u=t.getElementsByTagName("*")).length,p=[],h=0;h<s;h++)p[h]=u[h];if(w||P)for(h=0;h<s;h++)((o=(c=p[h]).parentNode===t)||P||b&&!T)&&(d=c.offsetTop,w&&o&&d!==S&&"BR"!==c.nodeName&&(a=[],w.push(a),S=d),P&&(c._x=c.offsetLeft,c._y=d,c._w=c.offsetWidth,c._h=c.offsetHeight),w&&(T!==o&&b||(a.push(c),c._x-=C),o&&h&&(p[h-1]._wordEnd=!0),"BR"===c.nodeName&&c.nextSibling&&"BR"===c.nextSibling.nodeName&&w.push([])));for(h=0;h<s;h++)o=(c=p[h]).parentNode===t,"BR"!==c.nodeName?(P&&(g=c.style,T||o||(c._x+=c.parentNode._x,c._y+=c.parentNode._y),g.left=c._x+"px",g.top=c._y+"px",g.position="absolute",g.display="block",g.width=c._w+1+"px",g.height=c._h+"px"),T?o&&""!==c.innerHTML?G.push(c):b&&V.push(c):o?(t.removeChild(c),p.splice(h--,1),s--):!o&&b&&(d=!w&&!P&&c.nextSibling,t.appendChild(c),d||t.appendChild(q.createTextNode(" ")),V.push(c))):w||P?(t.removeChild(c),p.splice(h--,1),s--):T||t.appendChild(c);if(w){for(P&&(_=q.createElement("div"),t.appendChild(_),m=_.offsetWidth+"px",d=_.offsetParent===t?0:t.offsetLeft,t.removeChild(_)),g=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(v=!P||!T&&!b,h=0;h<w.length;h++){for(a=w[h],(_=q.createElement("div")).style.cssText="display:block;text-align:"+L+";position:"+(P?"absolute;":"relative;"),j&&(_.className=j+(z?h+1:"")),W.push(_),s=a.length,u=0;u<s;u++)"BR"!==a[u].nodeName&&(c=a[u],_.appendChild(c),v&&(c._wordEnd||T)&&_.appendChild(q.createTextNode(" ")),P&&(0===u&&(_.style.top=c._y+"px",_.style.left=C+d+"px"),c.style.top="0px",d&&(c.style.left=c._x-d+"px")));0===s&&(_.innerHTML=" "),T||b||(_.innerHTML=U(_).split(String.fromCharCode(160)).join(" ")),P&&(_.style.width=m,_.style.height=c._h+"px"),t.appendChild(_)}t.style.cssText=g}P&&(D>t.clientHeight&&(t.style.height=D-M+"px",t.clientHeight<D&&(t.style.height=D+A+"px")),F>t.clientWidth&&(t.style.width=F-E+"px",t.clientWidth<F&&(t.style.width=F+R+"px"))),et(i,V),et(r,G),et(n,W)},e=o.prototype;e.split=function(t){this.isSplit&&this.revert(),this.vars=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e=this.elements.length;-1<--e;)this._originals[e]=this.elements[e].innerHTML,l(this.elements[e],this.vars,this.chars,this.words,this.lines);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;-1<--t;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},o.selector=i.$||i.jQuery||function(t){var e=i.$||i.jQuery;return e?(o.selector=e)(t):"undefined"==typeof document?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById("#"===t.charAt(0)?t.substr(1):t)},o.version="0.3.5"}(_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).SplitText};"function"==typeof define&&define.amd?define([],e):"undefined"!=typeof module&&module.exports&&(module.exports=e())}();try{window.GreenSockGlobals=null,window._gsQueue=null,window._gsDefine=null,delete window.GreenSockGlobals,delete window._gsQueue,delete window._gsDefine}catch(t){}try{window.GreenSockGlobals=oldgs,window._gsQueue=oldgs_queue}catch(t){}if(1==window.tplogs)try{console.groupEnd()}catch(t){}!function(u,t){u.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]},u.expr[":"].uncached=function(t){var e=document.createElement("img");return e.src=t.src,u(t).is('img[src!=""]')&&!e.complete},u.fn.waitForImages=function(l,h,e){if(u.isPlainObject(l)&&(h=l.each,e=l.waitForAll,l=l.finished),l=l||u.noop,h=h||u.noop,e=!!e,!u.isFunction(l)||!u.isFunction(h))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var r=u(this),s=[];if(e){var t=u.waitForImages.hasImageProperties||[],a=/url\((['"]?)(.*?)\1\)/g;r.find("*").each(function(){var n=u(this);n.is("img:uncached")&&s.push({src:n.attr("src"),element:n[0]}),u.each(t,function(t,e){var i,r=n.css(e);if(!r)return!0;for(;i=a.exec(r);)s.push({src:i[2],element:n[0]})})})}
12else r.find("img:uncached").each(function(){s.push({src:this.src,element:this})});var n=s.length,o=0;0==n&&l.call(r[0]),u.each(s,function(t,e){var i=new Image;u(i).bind("load error",function(t){if(o++,h.call(e.element,o,n,"load"==t.type),o==n)return l.call(r[0]),!1}),i.src=e.src})})}}(jQuery); 13/* jquery.themepunch.revolution.min.js */ 14!function(jQuery,undefined){"use strict";jQuery.fn.extend({revolution:function(t){return t=jQuery.extend(!0,{},{delay:9e3,responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,autoHeight:"off",sliderType:"standard",sliderLayout:"auto",fullScreenAutoWidth:"off",fullScreenAlignForce:"off",fullScreenOffsetContainer:"",fullScreenOffset:"0",hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,disableProgressBar:"off",stopAtSlide:-1,stopAfterLoops:-1,shadow:0,dottedOverlay:"none",startDelay:0,lazyType:"smart",spinner:"spinner0",shuffle:"off",viewPort:{enable:!1,outof:"wait",visible_area:"60%"},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:"off",simplifyAll:"on",nextSlideOnWindowFocus:"off",disableFocusListener:!0,ignoreHeightChanges:"off",ignoreHeightChangesSize:0},parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",speed:400,bgparallax:"off",opacity:"on",disable_onmobile:"off",ddd_shadow:"on",ddd_bgfreeze:"off",ddd_overflow:"visible",ddd_layer_overflow:"visible",ddd_z_correction:65,ddd_path:"mouse"},carousel:{horizontal_align:"center",vertical_align:"center",infinity:"on",space:0,maxVisibleItems:3,stretch:"off",fadeout:"on",maxRotation:0,minScale:0,vary_fade:"off",vary_rotation:"on",vary_scale:"off",border_radius:"0px",padding_top:0,padding_bottom:0},navigation:{keyboardNavigation:"off",keyboard_direction:"horizontal",mouseScrollNavigation:"off",onHoverStop:"on",touch:{touchenabled:"off",swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,swipe_direction:"horizontal"},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,tmp:"",rtl:!1,left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0,container:"slider"},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0,container:"slider"}},bullets:{container:"slider",rtl:!1,style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"left",v_align:"center",space:0,h_offset:20,v_offset:0,tmp:'<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>'},thumbnails:{container:"slider",rtl:!1,style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"#f5f5f5",wrapper_opacity:1,tmp:'<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"left",v_align:"center",h_offset:20,v_offset:0},tabs:{container:"slider",rtl:!1,style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"#f5f5f5",wrapper_opacity:1,tmp:'<span class="tp-tab-image"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"left",v_align:"center",h_offset:20,v_offset:0}},extensions:"extensions/",extensions_suffix:".min.js",debugMode:!1},t),this.each(function(){var e=jQuery(this);t.minHeight=t.minHeight!=undefined?parseInt(t.minHeight,0):t.minHeight,"hero"==t.sliderType&&e.find(">ul>li").each(function(e){0<e&&jQuery(this).remove()}),t.jsFileLocation=t.jsFileLocation||getScriptLocation("themepunch.revolution.min.js"),t.jsFileLocation=t.jsFileLocation+t.extensions,t.scriptsneeded=getNeededScripts(t,e),t.curWinRange=0,t.rtl=!0,t.navigation!=undefined&&t.navigation.touch!=undefined&&(t.navigation.touch.swipe_min_touches=5<t.navigation.touch.swipe_min_touches?1:t.navigation.touch.swipe_min_touches),jQuery(this).on("scriptsloaded",function(){return t.modulesfailing?(e.html('<div style="margin:auto;line-height:40px;font-size:14px;color:#fff;padding:15px;background:#e74c3c;margin:20px 0px;">!! Error at loading Slider Revolution 5.0 Extrensions.'+t.errorm+"</div>").show(),!1):(_R.migration!=undefined&&(t=_R.migration(e,t)),punchgs.force3D=!0,"on"!==t.simplifyAll&&punchgs.TweenLite.lagSmoothing(1e3,16),prepareOptions(e,t),void initSlider(e,t))}),e.data("opt",t),waitForScripts(e,t)})},revremoveslide:function(r){return this.each(function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");if(t&&0<t.li.length&&(0<r||r<=t.li.length)){var i=jQuery(t.li[r]),a=i.data("index"),n=!1;
14t.slideamount=t.slideamount-1,removeNavWithLiref(".tp-bullet",a,t),removeNavWithLiref(".tp-tab",a,t),removeNavWithLiref(".tp-thumb",a,t),i.hasClass("active-revslide")&&(n=!0),i.remove(),t.li=removeArray(t.li,r),t.carousel&&t.carousel.slides&&(t.carousel.slides=removeArray(t.carousel.slides,r)),t.thumbs=removeArray(t.thumbs,r),_R.updateNavIndexes&&_R.updateNavIndexes(t),n&&e.revnext(),punchgs.TweenLite.set(t.li,{minWidth:"99%"}),punchgs.TweenLite.set(t.li,{minWidth:"100%"})}}})},revaddcallback:function(i){return this.each(function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");t.callBackArray===undefined&&(t.callBackArray=new Array),t.callBackArray.push(i)}})},revgetparallaxproc:function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length)return e.parent().find(".tp-bannertimer").data("opt").scrollproc},revdebugmode:function(){return this.each(function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");t.debugMode=!0,containerResized(e,t)}})},revscroll:function(t){return this.each(function(){var e=jQuery(this);e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length&&jQuery("body,html").animate({scrollTop:e.offset().top+e.height()-t+"px"},{duration:400})})},revredraw:function(e){return this.each(function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");containerResized(e,t)}})},revkill:function(e){var t=jQuery(this);if(punchgs.TweenLite.killDelayedCallsTo(_R.showHideNavElements),_R.endMoveCaption&&a.endtimeouts&&0<a.endtimeouts.length&&jQuery.each(a.endtimeouts,function(e,t){clearTimeout(t)}),t!=undefined&&0<t.length&&0<jQuery("body").find("#"+t.attr("id")).length){t.data("conthover",1),t.data("conthover-changed",1),t.trigger("revolution.slide.onpause");var i=t.parent().find(".tp-bannertimer"),a=i.data("opt");a.tonpause=!0,t.trigger("stoptimer"),punchgs.TweenLite.killTweensOf(t.find("*"),!1),punchgs.TweenLite.killTweensOf(t,!1),t.unbind("hover, mouseover, mouseenter,mouseleave, resize");var n="resize.revslider-"+t.attr("id");jQuery(window).off(n),t.find("*").each(function(){var e=jQuery(this);e.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),e.off("on, hover, mouseenter,mouseleave,mouseover, resize"),e.data("mySplitText",null),e.data("ctl",null),e.data("tween")!=undefined&&e.data("tween").kill(),e.data("kenburn")!=undefined&&e.data("kenburn").kill(),e.data("timeline_out")!=undefined&&e.data("timeline_out").kill(),e.data("timeline")!=undefined&&e.data("timeline").kill(),e.remove(),e.empty(),e=null}),punchgs.TweenLite.killTweensOf(t.find("*"),!1),punchgs.TweenLite.killTweensOf(t,!1),i.remove();try{t.closest(".forcefullwidth_wrapper_tp_banner").remove()}catch(e){}try{t.closest(".rev_slider_wrapper").remove()}catch(e){}try{t.remove()}catch(e){}return t.empty(),t.html(),a=t=null,delete this.c,delete this.opt,!0}return!1},revpause:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length&&(e.data("conthover",1),e.data("conthover-changed",1),e.trigger("revolution.slide.onpause"),e.parent().find(".tp-bannertimer").data("opt").tonpause=!0,e.trigger("stoptimer"))})},revresume:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length&&(e.data("conthover",0),e.data("conthover-changed",1),e.trigger("revolution.slide.onresume"),e.parent().find(".tp-bannertimer").data("opt").tonpause=!1,e.trigger("starttimer"))})},revstart:function(){var e=jQuery(this);return e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length&&e.data("opt")?e.data("opt").sliderisrunning?(console.log("Slider Is Running Already"),!1):(runSlider(e,e.data("opt")),!0):void 0},revnext:function(){return this.each(function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");_R.callingNewSlide(t,e,1)}})},revprev:function(){return this.each(function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");_R.callingNewSlide(t,e,-1)}})},revmaxslide:function(){return jQuery(this).find(".tp-revslider-mainul >li").length},revcurrentslide:function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");return parseInt(t.act,0)+1}},revlastslide:function(){return jQuery(this).find(".tp-revslider-mainul >li").length},revshowslide:function(i){return this.each(function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");_R.callingNewSlide(t,e,"to"+(i-1))}})},revcallslidewithid:function(i){return this.each(function(){var e=jQuery(this);if(e!=undefined&&0<e.length&&0<jQuery("body").find("#"+e.attr("id")).length){var t=e.parent().find(".tp-bannertimer").data("opt");_R.callingNewSlide(t,e,i)}})}});var _R=jQuery.fn.revolution;jQuery.extend(!0,_R,{simp:function(e,t,i){var a=Math.abs(e)-Math.floor(Math.abs(e/t))*t;return i?a:e<0?-1*a:a},iOSVersion:function(){var e=!1;return navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)?navigator.userAgent.match(/OS 4_\d like Mac OS X/i)&&(e=!0):e=!1,e},isIE:function(e,t){var i=jQuery('<div style="display:none;"/>').appendTo(jQuery("body"));i.html("\x3c!--[if "+(t||"")+" IE "+(e||"")+"]><a> </a><![endif]--\x3e");var a=i.find("a").length;return i.remove(),a},is_mobile:function(){var e=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"],t=!1;
vendor: 18,311 bytes, line 14
14for(var i in e)1<navigator.userAgent.split(e[i]).length&&(t=!0);return t},callBackHandling:function(e,i,a){try{e.callBackArray&&jQuery.each(e.callBackArray,function(e,t){t&&t.inmodule&&t.inmodule===i&&t.atposition&&t.atposition===a&&t.callback&&t.callback.call()})}catch(e){console.log("Call Back Failed")}},get_browser:function(){var e,t=navigator.appName,i=navigator.userAgent,a=i.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=i.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[t,navigator.appVersion,"-?"])[0]},get_browser_version:function(){var e,t=navigator.appName,i=navigator.userAgent,a=i.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=i.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[t,navigator.appVersion,"-?"])[1]},getHorizontalOffset:function(e,t){var i=gWiderOut(e,".outer-left"),a=gWiderOut(e,".outer-right");switch(t){case"left":return i;case"right":return a;case"both":return i+a}},callingNewSlide:function(e,t,i){var a=0<t.find(".next-revslide").length?t.find(".next-revslide").index():0<t.find(".processing-revslide").length?t.find(".processing-revslide").index():t.find(".active-revslide").index(),n=0;t.find(".next-revslide").removeClass("next-revslide"),t.find(".active-revslide").hasClass("tp-invisible-slide")&&(a=e.last_shown_slide),i&&jQuery.isNumeric(i)||i.match(/to/g)?(1===i||-1===i?n=(n=a+i)<0?e.slideamount-1:n>=e.slideamount?0:n:n=(i=jQuery.isNumeric(i)?i:parseInt(i.split("to")[1],0))<0?0:i>e.slideamount-1?e.slideamount-1:i,t.find(".tp-revslider-slidesli:eq("+n+")").addClass("next-revslide")):i&&t.find(".tp-revslider-slidesli").each(function(){var e=jQuery(this);e.data("index")===i&&e.addClass("next-revslide")}),n=t.find(".next-revslide").index(),t.trigger("revolution.nextslide.waiting"),a===n&&a===e.last_shown_slide||n!==a&&-1!=n?swapSlide(t,e):t.find(".next-revslide").removeClass("next-revslide")},slotSize:function(e,t){t.slotw=Math.ceil(t.width/t.slots),"fullscreen"==t.sliderLayout?t.sloth=Math.ceil(jQuery(window).height()/t.slots):t.sloth=Math.ceil(t.height/t.slots),"on"==t.autoHeight&&e!==undefined&&""!==e&&(t.sloth=Math.ceil(e.height()/t.slots))},setSize:function(e){var t=(e.top_outer||0)+(e.bottom_outer||0),i=parseInt(e.carousel.padding_top||0,0),a=parseInt(e.carousel.padding_bottom||0,0),n=e.gridheight[e.curWinRange];if(e.paddings=e.paddings===undefined?{top:parseInt(e.c.parent().css("paddingTop"),0)||0,bottom:parseInt(e.c.parent().css("paddingBottom"),0)||0}:e.paddings,n=n<e.minHeight?e.minHeight:n,"fullwidth"==e.sliderLayout&&"off"==e.autoHeight&&punchgs.TweenLite.set(e.c,{maxHeight:n+"px"}),e.c.css({marginTop:i,marginBottom:a}),e.width=e.ul.width(),e.height=e.ul.height(),setScale(e),e.height=Math.round(e.gridheight[e.curWinRange]*(e.width/e.gridwidth[e.curWinRange])),e.height>e.gridheight[e.curWinRange]&&"on"!=e.autoHeight&&(e.height=e.gridheight[e.curWinRange]),"fullscreen"==e.sliderLayout||e.infullscreenmode){e.height=e.bw*e.gridheight[e.curWinRange];var r=(e.c.parent().width(),jQuery(window).height());if(e.fullScreenOffsetContainer!=undefined){try{var o=e.fullScreenOffsetContainer.split(",");o&&jQuery.each(o,function(e,t){r=0<jQuery(t).length?r-jQuery(t).outerHeight(!0):r})}catch(e){}try{1<e.fullScreenOffset.split("%").length&&e.fullScreenOffset!=undefined&&0<e.fullScreenOffset.length?r-=jQuery(window).height()*parseInt(e.fullScreenOffset,0)/100:e.fullScreenOffset!=undefined&&0<e.fullScreenOffset.length&&(r-=parseInt(e.fullScreenOffset,0))}catch(e){}}r=r<e.minHeight?e.minHeight:r,r-=t,e.c.parent().height(r),e.c.closest(".rev_slider_wrapper").height(r),e.c.css({height:"100%"}),e.height=r,e.minHeight!=undefined&&e.height<e.minHeight&&(e.height=e.minHeight)}else e.minHeight!=undefined&&e.height<e.minHeight&&(e.height=e.minHeight),e.c.height(e.height);var s={height:i+a+t+e.height+e.paddings.top+e.paddings.bottom};e.c.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css(s),e.c.closest(".rev_slider_wrapper").css(s),setScale(e)},enterInViewPort:function(i){i.waitForCountDown&&(countDown(i.c,i),i.waitForCountDown=!1),i.waitForFirstSlide&&(swapSlide(i.c,i),i.waitForFirstSlide=!1),("playing"==i.sliderlaststatus||i.sliderlaststatus==undefined)&&i.c.trigger("starttimer"),i.lastplayedvideos!=undefined&&0<i.lastplayedvideos.length&&jQuery.each(i.lastplayedvideos,function(e,t){_R.playVideo(t,i)})},leaveViewPort:function(i){i.sliderlaststatus=i.sliderstatus,i.c.trigger("stoptimer"),i.playingvideos!=undefined&&0<i.playingvideos.length&&(i.lastplayedvideos=jQuery.extend(!0,[],i.playingvideos),i.playingvideos&&jQuery.each(i.playingvideos,function(e,t){i.leaveViewPortBasedStop=!0,_R.stopVideo&&_R.stopVideo(t,i)}))},unToggleState:function(e){e!=undefined&&0<e.length&&jQuery.each(e,function(e,t){t.removeClass("rs-toggle-content-active")})},toggleState:function(e){e!=undefined&&0<e.length&&jQuery.each(e,function(e,t){t.addClass("rs-toggle-content-active")})},lastToggleState:function(e){var i=0;return e!=undefined&&0<e.length&&jQuery.each(e,function(e,t){i=t.hasClass("rs-toggle-content-active")}),i}});var _ISM=_R.is_mobile(),removeArray=function(e,i){var a=[];return jQuery.each(e,function(e,t){e!=i&&a.push(t)}),a},removeNavWithLiref=function(e,t,i){i.c.find(e).each(function(){var e=jQuery(this);e.data("liref")===t&&e.remove()})},lAjax=function(t,i){return!jQuery("body").data(t)&&(i.filesystem?(i.errorm===undefined&&(i.errorm="<br>Local Filesystem Detected !<br>Put this to your header:"),console.warn("Local Filesystem detected !"),i.errorm=i.errorm+'<br><script type="text/javascript" src="'+i.jsFileLocation+t+i.extensions_suffix+'"></script>',console.warn(i.jsFileLocation+t+i.extensions_suffix+" could not be loaded !"),console.warn("Please use a local Server or work online or make sure that you load all needed Libraries manually in your Document."),console.log(" "),!(i.modulesfailing=!0)):(jQuery.ajax({url:i.jsFileLocation+t+i.extensions_suffix,dataType:"script",cache:!0,error:function(e){console.warn("Slider Revolution 5.0 Error !"),console.error("Failure at Loading:"+t+i.extensions_suffix+" on Path:"+i.jsFileLocation),console.info(e)}}),void jQuery("body").data(t,!0)))},getNeededScripts=function(i,e){var t=new Object,a=i.navigation;return t.kenburns=!1,t.parallax=!1,t.carousel=!1,t.navigation=!1,t.videos=!1,t.actions=!1,t.layeranim=!1,t.migration=!1,e.data("version")&&e.data("version").toString().match(/5./gi)?(e.find("img").each(function(){"on"==jQuery(this).data("kenburns")&&(t.kenburns=!0)}),("carousel"==i.sliderType||"on"==a.keyboardNavigation||"on"==a.mouseScrollNavigation||"on"==a.touch.touchenabled||a.arrows.enable||a.bullets.enable||a.thumbnails.enable||a.tabs.enable)&&(t.navigation=!0),e.find(".tp-caption, .tp-static-layer, .rs-background-video-layer").each(function(){var e=jQuery(this);(e.data("ytid")!=undefined||0<e.find("iframe").length&&0<e.find("iframe").attr("src").toLowerCase().indexOf("youtube"))&&(t.videos=!0),(e.data("vimeoid")!=undefined||0<e.find("iframe").length&&0<e.find("iframe").attr("src").toLowerCase().indexOf("vimeo"))&&(t.videos=!0),e.data("actions")!==undefined&&(t.actions=!0),t.layeranim=!0}),e.find("li").each(function(){jQuery(this).data("link")&&jQuery(this).data("link")!=undefined&&(t.layeranim=!0,t.actions=!0)}),!t.videos&&(0<e.find(".rs-background-video-layer").length||0<e.find(".tp-videolayer").length||0<e.find(".tp-audiolayer").length||0<e.find("iframe").length||0<e.find("video").length)&&(t.videos=!0),"carousel"==i.sliderType&&(t.carousel=!0),("off"!==i.parallax.type||i.viewPort.enable||"true"==i.viewPort.enable)&&(t.parallax=!0)):(t.kenburns=!0,t.parallax=!0,t.carousel=!1,t.navigation=!0,t.videos=!0,t.actions=!0,t.layeranim=!0,t.migration=!0),"hero"==i.sliderType&&(t.carousel=!1,t.navigation=!1),window.location.href.match(/file:/gi)&&(t.filesystem=!0,i.filesystem=!0),t.videos&&void 0===_R.isVideoPlaying&&lAjax("revolution.extension.video",i),t.carousel&&void 0===_R.prepareCarousel&&lAjax("revolution.extension.carousel",i),t.carousel||void 0!==_R.animateSlide||lAjax("revolution.extension.slideanims",i),t.actions&&void 0===_R.checkActions&&lAjax("revolution.extension.actions",i),t.layeranim&&void 0===_R.handleStaticLayers&&lAjax("revolution.extension.layeranimation",i),t.kenburns&&void 0===_R.stopKenBurn&&lAjax("revolution.extension.kenburn",i),t.navigation&&void 0===_R.createNavigation&&lAjax("revolution.extension.navigation",i),t.migration&&void 0===_R.migration&&lAjax("revolution.extension.migration",i),t.parallax&&void 0===_R.checkForParallax&&lAjax("revolution.extension.parallax",i),i.addons!=undefined&&0<i.addons.length&&jQuery.each(i.addons,function(e,t){"object"==typeof t&&t.fileprefix!=undefined&&lAjax(t.fileprefix,i)}),t},waitForScripts=function(e,t){var i=!0,a=t.scriptsneeded;t.addons!=undefined&&0<t.addons.length&&jQuery.each(t.addons,function(e,t){"object"==typeof t&&t.init!=undefined&&_R[t.init]===undefined&&(i=!1)}),a.filesystem||"undefined"!=typeof punchgs&&i&&(!a.kenburns||a.kenburns&&void 0!==_R.stopKenBurn)&&(!a.navigation||a.navigation&&void 0!==_R.createNavigation)&&(!a.carousel||a.carousel&&void 0!==_R.prepareCarousel)&&(!a.videos||a.videos&&void 0!==_R.resetVideo)&&(!a.actions||a.actions&&void 0!==_R.checkActions)&&(!a.layeranim||a.layeranim&&void 0!==_R.handleStaticLayers)&&(!a.migration||a.migration&&void 0!==_R.migration)&&(!a.parallax||a.parallax&&void 0!==_R.checkForParallax)&&(a.carousel||!a.carousel&&void 0!==_R.animateSlide)?e.trigger("scriptsloaded"):setTimeout(function(){waitForScripts(e,t)},50)},getScriptLocation=function(e){var t=new RegExp("themepunch.revolution.min.js","gi"),i="";return jQuery("script").each(function(){var e=jQuery(this).attr("src");e&&e.match(t)&&(i=e)}),i=(i=(i=i.replace("jquery.themepunch.revolution.min.js","")).replace("jquery.themepunch.revolution.js","")).split("?")[0]},setCurWinRange=function(e,t){var i=9999,a=0,n=0,r=0,o=jQuery(window).width(),s=t&&9999==e.responsiveLevels?e.visibilityLevels:e.responsiveLevels;s&&s.length&&jQuery.each(s,function(e,t){o<t&&(0==a||t<a)&&(r=e,a=i=t),t<o&&a<t&&(a=t,n=e)}),a<i&&(r=n),t?e.forcedWinRange=r:e.curWinRange=r},prepareOptions=function(e,t){t.carousel.maxVisibleItems=t.carousel.maxVisibleItems<1?999:t.carousel.maxVisibleItems,t.carousel.vertical_align="top"===t.carousel.vertical_align?"0%":"bottom"===t.carousel.vertical_align?"100%":"50%"},gWiderOut=function(e,t){var i=0;return e.find(t).each(function(){var e=jQuery(this);!e.hasClass("tp-forcenotvisible")&&i<e.outerWidth()&&(i=e.outerWidth())}),i},initSlider=function(container,opt){return container!=undefined&&(container.data("aimg")!=undefined&&("enabled"==container.data("aie8")&&_R.isIE(8)||"enabled"==container.data("amobile")&&_ISM)&&container.html('<img class="tp-slider-alternative-image" src="'+container.data("aimg")+'">'),container.find(">ul").addClass("tp-revslider-mainul"),opt.c=container,opt.ul=container.find(".tp-revslider-mainul"),opt.ul.find(">li").each(function(e){var t=jQuery(this);"on"==t.data("hideslideonmobile")&&_ISM&&t.remove(),(t.data("invisible")||!0===t.data("invisible"))&&(t.addClass("tp-invisible-slide"),t.appendTo(opt.ul))}),opt.addons!=undefined&&0<opt.addons.length&&jQuery.each(opt.addons,function(i,obj){"object"==typeof obj&&obj.init!=undefined&&_R[obj.init](eval(obj.params))}),opt.cid=container.attr("id"),opt.ul.css({visibility:"visible"}),opt.slideamount=opt.ul.find(">li").not(".tp-invisible-slide").length,opt.slayers=container.find(".tp-static-layers"),void(1!=opt.waitForInit&&(container.data("opt",opt),runSlider(container,opt))))},onFullScreenChange=function(){jQuery("body").data("rs-fullScreenMode",!jQuery("body").data("rs-fullScreenMode")),jQuery("body").data("rs-fullScreenMode")&&setTimeout(function(){jQuery(window).trigger("resize")},200)},runSlider=function(i,c){if(c.sliderisrunning=!0,c.ul.find(">li").each(function(e){jQuery(this).data("originalindex",e)}),"on"==c.shuffle){var e=new Object,t=c.ul.find(">li:first-child");e.fstransition=t.data("fstransition"),e.fsmasterspeed=t.data("fsmasterspeed"),e.fsslotamount=t.data("fsslotamount");for(var a=0;a<c.slideamount;a++){var n=Math.round(Math.random()*c.slideamount);c.ul.find(">li:eq("+n+")").prependTo(c.ul)}var r=c.ul.find(">li:first-child");r.data("fstransition",e.fstransition),r.data("fsmasterspeed",e.fsmasterspeed),r.data("fsslotamount",e.fsslotamount),c.li=c.ul.find(">li").not(".tp-invisible-slide")}if(c.allli=c.ul.find(">li"),c.li=c.ul.find(">li").not(".tp-invisible-slide"),c.inli=c.ul.find(">li.tp-invisible-slide"),c.thumbs=new Array,c.slots=4,c.act=-1,c.firststart=1,c.loadqueue=new Array,c.syncload=0,c.conw=i.width(),c.conh=i.height(),1<c.responsiveLevels.length?c.responsiveLevels[0]=9999:c.responsiveLevels=9999,jQuery.each(c.allli,function(e,t){var i=(t=jQuery(t)).find(".rev-slidebg")||t.find("img").first(),a=0;t.addClass("tp-revslider-slidesli"),t.data("index")===undefined&&t.data("index","rs-"+Math.round(999999*Math.random()));var n=new Object;n.params=new Array,n.id=t.data("index"),n.src=t.data("thumb")!==undefined?t.data("thumb"):i.data("lazyload")!==undefined?i.data("lazyload"):i.attr("src"),t.data("title")!==undefined&&n.params.push({from:RegExp("\\{\\{title\\}\\}","g"),to:t.data("title")}),t.data("description")!==undefined&&n.params.push({from:RegExp("\\{\\{description\\}\\}","g"),to:t.data("description")});for(a=1;a<=10;a++)t.data("param"+a)!==undefined&&n.params.push({from:RegExp("\\{\\{param"+a+"\\}\\}","g"),to:t.data("param"+a)});if(c.thumbs.push(n),t.data("origindex",t.index()),t.data("link")!=undefined){var r=t.data("link"),o=t.data("target")||"_self",s="back"===t.data("slideindex")?0:60,d=t.data("linktoslide"),l=d;d!=undefined&&"next"!=d&&"prev"!=d&&c.allli.each(function(){var e=jQuery(this);e.data("origindex")+1==l&&(d=e.data("index"))}),"slide"!=r&&(d="no");var u='<div class="tp-caption slidelink" style="cursor:pointer;width:100%;height:100%;z-index:'+s+';" data-x="center" data-y="center" data-basealign="slide" ';u="no"==d?u+' data-start="0">':u+"data-actions='"+("scroll_under"===d?'[{"event":"click","action":"scrollbelow","offset":"100px","delay":"0"}]':"prev"===d?'[{"event":"click","action":"jumptoslide","slide":"prev","delay":"0.2"}]':"next"===d?'[{"event":"click","action":"jumptoslide","slide":"next","delay":"0.2"}]':'[{"event":"click","action":"jumptoslide","slide":"'+d+'","delay":"0.2"}]')+'\' data-start="0">',u+='<a style="width:100%;height:100%;display:block"',u="slide"!=r?u+' target="'+o+'" href="'+r+'"':u,u+='><span style="width:100%;height:100%;display:block"></span></a></div>',t.append(u)}}),c.rle=c.responsiveLevels.length||1,c.gridwidth=cArray(c.gridwidth,c.rle),c.gridheight=cArray(c.gridheight,c.rle),"on"==c.simplifyAll&&(_R.isIE(8)||_R.iOSVersion())&&(i.find(".tp-caption").each(function(){var e=jQuery(this);e.removeClass("customin customout").addClass("fadein fadeout"),e.data("splitin",""),e.data("speed",400)}),c.allli.each(function(){var e=jQuery(this);e.data("transition","fade"),e.data("masterspeed",500),e.data("slotamount",1),(e.find(".rev-slidebg")||e.find(">img").first()).data("kenburns","off")})),c.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),c.autoHeight="fullscreen"==c.sliderLayout?"on":c.autoHeight,"fullwidth"==c.sliderLayout&&"off"==c.autoHeight&&i.css({maxHeight:c.gridheight[c.curWinRange]+"px"}),"auto"!=c.sliderLayout&&0==i.closest(".forcefullwidth_wrapper_tp_banner").length&&("fullscreen"!==c.sliderLayout||"on"!=c.fullScreenAutoWidth)){var o=i.parent(),s=o.css("marginBottom"),d=o.css("marginTop"),l=i.attr("id")+"_forcefullwidth";s=s===undefined?0:s,d=d===undefined?0:d,o.wrap('<div class="forcefullwidth_wrapper_tp_banner" id="'+l+'" style="position:relative;width:100%;height:auto;margin-top:'+d+";margin-bottom:"+s+'"></div>'),i.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:'+i.height()+'px"></div>'),i.parent().css({marginTop:"0px",marginBottom:"0px"}),i.parent().css({position:"absolute"})}if(c.shadow!==undefined&&0<c.shadow&&(i.parent().addClass("tp-shadow"+c.shadow),i.parent().append('<div class="tp-shadowcover"></div>'),i.parent().find(".tp-shadowcover").css({backgroundColor:i.parent().css("backgroundColor"),backgroundImage:i.parent().css("backgroundImage")})),setCurWinRange(c),setCurWinRange(c,!0),!i.hasClass("revslider-initialised")){i.addClass("revslider-initialised"),i.addClass("tp-simpleresponsive"),i.attr("id")==undefined&&i.attr("id","revslider-"+Math.round(1e3*Math.random()+5)),c.firefox13=!1,c.ie=!jQuery.support.opacity,c.ie9=9==document.documentMode,c.origcd=c.delay;var u=jQuery.fn.jquery.split("."),p=parseFloat(u[0]),h=parseFloat(u[1]);parseFloat(u[2]||"0"),1==p&&h<7&&i.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+u+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin</div>"),1<p&&(c.ie=!1);var f=new Object;f.addedyt=0,f.addedvim=0,f.addedvid=0,i.find(".tp-caption, .rs-background-video-layer").each(function(e){var n=jQuery(this),t=n.data("autoplayonlyfirsttime"),i=n.data("autoplay"),a=n.hasClass("tp-audiolayer"),r=n.data("videoloop");n.hasClass("tp-static-layer")&&_R.handleStaticLayers&&_R.handleStaticLayers(n,c);var o=n.data("noposteronmobile")||n.data("noPosterOnMobile")||n.data("posteronmobile")||n.data("posterOnMobile")||n.data("posterOnMObile");n.data("noposteronmobile",o);var s=0;if(n.find("iframe").each(function(){punchgs.TweenLite.set(jQuery(this),{autoAlpha:0}),s++}),0<s&&n.data("iframes",!0),n.hasClass("tp-caption")){var d=n.hasClass("slidelink")?"width:100% !important;height:100% !important;":"";n.wrap('<div class="tp-parallax-wrap" style="'+d+'position:absolute;visibility:hidden"><div class="tp-loop-wrap" style="'+d+'position:absolute;"><div class="tp-mask-wrap" style="'+d+'position:absolute" ></div></div></div>');var l=n.closest(".tp-loop-wrap");jQuery.each(["pendulum","rotate","slideloop","pulse","wave"],function(e,t){var i=n.find(".rs-"+t),a=i.data()||"";""!=a&&(l.data(a),l.addClass("rs-"+t),i.children(0).unwrap(),n.data("loopanimation","on"))}),punchgs.TweenLite.set(n,{visibility:"hidden"})}var u=n.data("actions");
14u!==undefined&&_R.checkActions(n,c,u),checkHoverDependencies(n,c),_R.checkVideoApis&&(f=_R.checkVideoApis(n,c,f)),_ISM&&((1==t||"true"==t)&&(n.data("autoplayonlyfirsttime","false"),t=!1),(1==i||"true"==i||"on"==i||"1sttime"==i)&&(n.data("autoplay","off"),i="off")),n.data("videoloop",r),a||1!=t&&"true"!=t&&"1sttime"!=i||"loopandnoslidestop"==r||n.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-once"),a||1!=i&&"true"!=i&&"on"!=i&&"no1sttime"!=i||"loopandnoslidestop"==r||n.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-always")}),i[0].addEventListener("mouseenter",function(){i.trigger("tp-mouseenter"),c.overcontainer=!0},{passive:!0}),i[0].addEventListener("mouseover",function(){i.trigger("tp-mouseover"),c.overcontainer=!0},{passive:!0}),i[0].addEventListener("mouseleave",function(){i.trigger("tp-mouseleft"),c.overcontainer=!1},{passive:!0}),i.find(".tp-caption video").each(function(e){var t=jQuery(this);t.removeClass("video-js vjs-default-skin"),t.attr("preload",""),t.css({display:"none"})}),"standard"!==c.sliderType&&(c.lazyType="all"),loadImages(i.find(".tp-static-layers"),c,0,!0),waitForCurrentImages(i.find(".tp-static-layers"),c,function(){i.find(".tp-static-layers img").each(function(){var e=jQuery(this),t=e.data("lazyload")!=undefined?e.data("lazyload"):e.attr("src"),i=getLoadObj(c,t);e.attr("src",i.src)})}),c.allli.each(function(e){var t=jQuery(this);("all"==c.lazyType||"smart"==c.lazyType&&(0==e||1==e||e==c.slideamount||e==c.slideamount-1))&&(loadImages(t,c,e),waitForCurrentImages(t,c,function(){"carousel"==c.sliderType&&punchgs.TweenLite.to(t,1,{autoAlpha:1,ease:punchgs.Power3.easeInOut})}))});var g=getUrlVars("#")[0];if(g.length<9&&1<g.split("slide").length){var v=parseInt(g.split("slide")[1],0);v<1&&(v=1),v>c.slideamount&&(v=c.slideamount),c.startWithSlide=v-1}i.append('<div class="tp-loader '+c.spinner+'"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>'),0===i.find(".tp-bannertimer").length&&i.append('<div class="tp-bannertimer" style="visibility:hidden"></div>'),i.find(".tp-bannertimer").css({width:"0%"}),i.find(".tp-bannertimer").data("opt",c),c.ul.css({display:"block"}),prepareSlides(i,c),"off"!==c.parallax.type&&_R.checkForParallax&&_R.checkForParallax(i,c),_R.setSize(c),"hero"!==c.sliderType&&_R.createNavigation&&_R.createNavigation(i,c),_R.resizeThumbsTabs&&_R.resizeThumbsTabs&&_R.resizeThumbsTabs(c),contWidthManager(c);var m=c.viewPort;c.inviewport=!1,m!=undefined&&m.enable&&(jQuery.isNumeric(m.visible_area)||-1!==m.visible_area.indexOf("%")&&(m.visible_area=parseInt(m.visible_area)/100),_R.scrollTicker&&_R.scrollTicker(c,i)),setTimeout(function(){"carousel"==c.sliderType&&_R.prepareCarousel&&_R.prepareCarousel(c),!m.enable||m.enable&&c.inviewport||m.enable&&!c.inviewport&&"wait"==!m.outof?swapSlide(i,c):c.waitForFirstSlide=!0,_R.manageNavigation&&_R.manageNavigation(c),1<c.slideamount&&(!m.enable||m.enable&&c.inviewport?countDown(i,c):c.waitForCountDown=!0),setTimeout(function(){i.trigger("revolution.slide.onloaded")},100)},c.startDelay),c.startDelay=0,jQuery("body").data("rs-fullScreenMode",!1),window.addEventListener("fullscreenchange",onFullScreenChange,{passive:!0}),window.addEventListener("mozfullscreenchange",onFullScreenChange,{passive:!0}),window.addEventListener("webkitfullscreenchange",onFullScreenChange,{passive:!0});var y="resize.revslider-"+i.attr("id");jQuery(window).on(y,function(){if(console.log("happening"),i==undefined)return!1;0!=jQuery("body").find(i)&&contWidthManager(c);var e=!1;if("fullscreen"==c.sliderLayout){var t=jQuery(window).height();"mobile"==c.fallbacks.ignoreHeightChanges&&_ISM||"always"==c.fallbacks.ignoreHeightChanges?(c.fallbacks.ignoreHeightChangesSize=c.fallbacks.ignoreHeightChangesSize==undefined?0:c.fallbacks.ignoreHeightChangesSize,e=t!=c.lastwindowheight&&Math.abs(t-c.lastwindowheight)>c.fallbacks.ignoreHeightChangesSize):e=t!=c.lastwindowheight}(i.outerWidth(!0)!=c.width||i.is(":hidden")||e)&&(c.lastwindowheight=jQuery(window).height(),containerResized(i,c))}),hideSliderUnder(i,c),contWidthManager(c),c.fallbacks.disableFocusListener||"true"==c.fallbacks.disableFocusListener||!0===c.fallbacks.disableFocusListener||tabBlurringCheck(i,c)}},cArray=function(e,t){if(!jQuery.isArray(e)){var i=e;(e=new Array).push(i)}if(e.length<t){i=e[e.length-1];for(var a=0;a<t-e.length+2;
14a++)e.push(i)}return e},checkHoverDependencies=function(e,s){"sliderenter"===e.data("start")&&(s.layersonhover===undefined&&(s.c.on("tp-mouseenter",function(){s.layersonhover&&jQuery.each(s.layersonhover,function(e,t){t.data("animdirection","in");var i=t.data("timeline_out"),a="carousel"===s.sliderType?0:s.width/2-s.gridwidth[s.curWinRange]*s.bw/2,n=t.closest(".tp-revslider-slidesli"),r=t.closest(".tp-static-layers");if(0<n.length&&n.hasClass("active-revslide")||n.hasClass("processing-revslide")||0<r.length){i!=undefined&&(i.pause(0),i.kill()),_R.animateSingleCaption(t,s,a,0,0,!1,!0);var o=t.data("timeline");t.data("triggerstate","on"),o.play(0)}})}),s.c.on("tp-mouseleft",function(){s.layersonhover&&jQuery.each(s.layersonhover,function(e,t){t.data("animdirection","out"),t.data("triggered",!0),t.data("triggerstate","off"),_R.stopVideo&&_R.stopVideo(t,s),_R.endMoveCaption&&_R.endMoveCaption(t,null,null,s)})}),s.layersonhover=new Array),s.layersonhover.push(e))},contWidthManager=function(e){var t=_R.getHorizontalOffset(e.c,"left");if("auto"==e.sliderLayout||"fullscreen"===e.sliderLayout&&"on"==e.fullScreenAutoWidth)"fullscreen"==e.sliderLayout&&"on"==e.fullScreenAutoWidth?punchgs.TweenLite.set(e.ul,{left:0,width:e.c.width()}):punchgs.TweenLite.set(e.ul,{left:t,width:e.c.width()-_R.getHorizontalOffset(e.c,"both")});else{var i=Math.ceil(e.c.closest(".forcefullwidth_wrapper_tp_banner").offset().left-t);punchgs.TweenLite.set(e.c.parent(),{left:0-i+"px",width:jQuery(window).width()-_R.getHorizontalOffset(e.c,"both")})}e.slayers&&"fullwidth"!=e.sliderLayout&&"fullscreen"!=e.sliderLayout&&punchgs.TweenLite.set(e.slayers,{left:t})},cv=function(e,t){return e===undefined?t:e},hideSliderUnder=function(e,t,i){var a=e.parent();jQuery(window).width()<t.hideSliderAtLimit?(e.trigger("stoptimer"),"none"!=a.css("display")&&a.data("olddisplay",a.css("display")),a.css({display:"none"})):e.is(":hidden")&&i&&(a.data("olddisplay")!=undefined&&"undefined"!=a.data("olddisplay")&&"none"!=a.data("olddisplay")?a.css({display:a.data("olddisplay")}):a.css({display:"block"}),e.trigger("restarttimer"),setTimeout(function(){containerResized(e,t)},150)),_R.hideUnHideNav&&_R.hideUnHideNav(t)},containerResized=function(e,t){if(1==t.infullscreenmode&&(t.minHeight=jQuery(window).height()),setCurWinRange(t),setCurWinRange(t,!0),!_R.resizeThumbsTabs||!0===_R.resizeThumbsTabs(t)){if(hideSliderUnder(e,t,!0),contWidthManager(t),"carousel"==t.sliderType&&_R.prepareCarousel(t,!0),e===undefined)return!1;_R.setSize(t),t.conw=t.c.width(),t.conh=t.infullscreenmode?t.minHeight:t.c.height();var i=e.find(".active-revslide .slotholder"),a=e.find(".processing-revslide .slotholder");removeSlots(e,t,e,2),"standard"===t.sliderType&&(punchgs.TweenLite.set(a.find(".defaultimg"),{opacity:0}),i.find(".defaultimg").css({opacity:1})),"carousel"==t.sliderType&&t.lastconw!=t.conw&&(clearTimeout(t.pcartimer),t.pcartimer=setTimeout(function(){_R.prepareCarousel(t,!0)},100),t.lastconw=t.conw),_R.manageNavigation&&_R.manageNavigation(t),_R.animateTheCaptions&&_R.animateTheCaptions(e.find(".active-revslide"),t,!0),"on"==a.data("kenburns")&&_R.startKenBurn(a,t,a.data("kbtl").progress()),"on"==i.data("kenburns")&&_R.startKenBurn(i,t,i.data("kbtl").progress()),_R.animateTheCaptions&&_R.animateTheCaptions(a.closest("li"),t,!0),_R.manageNavigation&&_R.manageNavigation(t)}},setScale=function(e){e.bw=e.width/e.gridwidth[e.curWinRange],e.bh=e.height/e.gridheight[e.curWinRange],e.bh>e.bw?e.bh=e.bw:e.bw=e.bh,(1<e.bh||1<e.bw)&&(e.bw=1,e.bh=1)},prepareSlides=function(e,s){if(e.find(".tp-caption").each(function(){var e=jQuery(this);e.data("transition")!==undefined&&e.addClass(e.data("transition"))}),s.ul.css({overflow:"hidden",width:"100%",height:"100%",maxHeight:e.parent().css("maxHeight")}),"on"==s.autoHeight&&(s.ul.css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"}),e.css({maxHeight:"none"}),e.parent().css({maxHeight:"none"})),s.allli.each(function(e){var t=jQuery(this),i=t.data("originalindex");(s.startWithSlide!=undefined&&i==s.startWithSlide||s.startWithSlide===undefined&&0==e)&&t.addClass("next-revslide"),t.css({width:"100%",height:"100%",overflow:"hidden"})}),"carousel"===s.sliderType){s.ul.css({overflow:"visible"}).wrap('<div class="tp-carousel-wrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden;"></div>');var t='<div style="clear:both;display:block;width:100%;height:1px;position:relative;margin-bottom:-1px"></div>';s.c.parent().prepend(t),s.c.parent().append(t),_R.prepareCarousel(s)}e.parent().css({overflow:"visible"}),s.allli.find(">img").each(function(e){var t=jQuery(this),i=t.closest("li").find(".rs-background-video-layer");i.addClass("defaultvid").css({zIndex:30}
vendor: 5,550 bytes, line 14
14),t.addClass("defaultimg"),"on"==s.fallbacks.panZoomDisableOnMobile&&_ISM&&(t.data("kenburns","off"),t.data("bgfit","cover")),t.wrap('<div class="slotholder" style="position:absolute; top:0px; left:0px; z-index:0;width:100%;height:100%;"></div>'),i.appendTo(t.closest("li").find(".slotholder"));var a=t.data();t.closest(".slotholder").data(a),0<i.length&&a.bgparallax!=undefined&&i.data("bgparallax",a.bgparallax),"none"!=s.dottedOverlay&&s.dottedOverlay!=undefined&&t.closest(".slotholder").append('<div class="tp-dottedoverlay '+s.dottedOverlay+'"></div>');var n=t.attr("src");a.src=n,a.bgfit=a.bgfit||"cover",a.bgrepeat=a.bgrepeat||"no-repeat",a.bgposition=a.bgposition||"center center";var r=t.closest(".slotholder");t.parent().append('<div class="tp-bgimg defaultimg" style="background-color:'+t.css("backgroundColor")+";background-repeat:"+a.bgrepeat+";background-image:url("+n+");background-size:"+a.bgfit+";background-position:"+a.bgposition+';width:100%;height:100%;"></div>');var o=document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - "+t.get(0).outerHTML);t.replaceWith(o),(t=r.find(".tp-bgimg")).data(a),t.attr("src",n),("standard"===s.sliderType||"undefined"===s.sliderType)&&t.css({opacity:0})})},removeSlots=function(e,t,i,a){t.removePrepare=t.removePrepare+a,i.find(".slot, .slot-circle-wrapper").each(function(){jQuery(this).remove()}),t.transition=0,t.removePrepare=0},cutParams=function(e){var t=e;return e!=undefined&&0<e.length&&(t=e.split("?")[0]),t},relativeRedir=function(e){return location.pathname.replace(/(.*)\/[^\/]*/,"$1/"+e)},abstorel=function(e,t){var i=e.split("/"),a=t.split("/");i.pop();for(var n=0;n<a.length;n++)"."!=a[n]&&(".."==a[n]?i.pop():i.push(a[n]));return i.join("/")},imgLoaded=function(d,e,l){e.syncload--,e.loadqueue&&jQuery.each(e.loadqueue,function(e,t){var i=t.src.replace(/\.\.\/\.\.\//gi,""),a=self.location.href,n=document.location.origin,r=a.substring(0,a.length-1)+"/"+i,o=n+"/"+i,s=abstorel(self.location.href,t.src);a=a.substring(0,a.length-1)+i,(cutParams(n+=i)===cutParams(decodeURIComponent(d.src))||cutParams(a)===cutParams(decodeURIComponent(d.src))||cutParams(s)===cutParams(decodeURIComponent(d.src))||cutParams(o)===cutParams(decodeURIComponent(d.src))||cutParams(r)===cutParams(decodeURIComponent(d.src))||cutParams(t.src)===cutParams(decodeURIComponent(d.src))||cutParams(t.src).replace(/^.*\/\/[^\/]+/,"")===cutParams(decodeURIComponent(d.src)).replace(/^.*\/\/[^\/]+/,"")||"file://"===window.location.origin&&cutParams(d.src).match(new RegExp(i)))&&(t.progress=l,t.width=d.width,t.height=d.height)}),progressImageLoad(e)},progressImageLoad=function(a){3!=a.syncload&&a.loadqueue&&jQuery.each(a.loadqueue,function(e,t){if(t.progress.match(/prepared/g)&&a.syncload<=3){if(a.syncload++,"img"==t.type){var i=new Image;i.onload=function(){imgLoaded(this,a,"loaded"),t.error=!1},i.onerror=function(){imgLoaded(this,a,"failed"),t.error=!0},i.src=t.src}else jQuery.get(t.src,function(e){t.innerHTML=(new XMLSerializer).serializeToString(e.documentElement),t.progress="loaded",a.syncload--,progressImageLoad(a)}).fail(function(){t.progress="failed",a.syncload--,progressImageLoad(a)});t.progress="inload"}})},addToLoadQueue=function(i,e,t,a,n){var r=!1;if(e.loadqueue&&jQuery.each(e.loadqueue,function(e,t){t.src===i&&(r=!0)}),!r){var o=new Object;o.src=i,o.starttoload=jQuery.now(),o.type=a||"img",o.prio=t,o.progress="prepared",o.static=n,e.loadqueue.push(o)}},loadImages=function(e,a,n,r){e.find("img,.defaultimg, .tp-svg-layer").each(function(){var e=jQuery(this),t=e.data("lazyload")!==undefined&&"undefined"!==e.data("lazyload")?e.data("lazyload"):e.data("svg_src")!=undefined?e.data("svg_src"):e.attr("src"),i=e.data("svg_src")!=undefined?"svg":"img";e.data("start-to-load",jQuery.now()),addToLoadQueue(t,a,n,i,r)}),progressImageLoad(a)},getLoadObj=function(e,i){var a=new Object;return e.loadqueue&&jQuery.each(e.loadqueue,function(e,t){t.src==i&&(a=t)}),a},waitForCurrentImages=function(o,s,e){var d=!1;o.find("img,.defaultimg, .tp-svg-layer").each(function(){var e=jQuery(this),t=e.data("lazyload")!=undefined?e.data("lazyload"):e.data("svg_src")!=undefined?e.data("svg_src"):e.attr("src"),i=getLoadObj(s,t);if(e.data("loaded")===undefined&&i!==undefined&&i.progress&&i.progress.match(/loaded/g)){if(e.attr("src",i.src),"img"==i.type)if(e.hasClass("defaultimg"))_R.isIE(8)?defimg.attr("src",i.src):e.css({backgroundImage:'url("'+i.src+'")'}),o.data("owidth",i.width),o.data("oheight",i.height),o.find(".slotholder").data("owidth",i.width),o.find(".slotholder").data("oheight",i.height);else{var a=e.data("ww"),n=e.data("hh");e.data("owidth",i.width),e.data("oheight",i.height),a=a==undefined||"auto"==a||""==a?i.width:a,n=n==undefined||"auto"==n||""==n?i.height:n,e.data("ww",a),e.data("hh",n)}else"svg"==i.type&&"loaded"==i.progress&&(e.append('<div class="tp-svg-innercontainer"></div>'),e.find(".tp-svg-innercontainer").append(i.innerHTML));e.data("loaded",!0)}if(i&&i.progress&&i.progress.match(/inprogress|inload|prepared/g)&&(!i.error&&jQuery.now()-e.data("start-to-load")<5e3?d=!0:(i.progress="failed",i.reported_img||(i.reported_img=!0,console.warn(t+" Could not be loaded !")))),1==s.youtubeapineeded&&(!window.YT||YT.Player==undefined)&&(d=!0,5e3<jQuery.now()-s.youtubestarttime&&1!=s.youtubewarning)){s.youtubewarning=!0;var r="YouTube Api Could not be loaded !";"https:"===location.protocol&&(r+=" Please Check and Renew SSL Certificate !"),console.error(r),s.c.append('<div style="position:absolute;top:50%;width:100%;
14color:#e74c3c; font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>'+r+"</strong></div>")}if(1==s.vimeoapineeded&&!window.Froogaloop&&(d=!0,5e3<jQuery.now()-s.vimeostarttime&&1!=s.vimeowarning)){s.vimeowarning=!0;r="Vimeo Froogaloop Api Could not be loaded !";"https:"===location.protocol&&(r+=" Please Check and Renew SSL Certificate !"),console.error(r),s.c.append('<div style="position:absolute;top:50%;width:100%;color:#e74c3c; font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>'+r+"</strong></div>")}}),!_ISM&&s.audioqueue&&0<s.audioqueue.length&&jQuery.each(s.audioqueue,function(e,t){t.status&&"prepared"===t.status&&jQuery.now()-t.start<t.waittime&&(d=!0)}),jQuery.each(s.loadqueue,function(e,t){!0!==t.static||"loaded"==t.progress&&"failed"!==t.progress||("failed"==t.progress?t.reported||(t.reported=!0,console.warn("Static Image "+t.src+" Could not be loaded in time. Error Exists:"+t.error)):!t.error&&jQuery.now()-t.starttoload<5e3?d=!0:t.reported||(t.reported=!0,console.warn("Static Image "+t.src+" Could not be loaded within 5s! Error Exists:"+t.error)))}),d?setTimeout(function(){waitForCurrentImages(o,s,e)},19):setTimeout(e,19)},swapSlide=function(e,t){if(clearTimeout(t.waitWithSwapSlide),0<e.find(".processing-revslide").length)return t.waitWithSwapSlide=setTimeout(function(){swapSlide(e,t)},150),!1;var i=e.find(".active-revslide"),a=e.find(".next-revslide"),n=a.find(".defaultimg");return a.index()===i.index()?(a.removeClass("next-revslide"),!1):(a.removeClass("next-revslide").addClass("processing-revslide"),a.data("slide_on_focus_amount",a.data("slide_on_focus_amount")+1||1),"on"==t.stopLoop&&a.index()==t.lastslidetoshow-1&&(e.find(".tp-bannertimer").css({visibility:"hidden"}),e.trigger("revolution.slide.onstop"),t.noloopanymore=1),a.index()===t.slideamount-1&&(t.looptogo=t.looptogo-1,t.looptogo<=0&&(t.stopLoop="on")),t.tonpause=!0,e.trigger("stoptimer"),t.cd=0,"off"===t.spinner?e.find(".tp-loader").css({display:"none"}):e.find(".tp-loader").css({display:"block"}),loadImages(a,t,1),_R.preLoadAudio&&_R.preLoadAudio(a,t,1),void waitForCurrentImages(a,t,function(){a.find(".rs-background-video-layer").each(function(){var e=jQuery(this);e.hasClass("HasListener")||(e.data("bgvideo",1),_R.manageVideoLayer&&_R.manageVideoLayer(e,t)),0==e.find(".rs-fullvideo-cover").length&&e.append('<div class="rs-fullvideo-cover"></div>')}),swapSlideProgress(t,n,e)}))},swapSlideProgress=function(e,t,i){var a=i.find(".active-revslide"),n=i.find(".processing-revslide"),r=a.find(".slotholder"),o=n.find(".slotholder");e.tonpause=!1,e.cd=0,i.find(".tp-loader").css({display:"none"}),_R.setSize(e),_R.slotSize(t,e),_R.manageNavigation&&_R.manageNavigation(e);var s={};s.nextslide=n,s.currentslide=a,i.trigger("revolution.slide.onbeforeswap",s),e.transition=1,e.videoplaying=!1,n.data("delay")!=undefined?(e.cd=0,e.delay=n.data("delay")):e.delay=e.origcd,"true"==n.data("ssop")||!0===n.data("ssop")?e.ssop=!0:e.ssop=!1,i.trigger("nulltimer");var d,l=a.index(),u=n.index();if(e.sdir=u<l?1:0,"arrow"==e.sc_indicator&&(0==l&&u==e.slideamount-1&&(e.sdir=1),l==e.slideamount-1&&0==u&&(e.sdir=0)),e.lsdir=e.lsdir===undefined?e.sdir:e.lsdir,e.dirc=e.lsdir!=e.sdir,e.lsdir=e.sdir,a.index()!=n.index()&&1!=e.firststart&&_R.removeTheCaptions&&_R.removeTheCaptions(a,e),n.hasClass("rs-pause-timer-once")||n.hasClass("rs-pause-timer-always")?e.videoplaying=!0:i.trigger("restarttimer"),n.removeClass("rs-pause-timer-once"),"carousel"==e.sliderType)d=new punchgs.TimelineLite,_R.prepareCarousel(e,d),letItFree(i,e,o,r,n,a,d),e.transition=0,e.firststart=0;else{(d=new punchgs.TimelineLite({onComplete:function(){letItFree(i,e,o,r,n,a,d)}})).add(punchgs.TweenLite.set(o.find(".defaultimg"),{opacity:0})),d.pause(),1==e.firststart&&(punchgs.TweenLite.set(a,{autoAlpha:0}),e.firststart=0),punchgs.TweenLite.set(a,{zIndex:18}),punchgs.TweenLite.set(n,{autoAlpha:0,zIndex:20}),"prepared"==n.data("differentissplayed")&&(n.data("differentissplayed","done"),n.data("transition",n.data("savedtransition")),n.data("slotamount",n.data("savedslotamount")),n.data("masterspeed",n.data("savedmasterspeed"))),n.data("fstransition")!=undefined&&"done"!=n.data("differentissplayed")&&(n.data("savedtransition",n.data("transition")),n.data("savedslotamount",n.data("slotamount")),n.data("savedmasterspeed",n.data("masterspeed")),n.data("transition",n.data("fstransition")),n.data("slotamount",n.data("fsslotamount")),n.data("masterspeed",n.data("fsmasterspeed")),n.data("differentissplayed","prepared")),n.data("transition")==undefined&&n.data("transition","random"),0;var c=n.data("transition")!==undefined?n.data("transition").split(","):"fade",p=n.data("nexttransid")==un
14defined?-1:n.data("nexttransid");"on"==n.data("randomtransition")?p=Math.round(Math.random()*c.length):p+=1,p==c.length&&(p=0),n.data("nexttransid",p);var h=c[p];e.ie&&("boxfade"==h&&(h="boxslide"),"slotfade-vertical"==h&&(h="slotzoom-vertical"),"slotfade-horizontal"==h&&(h="slotzoom-horizontal")),_R.isIE(8)&&(h=11),d=_R.animateSlide(0,h,i,e,n,a,o,r,d),"on"==o.data("kenburns")&&(_R.startKenBurn(o,e),d.add(punchgs.TweenLite.set(o,{autoAlpha:0}))),d.pause()}_R.scrollHandling&&(_R.scrollHandling(e,!0),d.eventCallback("onUpdate",function(){_R.scrollHandling(e,!0)})),"off"!=e.parallax.type&&e.parallax.firstgo==undefined&&_R.scrollHandling&&(e.parallax.firstgo=!0,e.lastscrolltop=-999,_R.scrollHandling(e,!0),setTimeout(function(){e.lastscrolltop=-999,_R.scrollHandling(e,!0)},210),setTimeout(function(){e.lastscrolltop=-999,_R.scrollHandling(e,!0)},420)),_R.animateTheCaptions?_R.animateTheCaptions(n,e,null,d):d!=undefined&&setTimeout(function(){d.resume()},30),punchgs.TweenLite.to(n,.001,{autoAlpha:1})},letItFree=function(e,i,t,a,n,r,o){"carousel"===i.sliderType||(i.removePrepare=0,punchgs.TweenLite.to(t.find(".defaultimg"),.001,{zIndex:20,autoAlpha:1,onComplete:function(){removeSlots(e,i,n,1)}}),n.index()!=r.index()&&punchgs.TweenLite.to(r,.2,{zIndex:18,autoAlpha:0,onComplete:function(){removeSlots(e,i,r,1)}})),e.find(".active-revslide").removeClass("active-revslide"),e.find(".processing-revslide").removeClass("processing-revslide").addClass("active-revslide"),i.act=n.index(),i.c.attr("data-slideactive",e.find(".active-revslide").data("index")),("scroll"==i.parallax.type||"scroll+mouse"==i.parallax.type||"mouse+scroll"==i.parallax.type)&&(i.lastscrolltop=-999,_R.scrollHandling(i)),o.clear(),a.data("kbtl")!=undefined&&(a.data("kbtl").reverse(),a.data("kbtl").timeScale(25)),"on"==t.data("kenburns")&&(t.data("kbtl")!=undefined?(t.data("kbtl").timeScale(1),t.data("kbtl").play()):_R.startKenBurn(t,i)),n.find(".rs-background-video-layer").each(function(e){if(_ISM)return!1;var t=jQuery(this);_R.resetVideo(t,i),punchgs.TweenLite.fromTo(t,1,{autoAlpha:0},{autoAlpha:1,ease:punchgs.Power3.easeInOut,delay:.2,onComplete:function(){_R.animcompleted&&_R.animcompleted(t,i)}})}),r.find(".rs-background-video-layer").each(function(e){if(_ISM)return!1;var t=jQuery(this);_R.stopVideo&&(_R.resetVideo(t,i),_R.stopVideo(t,i)),punchgs.TweenLite.to(t,1,{autoAlpha:0,ease:punchgs.Power3.easeInOut,delay:.2})});var s={};s.slideIndex=n.index()+1,s.slideLIIndex=n.index(),s.slide=n,s.currentslide=n,s.prevslide=r,i.last_shown_slide=r.index(),e.trigger("revolution.slide.onchange",s),e.trigger("revolution.slide.onafterswap",s),i.duringslidechange=!1;var d=r.data("slide_on_focus_amount"),l=r.data("hideafterloop");0!=l&&l<=d&&i.c.revremoveslide(r.index())},removeAllListeners=function(e,t){e.children().each(function(){try{jQuery(this).die("click")}catch(e){}try{jQuery(this).die("mouseenter")}catch(e){}try{jQuery(this).die("mouseleave")}catch(e){}try{jQuery(this).unbind("hover")}catch(e){}});try{e.die("click","mouseenter","mouseleave")}catch(e){}clearInterval(t.cdint),e=null},countDown=function(e,t){t.cd=0,t.loop=0,t.stopAfterLoops!=undefined&&-1<t.stopAfterLoops?t.looptogo=t.stopAfterLoops:t.looptogo=9999999,t.stopAtSlide!=undefined&&-1<t.stopAtSlide?t.lastslidetoshow=t.stopAtSlide:t.lastslidetoshow=999,t.stopLoop="off",0==t.looptogo&&(t.stopLoop="on");var i=e.find(".tp-bannertimer");e.on("stoptimer",function(){var e=jQuery(this).find(".tp-bannertimer");e.data("tween").pause(),"on"==t.disableProgressBar&&e.css({visibility:"hidden"}),t.sliderstatus="paused",_R.unToggleState(t.slidertoggledby)}),e.on("starttimer",function(){t.forcepause_viatoggle||(1!=t.conthover&&1!=t.videoplaying&&t.width>t.hideSliderAtLimit&&1!=t.tonpause&&1!=t.overnav&&1!=t.ssop&&(1===t.noloopanymore||t.viewPort.enable&&!t.inviewport||(i.css({visibility:"visible"}),i.data("tween").resume(),t.sliderstatus="playing")),"on"==t.disableProgressBar&&i.css({visibility:"hidden"}),_R.toggleState(t.slidertoggledby))}),e.on("restarttimer",function(){if(!t.forcepause_viatoggle){var e=jQuery(this).find(".tp-bannertimer");if(t.mouseoncontainer&&"on"==t.navigation.onHoverStop&&!_ISM)return!1;1===t.noloopanymore||t.viewPort.enable&&!t.inviewport||1==t.ssop||(e.css({visibility:"visible"}),e.data("tween").kill(),e.data("tween",punchgs.TweenLite.fromTo(e,t.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:a,delay:1})),t.sliderstatus="playing"),"on"==t.disableProgressBar&&e.css({visibility:"hidden"}),_R.toggleState(t.slidertoggledby)}}),e.on("nulltimer",function(){i.data("tween").kill(),i.data("tween",punchgs.TweenLite.fromTo(i,t.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:a,delay:1})),i.data("tween").pause(0),"on"==t.disableProgressBar&&i.css({visibility:"hidden"}),t.sliderstatus="paused"});var a=function(){0==jQuery("body").find(e).length&&(removeAllListeners(e,t),clearInterval(t.cdint)),e.trigger("revolution.slide.slideatend"),1==e.data("conthover-changed")&&(t.conthover=e.data("conthover"),e.data("conthover-changed",0)),_R.callingNewSlide(t,e,1)};i.data("tween",punchgs.TweenLite.fromTo(i,t.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:a,delay:1})),i.data("opt",t),1<t.slideamount&&(0!=t.stopAfterLoops||1!=t.stopAtSlide)?e.trigger("starttimer"):(t.noloopanymore=1,e.trigger("nulltimer")),e.on("tp-mouseenter",function(){t.mouseoncontainer=!0,"on"!=t.navigation.onHoverStop||_ISM||(e.trigger("stoptimer"),e.trigger("revolution.slide.onpause"))}),e.on("tp-mouseleft",function(){t.mouseoncontainer=!1,1!=e.data("conthover")&&"on"==t.navigation.onHoverStop&&(1==t.viewPort.enable&&t.inviewport||0==t.viewPort.enable)&&(e.trigger("revolution.slide.onresume"),e.trigger("starttimer"))})},vis=function(){var t,i,e={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(t in e)if(t in document){i=e[t];break}return function(e){return e&&document.addEventListener(i,e,{pasive:!0}),!document[t]}}(),restartOnFocus=function(e){return e!=undefined&&e.c!=undefined&&void(1!=e.windowfocused&&(e.windowfocused=!0,punchgs.TweenLite.delayedCall(.3,function(){"on"==e.fallbacks.nextSlideOnWindowFocus&&e.c.revnext(),e.c.revredraw(),"playing"==e.lastsliderstatus&&e.c.revresume()})))},lastStatBlur=function(e){e.windowfocused=!1,e.lastsliderstatus=e.sliderstatus,e.c.revpause();var t=e.c.find(".active-revslide .slotholder"),i=e.c.find(".processing-revslide .slotholder");"on"==i.data("kenburns")&&_R.stopKenBurn(i,e),"on"==t.data("kenburns")&&_R.stopKenBurn(t,e)},tabBlurringCheck=function(e,t){var i=document.documentMode===undefined,a=window.chrome;i&&!a?jQuery(window).on("focusin",function(){restartOnFocus(t)}).on("focusout",function(){lastStatBlur(t)}):window.addEventListener?(window.addEventListener("focus",function(e){restartOnFocus(t)},{capture:!1,passive:!0}),window.addEventListener("blur",function(e){lastStatBlur(t)},{capture:!1,passive:!0})):(window.attachEvent("focus",function(e){restartOnFocus(t)}),window.attachEvent("blur",function(e){lastStatBlur(t)}))},getUrlVars=function(e){for(var t,i=[],a=window.location.href.slice(window.location.href.indexOf(e)+1).split("_"),n=0;n<a.length;n++)a[n]=a[n].replace("%3D","="),t=a[n].split("="),i.push(t[0]),i[t[0]]=t[1];return i}}(jQuery); 15/* revolution.extension.actions.min.js */ 16!function($){var _R=jQuery.fn.revolution,_ISM=_R.is_mobile();jQuery.extend(!0,_R,{checkActions:function(e,t,o){checkActions_intern(e,t,o)}});var checkActions_intern=function(n,i,e){e&&jQuery.each(e,function(e,l){l.delay=parseInt(l.delay,0)/1e3,n.addClass("noSwipe"),i.fullscreen_esclistener||("exitfullscreen"==l.action||"togglefullscreen"==l.action)&&(jQuery(document).keyup(function(e){27==e.keyCode&&0<jQuery("#rs-go-fullscreen").length&&n.trigger(l.event)}),i.fullscreen_esclistener=!0);var t="backgroundvideo"==l.layer?jQuery(".rs-background-video-layer"):"firstvideo"==l.layer?jQuery(".tp-revslider-slidesli").find(".tp-vi
16deolayer"):jQuery("#"+l.layer);switch(-1!=jQuery.inArray(l.action,["toggleslider","toggle_mute_video","toggle_global_mute_video","togglefullscreen"])&&n.data("togglelisteners",!0),l.action){case"togglevideo":jQuery.each(t,function(e,t){var o=(t=jQuery(t)).data("videotoggledby");null==o&&(o=new Array),o.push(n),t.data("videotoggledby",o)});break;case"togglelayer":jQuery.each(t,function(e,t){var o=(t=jQuery(t)).data("layertoggledby");null==o&&(o=new Array),o.push(n),t.data("layertoggledby",o)});break;case"toggle_mute_video":jQuery.each(t,function(e,t){var o=(t=jQuery(t)).data("videomutetoggledby");null==o&&(o=new Array),o.push(n),t.data("videomutetoggledby",o)});break;case"toggle_global_mute_video":jQuery.each(t,function(e,t){var o=(t=jQuery(t)).data("videomutetoggledby");null==o&&(o=new Array),o.push(n),t.data("videomutetoggledby",o)});break;case"toggleslider":null==i.slidertoggledby&&(i.slidertoggledby=new Array),i.slidertoggledby.push(n);break;case"togglefullscreen":null==i.fullscreentoggledby&&(i.fullscreentoggledby=new Array),i.fullscreentoggledby.push(n)}switch(n.on(l.event,function(){var e="backgroundvideo"==l.layer?jQuery(".active-revslide .slotholder .rs-background-video-layer"):"firstvideo"==l.layer?jQuery(".active-revslide .tp-videolayer").first():jQuery("#"+l.layer);if("stoplayer"==l.action||"togglelayer"==l.action||"startlayer"==l.action){if(0<e.length)if("startlayer"==l.action||"togglelayer"==l.action&&"in"!=e.data("animdirection")){e.data("animdirection","in");var t=e.data("timeline_out"),o="carousel"===i.sliderType?0:i.width/2-i.gridwidth[i.curWinRange]*i.bw/2;null!=t&&t.pause(0).kill(),_R.animateSingleCaption&&_R.animateSingleCaption(e,i,o,0,0,!1,!0);var a=e.data("timeline");e.data("triggerstate","on"),_R.toggleState(e.data("layertoggledby")),punchgs.TweenLite.delayedCall(l.delay,function(){a.play(0)},[a])}else("stoplayer"==l.action||"togglelayer"==l.action&&"out"!=e.data("animdirection"))&&(e.data("animdirection","out"),e.data("triggered",!0),e.data("triggerstate","off"),_R.stopVideo&&_R.stopVideo(e,i),_R.endMoveCaption&&punchgs.TweenLite.delayedCall(l.delay,_R.endMoveCaption,[e,null,null,i]),_R.unToggleState(e.data("layertoggledby")))}else!_ISM||"playvideo"!=l.action&&"stopvideo"!=l.action&&"togglevideo"!=l.action&&"mutevideo"!=l.action&&"unmutevideo"!=l.action&&"toggle_mute_video"!=l.action&&"toggle_global_mute_video"!=l.action?punchgs.TweenLite.delayedCall(l.delay,function(){actionSwitches(e,i,l,n)},[e,i,l,n]):actionSwitches(e,i,l,n)}),l.action){case"togglelayer":case"startlayer":case"playlayer":case"stoplayer":"bytrigger"!=(t=jQuery("#"+l.layer)).data("start")&&(t.data("triggerstate","on"),t.data("animdirection","in"))}})},actionSwitches=function(tnc,opt,a,_nc){switch(a.action){case"scrollbelow":_nc.addClass("tp-scrollbelowslider"),_nc.data("scrolloffset",a.offset),_nc.data("scrolldelay",a.delay);var off=getOffContH(opt.fullScreenOffsetContainer)||0,aof=parseInt(a.offset,0)||0;off=off-aof||0,jQuery("body,html").animate({scrollTop:opt.c.offset().top+jQuery(opt.li[0]).height()-off+"px"},{duration:400});break;case"callback":eval(a.callback);break;case"jumptoslide":switch(a.slide.toLowerCase()){case"+1":case"next":opt.sc_indicator="arrow",_R.callingNewSlide(opt,opt.c,1);break;case"previous":case"prev":case"-1":opt.sc_indicator="arrow",_R.callingNewSlide(opt,opt.c,-1);break;default:var ts=jQuery.isNumeric(a.slide)?parseInt(a.slide,0):a.slide;_R.callingNewSlide(opt,opt.c,ts)}break;case"simplelink":window.open(a.url,a.target);break;case"toggleslider":opt.noloopanymore=0,"playing"==opt.sliderstatus?(opt.c.revpause(),opt.forcepause_viatoggle=!0,_R.unToggleState(opt.slidertoggledby)):(opt.forcepause_viatoggle=!1,opt.c.revresume(),_R.toggleState(opt.slidertoggledby));break;case"pauseslider":opt.c.revpause(),_R.unToggleState(opt.slidertoggledby);break;case"playslider":opt.noloopanymore=0,opt.c.revresume(),_R.toggleState(opt.slidertoggledby);break;case"playvideo":0<tnc.length&&_R.playVideo(tnc,opt);break;case"stopvideo":0<tnc.length&&_R.stopVideo&&_R.stopVideo(tnc,opt);break;case"togglevideo":0<tnc.length&&(_R.isVideoPlaying(tnc,opt)?_R.stopVideo&&_R.stopVideo(tnc,opt):_R.playVideo(tnc,opt));break;case"mutevideo":0<tnc.length&&_R.muteVideo(tnc,opt);break;case"unmutevideo":0<tnc.length&&_R.unMuteVideo&&_R.unMuteVideo(tnc,opt);break;case"toggle_mute_video":0<tnc.length&&(_R.isVideoMuted(tnc,opt)?_R.unMuteVideo(tnc,opt):_R.muteVideo&&_R.muteVideo(tnc,opt)),_nc.toggleClass("rs-toggle-content-active");break;case"toggle_global_mute_video":_nc.hasClass("rs-toggle-content-active")?(opt.globalmute=!1,null!=opt.playingvideos&&0<opt.playingvideos.length&&jQuery.each(opt.playingvideos,function(e,t){_R.unMuteVideo&&_R.unMuteVideo(t,opt)})):(opt.globalmute=!0,null!=opt.playingvideos&&0<opt.playingvideos.length&&jQuery.each(opt.playingvideos,function(e,t){_R.muteVideo&&_R.muteVideo(t,opt)})),_nc.toggleClass("rs-toggle-content-active");break;case"simulateclick":0<tnc.length&&tnc.click();break;case"toggleclass":0<tnc.length&&(tnc.hasClass(a.classname)?tnc.removeClass(a.classname):tnc.addClass(a.classname));break;case"gofullscreen":case"exitfullscreen":case"togglefullscreen":if(0<jQuery("#rs-go-fullscreen").length&&("togglefullscreen"==a.action||"exitfullscreen"==a.action)){jQuery("#rs-go-fullscreen").appendTo(jQuery("#rs-was-here"));var paw=0<opt.c.closest(".forcefullwidth_wrapper_tp_banner").length?opt.c.closest(".forcefullwidth_wrapper_tp_banner"):opt.c.closest(".rev_slider_wrapper");paw.unwrap(),paw.unwrap(),opt.minHeight=opt.oldminheight,opt.infullscreenmode=!1,opt.c.revredraw(),null!=opt.playingvideos&&0<opt.playingvideos.length&&jQuery.each(opt.playingvideos,function(e,t){_R.playVideo(t,opt)}),_R.unToggleState(opt.fullscreentoggledby)}else if(0==jQuery("#rs-go-fullscreen").length&&("togglefullscreen"==a.action||"gofullscreen"==a.action)){var paw=0<opt.c.closest(".forcefullwidth_wrapper_tp_banner").length?opt.c.closest(".forcefullwidth_wrapper_tp_banner"):opt.c.closest(".rev_slider_wrapper");paw.wrap('<div id="rs-was-here"><div id="rs-go-fullscreen"></div></div>');var gf=jQuery("#rs-go-fullscreen");gf.appendTo(jQuery("body")),gf.css({position:"fixed",width:"100%",height:"100%",top:"0px",left:"0px",zIndex:"9999999",background:"#ffffff"}),opt.oldminheight=opt.minHeight,opt.minHeight=jQuery(window).height(),opt.infullscreenmode=!0,opt.c.revredraw(),null!=opt.playingvideos&&0<opt.playingvideos.length&&jQuery.each(opt.playingvideos,function(e,t){_R.playVideo(t,opt)}),_R.toggleState(opt.fullscreentoggledby)}break;default:var obj={};obj.event=a,obj.layer=_nc,opt.c.trigger("layeraction",[obj])}},getOffContH=function(e){if(null==e)return 0;if(1<e.split(",").length){oc=e.split(",");var o=0;return oc&&jQuery.each(oc,function(e,t){0<jQuery(t).length&&(o+=jQuery(t).outerHeight(!0))}),o}return jQuery(e).height()}}(jQuery); 17/* revolution.extension.carousel.min.jss */ 18!function(){var f=jQuery.fn.revolution;jQuery.extend(!0,f,{prepareCarousel:function(e,t,i){i=e.carousel.lastdirection=d(i,e.carousel.lastdirection),a(e),e.carousel.slide_offset_target=s(e),null==t?f.carouselToEvalPosition(e,i):h(e,i,!1)},carouselToEvalPosition:function(e,t){var i=e.carousel;t=i.lastdirection=d(t,i.lastdirection);var a="center"===i.horizontal_align?(i.wrapwidth/2-i.slide_width/2-i.slide_globaloffset)/i.slide_width:(0-i.slide_globaloffset)/i.slide_width,s=f.simp(a,e.slideamount,!1),l=s-Math.floor(s),o=0,r=-1*(Math.ceil(s)-s),n=-1*(Math.floor(s)-s);o=.3<=l&&"left"===t||.7<=l&&"right"===t?r:l<.3&&"left"===t||l<.7&&"right"===t?n:o,o="off"===i.infinity?s<0?s:a>e.slideamount-1?a-(e.slideamount-1):o:o,i.slide_offset_target=o*i.slide_width,0!==Math.abs(i.slide_offset_target)?h(e,t,!0):f.organiseCarousel(e,t)},organiseCarousel:function(o,r,n,e){r=void 0===r||"down"==r||"up"==r||null===r||jQuery.isEmptyObject(r)?"left":r;for(var d=o.carousel,f=new Array,h=d.slides.length,t=("right"===d.horizontal_align&&o.width,0);t<h;t++){var i=t*d.slide_width+d.slide_offset;"on"===d.infinity&&(i=(i=i>d.wrapwidth-d.inneroffset&&"right"==r?d.slide_offset-(d.slides.length-t)*d.slide_width:i)<0-d.inneroffset-d.slide_width&&"left"==r?i+d.maxwidth:i),f[t]=i}var w=999;d.slides&&jQuery.each(d.slides,function(e,t){var i=f[e];"on"===d.infinity&&(i=(i=i>d.wrapwidth-d.inneroffset&&"left"===r?f[0]-(h-e)*d.slide_width:i)<0-d.inneroffset-d.slide_width?"left"==r?i+d.maxwidth:"right"===r?f[h-1]+(e+1)*d.slide_width:i:i);var a=new Object;a.left=i+d.inneroffset;var s="center"===d.horizontal_align?(Math.abs(d.wrapwidth/2)-(a.left+d.slide_width/2))/d.slide_width:(d.inneroffset-a.left)/d.slide_width,l="center"===d.horizontal_align?2:1;if((n&&Math.abs(s)<w||0===s)&&(w=Math.abs(s),d.focused=e),a.width=d.slide_width,a.x=0,a.transformPerspective=1200,a.transformOrigin="50% "+d.vertical_align,"on"===d.fadeout)if("on"===d.vary_fade)a.autoAlpha=1-Math.abs(1/Math.ceil(d.maxVisibleItems/l)*s);else switch(d.horizontal_align){case"center":a.autoAlpha=Math.abs(s)<Math.ceil(d.maxVisibleItems/l-1)?1:1-(Math.abs(s)-Math.floor(Math.abs(s)));break;case"left":a.autoAlpha=s<1&&0<s?1-s:Math.abs(s)>d.maxVisibleItems-1?1-(Math.abs(s)-(d.maxVisibleItems-1)):1;break;case"right":a.autoAlpha=-1<s&&s<0?1-Math.abs(s):s>d.maxVisibleItems-1?1-(Math.abs(s)-(d.maxVisibleItems-1)):1}else a.autoAlpha=Math.abs(s)<Math.ceil(d.maxVisibleItems/l)?1:0;if(void 0!==d.minScale&&0<d.minScale)if("on"===d.vary_scale){a.scale=1-Math.abs(d.minScale/100/Math.ceil(d.maxVisibleItems/l)*s);d.slide_width,d.slide_width,a.scale,Math.abs(s)}else{a.scale=1<=s||s<=-1?1-d.minScale/100:(100-d.minScale*Math.abs(s))/100;d.slide_width,d.slide_width,d.minScale,Math.abs(s)}void 0!==d.maxRotation&&0!=Math.abs(d.maxRotation)&&("on"===d.vary_rotation?(a.rotationY=Math.abs(d.maxRotation)-Math.abs((1-Math.abs(1/Math.ceil(d.maxVisibleItems/l)*s))*d.maxRotation),a.autoAlpha=90<Math.abs(a.rotationY)?0:a.autoAlpha):a.rotationY=1<=s||s<=-1?d.maxRotation:Math.abs(s)*d.maxRotation,a.rotationY=s<0?-1*a.rotationY:a.rotationY),a.x=-1*d.space*s,a.left
18=Math.floor(a.left),a.x=Math.floor(a.x),a.scale,a.x,a.zIndex=Math.round(100-Math.abs(5*s)),a.transformStyle="3D"!=o.parallax.type&&"3d"!=o.parallax.type?"flat":"preserve-3d",punchgs.TweenLite.set(t,a)}),e&&(o.c.find(".next-revslide").removeClass("next-revslide"),jQuery(d.slides[d.focused]).addClass("next-revslide"),o.c.trigger("revolution.nextslide.waiting")),d.wrapwidth,d.slide_offset,d.maxwidth,d.slide_offset,d.wrapwidth}});var a=function(e){void 0===e.bw&&f.setSize(e);var t,i,a=e.carousel,s=f.getHorizontalOffset(e.c,"left"),l=f.getHorizontalOffset(e.c,"right");void 0===a.wrap&&((i=(t=e).carousel).infbackup=i.infinity,i.maxVisiblebackup=i.maxVisibleItems,i.slide_globaloffset="none",i.slide_offset=0,i.wrap=t.c.find(".tp-carousel-wrapper"),i.slides=t.c.find(".tp-revslider-slidesli"),0!==i.maxRotation&&("3D"!=t.parallax.type&&"3d"!=t.parallax.type?punchgs.TweenLite.set(i.wrap,{perspective:1200,transformStyle:"flat"}):punchgs.TweenLite.set(i.wrap,{perspective:1600,transformStyle:"preserve-3d"})),void 0!==i.border_radius&&0<parseInt(i.border_radius,0)&&punchgs.TweenLite.set(t.c.find(".tp-revslider-slidesli"),{borderRadius:i.border_radius})),a.slide_width="on"!==a.stretch?e.gridwidth[e.curWinRange]*e.bw:e.c.width(),a.maxwidth=e.slideamount*a.slide_width,a.maxVisiblebackup>a.slides.length+1&&(a.maxVisibleItems=a.slides.length+2),a.wrapwidth=a.maxVisibleItems*a.slide_width+(a.maxVisibleItems-1)*a.space,a.wrapwidth="auto"!=e.sliderLayout?a.wrapwidth>e.c.closest(".tp-simpleresponsive").width()?e.c.closest(".tp-simpleresponsive").width():a.wrapwidth:a.wrapwidth>e.ul.width()?e.ul.width():a.wrapwidth,a.infinity=a.wrapwidth>=a.maxwidth?"off":a.infbackup,a.wrapoffset="center"===a.horizontal_align?(e.c.width()-l-s-a.wrapwidth)/2:0,a.wrapoffset="auto"!=e.sliderLayout&&e.outernav?0:a.wrapoffset<s?s:a.wrapoffset;var o="hidden";("3D"==e.parallax.type||"3d"==e.parallax.type)&&(o="visible"),"right"===a.horizontal_align?punchgs.TweenLite.set(a.wrap,{left:"auto",right:a.wrapoffset+"px",width:a.wrapwidth,overflow:o}):punchgs.TweenLite.set(a.wrap,{right:"auto",left:a.wrapoffset+"px",width:a.wrapwidth,overflow:o}),a.inneroffset="right"===a.horizontal_align?a.wrapwidth-a.slide_width:0,a.realoffset=Math.abs(a.wrap.position().left),a.windhalf=jQuery(window).width()/2},d=function(e,t){return null===e||jQuery.isEmptyObject(e)?t:void 0===e?"right":e},h=function(t,i,a){var s=t.carousel;i=s.lastdirection=d(i,s.lastdirection);var e=new Object;e.from=0,e.to=s.slide_offset_target,void 0!==s.positionanim&&s.positionanim.pause(),s.positionanim=punchgs.TweenLite.to(e,1.2,{from:e.to,onUpdate:function(){s.slide_offset=s.slide_globaloffset+e.from,s.slide_offset=f.simp(s.slide_offset,s.maxwidth),f.organiseCarousel(t,i,!1,!1)},onComplete:function(){s.slide_globaloffset="off"===s.infinity?s.slide_globaloffset+s.slide_offset_target:f.simp(s.slide_globaloffset+s.slide_offset_target,s.maxwidth),s.slide_offset=f.simp(s.slide_offset,s.maxwidth),f.organiseCarousel(t,i,!1,!0);var e=jQuery(t.li[s.focused]);t.c.find(".next-revslide").removeClass("next-revslide"),a&&f.callingNewSlide(t,t.c,e.data("index"))},ease:punchgs.Expo.easeOut})},w=function(e,t){return Math.abs(e)>Math.abs(t)?0<e?e-Math.abs(Math.floor(e/t)*t):e+Math.abs(Math.floor(e/t)*t):e},s=function(e){var t,i,a,s,l,o=0,r=e.carousel;if(void 0!==r.positionanim&&r.positionanim.kill(),"none"==r.slide_globaloffset)r.slide_globaloffset=o="center"===r.horizontal_align?r.wrapwidth/2-r.slide_width/2:0;else{r.slide_globaloffset=r.slide_offset,r.slide_offset=0;var n=e.c.find(".processing-revslide").index(),d="center"===r.horizontal_align?(r.wrapwidth/2-r.slide_width/2-r.slide_globaloffset)/r.slide_width:(0-r.slide_globaloffset)/r.slide_width;d=f.simp(d,e.slideamount,!1),n=0<=(n=0<=n?n:e.c.find(".active-revslide").index())?n:0,o="off"===r.infinity?d-n:(t=d,i=n,a=e.slideamount,l=i-a-t,s=w(s=i-t,a),l=w(l,a),-(Math.abs(s)>Math.abs(l)?l:s)),o*=r.slide_width}return o}}(jQuery); 19/* revolution.extension.kenburn.min.js */ 20!function(){var t=jQuery.fn.revolution;jQuery.extend(!0,t,{stopKenBurn:function(t){null!=t.data("kbtl")&&t.data("kbtl").pause()},startKenBurn:function(t,e,a){var r=t.data(),n=t.find(".defaultimg"),s=n.data("lazyload")||n.data("src"),i=(r.owidth,r.oheight,"carousel"===e.sliderType?e.carousel.slide_width:e.ul.width()),o=e.ul.height();t.data("kbtl")&&t.data("kbtl").kill(),a=a||0,0==t.find(".tp-kbimg").length&&(t.append('<div class="tp-kbimg-wrap" style="z-index:2;width:100%;height:100%;top:0px;left:0px;position:absolute;"><img class="tp-kbimg" src="'+s+'" style="position:absolute;" width="'+r.owidth+'" height="'+r.oheight+'"></div>'),t.data("kenburn",t.find(".tp-kbimg")));var b=function(t,e,a,r,n,s,i){var o=t*a,d=e*a,l=Math.abs(r-o),h=Math.abs(n-d),p=new Object;return p.l=(0-s)*l,p.r=p.l+o,p.t=(0-i)*h,p.b=p.t+d,p.h=s,p.v=i,p};null!=t.data("kbtl")&&(t.data("kbtl").kill(),t.removeData("kbtl"));var d=t.data("kenburn"),l=d.parent(),h=function(t,e,a){var r=a.scalestart/100,n=a.scaleend/100,s=null!=a.oofsetstart&&a.offsetstart.split(" ")||[0,0],i=null!=a.offsetend&&a.offsetend.split(" ")||[0,0];a.bgposition="center center"==a.bgposition?"50% 50%":a.bgposition;var o=new Object;a.owidth,a.oheight;if(a.owidth,a.oheight,o.start=new Object,o.starto=new Object,o.end=new Object,o.endo=new Object,o.start.width=t,o.start.height=o.start.width/a.owidth*a.oheight,o.start.height<e){var d=e/o.start.height;o.start.height=e,o.start.width=o.start.width*d}o.start.transformOrigin=a.bgposition,o.start.scale=r,o.end.scale=n,o.start.rotation=a.rotatestart+"deg",o.end.rotation=a.rotateend+"deg";var l=function(t,e,a,r,n){var s=t.bgposition.split(" ")||"center center",i="center"==s[0]?"50%":"left"
20==s[0]||"left"==s[1]?"0%":"right"==s[0]||"right"==s[1]?"100%":s[0],o="center"==s[1]?"50%":"top"==s[0]||"top"==s[1]?"0%":"bottom"==s[0]||"bottom"==s[1]?"100%":s[1];i=parseInt(i,0)/100||0,o=parseInt(o,0)/100||0;var d=new Object;return d.start=b(n.start.width,n.start.height,n.start.scale,e,a,i,o),d.end=b(n.start.width,n.start.height,n.end.scale,e,a,i,o),d}(a,t,e,0,o);s[0]=parseFloat(s[0])+l.start.l,i[0]=parseFloat(i[0])+l.end.l,s[1]=parseFloat(s[1])+l.start.t,i[1]=parseFloat(i[1])+l.end.t;var h=l.start.r-l.start.l,p=l.start.b-l.start.t,g=l.end.r-l.end.l,c=l.end.b-l.end.t;return s[0]=0<s[0]?0:h+s[0]<t?t-h:s[0],i[0]=0<i[0]?0:g+i[0]<t?t-g:i[0],s[1]=0<s[1]?0:p+s[1]<e?e-p:s[1],i[1]=0<i[1]?0:c+i[1]<e?e-c:i[1],o.starto.x=s[0]+"px",o.starto.y=s[1]+"px",o.endo.x=i[0]+"px",o.endo.y=i[1]+"px",o.end.ease=o.endo.ease=a.ease,o.end.force3D=o.endo.force3D=!0,o}(i,o,r),p=new punchgs.TimelineLite;p.pause(),h.start.transformOrigin="0% 0%",h.starto.transformOrigin="0% 0%",p.add(punchgs.TweenLite.fromTo(d,r.duration/1e3,h.start,h.end),0),p.add(punchgs.TweenLite.fromTo(l,r.duration/1e3,h.starto,h.endo),0),p.progress(a),p.play(),t.data("kbtl",p)}})}(jQuery); 21/* revolution.extension.layeranimation.min.js */ 22!function(a){function ba(a,e,t,i,n,r,o){var d=a.find(e);d.css("borderWidth",r+"px"),d.css(t,0-r+"px"),d.css(i,"0px solid transparent"),d.css(n,o)}var xa=jQuery.fn.revolution;xa.is_mobile(),jQuery.extend(!0,xa,{animcompleted:function(a,e){var t=a.data("videotype"),i=a.data("autoplay"),n=a.data("autoplayonlyfirsttime");null!=t&&"none"!=t&&(1==i||"true"==i||"on"==i||"1sttime"==i||n?(xa.playVideo(a,e),xa.toggleState(a.data("videotoggledby")),(n||"1sttime"==i)&&(a.data("autoplayonlyfirsttime",!1),a.data("autoplay","off"))):("no1sttime"==i&&a.data("autoplay","on"),xa.unToggleState(a.data("videotoggledby"))))},handleStaticLayers:function(a,e){var t=parseInt(a.data("startslide"),0),i=parseInt(a.data("endslide"),0);t<0&&(t=0),i<0&&(i=e.slideamount),0===t&&i===e.slideamount-1&&(i=e.slideamount+1),a.data("startslide",t),a.data("endslide",i)},animateTheCaptions:function(a,e,t,i){var n="carousel"===e.sliderType?0:e.width/2-e.gridwidth[e.curWinRange]*e.bw/2,r=a.data("index");e.layers=e.layers||new Object,e.layers[r]=e.layers[r]||a.find(".tp-caption"),e.layers.static=e.layers.static||e.c.find(".tp-static-layers").find(".tp-caption");var o=new Array;if(e.conh=e.c.height(),e.conw=e.c.width(),e.ulw=e.ul.width(),e.ulh=e.ul.height(),e.debugMode){a.addClass("indebugmode"),a.find(".helpgrid").remove(),e.c.find(".hglayerinfo").remove(),a.append('<div class="helpgrid" style="width:'+e.gridwidth[e.curWinRange]*e.bw+"px;height:"+e.gridheight[e.curWinRange]*e.bw+'px;"></div>');var d=a.find(".helpgrid");d.append('<div class="hginfo">Zoom:'+Math.round(100*e.bw)+"% Device Level:"+e.curWinRange+" Grid Preset:"+e.gridwidth[e.curWinRange]+"x"+e.gridheight[e.curWinRange]+"</div>"),e.c.append('<div class="hglayerinfo"></div>'),d.append('<div class="tlhg"></div>')}o&&jQuery.each(o,function(a){var e=jQuery(this);punchgs.TweenLite.set(e.find(".tp-videoposter"),{autoAlpha:1}),punchgs.TweenLite.set(e.find("iframe"),{autoAlpha:0})}),e.layers[r]&&jQuery.each(e.layers[r],function(a,e){o.push(e)}),e.layers.static&&jQuery.each(e.layers.static,function(a,e){o.push(e)}),o&&jQuery.each(o,function(a){xa.animateSingleCaption(jQuery(this),e,n,0,a,t)}),jQuery("body").find("#"+e.c.attr("id")).find(".tp-bannertimer").data("opt",e),null!=i&&setTimeout(function(){i.resume()},30)},animateSingleCaption:function(e,t,a,i,n,r,o){var d=r,s=_a(e,t,"in",!0),l=e.data("_pw")||e.closest(".tp-parallax-wrap"),p=e.data("_lw")||e.closest(".tp-loop-wrap"),h=e.data("_mw")||e.closest(".tp-mask-wrap"),c=e.data("responsive")||"on",g=e.data("responsive_offset")||"on",m=e.data("basealign")||"grid",u="grid"===m?t.width:t.ulw,f="grid"===m?t.height:t.ulh,v=jQuery("body").hasClass("rtl");if(e.data("_pw")||(e.data("staticlayer")?e.data("_li",e.closest(".tp-static-layers")):e.data("_li",e.closest(".tp-revslider-slidesli")),e.data("slidelink",e.hasClass("slidelink")),e.data("_pw",l),e.data("_lw",p),e.data("_mw",h)),!e.data("togglelisteners")&&e.find(".rs-toggled-content")&&(e.on("click",function(){e.toggleClass("rs-toggle-content-active")}),e.data("togglelisteners",!0)),"fullscreen"==t.sliderLayout&&(i=f/2-t.gridheight[t.curWinRange]*t.bh/2),("on"==t.autoHeight||null!=t.minHeight&&0<t.minHeight)&&(i=t.conh/2-t.gridheight[t.curWinRange]*t.bh/2),i<0&&(i=0),t.debugMode){e.closest("li").find(".helpgrid").css({top:i+"px",left:a+"px"});var w=t.c.find(".hglayerinfo");e.on("hover, mouseenter",function(){var t="";e.data()&&jQuery.each(e.data(),function(a,e){"object"!=typeof e&&(t=t+'<span style="white-space:nowrap"><span style="color:#27ae60">'+a+":</span>"+e+"</span> ")}
22),w.html(t)})}if("off"==(ka(e.data("visibility"),t)[t.forcedWinRange]||ka(e.data("visibility"),t)||"on")||u<t.hideCaptionAtLimit&&"on"==e.data("captionhidden")||u<t.hideAllCaptionAtLimit?e.addClass("tp-hidden-caption"):e.removeClass("tp-hidden-caption"),e.data("layertype","html"),a<0&&(a=0),null!=e.data("thumbimage")&&null==e.data("videoposter")&&e.data("videoposter",e.data("thumbimage")),0<e.find("img").length){var y=e.find("img");e.data("layertype","image"),0==y.width()&&y.css({width:"auto"}),0==y.height()&&y.css({height:"auto"}),null==y.data("ww")&&0<y.width()&&y.data("ww",y.width()),null==y.data("hh")&&0<y.height()&&y.data("hh",y.height());var b=y.data("ww"),x=y.data("hh"),T="slide"==m?t.ulw:t.gridwidth[t.curWinRange],L="slide"==m?t.ulh:t.gridheight[t.curWinRange],W="full"===(b=ka(y.data("ww"),t)[t.curWinRange]||ka(y.data("ww"),t)||"auto")||"full-proportional"===b,j="full"===(x=ka(y.data("hh"),t)[t.curWinRange]||ka(y.data("hh"),t)||"auto")||"full-proportional"===x;if("full-proportional"===b){var I=y.data("owidth"),C=y.data("oheight");I/T<C/L?x=C*((b=T)/I):b=I*((x=L)/C)}else b=W?T:parseFloat(b),x=j?L:parseFloat(x);null==b&&(b=0),null==x&&(x=0),"off"!==c?("grid"!=m&&W?y.width(b):y.width(b*t.bw),"grid"!=m&&j?y.height(x):y.height(x*t.bh)):(y.width(b),y.height(x))}"slide"===m&&(i=a=0);var R="html5"==e.data("audio")?"audio":"video";if(e.hasClass("tp-videolayer")||e.hasClass("tp-audiolayer")||0<e.find("iframe").length||0<e.find(R).length){e.data("layertype","video"),xa.manageVideoLayer&&xa.manageVideoLayer(e,t,r,d),r||d||(e.data("videotype"),xa.resetVideo&&xa.resetVideo(e,t));var k=e.data("aspectratio");null!=k&&1<k.split(":").length&&xa.prepareCoveredVideo(k,t,e);y=e.find("iframe")?e.find("iframe"):y=e.find(R);var _=!e.find("iframe"),z=e.hasClass("coverscreenvideo");y.css({display:"block"}),null==e.data("videowidth")&&(e.data("videowidth",y.width()),e.data("videoheight",y.height()));var Q;b=ka(e.data("videowidth"),t)[t.curWinRange]||ka(e.data("videowidth"),t)||"auto",x=ka(e.data("videoheight"),t)[t.curWinRange]||ka(e.data("videoheight"),t)||"auto";b=parseFloat(b),x=parseFloat(x),void 0===e.data("cssobj")&&(Q=Qa(e,0),e.data("cssobj",Q));var S=Sa(e.data("cssobj"),t);if("auto"==S.lineHeight&&(S.lineHeight=S.fontSize+4),e.hasClass("fullscreenvideo")||z){i=a=0,e.data("x",0),e.data("y",0);var M=f;"on"==t.autoHeight&&(M=t.conh),e.css({width:u,height:M})}else punchgs.TweenLite.set(e,{paddingTop:Math.round(S.paddingTop*t.bh)+"px",paddingBottom:Math.round(S.paddingBottom*t.bh)+"px",paddingLeft:Math.round(S.paddingLeft*t.bw)+"px",paddingRight:Math.round(S.paddingRight*t.bw)+"px",marginTop:S.marginTop*t.bh+"px",marginBottom:S.marginBottom*t.bh+"px",marginLeft:S.marginLeft*t.bw+"px",marginRight:S.marginRight*t.bw+"px",borderTopWidth:Math.round(S.borderTopWidth*t.bh)+"px",borderBottomWidth:Math.round(S.borderBottomWidth*t.bh)+"px",borderLeftWidth:Math.round(S.borderLeftWidth*t.bw)+"px",borderRightWidth:Math.round(S.borderRightWidth*t.bw)+"px",width:b*t.bw+"px",height:x*t.bh+"px"});(0==_&&!z||1!=e.data("forcecover")&&!e.hasClass("fullscreenvideo")&&!z)&&(y.width(b*t.bw),y.height(x*t.bh))}var O=e.data("slidelink")||!1;e.find(".tp-resizeme, .tp-resizeme *").each(function(){Ma(jQuery(this),t,"rekursive",c)}),e.hasClass("tp-resizeme")&&e.find("*").each(function(){Ma(jQuery(this),t,"rekursive",c)}),Ma(e,t,0,c);var H,B=e.outerHeight(),P=e.css("backgroundColor");(ba(e,".frontcorner","left","borderRight","borderTopColor",B,P),ba(e,".frontcornertop","left","borderRight","borderBottomColor",B,P),ba(e,".backcorner","right","borderLeft","borderBottomColor",B,P),ba(e,".backcornertop","right","borderLeft","borderTopColor",B,P),"on"==t.fullScreenAlignForce&&(i=a=0),void 0===(H=e.data("arrobj")))&&((H=new Object).voa=ka(e.data("voffset"),t)[t.curWinRange]||ka(e.data("voffset"),t)[0],H.hoa=ka(e.data("hoffset"),t)[t.curWinRange]||ka(e.data("hoffset"),t)[0],H.elx=ka(e.data("x"),t)[t.curWinRange]||ka(e.data("x"),t)[0],H.ely=ka(e.data("y"),t)[t.curWinRange]||ka(e.data("y"),t)[0]);var A=0==H.voa.length?0:H.voa,D=0==H.hoa.length?0:H.hoa,F=0==H.elx.length?0:H.elx,X=0==H.ely.length?0:H.ely,Y=e.outerWidth(!0),V=e.outerHeight(!0);0==Y&&0==V&&(Y=t.ulw,V=t.ulh);var N="off"!==g?parseInt(A,0)*t.bw:parseInt(A,0),$="off"!==g?parseInt(D,0)*t.bw:parseInt(D,0),Z="grid"===m?t.gridwidth[t.curWinRange]*t.bw:u,G="grid"===m?t.gridheight[t.curWinRange]*t.bw:f;"on"==t.fullScreenAlignForce&&(Z=t.ulw,G=t.ulh),F="center"===F||"middle"===F?Z/2-Y/2+$:"left"
22===F?$:"right"===F?Z-Y-$:"off"!==g?F*t.bw:F,X="center"==X||"middle"==X?G/2-V/2+N:"top"==X?N:"bottom"==X?G-V-N:"off"!==g?X*t.bw:X,v&&!O&&(F+=Y),O&&(F=0);var U=e.data("lasttriggerstate"),q=e.data("triggerstate"),E=null!=e.data("start")?e.data("start"):100,J=e.data("end"),K=o?0:"bytrigger"===E||"sliderenter"===E?0:parseFloat(E)/1e3,aa=F+a,ea=X+i,ta=e.css("z-Index");o||("reset"==U&&"bytrigger"!=E?(e.data("triggerstate","on"),e.data("animdirection","in"),q="on"):"reset"==U&&"bytrigger"==E&&(e.data("triggerstate","off"),e.data("animdirection","out"),q="off")),punchgs.TweenLite.set(l,{zIndex:ta,top:ea,left:aa,overwrite:"auto"}),0==s&&(d=!0),null==e.data("timeline")||d||(2!=s&&e.data("timeline").gotoAndPlay(0),d=!0),!r&&e.data("timeline_out")&&2!=s&&0!=s&&(e.data("timeline_out").kill(),e.data("outstarted",0)),o&&null!=e.data("timeline")&&(e.removeData("$anims"),e.data("timeline").pause(0),e.data("timeline").kill(),null!=e.data("newhoveranim")&&(e.data("newhoveranim").progress(0),e.data("newhoveranim").kill()),e.removeData("timeline"),punchgs.TweenLite.killTweensOf(e),e.unbind("hover"),e.removeClass("rs-hover-ready"),e.removeData("newhoveranim"));var ia=e.data("timeline")?e.data("timeline").time():0,na=void 0!==e.data("timeline")?e.data("timeline").progress():0,ra=e.data("timeline")||new punchgs.TimelineLite({smoothChildTiming:!0});na=jQuery.isNumeric(na)?na:0,ra.pause();var oa={};if(oa.svg=null!=e.data("svg_src")&&e.find("svg"),na<1&&1!=e.data("outstarted")||2==s||o){var da=e;if(null!=e.data("mySplitText")&&e.data("mySplitText").revert(),null!=e.data("splitin")&&e.data("splitin").match(/chars|words|lines/g)||null!=e.data("splitout")&&e.data("splitout").match(/chars|words|lines/g)){var sa=0<e.find("a").length?e.find("a"):e;e.data("mySplitText",new punchgs.SplitText(sa,{type:"lines,words,chars",charsClass:"tp-splitted tp-charsplit",wordsClass:"tp-splitted tp-wordsplit",linesClass:"tp-splitted tp-linesplit"})),e.addClass("splitted")}void 0!==e.data("mySplitText")&&e.data("splitin")&&e.data("splitin").match(/chars|words|lines/g)&&(da=e.data("mySplitText")[e.data("splitin")]);var la=new Object;oa.svg&&(oa.idle=Wa(e.data("svg_idle"),La()),punchgs.TweenLite.set(oa.svg,oa.idle.anim));var pa=null!=e.data("transform_in")&&e.data("transform_in").match(/\(R\)/gi);if(!e.data("$anims")||o||pa){var ha=Ta(),ca=Ta(),ga=ja(),ma=void 0!==e.data("transform_hover")||void 0!==e.data("style_hover");ca=Ca(ca,e.data("transform_idle")),ha=Ca(ca,e.data("transform_in"),1==t.sdir),ma&&(ga=Ca(ga,e.data("transform_hover")),ga=za(ga,e.data("style_hover")),oa.svg&&($svghover=Wa(e.data("svg_hover"),La()),null!=ga.anim.color&&($svghover.anim.fill=ga.anim.color),e.data("hoversvg",$svghover)),e.data("hover",ga)),ha.elemdelay=null==e.data("elementdelay")?0:e.data("elementdelay"),ca.anim.ease=ha.anim.ease=ha.anim.ease||punchgs.Power1.easeInOut,ma&&!e.hasClass("rs-hover-ready")&&(e.addClass("rs-hover-ready"),e.hover(function(a){var e=jQuery(a.currentTarget),t=e.data("hover"),i=e.data("timeline");i&&1==i.progress()&&(void 0===e.data("newhoveranim")||"none"===e.data("newhoveranim")?(e.data("newhoveranim",punchgs.TweenLite.to(e,t.speed,t.anim)),t.anim&&t.anim.zIndex&&e.data("newhoverparanim",punchgs.TweenLite.to(e.data("_pw"),t.speed,{zIndex:t.anim.zIndex})),oa.svg&&e.data("newsvghoveranim",punchgs.TweenLite.to(oa.svg,t.speed,e.data("hoversvg").anim))):(e.data("newhoveranim").progress(0).play(),(t.anim&&t.anim.zIndex||t.anim.css&&t.anim.css.zIndex)&&e.data("newhoverparanim").progress(0).play(),oa.svg&&e.data("newsvghoveranim").progress(0).play()))},function(a){var e=jQuery(a.currentTarget),t=e.data("timeline");t&&1==t.progress()&&null!=e.data("newhoveranim")&&(e.data("newhoveranim").reverse(),e.data("newhoverparanim")&&e.data("newhoverparanim").reverse(),oa.svg&&e.data("newsvghoveranim").reverse())})),(la=new Object).f=ha,la.r=ca,e.data("$anims")}else la=e.data("$anims");var ua=Ra(e.data("mask_in")),fa=new punchgs.TimelineLite;if(la.f.anim.x=la.f.anim.x*t.bw||Ia(la.f.anim.x,t,Y,V,ea,aa,"horizontal"),la.f.anim.y=la.f.anim.y*t.bw||Ia(la.f.anim.y,t,Y,V,ea,aa,"vertical"),2!=s||o){if(da!=e){var va=la.r.anim.ease;ra.add(punchgs.TweenLite.set(e,la.r.anim)),la.r=Ta(),la.r.anim.ease=va}if(la.f.anim.visibility="hidden",e.data("eow",Y),e.data("eoh",V),e.data("speed",la.f.speed),e.data("ease",la.r.anim.ease),fa.eventCallback("onStart",function(){punchgs.TweenLite.set(e,{visibility:"visible"}),e.data("iframes")&&e.find("iframe").each(function(){punchgs.TweenLite.set(jQuery(this),{autoAlpha:1})}),punchgs.TweenLite.set(l,{visibility:"visible"});var a={};a.layer=e,a.eventtype="enterstage",a.layertype=e.data("layertype"),e.data("active",!0),a.layersettings=e.data(),t.c.trigger("revolution.layeraction",[a])}),fa.eventCallback("onComplete",function(){var a={};a.layer=e,a.eventtype="enteredstage",a.layertype=e.data("layertype"),a.layersettings=e.data(),t.c.trigger("revolution.layeraction",[a]),xa.animcompleted(e,t)}
22),"sliderenter"==E&&t.overcontainer&&(K=.6),ra.add(fa.staggerFromTo(da,la.f.speed,la.f.anim,la.r.anim,la.f.elemdelay),K),ua){var wa=new Object;wa.ease=la.r.anim.ease,wa.overflow=ua.anim.overflow="hidden",wa.overwrite="all",wa.x=wa.y=0,ua.anim.x=ua.anim.x*t.bw||Ia(ua.anim.x,t,Y,V,ea,aa,"horizontal"),ua.anim.y=ua.anim.y*t.bw||Ia(ua.anim.y,t,Y,V,ea,aa,"vertical"),ra.add(punchgs.TweenLite.fromTo(h,la.f.speed,ua.anim,wa,ha.elemdelay),K)}else ra.add(punchgs.TweenLite.set(h,{overflow:"visible"},ha.elemdelay),0)}if(e.data("timeline",ra),t.sliderscrope=void 0===t.sliderscrope?Math.round(99999*Math.random()):t.sliderscrope,s=_a(e,t,"in"),void 0===t.endtimeouts&&(t.endtimeouts=[]),(0===na||2==s)&&"bytrigger"!==J&&!o&&"sliderleave"!=J){if(null!=J&&(-1==s||2==s)&&"bytriger"!==J)var ya=setTimeout(function(){xa.endMoveCaption(e,h,l,t)},parseInt(e.data("end"),0));t.endtimeouts.push(ya)}ra=e.data("timeline"),"on"==e.data("loopanimation")&&Oa(p,t.bw),("sliderenter"!=E||"sliderenter"==E&&t.overcontainer)&&(-1==s||1==s||o||0==s&&na<1&&e.hasClass("rev-static-visbile"))&&(na<1&&0<na||0==na&&"bytrigger"!=E&&"keep"!=U||0==na&&"bytrigger"!=E&&"keep"==U&&"on"==q||"bytrigger"==E&&"keep"==U&&"on"==q)&&(ra.resume(ia),xa.toggleState(e.data("layertoggledby")))}"on"==e.data("loopanimation")&&punchgs.TweenLite.set(p,{minWidth:Y,minHeight:V}),0==e.data("slidelink")||1!=e.data("slidelink")&&!e.hasClass("slidelink")?(punchgs.TweenLite.set(h,{width:"auto",height:"auto"}),e.data("slidelink",0)):(punchgs.TweenLite.set(h,{width:"100%",height:"100%"}),e.data("slidelink",1))},endMoveCaption:function(e,a,t,i){if(a=null!=a?a:e.data("_mw"),t=null!=t?t:e.data("_pw"),e.data("outstarted",1),e.data("timeline"))e.data("timeline").pause();else if(void 0===e.data("_pw"))return;var n=new punchgs.TimelineLite,r=new punchgs.TimelineLite,o=new punchgs.TimelineLite,d=Ca(Ta(),e.data("transform_in"),1==i.sdir),s=e.data("transform_out")?Ca(u(),e.data("transform_out"),1==i.sdir):Ca(u(),e.data("transform_in"),1==i.sdir),l=e.data("splitout")&&e.data("splitout").match(/words|chars|lines/g)?e.data("mySplitText")[e.data("splitout")]:e,p=null==e.data("endelementdelay")?0:e.data("endelementdelay"),h=e.innerWidth(),c=e.innerHeight(),g=t.position();e.data("transform_out")&&e.data("transform_out").match(/auto:auto/g)&&(d.speed=s.speed,d.anim.ease=s.anim.ease,s=d);var m=Ra(e.data("mask_out"));s.anim.x=s.anim.x*i.bw||Ia(s.anim.x,i,h,c,g.top,g.left,"horizontal"),s.anim.y=s.anim.y*i.bw||Ia(s.anim.y,i,h,c,g.top,g.left,"vertical"),r.eventCallback("onStart",function(){var a={};a.layer=e,a.eventtype="leavestage",a.layertype=e.data("layertype"),a.layersettings=e.data(),e.data("active",!1),i.c.trigger("revolution.layeraction",[a])}),r.eventCallback("onComplete",function(){punchgs.TweenLite.set(e,{visibility:"hidden"}),punchgs.TweenLite.set(t,{visibility:"hidden"});var a={};a.layer=e,a.eventtype="leftstage",e.data("active",!1),a.layertype=e.data("layertype"),a.layersettings=e.data(),i.c.trigger("revolution.layeraction",[a]),xa.stopVideo&&xa.stopVideo(e,i)}),n.add(r.staggerTo(l,s.speed,s.anim,p),0),m?(m.anim.ease=s.anim.ease,m.anim.overflow="hidden",m.anim.x=m.anim.x*i.bw||Ia(m.anim.x,i,h,c,g.top,g.left,"horizontal"),m.anim.y=m.anim.y*i.bw||Ia(m.anim.y,i,h,c,g.top,g.left,"vertical"),n.add(o.to(a,s.speed,m.anim,p),0)):n.add(o.set(a,{overflow:"visible",overwrite:"auto"},p),0),e.data("timeline_out",n)},removeTheCaptions:function(a,t){var e=a.data("index"),i=new Array;t.layers[e]&&jQuery.each(t.layers[e],function(a,e){i.push(e)}),t.layers.static&&jQuery.each(t.layers.static,function(a,e){i.push(e)}),t.endtimeouts&&0<t.endtimeouts.length&&jQuery.each(t.endtimeouts,function(a,e){clearTimeout(e)}),t.endtimeouts=new Array,i&&jQuery.each(i,function(a){var e=jQuery(this);0!=_a(e,t,"out")&&(n(e),clearTimeout(e.data("videoplaywait")),xa.stopVideo&&xa.stopVideo(e,t),xa.endMoveCaption(e,null,null,t),xa.removeMediaFromList&&xa.removeMediaFromList(e,t),t.lastplayedvideos=[])})}});var Ta=function(){var a=new Object;return a.anim=new Object,a.anim.x=0,a.anim.y=0,a.anim.z=0,a.anim.rotationX=0,a.anim.rotationY=0,a.anim.rotationZ=0,a.anim.scaleX=1,a.anim.scaleY=1,a.anim.skewX=0,a.anim.skewY=0,a.anim.opacity=1,a.anim.transformOrigin="50% 50%",a.anim.transformPerspective=600,a.anim.rotation=0,a.anim.ease=punchgs.Power3.easeOut,a.anim.force3D="auto",a.speed=.3,a.anim.autoAlpha=1,a.anim.visibility="visible",a.anim.overwrite="all",a},La=function(){var a=new Object;return a.anim=new Object,a.anim.stroke="none",a.anim.strokeWidth=0,a.anim.strokeDasharray="none",a.anim.strokeDashoffset="0",a},Wa=function(a,r){var e=a.split(";");return e&&jQuery.each(e,function(a,e){var t=e.split(":"),i=t[0],n=t[1];"sc"==i&&(r.anim.stroke=n),"sw"==i&&(r.anim.strokeWidth=n),"sda"==i&&(r.anim.strokeDasharray=n),"sdo"==i&&(r.anim.strokeDashoffset=n)}),r},u=function(){var a=new Object;return a.anim=new Object,a.anim.x=0,a.anim.y=0,a.anim.z=0,a},ja=function(){var a=new Object;return a.anim=new Object,a.speed=.2,a},d=function(a,e){if(jQuery.isNumeric(parseFloat(a)))return parseFloat(a);if(void 0===a||"inherit"===a)return e;if(1<a.split("{").length){var t=a.split(","),i=parseFloat(t[1].split("}")[0]);t=parseFloat(t[0].split("{")[1]),a=Math.random()*(i-t)+t}return a},Ia=function(a,e,t,i,n,r,o){return!jQuery.isNumeric(a)&&a.match(/%]/g)?(a=a.split("[")[1].split("]")[0],"horizontal"==o?a=(t+2)*parseInt(a,0)/100:"vertical"==o&&(a=(i+2)*parseInt(a,0)/100)):a="top"===(a="left"===(a="layer_top"===(a="layer_left"
22===a?0-t:"layer_right"===a?t:a)?0-i:"layer_bottom"===a?i:a)||"stage_left"===a?0-t-r:"right"===a||"stage_right"===a?e.conw-r:"center"===a||"stage_center"===a?e.conw/2-t/2-r:a)||"stage_top"===a?0-i-n:"bottom"===a||"stage_bottom"===a?e.conh-n:"middle"===a||"stage_middle"===a?e.conh/2-i/2-n:a,a},Ca=function(a,e,r){var o=new Object;if(o=jQuery.extend(!0,{},o,a),void 0===e)return o;var t=e.split(";");return t&&jQuery.each(t,function(a,e){var t=e.split(":"),i=t[0],n=t[1];r&&null!=n&&0<n.length&&n.match(/\(R\)/)&&("["===(n="right"===(n=n.replace("(R)",""))?"left":"left"===n?"right":"top"===n?"bottom":"bottom"===n?"top":n)[0]&&"-"===n[1]?n=n.replace("[-","["):"["===n[0]&&"-"!==n[1]?n=n.replace("[","[-"):"-"===n[0]?n=n.replace("-",""):n[0].match(/[1-9]/)&&(n="-"+n)),null!=n&&(n=n.replace(/\(R\)/,""),("rotationX"==i||"rX"==i)&&(o.anim.rotationX=d(n,o.anim.rotationX)+"deg"),("rotationY"==i||"rY"==i)&&(o.anim.rotationY=d(n,o.anim.rotationY)+"deg"),("rotationZ"==i||"rZ"==i)&&(o.anim.rotation=d(n,o.anim.rotationZ)+"deg"),("scaleX"==i||"sX"==i)&&(o.anim.scaleX=d(n,o.anim.scaleX)),("scaleY"==i||"sY"==i)&&(o.anim.scaleY=d(n,o.anim.scaleY)),("opacity"==i||"o"==i)&&(o.anim.opacity=d(n,o.anim.opacity)),o.anim.opacity=0==o.anim.opacity?1e-4:o.anim.opacity,("skewX"==i||"skX"==i)&&(o.anim.skewX=d(n,o.anim.skewX)),("skewY"==i||"skY"==i)&&(o.anim.skewY=d(n,o.anim.skewY)),"x"==i&&(o.anim.x=d(n,o.anim.x)),"y"==i&&(o.anim.y=d(n,o.anim.y)),"z"==i&&(o.anim.z=d(n,o.anim.z)),("transformOrigin"==i||"tO"==i)&&(o.anim.transformOrigin=n.toString()),("transformPerspective"==i||"tP"==i)&&(o.anim.transformPerspective=parseInt(n,0)),("speed"==i||"s"==i)&&(o.speed=parseFloat(n)/1e3),("ease"==i||"e"==i)&&(o.anim.ease=n))}),o},Ra=function(a){if(void 0===a)return!1;var n=new Object;n.anim=new Object;var e=a.split(";");return e&&jQuery.each(e,function(a,e){var t=(e=e.split(":"))[0],i=e[1];"x"==t&&(n.anim.x=i),"y"==t&&(n.anim.y=i),"s"==t&&(n.speed=parseFloat(i)/1e3),("e"==t||"ease"==t)&&(n.anim.ease=i)}),n},ka=function(t,a,e){if(null==t&&(t=0),!jQuery.isArray(t)&&"string"===jQuery.type(t)&&(1<t.split(",").length||1<t.split("[").length)){var i=(t=(t=t.replace("[","")).replace("]","")).match(/'/g)?t.split("',"):t.split(",");t=new Array,i&&jQuery.each(i,function(a,e){e=(e=e.replace("'","")).replace("'",""),t.push(e)})}else{var n=t;jQuery.isArray(t)||(t=new Array).push(n)}n=t[t.length-1];if(t.length<a.rle)for(var r=1;r<=a.curWinRange;r++)t.push(n);return t},_a=function(a,e,t,i){var n=-1;if(a.hasClass("tp-static-layer")){a.data("staticlayer",!0);var r=parseInt(a.data("startslide"),0),o=parseInt(a.data("endslide"),0),d=e.c.find(".processing-revslide").index(),s=-1!=d?d:e.c.find(".active-revslide").index();s=-1==s?0:s,"in"===t?a.hasClass("rev-static-visbile")?n=o==s||s<r||o<s?2:0:r<=s&&s<=o||r==s||o==s?(i||(a.addClass("rev-static-visbile"),a.removeClass("rev-static-hidden")),n=1):n=0:a.hasClass("rev-static-visbile")?s<r||o<s?(n=2,i||(a.removeClass("rev-static-visbile"),a.addClass("rev-static-hidden"))):n=0:n=2}return n},za=function(i,a){if(void 0===a)return i;var e=(a=(a=(a=(a=(a=(a=(a=(a=a.replace("c:","color:")).replace("bg:","background-color:")).replace("bw:","border-width:")).replace("bc:","border-color:")).replace("br:","borderRadius:")).replace("bs:","border-style:")).replace("td:","text-decoration:")).replace("zi:","zIndex:")).split(";");return e&&jQuery.each(e,function(a,e){var t=e.split(":");0<t[0].length&&(i.anim[t[0]]=t[1])}),i},Qa=function(a,e){var t,i=new Object,n=!1;if("rekursive"==e&&((t=a.closest(".tp-caption"))&&a.css("fontSize")===t.css("fontSize")&&(n=!0)),i.basealign=a.data("basealign")||"grid",i.fontSize=n?void 0===t.data("fontsize")?parseInt(t.css("fontSize"),0)||0:t.data("fontsize"):void 0===a.data("fontsize")?parseInt(a.css("fontSize"),0)||0:a.data("fontsize"),i.fontWeight=n?void 0===t.data("fontweight")?parseInt(t.css("fontWeight"),0)||0:t.data("fontweight"):void 0===a.data("fontweight")?parseInt(a.css("fontWeight"),0)||0:a.data("fontweight"),i.whiteSpace=n?void 0===t.data("whitespace")?t.css("whitespace")||"normal":t.data("whitespace"):void 0===a.data("whitespace")?a.css("whitespace")||"normal":a.data("whitespace"),i.zIndex=n?void 0===t.data("zIndex")?t.css("zIndex")||"inherit":t.data("zIndex"):void 0===a.data("zIndex")?a.css("zIndex")||"inherit":a.data("zIndex"),-1!==jQuery.inArray(a.data("layertype"),["video","image","audio"])||a.is("img")?i.lineHeight=0:i.lineHeight=n?void 0===t.data("lineheight")?parseInt(t.css("lineHeight"),0)||0:t.data("lineheight"):void 0===a.data("lineheight")?parseInt(a.css("lineHeight"),0)||0:a.data("lineheight"),i.letterSpacing=n?void 0===t.data("letterspacing")?parseFloat(t.css("letterSpacing"),0)||0:t.data("letterspacing"):void 0===a.data("letterspacing")?parseFloat(a.css("letterSpacing"))||0:a.data("letterspacing"),i.paddingTop=void 0===a.data("paddingtop")?parseInt(a.css("paddingTop"),0)||0:a.data("paddingtop"),i.paddingBottom=void 0===a.data("paddingbottom")?parseInt(a.css("paddingBottom"),0)||0:a.data("paddingbottom"),i.paddingLeft=void 0===a.data("paddingleft")?parseInt(a.css("paddingLeft"),0)||0:a.data("paddingleft"),i.paddingRight=void 0===a.data("paddingright")?parseInt(a.css("paddingRight"),0)||0:a.data("paddingright"),i.marginTop=void 0===a.data("margintop")?parseInt(a.css("marginTop"),
220)||0:a.data("margintop"),i.marginBottom=void 0===a.data("marginbottom")?parseInt(a.css("marginBottom"),0)||0:a.data("marginbottom"),i.marginLeft=void 0===a.data("marginleft")?parseInt(a.css("marginLeft"),0)||0:a.data("marginleft"),i.marginRight=void 0===a.data("marginright")?parseInt(a.css("marginRight"),0)||0:a.data("marginright"),i.borderTopWidth=void 0===a.data("bordertopwidth")?parseInt(a.css("borderTopWidth"),0)||0:a.data("bordertopwidth"),i.borderBottomWidth=void 0===a.data("borderbottomwidth")?parseInt(a.css("borderBottomWidth"),0)||0:a.data("borderbottomwidth"),i.borderLeftWidth=void 0===a.data("borderleftwidth")?parseInt(a.css("borderLeftWidth"),0)||0:a.data("borderleftwidth"),i.borderRightWidth=void 0===a.data("borderrightwidth")?parseInt(a.css("borderRightWidth"),0)||0:a.data("borderrightwidth"),"rekursive"!=e){if(i.color=void 0===a.data("color")?"nopredefinedcolor":a.data("color"),i.whiteSpace=n?void 0===t.data("whitespace")?t.css("whiteSpace")||"nowrap":t.data("whitespace"):void 0===a.data("whitespace")?a.css("whiteSpace")||"nowrap":a.data("whitespace"),i.minWidth=void 0===a.data("width")?parseInt(a.css("minWidth"),0)||0:a.data("width"),i.minHeight=void 0===a.data("height")?parseInt(a.css("minHeight"),0)||0:a.data("height"),null!=a.data("videowidth")&&null!=a.data("videoheight")){var r=a.data("videowidth"),o=a.data("videoheight");r="100%"===r?"none":r,o="100%"===o?"none":o,a.data("width",r),a.data("height",o)}i.maxWidth=void 0===a.data("width")?parseInt(a.css("maxWidth"),0)||"none":a.data("width"),i.maxHeight=void 0===a.data("height")?parseInt(a.css("maxHeight"),0)||"none":a.data("height"),i.wan=void 0===a.data("wan")?parseInt(a.css("-webkit-transition"),0)||"none":a.data("wan"),i.moan=void 0===a.data("moan")?parseInt(a.css("-moz-animation-transition"),0)||"none":a.data("moan"),i.man=void 0===a.data("man")?parseInt(a.css("-ms-animation-transition"),0)||"none":a.data("man"),i.ani=void 0===a.data("ani")?parseInt(a.css("transition"),0)||"none":a.data("ani")}return i.styleProps=a.css(["background-color","border-top-color","border-bottom-color","border-right-color","border-left-color","border-top-style","border-bottom-style","border-left-style","border-right-style","border-left-width","border-right-width","border-bottom-width","border-top-width","color","text-decoration","font-style","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]),i},Sa=function(t,i){var n=new Object;return t&&jQuery.each(t,function(a,e){n[a]=ka(e,i)[i.curWinRange]||t[a]}),n},f=function(a,e,t,i){return"full"===(a=jQuery.isNumeric(a)?a*e+"px":a)?i:"auto"===a||"none"===a?t:a},Ma=function(a,e,t,i){var n;try{if("BR"==a[0].nodeName||"br"==a[0].tagName)return!1}catch(a){}void 0===a.data("cssobj")?(n=Qa(a,t),a.data("cssobj",n)):n=a.data("cssobj");var r=Sa(n,e),o=e.bw,d=e.bh;if("off"===i&&(d=o=1),"auto"==r.lineHeight&&(r.lineHeight=r.fontSize+4),!a.hasClass("tp-splitted")){if(a.css("-webkit-transition","none"),a.css("-moz-transition","none"),a.css("-ms-transition","none"),a.css("transition","none"),(void 0!==a.data("transform_hover")||void 0!==a.data("style_hover"))&&punchgs.TweenLite.set(a,r.styleProps),punchgs.TweenLite.set(a,{fontSize:Math.round(r.fontSize*o)+"px",fontWeight:r.fontWeight,letterSpacing:Math.floor(r.letterSpacing*o)+"px",paddingTop:Math.round(r.paddingTop*d)+"px",paddingBottom:Math.round(r.paddingBottom*d)+"px",paddingLeft:Math.round(r.paddingLeft*o)+"px",paddingRight:Math.round(r.paddingRight*o)+"px",marginTop:r.marginTop*d+"px",marginBottom:r.marginBottom*d+"px",marginLeft:r.marginLeft*o+"px",marginRight:r.marginRight*o+"px",borderTopWidth:Math.round(r.borderTopWidth*d)+"px",borderBottomWidth:Math.round(r.borderBottomWidth*d)+"px",borderLeftWidth:Math.round(r.borderLeftWidth*o)+"px",borderRightWidth:Math.round(r.borderRightWidth*o)+"px",lineHeight:Math.round(r.lineHeight*d)+"px",overwrite:"auto"}),"rekursive"!=t){var s="slide"==r.basealign?e.ulw:e.gridwidth[e.curWinRange],l="slide"==r.basealign?e.ulh:e.gridheight[e.curWinRange],p=f(r.maxWidth,o,"none",s),h=f(r.maxHeight,d,"none",l),c=f(r.minWidth,o,"0px",s),g=f(r.minHeight,d,"0px",l);if(punchgs.TweenLite.set(a,{maxWidth:p,maxHeight:h,minWidth:c,minHeight:g,whiteSpace:r.whiteSpace,overwrite:"auto"}),"nopredefinedcolor"!=r.color&&punchgs.TweenLite.set(a,{color:r.color,overwrite:"auto"}),null!=a.data("svg_src")){var m="nopredefinedcolor"!=r.color&&null!=r.color?r.color:null!=r.css&&"nopredefinedcolor"!=r.css.color&&null!=r.css.color?r.css.color:null!=r.styleProps.color?r.styleProps.color:null!=r.styleProps.css&&null!=r.styleProps.css.color&&r.styleProps.css.color;0!=m&&punchgs.TweenLite.set(a.find("svg"),{fill:m,overwrite:"auto"})}}setTimeout(function(){a.css("-webkit-transition",a.data("wan")),a.css("-moz-transition",a.data("moan")),a.css("-ms-transition",a.data("man")),a.css("transition",a.data("ani"))},30)}},Oa=function(a,e){if(a.hasClass("rs-pendulum")&&null==a.data("loop-timeline")){a.data("loop-timeline",new punchgs.TimelineLite);var t=null==a.data("startdeg")?-20:a.data("startdeg"),i=null==a.data("enddeg")?20:a.data("enddeg"),n=null==a.data("speed")?2:a.data("speed"),r=null==a.data("origin")?"50% 50%":a.data("origin"),o=null==a.data("easing")?punchgs.Power2.easeInOut:a.data("ease");t*=e,i*=e,a.data("loop-timeline").append(new punchgs.TweenLite.fromTo(a,n,{force3D:"auto",rotation:t,transformOrigin:r},{rotation:i,ease:o})),a.data("loop-timeline").append(new punchgs.TweenLite.fromTo(a,n,{force3D:"auto",rotation:i,transformOrigin:r},{rotation:t,ease:o,onComplete:function(){a.data("loop-timeline").restart()}}))}if(a.hasClass("rs-rotate")&&null==a.data("loop-timeline")){a.data("loop-timeline",new punchgs.TimelineLite);t=null==a.data("startdeg")?0:a.data("startdeg"),i=null==a.data("enddeg")?360:a.data("enddeg");n=null==a.data("speed")?2:a.data("speed"),r=null==a.data("origin")?"50% 50%":a.data("origin"),o=null==a.data("easing")?punchgs.Power2.easeInOut:a.data("easing"),t*=e,i*=e,a.data("loop-timeline").append(new punchgs.TweenLite.fromTo(a,n,{force3D:"auto",rotation:t,transformOrigin:r},{rotation:i,ease:o,onComplete:function(){a.data("loop-timeline").restart()}}))}if(a.hasClass("rs-slideloop")&&null==a.data("loop-timeline")){a.data("loop-timeline",new punchgs.TimelineLite);var d=null==a.data("xs")?0:a.data("xs"),s=null==a.data("ys")?0:a.data("ys"),l=null==a.data("xe")?0:a.data("xe"),p=null==a.data("ye")?0:a.data("ye");n=null==a.data("speed")?2:a.data("speed"),o=null==a.data("easing")?punchgs.Power2.easeInOut:a.data("easing");d*=e,s*=e,l*=e,p*=e,a.data("loop-timeline").append(new punchgs.TweenLite.fromTo(a,n,{force3D:"auto",x:d,y:s},{x:l,y:p,ease:o})),a.data("loop-timeline").append(new punchgs.TweenLite.fromTo(a,n,{force3D:"auto",x:l,y:p},{x:d,y:s,onComplete:function(){a.data("loop-timeline").restart()}}))}if(a.hasClass("rs-pulse")&&null==a.data("loop-timeline")){a.data("loop-timeline",new punchgs.TimelineLite);var h=null==a.data("zoomstart")?0:a.data("zoomstart"),c=null==a.data("zoomend")?0:a.data("zoomend");n=null==a.data("speed")?2:a.data("speed"),o=null==a.data("easing")?punchgs.Power2.easeInOut:a.data("easing");a.data("loop-timeline").append(new punchgs.TweenLite.fromTo(a,n,{force3D:"auto",scale:h},{scale:c,ease:o})),a.data("loop-timeline").append(new punchgs.TweenLite.fromTo(a,n,{force3D:"auto",scale:c},{scale:h,onComplete:function(){a.data("loop-timeline").restart()}}))}if(a.hasClass("rs-wave")&&null==a.data("loop-timeline")){a.data("loop-timeline",new punchgs.TimelineLite);var g=null==a.data("angle")?10:parseInt(a.data("angle"),0),m=null==a.data("radius")?10:parseInt(a.data("radius"),0),u=(n=null==a.data("speed")?-20:a.data("speed"),(r=null==a.data("origin")?"50% 50%":a.data("origin")).split(" ")),f=new Object;1<=u.length?(f.x=u[0],f.y=u[1]):(f.x="50%",f.y="50%"),g*=e,m*=e;
22var v=0-a.height()/2+m*(parseInt(f.y,0)/100-1),w=a.width()*(parseInt(f.x,0)/100-.5),y={a:0,ang:g,element:a,unit:m,xoffset:w,yoffset:v};a.data("loop-timeline").append(new punchgs.TweenLite.fromTo(y,n,{a:360},{a:0,force3D:"auto",ease:punchgs.Linear.easeNone,onUpdate:function(){var a=(y.a+y.ang)*(Math.PI/180);punchgs.TweenLite.to(y.element,.1,{force3D:"auto",x:y.xoffset+Math.cos(a)*y.unit,y:y.unit*(1-Math.sin(a))+y.yoffset/.5})},onComplete:function(){a.data("loop-timeline").restart()}}))}},n=function(a){a.find(".rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave").each(function(){var a=jQuery(this);null!=a.data("loop-timeline")&&(a.data("loop-timeline").pause(),a.data("loop-timeline",null))})}}(jQuery); 23/* revolution.extension.migration.min.js */ 24!function(t){var a=jQuery.fn.revolution;jQuery.extend(!0,a,{migration:function(t,a){return a=o(a),e(t,a),a}});var o=function(t){if(t.parallaxLevels||t.parallaxBgFreeze){var a=new Object;a.type=t.parallax,a.levels=t.parallaxLevels,a.bgparallax="on"==t.parallaxBgFreeze?"off":"on",a.disable_onmobile=t.parallaxDisableOnMobile,t.parallax=a}if(void 0===t.disableProgressBar&&(t.disableProgressBar=t.hideTimerBar||"off"),(t.startwidth||t.startheight)&&(t.gridwidth=t.startwidth,t.gridheight=t.startheight),void 0===t.sliderType&&(t.sliderType="standard"),"on"===t.fullScreen&&(t.sliderLayout="fullscreen"),"on"===t.fullWidth&&(t.sliderLayout="fullwidth"),void 0===t.sliderLayout&&(t.sliderLayout="auto"),void 0===t.navigation){var o=new Object;if("solo"==t.navigationArrows||"nextto"==t.navigationArrows){var e=new Object;e.enable=!0,e.style=t.navigationStyle||"",e.hide_onmobile="on"===t.hideArrowsOnMobile,e.hide_onleave=0<t.hideThumbs,e.hide_delay=0<t.hideThumbs?t.hideThumbs:200,e.hide_delay_mobile=t.hideNavDelayOnMobile||1500,e.hide_under=0,e.tmp="",e.left={h_align:t.soloArrowLeftHalign,v_align:t.soloArrowLeftValign,h_offset:t.soloArrowLeftHOffset,v_offset:t.soloArrowLeftVOffset},e.right={h_align:t.soloArrowRightHalign,v_align:t.soloArrowRightValign,h_offset:t.soloArrowRightHOffset,v_offset:t.soloArrowRightVOffset},o.arrows=e}if("bullet"==t.navigationType){var r=new Object;r.style=t.navigationStyle||"",r.enable=!0,r.hide_onmobile="on"===t.hideArrowsOnMobile,r.hide_onleave=0<t.hideThumbs,r.hide_delay=0<t.hideThumbs?t.hideThumbs:200,r.hide_delay_mobile=t.hideNavDelayOnMobile||1500,r.hide_under=0,r.direction="horizontal",r.h_align=t.navigationHAlign||"center",r.v_align=t.navigationVAlign||"bottom",r.space=5,r.h_offset=t.navigationHOffset||0,r.v_offset=t.navigationVOffset||20,r.tmp='<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>',o.bullets=r}if("thumb"==t.navigationType){var i=new Object;i.style=t.navigationStyle||"",i.enable=!0,i.width=t.thumbWidth||100,i.height=t.thumbHeight||50,i.min_width=t.thumbWidth||100,i.wrapper_padding=2,i.wrapper_color="#f5f5f5",i.wrapper_opacity=1,i.visibleAmount=t.thumbAmount||3,i.hide_onmobile="on"===t.hideArrowsOnMobile,i.hide_onleave=0<t.hideThumbs,i.hide_delay=0<t.hideThumbs?t.hideThumbs:200,i.hide_delay_mobile=t.hideNavDelayOnMobile||1500,i.hide_under=0,i.direction="horizontal",i.span=!1,i.position="inner",i.space=2,i.h_align=t.navigationHAlign||"center",i.v_align=t.navigationVAlign||"bottom",i.h_offset=t.navigationHOffset||0,i.v_offset=t.navigationVOffset||20,i.tmp='<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',o.thumbnails=i}t.navigation=o,t.navigation.keyboardNavigation=t.keyboardNavigation||"on",t.navigation.onHoverStop=t.onHoverStop||"on",t.navigation.touch={touchenabled:t.touchenabled||"on",swipe_treshold:t.swipe_treshold||75,swipe_min_touches:t.swipe_min_touches||1,drag_block_vertical:t.drag_block_vertical||!1}}return null==t.fallbacks&&(t.fallbacks={isJoomla:t.isJoomla||!1,panZoomDisableOnMobile:t.parallaxDisableOnMobile||"off",simplifyAll:t.simplifyAll||"on",nextSlideOnWindowFocus:t.nextSlideOnWindowFocus||"off",disableFocusListener:t.disableFocusListener||!0}),t},e=function(t,a){var o=new Object;t.width(),t.height();o.skewfromleftshort="x:-50;skX:85;o:0",o.skewfromrightshort="x:50;skX:-85;o:0",o.sfl="x:-50;o:0",o.sfr="x:50;o:0",o.sft="y:-50;o:0",o.sfb="y:50;o:0",o.skewfromleft="x:top;skX:85;o:0",o.skewfromright="x:bottom;skX:-85;o:0",o.lfl="x:top;o:0",o.lfr="x:bottom;o:0",o.lft="y:left;o:0",o.lfb="y:right;o:0",o.fade="o:0",Math.random(),t.find(".tp-caption").each(function(){var t=jQuery(this),a=(Math.random(),Math.random(),Math.random(),Math.random(),Math.random(),Math.random(),t.attr("class"));o.randomrotate="x:{-400,400};y:{-400,400};sX:{0,2};sY:{0,2};rZ:{-180,180};rX:{-180,180};rY:{-180,180};o:0;",a.match("randomrotate")?t.data("transform_in",o.randomrotate):a.match(/\blfl\b/)?t.data("transform_in",o.lfl):a.match(/\blfr\b/)?t.data("transform_in",o.lfr):a.match(/\blft\b/)?t.data("transform_in",o.lft):a.match(/\blfb\b/)?t.data("transform_in",o.lfb):a.match(/\bsfl\b/)?t.data("transform_in",o.sfl):a.match(/\bsfr\b/)?t.data("transform_in",o.sfr):a.match(/\bsft\b/)?t.data("transform_in",o.sft):a.match(/\bsfb\b/)?t.data("transform_in",o.sfb):a.match(/\bskewfromleftshort\b/)?t.data("transform_in",o.skewfromleftshort):a.match(/\bskewfromrightshort\b/)?t.data("transform_in",o.skewfromrightshort):a.match(/\bskewfromleft\b/)?t.data("transform_in",o.skewfromleft):a.match(/\bskewfromright\b/)?t.data("transform_in",o.skewfromright):a.match(/\bfade\b/)&&t.data("transform_in",o.fade),a.match(/\brandomrotateout\b/)?t.data("transform_out",o.randomrotate):a.match(/\bltl\b/)?t.data("transform_out",o.lfl):a.match(/\bltr\b/)?t.data("transform_out",o.lfr):a.match(/\bltt\b/)?t.data("transform_out",o.lft):a.match(/\bltb\b/)?t.data("transform_out",o.lfb):a.match(/\bstl\b/)?t.data("transform_out",o.sfl):a.match(/\bstr\b/)?t.data("transform_out",o.sfr):a.match(/\bstt\b/)?t.data("transform_out",o.sft):a.match(/\bstb\b/)?t.data("transform_out",o.sfb):a.match(/\bskewtoleftshortout\b/)?t.data("transform_out",o.skewfromleftshort):a.match(/\bskewtorightshortout\b/)?t.data("transform_out",o.skewfromrightshort):a.match(/\bskewtoleftout\b/)?t.data("transform_out",o.skewfromleft):a.match(/\bskewtorightout\b/)?t.data("transform_out",o.skewfromright):a.match(/\bfadeout\b/)&&t.data("transform_out",o.fade),null!=t.data("customin")&&t.data("transform_in",t.data("customin")),null!=t.data("customout")&&t.data("transform_out",t.data("customout"))})}}(jQuery); 25/* revolution.extension.navigation.min.js */ 26!function(t){var I=jQuery.fn.revolution,c=I.is_mobile();jQuery.extend(!0,I,{hideUnHideNav:function(t){var e=t.c.width(),i=t.navigation.arrows,a=t.navigation.bullets,n=t.navigation.thumbnails,r=t.navigation.tabs;m(i)&&s(t.c.find(".tparrows"),i.hide_under,e,i.hide_over),m(a)&&s(t.c.find(".tp-bullets"),a.hide_under,e,a.hide_over),m(n)&&s(t.c.parent().find(".tp-thumbs"),n.hide_under,e,n.hide_over),m(r)&&s(t.c.parent().find(".tp-tabs"),r.hide_under,e,r.hide_over),l(t)},resizeThumbsTabs:function(t,e){if(t.navigation&&t.navigation.tabs.enable||t.navigation&&t.navigation.thumbnails.enable){var i=(jQuery(window).width()-480)/500,a=new punchgs.TimelineLite,n=t.navigation.tabs,r=t.navigation.thumbnails,s=t.navigation.bullets;if(a.pause(),i=1<i?1:i<0?0:i,m(n)&&(e||n.width>n.min_width)&&d(i,a,t.c,n,t.slideamount,"tab"),m(r)&&(e||r.width>r.min_width)&&d(i,a,t.c,r,t.slideamount,"thumb"),m(s)&&e){var o=t.c.find(".tp-bullets");o.find(".tp-bullet").each(function(t){var e=jQuery(this),i=t+1,a=e.outerWidth()+parseInt(void 0===s.space?0:s.space,0),n=e.outerHeight()+parseInt(void 0===s.space?0:s.space,0);"vertical"===s.direction?(e.css({top:(i-1)*n+"px",left:"0px"}),o.css({height:(i-1)*n+e.outerHeight(),width:e.outerWidth()})):(e.css({left:(i-1)*a+"px",top:"0px"}),o.css({width:(i-1)*a+e.outerWidth(),height:e.outerHeight()}))})}a.play(),l(t)}return!0},updateNavIndexes:function(t){function e(t){0<i.find(t).lenght&&i.find(t).each(function(t){jQuery(this).data("liindex",t)})}var i=t.c;e(".tp-tab"),e(".tp-bullet"),e(".tp-thumb"),I.resizeThumbsTabs(t,!0),I.manageNavigation(t)},manageNavigation:function(t){var e=I.getHorizontalOffset(t.c.parent(),"left"),i=I.getHorizontalOffset(t.c.parent(),"right");m(t.navigation.bullets)&&("fullscreen"!=t.sliderLayout&&"fullwidth"!=t.sliderLayout&&(t.navigation.bullets.h_offset_old=void 0===t.navigation.bullets.h_offset_old?t.navigation.bullets.h_offset:t.navigation.bullets.h_offset_old,t.n
vendor: 6,879 bytes, line 26
26avigation.bullets.h_offset="center"===t.navigation.bullets.h_align?t.navigation.bullets.h_offset_old+e/2-i/2:t.navigation.bullets.h_offset_old+e-i),j(t.c.find(".tp-bullets"),t.navigation.bullets,t)),m(t.navigation.thumbnails)&&j(t.c.parent().find(".tp-thumbs"),t.navigation.thumbnails,t),m(t.navigation.tabs)&&j(t.c.parent().find(".tp-tabs"),t.navigation.tabs,t),m(t.navigation.arrows)&&("fullscreen"!=t.sliderLayout&&"fullwidth"!=t.sliderLayout&&(t.navigation.arrows.left.h_offset_old=void 0===t.navigation.arrows.left.h_offset_old?t.navigation.arrows.left.h_offset:t.navigation.arrows.left.h_offset_old,t.navigation.arrows.left.h_offset="right"===t.navigation.arrows.left.h_align?t.navigation.arrows.left.h_offset_old+i:t.navigation.arrows.left.h_offset_old+e,t.navigation.arrows.right.h_offset_old=void 0===t.navigation.arrows.right.h_offset_old?t.navigation.arrows.right.h_offset:t.navigation.arrows.right.h_offset_old,t.navigation.arrows.right.h_offset="right"===t.navigation.arrows.right.h_align?t.navigation.arrows.right.h_offset_old+i:t.navigation.arrows.right.h_offset_old+e),j(t.c.find(".tp-leftarrow.tparrows"),t.navigation.arrows.left,t),j(t.c.find(".tp-rightarrow.tparrows"),t.navigation.arrows.right,t)),m(t.navigation.thumbnails)&&g(t.c.parent().find(".tp-thumbs"),t.navigation.thumbnails),m(t.navigation.tabs)&&g(t.c.parent().find(".tp-tabs"),t.navigation.tabs)},createNavigation:function(s,o){var d=s.parent(),l=o.navigation.arrows,a=o.navigation.bullets,h=o.navigation.thumbnails,p=o.navigation.tabs,t=m(l),n=m(a),r=m(h),u=m(p);e(s,o),i(s,o),t&&_(s,l,o),o.li.each(function(t){var e=jQuery(o.li[o.li.length-1-t]),i=jQuery(this);n&&(o.navigation.bullets.rtl?y(s,a,e,o):y(s,a,i,o)),r&&(o.navigation.thumbnails.rtl?T(s,h,e,"tp-thumb",o):T(s,h,i,"tp-thumb",o)),u&&(o.navigation.tabs.rtl?T(s,p,e,"tp-tab",o):T(s,p,i,"tp-tab",o))}),s.bind("revolution.slide.onafterswap revolution.nextslide.waiting",function(){var i=0==s.find(".next-revslide").length?s.find(".active-revslide").data("index"):s.find(".next-revslide").data("index");s.find(".tp-bullet").each(function(){var t=jQuery(this);t.data("liref")===i?t.addClass("selected"):t.removeClass("selected")}),d.find(".tp-thumb, .tp-tab").each(function(){var t=jQuery(this);t.data("liref")===i?(t.addClass("selected"),t.hasClass("tp-tab")?g(d.find(".tp-tabs"),p):g(d.find(".tp-thumbs"),h)):t.removeClass("selected")});var a=0,n=!1;o.thumbs&&jQuery.each(o.thumbs,function(t,e){a=!1===n?t:a,n=e.id===i||t===i||n});var t=0<a?a-1:o.slideamount-1,e=a+1==o.slideamount?0:a+1;if(!0===l.enable){var r=l.tmp;if(jQuery.each(o.thumbs[t].params,function(t,e){r=r.replace(e.from,e.to)}),l.left.j.html(r),r=l.tmp,e>o.slideamount)return;jQuery.each(o.thumbs[e].params,function(t,e){r=r.replace(e.from,e.to)}),l.right.j.html(r),punchgs.TweenLite.set(l.left.j.find(".tp-arr-imgholder"),{backgroundImage:"url("+o.thumbs[t].src+")"}),punchgs.TweenLite.set(l.right.j.find(".tp-arr-imgholder"),{backgroundImage:"url("+o.thumbs[e].src+")"})}}),f(l),f(a),f(h),f(p),d.on("mouseenter mousemove",function(){d.hasClass("tp-mouseover")||(d.addClass("tp-mouseover"),punchgs.TweenLite.killDelayedCallsTo(w),t&&l.hide_onleave&&w(d.find(".tparrows"),l,"show"),n&&a.hide_onleave&&w(d.find(".tp-bullets"),a,"show"),r&&h.hide_onleave&&w(d.find(".tp-thumbs"),h,"show"),u&&p.hide_onleave&&w(d.find(".tp-tabs"),p,"show"),c&&(d.removeClass("tp-mouseover"),b(s,o)))}),d.on("mouseleave",function(){d.removeClass("tp-mouseover"),b(s,o)}),t&&l.hide_onleave&&w(d.find(".tparrows"),l,"hide",0),n&&a.hide_onleave&&w(d.find(".tp-bullets"),a,"hide",0),r&&h.hide_onleave&&w(d.find(".tp-thumbs"),h,"hide",0),u&&p.hide_onleave&&w(d.find(".tp-tabs"),p,"hide",0),r&&v(d.find(".tp-thumbs"),o),u&&v(d.find(".tp-tabs"),o),"carousel"===o.sliderType&&v(s,o,!0),"on"==o.navigation.touch.touchenabled&&v(s,o,"swipebased")}});var g=function(t,e){var i=(t.hasClass("tp-thumbs"),t.hasClass("tp-thumbs")?".tp-thumb-mask":".tp-tab-mask"),a=t.hasClass("tp-thumbs")?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",n=t.hasClass("tp-thumbs")?".tp-thumb":".tp-tab",r=t.find(i),s=r.find(a),o=e.direction,d="vertical"===o?r.find(n).first().outerHeight(!0)+e.space:r.find(n).first().outerWidth(!0)+e.space,l="vertical"===o?r.height():r.width(),h=parseInt(r.find(n+".selected").data("liindex"),0),p=l/d,u="vertical"===o?r.height():r.width(),c=0-h*d,g="vertical"===o?s.height():s.width(),v=c<0-(g-u)?0-(g-u):0<v?0:c,f=s.data("offset");2<p&&(v=c-(f+d)<=0?c-(f+d)<0-d?f:v+d:v,v=c-d+f+l<d&&c+(Math.round(p)-2)*d<f?c+(Math.round(p)-2)*d:v),v=v<0-(g-u)?0-(g-u):0<v?0:v,"vertical"!==o&&r.width()>=s.width()&&(v=0),"vertical"===o&&r.height()>=s.height()&&(v=0),t.hasClass("dragged")||("vertical"===o?s.data("tmmove",punchgs.TweenLite.to(s,.5,{top:v+"px",ease:punchgs.Power3.easeInOut})):s.data("tmmove",punchgs.TweenLite.to(s,.5,{left:v+"px",ease:punchgs.Power3.easeInOut})),s.data("offset",v))},d=function(t,i,e,a,n,r){var s=e.parent().find(".tp-"+r+"s"),o=s.find(".tp-"+r+"s-inner-wrapper"),d=s.find(".tp-"+r+"-mask"),l=a.width*t<a.min_width?a.min_width:Math.round(a.width*t),h=Math.round(l/a.width*a.height),p="vertical"===a.direction?l:l*n+a.space*(n-1),u="vertical"===a.direction?h*n+a.space*(n-1):h,c="vertical"===a.direction?{width:l+"px"}:{height:h+"px"};i.add(punchgs.TweenLite.set(s,c)),i.add(punchgs.TweenLite.set(o,{width:p+"px",height:u+"px"})),i.add(punchgs.TweenLite.set(d,{width:p+"px",height:u+"px"}));var g=o.find(".tp-"+r);return g&&jQuery.each(g,function(t,e){"vertical"===a.direction?i.add(punchgs.TweenLite.set(e,{top:t*(h+parseInt(void 0===a.space?0:a.space,0)),width:l+"px",height:h+"px"})):"horizontal"===a.direction&&i.add(punchgs.TweenLite.set(e,{left:t*(l+parseInt(void 0===a.space?0:a.space,0)),width:l+"px",height:h+"px"}))}),i},e=function(e,i){"on"===i.navigation.keyboardNavigation&&jQuery(document).keydown(function(t){("horizontal"==i.navigation.keyboard_direction&&39==t.keyCode||"vertical"==i.navigation.keyboard_direction&&40==t.keyCode)&&(i.sc_indicator="arrow",i.sc_indicator_dir=0,I.callingNewSlide(i,e,1)),("horizontal"==i.navigation.keyboard_direction&&37==t.keyCode||"vertical"==i.navigation.keyboard_direction&&38==t.keyCode)&&(i.sc_indicator="arrow",i.sc_indicator_dir=1,I.callingNewSlide(i,e,-1))})},i=function(g,v){if("on"===v.navigation.mouseScrollNavigation||"carousel"===v.navigation.mouseScrollNavigation){v.isIEEleven=!!navigator.userAgent.match(/Trident.*rv\:11\./),v.isSafari=!!navigator.userAgent.match(/safari/i),v.ischrome=!!navigator.userAgent.match(/chrome/i);var f=v.ischrome?-49:v.isIEEleven||v.isSafari?-9:navigator.userAgent.match(/mozilla/i)?-29:-49,m=v.ischrome?49:v.isIEEleven||v.isSafari?9:navigator.userAgent.match(/mozilla/i)?29:49;g.on("mousewheel DOMMouseScroll",function(t){var e,i,a,n,r,s=(e=t.originalEvent,r=n=a=i=0,"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120
26),"wheelDeltaX"in e&&(i=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=a,a=0),n=1*i,r=1*a,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||r)&&e.deltaMode&&(e.deltaMode,n*=1,r*=1),n&&!i&&(i=n<1?-1:1),r&&!a&&(a=r<1?-1:1),(300<(r=navigator.userAgent.match(/mozilla/i)?10*r:r)||r<-300)&&(r/=10),{spinX:i,spinY:a,pixelX:n,pixelY:r}),o=g.find(".tp-revslider-slidesli.active-revslide").index(),d=g.find(".tp-revslider-slidesli.processing-revslide").index(),l=-1!=o&&0==o||-1!=d&&0==d,h=-1!=o&&o==v.slideamount-1||1!=d&&d==v.slideamount-1,p=!0;"carousel"==v.navigation.mouseScrollNavigation&&(l=h=!1),-1==d?s.pixelY<f?(l||(v.sc_indicator="arrow","reverse"!==v.navigation.mouseScrollReverse&&(v.sc_indicator_dir=0,I.callingNewSlide(v,g,-1)),p=!1),h||(v.sc_indicator="arrow","reverse"===v.navigation.mouseScrollReverse&&(v.sc_indicator_dir=1,I.callingNewSlide(v,g,1)),p=!1)):m<s.pixelY&&(h||(v.sc_indicator="arrow","reverse"!==v.navigation.mouseScrollReverse&&(v.sc_indicator_dir=1,I.callingNewSlide(v,g,1)),p=!1),l||(v.sc_indicator="arrow","reverse"===v.navigation.mouseScrollReverse&&(v.sc_indicator_dir=0,I.callingNewSlide(v,g,-1)),p=!1)):p=!1;var u=v.c.offset().top-jQuery("body").scrollTop(),c=u+v.c.height();return"carousel"!=v.navigation.mouseScrollNavigation?("reverse"!==v.navigation.mouseScrollReverse&&(0<u&&0<s.pixelY||c<jQuery(window).height()&&s.pixelY<0)&&(p=!0),"reverse"===v.navigation.mouseScrollReverse&&(u<0&&s.pixelY<0||c>jQuery(window).height()&&0<s.pixelY)&&(p=!0)):p=!1,0==p?(t.preventDefault(t),!1):void 0})}},O=function(t,e,i){return!0===(t=c?jQuery(i.target).closest("."+t).length||jQuery(i.srcElement).closest("."+t).length:jQuery(i.toElement).closest("."+t).length||jQuery(i.originalTarget).closest("."+t).length)||1===t?1:0},v=function(C,L,t){C.data("opt",L);var Q=L.carousel;jQuery(".bullet, .bullets, .tp-bullets, .tparrows").addClass("noSwipe"),Q.Limit="endless";var e=(c||I.get_browser(),C),i="vertical"===L.navigation.thumbnails.direction||"vertical"===L.navigation.tabs.direction?"none":"vertical",k=L.navigation.touch.swipe_direction||"horizontal";i="swipebased"==t&&"vertical"==k?"none":t?"vertical":i,jQuery.fn.swipetp||(jQuery.fn.swipetp=jQuery.fn.swipe),jQuery.fn.swipetp.defaults&&jQuery.fn.swipetp.defaults.excludedElements||jQuery.fn.swipetp.defaults||(jQuery.fn.swipetp.defaults=new Object),jQuery.fn.swipetp.defaults.excludedElements="label, button, input, select, textarea, .noSwipe",e.swipetp({allowPageScroll:i,triggerOnTouchLeave:!0,treshold:L.navigation.touch.swipe_treshold,fingers:L.navigation.touch.swipe_min_touches,excludeElements:jQuery.fn.swipetp.defaults.excludedElements,swipeStatus:function(t,e,i,a,n,r,s){var o=O("rev_slider_wrapper",0,t),d=O("tp-thumbs",0,t),l=O("tp-tabs",0,t),h=!!jQuery(this).attr("class").match(/tp-tabs|tp-thumb/gi);if("carousel"===L.sliderType&&(("move"===e||"end"===e||"cancel"==e)&&L.dragStartedOverSlider&&!L.dragStartedOverThumbs&&!L.dragStartedOverTabs||"start"===e&&0<o&&0===d&&0===l))switch(L.dragStartedOverSlider=!0,a=i&&i.match(/left|up/g)?Math.round(-1*a):a=Math.round(1*a),e){case"start":void 0!==Q.positionanim&&(Q.positionanim.kill(),Q.slide_globaloffset="off"===Q.infinity?Q.slide_offset:I.simp(Q.slide_offset,Q.maxwidth)),Q.overpull="none",Q.wrap.addClass("dragged");break;case"move":if(Q.slide_offset="off"===Q.infinity?Q.slide_globaloffset+a:I.simp(Q.slide_globaloffset+a,Q.maxwidth),"off"===Q.infinity){var p="center"===Q.horizontal_align?(Q.wrapwidth/2-Q.slide_width/2-Q.slide_offset)/Q.slide_width:(0-Q.slide_offset)/Q.slide_width;"none"!==Q.overpull&&0!==Q.overpull||!(p<0||p>L.slideamount-1)?0<=p&&p<=L.slideamount-1&&(0<=p&&a>Q.overpull||p<=L.slideamount-1&&a<Q.overpull)&&(Q.overpull=0):Q.overpull=a,Q.slide_offset=p<0?Q.slide_offset+(Q.overpull-a)/1.1+Math.sqrt(Math.abs((Q.overpull-a)/1.1)):p>L.slideamount-1?Q.slide_offset+(Q.overpull-a)/1.1-Math.sqrt(Math.abs((Q.overpull-a)/1.1)):Q.slide_offset}I.organiseCarousel(L,i,!0,!0);break;case"end":case"cancel":Q.slide_globaloffset=Q.slide_offset,Q.wrap.removeClass("dragged"),I.carouselToEvalPosition(L,i),L.dragStartedOverSlider=!1,L.dragStartedOverThumbs=!1,L.dragStartedOverTabs=!1}else{if(("move"!==e&&"end"!==e&&"cancel"!=e||L.dragStartedOverSlider||!L.dragStartedOverThumbs&&!L.dragStartedOverTabs)&&!("start"===e&&0<o&&(0<d||0<l))){if("end"==e&&!h){if
vendor: 10,781 bytes, line 26
26(L.sc_indicator="arrow","horizontal"==k&&"left"==i||"vertical"==k&&"up"==i)return L.sc_indicator_dir=0,I.callingNewSlide(L,L.c,1),!1;if("horizontal"==k&&"right"==i||"vertical"==k&&"down"==i)return L.sc_indicator_dir=1,I.callingNewSlide(L,L.c,-1),!1}return L.dragStartedOverSlider=!1,L.dragStartedOverThumbs=!1,!(L.dragStartedOverTabs=!1)}0<d&&(L.dragStartedOverThumbs=!0),0<l&&(L.dragStartedOverTabs=!0);var u=L.dragStartedOverThumbs?".tp-thumbs":".tp-tabs",c=L.dragStartedOverThumbs?".tp-thumb-mask":".tp-tab-mask",g=L.dragStartedOverThumbs?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",v=L.dragStartedOverThumbs?".tp-thumb":".tp-tab",f=L.dragStartedOverThumbs?L.navigation.thumbnails:L.navigation.tabs;a=i&&i.match(/left|up/g)?Math.round(-1*a):a=Math.round(1*a);var m=C.parent().find(c),b=m.find(g),w=f.direction,_="vertical"===w?b.height():b.width(),x="vertical"===w?m.height():m.width(),y="vertical"===w?m.find(v).first().outerHeight(!0)+f.space:m.find(v).first().outerWidth(!0)+f.space,T=void 0===b.data("offset")?0:parseInt(b.data("offset"),0),S=0;switch(e){case"start":C.parent().find(u).addClass("dragged"),T="vertical"===w?b.position().top:b.position().left,b.data("offset",T),b.data("tmmove")&&b.data("tmmove").pause();break;case"move":if(_<=x)return!1;S=0<(S=T+a)?"horizontal"===w?S-b.width()*(S/b.width()*S/b.width()):S-b.height()*(S/b.height()*S/b.height()):S;var j="vertical"===w?0-(b.height()-m.height()):0-(b.width()-m.width());S=S<j?"horizontal"===w?S+b.width()*(S-j)/b.width()*(S-j)/b.width():S+b.height()*(S-j)/b.height()*(S-j)/b.height():S,"vertical"===w?punchgs.TweenLite.set(b,{top:S+"px"}):punchgs.TweenLite.set(b,{left:S+"px"});break;case"end":case"cancel":if(h)return S=T+a,S=0<(S="vertical"===w?S<0-(b.height()-m.height())?0-(b.height()-m.height()):S:S<0-(b.width()-m.width())?0-(b.width()-m.width()):S)?0:S,S=Math.abs(a)>y/10?a<=0?Math.floor(S/y)*y:Math.ceil(S/y)*y:a<0?Math.ceil(S/y)*y:Math.floor(S/y)*y,S=0<(S="vertical"===w?S<0-(b.height()-m.height())?0-(b.height()-m.height()):S:S<0-(b.width()-m.width())?0-(b.width()-m.width()):S)?0:S,"vertical"===w?punchgs.TweenLite.to(b,.5,{top:S+"px",ease:punchgs.Power3.easeOut}):punchgs.TweenLite.to(b,.5,{left:S+"px",ease:punchgs.Power3.easeOut}),S=S||("vertical"===w?b.position().top:b.position().left),b.data("offset",S),b.data("distance",a),setTimeout(function(){L.dragStartedOverSlider=!1,L.dragStartedOverThumbs=!1,L.dragStartedOverTabs=!1},100),C.parent().find(u).removeClass("dragged"),!1}}}})},f=function(t){t.hide_delay=jQuery.isNumeric(parseInt(t.hide_delay,0))?t.hide_delay/1e3:.2,t.hide_delay_mobile=jQuery.isNumeric(parseInt(t.hide_delay_mobile,0))?t.hide_delay_mobile/1e3:.2},m=function(t){return t&&t.enable},a=function(t){return t&&t.enable&&!0===t.hide_onleave&&(void 0===t.position||!t.position.match(/outer/g))},b=function(t,e){var i=t.parent();a(e.navigation.arrows)&&punchgs.TweenLite.delayedCall(c?e.navigation.arrows.hide_delay_mobile:e.navigation.arrows.hide_delay,w,[i.find(".tparrows"),e.navigation.arrows,"hide"]),a(e.navigation.bullets)&&punchgs.TweenLite.delayedCall(c?e.navigation.bullets.hide_delay_mobile:e.navigation.bullets.hide_delay,w,[i.find(".tp-bullets"),e.navigation.bullets,"hide"]),a(e.navigation.thumbnails)&&punchgs.TweenLite.delayedCall(c?e.navigation.thumbnails.hide_delay_mobile:e.navigation.thumbnails.hide_delay,w,[i.find(".tp-thumbs"),e.navigation.thumbnails,"hide"]),a(e.navigation.tabs)&&punchgs.TweenLite.delayedCall(c?e.navigation.tabs.hide_delay_mobile:e.navigation.tabs.hide_delay,w,[i.find(".tp-tabs"),e.navigation.tabs,"hide"])},w=function(t,e,i,a){switch(a=void 0===a?.5:a,i){case"show":punchgs.TweenLite.to(t,a,{autoAlpha:1,ease:punchgs.Power3.easeInOut,overwrite:"auto"});break;case"hide":punchgs.TweenLite.to(t,a,{autoAlpha:0,ease:punchgs.Power3.easeInOu,overwrite:"auto"})}},_=function(t,e,i){e.style=void 0===e.style?"":e.style,e.left.style=void 0===e.left.style?"":e.left.style,e.right.style=void 0===e.right.style?"":e.right.style,0===t.find(".tp-leftarrow.tparrows").length&&t.append('<div class="tp-leftarrow tparrows '+e.style+" "+e.left.style+'">'+e.tmp+"</div>"),0===t.find(".tp-rightarrow.tparrows").length&&t.append('<div class="tp-rightarrow tparrows '+e.style+" "+e.right.style+'">'+e.tmp+"</div>");var a=t.find(".tp-leftarrow.tparrows"),n=t.find(".tp-rightarrow.tparrows");e.rtl?(a.click(function(){i.sc_indicator="arrow",i.sc_indicator_dir=0,t.revnext()}),n.click(function(){i.sc_indicator="arrow",i.sc_indicator_dir=1,t.revprev()})):(n.click(function(){i.sc_indicator="arrow",i.sc_indicator_dir=0,t.revnext()}),a.click(function(){i.sc_indicator="arrow",i.sc_indicator_dir=1,t.revprev()})),e.right.j=t.find(".tp-rightarrow.tparrows"),e.left.j=t.find(".tp-leftarrow.tparrows"),e.padding_top=parseInt(i.carousel.padding_top||0,0),e.padding_bottom=parseInt(i.carousel.padding_bottom||0,0),j(a,e.left,i),j(n,e.right,i),e.left.opt=i,e.right.opt=i,("outer-left"==e.position||"outer-right"==e.position)&&(i.outernav=!0)},u=function(t,e,i){var a=t.outerHeight(!0),n=(t.outerWidth(!0),null==e.opt?0:0==i.conh?i.height:i.conh),r="layergrid"==e.container?"fullscreen"==i.sliderLayout?i.height/2-i.gridheight[i.curWinRange]*i.bh/2:"on"==i.autoHeight||null!=i.minHeight&&0<i.minHeight?n/2-i.gridheight[i.curWinRange]*i.bh/2:0:0,s="top"===e.v_align?{top:"0px",y:Math.round(e.v_offset+r)+"px"}:"center"===e.v_align?{top:"50%",y:Math.round(0-a/2+e.v_offset)+"px"}:{top:"100%",y:Math.round(0-(a+e.v_offset+r))+"px"};t.hasClass("outer-bottom")||punchgs.TweenLite.set(t,s)},x=function(t,e,i){var a=(t.outerHeight(!0),t.outerWidth(!0)),n="layergrid"==e.container?"carousel"===i.sliderType?0:i.width/2-i.gridwidth[i.curWinRange]*i.bw/2:0,r="left"===e.h_align?{left:"0px",x:Math.round(e.h_offset+n)+"px"}:"center"===e.h_align?{left:"50%",x:Math.round(0-a/2+e.h_offset)+"px"}:{left:"100%",x:Math.round(0-(a+e.h_offset+n))+"px"};punchgs.TweenLite.set(t,r)},j=function(t,e,i){var a=0<t.closest(".tp-simpleresponsive").length?t.closest(".tp-simpleresponsive"):0<t.closest(".tp-revslider-mainul").length?t.closest(".tp-revslider-mainul"):0<t.closest(".rev_slider_wrapper").length?t.closest(".rev_slider_wrapper"):t.parent().find(".tp-revslider-mainul"),n=a.width(),r=a.height();if(u(t,e,i),x(t,e,i),"outer-left"!==e.position||"fullwidth"!=e.sliderLayout&&"fullscreen"!=e.sliderLayout?"outer-right"!==e.position||"fullwidth"!=e.sliderLayout&&"fullscreen"!=e.sliderLayout||punchgs.TweenLite.set(t,{right:0-t.outerWidth()+"px",x:e.h_offset+"px"}):punchgs.TweenLite.set(t,{left:0-t.outerWidth()+"px",x:e.h_offset+"px"}),t.hasClass("tp-thumbs")||t.hasClass("tp-tabs")){var s=t.data("wr_padding"),o=t.data("maxw"),d=t.data("maxh"),l=t.hasClass("tp-thumbs")?t.find(".tp-thumb-mask"):t.find(".tp-tab-mask"),h=parseInt(e.padding_top||0,0),p=parseInt(e.padding_bottom||0,0);n<o&&"outer-left"!==e.position&&"outer-right"!==e.position?(punchgs.TweenLite.set(t,{left:"0px",x:0,maxWidth:n-2*s+"px"}),punchgs.TweenLite.set(l,{maxWidth:n-2*s+"px"})):(punchgs.TweenLite.set(t,{maxWidth:o+"px"}),punchgs.TweenLite.set(l,{maxWidth:o+"px"})),r<d+2*s&&"outer-bottom"!==e.position&&"outer-top"!==e.position?(punchgs.TweenLite.set(t,{top:"0px",y:0,maxHeight:h+p+(r-2*s)+"px"}),punchgs.TweenLite.set(l,{maxHeight:h+p+(r-2*s)+"px"})):(punchgs.TweenLite.set(t,{maxHeight:d+"px"}),punchgs.TweenLite.set(l,{maxHeight:d+"px"})),"outer-left"!==e.position&&"outer-right"!==e.position&&(p=h=0),!0===e.span&&"vertical"===e.direction?(punchgs.TweenLite.set(t,{maxHeight:h+p+(r-2*s)+"px",height:h+p+(r-2*s)+"px",top:0-h,y:0}),u(l,e,i)):!0===e.span&&"horizontal"===e.direction&&(punchgs.TweenLite.set(t,{maxWidth:"100%",width:n-2*s+"px",left:0,x:0}),x(l,e,i))}},y=function(t,e,i,a){0===t.find(".tp-bullets").length&&(e.style=void 0===e.style?"":e.style,t.append('<div class="tp-bullets '+e.style+" "+e.direction+'"></div>'));var n=t.find(".tp-bullets"),r=i.data("index"),s=e.tmp;jQuery.each(a.thumbs[i.index()].params,function(t,e){s=s.replace(e.from,e.to)}),n.append('<div class="justaddedbullet tp-bullet">'+s+"</div>");var o=t.find(".justaddedbullet"),d=t.find(".tp-bullet").length,l=o.outerWidth()+parseInt(void 0===e.space?0:e.space,0),h=o.outerHeight()+parseInt(void 0===e.space?0:e.space,0);"vertical"===e.direction?(o.css({top:(d-1)*h+"px",left:"0px"}),n.css({height:(d-1)*h+o.outerHeight(),width:o.outerWidth()})):(o.css({left:(d-1)*l+"px",top:"0px"}),n.css({width:(d-1)*l+o.outerWidth(),height:o.outerHeight()})),o.find(".tp-bullet-image").css({backgroundImage:"url("+a.thumbs[i.index()].src+")"}),o.data("liref",r),o.click(function(){a.sc_indicator="bullet",t.revcallslidewithid(r),t.find(".tp-bullet").removeClass("selected"),jQuery(this).addClass("selected")}),o.removeClass("justaddedbullet"),e.padding_top=parseInt(a.carousel.padding_top||0,0),e.padding_bottom=parseInt(a.carousel.padding_bottom||0,0),e.opt=a,("outer-left"==e.position||"outer-right"==e.position)&&(a.outernav=!0),n.addClass("nav-pos-hor-"+e.h_align),n.addClass("nav-pos-ver-"+e.v_align),n.addClass("nav-dir-"+e.direction),j(n,e,a)},T=function(e,t,i,a,n){var r="tp-thumb"===a?".tp-thumbs":".tp-tabs",s="tp-thumb"===a?".tp-thumb-mask":".tp-tab-mask",o="tp-thumb"===a?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",d="tp-thumb"===a?".tp-thumb":".tp-tab",l="tp-thumb"===a?".tp-thumb-image":".tp-tab-image";if(t.visibleAmount=t.visibleAmount>n.slideamount?n.slideamount:t.visibleAmount,t.sliderLayout=n.sliderLayout,0===e.parent().find(r).length){t.style=void 0===t.style?"":t.style;var h='<div class="'+a+"s "+(!0===t.span?"tp-span-wrapper":"")+" "+t.position+" "+t.style+'"><div class="'+a+'-mask"><div class="'+a+'s-inner-wrapper" style="position:relative;"></div></div></div>';"outer-top"===t.position?e.parent().prepend(h):"outer-bottom"===t.position?e.after(h):e.append(h),t.padding_top=parseInt(n.carousel.padding_top||0,0),t.padding_bottom=parseInt(n.carousel.padding_bottom||0,0),("outer-left"==t.position||"outer-right"==t.position)&&(n.outernav=!0)}var p=i.data("index"),u=e.parent().find(r),c=u.find(s),g=c.find(o),v="horizontal"===t.direction?t.width*t.visibleAmount+t.space*(t.visibleAmount-1):t.width,f="horizontal"===t.direction?t.height:t.height*t.visibleAmount+t.space*(t.visibleAmount-1),m=t.tmp;jQuery.each(n.thumbs[i.index()].params,function(t,e){m=m.replace(e.from,e.to)}),g.append('<div data-liindex="'+i.index()+'" data-liref="'+p+'" class="justaddedthumb '+a+'" style="width:'+t.width+"px;height:"+t.height+'px;">'+m+"</div>");var b=u.find(".justaddedthumb"),w=u.find(d).length,_=b.outerWidth()+parseInt(void 0===t.space?0:t.space,0),x=b.outerHeight()+parseInt(void 0===t.space?0:t.space,0);b.find(l).css({backgroundImage:"url("+n.thumbs[i.index()].src+")"}),"vertical"===t.direction?(b.css({top:(w-1)*x+"px",left:"0px"}),g.css({height:(w-1)*x+b.outerHeight(),width:b.outerWidth()}
26)):(b.css({left:(w-1)*_+"px",top:"0px"}),g.css({width:(w-1)*_+b.outerWidth(),height:b.outerHeight()})),u.data("maxw",v),u.data("maxh",f),u.data("wr_padding",t.wrapper_padding);var y,T,S="outer-top"===t.position||"outer-bottom"===t.position?"relative":"absolute";"outer-top"!==t.position&&"outer-bottom"!==t.position||t.h_align,c.css({maxWidth:v+"px",maxHeight:f+"px",overflow:"hidden",position:"relative"}),u.css({maxWidth:v+"px",maxHeight:f+"px",overflow:"visible",position:S,background:(y=t.wrapper_color,T=t.wrapper_opacity,T=parseFloat(T),y=y.replace("#",""),"rgba("+parseInt(y.substring(0,2),16)+","+parseInt(y.substring(2,4),16)+","+parseInt(y.substring(4,6),16)+","+T+")"),padding:t.wrapper_padding+"px",boxSizing:"contet-box"}),b.click(function(){n.sc_indicator="bullet";var t=e.parent().find(o).data("distance");t=void 0===t?0:t,Math.abs(t)<10&&(e.revcallslidewithid(p),e.parent().find(r).removeClass("selected"),jQuery(this).addClass("selected"))}),b.removeClass("justaddedthumb"),t.opt=n,u.addClass("nav-pos-hor-"+t.h_align),u.addClass("nav-pos-ver-"+t.v_align),u.addClass("nav-dir-"+t.direction),j(u,t,n)},l=function(t){var e=t.c.parent().find(".outer-top"),i=t.c.parent().find(".outer-bottom");t.top_outer=e.hasClass("tp-forcenotvisible")?0:e.outerHeight()||0,t.bottom_outer=i.hasClass("tp-forcenotvisible")?0:i.outerHeight()||0},s=function(t,e,i,a){i<e||a<i?t.addClass("tp-forcenotvisible"):t.removeClass("tp-forcenotvisible")}}(jQuery); 27/* revolution.extension.parallax.min.js */ 28!function(e){function h(e,r){e.lastscrolltop=r}var u=jQuery.fn.revolution,w=u.is_mobile();jQuery.extend(!0,u,{checkForParallax:function(g,y){function e(e){if("3D"==x.type||"3d"==x.type){e.find(".slotholder").wrapAll('<div class="dddwrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden"></div>'),e.find(".tp-parallax-wrap").wrapAll('<div class="dddwrapper-layer" style="width:100%;height:100%;position:absolute;top:0px;left:0px;z-index:5;overflow:'+x.ddd_layer_overflow+';"></div>'),e.find(".rs-parallaxlevel-tobggroup").closest(".tp-parallax-wrap").wrapAll('<div class="dddwrapper-layertobggroup" style="position:absolute;top:0px;left:0px;z-index:50;width:100%;height:100%"></div>');var r=e.find(".dddwrapper"),t=e.find(".dddwrapper-layer");e.find(".dddwrapper-layertobggroup").appendTo(r),"carousel"==y.sliderType&&("on"==x.ddd_shadow&&r.addClass("dddwrappershadow"),punchgs.TweenLite.set(r,{borderRadius:y.carousel.border_radius})),punchgs.TweenLite.set(e,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600}),punchgs.TweenLite.set(r,{force3D:"auto",transformOrigin:"50% 50%"}),punchgs.TweenLite.set(t,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5}),punchgs.TweenLite.set(y.ul,{transformStyle:"preserve-3d",transformPerspective:1600})}}var x=y.parallax;if(!x.done){if(x.done=!0,w&&"on"==x.disable_onmobile)return!1;("3D"==x.type||"3d"==x.type)&&(punchgs.TweenLite.set(y.c,{overflow:x.ddd_overflow}),punchgs.TweenLite.set(y.ul,{overflow:x.ddd_overflow}),"carousel"!=y.sliderType&&"on"==x.ddd_shadow&&(y.c.prepend('<div class="dddwrappershadow"></div>'),punchgs.TweenLite.set(y.c.find(".dddwrappershadow"),{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%",width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0}))),y.li.each(function(){e(jQuery(this))}),("3D"==x.type||"3d"==x.type&&0<y.c.find(".tp-static-layers").length)&&(punchgs.TweenLite.set(y.c.find(".tp-static-layers"),{top:0,left:0,width:"100%",height:"100%"}),e(y.c.find(".tp-static-layers"))),x.pcontainers=new Array,x.pcontainer_depths=new Array,x.bgcontainers=new Array,x.bgcontainer_depths=new Array,y.c.find(".tp-revslider-slidesli .slotholder, .tp-revslider-slidesli .rs-background-video-layer").each(function(){var e=jQuery(this),r=e.data("bgparallax")||y.parallax.bgparallax;void 0!==(r="on"==r?1:r)&&"off"!==r&&(x.bgcontainers.push(e),x.bgcontainer_depths.push(y.parallax.levels[parseInt(r,0)-1]/100))});for(var r=1;r<=x.levels.length;r++)y.c.find(".rs-parallaxlevel-"+r).each(function(){var e=jQuery(this).closest(".tp-parallax-wrap");e.data("parallaxlevel",x.levels[r-1]),e.addClass("tp-parallax-container"),x.pcontainers.push(e),x.pcontainer_depths.push(x.levels[r-1])});
vendor: 5,458 bytes, line 28
28("mouse"==x.type||"scroll+mouse"==x.type||"mouse+scroll"==x.type||"3D"==x.type||"3d"==x.type)&&(g.mouseenter(function(e){var r=g.find(".active-revslide"),t=g.offset().top,a=g.offset().left,s=e.pageX-a,o=e.pageY-t;r.data("enterx",s),r.data("entery",o)}),g.on("mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath",function(d,e){var r=e&&e.li?e.li:g.find(".active-revslide");if("enterpoint"==x.origo){var t=g.offset().top,a=g.offset().left;null==r.data("enterx")&&r.data("enterx",d.pageX-a),null==r.data("entery")&&r.data("entery",d.pageY-t);var s=r.data("enterx")||d.pageX-a,o=r.data("entery")||d.pageY-t,p=s-(d.pageX-a),c=o-(d.pageY-t),h=x.speed/1e3||.4}else t=g.offset().top,a=g.offset().left,p=y.conw/2-(d.pageX-a),c=y.conh/2-(d.pageY-t),h=x.speed/1e3||3;"mouseleave"==d.type&&(p=x.ddd_lasth||0,c=x.ddd_lastv||0,h=1.5);for(var i=0;i<x.pcontainers.length;i++){var l=x.pcontainers[i],n=x.pcontainer_depths[i],u="3D"==x.type||"3d"==x.type?n/200:n/100,w=p*u,f=c*u;"scroll+mouse"==x.type||"mouse+scroll"==x.type?punchgs.TweenLite.to(l,h,{force3D:"auto",x:w,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(l,h,{force3D:"auto",x:w,y:f,ease:punchgs.Power3.easeOut,overwrite:"all"})}if("3D"==x.type||"3d"==x.type){var v=".tp-revslider-slidesli .dddwrapper, .dddwrappershadow, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer";"carousel"===y.sliderType&&(v=".tp-revslider-slidesli .dddwrapper, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer"),y.c.find(v).each(function(){var e=jQuery(this),r=x.levels[x.levels.length-1]/200,t=p*r,a=c*r,s=0==y.conw?0:Math.round(p/y.conw*r*100)||0,o=0==y.conh?0:Math.round(c/y.conh*r*100)||0,i=e.closest("li"),l=0,n=!1;e.hasClass("dddwrapper-layer")&&(l=x.ddd_z_correction||65,n=!0),e.hasClass("dddwrapper-layer")&&(a=t=0),i.hasClass("active-revslide")||"carousel"!=y.sliderType?"on"!=x.ddd_bgfreeze||n?punchgs.TweenLite.to(e,h,{rotationX:o,rotationY:-s,x:t,z:l,y:a,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,.5,{force3D:"auto",rotationY:0,z:0,x:0,y:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}),"mouseleave"==d.type&&punchgs.TweenLite.to(jQuery(this),3.8,{z:0,ease:punchgs.Power3.easeOut})})}}),w&&(window.ondeviceorientation=function(t){var e=Math.round(t.beta||0)-70,r=Math.round(t.gamma||0),a=g.find(".active-revslide");if(jQuery(window).width()>jQuery(window).height()){var s=r;r=e,e=s}var o=g.width(),i=g.height(),l=360/o*r,n=180/i*e,d=x.speed/1e3||3,p=[];if(a.find(".tp-parallax-container").each(function(e){p.push(jQuery(this))}),g.find(".tp-static-layers .tp-parallax-container").each(function(){p.push(jQuery(this))}),jQuery.each(p,function(){var e=jQuery(this),r=parseInt(e.data("parallaxlevel"),0)/100,t=l*r*2,a=n*r*4;punchgs.TweenLite.to(e,d,{force3D:"auto",x:t,y:a,ease:punchgs.Power3.easeOut,overwrite:"all"})}),"3D"==x.type||"3d"==x.type){var c=".tp-revslider-slidesli .dddwrapper, .dddwrappershadow, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer";"carousel"===y.sliderType&&(c=".tp-revslider-slidesli .dddwrapper, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer"),y.c.find(c).each(function(){var e=jQuery(this),r=x.levels[x.levels.length-1]/200;offsh=l*r,offsv=n*r*3,offrv=0==y.conw?0:Math.round(l/y.conw*r*500)||0,offrh=0==y.conh?0:Math.round(n/y.conh*r*700)||0,li=e.closest("li"),zz=0,itslayer=!1,e.hasClass("dddwrapper-layer")&&(zz=x.ddd_z_correction||65,itslayer=!0),e.hasClass("dddwrapper-layer")&&(offsh=0,offsv=0),li.hasClass("active-revslide")||"carousel"!=y.sliderType?"on"!=x.ddd_bgfreeze||itslayer?punchgs.TweenLite.to(e,d,{rotationX:offrh,rotationY:-offrv,x:offsh,z:zz,y:offsv,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,.5,{force3D:"auto",rotationY:0,z:0,x:0,y:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}),"mouseleave"==t.type&&punchgs.TweenLite.to(jQuery(this),3.8,{z:0,ease:punchgs.Power3.easeOut})})}})),u.scrollTicker(y,g)}},scrollTicker:function(r,e){1!=r.scrollTicker&&(r.scrollTicker=!0,w?(punchgs.TweenLite.ticker.fps(150),punchgs.TweenLite.ticker.addEventListener("tick",function(){u.scrollHandling(r)},e,!1,1)):document.addEventListener("scroll",function(e){u.scrollHandling(r,!0)},{passive:!0})),u.scrollHandling(r,!0)},scrollHandling:function(e,r){if(e.lastwindowheight=e.lastwindowheight||window.innerHeight,e.lastscrolltop==window.scrollY&&!e.duringslidechange&&!r)return!1;punchgs.TweenLite.delayedCall(.2,h,[e,window.scrollY]);var t=e.c[0].getBoundingClientRect(),a=e.viewPort,s=e.parallax,o=t.top<0||t.height>e.lastwindowheight?t.top/t.height:t.bottom>e.lastwindowheight?(t.bottom-e.lastwindowheight)/t.height:0;if(e.scrollproc=o,u.callBackHandling&&u.callBackHandling(e,"parallax","start"),a.enable){var i=1-Math.abs(o);i=i<0?0:i,jQuery.isNumeric(a.visible_area)||-1!==a.visible_area.indexOf("%")&&(a.visible_area=parseInt(a.visible_area)/100),1-a.visible_area<=i?e.inviewport||(e.inviewport=!0,u.enterInViewPort(e)):e.inviewport&&(e.inviewport=!1,u.leaveViewPort(e))}if(w&&"on"==s.disable_onmobile)return!1;if("3d"!=s.type&&"3D"!=s.type){if(("scroll"==s.type||"scroll+mouse"==s.type||"mouse+scroll"==s.type)&&s.pcontainers
28)for(var l=0;l<s.pcontainers.length;l++)if(0<s.pcontainers[l].length){var n=s.pcontainers[l],d=s.pcontainer_depths[l]/100,p=Math.round(o*(-d*e.conh)*10)/10||0;n.data("parallaxoffset",p),punchgs.TweenLite.set(n,{overwrite:"auto",force3D:"auto",y:p})}if(s.bgcontainers)for(l=0;l<s.bgcontainers.length;l++){var c=s.bgcontainers[l];p=o*(-s.bgcontainer_depths[l]*e.conh)||0;punchgs.TweenLite.set(c,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:p+"px"})}}u.callBackHandling&&u.callBackHandling(e,"parallax","end")}})}(jQuery); 29/* revolution.extension.slideanims.min.js */ 30!function(t){var T=jQuery.fn.revolution;jQuery.extend(!0,T,{animateSlide:function(t,e,o,a,i,n,r,s,l){return d(t,e,o,a,i,n,r,s,l)}});var ht=function(t,e,o,a){var i=t,n=i.find(".defaultimg"),r=i.data("zoomstart"),s=i.data("rotationstart");null!=n.data("currotate")&&(s=n.data("currotate")),null!=n.data("curscale")&&"box"==a?r=100*n.data("curscale"):null!=n.data("curscale")&&(r=n.data("curscale")),T.slotSize(n,e);var l=n.attr("src"),d=n.css("backgroundColor"),h=e.width,f=e.height,c=n.data("fxof");"on"==e.autoHeight&&(f=e.c.height()),null==c&&(c=0);var u=0,p=n.data("bgfit"),g=n.data("bgrepeat"),w=n.data("bgposition");switch(null==p&&(p="cover"),null==g&&(g="no-repeat"),null==w&&(w="center center"),a){case"box":for(var m=0,v=0,x=0;x<e.slots;x++){for(var y=v=0;y<e.slots;y++)i.append('<div class="slot" style="position:absolute;top:'+(0+v)+"px;left:"+(c+m)+"px;width:"+e.slotw+"px;height:"+e.sloth+'px;overflow:hidden;"><div class="slotslide" data-x="'+m+'" data-y="'+v+'" style="position:absolute;top:0px;left:0px;width:'+e.slotw+"px;height:"+e.sloth+'px;overflow:hidden;"><div style="position:absolute;top:'+(0-v)+"px;left:"+(0-m)+"px;width:"+h+"px;height:"+f+"px;background-color:"+d+";background-image:url("+l+");background-repeat:"+g+";background-size:"+p+";background-position:"+w+';"></div></div></div>'),v+=e.sloth,null!=r&&null!=s&&punchgs.TweenLite.set(i.find(".slot").last(),{rotationZ:s});m+=e.slotw}break;case"vertical":case"horizontal":if("horizontal"==a){if(!o)u=0-e.slotw;for(y=0;y<e.slots;y++)i.append('<div class="slot" style="position:absolute;top:0px;left:'+(c+y*e.slotw)+"px;overflow:hidden;width:"+(e.slotw+.6)+"px;height:"+f+'px"><div class="slotslide" style="position:absolute;top:0px;left:'+u+"px;width:"+(e.slotw+.6)+"px;height:"+f+'px;overflow:hidden;"><div style="background-color:'+d+";position:absolute;top:0px;left:"+(0-y*e.slotw)+"px;width:"+h+"px;height:"+f+"px;background-image:url("+l+");background-repeat:"+g+";background-size:"+p+";background-position:"+w+';"></div></div></div>'),null!=r&&null!=s&&punchgs.TweenLite.set(i.find(".slot").last(),{rotationZ:s})}else{if(!o)u=0-e.sloth;for(y=0;y<e.slots+2;y++)i.append('<div class="slot" style="position:absolute;top:'+(0+y*e.sloth)+"px;left:"+c+"px;overflow:hidden;width:"+h+"px;height:"+e.sloth+'px"><div class="slotslide" style="position:absolute;top:'+u+"px;left:0px;width:"+h+"px;height:"+e.sloth+'px;overflow:hidden;"><div style="background-color:'+d+";position:absolute;top:"+(0-y*e.sloth)+"px;left:0px;width:"+h+"px;height:"+f+"px;background-image:url("+l+");background-repeat:"+g+";background-size:"+p+";background-position:"+w+';"></div></div></div>'),null!=r&&null!=s&&punchgs.TweenLite.set(i.find(".slot").last(),{rotationZ:s})}}},ft=function(t,e){return null==e||jQuery.isNumeric(t)?t:null==t?t:t.split(",")[e]},d=function(a,t,e,r,o,i,n,s,m){var l=i.index(),d=o.index()<l?1:0;"arrow"==r.sc_indicator&&(d=r.sc_indicator_dir);var h=function(t,e,o,a,i){var n=punchgs.Power1.easeIn,r=punchgs.Power1.easeOut,s=punchgs.Power1.easeInOut,l=punchgs.Power2.easeIn,d=punchgs.Power2.easeOut,h=punchgs.Power2.easeInOut,f=(punc
30hgs.Power3.easeIn,punchgs.Power3.easeOut),c=punchgs.Power3.easeInOut,u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],p=[16,17,18,19,20,21,22,23,24,25,27],g=0,w=1,m=0,v=0,x=(new Array,[["boxslide",0,1,10,0,"box",!1,null,0,r,r,500,6],["boxfade",1,0,10,0,"box",!1,null,1,s,s,700,5],["slotslide-horizontal",2,0,0,200,"horizontal",!0,!1,2,h,h,700,3],["slotslide-vertical",3,0,0,200,"vertical",!0,!1,3,h,h,700,3],["curtain-1",4,3,0,0,"horizontal",!0,!0,4,r,r,300,5],["curtain-2",5,3,0,0,"horizontal",!0,!0,5,r,r,300,5],["curtain-3",6,3,25,0,"horizontal",!0,!0,6,r,r,300,5],["slotzoom-horizontal",7,0,0,400,"horizontal",!0,!0,7,r,r,300,7],["slotzoom-vertical",8,0,0,0,"vertical",!0,!0,8,d,d,500,8],["slotfade-horizontal",9,0,0,500,"horizontal",!0,null,9,d,d,500,25],["slotfade-vertical",10,0,0,500,"vertical",!0,null,10,d,d,500,25],["fade",11,0,1,300,"horizontal",!0,null,11,h,h,1e3,1],["crossfade",11,1,1,300,"horizontal",!0,null,11,h,h,1e3,1],["fadethroughdark",11,2,1,300,"horizontal",!0,null,11,h,h,1e3,1],["fadethroughlight",11,3,1,300,"horizontal",!0,null,11,h,h,1e3,1],["fadethroughtransparent",11,4,1,300,"horizontal",!0,null,11,h,h,1e3,1],["slideleft",12,0,1,0,"horizontal",!0,!0,12,c,c,1e3,1],["slideup",13,0,1,0,"horizontal",!0,!0,13,c,c,1e3,1],["slidedown",14,0,1,0,"horizontal",!0,!0,14,c,c,1e3,1],["slideright",15,0,1,0,"horizontal",!0,!0,15,c,c,1e3,1],["slideoverleft",12,7,1,0,"horizontal",!0,!0,12,c,c,1e3,1],["slideoverup",13,7,1,0,"horizontal",!0,!0,13,c,c,1e3,1],["slideoverdown",14,7,1,0,"horizontal",!0,!0,14,c,c,1e3,1],["slideoverright",15,7,1,0,"horizontal",!0,!0,15,c,c,1e3,1],["slideremoveleft",12,8,1,0,"horizontal",!0,!0,12,c,c,1e3,1],["slideremoveup",13,8,1,0,"horizontal",!0,!0,13,c,c,1e3,1],["slideremovedown",14,8,1,0,"horizontal",!0,!0,14,c,c,1e3,1],["slideremoveright",15,8,1,0,"horizontal",!0,!0,15,c,c,1e3,1],["papercut",16,0,0,600,"",null,null,16,c,c,1e3,2],["3dcurtain-horizontal",17,0,20,100,"vertical",!1,!0,17,s,s,500,7],["3dcurtain-vertical",18,0,10,100,"horizontal",!1,!0,18,s,s,500,5],["cubic",19,0,20,600,"horizontal",!1,!0,19,c,c,500,1],["cube",19,0,20,600,"horizontal",!1,!0,20,c,c,500,1],["flyin",20,0,4,600,"vertical",!1,!0,21,f,c,500,1],["turnoff",21,0,1,500,"horizontal",!1,!0,22,c,c,500,1],["incube",22,0,20,200,"horizontal",!1,!0,23,h,h,500,1],["cubic-horizontal",23,0,20,500,"vertical",!1,!0,24,d,d,500,1],["cube-horizontal",23,0,20,500,"vertical",!1,!0,25,d,d,500,1],["incube-horizontal",24,0,20,500,"vertical",!1,!0,26,h,h,500,1],["turnoff-vertical",25,0,1,200,"horizontal",!1,!0,27,h,h,500,1],["fadefromright",12,1,1,0,"horizontal",!0,!0,28,h,h,1e3,1],["fadefromleft",15,1,1,0,"horizontal",!0,!0,29,h,h,1e3,1],["fadefromtop",14,1,1,0,"horizontal",!0,!0,30,h,h,1e3,1],["fadefrombottom",13,1,1,0,"horizontal",!0,!0,31,h,h,1e3,1],["fadetoleftfadefromright",12,2,1,0,"horizontal",!0,!0,32,h,h,1e3,1],["fadetorightfadefromleft",15,2,1,0,"horizontal",!0,!0,33,h,h,1e3,1],["fadetobottomfadefromtop",14,2,1,0,"horizontal",!0,!0,34,h,h,1e3,1],["fadetotopfadefrombottom",13,2,1,0,"horizontal",!0,!0,35,h,h,1e3,1],["parallaxtoright",12,3,1,0,"horizontal",!0,!0,36,h,l,1500,1],["parallaxtoleft",15,3,1,0,"horizontal",!0,!0,37,h,l,1500,1],["parallaxtotop",14,3,1,0,"horizontal",!0,!0,38,h,n,1500,1],["parallaxtobottom",13,3,1,0,"horizontal",!0,!0,39,h,n,1500,1],["scaledownfromright",12,4,1,0,"horizontal",!0,!0,40,h,l,1e3,1],["scaledownfromleft",15,4,1,0,"horizontal",!0,!0,41,h,l,1e3,1],["scaledownfromtop",14,4,1,0,"horizontal",!0,!0,42,h,l,1e3,1],["scaledownfrombottom",13,4,1,0,"horizontal",!0,!0,43,h,l,1e3,1],["zoomout",13,5,1,0,"horizontal",!0,!0,44,h,l,1e3,1],["zoomin",13,6,1,0,"horizontal",!0,!0,45,h,l,1e3,1],["slidingoverlayup",27,0,1,0,"horizontal",!0,!0,47,s,r,2e3,1],["slidingoverlaydown",28,0,1,0,"horizontal",!0,!0,48,s,r,2e3,1],["slidingoverlayright",30,0,1,0,"horizontal",!0,!0,49,s,r,2e3,1],["slidingoverlayleft",29,0,1,0,"horizontal",!0,!0,50,s,r,2e3,1],["parallaxcirclesup",31,0,1,0,"horizontal",!0,!0,51,h,n,1500,1],["parallaxcirclesdown",32,0,1,0,"horizontal",!0,!0,52,h,n,1500,1],["parallaxcirclesright",33,0,1,0,"horizontal",!0,!0,53,h,n,1500,1],["parallaxcirclesleft",34,0,1,0,"horizontal",!0,!0,54,h,n,1500,1],["notransition",26,0,1,0,"horizontal",!0,null,46,h,l,1e3,1],["parallaxright",12,3,1,0,"horizontal",!0,!0,55,h,l,1500,1],["parallaxleft",15,3,1,0,"horizontal",!0,!0,56,h,l,1500,1],["parallaxup",14,3,1,0,"horizontal",!0,!0,57,h,n,1500,1],["parallaxdown",13,3,1,0,"horizontal",!0,!0,58,h,n,1500,1]]);
vendor: 20,154 bytes, lines 30-32
30e.duringslidechange=!0,e.testanims=!1,1==e.testanims&&(e.nexttesttransform=void 0===e.nexttesttransform?34:e.nexttesttransform+1,e.nexttesttransform=70<e.nexttesttransform?0:e.nexttesttransform,o=x[e.nexttesttransform][0],console.log(o+" "+e.nexttesttransform+" "+x[e.nexttesttransform][1]+" "+x[e.nexttesttransform][2])),jQuery.each(["parallaxcircles","slidingoverlay","slide","slideover","slideremove","parallax"],function(t,e){o==e+"horizontal"&&(o=1!=i?e+"left":e+"right"),o==e+"vertical"&&(o=1!=i?e+"up":e+"down")}),"random"==o&&(o=Math.round(Math.random()*x.length-1),x.length-1<o&&(o=x.length-1)),"random-static"==o&&(o=Math.round(Math.random()*u.length-1),u.length-1<o&&(o=u.length-1),o=u[o]),"random-premium"==o&&(o=Math.round(Math.random()*p.length-1),p.length-1<o&&(o=p.length-1),o=p[o]);if(1==e.isJoomla&&null!=window.MooTools&&-1!=[12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45].indexOf(o)){var y=Math.round(Math.random()*(p.length-2))+1;p.length-1<y&&(y=p.length-1),0==y&&(y=1),o=p[y]}jQuery.each(x,function(t,e){(e[0]==o||e[8]==o)&&(g=e[1],w=e[2],m=v),v+=1}),30<g&&(g=30),g<0&&(g=0);var T=new Object;return T.nexttrans=g,T.STA=x[m],T.specials=w,T}(0,r,t,0,d),f=h.STA,c=h.specials;a=h.nexttrans;"on"==n.data("kenburns")&&(a=11);var u=o.data("nexttransid")||0,p=ft(o.data("masterspeed"),u);p=(p="default"===p?f[11]:"random"===p?Math.round(1e3*Math.random()+300):null!=p?parseInt(p,0):f[11])>r.delay?r.delay:p,p+=f[4],r.slots=ft(o.data("slotamount"),u),r.slots=null==r.slots||"default"==r.slots?f[12]:"random"==r.slots?Math.round(12*Math.random()+4):r.slots,r.slots=r.slots<1?"boxslide"==t?Math.round(6*Math.random()+3):"flyin"==t?Math.round(4*Math.random()+1):r.slots:r.slots,r.slots=(4==a||5==a||6==a)&&r.slots<3?3:r.slots,r.slots=0!=f[3]?Math.min(r.slots,f[3]):r.slots,r.slots=9==a?r.width/20:10==a?r.height/20:r.slots,r.rotate=ft(o.data("rotate"),u),r.rotate=null==r.rotate||"default"==r.rotate?0:999==r.rotate||"random"==r.rotate?Math.round(360*Math.random()):r.rotate,r.rotate=!jQuery.support.transition||r.ie||r.ie9?0:r.rotate,11!=a&&(null!=f[7]&&ht(s,r,f[7],f[5]),null!=f[6]&&ht(n,r,f[6],f[5])),m.add(punchgs.TweenLite.set(n.find(".defaultvid"),{y:0,x:0,top:0,left:0,scale:1}),0),m.add(punchgs.TweenLite.set(s.find(".defaultvid"),{y:0,x:0,top:0,left:0,scale:1}),0),m.add(punchgs.TweenLite.set(n.find(".defaultvid"),{y:"+0%",x:"+0%"}),0),m.add(punchgs.TweenLite.set(s.find(".defaultvid"),{y:"+0%",x:"+0%"}),0),m.add(punchgs.TweenLite.set(n,{autoAlpha:1,y:"+0%",x:"+0%"}),0),m.add(punchgs.TweenLite.set(s,{autoAlpha:1,y:"+0%",x:"+0%"}),0),m.add(punchgs.TweenLite.set(n.parent(),{backgroundColor:"transparent"}),0),m.add(punchgs.TweenLite.set(s.parent(),{backgroundColor:"transparent"}),0);var g=ft(o.data("easein"),u),w=ft(o.data("easeout"),u);if(g="default"===g?f[9]||punchgs.Power2.easeInOut:g||f[9]||punchgs.Power2.easeInOut,w="default"===w?f[10]||punchgs.Power2.easeInOut:w||f[10]||punchgs.Power2.easeInOut,0==a){var v=Math.ceil(r.height/r.sloth),x=0;n.find(".slotslide").each(function(t){var e=jQuery(this);(x+=1)==v&&(x=0),m.add(punchgs.TweenLite.from(e,p/600,{opacity:0,top:0-r.sloth,left:0-r.slotw,rotation:r.rotate,force3D:"auto",ease:g}),(15*t+30*x)/1500)})}if(1==a){var y;n.find(".slotslide").each(function(t){var e=jQuery(this),o=Math.random()*p+300,a=500*Math.random()+200;y<o+a&&(y=a+a,t),m.add(punchgs.TweenLite.from(e,o/1e3,{autoAlpha:0,force3D:"auto",rotation:r.rotate,ease:g}),a/1e3)})}if(2==a){var T=new punchgs.TimelineLite;s.find(".slotslide").each(function(){var t=jQuery(this);T.add(punchgs.TweenLite.to(t,p/1e3,{left:r.slotw,ease:g,force3D:"auto",rotation:0-r.rotate}),0),m.add(T,0)}),n.find(".slotslide").each(function(){var t=jQuery(this);T.add(punchgs.TweenLite.from(t,p/1e3,{left:0-r.slotw,ease:g,force3D:"auto",rotation:r.rotate}),0),m.add(T,0)})}if(3==a){T=new punchgs.TimelineLite;s.find(".slotslide").each(function(){var t=jQuery(this);T.add(punchgs.TweenLite.to(t,p/1e3,{top:r.sloth,ease:g,rotation:r.rotate,force3D:"auto",transformPerspective:600}),0),m.add(T,0)}),n.find(".slotslide").each(function(){var t=jQuery(this);T.add(punchgs.TweenLite.from(t,p/1e3,{top:0-r.sloth,rotation:r.rotate,ease:w,force3D:"auto",transformPerspective:600}),0),m.add(T,0)})}if(4==a||5==a){setTimeout(function(){s.find(".defaultimg").css({opacity:0})},100);var z=p/1e3;T=new punchgs.TimelineLite;s.find(".slotslide").each(function(t){var e=jQuery(this),o=t*z/r.slots;5==a&&(o=(r.slots-t-1)*z/r.slots/1.5),T.add(punchgs.TweenLite.to(e,3*z,{transformPerspective:600,force3D:"auto",top:0+r.height,opacity:.5,rotation:r.rotate,ease:g,delay:o}),0),m.add(T,0)}),n.find(".slotslide").each(function(t){var e=jQuery(this),o=t*z/r.slots;5==a&&(o=(r.slots-t-1)*z/r.slots/1.5),T.add(punchgs.TweenLite.from(e,3*z,{top:0-r.height,opacity:.5,rotation:r.rotate,force3D:"auto",ease:punchgs.eo,delay:o}),0),m.add(T,0)})}if(6==a){r.slots<2&&(r.slots=2),r.slots%2&&(r.slots=r.slots+1);T=new punchgs.TimelineLite;setTimeout(function(){s.find(".defaultimg").css({opacity:0})},100),s.find(".slotslide").each(function(t){var e=jQuery(this);if(t+1<r.slots/2)var o=90*(t+2);else o=90*(2+r.slots-t);T.add(punchgs.TweenLite.to(e,(p+o)/1e3,{top:0+r.height,opacity:1,force3D:"auto",rotation:r.rotate,ease:g}),0),m.add(T,0)}),n.find(".slotslide").each(function(t){var e=jQuery(this);if(t+1<r.slots/2)var o=90*(t+2);else o=90*(2+r.slots-t);T.add(punchgs.TweenLite.from(e,(p+o)/1e3,{top:0-r.height,opacity:1,force3D:"auto",rotation:r.rotate,ease:w}),0),m.add(T,0)})}if(7==a){(p*=2)>r.delay&&(p=r.delay);T=new punchgs.TimelineLite;setTimeout(function(){s.find(".defaultimg").css({opacity:0})},100),s.find(".slotslide").each(function(){var t=jQuery(this).find("div");T.add(punchgs.TweenLite.to(t,p/1e3,{left:0-r.slotw/2+"px",top:0-r.height/2+"px",width:2*r.slotw+"px",height:2*r.height+"px",opacity:0,rotation:r.rotate,force3D:"auto",ease:g}),0),m.add(T,0)}),n.find(".slotslide").each(function(t){var e=jQuery(this).find("div");T.add(punchgs.TweenLite.fromTo(e,p/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-t*r.slotw+"px",ease:w,force3D:"auto",top:"0px",width:r.width,height:r.height,opacity:1,rotation:0,delay:.1}),0),m.add(T,0)})}if(8==a){(p*=3)>r.delay&&(p=r.delay);T=new punchgs.TimelineLite;s.find(".slotslide").each(function(){var t=jQuery(this).find("div");T.add(punchgs.TweenLite.to(t,p/1e3,{left:0-r.width/2+"px",top:0-r.sloth/2+"px",width:2*r.width+"px",height:2*r.sloth+"px",force3D:"auto",ease:g,opacity:0,rotation:r.rotate}),0),m.add(T,0)}),n.find(".slotslide").each(function(t){var e=jQuery(this).find("div");T.add(punchgs.TweenLite.fromTo(e,p/1e3,{left:0,top:0,opacity:0,force3D:"auto"},{left:"0px",top:0-t*r.sloth+"px",width:n.find(".defaultimg").data("neww")+"px",height:n.find(".defaultimg").data("newh")+"px",opacity:1,ease:w,rotation:0}),0),m.add(T,0)})}if(9==a||10==a){n.find(".slotslide").each(function(t){var e=jQuery(this);0,m.add(punchgs.TweenLite.fromTo(e,p/1e3,{autoAlpha:0,force3D:"auto",transformPerspective:600},{autoAlpha:1,ease:g,delay:5*t/1e3}),0)})}if(27==a||28==a||29==a||30==a){var L=n.find(".slot"),b=27==a||29==a?"-100%":"+100%",D=27==a||29==a?"+100%":"-100%",A=27==a||29==a?"-80%":"80%",j=27==a||29==a?"80%":"-80%",k=27==a||29==a?"10%":"-10%",M={overwrite:"all"},P={autoAlpha:0,zIndex:1,force3D:"auto",ease:g},Q={position:"inherit",autoAlpha:0,overwrite:"all",zIndex:1},O={autoAlpha:1,force3D:"auto",ease:w},I={overwrite:"all",zIndex:2},X={autoAlpha:1,force3D:"auto",overwrite:"all",ease:g},Y={overwrite:"all",zIndex:2},S={autoAlpha:1,force3D:"auto",ease:g},_=1==(27==a||28==a?1:2)?"y":"x";M[_]="0px",P[_]=b,Q[_]=k,O[_]="0%",I[_]=D,X[_]=b,Y[_]=A,S[_]=j,L.append('<span style="background-color:rgba(0,0,0,0.6);width:100%;height:100%;position:absolute;top:0px;left:0px;display:block;z-index:2"></span>'),m.add(punchgs.TweenLite.fromTo(s,p/1e3,M,P),0),m.add(punchgs.TweenLite.fromTo(n.find(".defaultimg"),p/2e3,Q,O),p/2e3),m.add(punchgs.TweenLite.fromTo(L,p/1e3,I,X),0),m.add(punchgs.TweenLite.fromTo(L.find(".slotslide div"),p/1e3,Y,S),0)}if(31==a||32==a||33==a||34==a){p=6e3,g=punchgs.Power3.easeInOut;var C=p/1e3;mas=C-C/5,_nt=a,fy=31==_nt?"+100%":32==_nt?"-100%":"0%",fx=33==_nt?"+100%":34==_nt?"-100%":"0%",ty=31==_nt?"-100%":32==_nt?"+100%":"0%",tx=33==_nt?"-100%":34==_nt?"+100%":"0%",m.add(punchgs.TweenLite.fromTo(s,C-.2*C,{y:0,x:0},{y:ty,x:tx,ease:w}),.2*C),m.add(punchgs.TweenLite.fromTo(n,C,{y:fy,x:fx},{y:"0%",x:"0%",ease:g}),0),n.find(".slot").remove(),n.find(".defaultimg").clone().appendTo(n).addClass("slot"),function(t,f,c,e,u){var o=t.find(".slot"),p=[2,1.2,.9,.7,.55,.42],g=t.width(),w=t.height();o.wrap('<div class="slot-circle-wrapper" style="overflow:hidden;position:absolute;border:1px solid #fff"></div>');for(var a=0;a<6;a++)o.parent().clone(!1).appendTo(n);t.find(".slot-circle-wrapper").each(function(t){if(t<6){var e=jQuery(this),o=e.find(".slot"),a=w<g?p[t]*g:p[t]*w,i=a/2-g/2+0,n=a/2-w/2+0,r={scale:1,transformOrigo:"50% 50%",width:a+"px",height:a+"px",top:w/2-a/2+"px",left:(33==c?g/2-a/2:34==c?g-a:g/2-a/2)+"px",borderRadius:0!=t?"50%":"0"},s={scale:1,top:w/2-a/2,left:g/2-a/2,ease:u},l={width:g,height:w,autoAlpha:1,top:n+"px",position:"absolute",left:(33==c?i:34==c?i+g/2:i)+"px"},d={top:n+"px",left:i+"px",ease:u},h=f;m.add(punchgs.TweenLite.fromTo(e,h,r,s),0),m.add(punchgs.TweenLite.fromTo(o,h,l,d),0),m.add(punchgs.TweenLite.fromTo(e,.001,{autoAlpha:0},{autoAlpha:1}),0)}})}(n,C,_nt,0,g)}if(11==a){4<c&&(c=0);var V=2==c?"#000000":3==c?"#ffffff":"transparent";switch(c){case 0:m.add(punchgs.TweenLite.fromTo(n,p/1e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:g}),0);break;case 1:m.add(punchgs.TweenLite.fromTo(n,p/1e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:g}),0),m.add(punchgs.TweenLite.fromTo(s,p/1e3,{autoAlpha:1},{autoAlpha:0,force3D:"auto",ease:g}),0);break;case 2:case 3:case 4:m.add(punchgs.TweenLite.set(s.parent(),{backgroundColor:V,force3D:"auto"}),0),m.add(punchgs.TweenLite.set(n.parent(),{backgroundColor:"transparent",force3D:"auto"}),0),m.add(punchgs.TweenLite.to(s,p/2e3,{autoAlpha:0,force3D:"auto",ease:g}),0),m.add(punchgs.TweenLite.fromTo(n,p/2e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:g}),p/2e3)}m.add(punchgs.TweenLite.set(n.find(".defaultimg"),{autoAlpha:1}),0),m.add(punchgs.TweenLite.set(s.find("defaultimg"),{autoAlpha:1}),0)}if(26==a){p=0,m.add(punchgs.TweenLite.fromTo(n,p/1e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:g}),0),m.add(punchgs.TweenLite.to(s,p/1e3,{autoAlpha:0,force3D:"auto",ease:g}),0),m.add(punchgs.TweenLite.set(n.find(".defaultimg"),{autoAlpha:1}),0),m.add(punchgs.TweenLite.set(s.find("defaultimg"),{autoAlpha:1}),0)}if(12==a||13==a||14==a||15==a){(p=p)>r.delay&&(p=r.delay),setTimeout(function(){punchgs.TweenLite.set(s.find(".defaultimg"),{autoAlpha:0})},100);var Z=r.width,H=r.height,J=n.find(".slotslide, .defaultvid"),N=0,R=0,q=1,B=1,E=1,F=p/1e3,G=F;("fullwidth"==r.sliderLayout||"fullscreen"==r.sliderLayout)&&(Z=J.width(),H=J.height()),12==a?N=Z:15==a?N=0-Z:13==a?R=H:14==a&&(R=0-H),1==c&&(q=0),2==c&&(q=0),3==c&&(F=p/1300),(4==c||5==c)&&(B=.6),6==c&&(B=1.4),(5==c||6==c)&&(E=1.4,R=N=H=Z=q=0),6==c&&(E=.6),7==c&&(H=Z=0);var K=n.find(".slotslide"),U=s.find(".slotslide, .defaultvid");if(m.add(punchgs.TweenLite.set(i,{zIndex:15}),0),m.add(punchgs.TweenLite.set(o,{zIndex:20}),0),8==c?(m.add(punchgs.TweenLite.set(i,{zIndex:20}),0),m.add(punchgs.TweenLite.set(o,{zIndex:15}),0),m.add(punchgs.TweenLite.set(K,{left:0,top:0,scale:1,opacity:1,rotation:0,ease:g,force3D:"auto"}),0)):m.add(punchgs.TweenLite.from(K,F,{left:N,top:R,scale:E,opacity:q,rotation:r.rotate,ease:g,force3D:"auto"}),0),(4==c||5==c)&&(H=Z=0),1!=c)switch(a){case 12:m.add(punchgs.TweenLite.to(U,G,{left:0-Z+"px",force3D:"auto",scale:B,opacity:q,rotation:r.rotate,ease:w}),0);break;case 15:m.add(punchgs.TweenLite.to(U,G,{left:Z+"px",force3D:"auto",scale:B,opacity:q,rotation:r.rotate,ease:w}),0);break;case 13:m.add(punchgs.TweenLite.to(U,G,{top:0-H+"px",force3D:"auto",scale:B,opacity:q,rotation:r.rotate,ease:w}),0);break;case 14:m.add(punchgs.TweenLite.to(U,G,{top:H+"px",force3D:"auto",scale:B,opacity:q,rotation:r.rotate,ease:w}),0)}}if(16==a){T=new punchgs.TimelineLite;m.add(punchgs.TweenLite.set(i,{position:"absolute","z-index":20}),0),m.add(punchgs.TweenLite.set(o,{position:"absolute","z-index":15}),0),i.wrapInner('<div class="tp-half-one" style="position:relative; width:100%;height:100%"></div>'),i.find(".tp-half-one").clone(!0).appendTo(i).addClass("tp-half-two"),i.find(".tp-half-two").removeClass("tp-half-one");Z=r.width,H=r.height;"on"==r.autoHeight&&(H=e.height()),i.find(".tp-half-one .defaultimg").wrap('<div class="tp-papercut" style="width:'+Z+"px;height:"+H+'px;"></div>'),i.find(".tp-half-two .defaultimg").wrap('<div class="tp-papercut" style="width:'+Z+"px;height:"+H+'px;"></div>'),i.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"}),i.find(".tp-half-two .tp-caption").wrapAll('<div style="position:absolute;top:-50%;left:0px;"></div>'),m.add(punchgs.TweenLite.set(i.find(".tp-half-two"),{width:Z,height:H,overflow:"hidden",zIndex:15,position:"absolute",top:H/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"}),0),m.add(punchgs.TweenLite.set(i.find(".tp-half-one"),{width:Z,height:H/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"}),0);var W=(i.find(".defaultimg"),Math.round(20*Math.random()-10)),$=Math.round(20*Math.random()-10),tt=Math.round(20*Math.random()-10),et=.4*Math.random()-.2,ot=.4*Math.random()-.2,at=1*Math.random()+1,it=1*Math.random()+1,nt=.3*Math.random()+.3;m.add(punchgs.TweenLite.set(i.find(".tp-half-one"),{overflow:"hidden"}),0),m.add(punchgs.TweenLite.fromTo(i.find(".tp-half-one"),p/800,{width:Z,height:H/2,position:"absolute",top:"0px",left:"0px",force3D:"auto",transformOrigin:"center top"},{scale:at,rotation:W,y:0-H-H/4,autoAlpha:0,ease:g}),0),m.add(punchgs.TweenLite.fromTo(i.find(".tp-half-two"),p/800,{width:Z,height:H,overflow:"hidden",position:"absolute",top:H/2,left:"0px",force3D:"auto",transformOrigin:"center bottom"},{scale:it,rotation:$,y:H+H/4,ease:g,autoAlpha:0,onComplete:function(){punchgs.TweenLite.set(i,{position:"absolute","z-index":15}),punchgs.TweenLite.set(o,{position:"absolute","z-index":20}),0<i.find(".tp-half-one").length&&(i.find(".tp-half-one .defaultimg").unwrap(),i.find(".tp-half-one .slotholder").unwrap()),i.find(".tp-half-two").remove()}}),0),T.add(punchgs.TweenLite.set(n.find(".defaultimg"),{autoAlpha:1}),0),null!=i.html()&&m.add(punchgs.TweenLite.fromTo(o,(p-200)/1e3,{scale:nt,x:r.width/4*et,y:H/4*ot,rotation:tt,force3D:"auto",transformOrigin:"center center",ease:w},{autoAlpha:1,scale:1,x:0,y:0,rotation:0}),0),m.add(T,0)}if(17==a&&n.find(".slotslide").each(function(t){var e=jQuery(this);m.add(punchgs.TweenLite.fromTo(e,p/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,force3D:"auto",transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:g,delay:.06*t}),0)}),18==a&&n.find(".slotslide").each(function(t){var e=jQuery(this);m.add(punchgs.TweenLite.fromTo(e,p/500,{autoAlpha:0,rotationY:110,scale:.9,rotationX:10,force3D:"auto",transformPerspective:600,transformOrigin:"center center"},{autoAlpha:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:g,delay:.06*t}),0)}),19==a||22==a){T=new punchgs.TimelineLite;m.add(punchgs.TweenLite.set(i,{zIndex:20}),0),m.add(punchgs.TweenLite.set(o,{zIndex:20}),0),setTimeout(function(){s.find(".defaultimg").css({opacity:0})},100);var rt=90,st=(q=1,"center center ");1==d&&(rt=-90),19==a?(st=st+"-"+r.height/2,q=0):st+=r.height/2,punchgs.TweenLite.set(e,{transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:600}),n.find(".slotslide").each(function(t){var e=jQuery(this);T.add(punchgs.TweenLite.fromTo(e,p/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",left:0,rotationY:r.rotate,z:10,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:st,rotationX:rt},{left:0,rotationY:0,top:0,z:0,scale:1,force3D:"auto",rotationX:0,delay:50*t/1e3,ease:g}),0),T.add(punchgs.TweenLite.to(e,.1,{autoAlpha:1,delay:50*t/1e3}),0),m.add(T)}),s.find(".slotslide").each(function(t){var e=jQuery(this),o=-90;1==d&&(o=90),T.add(punchgs.TweenLite.fromTo(e,p/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",autoAlpha:1,rotationY:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:st,rotationX:0},{autoAlpha:1,rotationY:r.rotate,top:0,z:10,scale:1,rotationX:o,delay:50*t/1e3,force3D:"auto",ease:w}),0),m.add(T)}),m.add(punchgs.TweenLite.set(i,{zIndex:18}),0)}if(20==a){if(setTimeout(function(){s.find(".defaultimg").css({opacity:0})},100),1==d){var lt=-r.width;rt=80,st="20% 70% -"+r.height/2}else lt=r.width,rt=-80,st="80% 70% -"+r.height/2;n.find(".slotslide").each(function(t){var e=jQuery(this),o=50*t/1e3;m.add(punchgs.TweenLite.fromTo(e,p/1e3,{left:lt,rotationX:40,z:-600,opacity:q,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:st,transformStyle:"flat",rotationY:rt},{left:0,rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:o,ease:g}),0)}),s.find(".slotslide").each(function(t){var e=jQuery(this),o=50*t/1e3;if(o=0<t?o+p/9e3:0,1!=d)var a=-r.width/2,i=30,n="20% 70% -"+r.height/2;else a=r.width/2,i=-30,n="80% 70% -"+r.height/2;w=punchgs.Power2.easeInOut,m.add(punchgs.TweenLite.fromTo(e,p/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:"auto",transformPerspective:600,transformOrigin:n,transformStyle:"flat",rotationY:0},{opacity:1,rotationX:20,top:0,z:-600,left:a,force3D:"auto",rotationY:i,delay:o,ease:w}),0)})}if(21==a||25==a){setTimeout(function(){s.find(".defaultimg").css({opacity:0})},100);rt=90,lt=-r.width;var dt=-rt;if(1==d)if(25==a){st="center top 0";rt=r.rotate}else{st="left center 0";dt=r.rotate}else if(lt=r.width,rt=-90,25==a){st="center bottom 0";dt=-rt,rt=r.rotate}else{st="right center 0";dt=r.rotate}n.find(".slotslide").each(function(t){var e=jQuery(this),o=p/1.5/3;m.add(punchgs.TweenLite.fromTo(e,2*o/1e3,{left:0,transformStyle:"flat",rotationX:dt,z:0,autoAlpha:0,top:0,scale:1,force3D:"auto",transformPerspective:1200,transformOrigin:st,rotationY:rt},{left:0,rotationX:0,top:0,z:0,autoAlpha:1,scale:1,rotationY:0,force3D:"auto",delay:o/1e3,ease:g}),0)}),1!=d?(lt=-r.width,rt=90,25==a?(st="center top 0",dt=-rt,rt=r.rotate):(st="left center 0",dt=r.rotate)):(lt=r.width,rt=-90,25==a?(st="center bottom 0",dt=-rt,rt=r.rotate):(st="right center 0",dt=r.rotate)),s.find(".slotslide").each(function(t){var e=jQuery(this);m.add(punchgs.TweenLite.fromTo(e,p/1e3,{left:0,transformStyle:"flat",rotationX:0,z:0,autoAlpha:1,top:0,scale:1,force3D:"auto",transformPerspective:1200,transformOrigin:st,rotationY:0},{left:0,rotationX:dt,top:0,z:0,autoAlpha:1,force3D:"auto",scale:1,rotationY:rt,ease:w}),0)})}if(23==a||24==a){setTimeout(function(){s.find(".defaultimg").css({opacity:0})},100);rt=-90,q=1;if(1==d&&(rt=90),23==a){st="center center -"+r.width/2;q=0}else st="center center "+r.width/2;punchgs.TweenLite.set(e,{transformStyle:"preserve-3d",backfaceVisibility:"hidden",perspective:2500}),n.find(".slotslide").each(function(t){var e=jQuery(this);m.add(punchgs.TweenLite.fromTo(e,p/1e3,{left:0,rotationX:r.rotate,force3D:"auto",opacity:q,top:0,scale:1,transformPerspective:1200,transformOrigin:st,rotationY:rt},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:50*t/500,ease:g}),0)}),rt=90,1==d&&(rt=-90),s.find(".slotslide").each(function(t){var e=jQuery(this);m.add(punchgs.TweenLite.fromTo(e,p/1e3,{left:0,rotationX:0,top:0,z:0,scale:1,force3D:"auto",transformStyle:"flat",transformPerspective:1200,transformOrigin:st,rotationY:0},{left:0,rotationX:r.rotate,top:0,scale:1,rotationY:rt,delay:50*t/500,ease:w}),0),23==a&&m.add(punchgs.TweenLite.fromTo(e,p/2e3,{autoAlpha:1},{autoAlpha:0,delay:50*t/500+p/3e3,ease:w}),0)})}return m}}(jQuery); 31/* revolution.extension.video.min.js */ 32!function(e){function C(e){return null==e?-1:jQuery.isNumeric(e)?e:1<e.split(":").length?60*parseInt(e.split(":")[0],0)+parseInt(e.split(":")[1],0):e}var P=jQuery.fn.revolution,I=P.is_mobile();
32jQuery.extend(!0,P,{preLoadAudio:function(e,a){e.find(".tp-audiolayer").each(function(){var e=jQuery(this),t={};0===e.find("audio").length&&(t.src=null!=e.data("videomp4")?e.data("videomp4"):"",t.pre=e.data("videopreload")||"",void 0===e.attr("id")&&e.attr("audio-layer-"+Math.round(199999*Math.random())),t.id=e.attr("id"),t.status="prepared",t.start=jQuery.now(),t.waittime=1e3*e.data("videopreloadwait")||5e3,("auto"==t.pre||"canplaythrough"==t.pre||"canplay"==t.pre||"progress"==t.pre)&&(void 0===a.audioqueue&&(a.audioqueue=[]),a.audioqueue.push(t),P.manageVideoLayer(e,a)))})},preLoadAudioDone:function(a,e,i){e.audioqueue&&0<e.audioqueue.length&&jQuery.each(e.audioqueue,function(e,t){a.data("videomp4")!==t.src||t.pre!==i&&"auto"!==t.pre||(t.status="loaded")})},resetVideo:function(e,t){switch(e.data("videotype")){case"youtube":e.data("player");try{if("on"==e.data("forcerewind"))n=-1==(n=C(e.data("videostartat")))?0:n,null!=e.data("player")&&(e.data("player").seekTo(n),e.data("player").pauseVideo())}catch(e){}0==e.find(".tp-videoposter").length&&punchgs.TweenLite.to(e.find("iframe"),.3,{autoAlpha:1,display:"block",ease:punchgs.Power3.easeInOut});break;case"vimeo":var a=$f(e.find("iframe").attr("id"));try{if("on"==e.data("forcerewind"))n=-1==(n=C(e.data("videostartat")))?0:n,a.api("seekTo",n),a.api("pause")}catch(e){}0==e.find(".tp-videoposter").length&&punchgs.TweenLite.to(e.find("iframe"),.3,{autoAlpha:1,display:"block",ease:punchgs.Power3.easeInOut});break;case"html5":if(I&&1==e.data("disablevideoonmobile"))return!1;var i="html5"==e.data("audio")?"audio":"video",d=e.find(i),o=d[0];if(punchgs.TweenLite.to(d,.3,{autoAlpha:1,display:"block",ease:punchgs.Power3.easeInOut}),"on"==e.data("forcerewind")&&!e.hasClass("videoisplaying"))try{var n=C(e.data("videostartat"));o.currentTime=-1==n?0:n}catch(e){}("mute"==e.data("volume")||P.lastToggleState(e.data("videomutetoggledby"))||!0===t.globalmute)&&(o.muted=!0)}},isVideoMuted:function(e,t){var a=!1;switch(e.data("videotype")){case"youtube":try{a=e.data("player").isMuted()}catch(e){}break;case"vimeo":try{$f(e.find("iframe").attr("id")),"mute"==e.data("volume")&&(a=!0)}catch(e){}break;case"html5":var i="html5"==e.data("audio")?"audio":"video";e.find(i)[0].muted&&(a=!0)}return a},muteVideo:function(e,t){switch(e.data("videotype")){case"youtube":try{e.data("player").mute()}catch(e){}break;case"vimeo":try{var a=$f(e.find("iframe").attr("id"));e.data("volume","mute"),a.api("setVolume",0)}catch(e){}break;case"html5":var i="html5"==e.data("audio")?"audio":"video";e.find(i)[0].muted=!0}},unMuteVideo:function(e,t){if(!0!==t.globalmute)switch(e.data("videotype")){case"youtube":try{e.data("player").unMute()}catch(e){}break;case"vimeo":try{var a=$f(e.find("iframe").attr("id"));e.data("volume","1"),a.api("setVolume",1)}catch(e){}break;case"html5":var i="html5"==e.data("audio")?"audio":"video";e.find(i)[0].muted=!1}},stopVideo:function(e,t){switch(t.leaveViewPortBasedStop||(t.lastplayedvideos=[]),t.leaveViewPortBasedStop=!1,e.data("videotype")){case"youtube":try{e.data("player").pauseVideo()}catch(e){}break;case"vimeo":try{$f(e.find("iframe").attr("id")).api("pause")}catch(e){}break;case"html5":var a="html5"==e.data("audio")?"audio":"video",i=e.find(a),d=i[0];null!=i&&null!=d&&d.pause()}},playVideo:function(a,i){switch(clearTimeout(a.data("videoplaywait")),a.data("videotype")){case"youtube":if(0==a.find("iframe").length)a.append(a.data("videomarkup")),A(a,i,!0);else if(null!=a.data("player").playVideo){var e=C(a.data("videostartat")),t=a.data("player").getCurrentTime();1==a.data("nextslideatend-triggered")&&(t=-1,a.data("nextslideatend-triggered",0)),-1!=e&&t<e&&a.data("player").seekTo(e),a.data("player").playVideo()}else a.data("videoplaywait",setTimeout(function(){P.playVideo(a,i)},50));break;case"vimeo":if(0==a.find("iframe").length)a.append(a.data("videomarkup")),A(a,i,!0);else if(a.hasClass("rs-apiready")){var d=a.find("iframe").attr("id"),o=$f(d);null==o.api("play")?a.data("videoplaywait",setTimeout(function(){P.playVideo(a,i)},50)):setTimeout(function(){o.api("play");var e=C(a.data("videostartat")),t=a.data("currenttime");1==a.data("nextslideatend-triggered")&&(t=-1,a.data("nextslideatend-triggered",0)),-1!=e&&t<e&&o.api("seekTo",e)},510)}else a.data("videoplaywait",setTimeout(function(){P.playVideo(a,i)},50));break;case"html5":if(I&&1==a.data("disablevideoonmobile"))return!1;var n="html5"==a.data("audio")?"audio":"video",r=a.find(n),l=r[0];if(1!=r.parent().data("metaloaded"))j(l,"loadedmetadata",function(e){P.resetVideo(e,i),l.play();var t=C(e.data("videostartat")),a=l.currentTime;1==e.data("nextslideatend-triggered")&&(a=-1,e.data("nextslideatend-triggered",0)),-1!=t&&a<t&&(l.currentTime=t)}(a));else{l.play();e=C(a.data("videostartat")),t=l.currentTime;1==a.data("nextslideatend-triggered")&&(t=-1,a.data("nextslideatend-triggered",0)),-1!=e&&t<e&&(l.currentTime=e)}}},isVideoPlaying:function(a,e){var i=!1;return null!=e.playingvideos&&jQuery.each(e.playingvideos,function(e,t){a.attr("id")==t.attr("id")&&(i=!0)}),i},removeMediaFromList:function(e,t){w(e,t)},prepareCoveredVideo:function(e,t,a){var i=a.find("iframe, video"),d=e.split(":")[0],o=e.split(":")[1],n=a.closest(".tp-revslider-slidesli"),r=n.width()/n.height(),l=d/o,s=r/l*100,u=l/r*100;l<r?punchgs.TweenLite.to(i,.001,{height:s+"%",width:"100%",top:-(s-100)/2+"%",left:"0px",position:"absolute"}):punchgs.TweenLite.to(i,.001,{width:u+"%",height:"100%",left:-(u-100)/2+"%",top:"0px",position:"absolute"}),i.hasClass("resizelistener")||(i.addClass("resizelistener"),jQuery(window).resize(function(){clearTimeout(i.data("resizelistener")),i.data("resizelistener",setTimeout(function(){P.prepareCoveredVideo(e,t,a)},30))}))},checkVideoApis:function(e,t,a){if(location.protocol,(null!=e.data("ytid")||0<e.find("iframe").length&&0<e.find("iframe").attr("src").toLowerCase().indexOf("youtube"))&&(t.youtubeapineeded=!0),(null!=e.data("ytid")||0<e.find("iframe").length&&0<e.find("iframe").attr("src").toLowerCase().indexOf("youtube"))&&0==a.addedyt){t.youtubestarttime=jQuery.now(),a.addedyt=1;var i=document.createElement("script");i.src="https://www.youtube.com/iframe_api";var d=document.getElementsByTagName("script")[0],o=!0;jQuery("head").find("*").each(function(){"https://www.youtube.com/iframe_api"==jQuery(this).attr("src")&&(o=!1)}),o&&d.parentNode.insertBefore(i,d)}if((null!=e.data("vimeoid")||0<e.find("iframe").length&&0<e.find("iframe").attr("src").toLowerCase().indexOf("vimeo"))&&(t.vimeoapineeded=!0),(null!=e.data("vimeoid")||0<e.find("iframe").length&&0<e.find("iframe").attr("src").toLowerCase().indexOf("vimeo"))&&0==a.addedvim){t.vimeostarttime=jQuery.now(),a.addedvim=1;var n=document.createElement("script");d=document.getElementsByTagName("script")[0],o=!0;n.src="https://secure-a.vimeocdn.com/js/froogaloop2.min.js",jQuery("head").find("*").each(function(){"https://secure-a.vimeocdn.com/js/froogaloop2.min.js"==jQuery(this).attr("src")&&(o=!1)}),o&&d.parentNode.insertBefore(n,d)}return a},manageVideoLayer:function(i,d,e,t){var a=i.data("videoattributes"),o=i.data("ytid"),n=i.data("vimeoid"),r="auto"===i.data("videopreload")||"canplay"===i.data("videopreload")||"canplaythrough"===i.data("videopreload")||"progress"===i.data("videopreload")?"auto":i.data("videopreload"),l=i.data("videomp4"),s=i.data("videowebm"),u=i.data("videoogv"),p=i.data("allowfullscreenvideo"),c=i.data("videocontrols"),v="http",g
32="loop"==i.data("videoloop")?"loop":"loopandnoslidestop"==i.data("videoloop")?"loop":"",m=null!=l||null!=s?"html5":null!=o&&1<String(o).length?"youtube":null!=n&&1<String(n).length?"vimeo":"none",f="html5"==i.data("audio")?"audio":"video",y="html5"==m&&0==i.find(f).length?"html5":"youtube"==m&&0==i.find("iframe").length?"youtube":"vimeo"==m&&0==i.find("iframe").length?"vimeo":"none";switch(g=!0===i.data("nextslideatend")?"":g,i.data("videotype",m),y){case"html5":"controls"!=c&&(c="");f="video";"html5"==i.data("audio")&&(f="audio",i.addClass("tp-audio-html5"));var h="<"+f+' style="object-fit:cover;background-size:cover;visible:hidden;width:100%; height:100%" class="" '+g+' preload="'+r+'">';"auto"==r&&(d.mediapreload=!0),null!=s&&"firefox"==P.get_browser().toLowerCase()&&(h=h+'<source src="'+s+'" type="video/webm" />'),null!=l&&(h=h+'<source src="'+l+'" type="video/mp4" />'),null!=u&&(h=h+'<source src="'+u+'" type="video/ogg" />'),h=h+"</"+f+">";var b="";("true"===p||!0===p)&&(b='<div class="tp-video-button-wrap"><button type="button" class="tp-video-button tp-vid-full-screen">Full-Screen</button></div>'),"controls"==c&&(h+='<div class="tp-video-controls"><div class="tp-video-button-wrap"><button type="button" class="tp-video-button tp-vid-play-pause">Play</button></div><div class="tp-video-seek-bar-wrap">
32<input type="range" class="tp-seek-bar" value="0"></div><div class="tp-video-button-wrap"><button type="button" class="tp-video-button tp-vid-mute">Mute</button></div><div class="tp-video-vol-bar-wrap"><input type="range" class="tp-volume-bar" min="0" max="1" step="0.1" value="1"></div>'+b+"</div>"),i.data("videomarkup",h),i.append(h),(I&&1==i.data("disablevideoonmobile")||P.isIE(8))&&i.find(f).remove(),i.find(f).each(function(e){var t,a=jQuery(this);a.parent().hasClass("html5vid")||a.wrap('<div class="html5vid" style="position:relative;top:0px;left:0px;width:100%;height:100%; overflow:hidden;"></div>'),1!=a.parent().data("metaloaded")&&j(this,"loadedmetadata",(_(t=i,d),void P.resetVideo(t,d)))});break;case"youtube":v="http","https:"===location.protocol&&(v="https"),"none"==c&&(-1==(a=a.replace("controls=1","controls=0")).toLowerCase().indexOf("controls")&&(a+="&controls=0"));var w=C(i.data("videostartat")),T=C(i.data("videoendat"));-1!=w&&(a=a+"&start="+w),-1!=T&&(a=a+"&end="+T);var k=a.split("origin="+v+"://"),x="";1<k.length?(x=k[0]+"origin="+v+"://",self.location.href.match(/www/gi)&&!k[1].match(/www/gi)&&(x+="www."),x+=k[1]):x=a;var L="true"===p||!0===p?"allowfullscreen":"";i.data("videomarkup",'<iframe style="visible:hidden" src="'+v+"://www.youtube.com/embed/"+o+"?"+x+'" '+L+' width="100%" height="100%" style="width:100%;height:100%"></iframe>');break;case"vimeo":"https:"===location.protocol&&(v="https"),i.data("videomarkup",'<iframe style="visible:hidden" src="'+v+"://player.vimeo.com/video/"+n+"?autoplay=0&"+a+'" webkitallowfullscreen mozallowfullscreen allowfullscreen width="100%" height="100%" style="100%;height:100%"></iframe>')}var V=I&&"on"==i.data("noposteronmobile");if(null!=i.data("videoposter")&&2<i.data("videoposter").length&&!V)0==i.find(".tp-videoposter").length&&i.append('<div class="tp-videoposter noSwipe" style="cursor:pointer; position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:3;background-image:url('+i.data("videoposter")+'); background-size:cover;background-position:center center;"></div>'),0==i.find("iframe").length&&i.find(".tp-videoposter").click(function(){if(P.playVideo(i,d),I){if(1==i.data("disablevideoonmobile"))return!1;punchgs.TweenLite.to(i.find(".tp-videoposter"),.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(i.find("iframe"),.3,{autoAlpha:1,display:"block",ease:punchgs.Power3.easeInOut})}});else{if(I&&1==i.data("disablevideoonmobile"))return!1;0!=i.find("iframe").length||"youtube"!=m&&"vimeo"!=m||(i.append(i.data("videomarkup")),A(i,d,!1))}"none"!=i.data("dottedoverlay")&&null!=i.data("dottedoverlay")&&1!=i.find(".tp-dottedoverlay").length&&i.append('<div class="tp-dottedoverlay '+i.data("dottedoverlay")+'"></div>'),i.addClass("HasListener"),1==i.data("bgvideo")&&punchgs.TweenLite.set(i.find("video, iframe"),{autoAlpha:0})}});var j=function(e,t,a){e.addEventListener?e.addEventListener(t,a,{capture:!1,passive:!0}):e.attachEvent(t,a,{capture:!1,passive:!0})},f=function(e,t,a){var i={};return i.video=e,i.videotype=t,i.settings=a,i},A=function(d,o,e){var t,a=d.find("iframe"),i="iframe"+Math.round(1e5*Math.random()+1),n=d.data("videoloop"),r="loopandnoslidestop"!=n;(n="loop"==n||"loopandnoslidestop"==n,1==d.data("forcecover"))&&(d.removeClass("fullscreenvideo").addClass("coverscreenvideo"),null!=(t=d.data("aspectratio"))&&1<t.split(":").length&&P.prepareCoveredVideo(t,o,d));1==d.data("bgvideo")&&(null!=(t=d.data("aspectratio"))&&1<t.split(":").length&&P.prepareCoveredVideo(t,o,d));if(a.attr("id",i),e&&d.data("startvideonow",!0),1!==d.data("videolistenerexist"))switch(d.data("videotype")){case"youtube":var l=new YT.Player(i,{events:{onStateChange:function(e){var t=d.closest(".tp-simpleresponsive"),a=(d.data("videorate"),d.data("videostart"),h());if(e.data==YT.PlayerState.PLAYING)punchgs.TweenLite.to(d.find(".tp-videoposter"),.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(d.find("iframe"),.3,{autoAlpha:1,display:"block",ease:punchgs.Power3.easeInOut}),"mute"==d.data("volume")||P.lastToggleState(d.data("videomutetoggledby"))||!0===o.globalmute?l.mute():(l.unMute(),l.setVolume(parseInt(d.data("volume"),0)||75)),o.videoplaying=!0,b(d,o),r?o.c.trigger("stoptimer"):o.videoplaying=!1,o.c.trigger("revolution.slide.onvideoplay",f(l,"youtube",d.data())),P.toggleState(d.data("videotoggledby"));else{if(0==e.data&&n){var i=C(d.data("videostartat"));-1!=i&&l.seekTo(i),l.playVideo(),P.toggleState(d.data("videotoggledby"))}!a&&(0==e.data||2==e.data)&&"on"==d.data("showcoveronpause")&&0<d.find(".tp-vi
32deoposter").length&&(punchgs.TweenLite.to(d.find(".tp-videoposter"),.3,{autoAlpha:1,force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(d.find("iframe"),.3,{autoAlpha:0,ease:punchgs.Power3.easeInOut})),-1!=e.data&&3!=e.data&&(o.videoplaying=!1,o.tonpause=!1,w(d,o),t.trigger("starttimer"),o.c.trigger("revolution.slide.onvideostop",f(l,"youtube",d.data())),(null==o.currentLayerVideoIsPlaying||o.currentLayerVideoIsPlaying.attr("id")==d.attr("id"))&&P.unToggleState(d.data("videotoggledby"))),0==e.data&&1==d.data("nextslideatend")?(y(),d.data("nextslideatend-triggered",1),o.c.revnext(),w(d,o)):(w(d,o),o.videoplaying=!1,t.trigger("starttimer"),o.c.trigger("revolution.slide.onvideostop",f(l,"youtube",d.data())),(null==o.currentLayerVideoIsPlaying||o.currentLayerVideoIsPlaying.attr("id")==d.attr("id"))&&P.unToggleState(d.data("videotoggledby")))}},onReady:function(e){var t=d.data("videorate");if(d.data("videostart"),d.addClass("rs-apiready"),null!=t&&e.target.setPlaybackRate(parseFloat(t)),d.find(".tp-videoposter").unbind("click"),d.find(".tp-videoposter").click(function(){I||l.playVideo()}),d.data("startvideonow")){d.data("player").playVideo();var a=C(d.data("videostartat"));-1!=a&&d.data("player").seekTo(a)}d.data("videolistenerexist",1)}}});d.data("player",l);break;case"vimeo":for(var s,u=a.attr("src"),p={},c=u,v=/([^&=]+)=([^&]*)/g;s=v.exec(c);)p[decodeURIComponent(s[1])]=decodeURIComponent(s[2]);u=null!=p.player_id?u.replace(p.player_id,i):u+"&player_id="+i;try{u=u.replace("api=0","api=1")}catch(e){}u+="&api=1",a.attr("src",u);l=d.find("iframe")[0];(m=(jQuery("#"+i),$f(i))).addEvent("ready",function(){if(d.addClass("rs-apiready"),m.addEvent("play",function(e){d.data("nextslidecalled",0),punchgs.TweenLite.to(d.find(".tp-videoposter"),.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(d.find("iframe"),.3,{autoAlpha:1,display:"block",ease:punchgs.Power3.easeInOut}),o.c.trigger("revolution.slide.onvideoplay",f(m,"vimeo",d.data())),o.videoplaying=!0,b(d,o),r?o.c.trigger("stoptimer"):o.videoplaying=!1,"mute"==d.data("volume")||P.lastToggleState(d.data("videomutetoggledby"))||!0===o.globalmute?m.api("setVolume","0"):m.api("setVolume",parseInt(d.data("volume"),0)/100||.75),P.toggleState(d.data("videotoggledby"))}),m.addEvent("playProgress",function(e){var t=C(d.data("videoendat"));if(d.data("currenttime",e.seconds),0!=t&&Math.abs(t-e.seconds)<.3&&t>e.seconds&&1!=d.data("nextslidecalled"))if(n){m.api("play");var a=C(d.data("videostartat"));-1!=a&&m.api("seekTo",a)}else 1==d.data("nextslideatend")&&(d.data("nextslideatend-triggered",1),d.data("nextslidecalled",1),o.c.revnext()),m.api("pause")}),m.addEvent("finish",function(e){w(d,o),o.videoplaying=!1,o.c.trigger("starttimer"),o.c.trigger("revolution.slide.onvideostop",f(m,"vimeo",d.data())),1==d.data("nextslideatend")&&(d.data("nextslideatend-triggered",1),o.c.revnext()),(null==o.currentLayerVideoIsPlaying||o.currentLayerVideoIsPlaying.attr("id")==d.attr("id"))&&P.unToggleState(d.data("videotoggledby"))}),m.addEvent("pause",function(e){0<d.find(".tp-videoposter").length&&"on"==d.data("showcoveronpause")&&(punchgs.TweenLite.to(d.find(".tp-videoposter"),.3,{autoAlpha:1,force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(d.find("iframe"),.3,{autoAlpha:0,ease:punchgs.Power3.easeInOut})),o.videoplaying=!1,o.tonpause=!1,w(d,o),o.c.trigger("starttimer"),o.c.trigger("revolution.slide.onvideostop",f(m,"vimeo",d.data())),(null==o.currentLayerVideoIsPlaying||o.currentLayerVideoIsPlaying.attr("id")==d.attr("id"))&&P.unToggleState(d.data("videotoggledby"))}),d.find(".tp-videoposter").unbind("click"),d.find(".tp-videoposter").click(function(){return I?void 0:(m.api("play"),!1)}),d.data("startvideonow")){m.api("play");var e=C(d.data("videostartat"));-1!=e&&m.api("seekTo",e)}d.data("videolistenerexist",1)})}else{var g=C(d.data("videostartat"));switch(d.data("videotype")){case"youtube":e&&(d.data("player").playVideo(),-1!=g&&d.data("player").seekTo());break;case"vimeo":var m;if(e)(m=$f(d.find("iframe").attr("id"))).api("play"),-1!=g&&m.api("seekTo",g)}}},y=function(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},h=function(){try{if(void 0!==window.fullScreen)return window.fullScreen;var e=5;return jQuery.browser.webkit&&/Apple Computer/.test(navigator.vendor)&&(e=42),screen.width==window.innerWidth&&Math.abs(screen.height-window.innerHeight)<e}catch(e){}},_=function(d,o,e){if(I&&1==d.data("disablevideoonmobile"))return!1;var t="html5"==d.data("audio")?"audio":"video",a=d.find(t),n=a[0],i=a.parent(),r=d.data("videoloop"),l="loopandnoslidestop"!=r;if(r="loop"==r||"loopandnoslidestop"==r,i.data("metaloaded",1),1!=d.data("bgvideo")||"none"!==d.data("videoloop")&&!1!==d.data("videoloop")||(l=!1),null==a.attr("control")&&(0!=d.find(".tp-vi
32deo-play-button").length||I||d.append('<div class="tp-video-play-button"><i class="revicon-right-dir"></i><span class="tp-revstop"> </span></div>'),d.find("video, .tp-poster, .tp-video-play-button").click(function(){d.hasClass("videoisplaying")?n.pause():n.play()})),1==d.data("forcecover")||d.hasClass("fullscreenvideo")||1==d.data("bgvideo"))if(1==d.data("forcecover")||1==d.data("bgvideo")){i.addClass("fullcoveredvideo");var s=d.data("aspectratio")||"4:3";P.prepareCoveredVideo(s,o,d)}else i.addClass("fullscreenvideo");var u=d.find(".tp-vid-play-pause")[0],p=d.find(".tp-vid-mute")[0],c=d.find(".tp-vid-full-screen")[0],v=d.find(".tp-seek-bar")[0],g=d.find(".tp-volume-bar")[0];null!=u&&j(u,"click",function(){1==n.paused?n.play():n.pause()}),null!=p&&j(p,"click",function(){0==n.muted?(n.muted=!0,p.innerHTML="Unmute"):(n.muted=!1,p.innerHTML="Mute")}),null!=c&&c&&j(c,"click",function(){n.requestFullscreen?n.requestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullscreen&&n.webkitRequestFullscreen()}),null!=v&&(j(v,"change",function(){var e=n.duration*(v.value/100);n.currentTime=e}),j(v,"mousedown",function(){d.addClass("seekbardragged"),n.pause()}),j(v,"mouseup",function(){d.removeClass("seekbardragged"),n.play()})),j(n,"canplaythrough",function(){P.preLoadAudioDone(d,o,"canplaythrough")}),j(n,"canplay",function(){P.preLoadAudioDone(d,o,"canplay")}),j(n,"progress",function(){P.preLoadAudioDone(d,o,"progress")}),j(n,"timeupdate",function(){var e=100/n.duration*n.currentTime,t=C(d.data("videoendat")),a=n.currentTime;if(null!=v&&(v.value=e),0!=t&&-1!=t&&Math.abs(t-a)<=.3&&a<t&&1!=d.data("nextslidecalled"))if(r){n.play();var i=C(d.data("videostartat"));-1!=i&&(n.currentTime=i)}else 1==d.data("nextslideatend")&&(d.data("nextslideatend-triggered",1),d.data("nextslidecalled",1),o.just_called_nextslide_at_htmltimer=!0,o.c.revnext(),setTimeout(function(){o.just_called_nextslide_at_htmltimer=!1},1e3)),n.pause()}),null!=g&&j(g,"change",function(){n.volume=g.value}),j(n,"play",function(){d.data("nextslidecalled",0);var e=d.data("volume");e=null!=e&&"mute"!=e?parseFloat(e)/100:e,!0===o.globalmute?n.muted=!0:n.muted=!1,1<e&&(e/=100),"mute"==e?n.muted=!0:null!=e&&(n.volume=e),d.addClass("videoisplaying");var t="html5"==d.data("audio")?"audio":"video";b(d,o),l&&"audio"!=t?(o.videoplaying=!0,o.c.trigger("stoptimer"),o.c.trigger("revolution.slide.onvideoplay",f(n,"html5",d.data()))):(o.videoplaying=!1,"audio"!=t&&o.c.trigger("starttimer"),o.c.trigger("revolution.slide.onvideostop",f(n,"html5",d.data()))),punchgs.TweenLite.to(d.find(".tp-videoposter"),.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(d.find(t),.3,{autoAlpha:1,display:"block",ease:punchgs.Power3.easeInOut});var a=d.find(".tp-vid-play-pause")[0],i=d.find(".tp-vid-mute")[0];null!=a&&(a.innerHTML="Pause"),null!=i&&n.muted&&(i.innerHTML="Unmute"),P.toggleState(d.data("videotoggledby"))}),j(n,"pause",function(){var e="html5"==d.data("audio")?"audio":"video";!h()&&0<d.find(".tp-videoposter").length&&"on"==d.data("showcoveronpause")&&!d.hasClass("seekbardragged")&&(punchgs.TweenLite.to(d.find(".tp-videoposter"),.3,{autoAlpha:1,force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(d.find(e),.3,{autoAlpha:0,ease:punchgs.Power3.easeInOut})),d.removeClass("videoisplaying"),o.videoplaying=!1,w(d,o),"audio"!=e&&o.c.trigger("starttimer"),o.c.trigger("revolution.slide.onvideostop",f(n,"html5",d.data()));var t=d.find(".tp-vid-play-pause")[0];null!=t&&(t.innerHTML="Play"),(null==o.currentLayerVideoIsPlaying||o.currentLayerVideoIsPlaying.attr("id")==d.attr("id"))&&P.unToggleState(d.data("videotoggledby"))}),j(n,"ended",function(){y(),w(d,o),o.videoplaying=!1,w(d,o),"audio"!=t&&o.c.trigger("starttimer"),o.c.trigger("revolution.slide.onvideostop",f(n,"html5",d.data())),!0===d.data("nextslideatend")&&0<n.currentTime&&(1==!o.just_called_nextslide_at_htmltimer&&(d.data("nextslideatend-triggered",1),o.c.revnext(),o.just_called_nextslide_at_htmltimer=!0),setTimeout(function(){o.just_called_nextslide_at_htmltimer=!1},1500)),d.removeClass("videoisplaying")})},b=function(e,a){null==a.playingvideos&&(a.playingvideos=new Array),e.data("stop
32allvideos")&&null!=a.playingvideos&&0<a.playingvideos.length&&(a.lastplayedvideos=jQuery.extend(!0,[],a.playingvideos),jQuery.each(a.playingvideos,function(e,t){P.stopVideo(t,a)})),a.playingvideos.push(e),a.currentLayerVideoIsPlaying=e},w=function(e,t){null!=t.playingvideos&&0<=jQuery.inArray(e,t.playingvideos)&&t.playingvideos.splice(jQuery.inArray(e,t.playingvideos),1)}}(jQuery); 33
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.