PageSourceSearch

https://myoasisapp.com/assets/build/application_main_oasis.js?v=1790890152358

js myoasisapp.com collected 2026-10-05 02:22:26 UTC 601,141 bytes, 22 lines download raw bytes

1!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(e,t){var n=[],r=n.slice,i=n.concat,o=n.push,a=n.indexOf,s={},l=s.toString,u=s.hasOwnProperty,c={},d="1.11.1",f=function(e,t){return new f.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,h=/^-ms-/,m=/-([\da-z])/gi,g=function(e,t){return t.toUpperCase()};function v(e){var t=e.length,n=f.type(e);return"function"!==n&&!f.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e))}f.fn=f.prototype={jquery:d,constructor:f,selector:"",length:0,toArray:function(){return r.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:r.call(this)},pushStack:function(e){var t=f.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return f.each(this,e,t)},map:function(e){return this.pushStack(f.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:o,sort:n.sort,splice:n.splice},f.extend=f.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{}
1,s++),"object"==typeof a||f.isFunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],a!==(n=i[r])&&(u&&n&&(f.isPlainObject(n)||(t=f.isArray(n)))?(t?(t=!1,o=e&&f.isArray(e)?e:[]):o=e&&f.isPlainObject(e)?e:{},a[r]=f.extend(u,o,n)):void 0!==n&&(a[r]=n));return a},f.extend({expando:"jQuery"+(d+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===f.type(e)},isArray:Array.isArray||function(e){return"array"===f.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!f.isArray(e)&&e-parseFloat(e)>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==f.type(e)||e.nodeType||f.isWindow(e))return!1;try{if(e.constructor&&!u.call(e,"constructor")&&!u.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(c.ownLast)for(t in e)return u.call(e,t);for(t in e);return void 0===t||u.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?s[l.call(e)]||"object":typeof e},globalEval:function(t){t&&f.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(h,"ms-").replace(m,g)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=v(e);if(n){if(o)for(;i>r&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(o)for(;i>r&&!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(p,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(v(Object(e))?f.merge(n,"string"==typeof e?[e]:e):o.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(a)return a.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;)e[i++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;o>i;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,o=0,a=e.length,s=[];if(v(e))for(;a>o;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return i.apply([],s)},guid:1,proxy:function(e,t){var n,i,o;return"string"==typeof t&&(o=e[t],t=e,e=o),f.isFunction(e)?(n=r.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(r.call(arguments)))}).guid=e.guid=e.guid||f.guid++,i):void 0},now:function(){return+new Date},support:c}),f.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){s["[object "+t+"]"]=t.toLowerCase()});var y=function(e){var t,n,r,i,o,a,s,l,u,c,d,f,p,h,m,g,v,y,b,x="sizzle"+-new Date,w=e.document,T=0,C=0,N=oe(),E=oe(),k=oe(),S=function(e,t){return e===t&&(d=!0),0},A="undefined",D=1<<31,j={}.hasOwnProperty,L=[],H=L.pop,_=L.push,q=L.push,M=L.slice,O=L.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",R=P.replace("w","w#"),W="\\["+B+"*("+P+")(?:"+B+"*([*^$|!~]?=)"+B+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+B+"*\\]",$=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",z=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g"),I=new RegExp("^"+B+"*,"+B+"*"),X=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),U=new RegExp("="+B+"*([^\\]'\"]*?)"+B+"*\\]","g"),V=new RegExp($),J=new RegExp("^"+R+"$"),Y={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P.replace("w","w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),re=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{q.apply(L=M.call(w.childNodes),w.childNodes),L[w.childNodes.length].nodeType}catch(e){q={apply:L.length?function(e,t){_.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}
vendor: 4,593 bytes, line 1
1function ie(e,t,r,i){var o,s,u,c,d,h,v,y,T,C;if((t?t.ownerDocument||t:w)!==p&&f(t),r=r||[],!e||"string"!=typeof e)return r;if(1!==(c=(t=t||p).nodeType)&&9!==c)return[];if(m&&!i){if(o=Z.exec(e))if(u=o[1]){if(9===c){if(!(s=t.getElementById(u))||!s.parentNode)return r;if(s.id===u)return r.push(s),r}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(u))&&b(t,s)&&s.id===u)return r.push(s),r}else{if(o[2])return q.apply(r,t.getElementsByTagName(e)),r;if((u=o[3])&&n.getElementsByClassName&&t.getElementsByClassName)return q.apply(r,t.getElementsByClassName(u)),r}if(n.qsa&&(!g||!g.test(e))){if(y=v=x,T=t,C=9===c&&e,1===c&&"object"!==t.nodeName.toLowerCase()){for(h=a(e),(v=t.getAttribute("id"))?y=v.replace(te,"\\$&"):t.setAttribute("id",y),y="[id='"+y+"'] ",d=h.length;d--;)h[d]=y+me(h[d]);T=ee.test(e)&&pe(t.parentNode)||t,C=h.join(",")}if(C)try{return q.apply(r,T.querySelectorAll(C)),r}catch(e){}finally{v||t.removeAttribute("id")}}}return l(e.replace(z,"$1"),t,r,i)}function oe(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ae(e){return e[x]=!0,e}function se(e){var t=p.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),i=e.length;i--;)r.attrHandle[n[i]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return ae(function(t){return t=+t,ae(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function pe(e){return e&&typeof e.getElementsByTagName!==A&&e}for(t in n=ie.support={},o=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},f=ie.setDocument=function(e){var t,i=e?e.ownerDocument||e:w,a=i.defaultView;return i!==p&&9===i.nodeType&&i.documentElement?(p=i,h=i.documentElement,m=!o(i),a&&a!==a.top&&(a.addEventListener?a.addEventListener("unload",function(){f()},!1):a.attachEvent&&a.attachEvent("onunload",function(){f()})),n.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=se(function(e){return e.appendChild(i.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=K.test(i.getElementsByClassName)&&se(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),n.getById=se(function(e){return h.appendChild(e).id=x,!i.getElementsByName||!i.getElementsByName(x).length}),n.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!==A&&m){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(ne,re);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(ne,re);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==A?t.getElementsByTagName(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},r.find.CLASS=n.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==A&&m?t.getElementsByClassName(e):void 0},v=[],g=[],(n.qsa=K.test(i.querySelectorAll))&&(se(function(e){e.innerHTML="<select msallowclip=''><option selected=''></option></select>",e.querySelectorAll("[msallowclip^='']").length&&g.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+B+"*(?:value|"+F+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),se(function(e){var t=i.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+B+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=K.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),v.push("!=",$)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.j
vendor: 11,359 bytes, line 1
1oin("|")),t=K.test(h.compareDocumentPosition),b=t||K.test(h.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},S=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===i||e.ownerDocument===w&&b(w,e)?-1:t===i||t.ownerDocument===w&&b(w,t)?1:c?O.call(c,e)-O.call(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!o||!a)return e===i?-1:t===i?1:o?-1:a?1:c?O.call(c,e)-O.call(c,t):0;if(o===a)return ue(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?ue(s[r],l[r]):s[r]===w?-1:l[r]===w?1:0},i):p},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&f(e),t=t.replace(U,"='$1']"),!(!n.matchesSelector||!m||v&&v.test(t)||g&&g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ie(t,p,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==p&&f(e),b(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==p&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&j.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),d){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return c=null,e},i=ie.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ie.selectors={cacheLength:50,createPseudo:ae,match:Y,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(ne,re),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,re),"~="===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]||ie.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]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=a(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(ne,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ie.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(p=(u=(c=g[x]||(g[x]={}))[e]||[])[0]===T&&u[1],f=u[0]===T&&u[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(f=p=0)||h.pop();)if(1===d.nodeType&&++f&&d===t){c[e]=[T,p,f];break}}else if(y&&(u=(t[x]||(t[x]={}))[e])&&u[0]===T)f=u[1];else for(;(d=++p&&d&&d[m]||(f=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(y&&((d[x]||(d[x]={}))[e]=[T,f]),d!==t)););return(f-=i)===r||f%r==0&&f/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return i[x]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ae(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=O.call(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ae(function(e){var t=[],n=[],r=s(e.replace(z,"$1"));return r[x]?ae(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ae(function(e){return function(t){return ie(e,t).length>0}}),contains:ae(function(e){return function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:ae(function(e){return J.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(ne,re).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.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!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.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[0>n?n+t:n]}),even:fe(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=ce(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=de(t);function he(){}function me(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function ge(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=C++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,u=[T,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if((s=(l=t[x]||(t[x]={}))[r])&&s[0]===T&&s[1]===o)return u[2]=s[2];if(l[r]=u,u[2]=e(t,n,a))return!0}}}function ve(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ye(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function be(e,t,n,r,i,o){return r&&!r[x]&&(r=be(r)),i&&!i[x]&&(i=be(i,o)),ae(function(o,a,s,l){var u,c,d,f=[],p=[],h=a.length,m=o||function(e,t,n){for(var r=0,i=t.length;i>r;r++)ie(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!o&&t?m:ye(m,f,e,s,l),v=n?i||(o?e:h||r)?[]:a:g;if(n&&n(g,v,s,l),r)for(u=ye(v,p),r(u,[],s,l),c=u.length;c--;)(d=u[c])&&(v[p[c]]=!(g[p[c]]=d));if(o){if(i||e){if(i){for(u=[],c=v.length;c--;)(d=v[c])&&u.push(g[c]=d);i(null,v=[],u,l)}for(c=v.length;c--;)(d=v[c])&&(u=i?O.call(o,d):f[c])>-1&&(o[u]=!(a[u]=d))}}else v=ye(v===a?v.splice(h,v.length):v),i?i(null,a,v,l):q.apply(a,v)})}function xe(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,c=ge(function(e){return e===t},s,!0),d=ge(function(e){return O.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):d(e,n,r))}];o>l;l++)if(n=r.relative[e[l].type])f=[ge(ve(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[x]){for(i=++l;o>i&&!r.relative[e[i].type];i++);return be(l>1&&ve(f),l>1&&me(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,i>l&&xe(e.slice(l,i)),o>i&&xe(e=e.slice(i)),o>i&&me(e))}f.push(n)}return ve(f)}function we(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,l,c){var d,f,h,m=0,g="0",v=o&&[],y=[],b=u,x=o||i&&r.find.TAG("*",c),w=T+=null==b?1:Math.random()||.1,C=x.length;for(c&&(u=a!==p&&a);g!==C&&null!=(d=x[g]);g++){if(i&&d){for(f=0;h=e[f++];)if(h(d,a,s)){l.push(d);break}c&&(T=w)}n&&((d=!h&&d)&&m--,o&&v.push(d))}if(m+=g,n&&g!==m){for(f=0;h=t[f++];)h(v,y,a,s);if(o){if(m>0)for(;g--;)v[g]||y[g]||(y[g]=H.call(l));y=ye(y)}q.apply(l,y),c&&!o&&y.length>0&&m+t.length>1&&ie.uniqueSort(l)}return c&&(T=w,u=b),v};return n?ae(o):o}return he.prototype=r.filters=r.pseudos,r.setFilters=new he,a=ie.tokenize=function(e,t){var n,i,o,a,s,l,u,c=E[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=r.preFilter;s;){for(a in(!n||(i=I.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),n=!1,(i=X.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(z," ")}),s=s.slice(n.length)),r.filter)!(i=Y[a].exec(s))||u[a]&&!(i=u[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ie.error(e):E(e,l).slice(0)},s=ie.compile=function(e,t){var n,r=[],i=[],o=k[e+" "];if(!o){for(t||(t=a(e)),n=t.length;n--;)(o=xe(t[n]))[x]?r.push(o):i.push(o);(o=k(e,we(i,r))).selector=e}return o},l=ie.select=function(e,t,i,o){var l,u,c,d,f,p="function"==typeof e&&e,h=!o&&a(e=p.selector||e);if(i=i||[],1===h.length){if((u=h[0]=h[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&n.getById&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(ne,re),t)||[])[0]))return i;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(l=Y.needsContext.test(e)?0:u.length;l--&&(c=u[l],!r.relative[d=c.type]);)if((f=r.find[d])&&(o=f(c.matches[0].replace(ne,re),ee.test(u[0].type)&&pe(t.parentNode)||t))){if(u.splice(l,1),!(e=o.length&&me(u)))return q.apply(i,o),i;break}}return(p||s(e,h))(o,t,!m,i,ee.test(e)&&pe(t.parentNode)||t),i},n.sortStable=x.split("").sort(S).join("")===x,n.detectDuplicates=!!d,f(),n.sortDetached=se(function(e){return 1&e.compareDocumentPosition(p.createElement("div"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}
vendor: 6,217 bytes, line 1
1)||le("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||le(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}),ie}(e);f.find=y,f.expr=y.selectors,f.expr[":"]=f.expr.pseudos,f.unique=y.uniqueSort,f.text=y.getText,f.isXMLDoc=y.isXML,f.contains=y.contains;var b=f.expr.match.needsContext,x=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function T(e,t,n){if(f.isFunction(t))return f.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return f.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(w.test(t))return f.filter(t,e,n);t=f.filter(t,e)}return f.grep(e,function(e){return f.inArray(e,t)>=0!==n})}f.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?f.find.matchesSelector(r,e)?[r]:[]:f.find.matches(e,f.grep(t,function(e){return 1===e.nodeType}))},f.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(f(e).filter(function(){for(t=0;i>t;t++)if(f.contains(r[t],this))return!0}));for(t=0;i>t;t++)f.find(e,r[t],n);return(n=this.pushStack(i>1?f.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},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&&b.test(e)?f(e):e||[],!1).length}});var C,N=e.document,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(f.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:E.exec(e))||!n[1]&&t)return!t||t.jquery?(t||C).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof f?t[0]:t,f.merge(this,f.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:N,!0)),x.test(n[1])&&f.isPlainObject(t))for(n in t)f.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((r=N.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return C.find(e);this.length=1,this[0]=r}return this.context=N,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):f.isFunction(e)?void 0!==C.ready?C.ready(e):e(f):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),f.makeArray(e,this))}).prototype=f.fn,C=f(N);var k=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}f.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!f(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),f.fn.extend({has:function(e){var t,n=f(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(f.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=b.test(e)||"string"!=typeof e?f(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&f.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?f.unique(o):o)},index:function(e){return e?"string"==typeof e?f.inArray(this[0],f(e)):f.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(f.unique(f.merge(this.get(),f(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),f.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return f.dir(e,"parentNode")},parentsUntil:function(e,t,n){return f.dir(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return f.dir(e,"nextSibling")},prevAll:function(e){return f.dir(e,"previousSibling")},nextUntil:function(e,t,n){return f.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return f.dir(e,"previousSibling",n)},siblings:function(e){return f.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return f.sibling(e.firstChild)},contents:function(e){return f.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:f.merge([],e.childNodes)}},function(e,t){f.fn[e]=function(n,r){var i=f.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=f.filter(r,i)),this.length>1&&(S[e]||(i=f.unique(i)),k.test(e)&&(i=i.reverse())),this.pushStack(i)}});var D,j=/\S+/g,L={};function H(){N.addEventListener?(N.removeEventListener("DOMContentLoaded",_,!1),e.removeEventListener("load",_,!1)):(N.detachEvent("onreadystatechange",_),e.detachEvent("onload",_))}function _(){(N.addEventListener||"load"===event.type||"complete"===N.readyState)&&(H(),f.ready())}f.Callbacks=function(e){e="string"==typeof e?L[e]||function(e){var t=L[e]={};return f.each(e.match(j)||[],function(e,n){t[n]=!0}),t}(e):f.extend({},e);var t,n,r,i,o,a,s=[],l=!e.once&&[],u=function(d){for(n=e.memory&&d,r=!0,o=a||0,a=0,i=s.length,t=!0;s&&i>o;o++)if(!1===s[o].apply(d[0],d[1])&&e.stopOnFalse){n=!1;break}t=!1,s&&(l?l.length&&u(l.shift()):n?s=[]:c.disable())},c={add:function(){if(s){var r=s.length;!function t(n){f.each(n,function(n,r){var i=f.type(r);"function"===i?e.unique&&c.has(r)||s.push(r):r&&r.length&&"string"!==i&&t(r)})}(arguments),t?i=s.length:n&&(a=r,u(n))}return this},remove:function(){return s&&f.each(arguments,function(e,n){for(var r;(r=f.inArray(n,s,r))>-1;)s.splice(r,1),t&&(i>=r&&i--,o>=r&&o--)}),this},has:function(e){return e?f.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],i=0,this},disable:function(){return s=l=n=void 0,this},disabled:function(){return!s},lock:function(){return l=void 0,n||c.disable(),this},locked:function(){return!l},fireWith:function(e,n){return!s||r&&!l||(n=[e,(n=n||[]).slice?n.slice():n],t?l.push(n):u(n)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},f.extend({Deferred:function(e){var t=[["resolve","done",f.Callbacks("once memory"),"resolved"],["reject","fail",f.Callbacks("once memory"),"rejected"],["notify","progress",f.Callbacks("memory")]],n="pe
1nding",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return f.Deferred(function(n){f.each(t,function(t,o){var a=f.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&f.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?f.extend(e,r):r}},i={};return r.pipe=r.then,f.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,i,o=0,a=r.call(arguments),s=a.length,l=1!==s||e&&f.isFunction(e.promise)?s:0,u=1===l?e:f.Deferred(),c=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?r.call(arguments):o,i===t?u.notifyWith(n,i):--l||u.resolveWith(n,i)}};if(s>1)for(t=new Array(s),n=new Array(s),i=new Array(s);s>o;o++)a[o]&&f.isFunction(a[o].promise)?a[o].promise().done(c(o,i,a)).fail(u.reject).progress(c(o,n,t)):--l;return l||u.resolveWith(i,a),u.promise()}}),f.fn.ready=function(e){return f.ready.promise().done(e),this},f.extend({isReady:!1,readyWait:1,holdReady:function(e){e?f.readyWait++:f.ready(!0)},ready:function(e){if(!0===e?!--f.readyWait:!f.isReady){if(!N.body)return setTimeout(f.ready);f.isReady=!0,!0!==e&&--f.readyWait>0||(D.resolveWith(N,[f]),f.fn.triggerHandler&&(f(N).triggerHandler("ready"),f(N).off("ready")))}}}),f.ready.promise=function(t){if(!D)if(D=f.Deferred(),"complete"===N.readyState)setTimeout(f.ready);else if(N.addEventListener)N.addEventListener("DOMContentLoaded",_,!1),e.addEventListener("load",_,!1);else{N.attachEvent("onreadystatechange",_),e.attachEvent("onload",_);var n=!1;try{n=null==e.frameElement&&N.documentElement}catch(e){}n&&n.doScroll&&function e(){if(!f.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}H(),f.ready()}}()}return D.promise(t)};var q,M="undefined";for(q in f(c))break;c.ownLast="0"!==q,c.inlineBlockNeedsLayout=!1,f(function(){var e,t,n,r;(n=N.getElementsByTagName("body")[0])&&n.style&&(t=N.createElement("div"),(r=N.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==M&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",c.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=N.createElement("div");if(null==c.deleteExpando){c.deleteExpando=!0;try{delete e.test}catch(e){c.deleteExpando=!1}}e=null}(),f.acceptData=function(e){var t=f.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var O=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,F=/([A-Z])/g;function B(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(F,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:O.test(n)?f.parseJSON(n):n)}catch(e){}f.data(e,t,n)}else n=void 0}return n}function P(e){var t;for(t in e)if(("data"!==t||!f.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function R(e,t,r,i){if(f.acceptData(e)){var o,a,s=f.expando,l=e.nodeType,u=l?f.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||void 0!==r||"string"!=typeof t)return c||(c=l?e[s]=n.pop()||f.guid++:s),u[c]||(u[c]=l?{}:{toJSON:f.noop}),("object"==typeof t||"function"==typeof t)&&(i?u[c]=f.extend(u[c],t):u[c].data=f.extend(u[c].data,t)),a=u[c],i||(a.data||(a.data={}),a=a.data),void 0!==r&&(a[f.camelCase(t)]=r),"string"==typeof t?null==(o=a[t])&&(o=a[f.camelCase(t)]):o=a,o}}function W(e,t,n){if(f.acceptData(e)){var r,i,o=e.nodeType,a=o?f.cache:e,s=o?e[f.expando]:f.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){f.isArray(t)?t=t.concat(f.map(t,f.camelCase)):t in r?t=[t]:t=(t=f.camelCase(t))in r?[t]:t.split(" "),i=t.length;for(;i--;)delete r[t[i]];if(n?!P(r):!f.isEmptyObject(r))return}
1(n||(delete a[s].data,P(a[s])))&&(o?f.cleanData([e],!0):c.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}f.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?f.cache[e[f.expando]]:e[f.expando])&&!P(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)}}),f.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=f.data(o),1===o.nodeType&&!f._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(0===(r=a[n].name).indexOf("data-")&&B(o,r=f.camelCase(r.slice(5)),i[r]));f._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){f.data(this,e)}):arguments.length>1?this.each(function(){f.data(this,e,t)}):o?B(o,e,f.data(o,e)):void 0},removeData:function(e){return this.each(function(){f.removeData(this,e)})}}),f.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=f._data(e,t),n&&(!r||f.isArray(n)?r=f._data(e,t,f.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=f.queue(e,t),r=n.length,i=n.shift(),o=f._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){f.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return f._data(e,n)||f._data(e,n,{empty:f.Callbacks("once memory").add(function(){f._removeData(e,t+"queue"),f._removeData(e,n)})})}}),f.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?f.queue(this[0],e):void 0===t?this:this.each(function(){var n=f.queue(this,e,t);f._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&f.dequeue(this,e)})},dequeue:function(e){return this.each(function(){f.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=f.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=f._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var $=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,z=["Top","Right","Bottom","Left"],I=function(e,t){return e=t||e,"none"===f.css(e,"display")||!f.contains(e.ownerDocument,e)},X=f.access=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===f.type(n))for(s in i=!0,n)f.access(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,f.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(f(e),n)})),t))for(;l>s;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},U=/^(?:checkbox|radio)$/i;!function(){var e=N.createElement("input"),t=N.createElement("div"),n=N.createDocumentFragment();if(t.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",c.leadingWhitespace=3===t.firstChild.nodeType,c.tbody=!t.getElementsByTagName("tbody").length,c.htmlSerialize=!!t.getElementsByTagName("link").length,c.html5Clone="<:nav></:nav>"!==N.createElement("nav").cloneNode(!0).outerHTML,e.type="checkbox",e.checked=!0,n.appendChild(e),c.appendChecked=e.checked,t.innerHTML="<textarea>x</textarea>",c.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",c.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,c.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){c.noCloneEvent=!1}),t.cloneNode(!0).click()),null==c.deleteExpando){c.deleteExpando=!0;try{delete t.test}catch(e){c.deleteExpando=!1}}}(),function(){var t,n,r=N.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(c[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),c[t+"Bubbles"]=!1===r.attributes[n].expando);r=null}();var V=/^(?:input|select|textarea)$/i,J=/^key/,Y=/^(?:mouse|pointer|contextmenu)|click/,G=/^(?:focusinfocus|focusoutblur)$/,Q=/^([^.]*)(?:\.(.+)|)$/;function K(){return!0}function Z(){return!1}function ee(){try{return N.activeElement}catch(e){}}function te(e){var t=ne.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}f.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,d,p,h,m,g,v=f._data(e);if(v){for(n.handler&&(n=(l=n).handler,i=l.selector),n.guid||(n.guid=f.guid++),(a=v.events)||(a=v.events={}),(c=v.handle)||((c=v.handle=function(e){return typeof f===M||e&&f.event.triggered===e.type?void 0:f.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(j)||[""]).length;s--;)h=g=(o=Q.exec(t[s])||[])[1],m=(o[2]||"").split(".").sort(),h&&(u=f.event.special[h]||{},h=(i?u.delegateType:u.bindType)||h,u=f.event.special[h]||{},d=f.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&f.expr.match.needsContext.test(i),namespace:m.join(".")},l),(p=a[h])||((p=a[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,r,m,c)||(e.addEventListener?e.addEventListener(h,c,!1):e.attachEvent&&e.attachEvent("on"+h,c))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,d):p.push(d),f.event.global[h]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,d,p,h,m,g,v=f.hasData(e)&&f._data(e);if(v&&(c=v.events)){for(u=(t=(t||"").match(j)||[""]).length;u--;)if(h=g=(s=Q.exec(t[u])||[])[1],m=(s[2]||"").split(".").sort(),h){for(d=f.event.special[h]||{},p=c[h=(r?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)a=p[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(p.splice(o,1),a.selector&&p.delegateCount--,d.remove&&d.remove.call(e,a));l&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,m,v.handle)||f.removeEvent(e,h,v.handle),delete c[h])}else for(h in c)f.event.remove(e,h+t[u],n,r,!0);f.isEmptyObject(c)&&(delete v.handle,f._removeData(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,l,c,d,p,h=[r||N],m=u.call(t,"type")?t.type:t,g=u.call(t,"namespace")?t.namespace.split("."):[];if(s=d=r=r||N,3!==r.nodeType&&8!==r.nodeType&&!G.test(m+f.event.triggered)&&(m.indexOf(".")>=0&&(g=m.split("."),m=g.shift(),g.sort()),a=m.indexOf(":")<0&&"on"+m,(t=t[f.expando]?t:new f.Event(m,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.n
1amespace_re=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:f.makeArray(n,[t]),c=f.event.special[m]||{},i||!c.trigger||!1!==c.trigger.apply(r,n))){if(!i&&!c.noBubble&&!f.isWindow(r)){for(l=c.delegateType||m,G.test(l+m)||(s=s.parentNode);s;s=s.parentNode)h.push(s),d=s;d===(r.ownerDocument||N)&&h.push(d.defaultView||d.parentWindow||e)}for(p=0;(s=h[p++])&&!t.isPropagationStopped();)t.type=p>1?l:c.bindType||m,(o=(f._data(s,"events")||{})[t.type]&&f._data(s,"handle"))&&o.apply(s,n),(o=a&&s[a])&&o.apply&&f.acceptData(s)&&(t.result=o.apply(s,n),!1===t.result&&t.preventDefault());if(t.type=m,!i&&!t.isDefaultPrevented()&&(!c._default||!1===c._default.apply(h.pop(),n))&&f.acceptData(r)&&a&&r[m]&&!f.isWindow(r)){(d=r[a])&&(r[a]=null),f.event.triggered=m;try{r[m]()}catch(e){}f.event.triggered=void 0,d&&(r[a]=d)}return t.result}},dispatch:function(e){e=f.event.fix(e);var t,n,i,o,a,s=[],l=r.call(arguments),u=(f._data(this,"events")||{})[e.type]||[],c=f.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(s=f.event.handlers.call(this,e,u),t=0;(o=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,a=0;(i=o.handlers[a++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,void 0!==(n=((f.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],o=0;s>o;o++)void 0===i[n=(r=t[o]).selector+" "]&&(i[n]=r.needsContext?f(n,this).index(l)>=0:f.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[f.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Y.test(i)?this.mouseHooks:J.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new f.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||N),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget 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 fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||N).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ee()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===ee()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return f.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return f.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=f.extend(new f.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?f.event.trigger(i,null,t):f.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},f.removeEvent=N.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===M&&(e[r]=null),e.detachEvent(r,n))},f.Event=function(e,t){return this instanceof f.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?K:Z):this.type=e,t&&f.extend(this,t),this.timeStamp=e&&e.timeStamp||f.now(),void(this[f.expando]=!0)):new f.Event(e,t)},f.Event.prototype={isDefaultPrevented:Z,isPropagationStopped:Z,isImmediatePropagationStopped:Z,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=K,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=K,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=K,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 22,265 bytes, line 1
1,f.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){f.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return(!r||r!==this&&!f.contains(this,r))&&(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),c.submitBubbles||(f.event.special.submit={setup:function(){return!f.nodeName(this,"form")&&void f.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=f.nodeName(t,"input")||f.nodeName(t,"button")?t.form:void 0;n&&!f._data(n,"submitBubbles")&&(f.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),f._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&f.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return!f.nodeName(this,"form")&&void f.event.remove(this,"._submit")}}),c.changeBubbles||(f.event.special.change={setup:function(){return V.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(f.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),f.event.simulate("change",this,e,!0)})),!1):void f.event.add(this,"beforeactivate._change",function(e){var t=e.target;V.test(t.nodeName)&&!f._data(t,"changeBubbles")&&(f.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||f.event.simulate("change",this.parentNode,e,!0)}),f._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return f.event.remove(this,"._change"),!V.test(this.nodeName)}}),c.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){f.event.simulate(t,e.target,f.event.fix(e),!0)};f.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=f._data(r,t);i||r.addEventListener(e,n,!0),f._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=f._data(r,t)-1;i?f._data(r,t,i):(r.removeEventListener(e,n,!0),f._removeData(r,t))}}}),f.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=Z;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return f().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=f.guid++)),this.each(function(){f.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,f(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=Z),this.each(function(){f.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){f.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?f.event.trigger(e,t,n,!0):void 0}});var ne="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",re=/ jQuery\d+="(?:null|\d+)"/g,ie=new RegExp("<(?:"+ne+")[\\s/>]","i"),oe=/^\s+/,ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,se=/<([\w:]+)/,le=/<tbody/i,ue=/<|&#?\w+;/,ce=/<(?:script|style|link)/i,de=/checked\s*(?:[^=]|=\s*.checked.)/i,fe=/^$|\/(?:java|ecma)script/i,pe=/^true\/(.*)/,he=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,me={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:c.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ge=te(N).appendChild(N.createElement("div"));function ve(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==M?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==M?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||f.nodeName(r,t)?o.push(r):f.merge(o,ve(r,t));return void 0===t||t&&f.nodeName(e,t)?f.merge([e],o):o}function ye(e){U.test(e.type)&&(e.defaultChecked=e.checked)}function be(e,t){return f.nodeName(e,"table")&&f.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xe(e){return e.type=(null!==f.find.attr(e,"type"))+"/"+e.type,e}function we(e){var t=pe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Te(e,t){for(var n,r=0;null!=(n=e[r]);r++)f._data(n,"globalEval",!t||f._data(t[r],"globalEval"))}function Ce(e,t){if(1===t.nodeType&&f.hasData(e)){var n,r,i,o=f._data(e),a=f._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;i>r;r++)f.event.add(t,n,s[n][r]);a.data&&(a.data=f.extend({},a.data))}}function Ne(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!c.noCloneEvent&&t[f.expando]){for(r in(i=f._data(t)).events)f.removeEvent(t,r,i.handle);t.removeAttribute(f.expando)}"script"===n&&t.text!==e.text?(xe(t).text=e.text,we(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),c.html5Clone&&e.innerHTML&&!f.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&U.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,f.extend({clone:function(e,t,n){var r,i,o,a,s,l=f.contains(e.ownerDocument,e);if(c.html5Clone||f.isXMLDoc(e)||!ie.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(ge.innerHTML=e.outerHTML,ge.removeChild(o=ge.firstChild)),!(c.noCloneEvent&&c.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||f.isXMLDoc(e)))for(r=ve(o),s=ve(e),a=0;null!=(i=s[a]);++a)r[a]&&Ne(i,r[a]);if(t)if(n)for(s=s||ve(e),r=r||ve(o),a=0;null!=(i=s[a]);a++)Ce(i,r[a]);else Ce(e,o);return(r=ve(o,"script")).length>0&&Te(r,!l&&ve(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,d,p=e.length,h=te(t),m=[],g=0;p>g;g++)if((o=e[g])||0===o)if("object"===f.type(o))f.merge(m,o.nodeType?[o]:o);else if(ue.test(o)){for(s=s||h.appendChild(t.createElement("div")),l=(se.exec(o)||["",""])[1].toLowerCase(),d=me[l]||me._default,s.innerHTML=d[1]+o.replace(ae,"<$1></$2>")+d[2],i=d[0];i--;)s=s.lastChild;if(!c.leadingWhitespace&&oe.test(o)&&m.push(t.createTextNode(oe.exec(o)[0])),!c.tbody)for(i=(o="table"!==l||le.test(o)?"<table>"!==d[1]||le.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)f.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(f.merge(m,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=h.lastChild}else m.push(t.createTextNode(o));for(s&&h.removeChild(s),c.appendChecked||f.grep(ve(m,"input"),ye),g=0;o=m[g++];)if((!r||-1===f.inArray(o,r))&&(a=f.contains(o.ownerDocument,o),s=ve(h.appendChild(o),"script"),a&&Te(s),n))for(i=0;o=s[i++];)fe.test(o.type||"")&&n.push(o);return s=null,h},cleanData:function(e,t){for(var r,i,o,a,s=0,l=f.expando,u=f.cache,d=c.deleteExpando,p=f.event.special;null!=(r=e[s]);s++)if((t||f.acceptData(r))&&(a=(o=r[l])&&u[o])){if(a.events)for(i in a.events)p[i]?f.event.remove(r,i):f.removeEvent(r,i,a.handle);u[o]&&(delete u[o],d?delete r[l]:typeof r.removeAttribute!==M?r.removeAttribute(l):r[l]=null,n.push(o))}}}),f.fn.extend({text:function(e){return X(this,function(e){return void 0===e?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||N).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||be(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=be(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?f.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||f.cleanData(ve(n)),n.parentNode&&(t&&f.contains(n.ownerDocument,n)&&Te(ve(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&f.cleanData(ve(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&f.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return f.clone(this,e,t)})},html:function(e){return X(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(re,""):void 0;if(!("string"!=typeof e||ce.test(e)||!c.htmlSerialize&&ie.test(e)||!c.leadingWhitespace&&oe.test(e)||me[(se.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(ae,"<$1></$2>");try{for(;r>n;n++)1===(t=this[n]||{}).nodeType&&(f.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,f.cleanData(ve(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=i.apply([],e);var n,r,o,a,s,l,u=0,d=this.length,p=this,h=d-1,m=e[0],g=f.isFunction(m);if(g||d>1&&"string"==typeof m&&!c.checkClone&&de.test(m))return this.each(function(n){var r=p.eq(n);g&&(e[0]=m.call(this,n,r.html())),r.domManip(e,t)});if(d&&(n=(l=f.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=n),n)){for(o=(a=f.map(ve(l,"script"),xe)).length;d>u;u++)r=l,u!==h&&(r=f.clone(r,!0,!0),o&&f.merge(a,ve(r,"script"))),t.call(this[u],r,u);if(o)for(s=a[a.length-1].ownerDocument,f.map(a,we),u=0;o>u;u++)r=a[u],fe.test(r.type||"")&&!f._data(r,"globalEval")&&f.contains(s,r)&&(r.src?f._evalUrl&&f._evalUrl(r.src):f.globalEval((r.text||r.textContent||r.innerHTML||"").replace(he,"")));l=n=null}return this}}),f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){f.fn[e]=function(e){for(var n,r=0,i=[],a=f(e),s=a.length-1;s>=r;r++)n=r===s?this:this.clone(!0),f(a[r])[t](n),o.apply(i,n.get());return this.pushStack(i)}});var Ee,ke={};function Se(t,n){var r,i=f(n.createElement(t)).appendTo(n.body),o=e.getDefaultComputedStyle&&(r=e.getDefaultComputedStyle(i[0]))?r.display:f.css(i[0],"display");return i.detach(),o}function Ae(e){var t=N,n=ke[e];return n||("none"!==(n=Se(e,t))&&n||((t=((Ee=(Ee||f("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Ee[0].contentDocument).document).write(),t.close(),n=Se(e,t),Ee.detach()),ke[e]=n),n}!function(){var e;c.shrinkWrapBlocks=function(){return null!=e?e:(e=!1,(n=N.getElementsByTagName("body")[0])&&n.style?(t=N.createElement("div"),(r=N.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==M&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(N.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0);var t,n,r}}();var De,je,Le=/^margin/,He=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),_e=/^(top|right|bottom|left)$/;function qe(e,t){return{get:function(){var n=e();if(null!=n)return n?void delete this.get:(this.get=t).apply(this,arguments)}}}e.getComputedStyle?(De=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)},je=function(e,t,n){var r,i,o,a,s=e.style;return a=(n=n||De(e))?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||f.contains(e.ownerDocument,e)||(a=f.style(e,t)),He.test(a)&&Le.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0===a?a:a+""}):N.documentElement.currentStyle&&(De=function(e){return e.currentStyle},je=function(e,t,n){var r,i,o,a,s=e.style;return null==(a=(n=n||De(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),He.test(a)&&!_e.test(t)&&(r=s.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"}),function(){var t,n,r,i,o,a,s;if((t=N.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=(r=t.getElementsByTagName("a")[0])&&r.style){function l(){var t,n,r,l;(n=N.getElementsByTagName("body")[0])&&n.style&&(t=N.createElement("div"),(r=N.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",i=o=!1,s=!0,e.getComputedStyle&&(i="1%"!==(e.getComputedStyle(t,null)||{}).top,o="4px"===(e.getComputedStyle(t,null)||{width:"4px"}).width,(l=t.appendChild(N.createElement("div"))).style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",l.style.marginRight=l.style.width="0",t.style.width="1px",s=!parseFloat((e.getComputedStyle(l,null)||{}).marginRight)),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(l=t.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(a=0===l[0].offsetHeight)&&(l[0].style.display="",l[1].style.display="none",a=0===l[0].offsetHeight),n.removeChild(r))}n.cssText="float:left;opacity:.5",c.opacity="0.5"===n.opacity,c.cssFloat=!!n.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",c.clearCloneStyle="content-box"===t.style.backgroundClip,c.boxSizing=""===n.boxSizing||""===n.MozBoxSizing||""===n.WebkitBoxSizing,f.extend(c,{reliableHiddenOffsets:function(){return null==a&&l(),a},boxSizingReliable:function(){return null==o&&l(),o},pixelPosition:function(){return null==i&&l(),i},reliableMarginRight:function(){return null==s&&l(),s}})}}(),f.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};var Me=/alpha\([^)]*\)/i,Oe=/opacity\s*=\s*([^)]*)/,Fe=/^(none|table(?!-c[ea]).+)/,Be=new RegExp("^("+$+")(.*)$","i"),Pe=new RegExp("^([+-])=("+$+")","i"),Re={position:"absolute",visibility:"hidden",display:"block"},We={letterSpacing:"0",fontWeight:"400"},$e=["Webkit","O","Moz","ms"];function ze(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=$e.length;i--;)if((t=$e[i]+n)in e)return t;return r}function Ie(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)(r=e[a]).style&&(o[a]=f._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&I(r)&&(o[a]=f._data(r,"olddisplay",Ae(r.nodeName)))):(i=I(r),(n&&"none"!==n||!i)&&f._data(r,"olddisplay",i?n:f.css(r,"display"))));for(a=0;s>a;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function Xe(e,t,n){var r=Be.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ue(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=f.css(e,n+z[o],!0,i)),r?("content"===n&&(a-=f.css(e,"padding"+z[o],!0,i)),"margin"!==n&&(a-=f.css(e,"border"+z[o]+"Width",!0,i))):(a+=f.css(e,"padding"+z[o],!0,i),"padding"!==n&&(a+=f.css(e,"border"+z[o]+"Width",!0,i)));return a}function Ve(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=De(e),a=c.boxSizing&&"border-box"===f.css(e,"boxSizing",!1,o);if(0>=i||null==i){if((0>(i=je(e,t,o))||null==i)&&(i=e.style[t]),He.test(i))return i;r=a&&(c.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Ue(e,t,n||(a?"border":"content"),r,o)+"px"}function Je(e,t,n,r,i){return new Je.prototype.init(e,t,n,r,i)}f.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=je(e,"opacity");return""===n?"1":n}}}},cssNumber:{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:c.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=f.camelCase(t),l=e.style;if(t=f.cssProps[s]||(f.cssProps[s]=ze(l,s)),a=f.cssHooks[t]||f.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];if("string"===(o=typeof n)&&(i=Pe.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(f.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||f.cssNumber[s]||(n+="px"),c.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=f.camelCase(t);return t=f.cssProps[s]||(f.cssProps[s]=ze(e.style,s)),(a=f.cssHooks[t]||f.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=je(e,t,r)),"normal"===o&&t in We&&(o=We[t]),""===n||n?(i=parseFloat(o),!0===n||f.isNumeric(i)?i||0:o):o}}),f.each(["height","width"],function(e,t){f.cssHooks[t]={get:function(e,n,r){return n?Fe.test(f.css(e,"display"))&&0===e.offsetWidth?f.swap(e,Re,function(){return Ve(e,t,r)}):Ve(e,t,r):void 0},set:function(e,n,r){var i=r&&De(e);return Xe(0,n,r?Ue(e,t,r,c.boxSizing&&"border-box"===f.css(e,"boxSizing",!1,i),i):0)}}}),c.opacity||(f.cssHooks.opacity={get:function(e,t){return Oe.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=f.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===f.trim(o.replace(Me,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=Me.test(o)?o.replace(Me,i):o+" "+i)}}),f.cssHooks.marginRight=qe(c.reliableMarginRight,function(e,t){return t?f.swap(e,{display:"inline-block"},je,[e,"marginRight"]):void 0}),f.each({margin:"",padding:"",border:"Width"},function(e,t){f.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+z[r]+t]=o[r]||o[r-2]||o[0];return i}},Le.test(e)||(f.cssHooks[e+t].set=Xe)}),f.fn.extend({css:function(e,t){return X(this,function(e,t,n){var r,i,o={},a=0;if(f.isArray(t)){for(r=De(e),i=t.length;i>a;a++)o[t[a]]=f.css(e,t[a],!1,r);return o}return void 0!==n?f.style(e,t,n):f.css(e,t)},e,t,arguments.length>1)},show:function(){return Ie(this,!0)},hide:function(){return Ie(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){I(this)?f(this).show():f(this).hide()})}}),f.Tween=Je,Je.prototype={constructor:Je,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(f.cssNumber[n]?"":"px")},cur:function(){var e=Je.propHooks[this.prop];return e&&e.get?e.get(this):Je.propHooks._default.get(this)},run:function(e){var t,n=Je.propHooks[this.prop];return this.pos=t=this.options.duration?f.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):Je.propHooks._default.set(this),this}},Je.prototype.init.prototype=Je.prototype,Je.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=f.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){f.fx.step[e.prop]?f.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[f.cssProps[e.prop]]||f.cssHooks[e.prop])?f.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Je.propHooks.scrollTop=Je.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},f.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},f.fx=Je.prototype.init,f.fx.step={};var Ye,Ge,Qe=/^(?:toggle|show|hide)$/,Ke=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),Ze=/queueHooks$/,et=[function(e,t,n){var r,i,o,a,s,l,u,d=this,p={},h=e.style,m=e.nodeType&&I(e),g=f._data(e,"fxshow");for(r in n.queue||(null==(s=f._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,f.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=f.css(e,"display"),"inline"===("none"===u?f._data(e,"olddisplay")||Ae(e.nodeName):u)&&"none"===f.css(e,"float")&&(c.inlineBlockNeedsLayout&&"inline"!==Ae(e.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",c.shrinkWrapBlocks()||d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),t)if(i=t[r],Qe.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||f.style(e,r)}else u=void 0;if(f.isEmptyObject(p))"inline"===("none"===u?Ae(e.nodeName):u)&&(h.display=u);else for(r in g?"hidden"in g&&(m=g.hidden):g=f._data(e,"fxshow",{}),o&&(g.hidden=!m),m?f(e).show():d.done(function(){f(e).hide()}),d.done(function(){var t;for(t in f._removeData(e,"fxshow"),p)f.style(e,t,p[t])}),p)a=it(m?g[r]:0,r,d),r in g||(g[r]=a.start,m&&(a.end=a.start,a.start="width"===r||"he
1ight"===r?1:0))}],tt={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Ke.exec(t),o=i&&i[3]||(f.cssNumber[e]?"":"px"),a=(f.cssNumber[e]||"px"!==o&&+r)&&Ke.exec(f.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do{a/=s=s||".5",f.style(n.elem,e,a+o)}while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function nt(){return setTimeout(function(){Ye=void 0}),Ye=f.now()}function rt(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)r["margin"+(n=z[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function it(e,t,n){for(var r,i=(tt[t]||[]).concat(tt["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,t,e))return r}function ot(e,t,n){var r,i,o=0,a=et.length,s=f.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=Ye||nt(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),o=0,a=u.tweens.length;a>o;o++)u.tweens[o].run(r);return s.notifyWith(e,[u,r,n]),1>r&&a?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:f.extend({},t),opts:f.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Ye||nt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=f.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=f.camelCase(n)],o=e[n],f.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=f.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,u.opts.specialEasing);a>o;o++)if(r=et[o].call(u,e,c,u.opts))return r;return f.map(c,it,u),f.isFunction(u.opts.start)&&u.opts.start.call(e,u),f.fx.timer(f.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}f.Animation=f.extend(ot,{tweener:function(e,t){f.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],tt[n]=tt[n]||[],tt[n].unshift(t)},prefilter:function(e,t){t?et.unshift(e):et.push(e)}}),f.speed=function(e,t,n){var r=e&&"object"==typeof e?f.extend({},e):{complete:n||!n&&t||f.isFunction(e)&&e,duration:e,easing:n&&t||t&&!f.isFunction(t)&&t};return r.duration=f.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in f.fx.speeds?f.fx.speeds[r.duration]:f.fx.speeds._default,(null==r.queue||!0===r.queue)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){f.isFunction(r.old)&&r.old.call(this),r.queue&&f.dequeue(this,r.queue)},r},f.fn.extend({fadeTo:function(e,t,n,r){return this.filter(I).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=f.isEmptyObject(e),o=f.speed(t,n,r),a=function(){var t=ot(this,f.extend({},e),o);(i||f._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=f.timers,a=f._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Ze.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&f.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=f._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=f.timers,a=r?r.length:0;for(n.finish=!0,f.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),f.each(["toggle","show","hide"],function(e,t){var n=f.fn[t];f.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(rt(t,!0),e,r,i)}}),f.each({slideDown:rt("show"),slideUp:rt("hide"),slideToggle:rt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){f.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),f.timers=[],f.fx.tick=function(){var e,t=f.timers,n=0;for(Ye=f.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||f.fx.stop(),Ye=void 0},f.fx.timer=function(e){f.timers.push(e),e()?f.fx.start():f.timers.pop()},f.fx.interval=13,f.fx.start=function(){Ge||(Ge=setInterval(f.fx.tick,f.fx.interval))},f.fx.stop=function(){clearInterval(Ge),Ge=null},f.fx.speeds={slow:600,fast:200,_default:400},f.fn.delay=function(e,t){return e=f.fx&&f.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e,t,n,r,i;(t=N.createElement("div")).setAttribute("className","t"),t.innerHTML="  <link/><table></table><a href='/a'>a</a>
1<input type='checkbox'/>",r=t.getElementsByTagName("a")[0],i=(n=N.createElement("select")).appendChild(N.createElement("option")),e=t.getElementsByTagName("input")[0],r.style.cssText="top:1px",c.getSetAttribute="t"!==t.className,c.style=/top/.test(r.getAttribute("style")),c.hrefNormalized="/a"===r.getAttribute("href"),c.checkOn=!!e.value,c.optSelected=i.selected,c.enctype=!!N.createElement("form").enctype,n.disabled=!0,c.optDisabled=!i.disabled,(e=N.createElement("input")).setAttribute("value",""),c.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),c.radioValue="t"===e.value}();var at=/\r/g;f.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=f.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,f(this).val()):e)?i="":"number"==typeof i?i+="":f.isArray(i)&&(i=f.map(i,function(e){return null==e?"":e+""})),(t=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=f.valHooks[i.type]||f.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(at,""):null==n?"":n:void 0}}),f.extend({valHooks:{option:{get:function(e){var t=f.find.attr(e,"value");return null!=t?t:f.trim(f.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;s>l;l++)if(!(!(n=r[l]).selected&&l!==i||(c.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&f.nodeName(n.parentNode,"optgroup"))){if(t=f(n).val(),o)return t;a.push(t)}return a}
vendor: 4,151 bytes, line 1
1,set:function(e,t){for(var n,r,i=e.options,o=f.makeArray(t),a=i.length;a--;)if(r=i[a],f.inArray(f.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]={set:function(e,t){return f.isArray(t)?e.checked=f.inArray(f(e).val(),t)>=0:void 0}},c.checkOn||(f.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var st,lt,ut=f.expr.attrHandle,ct=/^(?:checked|selected)$/i,dt=c.getSetAttribute,ft=c.input;f.fn.extend({attr:function(e,t){return X(this,f.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){f.removeAttr(this,e)})}}),f.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===M?f.prop(e,t,n):(1===o&&f.isXMLDoc(e)||(t=t.toLowerCase(),r=f.attrHooks[t]||(f.expr.match.bool.test(t)?lt:st)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=f.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void f.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(j);if(o&&1===e.nodeType)for(;n=o[i++];)r=f.propFix[n]||n,f.expr.match.bool.test(n)?ft&&dt||!ct.test(n)?e[r]=!1:e[f.camelCase("default-"+n)]=e[r]=!1:f.attr(e,n,""),e.removeAttribute(dt?n:r)},attrHooks:{type:{set:function(e,t){if(!c.radioValue&&"radio"===t&&f.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),lt={set:function(e,t,n){return!1===t?f.removeAttr(e,n):ft&&dt||!ct.test(n)?e.setAttribute(!dt&&f.propFix[n]||n,n):e[f.camelCase("default-"+n)]=e[n]=!0,n}},f.each(f.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ut[t]||f.find.attr;ut[t]=ft&&dt||!ct.test(t)?function(e,t,r){var i,o;return r||(o=ut[t],ut[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,ut[t]=o),i}:function(e,t,n){return n?void 0:e[f.camelCase("default-"+t)]?t.toLowerCase():null}}),ft&&dt||(f.attrHooks.value={set:function(e,t,n){return f.nodeName(e,"input")?void(e.defaultValue=t):st&&st.set(e,t,n)}}),dt||(st={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},ut.id=ut.name=ut.coords=function(e,t,n){var r;return n?void 0:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},f.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:st.set},f.attrHooks.contenteditable={set:function(e,t,n){st.set(e,""!==t&&t,n)}},f.each(["width","height"],function(e,t){f.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),c.style||(f.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var pt=/^(?:input|select|textarea|button|object)$/i,ht=/^(?:a|area)$/i;f.fn.extend({prop:function(e,t){return X(this,f.prop,e,t,arguments.length>1)},removeProp:function(e){return e=f.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),f.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!f.isXMLDoc(e))&&(t=f.propFix[t]||t,i=f.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=f.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}}}),c.hrefNormalized||f.each(["href","src"],function(e,t){f.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),c.optSelected||(f.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),f.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){f.propFix[this.toLowerCase()]=this}),c.enctype||(f.propFix.enctype="encoding");var mt=/[\t\r\n\f]/g;f.fn.extend({addClass:function(e){var t,n,r,i,o,a,s=0,l=this.length,u="string"==typeof e&&e;
1if(f.isFunction(e))return this.each(function(t){f(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(j)||[];l>s;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(mt," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=f.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,i,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof e&&e;if(f.isFunction(e))return this.each(function(t){f(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(j)||[];l>s;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(mt," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?f.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):this.each(f.isFunction(e)?function(n){f(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var t,r=0,i=f(this),o=e.match(j)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===M||"boolean"===n)&&(this.className&&f._data(this,"__className__",this.className),this.className=this.className||!1===e?"":f._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(mt," ").indexOf(t)>=0)return!0;return!1}}),f.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,t){f.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),f.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},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)}});var gt=f.now(),vt=/\?/,yt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;f.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=f.trim(t+"");return i&&!f.trim(i.replace(yt,function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")}))?Function("return "+i)():f.error("Invalid JSON: "+t)},f.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{e.DOMParser?n=(new DOMParser).parseFromString(t,"text/xml"):((n=new ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(t))}catch(e){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||f.error("Invalid XML: "+t),n};var bt,xt,wt=/#.*$/,Tt=/([?&])_=[^&]*/,Ct=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Nt=/^(?:GET|HEAD)$/,Et=/^\/\//,kt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,St={},At={},Dt="*/".concat("*");try{xt=location.href}catch(e){(xt=N.createElement("a")).href="",xt=xt.href}function jt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(j)||[];if(f.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Lt(e,t,n,r){var i={},o=e===At;function a(s){var l;return i[s]=!0,f.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||i[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ht(e,t){var n,r,i=f.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&f.extend(!0,e,n),e}bt=kt.exec(xt.toLowerCase())||[],f.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(bt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}
vendor: 5,418 bytes, line 1
1,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ht(Ht(e,f.ajaxSettings),t):Ht(f.ajaxSettings,e)},ajaxPrefilter:jt(St),ajaxTransport:jt(At),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,i,o,a,s,l,u,c=f.ajaxSetup({},t),d=c.context||c,p=c.context&&(d.nodeType||d.jquery)?f(d):f.event,h=f.Deferred(),m=f.Callbacks("once memory"),g=c.statusCode||{},v={},y={},b=0,x="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!u)for(u={};t=Ct.exec(o);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)g[t]=[g[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||x;return l&&l.abort(t),T(0,t),this}};if(h.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,c.url=((e||c.url||xt)+"").replace(wt,"").replace(Et,bt[1]+"//"),c.type=t.method||t.type||c.method||c.type,c.dataTypes=f.trim(c.dataType||"*").toLowerCase().match(j)||[""],null==c.crossDomain&&(n=kt.exec(c.url.toLowerCase()),c.crossDomain=!(!n||n[1]===bt[1]&&n[2]===bt[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(bt[3]||("http:"===bt[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=f.param(c.data,c.traditional)),Lt(St,c,t,w),2===b)return w;for(r in(s=c.global)&&0==f.active++&&f.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!Nt.test(c.type),i=c.url,c.hasContent||(c.data&&(i=c.url+=(vt.test(i)?"&":"?")+c.data,delete c.data),!1===c.cache&&(c.url=Tt.test(i)?i.replace(Tt,"$1_="+gt++):i+(vt.test(i)?"&":"?")+"_="+gt++)),c.ifModified&&(f.lastModified[i]&&w.setRequestHeader("If-Modified-Since",f.lastModified[i]),f.etag[i]&&w.setRequestHeader("If-None-Match",f.etag[i])),(c.data&&c.hasContent&&!1!==c.contentType||t.contentType)&&w.setRequestHeader("Content-Type",c.contentType),w.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+Dt+"; q=0.01":""):c.accepts["*"]),c.headers)w.setRequestHeader(r,c.headers[r]);if(c.beforeSend&&(!1===c.beforeSend.call(d,w,c)||2===b))return w.abort();for(r in x="abort",{success:1,error:1,complete:1})w[r](c[r]);if(l=Lt(At,c,t,w)){w.readyState=1,s&&p.trigger("ajaxSend",[w,c]),c.async&&c.timeout>0&&(a=setTimeout(function(){w.abort("timeout")},c.timeout));try{b=1,l.send(v,T)}catch(e){if(!(2>b))throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,n,r){var u,v,y,x,T,C=t;2!==b&&(b=2,a&&clearTimeout(a),l=void 0,o=r||"",w.readyState=e>0?4:0,u=e>=200&&300>e||304===e,n&&(x=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}(c,w,n)),x=function(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(c,x,w,u),u?(c.ifModified&&((T=w.getResponseHeader("Last-Modified"))&&(f.lastModified[i]=T),(T=w.getResponseHeader("etag"))&&(f.etag[i]=T)),204===e||"HEAD"===c.type?C="nocontent":304===e?C="notmodified":(C=x.state,v=x.data,u=!(y=x.error))):(y=C,(e||!C)&&(C="error",0>e&&(e=0))),w.status=e,w.statusText=(t||C)+"",u?h.resolveWith(d,[v,C,w]):h.rejectWith(d,[w,C,y]),w.statusCode(g),g=void 0,s&&p.trigger(u?"ajaxSuccess":"ajaxError",[w,c,u?v:y]),m.fireWith(d,[w,C]),s&&(p.trigger("ajaxComplete",[w,c]),--f.active||f.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return f.get(e,t,n,"json")},getScript:function(e,t){return f.get(e,void 0,t,"script")}}),f.each(["get","post"],function(e,t){f[t]=function(e,n,r,i){return f.isFunction(n)&&(i=i||r,r=n,n=void 0),f.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),f.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){f.fn[t]=function(e){return this.on(t,e)}}),f._evalUrl=function(e){return f.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},f.fn.extend({wrapAll:function(e){if(f.isFunction(e))return this.each(function(t){f(this).wrapAll(e.call(this,t))});if(this[0]){var t=f(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return this.each(f.isFunction(e)?function(t){f(this).wrapInner(e.call(this,t))}:function(){var t=f(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=f.isFunction(e);return this.each(function(n){f(this).wrapAll(t?e.call(this,n):e)})}
vendor: 5,732 bytes, line 1
1,unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()}}),f.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!c.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||f.css(e,"display"))},f.expr.filters.visible=function(e){return!f.expr.filters.hidden(e)};var _t=/%20/g,qt=/\[\]$/,Mt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;function Bt(e,t,n,r){var i;if(f.isArray(t))f.each(t,function(t,i){n||qt.test(e)?r(e,i):Bt(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==f.type(t))r(e,t);else for(i in t)Bt(e+"["+i+"]",t[i],n,r)}f.param=function(e,t){var n,r=[],i=function(e,t){t=f.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=f.ajaxSettings&&f.ajaxSettings.traditional),f.isArray(e)||e.jquery&&!f.isPlainObject(e))f.each(e,function(){i(this.name,this.value)});else for(n in e)Bt(n,e[n],t,i);return r.join("&").replace(_t,"+")},f.fn.extend({serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=f.prop(this,"elements");return e?f.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!f(this).is(":disabled")&&Ft.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!U.test(e))}).map(function(e,t){var n=f(this).val();return null==n?null:f.isArray(n)?f.map(n,function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}}):{name:t.name,value:n.replace(Mt,"\r\n")}}).get()}}),f.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&$t()||function(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:$t;var Pt=0,Rt={},Wt=f.ajaxSettings.xhr();function $t(){try{return new e.XMLHttpRequest}catch(e){}}e.ActiveXObject&&f(e).on("unload",function(){for(var e in Rt)Rt[e](void 0,!0)}),c.cors=!!Wt&&"withCredentials"in Wt,(Wt=c.ajax=!!Wt)&&f.ajaxTransport(function(e){var t;if(!e.crossDomain||c.cors)return{send:function(n,r){var i,o=e.xhr(),a=++Pt;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];for(i in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)void 0!==n[i]&&o.setRequestHeader(i,n[i]+"");o.send(e.hasContent&&e.data||null),t=function(n,i){var s,l,u;if(t&&(i||4===o.readyState))if(delete Rt[a],t=void 0,o.onreadystatechange=f.noop,i)4!==o.readyState&&o.abort();else{u={},s=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(e){l=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=u.text?200:404}u&&r(s,l,u,o.getAllResponseHeaders())},e.async?4===o.readyState?setTimeout(t):o.onreadystatechange=Rt[a]=t:t()},abort:function(){t&&t(void 0,!0)}}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return f.globalEval(e),e}}}),f.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),f.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=N.head||f("head")[0]||N.documentElement;return{send:function(r,i){(t=N.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var zt=[],It=/(=)\?(?=&|$)|\?\?/;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||f.expando+"_"+gt++;return this[e]=!0,e}}),f.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(It.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&It.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=f.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(It,"$1"+i):!1!==t.jsonp&&(t.url+=(vt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||f.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,zt.push(i)),a&&f.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),f.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||N;var r=x.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=f.buildFragment([e],t,i),i&&i.length&&f(i).remove(),f.merge([],r.childNodes))};var Xt=f.fn.load;f.fn.load=function(e,t,n){if("string"!=typeof e&&Xt)return Xt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=f.trim(e.slice(s,e.length)),e=e.slice(0,s)),f.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&f.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?f("<div>").append(f.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},f.expr.filters.animated=function(e){return f.grep(f.timers,function(t){return e===t.elem}).length};var Ut=e.document.documentElement;function Vt(e){return f.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}f.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,u=f.css(e,"position"),c=f(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=f.css(e,"to
vendor: 6,752 bytes, lines 1-2
1p"),l=f.css(e,"left"),("absolute"===u||"fixed"===u)&&f.inArray("auto",[o,l])>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),f.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):c.css(d)}},f.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){f.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,f.contains(t,i)?(typeof i.getBoundingClientRect!==M&&(r=i.getBoundingClientRect()),n=Vt(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===f.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),f.nodeName(e[0],"html")||(n=e.offset()),n.top+=f.css(e[0],"borderTopWidth",!0),n.left+=f.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-f.css(r,"marginTop",!0),left:t.left-n.left-f.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Ut;e&&!f.nodeName(e,"html")&&"static"===f.css(e,"position");)e=e.offsetParent;return e||Ut})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);f.fn[e]=function(r){return X(this,function(e,r,i){var o=Vt(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?f(o).scrollLeft():i,n?i:f(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),f.each(["top","left"],function(e,t){f.cssHooks[t]=qe(c.pixelPosition,function(e,n){return n?(n=je(e,t),He.test(n)?f(e).position()[t]+"px":n):void 0})}),f.each({Height:"height",Width:"width"},function(e,t){f.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){f.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return X(this,function(t,n,r){var i;return f.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?f.css(t,n,a):f.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),f.fn.size=function(){return this.length},f.fn.andSelf=f.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return f});var Jt=e.jQuery,Yt=e.$;return f.noConflict=function(t){return e.$===f&&(e.$=Yt),t&&e.jQuery===f&&(e.jQuery=Jt),f},typeof t===M&&(e.jQuery=e.$=f),f});
2if("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)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||t(o).trigger(t.support.transition.end)},e),this},t(function(){t.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}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.3.4",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function o(){a.detach().trigger("closed.bs.alert").remove()}var n=t(this),s=n.attr("data-target");s||(s=(s=n.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t(s);e&&e.preventDefault(),a.length||(a=n.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o())};var o=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var o=t(this),n=o.data("bs.alert");n||o.data("bs.alert",n=new i(this)),"string"==typeof e&&n[e].call(o)})},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.button"),s="object"==typeof e&&e;n||o.data("bs.button",n=new i(this,s)),"toggle"==e?n.toggle():e&&n.setState(e)})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,o),this.isLoading=!1};i.VERSION="3.3.4",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",o=this.$element,n=o.is("input")?"val":"html",s=o.data();e+="Text",null==s.resetText&&o.data("resetText",o[n]()),setTimeout(t.proxy(function(){o[n](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i))},this),0)},i.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")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var o=t(i.target);o.hasClass("btn")||(o=o.closest(".btn")),e.call(o,"toggle"),i.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.carousel"),s=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e),a="string"==typeof e?e:s.slide;n||o.data("bs.carousel",n=new i(this,s)),"number"==typeof e?n.to(e):a?n[a]():s.interval&&n.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
2down.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.4",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.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()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.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)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,o){var n=this.$element.find(".item.active"),s=o||this.getItemForDirection(e,n),a=this.interval,r="next"==e?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var h=s[0],d=t.Event("slide.bs.carousel",{relatedTarget:h,direction:r});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=t(this.$indicators.children()[this.getItemIndex(s)]);p&&p.addClass("active")}var c=t.Event("slid.bs.carousel",{relatedTarget:h,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),s[0].offsetWidth,n.addClass(r),s.addClass(r),n.one("bsTransitionEnd",function(){s.removeClass([e,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(c)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(n.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(c)),a&&this.cycle(),this}};var o=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=o,this};var n=function(i){var o,n=t(this),s=t(n.attr("data-target")||(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),n.data()),r=n.attr("data-slide-to");r&&(a.interval=!1),e.call(s,a),r&&s.data("bs.carousel").to(r),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var i=t(this);e.call(i,i.data())})})}(jQuery),function(t){"use strict";function e(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(o)}function i(e){return this.each(function(){var i=t(this),n=i.data("bs.collapse"),s=t.extend({},o.DEFAULTS,i.data(),"object"==typeof e&&e);!n&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),n||i.data("bs.collapse",n=new o(this,s)),"string"==typeof e&&n[e]()})}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};o.VERSION="3.3.4",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"),e&&e.transitioning))){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(i.call(n,"hide"),e||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[a](this.$element[0][l])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[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 n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(o.TRANSITION_DURATION):n.call(this)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,o){var n=t(o);this.addAriaAndCollapsedClass(e(n),n)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=o,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(o){var n=t(this);n.attr("data-target")||o.preventDefault();var s=e(n),a=s.data("bs.collapse")?"toggle":n.data();i.call(s,a)})}(jQuery),function(t){"use strict";function e(e){e&&3===e.which||(t(o).remove(),t(n).each(function(){var o=t(this),n=i(o),s={relatedTarget:this};n.hasClass("open")&&(n.trigger(e=t.Event("hide.bs.dropdown",s)),e.isDefaultPrevented()||(o.attr("aria-expanded","fal
2se"),n.removeClass("open").trigger("hidden.bs.dropdown",s)))}))}function i(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o=i&&t(i);return o&&o.length?o:e.parent()}var o=".dropdown-backdrop",n='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.4",s.prototype.toggle=function(o){var n=t(this);if(!n.is(".disabled, :disabled")){var s=i(n),a=s.hasClass("open");if(e(),!a){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var r={relatedTarget:this};if(s.trigger(o=t.Event("show.bs.dropdown",r)),o.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},s.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var o=t(this);if(e.preventDefault(),e.stopPropagation(),!o.is(".disabled, :disabled")){var s=i(o),a=s.hasClass("open");if(!a&&27!=e.which||a&&27==e.which)return 27==e.which&&s.find(n).trigger("focus"),o.trigger("click");var r=" li:not(.disabled):visible a",l=s.find('[role="menu"]'+r+', [role="listbox"]'+r);if(l.length){var h=l.index(e.target);38==e.which&&h>0&&h--,40==e.which&&h<l.length-1&&h++,~h||(h=0),l.eq(h).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var i=t(this),o=i.data("bs.dropdown");o||i.data("bs.dropdown",o=new s(this)),"string"==typeof e&&o[e].call(i)})},t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",n,s.prototype.toggle).on("keydown.bs.dropdown.data-api",n,s.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',s.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',s.prototype.keydown)}(jQuery),function(t){"use strict";function e(e,o){return this.each(function(){var n=t(this),s=n.data("bs.modal"),a=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);s||n.data("bs.modal",s=new i(this,a)),"string"==typeof e?s[e](o):a.show&&s.show(o)})}var i=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),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,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};i.VERSION="3.3.4",i.TRANSITION_DURATION=300,i.BACKDROP_TRANSITION_DURATION=150,i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},i.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},i.prototype.show=function(e){var o=this,n=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(n),this.isShown||n.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"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){o.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(o.$element)&&(o.ignoreBackdropClick=!0)})}),this.backdrop(function(){var n=t.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),n&&o.$element[0].offsetWidth,o.$element.addClass("in").attr("aria-hidden",!1),o.enforceFocus();var s=t.Event("shown.bs.modal",{relatedTarget:e});n?o.$dialog.one("bsTransitionEnd",function(){o.$element.trigger("focus").trigger(s)}).emulateTransitionEnd(i.TRANSITION_DURATION):o.$element.trigger("focus").trigger(s)}))},i.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())},i.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
2down.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},i.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},i.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")})},i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},i.prototype.backdrop=function(e){var o=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=t.support.transition&&n;if(this.$backdrop=t('<div class="modal-backdrop '+n+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.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)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;s?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){o.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},i.prototype.handleUpdate=function(){this.adjustDialog()},i.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:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.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()},i.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)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},i.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 o=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=i,t.fn.modal.noConflict=function(){return t.fn.modal=o,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(i){var o=t(this),n=o.attr("href"),s=t(o.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(n)&&n},s.data(),o.data());o.is("a")&&i.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){o.is(":visible")&&o.trigger("focus")})}),e.call(s,a,this)})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",t,e)};e.VERSION="3.3.4",e.TRANSITION_DURATION=150,e.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}},e.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport),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 n=this.options.trigger.split(" "),s=n.length;s--;){var a=n[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i&&i.$tip&&i.$tip.is(":visible")?void(i.hoverState="in"):(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);
vendor: 12,229 bytes, line 2
2return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,h=l.test(r);h&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var d=this.getPosition(),p=s[0].offsetWidth,c=s[0].offsetHeight;if(h){var f=r,u=this.options.container?t(this.options.container):this.$element.parent(),g=this.getPosition(u);r="bottom"==r&&d.bottom+c>g.bottom?"top":"top"==r&&d.top-c<g.top?"bottom":"right"==r&&d.right+p>g.width?"left":"left"==r&&d.left-p<g.left?"right":r,s.removeClass(f).addClass(r)}var m=this.getCalculatedOffset(r,d,p,c);this.applyPlacement(m,r);var v=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",v).emulateTransitionEnd(e.TRANSITION_DURATION):v()}},e.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,a=parseInt(o.css("margin-top"),10),r=parseInt(o.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(r)&&(r=0),e.top=e.top+a,e.left=e.left+r,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,h=o[0].offsetHeight;"top"==i&&h!=s&&(e.top=e.top+s-h);var d=this.getViewportAdjustedDelta(i,e,l,h);d.left?e.left+=d.left:e.top+=d.top;var p=/top|bottom/.test(i),c=p?2*d.left-n+l:2*d.top-s+h,f=p?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(c,o[0][f],p)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.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")},e.prototype.hide=function(i){function o(){"in"!=n.hoverState&&s.detach(),n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),i&&i()}var n=this,s=t(this.$tip),a=t.Event("hide.bs."+this.type);return this.$element.trigger(a),a.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(e.TRANSITION_DURATION):o(),this.hoverState=null,this)},e.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","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),a={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},r=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,a,r,s)},e.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}},e.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.width&&(n.left=a.left+a.width-d)}return n},e.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)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof i&&i;(n||!/destroy|hide/.test(i))&&(n||o.data("bs.tooltip",n=new e(this,s)),"string"==typeof i&&n[i]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.4",e.DEFAULTS=t.extend({},t.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>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.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()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.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)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each(function(){var o=t(this),n=o.data("bs.popover"),s="object"==typeof i&&i;(n||!/destroy|hide/.test(i))&&(n||o.data("bs.popover",n=new e(this,s)),"string"==typeof i&&n[i]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(i,o){this.$body=t(document.body),this.$scrollElement=t(t(i).is(document.body)?window:i),this.options=t.extend({},e.DEFAULTS,o),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var o=t(this),n=o.data("bs.scrollspy"),s="object"==typeof i&&i;n||o.data("bs.scrollspy",n=new e(this,s)),"string"==typeof i&&n[i]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),n=e.data("target")||e.attr("href"),s=/^#./.test(n)&&t(n);return s&&s.length&&s.is(":visible")&&[[s[i]().top+o,n]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.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(),e>=o)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])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',o=t(i).parents("li").addClass("active");o.parent(".dropdown-menu").length&&(o=o.closest("li.dropdown").addClass("active")),o.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var o=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=o,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.tab");n||o.data("bs.tab",n=new i(this)),"string"==typeof e&&n[e]()})}var i=function(e){this.element=t(e)};i.VERSION="3.3.4",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),o=e.data("target");if(o||(o=(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(s),e.trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){var r=t(o);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},i.prototype.activate=function(e,o,n){function s(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var a=o.find("> .active"),r=n&&t.support.transition&&(a.length&&a.hasClass("fade")||!!o.find("> .fade").length);a.length&&r?a.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s(),a.removeClass("in")};var o=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=o,this};var n=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.affix"),s="object"==typeof e&&e;n||o.data("bs.affix",n=new i(this,s)),"string"==typeof e&&n[e]()})}var i=function(e,o){this.options=t.extend({},i.DEFAULTS,o),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.4",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window}
2,i.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 i>n&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=s.top)&&"bottom":!(t-o>=n+a)&&"bottom";var r=null==this.affixed,l=r?n:s.top;return null!=i&&i>=n?"top":null!=o&&l+(r?a:e)>=t-o&&"bottom"},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),o=this.options.offset,n=o.top,s=o.bottom,a=t(document.body).height();"object"!=typeof o&&(s=n=o),"function"==typeof n&&(n=o.top(this.$element)),"function"==typeof s&&(s=o.bottom(this.$element));var r=this.getState(a,e,n,s);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),h=t.Event(l+".bs.affix");if(this.$element.trigger(h),h.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:a-e-s})}};var o=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=o,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),o=i.data();o.offset=o.offset||{},null!=o.offsetBottom&&(o.offset.bottom=o.offsetBottom),null!=o.offsetTop&&(o.offset.top=o.offsetTop),e.call(i,o)})})}(jQuery);
3jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,e,t,u,a){return jQuery.easing[jQuery.easing.def](n,e,t,u,a)},easeInQuad:function(n,e,t,u,a){return u*(e/=a)*e+t},easeOutQuad:function(n,e,t,u,a){return-u*(e/=a)*(e-2)+t},easeInOutQuad:function(n,e,t,u,a){return(e/=a/2)<1?u/2*e*e+t:-u/2*(--e*(e-2)-1)+t},easeInCubic:function(n,e,t,u,a){return u*(e/=a)*e*e+t},easeOutCubic:function(n,e,t,u,a){return u*((e=e/a-1)*e*e+1)+t},easeInOutCubic:function(n,e,t,u,a){return(e/=a/2)<1?u/2*e*e*e+t:u/2*((e-=2)*e*e+2)+t},easeInQuart:function(n,e,t,u,a){return u*(e/=a)*e*e*e+t},easeOutQuart:function(n,e,t,u,a){return-u*((e=e/a-1)*e*e*e-1)+t},easeInOutQuart:function(n,e,t,u,a){return(e/=a/2)<1?u/2*e*e*e*e+t:-u/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(n,e,t,u,a){return u*(e/=a)*e*e*e*e+t},easeOutQuint:function(n,e,t,u,a){return u*((e=e/a-1)*e*e*e*e+1)+t},easeInOutQuint:function(n,e,t,u,a){return(e/=a/2)<1?u/2*e*e*e*e*e+t:u/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(n,e,t,u,a){return-u*Math.cos(e/a*(Math.PI/2))+u+t},easeOutSine:function(n,e,t,u,a){return u*Math.sin(e/a*(Math.PI/2))+t},easeInOutSine:function(n,e,t,u,a){return-u/2*(Math.cos(Math.PI*e/a)-1)+t},easeInExpo:function(n,e,t,u,a){return 0==e?t:u*Math.pow(2,10*(e/a-1))+t},easeOutExpo:function(n,e,t,u,a){return e==a?t+u:u*(1-Math.pow(2,-10*e/a))+t},easeInOutExpo:function(n,e,t,u,a){return 0==e?t:e==a?t+u:(e/=a/2)<1?u/2*Math.pow(2,10*(e-1))+t:u/2*(2-Math.pow(2,-10*--e))+t},easeInCirc:function(n,e,t,u,a){return-u*(Math.sqrt(1-(e/=a)*e)-1)+t},easeOutCirc:function(n,e,t,u,a){return u*Math.sqrt(1-(e=e/a-1)*e)+t},easeInOutCirc:function(n,e,t,u,a){return(e/=a/2)<1?-u/2*(Math.sqrt(1-e*e)-1)+t:u/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(n,e,t,u,a){var r=1.70158,i=0,s=u;if(0==e)return t;if(1==(e/=a))return t+u;if(i||(i=.3*a),s<Math.abs(u)){s=u;r=i/4}else r=i/(2*Math.PI)*Math.asin(u/s);return-s*Math.pow(2,10*(e-=1))*Math.sin((e*a-r)*(2*Math.PI)/i)+t},easeOutElastic:function(n,e,t,u,a){var r=1.70158,i=0,s=u;if(0==e)return t;if(1==(e/=a))return t+u;if(i||(i=.3*a),s<Math.abs(u)){s=u;r=i/4}else r=i/(2*Math.PI)*Math.asin(u/s);return s*Math.pow(2,-10*e)*Math.sin((e*a-r)*(2*Math.PI)/i)+u+t},easeInOutElastic:function(n,e,t,u,a){var r=1.70158,i=0,s=u;if(0==e)return t;if(2==(e/=a/2))return t+u;if(i||(i=a*(.3*1.5)),s<Math.abs(u)){s=u;r=i/4}else r=i/(2*Math.PI)*Math.asin(u/s);return e<1?s*Math.pow(2,10*(e-=1))*Math.sin((e*a-r)*(2*Math.PI)/i)*-.5+t:s*Math.pow(2,-10*(e-=1))*Math.sin((e*a-r)*(2*Math.PI)/i)*.5+u+t},easeInBack:function(n,e,t,u,a,r){return null==r&&(r=1.70158),u*(e/=a)*e*((r+1)*e-r)+t},easeOutBack:function(n,e,t,u,a,r){return null==r&&(r=1.70158),u*((e=e/a-1)*e*((r+1)*e+r)+1)+t},easeInOutBack:function(n,e,t,u,a,r){return null==r&&(r=1.70158),(e/=a/2)<1?u/2*(e*e*((1+(r*=1.525))*e-r))+t:u/2*((e-=2)*e*((1+(r*=1.525))*e+r)+2)+t},easeInBounce:function(n,e,t,u,a){return u-jQuery.easing.easeOutBounce(n,a-e,0,u,a)+t},easeOutBounce:function(n,e,t,u,a){return(e/=a)<1/2.75?u*(7.5625*e*e)+t:e<2/2.75?u*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?u*(7.5625*(e-=2.25/2.75)*e+.9375)+t:u*(7.5625*(e-=2.625/2.75)*e+.984375)+t},easeInOutBounce:function(n,e,t,u,a){return e<a/2?.5*jQuery.easing.easeInBounce(n,2*e,0,u,a)+t:.5*jQuery.easing.easeOutBounce(n,2*e-a,0,u,a)+.5*u+t}});
4window.Modernizr=function(t,e,n){function r(t){v.cssText=t}function o(t,e){return typeof t===e}function i(t,e){return!!~(""+t).indexOf(e)}function s(t,e){for(var r in t){var o=t[r];if(!i(o,"-")&&v[o]!==n)return"pfx"!=e||o}return!1}function c(t,e,r){for(var i in t){var s=e[t[i]];if(s!==n)return!1===r?t[i]:o(s,"function")?s.bind(r||e):s}return!1}function u(t,e,n){var r=t.charAt(0).toUpperCase()+t.slice(1),i=(t+" "+w.join(r+" ")+r).split(" ");return o(e,"string")||o(e,"undefined")?s(i,e):c(i=(t+" "+b.join(r+" ")+r).split(" "),e,n)}var a,l,f={},d=e.documentElement,p="modernizr",y=e.createElement(p),v=y.style,m=" -webkit- -moz- -o- -ms- ".split(" "),h="Webkit Moz O ms",w=h.split(" "),b=h.toLowerCase().split(" "),g="http://www.w3.org/2000/svg",j={},C=[],x=C.slice,E={}.hasOwnProperty;for(var N in l=o(E,"undefined")||o(E.call,"undefined")?function(t,e){return e in t&&o(t.constructor.prototype[e],"undefined")}:function(t,e){return E.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;
4var n=x.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=e.prototype;var i=new o,s=e.apply(i,n.concat(x.call(arguments)));return Object(s)===s?s:i}return e.apply(t,n.concat(x.call(arguments)))};return r}),j.multiplebgs=function(){return r("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(v.background)},j.backgroundsize=function(){return u("backgroundSize")},j.boxshadow=function(){return u("boxShadow")},j.opacity=function(){return t="opacity:.55",r(m.join(t+";")+(e||"")),/^0.55$/.test(v.opacity);var t,e},j.cssanimations=function(){return u("animationName")},j.csstransitions=function(){return u("transition")},j.svg=function(){return!!e.createElementNS&&!!e.createElementNS(g,"svg").createSVGRect},j)l(j,N)&&(a=N.toLowerCase(),f[a]=j[N](),C.push((f[a]?"":"no-")+a));return f.addTest=function(t,e){if("object"==typeof t)for(var r in t)l(t,r)&&f.addTest(r,t[r]);else{if(t=t.toLowerCase(),f[t]!==n)return f;e="function"==typeof e?e():e,d.className+=" "+(e?"":"no-")+t,f[t]=e}return f},r(""),y=null,f._version="2.7.1",f._prefixes=m,f._domPrefixes=b,f._cssomPrefixes=w,f.testProp=function(t){return s([t])},f.testAllProps=u,f.testStyles=function(t,n,r,o){var i,s,c,u,a=e.createElement("div"),l=e.body,f=l||e.createElement("body");if(parseInt(r,10))for(;r--;)(c=e.createElement("div")).id=o?o[r]:p+(r+1),a.appendChild(c);return i=["&#173;",'<style id="s',p,'">',t,"</style>"].join(""),a.id=p,(l?a:f).innerHTML+=i,f.appendChild(a),l||(f.style.background="",f.style.overflow="hidden",u=d.style.overflow,d.style.overflow="hidden",d.appendChild(f)),s=n(a,t),l?a.parentNode.removeChild(a):(f.parentNode.removeChild(f),d.style.overflow=u),!!s},d.className=d.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+C.join(" "),f}(0,this.document);
5!function(e){e.fn.hoverIntent=function(t,n,o){var r,v,i,u,s={interval:100,sensitivity:7,timeout:0};s="object"==typeof t?e.extend(s,t):e.isFunction(n)?e.extend(s,{over:t,out:n,selector:o}):e.extend(s,{over:t,out:t,selector:n});var h=function(e){r=e.pageX,v=e.pageY},a=function(t,n){if(n.hoverIntent_t=clearTimeout(n.hoverIntent_t),Math.abs(i-r)+Math.abs(u-v)<s.sensitivity)return e(n).off("mousemove.hoverIntent",h),n.hoverIntent_s=1,s.over.apply(n,[t]);i=r,u=v,n.hoverIntent_t=setTimeout(function(){a(t,n)},s.interval)},I=function(t){var n=jQuery.extend({},t),o=this;o.hoverIntent_t&&(o.hoverIntent_t=clearTimeout(o.hoverIntent_t)),"mouseenter"==t.type?(i=n.pageX,u=n.pageY,e(o).on("mousemove.hoverIntent",h),1!=o.hoverIntent_s&&(o.hoverIntent_t=setTimeout(function(){a(n,o)},s.interval))):(e(o).off("mousemove.hoverIntent",h),1==o.hoverIntent_s&&(o.hoverIntent_t=setTimeout(function(){!function(e,t){t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,s.out.apply(t,[e])}(n,o)},s.timeout)))};return this.on({"mouseenter.hoverIntent":I,"mouseleave.hoverIntent":I},s.selector)}}(jQuery);
6!function(e){e.fn.appear=function(a,r){var p=e.extend({data:void 0,one:!0,accX:0,accY:0},r);return this.each(function(){var r=e(this);if(r.appeared=!1,a){var n=e(window),t=function(){if(r.is(":visible")){var e=n.scrollLeft(),a=n.scrollTop(),t=r.offset(),c=t.left,i=t.top,o=p.accX,f=p.accY,s=r.height(),l=n.height(),h=r.width(),d=n.width();i+s+f>=a&&i<=a+l+f&&c+h+o>=e&&c<=e+d+o?r.appeared||r.trigger("appear",p.data):r.appeared=!1}else r.appeared=!1},c=function(){if(r.appeared=!0,p.one){n.unbind("scroll",t);var c=e.inArray(t,e.fn.appear.checks);c>=0&&e.fn.appear.checks.splice(c,1)}a.apply(this,arguments)};p.one?r.one("appear",p.data,c):r.bind("appear",p.data,c),n.scroll(t),e.fn.appear.checks.push(t),t()}else r.trigger("appear",p.data)})},e.extend(e.fn.appear,{checks:[],timeout:null,checkAll:function(){var a=e.fn.appear.checks.length;if(a>0)for(;a--;)e.fn.appear.checks[a]()},run:function(){e.fn.appear.timeout&&clearTimeout(e.fn.appear.timeout),e.fn.appear.timeout=setTimeout(e.fn.appear.checkAll,20)}}),e.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(a,r){var p=e.fn[r];p&&(e.fn[r]=function(){var a=p.apply(this,arguments);return e.fn.appear.run(),a})})}(jQuery);
7!function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null};if(!document.getElementById("fit-vids-style")){var r=document.createElement("div"),a=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];r.className="fit-vids-style",r.id="fit-vids-style",r.style.display="none",r.innerHTML="&shy;<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>",a.parentNode.insertBefore(r,a)}return e&&t.extend(i,e),this.each(function(){var e=["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&&e.push(i.customSelector);var r=t(this).find(e.join(","));(r=r.not("object object")).each(function(){var e=t(this);if(!("embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var r="fitvid"+Math.floor(999999*Math.random());e.attr("id",r)}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto);
8!function(t){t.fn.countTo=function(e){return e=e||{},t(this).each(function(){var a=t.extend({},t.fn.countTo.defaults,{from:t(this).data("from"),to:t(this).data("to"),speed:t(this).data("speed"),refreshInterval:t(this).data("refresh-interval"),decimals:t(this).data("decimals")},e),n=Math.ceil(a.speed/a.refreshInterval),o=(a.to-a.from)/n,r=this,l=t(this),f=0,i=a.from,c=l.data("countTo")||{};function s(t){var e=a.formatter.call(r,t,a);l.text(e)}l.data("countTo",c),c.interval&&clearInterval(c.interval),c.interval=setInterval(function(){f++,s(i+=o),"function"==typeof a.onUpdate&&a.onUpdate.call(r,i);f>
8=n&&(l.removeData("countTo"),clearInterval(c.interval),i=a.to,"function"==typeof a.onComplete&&a.onComplete.call(r,i))},a.refreshInterval),s(i)})},t.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(t,e){return t.toFixed(e.decimals)},onUpdate:null,onComplete:null}}(jQuery);
9function revslider_showDoubleJqueryError(t){var e="Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";e+="<br> This includes make eliminates the revolution slider libraries, and make it not work.",e+="<br><br> To fix it you can:<br>&nbsp;&nbsp;&nbsp; 1. In the Slider Settings -> Troubleshooting set option:  <strong><b>Put JS Includes To Body</b></strong> option to true.",e="<span style='font-size:16px;color:#BC0C06;'>"+(e+="<br>&nbsp;&nbsp;&nbsp; 2. Find the double jquery.js include and remove it.")+"</span>",jQuery(t).show().html(e)}!function(t,e){function a(a,i){if("preview1"!=i.navigationStyle&&"preview3"!=i.navigationStyle&&"preview4"!=i.navigationStyle||(i.soloArrowLeftHalign="left",i.soloArrowLeftValign="center",i.soloArrowLeftHOffset=0,i.soloArrowLeftVOffset=0,i.soloArrowRightHalign="right",i.soloArrowRightValign="center",i.soloArrowRightHOffset=0,i.soloArrowRightVOffset=0,i.navigationArrows="solo"),i.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),"on"!=i.fullWidth&&"on"!=i.fullScreen&&(i.autoHeight="off"),"on"==i.fullScreen&&(i.autoHeight="on"),"on"!=i.fullWidth&&"on"!=i.fullScreen&&(forceFulWidth="off"),"on"==i.fullWidth&&"off"==i.autoHeight&&a.css({maxHeight:i.startheight+"px"}),j()&&"on"==i.hideThumbsOnMobile&&"thumb"==i.navigationType&&(i.navigationType="none"),j()&&"on"==i.hideBulletsOnMobile&&"bullet"==i.navigationType&&(i.navigationType="none"),j()&&"on"==i.hideBulletsOnMobile&&"both"==i.navigationType&&(i.navigationType="none"),j()&&"on"==i.hideArrowsOnMobile&&(i.navigationArrows="none"),"on"==i.forceFullWidth&&0==a.closest(".forcefullwidth_wrapper_tp_banner").length){var s=a.parent().offset().left,r=a.parent().css("marginBottom"),f=a.parent().css("marginTop");r==e&&(r=0),f==e&&(f=0),a.parent().wrap('<div style="position:relative;width:100%;height:auto;margin-top:'+f+";margin-bottom:"+r+'" class="forcefullwidth_wrapper_tp_banner"></div>'),a.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:'+a.height()+'px"></div>'),a.css({backgroundColor:a.parent().css("backgroundColor"),backgroundImage:a.parent().css("backgroundImage")}),a.parent().css({left:0-s+"px",position:"absolute",width:t(window).width()}),i.width=t(window).width()}try{i.hideThumbsUnderResolution>t(window).width()&&0!=i.hideThumbsUnderResolution?a.parent().find(".tp-bullets.tp-thumbs").css({display:"none"}):a.parent().find(".tp-bullets.tp-thumbs").css({display:"block"})}catch(t){}if(!a.hasClass("revslider-initialised")){a.addClass("revslider-initialised"),a.attr("id")==e&&a.attr("id","revslider-"+Math.round(1e3*Math.random()+5)),i.firefox13=!1,i.ie=!t.support.opacity,i.ie9=9==document.documentMode,i.origcd=i.delay;var u=t.fn.jquery.split("."),g=parseFloat(u[0]),w=parseFloat(u[1]);parseFloat(u[2]||"0");1==g&&w<7&&a.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>"),g>1&&(i.ie=!1),t.support.transition||(t.fn.transition=t.fn.animate),a.find(".caption").each(function(){t(this).addClass("tp-caption")}),j()&&a.find(".tp-caption").each(function(){1==t(this).data("autoplay")&&t(this).data("autoplay",!1)});var v=0,b=0,y="http";if("https:"===location.protocol&&(y="https"),a.find(".tp-caption iframe").each(function(e){try{if(t(this).attr("src").indexOf("you")>0&&0==v){v=1;var a=document.createElement("script"),i="https";a.src=i+"://www.youtube.com/iframe_api";var o=document.getElementsByTagName("script")[0],n=!0;t("head").find("*").each(function(){t(this).attr("src")==i+"://www.youtube.com/iframe_api"&&(n=!1)}),n&&o.parentNode.insertBefore(a,o)}}catch(t){}}),a.find(".tp-caption iframe").each(function(e){try{if(t(this).attr("src").indexOf("vim")>0&&0==b){b=1;var a=document.createElement("script");a.src=y+"://a.vimeocdn.com/js/froogaloop2.min.js";var i=document.getElementsByTagName("script")[0],o=!0;t("head").find("*").each(function(){t(this).attr("src")==y+"://a.vimeocdn.com/js/froogaloop2.min.js"&&(o=!1)}),o&&i.parentNode.insertBefore(a,i)}}catch(t){}}),a.find(".tp-caption video").each(function(e){t(this).removeClass("video-js").removeClass("vjs-default-skin"),t(this).attr("preload",""),t(this).css({display:"none"})}),"on"==i.shuffle)for(var x=0;x<a.find(">ul:first-child >li").length;x++){var T=Math.round(Math.random()*a.find(">ul:first-child >li").length);a.find(">ul:first-child >li:eq("+T+")").prependTo(a.find(">ul:first-child"))}i.slots=4,i.act=-1,i.next=0,i.startWithSlide!=e&&(i.next=i.startWithSlide);var C=o("#")[0];if(C.length<9&&C.split("slide").length>1){var k=parseInt(C.split("slide")[1],0);k<1&&(k=1),k>a.find(">ul:first >li").length&&(k=a.find(">ul:first >li").length),i.next=k-1}i.firststart=1,i.navigationHOffset==e&&(i.navOffsetHorizontal=0),i.navigationVOffset==e&&(i.navOffsetVertical=0),a.append('<div class="tp-loader '+i.spinner+'"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>'),0==a.find(".tp-bannertimer").length&&a.append('<div class="tp-bannertimer" style="visibility:hidden"></div>');var z=a.find(".tp-bannertimer");if(z.length>0&&z.css({width:"0%"}
9),a.addClass("tp-simpleresponsive"),i.container=a,i.slideamount=a.find(">ul:first >li").length,0==a.height()&&a.height(i.startheight),i.startwidth!=e&&0!=i.startwidth||(i.startwidth=a.width()),i.startheight!=e&&0!=i.startheight||(i.startheight=a.height()),i.width=a.width(),i.height=a.height(),i.bw=i.startwidth/a.width(),i.bh=i.startheight/a.height(),i.width!=i.startwidth&&(i.height=Math.round(i.startheight*(i.width/i.startwidth)),a.height(i.height)),0!=i.shadow){a.parent().append('<div class="tp-bannershadow tp-shadow'+i.shadow+'"></div>');s=0;"on"==i.forceFullWidth&&(s=0-i.container.parent().offset().left),a.parent().find(".tp-bannershadow").css({width:i.width,left:s})}a.find("ul").css({display:"none"});a.find("ul").css({display:"block"}),m(a,i),"off"!=i.parallax&&U(a,i),i.slideamount>1&&d(a,i),i.slideamount>1&&"thumb"==i.navigationType&&J(a,i),i.slideamount>1&&l(a,i),"on"==i.keyboardNavigation&&h(a,i);try{c(a,i)}catch(t){}i.hideThumbs>0&&p(a,i),L(a,i),i.slideamount>1&&F(a,i),setTimeout(function(){a.trigger("revolution.slide.onloaded")},500),t("body").data("rs-fullScreenMode",!1),t(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange",function(){t("body").data("rs-fullScreenMode",!t("body").data("rs-fullScreenMode")),t("body").data("rs-fullScreenMode")&&setTimeout(function(){t(window).trigger("resize")},200)}),t(window).resize(function(){if(0!=t("body").find(a)&&"on"==i.forceFullWidth){var e=i.container.closest(".forcefullwidth_wrapper_tp_banner").offset().left;i.container.parent().css({left:0-e+"px",width:t(window).width()})}(a.outerWidth(!0)!=i.width||a.is(":hidden"))&&n(a,i)});try{0!=i.hideThumbsUnderResoluition&&"thumb"==i.navigationType&&(i.hideThumbsUnderResoluition>t(window).width()?t(".tp-bullets").css({display:"none"}):t(".tp-bullets").css({display:"block"}))}catch(t){}a.find(".tp-scrollbelowslider").on("click",function(){var e=0;try{e=t("body").find(i.fullScreenOffsetContainer).height()}catch(t){}try{e-=t(this).data("scrolloffset")}catch(t){}t("body,html").animate({scrollTop:a.offset().top+a.find(">ul >li").height()-e+"px"},{duration:400})});var O=a.parent();t(window).width()<i.hideSliderAtLimit&&(a.trigger("stoptimer"),"none"!=O.css("display")&&O.data("olddisplay",O.css("display")),O.css({display:"none"}))}}t.fn.extend({revolution:function(i){return defaults={delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:"off",autoHeight:"off",hideTimerBar:"off",hideThumbs:200,hideNavDelayOnMobile:1500,thumbWidth:100,thumbHe
9ight:50,thumbAmount:3,navigationType:"bullet",navigationArrows:"solo",navigationInGrid:"off",hideThumbsOnMobile:"off",hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResoluition:0,navigationStyle:"round",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:"on",touchenabled:"on",onHoverStop:"on",stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:"off",fullScreen:"off",minFullScreenHeight:0,fullScreenOffsetContainer:"",fullScreenOffset:"0",dottedOverlay:"none",forceFullWidth:"off",spinner:"spinner0",swipe_velocity:.4,swipe_max_touches:1,swipe_min_touches:1,drag_block_vertical:!1,isJoomla:!1,parallax:"off",parallaxLevels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],parallaxBgFreeze:"off",parallaxOpacity:"on",parallaxDisableOnMobile:"off"},i=t.extend({},defaults,i),this.each(function(){try{console.groupCollapsed("Slider Revolution 4.5.7 Initialisation on "+t(this).attr("id")),console.groupCollapsed("Used Options:"),console.info(i),console.groupEnd(),console.groupCollapsed("Tween Engine:")}catch(t){}if(punchgs.TweenLite==e){try{console.error("GreenSock Engine Does not Exist!")}catch(t){}return!1}punchgs.force3D=!0;try{console.info("GreenSock Engine Version in Slider Revolution:"+punchgs.TweenLite.version)}catch(t){}punchgs.TweenLite.lagSmoothing(1e3,16),punchgs.force3D="true",a(t(this),i);try{console.groupEnd(),console.groupEnd()}catch(t){}})},revscroll:function(e){return this.each(function(){var a=t(this);t("body,html").animate({scrollTop:a.offset().top+a.find(">ul >li").height()-e+"px"},{duration:400})})},revredraw:function(e){return this.each(function(){var e=t(this),a=e.parent().find(".tp-bannertimer").data("opt");n(e,a)})},revpause:function(e){return this.each(function(){var e=t(this);e.data("conthover",1),e.data("conthover-changed",1),e.trigger("revolution.slide.onpause"),e.parent().find(".tp-bannertimer").data("opt").bannertimeronpause=!0,e.trigger("stoptimer")})},revresume:function(e){return this.each(function(){var e=t(this);e.data("conthover",0),e.data("conthover-changed",1),e.trigger("revolution.slide.onresume"),e.parent().find(".tp-bannertimer").data("opt").bannertimeronpause=!1,e.trigger("starttimer")})},revnext:function(e){return this.each(function(){t(this).parent().find(".tp-rightarrow").click()})},revprev:function(e){return this.each(function(){t(this).parent().find(".tp-leftarrow").click()})},revmaxslide:function(e){return t(this).find(">ul:first-child >li").length},revcurrentslide:function(e){return t(this).parent().find(".tp-bannertimer").data("opt").act},revlastslide:function(e){return t(this).parent().find(".tp-bannertimer").data("opt").lastslide},revshowslide:function(e){return this.each(function(){var a=t(this);a.data("showus",e),a.parent().find(".tp-rightarrow").click()})}});var o=function(t){for(var e,a=[],i=window.location.href.slice(window.location.href.indexOf(t)+1).split("_"),o=0;o<i.length;o++)i[o]=i[o].replace("%3D","="),e=i[o].split("="),a.push(e[0]),a[e[0]]=e[1];return a},n=function(a,i){try{0!=i.hideThumbsUnderResoluition&&"thumb"==i.navigationType&&(i.hideThumbsUnderResoluition>t(window).width()?t(".tp-bullets").css({display:"none"}):t(".tp-bullets").css({display:"block"}))}catch(t){}a.find(".defaultimg").each(function(e){g(t(this),i)});var o=a.parent();t(window).width()<i.hideSliderAtLimit?(a.trigger("stoptimer"),"none"!=o.css("display")&&o.data("olddisplay",o.css("display")),o.css({display:"none"})):a.is(":hidden")&&(o.data("olddisplay")!=e&&"undefined"!=o.data("olddisplay")&&"none"!=o.data("olddisplay")?o.css({display:o.data("olddisplay")}):o.css({display:"block"}),a.trigger("restarttimer"),setTimeout(function(){n(a,i)},150));var s=0;"on"==i.forceFullWidth&&(s=0-i.container.parent().offset().left);try{a.parent().find(".tp-bannershadow").css({width:i.width,left:s})}catch(t){}var r=a.find(">ul >li:eq("+i.act+") .slotholder"),d=a.find(">ul >li:eq("+i.next+") .slotholder");y(a,i,a),punchgs.TweenLite.set(d.find(".defaultimg"),{opacity:0}
9),r.find(".defaultimg").css({opacity:1}),d.find(".defaultimg").each(function(){var o=t(this);o.data("kenburn")!=e&&(o.data("kenburn").restart(),E(a,i,!0))});var l=a.find(">ul >li:eq("+i.next+")"),h=a.parent().find(".tparrows");h.hasClass("preview2")&&h.css({width:parseInt(h.css("minWidth"),0)}),D(l,i,!0),f(a,i)},s=function(e,a){var i=t('<div style="display:none;"/>').appendTo(t("body"));i.html("\x3c!--[if "+(a||"")+" IE "+(e||"")+"]><a>&nbsp;</a><![endif]--\x3e");var o=i.find("a").length;return i.remove(),o},r=function(t,e){L(e,t)},d=function(e,a){var i="hidebullets";0==a.hideThumbs&&(i=""),"bullet"!=a.navigationType&&"both"!=a.navigationType||e.parent().append('<div class="tp-bullets '+i+" simplebullets "+a.navigationStyle+'"></div>');var o=e.parent().find(".tp-bullets");e.find(">ul:first >li").each(function(t){e.find(">ul:first >li:eq("+t+") img:first").attr("src");o.append('<div class="bullet"></div>');o.find(".bullet:first")}),o.find(".bullet").each(function(i){var o=t(this);i==a.slideamount-1&&o.addClass("last"),0==i&&o.addClass("first"),o.click(function(){var t=!1;"withbullet"==a.navigationArrows||"nexttobullets"==a.navigationArrows?o.index()-1==a.act&&(t=!0):o.index()==a.act&&(t=!0),0!=a.transition||t||("withbullet"==a.navigationArrows||"nexttobullets"==a.navigationArrows?a.next=o.index()-1:a.next=o.index(),r(a,e))})}),o.append('<div class="tpclear"></div>'),f(e,a)},l=function(t,a){function i(e){t.parent().append('<div style="'+o+'" class="tp-'+e+"arrow "+n+" tparrows "+s+'"><div class="tp-arr-allwrapper"><div class="tp-arr-iwrapper"><div class="tp-arr-imgholder"></div><div class="tp-arr-imgholder2"></div><div class="tp-arr-titleholder"></div><div class="tp-arr-subtitleholder"></div></div></div></div>')}t.find(".tp-bullets");var o="",n="hidearrows";0==a.hideThumbs&&(n="");var s=a.navigationStyle;"none"==a.navigationArrows&&(o="visibility:hidden;display:none"),a.soloArrowStyle="default "+a.navigationStyle,"none"!=a.navigationArrows&&"nexttobullets"!=a.navigationArrows&&(s=a.soloArrowStyle),i("left"),i("right"),t.parent().find(".tp-rightarrow").click(function(){0==a.transition&&(t.data("showus")!=e&&-1!=t.data("showus")?a.next=t.data("showus")-1:a.next=a.next+1,t.data("showus",-1),a.next>=a.slideamount&&(a.next=0),a.next<0&&(a.next=0),a.act!=a.next&&r(a,t))}),t.parent().find(".tp-leftarrow").click(function(){0==a.transition&&(a.next=a.next-1,a.leftarrowpressed=1,a.next<0&&(a.next=a.slideamount-1),r(a,t))}),f(t,a)},h=function(a,i){t(document).keydown(function(t){0==i.transition&&39==t.keyCode&&(a.data("showus")!=e&&-1!=a.data("showus")?i.next=a.data("showus")-1:i.next=i.next+1,a.data("showus",-1),i.next>=i.slideamount&&(i.next=0),i.next<0&&(i.next=0),i.act!=i.next&&r(i,a)),0==i.transition&&37==t.keyCode&&(i.next=i.next-1,i.leftarrowpressed=1,i.next<0&&(i.next=i.slideamount-1),r(i,a))}),f(a,i)},c=function(e,a){if("on"==a.touchenabled)try{var i=Hammer(e,{drag_block_vertical:a.drag_block_vertical,drag_lock_to_axis:!0,swipe_velocity:a.swipe_velocity,swipe_max_touches:a.swipe_max_touches,swipe_min_touches:a.swipe_min_touches,prevent_default:!1});i.on("swipeleft",function(){0==a.transition&&(a.next=a.next+1,a.next==a.slideamount&&(a.next=0),r(a,e))}),i.on("swiperight",function(){0==a.transition&&(a.next=a.next-1,a.leftarrowpressed=1,a.next<0&&(a.next=a.slideamount-1),r(a,e))}),i.on("swipeup",function(){t("html, body").animate({scrollTop:e.offset().top+e.height()+"px"})}),i.on("swipedown",function(){t("html, body").animate({scrollTop:e.offset().top-t(window).height()+"px"})})}catch(t){}},p=function(t,e){var a=t.parent().find(".tp-bullets"),i=t.parent().find(".tparrows");if(null==a){t.append('<div class=".tp-bullets"></div>');a=t.parent().find(".tp-bullets")}if(null==i){t.append('<div class=".tparrows"></div>');i=t.parent().find(".tparrows")}if(t.data("hideThumbs",e.hideThumbs),a.addClass("hidebullets"),i.addClass("hidearrows"),j())try{t.hammer().on("touch",function(){t.addClass("hovered"),"on"==e.onHoverStop&&t.trigger("stoptimer"),clearTimeout(t.data("hideThumbs")),a.removeClass("hidebullets"),i.removeClass("hidearrows")}),t.hammer().on("release",function(){t.removeClass("hovered"),t.trigger("playtimer"),t.hasClass("hovered")||a.hasClass("hovered")||t.data("hideThumbs",setTimeout(function(){a.addClass("hidebullets"),i.addClass("hidearrows"),t.trigger("playtimer")},e.hideNavDelayOnMobile))})}catch(t){}else a.hover(function(){e.overnav=!0,"on"==e.onHoverStop&&t.trigger("stoptimer"),a.addClass("hovered"),clearTimeout(t.data("hideThumbs")),a.removeClass("hidebullets"),i.removeClass("hidearrows")},function(){e.overnav=!1,t.trigger("playtimer"),a.removeClass("hovered"),t.hasClass("hovered")||a.hasClass("hovered")||t.data("hideThumbs",setTimeout(function(){a.addClass("hidebullets"),i.addClass("hidearrows")},e.hideThumbs))}),i.hover(function(){e.overnav=!0,"on"==e.onHoverStop&&t.trigger("stoptimer"),a.addClass("hovered"),clearTimeout(t.data("hideThumbs")),a.removeClass("hidebullets"),i.removeClass("hidearrows")},function(){e.overnav=!1,t.trigger("playtimer"),a.removeClass("hovered")}),t.on("mouseenter",function(){t.addClass("hovered"),"on"==e.onHoverStop&&t.trigger("stoptimer"),clearTimeout(t.data("hideThumbs")),a.removeClass("hidebullets"),i.removeClass("hidearrows")}),t.on("mouseleave",function(){t.removeClass("hovered"),t.trigger("playtimer"),t.hasClass("hovered")||a.hasClass("hovered")||t.data("hideThumbs",setTimeout(function(){a.addClass("hidebullets"),i.addClass("hidearrows")},e.hideThumbs))})},f=function(e,a){var i=e.parent(),o=i.find(".tp-bullets");if("thumb"==a.navigationType){o.find(".thumb").each(function(e){t(this).css({width:a.thumbWidth*a.bw+"px",height:a.thumbHe
9ight*a.bh+"px"})});var n=o.find(".tp-mask");n.width(a.thumbWidth*a.thumbAmount*a.bw),n.height(a.thumbHeight*a.bh),n.parent().width(a.thumbWidth*a.thumbAmount*a.bw),n.parent().height(a.thumbHeight*a.bh)}var s=i.find(".tp-leftarrow"),r=i.find(".tp-rightarrow");"thumb"==a.navigationType&&"nexttobullets"==a.navigationArrows&&(a.navigationArrows="solo"),"nexttobullets"==a.navigationArrows&&(s.prependTo(o).css({float:"left"}),r.insertBefore(o.find(".tpclear")).css({float:"left"}));var d=0;"on"==a.forceFullWidth&&(d=0-a.container.parent().offset().left);var l=0;"on"==a.navigationInGrid&&(l=e.width()>a.startwidth?(e.width()-a.startwidth)/2:0,e.height()>a.startheight&&(e.height(),a.startheight)),"none"!=a.navigationArrows&&"nexttobullets"!=a.navigationArrows&&(s.css({position:"absolute"}),r.css({position:"absolute"}),"center"==a.soloArrowLeftValign&&s.css({top:"50%",marginTop:a.soloArrowLeftVOffset-Math.round(s.innerHeight()/2)+"px"}),"bottom"==a.soloArrowLeftValign&&s.css({top:"auto",bottom:0+a.soloArrowLeftVOffset+"px"}),"top"==a.soloArrowLeftValign&&s.css({bottom:"auto",top:0+a.soloArrowLeftVOffset+"px"}),"center"==a.soloArrowLeftHalign&&s.css({left:"50%",marginLeft:d+a.soloArrowLeftHOffset-Math.round(s.innerWidth()/2)+"px"}),"left"==a.soloArrowLeftHalign&&s.css({left:l+a.soloArrowLeftHOffset+d+"px"}),"right"==a.soloArrowLeftHalign&&s.css({right:l+a.soloArrowLeftHOffset-d+"px"}),"center"==a.soloArrowRightValign&&r.css({top:"50%",marginTop:a.soloArrowRightVOffset-Math.round(r.innerHeight()/2)+"px"}),"bottom"==a.soloArrowRightValign&&r.css({top:"auto",bottom:0+a.soloArrowRightVOffset+"px"}),"top"==a.soloArrowRightValign&&r.css({bottom:"auto",top:0+a.soloArrowRightVOffset+"px"}),"center"==a.soloArrowRightHalign&&r.css({left:"50%",marginLeft:d+a.soloArrowRightHOffset-Math.round(r.innerWidth()/2)+"px"}),"left"==a.soloArrowRightHalign&&r.css({left:l+a.soloArrowRightHOffset+d+"px"}),"right"==a.soloArrowRightHalign&&r.css({right:l+a.soloArrowRightHOffset-d+"px"}),null!=s.position()&&s.css({top:Math.round(parseInt(s.position().top,0))+"px"}),null!=r.position()&&r.css({top:Math.round(parseInt(r.position().top,0))+"px"})),"none"==a.navigationArrows&&(s.css({visibility:"hidden"}),r.css({visibility:"hidden"})),"center"==a.navigationVAlign&&o.css({top:"50%",marginTop:a.navigationVOffset-Math.round(o.innerHeight()/2)+"px"}),"bottom"==a.navigationVAlign&&o.css({bottom:0+a.navigationVOffset+"px"}),"top"==a.navigationVAlign&&o.css({top:0+a.navigationVOffset+"px"}),"center"==a.navigationHAlign&&o.css({left:"50%",marginLeft:d+a.navigationHOffset-Math.round(o.innerWidth()/2)+"px"}),"left"==a.navigationHAlign&&o.css({left:0+a.navigationHOffset+d+"px"}),"right"==a.navigationHAlign&&o.css({right:0+a.navigationHOffset-d+"px"})},u=function(a){var i=a.container;a.beforli=a.next-1,a.comingli=a.next+1,a.beforli<0&&(a.beforli=a.slideamount-1),a.comingli>=a.slideamount&&(a.comingli=0);var o=i.find(">ul:first-child >li:eq("+a.comingli+")"),n=i.find(">ul:first-child >li:eq("+a.beforli+")"),s=n.find(".defaultimg").attr("src"),r=o.find(".defaultimg").attr("src");a.arr==e&&(a.arr=i.parent().find(".tparrows"),a.rar=i.parent().find(".tp-rightarrow"),a.lar=i.parent().find(".tp-leftarrow"),a.raimg=a.rar.find(".tp-arr-imgholder"),a.laimg=a.lar.find(".tp-arr-imgholder"),a.raimg_b=a.rar.find(".tp-arr-imgholder2"),a.laimg_b=a.lar.find(".tp-arr-imgholder2"),a.ratit=a.rar.find(".tp-arr-titleholder"),a.latit=a.lar.find(".tp-arr-titleholder"));var d=a.arr,l=a.rar,h=a.lar,c=a.raimg,p=a.laimg,f=a.raimg_b,u=a.laimg_b,g=a.ratit,m=a.latit;if(o.data("title")!=e&&g.html(o.data("title")),n.data("title")!=e&&m.html(n.data("title")),l.hasClass("itishovered")&&l.width(g.outerWidth(!0)+parseInt(l.css("minWidth"),0)),h.hasClass("itishovered")&&h.width(m.outerWidth(!0)+parseInt(h.css("minWidth"),0)),d.hasClass("preview2")&&!d.hasClass("hashoveralready"))if(d.addClass("hashoveralready"),j()){var w=(d=t(this)).find(".tp-arr-titleholder");w.addClass("alwayshidden"),punchgs.TweenLite.set(w,{autoAlpha:0})}else d.hover(function(){var e=t(this),a=e.find(".tp-arr-titleholder");e.width(a.outerWidth(!0)+parseInt(e.css("minWidth"),0)),e.addClass("itishovered")},function(){var e=t(this);e.find(".tp-arr-titleholder");e.css({width:parseInt(e.css("minWidth"),0)}),e.removeClass("itishovered")});n.data("thumb")!=e&&(s=n.data("thumb")),o.data("thumb")!=e&&(r=o.data("thumb")),d.hasClass("preview4")?(f.css({backgroundImage:"url("+r+")"}),u.css({backgroundImage:"url("+s+")"}),punchgs.TweenLite.fromTo(f,.8,{force3D:punchgs.force3d,x:0},{x:-c.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){c.css({backgroundImage:"url("+r+")"}),punchgs.TweenLite.set(f,{x:0})}}),punchgs.TweenLite.fromTo(u,.8,{force3D:punchgs.force3d,x:0},{x:c.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){p.css({backgroundImage:"url("+s+")"}),punchgs.TweenLite.set(u,{x:0})}}),punchgs.TweenLite.fromTo(c,.8,{x:0},{force3D:punchgs.force3d,x:-c.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(c,{x:0})}}),punchgs.TweenLite.fromTo(p,.8,{x:0},{force3D:punchgs.force3d,x:c.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(p,{x:0})}})):(punchgs.TweenLite.to(c,.5,{autoAlpha:0,onComplete:function(){c.css({backgroundImage:"url("+r+")"}),p.css({backgroundImage:"url("+s+")"})}}),punchgs.TweenLite.to(p,.5,{autoAlpha:0,onComplete:function(){punchgs.TweenLite.to(c,.5,{autoAlpha:1,delay:.2}),punchgs.TweenLite.to(p,.5,{autoAlpha:1,delay:.2})}})),l.hasClass("preview4")&&!l.hasClass("hashoveralready")&&(l.addClass("hashoveralready"),l.hover(function(){var e=t(this).find(".tp-arr-iwrapper"),a=t(this).find(".tp-arr-allwrapper");punchgs.TweenLite.fromTo(e,.4,{x:e.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:"all"}),punchgs.TweenLite.to(a,.2,{autoAlpha:1,overwrite:"all"})},function(){var e=t(this).find(".tp-arr-iwrapper"),a=t(this).find(".tp-arr-allwrapper");punchgs.TweenLite.to(e,.4,{x:e.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:"all"}),punchgs.TweenLite.to(a,.2,{delay:.6,autoAlpha:0,overwrite:"all"})}),h.hover(function(){var e=t(this).find(".tp-arr-iwrapper"),a=t(this).find(".tp-arr-allwrapper");punchgs.TweenLite.fromTo(e,.4,{x:0-e.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:"all"}),punchgs.TweenLite.to(a,.2,{autoAlpha:1,overwrite:"all"})},function(){var e=t(this).find(".tp-arr-iwrapper"),a=t(this).find(".tp-arr-allwrapper");punchgs.TweenLite.to(e,.4,{x:0-e.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:"all"}),punchgs.TweenLite.to(a,.2,{delay:.6,autoAlpha:0,overwrite:"all"})}))},g=function(a,i){if(i.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css({height:i.container.height()}),i.container.closest(".rev_slider_wrapper").css({height:i.container.height()}),i.width=parseInt(i.container.width(),0),i.height=parseInt(i.container.height(),0),i.bw=i.width/i.startwidth,i.bh=i.height/i.startheight,i.bh>i.bw&&(i.bh=i.bw),i.bh<i.bw&&(i.bw=i.bh),i.bw<i.bh&&(i.bh=i.bw),i.bh>1&&(i.bw=1,i.bh=1),i.bw>1&&(i.bw=1,i.bh=1),i.height=Math.round(i.startheight*(i.width/i.startwidth)),i.height>i.startheight&&"on"!=i.autoHeight&&(i.height=i.startheight),"on"==i.fullScreen){i.height=i.bw*i.startheight;i.container.parent().width();var o=t(window).height();if(i.fullScreenOffsetContainer!=e){try{var n=i.fullScreenOffsetContainer.split(",");t.each(n,function(e,a){(o-=t(a).outerHeight(!0))<i.minFullScreenHeight&&(o=i.minFullScreenHeight)})}catch(t){}try{i.fullScreenOffset.split("%").length>1&&i.fullScreenOffset!=e&&i.fullScreenOffset.length>0?o-=t(window).height()*parseInt(i.fullScreenOffset,0)/100:i.fullScreenOffset!=e&&i.fullScreenOffset.length>0&&(o-=parseInt(i.fullScreenOffset,0)),o<i.minFullScreenHeight&&(o=i.minFullScreenHeight)}catch(t){}}i.container.parent().height(o),i.container.closest(".rev_slider_wrapper").height(o),i.container.css({height:"100%"}),i.height=o}else i.container.height(i.height);i.slotw=Math.ceil(i.width/i.slots),"on"==i.fullScreen?i.sloth=Math.ceil(t(window).height()/i.slots):i.sloth=Math.ceil(i.height/i.slots),"on"==i.autoHeight&&(i.sloth=Math.ceil(a.height()/i.slots))},m=function(a,i){a.find(".tp-caption").each(function(){t(this).addClass(t(this).data("transition")),t(this).addClass("start")}),a.find(">
9ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:a.parent().css("maxHeight")}),"on"==i.autoHeight&&(a.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"}),a.css({maxHeight:"none"}),a.parent().css({maxHeight:"none"})),a.find(">ul:first >li").each(function(a){var i=t(this);if(i.css({width:"100%",height:"100%",overflow:"hidden"}),i.data("link")!=e){var o=i.data("link"),n="_self",s=60;"back"==i.data("slideindex")&&(s=0);var r=i.data("linktoslide");i.data("target")!=e&&(n=i.data("target")),"slide"==o?i.append('<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+s+';" data-x="center" data-y="center" data-linktoslide="'+r+'" data-start="0"><a style="width:100%;height:100%;display:block"><span style="width:100%;height:100%;display:block"></span></a></div>'):(r="no",i.append('<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+s+';" data-x="center" data-y="center" data-linktoslide="'+r+'" data-start="0"><a style="width:100%;height:100%;display:block" target="'+n+'" href="'+o+'"><span style="width:100%;height:100%;display:block"></span></a></div>'))}}),a.parent().css({overflow:"visible"}),a.find(">ul:first >li >img").each(function(a){var o=t(this);o.addClass("defaultimg"),o.data("lazyload")!=e&&1!=o.data("lazydone")||g(o,i),o.wrap('<div class="slotholder" style="width:100%;height:100%;"data-duration="'+o.data("duration")+'"data-zoomstart="'+o.data("zoomstart")+'"data-zoomend="'+o.data("zoomend")+'"data-rotationstart="'+o.data("rotationstart")+'"data-rotationend="'+o.data("rotationend")+'"data-ease="'+o.data("ease")+'"data-duration="'+o.data("duration")+'"data-bgpositionend="'+o.data("bgpositionend")+'"data-bgposition="'+o.data("bgposition")+'"data-duration="'+o.data("duration")+'"data-kenburns="'+o.data("kenburns")+'"data-easeme="'+o.data("ease")+'"data-bgfit="'+o.data("bgfit")+'"data-bgfitend="'+o.data("bgfitend")+'"data-owidth="'+o.data("owidth")+'"data-oheight="'+o.data("oheight")+'"></div>'),"none"!=i.dottedOverlay&&i.dottedOverlay!=e&&o.closest(".slotholder").append('<div class="tp-dottedoverlay '+i.dottedOverlay+'"></div>');var n=o.attr("src"),r=(o.data("lazyload"),o.data("bgfit")),d=o.data("bgrepeat"),l=o.data("bgposition");r==e&&(r="cover"),d==e&&(d="no-repeat"),l==e&&(l="center center");var h=o.closest(".slotholder");o.replaceWith('<div class="tp-bgimg defaultimg" data-lazyload="'+o.data("lazyload")+'" data-bgfit="'+r+'"data-bgposition="'+l+'" data-bgrepeat="'+d+'" data-lazydone="'+o.data("lazydone")+'" src="'+n+'" data-src="'+n+'" style="background-color:'+o.css("backgroundColor")+";background-repeat:"+d+";background-image:url("+n+");background-size:"+r+";background-position:"+l+';width:100%;height:100%;"></div>'),s(8)&&(h.find(".tp-bgimg").css({backgroundImage:"none","background-image":"none"}),h.find(".tp-bgimg").append('<img class="ieeightfallbackimage defaultimg" src="'+n+'" style="width:100%">')),o.css({opacity:0}),o.data("li-id",a)})},w=function(t,a,i,o){var n=t,r=n.find(".defaultimg"),d=n.data("zoomstart"),l=n.data("rotationstart");r.data("currotate")!=e&&(l=r.data("currotate")),r.data("curscale")!=e&&(d=r.data("curscale")),g(r,a);var h=r.data("src"),c=r.css("background-color"),p=a.width,f=a.height,u=r.data("fxof");"on"==a.autoHeight&&(f=a.container.height()),u==e&&(u=0),fullyoff=0;var m=0,w=r.data("bgfit"),v=r.data("bgrepeat"),y=r.data("bgposition");if(w==e&&(w="cover"),v==e&&(v="no-repeat"),y==e&&(y="center center"),s(8)){n.data("kenburns","off");var x=h;h=""}if("on"==n.data("kenburns")&&(w=d).toString().length<4&&(w=q(w,n,a)),"horizontal"==o){if(!i)m=0-a.slotw;for(var T=0;T<a.slots;T++)n.append('<div class="slot" style="position:absolute;top:'+(0+fullyoff)+"px;left:"+(u+T*a.slotw)+"px;overflow:hidden;width:"+(a.slotw+.6)+"px;height:"+f+'px"><div class="slotslide" style="position:absolute;top:0px;left:'+m+"px;width:"+(a.slotw+.6)+"px;height:"+f+'px;overflow:hidden;"><div style="background-color:'+c+";position:absolute;top:0px;left:"+(0-T*a.slotw)+"px;width:"+p+"px;height:"+f+"px;background-image:url("+h+");background-repeat:"+v+";background-size:"+w+";background-position:"+y+';"></div></div></div>'),d!=e&&l!=e&&punchgs.TweenLite.set(n.find(".slot").last(),{rotationZ:l}),s(8)&&(n.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+x+'" style="width:100%;height:auto">'),b(n,a))}else{if(!i)m=0-a.sloth;for(T=0;T<a.slots+2;T++)n.append('<div class="slot" style="position:absolute;top:'+(fullyoff+T*a.sloth)+"px;left:"+u+"px;overflow:hidden;width:"+p+"px;height:"+a.sloth+'px"><div class="slotslide" style="position:absolute;top:'+m+"px;left:0px;width:"+p+"px;height:"+a.sloth+'px;overflow:hidden;"><div style="background-color:'+c+";position:absolute;top:"+(0-T*a.sloth)+"px;left:0px;width:"+p+"px;height:"+f+"px;background-image:url("+h+");background-repeat:"+v+";background-size:"+w+";background-position:"+y+';"></div></div></div>'),d!=e&&l!=e&&punchgs.TweenLite.set(n.find(".slot").last(),{rotationZ:l}),s(8)&&(n.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+x+'" style="width:100%;height:auto;">'),b(n,a))}},v=function(t,a,i){var o=t,n=o.find(".defaultimg"),r=o.data("zoomstart"),d=o.data("rotationstart");n.data("currotate")!=e&&(d=n.data("currotate")),n.data("curscale")!=e&&(r=100*n.data("curscale")),g(n,a);var l=n.data("src"),h=n.css("backgroundColor"),c=a.width,p=a.height;"on"==a.autoHeight&&(p=a.container.height());var f=n.data("fxof");f==e&&(f=0),fullyoff=0;if(s(8)){var u=l;l=""}var m=0;if(m=a.sloth>a.slotw?a.sloth:a.slotw,!i);a.slotw=m,a.sloth=m;var w=0,v=0,y=n.data("bgfit"),x=n.data("bgrepeat"),T=n.data("bgposition");y==e&&(y="cover"),x==e&&(x="no-repeat"),T==e&&(T="center center"),"on"==o.data("kenburns")&&(y=r).toString().length<4&&(y=q(y,o,a));for(var C=0;C<a.slots;C++){v=0;for(var L=0;L<a.slots;L++)o.append('<div class="slot" style="position:absolute;top:'+(fullyoff+v)+"px;left:"+(f+w)+"px;width:"+m+"px;height:"+m+'px;overflow:hidden;"><div class="slotslide" data-x="'+w+'" data-y="'+v+'" style="position:absolute;top:0px;left:0px;width:'+m+"px;height:"+m+'px;overflow:hidden;"><div style="position:absolute;top:'+(0-v)+"px;left:"+(0-w)+"px;width:"+c+"px;height:"+p+"px;background-color:"+h+";background-image:url("+l+");background-repeat:"+x+";background-size:"+y+";background-position:"+T+';"></div></div></div>'),v+=m,s(8)&&(o.find(".slot ").last().find(".slotslide").append('<img src="'+u+'">'),b(o,a)),r!=e&&d!=e&&punchgs.TweenLite.set(o.find(".slot").last(),{rotationZ:d});w+=m}}
9,b=function(t,e){if(s(8)){var a=t.find(".ieeightfallbackimage");a.width(),a.height();e.startwidth/e.startheight<t.data("owidth")/t.data("oheight")?a.css({width:"auto",height:"100%"}):a.css({width:"100%",height:"auto"}),setTimeout(function(){var i=a.width(),o=a.height();"center center"==t.data("bgposition")&&a.css({position:"absolute",top:e.height/2-o/2+"px",left:e.width/2-i/2+"px"}),"center top"!=t.data("bgposition")&&"top center"!=t.data("bgposition")||a.css({position:"absolute",top:"0px",left:e.width/2-i/2+"px"}),"center bottom"!=t.data("bgposition")&&"bottom center"!=t.data("bgposition")||a.css({position:"absolute",bottom:"0px",left:e.width/2-i/2+"px"}),"right top"!=t.data("bgposition")&&"top right"!=t.data("bgposition")||a.css({position:"absolute",top:"0px",right:"0px"}),"right bottom"!=t.data("bgposition")&&"bottom right"!=t.data("bgposition")||a.css({position:"absolute",bottom:"0px",right:"0px"}),"right center"!=t.data("bgposition")&&"center right"!=t.data("bgposition")||a.css({position:"absolute",top:e.height/2-o/2+"px",right:"0px"}),"left bottom"!=t.data("bgposition")&&"bottom left"!=t.data("bgposition")||a.css({position:"absolute",bottom:"0px",left:"0px"}),"left center"!=t.data("bgposition")&&"center left"!=t.data("bgposition")||a.css({position:"absolute",top:e.height/2-o/2+"px",left:"0px"})},20)}},y=function(e,a,i){i.find(".slot").each(function(){t(this).remove()}),a.transition=0},x=function(a,i){a.find("img, .defaultimg").each(function(a){var o,n=t(this);n.data("lazyload")!=n.attr("src")&&i<3&&n.data("lazyload")!=e&&"undefined"!=n.data("lazyload")?n.data("lazyload")!=e&&"undefined"!=n.data("lazyload")&&(n.attr("src",n.data("lazyload")),(o=new Image).onload=function(t){n.data("lazydone",1),n.hasClass("defaultimg")&&T(n,o)},o.error=function(){n.data("lazydone",1)},o.src=n.attr("src"),o.complete&&(n.hasClass("defaultimg")&&T(n,o),n.data("lazydone",1))):n.data("lazyload")!==e&&"undefined"!==n.data("lazyload")||1==n.data("lazydone")||((o=new Image).onload=function(){n.hasClass("defaultimg")&&T(n,o),n.data("lazydone",1)},o.error=function(){n.data("lazydone",1)},n.attr("src")!=e&&"undefined"!=n.attr("src")?o.src=n.attr("src"):o.src=n.data("src"),o.complete&&(n.hasClass("defaultimg")&&T(n,o),n.data("lazydone",1)))})},T=function(t,e){var a=t.closest("li"),i=e.width,o=e.height;a.data("owidth",i),a.data("oheight",o),a.find(".slotholder").data("owidth",i),a.find(".slotholder").data("oheight",o),a.data("loadeddone",1)},C=function(a,i,o){x(a,0);var n=setInterval(function(){o.bannertimeronpause=!0,o.container.trigger("stoptimer"),o.cd=0;var s=0;a.find("img, .defaultimg").each(function(e){1!=t(this).data("lazydone")&&s++}),s>0?x(a,s):(clearInterval(n),i!=e&&i())},100)},L=function(t,a){try{t.find(">ul:first-child >li:eq("+a.act+")")}catch(e){t.find(">ul:first-child >li:eq(1)")}a.lastslide=a.act;var i=t.find(">ul:first-child >li:eq("+a.next+")"),o=i.find(".defaultimg");a.bannertimeronpause=!0,t.trigger("stoptimer"),a.cd=0,o.data("lazyload")!=e&&"undefined"!=o.data("lazyload")&&1!=o.data("lazydone")?(s(8)?o.attr("src",i.find(".defaultimg").data("lazyload")):o.css({backgroundImage:'url("'+i.find(".defaultimg").data("lazyload")+'")'}),o.data("src",i.find(".defaultimg").data("lazyload")),o.data("lazydone",1),o.data("orgw",0),i.data("loadeddone",1),t.find(".tp-loader").css({display:"block"}),C(t.find(".tp-static-layers"),function(){C(i,function(){var e=i.find(".slotholder");if("on"==e.data("kenburns"))var n=setInterval(function(){e.data("owidth")>=0&&(clearInterval(n),k(a,o,t))},10);else k(a,o,t)},a)},a)):i.data("loadeddone")===e?(i.data("loadeddone",1),C(i,function(){k(a,o,t)},a)):k(a,o,t)},k=function(t,e,a){t.bannertimeronpause=!1,t.cd=0,a.trigger("nulltimer"),a.find(".tp-loader").css({display:"none"}),g(e,t),f(a,t),g(e,t),z(a,t)},z=function(t,a){t.trigger("revolution.slide.onbeforeswap"),a.transition=1,a.videoplaying=!1;try{var i=t.find(">ul:first-child >li:eq("+a.act+")")}catch(e){i=t.find(">ul:first-child >li:eq(1)")}a.lastslide=a.act;var o=t.find(">ul:first-child >li:eq("+a.next+")");setTimeout(function(){u(a)},200);var n=i.find(".slotholder"),s=o.find(".slotholder");"on"!=s.data("kenburns")&&"on"!=n.data("kenburns")||(Z(t,a),t.find(".kenburnimg").remove()),o.data("delay")!=e?(a.cd=0,a.delay=o.data("delay")):a.delay=a.origcd,1==a.firststart&&punchgs.TweenLite.set(i,{autoAlpha:0}),punchgs.TweenLite.set(i,{zIndex:18}),punchgs.TweenLite.set(o,{autoAlpha:0,zIndex:20});var r=0;i.index()!=o.index()&&1!=a.firststart&&(r=R(i,a)),"on"!=i.data("saveperformance")&&(r=0),setTimeout(function(){t.trigger("restarttimer"),O(t,a,o,i,n,s)},r)},O=function(a,i,o,n,r,d){function l(){t.each(g,function(t,e){e[0]!=f&&e[8]!=f||(h=e[1],u=e[2],y=x),x+=1})}"prepared"==o.data("differentissplayed")&&(o.data("differentissplayed","done"),o.data("transition",o.data("savedtransition")),o.data("slotamount",o.data("savedslotamount")),o.data("masterspeed",o.data("savedmasterspeed"))),o.data("fstransition")!=e&&"done"!=o.data("differentissplayed")&&(o.data("savedtransition",o.data("transition")),o.data("savedslotamount",o.data("slotamount")),o.data("savedmasterspeed",o.data("masterspeed")),o.data("transition",o.data("fstransition")),o.data("slotamount",o.data("fsslotamount")),o.data("masterspeed",o.data("fsmasterspeed")),o.data("differentissplayed","prepared"));var h=0,c=o.data("transition").split(","),p=o.data("nexttransid");p==e?(p=0,o.data("nexttransid",p)):((p+=1)==c.length&&(p=0),o.data("nexttransid",p));var f=c[p];i.ie&&("boxfade"==f&&(f="boxslide"),"slotfade-vertical"==f&&(f="slotzoom-vertical"),"slotfade-horizontal"==f&&(f="slotzoom-horizontal")),s(8)&&(f=11);var u=0;"scroll"==i.parallax&&i.parallaxFirstGo==e&&(i.parallaxFirstGo=!0,G(a,i),setTimeout(function(){G(a,i)},210),setTimeout(function(){G(a,i)},420)),"boxslide"!=f&&"boxfade"!=f&&"papercut"!=f&&0!=f&&1!=f&&16!=f||(f=9),"slidehorizontal"==f&&(f="slideleft",1==i.leftarrowpressed&&(f="slideright")),"slidevertical"==f&&(f="slideup",1==i.leftarrowpressed&&(f="slidedown")),"parallaxhorizontal"==f&&(f="parallaxtoleft",1==i.leftarrowpressed&&(f="parallaxtoright")),"parallaxvertical"==f&&(f="parallaxtotop",1==i.leftarrowpressed&&(f="parallaxtobottom"));
9var g=[["boxslide",0,1,10,0,"box",!1,null,0],["boxfade",1,0,10,0,"box",!1,null,1],["slotslide-horizontal",2,0,0,200,"horizontal",!0,!1,2],["slotslide-vertical",3,0,0,200,"vertical",!0,!1,3],["curtain-1",4,3,0,0,"horizontal",!0,!0,4],["curtain-2",5,3,0,0,"horizontal",!0,!0,5],["curtain-3",6,3,25,0,"horizontal",!0,!0,6],["slotzoom-horizontal",7,0,0,400,"horizontal",!0,!0,7],["slotzoom-vertical",8,0,0,0,"vertical",!0,!0,8],["slotfade-horizontal",9,0,0,500,"horizontal",!0,null,9],["slotfade-vertical",10,0,0,500,"vertical",!0,null,10],["fade",11,0,1,300,"horizontal",!0,null,11],["slideleft",12,0,1,0,"horizontal",!0,!0,12],["slideup",13,0,1,0,"horizontal",!0,!0,13],["slidedown",14,0,1,0,"horizontal",!0,!0,14],["slideright",15,0,1,0,"horizontal",!0,!0,15],["papercut",16,0,0,600,"",null,null,16],["3dcurtain-horizontal",17,0,20,100,"vertical",!1,!0,17],["3dcurtain-vertical",18,0,10,100,"horizontal",!1,!0,18],["cubic",19,0,20,600,"horizontal",!1,!0,19],["cube",19,0,20,600,"horizontal",!1,!0,20],["flyin",20,0,4,600,"vertical",!1,!0,21],["turnoff",21,0,1,1600,"horizontal",!1,!0,22],["incube",22,0,20,200,"horizontal",!1,!0,23],["cubic-horizontal",23,0,20,500,"vertical",!1,!0,24],["cube-horizontal",23,0,20,500,"vertical",!1,!0,25],["incube-horizontal",24,0,20,500,"vertical",!1,!0,26],["turnoff-vertical",25,0,1,200,"horizontal",!1,!0,27],["fadefromright",12,1,1,0,"horizontal",!0,!0,28],["fadefromleft",15,1,1,0,"horizontal",!0,!0,29],["fadefromtop",14,1,1,0,"horizontal",!0,!0,30],["fadefrombottom",13,1,1,0,"horizontal",!0,!0,31],["fadetoleftfadefromright",12,2,1,0,"horizontal",!0,!0,32],["fadetorightfadetoleft",15,2,1,0,"horizontal",!0,!0,33],["fadetobottomfadefromtop",14,2,1,0,"horizontal",!0,!0,34],["fadetotopfadefrombottom",13,2,1,0,"horizontal",!0,!0,35],["parallaxtoright",12,3,1,0,"horizontal",!0,!0,36],["parallaxtoleft",15,3,1,0,"horizontal",!0,!0,37],["parallaxtotop",14,3,1,0,"horizontal",!0,!0,38],["parallaxtobottom",13,3,1,0,"horizontal",!0,!0,39],["scaledownfromright",12,4,1,0,"horizontal",!0,!0,40],["scaledownfromleft",15,4,1,0,"horizontal",!0,!0,41],["scaledownfromtop",14,4,1,0,"horizontal",!0,!0,42],["scaledownfrombottom",13,4,1,0,"horizontal",!0,!0,43],["zoomout",13,5,1,0,"horizontal",!0,!0,44],["zoomin",13,6,1,0,"horizontal",!0,!0,45],["notransition",26,0,1,0,"horizontal",!0,null,46]],m=[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],b=[16,17,18,19,20,21,22,23,24,25,26,27],y=(h=0,u=1,0),x=0,T=new Array;"on"==d.data("kenburns")&&("boxslide"!=f&&0!=f&&"boxfade"!=f&&1!=f&&"papercut"!=f&&16!=f||(f=11),E(a,i,!0,!0)),"random"==f&&(f=Math.round(Math.random()*g.length-1))>g.length-1&&(f=g.length-1),"random-static"==f&&((f=Math.round(Math.random()*m.length-1))>m.length-1&&(f=m.length-1),f=m[f]),"random-premium"==f&&((f=Math.round(Math.random()*b.length-1))>b.length-1&&(f=b.length-1),f=b[f]);if(1==i.isJoomla&&window.MooTools!=e&&-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(f)){var C=Math.round(Math.random()*(b.length-2))+1;C>b.length-1&&(C=b.length-1),0==C&&(C=1),f=b[C]}l(),s(8)&&h>15&&h<28&&((f=Math.round(Math.random()*m.length-1))>m.length-1&&(f=m.length-1),f=m[f],x=0,l());var L=-1;(1==i.leftarrowpressed||i.act>i.next)&&(L=1),i.leftarrowpressed=0,h>26&&(h=26),h<0&&(h=0);var k=300;o.data("masterspeed")!=e&&o.data("masterspeed")>99&&o.data("masterspeed")<4001&&(k=o.data("masterspeed")),T=g[y],a.parent().find(".bullet").each(function(){var e=t(this);e.removeClass("selected"),"withbullet"==i.navigationArrows||"nexttobullets"==i.navigationArrows?e.index()-1==i.next&&e.addClass("selected"):e.index()==i.next&&e.addClass("selected")});var z=new punchgs.TimelineLite({onComplete:function(){I(a,i,d,r,o,n,z)}});if(z.add(punchgs.TweenLite.set(d.find(".defaultimg"),{opacity:0})),z.pause(),o.data("slotamount")==e||o.data("slotamount")<1?(i.slots=Math.round(12*Math.random()+4),"boxslide"==f?i.slots=Math.round(6*Math.random()+3):"flyin"==f&&(i.slots=Math.round(4*Math.random()+1))):i.slots=o.data("slotamount"),o.data("rotate")==e?i.rotate=0:999==o.data("rotate")?i.rotate=Math.round(360*Math.random()):i.rotate=o.data("rotate"),(!t.support.transition||i.ie||i.ie9)&&(i.rotate=0),1==i.firststart&&(i.firststart=0),
9k+=T[4],(4==h||5==h||6==h)&&i.slots<3&&(i.slots=3),0!=T[3]&&(i.slots=Math.min(i.slots,T[3])),9==h&&(i.slots=i.width/20),10==h&&(i.slots=i.height/20),"box"==T[5]?(null!=T[7]&&v(r,i,T[7]),null!=T[6]&&v(d,i,T[6])):"vertical"!=T[5]&&"horizontal"!=T[5]||(null!=T[7]&&w(r,i,T[7],T[5]),null!=T[6]&&w(d,i,T[6],T[5])),0==h){var O=Math.ceil(i.height/i.sloth),A=0;d.find(".slotslide").each(function(e){var a=t(this);(A+=1)==O&&(A=0),z.add(punchgs.TweenLite.from(a,k/600,{opacity:0,top:0-i.sloth,left:0-i.slotw,rotation:i.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),(15*e+30*A)/1500)})}if(1==h){var M;d.find(".slotslide").each(function(e){var a=t(this);rand=Math.random()*k+300,rand2=500*Math.random()+200,rand+rand2>M&&(M=rand2+rand2,e),z.add(punchgs.TweenLite.from(a,rand/1e3,{autoAlpha:0,force3D:"auto",rotation:i.rotate,ease:punchgs.Power2.easeInOut}),rand2/1e3)})}if(2==h){var S=new punchgs.TimelineLite;r.find(".slotslide").each(function(){var e=t(this);S.add(punchgs.TweenLite.to(e,k/1e3,{left:i.slotw,force3D:"auto",rotation:0-i.rotate}),0),z.add(S,0)}),d.find(".slotslide").each(function(){var e=t(this);S.add(punchgs.TweenLite.from(e,k/1e3,{left:0-i.slotw,force3D:"auto",rotation:i.rotate}),0),z.add(S,0)})}if(3==h){S=new punchgs.TimelineLite;r.find(".slotslide").each(function(){var e=t(this);S.add(punchgs.TweenLite.to(e,k/1e3,{top:i.sloth,rotation:i.rotate,force3D:"auto",transformPerspective:600}),0),z.add(S,0)}),d.find(".slotslide").each(function(){var e=t(this);S.add(punchgs.TweenLite.from(e,k/1e3,{top:0-i.sloth,rotation:i.rotate,ease:punchgs.Power2.easeOut,force3D:"auto",transformPerspective:600}),0),z.add(S,0)})}if(4==h||5==h){setTimeout(function(){r.find(".defaultimg").css({opacity:0})},100);var P=k/1e3;S=new punchgs.TimelineLite;r.find(".slotslide").each(function(e){var a=t(this),o=e*P/i.slots;5==h&&(o=(i.slots-e-1)*P/i.slots/1.5),S.add(punchgs.TweenLite.to(a,3*P,{transformPerspective:600,force3D:"auto",top:0+i.height,opacity:.5,rotation:i.rotate,ease:punchgs.Power2.easeInOut,delay:o}),0),z.add(S,0)}),d.find(".slotslide").each(function(e){var a=t(this),o=e*P/i.slots;5==h&&(o=(i.slots-e-1)*P/i.slots/1.5),S.add(punchgs.TweenLite.from(a,3*P,{top:0-i.height,opacity:.5,rotation:i.rotate,force3D:"auto",ease:punchgs.Power2.easeInOut,delay:o}),0),z.add(S,0)})}if(6==h){i.slots<2&&(i.slots=2),i.slots%2&&(i.slots=i.slots+1);S=new punchgs.TimelineLite;setTimeout(function(){r.find(".defaultimg").css({opacity:0})},100),r.find(".slotslide").each(function(e){var a=t(this);if(e+1<i.slots/2)var o=90*(e+2);else o=90*(2+i.slots-e);S.add(punchgs.TweenLite.to(a,(k+o)/1e3,{top:0+i.height,opacity:1,force3D:"auto",rotation:i.rotate,ease:punchgs.Power2.easeInOut}),0),z.add(S,0)}),d.find(".slotslide").each(function(e){var a=t(this);if(e+1<i.slots/2)var o=90*(e+2);else o=90*(2+i.slots-e);S.add(punchgs.TweenLite.from(a,(k+o)/1e3,{top:0-i.height,opacity:1,force3D:"auto",rotation:i.rotate,ease:punchgs.Power2.easeInOut}),0),z.add(S,0)})}if(7==h){k*=2;S=new punchgs.TimelineLite;setTimeout(function(){r.find(".defaultimg").css({opacity:0})},100),r.find(".slotslide").each(function(){var e=t(this).find("div");S.add(punchgs.TweenLite.to(e,k/1e3,{left:0-i.slotw/2+"px",top:0-i.height/2+"px",width:2*i.slotw+"px",height:2*i.height+"px",opacity:0,rotation:i.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),0),z.add(S,0)}),d.find(".slotslide").each(function(e){var a=t(this).find("div");S.add(punchgs.TweenLite.fromTo(a,k/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-e*i.slotw+"px",ease:punchgs.Power2.easeOut,force3D:"auto",top:"0px",width:i.width,height:i.height,opacity:1,rotation:0,delay:.1}),0),z.add(S,0)})}if(8==h){k*=3;S=new punchgs.TimelineLite;r.find(".slotslide").each(function(){var e=t(this).find("div");S.add(punchgs.TweenLite.to(e,k/1e3,{left:0-i.width/2+"px",top:0-i.sloth/2+"px",width:2*i.width+"px",height:2*i.sloth+"px",force3D:"auto",opacity:0,rotation:i.rotate}),0),z.add(S,0)}),d.find(".slotslide").each(function(e){var a=t(this).find("div");S.add(punchgs.TweenLite.fromTo(a,k/1e3,{left:0,top:0,opacity:0,force3D:"auto"},{left:"0px",top:0-e*i.sloth+"px",width:d.find(".defaultimg").data("neww")+"px",height:d.find(".defaultimg").data("newh")+"px",opacity:1,rotation:0}),0),z.add(S,0)})}if(9==h||10==h){d.find(".slotslide").each(function(e){var a=t(this);0,z.add(punchgs.TweenLite.fromTo(a,k/1e3,{autoAlpha:0,force3D:"auto",transformPerspective:600},{autoAlpha:1,ease:punchgs.Power2.easeInOut,delay:5*e/1e3}),0)})}
9if(11==h||26==h){26==h&&(k=0),d.find(".slotslide").each(function(e){var a=t(this);z.add(punchgs.TweenLite.from(a,k/1e3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power2.easeInOut}),0)})}if(12==h||13==h||14==h||15==h){k=1e3,setTimeout(function(){punchgs.TweenLite.set(r.find(".defaultimg"),{autoAlpha:0})},100);var H=i.width,W=i.height,_=d.find(".slotslide");"on"!=i.fullWidth&&"on"!=i.fullScreen||(H=_.width(),W=_.height());var V=0,Y=0;12==h?V=H:15==h?V=0-H:13==h?Y=W:14==h&&(Y=0-W);var R=1,X=1,B=1,F=punchgs.Power2.easeInOut,j=punchgs.Power2.easeInOut,q=k/1e3,N=q;1==u&&(R=0),2==u&&(R=0),3==u&&(F=punchgs.Power2.easeInOut,j=punchgs.Power1.easeInOut,q=k/1200),4!=u&&5!=u||(X=.6),6==u&&(X=1.4),5!=u&&6!=u||(B=1.4,R=0,H=0,W=0,V=0,Y=0),6==u&&(B=.6);z.add(punchgs.TweenLite.from(_,q,{left:V,top:Y,scale:B,opacity:R,rotation:i.rotate,ease:j,force3D:"auto"}),0);var $=r.find(".slotslide");4!=u&&5!=u||(H=0,W=0),1!=u&&(12==h?z.add(punchgs.TweenLite.to($,N,{left:0-H+"px",force3D:"auto",scale:X,opacity:R,rotation:i.rotate,ease:F}),0):15==h?z.add(punchgs.TweenLite.to($,N,{left:H+"px",force3D:"auto",scale:X,opacity:R,rotation:i.rotate,ease:F}),0):13==h?z.add(punchgs.TweenLite.to($,N,{top:0-W+"px",force3D:"auto",scale:X,opacity:R,rotation:i.rotate,ease:F}),0):14==h&&z.add(punchgs.TweenLite.to($,N,{top:W+"px",orce3D:"auto",scale:X,opacity:R,rotation:i.rotate,ease:F}),0))}if(16==h){S=new punchgs.TimelineLite;z.add(punchgs.TweenLite.set(n,{position:"absolute","z-index":20}),0),z.add(punchgs.TweenLite.set(o,{position:"absolute","z-index":15}),0),n.wrapInner('<div class="tp-half-one" style="position:relative; width:100%;height:100%"></div>'),n.find(".tp-half-one").clone(!0).appendTo(n).addClass("tp-half-two"),n.find(".tp-half-two").removeClass("tp-half-one");H=i.width,W=i.height;"on"==i.autoHeight&&(W=a.height()),n.find(".tp-half-one .defaultimg").wrap('<div class="tp-papercut" style="width:'+H+"px;height:"+W+'px;"></div>'),n.find(".tp-half-two .defaultimg").wrap('<div class="tp-papercut" style="width:'+H+"px;height:"+W+'px;"></div>'),n.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"}),n.find(".tp-half-two .tp-caption").wrapAll('<div style="position:absolute;top:-50%;left:0px;"></div>'),z.add(punchgs.TweenLite.set(n.find(".tp-half-two"),{width:H,height:W,overflow:"hidden",zIndex:15,position:"absolute",top:W/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"}),0),z.add(punchgs.TweenLite.set(n.find(".tp-half-one"),{width:H,height:W/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"}),0);n.find(".defaultimg");var Z=Math.round(20*Math.random()-10),U=Math.round(20*Math.random()-10),J=Math.round(20*Math.random()-10),Q=.4*Math.random()-.2,K=.4*Math.random()-.2,tt=1*Math.random()+1,et=1*Math.random()+1,at=.3*Math.random()+.3;z.add(punchgs.TweenLite.set(n.find(".tp-half-one"),{overflow:"hidden"}),0),z.add(punchgs.TweenLite.fromTo(n.find(".tp-half-one"),k/800,{width:H,height:W/2,position:"absolute",top:"0px",left:"0px",force3D:"auto",transformOrigin:"center top"},{scale:tt,rotation:Z,y:0-W-W/4,autoAlpha:0,ease:punchgs.Power2.easeInOut}),0),z.add(punchgs.TweenLite.fromTo(n.find(".tp-half-two"),k/800,{width:H,height:W,overflow:"hidden",position:"absolute",top:W/2,left:"0px",force3D:"auto",transformOrigin:"center bottom"},{scale:et,rotation:U,y:W+W/4,ease:punchgs.Power2.easeInOut,autoAlpha:0,onComplete:function(){punchgs.TweenLite.set(n,{position:"absolute","z-index":15}),punchgs.TweenLite.set(o,{position:"absolute","z-index":20}),n.find(".tp-half-one").length>0&&(n.find(".tp-half-one .defaultimg").unwrap(),n.find(".tp-half-one .slotholder").unwrap()),n.find(".tp-half-two").remove()}}),0),S.add(punchgs.TweenLite.set(d.find(".defaultimg"),{autoAlpha:1}),0),null!=n.html()&&z.add(punchgs.TweenLite.fromTo(o,(k-200)/1e3,{scale:at,x:i.width/4*Q,y:W/4*K,rotation:J,force3D:"auto",transformOrigin:"center center",ease:punchgs.Power2.easeOut},{autoAlpha:1,scale:1,x:0,y:0,rotation:0}),0),z.add(S,0)}if(17==h&&d.find(".slotslide").each(function(e){var a=t(this);
9z.add(punchgs.TweenLite.fromTo(a,k/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:punchgs.Power3.easeOut,delay:.06*e}),0)}),18==h&&d.find(".slotslide").each(function(e){var a=t(this);z.add(punchgs.TweenLite.fromTo(a,k/500,{autoAlpha:0,rotationY:310,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:punchgs.Power3.easeOut,delay:.06*e}),0)}),19==h||22==h){S=new punchgs.TimelineLite;z.add(punchgs.TweenLite.set(n,{zIndex:20}),0),z.add(punchgs.TweenLite.set(o,{zIndex:20}),0),setTimeout(function(){r.find(".defaultimg").css({opacity:0})},100);o.css("z-index"),n.css("z-index");var it=90;R=1;if(1==L&&(it=-90),19==h){var ot="center center -"+i.height/2;R=0}else ot="center center "+i.height/2;punchgs.TweenLite.set(a,{transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:600}),d.find(".slotslide").each(function(e){var a=t(this);S.add(punchgs.TweenLite.fromTo(a,k/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",left:0,rotationY:i.rotate,z:10,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:ot,rotationX:it},{left:0,rotationY:0,top:0,z:0,scale:1,force3D:"auto",rotationX:0,delay:50*e/1e3,ease:punchgs.Power2.easeInOut}),0),S.add(punchgs.TweenLite.to(a,.1,{autoAlpha:1,delay:50*e/1e3}),0),z.add(S)}),r.find(".slotslide").each(function(e){var a=t(this),o=-90;1==L&&(o=90),S.add(punchgs.TweenLite.fromTo(a,k/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",autoAlpha:1,rotationY:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:ot,rotationX:0},{autoAlpha:1,rotationY:i.rotate,top:0,z:10,scale:1,rotationX:o,delay:50*e/1e3,force3D:"auto",ease:punchgs.Power2.easeInOut}),0),z.add(S)})}if(20==h){setTimeout(function(){r.find(".defaultimg").css({opacity:0})},100);o.css("z-index"),n.css("z-index");if(1==L){var nt=-i.width;it=70,ot="left center -"+i.height/2}else nt=i.width,it=-70,ot="right center -"+i.height/2;d.find(".slotslide").each(function(e){var a=t(this);z.add(punchgs.TweenLite.fromTo(a,k/1500,{left:nt,rotationX:40,z:-600,opacity:R,top:0,force3D:"auto",transformPerspective:600,transformOrigin:ot,rotationY:it},{left:0,delay:50*e/1e3,ease:punchgs.Power2.easeInOut}),0),z.add(punchgs.TweenLite.fromTo(a,k/1e3,{rotationX:40,z:-600,opacity:R,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:ot,rotationY:it},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:50*e/1e3,ease:punchgs.Power2.easeInOut}),0),z.add(punchgs.TweenLite.to(a,.1,{opacity:1,force3D:"auto",delay:50*e/1e3+k/2e3}),0)}),r.find(".slotslide").each(function(e){var a=t(this);if(1!=L)var o=-i.width,n=70,s="left center -"+i.height/2;else o=i.width,n=-70,s="right center -"+i.height/2;z.add(punchgs.TweenLite.fromTo(a,k/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:"auto",transformPerspective:600,transformOrigin:s,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:o,force3D:"auto",scale:.8,rotationY:n,delay:50*e/1e3,ease:punchgs.Power2.easeInOut}),0),z.add(punchgs.TweenLite.to(a,.1,{force3D:"auto",opacity:0,delay:50*e/1e3+(k/1e3-k/1e4)}),0)})}if(21==h||25==h){setTimeout(function(){r.find(".defaultimg").css({opacity:0})},100);o.css("z-index"),n.css("z-index");if(1==L){nt=-i.width,it=90;if(25==h){ot="center top 0";rot2=-it,it=i.rotate}else{ot="left center 0";rot2=i.rotate}}else{nt=i.width,it=-90;if(25==h){ot="center bottom 0";rot2=-it,it=i.rotate}else{ot="right center 0";rot2=i.rotate}}if(d.find(".slotslide").each(function(e){var a=t(this);z.add(punchgs.TweenLite.fromTo(a,k/1e3,{left:0,transformStyle:"flat",rotationX:rot2,z:0,autoAlpha:0,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:ot,rotationY:it},{left:0,rotationX:0,top:0,z:0,autoAlpha:1,scale:1,rotationY:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),0)}),1!=L){nt=-i.width,it=90;if(25==h){ot="center top 0";rot2=-it,it=i.rotate}else{ot="left center 0";rot2=i.rotate}}else{nt=i.width,it=-90;if(25==h){ot="center bottom 0";rot2=-it,it=i.rotate}else{ot="right center 0";rot2=i.rotate}}r.find(".slotslide").each(function(e){var a=t(this);z.add(punchgs.TweenLite.fromTo(a,k/1e3,{left:0,transformStyle:"flat",rotationX:0,z:0,autoAlpha:1,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:ot,rotationY:0},{left:0,rotationX:rot2,top:0,z:0,autoAlpha:1,force3D:"auto",scale:1,rotationY:it,ease:punchgs.Power1.easeInOut}),0)})}if(23==h||24==h){setTimeout(function(){r.find(".defaultimg").css({opacity:0}
9)},100);o.css("z-index"),n.css("z-index"),it=-90;1==L&&(it=90);R=1;if(23==h){ot="center center -"+i.width/2;R=0}else ot="center center "+i.width/2;punchgs.TweenLite.set(a,{transformStyle:"preserve-3d",backfaceVisibility:"hidden",perspective:2500}),d.find(".slotslide").each(function(e){var a=t(this);z.add(punchgs.TweenLite.fromTo(a,k/1e3,{left:0,rotationX:i.rotate,force3D:"auto",opacity:R,top:0,scale:1,transformPerspective:600,transformOrigin:ot,rotationY:it},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:50*e/500,ease:punchgs.Power2.easeInOut}),0)}),it=90,1==L&&(it=-90),r.find(".slotslide").each(function(e){var a=t(this);z.add(punchgs.TweenLite.fromTo(a,k/1e3,{left:0,autoAlpha:1,rotationX:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:ot,rotationY:0},{left:0,autoAlpha:1,rotationX:i.rotate,top:0,scale:1,rotationY:it,delay:50*e/500,ease:punchgs.Power2.easeInOut}),0)})}z.pause(),D(o,i,null,z),punchgs.TweenLite.to(o,.001,{autoAlpha:1});var st={};st.slideIndex=i.next+1,st.slide=o,a.trigger("revolution.slide.onchange",st),setTimeout(function(){a.trigger("revolution.slide.onafterswap")},k),a.trigger("revolution.slide.onvideostop")},I=function(t,e,a,i,o,n,s){punchgs.TweenLite.to(a.find(".defaultimg"),.001,{autoAlpha:1,onComplete:function(){y(t,e,o)}}),o.index()!=n.index()&&punchgs.TweenLite.to(n,.2,{autoAlpha:0,onComplete:function(){y(t,e,n)}}),e.act=e.next,"thumb"==e.navigationType&&Q(t),"on"==a.data("kenburns")&&E(t,e),t.find(".current-sr-slide-visible").removeClass("current-sr-slide-visible"),o.addClass("current-sr-slide-visible"),"scroll"!=e.parallax&&"scroll+mouse"!=e.parallax&&"mouse+scroll"!=e.parallax||G(t,e),s.clear()},A=function(e){var a=e.target.getVideoEmbedCode(),i=t("#"+a.split('id="')[1].split('"')[0]),o=i.closest(".tp-simpleresponsive"),n=i.parent().data("player");if(e.data==YT.PlayerState.PLAYING){var s=o.find(".tp-bannertimer").data("opt");"mute"==i.closest(".tp-caption").data("volume")&&n.mute(),s.videoplaying=!0,o.trigger("stoptimer"),o.trigger("revolution.slide.onvideoplay")}else{s=o.find(".tp-bannertimer").data("opt");-1!=e.data&&(s.videoplaying=!1,o.trigger("playtimer"),o.trigger("revolution.slide.onvideostop"))}0==e.data&&1==s.nextslideatend&&s.container.revnext()},M=function(t,a){var i=a.width(),o=a.height(),n=t.data("mediaAspect");n==e&&(n=1);var s=i/o;t.css({position:"absolute"});t.find("video");s<n?(t.width(o*n).height(o),punchgs.TweenLite.to(t,.01,{force3D:"auto",top:0,left:0-(o*n-i)/2,height:o})):(t.width(i).height(i/n),punchgs.TweenLite.to(t,.01,{force3D:"auto",top:0-(i/n-o)/2,left:0,height:i/n}))},S=function(){var t=new Object;return t.x=0,t.y=0,t.rotationX=0,t.rotationY=0,t.rotationZ=0,t.scale=1,t.scaleX=1,t.scaleY=1,t.skewX=0,t.skewY=0,t.opacity=0,t.transformOrigin="center, center",t.transformPerspective=400,t.rotation=0,t},P=function(e,a){var i=a.split(";");return t.each(i,function(t,a){var i=(a=a.split(":"))[0],o=a[1];"rotationX"==i&&(e.rotationX=parseInt(o,0)),"rotationY"==i&&(e.rotationY=parseInt(o,0)),"rotationZ"==i&&(e.rotationZ=p
9arseInt(o,0)),"rotationZ"==i&&(e.rotation=parseInt(o,0)),"scaleX"==i&&(e.scaleX=parseFloat(o)),"scaleY"==i&&(e.scaleY=parseFloat(o)),"opacity"==i&&(e.opacity=parseFloat(o)),"skewX"==i&&(e.skewX=parseInt(o,0)),"skewY"==i&&(e.skewY=parseInt(o,0)),"x"==i&&(e.x=parseInt(o,0)),"y"==i&&(e.y=parseInt(o,0)),"z"==i&&(e.z=parseInt(o,0)),"transformOrigin"==i&&(e.transformOrigin=o.toString()),"transformPerspective"==i&&(e.transformPerspective=parseInt(o,0))}),e},H=function(e){var a=e.split("animation:"),i=new Object;i.animation=P(S(),a[1]);var o=a[0].split(";");return t.each(o,function(t,e){var a=(e=e.split(":"))[0],o=e[1];"typ"==a&&(i.typ=o),"speed"==a&&(i.speed=parseInt(o,0)/1e3),"start"==a&&(i.start=parseInt(o,0)/1e3),"elementdelay"==a&&(i.elementdelay=parseFloat(o)),"ease"==a&&(i.ease=o)}),i},D=function(a,i,o,n){a.data("ctl")==e&&a.data("ctl",new punchgs.TimelineLite);var s=a.data("ctl"),r=0,d=0,l=a.find(".tp-caption"),h=i.container.find(".tp-static-layers").find(".tp-caption");s.pause(),t.each(h,function(t,e){l.push(e)}),l.each(function(a){var n=o,s=-1,l=t(this);l.hasClass("tp-static-layer")&&(-1!=l.data("startslide")&&"-1"!=l.data("startslide")||l.data("startslide",0),-1!=l.data("endslide")&&"-1"!=l.data("endslide")||l.data("endslide",i.slideamount),l.hasClass("tp-is-shown")?s=l.data("endslide")==i.next||l.data("startslide")>i.next||l.data("endslide")<i.next?2:0:l.data("startslide")<=i.next&&l.data("endslide")>=i.next||l.data("startslide")==i.next||l.data("endslide")==i.next?(l.addClass("tp-is-shown"),s=1):s=0),r=i.width/2-i.startwidth*i.bw/2;var h=i.bw;i.bh;"on"==i.fullScreen&&(d=i.height/2-i.startheight*i.bh/2),"on"==i.autoHeight&&(d=i.container.height()/2-i.startheight*i.bh/2),d<0&&(d=0);var c=0;if(i.width<i.hideCaptionAtLimit&&"on"==l.data("captionhidden")?(l.addClass("tp-hidden-caption"),c=1):i.width<i.hideAllCaptionAtLimit||i.width<i.hideAllCaptionAtLilmit?(l.addClass("tp-hidden-caption"),c=1):l.removeClass("tp-hidden-caption"),0==c){l.data("linktoslide")==e||l.hasClass("hasclicklistener")||(l.addClass("hasclicklistener"),l.css({cursor:"pointer"}),"no"!=l.data("linktoslide")&&l.click(function(){var e=t(this).data("linktoslide");"next"!=e&&"prev"!=e?(i.container.data("showus",e),i.container.parent().find(".tp-rightarrow").click()):"next"==e?i.container.parent().find(".tp-rightarrow").click():"prev"==e&&i.container.parent().find(".tp-leftarrow").click()})),r<0&&(r=0);var p="iframe"+Math.round(1e3*Math.random()+1);if(l.find("iframe").length>0||l.find("video").length>0){var f=!1;if(1!=l.data("autoplayonlyfirsttime")&&"true"!=l.data("autoplayonlyfirsttime")&&1!=l.data("autoplay")||(l.data("autoplay",!0),f=!0),l.find("iframe").each(function(){var a=t(this);if(j()){var o=a.attr("src");a.attr("src",""),a.attr("src",o)}if(i.nextslideatend=l.data("nextslideatend"),l.data("thumbimage")!=e&&l.data("thumbimage").length>2&&1!=l.data("autoplay")&&!n&&(l.find(".tp-thumb-image").remove(),l.append('<div class="tp-thumb-image" style="cursor:pointer; position:absolute;top:0px;left:0px;width:100%;height:100%;background-image:url('+l.data("thumbimage")+'); background-size:cover"></div>')),a.attr("src").toLowerCase().indexOf("youtube")>=0){if(a.hasClass("HasListener")){if(1==l.data("autoplay")||f){m=l.data("player");l.data("timerplay",setTimeout(function(){"on"==l.data("forcerewind")&&m.seekTo(0),m.playVideo()},l.data("start")))}}else try{a.attr("id",p);var s=setInterval(function(){YT!=e&&typeof YT.Player!=e&&void 0!==YT.Player&&(m=1==l.data("autoplay")||f?new YT.Player(p,{events:{onStateChange:A,onReady:function(t){t.target.playVideo()}}}):new YT.Player(p,{events:{onStateChange:A}}),a.addClass("HasListener"),l.data("player",m),clearInterval(s))},100)}catch(t){}l.find(".tp-thumb-image").click(function(){(punchgs.TweenLite.to(t(this),.3,{opacity:0,force3D:"auto",ease:punchgs.Power3.easeInOut,onComplete:function(){l.find(".tp-thumb-image").remove()}}),j())||l.data("player").playVideo()})}else if(a.attr("src").toLowerCase().indexOf("vimeo")>=0){if(a.hasClass("HasListener")){if(1==l.data("autoplay")){var r=(a=l.find("iframe")).attr("id");w=setInterval(function(){if($f!=e&&typeof $f(r).api!=e&&void 0!==$f(r).api){var t=$f(r);l.data("timerplay",setTimeout(function(){"on"==l.data("forcerewind")&&t.api("seekTo",0),t.api("play")},l.data("start"))),clearInterval(w)}},100)}}else{a.addClass("HasListener"),a.attr("id",p);for(var d,h=a.attr("src"),c={},u=h,g=/([^&=]+)=([^&]*)/g;d=g.exec(u);)c[decodeURIComponent(d[1])]=decodeURIComponent(d[2]);h=c.player_id!=e?h.replace(c.player_id,p):h+"&player_id="+p;try{h=h.replace("api=0","api=1")}catch(t){}h+="&api=1",a.attr("src",h);var m=l.find("iframe")[0],w=setInterval(function(){$f!=e&&typeof $f(p).api!=e&&void 0!==$f(p).api&&($f(m).addEvent("ready",function(){var e,a,i,o,n;e=p,a=f,i=$f(e),o=t("#"+e),n=o.closest(".tp-simpleresponsive"),i.addEvent("ready",function(t){a&&i.api("play"),i.addEvent("play",function(t){n.find(".tp-bannertimer").data("opt").videoplaying=!0,n.trigger("stoptimer"),"mute"==o.closest(".tp-caption").data("volume")&&i.api("setVolume","0")}),i.addEvent("finish",function(t){var e=n.find(".tp-bannertimer").data("opt");e.videoplaying=!1,n.trigger("playtimer"),n.trigger("revolution.slide.onvideoplay"),
91==e.nextslideatend&&e.container.revnext()}),i.addEvent("pause",function(t){n.find(".tp-bannertimer").data("opt").videoplaying=!1,n.trigger("playtimer"),n.trigger("revolution.slide.onvideostop")})})}),clearInterval(w))},100)}l.find(".tp-thumb-image").click(function(){punchgs.TweenLite.to(t(this),.3,{opacity:0,force3D:"auto",ease:punchgs.Power3.easeInOut,onComplete:function(){l.find(".tp-thumb-image").remove()}});var a=l.find("iframe").attr("id"),i=setInterval(function(){$f!=e&&typeof $f(a).api!=e&&void 0!==$f(a).api&&($f(a).api("play"),clearInterval(i))},100)})}}),l.find("video").length>0&&l.find("video").each(function(a){var o=t(this),n=this;o.parent().hasClass("html5vid")||o.wrap('<div class="html5vid" style="position:relative;top:0px;left:0px;width:auto;height:auto"></div>');var s=t(this).parent();n.addEventListener?n.addEventListener("loadedmetadata",function(){s.data("metaloaded",1)}):n.attachEvent("loadedmetadata",function(){s.data("metaloaded",1)}),o.hasClass("HasListener")||(o.addClass("HasListener"),n.addEventListener("play",function(){s.addClass("videoisplaying"),s.find(".tp-poster").remove(),"mute"==l.data("volume")&&(n.muted=!0),i.container.trigger("revolution.slide.onvideoplay"),i.videoplaying=!0,i.container.trigger("stoptimer")}),n.addEventListener("pause",function(){s.removeClass("videoisplaying"),i.videoplaying=!1,i.container.trigger("playtimer"),i.container.trigger("revolution.slide.onvideostop")}),n.addEventListener("ended",function(){s.removeClass("videoisplaying"),i.videoplaying=!1,i.container.trigger("playtimer"),i.container.trigger("revolution.slide.onvideostop"),1==i.nextslideatend&&i.container.revnext()})),o.attr("poster")!=e&&0==s.find(".tp-poster").length&&s.append('<div class="tp-poster" style="position:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;background:url('+o.attr("poster")+'); background-position:center center;background-size:100%;background-repeat:no-repeat;"></div>'),o.attr("control")==e&&0==s.find(".tp-video-play-button").length&&(s.append('<div class="tp-video-play-button"><i class="revicon-right-dir"></i><div class="tp-revstop"></div></div>'),s.find(".tp-video-play-button").click(function(){s.hasClass("videoisplaying")?n.pause():n.play()})),o.attr("control")==e&&s.find("video, .tp-poster").click(function(){s.hasClass("videoisplaying")?n.pause():n.play()}),1==l.data("forcecover")&&(M(s,i.container),s.addClass("fullcoveredvideo"),l.addClass("fullcoveredvideo")),(1==l.data("forcecover")||l.hasClass("fullscreenvideo"))&&s.css({width:"100%",height:"100%"});var r=!1;1!=l.data("autoplayonlyfirsttime")&&"true"!=l.data("autoplayonlyfirsttime")||(r=!0),clearInterval(s.data("interval")),s.data("interval",setInterval(function(){if(1==s.data("metaloaded")||NaN!=n.duration){clearInterval(s.data("interval")),"none"!=l.data("dottedoverlay")&&l.data("dottedoverlay")!=e&&1!=l.find(".tp-dottedoverlay").length&&s.append('<div class="tp-dottedoverlay '+l.data("dottedoverlay")+'"></div>');var a=16/9;if("4:3"==l.data("aspectratio")&&(a=4/3),s.data("mediaAspect",a),1==s.closest(".tp-caption").data("forcecover")&&(M(s,i.container),s.addClass("fullcoveredvideo")),o.css({display:"block"}),i.nextslideatend=l.data("nextslideatend"),1==l.data("autoplay")||1==r){t("body").find("#"+i.container.attr("id")).find(".tp-bannertimer");setTimeout(function(){i.videoplaying=!0,i.container.trigger("stoptimer")},200),"on"!=l.data("forcerewind")||s.hasClass("videoisplaying")||n.currentTime>0&&(n.currentTime=0),"mute"==l.data("volume")&&(n.muted=!0),s.data("timerplay",setTimeout(function(){"on"!=l.data("forcerewind")||s.hasClass("videoisplaying")||n.currentTime>0&&(n.currentTime=0),"mute"==l.data("volume")&&(n.muted=!0),setTimeout(function(){n.play()},500)},10+l.data("start")))}if(s.data("ww")==e&&s.data("ww",o.attr("width")),s.data("hh")==e&&s.data("hh",o.attr("height")),!l.hasClass("fullscreenvideo")&&1==l.data("forcecover"))try{s.width(s.data("ww")*i.bw),s.height(s.data("hh")*i.bh)}catch(t){}clearInterval(s.data("interval"))}}),100)}),1==l.data("autoplay")){t("body").find("#"+i.container.attr("id")).find(".tp-bannertimer");setTimeout(function(){i.videoplaying=!0,i.container.trigger("stoptimer")},200),i.videoplaying=!0,i.container.trigger("stoptimer"),1!=l.data("autoplayonlyfirsttime")&&"true"!=l.data("autoplayonlyfirsttime")||(l.data("autoplay",!1),l.data("autoplayonlyfirsttime",!1))}}var u=0,g=0;if(l.find("img").length>0){0==(v=l.find("img")).width()&&v.css({width:"auto"}),0==v.height()&&v.css({height:"auto"}),v.data("ww")==e&&v.width()>0&&v.data("ww",v.width()),v.data("hh")==e&&v.height()>0&&v.data("hh",v.height());var m=v.data("ww"),w=v.data("hh");m==e&&(m=0),w==e&&(w=0),v.width(m*i.bw),v.height(w*i.bh),u=v.width(),g=v.height()}else if(l.find("iframe").length>0||l.find("video").length>0){var v,b=!1;0==(v=l.find("iframe")).length&&(v=l.find("video"),b=!0),v.css({display:"block"}),l.data("ww")==e&&l.data("ww",v.width()),l.data("hh")==e&&l.data("hh",v.height());m=l.data("ww"),w=l.data("hh");var y=l;y.data("fsize")==e&&y.data("fsize",parseInt(y.css("font-size"),0)||0),y.data("pt")==e&&y.data("pt",parseInt(y.css("paddingTop"),0)||0),y.data("pb")==e&&y.data("pb",parseInt(y.css("paddingBottom"),0)||0),y.data("pl")==e&&y.data("pl",parseInt(y.css("paddingLeft"),0)||0),y.data("pr")==e&&y.data("pr",parseInt(y.css("paddingRight"),0)||0),y.data("mt")==e&&y.data("mt",parseInt(y.css("marginTop"),
90)||0),y.data("mb")==e&&y.data("mb",parseInt(y.css("marginBottom"),0)||0),y.data("ml")==e&&y.data("ml",parseInt(y.css("marginLeft"),0)||0),y.data("mr")==e&&y.data("mr",parseInt(y.css("marginRight"),0)||0),y.data("bt")==e&&y.data("bt",parseInt(y.css("borderTop"),0)||0),y.data("bb")==e&&y.data("bb",parseInt(y.css("borderBottom"),0)||0),y.data("bl")==e&&y.data("bl",parseInt(y.css("borderLeft"),0)||0),y.data("br")==e&&y.data("br",parseInt(y.css("borderRight"),0)||0),y.data("lh")==e&&y.data("lh",parseInt(y.css("lineHeight"),0)||0);var x=i.width,T=i.height;if(x>i.startwidth&&(x=i.startwidth),T>i.startheight&&(T=i.startheight),l.hasClass("fullscreenvideo")){r=0,d=0,l.data("x",0),l.data("y",0);var C=i.height;"on"==i.autoHeight&&(C=i.container.height()),l.css({width:i.width,height:C})}else l.css({"font-size":y.data("fsize")*i.bw+"px","padding-top":y.data("pt")*i.bh+"px","padding-bottom":y.data("pb")*i.bh+"px","padding-left":y.data("pl")*i.bw+"px","padding-right":y.data("pr")*i.bw+"px","margin-top":y.data("mt")*i.bh+"px","margin-bottom":y.data("mb")*i.bh+"px","margin-left":y.data("ml")*i.bw+"px","margin-right":y.data("mr")*i.bw+"px","border-top":y.data("bt")*i.bh+"px","border-bottom":y.data("bb")*i.bh+"px","border-left":y.data("bl")*i.bw+"px","border-right":y.data("br")*i.bw+"px","line-height":y.data("lh")*i.bh+"px",height:w*i.bh+"px"});0==b?(v.width(m*i.bw),v.height(w*i.bh)):1==l.data("forcecover")||l.hasClass("fullscreenvideo")||(v.width(m*i.bw),v.height(w*i.bh)),u=v.width(),g=v.height()}else{l.find(".tp-resizeme, .tp-resizeme *").each(function(){_(t(this),i)}),l.hasClass("tp-resizeme")&&l.find("*").each(function(){_(t(this),i)}),_(l,i),g=l.outerHeight(!0),u=l.outerWidth(!0);var L=l.outerHeight(),k=l.css("backgroundColor");l.find(".frontcorner").css({borderWidth:L+"px",left:0-L+"px",borderRight:"0px solid transparent",borderTopColor:k}),l.find(".frontcornertop").css({borderWidth:L+"px",left:0-L+"px",borderRight:"0px solid transparent",borderBottomColor:k}),l.find(".backcorner").css({borderWidth:L+"px",right:0-L+"px",borderLeft:"0px solid transparent",borderBottomColor:k}),l.find(".backcornertop").css({borderWidth:L+"px",right:0-L+"px",borderLeft:"0px solid transparent",borderTopColor:k})}"on"==i.fullScreenAlignForce&&(r=0,d=0),l.data("voffset")==e&&l.data("voffset",0),l.data("hoffset")==e&&l.data("hoffset",0);var z=l.data("voffset")*h,O=l.data("hoffset")*h,I=i.startwidth*h,D=i.startheight*h;"on"==i.fullScreenAlignForce&&(I=i.container.width(),D=i.container.height()),"center"!=l.data("x")&&"center"!=l.data("xcenter")||(l.data("xcenter","center"),l.data("x",I/2-l.outerWidth(!0)/2+O)),"left"!=l.data("x")&&"left"!=l.data("xleft")||(l.data("xleft","left"),l.data("x",0/h+O)),"right"!=l.data("x")&&"right"!=l.data("xright")||(l.data("xright","right"),l.data("x",(I-l.outerWidth(!0)+O)/h)),"center"!=l.data("y")&&"center"!=l.data("ycenter")||(l.data("ycenter","center"),l.data("y",D/2-l.outerHeight(!0)/2+z)),"top"!=l.data("y")&&"top"!=l.data("ytop")||(l.data("ytop","top"),l.data("y",0/i.bh+z)),"bottom"!=l.data("y")&&"bottom"!=l.data("ybottom")||(l.data("ybottom","bottom"),l.data("y",(D-l.outerHeight(!0)+z)/h)),l.data("start")==e&&l.data("start",1e3);var R=l.data("easing");R==e&&(R="punchgs.Power1.easeOut");var F=l.data("start")/1e3,q=l.data("speed")/1e3;if("center"==l.data("x")||"center"==l.data("xcenter"))var E=l.data("x")+r;else E=h*l.data("x")+r;if("center"==l.data("y")||"center"==l.data("ycenter"))var N=l.data("y")+d;else N=i.bh*l.data("y")+d;if(punchgs.TweenLite.set(l,{top:N,left:E,overwrite:"auto"}),0==s&&(n=!0),l.data("timeline")==e||n||(l.data("timeline").gotoAndPlay(0),n=!0),!n){l.data("timeline");var $=new punchgs.TimelineLite({smoothChildTiming:!0,onStart:function(){}});$.pause(),i.fullScreenAlignForce;var Z=l;l.data("mySplitText")!=e&&l.data("mySplitText").revert(),"chars"!=l.data("splitin")&&"words"!=l.data("splitin")&&"lines"!=l.data("splitin")&&"chars"!=l.data("splitout")&&"words"!=l.data("splitout")&&"lines"!=l.data("splitout")||(l.find("a").length>0?l.data("mySplitText",new punchgs.SplitText(l.find("a"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):l.find(".tp-layer-inner-rotation").length>0?l.data("mySplitText",new punchgs.SplitText(l.find(".tp-layer-inner-rotation"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):l.data("mySplitText",new punchgs.SplitText(l,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})),l.addClass("splitted")),"chars"==l.data("splitin")&&(Z=l.data("mySplitText").chars),"words"==l.data("splitin")&&(Z=l.data("mySplitText").words),"lines"==l.data("splitin")&&(Z=l.data("mySplitText").lines);var U=S(),G=S();l.data("repeat")!=e&&(repeatV=l.data("repeat")),l.data("yoyo")!=e&&(yoyoV=l.data("yoyo")),l.data("repeatdelay")!=e&&(repeatdelayV=l.data("repeatdelay")),l.hasClass("customin")?U=P(U,l.data("customin")):l.hasClass("randomrotate")?(U.scale=3*Math.random()+1,U.rotation=Math.round(200*Math.random()-100),U.x=Math.round(200*Math.random()-100),U.y=Math.round(200*Math.random()-100)):l.hasClass("lfr")||l.hasClass("skewfromright")?U.x=15+i.width:l.hasClass("lfl")||l.hasClass("skewfromleft")?U.x=-15-u:l.hasClass("sfl")||l.hasClass("skewfromleftshort")?U.x=-50:l.hasClass("sfr")||l.hasClass("skewfromrightshort")?U.x=50:l.hasClass("lft")?U.y=-25-g:l.hasClass("lfb")?U.y=25+i.height:l.hasClass("sft")?U.y=-50:l.hasClass("sfb")&&(U.y=50),l.hasClass("skewfromright")||l.hasClass("skewfromrightshort")?U.skewX=-85:(l.hasClass("skewfromleft")||l.hasClass("skewfromleftshort"))&&(U.skewX=85),(l.hasClass("fade")||l.hasClass("sft")||l.hasClass("sfl")||l.hasClass("sfb")||l.hasClass("skewfromleftshort")||l.hasClass("sfr")||l.hasClass("skewfromrightshort"))&&(U.opacity=0),W().toLowerCase();var J=l.data("elementdelay")==e?0:l.data("elementdelay");G.ease=U.ease=l.data("easing")==e?punchgs.Power1.easeInOut:l.data("easing"),U.data=new Object,U.data.oldx=U.x,U.data.oldy=U.y,G.data=new Object,G.data.oldx=G.x,G.data.oldy=G.y,U.x=U.x*h,U.y=U.y*h;var Q=new punchgs.TimelineLite;if(2!=s)if(l.hasClass("customin"))Z!=l&&$.add(punchgs.TweenLite.set(l,{force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:0,overwrite:"all"})),U.visibility="hidden",G.visibility="visible",G.overwrite="all",G.opacity=1,G.onComplete=void 0,G.delay=F,G.force3D="auto",$.add(Q.staggerFromTo(Z,q,U,G,J),"frame0");else if(U.visibility="visible",U.transformPerspective=600,Z!=l&&$.add(punchgs.TweenLite.set(l,{force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:0,overwrite:"all"})),G.visibility="visible",G.delay=F,G.onComplete=void 0,G.opacity=1,G.force3D="auto",l.hasClass("randomrotate")&&Z!=l)for(a=0;a<Z.length;a++){var K=new Object,tt=new Object;t.extend(K,U),t.extend(tt,G),U.scale=3*Math.random()+1,U.rotation=Math.round(200*Math.random()-100),U.x=Math.round(200*Math.random()-100),U.y=Math.round(200*Math.random()-100),0!=a&&(tt.delay=F+a*J),$.append(punc
9hgs.TweenLite.fromTo(Z[a],q,K,tt),"frame0")}else $.add(Q.staggerFromTo(Z,q,U,G,J),"frame0");l.data("timeline",$);new Array;if(l.data("frames")!=e){var et=l.data("frames"),at=(et=(et=et.replace(/\s+/g,"")).replace("{","")).split("}");t.each(at,function(t,e){if(e.length>0){var a=H(e);X(l,i,a,"frame"+(t+10),h)}})}$=l.data("timeline"),l.data("end")==e||-1!=s&&2!=s?B(l,i,-1==s||2==s?999999:200,U,"frame99",h):B(l,i,l.data("end")/1e3,U,"frame99",h),$=l.data("timeline"),l.data("timeline",$),V(l,h),$.resume()}}if(n&&(Y(l),V(l,h),l.data("timeline")!=e)){var it=l.data("timeline").getTweensOf();t.each(it,function(t,a){if(a.vars.data!=e){var i=a.vars.data.oldx*h,o=a.vars.data.oldy*h;if(1!=a.progress()&&0!=a.progress())try{a.vars.x=i,a.vary.y=o}catch(t){}else 1==a.progress()&&punchgs.TweenLite.set(a.target,{x:i,y:o})}})}}),t("body").find("#"+i.container.attr("id")).find(".tp-bannertimer").data("opt",i),n!=e&&setTimeout(function(){n.resume()},30)},W=function(){var t,e=navigator.appName,a=navigator.userAgent,i=a.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return i&&null!=(t=a.match(/version\/([\.\d]+)/i))&&(i[2]=t[1]),(i=i?[i[1],i[2]]:[e,navigator.appVersion,"-?"])[0]},_=function(t,a){t.data("fsize")==e&&t.data("fsize",parseInt(t.css("font-size"),0)||0),t.data("pt")==e&&t.data("pt",parseInt(t.css("paddingTop"),0)||0),t.data("pb")==e&&t.data("pb",parseInt(t.css("paddingBottom"),0)||0),t.data("pl")==e&&t.data("pl",parseInt(t.css("paddingLeft"),0)||0),t.data("pr")==e&&t.data("pr",parseInt(t.css("paddingRight"),0)||0),t.data("mt")==e&&t.data("mt",parseInt(t.css("marginTop"),0)||0),t.data("mb")==e&&t.data("mb",parseInt(t.css("marginBottom"),0)||0),t.data("ml")==e&&t.data("ml",parseInt(t.css("marginLeft"),0)||0),t.data("mr")==e&&t.data("mr",parseInt(t.css("marginRight"),0)||0),t.data("bt")==e&&t.data("bt",parseInt(t.css("borderTopWidth"),0)||0),t.data("bb")==e&&t.data("bb",parseInt(t.css("borderBottomWidth"),0)||0),t.data("bl")==e&&t.data("bl",parseInt(t.css("borderLeftWidth"),0)||0),t.data("br")==e&&t.data("br",parseInt(t.css("borderRightWidth"),0)||0),t.data("ls")==e&&t.data("ls",parseInt(t.css("letterSpacing"),0)||0),t.data("lh")==e&&t.data("lh",parseInt(t.css("lineHeight"),0)||"auto"),t.data("minwidth")==e&&t.data("minwidth",parseInt(t.css("minWidth"),0)||0),t.data("minheight")==e&&t.data("minheight",parseInt(t.css("minHeight"),0)||0),t.data("maxwidth")==e&&t.data("maxwidth",parseInt(t.css("maxWidth"),0)||"none"),t.data("maxheight")==e&&t.data("maxheight",parseInt(t.css("maxHeight"),0)||"none"),t.data("wii")==e&&t.data("wii",parseInt(t.css("width"),0)||0),t.data("hii")==e&&t.data("hii",parseInt(t.css("height"),0)||0),t.data("wan")==e&&t.data("wan",t.css("-webkit-transition")),t.data("moan")==e&&t.data("moan",t.css("-moz-animation-transition")),t.data("man")==e&&t.data("man",t.css("-ms-animation-transition")),t.data("ani")==e&&t.data("ani",t.css("transition")),t.hasClass("tp-splitted")||(t.css("-webkit-transition","none"),t.css("-moz-transition","none"),t.css("-ms-transition","none"),t.css("transition","none"),punchgs.TweenLite.set(t,{fontSize:Math.round(t.data("fsize")*a.bw)+"px",letterSpacing:Math.floor(t.data("ls")*a.bw)+"px",paddingTop:Math.round(t.data("pt")*a.bh)+"px",paddingBottom:Math.round(t.data("pb")*a.bh)+"px",paddingLeft:Math.round(t.data("pl")*a.bw)+"px",paddingRight:Math.round(t.data("pr")*a.bw)+"px",marginTop:t.data("mt")*a.bh+"px",marginBottom:t.data("mb")*a.bh+"px",marginLeft:t.data("ml")*a.bw+"px",marginRight:t.data("mr")*a.bw+"px",borderTopWidth:Math.round(t.data("bt")*a.bh)+"px",borderBottomWidth:Math.round(t.data("bb")*a.bh)+"px",borderLeftWidth:Math.round(t.data("bl")*a.bw)+"px",borderRightWidth:Math.round(t.data("br")*a.bw)+"px",lineHeight:Math.round(t.data("lh")*a.bh)+"px",minWidth:t.data("minwidth")*a.bw+"px",minHeight:t.data("minheight")*a.bh+"px",overwrite:"auto"}),setTimeout(function(){t.css("-webkit-transition",t.data("wan")),t.css("-moz-transition",t.data("moan")),t.css("-ms-transition",t.data("man")),t.css("transition",t.data("ani"))},30),"none"!=t.data("maxheight")&&t.css({maxHeight:t.data("maxheight")*a.bh+"px"}),"none"!=t.data("maxwidth")&&t.css({maxWidth:t.data("maxwidth")*a.bw+"px"}))},V=function(a,i){a.find(".rs-pendulum").each(function(){var a=t(this);if(a.data("timeline")==e){a.data("timeline",new punchgs.TimelineLite);var o=a.data("startdeg")==e?-20:a.data("startdeg"),n=a.data("enddeg")==e?20:a.data("enddeg");speed=a.data("speed")==e?2:a.data("speed"),origin=a.data("origin")==e?"50% 50%":a.data("origin"),easing=a.data("ease")==e?punchgs.Power2.easeInOut:a.data("ease"),o*=i,n*=i,a.data("timeline").append(new punchgs.TweenLite.fromTo(a,speed,{force3D:"auto",rotation:o,transformOrigin:origin},{rotation:n,ease:easing})),a.data("timeline").append(new punchgs.TweenLite.fromTo(a,speed,{force3D:"auto",rotation:n,transformOrigin:origin},{rotation:o,ease:easing,onComplete:function(){a.data("timeline").restart()}}))}}),a.find(".rs-slideloop").each(function(){var a=t(this);if(a.data("timeline")==e){a.data("timeline",new punchgs.TimelineLite);var o=a.data("xs")==e?0:a.data("xs"),n=a.data("ys")==e?0:a.data("ys");xe=a.data("xe")==e?0:a.data("xe"),ye=a.data("ye")==e?0:a.data("ye"),speed=a.data("speed")==e?2:a.data("speed"),easing=a.data("ease")==e?punchgs.Power2.easeInOut:a.data("ease"),o*=i,n*=i,xe*=i,ye*=i,a.data("timeline").append(new punchgs.TweenLite.fromTo(a,speed,{force3D:"auto",x:o,y:n},{x:xe,y:ye,ease:easing})),a.data("timeline").append(new punchgs.TweenLite.fromTo(a,speed,{force3D:"auto",x:xe,y:ye},{x:o,y:n,onComplete:function(){a.data("timeline").restart()}}))}}),a.find(".rs-pulse").each(function(){var a=t(this);if(a.data("timeline")==e){a.data("timeline",new punchgs.TimelineLite);var i=a.data("zoomstart")==e?0:a.data("zoomstart"),o=a.data("zoomend")==e?0:a.data("zoomend");speed=a.data("speed")==e?2:a.data("speed"),easing=a.data("ease")==e?punchgs.Power2.easeInOut:a.data("ease"),a.data("timeline").append(new punchgs.TweenLite.fromTo(a,speed,{force3D:"auto",scale:i},{scale:o,ease:easing})),a.data("timeline").append(new punchgs.TweenLite.fromTo(a,speed,{force3D:"auto",scale:o},{scale:i,onComplete:function(){a.data("timeline").restart()}}))}}),a.find(".rs-wave").each(function(){var a=t(this);if(a.data("timeline")==e){a.data("timeline",new punchgs.TimelineLite);var o=a.data("angle")==e?10:a.data("angle"),n=a.data("radius")==e?10:a.data("radius"),s=a.data("speed")==e?-20:a.data("speed"),r=(a.data("origin")==e||a.data("origin"),{a:0,ang:o*=i,element:a,unit:n*=i});a.data("timeline").append(new punchgs.TweenLite.fromTo(r,s,{a:360},{a:0,force3D:"auto",ease:punchgs.Linear.easeNone,onUpdate:function(){var t=r.a*(Math.PI/180);punchgs.TweenLite.to(r.element,.1,{force3D:"auto",x:Math.cos(t)*r.unit,y:r.unit*(1-Math.sin(t))})},onComplete:function(){a.data("timeline").restart()}}))}})},Y=function(a){a.find(".rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave").each(function(){var a=t(this);a.data("timeline")!=e&&(a.data("timeline").pause(),a.data("timeline",null))})},R=function(a,i){var o=0,n=a.find(".tp-caption"),s=i.container.find(".tp-static-layers").find(".tp-caption");return t.each(s,function(t,e){n.push(e)}),n.each(function(a){var n=-1,s=t(this);if(s.hasClass("tp-static-layer")&&(-1!=s.data("startslide")&&"-1"!=s.data("startslide")||s.data("startslide",0),-1!=s.data("endslide")&&"-1"!=s.data("endslide")||s.data("endslide",i.slideamount),s.hasClass("tp-is-shown")?s.data("startslide")>i.next||s.data("endslide")<i.next?(n=2,s.removeClass("tp-is-shown")):n=0:n=2),0!=n){if(Y(s),s.find("iframe").length>0){try{var r=s.find("iframe").attr("id");$f(r).api("pause"),clearTimeout(s.data("timerplay"))}catch(t){}try{s.data("player").stopVideo(),clearTimeout(s.data("timerplay"))}catch(t){}}if(s.find("video").length>0)try{s.find("video").each(function(e){var a=t(this).parent();a.attr("id");clearTimeout(a.data("timerplay"));this.pause()})}catch(t){}try{var d=s.data("timeline");if(d.getLabelTime("frame99")>d.time()){var l=d.getTweensOf(s);if(t.each(l,function(t,e){0!=t&&e.pause()}),0!=s.css("opacity")){var h=s.data("endspeed")==e?s.data("speed"):s.data("endspeed");h>o&&(o=h),d.play("frame99")}else d.progress(1,!1)}}catch(t){}}}),o},X=function(t,a,i,o,n){var s=t.data("timeline"),r=new punchgs.TimelineLite,d=t;"chars"==i.typ?d=t.data("mySplitText").chars:"words"==i.typ?d=t.data("mySplitText").words:"lines"==i.typ&&(d=t.data("mySplitText").lines),i.animation.ease=i.ease,i.animation.rotationZ!=e&&(i.animation.rotation=i.animation.rotationZ),i.animation.data=new Object,i.animation.data.oldx=i.animation.x,i.animation.data.oldy=i.animation.y,i.animation.x=i.animation.x*n,i.animation.y=i.animation.y*n,s.add(r.staggerTo(d,i.speed,i.animation,i.elementdelay),i.start),s.addLabel(o,i.start),t.data("timeline",s)},B=function(t,a,i,o,n,s){var r=t.data("timeline"),d=new punchgs.TimelineLite,l=S(),h=t.data("endspeed")==e?t.data("speed"):t.data("endspeed");if(l.ease=t.data("endeasing")==e?punchgs.Power1.easeInOut:t.data("endeasing"),h/=1e3,t.hasClass("ltr")||t.hasClass("ltl")||t.hasClass("str")||t.hasClass("stl")||t.hasClass("ltt")||t.hasClass("ltb")||t.hasClass("stt")||t.hasClass("stb")||t.hasClass("skewtoright")||t.hasClass("skewtorightshort")||t.hasClass("skewtoleft")||t.hasClass("skewtoleftshort")||t.hasClass("fadeout")||t.hasClass("randomrotateout")){t.hasClass("skewtoright")||t.hasClass("skewtorightshort")?l.skewX=35:(t.hasClass("skewtoleft")||t.hasClass("skewtoleftshort"))&&(l.skewX=-35),t.hasClass("ltr")||t.hasClass("skewtoright")?l.x=a.width+60:t.hasClass("ltl")||t.hasClass("skewtoleft")?l.x=0-(a.width+60):t.hasClass("ltt")?l.y=0-(a.height+60):t.hasClass("ltb")?l.y=a.height+60:t.hasClass("str")||t.hasClass("skewtorightshort")?(l.x=50,l.opacity=0):t.hasClass("stl")||t.hasClass("skewtoleftshort")?(l.x=-50,l.opacity=0):t.hasClass("stt")?(l.y=-50,l.opacity=0):t.hasClass("stb")?(l.y=50,l.opacity=0):t.hasClass("randomrotateout")?(l.x=Math.random()*a.width,l.y=Math.random()*a.height,l.scale=2*Math.random()+.3,l.rotation=360*Math.random()-180,l.opacity=0):t.hasClass("fadeout")&&(l.opacity=0),t.hasClass("skewtorightshort")?l.x=270:t.hasClass("skewtoleftshort")&&(l.x=-270),l.data=new Object,l.data.oldx=l.x,l.data.oldy=l.y,l.x=l.x*s,l.y=l.y*s,l.overwrite="auto";var c=t;c=t;"chars"==t.data("splitout")?c=t.data("mySplitText").chars:"words"==t.data("splitout")?c=t.data("mySplitText").words:"lines"==t.data("splitout")&&(c=t.data("mySplitText").lines);var p=t.data("endelementdelay")==e?0:t.data("endelementdelay");r.add(d.staggerTo(c,h,l,p),i)}else if(t.hasClass("customout")){l=P(l,t.data("customout"));c=t;"chars"==t.data("splitout")?c=t.data("mySplitText").chars:"words"==t.data("splitout")?c=t.data("mySplitText").words:"lines"==t.data("splitout")&&(c=t.data("mySplitText").lines);p=t.data("endelementdelay")==e?0:t.data("endelementdelay");l.onStart=function(){punchgs.TweenLite.set(t,{transformPerspective:l.transformPerspective,transformOrigin:l.transformOrigin,overwrite:"auto"})},l.data=new Object,l.data.oldx=l.x,l.data.oldy=l.y,l.x=l.x*s,l.y=l.y*s,r.add(d.staggerTo(c,h,l,p),i)}else o.delay=0,r.add(punchgs.TweenLite.to(t,h,o),i);r.addLabel(n,i),t.data("timeline",r)},F=function(a,i){if(i.cd=0,i.loop=0,i.stopAfterLoops!=e&&i.stopAfterLoops>-1?i.looptogo=i.stopAfterLoops:i.looptogo=9999999,i.stopAtSlide!=e&&i.stopAtSlide>
9-1?i.lastslidetoshow=i.stopAtSlide:i.lastslidetoshow=999,i.stopLoop="off",0==i.looptogo&&(i.stopLoop="on"),i.slideamount>1&&(0!=i.stopAfterLoops||1!=i.stopAtSlide)){var o=a.find(".tp-bannertimer");a.on("stoptimer",function(){o.data("tween").pause(),"on"==i.hideTimerBar&&o.css({visibility:"hidden"})}),a.on("starttimer",function(){1!=i.conthover&&1!=i.videoplaying&&i.width>i.hideSliderAtLimit&&1!=i.bannertimeronpause&&1!=i.overnav&&("on"==i.stopLoop&&i.next==i.lastslidetoshow-1||(o.css({visibility:"visible"}),o.data("tween").play())),"on"==i.hideTimerBar&&o.css({visibility:"hidden"})}),a.on("restarttimer",function(){"on"==i.stopLoop&&i.next==i.lastslidetoshow-1||(o.css({visibility:"visible"}),o.data("tween",punchgs.TweenLite.fromTo(o,i.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:n,delay:1}))),"on"==i.hideTimerBar&&o.css({visibility:"hidden"})}),a.on("nulltimer",function(){o.data("tween").pause(0),"on"==i.hideTimerBar&&o.css({visibility:"hidden"})});var n=function(){0==t("body").find(a).length&&(!function(e,a){e.children().each(function(){try{t(this).die("click")}catch(t){}try{t(this).die("mouseenter")}catch(t){}try{t(this).die("mouseleave")}catch(t){}try{t(this).unbind("hover")}catch(t){}});try{e.die("click","mouseenter","mouseleave")}catch(t){}clearInterval(a.cdint),e=null}(a,i),clearInterval(i.cdint)),1==a.data("conthover-changed")&&(i.conthover=a.data("conthover"),a.data("conthover-changed",0)),i.act=i.next,i.next=i.next+1,i.next>a.find(">ul >li").length-1&&(i.next=0,i.looptogo=i.looptogo-1,i.looptogo<=0&&(i.stopLoop="on")),"on"==i.stopLoop&&i.next==i.lastslidetoshow-1?(a.find(".tp-bannertimer").css({visibility:"hidden"}),a.trigger("revolution.slide.onstop")):o.data("tween").restart(),L(a,i)};o.data("tween",punchgs.TweenLite.fromTo(o,i.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:n,delay:1})),o.data("opt",i),a.hover(function(){"on"!=i.onHoverStop||j()||(a.trigger("stoptimer"),a.trigger("revolution.slide.onpause"),a.find(">ul >li:eq("+i.next+") .slotholder").find(".defaultimg").each(function(){var a=t(this);a.data("kenburn")!=e&&a.data("kenburn").pause()}))},function(){1!=a.data("conthover")&&(a.trigger("revolution.slide.onresume"),a.trigger("starttimer"),a.find(">ul >li:eq("+i.next+") .slotholder").find(".defaultimg").each(function(){var a=t(this);a.data("kenburn")!=e&&a.data("kenburn").play()}))})}},j=function(){var t=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"],e=!1;
9for(i in t)navigator.userAgent.split(t[i]).length>1&&(e=!0);return e},q=function(t,e,a){var i=e.data("owidth"),o=e.data("oheight");return i/o>a.width/a.height?(t=t*=100/(o*(a.container.width()/i)/a.container.height()*t))+"% "+100+"% 1":t+"% "+o*(a.container.width()/i)/a.container.height()*t+"%"},E=function(a,i,o,n){try{a.find(">ul:first-child >li:eq("+i.act+")")}catch(t){a.find(">ul:first-child >li:eq(1)")}i.lastslide=i.act;var r=a.find(">ul:first-child >li:eq("+i.next+")").find(".slotholder"),d=r.data("bgposition"),l=r.data("bgpositionend"),h=r.data("zoomstart")/100,c=r.data("zoomend")/100,p=r.data("rotationstart"),f=r.data("rotationend"),u=r.data("bgfit"),g=r.data("bgfitend"),m=r.data("easeme"),w=r.data("duration")/1e3,v=100;u==e&&(u=100),g==e&&(g=100);var b=u,y=g;u=q(u,r,i),g=q(g,r,i),v=q(100,r,i),h==e&&(h=1),c==e&&(c=1),p==e&&(p=0),f==e&&(f=0),h<1&&(h=1),c<1&&(c=1);var x=new Object;x.w=parseInt(v.split(" ")[0],0),x.h=parseInt(v.split(" ")[1],0);var T=!1;"1"==v.split(" ")[2]&&(T=!0),r.find(".defaultimg").each(function(){var e=t(this);0==r.find(".kenburnimg").length?r.append('<div class="kenburnimg" style="position:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;"><img src="'+e.attr("src")+'" style="-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;position:absolute;width:'+x.w+"%;height:"+x.h+'%;"></div>'):r.find(".kenburnimg img").css({width:x.w+"%",height:x.h+"%"});var a=r.find(".kenburnimg img"),o=N(i,d,u,a,T),h=N(i,l,g,a,T);if(T&&(o.w=b/100,h.w=y/100),n){punchgs.TweenLite.set(a,{autoAlpha:0,transformPerspective:1200,transformOrigin:"0% 0%",top:0,left:0,scale:o.w,x:o.x,y:o.y});var c=o.w,p=c*a.width()-i.width,v=c*a.height()-i.height,C=Math.abs(o.x/p*100),L=Math.abs(o.y/v*100);0==v&&(L=0),0==p&&(C=0),e.data("bgposition",C+"% "+L+"%"),s(8)||e.data("currotate",$(a)),s(8)||e.data("curscale",x.w*c+"%  "+x.h*c+"%"),r.find(".kenburnimg").remove()}else e.data("kenburn",punchgs.TweenLite.fromTo(a,w,{autoAlpha:1,force3D:punchgs.force3d,transformOrigin:"0% 0%",top:0,left:0,scale:o.w,x:o.x,y:o.y},{autoAlpha:1,rotationZ:f,ease:m,x:h.x,y:h.y,scale:h.w,onUpdate:function(){var t=a[0]._gsTransform.scaleX,o=t*a.width()-i.width,n=t*a.height()-i.height,r=Math.abs(a[0]._gsTransform.x/o*100),d=Math.abs(a[0]._gsTransform.y/n*100);0==n&&(d=0),0==o&&(r=0),e.data("bgposition",r+"% "+d+"%"),s(8)||e.data("currotate",$(a)),s(8)||e.data("curscale",x.w*t+"%  "+x.h*t+"%")}}))})},N=function(t,e,a,i,o){var n=new Object;switch(n.w=o?parseInt(a.split(" ")[1],0)/100:parseInt(a.split(" ")[0],0)/100,e){case"left top":case"top left":n.x=0,n.y=0;break;case"center top":case"top center":n.x=((0-i.width())*n.w+parseInt(t.width,0))/2,n.y=0;break;case"top right":case"right top":n.x=(0-i.width())*n.w+parseInt(t.width,0),n.y=0;break;case"center left":case"left center":n.x=0,n.y=((0-i.height())*n.w+parseInt(t.height,0))/2;break;case"center center":n.x=((0-i.width())*n.w+parseInt(t.width,0))/2,n.y=((0-i.height())*n.w+parseInt(t.height,0))/2;break;case"center right":case"right center":n.x=(0-i.width())*n.w+parseInt(t.width,0),n.y=((0-i.height())*n.w+parseInt(t.height,0))/2;break;case"bottom left":case"left bottom":n.x=0,n.y=(0-i.height())*n.w+parseInt(t.height,0);break;
9case"bottom center":case"center bottom":n.x=((0-i.width())*n.w+parseInt(t.width,0))/2,n.y=(0-i.height())*n.w+parseInt(t.height,0);break;case"bottom right":case"right bottom":n.x=(0-i.width())*n.w+parseInt(t.width,0),n.y=(0-i.height())*n.w+parseInt(t.height,0)}return n},$=function(t){var e=t.css("-webkit-transform")||t.css("-moz-transform")||t.css("-ms-transform")||t.css("-o-transform")||t.css("transform");if("none"!==e)var a=e.split("(")[1].split(")")[0].split(","),i=a[0],o=a[1],n=Math.round(Math.atan2(o,i)*(180/Math.PI));else n=0;return n<0?n+=360:n},Z=function(a,i){try{var o=a.find(">ul:first-child >li:eq("+i.act+")")}catch(t){o=a.find(">ul:first-child >li:eq(1)")}i.lastslide=i.act;var n=a.find(">ul:first-child >li:eq("+i.next+")");o.find(".slotholder"),n.find(".slotholder");a.find(".defaultimg").each(function(){var a=t(this);punchgs.TweenLite.killTweensOf(a,!1),punchgs.TweenLite.set(a,{scale:1,rotationZ:0}),punchgs.TweenLite.killTweensOf(a.data("kenburn img"),!1),a.data("kenburn")!=e&&a.data("kenburn").pause(),a.data("currotate")!=e&&a.data("bgposition")!=e&&a.data("curscale")!=e&&punchgs.TweenLite.set(a,{rotation:a.data("currotate"),backgroundPosition:a.data("bgposition"),backgroundSize:a.data("curscale")}),a!=e&&a.data("kenburn img")!=e&&a.data("kenburn img").length>0&&punchgs.TweenLite.set(a.data("kenburn img"),{autoAlpha:0})})},U=function(e,a){if(j()&&"on"==a.parallaxDisableOnMobile)return!1;e.find(">ul:first-child >li").each(function(){for(var e=t(this),i=1;i<=10;i++)e.find(".rs-parallaxlevel-"+i).each(function(){var e=t(this);e.wrap('<div style="position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:'+e.css("zIndex")+'" class="tp-parallax-container" data-parallaxlevel="'+a.parallaxLevels[i-1]+'"></div>')})}),"mouse"!=a.parallax&&"scroll+mouse"!=a.parallax&&"mouse+scroll"!=a.parallax||(e.mouseenter(function(t){var a=e.find(".current-sr-slide-visible"),i=e.offset().top,o=e.offset().left,n=t.pageX-o,s=t.pageY-i;a.data("enterx",n),a.data("entery",s)}),e.on("mousemove.hoverdir, mouseleave.hoverdir",function(a){var i=e.find(".current-sr-slide-visible");switch(a.type){case"mousemove":var o=e.offset().top,n=e.offset().left,s=i.data("enterx"),r=i.data("entery"),d=s-(a.pageX-n),l=r-(a.pageY-o);i.find(".tp-parallax-container").each(function(){var e=t(this),a=parseInt(e.data("parallaxlevel"),0)/100,i=d*a,o=l*a;punchgs.TweenLite.to(e,.4,{force3D:"auto",x:i,y:o,ease:punchgs.Power3.easeOut,overwrite:"all"})});break;case"mouseleave":i.find(".tp-parallax-container").each(function(){var e=t(this);punchgs.TweenLite.to(e,1.5,{force3D:"auto",x:0,y:0,ease:punchgs.Power3.easeOut})})}}),j()&&(window.ondeviceorientation=function(a){var i=Math.round(a.beta||0),o=Math.round(a.gamma||0),n=e.find(".current-sr-slide-visible");if(t(window).width()>t(window).height()){var s=o;o=i,i=s}var r=360/e.width()*o,d=180/e.height()*i;n.find(".tp-parallax-container").each(function(){var e=t(this),a=parseInt(e.data("parallaxlevel"),0)/100,i=r*a,o=d*a;punchgs.TweenLite.to(e,.2,{force3D:"auto",x:i,y:o,ease:punchgs.Power3.easeOut})})})),"scroll"!=a.parallax&&"scroll+mouse"!=a.parallax&&"mouse+scroll"!=a.parallax||t(window).on("scroll",function(t){G(e,a)})},G=function(e,a){if(j()&&"on"==a.parallaxDisableOnMobile)return!1;var i=e.offset().top,o=t(window).scrollTop(),n=i+e.height()/2,s=i+e.height()/2-o,r=t(window).height()/2,d=r-s;n<r&&(d-=r-n);e.find(".current-sr-slide-visible");if(e.find(".tp-parallax-container").each(function(e){var a=t(this),i=parseInt(a.data("parallaxlevel"),0)/100,o=d*i;a.data("parallaxoffset",o),punchgs.TweenLite.to(a,.2,{force3D:"auto",y:o,ease:punchgs.Power3.easeOut})}),"on"!=a.parallaxBgFreeze){var l=a.parallaxLevels[0]/100,h=d*l;punchgs.TweenLite.to(e,.2,{force3D:"auto",y:h,ease:punchgs.Power3.easeOut})}},J=function(a,i){var o=a.parent();"thumb"!=i.navigationType&&"both"!=i.navsecond||o.append('<div class="tp-bullets tp-thumbs '+i.navigationStyle+'"><div class="tp-mask"><div class="tp-thumbcontainer"></div></div></div>');var n=o.find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer"),s=n.parent();
9s.width(i.thumbWidth*i.thumbAmount),s.height(i.thumbHeight),s.parent().width(i.thumbWidth*i.thumbAmount),s.parent().height(i.thumbHeight),a.find(">ul:first >li").each(function(t){var o=a.find(">ul:first >li:eq("+t+")"),s=o.find(".defaultimg").css("backgroundColor");if(o.data("thumb")!=e)var r=o.data("thumb");else r=o.find("img:first").attr("src");n.append('<div class="bullet thumb" style="background-color:'+s+";position:relative;width:"+i.thumbWidth+"px;height:"+i.thumbHeight+"px;background-image:url("+r+') !important;background-size:cover;background-position:center center;"></div>');n.find(".bullet:first")});var d=10;n.find(".bullet").each(function(e){var o=t(this);e==i.slideamount-1&&o.addClass("last"),0==e&&o.addClass("first"),o.width(i.thumbWidth),o.height(i.thumbHeight),d<o.outerWidth(!0)&&(d=o.outerWidth(!0)),o.click(function(){0==i.transition&&o.index()!=i.act&&(i.next=o.index(),r(i,a))})});var l=d*a.find(">ul:first >li").length,h=n.parent().width();i.thumbWidth=d,h<l&&(t(document).mousemove(function(e){t("body").data("mousex",e.pageX)}),n.parent().mouseenter(function(){var e=t(this);e.addClass("over");var i=e.offset(),o=t("body").data("mousex")-i.left,n=e.width(),s=e.find(".bullet:first").outerWidth(!0)*a.find(">ul:first >li").length,r=0-(o-=30)*((s-n+15)/n);r>0&&(r=0),r<0-s+n&&(r=0-s+n),K(e,r,200)}),n.parent().mousemove(function(){var e=t(this),i=e.offset(),o=t("body").data("mousex")-i.left,n=e.width(),s=e.find(".bullet:first").outerWidth(!0)*a.find(">ul:first >li").length-1;(o-=3)<6&&(o=0),o+3>n-6&&(o=n);var r=0-o*((s-n+15)/n);r>0&&(r=0),r<0-s+n&&(r=0-s+n),K(e,r,0)}),n.parent().mouseleave(function(){t(this).removeClass("over"),Q(a)}))},Q=function(t){var e=t.parent().find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer").parent(),a=(e.offset(),e.find(".bullet:first").outerWidth(!0)),i=e.find(".bullet.selected").index()*a,o=e.width(),n=(a=e.find(".bullet:first").outerWidth(!0))*t.find(">ul:first >li").length,s=0-i;s>0&&(s=0),s<0-n+o&&(s=0-n+o),e.hasClass("over")||K(e,s,200)},K=function(t,e,a){punchgs.TweenLite.to(t.find(".tp-thumbcontainer"),.2,{force3D:"auto",left:e,ease:punchgs.Power3.easeOut,overwrite:"auto"})}}(jQuery);
10if(1!=window.disablehammer&&(function(t,e){"use strict";var i=function(t,e){return new i.Instance(t,e||{})};i.defaults={stop_browser_behavior:{userSelect:"none",touchAction:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},i.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled,i.HAS_TOUCHEVENTS="ontouchstart"in t,i.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android/i,i.NO_MOUSEEVENTS=i.HAS_TOUCHEVENTS&&navigator.userAgent.match(i.MOBILE_REGEX),i.EVENT_TYPES={},i.DIRECTION_DOWN="down",i.DIRECTION_LEFT="left",i.DIRECTION_UP="up",i.DIRECTION_RIGHT="right",i.POINTER_MOUSE="mouse",i.POINTER_TOUCH="touch",i.POINTER_PEN="pen",i.EVENT_START="start",i.EVENT_MOVE="move",i.EVENT_END="end",i.DOCUMENT=document,i.plugins={},i.READY=!1,i.Instance=function(t,e){var n=this;return function(){if(!i.READY){for(var t in i.event.determineEventTypes(),i.gestures)i.gestures.hasOwnProperty(t)&&i.detection.register(i.gestures[t]);i.event.onTouch(i.DOCUMENT,i.EVENT_MOVE,i.detection.detect),i.event.onTouch(i.DOCUMENT,i.EVENT_END,i.detection.detect),i.READY=!0}}(),this.element=t,this.enabled=!0,this.options=i.utils.extend(i.utils.extend({},i.defaults),e||{}),this.options.stop_browser_behavior&&i.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),i.event.onTouch(t,i.EVENT_START,function(t){n.enabled&&i.detection.startDetect(n,t)}),this},i.Instance.prototype={on:function(t,e){for(var i=t.split(" "),n=0;i.length>n;n++)this.element.addEventListener(i[n],e,!1);return this},off:function(t,e){for(var i=t.split(" "),n=0;i.length>n;n++)this.element.removeEventListener(i[n],e,!1);return this},trigger:function(t,e){var n=i.DOCUMENT.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e;var r=this.element;return i.utils.hasParent(e.target,r)&&(r=e.target),r.dispatchEvent(n),this},enable:function(t){return this.enabled=t,this}};var n=null,r=!1,s=!1;
vendor: 4,077 bytes, line 10
10i.event={bindDom:function(t,e,i){for(var n=e.split(" "),r=0;n.length>r;r++)t.addEventListener(n[r],i,!1)},onTouch:function(t,e,a){var o=this;this.bindDom(t,i.EVENT_TYPES[e],function(l){var h=l.type.toLowerCase();if(!h.match(/mouse/)||!s){(h.match(/touch/)||h.match(/pointerdown/)||h.match(/mouse/)&&1===l.which)&&(r=!0),h.match(/touch|pointer/)&&(s=!0);var u=0;r&&(i.HAS_POINTEREVENTS&&e!=i.EVENT_END?u=i.PointerEvent.updatePointer(e,l):h.match(/touch/)?u=l.touches.length:s||(u=h.match(/up/)?0:1),u>0&&e==i.EVENT_END?e=i.EVENT_MOVE:u||(e=i.EVENT_END),u||null===n?n=l:l=n,a.call(i.detection,o.collectEventData(t,e,l)),i.HAS_POINTEREVENTS&&e==i.EVENT_END&&(u=i.PointerEvent.updatePointer(e,l))),u||(n=null,r=!1,s=!1,i.PointerEvent.reset())}})},determineEventTypes:function(){var t;t=i.HAS_POINTEREVENTS?i.PointerEvent.getEvents():i.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],i.EVENT_TYPES[i.EVENT_START]=t[0],i.EVENT_TYPES[i.EVENT_MOVE]=t[1],i.EVENT_TYPES[i.EVENT_END]=t[2]},getTouchList:function(t){return i.HAS_POINTEREVENTS?i.PointerEvent.getTouchList():t.touches?t.touches:[{identifier:1,pageX:t.pageX,pageY:t.pageY,target:t.target}]},collectEventData:function(t,e,n){var r=this.getTouchList(n,e),s=i.POINTER_TOUCH;return(n.type.match(/mouse/)||i.PointerEvent.matchType(i.POINTER_MOUSE,n))&&(s=i.POINTER_MOUSE),{center:i.utils.getCenter(r),timeStamp:(new Date).getTime(),target:n.target,touches:r,eventType:e,pointerType:s,srcEvent:n,preventDefault:function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation(),this.srcEvent.preventDefault&&this.srcEvent.preventDefault()},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return i.detection.stopDetect()}}}},i.PointerEvent={pointers:{},getTouchList:function(){var t=this,e=[];return Object.keys(t.pointers).sort().forEach(function(i){e.push(t.pointers[i])}),e},updatePointer:function(t,e){return t==i.EVENT_END?this.pointers={}:(e.identifier=e.pointerId,this.pointers[e.pointerId]=e),Object.keys(this.pointers).length},matchType:function(t,e){if(!e.pointerType)return!1;var n={};return n[i.POINTER_MOUSE]=e.pointerType==e.MSPOINTER_TYPE_MOUSE||e.pointerType==i.POINTER_MOUSE,n[i.POINTER_TOUCH]=e.pointerType==e.MSPOINTER_TYPE_TOUCH||e.pointerType==i.POINTER_TOUCH,n[i.POINTER_PEN]=e.pointerType==e.MSPOINTER_TYPE_PEN||e.pointerType==i.POINTER_PEN,n[t]},getEvents:function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},reset:function(){this.pointers={}}},i.utils={extend:function(t,i,n){for(var r in i)t[r]!==e&&n||(t[r]=i[r]);return t},hasParent:function(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1},getCenter:function(t){for(var e=[],i=[],n=0,r=t.length;r>n;n++)e.push(t[n].pageX),i.push(t[n].pageY);return{pageX:(Math.min.apply(Math,e)+Math.max.apply(Math,e))/2,pageY:(Math.min.apply(Math,i)+Math.max.apply(Math,i))/2}},getVelocity:function(t,e,i){return{x:Math.abs(e/t)||0,y:Math.abs(i/t)||0}},getAngle:function(t,e){var i=e.pageY-t.pageY,n=e.pageX-t.pageX;return 180*Math.atan2(i,n)/Math.PI},getDirection:function(t,e){return Math.abs(t.pageX-e.pageX)>=Math.abs(t.pageY-e.pageY)?t.pageX-e.pageX>0?i.DIRECTION_LEFT:i.DIRECTION_RIGHT:t.pageY-e.pageY>0?i.DIRECTION_UP:i.DIRECTION_DOWN},getDistance:function(t,e){var i=e.pageX-t.pageX,n=e.pageY-t.pageY;return Math.sqrt(i*i+n*n)},getScale:function(t,e){return t.length>=2&&e.length>=2?this.getDistance(e[0],e[1])/this.getDistance(t[0],t[1]):1},getRotation:function(t,e){return t.length>=2&&e.length>=2?this.getAngle(e[1],e[0])-this.getAngle(t[1],t[0]):0},isVertical:function(t){return t==i.DIRECTION_UP||t==i.DIRECTION_DOWN},stopDefaultBrowserBehavior:function(t,e){var i,n=["webkit","khtml","moz","ms","o",""];if(e&&t.style){for(var r=0;n.length>r;r++)for(var s in e)e.hasOwnProperty(s)&&(i=s,n[r]&&(i=n[r]+i.substring(0,1).toUpperCase()+i.substring(1)),t.style[i]=e[s]);"none"==e.userSelect&&(t.onselectstart=function(){return!1})}}}
10,i.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(t,e){this.current||(this.stopped=!1,this.current={inst:t,startEvent:i.utils.extend({},e),lastEvent:!1,name:""},this.detect(e))},detect:function(t){if(this.current&&!this.stopped){t=this.extendEventData(t);for(var e=this.current.inst.options,n=0,r=this.gestures.length;r>n;n++){var s=this.gestures[n];if(!this.stopped&&!1!==e[s.name]&&!1===s.handler.call(s,t,this.current.inst)){this.stopDetect();break}}return this.current&&(this.current.lastEvent=t),t.eventType==i.EVENT_END&&!t.touches.length-1&&this.stopDetect(),t}},stopDetect:function(){this.previous=i.utils.extend({},this.current),this.current=null,this.stopped=!0},extendEventData:function(t){var e=this.current.startEvent;if(e&&(t.touches.length!=e.touches.length||t.touches===e.touches)){e.touches=[];for(var n=0,r=t.touches.length;r>n;n++)e.touches.push(i.utils.extend({},t.touches[n]))}var s=t.timeStamp-e.timeStamp,a=t.center.pageX-e.center.pageX,o=t.center.pageY-e.center.pageY,l=i.utils.getVelocity(s,a,o);return i.utils.extend(t,{deltaTime:s,deltaX:a,deltaY:o,velocityX:l.x,velocityY:l.y,distance:i.utils.getDistance(e.center,t.center),angle:i.utils.getAngle(e.center,t.center),direction:i.utils.getDirection(e.center,t.center),scale:i.utils.getScale(e.touches,t.touches),rotation:i.utils.getRotation(e.touches,t.touches),startEvent:e}),t},register:function(t){var n=t.defaults||{};return n[t.name]===e&&(n[t.name]=!0),i.utils.extend(i.defaults,n,!0),t.index=t.index||1e3,this.gestures.push(t),this.gestures.sort(function(t,e){return t.index<e.index?-1:t.index>e.index?1:0}),this.gestures}},i.gestures=i.gestures||{},i.gestures.Hold={name:"hold",index:10,defaults:{hold_timeout:500,hold_threshold:1},timer:null,handler:function(t,e){switch(t.eventType){case i.EVENT_START:clearTimeout(this.timer),i.detection.current.name=this.name,this.timer=setTimeout(function(){"hold"==i.detection.current.name&&e.trigger("hold",t)},e.options.hold_timeout);break;case i.EVENT_MOVE:t.distance>e.options.hold_threshold&&clearTimeout(this.timer);break;case i.EVENT_END:clearTimeout(this.timer)}}},i.gestures.Tap={name:"tap",index:100,defaults:{tap_max_touchtime:250,tap_max_distance:10,tap_always:!0,doubletap_distance:20,doubletap_interval:300},handler:function(t,e){if(t.eventType==i.EVENT_END){var n=i.detection.previous,r=!1;if(t.deltaTime>e.options.tap_max_touchtime||t.distance>e.options.tap_max_distance)return;n&&"tap"==n.name&&t.timeStamp-n.lastEvent.timeStamp<e.options.doubletap_interval&&t.distance<e.options.doubletap_distance&&(e.trigger("doubletap",t),r=!0),(!r||e.options.tap_always)&&(i.detection.current.name="tap",e.trigger(i.detection.current.name,t))}}},i.gestures.Swipe={name:"swipe",index:40,defaults:{swipe_max_touches:1,swipe_velocity:.7},handler:function(t,e){if(t.eventType==i.EVENT_END){if(e.options.swipe_max_touches>0&&t.touches.length>e.options.swipe_max_touches)return;(t.velocityX>e.options.swipe_velocity||t.velocityY>e.options.swipe_velocity)&&(e.trigger(this.name,t),e.trigger(this.name+t.direction,t))}}},i.gestures.Drag={name:"drag",index:50,defaults:{drag_min_distance:10,drag_max_touches:1,drag_block_horizontal:!1,drag_block_vertical:!1,drag_lock_to_axis:!1,drag_lock_min_distance:25},triggered:!1,handler:function(t,n){if(i.detection.current.name!=this.name&&this.triggered)return n.trigger(this.name+"end",t),this.triggered=!1,e;if(!(n.options.drag_max_touches>0&&t.touches.length>n.options.drag_max_touches))switch(t.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:if(t.distance<n.options.drag_min_distance&&i.detection.current.name!=this.name)return;i.detection.current.name=this.name,(i.detection.current.lastEvent.drag_locked_to_axis||n.options.drag_lock_to_axis&&n.options.drag_lock_min_distance<=t.distance)&&(t.drag_locked_to_axis=!0);var r=i.detection.current.lastEvent.direction;t.drag_locked_to_axis&&r!==t.direction&&(t.direction=i.utils.isVertical(r)?0>t.deltaY?i.DIRECTION_UP:i.DIRECTION_DOWN:0>t.deltaX?i.DIRECTION_LEFT:i.DIRECTION_RIGHT),this.triggered||(n.trigger(this.name+"start",t),this.triggered=!0),n.trigger(this.name,t),n.trigger(this.name+t.direction,t),(n.options.drag_block_vertical&&i.utils.isVertical(t.direction)||n.options.drag_block_horizontal&&!i.utils.isVertical(t.direction))&&t.preventDefault();break;case i.EVENT_END:this.triggered&&n.trigger(this.name+"end",t),this.triggered=!1}}},i.gestures.Transform={name:"transform",index:45,defaults:{transform_min_scale:.01,transform_min_rotation:1,transform_always_block:!1},triggered:!1,handler:function(t,n){if(i.detection.current.name!=this.name&&this.triggered)return n.trigger(this.name+"end",t),this.triggered=!1,e;if(!(2>t.touches.length))switch(n.options.transform_always_block&&t.preventDefault(),t.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:var r=Math.abs(1-t.scale),s=Math.abs(t.rotation);if(n.options.transform_min_scale>r&&n.options.transform_min_rotation>s)return;i.detection.current.name=this.name,this.triggered||(n.trigger(this.name+"start",t),this.triggered=!0),n.trigger(this.name,t),s>n.options.transform_min_rotation&&n.trigger("rotate",t),r>n.options.transform_min_scale&&(n.trigger("pinch",t),n.trigger("pinch"+(1>t.scale?"in":"out"),t));break;case i.EVENT_END:this.triggered&&n.trigger(this.name+"end",t),this.triggered=!1}}},i.gestures.Touch={name:"touch",index:-1/0,defaults:{prevent_default:!1,prevent_mouseevents:!1},handler:function(t,n){return n.options.prevent_mouseevents&&t.pointerType==i.POINTER_MOUSE?(t.stopDetect(),e):(n.options.prevent_default&&t.preventDefault(),t.eventType==i.EVENT_START&&n.trigger(this.name,t),e)}},i.gestures.Release={name:"release",index:1/0,handler:function(t,e){t.eventType==i.EVENT_END&&e.trigger(this.name,t)}},"object"==typeof module&&"object"==typeof module.exports?module.exports=i:(t.Hammer=i,"function"==typeof t.define&&t.define.amd&&t.define("hammer",[],function(){return i}))}(this),function(t,e){"use strict";t!==e&&(Hammer.event.bindDom=function(i,n,r){t(i).on(n,function(t){var i=t.originalEvent||t;i.pageX===e&&(i.pageX=t.pageX,i.pageY=t.pageY),i.target||(i.target=t.target),i.which===e&&(i.which=i.button),i.preventDefault||(i.preventDefault=t.preventDefault),i.stopPropagation||(i.stopPropagation=t.stopPropagation),r.call(this,i)})},Hammer.Instance.prototype.on=function(e,i){return t(this.element).on(e,i)},Hammer.Instance.prototype.off=function(e,i){return t(this.element).off(e,i)},Hammer.Instance.prototype.trigger=function(e,i){var n=t(this.element);return n.has(i.target).length&&(n=t(i.target)),n.trigger({type:e,gesture:i})},t.fn.hammer=function(e){return this.each(function(){var i=t(this),n=i.data("hammer");n?n&&e&&Hammer.utils.extend(n.options,e):i.data("hammer",new Hammer(this,e||{}))})})}(window.jQuery||window.Zepto)),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(){}}console.groupCollapsed("ThemePunch GreenSocks Logs");var oldgs=window.GreenSockGlobals;oldgs_queue=window._gsQueue;var punchgs=window.GreenSockGlobals={};console.info("Build GreenSock SandBox for ThemePunch Plugins"),console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin"),function(t){"use strict";var e=t.GreenSockGlobals||t;if(!e.TweenLite){var i,n,r,s,a,o=function(t){var i,n=t.split("."),r=e;for(i=0;n.length>i;i++)r[n[i]]=r=r[n[i]]||{};return r},l=o("com.greensock"),h=1e-10,u=[].slice,p=function(){},c=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),f={},_=function(i,n,r,s){this.sc=f[i]?f[i].sc:[],f[i]=this,this.gsClass=null,this.func=r;var a=[];this.check=function(l){for(var h,u,p,c,d=n.length,m=d;--d>-1;)(h=f[n[d]]||new _(n[d],[])).gsClass?(a[d]=h.gsClass,m--):l&&h.sc.push(this);if(0===m&&r)for(p=(u=("com.greensock."+i).split(".")).pop(),c=o(u.join("."))[p]=this.gsClass=r.apply(r,a),s&&(e[p]=c,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+i.split(".").join("/"),[],function(){return c}):"undefined"!=typeof module&&module.exports&&(module.exports=c)),d=0;this.sc.length>d;d++)this.sc[d].check()},this.check(!0)}
10,d=t._gsDefine=function(t,e,i,n){return new _(t,e,i,n)},m=l._class=function(t,e,i){return e=e||function(){},d(t,[],function(){return e},i),e};d.globals=e;var g=[0,0,1,1],v=[],T=m("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?g.concat(e):g},!0),y=T.map={},x=T.register=function(t,e,i,n){for(var r,s,a,o,h=e.split(","),u=h.length,p=(i||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(s=h[u],r=n?m("easing."+s,null,!0):l.easing[s]||{},a=p.length;--a>-1;)o=p[a],y[s+"."+o]=y[o+s]=r[o]=t.getRatio?t:t[o]||new t};for((r=T.prototype)._calcEnd=!1,r.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},n=(i=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--n>-1;)r=i[n]+",Power"+n,x(new T(null,null,1,n),r,"easeOut",!0),x(new T(null,null,2,n),r,"easeIn"+(0===n?",easeNone":"")),x(new T(null,null,3,n),r,"easeInOut");y.linear=l.easing.Linear.easeIn,y.swing=l.easing.Quad.easeInOut;var w=m("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(r=w.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var o,l,h=this._listeners[t],u=0;for(null==h&&(this._listeners[t]=h=[]),l=h.length;--l>-1;)(o=h[l]).c===e&&o.s===i?h.splice(l,1):0===u&&r>o.pr&&(u=l+1);h.splice(u,0,{c:e,s:i,up:n,pr:r}),this!==s||a||s.wake()},r.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},r.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for(e=r.length,i=this._eventTarget;--e>-1;)(n=r[e]).up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i)};var b=t.requestAnimationFrame,E=t.cancelAnimationFrame,P=Date.now||function(){return(new Date).getTime()},S=P();for(n=(i=["ms","moz","webkit","o"]).length;--n>-1&&!b;)b=t[i[n]+"RequestAnimationFrame"],E=t[i[n]+"CancelAnimationFrame"]||t[i[n]+"CancelRequestAnimationFrame"];m("Ticker",function(t,e){var i,n,r,o,l,u=this,c=P(),f=!1!==e&&b,_=500,d=33,m=function(t){var e,s,a=P()-S;a>_&&(c+=a-d),S+=a,u.time=(S-c)/1e3,e=u.time-l,(!i||e>0||!0===t)&&(u.frame++,l+=e+(e>=o?.004:o-e),s=!0),!0!==t&&(r=n(m)),s&&u.dispatchEvent("tick")};w.call(u),u.time=u.frame=0,u.tick=function(){m(!0)},u.lagSmoothing=function(t,e){_=t||1/h,d=Math.min(e,_,0)},u.sleep=function(){null!=r&&(f&&E?E(r):clearTimeout(r),n=p,r=null,u===s&&(a=!1))},u.wake=function(){null!==r?u.sleep():u.frame>10&&(S=P()-_+5),n=0===i?p:f&&b?b:function(t){return setTimeout(t,0|1e3*(l-u.time)+1)},u===s&&(a=!0),m(2)},u.fps=function(t){return arguments.length?(o=1/((i=t)||60),l=this.time+o,void u.wake()):i},u.useRAF=function(t){return arguments.length?(u.sleep(),f=t,void u.fps(i)):f},u.fps(t),setTimeout(function(){f&&(!r||5>u.frame)&&u.useRAF(!1)},1500)}),(r=l.Ticker.prototype=new l.events.EventDispatcher).constructor=l.Ticker;var O=m("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,F){a||s.wake();var i=this.vars.useFrames?z:F;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});s=O.ticker=new l.Ticker,(r=O.prototype)._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var k=function(){a&&P()-S>2e3&&s.wake(),setTimeout(k,2e3)};k(),r.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},r.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(){},r.invalidate=function(){return this},r.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t},r._enabled=function(t,e){return a||s.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},r._kill=function(){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i}
vendor: 4,586 bytes, line 10
10,r.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=c(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},r.totalTime=function(t,e,i){if(a||s.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(this.render(t,e,!1),M.length&&U())}return this},r.progress=r.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},r.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},r.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||h,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)},r.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},r.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){a||t||s.wake();var e=this._timeline,i=e.rawTime(),n=i-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?i:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var R=m("core.SimpleTimeline",function(t){O.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(r=R.prototype=new O).constructor=R,r.kill()._gc=!1,r._first=r._last=null,r._sortChildren=!1,r.add=r.insert=function(t,e){var i,n;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),i=this._last,this._sortChildren)for(n=t._startTime;i&&i._startTime>n;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},r._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,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),this._timeline&&this._uncache(!0)),this},r.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused)&&(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=n},r.rawTime=function(){return a||s.wake(),this._totalTime};var C=m("TweenLite",function(e,i,n){if(O.call(this,i,n),this.render=C.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:C.selector(e)||e;var r,s,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.over
10write;if(this._overwrite=l=null==l?L[C.defaultOverwrite]:"number"==typeof l?l>>0:L[l],(o||e instanceof Array||e.push&&c(e))&&"number"!=typeof e[0])for(this._targets=a=u.call(e,0),this._propLookup=[],this._siblings=[],r=0;a.length>r;r++)(s=a[r])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(u.call(s,0))):(this._siblings[r]=j(s,this,!1),1===l&&this._siblings[r].length>1&&H(s,this,null,1,this._siblings[r])):"string"==typeof(s=a[r--]=C.selector(s))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=j(e,this,!1),1===l&&this._siblings.length>1&&H(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-h,this.render(-this._delay))},!0),N=function(e){return e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(r=C.prototype=new O).constructor=C,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=r._lazy=!1,C.version="1.12.1",C.defaultEase=r._ease=new T(null,null,1,1),C.defaultOverwrite="auto",C.ticker=s,C.autoSleep=!0,C.lagSmoothing=function(t,e){s.lagSmoothing(t,e)},C.selector=t.$||t.jQuery||function(e){return t.$?(C.selector=t.$,t.$(e)):t.document?t.document.getElementById("#"===e.charAt(0)?e.substr(1):e):e};var M=[],D={},A=C._internals={isArray:c,isSelector:N,lazyTweens:M},I=C._plugins={},X=A.tweenLookup={},Y=0,V=A.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},L={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},z=O._rootFramesTimeline=new R,F=O._rootTimeline=new R,U=function(){var t=M.length;for(D={};--t>-1;)(i=M[t])&&!1!==i._lazy&&(i.render(i._lazy,!1,!0),i._lazy=!1);M.length=0};F._startTime=s.time,z._startTime=s.frame,F._active=z._active=!0,setTimeout(U,1),O._updateRoot=C.render=function(){var t,e,i;if(M.length&&U(),F.render((s.time-F._startTime)*F._timeScale,!1,!1),z.render((s.frame-z._startTime)*z._timeScale,!1,!1),M.length&&U(),!(s.frame%120)){for(i in X){for(t=(e=X[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete X[i]}if((!(i=F._first)||i._paused)&&C.autoSleep&&!z._first&&1===s._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||s.sleep()}}},s.addEventListener("tick",O._updateRoot);var j=function(t,e,i){var n,r,s=t._gsTweenID;if(X[s||(t._gsTweenID=s="t"+Y++)]||(X[s]={target:t,tweens:[]}),e&&((n=X[s].tweens)[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return X[s].tweens},H=function(t,e,i,n,r){var s,a,o,l;if(1===n||n>=4){for(l=r.length,s=0;l>s;s++)if((o=r[s])!==e)o._gc||o._enabled(!1,!1)&&(a=!0);else if(5===n)break;return a}var u,p=e._startTime+h,c=[],f=0,_=0===e._duration;for(s=r.length;--s>-1;)(o=r[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(u=u||B(e,0,_),0===B(o,u,_)&&(c[f++]=o)):p>=o._startTime&&o._startTime+o.totalDuration()/o._timeScale>p&&((_||!o._initted)&&2e-10>=p-o._startTime||(c[f++]=o)));for(s=f;--s>-1;)o=c[s],2===n&&o._kill(i,t)&&(a=!0),(2!==n||!o._firstPT&&o._initted)&&o._enabled(!1,!1)&&(a=!0);return a},B=function(t,e,i){for(var n=t._timeline,r=n._timeScale,s=t._startTime;n._timeline;){if(s+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return(s/=r)>e?s-e:i&&s===e||!t._initted&&2*h>s-e?h:(s+=t.totalDuration()/t._timeScale/r)>e+h?0:s-e-h};r._init=function(){var t,e,i,n,r,s=this.vars,a=this._overwrittenProps,o=this._duration,l=!!s.immediateRender,h=s.ease;if(s.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},s.startAt)r[n]=s.startAt[n];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=l&&!1!==s.lazy,r.startAt=r.delay=null,this._startAt=C.to(this.target,0,r),l)if(this._time>0)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(n in i={},s)V[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==s.lazy,i.immediateRender=l,this._startAt=C.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1)}if(this._ease=h?h instanceof T?s.easeParams instanceof Array?h.config.apply(h,s.easeParams):h:"function"==typeof h?new T(h,s.easeParams):y[h]||C.defaultEase:C.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)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&&C._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}
10,r._initProps=function(e,i,n,r){var s,a,o,l,h,u;if(null==e)return!1;for(s in D[e._gsTweenID]&&U(),this.vars.css||e.style&&e!==t&&e.nodeType&&I.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)V[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!I[i]||I[i]&&I[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,e),this.vars){if(u=this.vars[s],V[s])u&&(u instanceof Array||u.push&&c(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[s]=u=this._swapSelfInParams(u,this));else if(I[s]&&(l=new I[s])._onInitTween(e,this.vars[s],this)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:s,pg:!0,pr:l._priority},a=l._overwriteProps.length;--a>-1;)i[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(o=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[s]=h={_next:this._firstPT,t:e,p:s,f:"function"==typeof e[s],n:s,pg:!1,pr:0},h.s=h.f?e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(e[s]),h.c="string"==typeof u&&"="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*Number(u.substr(2)):Number(u)-h.s||0;h&&h._next&&(h._next._prev=h)}return r&&this._kill(r,e)?this._initProps(e,i,n,r):this._overwrite>1&&this._firstPT&&n.length>1&&H(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(D[e._gsTweenID]=!0),o)},r.render=function(t,e,i){var n,r,s,a,o=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete"),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0===t||0>u||u===h)&&u!==t&&(i=!0,u>h&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||u===t?t:h);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&u>0&&u!==h)&&(r="onReverseComplete",n=this._reversed),0>t?(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(u>=0&&(i=!0),this._rawPrevTime=a=!e||t||u===t?t:h)):this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var p=t/l,c=this._easeType,f=this._easePower;(1===c||3===c&&p>=.5)&&(p=1-p),3===c&&(p*=2),1===f?p*=p:2===f?p*=p*p:3===f?p*=p*p*p:4===f&&(p*=p*p*p*p),this.ratio=1===c?1-p:2===c?p:.5>t/l?p/2:1-p/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=u,M.push(this),void(this._lazy=t);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&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&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||v))),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&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||(this._time!==o||n)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||v)),r&&(this._gc||(0>t&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||v),0===l&&this._rawPrevTime===h&&a!==h&&(this._rawPrevTime=0)))}},r._kill=function(t,e){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);var i,n,r,s,a,o,l,h;if(e="string"!=typeof e?e||this._targets||this.target:C.selector(e)||e,(c(e)||N(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i])&&(o=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){for(r in l=t||a,h=t!==n&&"all"!==n&&t!==a&&("object"!=typeof t||!t._tempKill),l)(s=a[r])&&(s.pg&&s.t._kill(l)&&(o=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete a[r]),h&&(n[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return o},r.invalidate=function(){return this._notifyPluginsOfEnabled&&C._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=this._lazy=!1,this._propLookup=this._targets?{}:[],this},r._enabled=function(t,e){if(a||s.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=j(n[i],this,!0);else this._siblings=j(this.target,this,!0)}return O.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&C._onPluginEvent(t?"_onEnable":"_onDisable",this)}
vendor: 4,678 bytes, line 10
10,C.to=function(t,e,i){return new C(t,e,i)},C.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new C(t,e,i)},C.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new C(t,e,n)},C.delayedCall=function(t,e,i,n,r){return new C(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:r,overwrite:0})},C.set=function(t,e){return new C(t,0,e)},C.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,s;if(t="string"!=typeof t?t:C.selector(t)||t,(c(t)||N(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(C.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(s=n[i],r=i;--r>-1;)s===n[r]&&n.splice(i,1)}else for(i=(n=j(t).concat()).length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n},C.killTweensOf=C.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=C.getTweensOf(t,e),r=n.length;--r>-1;)n[r]._kill(i,t)};var W=m("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=W.prototype},!0);if(r=W.prototype,W.version="1.10.1",W.API=2,r._firstPT=null,r._addTween=function(t,e,i,n,r,s){var a,o;return null!=n&&(a="number"==typeof n||"="!==n.charAt(1)?Number(n)-i:parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)))?(this._firstPT=o={_next:this._firstPT,t:t,p:e,s:i,c:a,f:"function"==typeof t[e],n:r||e,r:s},o._next&&(o._next._prev=o),o):void 0},r.setRatio=function(t){for(var e,i=this._firstPT;i;)e=i.c*t+i.s,i.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},r._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},r._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},C._onPluginEvent=function(t,e){var i,n,r,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:s)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:s=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},W.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===W.API&&(I[(new t[e])._propName]=t[e]);return!0},d.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=m("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){W.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),o=a.prototype=new W(i);for(e in o.constructor=a,a.API=t.API,s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,W.activate([a]),a},i=t._gsQueue){for(n=0;i.length>n;n++)i[n]();for(r in f)f[r].func||t.console.log("GSAP encountered missing dependency: com.greensock."+r)}a=!1}}(window),(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){e.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 i,n,r=this.vars;for(n in r)i=r[n],a(i)&&-1!==i.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(i));a(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},r=1e-10,s=i._internals.isSelector,a=i._internals.isArray,o=[],l=window._gsDefine.globals,h=function(t){var e,i={};for(e in t)i[e]=t[e];return i},u=function(t,e,i,n){t._timeline.pause(t._startTime),e&&e.apply(n||t._timeline,i||o)},p=o.slice,c=n.prototype=new e;return n.version="1.12.1",c.constructor=n,c.kill()._gc=!1,c.to=function(t,e,n,r){var s=n.repeat&&l.TweenMax||i;return e?this.add(new s(t,e,n),r):this.set(t,n,r)},c.from=function(t,e,n,r){return this.add((n.repeat&&l.TweenMax||i).from(t,e,n),r)},c.fromTo=function(t,e,n,r,s){var a=r.repeat&&l.TweenMax||i;return e?this.add(a.fromTo(t,e,n,r),s):this.set(t,r,s)},c.staggerTo=function(t,e,r,a,o,l,u,c){var f,_=new n({onComplete:l,onCompleteParams:u,onCompleteScope:c,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),s(t)&&(t=p.call(t,0)
10),a=a||0,f=0;t.length>f;f++)r.startAt&&(r.startAt=h(r.startAt)),_.to(t[f],e,h(r),f*a);return this.add(_,o)},c.staggerFrom=function(t,e,i,n,r,s,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,r,s,a,o)},c.staggerFromTo=function(t,e,i,n,r,s,a,o,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,r,s,a,o,l)},c.call=function(t,e,n,r){return this.add(i.delayedCall(0,t,e,n),r)},c.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var r,s,a=new n(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,r=o._first;r;)s=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||a.add(r,r._startTime-r._delay),r=s;return o.add(a,0),a},c.add=function(r,s,o,l){var h,u,p,c,f,_;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&a(r)){for(o=o||"normal",l=l||0,h=s,u=r.length,p=0;u>p;p++)a(c=r[p])&&(c=new n({tweens:c})),this.add(c,h),"string"!=typeof c&&"function"!=typeof c&&("sequence"===o?h=c._startTime+c.totalDuration()/c._timeScale:"start"===o&&(c._startTime-=c.delay())),h+=l;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,s);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,s),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(_=(f=this).rawTime()>r._startTime;f._timeline;)_&&f._timeline.smoothChildTiming?f.totalTime(f._totalTime,!0):f._gc&&f._enabled(!0,!1),f=f._timeline;return this},c.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&a(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},c._remove=function(t,i){e.prototype._remove.call(this,t,i);var n=this._last;return n?this._time>n._startTime+n._totalDuration/n._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},c.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},c.insert=c.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},c.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},c.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},c.addPause=function(t,e,i,n){return this.call(u,["{self}",e,i,n],this,t)},c.removeLabel=function(t){return delete this._labels[t],this},c.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},c._parseTimeOrLabel=function(e,i,n,r){var s;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&a(r)))for(s=r.length;--s>-1;)r[s]instanceof t&&r[s].timeline===this&&this.remove(r[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(s=e.indexOf("=")))return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(s-1)+"1",10)*Number(e.substr(s+1)),e=s>1?this._parseTimeOrLabel(e.substr(0,s-1),0,n):this.duration()}return Number(e)+i},c.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},c.stop=function(){return this.paused(!0)},c.gotoAndPlay=function(t,e){return this.play(t,e)},c.gotoAndStop=function(t,e){return this.pause(t,e)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,a,l,h,u=this._dirty?this.totalDuration():this._totalDuration,p=this._time,c=this._startTime,f=this._timeScale,_=this._paused;if(t>=u?(this._totalTime=this._time=u,this._reversed||this._hasPausedChild()||(s=!0,l="onComplete",0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>r&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=u+1e-4):1e-7>t?(this._totalTime=this._time=0,(0!==p||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(l="onReverseComplete",s=this._reversed),0>t?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t):(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=0,this._initted||(h=!0))):this._totalTime=this._time=this._rawPrevTime=t,this._time!==p&&this._first||i||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&0!==this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||o)),this._time>=p)for(n=this._first;n&&(a=n._next,!this._paused||_);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;else for(n=this._last;n&&(a=n._prev,!this._paused||_);)(n._active||p>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;
10this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||o)),l&&(this._gc||(c===this._startTime||f!==this._timeScale)&&(0===this._time||u>=this.totalDuration())&&(s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this.vars[l].apply(this.vars[l+"Scope"]||this,this.vars[l+"Params"]||o)))}},c._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},c.getChildren=function(t,e,n,r){r=r||-9999999999;for(var s=[],a=this._first,o=0;a;)r>a._startTime||(a instanceof i?!1!==e&&(s[o++]=a):(!1!==n&&(s[o++]=a),!1!==t&&(o=(s=s.concat(a.getChildren(!0,e,n))).length))),a=a._next;return s},c.getTweensOf=function(t,e){var n,r,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),r=(n=i.getTweensOf(t)).length;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(a[o++]=n[r]);return s&&this._enabled(!1,!0),a},c._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},c.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,s=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return this._uncache(!0)},c._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,r=!1;--n>-1;)i[n]._kill(t,e)&&(r=!0);return r},c.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},c.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},c._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},c.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},c.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,r=this._last,s=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>s&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):s=r._startTime,0>r._startTime&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),s=0),(i=r._startTime+r._totalDuration/r._timeScale)>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},c.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},c.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0)}),window._gsDefine&&window._gsQueue.pop()(),(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,r=window.GreenSockGlobals||window,s=r.com.greensock,a=2*Math.PI,o=Math.PI/2,l=s._class,h=function(e,i){var n=l("easing."+e,function(){},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,n},u=t.register||function(){},p=function(t,e,i,n){var r=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return u(r,t),r},c=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},f=function(e,i){var n=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,r.config=function(t){return new n(t)},n},_=p("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 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),d=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),m=d.prototype=new t;return m.constructor=d,m.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?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}
10,d.ease=new d(.7,.7),m.config=d.config=function(t,e,i){return new d(t,e,i)},(m=(e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new t).constructor=e,m.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},m.config=e.config=function(t){return new e(t)},i=l("easing.RoughEase",function(e){for(var i,n,r,s,a,o,l=(e=e||{}).taper||"none",h=[],u=0,p=0|(e.points||20),f=p,_=!1!==e.randomize,d=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=_?Math.random():1/p*f,n=m?m.getRatio(i):i,"none"===l?r=g:"out"===l?r=(s=1-i)*s*g:"in"===l?r=i*i*g:.5>i?r=.5*(s=2*i)*s*g:r=.5*(s=2*(1-i))*s*g,_?n+=Math.random()*r-.5*r:f%2?n+=.5*r:n-=.5*r,d&&(n>1?n=1:0>n&&(n=0)),h[u++]={x:i,y:n};for(h.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),f=p;--f>-1;)a=h[f],o=new c(a.x,a.y,o);this._prev=new c(0,0,0!==o.t?o:o.next)},!0),(m=i.prototype=new t).constructor=i,m.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&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},m.config=function(t){return new i(t)},i.ease=new i,p("Bounce",h("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),h("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),h("BounceInOut",function(t){var e=.5>t;return t=1/2.75>(t=e?1-2*t:2*t-1)?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),p("Circ",h("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),h("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),h("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),p("Elastic",(n=function(e,i,n){var r=l("easing."+e,function(t,e){this._p1=t||1,this._p2=e||n,this._p3=this._p2/a*(Math.asin(1/this._p1)||0)},!0),s=r.prototype=new t;return s.constructor=r,s.getRatio=i,s.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)*a/this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2)},.3),n("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*a/this._p2)+1},.45)),p("Expo",h("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),h("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),h("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),p("Sine",h("SineOut",function(t){return Math.sin(t*o)}),h("SineIn",function(t){return 1-Math.cos(t*o)}),h("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),u(r.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(e,"SteppedEase","ease,"),_},!0)}),window._gsDefine&&window._gsQueue.pop()(),(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,r,s,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o={},l=a.prototype=new t("css");l.constructor=a,a.version="1.12.1",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",l="px",a.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var h,u,p,c,f,_,d=/(?:\d|\-\d|\.\d|\-\.\d)+/g,m=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,g=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/[^\d\-\.]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,y=/opacity *= *([^)]*)/i,x=/opacity:([^;]*)/i,w=/alpha\(opacity *=.+?\)/i,b=/^(rgb|hsl)/,E=/([A-Z])/g,P=/-([a-z])/gi,S=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,O=function(t,e){return e.toUpperCase()},k=/(?:Left|Right|Width)/i,R=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,C=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,N=/,(?=[^\)]*(?:\(|$))/gi,M=Math.PI/180,D=180/Math.PI,A={},I=document,X=I.createElement("div"),Y=I.createElement("img"),V=a._internals={_specialProps:o},L=navigator.userAgent,z=function(){var t,e=L.indexOf("Android"),i=I.createElement("div");return p=-1!==L.indexOf("Safari")&&-1===L.indexOf("Chrome")&&(-1===e||Number(L.substr(e+8,1))>
103),f=p&&6>Number(L.substr(L.indexOf("Version/")+8,1)),c=-1!==L.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(L)&&(_=parseFloat(RegExp.$1)),i.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",!!(t=i.getElementsByTagName("a")[0])&&/^0.55/.test(t.style.opacity)}(),F=function(t){return y.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},U=function(t){window.console&&console.log(t)},j="",H="",B=function(t,e){var i,n,r=(e=e||X).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?(j="-"+(H=3===n?"ms":i[n]).toLowerCase()+"-",H+t):null},W=I.defaultView?I.defaultView.getComputedStyle:function(){},G=a.getStyle=function(t,e,i,n,r){var s;return z||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||W(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(E,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):F(t)},Q=V.convertToPixels=function(t,i,n,r,s){if("px"===r||!r)return n;if("auto"===r||!n)return 0;var o,l,h,u=k.test(i),p=t,c=X.style,f=0>n;if(f&&(n=-n),"%"===r&&-1!==i.indexOf("border"))o=n/100*(u?t.clientWidth:t.clientHeight);else{if(c.cssText="border:0 solid red;position:"+G(t,"position")+";line-height:0;","%"!==r&&p.appendChild)c[u?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(l=(p=t.parentNode||I.body)._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*n/100;c[u?"width":"height"]=n+r}p.appendChild(X),o=parseFloat(X[u?"offsetWidth":"offsetHeight"]),p.removeChild(X),u&&"%"===r&&!1!==a.cacheWidths&&((l=p._gsCache=p._gsCache||{}).time=h,l.width=o/n*100),0!==o||s||(o=Q(t,i,n,r,!0))}return f?-o:o},Z=V.calculateOffset=function(t,e,i){if("absolute"!==G(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=G(t,"margin"+n,i);return t["offset"+n]-(Q(t,e,parseFloat(r),r.replace(T,""))||0)},q=function(t,e){var i,n,r={};if(e=e||W(t,null))if(i=e.length)for(;--i>-1;)r[e[i].replace(P,O)]=e.getPropertyValue(e[i]);else for(i in e)r[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===r[i]&&(r[i.replace(P,O)]=e[i]);return z||(r.opacity=F(t)),n=Et(t,e,!1),r.rotation=n.rotation,r.skewX=n.skewX,r.scaleX=n.scaleX,r.scaleY=n.scaleY,r.x=n.x,r.y=n.y,wt&&(r.z=n.z,r.rotationX=n.rotationX,r.rotationY=n.rotationY,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r},$=function(t,e,i,n,r){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||r&&r[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(v,"")?s:0:Z(t,a),void 0!==h[a]&&(o=new pt(h,a,h[a],o)));if(n)for(a in n)"className"!==a&&(l[a]=n[a]);return{difs:l,firstMPT:o}},K={width:["Left","Right"],height:["Top","Bottom"]},J=["marginLeft","marginRight","marginTop","marginBottom"],tt=function(t,e,i){var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=K[e],s=r.length;for(i=i||W(t,null);--s>-1;)n-=parseFloat(G(t,"padding"+r[s],i,!0))||0,n-=parseFloat(G(t,"border"+r[s]+"Width",i,!0))||0;return n},et=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==r.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(n.replace(v,"")),e.oy=parseFloat(r.replace(v,""))),n+" "+r+(i.length>2?" "+i[2]:"")},it=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},nt=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*Number(t.substr(2))+e:parseFloat(t)},rt=function(t,e,i,n){var r,s,a,o;return null==t?o=e:"number"==typeof t?o=t:(r=360,s=t.split("_"),a=Number(s[0].replace(v,""))*(-1===t.indexOf("rad")?1:D)-("="===t.charAt(1)?0:e),s.length&&(n&&(n[i]=e+a),-1!==t.indexOf("short")&&((a%=r)!==a%180&&(a=0>a?a+r:a-r)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*r)%r-(0|a/r)*r:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*r)%r-(0|a/r)*r)),o=e+a),1e-6>o&&o>-1e-6&&(o=0),o},st={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]}
10,at=function(t,e,i){return 0|255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},ot=function(t){var e,i,n,r,s,a;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),st[t]?st[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),n=t.charAt(3),t="#"+e+e+i+i+n+n),[(t=parseInt(t.substr(1),16))>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(d),r=Number(t[0])%360/360,s=Number(t[1])/100,e=2*(a=Number(t[2])/100)-(i=.5>=a?a*(s+1):a+s-a*s),t.length>3&&(t[3]=Number(t[3])),t[0]=at(r+1/3,e,i),t[1]=at(r,e,i),t[2]=at(r-1/3,e,i),t):((t=t.match(d)||st.transparent)[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):st.black},lt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(l in st)lt+="|"+l+"\\b";lt=RegExp(lt+")","gi");var ht=function(t,e,i,n){if(null==t)return function(t){return t};var r,s=e?(t.match(lt)||[""])[0]:"",a=t.split(s).join("").match(g)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=a.length,p=u>0?a[0].replace(d,""):"";return u?r=e?function(t){var e,c,f,_;if("number"==typeof t)t+=p;else if(n&&N.test(t)){for(_=t.replace(N,"|").split("|"),f=0;_.length>f;f++)_[f]=r(_[f]);return _.join(",")}if(e=(t.match(lt)||[s])[0],f=(c=t.split(e).join("").match(g)||[]).length,u>f--)for(;u>++f;)c[f]=i?c[0|(f-1)/2]:a[f];return o+c.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,c;if("number"==typeof t)t+=p;else if(n&&N.test(t)){for(s=t.replace(N,"|").split("|"),c=0;s.length>c;c++)s[c]=r(s[c]);return s.join(",")}if(c=(e=t.match(g)||[]).length,u>c--)for(;u>++c;)e[c]=i?e[0|(c-1)/2]:a[c];return o+e.join(h)+l}:function(t){return t}},ut=function(t){return t=t.split(","),function(e,i,n,r,s,a,o){var l,h=(i+"").split(" ");for(o={},l=0;4>l;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return r.parse(e,o,s,a)}},pt=(V._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,s=this.data,a=s.proxy,o=s.firstMPT;o;)e=a[o.v],o.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),o.t[o.p]=e,o=o._next;if(s.autoRotate&&(s.autoRotate.rotation=a.rotation),1===t)for(o=s.firstMPT;o;){if((i=o.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;i.l>n;n++)r+=i["xn"+n]+i["xs"+(n+1)];i.e=r}}else i.e=i.s+i.xs0;o=o._next}},function(t,e,i,n,r){this.t=t,this.p=e,this.v=i,this.r=r,n&&(n._prev=this,this._next=n)}),ct=(V._parseToProxy=function(t,e,i,n,r,s){var a,o,l,h,u,p=n,c={},f={},_=i._transform,d=A;for(i._transform=null,A=e,n=u=i.parse(t,e,n,r),A=d,s&&(i._transform=_,p&&(p._prev=null,p._prev&&(p._prev._next=null)));n&&n!==p;){if(1>=n.type&&(f[o=n.p]=n.s+n.c,c[o]=n.s,s||(h=new pt(n,"s",o,h,n.r),n.c=0),1===n.type))for(a=n.l;--a>0;)l="xn"+a,f[o=n.p+"_"+l]=n.data[l],c[o]=n[l],s||(h=new pt(n,l,o,h,n.rxp[l]));n=n._next}return{proxy:c,end:f,firstMPT:h,pt:u}},V.CSSPropTween=function(t,e,n,r,a,o,l,h,u,p,c){this.t=t,this.p=e,this.s=n,this.c=r,this.n=l||e,t instanceof ct||s.push(this.n),this.r=h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===p?n:p,this.e=void 0===c?n+r:c,a&&(this._next=a,a._prev=this)}),ft=a.parseComplex=function(t,e,i,n,r,s,a,o,l,u){a=new ct(t,e,0,0,a,u?2:1,null,!1,o,i=i||s||"",n),n+="";var p,c,f,_,g,v,T,y,x,w,E,P,S=i.split(", ").join(",").split(" "),O=n.split(", ").join(",").split(" "),k=S.length,R=!1!==h;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(S=S.join(" ").replace(N,", ").split(" "),O=O.join(" ").replace(N,", ").split(" "),k=S.length),k!==O.length&&(k=(S=(s||"").split(" ")).length),a.plugin=l,a.setRatio=u,p=0;k>p;p++)if(_=S[p],g=O[p],(y=parseFloat(_))||0===y)a.appendXtra("",y,it(g,y),g.replace(m,""),R&&-1!==g.indexOf("px"),!0);else if(r&&("#"===_.charAt(0)||st[_]||b.test(_)))P=","===g.charAt(g.length-1)?"),":")",_=ot(_),g=ot(g),(x=_.length+g.length>6)&&!z&&0===g[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(O[p]).join("transparent")):(z||(x=!1),a.appendXtra(x?"rgba(":"rgb(",_[0],g[0]-_[0],",",!0,!0).appendXtra("",_[1],g[1]-_[1],",",!0).appendXtra("",_[2],g[2]-_[2],x?",":P,!0),x&&(_=4>_.length?1:_[3],a.appendXtra("",_,(4>g.length?1:g[3])-_,P,!1)));else if(v=_.match(d)){if(!(T=g.match(m))||T.length!==v.length)return a;for(f=0,c=0;v.length>c;c++)E=v[c],w=_.indexOf(E,f),a.appendXtra(_.substr(f,w-f),Number(E),it(T[c],E),"",R&&"px"===_.substr(w+E.length,2),0===c),f=w+E.length;a["xs"+a.l]+=_.substr(f)}else a["xs"+a.l]+=a.l?" "+_:_;if(-1!==n.indexOf("=")&&a.data){for(P=a.xs0+a.data.s,p=1;a.l>p;p++)P+=a["xs"+p]+a.data["xn"+p];a.e=P+a["xs"+p]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},_t=9;for((l=ct.prototype).l=l.pr=0;--_t>0;)l["xn"+_t]=0,l["xs"+_t]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,
10i,n,r,s){var a=this,o=a.l;return a["xs"+o]+=s&&o?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=n||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=r,a["xn"+o]=e,a.plugin||(a.xfirst=new ct(a,"xn"+o,e,i,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=r,a)):(a["xs"+o]+=e+(n||""),a)};var dt=function(t,e){e=e||{},this.p=e.prefix&&B(t)||t,o[t]=o[this.p]=this,this.format=e.formatter||ht(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},mt=V._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r=t.split(","),s=e.defaultValue;for(i=i||[s],n=0;r.length>n;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||s,new dt(r[n],e)},gt=function(t){if(!o[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";mt(t,{parser:function(t,i,n,r,s,a,l){var h=(window.GreenSockGlobals||window).com.greensock.plugins[e];return h?(h._cssRegister(),o[n].parse(t,i,n,r,s,a,l)):(U("Error: "+e+" js file not loaded."),s)}})}};(l=dt.prototype).parseComplex=function(t,e,i,n,r,s){var a,o,l,h,u,p=this.keyword;if(this.multi&&(N.test(i)||N.test(e)?(o=e.replace(N,"|").split("|"),l=i.replace(N,"|").split("|")):p&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,p&&(e.indexOf(p)!==(u=i.indexOf(p))&&((i=-1===u?l:o)[a]+=" "+p));e=o.join(", "),i=l.join(", ")}return ft(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,s)},l.parse=function(t,e,i,n,s,a){return this.parseComplex(t.style,this.format(G(t,this.p,r,!1,this.dflt)),this.format(e),s,a)},a.registerSpecialProp=function(t,e,i){mt(t,{parser:function(t,n,r,s,a,o){var l=new ct(t,r,0,0,a,2,r,!1,i);return l.plugin=o,l.setRatio=e(t,n,s._tween,r),l},priority:i})};var vt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective".split(","),Tt=B("transform"),yt=j+"transform",xt=B("transformOrigin"),wt=null!==B("perspective"),bt=V.Transform=function(){this.skewY=0},Et=V.getTransform=function(t,e,i,n){if(t._gsTransform&&i&&!n)return t._gsTransform;var r,s,o,l,h,u,p,c,f,_,d,m,g,v=i&&t._gsTransform||new bt,T=0>v.scaleX,y=2e-5,x=1e5,w=179.99,b=w*M,E=wt&&(parseFloat(G(t,xt,e,!1,"0 0 0").split(" ")[2])||v.zOrigin)||0;for(Tt?r=G(t,yt,e,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(R))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),v.x||0,v.y||0].join(","):""),o=(s=(r||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[]).length;--o>-1;)l=Number(s[o]),s[o]=(h=l-(l|=0))?(0|h*x+(0>h?-.5:.5))/x+l:l;if(16===s.length){var P=s[8],S=s[9],O=s[10],k=s[12],C=s[13],N=s[14];if(v.zOrigin&&(k=P*(N=-v.zOrigin)-s[12],C=S*N-s[13],N=O*N+v.zOrigin-s[14]),!i||n||null==v.rotationX){var A,I,X,Y,V,L,z,F=s[0],U=s[1],j=s[2],H=s[3],B=s[4],W=s[5],Q=s[6],Z=s[7],q=s[11],$=Math.atan2(Q,O),K=-b>$||$>b;v.rotationX=$*D,$&&(A=B*(Y=Math.cos(-$))+P*(V=Math.sin(-$)),I=W*Y+S*V,X=Q*Y+O*V,P=B*-V+P*Y,S=W*-V+S*Y,O=Q*-V+O*Y,q=Z*-V+q*Y,B=A,W=I,Q=X),$=Math.atan2(P,F),v.rotationY=$*D,$&&(L=-b>$||$>b,I=U*(Y=Math.cos(-$))-S*(V=Math.sin(-$)),X=j*Y-O*V,S=U*V+S*Y,O=j*V+O*Y,q=H*V+q*Y,F=A=F*Y-P*V,U=I,j=X),$=Math.atan2(U,W),v.rotation=$*D,$&&(z=-b>$||$>b,F=F*(Y=Math.cos(-$))+B*(V=Math.sin(-$)),I=U*Y+W*V,W=U*-V+W*Y,Q=j*-V+Q*Y,U=I),z&&K?v.rotation=v.rotationX=0:z&&L?v.rotation=v.rotationY=0:L&&K&&(v.rotationY=v.rotationX=0),v.scaleX=(0|Math.sqrt(F*F+U*U)*x+.5)/x,v.scaleY=(0|Math.sqrt(W*W+S*S)*x+.5)/x,v.scaleZ=(0|Math.sqrt(Q*Q+O*O)*x+.5)/x,v.skewX=0,v.perspective=q?1/(0>q?-q:q):0,v.x=k,v.y=C,v.z=N}}else if(!(wt&&!n&&s.length&&v.x===s[4]&&v.y===s[5]&&(v.rotationX||v.rotationY)||void 0!==v.x&&"none"===G(t,"display",e))){var J=s.length>=6,tt=J?s[0]:1,et=s[1]||0,it=s[2]||0,nt=J?s[3]:1;v.x=s[4]||0,v.y=s[5]||0,u=Math.sqrt(tt*tt+et*et),p=Math.sqrt(nt*nt+it*it),c=tt||et?Math.atan2(et,tt)*D:v.rotation||0,f=it||nt?Math.atan2(it,nt)*D+c:v.skewX||0,_=u-Math.abs(v.scaleX||0),d=p-Math.abs(v.scaleY||0),Math.abs(f)>90&&270>Math.abs(f)&&(T?(u*=-1,f+=0>=c?180:-180,c+=0>=c?180:-180):(p*=-1,f+=0>=f?180:-180)),m=(c-v.rotation)%180,g=(f-v.skewX)%180,(void 0===v.skewX||_>y||-y>_||d>y||-y>d||m>-w&&w>m&&!1|m*x||g>-w&&w>g&&!1|g*x)&&(v.scaleX=u,v.scaleY=p,v.rotation=c,v.skewX=f),wt&&(v.rotationX=v.rotationY=v.z=0,v.perspective=parseFloat(a.defaultTransformPerspective)||0,v.scaleZ=1)}for(o in v.zOrigin=E,v)y>v[o]&&v[o]>-y&&(v[o]=0);return i&&(t._gsTransform=v),v},Pt=function(t){var e,i,n=this.data,r=-n.rotation*M,s=r+n.skewX*M,a=1e5,o=(0|Math.cos(r)*n.scaleX*a)/a,l=(0|Math.sin(r)*n.scaleX*a)/a,h=(0|Math.sin(s)*-n.scaleY*a)/a,u=(0|Math.cos(s)*n.scaleY*a)/a,p=this.t.style,c=this.t.currentStyle;if(c){i=l,l=-h,h=-i,e=c.filter,p.filter="";var f,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==c.position,x="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,w=n.x,b=n.y;if(null!=n.ox&&(w+=(f=(n.oxp?.01*m*n.ox:n.ox)-m/2)-(f*o+(d=(n.oyp?.01*g*n.oy:n.oy)-g/2)*l),b+=d-(f*h+d*u)),v?x+=", Dx="+((f=m/2)-(f*o+(d=g/2)*l)+w)+", Dy="+(d-(f*h+d*u)+b)+")":x+=", sizingMethod='auto expand')",p.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(C,x):x+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===x.indexOf("Dx=0, Dy=0")||y.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&p.removeAttribute("filter")),!v){var E,P,S,O=8>_?1:-1;for(f=n.ieOffsetX||0,d=n.ieOffsetY||0,n.ieOffsetX=Math.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+w),n.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+b),_t=0;4>_t;_t++)S=(i=-1!==(E=c[P=J[_t]]).indexOf("px")?parseFloat(E):Q(this.t,P,parseFloat(E),E.replace(T,""))||0)!==n[P]?2>_t?-n.ieOffsetX:-n.ieOffsetY:2>_t?f-n.ieOffsetX:d-n.ieOffsetY,p[P]=(n[P]=Math.round(i-S*(0===_t||2===_t?1:O)))+"px"}}},St=V.set3DTransformRatio=function(t){var e,i,n,r,s,a,o,l,h,u,p,f,_,d,m,g,v,T,y,x,w,b,E,P=this.data,S=this.t.style,O=P.rotation*M,k=P.scaleX,R=P.scaleY,C=P.scaleZ,N=P.perspective;if(1!==t&&0!==t||"auto"!==P.force3D||P.rotationY||P.rotationX||1!==C||N||P.z){if(c){var D=1e-4;D>k&&k>-D&&(k=C=2e-5),D>R&&R>-D&&(R=C=2e-5),!N||P.z||P.rotationX||P.rotationY||(N=0)}if(O||P.skewX)e=T=Math.cos(O),s=y=Math.sin(O),P.skewX&&(O-=P.skewX*M,T=Math.cos(O),y=Math.sin(O),"simple"===P.skewType&&(x=Math.tan(P.skewX*M),T*=x=Math.sqrt(1+x*x
10),y*=x)),i=-y,a=T;else{if(!(P.rotationY||P.rotationX||1!==C||N))return void(S[Tt]="translate3d("+P.x+"px,"+P.y+"px,"+P.z+"px)"+(1!==k||1!==R?" scale("+k+","+R+")":""));e=a=1,i=s=0}p=1,n=r=o=l=h=u=f=_=d=0,m=N?-1/N:0,g=P.zOrigin,v=1e5,(O=P.rotationY*M)&&(T=Math.cos(O),h=p*-(y=Math.sin(O)),_=m*-y,n=e*y,o=s*y,p*=T,m*=T,e*=T,s*=T),(O=P.rotationX*M)&&(x=i*(T=Math.cos(O))+n*(y=Math.sin(O)),w=a*T+o*y,b=u*T+p*y,E=d*T+m*y,n=i*-y+n*T,o=a*-y+o*T,p=u*-y+p*T,m=d*-y+m*T,i=x,a=w,u=b,d=E),1!==C&&(n*=C,o*=C,p*=C,m*=C),1!==R&&(i*=R,a*=R,u*=R,d*=R),1!==k&&(e*=k,s*=k,h*=k,_*=k),g&&(r=n*(f-=g),l=o*f,f=p*f+g),r=(x=(r+=P.x)-(r|=0))?(0|x*v+(0>x?-.5:.5))/v+r:r,l=(x=(l+=P.y)-(l|=0))?(0|x*v+(0>x?-.5:.5))/v+l:l,f=(x=(f+=P.z)-(f|=0))?(0|x*v+(0>x?-.5:.5))/v+f:f,S[Tt]="matrix3d("+[(0|e*v)/v,(0|s*v)/v,(0|h*v)/v,(0|_*v)/v,(0|i*v)/v,(0|a*v)/v,(0|u*v)/v,(0|d*v)/v,(0|n*v)/v,(0|o*v)/v,(0|p*v)/v,(0|m*v)/v,r,l,f,N?1+-f/N:1].join(",")+")"}else Ot.call(this,t)},Ot=V.set2DTransformRatio=function(t){var e,i,n,r,s,a=this.data,o=this.t.style;return a.rotationX||a.rotationY||a.z||!0===a.force3D||"auto"===a.force3D&&1!==t&&0!==t?(this.setRatio=St,void St.call(this,t)):void(a.rotation||a.skewX?(e=a.rotation*M,i=e-a.skewX*M,n=1e5,r=a.scaleX*n,s=a.scaleY*n,o[Tt]="matrix("+(0|Math.cos(e)*r)/n+","+(0|Math.sin(e)*r)/n+","+(0|Math.sin(i)*-s)/n+","+(0|Math.cos(i)*s)/n+","+a.x+","+a.y+")"):o[Tt]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")")};mt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType",{parser:function(t,e,i,n,s,o,l){if(n._transform)return s;var h,u,p,c,f,_,d,m=n._transform=Et(t,r,!0,l.parseTransform),g=t.style,v=vt.length,T=l,y={};if("string"==typeof T.transform&&Tt)(p=X.style)[Tt]=T.transform,p.display="block",p.position="absolute",I.body.appendChild(X),h=Et(X,null,!1),I.body.removeChild(X);else if("object"==typeof T){if(h={scaleX:nt(null!=T.scaleX?T.scaleX:T.scale,m.scaleX),scaleY:nt(null!=T.scaleY?T.scaleY:T.scale,m.scaleY),scaleZ:nt(T.scaleZ,m.scaleZ),x:nt(T.x,m.x),y:nt(T.y,m.y),z:nt(T.z,m.z),perspective:nt(T.transformPerspective,m.perspective)},null!=(d=T.directionalRotation))if("object"==typeof d)for(p in d)T[p]=d[p];else T.rotation=d;h.rotation=rt("rotation"in T?T.rotation:"shortRotation"in T?T.shortRotation+"_short":"rotationZ"in T?T.rotationZ:m.rotation,m.rotation,"rotation",y),wt&&(h.rotationX=rt("rotationX"in T?T.rotationX:"shortRotationX"in T?T.shortRotationX+"_short":m.rotationX||0,m.rotationX,"rotationX",y),h.rotationY=rt("rotationY"in T?T.rotationY:"shortRotationY"in T?T.shortRotationY+"_short":m.rotationY||0,m.rotationY,"rotationY",y)),h.skewX=null==T.skewX?m.skewX:rt(T.skewX,m.skewX),h.skewY=null==T.skewY?m.skewY:rt(T.skewY,m.skewY),(u=h.skewY-m.skewY)&&(h.skewX+=u,h.rotation+=u)}for(wt&&null!=T.force3D&&(m.force3D=T.force3D,_=!0),m.skewType=T.skewType||m.skewType||a.defaultSkewType,(f=m.force3D||m.z||m.rotationX||m.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==T.scale||(h.scaleZ=1);--v>-1;)((c=h[i=vt[v]]-m[i])>1e-6||-1e-6>c||null!=A[i])&&(_=!0,s=new ct(m,i,m[i],c,s),i in y&&(s.e=y[i]),s.xs0=0,s.plugin=o,n._overwriteProps.push(s.n));return((c=T.transformOrigin)||wt&&f&&m.zOrigin)&&(Tt?(_=!0,i=xt,c=(c||G(t,i,r,!1,"50% 50%"))+"",(s=new ct(g,i,0,0,s,-1,"transformOrigin")).b=g[i],s.plugin=o,wt?(p=m.zOrigin,c=c.split(" "),m.zOrigin=(c.length>2&&(0===p||"0px"!==c[2])?parseFloat(c[2]):p)||0,s.xs0=s.e=c[0]+" "+(c[1]||"50%")+" 0px",(s=new ct(m,"zOrigin",0,0,s,-1,s.n)).b=p,s.xs0=s.e=m.zOrigin):s.xs0=s.e=c):et(c+"",m)),_&&(n._transformType=f||3===this._transformType?3:2),s},prefix:!0}),mt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),mt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,a){e=this.format(e);var o,l,h,u,p,c,f,_,d,m,g,v,T,y,x,w,b=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],E=t.style;for(d=parseFloat(t.offsetWidth),m=parseFloat(t.offsetHeight),o=e.split(" "),l=0;b.length>l;l++)this.p.indexOf("border")&&(b[l]=B(b[l])),-1!==(p=u=G(t,b[l],r,!1,"0px")).indexOf(" ")&&(u=p.split(" "),p=u[0],u=u[1]),c=h=o[l],f=parseFloat(p),v=p.substr((f+"").length),(T="="===c.charAt(1))?(_=parseInt(c.charAt(0)+"1",10),c=c.substr(2),_*=parseFloat(c),g=c.substr((_+"").length-(0>_?1:0))||""):(_=parseFloat(c),g=c.substr((_+"").length)),""===g&&(g=n[i]||v),g!==v&&(y=Q(t,"borderLeft",f,v),x=Q(t,"borderTop",f,v),"%"===g?(p=y/d*100+"%",u=x/m*100+"%"):"em"===g?(p=y/(w=Q(t,"borderLeft",1,"em"))+"em",u=x/w+"em"):(p=y+"px",u=x+"px"),T&&(c=parseFloat(p)+_+g,h=parseFloat(u)+_+g)),a=ft(E,b[l],p+" "+u,c+" "+h,!1,"0px",a);return a},prefix:!0,formatter:ht("0px 0px 0px 0px",!1,!0)}),mt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,
10i,n,s,a){var o,l,h,u,p,c,f="background-position",d=r||W(t,null),m=this.format((d?_?d.getPropertyValue(f+"-x")+" "+d.getPropertyValue(f+"-y"):d.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&((c=G(t,"backgroundImage").replace(S,""))&&"none"!==c)){for(o=m.split(" "),l=g.split(" "),Y.setAttribute("src",c),h=2;--h>-1;)(u=-1!==(m=o[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(p=0===h?t.offsetWidth-Y.width:t.offsetHeight-Y.height,o[h]=u?parseFloat(m)/100*p+"px":parseFloat(m)/p*100+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,s,a)},formatter:et}),mt("backgroundSize",{defaultValue:"0 0",formatter:et}),mt("perspective",{defaultValue:"0px",prefix:!0}),mt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),mt("transformStyle",{prefix:!0}),mt("backfaceVisibility",{prefix:!0}),mt("userSelect",{prefix:!0}),mt("margin",{parser:ut("marginTop,marginRight,marginBottom,marginLeft")}),mt("padding",{parser:ut("paddingTop,paddingRight,paddingBottom,paddingLeft")}),mt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,a){var o,l,h;return 9>_?(l=t.currentStyle,h=8>_?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(G(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,s,a)}}),mt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),mt("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),mt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,a){return this.parseComplex(t.style,this.format(G(t,"borderTopWidth",r,!1,"0px")+" "+G(t,"borderTopStyle",r,!1,"solid")+" "+G(t,"borderTopColor",r,!1,"#000")),this.format(e),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(lt)||["#000"])[0]}}),mt("borderWidth",{parser:ut("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),mt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new ct(s,a,0,0,r,-1,i,!1,0,s[a],e)}});var kt=function(t){var e,i=this.t,n=i.filter||G(this.data,"filter"),r=0|this.s+this.c*t;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!G(this.data,"filter")):(i.filter=n.replace(w,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0===r&&this.xn1||(i.filter=n+" alpha(opacity="+r+")"):i.filter=n.replace(y,"opacity="+r))};mt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,a){var o=parseFloat(G(t,"opacity",r,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===G(t,"visibility",r)&&0!==e&&(o=0),z?s=new ct(l,"opacity",o,e-o,s):((s=new ct(l,"opacity",100*o,100*(e-o),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=a,s.setRatio=kt),h&&((s=new ct(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});var Rt=function(t,e){e&&(t.removeProperty?("ms"===e.substr(0,2)&&(e="M"+e.substr(1)),t.removeProperty(e.replace(E,"-$1").toLowerCase())):t.removeAttribute(e))},Ct=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:Rt(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)};mt("className",{parser:function(t,e,n,s,a,o,l){var h,u,p,c,f,_=t.getAttribute("class")||"",d=t.style.cssText;if((a=s._classNamePT=new ct(t,n,0,0,a,2)).setRatio=Ct,a.pr=-11,i=!0,a.b=_,u=q(t,r),p=t._gsClassPT){for(c={},f=p.data;f;)c[f.p]=1,f=f._next;p.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:_.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),s._tween._duration&&(t.setAttribute("class",a.e),h=$(t,u,q(t),l,c),t.setAttribute("class",_),a.data=h.firstMPT,t.style.cssText=d,a=a.xfirst=s.parse(t,h.difs,a,o)),a}});var Nt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,s=this.t.style,a=o.transform.parse;if("all"===this.e)s.cssText="",r=!0;else for(n=(e=this.e.split(",")).length;--n>-1;)i=e[n],o[i]&&(o[i].parse===a?r=!0:i="transformOrigin"===i?xt:o[i].p),Rt(s,i);r&&(Rt(s,Tt),this.t._gsTransform&&delete this.t._gsTransform)}};for(mt("clearProps",{parser:function(t,e,n,r,s){return(s=new ct(t,n,0,0,s,2)).setRatio=Nt,s.e=e,s.pr=-10,s.data=r._tween,i=!0,s}}),l="bezier,throwProps,physicsProps,physics2D".split(","),_t=l.length;_t--;)gt(l[_t]);
10(l=a.prototype)._firstPT=null,l._onInitTween=function(t,e,o){if(!t.nodeType)return!1;this._target=t,this._tween=o,this._vars=e,h=e.autoRound,i=!1,n=e.suffixMap||a.suffixMap,r=W(t,""),s=this._overwriteProps;var l,c,_,d,m,g,v,T,y,w=t.style;if(u&&""===w.zIndex&&(("auto"===(l=G(t,"zIndex",r))||""===l)&&this._addLazySet(w,"zIndex",0)),"string"==typeof e&&(d=w.cssText,l=q(t,r),w.cssText=d+";"+e,l=$(t,l,q(t)).difs,!z&&x.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,w.cssText=d),this._firstPT=c=this.parse(t,e,null),this._transformType){for(y=3===this._transformType,Tt?p&&(u=!0,""===w.zIndex&&(("auto"===(v=G(t,"zIndex",r))||""===v)&&this._addLazySet(w,"zIndex",0)),f&&this._addLazySet(w,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(y?"visible":"hidden"))):w.zoom=1,_=c;_&&_._next;)_=_._next;T=new ct(t,"transform",0,0,null,2),this._linkCSSP(T,null,_),T.setRatio=y&&wt?St:Tt?Ot:Pt,T.data=this._transform||Et(t,r,!0),s.pop()}if(i){for(;c;){for(g=c._next,_=d;_&&_.pr>c.pr;)_=_._next;(c._prev=_?_._prev:m)?c._prev._next=c:d=c,(c._next=_)?_._prev=c:m=c,c=g}this._firstPT=d}return!0},l.parse=function(t,e,i,s){var a,l,u,p,c,f,_,d,m,g,v=t.style;for(a in e)f=e[a],(l=o[a])?i=l.parse(t,f,a,this,i,s,e):(c=G(t,a,r)+"",m="string"==typeof f,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&b.test(f)?(m||(f=((f=ot(f)).length>3?"rgba(":"rgb(")+f.join(",")+")"),i=ft(v,a,c,f,!0,"transparent",i,0,s)):!m||-1===f.indexOf(" ")&&-1===f.indexOf(",")?(_=(u=parseFloat(c))||0===u?c.substr((u+"").length):"",(""===c||"auto"===c)&&("width"===a||"height"===a?(u=tt(t,a,r),_="px"):"left"===a||"top"===a?(u=Z(t,a,r),_="px"):(u="opacity"!==a?0:1,_="")),(g=m&&"="===f.charAt(1))?(p=parseInt(f.charAt(0)+"1",10),f=f.substr(2),p*=parseFloat(f),d=f.replace(T,"")):(p=parseFloat(f),d=m&&f.substr((p+"").length)||""),""===d&&(d=a in n?n[a]:_),f=p||0===p?(g?p+u:p)+d:e[a],_!==d&&""!==d&&(p||0===p)&&u&&(u=Q(t,a,u,_),"%"===d?(u/=Q(t,a,100,"%")/100,!0!==e.strictUnits&&(c=u+"%")):"em"===d?u/=Q(t,a,1,"em"):"px"!==d&&(p=Q(t,a,p,d),d="px"),g&&(p||0===p)&&(f=p+u+d)),g&&(p+=u),!u&&0!==u||!p&&0!==p?void 0!==v[a]&&(f||"NaN"!=f+""&&null!=f)?(i=new ct(v,a,p||u||0,0,i,-1,a,!1,0,c,f)).xs0="none"!==f||"display"!==a&&-1===a.indexOf("Style")?f:c:U("invalid "+a+" tween value: "+e[a]):(i=new ct(v,a,u,p-u,i,0,a,!1!==h&&("px"===d||"zIndex"===a),0,c,f)).xs0=d):i=ft(v,a,c,f,!0,null,i,0,s)),s&&i&&!i.plugin&&(i.plugin=s);return i},l.setRatio=function(t){var e,i,n,r=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(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(n=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;r.l>n;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setRatio(t),r=r._next},l._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2,this._transform=this._transform||Et(this._target,r,!0)};var Mt=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};l._addLazySet=function(t,e,i){var n=this._firstPT=new ct(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=Mt,n.data=this},l._linkCSSP=function(t,e,i,n){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,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},l._kill=function(e){var i,n,r,s=e;if(e.autoAlpha||e.alpha){for(n in s={},e)s[n]=e[n];s.opacity=1,s.autoAlpha&&(s.visibility=1)}return e.className&&(i=this._classNamePT)&&((r=i.xfirst)&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),t.prototype._kill.call(this,s)};
10var Dt=function(t,e,i){var n,r,s,a;if(t.slice)for(r=t.length;--r>-1;)Dt(t[r],e,i);else for(r=(n=t.childNodes).length;--r>-1;)a=(s=n[r]).type,s.style&&(e.push(q(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||Dt(s,e,i)};return a.cascadeTo=function(t,i,n){var r,s,a,o=e.to(t,i,n),l=[o],h=[],u=[],p=[],c=e._internals.reservedProps;for(t=o._targets||o.target,Dt(t,h,p),o.render(i,!0),Dt(t,u),o.render(0,!0),o._enabled(!0),r=p.length;--r>-1;)if((s=$(p[r],h[r],u[r])).firstMPT){for(a in s=s.difs,n)c[a]&&(s[a]=n[a]);l.push(e.to(p[r],i,s))}return l},t.activate([a]),a},!0)}),window._gsDefine&&window._gsQueue.pop()(),function(t){"use strict";var e=t.GreenSockGlobals||t,i=function(t){var i,n=t.split("."),r=e;for(i=0;n.length>i;i++)r[n[i]]=r=r[n[i]]||{};return r}("com.greensock.utils"),n=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+=n(t)}else if(3===e||4===e)return t.nodeValue;return i},r=document,s=r.defaultView?r.defaultView.getComputedStyle:function(){},a=/([A-Z])/g,o=function(t,e,i,n){var r;return(i=i||s(t,null))?r=(t=i.getPropertyValue(e.replace(a,"-$1").toLowerCase()))||i.length?t:i[e]:t.currentStyle&&(r=(i=t.currentStyle)[e]),n?r:parseInt(r,10)||0},l=function(t){return!!(t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},h=")eefec303079ad17405c",u=/(?:<br>|<br\/>|<br \/>)/gi,p="<div style='position:relative;display:inline-block;"+(r.all&&!r.addEventListener?"*display:inline;*zoom:1;'":"'"),c=function(t){var e=-1!==(t=t||"").indexOf("++"),i=1;return e&&(t=t.split("++").join("")),function(){return p+(t?" class='"+t+(e?i++:"")+"'>":">")}},f=i.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=f.selector(t)),!t)throw"cannot split a null element.";this.elements=l(t)?function(t){var e,i,n,r=[],s=t.length;for(e=0;s>e;e++)if(i=t[e],l(i))for(n=i.length,n=0;i.length>n;n++)r.push(i[n]);else r.push(i);return r}(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},_=function(t,e,i,a,l){u.test(t.innerHTML)&&(t.innerHTML=t.innerHTML.replace(u,h));var p,f,_,d,m,g,v,T,y,x,w,b,E,P=n(t),S=e.type||e.split||"chars,words,lines",O=-1!==S.indexOf("lines")?[]:null,k=-1!==S.indexOf("words"),R=-1!==S.indexOf("chars"),C="absolute"===e.position||!0===e.absolute,N=C?"&#173; ":" ",M=-999,D=s(t),A=o(t,"paddingLeft",D),I=o(t,"borderBottomWidth",D)+o(t,"borderTopWidth",D),X=o(t,"borderLeftWidth",D)+o(t,"borderRightWidth",D),Y=o(t,"paddingTop",D)+o(t,"paddingBottom",D),V=o(t,"paddingLeft",D)+o(t,"paddingRight",D),L=o(t,"textAlign",D,!0),z=t.clientHeight,F=t.clientWidth,U=P.length,j="</div>",H=c(e.wordsClass),B=c(e.charsClass),W=-1!==(e.linesClass||"").indexOf("++"),G=e.linesClass;for(W&&(G=G.split("++").join("")),_=H(),d=0;U>d;d++)")"===(g=P.charAt(d))&&P.substr(d,20)===h?(_+=j+"<BR/>",d!==U-1&&(_+=" "+H()),d+=19):" "===g&&" "!==P.charAt(d-1)&&d!==U-1?(_+=j,d!==U-1&&(_+=N+H())):_+=R&&" "!==g?B()+g+"</div>":g;for(t.innerHTML=_+j,U=(m=t.getElementsByTagName("*")).length,v=[],d=0;U>d;d++)v[d]=m[d];if(O||C)for(d=0;U>d;d++)((f=(T=v[d]).parentNode===t)||C||R&&!k)&&(y=T.offsetTop,O&&f&&y!==M&&"BR"!==T.nodeName&&(p=[],O.push(p),M=y),C&&(T._x=T.offsetLeft,T._y=y,T._w=T.offsetWidth,T._h=T.offsetHeight),O&&(k!==f&&R||(p.push(T),T._x-=A),f&&d&&(v[d-1]._wordEnd=!0)));for(d=0;U>d;d++)f=(T=v[d]).parentNode===t,"BR"!==T.nodeName?(C&&(w=T.style,k||f||(T._x+=T.parentNode._x,T._y+=T.parentNode._y),w.left=T._x+"px",w.top=T._y+"px",w.position="absolute",w.display="block",w.width=T._w+1+"px",w.height=T._h+"px"),k?f?a.push(T):R&&i.push(T):f?(t.removeChild(T),v.splice(d--,1),U--):!f&&R&&(y=!O&&!C&&T.nextSibling,t.appendChild(T),y||t.appendChild(r.createTextNode(" ")),i.push(T))):O||C?(t.removeChild(T),v.splice(d--,1),U--):k||t.appendChild(T);if(O){for(C&&(x=r.createElement("div"),t.appendChild(x),b=x.offsetWidth+"px",y=x.offsetParent===t?0:t.offsetLeft,t.removeChild(x)),w=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(E=!C||!k&&!R,d=0;O.length>d;d++){for(p=O[d],(x=r.createElement("div")).style.cssText="display:block;text-align:"+L+";position:"+(C?"absolute;":"relative;"),G&&(x.className=G+(W?d+1:"")),l.push(x),U=p.length,m=0;U>m;m++)"BR"!==p[m].nodeName&&(T=p[m],x.appendChild(T),E&&(T._wordEnd||k)&&x.appendChild(r.createTextNode(" ")),C&&
10(0===m&&(x.style.top=T._y+"px",x.style.left=A+y+"px"),T.style.top="0px",y&&(T.style.left=T._x-y+"px")));k||R||(x.innerHTML=n(x).split(String.fromCharCode(160)).join(" ")),C&&(x.style.width=b,x.style.height=T._h+"px"),t.appendChild(x)}t.style.cssText=w}C&&(z>t.clientHeight&&(t.style.height=z-Y+"px",z>t.clientHeight&&(t.style.height=z+I+"px")),F>t.clientWidth&&(t.style.width=F-V+"px",F>t.clientWidth&&(t.style.width=F+X+"px")))},d=f.prototype;d.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=0;this.elements.length>e;e++)this._originals[e]=this.elements[e].innerHTML,_(this.elements[e],this.vars,this.chars,this.words,this.lines);return this.isSplit=!0,this},d.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},f.selector=t.$||t.jQuery||function(e){return t.$?(f.selector=t.$,t.$(e)):r?r.getElementById("#"===e.charAt(0)?e.substr(1):e):e}}(window||{}),window.GreenSockGobals=null,window._gsQueue=null,delete window.GreenSockGlobals,delete window._gsQueue,window.GreenSockGlobals=oldgs,window._gsQueue=oldgs_queue,console.groupEnd(),function(t,e){t.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]},t.expr[":"].uncached=function(e){var i=document.createElement("img");return i.src=e.src,t(e).is('img[src!=""]')&&!i.complete},t.fn.waitForImages=function(e,i,n){if(t.isPlainObject(arguments[0])&&(i=e.each,n=e.waitForAll,e=e.finished),e=e||t.noop,i=i||t.noop,n=!!n,!t.isFunction(e)||!t.isFunction(i))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var r=t(this),s=[];if(n){var a=t.waitForImages.hasImageProperties||[],o=/url\((['"]?)(.*?)\1\)/g;r.find("*").each(function(){var e=t(this);e.is("img:uncached")&&s.push({src:e.attr("src"),element:e[0]}),t.each(a,function(t,i){var n,r=e.css(i);if(!r)return!0;for(;n=o.exec(r);)s.push({src:n[2],element:e[0]})})})}else r.find("img:uncached").each(function(){s.push({src:this.src,element:this})});var l=s.length,h=0;0==l&&e.call(r[0]),t.each(s,function(n,s){var a=new Image;t(a).bind("load error",function(t){if(h++,i.call(s.element,h,l,"load"==t.type),h==l)return e.call(r[0]),!1}),a.src=s.src})})}}(jQuery);
11!function(e){e.flexslider=function(t,a){var n=e(t);n.vars=e.extend({},e.flexslider.defaults,a);var i,s=n.vars.namespace,r=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||r||window.DocumentTouch&&document instanceof DocumentTouch)&&n.vars.touch,l="click touchend MSPointerUp",c="",d="vertical"===n.vars.direction,u=n.vars.reverse,v=n.vars.itemWidth>0,p="fade"===n.vars.animation,m=""!==n.vars.asNavFor,f={};e.data(t,"flexslider",n),f={init:function(){n.animating=!1,n.currentSlide=parseInt(n.vars.startAt?n.vars.startAt:0,10),isNaN(n.currentSlide)&&(n.currentSlide=0),n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=n.vars.selector.substr(0,n.vars.selector.search(" ")),n.slides=e(n.vars.selector,n),n.container=e(n.containerSelector,n),n.count=n.slides.length,n.syncExists=e(n.vars.sync).length>0,"slide"===n.vars.animation&&(n.vars.animation="swing"),n.prop=d?"top":"marginLeft",n.args={},n.manualPause=!1,n.stopped=!1,n.started=!1,n.startTimeout=null,n.transitions=!n.vars.video&&!p&&n.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return n.pfx=t[a].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),""!==n.vars.controlsContainer&&(n.controlsContainer=e(n.vars.controlsContainer).length>0&&e(n.vars.controlsContainer)),""!==n.vars.manualControls&&(n.manualControls=e(n.vars.manualControls).length>0&&e(n.vars.manualControls)),n.vars.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),n.setup("init"),n.vars.controlNav&&f.controlNav.setup(),n.vars.directionNav&&f.directionNav.setup(),n.vars.keyboard&&(1===e(n.containerSelector).length||n.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!n.animating&&(39===t||37===t)){var a=39===t?n.getTarget("next"):37===t&&n.getTarget("prev");n.flexAnimate(a,n.vars.pauseOnAction)}}),n.vars.mousewheel&&n.bind("mousewheel",function(e,t,a,i){e.preventDefault();var s=t<0?n.getTarget("next"):n.getTarget("prev");n.flexAnimate(s,n.vars.pauseOnAction)}),n.vars.pausePlay&&f.pausePlay.setup(),n.vars.slideshow&&n.vars.pauseInvisible&&f.pauseInvisible.init(
11),n.vars.slideshow&&(n.vars.pauseOnHover&&n.hover(function(){!n.manualPlay&&!n.manualPause&&n.pause()},function(){!n.manualPause&&!n.manualPlay&&!n.stopped&&n.play()}),n.vars.pauseInvisible&&f.pauseInvisible.isHidden()||(n.vars.initDelay>0?n.startTimeout=setTimeout(n.play,n.vars.initDelay):n.play())),m&&f.asNav.setup(),o&&n.vars.touch&&f.touch(),(!p||p&&n.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",f.resize),n.find("img").attr("draggable","false"),setTimeout(function(){n.vars.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(s+"active-slide").eq(n.currentItem).addClass(s+"active-slide"),r?(t._slider=n,n.slides.each(function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var a=e(this),i=a.index();e(n.vars.asNavFor).data("flexslider").animating||a.hasClass("active")||(n.direction=n.currentItem<i?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction,!1,!0,!0))})})):n.slides.on(l,function(t){t.preventDefault();var a=e(this),i=a.index();a.offset().left-e(n).scrollLeft()<=0&&a.hasClass(s+"active-slide")?n.flexAnimate(n.getTarget("prev"),!0):e(n.vars.asNavFor).data("flexslider").animating||a.hasClass(s+"active-slide")||(n.direction=n.currentItem<i?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){n.manualControls?f.controlNav.setupManual():f.controlNav.setupPaging()},setupPaging:function(){var t,a,i="thumbnails"===n.vars.controlNav?"control-thumbs":"control-paging",r=1;if(n.controlNavScaffold=e('<ol class="'+s+"control-nav "+s+i+'"></ol>'),n.pagingCount>1)for(var o=0;o<n.pagingCount;o++){if(a=n.slides.eq(o),t="thumbnails"===n.vars.controlNav?'<img src="'+a.attr("data-thumb")+'"/>':"<a>"+r+"</a>","thumbnails"===n.vars.controlNav&&!0===n.vars.thumbCaptions){var d=a.attr("data-thumbcaption");""!=d&&null!=d&&(t+='<span class="'+s+'caption">'+d+"</span>")}n.controlNavScaffold.append("<li>"+t+"</li>"),r++}n.controlsContainer?e(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),f.controlNav.set(),f.controlNav.active(),n.controlNavScaffold.delegate("a, img",l,function(t){if(t.preventDefault(),""===c||c===t.type){var a=e(this),i=n.controlNav.index(a);a.hasClass(s+"active")||(n.direction=i>n.currentSlide?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction))}""===c&&(c=t.type),f.setToClearWatchedEvent()})},setupManual:function(){n.controlNav=n.manualControls,f.controlNav.active(),n.controlNav.bind(l,function(t){if(t.preventDefault(),""===c||c===t.type){var a=e(this),i=n.controlNav.index(a);a.hasClass(s+"active")||(i>n.currentSlide?n.direction="next":n.direction="prev",n.flexAnimate(i,n.vars.pauseOnAction))}""===c&&(c=t.type),f.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===n.vars.controlNav?"img":"a";n.controlNav=e("."+s+"control-nav li "+t,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(s+"active").eq(n.animatingTo).addClass(s+"active")},update:function(t,a){n.pagingCount>1&&"add"===t?n.controlNavScaffold.append(e("<li><a>"+n.count+"</a></li>")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.
vendor: 33,503 bytes, line 11
11controlNav.eq(a).closest("li").remove(),f.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(a,t):f.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+s+'direction-nav"><li><a class="'+s+'prev" href="#">'+n.vars.prevText+'</a></li><li><a class="'+s+'next" href="#">'+n.vars.nextText+"</a></li></ul>");n.controlsContainer?(e(n.controlsContainer).append(t),n.directionNav=e("."+s+"direction-nav li a",n.controlsContainer)):(n.append(t),n.directionNav=e("."+s+"direction-nav li a",n)),f.directionNav.update(),n.directionNav.bind(l,function(t){var a;t.preventDefault(),""!==c&&c!==t.type||(a=e(this).hasClass(s+"next")?n.getTarget("next"):n.getTarget("prev"),n.flexAnimate(a,n.vars.pauseOnAction)),""===c&&(c=t.type),f.setToClearWatchedEvent()})},update:function(){var e=s+"disabled";1===n.pagingCount?n.directionNav.addClass(e).attr("tabindex","-1"):n.vars.animationLoop?n.directionNav.removeClass(e).removeAttr("tabindex"):0===n.animatingTo?n.directionNav.removeClass(e).filter("."+s+"prev").addClass(e).attr("tabindex","-1"):n.animatingTo===n.last?n.directionNav.removeClass(e).filter("."+s+"next").addClass(e).attr("tabindex","-1"):n.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+s+'pauseplay"><a></a></div>');n.controlsContainer?(n.controlsContainer.append(t),n.pausePlay=e("."+s+"pauseplay a",n.controlsContainer)):(n.append(t),n.pausePlay=e("."+s+"pauseplay a",n)),f.pausePlay.update(n.vars.slideshow?s+"pause":s+"play"),n.pausePlay.bind(l,function(t){t.preventDefault(),""!==c&&c!==t.type||(e(this).hasClass(s+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())),""===c&&(c=t.type),f.setToClearWatchedEvent()})},update:function(e){"play"===e?n.pausePlay.removeClass(s+"pause").addClass(s+"play").html(n.vars.playText):n.pausePlay.removeClass(s+"play").addClass(s+"pause").html(n.vars.pauseText)}},touch:function(){var e,a,i,s,o,l,c=!1,m=0,f=0,g=0;if(r){t.style.msTouchAction="none",t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.stopPropagation(),n.animating?e.preventDefault():(n.pause(),t._gesture.addPointer(e.pointerId),g=0,s=d?n.h:n.w,l=Number(new Date),i=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*s:(n.currentSlide+n.cloneOffset)*s)},!1),t._slider=n,t.addEventListener("MSGestureChange",function(e){e.stopPropagation();var a=e.target._slider;if(!a)return;var n=-e.translationX,r=-e.translationY;if(o=g+=d?r:n,c=d?Math.abs(g)<Math.abs(-n):Math.abs(g)<Math.abs(-r),e.detail===e.MSGESTURE_FLAG_INERTIA)return void setImmediate(function(){t._gesture.stop()});(!c||Number(new Date)-l>500)&&(e.preventDefault(),!p&&a.transitions&&(a.vars.animationLoop||(o=g/(0===a.currentSlide&&g<0||a.currentSlide===a.last&&g>0?Math.abs(g)/s+2:1)),a.setProps(i+o,"setTouch")))},!1),t.addEventListener("MSGestureEnd",function(t){t.stopPropagation();var n=t.target._slider;if(!n)return;if(n.animatingTo===n.currentSlide&&!c&&null!==o){var r=u?-o:o,d=r>0?n.getTarget("next"):n.getTarget("prev");n.canAdvance(d)&&(Number(new Date)-l<550&&Math.abs(r)>50||Math.abs(r)>s/2)?n.flexAnimate(d,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}e=null,a=null,o=null,i=null,g=0},!1)}else{function h(t){m=t.touches[0].pageX,f=t.touches[0].pageY,o=d?e-f:e-m;(!(c=d?Math.abs(o)<Math.abs(m-a):Math.abs(o)<Math.abs(f-a))||Number(new Date)-l>500)&&(t.preventDefault(),!p&&n.transitions&&(n.vars.animationLoop||(o/=0===n.currentSlide&&o<0||n.currentSlide===n.last&&o>0?Math.abs(o)/s+2:1),n.setProps(i+o,"setTouch")))}function S(r){if(t.removeEventListener("touchmove",h,!1),n.animatingTo===n.currentSlide&&!c&&null!==o){var d=u?-o:o,v=d>0?n.getTarget("next"):n.getTarget("prev");n.canAdvance(v)&&(Number(new Date)-l<550&&Math.abs(d)>50||Math.abs(d)>s/2)?n.flexAnimate(v,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}t.removeEventListener("touchend",S,!1),e=null,a=null,o=null,i=null}t.addEventListener("touchstart",function(r){n.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(n.pause(),s=d?n.h:n.w,l=Number(new Date),m=r.touches[0].pageX,f=r.touches[0].pageY,i=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*s:(n.currentSlide+n.cloneOffset)*s,e=d?f:m,a=d?m:f,t.addEventListener("touchmove",h,!1),t.addEventListener("touchend",S,!1))},!1)}},resize:function(){!n.animating&&n.is(":visible")&&(v||n.doMath(),p?f.smoothHeight():v?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):d?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(n.vars.smoothHeight&&f.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(e){if(!d||p){var t=p?n:n.viewport;e?t.animate({height:n.slides.eq(n.animatingTo).height()},e):t.height(n.slides.eq(n.animatingTo).height())}},sync:function(t){var a=e(n.vars.sync).data("flexslider"),i=n.animatingTo;switch(t){case"animate":a.flexAnimate(i,n.vars.pauseOnAction,!1,!0);break;case"play":!a.playing&&!a.asNav&&a.play();break;case"pause":a.pause()}},uniqueID:function(t){return t.find("[id]").each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)e[t]+"Hidden"in document&&(f.pauseInvisible.visProp=e[t]+"Hidden");if(f.pauseInvisible.visProp){var a=f.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(a,function(){f.pauseInvisible.isHidden()?n.startTimeout?clearTimeout(n.startTimeout):n.pause():n.started?n.play():n.vars.initDelay>0?setTimeout(n.play,n.vars.initDelay):n.play()})}},isHidden:function(){return document[f.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(i),i=setTimeout(function(){c=""},3e3)}},n.flexAnimate=function(t,a,i,r,l){if(!n.vars.animationLoop&&t!==n.currentSlide&&(n.direction=t>n.currentSlide?"next":"prev"),m&&1===n.pagingCount&&(n.direction=n.currentItem<t?"next":"prev"),!n.animating&&(n.canAdvance(t,l)||i)&&n.is(":visible")){if(m&&r){var c=e(n.vars.asNavFor).data("flexslider");if(n.atEnd=0===t||t===n.count-1,c.flexAnimate(t,!0,!1,!0,l),n.direction=n.currentItem<t?"next":"prev",c.direction=n.direction,Math.ceil((t+1)/n.visible)-1===n.currentSlide||0===t)return n.currentItem=t,n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),!1;n.currentItem=t,n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),t=Math.floor(t/n.visible)}if(n.animating=!0,n.animatingTo=t,a&&n.pause(),n.vars.before(n),n.syncExists&&!l&&f.sync("animate"),n.vars.controlNav&&f.controlNav.active(),v||n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),n.atEnd=0===t||t===n.last,n.vars.directionNav&&f.directionNav.update(),t===n.last&&(n.vars.end(n),n.vars.animationLoop||n.pause()),p)o?(n.slides.eq(n.currentSlide).css({opacity:0,zIndex:1}),n.slides.eq(t).css({opacity:1,zIndex:2}),n.wrapup(x)):(n.slides.eq(n.currentSlide).css({zIndex:1}).animate({opacity:0},n.vars.animationSpeed,n.vars.easing),n.slides.eq(t).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing,n.wrapup));else{var g,h,S,x=d?n.slides.filter(":first").height():n.computedW;v?(g=n.vars.itemMargin,h=(S=(n.itemW+g)*n.move*n.animatingTo)>n.limit&&1!==n.visible?n.limit:S):h=0===n.currentSlide&&t===n.count-1&&n.vars.animationLoop&&"next"!==n.direction?u?(n.count+n.cloneOffset)*x:0:n.currentSlide===n.last&&0===t&&n.vars.animationLoop&&"prev"!==n.direction?u?0:(n.count+1)*x:u?(n.count-1-t+n.cloneOffset)*x:(t+n.cloneOffset)*x,n.setProps(h,"",n.vars.animationSpeed),n.transitions?(n.vars.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){n.wrapup(x)})):n.container.animate(n.args,n.vars.animationSpeed,n.vars.easing,function(){n.wrapup(x)})}n.vars.smoothHeight&&f.smoothHeight(n.vars.animationSpeed)}},n.wrapup=function(e){!p&&!v&&(0===n.currentSlide&&n.animatingTo===n.last&&n.vars.animationLoop?n.setProps(e,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&n.vars.animationLoop&&n.setProps(e,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,n.vars.after(n)},n.animateSlides=function(){!n.animating&&n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.animatedSlides=null,n.playing=!1,n.vars.pausePlay&&f.pausePlay.update("play"),n.syncExists&&f.sync("pause")},n.play=function(){n.playing&&clearInterval(n.animatedSlides),n.animatedSlides=n.animatedSlides||setInterval(n.animateSlides,n.vars.slideshowSpeed),n.started=n.playing=!0,n.vars.pausePlay&&f.pausePlay.update("pause"),n.syncExists&&f.sync("play")},n.stop=function(){n.pause(),n.stopped=!0},n.canAdvance=function(e,t){var a=m?n.pagingCount-1:n.last;return!!t||(!(!m||n.currentItem!==n.count-1||0!==e||"prev"!==n.direction)||(!m||0!==n.currentItem||e!==n.pagingCount-1||"next"===n.direction)&&(!(e===n.currentSlide&&!m)&&(!!n.vars.animationLoop||(!n.atEnd||0!==n.currentSlide||e!==a||"next"===n.direction)&&(!n.atEnd||n.currentSlide!==a||0!==e||"next"!==n.direction))))},n.getTarget=function(e){return n.direction=e,"next"===e?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(e,t,a){var i=function(){var a=e||(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo;return-1*function(){if(v)return"setTouch"===t?e:u&&n.animatingTo===n.last?0:u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:a;switch(t){case"setTotal":return u?(n.count-1-n.currentSlide+n.cloneOffset)*e:(n.currentSlide+n.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return u?e:n.count*e;case"jumpStart":return u?n.count*e:e;default:return e}}()+"px"}();n.transitions&&(i=d?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",a=void 0!==a?a/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",a),n.container.css("transition-duration",a)),n.args[n.prop]=i,(n.transitions||void 0===a)&&n.container.css(n.args),n.container.css("transform",i)},n.setup=function(t){var a,i;p?(n.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(o?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+n.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing)),n.vars.smoothHeight&&f.smoothHeight()):("init"===t&&(n.viewport=e('<div class="'+s+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,u&&(i=e.makeArray(n.slides).reverse(),n.slides=e(i),n.container.empty().append(n.slides))),n.vars.animationLoop&&!v&&(n.cloneCount=2,n.cloneOffset=1,"init"!==t&&n.container.find(".clone").remove(),n.container.append(n.slides.first().clone().addClass("clone").attr("aria-hidden","true")).prepend(n.slides.last().clone().addClass("clone").attr("aria-hidden","true")),f.uniqueID(n.slides.first().clone().addClass("clone")).appendTo(n.container),f.uniqueID(n.slides.last().clone().addClass("clone")).prependTo(n.container)),n.newSlides=e(n.vars.selector,n),a=u?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,d&&!v?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(a*n.h,"init")},"init"===t?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(a*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,float:"left",display:"block"}),n.vars.smoothHeight&&f.smoothHeight()},"init"===t?100:0)));v||n.slides.removeClass(s+"active-slide").eq(n.currentSlide).addClass(s+"active-slide"),n.vars.init(n)},n.doMath=function(){var e=n.slides.first(),t=n.vars.itemMargin,a=n.vars.minItems,i=n.vars.maxItems;n.w=void 0===n.viewport?n.width():n.viewport.width(),n.h=e.height(),n.boxPadding=e.outerWidth()-e.width(),v?(n.itemT=n.vars.itemWidth+t,n.minW=a?a*n.itemT:n.w,n.maxW=i?i*n.itemT-t:n.w,n.itemW=n.minW>n.w?(n.w-t*(a-1))/a:n.maxW<n.w?(n.w-t*(i-1))/i:n.vars.itemWidth>n.w?n.w:n.vars.itemWidth,n.visible=Math.floor(n.w/n.itemW),n.move=n.vars.move>0&&n.vars.move<n.visible?n.vars.move:n.visible,n.pagingCount=Math.ceil((n.count-n.visible)/n.move+1),n.last=n.pagingCount-1,n.limit=1===n.pagingCount?0:n.vars.itemWidth>n.w?n.itemW*(n.count-1)+t*(n.count-1):(n.itemW+t)*n.count-n.w-t):(n.itemW=n.w,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding},n.update=function(e,t){n.doMath(),v||(e<n.currentSlide?n.currentSlide+=1:e<=n.currentSlide&&0!==e&&(n.currentSlide-=1),n.animatingTo=n.currentSlide),n.vars.controlNav&&!n.manualControls&&("add"===t&&!v||n.pagingCount>n.controlNav.length?f.controlNav.update("add"):("remove"===t&&!v||n.pagingCount<n.controlNav.length)&&(v&&n.currentSlide>n.last&&(n.currentSlide-=1,n.animatingTo-=1),f.controlNav.update("remove",n.last))),n.vars.directionNav&&f.directionNav.update()},n.addSlide=function(t,a){var i=e(t);n.count+=1,n.last=n.count-1,d&&u?void 0!==a?n.slides.eq(n.count-a).after(i):n.container.prepend(i):void 0!==a?n.slides.eq(a).before(i):n.container.append(i),n.update(a,"add"),n.slides=e(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.added(n)},n.removeSlide=function(t){var a=isNaN(t)?n.slides.index(e(t)):t;n.count-=1,n.last=n.count-1,isNaN(t)?e(t,n.slides).remove():d&&u?n.slides.eq(n.last).remove():n.slides.eq(t).remove(),n.doMath(),n.update(a,"remove"),n.slides=e(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.removed(n)},f.init()},e(window).blur(function(e){focused=!1}).focus(function(e){focused=!0}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,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:"",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(){}},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var a=e(this),n=t.selector?t.selector:".slides > li",i=a.find(n);1===i.length&&!0===t.allowOneSlide||0===i.length?(i.fadeIn(400),t.start&&t.start(a)):void 0===a.data("flexslider")&&new e.flexslider(this,t)});var a=e(this).data("flexslider");switch(t){case"play":a.play();break;case"pause":a.pause();break;case"stop":a.stop();break;case"next":a.flexAnimate(a.getTarget("next"),!0);break;case"prev":case"previous":a.flexAnimate(a.getTarget("prev"),!0);break;default:"number"==typeof t&&a.flexAnimate(t,!0)}}}(jQuery),function(e){e.flexslider=function(t,a){var n=e(t);n.vars=e.extend({},e.flexslider.defaults,a);var i,s=n.vars.namespace,r=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||r||window.DocumentTouch&&document instanceof DocumentTouch)&&n.vars.touch,l="click touchend MSPointerUp",c="",d="vertical"===n.vars.direction,u=n.vars.reverse,v=n.vars.itemWidth>0,p="fade"===n.vars.animation,m=""!==n.vars.asNavFor,f={};e.data(t,"flexslider",n),f={init:function(){n.animating=!1,n.currentSlide=parseInt(n.vars.startAt?n.vars.startAt:0,10),isNaN(n.currentSlide)&&(n.currentSlide=0),n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=n.vars.selector.substr(0,n.vars.selector.search(" ")),n.slides=e(n.vars.selector,n),n.container=e(n.containerSelector,n),n.count=n.slides.length,n.syncExists=e(n.vars.sync).length>0,"slide"===n.vars.animation&&(n.vars.animation="swing"),n.prop=d?"top":"marginLeft",n.args={},n.manualPause=!1,n.stopped=!1,n.started=!1,n.startTimeout=null,n.transitions=!n.vars.video&&!p&&n.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return n.pfx=t[a].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),""!==n.vars.controlsContainer&&(n.controlsContainer=e(n.vars.controlsContainer).length>0&&e(n.vars.controlsContainer)),""!==n.vars.manualControls&&(n.manualControls=e(n.vars.manualControls).length>0&&e(n.vars.manualControls)),n.vars.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),n.setup("init"),n.vars.controlNav&&f.controlNav.setup(),n.vars.directionNav&&f.directionNav.setup(),n.vars.keyboard&&(1===e(n.containerSelector).length||n.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!n.animating&&(39===t||37===t)){var a=39===t?n.getTarget("next"):37===t&&n.getTarget("prev");n.flexAnimate(a,n.vars.pauseOnAction)}}),n.vars.mousewheel&&n.bind("mousewheel",function(e,t,a,i){e.preventDefault();var s=t<0?n.getTarget("next"):n.getTarget("prev");n.flexAnimate(s,n.vars.pauseOnAction)}),n.vars.pausePlay&&f.pausePlay.setup(),n.vars.slideshow&&n.vars.pauseInvisible&&f.pauseInvisible.init(),n.vars.slideshow&&(n.vars.pauseOnHover&&n.hover(function(){!n.manualPlay&&!n.manualPause&&n.pause()},function(){!n.manualPause&&!n.manualPlay&&!n.stopped&&n.play()}),n.vars.pauseInvisible&&f.pauseInvisible.isHidden()||(n.vars.initDelay>0?n.startTimeout=setTimeout(n.play,n.vars.initDelay):n.play())),m&&f.asNav.setup(),o&&n.vars.touch&&f.touch(),(!p||p&&n.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",f.resize),n.find("img").attr("draggable","false"),setTimeout(function(){n.vars.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(s+"active-slide").eq(n.currentItem).addClass(s+"active-slide"),r?(t._slider=n,n.slides.each(function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var a=e(this),i=a.index();e(n.vars.asNavFor).data("flexslider").animating||a.hasClass("active")||(n.direction=n.currentItem<i?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction,!1,!0,!0))})})):n.slides.on(l,function(t){t.preventDefault();var a=e(this),i=a.index();a.offset().left-e(n).scrollLeft()<=0&&a.hasClass(s+"active-slide")?n.flexAnimate(n.getTarget("prev"),!0):e(n.vars.asNavFor).data("flexslider").animating||a.hasClass(s+"active-slide")||(n.direction=n.currentItem<i?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){n.manualControls?f.controlNav.setupManual():f.controlNav.setupPaging()},setupPaging:function(){var t,a,i="thumbnails"===n.vars.controlNav?"control-thumbs":"control-paging",r=1;if(n.controlNavScaffold=e('<ol class="'+s+"control-nav "+s+i+'"></ol>'),n.pagingCount>1)for(var o=0;o<n.pagingCount;o++){if(a=n.slides.eq(o),t="thumbnails"===n.vars.controlNav?'<img src="'+a.attr("data-thumb")+'"/>':"<a>"+r+"</a>","thumbnails"===n.vars.controlNav&&!0===n.vars.thumbCaptions){var d=a.attr("data-thumbcaption");""!=d&&null!=d&&(t+='<span class="'+s+'caption">'+d+"</span>")}n.controlNavScaffold.append("<li>"+t+"</li>"),r++}n.controlsContainer?e(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),f.controlNav.set(),f.controlNav.active(),n.controlNavScaffold.delegate("a, img",l,function(t){if(t.preventDefault(),""===c||c===t.type){var a=e(this),i=n.controlNav.index(a);a.hasClass(s+"active")||(n.direction=i>n.currentSlide?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction))}""===c&&(c=t.type),f.setToClearWatchedEvent()})},setupManual:function(){n.controlNav=n.manualControls,f.controlNav.active(),n.controlNav.bind(l,function(t){if(t.preventDefault(),""===c||c===t.type){var a=e(this),i=n.controlNav.index(a);a.hasClass(s+"active")||(i>n.currentSlide?n.direction="next":n.direction="prev",n.flexAnimate(i,n.vars.pauseOnAction))}""===c&&(c=t.type),f.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===n.vars.controlNav?"img":"a";n.controlNav=e("."+s+"control-nav li "+t,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(s+"active").eq(n.animatingTo).addClass(s+"active")},update:function(t,a){n.pagingCount>1&&"add"===t?n.controlNavScaffold.append(e("<li><a>"+n.count+"</a></li>")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.controlNav.eq(a).closest("li").remove(),f.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(a,t):f.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+s+'direction-nav"><li><a class="'+s+'prev" href="#">'+n.vars.prevText+'</a></li><li><a class="'+s+'next" href="#">'+n.vars.nextText+"</a></li></ul>");n.controlsContainer?(e(n.controlsContainer).append(t),n.directionNav=e("."+s+"direction-nav li a",n.controlsContainer)):(n.append(t),n.directionNav=e("."+s+"direction-nav li a",n)),f.directionNav.update(),n.directionNav.bind(l,function(t){var a;t.preventDefault(),""!==c&&c!==t.type||(a=e(this).hasClass(s+"next")?n.getTarget("next"):n.getTarget("prev"),n.flexAnimate(a,n.vars.pauseOnAction)),""===c&&(c=t.type),f.setToClearWatchedEvent()})},update:function(){var e=s+"disabled";1===n.pagingCount?n.directionNav.addClass(e).attr("tabindex","-1"):n.vars.animationLoop?n.directionNav.removeClass(e).removeAttr("tabindex"):0===n.animatingTo?n.directionNav.removeClass(e).filter("."+s+"prev").addClass(e).attr("tabindex","-1"):n.animatingTo===n.last?n.directionNav.removeClass(e).filter("."+s+"next").addClass(e).attr("tabindex","-1"):n.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+s+'pauseplay"><a></a></div>');n.controlsContainer?(n.controlsContainer.append(t),n.pausePlay=e("."+s+"pauseplay a",n.controlsContainer)):(n.append(t),n.pausePlay=e("."+s+"pauseplay a",n)),f.pausePlay.update(n.vars.slideshow?s+"pause":s+"play"),n.pausePlay.bind(l,function(t){t.preventDefault(),""!==c&&c!==t.type||(e(this).hasClass(s+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())),""===c&&(c=t.type),f.setToClearWatchedEvent()})},update:function(e){"play"===e?n.pausePlay.removeClass(s+"pause").addClass(s+"play").html(n.vars.playText):n.pausePlay.removeClass(s+"play").addClass(s+"pause").html(n.vars.pauseText)}},touch:function(){var e,a,i,s,o,l,c=!1,m=0,f=0,g=0;if(r){t.style.msTouchAction="none",t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.stopPropagation(),n.animating?e.preventDefault():(n.pause(),t._gesture.addPointer(e.pointerId),g=0,s=d?n.h:n.w,l=Number(new Date),i=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*s:(n.currentSlide+n.cloneOffset)*s)},!1),t._slider=n,t.addEventListener("MSGestureChange",function(e){e.stopPropagation();var a=e.target._slider;if(!a)return;var n=-e.translationX,r=-e.translationY;if(o=g+=d?r:n,c=d?Math.abs(g)<Math.abs(-n):Math.abs(g)<Math.abs(-r),e.detail===e.MSGESTURE_FLAG_INERTIA)return void setImmediate(function(){t._gesture.stop()});(!c||Number(new Date)-l>500)&&(e.preventDefault(),!p&&a.transitions&&(a.vars.animationLoop||(o=g/(0===a.currentSlide&&g<0||a.currentSlide===a.last&&g>0?Math.abs(g)/s+2:1)),a.setProps(i+o,"setTouch")))},!1),t.addEventListener("MSGestureEnd",function(t){t.stopPropagation();var n=t.target._slider;if(!n)return;if(n.animatingTo===n.currentSlide&&!c&&null!==o){var r=u?-o:o,d=r>0?n.getTarget("next"):n.getTarget("prev");n.canAdvance(d)&&(Number(new Date)-l<550&&Math.abs(r)>50||Math.abs(r)>s/2)?n.flexAnimate(d,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}e=null,a=null,o=null,i=null,g=0},!1)}else{function h(t){m=t.touches[0].pageX,f=t.touches[0].pageY,o=d?e-f:e-m;(!(c=d?Math.abs(o)<Math.abs(m-a):Math.abs(o)<Math.abs(f-a))||Number(new Date)-l>500)&&(t.preventDefault(),!p&&n.transitions&&(n.vars.animationLoop||(o/=0===n.currentSlide&&o<0||n.currentSlide===n.last&&o>0?Math.abs(o)/s+2:1),n.setProps(i+o,"setTouch")))}function S(r){if(t.removeEventListener("touchmove",h,!1),n.animatingTo===n.currentSlide&&!c&&null!==o){var d=u?-o:o,v=d>0?n.getTarget("next"):n.getTarget("prev");n.canAdvance(v)&&(Number(new Date)-l<550&&Math.abs(d)>50||Math.abs(d)>s/2)?n.flexAnimate(v,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}t.removeEventListener("touchend",S,!1),e=null,a=null,o=null,i=null}t.addEventListener("touchstart",function(r){n.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(n.pause(),s=d?n.h:n.w,l=Number(new Date),m=r.touches[0].pageX,f=r.touches[0].pageY,i=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*s:(n.currentSlide+n.cloneOffset)*s,e=d?f:m,a=d?m:f,t.addEventListener("touchmove",h,!1),t.addEventListener("touchend",S,!1))},!1)}},resize:function(){!n.animating&&n.is(":visible")&&(v||n.doMath(),p?f.smoothHeight():v?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):d?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(n.vars.smoothHeight&&f.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(e){if(!d||p){var t=p?n:n.viewport;e?t.animate({height:n.slides.eq(n.animatingTo).height()},e):t.height(n.slides.eq(n.animatingTo).height())}},sync:function(t){var a=e(n.vars.sync).data("flexslider"),i=n.animatingTo;switch(t){case"animate":a.flexAnimate(i,n.vars.pauseOnAction,!1,!0);break;case"play":!a.playing&&!a.asNav&&a.play();break;case"pause":a.pause()}},uniqueID:function(t){return t.find("[id]").each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)e[t]+"Hidden"in document&&(f.pauseInvisible.visProp=e[t]+"Hidden");if(f.pauseInvisible.visProp){var a=f.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(a,function(){f.pauseInvisible.isHidden()?n.startTimeout?clearTimeout(n.startTimeout):n.pause():n.started?n.play():n.vars.initDelay>0?setTimeout(n.play,n.vars.initDelay):n.play()})}},isHidden:function(){return document[f.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(i),i=setTimeout(function(){c=""},3e3)}},n.flexAnimate=function(t,a,i,r,l){if(!n.vars.animationLoop&&t!==n.currentSlide&&(n.direction=t>n.currentSlide?"next":"prev"),m&&1===n.pagingCount&&(n.direction=n.currentItem<t?"next":"prev"),!n.animating&&(n.canAdvance(t,l)||i)&&n.is(":visible")){if(m&&r){var c=e(n.vars.asNavFor).data("flexslider");if(n.atEnd=0===t||t===n.count-1,c.flexAnimate(t,!0,!1,!0,l),n.direction=n.currentItem<t?"next":"prev",c.direction=n.direction,Math.ceil((t+1)/n.visible)-1===n.currentSlide||0===t)return n.currentItem=t,n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),!1;n.currentItem=t,n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),t=Math.floor(t/n.visible)}if(n.animating=!0,n.animatingTo=t,a&&n.pause(),n.vars.before(n),n.syncExists&&!l&&f.sync("animate"),n.vars.controlNav&&f.controlNav.active(),v||n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),n.atEnd=0===t||t===n.last,n.vars.directionNav&&f.directionNav.update(),t===n.last&&(n.vars.end(n),n.vars.animationLoop||n.pause()),p)o?(n.slides.eq(n.currentSlide).css({opacity:0,zIndex:1}),n.slides.eq(t).css({opacity:1,zIndex:2}),n.wrapup(x)):(n.slides.eq(n.currentSlide).css({zIndex:1}).animate({opacity:0},n.vars.animationSpeed,n.vars.easing),n.slides.eq(t).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing,n.wrapup));else{var g,h,S,x=d?n.slides.filter(":first").height():n.computedW;v?(g=n.vars.itemMargin,h=(S=(n.itemW+g)*n.move*n.animatingTo)>n.limit&&1!==n.visible?n.limit:S):h=0===n.currentSlide&&t===n.count-1&&n.vars.animationLoop&&"next"!==n.direction?u?(n.count+n.cloneOffset)*x:0:n.currentSlide===n.last&&0===t&&n.vars.animationLoop&&"prev"!==n.direction?u?0:(n.count+1)*x:u?(n.count-1-t+n.cloneOffset)*x:(t+n.cloneOffset)*x,n.setProps(h,"",n.vars.animationSpeed),n.transitions?(n.vars.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){n.wrapup(x)})):n.container.animate(n.args,n.vars.animationSpeed,n.vars.easing,function(){n.wrapup(x)})}n.vars.smoothHeight&&f.smoothHeight(n.vars.animationSpeed)}},n.wrapup=function(e){!p&&!v&&(0===n.currentSlide&&n.animatingTo===n.last&&n.vars.animationLoop?n.setProps(e,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&n.vars.animationLoop&&n.setProps(e,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,n.vars.after(n)},n.animateSlides=function(){!n.animating&&n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.animatedSlides=null,n.playing=!1,n.vars.pausePlay&&f.pausePlay.update("play"),n.syncExists&&f.sync("pause")},n.play=function(){n.playing&&clearInterval(n.animatedSlides),n.animatedSlides=n.animatedSlides||setInterval(n.animateSlides,n.vars.slideshowSpeed),n.started=n.playing=!0,n.vars.pausePlay&&f.pausePlay.update("pause"),n.syncExists&&f.sync("play")},n.stop=function(){n.pause(),n.stopped=!0},n.canAdvance=function(e,t){var a=m?n.pagingCount-1:n.last;return!!t||(!(!m||n.currentItem!==n.count-1||0!==e||"prev"!==n.direction)||(!m||0!==n.currentItem||e!==n.pagingCount-1||"next"===n.direction)&&(!(e===n.currentSlide&&!m)&&(!!n.vars.animationLoop||(!n.atEnd||0!==n.currentSlide||e!==a||"next"===n.direction)&&(!n.atEnd||n.currentSlide!==a||0!==e||"next"!==n.direction))))},n.getTarget=function(e){return n.direction=e,"next"===e?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(e,t,a){var i=function(){var a=e||(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo;return-1*function(){if(v)return"setTouch"===t?e:u&&n.animatingTo===n.last?0:u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:a;switch(t){case"setTotal":return u?(n.count-1-n.currentSlide+n.cloneOffset)*e:(n.currentSlide+n.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return u?e:n.count*e;case"jumpStart":return u?n.count*e:e;default:return e}}()+"px"}();n.transitions&&(i=d?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",a=void 0!==a?a/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",a),n.container.css("transition-duration",a)),n.args[n.prop]=i,(n.transitions||void 0===a)&&n.container.css(n.args),n.container.css("transform",i)},n.setup=function(t){var a,i;p?(n.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(o?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+n.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing)),n.vars.smoothHeight&&f.smoothHeight()):("init"===t&&(n.viewport=e('<div class="'+s+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,u&&(i=e.makeArray(n.slides).reverse(),n.slides=e(i),n.container.empty().append(n.slides))),n.vars.animationLoop&&!v&&(n.cloneCount=2,n.cloneOffset=1,"init"!==t&&n.container.find(".clone").remove(),n.container.append(n.slides.first().clone().addClass("clone").attr("aria-hidden","true")).prepend(n.slides.last().clone().addClass("clone").attr("aria-hidden","true")),f.uniqueID(n.slides.first().clone().addClass("clone")).appendTo(n.container),f.uniqueID(n.slides.last().clone().addClass("clone")).prependTo(n.container)),n.newSlides=e(n.vars.selector,n),a=u?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,d&&!v?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(a*n.h,"init")}
11,"init"===t?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(a*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,float:"left",display:"block"}),n.vars.smoothHeight&&f.smoothHeight()},"init"===t?100:0)));v||n.slides.removeClass(s+"active-slide").eq(n.currentSlide).addClass(s+"active-slide"),n.vars.init(n)},n.doMath=function(){var e=n.slides.first(),t=n.vars.itemMargin,a=n.vars.minItems,i=n.vars.maxItems;n.w=void 0===n.viewport?n.width():n.viewport.width(),n.h=e.height(),n.boxPadding=e.outerWidth()-e.width(),v?(n.itemT=n.vars.itemWidth+t,n.minW=a?a*n.itemT:n.w,n.maxW=i?i*n.itemT-t:n.w,n.itemW=n.minW>n.w?(n.w-t*(a-1))/a:n.maxW<n.w?(n.w-t*(i-1))/i:n.vars.itemWidth>n.w?n.w:n.vars.itemWidth,n.visible=Math.floor(n.w/n.itemW),n.move=n.vars.move>0&&n.vars.move<n.visible?n.vars.move:n.visible,n.pagingCount=Math.ceil((n.count-n.visible)/n.move+1),n.last=n.pagingCount-1,n.limit=1===n.pagingCount?0:n.vars.itemWidth>n.w?n.itemW*(n.count-1)+t*(n.count-1):(n.itemW+t)*n.count-n.w-t):(n.itemW=n.w,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding},n.update=function(e,t){n.doMath(),v||(e<n.currentSlide?n.currentSlide+=1:e<=n.currentSlide&&0!==e&&(n.currentSlide-=1),n.animatingTo=n.currentSlide),n.vars.controlNav&&!n.manualControls&&("add"===t&&!v||n.pagingCount>n.controlNav.length?f.controlNav.update("add"):("remove"===t&&!v||n.pagingCount<n.controlNav.length)&&(v&&n.currentSlide>n.last&&(n.currentSlide-=1,n.animatingTo-=1),f.controlNav.update("remove",n.last))),n.vars.directionNav&&f.directionNav.update()},n.addSlide=function(t,a){var i=e(t);n.count+=1,n.last=n.count-1,d&&u?void 0!==a?n.slides.eq(n.count-a).after(i):n.container.prepend(i):void 0!==a?n.slides.eq(a).before(i):n.container.append(i),n.update(a,"add"),n.slides=e(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.added(n)},n.removeSlide=function(t){var a=isNaN(t)?n.slides.index(e(t)):t;n.count-=1,n.last=n.count-1,isNaN(t)?e(t,n.slides).remove():d&&u?n.slides.eq(n.last).remove():n.slides.eq(t).remove(),n.doMath(),n.update(a,"remove"),n.slides=e(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.removed(n)},f.init()},e(window).blur(function(e){focused=!1}).focus(function(e){focused=!0}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,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:"",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(){}},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var a=e(this),n=t.selector?t.selector:".slides > li",i=a.find(n);1===i.length&&!0===t.allowOneSlide||0===i.length?(i.fadeIn(400),t.start&&t.start(a)):void 0===a.data("flexslider")&&new e.flexslider(this,t)});var a=e(this).data("flexslider");switch(t){case"play":a.play();break;case"pause":a.pause();break;case"stop":a.stop();break;case"next":a.flexAnimate(a.getTarget("next"),!0);break;case"prev":case"previous":a.flexAnimate(a.getTarget("prev"),!0);break;default:"number"==typeof t&&a.flexAnimate(t,!0)}}}(jQuery);
12(function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function n(e,i){t.fn[e]=function(n){if("string"==typeof n){for(var s=o.call(arguments,1),a=0,p=this.length;p>a;a++){var h=this[a],u=t.data(h,e);if(u)if(t.isFunction(u[n])&&"_"!==n.charAt(0)){var f=u[n].apply(u,s);if(void 0!==f)return f}else r("no such method '"+n+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; attempted to call '"+n+"'")}return this}return this.each(function(){var o=t.data(this,e);o?(o.option(n),o._init()):(o=new i(this,n),t.data(this,e,o))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),n(t,e)},t.bridget}}var o=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i(t.jQuery)})(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,o=function(){};
12i.addEventListener?o=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(o=function(t,i,o){t[i+o]=o.handleEvent?function(){var i=e(t);o.handleEvent.call(o,i)}:function(){var i=e(t);o.call(t,i)},t.attachEvent("on"+i,t[i+o])});var n=function(){};i.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(o){t[e+i]=void 0}});var r={bind:o,unbind:n};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():r.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==n.readyState;if(!e.isReady&&!i){e.isReady=!0;for(var o=0,s=r.length;s>o;o++){(0,r[o])()}}}function o(o){return o.bind(n,"DOMContentLoaded",i),o.bind(n,"readystatechange",i),o.bind(t,"load",i),e}var n=t.document,r=[];e.isReady=!1,"function"==typeof define&&define.amd?(e.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],o)):t.docReady=o(t.eventie)}(this),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var o=t.prototype,n=this,r=n.EventEmitter;o.getListeners=function(t){var e,i,o=this._getEvents();if(t instanceof RegExp)for(i in e={},o)o.hasOwnProperty(i)&&t.test(i)&&(e[i]=o[i]);else e=o[t]||(o[t]=[]);return e},o.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},o.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},o.addListener=function(t,i){var o,n=this.getListenersAsObject(t),r="object"==typeof i;for(o in n)n.hasOwnProperty(o)&&-1===e(n[o],i)&&n[o].push(r?i:{listener:i,once:!1});return this},o.on=i("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=i("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,i){var o,n,r=this.getListenersAsObject(t);for(n in r)r.hasOwnProperty(n)&&(-1!==(o=e(r[n],i))&&r[n].splice(o,1));return this},o.off=i("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,i){var o,n,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(o=i.length;o--;)r.call(this,e,i[o]);else for(o in e)e.hasOwnProperty(o)&&(n=e[o])&&("function"==typeof n?r.call(this,o,n):s.call(this,o,n));return this},o.removeEvent=function(t){var e,i=typeof t,o=this._getEvents();if("string"===i)delete o[t];else if(t instanceof RegExp)for(e in o)o.hasOwnProperty(e)&&t.test(e)&&delete o[e];else delete this._events;return this},o.removeAllListeners=i("removeEvent"),o.emitEvent=function(t,e){var i,o,n,r=this.getListenersAsObject(t);for(n in r)if(r.hasOwnProperty(n))for(o=r[n].length;o--;)!0===(i=r[n][o]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},o.trigger=i("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},o._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof o[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,r=i.length;r>n;
12n++)if(e=i[n]+t,"string"==typeof o[e])return e}}var i="Webkit Moz ms Ms O".split(" "),o=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){function e(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function i(t){function i(t,e){if(o||-1===e.indexOf("%"))return e;var i=t.style,n=i.left,r=t.runtimeStyle,s=r&&r.left;return s&&(r.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=n,s&&(r.left=s),e}var s,a=t("boxSizing");return function(){if(a){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[a]="border-box";var i=document.body||document.documentElement;i.appendChild(t);var o=n(t);s=200===e(o.width),i.removeChild(t)}}(),function(t){if("string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=n(t);if("none"===o.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=r.length;i>e;e++)t[r[e]]=0;return t}();var p={};p.width=t.offsetWidth,p.height=t.offsetHeight;for(var h=p.isBorderBox=!(!a||!o[a]||"border-box"!==o[a]),u=0,f=r.length;f>u;u++){var c=r[u],l=o[c];l=i(t,l);var d=parseFloat(l);p[c]=isNaN(d)?0:d}var y=p.paddingLeft+p.paddingRight,m=p.paddingTop+p.paddingBottom,g=p.marginLeft+p.marginRight,v=p.marginTop+p.marginBottom,_=p.borderLeftWidth+p.borderRightWidth,I=p.borderTopWidth+p.borderBottomWidth,L=h&&s,z=e(o.width);!1!==z&&(p.width=z+(L?0:y+_));var S=e(o.height);return!1!==S&&(p.height=S+(L?0:m+I)),p.innerWidth=p.width-(y+_),p.innerHeight=p.height-(m+I),p.outerWidth=p.width+g,p.outerHeight=p.height+v,p}}}var o=t.getComputedStyle,n=o?function(t){return o(t,null)}:function(t){return t.currentStyle},r=["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"],i):"object"==typeof exports?module.exports=i(require("get-style-property")):t.getSize=i(t.getStyleProperty)}(window),function(t,e){function i(t,e){return t[r](e)}function o(t){t.parentNode||document.createDocumentFragment().appendChild(t)}var n,r=function(){if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0,o=t.length;o>i;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}}();if(r){var s=i(document.createElement("div"),"div");n=s?i:function(t,e){return o(t),i(t,e)}}else n=function(t,e){o(t);for(var i=t.parentNode.querySelectorAll(e),n=0,r=i.length;r>n;n++)if(i[n]===t)return!0;return!1};"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return n}):window.matchesSelector=n}(0,Element.prototype),function(t){function e(t,e,i){function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var r=i("transition"),s=i("transform"),a=r&&s,p=!!i("perspective"),h={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[r],u=["transform","transition","transitionDuration","transitionProperty"],f=function(){for(var t={},e=0,o=u.length;o>e;e++){var n=u[e],r=i(n);r&&r!==n&&(t[n]=r)}return t}();(function(t,e){for(var i in e)t[i]=e[i]})(n.prototype,t.prototype),n.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},n.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.prototype.getSize=function(){this.size=e(this.element)},n.prototype.css=function(t){var e=this.element.style;for(var i in t){e[f[i]||i]=t[i]}},n.prototype.getPosition=function(){var t=o(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,r=parseInt(t[i?"left":"right"],10),s=parseInt(t[n?"top":"bottom"],10);r=isNaN(r)?0:r,s=isNaN(s)?0:s;var a=this.layout.size;r-=i?a.paddingLeft:a.paddingRight,s-=n?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},n.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};
12e.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 c=p?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};n.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),r=parseInt(e,10),s=n===this.position.x&&r===this.position.y;if(this.setPosition(t,e),!s||this.isTransitioning){var a=t-i,p=e-o,h={},u=this.layout.options;a=u.isOriginLeft?a:-a,p=u.isOriginTop?p:-p,h.transform=c(a,p),this.transition({to:h,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},n.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},n.prototype.moveTo=a?n.prototype._transitionTo:n.prototype.goTo,n.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},n.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)},n.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 l=s&&function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(s)+",opacity";n.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:l,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(h,this,!1))},n.prototype.transition=n.prototype[r?"_transition":"_nonTransition"],n.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},n.prototype.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};n.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=d[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])}},n.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},n.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var y={transitionProperty:"",transitionDuration:""};return n.prototype.removeTransitionStyles=function(){this.css(y)},n.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},n.prototype.remove=function(){if(r&&parseFloat(this.layout.options.transitionDuration)){var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()}else this.removeElem()},n.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},n.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"})}}})},n.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}var i=t.getComputedStyle,o=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):(t.Outlayer={},t.Outlayer.Item=e(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){var e=[];
12if(function(t){return"[object Array]"===h.call(t)}(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,o=t.length;o>i;i++)e.push(t[i]);else e.push(t);return e}function o(t,e){var i=f(e,t);-1!==i&&e.splice(i,1)}function n(n,h,f,c,l,d){function y(t,i){if("string"==typeof t&&(t=r.querySelector(t)),t&&u(t)){this.element=t,this.options=e({},this.constructor.defaults),this.option(i);var o=++m;this.element.outlayerGUID=o,g[o]=this,this._create(),this.options.isInitLayout&&this.layout()}else s&&s.error("Bad "+this.constructor.namespace+" element: "+t)}var m=0,g={};return y.namespace="outlayer",y.Item=d,y.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},e(y.prototype,f.prototype),y.prototype.option=function(t){e(this.options,t)},y.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},y.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},y.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0,r=e.length;r>n;n++){var s=new i(e[n],this);o.push(s)}return o},y.prototype._filterFindItemElements=function(t){t=i(t);for(var e=this.options.itemSelector,o=[],n=0,r=t.length;r>n;n++){var s=t[n];if(u(s))if(e){l(s,e)&&o.push(s);for(var a=s.querySelectorAll(e),p=0,h=a.length;h>p;p++)o.push(a[p])}else o.push(s)}return o},y.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},y.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},y.prototype._init=y.prototype.layout,y.prototype._resetLayout=function(){this.getSize()},y.prototype.getSize=function(){this.size=c(this.element)},y.prototype._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):u(o)&&(i=o),this[t]=i?c(i)[e]:o):this[t]=0},y.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},y.prototype._getItemsForLayout=function(t){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i];n.isIgnored||e.push(n)}return e},y.prototype._layoutItems=function(t,e){function i(){o.emitEvent("layoutComplete",[o,t])}var o=this;if(t&&t.length){this._itemsOn(t,"layout",i);for(var n=[],r=0,s=t.length;s>r;r++){var a=t[r],p=this._getItemLayoutPosition(a);p.item=a,p.isInstant=e||a.isLayoutInstant,n.push(p)}this._processLayoutQueue(n)}else i()},y.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},y.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];this._positionItem(o.item,o.x,o.y,o.isInstant)}},y.prototype._positionItem=function(t,e,i,o){o?t.goTo(e,i):t.moveTo(e,i)},y.prototype._postLayout=function(){this.resizeContainer()},y.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},y.prototype._getContainerSize=p,y.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"}},y.prototype._itemsOn=function(t,e,i){function o(){return++n===r&&i.call(s),!0}for(var n=0,r=t.length,s=this,a=0,p=t.length;p>a;a++){t[a].on(e,o)}},y.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},y.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},y.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;i>e;e++){var o=t[e];this.ignore(o)}}},y.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var n=t[e];o(n,this.stamps),this.unignore(n)}},y.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=i(t)):void 0},y.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect
12();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},y.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)}},y.prototype._manageStamp=p,y.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=c(t);return{left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom}},y.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},y.prototype.bindResize=function(){this.isResizeBound||(n.bind(t,"resize",this),this.isResizeBound=!0)},y.prototype.unbindResize=function(){this.isResizeBound&&n.unbind(t,"resize",this),this.isResizeBound=!1},y.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},y.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},y.prototype.needsResizeLayout=function(){var t=c(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},y.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},y.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},y.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)}},y.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){t[i].reveal()}},y.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){t[i].hide()}},y.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];if(o.element===t)return o}},y.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i],r=this.getItem(n);r&&e.push(r)}return e}},y.prototype.remove=function(t){t=i(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var n=0,r=e.length;r>n;n++){var s=e[n];s.remove(),o(s,this.items)}}},y.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;i>e;e++){this.items[e].destroy()}this.unbindResize(),delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},y.data=function(t){var e=t&&t.outlayerGUID;return e&&g[e]},y.create=function(t,i){function o(){y.apply(this,arguments)}return Object.create?o.prototype=Object.create(y.prototype):e(o.prototype,y.prototype),o.prototype.constructor=o,o.defaults=e({},y.defaults),e(o.defaults,i),o.prototype.settings={},o.namespace=t,o.data=y.data,o.Item=function(){d.apply(this,arguments)},o.Item.prototype=new d,h(function(){for(var e=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}(t),i=r.querySelectorAll(".js-"+e),n="data-"+e+"-options",p=0,h=i.length;h>p;p++){var u,f=i[p],c=f.getAttribute(n);try{u=c&&JSON.parse(c)}catch(t){s&&s.error("Error parsing "+n+" on "+f.nodeName.toLowerCase()+(f.id?"#"+f.id:"")+": "+t);continue}var l=new o(f,u);a&&a.data(f,t,l)}}),a&&a.bridget&&a.bridget(t,o),o},y.Item=d,y}var r=t.document,s=t.console,a=t.jQuery,p=function(){},h=Object.prototype.toString,u="object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},f=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;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"],n):t.Outlayer=n(t.eventie,t.docReady,t.EventEmitter,t.getSize,t.matchesSelector,t.Outlayer.Item)}(window),function(t){function e(t){function e(){t.Item.apply(this,arguments)}return e.prototype=new t.Item,e.prototype._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 o=e[i];this.sortData[i]=o(this.element,this)}}},e}"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window),function(t){function e(t,e){function i(t){this.isotope=t,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 e.prototype[t].apply(this.isotope,arguments)}}for(var o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],n=0,r=o.length;r>n;n++){var s=o[n];i.prototype[s]=t(s)}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);
12return this.isotope.size&&e&&e.innerHeight!==this.isotope.size.innerHeight},i.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},i.prototype.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},i.prototype.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},i.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=new i,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window),function(t){function e(t,e){var o=t.create("masonry");return o.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},o.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},o.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,o=Math[e&&1>e?"round":"ceil"](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var n=this._getColGroup(o),r=Math.min.apply(Math,n),s=i(n,r),a={x:this.columnWidth*s,y:r},p=r+t.size.outerHeight,h=this.cols+1-n.length,u=0;h>u;u++)this.colYs[s+u]=p;return a},o.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;i>o;o++){var n=this.colYs.slice(o,o+t);e[o]=Math.max.apply(Math,n)}return e},o.prototype._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this.options.isOriginLeft?o.left:o.right,r=n+i.outerWidth,s=Math.floor(n/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var p=(this.options.isOriginTop?o.top:o.bottom)+i.outerHeight,h=s;a>=h;h++)this.colYs[h]=Math.max(p,this.colYs[h])},o.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},o.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},o}var i=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++){if(t[i]===e)return i}return-1};"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):t.Masonry=e(t.Outlayer,t.getSize)}(window),function(t){function e(t,e){var i=t.create("masonry"),o=i.prototype._getElementOffset,n=i.prototype.layout,r=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.layout=n,i.prototype._getMeasurement=r;var s=i.prototype.measureColumns;i.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)};var a=i.prototype._manageStamp;return i.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,a.apply(this,arguments)},i}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):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},e.prototype._getItemLayoutPosition=function(t){t.getSize(),0!==this.x&&t.size.outerWidth+this.x>this.isotope.size.innerWidth&&(this.x=0,this.y=this.maxY);var e={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=t.size.outerWidth,e},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):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):e(t.Isotope.LayoutMode)}(window),function(t){function e(t){var e=[];
12if(function(t){return"[object Array]"===a.call(t)}(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,o=t.length;o>i;i++)e.push(t[i]);else e.push(t);return e}function i(t,e){var i=p(e,t);-1!==i&&e.splice(i,1)}function o(t,o,a,p,h){var u=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=p,u.LayoutMode=h,u.prototype._create=function(){for(var e in this.itemGUID=0,this._sorters={},this._getSorters(),t.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],h.modes)this._initLayoutMode(e)},u.prototype.reloadItems=function(){this.itemGUID=0,t.prototype.reloadItems.call(this)},u.prototype._itemize=function(){for(var e=t.prototype._itemize.apply(this,arguments),i=0,o=e.length;o>i;i++){e[i].id=this.itemGUID++}return this._updateItemsSortData(e),e},u.prototype._initLayoutMode=function(t){var e=h.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)},u.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?void this.arrange():void this._layout()},u.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},u.prototype.arrange=function(t){this.option(t),this._getIsInstant(),this.filteredItems=this._filter(this.items),this._sort(),this._layout()},u.prototype._init=u.prototype.arrange,u.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},u.prototype._filter=function(t){function e(){f.reveal(n),f.hide(r)}var i=this.options.filter;i=i||"*";for(var o=[],n=[],r=[],s=this._getFilterTest(i),a=0,p=t.length;p>a;a++){var h=t[a];if(!h.isIgnored){var u=s(h);u&&o.push(h),u&&h.isHidden?n.push(h):u||h.isHidden||r.push(h)}}var f=this;return this._isInstant?this._noTransition(e):e(),o},u.prototype._getFilterTest=function(t){return n&&this.options.isJQueryFiltering?function(e){return n(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return a(e.element,t)}},u.prototype.updateSortData=function(t){this._getSorters(),t=e(t);var i=this.getItems(t);i=i.length?i:this.items,this._updateItemsSortData(i)},u.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},u.prototype._updateItemsSortData=function(t){for(var e=0,i=t.length;i>e;e++){t[e].updateSortData()}};var f=function(){return function(t){if("string"!=typeof t)return t;var e=r(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&s(i)}}(o&&o[1],i),a=u.sortDataParsers[e[1]];return a?function(t){return t&&a(n(t))}:function(t){return t&&n(t)}}}();u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},u.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=function(t,e){return function(i,o){for(var n=0,r=t.length;r>n;n++){var s=t[n],a=i.sortData[s],p=o.sortData[s];if(a>p||p>a)return(a>p?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}([].concat.apply(t,this.sortHistory),this.options.sortAscending);this.filteredItems.sort(e),t!==this.sortHistory[0]&&this.sortHistory.unshift(t)}},u.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw Error("No layout mode: "+t);return e.options=this.options[t],e},u.prototype._resetLayout=function(){t.prototype._resetLayout.call(this),this._mode()._resetLayout()},u.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},u.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},u.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},u.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},u.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},u.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 o=this._filterRevealAdded(e);this.layoutItems(i),this.filteredItems=o.concat(this.filteredItems)}},u.prototype._filterRevealAdded=function(t){var e=this._noTransition(function(){return this._filter(t)});return this.layoutItems(e,!0),this.reveal(e),t},u.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;n>i;i++)o=e[i],this.element.appendChild(o.element);var r=this._filter(e);for(this._noTransition(function(){this.hide(r)}),i=0;n>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;n>i;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var c=u.prototype.remove;return u.prototype.remove=function(t){t=e(t);var o=this.getItems(t);if(c.call(this,t),o&&o.length)for(var n=0,r=o.length;r>n;n++){i(o[n],this.filteredItems)}},u.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},u}var n=t.jQuery,r=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},s=document.documentElement.textContent?function(t){return t.textContent}:function(t){return t.innerText},a=Object.prototype.toString,p=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;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"],o):t.Isotope=o(t.Outlayer,t.getSize,t.matchesSelector,t.Isotope.Item,t.Isotope.LayoutMode)}(window);
13jQuery.effects||function(t,e){function n(e){var n;return e&&e.constructor==Array&&3==e.length?e:(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e))?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10)]:(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(e))?[2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3])]:(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e))?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(e))?[parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(e)?i.transparent:i[t.trim(e).toLowerCase()]}function a(){var t,e=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,n={};if(e&&e.length&&e[0]&&e[e[0]])for(var a=e.length;a--;
13)"string"==typeof e[t=e[a]]&&(n[t.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()})]=e[t]);else for(t in e)"string"==typeof e[t]&&(n[t]=e[t]);return n}function r(e){var n,a;for(n in e)(null==(a=e[n])||t.isFunction(a)||n in c||/scrollbar/.test(n)||!/color/i.test(n)&&isNaN(parseFloat(a)))&&delete e[n];return e}function s(e,n,a,r){return"object"==typeof e&&(r=n,a=null,e=(n=e).effect),t.isFunction(n)&&(r=n,a=null,n={}),("number"==typeof n||t.fx.speeds[n])&&(r=a,a=n,n={}),t.isFunction(a)&&(r=a,a=null),n=n||{},a=a||n.duration,[e,n,a=t.fx.off?0:"number"==typeof a?a:a in t.fx.speeds?t.fx.speeds[a]:t.fx.speeds._default,r=r||n.complete]}function o(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||"string"==typeof e&&!t.effects[e]}t.effects={},t.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(e,a){t.fx.step[a]=function(e){e.colorInit||(e.start=function(e,a){var r;do{if(""!=(r=t.curCSS(e,a))&&"transparent"!=r||t.nodeName(e,"body"))break;a="backgroundColor"}while(e=e.parentNode);return n(r)}(e.elem,a),e.end=n(e.end),e.colorInit=!0),e.elem.style[a]="rgb("+Math.max(Math.min(parseInt(e.pos*(e.end[0]-e.start[0])+e.start[0],10),255),0)+","+Math.max(Math.min(parseInt(e.pos*(e.end[1]-e.start[1])+e.start[1],10),255),0)+","+Math.max(Math.min(parseInt(e.pos*(e.end[2]-e.start[2])+e.start[2],10),255),0)+")"}});var i={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},u=["add","remove","toggle"],c={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.effects.animateClass=function(e,n,s,o){return t.isFunction(s)&&(o=s,s=null),this.queue(function(){var i,c=t(this),l=c.attr("style")||" ",f=r(a.call(this)),h=c.attr("class");t.each(u,function(t,n){e[n]&&c[n+"Class"](e[n])}),i=r(a.call(this)),c.attr("class",h),c.animate(function(t,e){var n,a={_:0};for(n in e)t[n]!=e[n]&&(a[n]=e[n]);return a}(f,i),{queue:!1,duration:n,easding:s,complete:function(){t.each(u,function(t,n){e[n]&&c[n+"Class"](e[n])}),"object"==typeof c.attr("style")?(c.attr("style").cssText="",c.attr("style").cssText=l):c.attr("style",l),o&&o.apply(this,arguments),t.dequeue(this)}})})},t.fn.extend({_addClass:t.fn.addClass,addClass:function(e,n,a,r){return n?t.effects.animateClass.apply(this,[{add:e},n,a,r]):this._addClass(e)},_removeClass:t.fn.removeClass,removeClass:function(e,n,a,r){return n?t.effects.animateClass.apply(this,[{remove:e},n,a,r]):this._removeClass(e)},_toggleClass:t.fn.toggleClass,toggleClass:function(n,a,r,s,o){return"boolean"==typeof a||a===e?r?t.effects.animateClass.apply(this,[a?{add:n}:{remove:n},r,s,o]):this._toggleClass(n,a):t.effects.animateClass.apply(this,[{toggle:n},a,r,s])},switchClass:function(e,n,a,r,s){return t.effects.animateClass.apply(this,[{add:n,remove:e},a,r,s])}}),t.extend(t.effects,{version:"1.8.13",save:function(t,e){for(var n=0;n<e.length;n++)null!==e[n]&&t.data("ec.storage."+e[n],t[0].style[e[n]])},restore:function(t,e){for(var n=0;n<e.length;n++)null!==e[n]&&t.css(e[n],t.data("ec.storage."+e[n]))},setMode:function(t,e){return"toggle"==e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var n;switch(t[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=t[0]/e.height}switch(t[1]){case"left":t=0;break;case"center":t=.5;break;case"right":t=1;break;default:t=t[1]/e.width}return{x:t,y:n}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var n={width:e.outerWidth(!0),height:e.outerHeight(!0),float:e.css("float")}
13,a=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});return e.wrap(a),a=e.parent(),"static"==e.css("position")?(a.css({position:"relative"}),e.css({position:"relative"})):(t.extend(n,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,a){n[a]=e.css(a),isNaN(parseInt(n[a],10))&&(n[a]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),a.css(n).show()},removeWrapper:function(t){return t.parent().is(".ui-effects-wrapper")?t.parent().replaceWith(t):t},setTransition:function(e,n,a,r){return r=r||{},t.each(n,function(t,n){unit=e.cssUnit(n),unit[0]>0&&(r[n]=unit[0]*a+unit[1])}),r}}),t.fn.extend({effect:function(e){var n=s.apply(this,arguments),a={options:n[1],duration:n[2],callback:n[3]};n=a.options.mode;var r=t.effects[e];return t.fx.off||!r?n?this[n](a.duration,a.callback):this.each(function(){a.callback&&a.callback.call(this)}):r.call(this,a)},_show:t.fn.show,show:function(t){if(o(t))return this._show.apply(this,arguments);var e=s.apply(this,arguments);return e[1].mode="show",this.effect.apply(this,e)},_hide:t.fn.hide,hide:function(t){if(o(t))return this._hide.apply(this,arguments);var e=s.apply(this,arguments);return e[1].mode="hide",this.effect.apply(this,e)},__toggle:t.fn.toggle,toggle:function(e){if(o(e)||"boolean"==typeof e||t.isFunction(e))return this.__toggle.apply(this,arguments);var n=s.apply(this,arguments);return n[1].mode="toggle",this.effect.apply(this,n)},cssUnit:function(e){var n=this.css(e),a=[];return t.each(["em","px","%","pt"],function(t,e){n.indexOf(e)>0&&(a=[parseFloat(n),e])}),a}}),t.easing.jswing=t.easing.swing,t.extend(t.easing,{def:"easeOutQuad",swing:function(e,n,a,r,s){return t.easing[t.easing.def](e,n,a,r,s)},easeInQuad:function(t,e,n,a,r){return a*(e/=r)*e+n},easeOutQuad:function(t,e,n,a,r){return-a*(e/=r)*(e-2)+n},easeInOutQuad:function(t,e,n,a,r){return(e/=r/2)<1?a/2*e*e+n:-a/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,a,r){return a*(e/=r)*e*e+n},easeOutCubic:function(t,e,n,a,r){return a*((e=e/r-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,a,r){return(e/=r/2)<1?a/2*e*e*e+n:a/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,a,r){return a*(e/=r)*e*e*e+n},easeOutQuart:function(t,e,n,a,r){return-a*((e=e/r-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,a,r){return(e/=r/2)<1?a/2*e*e*e*e+n:-a/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,a,r){return a*(e/=r)*e*e*e*e+n},easeOutQuint:function(t,e,n,a,r){return a*((e=e/r-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,a,r){return(e/=r/2)<1?a/2*e*e*e*e*e+n:a/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,a,r){return-a*Math.cos(e/r*(Math.PI/2))+a+n},easeOutSine:function(t,e,n,a,r){return a*Math.sin(e/r*(Math.PI/2))+n},easeInOutSine:function(t,e,n,a,r){return-a/2*(Math.cos(Math.PI*e/r)-1)+n},easeInExpo:function(t,e,n,a,r){return 0==e?n:a*Math.pow(2,10*(e/r-1))+n},easeOutExpo:function(t,e,n,a,r){return e==r?n+a:a*(1-Math.pow(2,-10*e/r))+n},easeInOutExpo:function(t,e,n,a,r){return 0==e?n:e==r?n+a:(e/=r/2)<1?a/2*Math.pow(2,10*(e-1))+n:a/2*(2-Math.pow(2,-10*--e))+n},easeInCirc:function(t,e,n,a,r){return-a*(Math.sqrt(1-(e/=r)*e)-1)+n},easeOutCirc:function(t,e,n,a,r){return a*Math.sqrt(1-(e=e/r-1)*e)+n},easeInOutCirc:function(t,e,n,a,r){return(e/=r/2)<1?-a/2*(Math.sqrt(1-e*e)-1)+n:a/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,a,r){t=1.70158;var s=0,o=a;return 0==e?n:1==(e/=r)?n+a:(s||(s=.3*r),o<Math.abs(a)?(o=a,t=s/4):t=s/(2*Math.PI)*Math.asin(a/o),-o*Math.pow(2,10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/s)+n)},easeOutElastic:function(t,e,n,a,r){t=1.70158;var s=0,o=a;return 0==e?n:1==(e/=r)?n+a:(s||(s=.3*r),o<Math.abs(a)?(o=a,t=s/4):t=s/(2*Math.PI)*Math.asin(a/o),o*Math.pow(2,-10*e)*Math.sin(2*(e*r-t)*Math.PI/s)+a+n)},easeInOutElastic:function(t,e,n,a,r){t=1.70158;var s=0,o=a;return 0==e?n:2==(e/=r/2)?n+a:(s||(s=.3*r*1.5),o<Math.abs(a)?(o=a,t=s/4):t=s/(2*Math.PI)*Math.asin(a/o),e<1?-.5*o*Math.pow(2,10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/s)+n:o*Math.pow(2,-10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/s)*.5+a+n)},easeInBack:function(t,n,a,r,s,o){return o==e&&(o=1.70158),r*(n/=s)*n*((o+1)*n-o)+a},easeOutBack:function(t,n,a,r,s,o){return o==e&&(o=1.70158),r*((n=n/s-1)*n*((o+1)*n+o)+1)+a},easeInOutBack:function(t,n,a,r,s,o){return o==e&&(o=1.70158),(n/=s/2)<1?r/2*n*n*((1+(o*=1.525))*n-o)+a:r/2*((n-=2)*n*((1+(o*=1.525))*n+o)+2)+a},easeInBounce:function(e,n,a,r,s){return r-t.easing.easeOutBounce(e,s-n,0,r,s)+a},easeOutBounce:function(t,e,n,a,r){return(e/=r)<1/2.75?7.5625*a*e*e+n:e<2/2.75?a*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?a*(7.5625*(e-=2.25/2.75)*e+.9375)+n:a*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(e,n,a,r,s){return n<s/2?.5*t.easing.easeInBounce(e,2*n,0,r,s)+a:.5*t.easing.easeOutBounce(e,2*n-s,0,r,s)+.5*r+a}})}(jQuery);
14function findPos(t){var o=curtop=0;if(t.offsetParent)for(o=t.offsetLeft,curtop=t.offsetTop;t=t.offsetParent;)o+=t.offsetLeft,curtop+=t.offsetTop;return[curtop,o]}!function(t){t.fn.thumbnailScroller=function(o){o=t.extend({scrollerType:"hoverPrecise",scrollerOrientation:"horizontal",scrollEasing:"easeOutCirc",scrollEasingAmou
14nt:800,acceleration:2,scrollSpeed:600,noScrollCenterSpace:0,autoScrolling:0,autoScrollingSpeed:8e3,autoScrollingEasing:"easeInOutQuad",autoScrollingDelay:2500},o);return this.each(function(){var e=t(this),i=e.children(".jTscrollerContainer"),l=e.children(".jTscrollerContainer").children(".jTscroller"),n=e.children(".jTscrollerNextButton"),s=e.children(".jTscrollerPrevButton");if("horizontal"==o.scrollerOrientation){i.css("width",999999);var r=l.outerWidth(!0);i.css("width",r)}else r=l.outerWidth(!0);var a,c,h=l.outerHeight(!0);if(r>e.width()||h>e.height()){var p,d,f;if("hoverAccelerate"==o.scrollerType){var u,g=8;e.hover(function(){e.mousemove(function(t){p=findPos(this),d=t.pageX-p[1],f=t.pageY-p[0]}),clearInterval(u),u=setInterval(S,g)},function(){clearInterval(u),l.stop()}),s.add(n).hide()}else"clickButtons"==o.scrollerType?(s.hide(),n.show(),n.click(function(t){t.preventDefault();var i=l.position().left,a=r+(i-e.width()),c=l.position().top,p=h+(c-e.height());s.stop().show("fast"),"horizontal"==o.scrollerOrientation?a>=e.width()?l.stop().animate({left:"-="+e.width()},o.scrollSpeed,o.scrollEasing,function(){a==e.width()&&n.stop().hide("fast")}):(n.stop().hide("fast"),l.stop().animate({left:e.width()-r},o.scrollSpeed,o.scrollEasing)):p>=e.height()?l.stop().animate({top:"-="+e.height()},o.scrollSpeed,o.scrollEasing,function(){p==e.height()&&n.stop().hide("fast")}):(n.stop().hide("fast"),l.stop().animate({top:e.height()-h},o.scrollSpeed,o.scrollEasing))}),s.click(function(t){t.preventDefault();var i=l.position().left,r=(e.width(),l.position().top);e.height(),n.stop().show("fast"),"horizontal"==o.scrollerOrientation?i+e.width()<=0?l.stop().animate({left:"+="+e.width()},o.scrollSpeed,o.scrollEasing,function(){i+e.width()==0&&s.stop().hide("fast")}):(s.stop().hide("fast"),l.stop().animate({left:0},o.scrollSpeed,o.scrollEasing)):r+e.height()<=0?l.stop().animate({top:"+="+e.height()},o.scrollSpeed,o.scrollEasing,function(){r+e.height()==0&&s.stop().hide("fast")}):(s.stop().hide("fast"),l.stop().animate({top:0},o.scrollSpeed,o.scrollEasing))})):(p=findPos(this),e.mousemove(function(t){d=t.pageX-p[1],f=t.pageY-p[0];var i=d/e.width();i>1&&(i=1);var n=f/e.height();n>1&&(n=1);var s=Math.round(-(r-e.width())*i),a=Math.round(-(h-e.height())*n);l.stop(!0,!1).animate({left:s,top:a},o.scrollEasingAmount,o.scrollEasing)}),s.add(n).hide());o.autoScrolling>0&&function t(){l.delay(o.autoScrollingDelay).animate({left:-(r-e.width()),top:-(h-e.height())},o.autoScrollingSpeed,o.autoScrollingEasing,function(){l.animate({left:0,top:0},o.autoScrollingSpeed,o.autoScrollingEasing,function(){w++,o.autoScrolling>1&&o.autoScrolling!=w&&t()})})}()}else s.add(n).hide();function S(){d<e.width()/2&&l.position().left>=0?l.stop(!0,!0).css("left",0):d>e.width()/2&&l.position().left<=-(r-e.width())?l.stop(!0,!0).css("left",-(r-e.width())):d<=e.width()/2-o.noScrollCenterSpace||d>=e.width()/2+o.noScrollCenterSpace?(a=Math.round(Math.cos(d/e.width()*Math.PI)*(g+o.acceleration)),l.stop(!0,!0).animate({left:"+="+a},g,"linear")):l.stop(!0,!0),f<e.height()/2&&l.position().top>=0?l.stop(!0,!0).css("top",0):f>e.height()/2&&l.position().top<=-(h-e.height())?l.stop(!0,!0).css("top",-(h-e.height())):f<=e.height()/2-o.noScrollCenterSpace||f>=e.height()/2+o.noScrollCenterSpace?(c=Math.cos(f/e.height()*Math.PI)*(g+o.acceleration),l.stop(!0,!0).animate({top:"+="+c},g,"linear")):l.stop(!0,!0)}var w=0})}}(jQuery);
15!function(e){var t,i,n,o,a,r,s,l="Close",c="BeforeClose",d="MarkupParse",u="Open",p="Change",f="mfp",m="."+f,g="mfp-ready",h="mfp-removing",v="mfp-prevent-close",C=function(){},y=!!window.jQuery,w=e(window),b=function(e,i){t.ev.on(f+e+m,i)},I=function(t,i,n,o){var a=document.createElement("div");return a.className="mfp-"+t,n&&(a.innerHTML=n),o?i&&i.appendChild(a):(a=e(a),i&&a.appendTo(i)),a},x=function(i,n){t.ev.triggerHandler(f+i,n),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,e.isArray(n)?n:[n]))},k=function(i){return i===s&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),s=i),t.currTemplate.closeBtn},T=function(){e.magnificPopup.instance||((t=new C).init(),e.magnificPopup.instance=t)};C.prototype={constructor:C,init:function(){var i=navigator.appVersion;t.isIE7=-1!==i.indexOf("MSIE 7."),t.isIE8=-1!==i.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),o=e(document),t.popupsCache={}},open:function(i){var a;
15if(n||(n=e(document.body)),!1===i.isObj){t.items=i.items.toArray(),t.index=0;var s,l=i.items;for(a=0;l.length>a;a++)if((s=l[a]).parsed&&(s=s.el[0]),s===i.el[0]){t.index=a;break}}else t.items=e.isArray(i.items)?i.items:[i.items],t.index=i.index||0;if(!t.isOpen){t.types=[],r="",t.ev=i.mainEl&&i.mainEl.length?i.mainEl.eq(0):o,i.key?(t.popupsCache[i.key]||(t.popupsCache[i.key]={}),t.currTemplate=t.popupsCache[i.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,i),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=I("bg").on("click"+m,function(){t.close()}),t.wrap=I("wrap").attr("tabindex",-1).on("click"+m,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=I("container",t.wrap)),t.contentContainer=I("content"),t.st.preloader&&(t.preloader=I("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(a=0;c.length>a;a++){var p=c[a];p=p.charAt(0).toUpperCase()+p.slice(1),t["init"+p].call(t)}x("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(b(d,function(e,t,i,n){i.close_replaceWith=k(n.type)}),r+=" mfp-close-btn-in"):t.wrap.append(k())),t.st.alignTop&&(r+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:w.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey&&o.on("keyup"+m,function(e){27===e.keyCode&&t.close()}),w.on("resize"+m,function(){t.updateSize()}),t.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&t.wrap.addClass(r);var f=t.wH=w.height(),h={};if(t.fixedContentPos&&t._hasScrollBar(f)){var v=t._getScrollbarSize();v&&(h.marginRight=v)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):h.overflow="hidden");var C=t.st.mainClass;return t.isIE7&&(C+=" mfp-ie7"),C&&t._addClassToMFP(C),t.updateItemHTML(),x("BuildControls"),e("html").css(h),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||n),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(g),t._setFocus()):t.bgOverlay.addClass(g),o.on("focusin"+m,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(f),x(u),i}t.updateItemHTML()},close:function(){t.isOpen&&(x(c),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(h),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){x(l);var i=h+" "+g+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos){var n={marginRight:""};t.isIE7?e("body, html").css("overflow",""):n.overflow="",e("html").css(n)}o.off("keyup.mfp focusin"+m),t.ev.off(m),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,x("AfterClose")},updateSize:function(e){if(t.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;t.wrap.css("height",n),t.wH=n}else t.wH=e||w.height();t.fixedContentPos||t.wrap.css("height",t.wH),x("Resize")},updateItemHTML:function(){var i=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),i.parsed||(i=t.parseEl(t.index));var n=i.type;if(x("BeforeChange",[t.currItem?t.currItem.type:"",n]),t.currItem=i,!t.currTemplate[n]){var o=!!t.st[n]&&t.st[n].markup;x("FirstMarkupParse",o),t.currTemplate[n]=!o||e(o)}a&&a!==i.type&&t.container.removeClass("mfp-"+a+"-holder");var r=t["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,t.currTemplate[n]);t.appendContent(r,n),i.preloaded=!0,x(p,i),a=i.type,t.container.prepend(t.contentContainer),x("AfterChange")},appendContent:function(e,i){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[i]?t.content.find(".mfp-close").length||t.content.append(k()):t.content=e:t.content="",x("BeforeAppend"),t.container.addClass("mfp-"+i+"-holder"),t.contentContainer.append(t.content)},parseEl:function(i){var n,o=t.items[i];if(o.tagName?o={el:e(o)}:(n=o.type,o={data:o,src:o.src}
15),o.el){for(var a=t.types,r=0;a.length>r;r++)if(o.el.hasClass("mfp-"+a[r])){n=a[r];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||t.st.type||"inline",o.index=i,o.parsed=!0,t.items[i]=o,x("ElementParse",o),t.items[i]},addGroup:function(e,i){var n=function(n){n.mfpEl=this,t._openClick(n,e,i)};i||(i={});var o="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(o).on(o,n)):(i.isObj=!1,i.delegate?e.off(o).on(o,i.delegate,n):(i.items=e,e.off(o).on(o,n)))},_openClick:function(i,n,o){if((void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick)||2!==i.which&&!i.ctrlKey&&!i.metaKey){var a=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(a>w.width())return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),o.el=e(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),t.open(o)}},updateStatus:function(e,n){if(t.preloader){i!==e&&t.container.removeClass("mfp-s-"+i),n||"loading"!==e||(n=t.st.tLoading);var o={status:e,text:n};x("UpdateStatus",o),e=o.status,n=o.text,t.preloader.html(n),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(i){if(!e(i).hasClass(v)){var n=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(n&&o)return!0;if(!t.content||e(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||e.contains(t.content[0],i)){if(n)return!0}else if(o&&e.contains(document,i))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?o.height():document.body.scrollHeight)>(e||w.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){return i.target===t.wrap[0]||e.contains(t.wrap[0],i.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,i,n){var o;n.data&&(i=e.extend(n.data,i)),x(d,[t,i,n]),e.each(i,function(e,i){if(void 0===i||!1===i)return!0;if((o=e.split("_")).length>1){var n=t.find(m+"-"+o[0]);if(n.length>0){var a=o[1];"replaceWith"===a?n[0]!==i[0]&&n.replaceWith(i):"img"===a?n.is("img")?n.attr("src",i):n.replaceWith('<img src="'+i+'" class="'+n.attr("class")+'" />'):n.attr(o[1],i)}}else t.find(m+"-"+e).html(i)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.id="mfp-sbm",e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:C.prototype,modules:[],open:function(t,i){return T(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(e.magnificPopup.defaults[t]=i.options),e.extend(this.proto,i.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">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(i){T();var n=e(this);if("string"==typeof i)if("open"===i){var o,a=y?n.data("magnificPopup"):n[0].magnificPopup,r=parseInt(arguments[1],10)||0;a.items?o=a.items[r]:(o=n,a.delegate&&(o=o.find(a.delegate)),o=o.eq(r)),t._openClick({mfpEl:o},n,a)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),y?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var E,_,S,P="inline",O=function(){S&&(_.after(S.addClass(E)).detach(),S=null)};e.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(P),b(l+"."+P,function(){O()})},getInline:function(i,n){if(O(),i.src){var o=t.st.inline,a=e(i.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(_||(E=o.hiddenClass,_=I(E),E="mfp-"+E),S=a.after(_).detach().removeClass(E)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),a=e("<div>");return i.inlineElement=a,a}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var z,M="ajax",B=function(){z&&n.removeClass(z)},F=function(){B(),t.req&&t.req.abort()};e.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(M),z=t.st.ajax.cursor,b(l+"."+M,F),b("BeforeChange."+M,F)},getAjax:function(i){z&&n.addClass(z),t.updateStatus("loading");var o=e.extend({url:i.src,success:function(n,o,a){var r={data:n,xhr:a};x("ParseAjax",r),t.appendContent(e(r.data),M),i.finished=!0,B(),t._setFocus(),setTimeout(function(){t.wrap.addClass(g)},16),t.updateStatus("ready"),x("AjaxContentAdded")},error:function(){B(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(o),""}}});var H,L=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;
15var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.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 e=t.st.image,i=".image";t.types.push("image"),b(u+i,function(){"image"===t.currItem.type&&e.cursor&&n.addClass(e.cursor)}),b(l+i,function(){e.cursor&&n.removeClass(e.cursor),w.off("resize"+m)}),b("Resize"+i,t.resizeImage),t.isLowIE&&b("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,H&&clearInterval(H),e.isCheckingImgSize=!1,x("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(a){H&&clearInterval(H),H=setInterval(function(){return n.naturalWidth>0?void t._onImageHasSize(e):(i>200&&clearInterval(H),void(3===++i?o(10):40===i?o(50):100===i&&o(500)))},a)};o(1)},getImage:function(i,n){var o=0,a=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,x("ImageLoadComplete")):200>++o?setTimeout(a,100):r())},r=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",s.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},s=t.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.img=e(c).on("load.mfploader",a).on("error.mfploader",r),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),(c=i.img[0]).naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:L(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(H&&clearInterval(H),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}});var A;e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var o,a,r=i.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},a="transition";return o["-webkit-"+a]=o["-moz-"+a]=o["-o-"+a]=o[a]=n,t.css(o),t},d=function(){t.content.css("visibility","visible")};b("BuildControls"+n,function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void d();(a=s(e)).css(t._getOffset()),t.wrap.append(a),o=setTimeout(function(){a.css(t._getOffset(!0)),o=setTimeout(function(){d(),setTimeout(function(){a.remove(),e=a=null,x("ZoomAnimationEnded")},16)},r)},16)}}),b(c+n,function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;a=s(e)}a.css(t._getOffset(!0)),t.wrap.append(a),t.content.css("visibility","hidden"),setTimeout(function(){a.css(t._getOffset())},16)}}),b(l+n,function(){t._allowZoom()&&(d(),a&&a.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n,o=(n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),a=parseInt(n.css("padding-top"),10),r=parseInt(n.css("padding-bottom"),10);o.top-=e(window).scrollTop()-a;var s={width:n.width(),height:(y?n.innerHeight():n[0].offsetHeight)-r-a};return void 0===A&&(A=void 0!==document.createElement("p").style.MozTransform),A?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var j="iframe",N=function(e){if(t.currTemplate[j]){var i=t.currTemplate[j].find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(j,{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(){t.types.push(j),b("BeforeChange",function(e,t,i){t!==i&&(t===j?N():i===j&&N(!0))}),b(l+"."+j,function(){N()})},getIframe:function(i,n){var o=i.src,a=t.st.iframe;e.each(a.patterns,function(){return o.indexOf(this.index)>-1?(this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id
15)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1):void 0});var r={};return a.srcAction&&(r[a.srcAction]=o),t._parseMarkup(n,r,i),t.updateStatus("ready"),n}}});var W=function(e){var i=t.items.length;return e>i-1?e-i:0>e?i+e:e},R=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.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 i=t.st.gallery,n=".mfp-gallery",a=Boolean(e.fn.mfpFastClick);return t.direction=!0,!(!i||!i.enabled)&&(r+=" mfp-gallery",b(u+n,function(){i.navigateByImgClick&&t.wrap.on("click"+n,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),o.on("keydown"+n,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),b("UpdateStatus"+n,function(e,i){i.text&&(i.text=R(i.text,t.currItem.index,t.items.length))}),b(d+n,function(e,n,o,a){var r=t.items.length;o.counter=r>1?R(i.tCounter,a.index,r):""}),b("BuildControls"+n,function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,o=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(v),r=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(v),s=a?"mfpFastClick":"click";o[s](function(){t.prev()}),r[s](function(){t.next()}),t.isIE7&&(I("b",o[0],!1,!0),I("a",o[0],!1,!0),I("b",r[0],!1,!0),I("a",r[0],!1,!0)),t.container.append(o.add(r))}}),b(p+n,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),void b(l+n,function(){o.off(n),t.wrap.off("click"+n),t.arrowLeft&&a&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}))},next:function(){t.direction=!0,t.index=W(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=W(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),o=Math.min(i[1],t.items.length);for(e=1;(t.direction?o:n)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?n:o)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=W(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),x("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,x("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var Z="retina";e.magnificPopup.registerModule(Z,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;(i=isNaN(i)?i():i)>1&&(b("ImageHasSize."+Z,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),b("ElementParse."+Z,function(t,n){n.src=e.replaceSrc(n,i)}))}}}}),function(){var t="ontouchstart"in window,i=function(){w.off("touchmove"+n+" touchend"+n)},n=".mfpFastClick";e.fn.mfpFastClick=function(o){return e(this).each(function(){var a,r,s,l,c,d,u,p=e(this);t&&p.on("touchstart"+n,function(e){c=!1,u=1,d=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],s=d.clientX,l=d.clientY,w.on("touchmove"+n,function(e){d=e.originalEvent?e.originalEvent.touches:e.touches,u=d.length,d=d[0],(Math.abs(d.clientX-s)>10||Math.abs(d.clientY-l)>10)&&(c=!0,i())}).on("touchend"+n,function(e){i(),c||u>1||(a=!0,e.preventDefault(),clearTimeout(r),r=setTimeout(function(){a=!1},1e3),o())})});p.on("click"+n,function(){a||o()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+n+" click"+n),t&&w.off("touchmove"+n+" touchend"+n)}}(),T()}(window.jQuery||window.Zepto);
16(function(e,t){var n=n||function(n){var a,s={element:null,dragger:null,disable:"none",addBodyClasses:!0,hyperextensible:!0,resistance:.5,flickThreshold:50,transitionSpeed:.3,easing:"ease",maxPosition:266,minPosition:-266,tapToClose:!0,touchToDrag:!0,slideIntent:40,minDragDistance:5},r={simpleStates:{opening:null,towards:null,hyperExtending:null,halfway:null,flick:null,translation:{absolute:0,relative:0,sinceDirectionChange:0,percentage:0}}},i={},o={hasTouch:null===t.ontouchstart,eventType:function(e){return{down:o.hasTouch?"touchstart":"mousedown",move:o.hasTouch?"touchmove":"mousemove",up:o.hasTouch?"touchend":"mou
16seup",out:o.hasTouch?"touchcancel":"mouseout"}[e]},page:function(e,t){return o.hasTouch&&t.touches.length&&t.touches[0]?t.touches[0]["page"+e]:t["page"+e]},klass:{has:function(e,t){return-1!==e.className.indexOf(t)},add:function(e,t){!o.klass.has(e,t)&&s.addBodyClasses&&(e.className+=" "+t)},remove:function(e,t){s.addBodyClasses&&(e.className=e.className.replace(t,"").replace(/^\s+|\s+$/g,""))}},dispatchEvent:function(e){if("function"==typeof i[e])return i[e].call()},vendor:function(){var e,n=t.createElement("div"),a="webkit Moz O ms".split(" ");for(e in a)if(void 0!==n.style[a[e]+"Transition"])return a[e]},transitionCallback:function(){return"Moz"===r.vendor||"ms"===r.vendor?"transitionend":r.vendor+"TransitionEnd"},canTransform:function(){return void 0!==s.element.style[r.vendor+"Transform"]},deepExtend:function(e,t){var n;for(n in t)t[n]&&t[n].constructor&&t[n].constructor===Object?(e[n]=e[n]||{},o.deepExtend(e[n],t[n])):e[n]=t[n];return e},angleOfDrag:function(e,t){var n,a;return(a=Math.atan2(-(r.startDragY-t),r.startDragX-e))<0&&(a+=2*Math.PI),(n=Math.floor(a*(180/Math.PI)-180))<0&&n>-180&&(n=360-Math.abs(n)),Math.abs(n)},events:{addEvent:function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):void 0},removeEvent:function(e,t,n){return e.addEventListener?e.removeEventListener(t,n,!1):e.attachEvent?e.detachEvent("on"+t,n):void 0},prevent:function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},parentUntil:function(e,t){for(var n="string"==typeof t;e.parentNode;){if(n&&e.getAttribute&&e.getAttribute(t))return e;if(!n&&e===t)return e;e=e.parentNode}return null}},l={translate:{get:{matrix:function(t){if(o.canTransform()){var n=e.getComputedStyle(s.element)[r.vendor+"Transform"].match(/\((.*)\)/);return n?(16===(n=n[1].split(",")).length&&(t+=8),parseInt(n[t],10)):0}return parseInt(s.element.style.left,10)}},easeCallback:function(){s.element.style[r.vendor+"Transition"]="",r.translation=l.translate.get.matrix(4),r.easing=!1,clearInterval(r.animatingInterval),0===r.easingTo&&(o.klass.remove(t.body,"snapjs-right"),o.klass.remove(t.body,"snapjs-left")),o.dispatchEvent("animated"),o.events.removeEvent(s.element,o.transitionCallback(),l.translate.easeCallback)},easeTo:function(e){o.canTransform()?(r.easing=!0,r.easingTo=e,s.element.style[r.vendor+"Transition"]="all "+s.transitionSpeed+"s "+s.easing,r.animatingInterval=setInterval(function(){o.dispatchEvent("animating")},1),o.events.addEvent(s.element,o.transitionCallback(),l.translate.easeCallback),l.translate.x(e)):(r.translation=e,l.translate.x(e)),0===e&&(s.element.style[r.vendor+"Transform"]="")},x:function(n){if(!("left"===s.disable&&n>0||"right"===s.disable&&n<0))if(s.hyperextensible||(n===s.maxPosition||n>s.maxPosition?n=s.maxPosition:(n===s.minPosition||n<s.minPosition)&&(n=s.minPosition)),n=parseInt(n,10),isNaN(n)&&(n=0),o.canTransform()){var a="translate3d("+n+"px, 0,0)";s.element.style[r.vendor+"Transform"]=a}else s.element.style.width=(e.innerWidth||t.documentElement.clientWidth)+"px",s.element.style.left=n+"px",s.element.style.right=""}},drag:{listen:function(){r.translation=0,r.easing=!1,o.events.addEvent(s.element,o.eventType("down"),l.drag.startDrag),o.events.addEvent(s.element,o.eventType("move"),l.drag.dragging),o.events.addEvent(s.element,o.eventType("up"),l.drag.endDrag)},stopListening:function(){o.events.removeEvent(s.element,o.eventType("down"),l.drag.startDrag),o.events.removeEvent(s.element,o.eventType("move"),l.drag.dragging),o.events.removeEvent(s.element,o.eventType("up"),l.drag.endDrag)},startDrag:function(e){var t=e.target?e.target:e.srcElement;if(o.parentUntil(t,"data-snap-ignore"))o.dispatchEvent("ignore");else{if(s.dragger)if(!o.parentUntil(t,s.dragger)&&r.translation!==s.minPosition&&r.translation!==s.maxPosition)return;o.dispatchEvent("start"),s.element.style[r.vendor+"Transition"]="",r.isDragging=!0,r.hasIntent=null,r.intentChecked=!1,r.startDragX=o.page("X",e),r.startDragY=o.page("Y",e),r.dragWatchers={current:0,last:0,hold:0,state:""},r.simpleStates={opening:null,towards:null,hyperExtending:null,halfway:null,flick:null,translation:{absolute:0,relative:0,sinceDirectionChange:0,percentage:0}}}},dragging:function(e){if(r.isDragging&&s.touchToDrag){var n=o.page("X",e),a=o.page("Y",e),i=r.translation,d=l.translate.get.matrix(4),c=n-r.startDragX,g=d>0,h=c;
16if(r.intentChecked&&!r.hasIntent)return;if(s.addBodyClasses&&(d>0?(o.klass.add(t.body,"snapjs-left"),o.klass.remove(t.body,"snapjs-right")):d<0&&(o.klass.add(t.body,"snapjs-right"),o.klass.remove(t.body,"snapjs-left"))),!1===r.hasIntent||null===r.hasIntent){var p=o.angleOfDrag(n,a),m=p>=0&&p<=s.slideIntent||p<=360&&p>360-s.slideIntent,u=p>=180&&p<=180+s.slideIntent||p<=180&&p>=180-s.slideIntent;r.hasIntent=!(!u&&!m),r.intentChecked=!0}if(s.minDragDistance>=Math.abs(n-r.startDragX)||!1===r.hasIntent)return;o.events.prevent(e),o.dispatchEvent("drag"),r.dragWatchers.current=n,r.dragWatchers.last>n?("left"!==r.dragWatchers.state&&(r.dragWatchers.state="left",r.dragWatchers.hold=n),r.dragWatchers.last=n):r.dragWatchers.last<n&&("right"!==r.dragWatchers.state&&(r.dragWatchers.state="right",r.dragWatchers.hold=n),r.dragWatchers.last=n),g?(s.maxPosition<d&&(h=c-(d-s.maxPosition)*s.resistance),r.simpleStates={opening:"left",towards:r.dragWatchers.state,hyperExtending:s.maxPosition<d,halfway:d>s.maxPosition/2,flick:Math.abs(r.dragWatchers.current-r.dragWatchers.hold)>s.flickThreshold,translation:{absolute:d,relative:c,sinceDirectionChange:r.dragWatchers.current-r.dragWatchers.hold,percentage:d/s.maxPosition*100}}):(s.minPosition>d&&(h=c-(d-s.minPosition)*s.resistance),r.simpleStates={opening:"right",towards:r.dragWatchers.state,hyperExtending:s.minPosition>d,halfway:d<s.minPosition/2,flick:Math.abs(r.dragWatchers.current-r.dragWatchers.hold)>s.flickThreshold,translation:{absolute:d,relative:c,sinceDirectionChange:r.dragWatchers.current-r.dragWatchers.hold,percentage:d/s.minPosition*100}}),l.translate.x(h+i)}},endDrag:function(e){if(r.isDragging){o.dispatchEvent("end");var t=l.translate.get.matrix(4);if(0===r.dragWatchers.current&&0!==t&&s.tapToClose)return o.dispatchEvent("close"),o.events.prevent(e),l.translate.easeTo(0),r.isDragging=!1,void(r.startDragX=0);"left"===r.simpleStates.opening?r.simpleStates.halfway||r.simpleStates.hyperExtending||r.simpleStates.flick?r.simpleStates.flick&&"left"===r.simpleStates.towards?l.translate.easeTo(0):(r.simpleStates.flick&&"right"===r.simpleStates.towards||r.simpleStates.halfway||r.simpleStates.hyperExtending)&&l.translate.easeTo(s.maxPosition):l.translate.easeTo(0):"right"===r.simpleStates.opening&&(r.simpleStates.halfway||r.simpleStates.hyperExtending||r.simpleStates.flick?r.simpleStates.flick&&"right"===r.simpleStates.towards?l.translate.easeTo(0):(r.simpleStates.flick&&"left"===r.simpleStates.towards||r.simpleStates.halfway||r.simpleStates.hyperExtending)&&l.translate.easeTo(s.minPosition):l.translate.easeTo(0)),r.isDragging=!1,r.startDragX=o.page("X",e)}}}};this.open=function(e){o.dispatchEvent("open"),o.klass.remove(t.body,"snapjs-expand-left"),o.klass.remove(t.body,"snapjs-expand-right"),"left"===e?(r.simpleStates.opening="left",r.simpleStates.towards="right",o.klass.add(t.body,"snapjs-left"),o.klass.remove(t.body,"snapjs-right"),l.translate.easeTo(s.maxPosition)):"right"===e&&(r.simpleStates.opening="right",r.simpleStates.towards="left",o.klass.remove(t.body,"snapjs-left"),o.klass.add(t.body,"snapjs-right"),l.translate.easeTo(s.minPosition))},this.close=function(){o.dispatchEvent("close"),l.translate.easeTo(0)},this.expand=function(n){var a=e.innerWidth||t.documentElement.clientWidth;"left"===n?(o.dispatchEvent("expandLeft"),o.klass.add(t.body,"snapjs-expand-left"),o.klass.remove(t.body,"snapjs-expand-right")):(o.dispatchEvent("expandRight"),o.klass.add(t.body,"snapjs-expand-right"),o.klass.remove(t.body,"snapjs-expand-left"),a*=-1),l.translate.easeTo(a)},this.on=function(e,t){return i[e]=t,this},this.off=function(e){i[e]&&(i[e]=!1)},this.enable=function(){o.dispatchEvent("enable"),l.drag.listen()},this.disable=function(){o.dispatchEvent("disable"),l.drag.stopListening()},this.settings=function(e){o.deepExtend(s,e)},this.state=function(){var e=l.translate.get.matrix(4);return{state:e===s.maxPosition?"left":e===s.minPosition?"right":"closed",info:r.simpleStates}},(a=n).element&&(o.deepExtend(s,a),r.vendor=o.vendor(),l.drag.listen())};"undefined"!=typeof module&&module.exports&&(module.exports=n),"undefined"==typeof ender&&(this.Snap=n),"function"==typeof define&&define.amd&&define("snap",[],function(){return n})}).call(this,window,document);
17!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){e.fn.tweet=function(t){var r=e.extend({username:null,list:null,favorites:!1,query:null,avatar_size:null,count:3,fetch:null,page:1,retweets:!0,intro_text:null,outro_text:null,join_text:null,auto_join_text_default:" I said, ",auto_join_text_ed:" I ",auto_join_text_ing:" I am ",auto_join_text_reply:" I replied to ",auto_join_text_url:" I was looking at ",loading_text:null,refresh_interval:null,twitter_url:"twitter.com",twitter_api_url:"api.twitter.com",twitter_search_url:"search.twitter.com",template:"{avatar}{time}{join} {text}",li_class:"",comparator:function(e,t){return t.tweet_time-e.tweet_time},filter:function(e){return!0}},t),a=/\b((?:https?:\/\/|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi;function n(e,t){if("string"==typeof e){var r=e;for(var a in t){var n=t[a];r=r.split("{"+a+"}").join(null===n?"":n)}return r}return e(t)}function i(t,r){return function(){var a=[];return this.each(function(){a.push(this.replace(t,r))}),e(a)}}function s(e){return e.replace(/</g,"&lt;").replace(/>/g,"^&gt;")}function _(e,t){return e.replace(a,function(e){for(var r=/^[a-z]+:/i.test(e)?e:"http://"+e,a=e,n=0;n<t.length;++n){var i=t[n];if(i.url===r&&i.expanded_url){r=i.expanded_url,a=i.display_url;break}}return'<a href="'+s(r)+'">'+s(a)+"</a>"})}function u(t){var i,s,u,o,l,w,c={};return c.item=t,c.source=t.source,c.screen_name=t.from_user||t.user.screen_name,c.name=t.from_user_name||t.user.name,c.retweet=void 0!==t.retweeted_status,c.tweet_time=(i=t.created_at,Date.parse(i.replace(/^([a-z]{3})( [a-z]{3} \d\d?)(.*)( \d{4})$/i,"$1,$2$4$3"))),c.join_text="auto"===r.join_text?(s=t.text).match(/^(@([A-Za-z0-9-_]+)) .*/i)?r.auto_join_text_reply:s.match(a)?r.auto_join_text_url:s.match(/^((\w+ed)|just) .*/im)?r.auto_join_text_ed:s.match(/^(\w*ing) .*/i)?r.auto_join_text_ing:r.auto_join_text_default:r.join_text,c.tweet_id=t.id_str,c.twitter_base="http://"+r.twitter_url+"/",c.user_url=c.twitter_base+c.screen_name,c.tweet_url=c.user_url+"/status/"+c.tweet_id,c.reply_url=c.twitter_base+"intent/tweet?in_reply_to="+c.tweet_id,c.retweet_url=c.twitter_base+"intent/retweet?tweet_id="+c.tweet_id,c.favorite_url=c.twitter_base+"intent/favorite?tweet_id="+c.tweet_id,c.retweeted_screen_name=c.retweet&&t.retweeted_status.user.screen_name,c.tweet_relative_time=(o=c.tweet_time,(w=(l=function(e){return parseInt(e,10)})(((new Date).getTime()-o)/1e3))<1&&(w=0),(u={days:l(w/86400),hours:l(w/3600),minutes:l(w/60),seconds:l(w)}).days>2?"about "+u.days+" days ago":u.hours>24?"about a day ago":u.hours>2?"about "+u.hours+" hours ago":u.minutes>45?"about an hour ago":u.minutes>2?"about "+u.minutes+" minutes ago":u.seconds>1?"about "+u.seconds+" seconds ago":"just now"),c.entities=t.entities?(t.entities.urls||[]).concat(t.entities.media||[]):[],c.tweet_raw_text=c.retweet?"RT @"+c.retweeted_screen_name+" "+t.retweeted_status.text:t.text,c.tweet_text=e([_(c.tweet_raw_text,c.entities)]).linkUser().linkHash()[0],c.retweeted_tweet_text=e([_(t.text,c.entities)]).linkUser().linkHash()[0],c.tweet_text_fancy=e([c.tweet_text]).makeHeart()[0],c.avatar_size=r.avatar_size,c.avatar_url=function e(t,r){return r?"user"in t?t.user.profile_image_url_https:e(t,!1).replace(/^http:\/\/[a-z0-9]{1,3}\.twimg\.com\//,"https://s3.amazonaws.com/twitter_production/"):t.profile_image_url||t.user.profile_image_url}(c.retweet?t.retweeted_status:t,"https:"===document.location.protocol),c.avatar_screen_name=c.retweet?c.retweeted_screen_name:c.screen_name,c.avatar_profile_url=c.twitter_base+c.avatar_screen_name,c.user=n('<a class="tweet_user" href="{user_url}">@{screen_name}</a>',c),c.join=r.join_text?n('<span class="tweet_join">{join_text}</span>',c):"",c.avatar=c.avatar_size?n('<a class="tweet_avatar" href="{avatar_profile_url}"><img src="{avatar_url}" height="{avatar_size}" width="{avatar_size}" alt="{avatar_screen_name}\'s avatar" title="{avatar_screen_name}\'s avatar" border="0"/></a>',c):"",c.time=n('<span class="tweet_time"><a href="{tweet_url}" title="view tweet on twitter">{tweet_relative_time}</a></span>',c),c.text=n('<span class="tweet_text">{tweet_text_fancy}</span>',c),c.retweeted_text=n('<span class="tweet_text">{retweeted_tweet_text}</span>',c),c.reply_action=n('<a class="tweet_action tweet_reply" href="{reply_url}">reply</a>',c),c.retweet_action=n('<a class="tweet_action tweet_retweet" href="{retweet_url}">retweet</a>',c),c.favorite_action=n('<a class="tweet_action tweet_favorite" href="{favorite_url}">favorite</a>',c),c}function o(t){var a=e('<p class="loading">'+r.loading_text+"</p>");r.loading_text&&e(t).not(":has(.tweet_list)").empty().append(a),e.getJSON(r.twitter_api_url,function(a){var n=e.map(a.results||a,u);n=e.grep(n,r.filter).sort(r.comparator).slice(0,r.count),e(t).trigger("tweet:retrieved",[n])})}return e.extend({tweet:{t:n}}),e.fn.extend({linkUser:i(/(^|[\W])@(\w+)/gi,'$1<span class="at">@</span><a href="http://'+r.twitter_url+'/$2">$2</a>'),linkHash:i(/(?:^| )[\#]+([\w\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u00ff\u0600-\u06ff]+)/gi,' <a href="https://twitter.com/search?q=%23$1&lang=all'+(r.username&&1===r.username.length&&!r.list?"&from="+r.username.join("%2BOR%2B"):"")+'" class="tweet_hashtag">#$1</a>'),makeHeart:i(/(&lt;)+[3]/gi,"<tt class='heart'>&#x2665;</tt>")}),this.each(function(t,a){r.username&&"string"==typeof r.username&&(r.username=[r.username]),e(a).unbind("tweet:render").unbind("tweet:retrieved").unbind("tweet:load").bind({"tweet:load":function(){o(a)},"tweet:retrieved":function(t,r){e(a).trigger("tweet:render",[r])},"tweet:render":function(t,i){!function(t,a){var i=e('<ul class="tweet_list slides">');i.append(e.map(a,function(e){return"<li"+(r.li_class?' class="'+r.li_class+'"':"")+">"+n(r.template,e)+"</li>"}).join("")).children("li:first").addClass("tweet_first").end().children("li:odd").addClass("tweet_even").end().children("li:even").addClass("tweet_odd"),e(t).append(i),r.intro_text&&i.before('<p class="tweet_intro">'+r.intro_text+"</p>"),r.outro_text&&i.after('<p class="tweet_outro">'+r.outro_text+"</p>"),e(t).trigger("loaded").trigger(0===a.length?"empty":"full"),r.refresh_interval&&window.setTimeout(function(){e(t).trigger("tweet:load")},1e3*r.refresh_interval)}(e(a),i)}}).trigger("tweet:load")})}}),jQuery(document).ready(function(){jQuery().tweet&&jQuery(".twitter").tweet({template:"<p>{user} {text} {time}</p>",twitter_api_url:"assets/twitter/proxy/twitter_proxy.php"}).bind("loaded",function(){var e=jQuery(this);jQuery(e).flexslider({animation:"slide",touch:!0,prevText:"",nextText:"",controlNav:!1,directionNav:!1})})});
18!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){function e(t,e){return t.parsleyAdaptedCallback||(t.parsleyAdaptedCallback=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift(this),t.apply(e||v,i)}),t.parsleyAdaptedCallback}function i(t){return 0===t.lastIndexOf(g,0)?t.substr(g.length):t}void 0===t&&void 0!==window.jQuery&&(t=window.jQuery);var n=1,r={}
18,s={attr:function(t,e,i){var n,r,s=new RegExp("^"+e,"i");if(void 0===i)i={};else for(var a in i)i.hasOwnProperty(a)&&delete i[a];if(void 0===t||void 0===t[0])return i;for(a=(r=t[0].attributes).length;a--;)(n=r[a])&&n.specified&&s.test(n.name)&&(i[this.camelize(n.name.slice(e.length))]=this.deserializeValue(n.value));return i},checkAttr:function(t,e,i){return t.is("["+e+i+"]")},setAttr:function(t,e,i,n){t[0].setAttribute(this.dasherize(e+i),String(n))},generateID:function(){return""+n++},deserializeValue:function(e){var i;try{return e?"true"==e||"false"!=e&&("null"==e?null:isNaN(i=Number(e))?/^[\[\{]/.test(e)?t.parseJSON(e):e:i):e}catch(t){return e}},camelize:function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},dasherize:function(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)},warnOnce:function(t){r[t]||(r[t]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){r={}},objectCreate:Object.create||function(){var t=function(){};return function(e){if(arguments.length>1)throw Error("Second argument not supported");if("object"!=typeof e)throw TypeError("Argument must be an object");t.prototype=e;var i=new t;return t.prototype=null,i}}()},a={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(){},errorsContainer:function(){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"},o=function(){};o.prototype={asyncSupport:!1,actualizeOptions:function(){return s.attr(this.$element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(t){for(var e in this.domOptions=s.objectCreate(this.parent.options),this.options=s.objectCreate(this.domOptions),t)t.hasOwnProperty(e)&&(this.options[e]=t[e]);this.actualizeOptions()},validateThroughValidator:function(t,e,i){return window.ParsleyValidator.validate(t,e,i)},_listeners:null,on:function(t,e){return this._listeners=this._listeners||{},(this._listeners[t]=this._listeners[t]||[]).push(e),this},subscribe:function(e,i){t.listenTo(this,e.toLowerCase(),i)},off:function(t,e){var i=this._listeners&&this._listeners[t];if(i)if(e)for(var n=i.length;n--;)i[n]===e&&i.splice(n,1);else delete this._listeners[t];return this},unsubscribe:function(e){t.unsubscribeTo(this,e.toLowerCase())},trigger:function(t,e){e=e||this;var i,n=this._listeners&&this._listeners[t];if(n)for(var r=n.length;r--;)if(!1===(i=n[r].call(e,e)))return i;return!this.parent||this.parent.trigger(t,e)},reset:function(){if("ParsleyForm"!==this.__class__)return this._trigger("reset");for(var t=0;t<this.fields.length;t++)this.fields[t]._trigger("reset");this._trigger("reset")},destroy:function(){if("ParsleyForm"!==this.__class__)return this.$element.removeData("Parsley"),this.$element.removeData("ParsleyFieldMultiple"),void this._trigger("destroy");for(var t=0;t<this.fields.length;t++)this.fields[t].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},_findRelatedMultiple:function(){return this.parent.$element.find("["+this.options.namespace+'multiple="'+this.options.multiple+'"]')}};var l=function(){var t={},e=function(t){this.__class__="Validator",this.__version__="1.0.1",this.options=t||{},this.bindingKey=this.options.bindingKey||"_validatorjsConstraint"};e.prototype={constructor:e,validate:function(t,e,i){if("string"!=typeof t&&"object"!=typeof t)throw new Error("You must validate an object or a string");return"string"==typeof t||a(t)?this._validateString(t,e,i):this.isBinded(t)?this._validateBindedObject(t,e):this._validateObject(t,e,i)}
18,bind:function(t,e){if("object"!=typeof t)throw new Error("Must bind a Constraint to an object");return t[this.bindingKey]=new i(e),this},unbind:function(t){return void 0===t._validatorjsConstraint?this:(delete t[this.bindingKey],this)},isBinded:function(t){return void 0!==t[this.bindingKey]},getBinded:function(t){return this.isBinded(t)?t[this.bindingKey]:null},_validateString:function(t,e,i){var s,o=[];a(e)||(e=[e]);for(var l=0;l<e.length;l++){if(!(e[l]instanceof r))throw new Error("You must give an Assert or an Asserts array to validate a string");(s=e[l].check(t,i))instanceof n&&o.push(s)}return!o.length||o},_validateObject:function(t,e,n){if("object"!=typeof e)throw new Error("You must give a constraint to validate an object");return e instanceof i?e.check(t,n):new i(e).check(t,n)},_validateBindedObject:function(t,e){return t[this.bindingKey].check(t,e)}},e.errorCode={must_be_a_string:"must_be_a_string",must_be_an_array:"must_be_an_array",must_be_a_number:"must_be_a_number",must_be_a_string_or_array:"must_be_a_string_or_array"};var i=function(t,e){if(this.__class__="Constraint",this.options=e||{},this.nodes={},t)try{this._bootstrap(t)}catch(e){throw new Error("Should give a valid mapping object to Constraint",e,t)}};i.prototype={constructor:i,check:function(t,e){var i,n={};for(var o in this.nodes){for(var l=!1,u=this.get(o),h=a(u)?u:[u],d=h.length-1;d>=0;d--)"Required"!==h[d].__class__||(l=h[d].requiresValidation(e));if(this.has(o,t)||this.options.strict||l)try{this.has(o,this.options.strict||l?t:void 0)||(new r).HaveProperty(o).validate(t),i=this._check(o,t[o],e),(a(i)&&i.length>0||!a(i)&&!s(i))&&(n[o]=i)}catch(t){n[o]=t}}return!!s(n)||n},add:function(t,e){if(e instanceof r||a(e)&&e[0]instanceof r)return this.nodes[t]=e,this;if("object"==typeof e&&!a(e))return this.nodes[t]=e instanceof i?e:new i(e),this;throw new Error("Should give an Assert, an Asserts array, a Constraint",e)},has:function(t,e){return void 0!==(e=void 0!==e?e:this.nodes)[t]},get:function(t,e){return this.has(t)?this.nodes[t]:e||null},remove:function(t){var e=[];for(var i in this.nodes)i!==t&&(e[i]=this.nodes[i]);return this.nodes=e,this},_bootstrap:function(t){if(t instanceof i)return this.nodes=t.nodes;for(var e in t)this.add(e,t[e])},_check:function(t,e,n){if(this.nodes[t]instanceof r)return this._checkAsserts(e,[this.nodes[t]],n);if(a(this.nodes[t]))return this._checkAsserts(e,this.nodes[t],n);if(this.nodes[t]instanceof i)return this.nodes[t].check(e,n);throw new Error("Invalid node",this.nodes[t])},_checkAsserts:function(t,e,i){for(var n,r=[],s=0;s<e.length;s++)void 0!==(n=e[s].check(t,i))&&!0!==n&&r.push(n);return r}};var n=function(t,e,i){if(this.__class__="Violation",!(t instanceof r))throw new Error("Should give an assertion implementing the Assert interface");this.assert=t,this.value=e,void 0!==i&&(this.violation=i)};n.prototype={show:function(){var t={assert:this.assert.__class__,value:this.value};return this.violation&&(t.violation=this.violation),t},__toString:function(){return void 0!==this.violation&&(this.violation='", '+this.getViolation().constraint+" expected was "+this.getViolation().expected),this.assert.__class__+' assert failed for "'+this.value+this.violation||""},getViolation:function(){var t,e;for(t in this.violation)e=this.violation[t];return{constraint:t,expected:e}}};var r=function(t){this.__class__="Assert",this.__parentClass__=this.__class__,this.groups=[],void 0!==t&&this.addGroup(t)};r.prototype={construct:r,requiresValidation:function(t){return!(t&&!this.hasGroup(t))&&!(!t&&this.hasGroups())},check:function(t,e){if(this.requiresValidation(e))try{return this.validate(t,e)}catch(t){return t}},hasGroup:function(t){return a(t)?this.hasOneOf(t):"Any"===t||(this.hasGroups()?-1!==this.groups.indexOf(t):"Default"===t)},hasOneOf:function(t){for(var e=0;e<t.length;e++)if(this.hasGroup(t[e]))return!0;return!1},hasGroups:function(){return this.groups.length>0},addGroup:function(t){return a(t)?this.addGroups(t):(this.hasGroup(t)||this.groups.push(t),this)},removeGroup:function(t){for(var e=[],i=0;i<this.groups.length;i++)t!==this.groups[i]&&e.push(this.groups[i]);return this.groups=e,this},addGroups:function(t){for(var e=0;e<t.length;e++)this.addGroup(t[e]);return this},HaveProperty:function(t){return this.__class__="HaveProperty",this.node=t,this.validate=function(t){if(void 0===t[this.node])throw new n(this,t,{value:this.node});return!0},this},Blank:function(){return this.__class__="Blank",this.validate=function(t){if("string"!=typeof t)throw new n(this,t,{value:e.errorCode.must_be_a_string});if(""!==t.replace(/^\s+/g,"").replace(/\s+$/g,""))throw new n(this,t);return!0},this},Callback:function(t){if(this.__class__="Callback",this.arguments=Array.prototype.slice.call(arguments),1===this.arguments.length?this.arguments=[]:this.arguments.splice(0,1),"function"!=typeof t)throw new Error("Callback must be instanciated with a function");return this.fn=t,this.validate=function(t){var e=this.fn.apply(this,[t].concat(this.arguments));if(!0!==e)throw new n(this,t,{result:e});return!0},this},Choice:function(t){if(this.__class__="Choice",!a(t)&&"function"!=typeof t)throw new Error("Choice must be instanciated with an array or a function");return this.list=t,this.validate=function(t){for(var e="function"==typeof this.list?this.list():this.list,i=0;i<e.length;i++)if(t===e[i])return!0;throw new n(this,t,{choices:e})},this},Collection:function(t){return this.__class__="Collection",this.constraint=void 0!==t&&(t instanceof r?t:new i(t)),this.validate=function(t,i){var r,o=new e,l=0,u={},h=this.groups.length?this.groups:i;if(!a(t))throw new n(this,t,{value:e.errorCode.must_be_an_array});for(var d=0;d<t.length;d++)r=this.constraint?o.validate(t[d],this.constraint,h):o.validate(t[d],h),s(r)||(u[l]=r),l++;return!!s(u)||u},this},Count:function(t){return this.__class__="Count",this.count=t,this.validate=function(t){if(!a(t))throw new n(this,t,{value:e.errorCode.must_be_an_array});var i="function"==typeof this.count?this.count(t):this.count;if(isNaN(Number(i)))throw new Error("Count must be a valid interger",i);if(i!==t.length)throw new n(this,t,{count:i});return!0},this},Email:function(){return this.__class__="Email",this.validate=function(t){if("string"!=typeof t)throw new n(this,t,{value:e.errorCode.must_be_a_string});if(!/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([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])))$/i.test(t))throw new n(this,t);return!0},this},EqualTo:function(t){if(this.__class__="EqualTo",void 0===t)throw new Error("EqualTo must be instanciated with a value or a function");return this.reference=t,this.validate=function(t){var e="function"==typeof this.reference?this.reference(t):this.reference;if(e!==t)throw new n(this,t,{value:e});return!0},this},GreaterThan:function(t){if(this.__class__="GreaterThan",void 0===t)throw new Error("Should give a threshold value");return this.threshold=t,this.validate=function(t){if(""===t||isNaN(Number(t)))throw new n(this,t,{value:e.errorCode.must_be_a_number});if(this.threshold>=t)throw new n(this,t,{threshold:this.threshold});return!0},this},GreaterThanOrEqual:function(t){if(this.__class__="GreaterThanOrEqual",void 0===t)throw new Error("Should give a threshold value");return this.threshold=t,this.validate=function(t){if(""===t||isNaN(Number(t)))throw new n(this,t,{value:e.errorCode.must_be_a_number});if(this.threshold>t)throw new n(this,t,{threshold:this.threshold});return!0},this},InstanceOf:function(t){if(this.__class__="InstanceOf",void 0===t)throw new Error("InstanceOf must be instanciated with a value");return this.classRef=t,this.validate=function(t){if(1!=t instanceof this.classRef)throw new n(this,t,{classRef:this.classRef});return!0},this},Length:function(t){if(this.__class__="Length",!t.min&&!t.max)throw new Error("Lenth assert must be instanciated with a { min: x, max: y } object");return this.min=t.min,this.max=t.max,this.validate=function(t){if("string"!=typeof t&&!a(t))throw new n(this,t,{value:e.errorCode.must_be_a_string_or_array});if(void 0!==this.min&&this.min===this.max&&t.length!==this.min)throw new n(this,t,{min:this.min,max:this.max});if(void 0!==this.max&&t.length>this.max)throw new n(this,t,{max:this.max});if(void 0!==this.min&&t.length<this.min)throw new n(this,t,{min:this.min});return!0},this},LessThan:function(t){if(this.__class__="LessThan",void 0===t)throw new Error("Should give a threshold value");return this.threshold=t,this.validate=function(t){if(""===t||isNaN(Number(t)))throw new n(this,t,{value:e.errorCode.must_be_a_number});if(this.threshold<=t)throw new n(this,t,{threshold:this.threshold});return!0},this},LessThanOrEqual:function(t){if(this.__class__="LessThanOrEqual",void 0===t)throw new Error("Should give a threshold value");return this.threshold=t,this.validate=function(t){if(""===t||isNaN(Number(t)))throw new n(this,t,{value:e.errorCode.must_be_a_number});if(this.threshold<t)throw new n(this,t,{threshold:this.threshold});return!0},this},NotNull:function(){return this.__class__="NotNull",this.validate=function(t){if(null==t)throw new n(this,t);return!0},this},NotBlank:function(){return this.__class__="NotBlank",this.validate=function(t){if("string"!=typeof t)throw new n(this,t,{value:e.errorCode.must_be_a_string});if(""===t.replace(/^\s+/g,"").replace(/\s+$/g,""))throw new n(this,t);return!0},this},Null:function(){return this.__class__="Null",this.validate=function(t){if(null!==t)throw new n(this,t);return!0},this},Range:function(t,e){if(this.__class__="Range",void 0===t||void 0===e)throw new Error("Range assert expects min and max values");return this.min=t,this.max=e,this.validate=function(t){try{return"string"==typeof t&&isNaN(Number(t))||a(t)?(new r).Length({min:this.min,max:this.max}).validate(t):(new r).GreaterThanOrEqual(this.min).validate(t)&&(new r).LessThanOrEqual(this.max).validate(t),!0}catch(e){throw new n(this,t,e.violation)}return!0},this},Regexp:function(t,i){if(this.__class__="Regexp",void 0===t)throw new Error("You must give a regexp");return this.regexp=t,this.flag=i||"",this.validate=function(t){if("string"!=typeof t)throw new n(this,t,{value:e.errorCode.must_be_a_string});if(!new RegExp(this.regexp,this.flag).test(t))throw new n(this,t,{regexp:this.regexp,flag:this.flag});return!0},this},Required:function(){return this.__class__="Required",this.validate=function(t){if(void 0===t)throw new n(this,t);try{"string"==typeof t?(new r).NotNull().validate(t)&&(new r).NotBlank().validate(t):!0===a(t)&&(new r).Length({min:1}).validate(t)}catch(e){throw new n(this,t)}return!0},this},Unique:function(t){return this.__class__="Unique","object"==typeof t&&(this.key=t.key),this.validate=function(t){var i,r=[];if(!a(t))throw new n(this,t,{value:e.errorCode.must_be_an_array});for(var s=0;s<t.length;s++)if(void 0!==(i="object"==typeof t[s]?t[s][this.key]:t[s])){if(-1!==r.indexOf(i))throw new n(this,t,{value:i});r.push(i)}return!0},this}},t.Assert=r,t.Validator=e,t.Violation=n,t.Constraint=i,Array.prototype.indexOf||(Array.prototype.indexOf=function(t){"use strict";if(null===this)throw new TypeError;var e=Object(this),i=e.length>>>0;if(0===i)return-1;var n=0;if(arguments.length>1&&((n=Number(arguments[1]))!=n?n=0:0!==n&&n!=1/0&&n!=-1/0&&(n=(n>0||-1)*Math.floor(Math.abs(n)))),n>=i)return-1;for(var r=n>=0?n:Math.max(i-Math.abs(n),0);i>r;r++)if(r in e&&e[r]===t)return r;return-1});var s=function(t){for(var e in t)return!1;return!0},a=function(t){return"[object Array]"===Object.prototype.toString.call(t)};return"function"==typeof define&&define.amd?define("vendors/validator.js/dist/validator",[],function(){return t}):"undefined"!=typeof module&&module.exports?module.exports=t:window["undefined"!=typeof validatorjs_ns?validatorjs_ns:"Validator"]=t,t}();l=void 0!==l?l:"undefined"!=typeof module?module.exports:null;var u=function(t,e){this.__class__="ParsleyValidator",this.Validator=l,this.locale="en",this.init(t||{},e||{})};u.prototype={init:function(e,i){for(var n in this.catalog=i,this.validators=t.extend({},this.validators),e)this.addValidator(n,e[n].fn,e[n].priority,e[n].requirementsTransformer);window.Parsley.trigger("parsley:validator:init")},setLocale:function(t){if(void 0===this.catalog[t])throw new Error(t+" is not available in the catalog");return this.locale=t,this}
18,addCatalog:function(t,e,i){return"object"==typeof e&&(this.catalog[t]=e),!0===i?this.setLocale(t):this},addMessage:function(t,e,i){return void 0===this.catalog[t]&&(this.catalog[t]={}),this.catalog[t][e.toLowerCase()]=i,this},validate:function(){return(new this.Validator.Validator).validate.apply(new l.Validator,arguments)},addValidator:function(t,e,i,n){if(this.validators[t])s.warn('Validator "'+t+'" is already defined.');else if(a.hasOwnProperty(t))return void s.warn('"'+t+'" is a restricted keyword and is not a valid validator name.');return this._setValidator(t,e,i,n)},updateValidator:function(t,e,i,n){return this.validators[t]?this._setValidator(t,e,i,n):(s.warn('Validator "'+t+'" is not already defined.'),this.addValidator(t,e,i,n))},removeValidator:function(t){return this.validators[t]||s.warn('Validator "'+t+'" is not defined.'),delete this.validators[t],this},_setValidator:function(e,i,n,r){return this.validators[e]=function(e){return t.extend((new l.Assert).Callback(i,e),{priority:n,requirementsTransformer:r})},this},getErrorMessage:function(t){var e;"type"===t.name?e=(this.catalog[this.locale][t.name]||{})[t.requirements]:e=this.formatMessage(this.catalog[this.locale][t.name],t.requirements);return e||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(t,e){if("object"==typeof e){for(var i in e)t=this.formatMessage(t,e[i]);return t}return"string"==typeof t?t.replace(new RegExp("%s","i"),e):""},validators:{notblank:function(){return t.extend((new l.Assert).NotBlank(),{priority:2})},required:function(){return t.extend((new l.Assert).Required(),{priority:512})},type:function(e){var i;switch(e){case"email":i=(new l.Assert).Email();break;case"range":case"number":i=(new l.Assert).Regexp("^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)?(?:\\.\\d+)?$");break;case"integer":i=(new l.Assert).Regexp("^-?\\d+$");break;case"digits":i=(new l.Assert).Regexp("^\\d+$");break;case"alphanum":i=(new l.Assert).Regexp("^\\w+$","i");break;case"url":i=(new l.Assert).Regexp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$","i");break;default:throw new Error("validator type `"+e+"` is not supported")}return t.extend(i,{priority:256})},pattern:function(e){var i="";return/^\/.*\/(?:[gimy]*)$/.test(e)&&(i=e.replace(/.*\/([gimy]*)$/,"$1"),e=e.replace(new RegExp("^/(.*?)/"+i+"$"),"$1")),t.extend((new l.Assert).Regexp(e,i),{priority:64})},minlength:function(e){return t.extend((new l.Assert).Length({min:e}),{priority:30,requirementsTransformer:function(){return"string"!=typeof e||isNaN(e)?e:parseInt(e,10)}})},maxlength:function(e){return t.extend((new l.Assert).Length({max:e}),{priority:30,requirementsTransformer:function(){return"string"!=typeof e||isNaN(e)?e:parseInt(e,10)}})},length:function(e){return t.extend((new l.Assert).Length({min:e[0],max:e[1]}),{priority:32})},mincheck:function(t){return this.minlength(t)},maxcheck:function(t){return this.maxlength(t)},check:function(t){return this.length(t)},min:function(e){return t.extend((new l.Assert).GreaterThanOrEqual(e),{priority:30,requirementsTransformer:function(){return"string"!=typeof e||isNaN(e)?e:parseInt(e,10)}})},max:function(e){return t.extend((new l.Assert).LessThanOrEqual(e),{priority:30,requirementsTransformer:function(){return"string"!=typeof e||isNaN(e)?e:parseInt(e,10)}})},range:function(e){return t.extend((new l.Assert).Range(e[0],e[1]),{priority:32,requirementsTransformer:function(){for(var t=0;t<e.length;t++)e[t]="string"!=typeof e[t]||isNaN(e[t])?e[t]:parseInt(e[t],10);return e}})},equalto:function(e){return t.extend((new l.Assert).EqualTo(e),{priority:256,requirementsTransformer:function(){return t(e).length?t(e).val():e}})}}};var h=function(){this.__class__="ParsleyUI"};h.prototype={listen:function(){var t=this;return window.Parsley.on("form:init",function(){t.setupForm(this)}).on("field:init",function(){t.setupField(this)}).on("field:validated",function(){t.reflow(this)}).on("form:validated",function(){t.focus(this)}).on("field:reset",function(){t.reset(this)}).on("form:destroy",function(){t.destroy(this)}).on("field:destroy",function(){t.destroy(this)}),this},reflow:function(t){if(void 0!==t._ui&&!1!==t._ui.active){var e=this._diff(t.validationResult,t._ui.lastValidationResult);
18t._ui.lastValidationResult=t.validationResult,t._ui.validatedOnce=!0,this.manageStatusClass(t),this.manageErrorsMessages(t,e),this.actualizeTriggers(t),(e.kept.length||e.added.length)&&!0!==t._ui.failedOnce&&this.manageFailingFieldTrigger(t)}},getErrorsMessages:function(t){if(!0===t.validationResult)return[];for(var e=[],i=0;i<t.validationResult.length;i++)e.push(this._getErrorMessage(t,t.validationResult[i].assert));return e},manageStatusClass:function(t){t.hasConstraints()&&t.needsValidation()&&!0===t.validationResult?this._successClass(t):t.validationResult.length>0?this._errorClass(t):this._resetClass(t)},manageErrorsMessages:function(e,i){if(void 0===e.options.errorsMessagesDisabled){if(void 0!==e.options.errorMessage)return i.added.length||i.kept.length?(this._insertErrorWrapper(e),0===e._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&e._ui.$errorsWrapper.append(t(e.options.errorTemplate).addClass("parsley-custom-error-message")),e._ui.$errorsWrapper.addClass("filled").find(".parsley-custom-error-message").html(e.options.errorMessage)):e._ui.$errorsWrapper.removeClass("filled").find(".parsley-custom-error-message").remove();for(var n=0;n<i.removed.length;n++)this.removeError(e,i.removed[n].assert.name,!0);for(n=0;n<i.added.length;n++)this.addError(e,i.added[n].assert.name,void 0,i.added[n].assert,!0);for(n=0;n<i.kept.length;n++)this.updateError(e,i.kept[n].assert.name,void 0,i.kept[n].assert,!0)}},addError:function(e,i,n,r,s){this._insertErrorWrapper(e),e._ui.$errorsWrapper.addClass("filled").append(t(e.options.errorTemplate).addClass("parsley-"+i).html(n||this._getErrorMessage(e,r))),!0!==s&&this._errorClass(e)},updateError:function(t,e,i,n,r){t._ui.$errorsWrapper.addClass("filled").find(".parsley-"+e).html(i||this._getErrorMessage(t,n)),!0!==r&&this._errorClass(t)},removeError:function(t,e,i){t._ui.$errorsWrapper.removeClass("filled").find(".parsley-"+e).remove(),!0!==i&&this.manageStatusClass(t)},focus:function(t){if(t._focusedField=null,!0===t.validationResult||"none"===t.options.focus)return null;for(var e=0;e<t.fields.length;e++){var i=t.fields[e];if(!0!==i.validationResult&&i.validationResult.length>0&&void 0===i.options.noFocus&&(t._focusedField=i.$element,"first"===t.options.focus))break}return null===t._focusedField?null:t._focusedField.focus()},_getErrorMessage:function(t,e){var i=e.name+"Message";return void 0!==t.options[i]?window.ParsleyValidator.formatMessage(t.options[i],e.requirements):window.ParsleyValidator.getErrorMessage(e)},_diff:function(t,e,i){for(var n=[],r=[],s=0;s<t.length;s++){for(var a=!1,o=0;o<e.length;o++)if(t[s].assert.name===e[o].assert.name){a=!0;break}a?r.push(t[s]):n.push(t[s])}return{kept:r,added:n,removed:i?[]:this._diff(e,t,!0).added}},setupForm:function(e){e.$element.on("submit.Parsley",!1,t.proxy(e.onSubmitValidate,e)),!1!==e.options.uiEnabled&&e.$element.attr("novalidate","")},setupField:function(e){var i={active:!1};!1!==e.options.uiEnabled&&(i.active=!0,e.$element.attr(e.options.namespace+"id",e.__id__),i.$errorClassHandler=this._manageClassHandler(e),i.errorsWrapperId="parsley-id-"+(e.options.multiple?"multiple-"+e.options.multiple:e.__id__),i.$errorsWrapper=t(e.options.errorsWrapper).attr("id",i.errorsWrapperId),i.lastValidationResult=[],i.validatedOnce=!1,i.validationInformationVisible=!1,e._ui=i,this.actualizeTriggers(e))},_manageClassHandler:function(e){if("string"==typeof e.options.classHandler&&t(e.options.classHandler).length)return t(e.options.classHandler);var i=e.options.classHandler(e);return void 0!==i&&i.length?i:!e.options.multiple||e.$element.is("select")?e.$element:e.$element.parent()},_insertErrorWrapper:function(e){var i;if(0!==e._ui.$errorsWrapper.parent().length)return e._ui.$errorsWrapper.parent();if("string"==typeof e.options.errorsContainer){if(t(e.options.errorsContainer).length)return t(e.options.errorsContainer).append(e._ui.$errorsWrapper);s.warn("The errors container `"+e.options.errorsContainer+"` does not exist in DOM")}else"function"==typeof e.options.errorsContainer&&(i=e.options.errorsContainer(e));if(void 0!==i&&i.length)return i.append(e._ui.$errorsWrapper);var n=e.$element;return e.options.multiple&&(n=n.parent()),n.after(e._ui.$errorsWrapper)},actualizeTriggers:function(e){var i=e.$element;if(e.options.multiple&&(i=t("["+e.options.namespace+'multiple="'+e.options.multiple+'"]')),i.off(".Parsley"),!1!==e.options.trigger){var n=e.options.trigger.replace(/^\s+/g,"").replace(/\s+$/g,"");""!==n&&i.on(n.split(" ").join(".Parsley ")+".Parsley",t.proxy("function"==typeof e.eventValidate?e.eventValidate:this.eventValidate,e))}},eventValidate:function(t){new RegExp("key").test(t.type)&&!this._ui.validationInformationVisible&&this.getValue().length<=this.options.validationThreshold||(this._ui.validatedOnce=!0,this.validate())},manageFailingFieldTrigger:function(e){return e._ui.failedOnce=!0,e.options.multiple&&t("["+e.options.namespace+'multiple="'+e.options.multiple+'"]').each(function(){return new RegExp("change","i").test(t(this).parsley().options.trigger||"")?void 0:t(this).on("change.ParsleyFailedOnce",!1,t.proxy(e.validate,e))}),e.$element.is("select")&&!new RegExp("change","i").test(e.options.trigger||"")?e.$element.on("change.ParsleyFailedOnce",!1,t.proxy(e.validate,e)):new RegExp("keyup","i").test(e.options.trigger||"")?void 0:e.$element.on("keyup.ParsleyFailedOnce",!1,t.proxy(e.validate,e))},reset:function(t){this.actualizeTriggers(t),t.$element.off(".ParsleyFailedOnce"),void 0!==t._ui&&"ParsleyForm"!==t.__class__&&(t._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(t),t._ui.val
18idatedOnce=!1,t._ui.lastValidationResult=[],t._ui.validationInformationVisible=!1,t._ui.failedOnce=!1)},destroy:function(t){this.reset(t),"ParsleyForm"!==t.__class__&&(void 0!==t._ui&&t._ui.$errorsWrapper.remove(),delete t._ui)},_successClass:function(t){t._ui.validationInformationVisible=!0,t._ui.$errorClassHandler.removeClass(t.options.errorClass).addClass(t.options.successClass)},_errorClass:function(t){t._ui.validationInformationVisible=!0,t._ui.$errorClassHandler.removeClass(t.options.successClass).addClass(t.options.errorClass)},_resetClass:function(t){t._ui.$errorClassHandler.removeClass(t.options.successClass).removeClass(t.options.errorClass)}};var d=function(e,i,n){this.__class__="ParsleyForm",this.__id__=s.generateID(),this.$element=t(e),this.domOptions=i,this.options=n,this.parent=window.Parsley,this.fields=[],this.validationResult=null};d.prototype={onSubmitValidate:function(e){return this.validate(void 0,void 0,e),(!1===this.validationResult||!this._trigger("submit"))&&e instanceof t.Event&&(e.stopImmediatePropagation(),e.preventDefault()),this},validate:function(t,e,i){this.submitEvent=i,this.validationResult=!0;var n=[];return this._trigger("validate"),this._refreshFields(),this._withoutReactualizingFormOptions(function(){for(var i=0;i<this.fields.length;i++)(!t||this._isFieldInGroup(this.fields[i],t))&&(!0!==(n=this.fields[i].validate(e))&&n.length>0&&this.validationResult&&(this.validationResult=!1))}),this._trigger(this.validationResult?"success":"error"),this._trigger("validated"),this.validationResult},isValid:function(t,e){return this._refreshFields(),this._withoutReactualizingFormOptions(function(){for(var i=0;i<this.fields.length;i++)if((!t||this._isFieldInGroup(this.fields[i],t))&&!1===this.fields[i].isValid(e))return!1;return!0})},_isFieldInGroup:function(e,i){return t.isArray(e.options.group)?-1!==t.inArray(i,e.options.group):e.options.group===i},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var e=this,i=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){this.$element.find(this.options.inputs).not(this.options.excluded).each(function(){var t=new y.Factory(this,{},e);"ParsleyField"!==t.__class__&&"ParsleyFieldMultiple"!==t.__class__||!0===t.options.excluded||void 0===e.fieldsMappedById[t.__class__+"-"+t.__id__]&&(e.fieldsMappedById[t.__class__+"-"+t.__id__]=t,e.fields.push(t))}),t(i).not(e.fields).each(function(){this._trigger("reset")})}),this},_withoutReactualizingFormOptions:function(t){var e=this.actualizeOptions;this.actualizeOptions=function(){return this};var i=t.call(this);return this.actualizeOptions=e,i},_trigger:function(t){return t="form:"+t,this.trigger.apply(this,arguments)}};var c=function(e,i,n,r,a){var o={};if(!new RegExp("ParsleyField").test(e.__class__))throw new Error("ParsleyField or ParsleyFieldMultiple instance expected");if("function"==typeof window.ParsleyValidator.validators[i]&&(o=window.ParsleyValidator.validators[i](n)),"Assert"!==o.__parentClass__)throw new Error("Valid validator expected");return r=r||(void 0!==e.options[i+"Priority"]?e.options[i+"Priority"]:o.priority||2),"function"==typeof o.requirementsTransformer&&(n=o.requirementsTransformer(),o=window.ParsleyValidator.validators[i](n)),t.extend(o,{name:i,requirements:n,priority:r,groups:[r],isDomConstraint:a||s.checkAttr(e.$element,e.options.namespace,i)})},f=function(e,i,n,r){this.__class__="ParsleyField",this.__id__=s.generateID(),this.$element=t(e),void 0!==r&&(this.parent=r),this.options=n,this.domOptions=i,this.constraints=[],this.constraintsByName={},this.validationResult=[],this._bindConstraints()};f.prototype={validate:function(t){return this.value=this.getValue(),this._trigger("validate"),this._trigger(this.isValid(t,this.value)?"success":"error"),this._trigger("validated"),this.validationResult},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(t){return void 0===t&&(t=this.getValue()),!(!t.length&&!this._isRequired()&&void 0===this.options.validateIfEmpty)},isValid:function(t,e){if(this.refreshConstraints(),this.validationResult=!0,!this.hasConstraints())return!0;
18if(null==e&&(e=this.getValue()),!this.needsValidation(e)&&!0!==t)return!0;var i=["Any"];!1!==this.options.priorityEnabled&&(i=this._getConstraintsSortedPriorities());for(var n=0;n<i.length;n++)if(!0!==(this.validationResult=this.validateThroughValidator(e,this.constraints,i[n])))return!1;return!0},getValue:function(){var t;return null==(t="function"==typeof this.options.value?this.options.value(this):void 0!==this.options.value?this.options.value:this.$element.val())?"":!0===this.options.trimValue?t.replace(/^\s+|\s+$/g,""):t},refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},addConstraint:function(t,e,i,n){if("function"==typeof window.ParsleyValidator.validators[t]){var r=new c(this,t,e,i,n);"undefined"!==this.constraintsByName[r.name]&&this.removeConstraint(r.name),this.constraints.push(r),this.constraintsByName[r.name]=r}return this},removeConstraint:function(t){for(var e=0;e<this.constraints.length;e++)if(t===this.constraints[e].name){this.constraints.splice(e,1);break}return delete this.constraintsByName[t],this},updateConstraint:function(t,e,i){return this.removeConstraint(t).addConstraint(t,e,i)},_bindConstraints:function(){for(var t=[],e={},i=0;i<this.constraints.length;i++)!1===this.constraints[i].isDomConstraint&&(t.push(this.constraints[i]),e[this.constraints[i].name]=this.constraints[i]);for(var n in this.constraints=t,this.constraintsByName=e,this.options)this.addConstraint(n,this.options[n]);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){(this.$element.hasClass("required")||this.$element.attr("required"))&&this.addConstraint("required",!0,void 0,!0),"string"==typeof this.$element.attr("pattern")&&this.addConstraint("pattern",this.$element.attr("pattern"),void 0,!0),void 0!==this.$element.attr("min")&&void 0!==this.$element.attr("max")?this.addConstraint("range",[this.$element.attr("min"),this.$element.attr("max")],void 0,!0):void 0!==this.$element.attr("min")?this.addConstraint("min",this.$element.attr("min"),void 0,!0):void 0!==this.$element.attr("max")&&this.addConstraint("max",this.$element.attr("max"),void 0,!0),void 0!==this.$element.attr("minlength")&&void 0!==this.$element.attr("maxlength")?this.addConstraint("length",[this.$element.attr("minlength"),this.$element.attr("maxlength")],void 0,!0):void 0!==this.$element.attr("minlength")?this.addConstraint("minlength",this.$element.attr("minlength"),void 0,!0):void 0!==this.$element.attr("maxlength")&&this.addConstraint("maxlength",this.$element.attr("maxlength"),void 0,!0);var t=this.$element.attr("type");return void 0===t?this:"number"===t?void 0===this.$element.attr("step")||0==parseFloat(this.$element.attr("step"))%1?this.addConstraint("type","integer",void 0,!0):this.addConstraint("type","number",void 0,!0):/^(email|url|range)$/i.test(t)?this.addConstraint("type",t,void 0,!0):this},_isRequired:function(){return void 0!==this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function(t){return t="field:"+t,this.trigger.apply(this,arguments)},_getConstraintsSortedPriorities:function(){for(var t=[],e=0;e<this.constraints.length;e++)-1===t.indexOf(this.constraints[e].priority)&&t.push(this.constraints[e].priority);return t.sort(function(t,e){return e-t}),t}};var p=function(){this.__class__="ParsleyFieldMultiple"};p.prototype={addElement:function(t){return this.$elements.push(t),this},refreshConstraints:function(){var e;if(this.constraints=[],this.$element.is("select"))return this.actualizeOptions()._bindConstraints(),this;for(var i=0;i<this.$elements.length;i++)if(t("html").has(this.$elements[i]).length){e=this.$elements[i].data("ParsleyFieldMultiple").refreshConstraints().constraints;for(var n=0;n<e.length;n++)this.addConstraint(e[n].name,e[n].requirements,e[n].priority,e[n].isDomConstraint)}else this.$elements.splice(i,1);return this},getValue:function(){if(void 0!==this.options.value)return this.options.value;if(this.$element.is("input[type=radio]"))return this._findRelatedMultiple().filter(":checked").val()||"";if(this.$element.is("input[type=checkbox]")){var e=[];return this._findRelatedMultiple().filter(":checked").each(function(){e.push(t(this).val())}),e}return this.$element.is("select")&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}};var m=function(e,i,n){this.$element=t(e);var r=this.$element.data("Parsley");if(r)return void 0!==n&&r.parent===window.Parsley&&(r.parent=n,r._resetOptions(r.options)),r;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if(void 0!==n&&"ParsleyForm"!==n.__class__)throw new Error("Parent instance must be a ParsleyForm instance");return this.parent=n||window.Parsley,this.init(i)};m.prototype={init:function(t){return this.__class__="Parsley",this.__version__="2.1.2",this.__id__=s.generateID(),this._resetOptions(t),this.$element.is("form")||s.checkAttr(this.$element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){return this.$element.is("input[type=radio], input[type=checkbox]")||this.$element.is("select")&&void 0!==this.$element.attr("multiple")},handleMultiple:function(){var e,i,n=this;if(this.options.multiple||(void 0!==this.$element.attr("name")&&this.$element.attr("name").length?this.options.multiple=e=this.$element.attr("name"):void 0!==this.$element.attr("id")&&this.$element.attr("id").length&&(this.options.multiple=this.$element.attr("id"))),this.$element.is("select")&&void 0!==this.$element.attr("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return s.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),void 0!==e&&t('input[name="'+e+'"]').each(function(){t(this).is("input[type=radio], input[type=checkbox]")&&t(this).attr(n.options.namespace+"multiple",n.options.multiple)});for(var r=this._findRelatedMultiple(),a=0;a<r.length;a++)if(void 0!==(i=t(r.get(a)).data("Parsley"))){this.$element.data("ParsleyFieldMultiple")||i.addElement(this.$element);break}return this.bind("parsleyField",!0),i||this.bind("parsleyFieldMultiple")},bind:function(e,i){var n;switch(e){case"parsleyForm":n=t.extend(new d(this.$element,this.domOptions,this.options),window.ParsleyExtend)._bindFields();break;case"parsleyField":n=t.extend(new f(this.$element,this.domOptions,this.options,this.parent),window.ParsleyExtend);break;case"parsleyFieldMultiple":n=t.extend(new f(this.$element,this.domOptions,this.options,this.parent),new p,window.ParsleyExtend)._init();break;default:throw new Error(e+"is not a supported Parsley type")}return this.options.multiple&&s.setAttr(this.$element,this.options.namespace,"multiple",this.options.multiple),void 0!==i?(this.$element.data("ParsleyFieldMultiple",n),n):(this.$element.data("Parsley",n),n._trigger("init"),n)}};
18var v=t({}),_=function(){s.warnOnce("Parsley's pubsub module is deprecated; use the corresponding jQuery event method instead")},g="parsley:";t.listen=function(t,n){var r;if(_(),"object"==typeof arguments[1]&&"function"==typeof arguments[2]&&(r=arguments[1],n=arguments[2]),"function"!=typeof arguments[1])throw new Error("Wrong parameters");window.Parsley.on(i(t),e(n,r))},t.listenTo=function(t,n,r){if(_(),!(t instanceof f||t instanceof d))throw new Error("Must give Parsley instance");if("string"!=typeof n||"function"!=typeof r)throw new Error("Wrong parameters");t.on(i(n),e(r))},t.unsubscribe=function(t,e){if(_(),"string"!=typeof t||"function"!=typeof e)throw new Error("Wrong arguments");window.Parsley.off(i(t),e.parsleyAdaptedCallback)},t.unsubscribeTo=function(t,e){if(_(),!(t instanceof f||t instanceof d))throw new Error("Must give Parsley instance");t.off(i(e))},t.unsubscribeAll=function(e){_(),window.Parsley.off(i(e)),t("form,input,textarea,select").each(function(){var n=t(this).data("Parsley");n&&n.off(i(e))})},t.emit=function(t,e){_();var n=e instanceof f||e instanceof d,r=Array.prototype.slice.call(arguments,n?2:1);r.unshift(i(t)),n||(e=window.Parsley),e.trigger.apply(e,r)},window.ParsleyConfig=window.ParsleyConfig||{},window.ParsleyConfig.i18n=window.ParsleyConfig.i18n||{},window.ParsleyConfig.i18n.en=jQuery.extend(window.ParsleyConfig.i18n.en||{},{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same."}),void 0!==window.ParsleyValidator&&window.ParsleyValidator.addCatalog("en",window.ParsleyConfig.i18n.en,!0);var y=t.extend(new o,{$element:t(document),actualizeOptions:null,_resetOptions:null,Factory:m,version:"2.1.2"});t.extend(f.prototype,o.prototype),t.extend(d.prototype,o.prototype),t.extend(m.prototype,o.prototype),t.fn.parsley=t.fn.psly=function(e){if(this.length>1){var i=[];return this.each(function(){i.push(t(this).parsley(e))}),i}return t(this).length?new m(this,e):void s.warn("You must bind Parsley on an existing element.")},void 0===window.ParsleyExtend&&(window.ParsleyExtend={}),y.options=t.extend(s.objectCreate(a),window.ParsleyConfig),window.ParsleyConfig=y.options,window.Parsley=window.psly=y,window.ParsleyUtils=s,window.ParsleyValidator=new u(window.ParsleyConfig.validators,window.ParsleyConfig.i18n),window.ParsleyUI="function"==typeof window.ParsleyConfig.ParsleyUI?(new window.ParsleyConfig.ParsleyUI).listen():(new h).listen(),!1!==window.ParsleyConfig.autoBind&&t(function(){t("[data-parsley-validate]").length&&t("[data-parsley-validate]").parsley()})});
19var slice=[].slice,extend=function(t,n){function e(){this.constructor=t}for(var r in n)hasProp.call(n,r)&&(t[r]=n[r]);return e.prototype=n.prototype,t.prototype=new e,t.__super__=n.prototype,t},hasProp={}.hasOwnProperty;!function(t,n){var e,r,i,o;if("function"==typeof define&&define.amd)return define(n);if("object"==typeof exports)return module.exports=n();for(e in t.cloudinary||(t.cloudinary={}),i=[],r=n())o=r[e],i.push(t.cloudinary[e]=o)}(this,function(){var t,n,e,r,i,o,u,s,a,c,l,p,f,h,d,y,g,m,D,v,A,B,E,C,F,b,w,x,O,j,S,P,T,k,R,I,z,U,N,L,V,M,$,W,H,Z,q,Q,G,K,Y;return _=function(){function t(t,n){return t.set(n[0],n[1]),t}function n(t,n){return t.add(n),t}function e(t,n,e){switch(e?e.length:0){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function r(t,n){for(var e=-1,r=t.length;++e<r&&!1!==n(t[e],e,t););return t}function i(t,n){return!!t.length&&c(t,n,0)>-1}function o(t,n,e){for(var r=-1,i=t.length;++r<i;)if(e(n,t[r]))return!0;return!1}function u(t,n){for(var e=-1,r=t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}function s(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}function a(t,n,e,r){var i=-1,o=t.length;for(r&&o&&(e=t[++i]);++i<o;)e=n(e,t[i],i,t);return e}function c(t,n,e){if(n!=n)return function(t,n,e){for(var r=t.length,i=n+(e?0:-1);e?i--:++i<r;){var o=t[i];if(o!=o)return i}return-1}(t,e);for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}function l(t){return t&&t.Object===Object?t:null}function p(t){return jn[t]}function f(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}function h(t,n){return t="number"==typeof t||Xt.test(t)?+t:-1,n=null==n?Bt:n,t>-1&&t%1==0&&t<n}function d(t){return t.match(Bn)}function y(){}function g(){}function m(t,n){return oe?t[n]!==mt:$n.call(t,n)}function _(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function D(t){var n=-1,e=t?t.length:0;for(this.__data__=new _;++n<e;)this.push(t[n])}function v(t,n){var e=t.__data__;if(W(n)){var r=e.__data__;return("string"==typeof n?r.string:r.hash)[n]===vt}return e.has(n)}function A(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function B(t,n){var e=F(t,n);return!(e<0)&&(e==t.length-1?t.pop():te.call(t,e,1),!0)}function E(t,n){var e=F(t,n);return e<0?mt:t[e][1]}function C(t,n){return F(t,n)>-1}function F(t,n){for(var e=t.length;e--;)if(Q(t[e][0],n))return e;return-1}function b(t,n,e){var r=F(t,n);r<0?t.push([n,e]):t[r][1]=e}function w(t,n,e,r){return t===mt||Q(t,Vn[e])&&!$n.call(r,e)?n:t}function x(t,n,e){(e===mt||Q(t[n],e))&&("number"!=typeof n||e!==mt||n in t)||(t[n]=e)}function O(t,n,e){var r=t[n];Q(r,e)&&(!Q(r,Vn[n])||$n.call(t,n))&&(e!==mt||n in t)||(t[n]=e)}function j(e,i,o,u,s,c){var l;if(o&&(l=s?o(e,u,s,c):o(e)),l!==mt)return l;if(!tt(e))return e;var p=_e(e);
19if(p){if(l=function(t){var n=t.length,e=t.constructor(n);return n&&"string"==typeof t[0]&&$n.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(e),!i)return R(e,l)}else{var h=M(e),d=h==xt||h==Ot;if(h!=Pt&&h!=Ft&&(!d||s))return xn[h]?function(e,r,i){var o=e.constructor;switch(r){case zt:return k(e);case bt:case wt:return new o(+e);case Ut:case Nt:case Lt:case Vt:case Mt:case $t:case Wt:case Ht:case Zt:return function(t,n){var e=t.buffer;return new(0,t.constructor)(n?k(e):e,t.byteOffset,t.length)}(e,i);case jt:return function(n){var e=n.constructor;return a(function(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}(n),t,new e)}(e);case St:case Rt:return new o(e);case Tt:return(c=new(0,(s=e).constructor)(s.source,Qt.exec(s))).lastIndex=s.lastIndex,c;case kt:return function(t){var e=t.constructor;return a(function(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=t}),e}(t),n,new e)}(e);case It:return u=e,Qn?Object(ce.call(u)):{}}var u;var s,c}(e,h,i):s?e:{};if(f(e))return s?e:{};if(l=function(t){var n=t.constructor;return pe(J(n)?n.prototype:mt)}(d?{}:e),!i)return U(e,function(t,n){return t&&I(n,pt(n),t)}(l,e))}c||(c=new A);var y=c.get(e);return y||(c.set(e,l),(p?r:function(t,n){return t&&fe(t,n,pt)})(e,function(t,n){O(l,n,j(t,i,o,n,e,c))}),p?l:U(e,l))}function S(t,n){return $n.call(t,n)||"object"==typeof t&&n in t&&null===Yn(t)}function P(t){t=null==t?t:Object(t);var n=[];for(var e in t)n.push(e);return n}function T(t,n,e,i,o){if(t!==n){var u=_e(n)||ut(n)?mt:ft(n);r(u||n,function(r,s){if(u&&(r=n[s=r]),tt(r))o||(o=new A),function(t,n,e,r,i,o,u){var s=t[e],a=n[e],c=u.get(a)||u.get(s);if(c)return void x(t,e,c);var l=o?o(s,a,e+"",t,n,u):mt,p=l===mt;p&&(l=a,_e(a)||ut(a)?l=_e(s)?r?R(s):s:Y(s)?R(s):j(a):rt(a)||G(a)?l=G(s)?ct(s):!tt(s)||r&&J(s)?j(a):r?j(s):s:p=!1),u.set(a,l),p&&i(l,a,r,o,u),x(t,e,l)}(t,n,s,e,T,i,o);else{var a=i?i(t[s],r,s+"",t,n,o):mt;a===mt&&(a=r),x(t,s,a)}})}}function k(t){var n=new(0,t.constructor)(t.byteLength);return new Gn(n).set(new Gn(t)),n}function R(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e<r;)n[e]=t[e];return n}function I(t,n,e){return z(t,n,e)}function z(t,n,e,r){e||(e={});for(var i=-1,o=n.length;++i<o;){var u=n[i];O(e,u,r?r(e[u],t[u],u,e,t):t[u])}return e}function U(t,n){return I(t,ye(t),n)}function N(t){return q(function(n,e){var r=-1,i=e.length,o=i>1?e[i-1]:mt,u=i>2?e[2]:mt;for(o="function"==typeof o?(i--,o):mt,u&&function(t,n,e){if(!tt(e))return!1;var r=typeof n;return!!("number"==r?K(e)&&h(n,e.length):"string"==r&&n in e)&&Q(e[n],t)}(e[0],e[1],u)&&(o=i<3?mt:o,i=1),n=Object(n);++r<i;){var s=e[r];s&&t(n,s,r,o)}return n})}function L(t){return function(n){return a(gt(yt(n)),t,"")}}function V(t,n){var e=null==t?mt:t[n];return et(e)?e:mt}function M(t){return Hn.call(t)}function $(t){var n=t?t.length:mt;return X(n)&&(_e(t)||it(t)||G(t))?function(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}(n,String):null}function W(t){var n=typeof t;return"number"==n||"boolean"==n||"string"==n&&"__proto__"!==t||null==t}function H(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||Vn)}function Z(t){if(null==t)return 0;if(K(t)){var n=t.length;return n&&it(t)?function(t){if(!t||!En.test(t))return t.length;for(var n=Bn.lastIndex=0;Bn.test(t);)n++;return n}(t):n}return pt(t).length}function q(t,n){if("function"!=typeof t)throw new TypeError(Dt);return n=ee(n===mt?t.length-1:st(n),0),function(){for(var r=arguments,i=-1,o=ee(r.length-n,0),u=Array(o);++i<o;)u[i]=r[n+i];switch(n){case 0:return t.call(this,u);case 1:return t.call(this,r[0],u);case 2:return t.call(this,r[0],r[1],u)}var s=Array(n+1);for(i=-1;++i<n;)s[i]=r[i];return s[n]=u,e(t,this,s)}}function Q(t,n){return t===n||t!=t&&n!=n}function G(t){return Y(t)&&$n.call(t,"callee")&&(!Xn.call(t,"callee")||Hn.call(t)==Ft)}function K(t){return null!=t&&!("function"==typeof t&&J(t))&&X(de(t))}function Y(t){return nt(t)&&K(t)}function J(t){var n=tt(t)?Hn.call(t):"";return n==xt||n==Ot}function X(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Bt}function tt(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function nt(t){return!!t&&"object"==typeof t}function et(t){return null!=t&&(J(t)?Zn.test(Mn.call(t)):nt(t)&&(f(t)?Zn:Yt).test(t))}function rt(t){if(!nt(t)||Hn.call(t)!=Pt||f(t))return!1;var n=Vn;if("function"==typeof t.constructor&&(n=Yn(t)),null===n)return!0;var e=n.constructor;return"function"==typeof e&&e instanceof e&&Mn.call(e)==Wn}function it(t){return"string"==typeof t||!_e(t)&&nt(t)&&Hn.call(t)==Rt}function ot(t){return"symbol"==typeof t||nt(t)&&Hn.call(t)==It}function ut(t){return nt(t)&&X(t.length)&&!!wn[Hn.call(t)]}function st(t){if(!t)return 0===t?t:0;if((t=at(t))===At||t===-At)return(t<0?-1:1)*Et;var n=t%1;return t==t?n?t-n:t:0}function at(t){if(tt(t)){var n=J(t.valueOf)?t.valueOf():t;t=tt(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(qt,"");var e=Kt.test(t);return e||Jt.test(t)?Pn(t.slice(2),e?2:8):Gt.test(t)?Ct:+t}function ct(t){return I(t,ft(t))}function lt(t){if("string"==typeof t)return t;if(null==t)return"";if(ot(t))return Qn?le.call(t):"";var n=t+"";return"0"==n&&1/t==-At?"-0":n}function pt(t){var n=H(t);if(!n&&!K(t))return function(t){return ne(Object(t))}(t);
19var e=$(t),r=!!e,i=e||[],o=i.length;for(var u in t)!S(t,u)||r&&("length"==u||h(u,o))||n&&"constructor"==u||i.push(u);return i}function ft(t){for(var n=-1,e=H(t),r=P(t),i=r.length,o=$(t),u=!!o,s=o||[],a=s.length;++n<i;){var c=r[n];u&&("length"==c||h(c,a))||"constructor"==c&&(e||!$n.call(t,c))||s.push(c)}return s}function ht(t){return t?function(t,n){return u(n,function(n){return t[n]})}(t,pt(t)):[]}function dt(t){return Ce(lt(t).toLowerCase())}function yt(t){return(t=lt(t))&&t.replace(tn,p).replace(An,"")}function gt(t,n,e){return t=lt(t),(n=e?mt:n)===mt&&(n=bn.test(t)?Fn:Cn),t.match(n)||[]}var mt,_t=200,Dt="Expected a function",vt="__lodash_hash_undefined__",At=1/0,Bt=9007199254740991,Et=1.7976931348623157e308,Ct=NaN,Ft="[object Arguments]",bt="[object Boolean]",wt="[object Date]",xt="[object Function]",Ot="[object GeneratorFunction]",jt="[object Map]",St="[object Number]",Pt="[object Object]",Tt="[object RegExp]",kt="[object Set]",Rt="[object String]",It="[object Symbol]",zt="[object ArrayBuffer]",Ut="[object Float32Array]",Nt="[object Float64Array]",Lt="[object Int8Array]",Vt="[object Int16Array]",Mt="[object Int32Array]",$t="[object Uint8Array]",Wt="[object Uint8ClampedArray]",Ht="[object Uint16Array]",Zt="[object Uint32Array]",qt=/^\s+|\s+$/g,Qt=/\w*$/,Gt=/^[-+]0x[0-9a-f]+$/i,Kt=/^0b[01]+$/i,Yt=/^\[object .+?Constructor\]$/,Jt=/^0o[0-7]+$/i,Xt=/^(?:0|[1-9]\d*)$/,tn=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,nn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2018\\u2019\\u201c\\u201d \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",en="[\\ud800-\\udfff]",rn="["+nn+"]",on="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",un="\\d+",sn="[\\u2700-\\u27bf]",an="[a-z\\xdf-\\xf6\\xf8-\\xff]",cn="[^\\ud800-\\udfff"+nn+un+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ln="\\ud83c[\\udffb-\\udfff]",pn="[^\\ud800-\\udfff]",fn="(?:\\ud83c[\\udde6-\\uddff]){2}",hn="[\\ud800-\\udbff][\\udc00-\\udfff]",dn="[A-Z\\xc0-\\xd6\\xd8-\\xde]",yn="(?:"+an+"|"+cn+")",gn="(?:"+dn+"|"+cn+")",mn="(?:"+on+"|"+ln+")"+"?",_n="[\\ufe0e\\ufe0f]?"+mn+("(?:\\u200d(?:"+[pn,fn,hn].join("|")+")[\\ufe0e\\ufe0f]?"+mn+")*"),Dn="(?:"+[sn,fn,hn].join("|")+")"+_n,vn="(?:"+[pn+on+"?",on,fn,hn,en].join("|")+")",An=RegExp(on,"g"),Bn=RegExp(ln+"(?="+ln+")|"+vn+_n,"g"),En=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),Cn=/[a-zA-Z0-9]+/g,Fn=RegExp([dn+"?"+an+"+(?="+[rn,dn,"$"].join("|")+")",gn+"+(?="+[rn,dn+yn,"$"].join("|")+")",dn+"?"+yn+"+",dn+"+",un,Dn].join("|"),"g"),bn=/[a-z][A-Z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,wn={};wn[Ut]=wn[Nt]=wn[Lt]=wn[Vt]=wn[Mt]=wn[$t]=wn[Wt]=wn[Ht]=wn[Zt]=!0,wn[Ft]=wn["[object Array]"]=wn[zt]=wn[bt]=wn[wt]=wn["[object Error]"]=wn[xt]=wn[jt]=wn[St]=wn[Pt]=wn[Tt]=wn[kt]=wn[Rt]=wn["[object WeakMap]"]=!1;var xn={};xn[Ft]=xn["[object Array]"]=xn[zt]=xn[bt]=xn[wt]=xn[Ut]=xn[Nt]=xn[Lt]=xn[Vt]=xn[Mt]=xn[jt]=xn[St]=xn[Pt]=xn[Tt]=xn[kt]=xn[Rt]=xn[It]=xn[$t]=xn[Wt]=xn[Ht]=xn[Zt]=!0,xn["[object Error]"]=xn[xt]=xn["[object WeakMap]"]=!1;var On,jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Sn={function:!0,object:!0},Pn=parseInt,Tn=Sn[typeof exports]&&exports&&!exports.nodeType?exports:null,kn=Sn[typeof module]&&module&&!module.nodeType?module:null,Rn=l(Tn&&kn&&"object"==typeof global&&global),In=l(Sn[typeof self]&&self),zn=l(Sn[typeof window]&&window),Un=l(Sn[typeof this]&&this),Nn=Rn||zn!==(Un&&Un.window)&&zn||In||Un||Function("return this")(),Ln=Array.prototype,Vn=Object.prototype,Mn=Function.prototype.toString,$n=Vn.hasOwnProperty,Wn=Mn.call(Object),Hn=Vn.toString,Zn=RegExp("^"+Mn.call($n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qn=Nn.Reflect,Qn=Nn.Symbol,Gn=Nn.Uint8Array,Kn=qn?qn.enumerate:mt,Yn=Object.getPrototypeOf,Jn=Object.getOwnPropertySymbols,Xn=Vn.propertyIsEnumerable,te=Ln.splice,ne=Object.keys,ee=Math.max,re=V(Nn,"Map"),ie=V(Nn,"Set"),oe=V(Object,"create"),ue=re?Mn.
19call(re):"",se=ie?Mn.call(ie):"",ae=Qn?Qn.prototype:mt,ce=Qn?ae.valueOf:mt,le=Qn?ae.toString:mt,pe=function(){function t(){}return function(n){if(tt(n)){t.prototype=n;var e=new t;t.prototype=mt}return e||{}}}(),fe=function(t,n,e){for(var r=-1,i=Object(t),o=e(t),u=o.length;u--;){var s=o[On?u:++r];if(!1===n(i[s],s,i))break}return t};Kn&&!Xn.call({valueOf:1},"valueOf")&&(P=function(t){return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(Kn(t))});var he,de=(he="length",function(t){return null==t?mt:t[he]}),ye=Jn||function(){return[]};(re&&M(new re)!=jt||ie&&M(new ie)!=kt)&&(M=function(t){var n=Hn.call(t),e=n==Pt?t.constructor:null,r="function"==typeof e?Mn.call(e):"";if(r){if(r==ue)return jt;if(r==se)return kt}return n});var ge,me=q(function(t,n){return Y(t)?function(t,n,e,r){var s,a=-1,c=i,l=!0,p=t.length,f=[],h=n.length;if(!p)return f;e&&(n=u(n,(s=e,function(t){return s(t)}))),r?(c=o,l=!1):n.length>=_t&&(c=v,l=!1,n=new D(n));t:for(;++a<p;){var d=t[a],y=e?e(d):d;if(l&&y==y){for(var g=h;g--;)if(n[g]===y)continue t;f.push(d)}else c(n,y,r)||f.push(d)}return f}(t,function t(n,e,r,i){i||(i=[]);for(var o=-1,u=n.length;++o<u;){var a=n[o];Y(a)&&(r||_e(a)||G(a))?e?t(a,e,r,i):s(i,a):r||(i[i.length]=a)}return i}(n,!1,!0)):[]}),_e=Array.isArray,De=N(function(t,n){I(n,pt(n),t)}),ve=N(function(t,n,e,r){z(n,ft(n),t,r)}),Ae=q(function(t){return t.push(mt,w),e(ve,mt,t)}),Be=N(function(t,n,e){T(t,n,e)}),Ee=L(function(t,n,e){return n=n.toLowerCase(),t+(e?dt(n):n)}),Ce=(ge="toUpperCase",function(t){t=lt(t);var n=En.test(t)?d(t):mt,e=n?n[0]:t.charAt(0),r=n?n.slice(1).join(""):t.slice(1);return e[ge]()+r}),Fe=L(function(t,n,e){return t+(e?"_":"")+n.toLowerCase()});return g.prototype=oe?oe(null):Vn,_.prototype.clear=function(){this.__data__={hash:new g,map:re?new re:[],string:new g}},_.prototype.delete=function(t){var n=this.__data__;return W(t)?function(t,n){return m(t,n)&&delete t[n]}("string"==typeof t?n.string:n.hash,t):re?n.map.delete(t):B(n.map,t)},_.prototype.get=function(t){var n=this.__data__;return W(t)?function(t,n){if(oe){var e=t[n];return e===vt?mt:e}return $n.call(t,n)?t[n]:mt}("string"==typeof t?n.string:n.hash,t):re?n.map.get(t):E(n.map,t)},_.prototype.has=function(t){var n=this.__data__;return W(t)?m("string"==typeof t?n.string:n.hash,t):re?n.map.has(t):C(n.map,t)},_.prototype.set=function(t,n){var e=this.__data__;return W(t)?function(t,n,e){t[n]=oe&&e===mt?vt:e}("string"==typeof t?e.string:e.hash,t,n):re?e.map.set(t,n):b(e.map,t,n),this},D.prototype.push=function(t){var n=this.__data__;if(W(t)){var e=n.__data__;("string"==typeof t?e.string:e.hash)[t]=vt}else n.set(t,vt)},A.prototype.clear=function(){this.__data__={array:[],map:null}},A.prototype.delete=function(t){var n=this.__data__,e=n.array;return e?B(e,t):n.map.delete(t)},A.prototype.get=function(t){var n=this.__data__,e=n.array;return e?E(e,t):n.map.get(t)},A.prototype.has=function(t){var n=this.__data__,e=n.array;return e?C(e,t):n.map.has(t)},A.prototype.set=function(t,n){var e=this.__data__,r=e.array;r&&(r.length<_t-1?b(r,t,n):(e.array=null,e.map=new _(r)));var i=e.map;return i&&i.set(t,n),this},y.assign=De,y.assignInWith=ve,y.compact=function(t){for(var n=-1,e=t?t.length:0,r=-1,i=[];++n<e;){var o=t[n];o&&(i[++r]=o)}return i},y.defaults=Ae,y.difference=me,y.functions=function(t){return null==t?[]:function(t,n){return function(t,n){for(var e=-1,r=t.length,i=-1,o=[];++e<r;){var u=t[e];n(u,e,t)&&(o[++i]=u)}return o}(n,function(n){return J(t[n])})}(t,pt(t))},y.keys=pt,y.keysIn=ft,y.merge=Be,y.rest=q,y.toPlainObject=ct,y.values=ht,y.words=gt,y.extendWith=ve,y.camelCase=Ee,y.c
19apitalize=dt,y.cloneDeep=function(t){return j(t,!0)},y.deburr=yt,y.eq=Q,y.identity=function(t){return t},y.includes=function(t,n,e,r){t=K(t)?t:ht(t),e=e&&!r?st(e):0;var i=t.length;return e<0&&(e=ee(i+e,0)),it(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&c(t,n,e)>-1},y.isArguments=G,y.isArray=_e,y.isArrayLike=K,y.isArrayLikeObject=Y,y.isElement=function(t){return!!t&&1===t.nodeType&&nt(t)&&!rt(t)},y.isEmpty=function(t){return!nt(t)||J(t.splice)?!Z(t):!pt(t).length},y.isFunction=J,y.isLength=X,y.isNative=et,y.isObject=tt,y.isObjectLike=nt,y.isPlainObject=rt,y.isString=it,y.isSymbol=ot,y.isTypedArray=ut,y.size=Z,y.snakeCase=Fe,y.toInteger=st,y.toNumber=at,y.toString=lt,y.trim=function(t,n,e){if(!(t=lt(t)))return t;if(e||n===mt)return t.replace(qt,"");if(!(n+=""))return t;var r=d(t),i=d(n);return r.slice(function(t,n){for(var e=-1,r=t.length;++e<r&&c(n,t[e],0)>-1;);return e}(r,i),function(t,n){for(var e=t.length;e--&&c(n,t[e],0)>-1;);return e}(r,i)+1).join("")},y.upperFirst=Ce,y.VERSION="4.0.1",(zn||In||{})._=y,y}.call(this),B=function(t){var n,e,r;for(e=0,r=t.length;e<r;e++)if(n=t[e],!D.isString(n))return!1;return!0},Y=function(t,n){var e,r,i;for(i=[],e=-1,r=t.length;++e<r;)t[e]!==n&&i.push(t[e]);return i},z=function(t){return null!=t&&!isNaN(parseFloat(t))},Z=function(t,n){return null==n&&(n=/([^a-zA-Z0-9_.\-\/:]+)/g),t.replace(n,function(t){return t.split("").map(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}).join("")})},j=function(){var t;return t=arguments[0],(2<=arguments.length?slice.call(arguments,1):[]).reduce(function(t,n){var e,r;for(e in n)r=n[e],void 0===t[e]&&(t[e]=r);return t},t)},L=RegExp("[A-Z]+(?=[A-Z][a-z]+)|[A-Z]?[a-z]+|[A-Z]+|[0-9]+","g"),G=function(t){return b(t,D.camelCase)},K=function(t){return b(t,D.snakeCase)},n={allStrings:B,camelCase:function(t){var n,e,r;return r=t.match(L),(r=function(){var t,i,o;for(o=[],n=t=0,i=r.length;t<i;n=++t)e=(e=r[n]).toLocaleLowerCase(),n?o.push(e.charAt(0).toLocaleUpperCase()+e.slice(1)):o.push(e);return o}()).join("")},convertKeys:b=function(t,n){var e,r,i;for(e in null==n&&(n=D.identity),r={},t)i=t[e],e=n(e),D.isEmpty(e)||(r[e]=i);return r},defaults:j,snakeCase:function(t){var n,e,r;return r=t.match(L),(r=function(){var t,i,o;for(o=[],n=t=0,i=r.length;t<i;n=++t)e=r[n],o.push(e.toLocaleLowerCase());return o}()).join("_")},without:Y,isNumberLike:z,smartEscape:Z,withCamelCaseKeys:G,withSnakeCaseKeys:K},T=function(t,n){var e;switch(!1){case!(null==t):return;case!_.isFunction(t.getAttribute):return t.getAttribute("data-"+n);case!_.isFunction(t.getAttr):return t.getAttr("data-"+n);case!_.isFunction(t.data):return t.data(n);case!(_.isFunction("undefined"!=typeof jQuery&&null!==jQuery&&null!=(e=jQuery.fn)?e.data:void 0)&&_.isElement(t)):return jQuery(t).data(n)}},H=function(t,n,e){var r;switch(!1){case!(null==t):return;case!_.isFunction(t.setAttribute):return t.setAttribute("data-"+n,e);case!_.isFunction(t.setAttr):return t.setAttr("data-"+n,e);case!_.isFunction(t.data):return t.data(n,e);case!(_.isFunction("undefined"!=typeof jQuery&&null!==jQuery&&null!=(r=jQuery.fn)?r.data:void 0)&&_.isElement(t)):return jQuery(t).data(n,e)}},P=function(t,n){switch(!1){case!(null==t):return;case!_.isFunction(t.getAttribute):return t.getAttribute(n);case!_.isFunction(t.attr):return t.attr(n);case!_.isFunction(t.getAttr):return t.getAttr(n)}},$=function(t,n,e){switch(!1){case!(null==t):return;case!_.isFunction(t.setAttribute):return t.setAttribute(n,e);case!_.isFunction(t.attr):return t.attr(n,e);case!_.isFunction(t.setAttr):return t.setAttr(n,e)}},V=function(t,n){switch(!1){case!(null==t):return;case!_.isFunction(t.removeAttribute):return t.removeAttribute(n);default:return $(t,void 0)}},W=function(t,n){var e,r,i;for(e in r=[],n)null!=(i=n[e])?r.push($(t,e,i)):r.push(V(t,e));return r},I=function(t,n){if(_.isElement(t))return t.className.match(new RegExp("\\b"+n+"\\b"))},A=function(t,n){if(!t.className.match(new RegExp("\\b"+n+"\\b")))return t.className=_.trim(t.className+" "+n)},k=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):window.getComputedStyle(t,null)},["Top","Right","Bottom","Left"],F=function(t,n){var e,r;return e=9===t.nodeType?t.documentElement:t,t===(r=n&&n.parentNode)||!(!r||1!==r.nodeType||!e.contains(r))},S=function(t,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style)return t.style[n]},O=function(t,n,e){var r,i,o,u,s,a;return u=/^margin/,a=void 0,i=void 0,r=void 0,o=void 0,s=t.style,(e=e||k(t))&&(o=e.getPropertyValue(n)||e[n]),e&&(""!==o||F(t.ownerDocument,t)||(o=S(t,n)),M.test(o)&&u.test(n)&&(a=s.width,i=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=e.width,s.width=a,s.minWidth=i,s.maxWidth=r)),void 0!==o?o+"":o},x=function(t,n,e,r){var i;return i=O(t,n,r),e?parseFloat(i):i},E=function(t,n,e,r,i){var o,u,s,a,c;if(e===(r?"border":"content"))return 0;for(c=0,o=0,u=(a="width"===n?["Right","Left"]:["Top","Bottom"]).length;o<u;o++)s=a[o],"margin"===e&&(c+=x(t,e+s,!0,i)),r?("content"===e&&(c-=x(t,"padding"+s,!0,i)),"margin"!==e&&(c-=x(t,"border"+s+"Width",!0,i))):(c+=x(t,"padding"+s,!0,i),"padding"!==e&&(c+=x(t,"border"+s+"Width",!0,i)));return c},M=new RegExp("^("+/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source+")(?!px)[a-z%]+$","i"),R=function(t,n,e){var r,i,o,u;if(u=!0,o="width"===n?t.offsetWidth:t.offsetHeight,i=k(t),r="border-box"===x(t,"boxSizing",!1,i),o<=0||null==o){if(((o=O(t,n,i))<0||null==o)&&(o=t.style[n]),M.test(o))return o;u=r&&o===t.style[n],o=parseFloat(o)||0}return o+E(t,n,e||(r?"border":"content"),u,i)},Q=function(t){return R(t,"width","content")},D=_.assign(n,{hasClass:I,addClass:A,getAttribute:P,setAttribute:$,removeAttribute:V,setAttributes:W,getData:T,setData:H,width:Q,isString:_.isString,isArray:_.isArray,isEmpty:_.isEmpty,assign:_.assign,merge:_.merge,cloneDeep:_.cloneDeep,compact:_.compact,contains:_.includes,difference:_.difference,isFunction:_.isFunction,functions:_.functions,identity:_.identity,isPlainObject:_.isPlainObject,trim:_.trim}),q=function(t){var n,e,r,i,o,u,s,a;if(null==t)return"";for(a="",o=void 0,r=void 0,0,o=r=0,s=(u=t+"").length,i=0;i<s;)e=null,(n=u.charCodeAt(i))<128?r++:e=n>127&&n<2048?String.fromCharCode(n>>6|192,63&n|128):String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128),null!==e&&(r>o&&(a+=u.slice(o,r)),a+=e,o=r=i+1),i++;return r>o&&(a+=u.slice(o,s)),a},w=function(t){var n,e,r,i;for("00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6
19B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D",n=0,0,i=0,n^=-1,e=0,r=(t=q(t)).length;e<r;)i=255&(n^t.charCodeAt(e)),n=n>>>8^"0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substr(9*i,8),e++;return(n^=-1)<0&&(n+=4294967296),n},a=function(){function t(t){var n;this.options={},null!=t&&["resourceType","type","publicId","format"].forEach((n=this,function(e){var r;return n.options[e]=null!=(r=t[e])?r:t[D.snakeCase(e)]}))}return t.prototype.resourceType=function(t){return this.options.resourceType=t,this},t.prototype.type=function(t){return this.options.type=t,this},t.prototype.publicId=function(t){return this.options.publicId=t,this},t.prototype.getPublicId=function(){var t;return null!=(t=this.options.publicId)?t.replace(/\//g,":"):void 0},t.prototype.getFullPublicId=function(){return null!=this.options.format?this.getPublicId()+"."+this.options.format:this.getPublicId()},t.prototype.format=function(t){return this.options.format=t,this},t.prototype.toString=function(){var t;if(t=[],null==this.options.publicId)throw"Must supply publicId";return"image"!==this.options.resourceType&&t.push(this.options.resourceType),"upload"!==this.options.type&&t.push(this.options.type),t.pu
19sh(this.getFullPublicId()),D.compact(t).join(":")},t}(),d=function(t){function n(t){var e;n.__super__.constructor.call(this,t),null!=t&&["resourceType","resourceType","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textAlign","stroke","letterSpacing","lineSpacing","text"].forEach((e=this,function(n){var r;return e.options[n]=null!=(r=t[n])?r:t[D.snakeCase(n)]})),this.options.resourceType="text"}return extend(n,a),n.prototype.resourceType=function(t){throw"Cannot modify resourceType for text layers"},n.prototype.type=function(t){throw"Cannot modify type for text layers"},n.prototype.format=function(t){throw"Cannot modify format for text layers"},n.prototype.fontFamily=function(t){return this.options.fontFamily=t,this},n.prototype.fontSize=function(t){return this.options.fontSize=t,this},n.prototype.fontWeight=function(t){return this.options.fontWeight=t,this},n.prototype.fontStyle=function(t){return this.options.fontStyle=t,this},n.prototype.textDecoration=function(t){return this.options.textDecoration=t,this},n.prototype.textAlign=function(t){return this.options.textAlign=t,this},n.prototype.stroke=function(t){return this.options.stroke=t,this},n.prototype.letterSpacing=function(t){return this.options.letterSpacing=t,this},n.prototype.lineSpacing=function(t){return this.options.lineSpacing=t,this},n.prototype.text=function(t){return this.options.text=t,this},n.prototype.toString=function(){var t,n,e,r,i,o;if(i=this.textStyleIdentifier(),null!=this.options.publicId&&(r=this.getFullPublicId()),null!=this.options.text){if(n=!D.isEmpty(r),e=!D.isEmpty(i),n&&e||!n&&!e)throw"Must supply either style parameters or a public_id when providing text parameter in a text overlay/underlay, but not both!";o=D.smartEscape(D.smartEscape(this.options.text,/[,\/]/g))}return t=[this.options.resourceType,i,r,o],D.compact(t).join(":")},n.prototype.textStyleIdentifier=function(){var t;if(t=[],"normal"!==this.options.fontWeight&&t.push(this.options.fontWeight),"normal"!==this.options.fontStyle&&t.push(this.options.fontStyle),"none"!==this.options.textDecoration&&t.push(this.options.textDecoration),t.push(this.options.textAlign),"none"!==this.options.stroke&&t.push(this.options.stroke),D.isEmpty(this.options.letterSpacing)&&!D.isNumberLike(this.options.letterSpacing)||t.push("letter_spacing_"+this.options.letterSpacing),D.isEmpty(this.options.lineSpacing)&&!D.isNumberLike(this.options.lineSpacing)||t.push("line_spacing_"+this.options.lineSpacing),!D.isEmpty(D.compact(t))){if(D.isEmpty(this.options.fontFamily))throw"Must supply fontFamily. "+t;if(D.isEmpty(this.options.fontSize)&&!D.isNumberLike(this.options.fontSize))throw"Must supply fontSize."}return t.unshift(this.options.fontFamily,this.options.fontSize),D.compact(t).join("_")},n}(),h=function(t){function n(t){n.__super__.constructor.call(this,t),this.options.resourceType="subtitles"}return extend(n,d),n}(),l=function(){function t(t,n,e){null==e&&(e=C.Util.identity),this.name=t,this.shortName=n,this.process=e}return t.prototype.set=function(t){return this.origValue=t,this},t.prototype.serialize=function(){var t,n;return t=this.value(),n=C.Util.isArray(t)||C.Util.isPlainObject(t)||C.Util.isString(t)?!C.Util.isEmpty(t):null!=t,null!=this.shortName&&n?this.shortName+"_"+t:""},t.prototype.value=function(){return this.process(this.origValue)},t.norm_color=function(t){return null!=t?t.replace(/^#/,"rgb:"):void 0},t.prototype.build_array=function(t){return null==t&&(t=[]),C.Util.isArray(t)?t:[t]},t.process_video_params=function(t){var n;switch(t.constructor){case Object:return n="","codec"in t&&(n=t.codec,"profile"in t&&(n+=":"+t.profile,"level"in t&&(n+=":"+t.level))),n;case String:return t;default:return null}},t}(),t=function(t){function n(t,e,r,i){null==r&&(r="."),this.sep=r,n.__super__.constructor.call(this,t,e,i)}return extend(n,l),n.prototype.serialize=function(){var t,n,e;return null!=this.shortName?(t=this.value(),C.Util.isEmpty(t)?"":(n=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.value()).length;t<n;t++)e=r[t],C.Util.isFunction(e.serialize)?i.push(e.serialize()):i.push(e);return i}.call(this),this.shortName+"_"+n.join(this.sep))):""},n.prototype.set=function(t){return null==t||C.Util.isArray(t)?n.__super__.set.call(this,t):n.__super__.set.call(this,[t])},n}(),m=function(t){function n(t,e,r,i){null==e&&(e="t"),null==r&&(r="."),this.sep=r,n.__super__.constructor.call(this,t,e,i)}return extend(n,l),n.prototype.serialize=function(){var t,n,e;return C.Util.isEmpty(this.value())?"":C.Util.allStrings(this.value())?(t=this.value().join(this.sep),C.Util.isEmpty(t)?"":this.shortName+"_"+t):(n=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.value()).length;t<n;t++)null!=(e=r[t])&&(C.Util.isString(e)&&!C.Util.isEmpty(e)?i.push(this.shortName+"_"+e):C.Util.isFunction(e.serialize)?i.push(e.serialize()):C.Util.isPlainObject(e)&&!C.Util.isEmpty(e)?i.push(new y(e).serialize()):i.push(void 0));return i}.call(this),C.Util.compact(n))},n.prototype.set=function(t){return this.origValue=t,C.Util.isArray(this.origValue)?n.__super__.set.call(this,this.origValue):n.__super__.set.call(this,[this.origValue])},n}(),p=function(t){function n(t,e,r){null==r&&(r=this.norm_range_value),n.__super__.constructor.call(this,t,e,r)}return extend(n,l),n.norm_range_value=function(t){var n,e;return(e=String(t).match(new RegExp("^"+offset_any_pattern+"$")))&&(n=null!=e[5]?"p":"",t=(e[1]||e[4])+n),t},n}(),f=function(t){function n(t,e,r){null==r&&(r=C.Util.identity),n.__super__.constructor.call(this,t,e,r)}return extend(n,l),n.prototype.serialize=function(){return this.value()},n}(),c=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return extend(n,l),n.prototype.value=function(){var t;return t=this.origValue,C.Util.isPlainObject(t)?"text"===t.resource_type||null!=t.text?new C.TextLayer(t).toString():"subtitles"===t.resource_type?new C.SubtitlesLayer(t).toString():new C.Layer(t).toString():t},[["font_weight","normal"],["font_style","normal"],["text_decoration","none"],["text_align",null],["stroke","none"],["letter_spacing",null],["line_spacing",null]],n.prototype.textStyle=function(t){return new C.TextLayer(t).textStyleIdentifier()},n}(),(N={}).Param=l,N.ArrayParam=t,N.RangeParam=p,N.RawParam=f,N.TransformationParam=m,N.LayerParam=c,i=function(){function t(t){this.predicate_list=[],null!=t&&this.predicate_list.push(this.normalize(t))}
19return t.OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or"},t.PARAMETERS={width:"w",height:"h",aspect_ratio:"ar",aspectRatio:"ar",page_count:"pc",pageCount:"pc",face_count:"fc",faceCount:"fc"},t.BOUNDRY="[ _]+",t.new=function(t){return new this(t)},t.prototype.normalize=function(n){var e;return e=new RegExp("("+Object.keys(t.PARAMETERS).join("|")+"|[=<>&|!]+)","g"),(n=n.replace(e,function(n){return t.OPERATORS[n]||t.PARAMETERS[n]})).replace(/[ _]+/g,"_")},t.prototype.getParent=function(){return this.parent},t.prototype.setParent=function(t){return this.parent=t,this},t.prototype.toString=function(){return this.predicate_list.join("_")},t.prototype.predicate=function(n,e,r){return null!=t.OPERATORS[e]&&(e=t.OPERATORS[e]),this.predicate_list.push(n+"_"+e+"_"+r),this},t.prototype.and=function(){return this.predicate_list.push("and"),this},t.prototype.or=function(){return this.predicate_list.push("or"),this},t.prototype.then=function(){return this.getParent().if(this.toString())},t.prototype.height=function(t,n){return this.predicate("h",t,n)},t.prototype.width=function(t,n){return this.predicate("w",t,n)},t.prototype.aspectRatio=function(t,n){return this.predicate("ar",t,n)},t.prototype.pageCount=function(t,n){return this.predicate("pc",t,n)},t.prototype.faceCount=function(t,n){return this.predicate("fc",t,n)},t}(),o=function(){function t(t){null==t&&(t={}),this.configuration=D.cloneDeep(t),D.defaults(this.configuration,n)}var n,e;return n={responsive_class:"cld-responsive",responsive_use_breakpoints:!0,round_dpr:!0,secure:"https:"===("undefined"!=typeof window&&null!==window&&null!=(e=window.location)?e.protocol:void 0)},t.CONFIG_PARAMS=["api_key","api_secret","cdn_subdomain","cloud_name","cname","private_cdn","protocol","resource_type","responsive","responsive_class","responsive_use_breakpoints","responsive_width","round_dpr","secure","secure_cdn_subdomain","secure_distribution","shorten","type","url_suffix","use_root_path","version"],t.prototype.init=function(){return this.fromEnvironment(),this.fromDocument(),this},t.prototype.set=function(t,n){return this.configuration[t]=n,this},t.prototype.get=function(t){return this.configuration[t]},t.prototype.merge=function(t){return null==t&&(t={}),D.assign(this.configuration,D.cloneDeep(t)),this},t.prototype.fromDocument=function(){var t,n,e,r;if(r="undefined"!=typeof document&&null!==document?document.querySelectorAll('meta[name^="cloudinary_"]'):void 0)for(n=0,e=r.length;n<e;n++)t=r[n],this.configuration[t.getAttribute("name").replace("cloudinary_","")]=t.getAttribute("content");return this},t.prototype.fromEnvironment=function(){var t,n,e,r,i,o,u,s,a,c;if(null!=(t="undefined"!=typeof process&&null!==process&&null!=(o=process.env)?o.CLOUDINARY_URL:void 0)&&((a=/cloudinary:\/\/(?:(\w+)(?:\:(\w+))?@)?([\w\.-]+)(?:\/([^?]*))?(?:\?(.+))?/.exec(t))&&(null!=a[3]&&(this.configuration.cloud_name=a[3]),null!=a[1]&&(this.configuration.api_key=a[1]),null!=a[2]&&(this.configuration.api_secret=a[2]),null!=a[4]&&(this.configuration.private_cdn=null!=a[4]),null!=a[4]&&(this.configuration.secure_distribution=a[4]),null!=(i=a[5]))))for(n=0,r=(u=i.split("&")).length;n<r;n++)e=(s=u[n].split("="))[0],null==(c=s[1])&&(c=!0),this.configuration[e]=c;return this},t.prototype.config=function(t,n){switch(!1){case void 0===n:return this.set(t,n),this.configuration;case!D.isString(t):return this.get(t);case!D.isPlainObject(t):return this.merge(t),this.configuration;default:return this.configuration}},t.prototype.toOptions=function(){return D.cloneDeep(this.configuration)},t}(),g=function(){function n(n){var r,i;null==n&&(n={}),r=void 0,i={},this.toOptions||(this.toOptions=function(t){var n,e,r,o,u,s;for(n in null==t&&(t=!0),r={},i)s=i[n],r[n]=s.origValue;for(n in o=this.otherOptions)void 0!==(s=o[n])&&(r[n]=s);return t&&!D.isEmpty(this.chained)&&((e=function(){var t,n,e,r;for(r=[],t=0,n=(e=this.chained).length;t<n;t++)u=e[t],r.push(u.toOptions());return r}.call(this)).push(r),r={transformation:e}),r}),this.setParent||(this.setParent=function(t){return r=t,null!=t&&this.fromOptions("function"==typeof t.toOptions?t.toOptions():void 0),this}),this.getParent||(this.getParent=function(){return r}),this.param||(this.param=function(t,n,e,r,o){return null==o&&(o=D.isFunction(r)?r:D.identity),i[n]=new l(n,e,o).set(t),this}),this.rawParam||(this.rawParam=function(t,n,r,o,u){return null==u&&(u=D.identity),u=e(arguments),i[n]=new f(n,r,u).set(t),this}),this.rangeParam||(this.rangeParam=function(t,n,r,o,u){return null==u&&(u=D.identity),u=e(arguments),i[n]=new p(n,r,u).set(t),this}),this.arrayParam||(this.arrayParam=function(n,r,o,u,s,a){return null==u&&(u=":"),null==s&&(s=[]),null==a&&(a=D.identity),a=e(arguments),i[r]=new t(r,o,u,a).set(n),this}),this.transformationParam||(this.transformationParam=function(t,n,r,o,u,s){return null==o&&(o="."),null==s&&(s=D.identity),s=e(arguments),i[n]=new m(n,r,o,s).set(t),this}),this.layerParam||(this.layerParam=function(t,n,e){return i[n]=new c(n,e).set(t),this}),this.getValue||(this.getValue=function(t){var n,e;return null!=(n=null!=(e=i[t])?e.value():void 0)?n:this.otherOptions[t]}),this.get||(this.get=function(t){return i[t]}),this.remove||(this.remove=function(t){var n;switch(!1){case null==i[t]:return n=i[t],delete i[t],n.origValue;case null==this.otherOptions[t]:return n=this.otherOptions[t],delete this.otherOptions[t],n;default:return null}}),this.keys||(this.keys=function(){var t;return function(){var n;for(t in n=[],i)n.push(D.snakeCase(t));return n}().sort()}),this.toPlainObject||(this.toPlainObject=function(){var t,n,e,r;for(n in t={}
19,i)t[n]=i[n].value(),D.isPlainObject(t[n])&&(t[n]=D.cloneDeep(t[n]));return D.isEmpty(this.chained)||((e=function(){var t,n,e,i;for(i=[],t=0,n=(e=this.chained).length;t<n;t++)r=e[t],i.push(r.toPlainObject());return i}.call(this)).push(t),t={transformation:e}),t}),this.chain||(this.chain=function(){var t;return 0!==Object.getOwnPropertyNames(i).length&&(t=new this.constructor(this.toOptions(!1)),this.resetTransformations(),this.chained.push(t)),this}),this.resetTransformations||(this.resetTransformations=function(){return i={},this}),this.otherOptions||(this.otherOptions={}),this.chained=[],D.isEmpty(n)||this.fromOptions(n)}var e;return n.prototype.trans_separator="/",n.prototype.param_separator=",",e=function(t){var n;return n=null!=t?t[t.length-1]:void 0,D.isFunction(n)?n:void 0},n.prototype.fromOptions=function(t){var e,r;if(t instanceof n)this.fromTransformation(t);else for(e in t||(t={}),(D.isString(t)||D.isArray(t))&&(t={transformation:t}),t=D.cloneDeep(t,function(t){if(t instanceof n)return new t.constructor(t.toOptions())}))r=t[e],this.set(e,r);return this},n.prototype.fromTransformation=function(t){var e,r,i,o;if(t instanceof n)for(e=0,i=(o=t.keys()).length;e<i;e++)r=o[e],this.set(r,t.get(r).origValue);return this},n.prototype.set=function(t,n){var e;return e=D.camelCase(t),D.contains(y.methods,e)?this[e](n):this.otherOptions[t]=n,this},n.prototype.hasLayer=function(){return this.getValue("overlay")||this.getValue("underlay")},n.prototype.serialize=function(){var t,n,e,r,i,o,u,s,a,c,l;switch(i=function(){var t,n,e,r;for(r=[],t=0,n=(e=this.chained).length;t<n;t++)u=e[t],r.push(u.serialize());return r}.call(this),n=this.keys(),c=null!=(e=this.get("transformation"))?e.serialize():void 0,t=null!=(r=this.get("if"))?r.serialize():void 0,n=D.difference(n,["transformation","if"]),s=function(){var t,e,r,i;for(i=[],t=0,e=n.length;t<e;t++)o=n[t],i.push(null!=(r=this.get(o))?r.serialize():void 0);return i}.call(this),!1){case!D.isString(c):s.push(c);break;case!D.isArray(c):i=i.concat(c)}return s=function(){var t,n,e;for(e=[],t=0,n=s.length;t<n;t++)l=s[t],(D.isArray(l)&&!D.isEmpty(l)||!D.isArray(l)&&l)&&e.push(l);return e}().sort(),"if_end"===t?s.push(t):D.isEmpty(t)||s.unshift(t),a=s.join(this.param_separator),D.isEmpty(a)||i.push(a),D.compact(i).join(this.trans_separator)},n.prototype.listNames=function(){return y.methods},n.prototype.toHtmlAttributes=function(){var t,n,e,r,i,o,u,s,a,c;for(e in i={},o=this.otherOptions)c=o[e],D.contains(y.PARAM_NAMES,D.snakeCase(e))||(i[/^html_/.test(e)?e.slice(5):e]=c);for(n=0,r=(u=this.keys()).length;n<r;n++)e=u[n],/^html_/.test(e)&&(i[D.camelCase(e.slice(5))]=this.getValue(e));return this.hasLayer()||this.getValue("angle")||D.contains(["fit","limit","lfill"],this.getValue("crop"))||(Q=null!=(s=this.get("width"))?s.origValue:void 0,t=null!=(a=this.get("height"))?a.origValue:void 0,parseFloat(Q)>=1&&null==i.width&&(i.width=Q),parseFloat(t)>=1&&null==i.height&&(i.height=t)),i},n.prototype.isValidParamName=function(t){return y.methods.indexOf(D.camelCase(t))>=0},n.prototype.toHtml=function(){var t;return null!=(t=this.getParent())&&"function"==typeof t.toHtml?t.toHtml():void 0},n.prototype.toString=function(){return this.serialize()},n}(),(y=function(t){function n(t){null==t&&(t={}),n.__super__.constructor.call(this,t)}return extend(n,g),n.new=function(t){return new n(t)},n.prototype.angle=function(t){return this.arrayParam(t,"angle","a",".")},n.prototype.audioCodec=function(t){return this.param(t,"audio_codec","ac")},n.prototype.audioFrequency=function(t){return this.param(t,"audio_frequency","af")},n.prototype.aspectRatio=function(t){return this.param(t,"aspect_ratio","ar")},n.prototype.background=function(t){return this.param(t,"background","b",l.norm_color)},n.prototype.bitRate=function(t){return this.param(t,"bit_rate","br")},n.prototype.border=function(t){return this.param(t,"border","bo",function(t){return D.isPlainObject(t)?(t=D.assign({},{color:"black",width:2},t)).width+"px_solid_"+l.norm_color(t.color):t})},n.prototype.color=function(t){return this.param(t,"color","co",l.norm_color)}
19,n.prototype.colorSpace=function(t){return this.param(t,"color_space","cs")},n.prototype.crop=function(t){return this.param(t,"crop","c")},n.prototype.defaultImage=function(t){return this.param(t,"default_image","d")},n.prototype.delay=function(t){return this.param(t,"delay","dl")},n.prototype.density=function(t){return this.param(t,"density","dn")},n.prototype.duration=function(t){return this.rangeParam(t,"duration","du")},n.prototype.dpr=function(t){return this.param(t,"dpr","dpr",function(t){return(null!=(t=t.toString())?t.match(/^\d+$/):void 0)?t+".0":t})},n.prototype.effect=function(t){return this.arrayParam(t,"effect","e",":")},n.prototype.else=function(){return this.if("else")},n.prototype.endIf=function(){return this.if("end")},n.prototype.endOffset=function(t){return this.rangeParam(t,"end_offset","eo")},n.prototype.fallbackContent=function(t){return this.param(t,"fallback_content")},n.prototype.fetchFormat=function(t){return this.param(t,"fetch_format","f")},n.prototype.format=function(t){return this.param(t,"format")},n.prototype.flags=function(t){return this.arrayParam(t,"flags","fl",".")},n.prototype.gravity=function(t){return this.param(t,"gravity","g")},n.prototype.height=function(t){return this.param(t,"height","h",(n=this,function(){return n.getValue("crop")||n.getValue("overlay")||n.getValue("underlay")?t:null}));var n},n.prototype.htmlHeight=function(t){return this.param(t,"html_height")},n.prototype.htmlWidth=function(t){return this.param(t,"html_width")},n.prototype.if=function(t){var e,r,o,u,s;switch(null==t&&(t=""),t){case"else":return this.chain(),this.param(t,"if","if");case"end":for(this.chain(),e=o=this.chained.length-1;o>=0&&"end"!==(r=this.chained[e].getValue("if"))&&(null==r||(u=n.new().if(r),this.chained[e].remove("if"),s=this.chained[e],this.chained[e]=n.new().transformation([u,s]),"else"===r));e=o+=-1);return this.param(t,"if","if");case"":return i.new().setParent(this);default:return this.param(t,"if","if",function(t){return i.new(t).toString()})}},n.prototype.keyframeInterval=function(t){return this.param(t,"keyframe_interval","ki")},n.prototype.offset=function(t){var n,e,r;if(r=(e=D.isFunction(null!=t?t.split:void 0)?t.split(".."):D.isArray(t)?t:[null,null])[0],n=e[1],null!=r&&this.startOffset(r),null!=n)return this.endOffset(n)},n.prototype.opacity=function(t){return this.param(t,"opacity","o")},n.prototype.overlay=function(t){return this.layerParam(t,"overlay","l")},n.prototype.page=function(t){return this.param(t,"page","pg")},n.prototype.poster=function(t){return this.param(t,"poster")},n.prototype.prefix=function(t){return this.param(t,"prefix","p")},n.prototype.quality=function(t){return this.param(t,"quality","q")},n.prototype.radius=function(t){return this.param(t,"radius","r")},n.prototype.rawTransformation=function(t){return this.rawParam(t,"raw_transformation")},n.prototype.size=function(t){var n,e;if(D.isFunction(null!=t?t.split:void 0))return e=t.split("x"),Q=e[0],n=e[1],this.width(Q),this.height(n)},n.prototype.sourceTypes=function(t){return this.param(t,"source_types")},n.prototype.sourceTransformation=function(t){return this.param(t,"source_transformation")},n.prototype.startOffset=function(t){return this.rangeParam(t,"start_offset","so")},n.prototype.streamingProfile=function(t){return this.param(t,"streaming_profile","sp")},n.prototype.transformation=function(t){return this.transformationParam(t,"transformation","t")},n.prototype.underlay=function(t){return this.layerParam(t,"underlay","u")},n.prototype.videoCodec=function(t){return this.param(t,"video_codec","vc",l.process_video_params)},n.prototype.videoSampling=function(t){return this.param(t,"video_sampling","vs")},n.prototype.width=function(t){return this.param(t,"width","w",(n=this,function(){return n.getValue("crop")||n.getValue("overlay")||n.getValue("underlay")?t:null}));var n},n.prototype.x=function(t){return this.param(t,"x","x")},n.prototype.y=function(t){return this.param(t,"y","y")},n.prototype.zoom=function(t){return this.param(t,"zoom","z")},n}()).methods||(y.methods=D.difference(D.functions(y.prototype),D.functions(g.prototype))),y.PARAM_NAMES||(y.PARAM_NAMES=function(){var t,n,e,r;for(r=[],t=0,n=(e=y.methods).length;t<n;t++)U=e[t],r.push(D.snakeCase(U));return r}().concat(o.CONFIG_PARAMS)),u=function(){function t(t,n,e){var r;this.name=t,this.publicId=n,null==e&&(D.isPlainObject(n)?(e=n,this.publicId=void 0):e={}),(r=new y(e)).setParent(this),this.transformation=function(){return r}}var n;return t.new=function(t,n,e){return new this(t,n,e)},n=function(t,n){return n?!0===n?t:t+'="'+n+'"':void 0},t.prototype.htmlAttrs=function(t){var e,r;return function(){var i;for(e in i=[],t)(r=t[e])&&i.push(n(e,r));return i}().sort().join(" ")},t.prototype.getOptions=function(){return this.transformation().toOptions()},t.prototype.getOption=function(t){return this.transformation().getValue(t)},t.prototype.attributes=function(){return this.transformation().toHtmlAttributes()},t.prototype.setAttr=function(t,n){return this.transformation().set("html_"+t,n),this},t.prototype.getAttr=function(t){return this.attributes()["html_"+t]||this.attributes()[t]},t.prototype.removeAttr=function(t){var n;return null!=(n=this.transformation().remove("html_"+t))?n:this.transformation().remove(t)},t.prototype.content=function(){return""},t.prototype.openTag=function(){return"<"+this.name+" "+this.htmlAttrs(this.attributes())+">"},t.prototype.closeTag=function(){return"</"+this.name+">"},t.prototype.toHtml=function(){return this.openTag()+this.content()+this.closeTag()},t.prototype.toDOM=function(){var t,n,e,r;if(!D.isFunction("undefined"!=typeof document&&null!==document?document.createElement:void 0))throw"Can't create DOM if document is not present!";for(n in t=document.createElement(this.name),e=this.attributes())r=e[n],t[n]=r;return t},t.isResponsive=function(t,n){var e;return e=D.getData(t,"src-cache")||D.getData(t,"src"),D.hasClass(t,n)&&/\bw_auto\b/.exec(e)},t}(),s=function(t){function n(t,e){null==e&&(e={}),n.__super__.constructor.call(this,"img",t,e)}return extend(n,u),n.prototype.closeTag=function(){return""},n.prototype.attributes=function(){var t,e,i;return null==(t=n.__super__.attributes.call(this)||[])[i=(e=this.getOptions()).responsive&&!e.client_hints?"data-src":"src"]&&(t[i]=new r(this.getOptions()).url(this.publicId)),t},n}(),v=function(t){function n(t,e){null==e&&(e={}),e=D.defaults({},e,r.DEFAULT_VIDEO_PARAMS),n.__super__.constructor.call(this,"video",t.replace(/\.(mp4|ogv|webm)$/,""),e)}var e,i;
19return extend(n,u),i=["source_types","source_transformation","fallback_content","poster"],["webm","mp4","ogv"],e={format:"jpg",resource_type:"video"},n.prototype.setSourceTransformation=function(t){return this.transformation().sourceTransformation(t),this},n.prototype.setSourceTypes=function(t){return this.transformation().sourceTypes(t),this},n.prototype.setPoster=function(t){return this.transformation().poster(t),this},n.prototype.setFallbackContent=function(t){return this.transformation().fallbackContent(t),this},n.prototype.content=function(){var t,n,e,i,o,u,s,a,c;return u=this.transformation().getValue("source_types"),o=this.transformation().getValue("source_transformation"),n=this.transformation().getValue("fallback_content"),D.isArray(u)?(t=new r(this.getOptions()),e=function(){var n,e,r;for(r=[],n=0,e=u.length;n<e;n++)a=u[n],c=o[a]||{},s=t.url(""+this.publicId,D.defaults({},c,{resource_type:"video",format:a})),i="video/"+("ogv"===a?"ogg":a),r.push("<source "+this.htmlAttrs({src:s,type:i})+">");return r}.call(this)):e=[],e.join("")+n},n.prototype.attributes=function(){var t,o,u,s,a,c,l,p;for(p=this.getOption("source_types"),a=null!=(c=this.getOption("poster"))?c:{},D.isPlainObject(a)&&(j=null!=a.public_id?r.DEFAULT_IMAGE_PARAMS:e,a=new r(this.getOptions()).url(null!=(l=a.public_id)?l:this.publicId,D.defaults({},a,j))),u=0,s=(o=n.__super__.attributes.call(this)||[]).length;u<s;u++)t=o[u],D.contains(i)||(o=t);return D.isArray(p)||(o.src=new r(this.getOptions()).url(this.publicId,{resource_type:"video",format:p})),null!=a&&(o.poster=a),o},n}(),e=function(t){function n(t){n.__super__.constructor.call(this,"meta",void 0,D.assign({"http-equiv":"Accept-CH",content:"DPR, Viewport-Width, Width"},t))}return extend(n,u),n.prototype.closeTag=function(){return""},n}(),r=function(){function t(t){var n;this.devicePixelRatioCache={},this.responsiveConfig={},this.responsiveResizeInitialized=!1,n=new o(t),this.config=function(t,e){return n.config(t,e)},this.fromDocument=function(){return n.fromDocument(),this},this.fromEnvironment=function(){return n.fromEnvironment(),this},this.init=function(){return n.init(),this}}var n,e,r,i,a,c,l,p,f,h,d,g;return"2.1.9","d3jpl91pxevbkh.cloudfront.net","cloudinary-a.akamaihd.net","res.cloudinary.com","res.cloudinary.com",n={format:"jpg",resource_type:"video"},e=["webm","mp4","ogv"],t.DEFAULT_IMAGE_PARAMS={resource_type:"image",transformation:[],type:"upload"},t.DEFAULT_VIDEO_PARAMS={fallback_content:"",resource_type:"video",source_transformation:{},source_types:e,transformation:[],type:"upload"},t.new=function(t){return new this(t)},f=function(t,n,e,r,i){var o;if(D.isPlainObject(t)&&(t=(o=t).resource_type,n=o.type,e=o.url_suffix,r=o.use_root_path,i=o.shorten),null==n&&(n="upload"),null!=e)if("image"===t&&"upload"===n)t="images",n=null;else{if("raw"!==t||"upload"!==n)throw new Error("URL Suffix only supported for image/upload and raw/upload");t="files",n=null}if(r){if(("image"!==t||"upload"!==n)&&"images"!==t)throw new Error("Root path only supported for image/upload");t=null,n=null}return i&&"image"===t&&"upload"===n&&(t="iu",n=null),[t,n].join("/")},r=function(t){var n;return t.match(/^https?:\//)||(n=document.location.protocol+"//"+document.location.host,"?"===t[0]?n+=document.location.pathname:"/"!==t[0]&&(n+=document.location.pathname.replace(/\/[^\/]*$/,"/")),t=n+t),t},t.prototype.url=function(n,e){var i,o,u,s,a,c;if(null==e&&(e={}),!n)return n;if(e instanceof y&&(e=e.toOptions()),"fetch"===(e=D.defaults({},e,this.config(),t.DEFAULT_IMAGE_PARAMS)).type&&(e.fetch_format=e.fetch_format||e.format,n=r(n)),s=new y(e).serialize(),!e.cloud_name)throw"Unknown cloud_name";if(e.url_suffix&&!e.private_cdn)throw"URL Suffix only supported in private CDN";if(n.search("/")>=0&&!n.match(/^v[0-9]+/)&&!n.match(/^https?:\//)&&!(null!=(o=e.version)?o.toString():void 0)&&(e.version=1),n.match(/^https?:/))"upload"===e.type||"asset"===e.type?a=n:n=encodeURIComponent(n).replace(/%3A/g,":").replace(/%2F/g,"/");else{try{n=decodeURIComponent(n)}catch(t){t}if(n=encodeURIComponent(n).replace(/%3A/g,":").replace(/%2F/g,"/"),e.url_suffix){if(e.url_suffix.match(/[\.\/]/))throw"url_suffix should not include . or /";n=n+"/"+e.url_suffix}e.format&&(e.trust_public_id||(n=n.replace(/\.(jpg|png|gif|webp)$/,"")),n=n+"."+e.format)}return i=l(n,e),u=f(e.resource_type,e.type,e.url_suffix,e.use_root_path,e.shorten),c=e.version?"v"+e.version:"",a||D.compact([i,u,s,c,n]).join("/").replace(/([^:])\/+/g,"$1/")},t.prototype.video_url=function(t,n){return n=D.assign({resource_type:"video"},n),this.url(t,n)},t.prototype.video_thumbnail_url=function(t,e){return e=D.assign({},n,e),this.url(t,e)},t.prototype.transformation_string=function(t){return new y(t).serialize()},t.prototype.image=function(t,n){var e,r,i,o;return null==n&&(n={}),r=this.imageTag(t,n),e=null!=(i=null!=(o=n.client_hints)?o:this.config("client_hints"))&&i,null!=n.src||e||r.setAttr("src",""),r=r.toDOM(),e||(D.setData(r,"src-cache",this.url(t,n)),this.cloudinary_update(r,n)),r},t.prototype.imageTag=function(t,n){var e;return(e=new s(t,this.config())).transformation().fromOptions(n),e},t.prototype.video_thumbnail=function(t,e){return this.image(t,D.merge
19({},n,e))},t.prototype.facebook_profile_image=function(t,n){return this.image(t,D.assign({type:"facebook"},n))},t.prototype.twitter_profile_image=function(t,n){return this.image(t,D.assign({type:"twitter"},n))},t.prototype.twitter_name_profile_image=function(t,n){return this.image(t,D.assign({type:"twitter_name"},n))},t.prototype.gravatar_image=function(t,n){return this.image(t,D.assign({type:"gravatar"},n))},t.prototype.fetch_image=function(t,n){return this.image(t,D.assign({type:"fetch"},n))},t.prototype.video=function(t,n){return null==n&&(n={}),this.videoTag(t,n).toHtml()},t.prototype.videoTag=function(t,n){return n=D.defaults({},n,this.config()),new v(t,n)},t.prototype.sprite_css=function(t,n){return n=D.assign({type:"sprite"},n),t.match(/.css$/)||(n.format="css"),this.url(t,n)},t.prototype.responsive=function(t,n){var e,r,i,o,u,s;if(null==n&&(n=!0),this.responsiveConfig=D.merge(this.responsiveConfig||{},t),o=null!=(e=this.responsiveConfig.responsive_class)?e:this.config("responsive_class"),n&&this.cloudinary_update("img."+o+", img.cld-hidpi",this.responsiveConfig),(null==(r=null!=(i=this.responsiveConfig.responsive_resize)?i:this.config("responsive_resize"))||r)&&!this.responsiveResizeInitialized)return this.responsiveConfig.resizing=this.responsiveResizeInitialized=!0,u=null,window.addEventListener("resize",(s=this,function(){var t,n,e,r,i,a;return t=null!=(n=null!=(e=s.responsiveConfig.responsive_debounce)?e:s.config("responsive_debounce"))?n:100,r=function(){if(u)return clearTimeout(u),u=null},i=function(){return s.cloudinary_update("img."+o,s.responsiveConfig)},a=function(){return r(),i()},t?(r(),u=setTimeout(a,t)):i()}))},t.prototype.calc_breakpoint=function(t,n,e){var r,i;return r=D.getData(t,"breakpoints")||D.getData(t,"stoppoints")||this.config("breakpoints")||this.config("stoppoints")||p,D.isFunction(r)?r(n,e):(D.isString(r)&&(r=function(){var t,n,e,o;for(o=[],t=0,n=(e=r.split(",")).length;t<n;t++)i=e[t],o.push(parseInt(i));return o}().sort(function(t,n){return t-n})),c(r,n))},t.prototype.calc_stoppoint=t.prototype.calc_breakpoint,t.prototype.device_pixel_ratio=function(t){var n,e;return null==t&&(t=!0),n=("undefined"!=typeof window&&null!==window?window.devicePixelRatio:void 0)||1,t&&(n=Math.ceil(n)),(n<=0||NaN===n)&&(n=1),(e=n.toString()).match(/^\d+$/)&&(e+=".0"),e},p=function(t,n){return null==n&&(n=100),n*Math.ceil(t/n)},c=function(t,n){var e;for(e=t.length-2;e>=0&&t[e]>=n;)e--;return t[e+1]},a=function(t){return w(t)%5+1},l=function(t,n){var e,r,i,o,u,s;return 0===(null!=(u=n.cloud_name)?u.indexOf("/"):void 0)?"/res"+n.cloud_name:(o="http://",e="",s="res",r=".cloudinary.com",i="/"+n.cloud_name,n.protocol&&(o=n.protocol+"//"),n.private_cdn&&(e=n.cloud_name+"-",i=""),n.cdn_subdomain&&(s="res-"+a(t)),n.secure?(o="https://",!1===n.secure_cdn_subdomain&&(s="res"),null!=n.secure_distribution&&"cloudinary-a.akamaihd.net"!==n.secure_distribution&&"res.cloudinary.com"!==n.secure_distribution&&(e="",s="",r=n.secure_distribution)):n.cname&&(o="http://",e="",s=n.cdn_subdomain?"a"+(w(t)%5+1)+".":"",r=n.cname),[o,e,s,r,i].join(""))},t.prototype.processImageTags=function(t,n){var e,r,i,o,u;return null==n&&(n={}),D.isEmpty(t)?this:(n=D.defaults({},n,this.config()),e=function(){var e,s,a,c;for(c=[],e=0,s=t.length;e<s;e++)"IMG"===(null!=(a=(i=t[e]).tagName)?a.toUpperCase():void 0)&&(r=D.assign({width:i.getAttribute("width"),height:i.getAttribute("height"),src:i.getAttribute("src")},n),o=r.source||r.src,delete r.source,delete r.src,u=this.url(o,r),r=new y(r).toHtmlAttributes(),D.setData(i,"src-cache",u),i.setAttribute("width",r.width),c.push(i.setAttribute("height",r.height)));return c}.call(this),this.cloudinary_update(e,n),this)},i=function(t,n,e,r){var i,o,u,s;return!(s=null!=(i=null!=(o=null!=(u=r.responsive_use_breakpoints)?u:r.responsive_use_stoppoints)?o:this.config("responsive_use_breakpoints"))?i:this.config("responsive_use_stoppoints"))||"resize"===s&&!r.resizing?n:this.calc_breakpoint(t,n,e)},h=function(t){var n,e;for(n=0;(t=null!=t?t.parentNode:void 0)instanceof Element&&!n;)e=window.getComputedStyle(t),/^inline/.test(e.display)||(n=D.width(t));return n},g=function(t,n){return t.replace(/\bdpr_(1\.0|auto)\b/g,"dpr_"+this.device_pixel_ratio(n))},d=function(t,n){var e;return t>(e=D.getData(n,"width")||0)&&(e=t,D.setData(n,"width",t)),e},t.prototype.cloudinary_update=function(t,n){var e,r,o,s,a,c,l,p,f,y,m,_,v,A,B,E,C;if(null==n&&(n={}),null===t)return this;for(v=null!=(c=null!=(l=n.responsive)?l:this.config("responsive"))&&c,t=function(){switch(!1){case!D.isArray(t):case"NodeList"!==t.constructor.name:return t;case!D.isString(t):return document.querySelectorAll(t);default:return[t]}}(),A=null!=(p=null!=(f=this.responsiveConfig.responsive_class)?f:n.responsive_class)?p:this.config("responsive_class"),B=null!=(y=n.round_dpr)?y:this.config("round_dpr"),o=0,s=t.length;o<s;o++)if((null!=(m=(C=t[o]).tagName)?m.match(/img/i):void 0)&&(E=!0,v&&D.addClass(C,A),r=D.getData(C,"src-cache")||D.getData(C,"src"),!D.isEmpty(r))){if
19(r=g.call(this,r,B),u.isResponsive(C,A))if(0!==(e=h(C))){switch(!1){case!/w_auto:breakpoints/.test(r):_=d(e,C),r=r.replace(/w_auto:breakpoints([_0-9]*)(:[0-9]+)?/,"w_auto:breakpoints$1:"+_);break;case!(a=/w_auto(:(\d+))?/.exec(r)):_=i.call(this,C,e,a[2],n),_=d(_,C),r=r.replace(/w_auto[^,\/]*/g,"w_"+_)}D.removeAttribute(C,"width"),n.responsive_preserve_height||D.removeAttribute(C,"height")}else E=!1;E&&D.setAttribute(C,"src",r)}return this},t.prototype.transformation=function(t){return y.new(this.config()).fromOptions(t).setParent(this)},t}(),C={utf8_encode:q,crc32:w,Util:D,Condition:i,Transformation:y,Configuration:o,HtmlTag:u,ImageTag:s,VideoTag:v,ClientHintsMetaTag:e,Layer:a,TextLayer:d,SubtitlesLayer:h,Cloudinary:r,VERSION:"2.1.9"}});
20!function(t,e){"use strict";function r(r,a,i,l,u){function f(){B=t.devicePixelRatio>1,i=c(i),a.delay>=0&&setTimeout(function(){s(!0)},a.delay),(a.delay<0||a.combined)&&(l.e=function(t,e){var n,i=0;return function(o,l){function u(){i=+new Date,e.call(r,o)}var f=+new Date-i;n&&clearTimeout(n),f>t||!a.enableThrottle||l?u():n=setTimeout(u,t-f)}}(a.throttle,function(t){"resize"===t.type&&(z=w=-1),s(t.all)}),l.a=function(t){t=c(t),i.push.apply(i,t)},l.g=function(){return i=n(i).filter(function(){return!n(this).data(a.loadedName)})},l.f=function(t){for(var e=0;e<t.length;e++){var r=i.filter(function(){return this===t[e]});r.length&&s(!1,r)}},s(),n(a.appendScroll).on("scroll."+u+" resize."+u,l.e))}function c(t){for(var i=a.defaultImage,o=a.placeholder,l=a.imageBase,u=a.srcsetAttribute,f=a.loaderAttribute,c=a._f||{},s=0,d=(t=n(t).filter(function(){var t=n(this),r=m(this);return!t.data(a.handledName)&&(t.attr(a.attribute)||t.attr(u)||t.attr(f)||c[r]!==e)}).data("plugin_"+a.name,r)).length;s<d;s++){var A=n(t[s]),g=m(t[s]),h=A.attr(a.imageBaseAttribute)||l;g===I&&h&&A.attr(u)&&A.attr(u,b(A.attr(u),h)),c[g]===e||A.attr(f)||A.attr(f,c[g]),g===I&&i&&!A.attr(N)?A.attr(N,i):g===I||!o||A.css(C)&&"none"!==A.css(C)||A.css(C,"url('"+o+"')")}return t}function s(t,e){if(i.length){for(var o=e||i,l=!1,u=a.imageBase||"",f=a.srcsetAttribute,c=a.handledName,s=0;s<o.length;s++)if(t||e||A(o[s])){var g=n(o[s]),h=m(o[s]),b=g.attr(a.attribute),v=g.attr(a.imageBaseAttribute)||u,p=g.attr(a.loaderAttribute);g.data(c)||a.visibleOnly&&!g.is(":visible")||!((b||g.attr(f))&&(h===I&&(v+b!==g.attr(N)||g.attr(f)!==g.attr(E))||h!==I&&v+b!==g.css(C))||p)||(l=!0,g.data(c,!0),d(g,h,v,p))}l&&(i=n(i).filter(function(){return!n(this).data(c)}))}else a.autoDestroy&&r.destroy()}function d(t,e,r,i){++y;var o=function(){p("onError",t),v(),o=n.noop};p("beforeLoad",t);var l=a.attribute,u=a.srcsetAttribute,f=a.sizesAttribute,c=a.retinaAttribute,s=a.removeAttribute,d=a.loadedName,A=t.attr(c);if(i){var g=function(){s&&t.removeAttr(a.loaderAttribute),t.data(d,!0),p(L,t),setTimeout(v,1),g=n.noop};t.off(D).one(D,o).one(T,g),p(i,t,function(e){e?(t.off(T),g()):(t.off(D),o())})||t.trigger(D)}else{var h=n(new Image);h.one(D,o).one(T,function(){t.hide(),e===I?t.attr(F,h.attr(F)).attr(E,h.attr(E)).attr(N,h.attr(N)):t.css(C,"url('"+h.attr(N)+"')"),t[a.effect](a.effectTime),s&&(t.removeAttr(l+" "+u+" "+c+" "+a.imageBaseAttribute),f!==F&&t.removeAttr(f)),t.data(d,!0),p(L,t),h.remove(),v()});var m=(B&&A?A:t.attr(l))||"";h.attr(F,t.attr(f)).attr(E,t.attr(u)).attr(N,m?r+m:null),h.complete&&h.trigger(T)}}function A(t){var e=t.getBoundingClientRect(),r=a.scrollDirection,n=a.threshold,i=h()+n>e.top&&-n<e.bottom,o=g()+n>e.left&&-n<e.right;return"vertical"===r?i:"horizontal"===r?o:i&&o}function g(){return z>=0?z:z=n(t).width()}function h(){return w>=0?w:w=n(t).height()}function m(t){return t.tagName.toLowerCase()}function b(t,e){if(e){var r=t.split(",");t="";for(var a=0,n=r.length;a<n;a++)t+=e+r[a].trim()+(a!==n-1?",":"")}return t}function v(){--y,i.length||y||p("onFinishedAll")}function p(t,e,n){return!!(t=a[t])&&(t.apply(r,[].slice.call(arguments,1)),!0)}var y=0,z=-1,w=-1,B=!1,L="afterLoad",T="load",D="error",I="img",N="src",E="srcset",F="sizes",C="background-image";"event"===a.bind||o?f():n(t).on(T+"."+u,f)}function a(a,o){var l=this,u=n.extend({},l.config,o),f={},c=u.name+"-"+ ++i;return l.config=function(t,r){return r===e?u[t]:(u[t]=r,l)},l.addItems=function(t){return f.a&&f.a("string"===n.type(t)?n(t):t),l},l.getItems=function(){return f.g?f.g():{}},l.update=function(t){return f.e&&f.e({},!t),l},l.force=function(t){return f.f&&f.f("string"===n.type(t)?n(t):t),l},l.loadAll=function(){return f.e&&f.e({all:!0},!0),l},l.destroy=function(){return n(u.appendScroll).off("."+c,f.e),n(t).off("."+c),f={},e},r(l,u,a,f,c),u.chainable?a:l}var n=t.jQuery||t.Zepto,i=0,o=!1;n.fn.Lazy=n.fn.lazy=function(t){return new a(this,t)},n.Lazy=n.lazy=function(t,r,i){if(n.isFunction(r)&&(i=r,r=[]),n.isFunction(i)){t=n.isArray(t)?t:[t],r=n.isArray(r)?r:[r];for(var o=a.prototype.config,l=o._f||(o._f={}),u=0,f=t.length;u<f;u++)(o[t[u]]===e||n.isFunction(o[t[u]]))&&(o[t[u]]=i);for(var c=0,s=r.length;c<s;c++)l[r[c]]=t[0]}},a.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},n(t).on("load",function(){o=!0})}(window);
21!function(t){function a(a,e,r,o){var i;"POST"!==(o=o?o.toUpperCase():"GET")&&"PUT"!==o||!a.config("ajaxCreateData")||(i=a.config("ajaxCreateData").apply(a,[e])),t.ajax({url:e.attr("data-src"),type:"POST"===o||"PUT"===o?o:"GET",data:i,dataType:e.attr("data-type")||"html",success:function(t){e.html(t),r(!0),a.config("removeAttribute")&&e.removeAttr("data-src data-method data-type")},error:function(){r(!1)}})}t.lazy("ajax",function(t,e){a(this,t,e,t.attr("data-method"))}),t.lazy("get",function(t,e){a(this,t,e,"GET")}),t.lazy("post",function(t,e){a(this,t,e,"POST")}),t.lazy("put",function(t,e){a(this,t,e,"PUT")})}(window.jQuery||window.Zepto),function(t){t.lazy(["av","audio","video"],["audio","video"],function(a,e){var r=a[0].tagName.toLowerCase();if("audio"===r||"video"===r){var o=a.find("data-src"),i=a.find("data-track"),n=0,c=function(){++n===o.length&&e(!1)},s=function(){var a=t(this),e=a[0].tagName.toLowerCase(),r=a.prop("attributes"),o=t("data-src"===e?"<source>":"<track>");"data-src"===e&&o.one("error",c),t.each(r,function(t,a){o.attr(a.name,a.value)}),a.replaceWith(o)};a.one("loadedmetadata",function(){e(!0)}).off("load error").attr("poster",a.attr("data-poster")),o.length?o.each(s):a.attr("data-src")?(t.each(a.attr("data-src").split(","),function(e,r){var o=r.split("|");a.append(t("<source>").one("error",c).attr({src:o[0].trim(),type:o[1].trim()}))}),this.config("removeAttribute")&&a.removeAttr("data-src")):e(!1),i.length&&i.each(s)}else e(!1)})}(window.jQuery||window.Zepto),function(t){t.lazy(["frame","iframe"],"iframe",function(a,e){var r=this;if("iframe"===a[0].tagName.toLowerCase()){var o=a.attr("data-error-detect");"true"!==o&&"1"!==o?(a.attr("src",a.attr("data-src")),r.config("removeAttribute")&&a.removeAttr("data-src data-error-detect")):t.ajax({url:a.attr("data-src"),dataType:"html",crossDomain:!0,xhrFields:{withCredentials:!0},success:function(t){a.html(t).attr("src",a.attr("data-src")),r.config("removeAttribute")&&a.removeAttr("data-src data-error-detect")},error:function(){e(!1)}})}else e(!1)})}(window.jQuery||window.Zepto),function(t){t.lazy("noop",function(){}),t.lazy("noop-success",function(t,a){a(!0)}),t.lazy("noop-error",function(t,a){a(!1)})}(window.jQuery||window.Zepto),function(t){function a(a,e,i){var n=a.prop("attributes"),c=t("<"+e+">");return t.each(n,function(t,a){"srcset"!==a.name&&a.name!==o||(a.value=r(a.value,i)),c.attr(a.name,a.value)}),a.replaceWith(c),c}function e(a,e,r){var o=t("<img>").one("load",function(){r(!0)}).one("error",function(){r(!1)}).appendTo(a).attr("src",e);o.complete&&o.load()}function r(t,a){if(a){var e=t.split(",");t="";for(var r=0,o=e.length;r<o;r++)t+=a+e[r].trim()+(r!==o-1?",":"")}return t}var o="data-src";t.lazy(["pic","picture"],["picture"],function(i,n){if("picture"===i[0].tagName.toLowerCase()){var c=i.find(o),s=i.find("data-img"),d=this.config("imageBase")||"";
21c.length?(c.each(function(){a(t(this),"source",d)}),1===s.length?((s=a(s,"img",d)).on("load",function(){n(!0)}).on("error",function(){n(!1)}),s.attr("src",s.attr(o)),this.config("removeAttribute")&&s.removeAttr(o)):i.attr(o)?(e(i,d+i.attr(o),n),this.config("removeAttribute")&&i.removeAttr(o)):n(!1)):i.attr("data-srcset")?(t("<source>").attr({media:i.attr("data-media"),sizes:i.attr("data-sizes"),type:i.attr("data-type"),srcset:r(i.attr("data-srcset"),d)}).appendTo(i),e(i,d+i.attr(o),n),this.config("removeAttribute")&&i.removeAttr(o+" data-srcset data-media data-sizes data-type")):n(!1)}else n(!1)})}(window.jQuery||window.Zepto),(window.jQuery||window.Zepto).lazy(["js","javascript","script"],"script",function(t,a){"script"===t[0].tagName.toLowerCase()?(t.attr("src",t.attr("data-src")),this.config("removeAttribute")&&t.removeAttr("data-src")):a(!1)}),(window.jQuery||window.Zepto).lazy("vimeo",function(t,a){"iframe"===t[0].tagName.toLowerCase()?(t.attr("src","https://player.vimeo.com/video/"+t.attr("data-src")),this.config("removeAttribute")&&t.removeAttr("data-src")):a(!1)}),(window.jQuery||window.Zepto).lazy(["yt","youtube"],function(t,a){"iframe"===t[0].tagName.toLowerCase()?(t.attr("src","https://www.youtube.com/embed/"+t.attr("data-src")+"?rel=0&amp;showinfo=0"),this.config("removeAttribute")&&t.removeAttr("data-src")):a(!1)});
22!function(t){"use strict";var a,e,i=window.innerWidth>0?window.innerWidth:screen.width,o=window.innerHeight>0?window.innerHeight:screen.height;function n(t,a){return void 0!==t?t:a}function r(t,a){return"true"==t||"false"!=t&&a}var s=[37,38,39,40];function l(t){(t=t||window.event).preventDefault&&t.preventDefault(),t.returnValue=!1}function d(t){for(var a=s.length;a--;)if(t.keyCode===s[a])return void l(t)}function c(t){l(t)}function h(){window.addEventListener&&window.addEventListener("DOMMouseScroll",c,!1),window.onmousewheel=document.onmousewheel=c,document.onkeydown=d}function f(){window.removeEventListener&&window.removeEventListener("DOMMouseScroll",c,!1),window.onmousewheel=document.onmousewheel=document.onkeydown=null}function p(){t("#form-working-msg").hide(),t("#form-error-msg").show()}if(t(document).ready(function(){if(t(window).trigger("scroll"),t().pageScroller&&t("body.onepager").pageScroller({navigation:".onepage",sectionClass:"scroll",scrollOffset:-80}),t(".navbar li.dropdown > .dropdown-toggle").removeAttr("data-toggle data-target"),i<768&&t(".navbar li.dropdown > .dropdown-toggle").click(function(a){a.preventDefault(),t(this).parent().toggleClass("open")}),i<768){var s=new Snap({element:document.getElementById("wrapper"),disable:"right",maxPosition:260,minPosition:0,addBodyClasses:!0});t(".navbar-toggle").click(function(){s.open("left")})}t(".navbar-sidebar-toggle").click(function(){t("nav.navbar").is(".open")?t("nav.navbar").removeClass("open"):t("nav.navbar").addClass("open")}),t(document).on({mouseenter:function(a){t(a.target).is(".showHeaderSearch")||t("nav.navbar").addClass("open")},mouseleave:function(a){t(a.target).is(".showHeaderSearch")||t("nav.navbar").removeClass("open")}},".navbar-sidebar .navbar"),t("html").click(function(){t("nav.navbar").removeClass("open")}),t("nav.navbar").click(function(t){t.stopPropagation()}),t("body").hasClass("navbar-sidebar")&&i>768&&t(".yamm-dropdown").each(function(){t(this).css("width",t(this).attr("data-width"))}),t('.btn-scroll[href^="#"]').on("click",function(a){a.preventDefault();var e=this.hash,i=t(e);t("html, body").stop().animate({scrollTop:i.offset().top},900,"swing",function(){window.location.hash=e})}),i>480&&(t("*[data-margin-top]").each(function(){t(this).css("margin-top",t(this).data("margin-top"))}),t("*[data-margin-bottom]").each(function(){t(this).css("margin-bottom",t(this).data("margin-bottom"))}),t("*[data-margin-left]").each(function(){t(this).css("margin-left",t(this).data("margin-left"))}),t("*[data-margin-right]").each(function(){t(this).css("margin-right",t(this).data("margin-right"))})),t("*[data-color]").each(function(){t(this).css("color","#"+t(this).data("color"))}),t().appear&&(device.mobile()||device.tablet()?t("body").removeClass("withAnimation"):t(".withAnimation .animated").appear(function(){var a=t(this);a.each(function(){null!=a.data("time")?setTimeout(function(){a.addClass("activate"),a.addClass(a.data("fx"))},a.data("time")):(a.addClass("activate"),a.addClass(a.data("fx")))})},{accX:50,accY:-150})),t().fitVids&&t(".video").fitVids(),a=t(".header-search"),t(".showHeaderSearch").click(function(){return a.fadeToggle(250,function(){a.is(":visible")?(a.find("[type=text]").focus(),h()):f()}),!1}
22),e=t(".header-login"),t(".btn-login-toggle").click(function(){return e.fadeToggle(250,function(){e.is(":visible")?(e.find("[type=text]").focus(),h()):f()}),!1}),t("[data-toggle='tooltip']").tooltip(),t("[data-toggle='popover']").popover({trigger:"hover",html:!0}),t().magnificPopup&&(t(".magnific-popup").each(function(){var a=t(this),e=a.attr("data-type");a.magnificPopup({type:e,closeOnContentClick:!0,closeBtnInside:!0,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-with-zoom",image:{verticalFit:!0}})}),t(".magnific-gallery").each(function(){var a=t(this);a.attr("data-type");a.magnificPopup({delegate:".image-popup",type:"image",closeOnContentClick:!0,closeBtnInside:!0,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-with-zoom",image:{verticalFit:!0},gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},callbacks:{buildControls:function(){this.contentContainer.append(this.arrowLeft.add(this.arrowRight))}},close:function(){}})})),t(".pre-footer-image").each(function(){var a=t(this);a.css("background-image",'url("'+a.attr("data-bg")+'")'),a.css("height",+a.attr("data-height")+"px")}),t(".pre-footer").each(function(){var a=t(this);null!=a.attr("data-bg")&&a.css("background-image",'url("'+a.attr("data-bg")+'")')}),t("#backtoTop").click(function(){return t("body,html").animate({scrollTop:0},1200),!1}),t(".section").each(function(){var a=t(this);a.css("background-color",a.attr("data-bg-color"))}),t(".section-top").each(function(){var a=t(this);a.css("background-color",a.attr("data-bg-color"))}),t(".section-bottom").each(function(){var a=t(this);a.css("background-color",a.attr("data-bg-color"))}),t(".media-section[data-type='background']").each(function(){var a=t(this);a.css("background-image",'url("'+a.attr("data-image")+'")')}),t(".stellar-object").each(function(){var a=t(this),e=a.attr("data-image"),i=a.attr("data-height")+"px",o=a.attr("data-width")+"px",n=a.attr("data-top"),r=a.attr("data-left");a.css("background-image",'url("'+e+'")'),a.css("width",o),a.css("height",i),a.css("top",n),a.css("left",r)}),t(".media-section[data-type='fullheight']").each(function(){var a=t(this);a.css("min-height",o),a.css("height",o)}),device.mobile()||device.tablet()?t(".media-section[data-type='parallax']").each(function(){var a=t(this),e=a.attr("data-image-mobile"),i=a.attr("data-height");i.indexOf("%")>-1?(a.css("min-height",o),a.css("height",o)):(a.css("min-height",i+"px"),a.css("height",i+"px")),a.css("background-image",'url("'+e+'")')}):t(".media-section[data-type='parallax']").each(function(){var a=t(this),e=a.attr("data-image"),i=a.attr("data-height");a.css("background-image",'url("'+e+'")'),i.indexOf("%")>-1?(a.css("min-height",o),a.css("height",o)):(a.css("min-height",i+"px"),a.css("height",i+"px"))}),device.mobile()||device.tablet()?t(".media-section[data-type='parallax']").css("background-attachment","scroll"):t(".media-section[data-type='parallax']").css("background-attachment","fixed"),t(".media-section[data-type='kenburns']").each(function(){var a=t(this),e=a.attr("data-height");(e.indexOf("%")>-1?(a.css("min-height",o),a.css("height",o)):(a.css("min-height",e+"px"),a.css("height",e+"px")),t("body").hasClass("withAnimation")&&i>767)?function(t){t.find("img")[0].className="fx";var a=t.find("img"),e=a.length,i=1;1==e&&(a[0].className="singlefx");window.setInterval(function(){1!=e&&(i==e&&(i=0),a[i].className="fx",0===i&&(a[e-2].className=""),1===i&&(a[e-1].className=""),i>1&&(a[i-2].className=""),i++)},7e3)}(a.find(".media-section-image-container")):a.find(".media-section-image-container img").each(function(){var a=t(this);a.is(":first-child")||a.remove()})}),t(".media-section[data-type='video']").each(function(){var a=t(this),e=a.attr("data-height"),n=1;if(e.indexOf("%")>-1?(a.css("min-height",o),a.find("> .display-table").css("height",o)):(a.css("min-height",e+"px"),a.find("> .display-table").css("height",e+"px")),a.hasClass("html5"))document.getElementById("video1").play();else{var r=a.find("iframe");if(r.attr("data-startat")&&(n=r.attr("data-startat")),!(i<992||device.mobile())&&"undefined"!=typeof $f){var s="#"+r.attr("id"),l=t(s)[0],d=$f(l);t(".status");d.addEvent("ready",function(){d.api("setVolume",0),d.api("seekTo",n)})}}(i<992||device.mobile())&&(a.find(".video").css("display","none"),void 0!==a.attr("data-fallback-image")&&a.css("background-image",'url("'+a.attr("data-fallback-image")+'")'))}),t().countTo&&t().appear&&t("body").hasClass("withAnimation")?t(".counter").data("c
22ountToOptions",{formatter:function(t,a){return t.toFixed(a.decimals).replace(/\B(?=(?:\d{3})+(?!\d))/g," ")}}).appear(function(){t(this).each(function(a){var e=t(this),i=n(e.attr("data-speed"),700);a=t.extend({},a||{speed:i},e.data("countToOptions")||{}),e.countTo(a)})}):(t(".counter").data("countToOptions",{formatter:function(t,a){return t.toFixed(a.decimals).replace(/\B(?=(?:\d{3})+(?!\d))/g," ")}}),t(".counter").each(function(a){var e=t(this),i=n(e.attr("speed"),1200);a=t.extend({},a||{speed:i},e.data("countToOptions")||{}),e.countTo(a)})),t().appear&&t("body").hasClass("withAnimation")?t(".progress").appear(function(){var a=t(this);a.each(function(){var t=a.find(".progress-bar"),e=t.attr("data-percentage"),i="#"+t.attr("data-barcolor");t.css("background-color",i),t.addClass("animating").css("width",e+"%"),t.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){t.find(".pull-right").fadeIn(900)})})},{accY:-100}):t(".progress").each(function(){var a=t(this).find(".progress-bar"),e=a.attr("data-percentage");a.addClass("animating").css("width",e+"%"),a.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){a.find(".pull-right").fadeIn(900)})}),t(".progress-icons").each(function(){var a,e=t(this),i=e.attr("data-total"),o=e.attr("data-icon"),r="";for(e.css("font-size",e.attr("data-font-size")+"px"),a=0;a<i;a++)r+='<i class="fa '+o+'"></i> ';e.html(r),t().appear&&t("body").hasClass("withAnimation")?t(".progress-icons").appear(function(){var e=t(this),i=e.attr("data-active"),o=e.find("i:lt("+i+")"),r=parseInt(n(e.attr("data-delay"),20)),s=r;for(a=0;a<o.length;a++)setTimeout(function(t){return function(){t.style.color=e.attr("data-icon-color")}}(o[a]),s),s+=r},{accY:-100}):e.each(function(){var t=e.attr("data-active");e.find("i:lt("+t+")").css("color",e.attr("data-icon-color"))})}),t().appear&&t("body").hasClass("withAnimation")?t(".progress").appear(function(){},{accY:-100}):t(".progress").each(function(){}),t(".ie9 .form-control").blur(function(){t.trim(this.value).length&&t(this).addClass("notempty")}),t("#timeline-embed").length>0&&createStoryJS({width:"100%",height:"600",source:"assets/js/timeline/source/timeline.json",embed_id:"timeline-embed",start_at_end:!1,start_at_slide:"2",start_zoom_adjust:"2",hash_bookmark:!1,debug:!1,lang:"en",maptype:"HYBRID",css:"assets/js/timeline/css/timeline.css",js:"assets/js/timeline/js/timeline-min.js"});var l=t(".hidemap .googlemap");if(t(".hidemap .mapToggle").click(function(){var a=t(this),e=a.parent().find(".googlemapcontainer");a.html('Hide map <i class="fa fa-angle-down"></i>'==a.html()?'Locate us on map <i class="fa fa-angle-up"></i>':'Hide map <i class="fa fa-angle-down"></i>'),"0"!=e.height()?e.animate({height:"0px"},500):(e.animate({height:l.data("height")+"px"},500),setTimeout(function(){t("html, body").animate({scrollTop:e.offset().top},2e3)},500))}),t().revolution){!function(){var a=new Object;if(a.startwidth=1170,a.startheight=620,a.container=t("#rev1"),a.fullScreen="off",a.forceFullWidth="off",a.container.closest(".rev_slider_wrapper").css({height:a.container.height()}),a.width=parseInt(a.container.width(),0),a.height=parseInt(a.container.height(),0),a.bw=a.width/a.startwidth,a.bh=a.height/a.startheight,a.bh>a.bw&&(a.bh=a.bw),a.bh<a.bw&&(a.bw=a.bh),a.bw<a.bh&&(a.bh=a.bw),a.bh>1&&(a.bw=1,a.bh=1),a.bw>1&&(a.bw=1,a.bh=1),a.height=Math.round(a.startheight*(a.width/a.startwidth)),a.height>a.startheight&&"on"!=a.autoHeight&&(a.height=a.startheight),"on"==a.fullScreen){a.height=a.bw*a.startheight,a.container.parent().width();var e=t(window).height();if(null!=a.fullScreenOffsetContainer)try{var i=a.fullScreenOffsetContainer.split(",");t.each(i,function(i,o){(e-=t(o).outerHeight(!0))<a.minFullScreenHeight&&(e=a.minFullScreenHeight)})}catch(t){}a.container.parent().height(e),a.container.height(e),a.container.closest(".rev_slider_wrapper").height(e),a.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").height(e),a.container.css({height:"100%"}),a.height=e}else a.container.height(a.height),a.container.closest(".rev_slider_wrapper").height(a.height),a.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").height(a.height)}(),t(document).ready(function(){null==t("#rev1").revolution?revslider_showDouble$Error("#rev1"):t("#rev1").show().revolution({dottedOverlay:"none",delay:9e3,startwidth:1170,startheight:620,hideThumbs:200,thumbWidth:100,thumbHe
22ight:50,thumbAmount:4,lazyLoad:"on",navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview1",touchenabled:"on",onHoverStop:"off",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"on",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"on",fullScreen:"off",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"on",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0}),null==t("#rev2").revolution?revslider_showDouble$Error("#rev2"):t("#rev2").show().revolution({dottedOverlay:"none",delay:7e3,startwidth:1170,startheight:840,hideThumbs:200,thumbWidth:100,thumbHe
22ight:50,thumbAmount:4,navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview1",touchenabled:"on",onHoverStop:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"on",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"on",fullScreen:"off",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"on",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0})})}t().flexslider&&t(".flexslider").length>0&&t(".flexslider").each(function(){var a=t(this),e=n(a.attr("data-namespace"),"flex-"),i=n(a.attr("data-selector"),".slides > li"),o=n(a.attr("data-animation"),"slide"),s=n(a.attr("data-easing"),"swing"),l=n(a.attr("data-direction"),"horizontal"),d=r(a.attr("data-reverse"),!1),c=r(a.attr("data-animationloop"),!1),h=r(a.attr("data-smoothheight"),!1),f=parseInt(n(a.attr("data-startat"),0)),p=r(a.attr("data-slideshow"),!0),u=parseInt(n(a.attr("data-slideshowspeed"),7e3)),g=parseInt(n(a.attr("data-animationspeed"),600)),m=parseInt(n(a.attr("data-initdelay"),0)),v=r(a.attr("data-randomize"),!1),b=r(a.attr("data-thumbcaptions"),!1),w=r(a.attr("data-pauseonaction"),!0),y=r(a.attr("data-pauseonhover"),!1),C=r(a.attr("data-pauseinvisible"),!0),x=r(a.attr("data-usecss"),!0),k=r(a.attr("data-touch"),!0);device.mobile()&&(k=!1);var T=r(a.attr("data-video"),!1),A=r(a.attr("data-controlnav"),!0);0==A&&a.addClass("no-margin");var S=r(a.attr("data-directionnav"),!1),O=n(a.attr("data-prevtext"),"Previous"),_=n(a.attr("data-nexttext"),"Next"),I=n(r(a.attr("data-keyboard")),!0),L=r(a.attr("data-multiplekeyboard"),!1),H=r(a.attr("data-mousewheel"),!1),D=r(a.attr("data-pauseplay"),!1),V=n(a.attr("data-pausetext"),"Pause"),z=n(a.attr("data-playtext"),"Play"),M=parseInt(n(a.attr("data-itemwidth"),0)),W=parseInt(n(a.attr("data-itemmargin"),0)),j=parseInt(n(a.attr("data-minitems"),0)),E=parseInt(n(a.attr("data-maxitems"),0)),B=parseInt(n(a.attr("data-move"),0)),P=r(a.attr("data-allowoneslide"),!1),F=n(a.attr("data-controlscontainer"),""),N=n(a.attr("data-manualcontrols"),""),R=n(a.attr("data-sync"),""),Y=n(a.attr("data-asnavfor"),"");a.flexslider({namespace:e,selector:i,animation:o,easing:s,direction:l,reverse:d,animationLoop:c,smoothHeight:h,startAt:f,slideshow:p,slideshowSpeed:u,animationSpeed:g,initDelay:m,randomize:v,thumbCaptions:b,pauseOnAction:w,pauseOnHover:y,pauseInvisible:C,useCSS:x,touch:k,video:T,controlNav:A,directionNav:S,prevText:O,nextText:_,keyboard:I,multipleKeyboard:L,mousewheel:H,pausePlay:D,pauseText:V,playText:z,controlsContainer:F,manualControls:N,sync:R,asNavFor:Y,itemWidth:M,itemMargin:W,minItems:j,maxItems:E,move:B,allowOneSlide:P})})}),t(window).scroll(function(){var a=t(window).scrollTop(),e=t("body");(e.hasClass("navbar-fixed")&&e.hasClass("navbar-transparent")||e.hasClass("navbar-fixed")&&e.hasClass("revert-to-transparent"))&&(a>=100?(e.removeClass("navbar-transparent"),e.addClass("navbar-dark"),e.addClass("hide-topbar"),e.addClass("revert-to-transparent")):(e.removeClass("navbar-dark"),e.removeClass("hide-topbar"),e.addClass("navbar-transparent"))),e.is(".navbar-fixed.with-topbar")&&(a>=100?(e.addClass("hide-topbar"),e.is(".revert-to-transparent")||e.addClass("navbar-with-shadow")):e.removeClass("hide-topbar navbar-with-shadow"))}),t(document).ready(function(){i>767&&t(function(){var a,e,i,o=t(".navbar-nav");o.length>0&&o.each(function(){var n=t(this);if(n.find("> li.active").length>0){n.append("<li id='magic-line'></li>");var r=t("#magic-line");t("body").hasClass("navbar-sidebar")?(r.css("width","2px").height(o.find("> li.active").height()).css("top",o.find("> li.active").position().top).data("origTop",r.position().top),t(".navbar-nav > li").hover(function(){var e=(a=t(this)).position().top;r.stop().animate({top:e})},function(){t("body").hasClass("onepager")?r.stop().animate({top:o.find("> li.active").position().top}):r.stop().animate({top:r.data("origTop")})}),t().attrchange&&o.find("> li:not(#magic-line)").attrchange({trackValues:!0,callback:function(t){r.stop().animate({top:o.find("> li.active").position().top})}})):(r.width(o.find("> li.active").width()).css("left",o.find("> li.active").position().left).data("origLeft",r.position().left).data("origWidth",r.width()),t(".navbar-nav > li").hover(function(){a=t(this),e=a.position().left,i=a.width(),r.stop().animate({left:e,width:i})},function(){t("body").hasClass("onepager")?r.stop().animate({left:o.find("> li.active").position().left,width:o.find("> li.active").width()}):r.stop().animate({left:r.data("origLeft"),width:r.data("origWidth")})}),t().attrchange&&o.find("> li:not(#magic-line)").attrchange({trackValues:!0,callback:function(t){r.stop().animate({left:o.find("> li.active").position().left,width:o.find("> li.active").width()})}}))}})})}),t(window).load(function(){if(t(".chart").each(function(){var a=t(this),e=n(t(this).attr("data-first-color"),"#2b8be9"),i=n(t(this).attr("data-second-color"),"#eaebec"),o={responsive:!0,percentageInnerCutout:n(t(this).attr("data-middle-space"),90),segmentShowStroke:n(t(this).attr("data-show-stroke"),!1),showTooltips:!1},r=[{value:parseInt(a.attr("data-percentage")),color:e,label:!1},{value:parseInt(100-a.attr("data-percentage")),color:i}];if(t().appear&&t("body").hasClass("withAnimation"))t(".chart").appear(function(){var t=a[0].getContext("2d");window.myDoughnut=new Chart(t).Doughnut(r,o)});else{var s=a[0].getContext("2d");window.myDoughnut=new Chart(s).Doughnut(r,o)}}),t().stellar&&(device.mobile()||device.tablet()||t(window).stellar({horizontalScrolling:!1,responsive:!0,positionProperty:"transform"})),t().thumbnailScroller&&t(".thumbnailScroller").each(function(){var a,e,o=t(this),n="hoverAccelerate";(device.mobile()||device.tablet())&&(n="clickButtons"),o.thumbnailScroller({scrollerType:n,scrollerOrientation:"horizontal",scrollEasing:"easeOutCirc",scrollEasingAmou
22nt:600,acceleration:4,scrollSpeed:800,noScrollCenterSpace:10,autoScrolling:0,autoScrollingSpeed:2e3,autoScrollingEasing:"easeInOutQuad",autoScrollingDelay:500}),(e=t(a=o).find(".jTscroller").outerWidth(!0))>i?t(a).find(".jTscroller").css("left",-(e-i)/2+"px"):t(a).find(".jTscroller").css("left",(i-e)/2+"px"),function(t){t.removeClass("thumbnailScrollerLoading")}(o)}),t().isotope&&t(".galleryContainer").length>0){var a=t(".galleryContainer"),e={filter:"*",itemSelector:".galleryItem",masonry:{}};a.each(function(){t(this).isotope(e)}),t(".galleryFilters a").click(function(){t(".galleryFilters .active").removeClass("active"),t(this).addClass("active");var e=t(this).attr("data-filter");return a.isotope({filter:e,animationOptions:{duration:750,easing:"linear",queue:!1}}),!1})}if(t().isotope&&t(".with-isotope").length>0&&!device.mobile()&&!(i<768)){var o=t(".with-isotope");e={itemSelector:".post",masonry:{}};o.isotope(e,function(){setTimeout(function(){o.isotope("reLayout")},1e3)})}if(t().final_countdown){var r=(new Date).getTime()/1e3;t(".countdown").final_countdown({now:r,seconds:{borderWidth:"10"},minutes:{borderWidth:"10"},hours:{borderWidth:"10"},days:{borderWidth:"10"}})}}),t(document).keyup(function(t){27==t.keyCode&&(a.is(":visible")&&(a.fadeToggle(250),f()),e.is(":visible")&&(e.fadeToggle(250),f()))}),t(".googlemap").length>0&&"object"==typeof google&&"object"==typeof google.maps&&t(".googlemap").each(function(){var a="",e=t(this),i=e.data("location"),o=e.data("zoom"),r=-30;n(e.data("offset"))&&(r=e.data("offset")),n(i)&&(e.gmap3({marker:{address:i,options:{icon:new google.maps.MarkerImage("assets/main/images/marker.png")},callback:function(t){a=t.getPosition()}},map:{options:{zoom:o,mapTypeId:google.maps.MapTypeId.ROADMAP,scrollwheel:!1,disableDoubleClickZoom:!1,draggable:!1,mapTypeControlOptions:{mapTypeIds:[]},styles:[{featureType:"landscape",stylers:[{saturation:-100},{lightness:65},{visibility:"on"}]},{featureType:"poi",stylers:[{saturation:-100},{lightness:51},{visibility:"simplified"}]},{featureType:"road.highway",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"road.arterial",stylers:[{saturation:-100},{lightness:30},{visibility:"on"}]},{featureType:"road.local",stylers:[{saturation:-100},{lightness:40},{visibility:"on"}]},{featureType:"transit",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"administrative.province",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"on"},{lightness:-25},{saturation:-100}]},{featureType:"water",elementType:"geometry",stylers:[{hue:"#ffff00"},{lightness:-25},{saturation:-97}]}]},events:{idle:function(){e.data("idle")||(e.gmap3("get").panBy(0,r),e.data("idle",!0))}}},overlay:{address:i,options:{offset:{y:-100,x:-25}}}}),google.maps.event.addDomListener(window,"resize",function(){setTimeout(function(){e.gmap3("get").setCenter(a),e.gmap3("get").panBy(0,r)},400)}),e.css("min-height",e.data("height")+"px")),e.parent().parent().hasClass("hidemap")&&e.parent().animate({height:"0px"},500)}),t(document).on("click","a[data-scroll-control]",function(){var a=t(this);return t("body,html").animate({scrollTop:t(a.attr("href")).offset().top-100},500),!1}),t(document).on("click","a[data-scroll-control-trip]",function(){var a=t(this);return t("body,html").animate({scrollTop:t(a.attr("href")).offset().top-160},500),!1}),t("form[data-async]").on("submit",function(a){if(a.preventDefault(),t(this).parsley().isValid()){var e=t(this),i=e.serialize();t("#form-error-msg").hide(),t("#form-working-msg").show(),t.ajax({type:e.attr("method"),url:e.attr("action"),data:i,dataType:"json",success:function(a){"success"===a.status?(t("#form-error-msg").hide(),t("#form-working-msg").hide(),window.location.href=a.redirect_url):"error"===a.status&&p()},error:function(t,a,e){p()}})}}),t("form[data-sample-tours]").on("submit",function(a){if(a.preventDefault(),t(this).parsley().isValid()){var e=t(this),i=e.find('select[name="tour_filter"]').val(),o="/sample-tours"+e.attr("action")+i;window.location.href=o}}),t(document).on("click","#find-by-type",function(){return t("#destination-search").slide
22Up("700",function(){t("#type-search").slideDown("700")}),!1}),t(document).on("click","#find-by-destination",function(){return t("#type-search").slideUp("700",function(){t("#destination-search").slideDown("700")}),!1}),1===t(".secundary-menu-wrapper").length){var u=t(".secundary-menu"),g=t(".secundary-menu-wrapper"),m=function(){t(window).scrollTop()>u.offset().top&&t(window).width()>991?g.addClass("sticky"):g.removeClass("sticky")};t(window).on("scroll",function(){m()}),m()}1===t("#payment-form-one").length&&((new Date).getHours()<="15"?(t("#payment-form-one").hide(),t("#payment-form-two").show()):(t("#payment-form-two").hide(),t("#payment-form-one").show()));cloudinary.Cloudinary.new({cloud_name:"oasisapp"}).responsive(),t(".lazy").Lazy(),t(document).on("click",".video-list li > a",function(){event.preventDefault;var a=t(this).data("video");a?(t("#video-comming-soon").hide(),t("#youtube-video-player").show(200),player.cueVideoById(a)):(t("#youtube-video-player").hide(),t("#video-comming-soon").show(200))})}(jQuery);

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