!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(_,t){"use strict";function g(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item}function m(t){return null!=t&&t===t.window}var e=[],n=Object.getPrototypeOf,a=e.slice,v=e.flat?function(t){return e.flat.call(t)}:function(t){return e.concat.apply([],t)},l=e.push,r=e.indexOf,i={},o=i.toString,y=i.hasOwnProperty,s=y.toString,c=s.call(Object),b={},T=_.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var i,r,o=(n=n||T).createElement("script");if(o.text=t,e)for(i in u)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function p(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?i[o.call(t)]||"object":typeof t}var h="3.6.0",k=function(t,e){return new k.fn.init(t,e)};function f(t){var e=!!t&&"length"in t&&t.length,n=p(t);return!g(t)&&!m(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}k.fn=k.prototype={jquery:h,constructor:k,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){t=k.merge(this.constructor(),t);return t.prevObject=this,t},each:function(t){return k.each(this,t)},map:function(n){return this.pushStack(k.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(k.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},k.extend=k.fn.extend=function(){var t,e,n,i,r,o=arguments[0]||{},s=1,a=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[s]||{},s++),"object"==typeof o||g(o)||(o={}),s===a&&(o=this,s--);s<a;s++)if(null!=(t=arguments[s]))for(e in t)n=t[e],"__proto__"!==e&&o!==n&&(l&&n&&(k.isPlainObject(n)||(i=Array.isArray(n)))?(r=o[e],r=i&&!Array.isArray(r)?[]:i||k.isPlainObject(r)?r:{},i=!1,o[e]=k.extend(l,r,n)):void 0!==n&&(o[e]=n));return o},k.extend({expando:"jQuery"+(h+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){return!(!t||"[object Object]"!==o.call(t))&&(!(t=n(t))||"function"==typeof(t=y.call(t,"constructor")&&t.constructor)&&s.call(t)===c)},isEmptyObject:function(t){for(var e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(f(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){e=e||[];return null!=t&&(f(Object(t))?k.merge(e,"string"==typeof t?[t]:t):l.call(e,t)),e},inArray:function(t,e,n){return null==e?-1:r.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,s=!n;r<o;r++)!e(t[r],r)!=s&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,s=[];if(f(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&s.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&s.push(r);return v(s)},guid:1,support:b}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=e[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){i["[object "+e+"]"]=e.toLowerCase()});var d=function(n){function h(t,e){return t="0x"+t.slice(1)-65536,e||(t<0?String.fromCharCode(65536+t):String.fromCharCode(t>>10|55296,1023&t|56320))}function f(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function i(){_()}var t,d,w,o,r,p,g,m,x,l,c,_,T,s,k,v,a,u,y,S="sizzle"+ +new Date,b=n.document,E=0,C=0,A=lt(),O=lt(),D=lt(),M=lt(),L=function(t,e){return t===e&&(c=!0),0},P={}.hasOwnProperty,e=[],j=e.pop,R=e.push,N=e.push,B=e.slice,I=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",q="[\\x20\\t\\r\\n\\f]",z="(?:\\\\[\\da-fA-F]{1,6}"+q+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+q+"*("+z+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+z+"))|)"+q+"*\\]",W=":("+z+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",Y=new RegExp(q+"+","g"),X=new RegExp("^"+q+"+|((?:^|[^\\\\])(?:\\\\.)*)"+q+"+$","g"),V=new RegExp("^"+q+"*,"+q+"*"),U=new RegExp("^"+q+"*([>+~]|"+q+")"+q+"*"),$=new RegExp(q+"|>"),K=new RegExp(W),Q=new RegExp("^"+z+"$"),G={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+q+"*(even|odd|(([+-]|)(\\d*)n|)"+q+"*(?:([+-]|)"+q+"*(\\d+)|))"+q+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+q+"*((?:-\\d)?\\d*)"+q+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,et=/^[^{]+\{\s*\[native \w/,nt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,it=/[+~]/,rt=new RegExp("\\\\[\\da-fA-F]{1,6}"+q+"?|\\\\([^\\r\\n\\f])","g"),ot=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,st=yt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(e=B.call(b.childNodes),b.childNodes),e[b.childNodes.length].nodeType}catch(t){N={apply:e.length?function(t,e){R.apply(t,B.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function at(e,t,n,i){var r,o,s,a,l,c,u=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!i&&(_(t),t=t||T,k)){if(11!==h&&(a=nt.exec(e)))if(c=a[1]){if(9===h){if(!(o=t.getElementById(c)))return n;if(o.id===c)return n.push(o),n}else if(u&&(o=u.getElementById(c))&&y(t,o)&&o.id===c)return n.push(o),n}else{if(a[2])return N.apply(n,t.getElementsByTagName(e)),n;if((c=a[3])&&d.getElementsByClassName&&t.getElementsByClassName)return N.apply(n,t.getElementsByClassName(c)),n}if(d.qsa&&!M[e+" "]&&(!v||!v.test(e))&&(1!==h||"object"!==t.nodeName.toLowerCase())){if(c=e,u=t,1===h&&($.test(e)||U.test(e))){for((u=it.test(e)&&gt(t.parentNode)||t)===t&&d.scope||((s=t.getAttribute("id"))?s=s.replace(ot,f):t.setAttribute("id",s=S)),r=(l=p(e)).length;r--;)l[r]=(s?"#"+s:":scope")+" "+vt(l[r]);c=l.join(",")}try{return N.apply(n,u.querySelectorAll(c)),n}catch(t){M(e,!0)}finally{s===S&&t.removeAttribute("id")}}}return m(e.replace(X,"$1"),t,n,i)}function lt(){var n=[];function i(t,e){return n.push(t+" ")>w.cacheLength&&delete i[n.shift()],i[t+" "]=e}return i}function ct(t){return t[S]=!0,t}function ut(t){var e=T.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function ht(t,e){for(var n=t.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=e}function ft(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&st(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pt(s){return ct(function(o){return o=+o,ct(function(t,e){for(var n,i=s([],t.length,o),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in d=at.support={},r=at.isXML=function(t){var e=t&&t.namespaceURI,t=t&&(t.ownerDocument||t).documentElement;return!J.test(e||t&&t.nodeName||"HTML")},_=at.setDocument=function(t){var e,t=t?t.ownerDocument||t:b;return t!=T&&9===t.nodeType&&t.documentElement&&(s=(T=t).documentElement,k=!r(T),b!=T&&(e=T.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",i,!1):e.attachEvent&&e.attachEvent("onunload",i)),d.scope=ut(function(t){return s.appendChild(t).appendChild(T.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),d.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),d.getElementsByTagName=ut(function(t){return t.appendChild(T.createComment("")),!t.getElementsByTagName("*").length}),d.getElementsByClassName=et.test(T.getElementsByClassName),d.getById=ut(function(t){return s.appendChild(t).id=S,!T.getElementsByName||!T.getElementsByName(S).length}),d.getById?(w.filter.ID=function(t){var e=t.replace(rt,h);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&k){t=e.getElementById(t);return t?[t]:[]}}):(w.filter.ID=function(t){var e=t.replace(rt,h);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),w.find.TAG=d.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):d.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=d.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&k)return e.getElementsByClassName(t)},a=[],v=[],(d.qsa=et.test(T.querySelectorAll))&&(ut(function(t){var e;s.appendChild(t).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+q+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+q+"*(?:value|"+H+")"),t.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(e=T.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||v.push("\\["+q+"*name"+q+"*="+q+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),t.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ut(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=T.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+q+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),s.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=et.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ut(function(t){d.disconnectedMatch=u.call(t,"*"),u.call(t,"[s!='']:x"),a.push("!=",W)}),v=v.length&&new RegExp(v.join("|")),a=a.length&&new RegExp(a.join("|")),e=et.test(s.compareDocumentPosition),y=e||et.test(s.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},L=e?function(t,e){if(t===e)return c=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!d.sortDetached&&e.compareDocumentPosition(t)===n?t==T||t.ownerDocument==b&&y(b,t)?-1:e==T||e.ownerDocument==b&&y(b,e)?1:l?I(l,t)-I(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!r||!o)return t==T?-1:e==T?1:r?-1:o?1:l?I(l,t)-I(l,e):0;if(r===o)return ft(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ft(s[i],a[i]):s[i]==b?-1:a[i]==b?1:0}),T},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(_(t),d.matchesSelector&&k&&!M[e+" "]&&(!a||!a.test(e))&&(!v||!v.test(e)))try{var n=u.call(t,e);if(n||d.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){M(e,!0)}return 0<at(e,T,null,[t]).length},at.contains=function(t,e){return(t.ownerDocument||t)!=T&&_(t),y(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=T&&_(t);var n=w.attrHandle[e.toLowerCase()],n=n&&P.call(w.attrHandle,e.toLowerCase())?n(t,e,!k):void 0;return void 0!==n?n:d.attributes||!k?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},at.escape=function(t){return(t+"").replace(ot,f)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,n=[],i=0,r=0;if(c=!d.detectDuplicates,l=!d.sortStable&&t.slice(0),t.sort(L),c){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return l=null,t},o=at.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=o(e);return n},(w=at.selectors={cacheLength:50,createPseudo:ct,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(rt,h),t[3]=(t[3]||t[4]||t[5]||"").replace(rt,h),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&K.test(n)&&(e=p(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(rt,h).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=A[t+" "];return e||(e=new RegExp("(^|"+q+")"+t+"("+q+"|$)"))&&A(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=at.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===i:"!="===n?t!==i:"^="===n?i&&0===t.indexOf(i):"*="===n?i&&-1<t.indexOf(i):"$="===n?i&&t.slice(-i.length)===i:"~="===n?-1<(" "+t.replace(Y," ")+" ").indexOf(i):"|="===n&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,t,e,g,m){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),b="of-type"===t;return 1===g&&0===m?function(t){return!!t.parentNode}:function(t,e,n){var i,r,o,s,a,l,c=v!=y?"nextSibling":"previousSibling",u=t.parentNode,h=b&&t.nodeName.toLowerCase(),f=!n&&!b,d=!1;if(u){if(v){for(;c;){for(s=t;s=s[c];)if(b?s.nodeName.toLowerCase()===h:1===s.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&f){for(d=(a=(i=(r=(o=(s=u)[S]||(s[S]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===E&&i[1])&&i[2],s=a&&u.childNodes[a];s=++a&&s&&s[c]||(d=a=0)||l.pop();)if(1===s.nodeType&&++d&&s===t){r[p]=[E,a,d];break}}else if(!1===(d=f?a=(i=(r=(o=(s=t)[S]||(s[S]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===E&&i[1]:d))for(;(s=++a&&s&&s[c]||(d=a=0)||l.pop())&&((b?s.nodeName.toLowerCase()!==h:1!==s.nodeType)||!++d||(f&&((r=(o=s[S]||(s[S]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]=[E,d]),s!==t)););return(d-=m)===g||d%g==0&&0<=d/g}}},PSEUDO:function(t,o){var e,s=w.pseudos[t]||w.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return s[S]?s(o):1<s.length?(e=[t,t,"",o],w.setFilters.hasOwnProperty(t.toLowerCase())?ct(function(t,e){for(var n,i=s(t,o),r=i.length;r--;)t[n=I(t,i[r])]=!(e[n]=i[r])}):function(t){return s(t,0,e)}):s}},pseudos:{not:ct(function(t){var i=[],r=[],a=g(t.replace(X,"$1"));return a[S]?ct(function(t,e,n,i){for(var r,o=a(t,null,i,[]),s=t.length;s--;)(r=o[s])&&(t[s]=!(e[s]=r))}):function(t,e,n){return i[0]=t,a(i,null,n,r),i[0]=null,!r.pop()}}),has:ct(function(e){return function(t){return 0<at(e,t).length}}),contains:ct(function(e){return e=e.replace(rt,h),function(t){return-1<(t.textContent||o(t)).indexOf(e)}}),lang:ct(function(n){return Q.test(n||"")||at.error("unsupported lang: "+n),n=n.replace(rt,h).toLowerCase(),function(t){var e;do{if(e=k?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===s},focus:function(t){return t===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:dt(!1),disabled:dt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return tt.test(t.nodeName)},input:function(t){return Z.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,e){return[e-1]}),eq:pt(function(t,e,n){return[n<0?n+e:n]}),even:pt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:pt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:pt(function(t,e,n){for(var i=n<0?n+e:e<n?e:n;0<=--i;)t.push(i);return t}),gt:pt(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})w.pseudos[t]=function(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}(t);function mt(){}function vt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function yt(s,t,e){var a=t.dir,l=t.next,c=l||a,u=e&&"parentNode"===c,h=C++;return t.first?function(t,e,n){for(;t=t[a];)if(1===t.nodeType||u)return s(t,e,n);return!1}:function(t,e,n){var i,r,o=[E,h];if(n){for(;t=t[a];)if((1===t.nodeType||u)&&s(t,e,n))return!0}else for(;t=t[a];)if(1===t.nodeType||u)if(i=(r=t[S]||(t[S]={}))[t.uniqueID]||(r[t.uniqueID]={}),l&&l===t.nodeName.toLowerCase())t=t[a]||t;else{if((r=i[c])&&r[0]===E&&r[1]===h)return o[2]=r[2];if((i[c]=o)[2]=s(t,e,n))return!0}return!1}}function bt(r){return 1<r.length?function(t,e,n){for(var i=r.length;i--;)if(!r[i](t,e,n))return!1;return!0}:r[0]}function wt(t,e,n,i,r){for(var o,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(o=t[a])&&(n&&!n(o,i,r)||(s.push(o),c&&e.push(a)));return s}function xt(d,p,g,m,v,t){return m&&!m[S]&&(m=xt(m)),v&&!v[S]&&(v=xt(v,t)),ct(function(t,e,n,i){var r,o,s,a=[],l=[],c=e.length,u=t||function(t,e,n){for(var i=0,r=e.length;i<r;i++)at(t,e[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),h=!d||!t&&p?u:wt(u,a,d,n,i),f=g?v||(t?d:c||m)?[]:e:h;if(g&&g(h,f,n,i),m)for(r=wt(f,l),m(r,[],n,i),o=r.length;o--;)(s=r[o])&&(f[l[o]]=!(h[l[o]]=s));if(t){if(v||d){if(v){for(r=[],o=f.length;o--;)(s=f[o])&&r.push(h[o]=s);v(null,f=[],r,i)}for(o=f.length;o--;)(s=f[o])&&-1<(r=v?I(t,s):a[o])&&(t[r]=!(e[r]=s))}}else f=wt(f===e?f.splice(c,f.length):f),v?v(null,e,f,i):N.apply(e,f)})}function _t(m,v){function t(t,e,n,i,r){var o,s,a,l=0,c="0",u=t&&[],h=[],f=x,d=t||b&&w.find.TAG("*",r),p=E+=null==f?1:Math.random()||.1,g=d.length;for(r&&(x=e==T||e||r);c!==g&&null!=(o=d[c]);c++){if(b&&o){for(s=0,e||o.ownerDocument==T||(_(o),n=!k);a=m[s++];)if(a(o,e||T,n)){i.push(o);break}r&&(E=p)}y&&((o=!a&&o)&&l--,t&&u.push(o))}if(l+=c,y&&c!==l){for(s=0;a=v[s++];)a(u,h,e,n);if(t){if(0<l)for(;c--;)u[c]||h[c]||(h[c]=j.call(i));h=wt(h)}N.apply(i,h),r&&!t&&0<h.length&&1<l+v.length&&at.uniqueSort(i)}return r&&(E=p,x=f),u}var y=0<v.length,b=0<m.length;return y?ct(t):t}return mt.prototype=w.filters=w.pseudos,w.setFilters=new mt,p=at.tokenize=function(t,e){var n,i,r,o,s,a,l,c=O[t+" "];if(c)return e?0:c.slice(0);for(s=t,a=[],l=w.preFilter;s;){for(o in n&&!(i=V.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(r=[])),n=!1,(i=U.exec(s))&&(n=i.shift(),r.push({value:n,type:i[0].replace(X," ")}),s=s.slice(n.length)),w.filter)!(i=G[o].exec(s))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return e?s.length:s?at.error(t):O(t,a).slice(0)},g=at.compile=function(t,e){var n,i=[],r=[],o=D[t+" "];if(!o){for(n=(e=e||p(t)).length;n--;)((o=function t(e){for(var i,n,r,o=e.length,s=w.relative[e[0].type],a=s||w.relative[" "],l=s?1:0,c=yt(function(t){return t===i},a,!0),u=yt(function(t){return-1<I(i,t)},a,!0),h=[function(t,e,n){return n=!s&&(n||e!==x)||((i=e).nodeType?c:u)(t,e,n),i=null,n}];l<o;l++)if(n=w.relative[e[l].type])h=[yt(bt(h),n)];else{if((n=w.filter[e[l].type].apply(null,e[l].matches))[S]){for(r=++l;r<o&&!w.relative[e[r].type];r++);return xt(1<l&&bt(h),1<l&&vt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(X,"$1"),n,l<r&&t(e.slice(l,r)),r<o&&t(e=e.slice(r)),r<o&&vt(e))}h.push(n)}return bt(h)}(e[n]))[S]?i:r).push(o);(o=D(t,_t(r,i))).selector=t}return o},m=at.select=function(t,e,n,i){var r,o,s,a,l,c="function"==typeof t&&t,u=!i&&p(t=c.selector||t);if(n=n||[],1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(s=o[0]).type&&9===e.nodeType&&k&&w.relative[o[1].type]){if(!(e=(w.find.ID(s.matches[0].replace(rt,h),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=G.needsContext.test(t)?0:o.length;r--&&(s=o[r],!w.relative[a=s.type]);)if((l=w.find[a])&&(i=l(s.matches[0].replace(rt,h),it.test(o[0].type)&&gt(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&vt(o)))return N.apply(n,i),n;break}}return(c||g(t,u))(i,e,!k,n,!e||it.test(t)&&gt(e.parentNode)||e),n},d.sortStable=S.split("").sort(L).join("")===S,d.detectDuplicates=!!c,_(),d.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(T.createElement("fieldset"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ht("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),d.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ht("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||ht(H,function(t,e,n){if(!n)return!0===t[e]?e.toLowerCase():(e=t.getAttributeNode(e))&&e.specified?e.value:null}),at}(_);k.find=d,k.expr=d.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=d.uniqueSort,k.text=d.getText,k.isXMLDoc=d.isXML,k.contains=d.contains,k.escapeSelector=d.escape;function x(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&k(t).is(n))break;i.push(t)}return i}function S(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}var E=k.expr.match.needsContext;function C(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(t,n,i){return g(n)?k.grep(t,function(t,e){return!!n.call(t,e,t)!==i}):n.nodeType?k.grep(t,function(t){return t===n!==i}):"string"!=typeof n?k.grep(t,function(t){return-1<r.call(n,t)!==i}):k.filter(n,t,i)}k.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?k.find.matchesSelector(i,t)?[i]:[]:k.find.matches(t,k.grep(e,function(t){return 1===t.nodeType}))},k.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(k(t).filter(function(){for(e=0;e<i;e++)if(k.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)k.find(t,r[e],n);return 1<i?k.uniqueSort(n):n},filter:function(t){return this.pushStack(O(this,t||[],!1))},not:function(t){return this.pushStack(O(this,t||[],!0))},is:function(t){return!!O(this,"string"==typeof t&&E.test(t)?k(t):t||[],!1).length}});var D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(t,e,n){if(!t)return this;if(n=n||M,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):g(t)?void 0!==n.ready?n.ready(t):t(k):k.makeArray(t,this);if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:D.exec(t))||!i[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(i[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:T,!0)),A.test(i[1])&&k.isPlainObject(e))for(var i in e)g(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(t=T.getElementById(i[2]))&&(this[0]=t,this.length=1),this}).prototype=k.fn;var M=k(T),L=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function j(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.fn.extend({has:function(t){var e=k(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(k.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,o=[],s="string"!=typeof t&&k(t);if(!E.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&k.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(1<o.length?k.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?r.call(k(t),this[0]):r.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),k.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return x(t,"parentNode")},parentsUntil:function(t,e,n){return x(t,"parentNode",n)},next:function(t){return j(t,"nextSibling")},prev:function(t){return j(t,"previousSibling")},nextAll:function(t){return x(t,"nextSibling")},prevAll:function(t){return x(t,"previousSibling")},nextUntil:function(t,e,n){return x(t,"nextSibling",n)},prevUntil:function(t,e,n){return x(t,"previousSibling",n)},siblings:function(t){return S((t.parentNode||{}).firstChild,t)},children:function(t){return S(t.firstChild)},contents:function(t){return null!=t.contentDocument&&n(t.contentDocument)?t.contentDocument:(C(t,"template")&&(t=t.content||t),k.merge([],t.childNodes))}},function(i,r){k.fn[i]=function(t,e){var n=k.map(this,r,t);return(e="Until"!==i.slice(-5)?t:e)&&"string"==typeof e&&(n=k.filter(e,n)),1<this.length&&(P[i]||k.uniqueSort(n),L.test(i)&&n.reverse()),this.pushStack(n)}});var R=/[^\x20\t\r\n\f]+/g;function N(t){return t}function B(t){throw t}function I(t,e,n,i){var r;try{t&&g(r=t.promise)?r.call(t).done(e).fail(n):t&&g(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}k.Callbacks=function(i){var t,n;i="string"==typeof i?(t=i,n={},k.each(t.match(R)||[],function(t,e){n[e]=!0}),n):k.extend({},i);function r(){for(a=a||i.once,s=o=!0;c.length;u=-1)for(e=c.shift();++u<l.length;)!1===l[u].apply(e[0],e[1])&&i.stopOnFalse&&(u=l.length,e=!1);i.memory||(e=!1),o=!1,a&&(l=e?[]:"")}var o,e,s,a,l=[],c=[],u=-1,h={add:function(){return l&&(e&&!o&&(u=l.length-1,c.push(e)),function n(t){k.each(t,function(t,e){g(e)?i.unique&&h.has(e)||l.push(e):e&&e.length&&"string"!==p(e)&&n(e)})}(arguments),e&&!o&&r()),this},remove:function(){return k.each(arguments,function(t,e){for(var n;-1<(n=k.inArray(e,l,n));)l.splice(n,1),n<=u&&u--}),this},has:function(t){return t?-1<k.inArray(t,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=c=[],l=e="",this},disabled:function(){return!l},lock:function(){return a=c=[],e||o||(l=e=""),this},locked:function(){return!!a},fireWith:function(t,e){return a||(e=[t,(e=e||[]).slice?e.slice():e],c.push(e),o||r()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!s}};return h},k.extend({Deferred:function(t){var o=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",s={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return s.then(null,t)},pipe:function(){var r=arguments;return k.Deferred(function(i){k.each(o,function(t,e){var n=g(r[e[4]])&&r[e[4]];a[e[1]](function(){var t=n&&n.apply(this,arguments);t&&g(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[e[0]+"With"](this,n?[t]:arguments)})}),r=null}).promise()},then:function(e,n,i){var l=0;function c(r,o,s,a){return function(){function t(){var t,e;if(!(r<l)){if((t=s.apply(n,i))===o.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,g(e)?a?e.call(t,c(l,o,N,a),c(l,o,B,a)):(l++,e.call(t,c(l,o,N,a),c(l,o,B,a),c(l,o,N,o.notifyWith))):(s!==N&&(n=void 0,i=[t]),(a||o.resolveWith)(n,i))}}var n=this,i=arguments,e=a?t:function(){try{t()}catch(t){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(t,e.stackTrace),l<=r+1&&(s!==B&&(n=void 0,i=[t]),o.rejectWith(n,i))}};r?e():(k.Deferred.getStackHook&&(e.stackTrace=k.Deferred.getStackHook()),_.setTimeout(e))}}return k.Deferred(function(t){o[0][3].add(c(0,t,g(i)?i:N,t.notifyWith)),o[1][3].add(c(0,t,g(e)?e:N)),o[2][3].add(c(0,t,g(n)?n:B))}).promise()},promise:function(t){return null!=t?k.extend(t,s):s}},a={};return k.each(o,function(t,e){var n=e[2],i=e[5];s[e[1]]=n.add,i&&n.add(function(){r=i},o[3-t][2].disable,o[3-t][3].disable,o[0][2].lock,o[0][3].lock),n.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=n.fireWith}),s.promise(a),t&&t.call(a,a),a},when:function(t){function e(e){return function(t){r[e]=this,o[e]=1<arguments.length?a.call(arguments):t,--n||s.resolveWith(r,o)}}var n=arguments.length,i=n,r=Array(i),o=a.call(arguments),s=k.Deferred();if(n<=1&&(I(t,s.done(e(i)).resolve,s.reject,!n),"pending"===s.state()||g(o[i]&&o[i].then)))return s.then();for(;i--;)I(o[i],e(i),s.reject);return s.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){_.console&&_.console.warn&&t&&H.test(t.name)&&_.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},k.readyException=function(t){_.setTimeout(function(){throw t})};var q=k.Deferred();function z(){T.removeEventListener("DOMContentLoaded",z),_.removeEventListener("load",z),k.ready()}k.fn.ready=function(t){return q.then(t).catch(function(t){k.readyException(t)}),this},k.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--k.readyWait:k.isReady)||(k.isReady=!0)!==t&&0<--k.readyWait||q.resolveWith(T,[k])}}),k.ready.then=q.then,"complete"===T.readyState||"loading"!==T.readyState&&!T.documentElement.doScroll?_.setTimeout(k.ready):(T.addEventListener("DOMContentLoaded",z),_.addEventListener("load",z));function F(t,e,n,i,r,o,s){var a=0,l=t.length,c=null==n;if("object"===p(n))for(a in r=!0,n)F(t,e,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,g(i)||(s=!0),e=c?s?(e.call(t,i),null):(c=e,function(t,e,n){return c.call(k(t),n)}):e))for(;a<l;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:c?e.call(t):l?e(t[0],n):o}var W=/^-ms-/,Y=/-([a-z])/g;function X(t,e){return e.toUpperCase()}function V(t){return t.replace(W,"ms-").replace(Y,X)}function U(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function $(){this.expando=k.expando+$.uid++}$.uid=1,$.prototype={cache:function(t){var e=t[this.expando];return e||(e={},U(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[V(e)]=n;else for(i in e)r[V(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][V(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(V):(e=V(e))in i?[e]:e.match(R)||[]).length;for(;n--;)delete i[e[n]]}void 0!==e&&!k.isEmptyObject(i)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){t=t[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var K=new $,Q=new $,G=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(t,e,n){var i,r;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:G.test(r)?JSON.parse(r):r)}catch(t){}Q.set(t,e,n)}else n=void 0;return n}k.extend({hasData:function(t){return Q.hasData(t)||K.hasData(t)},data:function(t,e,n){return Q.access(t,e,n)},removeData:function(t,e){Q.remove(t,e)},_data:function(t,e,n){return K.access(t,e,n)},_removeData:function(t,e){K.remove(t,e)}}),k.fn.extend({data:function(n,t){var e,i,r,o=this[0],s=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){Q.set(this,n)}):F(this,function(t){var e;return o&&void 0===t?void 0!==(e=Q.get(o,n))||void 0!==(e=Z(o,n))?e:void 0:void this.each(function(){Q.set(this,n,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(r=Q.get(o),1===o.nodeType&&!K.get(o,"hasDataAttrs"))){for(e=s.length;e--;)s[e]&&0===(i=s[e].name).indexOf("data-")&&(i=V(i.slice(5)),Z(o,i,r[i]));K.set(o,"hasDataAttrs",!0)}return r},removeData:function(t){return this.each(function(){Q.remove(this,t)})}}),k.extend({queue:function(t,e,n){var i;if(t)return i=K.get(t,e=(e||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=K.access(t,e,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=k.queue(t,e),i=n.length,r=n.shift(),o=k._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){k.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return K.get(t,n)||K.access(t,n,{empty:k.Callbacks("once memory").add(function(){K.remove(t,[e+"queue",n])})})}}),k.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?k.queue(this[0],e):void 0===n?this:this.each(function(){var t=k.queue(this,e,n);k._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&k.dequeue(this,e)})},dequeue:function(t){return this.each(function(){k.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--r||o.resolveWith(s,[s])}var i,r=1,o=k.Deferred(),s=this,a=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(i=K.get(s[a],t+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],it=T.documentElement,rt=function(t){return k.contains(t.ownerDocument,t)},ot={composed:!0};it.getRootNode&&(rt=function(t){return k.contains(t.ownerDocument,t)||t.getRootNode(ot)===t.ownerDocument});function st(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&rt(t)&&"none"===k.css(t,"display")}function at(t,e,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return k.css(t,e,"")},l=a(),c=n&&n[3]||(k.cssNumber[e]?"":"px"),u=t.nodeType&&(k.cssNumber[e]||"px"!==c&&+l)&&et.exec(k.css(t,e));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;s--;)k.style(t,e,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;k.style(t,e,(u*=2)+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var lt={};function ct(t,e){for(var n,i,r,o,s,a=[],l=0,c=t.length;l<c;l++)(i=t[l]).style&&(n=i.style.display,e?("none"===n&&(a[l]=K.get(i,"display")||null,a[l]||(i.style.display="")),""===i.style.display&&st(i)&&(a[l]=(s=o=void 0,o=(r=i).ownerDocument,s=r.nodeName,(r=lt[s])||(o=o.body.appendChild(o.createElement(s)),r=k.css(o,"display"),o.parentNode.removeChild(o),lt[s]=r="none"===r?"block":r)))):"none"!==n&&(a[l]="none",K.set(i,"display",n)));for(l=0;l<c;l++)null!=a[l]&&(t[l].style.display=a[l]);return t}k.fn.extend({show:function(){return ct(this,!0)},hide:function(){return ct(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){st(this)?k(this).show():k(this).hide()})}});var ut=/^(?:checkbox|radio)$/i,ht=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ft=/^$|^module$|\/(?:java|ecma)script/i;h=T.createDocumentFragment().appendChild(T.createElement("div")),(d=T.createElement("input")).setAttribute("type","radio"),d.setAttribute("checked","checked"),d.setAttribute("name","t"),h.appendChild(d),b.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="<textarea>x</textarea>",b.noCloneChecked=!!h.cloneNode(!0).lastChild.defaultValue,h.innerHTML="<option></option>",b.option=!!h.lastChild;var dt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function pt(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&C(t,e)?k.merge([t],n):n}function gt(t,e){for(var n=0,i=t.length;n<i;n++)K.set(t[n],"globalEval",!e||K.get(e[n],"globalEval"))}dt.tbody=dt.tfoot=dt.colgroup=dt.caption=dt.thead,dt.th=dt.td,b.option||(dt.optgroup=dt.option=[1,"<select multiple='multiple'>","</select>"]);var mt=/<|&#?\w+;/;function vt(t,e,n,i,r){for(var o,s,a,l,c,u=e.createDocumentFragment(),h=[],f=0,d=t.length;f<d;f++)if((o=t[f])||0===o)if("object"===p(o))k.merge(h,o.nodeType?[o]:o);else if(mt.test(o)){for(s=s||u.appendChild(e.createElement("div")),a=(ht.exec(o)||["",""])[1].toLowerCase(),a=dt[a]||dt._default,s.innerHTML=a[1]+k.htmlPrefilter(o)+a[2],c=a[0];c--;)s=s.lastChild;k.merge(h,s.childNodes),(s=u.firstChild).textContent=""}else h.push(e.createTextNode(o));for(u.textContent="",f=0;o=h[f++];)if(i&&-1<k.inArray(o,i))r&&r.push(o);else if(l=rt(o),s=pt(u.appendChild(o),"script"),l&&gt(s),n)for(c=0;o=s[c++];)ft.test(o.type||"")&&n.push(o);return u}var yt=/^([^.]*)(?:\.(.+)|)/;function bt(){return!0}function wt(){return!1}function xt(t,e){return t===function(){try{return T.activeElement}catch(t){}}()==("focus"===e)}function _t(t,e,n,i,r,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)_t(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=wt;else if(!r)return t;return 1===o&&(s=r,(r=function(t){return k().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=k.guid++)),t.each(function(){k.event.add(this,e,r,i,n)})}function Tt(t,r,o){o?(K.set(t,r,!1),k.event.add(t,r,{namespace:!1,handler:function(t){var e,n,i=K.get(this,r);if(1&t.isTrigger&&this[r]){if(i.length)(k.event.special[r]||{}).delegateType&&t.stopPropagation();else if(i=a.call(arguments),K.set(this,r,i),e=o(this,r),this[r](),i!==(n=K.get(this,r))||e?K.set(this,r,!1):n={},i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n&&n.value}else i.length&&(K.set(this,r,{value:k.event.trigger(k.extend(i[0],k.Event.prototype),i.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===K.get(t,r)&&k.event.add(t,r,bt)}k.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,u,h,f,d,p=K.get(e);if(U(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&k.find.matchesSelector(it,r),n.guid||(n.guid=k.guid++),(a=p.events)||(a=p.events=Object.create(null)),(s=p.handle)||(s=p.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(R)||[""]).length;l--;)h=d=(c=yt.exec(t[l])||[])[1],f=(c[2]||"").split(".").sort(),h&&(u=k.event.special[h]||{},h=(r?u.delegateType:u.bindType)||h,u=k.event.special[h]||{},c=k.extend({type:h,origType:d,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&k.expr.match.needsContext.test(r),namespace:f.join(".")},o),(d=a[h])||((d=a[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,f,s)||e.addEventListener&&e.addEventListener(h,s)),u.add&&(u.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,c):d.push(c),k.event.global[h]=!0)},remove:function(t,e,n,i,r){var o,s,a,l,c,u,h,f,d,p,g,m=K.hasData(t)&&K.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(R)||[""]).length;c--;)if(d=g=(a=yt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),d){for(h=k.event.special[d]||{},f=l[d=(i?h.delegateType:h.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)u=f[o],!r&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,h.remove&&h.remove.call(t,u));s&&!f.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||k.removeEvent(t,d,m.handle),delete l[d])}else for(d in l)k.event.remove(t,d+e[c],n,i,!0);k.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,s=new Array(arguments.length),a=k.event.fix(t),l=(K.get(this,"events")||Object.create(null))[a.type]||[],t=k.event.special[a.type]||{};for(s[0]=a,e=1;e<arguments.length;e++)s[e]=arguments[e];if(a.delegateTarget=this,!t.preDispatch||!1!==t.preDispatch.call(this,a)){for(o=k.event.handlers.call(this,a,l),e=0;(i=o[e++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(r=i.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==r.namespace&&!a.rnamespace.test(r.namespace)||(a.handleObj=r,a.data=r.data,void 0!==(r=((k.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))&&!1===(a.result=r)&&(a.preventDefault(),a.stopPropagation()));return t.postDispatch&&t.postDispatch.call(this,a),a.result}},handlers:function(t,e){var n,i,r,o,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=e[n]).selector+" "]&&(s[r]=i.needsContext?-1<k(r,this).index(c):k.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[k.expando]?t:new k.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){t=this||t;return ut.test(t.type)&&t.click&&C(t,"input")&&Tt(t,"click",bt),!1},trigger:function(t){t=this||t;return ut.test(t.type)&&t.click&&C(t,"input")&&Tt(t,"click"),!0},_default:function(t){t=t.target;return ut.test(t.type)&&t.click&&C(t,"input")&&K.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},k.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},k.Event=function(t,e){if(!(this instanceof k.Event))return new k.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?bt:wt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&k.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:wt,isPropagationStopped:wt,isImmediatePropagationStopped:wt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=bt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=bt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=bt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(t,e){k.event.special[t]={setup:function(){return Tt(this,t,xt),!1},trigger:function(){return Tt(this,t),!0},_default:function(){return!0},delegateType:e}}),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,r){k.event.special[t]={delegateType:r,bindType:r,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||k.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=r),e}}}),k.fn.extend({on:function(t,e,n,i){return _t(this,t,e,n,i)},one:function(t,e,n,i){return _t(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,k(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=wt),this.each(function(){k.event.remove(this,t,n,e)});for(r in t)this.off(r,e,t[r]);return this}});var kt=/<script|<style|<link/i,St=/checked\s*(?:[^=]|=\s*.checked.)/i,Et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ct(t,e){return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&k(t).children("tbody")[0]||t}function At(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ot(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Dt(t,e){var n,i,r,o;if(1===e.nodeType){if(K.hasData(t)&&(o=K.get(t).events))for(r in K.remove(e,"handle events"),o)for(n=0,i=o[r].length;n<i;n++)k.event.add(e,r,o[r][n]);Q.hasData(t)&&(t=Q.access(t),t=k.extend({},t),Q.set(e,t))}}function Mt(n,i,r,o){i=v(i);var t,e,s,a,l,c,u=0,h=n.length,f=h-1,d=i[0],p=g(d);if(p||1<h&&"string"==typeof d&&!b.checkClone&&St.test(d))return n.each(function(t){var e=n.eq(t);p&&(i[0]=d.call(this,t,e.html())),Mt(e,i,r,o)});if(h&&(e=(t=vt(i,n[0].ownerDocument,!1,n,o)).firstChild,1===t.childNodes.length&&(t=e),e||o)){for(a=(s=k.map(pt(t,"script"),At)).length;u<h;u++)l=t,u!==f&&(l=k.clone(l,!0,!0),a&&k.merge(s,pt(l,"script"))),r.call(n[u],l,u);if(a)for(c=s[s.length-1].ownerDocument,k.map(s,Ot),u=0;u<a;u++)l=s[u],ft.test(l.type||"")&&!K.access(l,"globalEval")&&k.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&!l.noModule&&k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):w(l.textContent.replace(Et,""),l,c))}return n}function Lt(t,e,n){for(var i,r=e?k.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||k.cleanData(pt(i)),i.parentNode&&(n&&rt(i)&&gt(pt(i,"script")),i.parentNode.removeChild(i));return t}k.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,s,a,l,c,u=t.cloneNode(!0),h=rt(t);if(!(b.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(s=pt(u),i=0,r=(o=pt(t)).length;i<r;i++)a=o[i],l=s[i],c=void 0,"input"===(c=l.nodeName.toLowerCase())&&ut.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(e)if(n)for(o=o||pt(t),s=s||pt(u),i=0,r=o.length;i<r;i++)Dt(o[i],s[i]);else Dt(t,u);return 0<(s=pt(u,"script")).length&&gt(s,!h&&pt(t,"script")),u},cleanData:function(t){for(var e,n,i,r=k.event.special,o=0;void 0!==(n=t[o]);o++)if(U(n)){if(e=n[K.expando]){if(e.events)for(i in e.events)r[i]?k.event.remove(n,i):k.removeEvent(n,i,e.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),k.fn.extend({detach:function(t){return Lt(this,t,!0)},remove:function(t){return Lt(this,t)},text:function(t){return F(this,function(t){return void 0===t?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Mt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ct(this,t).appendChild(t)})},prepend:function(){return Mt(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=Ct(this,t)).insertBefore(t,e.firstChild)})},before:function(){return Mt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Mt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(k.cleanData(pt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return k.clone(this,t,e)})},html:function(t){return F(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!kt.test(t)&&!dt[(ht.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(k.cleanData(pt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=[];return Mt(this,arguments,function(t){var e=this.parentNode;k.inArray(this,n)<0&&(k.cleanData(pt(this)),e&&e.replaceChild(t,this))},n)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,s){k.fn[t]=function(t){for(var e,n=[],i=k(t),r=i.length-1,o=0;o<=r;o++)e=o===r?this:this.clone(!0),k(i[o])[s](e),l.apply(n,e.get());return this.pushStack(n)}});function Pt(t){var e=t.ownerDocument.defaultView;return(e=!e||!e.opener?_:e).getComputedStyle(t)}function jt(t,e,n){var i,r={};for(i in e)r[i]=t.style[i],t.style[i]=e[i];for(i in n=n.call(t),e)t.style[i]=r[i];return n}var Rt,Nt,Bt,It,Ht,qt,zt,Ft,Wt=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),Yt=new RegExp(nt.join("|"),"i");function Xt(){var t;Ft&&(zt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ft.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",it.appendChild(zt).appendChild(Ft),t=_.getComputedStyle(Ft),Rt="1%"!==t.top,qt=12===Vt(t.marginLeft),Ft.style.right="60%",It=36===Vt(t.right),Nt=36===Vt(t.width),Ft.style.position="absolute",Bt=12===Vt(Ft.offsetWidth/3),it.removeChild(zt),Ft=null)}function Vt(t){return Math.round(parseFloat(t))}function Ut(t,e,n){var i,r,o=t.style;return(n=n||Pt(t))&&(""!==(r=n.getPropertyValue(e)||n[e])||rt(t)||(r=k.style(t,e)),!b.pixelBoxStyles()&&Wt.test(r)&&Yt.test(e)&&(i=o.width,t=o.minWidth,e=o.maxWidth,o.minWidth=o.maxWidth=o.width=r,r=n.width,o.width=i,o.minWidth=t,o.maxWidth=e)),void 0!==r?r+"":r}function $t(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}zt=T.createElement("div"),(Ft=T.createElement("div")).style&&(Ft.style.backgroundClip="content-box",Ft.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle="content-box"===Ft.style.backgroundClip,k.extend(b,{boxSizingReliable:function(){return Xt(),Nt},pixelBoxStyles:function(){return Xt(),It},pixelPosition:function(){return Xt(),Rt},reliableMarginLeft:function(){return Xt(),qt},scrollboxSize:function(){return Xt(),Bt},reliableTrDimensions:function(){var t,e,n;return null==Ht&&(t=T.createElement("table"),e=T.createElement("tr"),n=T.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",it.appendChild(t).appendChild(e).appendChild(n),n=_.getComputedStyle(e),Ht=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===e.offsetHeight,it.removeChild(t)),Ht}}));var Kt=["Webkit","Moz","ms"],Qt=T.createElement("div").style,Gt={};function Jt(t){var e=k.cssProps[t]||Gt[t];return e||(t in Qt?t:Gt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Kt.length;n--;)if((t=Kt[n]+e)in Qt)return t}(t)||t)}var Zt=/^(none|table(?!-c[ea]).+)/,te=/^--/,ee={position:"absolute",visibility:"hidden",display:"block"},ne={letterSpacing:"0",fontWeight:"400"};function ie(t,e,n){var i=et.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function re(t,e,n,i,r,o){var s="width"===e?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=k.css(t,n+nt[s],!0,r)),i?("content"===n&&(l-=k.css(t,"padding"+nt[s],!0,r)),"margin"!==n&&(l-=k.css(t,"border"+nt[s]+"Width",!0,r))):(l+=k.css(t,"padding"+nt[s],!0,r),"padding"!==n?l+=k.css(t,"border"+nt[s]+"Width",!0,r):a+=k.css(t,"border"+nt[s]+"Width",!0,r));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))||0),l}function oe(t,e,n){var i=Pt(t),r=(!b.boxSizingReliable()||n)&&"border-box"===k.css(t,"boxSizing",!1,i),o=r,s=Ut(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Wt.test(s)){if(!n)return s;s="auto"}return(!b.boxSizingReliable()&&r||!b.reliableTrDimensions()&&C(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===k.css(t,"boxSizing",!1,i),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+re(t,e,n||(r?"border":"content"),o,i,s)+"px"}function se(t,e,n,i,r){return new se.prototype.init(t,e,n,i,r)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){t=Ut(t,"opacity");return""===t?"1":t}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=V(e),l=te.test(e),c=t.style;if(l||(e=Jt(a)),s=k.cssHooks[e]||k.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:c[e];"string"===(o=typeof n)&&(r=et.exec(n))&&r[1]&&(n=at(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(k.cssNumber[a]?"":"px")),b.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var r,o=V(e);return te.test(e)||(e=Jt(o)),"normal"===(r=void 0===(r=(o=k.cssHooks[e]||k.cssHooks[o])&&"get"in o?o.get(t,!0,n):r)?Ut(t,e,i):r)&&e in ne&&(r=ne[e]),""===n||n?(e=parseFloat(r),!0===n||isFinite(e)?e||0:r):r}}),k.each(["height","width"],function(t,a){k.cssHooks[a]={get:function(t,e,n){if(e)return!Zt.test(k.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,a,n):jt(t,ee,function(){return oe(t,a,n)})},set:function(t,e,n){var i,r=Pt(t),o=!b.scrollboxSize()&&"absolute"===r.position,s=(o||n)&&"border-box"===k.css(t,"boxSizing",!1,r),n=n?re(t,a,n,s,r):0;return s&&o&&(n-=Math.ceil(t["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(r[a])-re(t,a,"border",!1,r)-.5)),n&&(i=et.exec(e))&&"px"!==(i[3]||"px")&&(t.style[a]=e,e=k.css(t,a)),ie(0,e,n)}}}),k.cssHooks.marginLeft=$t(b.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-jt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(r,o){k.cssHooks[r+o]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[r+nt[e]+o]=i[e]||i[e-2]||i[0];return n}},"margin"!==r&&(k.cssHooks[r+o].set=ie)}),k.fn.extend({css:function(t,e){return F(this,function(t,e,n){var i,r,o={},s=0;if(Array.isArray(e)){for(i=Pt(t),r=e.length;s<r;s++)o[e[s]]=k.css(t,e[s],!1,i);return o}return void 0!==n?k.style(t,e,n):k.css(t,e)},t,e,1<arguments.length)}}),((k.Tween=se).prototype={constructor:se,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||k.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var t=se.propHooks[this.prop];return(t&&t.get?t:se.propHooks._default).get(this)},run:function(t){var e,n=se.propHooks[this.prop];return this.options.duration?this.pos=e=k.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:se.propHooks._default).set(this),this}}).init.prototype=se.prototype,(se.propHooks={_default:{get:function(t){return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(t=k.css(t.elem,t.prop,""))&&"auto"!==t?t:0},set:function(t){k.fx.step[t.prop]?k.fx.step[t.prop](t):1!==t.elem.nodeType||!k.cssHooks[t.prop]&&null==t.elem.style[Jt(t.prop)]?t.elem[t.prop]=t.now:k.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=se.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},k.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},k.fx=se.prototype.init,k.fx.step={};var ae,le,ce=/^(?:toggle|show|hide)$/,ue=/queueHooks$/;function he(){le&&(!1===T.hidden&&_.requestAnimationFrame?_.requestAnimationFrame(he):_.setTimeout(he,k.fx.interval),k.fx.tick())}function fe(){return _.setTimeout(function(){ae=void 0}),ae=Date.now()}function de(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=nt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function pe(t,e,n){for(var i,r=(ge.tweeners[e]||[]).concat(ge.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,e,t))return i}function ge(r,t,e){var n,o,i=0,s=ge.prefilters.length,a=k.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=ae||fe(),t=Math.max(0,c.startTime+c.duration-t),e=1-(t/c.duration||0),n=0,i=c.tweens.length;n<i;n++)c.tweens[n].run(e);return a.notifyWith(r,[c,e,t]),e<1&&i?t:(i||a.notifyWith(r,[c,1,0]),a.resolveWith(r,[c]),!1)},c=a.promise({elem:r,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},e),originalProperties:t,originalOptions:e,startTime:ae||fe(),duration:e.duration,tweens:[],createTween:function(t,e){t=k.Tween(r,c.opts,t,e,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(t),t},stop:function(t){var e=0,n=t?c.tweens.length:0;if(o)return this;for(o=!0;e<n;e++)c.tweens[e].run(1);return t?(a.notifyWith(r,[c,1,0]),a.resolveWith(r,[c,t])):a.rejectWith(r,[c,t]),this}}),u=c.props;for(!function(t,e){var n,i,r,o,s;for(n in t)if(r=e[i=V(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(s=k.cssHooks[i])&&"expand"in s)for(n in o=s.expand (o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(u,c.opts.specialEasing);i<s;i++)if(n=ge.prefilters[i].call(c,r,u,c.opts))return g(n.stop)&&(k._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return k.map(u,pe,c),g(c.opts.start)&&c.opts.start.call(r,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),k.fx.timer(k.extend(l,{elem:r,anim:c,queue:c.opts.queue})),c}k.Animation=k.extend(ge,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return at(n.elem,t,et.exec(e),n),n}]},tweener:function(t,e){for(var n,i=0,r=(t=g(t)?(e=t,["*"]):t.match(R)).length;i<r;i++)n=t[i],ge.tweeners[n]=ge.tweeners[n]||[],ge.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,o,s,a,l,c,u="width"in e||"height"in e,h=this,f={},d=t.style,p=t.nodeType&&st(t),g=K.get(t,"fxshow");for(i in n.queue||(null==(s=k._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,k.queue(t,"fx").length||s.empty.fire()})})),e)if(r=e[i],ce.test(r)){if(delete e[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;p=!0}f[i]=g&&g[i]||k.style(t,i)}if((l=!k.isEmptyObject(e))||!k.isEmptyObject(f))for(i in u&&1===t.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(c=g&&g.display)&&(c=K.get(t,"display")),"none"===(u=k.css(t,"display"))&&(c?u=c:(ct([t],!0),c=t.style.display||c,u=k.css(t,"display"),ct([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===k.css(t,"float")&&(l||(h.done(function(){d.display=c}),null==c&&(u=d.display,c="none"===u?"":u)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",h.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(p=g.hidden):g=K.access(t,"fxshow",{display:c}),o&&(g.hidden=!p),p&&ct([t],!0),h.done(function(){for(i in p||ct([t]),K.remove(t,"fxshow"),f)k.style(t,i,f[i])})),l=pe(p?g[i]:0,i,h),i in g||(g[i]=l.start,p&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ge.prefilters.unshift(t):ge.prefilters.push(t)}}),k.speed=function(t,e,n){var i=t&&"object"==typeof t?k.extend({},t):{complete:n||!n&&e||g(t)&&t,duration:t,easing:n&&e||e&&!g(e)&&e};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){g(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(t,e,n,i){return this.filter(st).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){function r(){var t=ge(this,k.extend({},e),s);(o||K.get(this,"finish"))&&t.stop(!0)}var o=k.isEmptyObject(e),s=k.speed(t,n,i);return r.finish=r,o||!1===s.queue?this.each(r):this.queue(s.queue,r)},stop:function(r,t,o){function s(t){var e=t.stop;delete t.stop,e(o)}return"string"!=typeof r&&(o=t,t=r,r=void 0),t&&this.queue(r||"fx",[]),this.each(function(){var t=!0,e=null!=r&&r+"queueHooks",n=k.timers,i=K.get(this);if(e)i[e]&&i[e].stop&&s(i[e]);else for(e in i)i[e]&&i[e].stop&&ue.test(e)&&s(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=r&&n[e].queue!==r||(n[e].anim.stop(o),t=!1,n.splice(e,1));!t&&o||k.dequeue(this,r)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var t,e=K.get(this),n=e[s+"queue"],i=e[s+"queueHooks"],r=k.timers,o=n?n.length:0;for(e.finish=!0,k.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===s&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),k.each(["toggle","show","hide"],function(t,i){var r=k.fn[i];k.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(de(i,!0),t,e,n)}}),k.each({slideDown:de("show"),slideUp:de("hide"),slideToggle:de("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){k.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),k.timers=[],k.fx.tick=function(){var t,e=0,n=k.timers;for(ae=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||k.fx.stop(),ae=void 0},k.fx.timer=function(t){k.timers.push(t),k.fx.start()},k.fx.interval=13,k.fx.start=function(){le||(le=!0,he())},k.fx.stop=function(){le=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(i,t){return i=k.fx&&k.fx.speeds[i]||i,this.queue(t=t||"fx",function(t,e){var n=_.setTimeout(t,i);e.stop=function(){_.clearTimeout(n)}})},h=T.createElement("input"),tt=T.createElement("select").appendChild(T.createElement("option")),h.type="checkbox",b.checkOn=""!==h.value,b.optSelected=tt.selected,(h=T.createElement("input")).value="t",h.type="radio",b.radioValue="t"===h.value;var me,ve=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return F(this,k.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){k.removeAttr(this,t)})}}),k.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?k.prop(t,e,n):(1===o&&k.isXMLDoc(t)||(r=k.attrHooks[e.toLowerCase()]||(k.expr.match.bool.test(e)?me:void 0)),void 0!==n?null===n?void k.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):!(r&&"get"in r&&null!==(i=r.get(t,e)))&&null==(i=k.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!b.radioValue&&"radio"===e&&C(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(R);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),me={set:function(t,e,n){return!1===e?k.removeAttr(t,n):t.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(t,e){var s=ve[e]||k.find.attr;ve[e]=function(t,e,n){var i,r,o=e.toLowerCase();return n||(r=ve[o],ve[o]=i,i=null!=s(t,e,n)?o:null,ve[o]=r),i}});var ye=/^(?:input|select|textarea|button)$/i,be=/^(?:a|area)$/i;function we(t){return(t.match(R)||[]).join(" ")}function xe(t){return t.getAttribute&&t.getAttribute("class")||""}function _e(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(R)||[]}k.fn.extend({prop:function(t,e){return F(this,k.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[k.propFix[t]||t]})}}),k.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(t)||(e=k.propFix[e]||e,r=k.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=k.find.attr(t,"tabindex");return e?parseInt(e,10):ye.test(t.nodeName)||be.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(k.propHooks.selected={get:function(t){t=t.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(t){t=t.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(e){var t,n,i,r,o,s,a=0;if(g(e))return this.each(function(t){k(this).addClass(e.call(this,t,xe(this)))});if((t=_e(e)).length)for(;n=this[a++];)if(s=xe(n),i=1===n.nodeType&&" "+we(s)+" "){for(o=0;r=t[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s!==(s=we(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,o,s,a=0;if(g(e))return this.each(function(t){k(this).removeClass(e.call(this,t,xe(this)))});if(!arguments.length)return this.attr("class","");if((t=_e(e)).length)for(;n=this[a++];)if(s=xe(n),i=1===n.nodeType&&" "+we(s)+" "){for(o=0;r=t[o++];)for(;-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");s!==(s=we(i))&&n.setAttribute("class",s)}return this},toggleClass:function(r,e){var o=typeof r,s="string"==o||Array.isArray(r);return"boolean"==typeof e&&s?e?this.addClass(r):this.removeClass(r):g(r)?this.each(function(t){k(this).toggleClass(r.call(this,t,xe(this),e),e)}):this.each(function(){var t,e,n,i;if(s)for(e=0,n=k(this),i=_e(r);t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else void 0!==r&&"boolean"!=o||((t=xe(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",!t&&!1!==r&&K.get(this,"__className__")||""))})},hasClass:function(t){for(var e,n=0,i=" "+t+" ";e=this[n++];)if(1===e.nodeType&&-1<(" "+we(xe(e))+" ").indexOf(i))return!0;return!1}});var Te=/\r/g;k.fn.extend({val:function(e){var n,t,i,r=this[0];return arguments.length?(i=g(e),this.each(function(t){1===this.nodeType&&(null==(t=i?e.call(this,t,k(this).val()):e)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=k.map(t,function(t){return null==t?"":t+""})),(n=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,t,"value")||(this.value=t))})):r?(n=k.valHooks[r.type]||k.valHooks[r.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(r,"value"))?t:"string"==typeof(t=r.value)?t.replace(Te,""):null==t?"":t:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:we(k.text(t))}},select:{get:function(t){for(var e,n=t.options,i=t.selectedIndex,r="select-one"===t.type,o=r?null:[],s=r?i+1:n.length,a=i<0?s:r?i:0;a<s;a++)if(((e=n[a]).selected||a===i)&&!e.disabled&&(!e.parentNode.disabled||!C(e.parentNode,"optgroup"))){if(e=k(e).val(),r)return e;o.push(e)}return o},set:function(t,e){for(var n,i,r=t.options,o=k.makeArray(e),s=r.length;s--;)((i=r[s]).selected=-1<k.inArray(k.valHooks.option.get(i),o))&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<k.inArray(k(t).val(),e)}},b.checkOn||(k.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),b.focusin="onfocusin"in _;function ke(t){t.stopPropagation()}var Se=/^(?:focusinfocus|focusoutblur)$/;k.extend(k.event,{trigger:function(t,e,n,i){var r,o,s,a,l,c,u,h=[n||T],f=y.call(t,"type")?t.type:t,d=y.call(t,"namespace")?t.namespace.split("."):[],p=u=o=n=n||T;if(3!==n.nodeType&&8!==n.nodeType&&!Se.test(f+k.event.triggered)&&(-1<f.indexOf(".")&&(f=(d=f.split(".")).shift(),d.sort()),a=f.indexOf(":")<0&&"on"+f,(t=t[k.expando]?t:new k.Event(f,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=d.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:k.makeArray(e,[t]),c=k.event.special[f]||{},i||!c.trigger||!1!==c.trigger.apply(n,e))){if(!i&&!c.noBubble&&!m(n)){for(s=c.delegateType||f,Se.test(s+f)||(p=p.parentNode);p;p=p.parentNode)h.push(p),o=p;o===(n.ownerDocument||T)&&h.push(o.defaultView||o.parentWindow||_)}for(r=0;(p=h[r++])&&!t.isPropagationStopped();)u=p,t.type=1<r?s:c.bindType||f,(l=(K.get(p,"events")||Object.create(null))[t.type]&&K.get(p,"handle"))&&l.apply(p,e),(l=a&&p[a])&&l.apply&&U(p)&&(t.result=l.apply(p,e),!1===t.result&&t.preventDefault());return t.type=f,i||t.isDefaultPrevented()||c._default&&!1!==c._default.apply(h.pop(),e)||!U(n)||a&&g(n[f])&&!m(n)&&((o=n[a])&&(n[a]=null),k.event.triggered=f,t.isPropagationStopped()&&u.addEventListener(f,ke),n[f](),t.isPropagationStopped()&&u.removeEventListener(f,ke),k.event.triggered=void 0,o&&(n[a]=o)),t.result}},simulate:function(t,e,n){t=k.extend(new k.Event,n,{type:t,isSimulated:!0});k.event.trigger(t,null,e)}}),k.fn.extend({trigger:function(t,e){return this.each(function(){k.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return k.event.trigger(t,e,n,!0)}}),b.focusin||k.each({focus:"focusin",blur:"focusout"},function(n,i){function r(t){k.event.simulate(i,t.target,k.event.fix(t))}k.event.special[i]={setup:function(){var t=this.ownerDocument||this.document||this,e=K.access(t,i);e||t.addEventListener(n,r,!0),K.access(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this.document||this,e=K.access(t,i)-1;e?K.access(t,i,e):(t.removeEventListener(n,r,!0),K.remove(t,i))}}});var Ee=_.location,Ce={guid:Date.now()},Ae=/\?/;k.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new _.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,function(t){return t.textContent}).join("\n"):t)),e};var Oe=/\[\]$/,De=/\r?\n/g,Me=/^(?:submit|button|image|reset|file)$/i,Le=/^(?:input|select|textarea|keygen)/i;k.param=function(t,e){function n(t,e){e=g(e)?e():e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)}var i,r=[];if(null==t)return"";if(Array.isArray(t)||t.jquery&&!k.isPlainObject(t))k.each(t,function(){n(this.name,this.value)});else for(i in t)!function n(i,t,r,o){if(Array.isArray(t))k.each(t,function(t,e){r||Oe.test(i)?o(i,e):n(i+"["+("object"==typeof e&&null!=e?t:"")+"]",e,r,o)});else if(r||"object"!==p(t))o(i,t);else for(var e in t)n(i+"["+e+"]",t[e],r,o)}(i,t[i],e,n);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=k.prop(this,"elements");return t?k.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!k(this).is(":disabled")&&Le.test(this.nodeName)&&!Me.test(t)&&(this.checked||!ut.test(t))}).map(function(t,e){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(t){return{name:e.name,value:t.replace(De,"\r\n")}}):{name:e.name,value:n.replace(De,"\r\n")}}).get()}});var Pe=/%20/g,je=/#.*$/,Re=/([?&])_=[^&]*/,Ne=/^(.*?):[ \t]*([^\r\n]*)$/gm,Be=/^(?:GET|HEAD)$/,Ie=/^\/\//,He={},qe={},ze="*/".concat("*"),Fe=T.createElement("a");function We(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,r=t.toLowerCase().match(R)||[];if(g(e))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(e)):(o[n]=o[n]||[]).push(e)}}function Ye(e,i,r,o){var s={},a=e===qe;function l(t){var n;return s[t]=!0,k.each(e[t]||[],function(t,e){e=e(i,r,o);return"string"!=typeof e||a||s[e]?a?!(n=e):void 0:(i.dataTypes.unshift(e),l(e),!1)}),n}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Xe(t,e){var n,i,r=k.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i=i||{})[n]=e[n]);return i&&k.extend(!0,t,i),t}Fe.href=Ee.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ee.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Xe(Xe(t,k.ajaxSettings),e):Xe(k.ajaxSettings,t)},ajaxPrefilter:We(He),ajaxTransport:We(qe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var l,c,u,n,h,f,d,i,r,p=k.ajaxSetup({},e=e||{}),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?k(g):k.event,v=k.Deferred(),y=k.Callbacks("once memory"),b=p.statusCode||{},o={},s={},a="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(f){if(!n)for(n={};e=Ne.exec(u);)n[e[1].toLowerCase()+" "]=(n[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=n[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return f?u:null},setRequestHeader:function(t,e){return null==f&&(t=s[t.toLowerCase()]=s[t.toLowerCase()]||t,o[t]=e),this},overrideMimeType:function(t){return null==f&&(p.mimeType=t),this},statusCode:function(t){if(t)if(f)w.always(t[w.status]);else for(var e in t)b[e]=[b[e],t[e]];return this},abort:function(t){t=t||a;return l&&l.abort(t),x(0,t),this}};if(v.promise(w),p.url=((t||p.url||Ee.href)+"").replace(Ie,Ee.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(R)||[""],null==p.crossDomain){r=T.createElement("a");try{r.href=p.url,r.href=r.href,p.crossDomain=Fe.protocol+"//"+Fe.host!=r.protocol+"//"+r.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),Ye(He,p,e,w),f)return w;for(i in(d=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Be.test(p.type),c=p.url.replace(je,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pe,"+")):(r=p.url.slice(c.length),p.data&&(p.processData||"string"==typeof p.data)&&(c+=(Ae.test(c)?"&":"?")+p.data,delete p.data),!1===p.cache&&(c=c.replace(Re,"$1"),r=(Ae.test(c)?"&":"?")+"_="+Ce.guid+++r),p.url=c+r),p.ifModified&&(k.lastModified[c]&&w.setRequestHeader("If-Modified-Since",k.lastModified[c]),k.etag[c]&&w.setRequestHeader("If-None-Match",k.etag[c])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+ze+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(!1===p.beforeSend.call(g,w,p)||f))return w.abort();if(a="abort",y.add(p.complete),w.done(p.success),w.fail(p.error),l=Ye(qe,p,e,w)){if(w.readyState=1,d&&m.trigger("ajaxSend",[w,p]),f)return w;p.async&&0<p.timeout&&(h=_.setTimeout(function(){w.abort("timeout")},p.timeout));try{f=!1,l.send(o,x)}catch(t){if(f)throw t;x(-1,t)}}else x(-1,"No Transport");function x(t,e,n,i){var r,o,s,a=e;f||(f=!0,h&&_.clearTimeout(h),l=void 0,u=i||"",w.readyState=0<t?4:0,i=200<=t&&t<300||304===t,n&&(s=function(t,e,n){for(var i,r,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}s=s||r}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,w,n)),!i&&-1<k.inArray("script",p.dataTypes)&&k.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),s=function(t,e,n,i){var r,o,s,a,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,s,w,i),i?(p.ifModified&&((n=w.getResponseHeader("Last-Modified"))&&(k.lastModified[c]=n),(n=w.getResponseHeader("etag"))&&(k.etag[c]=n)),204===t||"HEAD"===p.type?a="nocontent":304===t?a="notmodified":(a=s.state,r=s.data,i=!(o=s.error))):(o=a,!t&&a||(a="error",t<0&&(t=0))),w.status=t,w.statusText=(e||a)+"",i?v.resolveWith(g,[r,a,w]):v.rejectWith(g,[w,a,o]),w.statusCode(b),b=void 0,d&&m.trigger(i?"ajaxSuccess":"ajaxError",[w,p,i?r:o]),y.fireWith(g,[w,a]),d&&(m.trigger("ajaxComplete",[w,p]),--k.active||k.event.trigger("ajaxStop")))}return w},getJSON:function(t,e,n){return k.get(t,e,n,"json")},getScript:function(t,e){return k.get(t,void 0,e,"script")}}),k.each(["get","post"],function(t,r){k[r]=function(t,e,n,i){return g(e)&&(i=i||n,n=e,e=void 0),k.ajax(k.extend({url:t,type:r,dataType:i,data:e,success:n},k.isPlainObject(t)&&t))}}),k.ajaxPrefilter(function(t){for(var e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),k._evalUrl=function(t,e,n){return k.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){k.globalEval(t,e,n)}})},k.fn.extend({wrapAll:function(t){return this[0]&&(g(t)&&(t=t.call(this[0])),t=k(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(n){return g(n)?this.each(function(t){k(this).wrapInner(n.call(this,t))}):this.each(function(){var t=k(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=g(e);return this.each(function(t){k(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(t){return!k.expr.pseudos.visible(t)},k.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new _.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},Ue=k.ajaxSettings.xhr();b.cors=!!Ue&&"withCredentials"in Ue,b.ajax=Ue=!!Ue,k.ajaxTransport(function(r){var o,s;if(b.cors||Ue&&!r.crossDomain)return{send:function(t,e){var n,i=r.xhr();if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&&i.overrideMimeType&&i.overrideMimeType(r.mimeType),r.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)i.setRequestHeader(n,t[n]);o=function(t){return function(){o&&(o=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===t?i.abort():"error"===t?"number"!=typeof i.status?e(0,"error"):e(i.status,i.statusText):e(Ve[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=o(),s=i.onerror=i.ontimeout=o("error"),void 0!==i.onabort?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&_.setTimeout(function(){o&&s()})},o=o("abort");try{i.send(r.hasContent&&r.data||null)}catch(t){if(o)throw t}},abort:function(){o&&o()}}}),k.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return k.globalEval(t),t}}}),k.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),k.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(t,e){i=k("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(t){i.remove(),r=null,t&&e("error"===t.type?404:200,t.type)}),T.head.appendChild(i[0])},abort:function(){r&&r()}}});var $e=[],Ke=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=$e.pop()||k.expando+"_"+Ce.guid++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,o,s=!1!==t.jsonp&&(Ke.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ke.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ke,"$1"+i):!1!==t.jsonp&&(t.url+=(Ae.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||k.error(i+" was not called"),o[0]},t.dataTypes[0]="json",r=_[i],_[i]=function(){o=arguments},n.always(function(){void 0===r?k(_).removeProp(i):_[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,$e.push(i)),o&&g(r)&&r(o[0]),o=r=void 0}),"script"}),b.createHTMLDocument=((h=T.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===h.childNodes.length),k.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(b.createHTMLDocument?((i=(e=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,e.head.appendChild(i)):e=T),i=!n&&[],(n=A.exec(t))?[e.createElement(n[1])]:(n=vt([t],e,i),i&&i.length&&k(i).remove(),k.merge([],n.childNodes)));var i},k.fn.load=function(t,e,n){var i,r,o,s=this,a=t.indexOf(" ");return-1<a&&(i=we(t.slice(a)),t=t.slice(0,a)),g(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),0<s.length&&k.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(i?k("<div>").append(k.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length},k.offset={setOffset:function(t,e,n){var i,r,o,s,a=k.css(t,"position"),l=k(t),c={};"static"===a&&(t.style.position="relative"),o=l.offset(),i=k.css(t,"top"),s=k.css(t,"left"),s=("absolute"===a||"fixed"===a)&&-1<(i+s).indexOf("auto")?(r=(a=l.position()).top,a.left):(r=parseFloat(i)||0,parseFloat(s)||0),null!=(e=g(e)?e.call(t,n,k.extend({},o)):e).top&&(c.top=e.top-o.top+r),null!=e.left&&(c.left=e.left-o.left+s),"using"in e?e.using.call(t,c):l.css(c)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){k.offset.setOffset(this,e,t)});var t,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===k.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===k.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=k(t).offset()).top+=k.css(t,"borderTopWidth",!0),r.left+=k.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-k.css(i,"marginTop",!0),left:e.left-r.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===k.css(t,"position");)t=t.offsetParent;return t||it})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var o="pageYOffset"===r;k.fn[e]=function(t){return F(this,function(t,e,n){var i;return m(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===n?i?i[r]:t[e]:void(i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):t[e]=n)},e,t,arguments.length)}}),k.each(["top","left"],function(t,n){k.cssHooks[n]=$t(b.pixelPosition,function(t,e){if(e)return e=Ut(t,n),Wt.test(e)?k(t).position()[n]+"px":e})}),k.each({Height:"height",Width:"width"},function(s,a){k.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,o){k.fn[o]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),r=i||(!0===t||!0===e?"margin":"border");return F(this,function(t,e,n){var i;return m(t)?0===o.indexOf("outer")?t["inner"+s]:t.document.documentElement["client"+s]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+s],i["scroll"+s],t.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?k.css(t,e,r):k.style(t,e,n,r)},a,n?t:void 0,n)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){k.fn[e]=function(t){return this.on(e,t)}}),k.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){k.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}});var Qe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(t,e){var n,i;if("string"==typeof e&&(i=t[e],e=t,t=i),g(t))return n=a.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(a.call(arguments)))}).guid=t.guid=t.guid||k.guid++,i},k.holdReady=function(t){t?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=C,k.isFunction=g,k.isWindow=m,k.camelCase=V,k.type=p,k.now=Date.now,k.isNumeric=function(t){var e=k.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},k.trim=function(t){return null==t?"":(t+"").replace(Qe,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var Ge=_.jQuery,Je=_.$;return k.noConflict=function(t){return _.$===k&&(_.$=Je),t&&_.jQuery===k&&(_.jQuery=Ge),k},void 0===t&&(_.jQuery=_.$=k),k}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},t=n[t]=n[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],r=0;r<n.length;r++){var o=n[r];i&&i[o]&&(this.off(t,o),delete i[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(e,n){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("ev-emitter")):e.imagesLoaded=n(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function o(t,e){for(var n in e)t[n]=e[n];return t}function s(t,e,n){if(!(this instanceof s))return new s(t,e,n);var i,r=t;return(r="string"==typeof t?document.querySelectorAll(t):r)?(this.elements=(i=r,Array.isArray(i)?i:"object"==typeof i&&"number"==typeof i.length?c.call(i):[i]),this.options=o({},this.options),"function"==typeof e?n=e:o(this.options,e),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(r||t))}function n(t){this.img=t}function i(t,e){this.url=t,this.element=e,this.img=new Image}var a=e.jQuery,l=e.console,c=Array.prototype.slice;(s.prototype=Object.create(t.prototype)).options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&u[e]){for(var n=t.querySelectorAll("img"),i=0;i<n.length;i++){var r=n[i];this.addImage(r)}if("string"==typeof this.options.background)for(var o=t.querySelectorAll(this.options.background),i=0;i<o.length;i++){var s=o[i];this.addElementBackgroundImages(s)}}};var u={1:!0,9:!0,11:!0};return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,i=n.exec(e.backgroundImage);null!==i;){var r=i&&i[2];r&&this.addBackground(r,t),i=n.exec(e.backgroundImage)}},s.prototype.addImage=function(t){t=new n(t);this.images.push(t)},s.prototype.addBackground=function(t,e){e=new i(t,e);this.images.push(e)},s.prototype.check=function(){function e(t,e,n){setTimeout(function(){i.progress(t,e,n)})}var i=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},s.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+n,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(t=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[t](this))},(n.prototype=Object.create(t.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},n.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},n.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},n.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},n.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(i.prototype=Object.create(n.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},i.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(s.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((a=t).fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(a(this))})})(),s}),function(t,e){"function"==typeof define&&define.amd?define(["exports"],e):"undefined"!=typeof exports?e(exports):(e(e={}),t.bodyScrollLock=e)}(this,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e,n=!1;"undefined"!=typeof window&&(window.addEventListener("testPassive",null,e={get passive(){n=!0}}),window.removeEventListener("testPassive",null,e));function r(e){return l.some(function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))})}function o(t){return t=t||window.event,!!r(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)}function i(){void 0!==d&&(document.body.style.paddingRight=d,d=void 0),void 0!==h&&(document.body.style.overflow=h,h=void 0)}function s(){var t,e;void 0!==f&&(t=-parseInt(document.body.style.top,10),e=-parseInt(document.body.style.left,10),document.body.style.position=f.position,document.body.style.top=f.top,document.body.style.left=f.left,window.scrollTo(e,t),f=void 0)}var a="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&1<window.navigator.maxTouchPoints),l=[],c=!1,u=-1,h=void 0,f=void 0,d=void 0;t.disableBodyScroll=function(i,t){var e;i?l.some(function(t){return t.targetElement===i})||(e={targetElement:i,options:t||{}},l=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(l),[e]),a?window.requestAnimationFrame(function(){var t,e,n,i;void 0===f&&(f={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left},t=window,e=t.scrollY,n=t.scrollX,i=t.innerHeight,document.body.style.position="fixed",document.body.style.top=-e,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var t=i-window.innerHeight;t&&i<=e&&(document.body.style.top=-(e+t))})},300))}):(void 0===d&&(e=!!t&&!0===t.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth,e&&0<t&&(e=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10),d=document.body.style.paddingRight,document.body.style.paddingRight=e+t+"px")),void 0===h&&(h=document.body.style.overflow,document.body.style.overflow="hidden")),a&&(i.ontouchstart=function(t){1===t.targetTouches.length&&(u=t.targetTouches[0].clientY)},i.ontouchmove=function(t){var e,n;1===t.targetTouches.length&&(n=i,t=(e=t).targetTouches[0].clientY-u,r(e.target)||(n&&0===n.scrollTop&&0<t||n&&n.scrollHeight-n.scrollTop<=n.clientHeight&&t<0?o(e):e.stopPropagation()))},c||(document.addEventListener("touchmove",o,n?{passive:!1}:void 0),c=!0))):console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},t.clearAllBodyScrollLocks=function(){a&&(l.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),c&&(document.removeEventListener("touchmove",o,n?{passive:!1}:void 0),c=!1),u=-1),(a?s:i)(),l=[]},t.enableBodyScroll=function(e){e?(l=l.filter(function(t){return t.targetElement!==e}),a&&(e.ontouchstart=null,e.ontouchmove=null,c&&0===l.length&&(document.removeEventListener("touchmove",o,n?{passive:!1}:void 0),c=!1)),(a?s:i)()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).LocomotiveScroll=e()}(this,function(){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function t(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function e(e,t){var n,i=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)),i}function o(i){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e(Object(r),!0).forEach(function(t){var e,n;e=i,t=r[n=t],n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))})}return i}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(n){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=a(n);return t=i?(t=a(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!=typeof t&&"function"!=typeof t?l(e):t}}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){t=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}(t,e);if(t){e=Object.getOwnPropertyDescriptor(t,e);return e.get?e.get.call(n):e.value}})(t,e,n||t)}function S(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==a.return||a.return()}finally{if(r)throw o}}return n}}(t,e)||p(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){if(t){if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var h={el:document,name:"scroll",offset:[0,0],repeat:!1,smooth:!1,initPosition:{x:0,y:0},direction:"vertical",gestureDirection:"vertical",reloadOnContextChange:!1,lerp:.1,class:"is-inview",scrollbarContainer:!1,scrollbarClass:"c-scrollbar",scrollingClass:"has-scroll-scrolling",draggingClass:"has-scroll-dragging",smoothClass:"has-scroll-smooth",initClass:"has-scroll-init",getSpeed:!1,getDirection:!1,scrollFromAnywhere:!1,multiplier:1,firefoxMultiplier:50,touchMultiplier:2,resetNativeScroll:!0,tablet:{smooth:!1,direction:"vertical",gestureDirection:"vertical",breakpoint:1024},smartphone:{smooth:!1,direction:"vertical",gestureDirection:"vertical"}},f=(t(m,[{key:"init",value:function(){this.initEvents()}},{key:"checkScroll",value:function(){this.dispatchScroll()}},{key:"checkResize",value:function(){var t=this;this.resizeTick||(this.resizeTick=!0,requestAnimationFrame(function(){t.resize(),t.resizeTick=!1}))}},{key:"resize",value:function(){}},{key:"checkContext",value:function(){var t;this.reloadOnContextChange&&(this.isMobile=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints||this.windowWidth<this.tablet.breakpoint,this.isTablet=this.isMobile&&this.windowWidth>=this.tablet.breakpoint,t=this.context,this.isMobile?this.isTablet?this.context="tablet":this.context="smartphone":this.context="desktop",t==this.context||("desktop"==t?this:this[t]).smooth!=("desktop"==this.context?this:this[this.context]).smooth&&window.location.reload())}},{key:"initEvents",value:function(){var e=this;this.scrollToEls=this.el.querySelectorAll("[data-".concat(this.name,"-to]")),this.setScrollTo=this.setScrollTo.bind(this),this.scrollToEls.forEach(function(t){t.addEventListener("click",e.setScrollTo,!1)})}},{key:"setScrollTo",value:function(t){t.preventDefault(),this.scrollTo(t.currentTarget.getAttribute("data-".concat(this.name,"-href"))||t.currentTarget.getAttribute("href"),{offset:t.currentTarget.getAttribute("data-".concat(this.name,"-offset"))})}},{key:"addElements",value:function(){}},{key:"detectElements",value:function(i){var r=this,o=this.instance.scroll.y,s=o+this.windowHeight,a=this.instance.scroll.x,l=a+this.windowWidth;Object.entries(this.els).forEach(function(t){var e,n=S(t,2),t=n[0],n=n[1];!n||n.inView&&!i||("horizontal"===r.direction?l>=n.left&&a<n.right&&r.setInView(n,t):s>=n.top&&o<n.bottom&&r.setInView(n,t)),n&&n.inView&&("horizontal"===r.direction?(e=n.right-n.left,n.progress=(r.instance.scroll.x-(n.left-r.windowWidth))/(e+r.windowWidth),(l<n.left||a>n.right)&&r.setOutOfView(n,t)):(e=n.bottom-n.top,n.progress=(r.instance.scroll.y-(n.top-r.windowHeight))/(e+r.windowHeight),(s<n.top||o>n.bottom)&&r.setOutOfView(n,t)))}),this.hasScrollTicking=!1}},{key:"setInView",value:function(t,e){this.els[e].inView=!0,t.el.classList.add(t.class),(this.currentElements[e]=t).call&&this.hasCallEventSet&&(this.dispatchCall(t,"enter"),t.repeat||(this.els[e].call=!1))}},{key:"setOutOfView",value:function(t,e){var n=this;this.els[e].inView=!1,Object.keys(this.currentElements).forEach(function(t){t===e&&delete n.currentElements[t]}),t.call&&this.hasCallEventSet&&this.dispatchCall(t,"exit"),t.repeat&&t.el.classList.remove(t.class)}},{key:"dispatchCall",value:function(t,e){this.callWay=e,this.callValue=t.call.split(",").map(function(t){return t.trim()}),this.callObj=t,1==this.callValue.length&&(this.callValue=this.callValue[0]);t=new Event(this.namespace+"call");this.el.dispatchEvent(t)}},{key:"dispatchScroll",value:function(){var t=new Event(this.namespace+"scroll");this.el.dispatchEvent(t)}},{key:"setEvents",value:function(t,e){this.listeners[t]||(this.listeners[t]=[]);var n=this.listeners[t];n.push(e),1===n.length&&this.el.addEventListener(this.namespace+t,this.checkEvent,!1),"call"===t&&(this.hasCallEventSet=!0,this.detectElements(!0))}},{key:"unsetEvents",value:function(t,e){var n;this.listeners[t]&&((e=(n=this.listeners[t]).indexOf(e))<0||(n.splice(e,1),0===n.index&&this.el.removeEventListener(this.namespace+t,this.checkEvent,!1)))}},{key:"checkEvent",value:function(t){var e=this,n=t.type.replace(this.namespace,""),t=this.listeners[n];t&&0!==t.length&&t.forEach(function(t){switch(n){case"scroll":return t(e.instance);case"call":return t(e.callValue,e.callWay,e.callObj);default:return t()}})}},{key:"startScroll",value:function(){}},{key:"stopScroll",value:function(){}},{key:"setScroll",value:function(t,e){this.instance.scroll={x:0,y:0}}},{key:"destroy",value:function(){var e=this;window.removeEventListener("resize",this.checkResize,!1),Object.keys(this.listeners).forEach(function(t){e.el.removeEventListener(e.namespace+t,e.checkEvent,!1)}),this.listeners={},this.scrollToEls.forEach(function(t){t.removeEventListener("click",e.setScrollTo,!1)}),this.html.classList.remove(this.initClass)}}]),m),d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function m(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};i(this,m),Object.assign(this,h,t),this.smartphone=h.smartphone,t.smartphone&&Object.assign(this.smartphone,t.smartphone),this.tablet=h.tablet,t.tablet&&Object.assign(this.tablet,t.tablet),this.namespace="locomotive",this.html=document.documentElement,this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.windowMiddle={x:this.windowWidth/2,y:this.windowHeight/2},this.els={},this.currentElements={},this.listeners={},this.hasScrollTicking=!1,this.hasCallEventSet=!1,this.checkScroll=this.checkScroll.bind(this),this.checkResize=this.checkResize.bind(this),this.checkEvent=this.checkEvent.bind(this),this.instance={scroll:{x:0,y:0},limit:{x:this.html.offsetWidth,y:this.html.offsetHeight},currentElements:this.currentElements},this.isMobile?this.isTablet?this.context="tablet":this.context="smartphone":this.context="desktop",this.isMobile&&(this.direction=this[this.context].direction),"horizontal"===this.direction?this.directionAxis="x":this.directionAxis="y",this.getDirection&&(this.instance.direction=null),this.getDirection&&(this.instance.speed=0),this.html.classList.add(this.initClass),window.addEventListener("resize",this.checkResize,!1)}function v(t,e){return t(e={exports:{}},e.exports),e.exports}var y=v(function(t,e){t.exports={polyfill:function(){var t,e,a,l,n,c=window,u=document;function h(t,e){this.scrollLeft=t,this.scrollTop=e}function i(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function r(t,e){return"Y"===e?t.clientHeight+n<t.scrollHeight:"X"===e?t.clientWidth+n<t.scrollWidth:void 0}function o(t,e){e=c.getComputedStyle(t,null)["overflow"+e];return"auto"===e||"scroll"===e}function f(t){var e=(l()-t.startTime)/468,n=e=1<e?1:e,e=.5*(1-Math.cos(Math.PI*n)),n=t.startX+(t.x-t.startX)*e,e=t.startY+(t.y-t.startY)*e;t.method.call(t.scrollable,n,e),n===t.x&&e===t.y||c.requestAnimationFrame(f.bind(c,t))}function s(t,e,n){var i,r,o,s=l(),t=t===u.body?(r=(i=c).scrollX||c.pageXOffset,o=c.scrollY||c.pageYOffset,a.scroll):(r=(i=t).scrollLeft,o=t.scrollTop,h);f({scrollable:i,method:t,startTime:s,startX:r,startY:o,x:e,y:n})}"scrollBehavior"in u.documentElement.style&&!0!==c.__forceSmoothScrollPolyfill__||(e=c.HTMLElement||c.Element,a={scroll:c.scroll||c.scrollTo,scrollBy:c.scrollBy,elementScroll:e.prototype.scroll||h,scrollIntoView:e.prototype.scrollIntoView},l=c.performance&&c.performance.now?c.performance.now.bind(c.performance):Date.now,t=c.navigator.userAgent,n=new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(t)?1:0,c.scroll=c.scrollTo=function(){void 0!==arguments[0]&&(!0!==i(arguments[0])?s.call(c,u.body,void 0!==arguments[0].left?~~arguments[0].left:c.scrollX||c.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:c.scrollY||c.pageYOffset):a.scroll.call(c,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:c.scrollX||c.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:c.scrollY||c.pageYOffset))},c.scrollBy=function(){void 0!==arguments[0]&&(i(arguments[0])?a.scrollBy.call(c,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):s.call(c,u.body,~~arguments[0].left+(c.scrollX||c.pageXOffset),~~arguments[0].top+(c.scrollY||c.pageYOffset)))},e.prototype.scroll=e.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==i(arguments[0])){var t=arguments[0].left,e=arguments[0].top;s.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");a.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},e.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==i(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):a.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},e.prototype.scrollIntoView=function(){var t,e,n;!0!==i(arguments[0])?(e=(t=function(t){for(;t!==u.body&&!1===function(t){var e=r(t,"Y")&&o(t,"Y"),t=r(t,"X")&&o(t,"X");return e||t}(t);)t=t.parentNode||t.host;return t}(this)).getBoundingClientRect(),n=this.getBoundingClientRect(),t!==u.body?(s.call(this,t,t.scrollLeft+n.left-e.left,t.scrollTop+n.top-e.top),"fixed"!==c.getComputedStyle(t).position&&c.scrollBy({left:e.left,top:e.top,behavior:"smooth"})):c.scrollBy({left:n.left,top:n.top,behavior:"smooth"})):a.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])})}}}),b=(y.polyfill,function(){s(n,f);var e=c(n);function n(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i(this,n),(t=e.call(this,t)).resetNativeScroll&&(history.scrollRestoration&&(history.scrollRestoration="manual"),window.scrollTo(0,0)),window.addEventListener("scroll",t.checkScroll,!1),void 0===window.smoothscrollPolyfill&&(window.smoothscrollPolyfill=y,window.smoothscrollPolyfill.polyfill()),t}return t(n,[{key:"init",value:function(){this.instance.scroll.y=window.pageYOffset,this.addElements(),this.detectElements(),u(a(n.prototype),"init",this).call(this)}},{key:"checkScroll",value:function(){var t=this;u(a(n.prototype),"checkScroll",this).call(this),this.getDirection&&this.addDirection(),this.getSpeed&&(this.addSpeed(),this.speedTs=Date.now()),this.instance.scroll.y=window.pageYOffset,Object.entries(this.els).length&&(this.hasScrollTicking||(requestAnimationFrame(function(){t.detectElements()}),this.hasScrollTicking=!0))}},{key:"addDirection",value:function(){window.pageYOffset>this.instance.scroll.y?"down"!==this.instance.direction&&(this.instance.direction="down"):window.pageYOffset<this.instance.scroll.y&&"up"!==this.instance.direction&&(this.instance.direction="up")}},{key:"addSpeed",value:function(){window.pageYOffset!=this.instance.scroll.y?this.instance.speed=(window.pageYOffset-this.instance.scroll.y)/Math.max(1,Date.now()-this.speedTs):this.instance.speed=0}},{key:"resize",value:function(){Object.entries(this.els).length&&(this.windowHeight=window.innerHeight,this.updateElements())}},{key:"addElements",value:function(){var f=this;this.els={},this.el.querySelectorAll("[data-"+this.name+"]").forEach(function(t,e){t.getBoundingClientRect();var n,i=t.dataset[f.name+"Class"]||f.class,r="string"==typeof t.dataset[f.name+"Id"]?t.dataset[f.name+"Id"]:e,o="string"==typeof t.dataset[f.name+"Offset"]?t.dataset[f.name+"Offset"].split(","):f.offset,s=t.dataset[f.name+"Repeat"],a=t.dataset[f.name+"Call"],l=t.dataset[f.name+"Target"],c=(n=void 0!==l?document.querySelector("".concat(l)):t).getBoundingClientRect(),u=c.top+f.instance.scroll.y,h=c.left+f.instance.scroll.x,e=u+n.offsetHeight,l=h+n.offsetWidth,s="false"!=s&&(null!=s||f.repeat),c=f.getRelativeOffset(o),a={el:t,targetEl:n,id:r,class:i,top:u+=c[0],bottom:e-=c[1],left:h,right:l,offset:o,progress:0,repeat:s,inView:!1,call:a};f.els[r]=a,t.classList.contains(i)&&f.setInView(f.els[r],r)})}},{key:"updateElements",value:function(){var r=this;Object.entries(this.els).forEach(function(t){var e=S(t,2),n=e[0],i=e[1],t=i.targetEl.getBoundingClientRect().top+r.instance.scroll.y,e=t+i.targetEl.offsetHeight,i=r.getRelativeOffset(i.offset);r.els[n].top=t+i[0],r.els[n].bottom=e-i[1]}),this.hasScrollTicking=!1}},{key:"getRelativeOffset",value:function(t){var e=[0,0];if(t)for(var n=0;n<t.length;n++)"string"==typeof t[n]?t[n].includes("%")?e[n]=parseInt(t[n].replace("%","")*this.windowHeight/100):e[n]=parseInt(t[n]):e[n]=t[n];return e}},{key:"scrollTo",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=parseInt(e.offset)||0,i=!!e.callback&&e.callback;if("string"==typeof t){if("top"===t)t=this.html;else if("bottom"===t)t=this.html.offsetHeight-window.innerHeight;else if(!(t=document.querySelector(t)))return}else if("number"==typeof t)t=parseInt(t);else if(!t||!t.tagName)return void console.warn("`target` parameter is not valid");var n="number"!=typeof t?t.getBoundingClientRect().top+n+this.instance.scroll.y:t+n,r=function(){return parseInt(window.pageYOffset)===parseInt(n)};if(i){if(r())return void i();window.addEventListener("scroll",function t(){r()&&(window.removeEventListener("scroll",t),i())})}window.scrollTo({top:n,behavior:0===e.duration?"auto":"smooth"})}},{key:"update",value:function(){this.addElements(),this.detectElements()}},{key:"destroy",value:function(){u(a(n.prototype),"destroy",this).call(this),window.removeEventListener("scroll",this.checkScroll,!1)}}]),n}()),w=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var T=function(){try{if(!Object.assign)return;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return}}()?Object.assign:function(t,e){for(var n,i=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),r=1;r<arguments.length;r++){for(var o in n=Object(arguments[r]))x.call(n,o)&&(i[o]=n[o]);if(w)for(var s=w(n),a=0;a<s.length;a++)_.call(n,s[a])&&(i[s[a]]=n[s[a]])}return i};function k(){}k.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var i=this;function r(){i.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var o=0,s=i.length;o<s;o++)i[o].fn!==e&&i[o].fn._!==e&&r.push(i[o]);return r.length?n[t]=r:delete n[t],this}};var E=k,C=v(function(t,e){!function(){function t(t,e,n,i){this.stability=null!=t?Math.abs(t):8,this.sensitivity=null!=e?1+Math.abs(e):100,this.tolerance=null!=n?1+Math.abs(n):1.1,this.delay=null!=i?i:150,this.lastUpDeltas=function(){for(var t=[],e=1,n=2*this.stability;1<=n?e<=n:n<=e;1<=n?e++:e--)t.push(null);return t}.call(this),this.lastDownDeltas=function(){for(var t=[],e=1,n=2*this.stability;1<=n?e<=n:n<=e;1<=n?e++:e--)t.push(null);return t}.call(this),this.deltasTimestamp=function(){for(var t=[],e=1,n=2*this.stability;1<=n?e<=n:n<=e;1<=n?e++:e--)t.push(null);return t}.call(this)}(null!==e?e:this).Lethargy=(t.prototype.check=function(t){var e;return null!=(t=t.originalEvent||t).wheelDelta?e=t.wheelDelta:null!=t.deltaY?e=-40*t.deltaY:null==t.detail&&0!==t.detail||(e=-40*t.detail),this.deltasTimestamp.push(Date.now()),this.deltasTimestamp.shift(),0<e?(this.lastUpDeltas.push(e),this.lastUpDeltas.shift(),this.isInertia(1)):(this.lastDownDeltas.push(e),this.lastDownDeltas.shift(),this.isInertia(-1))},t.prototype.isInertia=function(t){var e,n,i,r;return null===(n=-1===t?this.lastDownDeltas:this.lastUpDeltas)[0]?t:!(this.deltasTimestamp[2*this.stability-2]+this.delay>Date.now()&&n[0]===n[2*this.stability-1])&&(i=n.slice(0,this.stability),e=n.slice(this.stability,2*this.stability),r=i.reduce(function(t,e){return t+e}),n=e.reduce(function(t,e){return t+e}),i=r/i.length,e=n/e.length,Math.abs(i)<Math.abs(e*this.tolerance)&&this.sensitivity<Math.abs(e)&&t)},t.prototype.showLastUpDeltas=function(){return this.lastUpDeltas},t.prototype.showLastDownDeltas=function(){return this.lastDownDeltas},t)}.call(d)}),A="onwheel"in document,O="onmousewheel"in document,D="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,M=navigator.msMaxTouchPoints&&1<navigator.msMaxTouchPoints,L=!!window.navigator.msPointerEnabled,P="onkeydown"in document,j=-1<navigator.userAgent.indexOf("Firefox"),R=Object.prototype.toString,N=Object.prototype.hasOwnProperty;var B=C.Lethargy,I="virtualscroll",H=q;function q(t){!function(t){if(!t)return console.warn("bindAll requires at least one argument.");var e=Array.prototype.slice.call(arguments,1);if(0===e.length)for(var n in t)N.call(t,n)&&"function"==typeof t[n]&&"[object Function]"==R.call(t[n])&&e.push(n);for(var i=0;i<e.length;i++){var r=e[i];t[r]=function(t,e){return function(){return t.apply(e,arguments)}}(t[r],t)}}(this,"_onWheel","_onMouseWheel","_onTouchStart","_onTouchMove","_onKeyDown"),this.el=window,t&&t.el&&(this.el=t.el,delete t.el),this.options=T({mouseMultiplier:1,touchMultiplier:2,firefoxMultiplier:15,keyStep:120,preventTouch:!1,unpreventTouchClass:"vs-touchmove-allowed",limitInertia:!1,useKeyboard:!0,useTouch:!0},t),this.options.limitInertia&&(this._lethargy=new B),this._emitter=new E,this._event={y:0,x:0,deltaX:0,deltaY:0},this.touchStartX=null,this.touchStartY=null,this.bodyTouchAction=null,void 0!==this.options.passive&&(this.listenerOptions={passive:this.options.passive})}function z(t,e,n){return(1-n)*t+n*e}function F(t){var e={};if(window.getComputedStyle){var n=getComputedStyle(t),t=n.transform||n.webkitTransform||n.mozTransform,n=t.match(/^matrix3d\((.+)\)$/);return n?(e.x=n?parseFloat(n[1].split(", ")[12]):0,e.y=n?parseFloat(n[1].split(", ")[13]):0):(n=t.match(/^matrix\((.+)\)$/),e.x=n?parseFloat(n[1].split(", ")[4]):0,e.y=n?parseFloat(n[1].split(", ")[5]):0),e}}function W(t){for(var e=[];t&&t!==document;t=t.parentNode)e.push(t);return e}q.prototype._notify=function(t){var e=this._event;e.x+=e.deltaX,e.y+=e.deltaY,this._emitter.emit(I,{x:e.x,y:e.y,deltaX:e.deltaX,deltaY:e.deltaY,originalEvent:t})},q.prototype._onWheel=function(t){var e,n=this.options;this._lethargy&&!1===this._lethargy.check(t)||((e=this._event).deltaX=t.wheelDeltaX||-1*t.deltaX,e.deltaY=t.wheelDeltaY||-1*t.deltaY,j&&1==t.deltaMode&&(e.deltaX*=n.firefoxMultiplier,e.deltaY*=n.firefoxMultiplier),e.deltaX*=n.mouseMultiplier,e.deltaY*=n.mouseMultiplier,this._notify(t))},q.prototype._onMouseWheel=function(t){var e;this.options.limitInertia&&!1===this._lethargy.check(t)||((e=this._event).deltaX=t.wheelDeltaX||0,e.deltaY=t.wheelDeltaY||t.wheelDelta,this._notify(t))},q.prototype._onTouchStart=function(t){t=t.targetTouches?t.targetTouches[0]:t;this.touchStartX=t.pageX,this.touchStartY=t.pageY},q.prototype._onTouchMove=function(t){var e=this.options;e.preventTouch&&!t.target.classList.contains(e.unpreventTouchClass)&&t.preventDefault();var n=this._event,i=t.targetTouches?t.targetTouches[0]:t;n.deltaX=(i.pageX-this.touchStartX)*e.touchMultiplier,n.deltaY=(i.pageY-this.touchStartY)*e.touchMultiplier,this.touchStartX=i.pageX,this.touchStartY=i.pageY,this._notify(t)},q.prototype._onKeyDown=function(t){var e=this._event;e.deltaX=e.deltaY=0;var n=window.innerHeight-40;switch(t.keyCode){case 37:case 38:e.deltaY=this.options.keyStep;break;case 39:case 40:e.deltaY=-this.options.keyStep;break;case t.shiftKey:e.deltaY=n;break;case 32:e.deltaY=-n;break;default:return}this._notify(t)},q.prototype._bind=function(){A&&this.el.addEventListener("wheel",this._onWheel,this.listenerOptions),O&&this.el.addEventListener("mousewheel",this._onMouseWheel,this.listenerOptions),D&&this.options.useTouch&&(this.el.addEventListener("touchstart",this._onTouchStart,this.listenerOptions),this.el.addEventListener("touchmove",this._onTouchMove,this.listenerOptions)),L&&M&&(this.bodyTouchAction=document.body.style.msTouchAction,document.body.style.msTouchAction="none",this.el.addEventListener("MSPointerDown",this._onTouchStart,!0),this.el.addEventListener("MSPointerMove",this._onTouchMove,!0)),P&&this.options.useKeyboard&&document.addEventListener("keydown",this._onKeyDown)},q.prototype._unbind=function(){A&&this.el.removeEventListener("wheel",this._onWheel),O&&this.el.removeEventListener("mousewheel",this._onMouseWheel),D&&(this.el.removeEventListener("touchstart",this._onTouchStart),this.el.removeEventListener("touchmove",this._onTouchMove)),L&&M&&(document.body.style.msTouchAction=this.bodyTouchAction,this.el.removeEventListener("MSPointerDown",this._onTouchStart,!0),this.el.removeEventListener("MSPointerMove",this._onTouchMove,!0)),P&&this.options.useKeyboard&&document.removeEventListener("keydown",this._onKeyDown)},q.prototype.on=function(t,e){this._emitter.on(I,t,e);e=this._emitter.e;e&&e[I]&&1===e[I].length&&this._bind()},q.prototype.off=function(t,e){this._emitter.off(I,t,e);e=this._emitter.e;(!e[I]||e[I].length<=0)&&this._unbind()},q.prototype.reset=function(){var t=this._event;t.x=0,t.y=0},q.prototype.destroy=function(){this._emitter.off(),this._unbind()};var Y="function"==typeof Float32Array;function X(t,e){return 1-3*e+3*t}function V(t,e,n){return((X(e,n)*t+(3*n-6*e))*t+3*e)*t}function U(t,e,n){return 3*X(e,n)*t*t+2*(3*n-6*e)*t+3*e}function $(t){return t}function K(o,e,s,n){if(!(0<=o&&o<=1&&0<=s&&s<=1))throw new Error("bezier x values must be in [0, 1] range");if(o===e&&s===n)return $;for(var a=new(Y?Float32Array:Array)(11),t=0;t<11;++t)a[t]=V(.1*t,o,s);return function(t){return 0===t?0:1===t?1:V(function(t){for(var e=0,n=1;10!==n&&a[n]<=t;++n)e+=.1;var i=e+(t-a[--n])/(a[n+1]-a[n])*.1,r=U(i,o,s);return.001<=r?function(t,e,n,i){for(var r=0;r<4;++r){var o=U(e,n,i);if(0===o)return e;e-=(V(e,n,i)-t)/o}return e}(t,i,o,s):0===r?i:function(t,e,n,i,r){for(var o,s,a=0;0<(o=V(s=e+(n-e)/2,i,r)-t)?n=s:e=s,1e-7<Math.abs(o)&&++a<10;);return s}(t,e,e+.1,o,s)}(t),e,n)}}var Q=function(){s(r,f);var n=c(r);function r(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i(this,r),history.scrollRestoration&&(history.scrollRestoration="manual"),window.scrollTo(0,0),(t=n.call(this,e)).inertia&&(t.lerp=.1*t.inertia),t.isScrolling=!1,t.isDraggingScrollbar=!1,t.isTicking=!1,t.hasScrollTicking=!1,t.parallaxElements={},t.stop=!1,t.scrollbarContainer=e.scrollbarContainer,t.checkKey=t.checkKey.bind(l(t)),window.addEventListener("keydown",t.checkKey,!1),t}return t(r,[{key:"init",value:function(){var e=this;this.html.classList.add(this.smoothClass),this.html.setAttribute("data-".concat(this.name,"-direction"),this.direction),this.instance=o({delta:{x:this.initPosition.x,y:this.initPosition.y},scroll:{x:this.initPosition.x,y:this.initPosition.y}},this.instance),this.vs=new H({el:this.scrollFromAnywhere?document:this.el,mouseMultiplier:-1<navigator.platform.indexOf("Win")?1:.4,firefoxMultiplier:this.firefoxMultiplier,touchMultiplier:this.touchMultiplier,useKeyboard:!1,passive:!0}),this.vs.on(function(t){e.stop||e.isDraggingScrollbar||requestAnimationFrame(function(){e.updateDelta(t),e.isScrolling||e.startScrolling()})}),this.setScrollLimit(),this.initScrollBar(),this.addSections(),this.addElements(),this.checkScroll(!0),this.transformElements(!0,!0),u(a(r.prototype),"init",this).call(this)}},{key:"setScrollLimit",value:function(){if(this.instance.limit.y=this.el.offsetHeight-this.windowHeight,"horizontal"===this.direction){for(var t=0,e=this.el.children,n=0;n<e.length;n++)t+=e[n].offsetWidth;this.instance.limit.x=t-this.windowWidth}}},{key:"startScrolling",value:function(){this.startScrollTs=Date.now(),this.isScrolling=!0,this.checkScroll(),this.html.classList.add(this.scrollingClass)}},{key:"stopScrolling",value:function(){cancelAnimationFrame(this.checkScrollRaf),this.startScrollTs=void 0,this.scrollToRaf&&(cancelAnimationFrame(this.scrollToRaf),this.scrollToRaf=null),this.isScrolling=!1,this.instance.scroll.y=Math.round(this.instance.scroll.y),this.html.classList.remove(this.scrollingClass)}},{key:"checkKey",value:function(t){var e=this;if(this.stop)9==t.keyCode&&requestAnimationFrame(function(){e.html.scrollTop=0,document.body.scrollTop=0,e.html.scrollLeft=0,document.body.scrollLeft=0});else{switch(t.keyCode){case 9:requestAnimationFrame(function(){e.html.scrollTop=0,document.body.scrollTop=0,e.html.scrollLeft=0,document.body.scrollLeft=0,e.scrollTo(document.activeElement,{offset:-window.innerHeight/2})});break;case 38:this.isActiveElementScrollSensitive()&&(this.instance.delta[this.directionAxis]-=240);break;case 40:this.isActiveElementScrollSensitive()&&(this.instance.delta[this.directionAxis]+=240);break;case 33:this.instance.delta[this.directionAxis]-=window.innerHeight;break;case 34:this.instance.delta[this.directionAxis]+=window.innerHeight;break;case 36:this.instance.delta[this.directionAxis]-=this.instance.limit[this.directionAxis];break;case 35:this.instance.delta[this.directionAxis]+=this.instance.limit[this.directionAxis];break;case 32:this.isActiveElementScrollSensitive()&&(t.shiftKey?this.instance.delta[this.directionAxis]-=window.innerHeight:this.instance.delta[this.directionAxis]+=window.innerHeight);break;default:return}this.instance.delta[this.directionAxis]<0&&(this.instance.delta[this.directionAxis]=0),this.instance.delta[this.directionAxis]>this.instance.limit[this.directionAxis]&&(this.instance.delta[this.directionAxis]=this.instance.limit[this.directionAxis]),this.stopScrolling(),this.isScrolling=!0,this.checkScroll(),this.html.classList.add(this.scrollingClass)}}},{key:"isActiveElementScrollSensitive",value:function(){return!(document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement||document.activeElement instanceof HTMLButtonElement||document.activeElement instanceof HTMLSelectElement)}},{key:"checkScroll",value:function(){var t,e,n=this,i=0<arguments.length&&void 0!==arguments[0]&&arguments[0];(i||this.isScrolling||this.isDraggingScrollbar)&&(this.hasScrollTicking||(this.checkScrollRaf=requestAnimationFrame(function(){return n.checkScroll()}),this.hasScrollTicking=!0),this.updateScroll(),e=Math.abs(this.instance.delta[this.directionAxis]-this.instance.scroll[this.directionAxis]),t=Date.now()-this.startScrollTs,!this.animatingScroll&&100<t&&(e<.5&&0!=this.instance.delta[this.directionAxis]||e<.5&&0==this.instance.delta[this.directionAxis])&&this.stopScrolling(),Object.entries(this.sections).forEach(function(t){t=S(t,2),t[0],t=t[1];t.persistent||n.instance.scroll[n.directionAxis]>t.offset[n.directionAxis]&&n.instance.scroll[n.directionAxis]<t.limit[n.directionAxis]?("horizontal"===n.direction?n.transform(t.el,-n.instance.scroll[n.directionAxis],0):n.transform(t.el,0,-n.instance.scroll[n.directionAxis]),t.inView||(t.inView=!0,t.el.style.opacity=1,t.el.style.pointerEvents="all",t.el.setAttribute("data-".concat(n.name,"-section-inview"),""))):((t.inView||i)&&(t.inView=!1,t.el.style.opacity=0,t.el.style.pointerEvents="none",t.el.removeAttribute("data-".concat(n.name,"-section-inview"))),n.transform(t.el,0,0))}),this.getDirection&&this.addDirection(),this.getSpeed&&(this.addSpeed(),this.speedTs=Date.now()),this.detectElements(),this.transformElements(),this.hasScrollbar&&(e=this.instance.scroll[this.directionAxis]/this.instance.limit[this.directionAxis]*this.scrollBarLimit[this.directionAxis],"horizontal"===this.direction?this.transform(this.scrollbarThumb,e,0):this.transform(this.scrollbarThumb,0,e)),u(a(r.prototype),"checkScroll",this).call(this),this.hasScrollTicking=!1)}},{key:"resize",value:function(){this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.checkContext(),this.windowMiddle={x:this.windowWidth/2,y:this.windowHeight/2},this.update()}},{key:"updateDelta",value:function(t){var e=(this[this.context]&&this[this.context].gestureDirection?this[this.context]:this).gestureDirection,t="both"===e?t.deltaX+t.deltaY:"vertical"!==e&&"horizontal"===e?t.deltaX:t.deltaY;this.instance.delta[this.directionAxis]-=t*this.multiplier,this.instance.delta[this.directionAxis]<0&&(this.instance.delta[this.directionAxis]=0),this.instance.delta[this.directionAxis]>this.instance.limit[this.directionAxis]&&(this.instance.delta[this.directionAxis]=this.instance.limit[this.directionAxis])}},{key:"updateScroll",value:function(t){this.isScrolling||this.isDraggingScrollbar?this.instance.scroll[this.directionAxis]=z(this.instance.scroll[this.directionAxis],this.instance.delta[this.directionAxis],this.lerp):this.instance.scroll[this.directionAxis]>this.instance.limit[this.directionAxis]?this.setScroll(this.instance.scroll[this.directionAxis],this.instance.limit[this.directionAxis]):this.instance.scroll.y<0?this.setScroll(this.instance.scroll[this.directionAxis],0):this.setScroll(this.instance.scroll[this.directionAxis],this.instance.delta[this.directionAxis])}},{key:"addDirection",value:function(){this.instance.delta.y>this.instance.scroll.y?"down"!==this.instance.direction&&(this.instance.direction="down"):this.instance.delta.y<this.instance.scroll.y&&"up"!==this.instance.direction&&(this.instance.direction="up"),this.instance.delta.x>this.instance.scroll.x?"right"!==this.instance.direction&&(this.instance.direction="right"):this.instance.delta.x<this.instance.scroll.x&&"left"!==this.instance.direction&&(this.instance.direction="left")}},{key:"addSpeed",value:function(){this.instance.delta[this.directionAxis]!=this.instance.scroll[this.directionAxis]?this.instance.speed=(this.instance.delta[this.directionAxis]-this.instance.scroll[this.directionAxis])/Math.max(1,Date.now()-this.speedTs):this.instance.speed=0}},{key:"initScrollBar",value:function(){if(this.scrollbar=document.createElement("span"),this.scrollbarThumb=document.createElement("span"),this.scrollbar.classList.add("".concat(this.scrollbarClass)),this.scrollbarThumb.classList.add("".concat(this.scrollbarClass,"_thumb")),this.scrollbar.append(this.scrollbarThumb),(this.scrollbarContainer||document.body).append(this.scrollbar),this.getScrollBar=this.getScrollBar.bind(this),this.releaseScrollBar=this.releaseScrollBar.bind(this),this.moveScrollBar=this.moveScrollBar.bind(this),this.scrollbarThumb.addEventListener("mousedown",this.getScrollBar),window.addEventListener("mouseup",this.releaseScrollBar),window.addEventListener("mousemove",this.moveScrollBar),this.hasScrollbar=!1,"horizontal"==this.direction){if(this.instance.limit.x+this.windowWidth<=this.windowWidth)return}else if(this.instance.limit.y+this.windowHeight<=this.windowHeight)return;this.hasScrollbar=!0,this.scrollbarBCR=this.scrollbar.getBoundingClientRect(),this.scrollbarHeight=this.scrollbarBCR.height,this.scrollbarWidth=this.scrollbarBCR.width,"horizontal"===this.direction?this.scrollbarThumb.style.width="".concat(this.scrollbarWidth*this.scrollbarWidth/(this.instance.limit.x+this.scrollbarWidth),"px"):this.scrollbarThumb.style.height="".concat(this.scrollbarHeight*this.scrollbarHeight/(this.instance.limit.y+this.scrollbarHeight),"px"),this.scrollbarThumbBCR=this.scrollbarThumb.getBoundingClientRect(),this.scrollBarLimit={x:this.scrollbarWidth-this.scrollbarThumbBCR.width,y:this.scrollbarHeight-this.scrollbarThumbBCR.height}}},{key:"reinitScrollBar",value:function(){if(this.hasScrollbar=!1,"horizontal"==this.direction){if(this.instance.limit.x+this.windowWidth<=this.windowWidth)return}else if(this.instance.limit.y+this.windowHeight<=this.windowHeight)return;this.hasScrollbar=!0,this.scrollbarBCR=this.scrollbar.getBoundingClientRect(),this.scrollbarHeight=this.scrollbarBCR.height,this.scrollbarWidth=this.scrollbarBCR.width,"horizontal"===this.direction?this.scrollbarThumb.style.width="".concat(this.scrollbarWidth*this.scrollbarWidth/(this.instance.limit.x+this.scrollbarWidth),"px"):this.scrollbarThumb.style.height="".concat(this.scrollbarHeight*this.scrollbarHeight/(this.instance.limit.y+this.scrollbarHeight),"px"),this.scrollbarThumbBCR=this.scrollbarThumb.getBoundingClientRect(),this.scrollBarLimit={x:this.scrollbarWidth-this.scrollbarThumbBCR.width,y:this.scrollbarHeight-this.scrollbarThumbBCR.height}}},{key:"destroyScrollBar",value:function(){this.scrollbarThumb.removeEventListener("mousedown",this.getScrollBar),window.removeEventListener("mouseup",this.releaseScrollBar),window.removeEventListener("mousemove",this.moveScrollBar),this.scrollbar.remove()}},{key:"getScrollBar",value:function(t){this.isDraggingScrollbar=!0,this.checkScroll(),this.html.classList.remove(this.scrollingClass),this.html.classList.add(this.draggingClass)}},{key:"releaseScrollBar",value:function(t){this.isDraggingScrollbar=!1,this.isScrolling&&this.html.classList.add(this.scrollingClass),this.html.classList.remove(this.draggingClass)}},{key:"moveScrollBar",value:function(n){var i=this;this.isDraggingScrollbar&&requestAnimationFrame(function(){var t=100*(n.clientX-i.scrollbarBCR.left)/i.scrollbarWidth*i.instance.limit.x/100,e=100*(n.clientY-i.scrollbarBCR.top)/i.scrollbarHeight*i.instance.limit.y/100;0<e&&e<i.instance.limit.y&&(i.instance.delta.y=e),0<t&&t<i.instance.limit.x&&(i.instance.delta.x=t)})}},{key:"addElements",value:function(){var k=this;this.els={},this.parallaxElements={},this.el.querySelectorAll("[data-".concat(this.name,"]")).forEach(function(t,e){var n,i,r=W(t),o=Object.entries(k.sections).map(function(t){t=S(t,2);return t[0],t[1]}).find(function(t){return r.includes(t.el)}),s=t.dataset[k.name+"Class"]||k.class,a="string"==typeof t.dataset[k.name+"Id"]?t.dataset[k.name+"Id"]:"el"+e,l=t.dataset[k.name+"Repeat"],c=t.dataset[k.name+"Call"],u=t.dataset[k.name+"Position"],h=t.dataset[k.name+"Delay"],f=t.dataset[k.name+"Direction"],d="string"==typeof t.dataset[k.name+"Sticky"],p=!!t.dataset[k.name+"Speed"]&&parseFloat(t.dataset[k.name+"Speed"])/10,g="string"==typeof t.dataset[k.name+"Offset"]?t.dataset[k.name+"Offset"].split(","):k.offset,m=t.dataset[k.name+"Target"],v=(i=void 0!==m?document.querySelector("".concat(m)):t).getBoundingClientRect(),y=null===o||o.inView?(n=v.top+k.instance.scroll.y-F(i).y,v.left+k.instance.scroll.x-F(i).x):(n=v.top-F(o.el).y-F(i).y,v.left-F(o.el).x-F(i).x),b=n+i.offsetHeight,w=y+i.offsetWidth,x={x:(w-y)/2+y,y:(b-n)/2+n};d&&(m=(e=t.getBoundingClientRect()).top,e={x:(v=e.left)-y,y:m-n},n+=window.innerHeight,y+=window.innerWidth,b=m+i.offsetHeight-t.offsetHeight-e[k.directionAxis],x={x:((w=v+i.offsetWidth-t.offsetWidth-e[k.directionAxis])-y)/2+y,y:(b-n)/2+n});var l="false"!=l&&(null!=l||k.repeat),_=[0,0];if(g)if("horizontal"===k.direction){for(var T=0;T<g.length;T++)"string"==typeof g[T]?g[T].includes("%")?_[T]=parseInt(g[T].replace("%","")*k.windowWidth/100):_[T]=parseInt(g[T]):_[T]=g[T];y+=_[0],w-=_[1]}else{for(T=0;T<g.length;T++)"string"==typeof g[T]?g[T].includes("%")?_[T]=parseInt(g[T].replace("%","")*k.windowHeight/100):_[T]=parseInt(g[T]):_[T]=g[T];n+=_[0],b-=_[1]}f={el:t,id:a,class:s,section:o,top:n,middle:x,bottom:b,left:y,right:w,offset:g,progress:0,repeat:l,inView:!1,call:c,speed:p,delay:h,position:u,target:i,direction:f,sticky:d};k.els[a]=f,t.classList.contains(s)&&k.setInView(k.els[a],a),!1===p&&!d||(k.parallaxElements[a]=f)})}},{key:"addSections",value:function(){var o=this;this.sections={};var t=this.el.querySelectorAll("[data-".concat(this.name,"-section]"));(t=0===t.length?[this.el]:t).forEach(function(t,e){var n="string"==typeof t.dataset[o.name+"Id"]?t.dataset[o.name+"Id"]:"section"+e,i=t.getBoundingClientRect(),r={x:i.left-1.5*window.innerWidth-F(t).x,y:i.top-1.5*window.innerHeight-F(t).y},e={x:r.x+i.width+2*window.innerWidth,y:r.y+i.height+2*window.innerHeight},i="string"==typeof t.dataset[o.name+"Persistent"];t.setAttribute("data-scroll-section-id",n),o.sections[n]={el:t,offset:r,limit:e,inView:!1,persistent:i,id:n}})}},{key:"transform",value:function(t,e,n,i){var r,o;n=i?(o=z((r=F(t)).x,e,i),i=z(r.y,n,i),"matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,".concat(o,",").concat(i,",0,1)")):"matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,".concat(e,",").concat(n,",0,1)"),t.style.webkitTransform=n,t.style.msTransform=n,t.style.transform=n}},{key:"transformElements",value:function(i){var r=this,o=1<arguments.length&&void 0!==arguments[1]&&arguments[1],s=this.instance.scroll.x+this.windowWidth,a=this.instance.scroll.y+this.windowHeight,l={x:this.instance.scroll.x+this.windowMiddle.x,y:this.instance.scroll.y+this.windowMiddle.y};Object.entries(this.parallaxElements).forEach(function(t){var t=S(t,2),e=(t[0],t[1]),n=i?0:!1;if(e.inView||o)switch(e.position){case"top":n=r.instance.scroll[r.directionAxis]*-e.speed;break;case"elementTop":n=(a-e.top)*-e.speed;break;case"bottom":n=(r.instance.limit[r.directionAxis]-a+r.windowHeight)*e.speed;break;case"left":n=r.instance.scroll[r.directionAxis]*-e.speed;break;case"elementLeft":n=(s-e.left)*-e.speed;break;case"right":n=(r.instance.limit[r.directionAxis]-s+r.windowHeight)*e.speed;break;default:n=(l[r.directionAxis]-e.middle[r.directionAxis])*-e.speed}!1!==(n=e.sticky?e.inView?"horizontal"===r.direction?r.instance.scroll.x-e.left+window.innerWidth:r.instance.scroll.y-e.top+window.innerHeight:"horizontal"===r.direction?r.instance.scroll.x<e.left-window.innerWidth&&r.instance.scroll.x<e.left-window.innerWidth/2?0:r.instance.scroll.x>e.right&&r.instance.scroll.x>e.right+100&&e.right-e.left+window.innerWidth:r.instance.scroll.y<e.top-window.innerHeight&&r.instance.scroll.y<e.top-window.innerHeight/2?0:r.instance.scroll.y>e.bottom&&r.instance.scroll.y>e.bottom+100&&e.bottom-e.top+window.innerHeight:n)&&("horizontal"===e.direction||"horizontal"===r.direction&&"vertical"!==e.direction?r.transform(e.el,n,0,!i&&e.delay):r.transform(e.el,0,n,!i&&e.delay))})}},{key:"scrollTo",value:function(t){var n=this,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=parseInt(e.offset)||0,r=isNaN(parseInt(e.duration))?1e3:parseInt(e.duration),o=e.easing||[.25,0,.35,1],s=!!e.disableLerp,a=!!e.callback&&e.callback,o=K.apply(void 0,function(t){if(Array.isArray(t))return g(t)}(c=o)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(c)||p(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());if("string"==typeof t){if("top"===t)t=0;else if("bottom"===t)t=this.instance.limit.y;else if("left"===t)t=0;else if("right"===t)t=this.instance.limit.x;else if(!(t=document.querySelector(t)))return}else if("number"==typeof t)t=parseInt(t);else if(!t||!t.tagName)return void console.warn("`target` parameter is not valid");if("number"!=typeof t){if(!W(t).includes(this.el))return;var l=t.getBoundingClientRect(),e=l.top,c=l.left,l=W(t).find(function(e){return Object.entries(n.sections).map(function(t){t=S(t,2);return t[0],t[1]}).find(function(t){return t.el==e})}),l=l?F(l)[this.directionAxis]:-this.instance.scroll[this.directionAxis],i="horizontal"===this.direction?c+i-l:e+i-l}else i=t+i;var u=parseFloat(this.instance.delta[this.directionAxis]),h=Math.max(0,Math.min(i,this.instance.limit[this.directionAxis]))-u,f=function(t){s?"horizontal"===n.direction?n.setScroll(u+h*t,n.instance.delta.y):n.setScroll(n.instance.delta.x,u+h*t):n.instance.delta[n.directionAxis]=u+h*t};this.animatingScroll=!0,this.stopScrolling(),this.startScrolling();var d=Date.now();(function t(){var e=(Date.now()-d)/r;1<e?(f(1),n.animatingScroll=!1,0==r&&n.update(),a&&a()):(n.scrollToRaf=requestAnimationFrame(t),f(o(e)))})()}},{key:"update",value:function(){this.setScrollLimit(),this.addSections(),this.addElements(),this.detectElements(),this.updateScroll(),this.transformElements(!0),this.reinitScrollBar(),this.checkScroll(!0)}},{key:"startScroll",value:function(){this.stop=!1}},{key:"stopScroll",value:function(){this.stop=!0}},{key:"setScroll",value:function(t,e){this.instance=o(o({},this.instance),{},{scroll:{x:t,y:e},delta:{x:t,y:e},speed:0})}},{key:"destroy",value:function(){u(a(r.prototype),"destroy",this).call(this),this.stopScrolling(),this.html.classList.remove(this.smoothClass),this.vs.destroy(),this.destroyScrollBar(),window.removeEventListener("keydown",this.checkKey,!1)}}]),r}();return t(G,[{key:"init",value:function(){var t;this.options.isMobile=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints||window.innerWidth<this.tablet.breakpoint,this.options.isTablet=this.options.isMobile&&window.innerWidth>=this.tablet.breakpoint,this.smooth&&!this.options.isMobile||this.tablet.smooth&&this.options.isTablet||this.smartphone.smooth&&this.options.isMobile&&!this.options.isTablet?this.scroll=new Q(this.options):this.scroll=new b(this.options),this.scroll.init(),window.location.hash&&(t=window.location.hash.slice(1,window.location.hash.length),(t=document.getElementById(t))&&this.scroll.scrollTo(t))}},{key:"update",value:function(){this.scroll.update()}},{key:"start",value:function(){this.scroll.startScroll()}},{key:"stop",value:function(){this.scroll.stopScroll()}},{key:"scrollTo",value:function(t,e){this.scroll.scrollTo(t,e)}},{key:"setScroll",value:function(t,e){this.scroll.setScroll(t,e)}},{key:"on",value:function(t,e){this.scroll.setEvents(t,e)}},{key:"off",value:function(t,e){this.scroll.unsetEvents(t,e)}},{key:"destroy",value:function(){this.scroll.destroy()}}]),G;function G(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};i(this,G),this.options=t,Object.assign(this,h,t),this.smartphone=h.smartphone,t.smartphone&&Object.assign(this.smartphone,t.smartphone),this.tablet=h.tablet,t.tablet&&Object.assign(this.tablet,t.tablet),this.smooth||"horizontal"!=this.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible"),this.tablet.smooth||"horizontal"!=this.tablet.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible (tablet)"),this.smartphone.smooth||"horizontal"!=this.smartphone.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible (smartphone)"),this.init()}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function n(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(t){return"string"==typeof t}function h(t){return"function"==typeof t}function D(t){return"number"==typeof t}function r(t){return void 0===t}function M(t){return"object"==typeof t}function j(t){return!1!==t}function e(){return"undefined"!=typeof window}function L(t){return h(t)||O(t)}function i(t){return(St=ft(t,ce))&&un}function P(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function R(t,e){return!e&&console.warn(t)}function o(t,e){return t&&(ce[t]=e)&&St&&(St[t]=e)||ce}function s(){return 0}function N(t){var e,n,i=t[0];if(M(i)||h(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(n=me.length;n--&&!me[n].targetTest(i););e=me[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new Pe(t[n],e)))||t.splice(n,1);return t}function B(t){return t._gsap||N(vt(t))[0]._gsap}function a(t,e,n){return(n=t[e])&&h(n)?t[e]():r(n)&&t.getAttribute&&t.getAttribute(e)||n}function d(t,e){return(t=t.split(",")).forEach(e)||t}function I(t){return Math.round(1e5*t)/1e5||0}function H(t){return Math.round(1e7*t)/1e7||0}function q(){var t,e,n=he.length,i=he.slice(0);for(fe={},t=he.length=0;t<n;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function l(t,e,n,i){he.length&&q(),t.render(e,n,i),he.length&&q()}function c(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(ae).length<2?e:O(t)?t.trim():t}function u(t){return t}function z(t,e){for(var n in e)n in t||(t[n]=e[n]);return t}function f(t,e){for(var n in e)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(t[n]=M(e[n])?f(t[n]||(t[n]={}),e[n]):e[n]);return t}function F(t,e){var n,i={};for(n in t)n in e||(i[n]=t[n]);return i}function W(t){var i,e=t.parent||xt,n=t.keyframes?(i=ee(t.keyframes),function(t,e){for(var n in e)n in t||"duration"===n&&i||"ease"===n||(t[n]=e[n])}):z;if(j(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t}function p(t,e,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var r=e._prev,o=e._next;r?r._next=o:t[n]===e&&(t[n]=o),o?o._prev=r:t[i]===e&&(t[i]=r),e._next=e._prev=e.parent=null}function Y(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function g(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t}function m(t){return t._repeat?dt(t._tTime,t=t.duration()+t._rDelay)*t:0}function v(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function x(t){return t._end=H(t._start+(t._tDur/Math.abs(t._ts||t._rts||Ut)||0))}function y(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=H(n._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),x(t),n._dirty||g(n,t)),t}function b(t,e){var n;if((e._time||e._initted&&!e._dur)&&(n=v(t.rawTime(),e),(!e._dur||mt(0,e.totalDuration(),n)-e._tTime>Ut)&&e.render(n,!0)),g(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)0<=n.rawTime()&&n.totalTime(n._tTime),n=n._dp;t._zTime=-Ut}}function X(t,e,n,i){return e.parent&&Y(e),e._start=H((D(n)?n:n||t!==xt?gt(t,n,e):t._time)+e._delay),e._end=H(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,n,i,r){void 0===n&&(n="_first");var o,s=t[i=void 0===i?"_last":i];if(r)for(o=e[r];s&&s[r]>o;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),pt(e)||(t._recent=e),i||b(t,e),t}function V(t,e){return(ce.ScrollTrigger||P("scrollTrigger",e))&&ce.ScrollTrigger.create(e,t)}function w(t,e,n,i){return Ie(t,e),!t._initted||!n&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&Ct!==ke.frame&&(he.push(t),t._lazy=[e,i])}function _(t,e,n,i){var r=t._repeat,o=H(e)||0,e=t._tTime/t._tDur;return e&&!i&&(t._time*=o/t._dur),t._dur=o,t._tDur=r?r<0?1e10:H(o*(r+1)+t._rDelay*r):o,0<e&&!i?y(t,t._tTime=t._tDur*e):t.parent&&x(t),n||g(t.parent,t),t}function T(t){return t instanceof Ne?g(t):_(t,t._dur)}function k(t,e,n){var i,r,o=D(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=n,t){for(i=a,r=n;r&&!("immediateRender"in i);)i=r.vars.defaults||{},r=j(r.vars.inherit)&&r.parent;a.immediateRender=j(i.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Ye(e[0],a,e[1+s])}function S(t,e){return t||0===t?e(t):e}function U(t,e){return O(t)&&(e=le.exec(t))?t.substr(e.index+e[0].length):""}function E(t,e){return t&&M(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&M(t[0]))&&!t.nodeType&&t!==_t}function C(t){return t.sort(function(){return.5-Math.random()})}function $(t){if(h(t))return t;var d=M(t)?t:{each:t},p=De(d.ease),g=d.from||0,m=parseFloat(d.base)||0,v={},t=0<g&&g<1,y=isNaN(g)||t,b=d.axis,w=g,x=g;return O(g)?w=x={center:.5,edges:.5,end:1}[g]||0:!t&&y&&(w=g[0],x=g[1]),function(t,e,n){var i,r,o,s,a,l,c,u,h=(n||d).length,f=v[h];if(!f){if(!(u="auto"===d.grid?0:(d.grid||[1,Vt])[1])){for(l=-Vt;l<(l=n[u++].getBoundingClientRect().left)&&u<h;);u--}for(f=v[h]=[],i=y?Math.min(u,h)*w-.5:g%u,r=u===Vt?0:y?h*x/u-.5:g/u|0,c=Vt,a=l=0;a<h;a++)o=a%u-i,s=r-(a/u|0),f[a]=s=b?Math.abs("y"===b?s:o):Gt(o*o+s*s),l<s&&(l=s),s<c&&(c=s);"random"===g&&C(f),f.max=l-c,f.min=c,f.v=h=(parseFloat(d.amount)||parseFloat(d.each)*(h<u?h-1:b?"y"===b?h/u:u:Math.max(u,h/u))||0)*("edges"===g?-1:1),f.b=h<0?m-h:m,f.u=U(d.amount||d.each)||0,p=p&&h<0?Oe(p):p}return h=(f[t]-f.min)/f.max||0,H(f.b+(p?p(h):h)*f.v)+f.u}}function K(n){var i=Math.pow(10,((n+"").split(".")[1]||"").length);return function(t){var e=Math.round(parseFloat(t)/n)*n*i;return(e-e%1)/i+(D(t)?0:U(t))}}function Q(l,t){var c,u,e=ee(l);return!e&&M(l)&&(c=e=l.radius||Vt,l.values?(l=vt(l.values),(u=!D(l[0]))&&(c*=c)):l=K(l.increment)),S(t,e?h(l)?function(t){return u=l(t),Math.abs(u-t)<=c?u:t}:function(t){for(var e,n,i=parseFloat(u?t.x:t),r=parseFloat(u?t.y:0),o=Vt,s=0,a=l.length;a--;)(e=u?(e=l[a].x-i)*e+(n=l[a].y-r)*n:Math.abs(l[a]-i))<o&&(o=e,s=a);return s=!c||o<=c?l[s]:t,u||s===t||D(t)?s:s+U(t)}:K(l))}function G(t,e,n,i){return S(ee(t)?!e:!0===n?!!(n=0):!i,function(){return ee(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*i)/i})}function J(e,n,t){return S(t,function(t){return e[~~n(t)]})}function Z(t){for(var e,n,i,r,o=0,s="";~(e=t.indexOf("random(",o));)i=t.indexOf(")",e),r="["===t.charAt(e+7),n=t.substr(e+7,i-e-7).match(r?ae:ne),s+=t.substr(o,e-o)+G(r?n:+n[0],r?0:+n[1],+n[2]||1e-5),o=i+1;return s+t.substr(o,t.length-o)}function tt(t,e,n){var i,r,o,s=t.labels,a=Vt;for(i in s)(r=s[i]-e)<0==!!n&&r&&a>(r=Math.abs(r))&&(o=i,a=r);return o}function et(t){return Y(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&bt(t,"onInterrupt"),t}function nt(t,e,n){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)*we+.5|0}function it(t,e,n){var i,r,o,s,a,l,c,u=t?D(t)?[t>>16,t>>8&we,t&we]:0:xe.black;if(!u){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),xe[t])u=xe[t];else if("#"===t.charAt(0)){if(9===(t=t.length<6?"#"+(i=t.charAt(1))+i+(r=t.charAt(2))+r+(o=t.charAt(3))+o+(5===t.length?t.charAt(4)+t.charAt(4):""):t).length)return[(u=parseInt(t.substr(1,6),16))>>16,u>>8&we,u&we,parseInt(t.substr(7),16)/255];u=[(t=parseInt(t.substr(1),16))>>16,t>>8&we,t&we]}else if("hsl"===t.substr(0,3))if(u=c=t.match(ne),e){if(~t.indexOf("="))return u=t.match(ie),n&&u.length<4&&(u[3]=1),u}else s=+u[0]%360/360,a=u[1]/100,i=2*(l=u[2]/100)-(r=l<=.5?l*(a+1):l+a-l*a),3<u.length&&(u[3]*=1),u[0]=nt(s+1/3,i,r),u[1]=nt(s,i,r),u[2]=nt(s-1/3,i,r);else u=t.match(ne)||xe.transparent;u=u.map(Number)}return e&&!c&&(i=u[0]/we,r=u[1]/we,o=u[2]/we,l=((t=Math.max(i,r,o))+(e=Math.min(i,r,o)))/2,t===e?s=a=0:(c=t-e,a=.5<l?c/(2-t-e):c/(t+e),s=t===i?(r-o)/c+(r<o?6:0):t===r?(o-i)/c+2:(i-r)/c+4,s*=60),u[0]=~~(s+.5),u[1]=~~(100*a+.5),u[2]=~~(100*l+.5)),n&&u.length<4&&(u[3]=1),u}function rt(t){var e=[],n=[],i=-1;return t.split(_e).forEach(function(t){t=t.match(re)||[];e.push.apply(e,t),n.push(i+=t.length+1)}),e.c=n,e}function ot(t,e,n){var i,r,o,s,a="",l=(t+a).match(_e),c=e?"hsla(":"rgba(",u=0;if(!l)return t;if(l=l.map(function(t){return(t=it(t,e,1))&&c+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),n&&(o=rt(t),(i=n.c).join(a)!==o.c.join(a)))for(s=(r=t.replace(_e,"1").split(re)).length-1;u<s;u++)a+=r[u]+(~i.indexOf(u)?l.shift()||c+"0,0,0,0)":(o.length?o:l.length?l:n).shift());if(!r)for(s=(r=t.split(_e)).length-1;u<s;u++)a+=r[u]+l[u];return a+r[s]}function st(t){var e=t.join(" ");if(_e.lastIndex=0,_e.test(e))return e=Te.test(e),t[1]=ot(t[1],e),t[0]=ot(t[0],e,rt(t[1])),!0}function at(t,e){for(var n,i=t._first;i;)i instanceof Ne?at(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?at(i.timeline,e):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=e)),i=i._next}function lt(t,e,n,i){var r,o={easeIn:e,easeOut:n=void 0===n?function(t){return 1-e(1-t)}:n,easeInOut:i=void 0===i?function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2}:i};return d(t,function(t){for(var e in Ee[t]=ce[t]=o,Ee[r=t.toLowerCase()]=n,o)Ee[r+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ee[t+"."+e]=o[e]}),1}function ct(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function ut(n,t,e){function i(t){return 1===t?1:r*Math.pow(2,-10*t)*Zt((t-o)*s)+1}var r=1<=t?t:1,o=(s=(e||(n?.3:.45))/(t<1?t:1))/$t*(Math.asin(1/r)||0),t="out"===n?i:"in"===n?function(t){return 1-i(1-t)}:ct(i),s=$t/s;return t.config=function(t,e){return ut(n,t,e)},t}function ht(e,n){function i(t){return t?--t*t*((n+1)*t+n)+1:0}void 0===n&&(n=1.70158);var t="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:ct(i);return t.config=function(t){return ht(e,t)},t}function ft(t,e){for(var n in e)t[n]=e[n];return t}function dt(t,e){return e=Math.floor(t/=e),t&&e===t?e-1:e}function pt(t){return"isFromStart"===(t=t.data)||"isStart"===t}function gt(t,e,n){var i,r,o,s=t.labels,a=t._recent||ye,l=t.duration()>=Vt?a.endTime(!1):t._dur;return O(e)&&(isNaN(e)||e in s)?(r=e.charAt(0),o="%"===e.substr(-1),i=e.indexOf("="),"<"===r||">"===r?(0<=i&&(e=e.replace(/=/,"")),("<"===r?a._start:a.endTime(0<=a._repeat))+(parseFloat(e.substr(1))||0)*(o?(i<0?a:n).totalDuration()/100:1)):i<0?(e in s||(s[e]=l),s[e]):(r=parseFloat(e.charAt(i-1)+e.substr(i+1)),o&&n&&(r=r/100*(ee(n)?n[0]:n).totalDuration()),1<i?gt(t,e.substr(0,i-1),n)+r:l+r)):null==e?l:+e}function mt(t,e,n){return n<t?t:e<n?e:n}function vt(t,e,n){return!O(t)||n||!Tt&&Se()?ee(t)?(i=n,void 0===r&&(r=[]),t.forEach(function(t){return O(t)&&!i||E(t,1)?r.push.apply(r,vt(t)):r.push(t)})||r):E(t)?be.call(t,0):t?[t]:[]:be.call((e||kt).querySelectorAll(t),0);var i,r}function yt(e,t,n,i,r){var o=t-e,s=i-n;return S(r,function(t){return n+((t-e)/o*s||0)})}function bt(t,e,n){var i=t.vars,r=i[e];return r&&(e=i[e+"Params"],t=i.callbackScope||t,n&&he.length&&q(),e?r.apply(t,e):r.call(t))}var wt,xt,_t,Tt,kt,St,Et,Ct,At,Ot,Dt,Mt,Lt,Pt,jt,Rt,Nt,Bt,It,Ht,qt,zt,Ft,Wt,Yt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Xt={duration:.5,overwrite:!1,delay:0},Vt=1e8,Ut=1/Vt,$t=2*Math.PI,Kt=$t/4,Qt=0,Gt=Math.sqrt,Jt=Math.cos,Zt=Math.sin,te="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},ee=Array.isArray,ne=/(?:-?\.?\d|\.)+/gi,ie=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,re=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,oe=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,se=/[+-]=-?[.\d]+/,ae=/[^,'"\[\]\s]+/gi,le=/[\d.+\-=]+(?:e[-+]\d*)*/i,ce={},ue={},he=[],fe={},de={},pe={},ge=30,me=[],ve="",ye={_start:0,endTime:s,totalDuration:s},be=[].slice,we=255,xe={aqua:[0,we,we],lime:[0,we,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,we],navy:[0,0,128],white:[we,we,we],olive:[128,128,0],yellow:[we,we,0],orange:[we,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[we,0,0],pink:[we,192,203],cyan:[0,we,we],transparent:[we,we,we,0]},_e=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in xe)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Te=/hsl[a]?\(/,ke=(Rt=Date.now,Nt=500,Bt=33,It=Rt(),Ht=It,zt=qt=1e3/240,Lt={time:0,frame:0,tick:function(){Me(!0)},deltaRatio:function(t){return Pt/(1e3/(t||60))},wake:function(){Et&&(!Tt&&e()&&(_t=Tt=window,kt=_t.document||{},ce.gsap=un,(_t.gsapVersions||(_t.gsapVersions=[])).push(un.version),i(St||_t.GreenSockGlobals||!_t.gsap&&_t||{}),Mt=_t.requestAnimationFrame),Ot&&Lt.sleep(),Dt=Mt||function(t){return setTimeout(t,zt-1e3*Lt.time+1|0)},At=1,Me(2))},sleep:function(){(Mt?_t.cancelAnimationFrame:clearTimeout)(Ot),At=0,Dt=s},lagSmoothing:function(t,e){Nt=t||1e8,Bt=Math.min(e,Nt,0)},fps:function(t){qt=1e3/(t||240),zt=1e3*Lt.time+qt},add:function(t){Ft.indexOf(t)<0&&Ft.push(t),Se()},remove:function(t,e){~(e=Ft.indexOf(t))&&Ft.splice(e,1)&&e<=jt&&jt--},_listeners:Ft=[]}),Se=function(){return!At&&ke.wake()},Ee={},Ce=/^[\d.\-M][\d.\-,\s]/,Ae=/["']/g,Oe=function(e){return function(t){return 1-e(1-t)}},De=function(t,e){return t&&(h(t)?t:Ee[t]||(o=((n=t)+"").split("("),(s=Ee[o[0]])&&1<o.length&&s.config?s.config.apply(null,~n.indexOf("{")?[function(t){for(var e,n,i,r={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,l=o.length;a<l;a++)n=o[a],e=a!==l-1?n.lastIndexOf(","):n.length,i=n.substr(0,e),r[s]=isNaN(i)?i.replace(Ae,"").trim():+i,s=n.substr(e+1).trim();return r}(o[1])]:(r=(i=n).indexOf("(")+1,t=i.indexOf(")"),o=i.indexOf("(",r),i.substring(r,~o&&o<t?i.indexOf(")",t+1):t).split(",").map(c))):Ee._CE&&Ce.test(n)?Ee._CE("",n):s))||e;var n,i,r,o,s};function Me(t){var e,n,i,r=Rt()-Ht,o=!0===t;if(Nt<r&&(It+=r-Bt),(0<(r=(n=(Ht+=r)-It)-zt)||o)&&(i=++Lt.frame,Pt=n-1e3*Lt.time,Lt.time=n/=1e3,zt+=r+(qt<=r?4:qt-r),e=1),o||(Ot=Dt(Me)),e)for(jt=0;jt<Ft.length;jt++)Ft[jt](n,Pt,i,t)}function Le(t){return t<1/2.75?Wt*t*t:t<.7272727272727273?Wt*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?Wt*(t-=2.25/2.75)*t+.9375:Wt*Math.pow(t-2.625/2.75,2)+.984375}d("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;lt(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},function(t){return 1-Math.pow(1-t,n)},function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2})}),Ee.Linear.easeNone=Ee.none=Ee.Linear.easeIn,lt("Elastic",ut("in"),ut("out"),ut()),Wt=7.5625,lt("Bounce",function(t){return 1-Le(1-t)},Le),lt("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),lt("Circ",function(t){return-(Gt(1-t*t)-1)}),lt("Sine",function(t){return 1===t?1:1-Jt(t*Kt)}),lt("Back",ht("in"),ht("out"),ht()),Ee.SteppedEase=Ee.steps=ce.SteppedEase={config:function(t,e){var n=1/(t=void 0===t?1:t),i=t+(e?0:1),r=e?1:0;return function(t){return((i*mt(0,.99999999,t)|0)+r)*n}}},Xt.ease=Ee["quad.out"],d("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ve+=t+","+t+"Params,"});var Pe=function(t,e){this.id=Qt++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:a,this.set=e?e.getSetter:nn},je=((Hi=Re.prototype).delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Hi.duration=function(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Hi.totalDuration=function(t){return arguments.length?(this._dirty=0,_(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Hi.totalTime=function(t,e){if(Se(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(y(this,t),!n._dp||n.parent||b(n,this);n&&n.parent;)n.parent._time!==n._start+(0<=n._ts?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&X(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Ut||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),l(this,t,e)),this},Hi.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+m(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Hi.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},Hi.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+m(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},Hi.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?dt(this._tTime,n)+1:1},Hi.timeScale=function(t){if(!arguments.length)return this._rts===-Ut?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?v(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-Ut?0:this._rts,function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent}(this.totalTime(mt(-this._delay,this._tDur,e),!0)),x(this),this},Hi.paused=function(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Se(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Ut&&(this._tTime-=Ut)))),this):this._ps},Hi.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return!e||!e._sort&&this.parent||X(e,this,t-this._delay),this}return this._start},Hi.endTime=function(t){return this._start+(j(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Hi.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?v(e.rawTime(t),this):this._tTime:this._tTime},Hi.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(e._ts||1),e=e._dp;return n},Hi.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,T(this)):-2===this._repeat?1/0:this._repeat},Hi.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,T(this),e?this.time(e):this}return this._rDelay},Hi.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Hi.seek=function(t,e){return this.totalTime(gt(this,t),j(e))},Hi.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,j(e))},Hi.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Hi.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Hi.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Hi.resume=function(){return this.paused(!1)},Hi.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-Ut:0)),this):this._rts<0},Hi.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ut,this},Hi.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-Ut))},Hi.eventCallback=function(t,e,n){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,n&&(i[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Hi.then=function(i){var r=this;return new Promise(function(e){function t(){var t=r.then;r.then=null,h(n)&&(n=n(r))&&(n.then||n===r)&&(r.then=t),e(n),r.then=t}var n=h(i)?i:u;r._initted&&1===r.totalProgress()&&0<=r._ts||!r._tTime&&r._ts<0?t():r._prom=t})},Hi.kill=function(){et(this)},Re);function Re(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,_(this,+t.duration,1,1),this.data=t.data,At||ke.wake()}z(je.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Ut,_prom:0,_ps:!1,_rts:1});var Ne=function(i){function t(t,e){var n;return(n=i.call(this,t=void 0===t?{}:t)||this).labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=j(t.sortChildren),xt&&X(t.parent||xt,A(n),e),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&V(A(n),t.scrollTrigger),n}n(t,i);var e=t.prototype;return e.to=function(t,e,n){return k(0,arguments,this),this},e.from=function(t,e,n){return k(1,arguments,this),this},e.fromTo=function(t,e,n,i){return k(2,arguments,this),this},e.set=function(t,e,n){return e.duration=0,e.parent=this,W(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ye(t,e,gt(this,n),1),this},e.call=function(t,e,n){return X(this,Ye.delayedCall(0,t,e),n)},e.staggerTo=function(t,e,n,i,r,o,s){return n.duration=e,n.stagger=n.stagger||i,n.onComplete=o,n.onCompleteParams=s,n.parent=this,new Ye(t,n,gt(this,r)),this},e.staggerFrom=function(t,e,n,i,r,o,s){return n.runBackwards=1,W(n).immediateRender=j(n.immediateRender),this.staggerTo(t,e,n,i,r,o,s)},e.staggerFromTo=function(t,e,n,i,r,o,s,a){return i.startAt=n,W(i).immediateRender=j(i.immediateRender),this.staggerTo(t,e,i,r,o,s,a)},e.render=function(t,e,n){var i,r,o,s,a,l,c,u,h,f,d=this._time,p=this._dirty?this.totalDuration():this._tDur,g=this._dur,m=t<=0?0:H(t),v=this._zTime<0!=t<0&&(this._initted||!g);if((m=this!==xt&&p<m&&0<=t?p:m)!==this._tTime||n||v){if(d!==this._time&&g&&(m+=this._time-d,t+=this._time-d),i=m,u=this._start,a=!(c=this._ts),v&&(g||(d=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(y=this._yoyo,s=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*s+t,e,n);if(i=H(m%s),m===p?(o=this._repeat,i=g):((o=~~(m/s))&&o===m/s&&(i=g,o--),g<i&&(i=g)),h=dt(this._tTime,s),y&&1&o&&(i=g-i,f=1),o!==(h=!d&&this._tTime&&h!==o?o:h)&&!this._lock){var v=y&&1&h,y=v===(y&&1&o),d=(v=o<h?!v:v)?0:g;if(this._lock=1,this.render(d||(f?0:H(o*s)),e,!g)._lock=0,this._tTime=m,!e&&this.parent&&bt(this,"onRepeat"),this.vars.repeatRefresh&&!f&&(this.invalidate()._lock=1),d&&d!==this._time||a!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,p=this._tDur,y&&(this._lock=2,this.render(d=v?g:-1e-4,!0),this.vars.repeatRefresh&&!f&&this.invalidate()),this._lock=0,!this._ts&&!a)return this;at(this,f)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=function(t,e,n){var i;if(e<n)for(i=t._first;i&&i._start<=n;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=n;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,H(d),H(i)))&&(m-=i-(i=l._start)),this._tTime=m,this._time=i,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,d=0),!d&&i&&!e&&(bt(this,"onStart"),this._tTime!==m))return this;if(d<=i&&0<=t)for(b=this._first;b;){if(r=b._next,(b._act||i>=b._start)&&b._ts&&l!==b){if(b.parent!==this)return this.render(t,e,n);if(b.render(0<b._ts?(i-b._start)*b._ts:(b._dirty?b.totalDuration():b._tDur)+(i-b._start)*b._ts,e,n),i!==this._time||!this._ts&&!a){l=0,r&&(m+=this._zTime=-Ut);break}}b=r}else for(var b=this._last,w=t<0?t:i;b;){if(r=b._prev,(b._act||w<=b._end)&&b._ts&&l!==b){if(b.parent!==this)return this.render(t,e,n);if(b.render(0<b._ts?(w-b._start)*b._ts:(b._dirty?b.totalDuration():b._tDur)+(w-b._start)*b._ts,e,n),i!==this._time||!this._ts&&!a){l=0,r&&(m+=this._zTime=w?-Ut:Ut);break}}b=r}if(l&&!e&&(this.pause(),l.render(d<=i?0:-Ut)._zTime=d<=i?1:-1,this._ts))return this._start=u,x(this),this.render(t,e,n);this._onUpdate&&!e&&bt(this,"onUpdate",!0),(m===p&&p>=this.totalDuration()||!m&&d)&&(u!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||(!t&&g||!(m===p&&0<this._ts||!m&&this._ts<0)||Y(this,1),e||t<0&&!d||!m&&!d&&p||(bt(this,m===p&&0<=t?"onComplete":"onReverseComplete",!0),!this._prom||m<p&&0<this.timeScale()||this._prom())))}return this},e.add=function(t,e){var n=this;if(D(e)||(e=gt(this,e,t)),!(t instanceof je)){if(ee(t))return t.forEach(function(t){return n.add(t,e)}),this;if(O(t))return this.addLabel(t,e);if(!h(t))return this;t=Ye.delayedCall(0,t)}return this!==t?X(this,t,e):this},e.getChildren=function(t,e,n,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===i&&(i=-Vt);for(var r=[],o=this._first;o;)o._start>=i&&(o instanceof Ye?e&&r.push(o):(n&&r.push(o),t&&r.push.apply(r,o.getChildren(!0,e,n)))),o=o._next;return r},e.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},e.remove=function(t){return O(t)?this.removeLabel(t):h(t)?this.killTweensOf(t):(p(this,t),t===this._recent&&(this._recent=this._last),g(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=H(ke.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function(t,e){return this.labels[t]=gt(this,e),this},e.removeLabel=function(t){return delete this.labels[t],this},e.addPause=function(t,e,n){n=Ye.delayedCall(0,e||s,n);return n.data="isPause",this._hasPause=1,X(this,n,gt(this,t))},e.removePause=function(t){var e=this._first;for(t=gt(this,t);e;)e._start===t&&"isPause"===e.data&&Y(e),e=e._next},e.killTweensOf=function(t,e,n){for(var i=this.getTweensOf(t,n),r=i.length;r--;)qe!==i[r]&&i[r].kill(t,e);return this},e.getTweensOf=function(t,e){for(var n,i=[],r=vt(t),o=this._first,s=D(e);o;)o instanceof Ye?function(t,e){for(var n=e.length,i=0;t.indexOf(e[i])<0&&++i<n;);return i<n}(o._targets,r)&&(s?(!qe||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&i.push(o):(n=o.getTweensOf(r,e)).length&&i.push.apply(i,n),o=o._next;return i},e.tweenTo=function(t,e){e=e||{};var n,i=this,r=gt(i,t),o=e.startAt,s=e.onStart,a=e.onStartParams,t=e.immediateRender,l=Ye.to(i,z({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:e.duration||Math.abs((r-(o&&"time"in o?o.time:i._time))/i.timeScale())||Ut,onStart:function(){var t;i.pause(),n||(t=e.duration||Math.abs((r-(o&&"time"in o?o.time:i._time))/i.timeScale()),l._dur!==t&&_(l,t,0,1).render(l._time,!0,!0),n=1),s&&s.apply(l,a||[])}},e));return t?l.render(0):l},e.tweenFromTo=function(t,e,n){return this.tweenTo(e,z({startAt:{time:gt(this,t)}},n))},e.recent=function(){return this._recent},e.nextLabel=function(t){return void 0===t&&(t=this._time),tt(this,gt(this,t))},e.previousLabel=function(t){return void 0===t&&(t=this._time),tt(this,gt(this,t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Ut)},e.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var i,r=this._first,o=this.labels;r;)r._start>=n&&(r._start+=t,r._end+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return g(this)},e.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return i.prototype.invalidate.call(this)},e.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),g(this)},e.totalDuration=function(t){var e,n,i,r=0,o=this,s=o._last,a=Vt;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(i=o.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),a<(n=s._start)&&o._sort&&s._ts&&!o._lock?(o._lock=1,X(o,s,n-s._delay,1)._lock=0):a=n,n<0&&s._ts&&(r-=n,(!i&&!o._dp||i&&i.smoothChildTiming)&&(o._start+=n/o._ts,o._time-=n,o._tTime-=n),o.shiftChildren(-n,!1,-1/0),a=0),s._end>r&&s._ts&&(r=s._end),s=e;_(o,o===xt&&o._time>r?o._time:r,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(t){if(xt._ts&&(l(xt,v(t,xt)),Ct=ke.frame),ke.frame>=ge){ge+=Yt.autoSleep||120;var e=xt._first;if((!e||!e._ts)&&Yt.autoSleep&&ke._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||ke.sleep()}}},t}(je);function Be(t,e,n,i,r,o){var s,a,l,c;if(de[t]&&!1!==(s=new de[t]).init(r,s.rawVars?e[t]:function(t,e,n,i,r){if(!M(t=h(t)?He(t,r,e,n,i):t)||t.style&&t.nodeType||ee(t)||te(t))return O(t)?He(t,r,e,n,i):t;var o,s={};for(o in t)s[o]=He(t[o],r,e,n,i);return s}(e[t],i,r,o,n),n,i,o)&&(n._pt=a=new on(n._pt,r,t,0,1,s.render,s,0,s.priority),n!==cn))for(l=n._ptLookup[n._targets.indexOf(r)],c=s._props.length;c--;)l[s._props[c]]=a;return s}z(Ne.prototype,{_lock:0,_hasPause:0,_forcing:0});function Ie(t,e){var n,i,r,o,s,a,l,c,u,h,f,d,p,g=t.vars,m=g.ease,v=g.startAt,y=g.immediateRender,b=g.lazy,w=g.onUpdate,x=g.onUpdateParams,_=g.callbackScope,T=g.runBackwards,k=g.yoyoEase,S=g.keyframes,E=g.autoRevert,C=t._dur,A=t._startAt,O=t._targets,D=t.parent,M=D&&"nested"===D.data?D.parent._targets:O,L="auto"===t._overwrite&&!wt,P=t.timeline;if(t._ease=De(m=!(!P||S&&m)?"none":m,Xt.ease),t._yEase=k?Oe(De(!0===k?m:k,Xt.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!P&&!!g.runBackwards,!P||S&&!g.stagger){if(d=(c=O[0]?B(O[0]).harness:0)&&g[c.prop],n=F(g,ue),A&&Y(A.render(-1,!0)),v)if(Y(t._startAt=Ye.set(O,z({data:"isStart",overwrite:!1,parent:D,immediateRender:!0,lazy:j(b),startAt:null,delay:0,onUpdate:w,onUpdateParams:x,callbackScope:_,stagger:0},v))),e<0&&!y&&!E&&t._startAt.render(-1,!0),y){if(0<e&&!E&&(t._startAt=0),C&&e<=0)return void(e&&(t._zTime=e))}else!1===E&&(t._startAt=0);else if(T&&C)if(A)E||(t._startAt=0);else if(r=z({overwrite:!1,data:"isFromStart",lazy:(y=e?!1:y)&&j(b),immediateRender:y,stagger:0,parent:D},n),d&&(r[c.prop]=d),Y(t._startAt=Ye.set(O,r)),e<0&&t._startAt.render(-1,!0),t._zTime=e,y){if(!e)return}else Ie(t._startAt,Ut);for(t._pt=0,b=C&&j(b)||b&&!C,i=0;i<O.length;i++){if(l=(s=O[i])._gsap||N(O)[i]._gsap,t._ptLookup[i]=h={},fe[l.id]&&he.length&&q(),f=M===O?i:M.indexOf(s),c&&!1!==(u=new c).init(s,d||n,t,f,M)&&(t._pt=o=new on(t._pt,s,u.name,0,1,u.render,u,0,u.priority),u._props.forEach(function(t){h[t]=o}),u.priority&&(a=1)),!c||d)for(r in n)de[r]&&(u=Be(r,n,t,f,s,M))?u.priority&&(a=1):h[r]=o=ze.call(t,s,r,"get",n[r],f,M,0,g.stringFilter);t._op&&t._op[i]&&t.kill(s,t._op[i]),L&&t._pt&&(qe=t,xt.killTweensOf(s,h,t.globalTime(e)),p=!t.parent,qe=0),t._pt&&b&&(fe[l.id]=1)}a&&rn(t),t._onInit&&t._onInit(t)}t._onUpdate=w,t._initted=(!t._op||t._pt)&&!p,S&&e<=0&&P.render(Vt,!0,!0)}function He(t,e,n,i,r){return h(t)?t.call(e,n,i,r):O(t)&&~t.indexOf("random(")?Z(t):t}var qe,ze=function(t,e,n,i,r,o,s,a,l){h(i)&&(i=i(r||0,t,o));var c,r=t[e],o="get"!==n?n:h(r)?l?t[e.indexOf("set")||!h(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():r,n=h(r)?l?Ke:$e:Ue;if(O(i)&&("="===(i=~i.indexOf("random(")?Z(i):i).charAt(1)&&(!(c=parseFloat(o)+parseFloat(i.substr(2))*("-"===i.charAt(0)?-1:1)+(U(o)||0))&&0!==c||(i=c))),o!==i)return isNaN(o*i)||""===i?(r||e in t||P(e,i),function(t,e,n,i,r,o,s){var a,l,c,u,h,f=new on(this._pt,t,e,0,1,Je,null,r),d=0,p=0;for(f.b=n,f.e=i,n+="",(r=~(i+="").indexOf("random("))&&(i=Z(i)),o&&(o(o=[n,i],t,e),n=o[0],i=o[1]),a=n.match(oe)||[];h=oe.exec(i);)c=h[0],u=i.substring(d,h.index),l?l=(l+1)%5:"rgba("===u.substr(-5)&&(l=1),c!==a[p++]&&(h=parseFloat(a[p-1])||0,f._pt={_next:f._pt,p:u||1===p?u:",",s:h,c:"="===c.charAt(1)?parseFloat(c.substr(2))*("-"===c.charAt(0)?-1:1):parseFloat(c)-h,m:l&&l<4?Math.round:0},d=oe.lastIndex);return f.c=d<i.length?i.substring(d,i.length):"",f.fp=s,(se.test(i)||r)&&(f.e=0),this._pt=f}.call(this,t,e,o,i,n,a||Yt.stringFilter,l)):(c=new on(this._pt,t,e,+o||0,i-(o||0),"boolean"==typeof r?Ge:Qe,0,n),l&&(c.fp=l),s&&c.modifier(s,this,t),this._pt=c)},Fe=ve+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",We={};d(Fe+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return We[t]=1});var Ye=function(C){function r(t,e,n,i){var r;"number"==typeof e&&(n.duration=e,e=n,n=null);var o,s,a,l,c,u,h,f,d=(r=C.call(this,i?e:W(e))||this).vars,p=d.duration,g=d.delay,m=d.immediateRender,v=d.stagger,y=d.overwrite,b=d.keyframes,w=d.defaults,i=d.scrollTrigger,x=d.yoyoEase,d=e.parent||xt,_=(ee(t)||te(t)?D(t[0]):"length"in e)?[t]:vt(t);if(r._targets=_.length?N(_):R("GSAP target "+t+" not found. https://greensock.com",!Yt.nullTargetWarn)||[],r._ptLookup=[],r._overwrite=y,b||v||L(p)||L(g)){if(e=r.vars,(o=r.timeline=new Ne({data:"nested",defaults:w||{}})).kill(),o.parent=o._dp=A(r),o._start=0,v||L(p)||L(g)){if(l=_.length,h=v&&$(v),M(v))for(c in v)~Fe.indexOf(c)&&((f=f||{})[c]=v[c]);for(s=0;s<l;s++)(a=F(e,We)).stagger=0,x&&(a.yoyoEase=x),f&&ft(a,f),u=_[s],a.duration=+He(p,A(r),s,u,_),a.delay=(+He(g,A(r),s,u,_)||0)-r._delay,!v&&1===l&&a.delay&&(r._delay=g=a.delay,r._start+=g,a.delay=0),o.to(u,a,h?h(s,u,_):0),o._ease=Ee.none;o.duration()?p=g=0:r.timeline=0}else if(b){W(z(o.vars.defaults,{ease:"none"})),o._ease=De(b.ease||e.ease||"none");var T,k,S,E=0;if(ee(b))b.forEach(function(t){return o.to(_,t,">")});else{for(c in a={},b)"ease"===c||"easeEach"===c||function(t,n,e,i){var r,o,s=n.ease||i||"power1.inOut";if(ee(n))o=e[t]||(e[t]=[]),n.forEach(function(t,e){return o.push({t:e/(n.length-1)*100,v:t,e:s})});else for(r in n)o=e[r]||(e[r]=[]),"ease"===r||o.push({t:parseFloat(t),v:n[r],e:s})}(c,b[c],a,b.easeEach);for(c in a)for(T=a[c].sort(function(t,e){return t.t-e.t}),s=E=0;s<T.length;s++)(S={ease:(k=T[s]).e,duration:(k.t-(s?T[s-1].t:0))/100*p})[c]=k.v,o.to(_,S,E),E+=S.duration;o.duration()<p&&o.to({},{duration:p-o.duration()})}}p||r.duration(p=o.duration())}else r.timeline=0;return!0!==y||wt||(qe=A(r),xt.killTweensOf(_),qe=0),X(d,A(r),n),e.reversed&&r.reverse(),e.paused&&r.paused(!0),(m||!p&&!b&&r._start===H(d._time)&&j(m)&&function t(e){return!e||e._ts&&t(e.parent)}(A(r))&&"nested"!==d.data)&&(r._tTime=-Ut,r.render(Math.max(0,-g))),i&&V(A(r),i),r}n(r,C);var t=r.prototype;return t.render=function(t,e,n){var i,r,o,s,a,l,c,u,h,f=this._time,d=this._tDur,p=this._dur,g=d-Ut<t&&0<=t?d:t<Ut?0:t;if(p){if(g!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(i=g,u=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*s+t,e,n);if(i=H(g%s),g===d?(o=this._repeat,i=p):((o=~~(g/s))&&o===g/s&&(i=p,o--),p<i&&(i=p)),(l=this._yoyo&&1&o)&&(h=this._yEase,i=p-i),a=dt(this._tTime,s),i===f&&!n&&this._initted)return this;o!==a&&(u&&this._yEase&&at(u,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=n=1,this.render(H(s*o),!0).invalidate()._lock=0))}if(!this._initted){if(w(this,t<0?t:i,n,e))return this._tTime=0,this;if(p!==this._dur)return this.render(t,e,n)}if(this._tTime=g,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(i/p),this._from&&(this.ratio=c=1-c),i&&!f&&!e&&(bt(this,"onStart"),this._tTime!==g))return this;for(r=this._pt;r;)r.r(c,r.d),r=r._next;u&&u.render(t<0?t:!i&&l?-Ut:u._dur*u._ease(i/this._dur),e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,n),bt(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&bt(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),!t&&p||!(g===this._tDur&&0<this._ts||!g&&this._ts<0)||Y(this,1),e||t<0&&!f||!g&&!f||(bt(this,g===d?"onComplete":"onReverseComplete",!0),!this._prom||g<d&&0<this.timeScale()||this._prom()))}}else!function(t,e,n,i){var r,o,s=t.ratio,a=e<0||!e&&(!t._start&&function t(e){e=e.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||t(e))}(t)&&(t._initted||!pt(t))||(t._ts<0||t._dp._ts<0)&&!pt(t))?0:1,l=t._rDelay,c=0;if(l&&t._repeat&&(c=mt(0,t._tDur,e),o=dt(c,l),t._yoyo&&1&o&&(a=1-a),o!==dt(t._tTime,l)&&(s=1-a,t.vars.repeatRefresh&&t._initted&&t.invalidate())),a!==s||i||t._zTime===Ut||!e&&t._zTime){if(t._initted||!w(t,e,i,n)){for(i=t._zTime,t._zTime=e||(n?Ut:0),n=n||e&&!i,t.ratio=a,t._from&&(a=1-a),t._time=0,t._tTime=c,r=t._pt;r;)r.r(a,r.d),r=r._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!n&&bt(t,"onUpdate"),c&&t._repeat&&!n&&t.parent&&bt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===a&&(a&&Y(t,1),n||(bt(t,a?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},t.targets=function(){return this._targets},t.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),C.prototype.invalidate.call(this)},t.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?et(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,qe&&!0!==qe.vars.overwrite)._first||et(this),this.parent&&n!==this.timeline.totalDuration()&&_(this,this._dur*this.timeline._tDur/n,0,1),this}var i,r,o,s,a,l,c,u=this._targets,h=t?vt(t):u,f=this._ptLookup,t=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,i=n===e.length;i&&n--&&t[n]===e[n];);return n<0}(u,h))return"all"===e&&(this._pt=0),et(this);for(i=this._op=this._op||[],"all"!==e&&(O(e)&&(a={},d(e,function(t){return a[t]=1}),e=a),e=function(t,e){var n,i,r,o,t=t[0]?B(t[0]).harness:0,s=t&&t.aliases;if(!s)return e;for(i in n=ft({},e),s)if(i in n)for(r=(o=s[i].split(",")).length;r--;)n[o[r]]=n[i];return n}(u,e)),c=u.length;c--;)if(~h.indexOf(u[c]))for(a in r=f[c],"all"===e?(i[c]=e,s=r,o={}):(o=i[c]=i[c]||{},s=e),s)(l=r&&r[a])&&("kill"in l.d&&!0!==l.d.kill(a)||p(this,l,"_pt"),delete r[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&t&&et(this),this},r.to=function(t,e,n){return new r(t,e,n)},r.from=function(t,e){return k(1,arguments)},r.delayedCall=function(t,e,n,i){return new r(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},r.fromTo=function(t,e,n){return k(2,arguments)},r.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new r(t,e)},r.killTweensOf=function(t,e,n){return xt.killTweensOf(t,e,n)},r}(je);function Xe(t,e,n){return t.setAttribute(e,n)}function Ve(t,e,n,i){i.mSet(t,e,i.m.call(i.tween,n,i.mt),i)}z(Ye.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),d("staggerTo,staggerFrom,staggerFromTo",function(n){Ye[n]=function(){var t=new Ne,e=be.call(arguments,0);return e.splice("staggerFromTo"===n?5:4,0,0),t[n].apply(t,e)}});function Ue(t,e,n){return t[e]=n}function $e(t,e,n){return t[e](n)}function Ke(t,e,n,i){return t[e](i.fp,n)}function Qe(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)}function Ge(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)}function Je(t,e){var n=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+i,n=n._next;i+=e.c}e.set(e.t,e.p,i,e)}function Ze(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next}function tn(t,e,n,i){for(var r,o=this._pt;o;)r=o._next,o.p===i&&o.modifier(t,e,n),o=r}function en(t){for(var e,n,i=this._pt;i;)n=i._next,i.p===t&&!i.op||i.op===t?p(this,i,"_pt"):i.dep||(e=1),i=n;return!e}var nn=function(t,e){return h(t[e])?$e:r(t[e])&&t.setAttribute?Xe:Ue},rn=function(t){for(var e,n,i,r,o=t._pt;o;){for(e=o._next,n=i;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:r)?o._prev._next=o:i=o,(o._next=n)?n._prev=o:r=o,o=e}t._pt=i},on=(sn.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=Ve,this.m=t,this.mt=n,this.tween=e},sn);function sn(t,e,n,i,r,o,s,a,l){this.t=e,this.s=i,this.c=r,this.p=n,this.r=o||Qe,this.d=s||this,this.set=a||Ue,this.pr=l||0,(this._next=t)&&(t._prev=this)}d(ve+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return ue[t]=1}),ce.TweenMax=ce.TweenLite=Ye,ce.TimelineLite=ce.TimelineMax=Ne,xt=new Ne({sortChildren:!1,defaults:Xt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Yt.stringFilter=st;var an={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach(function(t){var e=(t=!t.name&&t.default||t).name,n=h(t),i=e&&!n&&t.init?function(){this._props=[]}:t,r={init:s,render:Ze,add:ze,kill:en,modifier:tn,rawVars:0},n={targetTest:0,get:0,getSetter:nn,aliases:{},register:0};if(Se(),t!==i){if(de[e])return;z(i,z(F(t,r),n)),ft(i.prototype,ft(r,F(t,n))),de[i.prop=e]=i,t.targetTest&&(me.push(i),ue[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}o(e,i),t.register&&t.register(un,i,on)})},timeline:function(t){return new Ne(t)},getTweensOf:function(t,e){return xt.getTweensOf(t,e)},getProperty:function(i,t,e,n){var r=B((i=O(i)?vt(i)[0]:i)||{}).get,o=e?u:c;return"native"===e&&(e=""),i&&(t?o((de[t]&&de[t].get||r)(i,t,e,n)):function(t,e,n){return o((de[t]&&de[t].get||r)(i,t,e,n))})},quickSetter:function(n,e,i){if(1<(n=vt(n)).length){var r=n.map(function(t){return un.quickSetter(t,e,i)}),o=r.length;return function(t){for(var e=o;e--;)r[e](t)}}n=n[0]||{};var s=de[e],a=B(n),l=a.harness&&(a.harness.aliases||{})[e]||e,c=s?function(t){var e=new s;cn._pt=0,e.init(n,i?t+i:t,cn,0,[n]),e.render(1,e),cn._pt&&Ze(1,cn)}:a.set(n,l);return s?c:function(t){return c(n,l,i?t+i:t,a,1)}},isTweening:function(t){return 0<xt.getTweensOf(t,!0).length},defaults:function(t){return t&&t.ease&&(t.ease=De(t.ease,Xt.ease)),f(Xt,t||{})},config:function(t){return f(Yt,t||{})},registerEffect:function(t){var i=t.name,r=t.effect,e=t.plugins,o=t.defaults,t=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!de[t]&&!ce[t]&&R(i+" effect requires "+t+" plugin.")}),pe[i]=function(t,e,n){return r(vt(t),z(e||{},o),n)},t&&(Ne.prototype[i]=function(t,e,n){return this.add(pe[i](t,M(e)?e:(n=e)&&{},this),n)})},registerEase:function(t,e){Ee[t]=De(e)},parseEase:function(t,e){return arguments.length?De(t,e):Ee},getById:function(t){return xt.getById(t)},exportRoot:function(t,e){var n,i,r=new Ne(t=void 0===t?{}:t);for(r.smoothChildTiming=j(t.smoothChildTiming),xt.remove(r),r._dp=0,r._time=r._tTime=xt._time,n=xt._first;n;)i=n._next,!e&&!n._dur&&n instanceof Ye&&n.vars.onComplete===n._targets[0]||X(r,n,n._start-n._delay),n=i;return X(xt,r,0),r},utils:{wrap:function t(e,n,i){var r=n-e;return ee(e)?J(e,t(0,e.length),n):S(i,function(t){return(r+(t-e)%r)%r+e})},wrapYoyo:function t(e,n,i){var r=n-e,o=2*r;return ee(e)?J(e,t(0,e.length-1),n):S(i,function(t){return e+(r<(t=(o+(t-e)%o)%o||0)?o-t:t)})},distribute:$,random:G,snap:Q,normalize:function(t,e,n){return yt(t,e,0,1,n)},getUnit:U,clamp:function(e,n,t){return S(t,function(t){return mt(e,n,t)})},splitColor:it,toArray:vt,selector:function(n){return n=vt(n)[0]||R("Invalid scope")||{},function(t){var e=n.current||n.nativeElement||n;return vt(t,e.querySelectorAll?e:e===n?R("Invalid scope")||kt.createElement("div"):n)}},mapRange:yt,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(e,n){return function(t){return e(parseFloat(t))+(n||U(t))}},interpolate:function t(e,n,i,r){var o=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!o){var s,a,l,c,u,h=O(e),f={};if(!0===i&&(r=1)&&(i=null),h)e={p:e},n={p:n};else if(ee(e)&&!ee(n)){for(l=[],c=e.length,u=c-2,a=1;a<c;a++)l.push(t(e[a-1],e[a]));c--,o=function(t){t*=c;var e=Math.min(u,~~t);return l[e](t-e)},i=n}else r||(e=ft(ee(e)?[]:{},e));if(!l){for(s in n)ze.call(f,e,s,"get",n[s]);o=function(t){return Ze(t,f),h?e.p:e}}}return S(i,o)},shuffle:C},install:i,effects:pe,ticker:ke,updateRoot:Ne.updateRoot,plugins:de,globalTimeline:xt,core:{PropTween:on,globals:o,Tween:Ye,Timeline:Ne,Animation:je,getCache:B,_removeLinkedListItem:p,suppressOverwrites:function(t){return wt=t}}};function ln(t,r){return{name:t,rawVars:1,init:function(t,i,e){e._onInit=function(t){var e,n;if(O(i)&&(e={},d(i,function(t){return e[t]=1}),i=e),r){for(n in e={},i)e[n]=r(i[n]);i=e}!function(t,e){var n,i,r,o=t._targets;for(n in e)for(i=o.length;i--;)(r=(r=t._ptLookup[i][n])&&r.d)&&(r._pt&&(r=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n}(r,n)),r&&r.modifier&&r.modifier(e[n],t,o[i],n))}(t,i)}}}}d("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return an[t]=Ye[t]}),ke.add(Ne.updateRoot);var cn=an.to({},{duration:0}),un=an.registerPlugin({name:"attr",init:function(t,e,n,i,r){var o,s;for(o in e)(s=this.add(t,"setAttribute",(t.getAttribute(o)||0)+"",e[o],i,r,0,0,o))&&(s.op=o),this._props.push(o)}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n])}},ln("roundProps",K),ln("modifiers"),ln("snap",Q))||an;function hn(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function fn(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function dn(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function pn(t,e){t=e.s+e.c*t;e.set(e.t,e.p,~~(t+(t<0?-.5:.5))+e.u,e)}function gn(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function mn(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function vn(t,e,n){return t.style[e]=n}function yn(t,e,n){return t.style.setProperty(e,n)}function bn(t,e,n){return t._gsap[e]=n}function wn(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n}function xn(t,e,n,i,r){t=t._gsap;t.scaleX=t.scaleY=n,t.renderTransform(r,t)}function _n(t,e,n,i,r){t=t._gsap;t[e]=n,t.renderTransform(r,t)}function Tn(t,e){e=Fn.createElementNS?Fn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Fn.createElement(t);return e.style?e:Fn.createElement(t)}function kn(t,e,n){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(mi,"-$1").toLowerCase())||i.getPropertyValue(e)||!n&&kn(t,Ti(e)||e,1)||""}function Sn(){"undefined"!=typeof window&&window.document&&(Wn=(Fn=window.document).documentElement,Xn=Tn("div")||{style:{}},Tn("div"),wi=Ti(wi),xi=wi+"Origin",Xn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Un=!!Ti("perspective"),Yn=1)}function En(t){var e,n=Tn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,o=this.style.cssText;if(Wn.appendChild(n),n.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=En}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return i&&(r?i.insertBefore(this,r):i.appendChild(this)),Wn.removeChild(n),this.style.cssText=o,e}function Cn(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])}function An(e){var n;try{n=e.getBBox()}catch(t){n=En.call(e,!0)}return!(n=!(n&&(n.width||n.height)||e.getBBox===En)?En.call(e,!0):n)||n.width||n.x||n.y?n:{x:+Cn(e,["x","cx","x1"])||0,y:+Cn(e,["y","cy","y1"])||0,width:0,height:0}}function On(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!An(t))}function Dn(t,e){e&&(t=t.style,e in fi&&e!==xi&&(e=wi),t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(mi,"-$1").toLowerCase())):t.removeAttribute(e))}function Mn(t,e,n,i,r,o){o=new on(t._pt,e,n,0,1,o?mn:gn);return(t._pt=o).b=i,o.e=r,t._props.push(n),o}function Ln(t,e,n,i){var r,o=parseFloat(n)||0,s=(n+"").trim().substr((o+"").length)||"px",a=Xn.style,l=vi.test(e),c="svg"===t.tagName.toLowerCase(),u=(c?"client":"offset")+(l?"Width":"Height"),h="px"===i,f="%"===i;return i===s||!o||ki[i]||ki[s]?o:("px"===s||h||(o=Ln(t,e,n,"px")),n=t.getCTM&&On(t),!f&&"%"!==s||!fi[e]&&!~e.indexOf("adius")?(a[l?"width":"height"]=100+(h?s:i),i=~e.indexOf("adius")||"em"===i&&t.appendChild&&!c?t:t.parentNode,(c=(i=!(i=n?(t.ownerSVGElement||{}).parentNode:i)||i===Fn||!i.appendChild?Fn.body:i)._gsap)&&f&&c.width&&l&&c.time===ke.time?I(o/c.width*100):(!f&&"%"!==s||(a.position=kn(t,"position")),i===t&&(a.position="static"),i.appendChild(Xn),r=Xn[u],i.removeChild(Xn),a.position="absolute",l&&f&&((c=B(i)).time=ke.time,c.width=i[u]),I(h?r*o/100:r&&o?100/r*o:0))):(r=n?t.getBBox()[l?"width":"height"]:t[u],I(f?o/r*100:o/100*r)))}function Pn(t,e,n,i){var r;return Yn||Sn(),e in bi&&"transform"!==e&&~(e=bi[e]).indexOf(",")&&(e=e.split(",")[0]),fi[e]&&"transform"!==e?(r=Oi(t,i),r="transformOrigin"!==e?r[e]:r.svg?r.origin:Di(kn(t,xi))+" "+r.zOrigin+"px"):(r=t.style[e])&&"auto"!==r&&!i&&!~(r+"").indexOf("calc(")||(r=Ei[e]&&Ei[e](t,e,n)||kn(t,e)||a(t,e)||("opacity"===e?1:0)),n&&!~(r+"").trim().indexOf(" ")?Ln(t,e,r,n)+n:r}function jn(t,e,n,i){var r;n&&"none"!==n||((o=(r=Ti(e,t,1))&&kn(t,r,1))&&o!==n?(e=r,n=o):"borderColor"===e&&(n=kn(t,"borderTopColor")));var o,s,a,l,c,u,h,f,d,p,g=new on(this._pt,t.style,e,0,1,Je),m=0,v=0;if(g.b=n,g.e=i,n+="","auto"==(i+="")&&(t.style[e]=i,i=kn(t,e)||i,t.style[e]=n),st(o=[n,i]),i=o[1],s=(n=o[0]).match(re)||[],(i.match(re)||[]).length){for(;u=re.exec(i);)f=u[0],h=i.substring(m,u.index),l?l=(l+1)%5:"rgba("!==h.substr(-5)&&"hsla("!==h.substr(-5)||(l=1),f!==(c=s[v++]||"")&&(a=parseFloat(c)||0,d=c.substr((a+"").length),(p="="===f.charAt(1)?+(f.charAt(0)+"1"):0)&&(f=f.substr(2)),u=parseFloat(f),f=f.substr((u+"").length),m=re.lastIndex-f.length,f||(f=f||Yt.units[e]||d,m===i.length&&(i+=f,g.e+=f)),d!==f&&(a=Ln(t,e,c,f)||0),g._pt={_next:g._pt,p:h||1===v?h:",",s:a,c:p?p*u:u-a,m:l&&l<4||"zIndex"===e?Math.round:0});g.c=m<i.length?i.substring(m,i.length):""}else g.r="display"===e&&"none"===i?mn:gn;return se.test(i)&&(g.e=0),this._pt=g}function Rn(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,i,r,o=e.t,s=o.style,a=e.u,e=o._gsap;if("all"===a||!0===a)s.cssText="",i=1;else for(r=(a=a.split(",")).length;-1<--r;)n=a[r],fi[n]&&(i=1,n="transformOrigin"===n?xi:wi),Dn(o,n);i&&(Dn(o,wi),e&&(e.svg&&o.removeAttribute("transform"),Oi(o,1),e.uncache=1))}}function Nn(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function Bn(t){t=kn(t,wi);return Nn(t)?Ci:t.substr(7).match(ie).map(I)}function In(t,e){var n,i,r,o=t._gsap||B(t),s=t.style,a=Bn(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(a=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Ci:a:(a!==Ci||t.offsetParent||t===Wn||o.svg||(i=s.display,s.display="block",(o=t.parentNode)&&t.offsetParent||(r=1,n=t.nextSibling,Wn.appendChild(t)),a=Bn(t),i?s.display=i:Dn(t,"display"),r&&(n?o.insertBefore(t,n):o?o.appendChild(t):Wn.removeChild(t))),e&&6<a.length?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)}function Hn(t,e,n,i,r,o){var s,a,l=t._gsap,c=r||In(t,!0),u=l.xOrigin||0,h=l.yOrigin||0,f=l.xOffset||0,d=l.yOffset||0,p=c[0],g=c[1],m=c[2],v=c[3],y=c[4],b=c[5],w=e.split(" "),x=parseFloat(w[0])||0,r=parseFloat(w[1])||0;n?c!==Ci&&(s=p*v-g*m)&&(a=x*(-g/s)+r*(p/s)-(p*b-g*y)/s,x=x*(v/s)+r*(-m/s)+(m*b-v*y)/s,r=a):(x=(a=An(t)).x+(~w[0].indexOf("%")?x/100*a.width:x),r=a.y+(~(w[1]||w[0]).indexOf("%")?r/100*a.height:r)),i||!1!==i&&l.smooth?(l.xOffset=f+((y=x-u)*p+(b=r-h)*m)-y,l.yOffset=d+(y*g+b*v)-b):l.xOffset=l.yOffset=0,l.xOrigin=x,l.yOrigin=r,l.smooth=!!i,l.origin=e,l.originIsAbsolute=!!n,t.style[xi]="0px 0px",o&&(Mn(o,l,"xOrigin",u,x),Mn(o,l,"yOrigin",h,r),Mn(o,l,"xOffset",f,l.xOffset),Mn(o,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",x+" "+r)}function qn(t,e,n){var i=U(e);return I(parseFloat(e)+parseFloat(Ln(t,"x",n+"px",i)))+i}function zn(t,e){for(var n in e)t[n]=e[n];return t}Ye.version=Ne.version=un.version="3.9.1",Et=1,e()&&Se();var Fn,Wn,Yn,Xn,Vn,Un,$n=Ee.Power0,Kn=Ee.Power1,Qn=Ee.Power2,Gn=Ee.Power3,Jn=Ee.Power4,Zn=Ee.Linear,ti=Ee.Quad,ei=Ee.Cubic,ni=Ee.Quart,ii=Ee.Quint,ri=Ee.Strong,oi=Ee.Elastic,si=Ee.Back,ai=Ee.SteppedEase,li=Ee.Bounce,ci=Ee.Sine,ui=Ee.Expo,hi=Ee.Circ,fi={},di=180/Math.PI,pi=Math.PI/180,gi=Math.atan2,mi=/([A-Z])/g,vi=/(?:left|right|width|margin|padding|x)/i,yi=/[\s,\(]\S/,bi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},wi="transform",xi=wi+"Origin",_i="O,Moz,ms,Ms,Webkit".split(","),Ti=function(t,e,n){var i=(e||Xn).style,r=5;if(t in i&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);r--&&!(_i[r]+t in i););return r<0?null:(3===r?"ms":0<=r?_i[r]:"")+t},ki={deg:1,rad:1,turn:1},Si={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ei={clearProps:function(t,e,n,i,r){if("isFromStart"!==r.data){e=t._pt=new on(t._pt,e,n,0,0,Rn);return e.u=i,e.pr=-10,e.tween=r,t._props.push(n),1}}},Ci=[1,0,0,1,0,0],Ai={},Oi=function(t,e){var n=t._gsap||new Pe(t);if("x"in n&&!e&&!n.uncache)return n;var i,r,o,s,a,l,c,u,h,f,d,p,g,m,v,y,b,w,x,_,T,k,S,E,C,A=t.style,O=n.scaleX<0,D=kn(t,xi)||"0",M=i=r=s=a=l=c=u=0,L=o=1;return n.svg=!(!t.getCTM||!On(t)),h=In(t,n.svg),n.svg&&(w=(!n.uncache||"0px 0px"===D)&&!e&&t.getAttribute("data-svg-origin"),Hn(t,w||D,!!w||n.originIsAbsolute,!1!==n.smooth,h)),k=n.xOrigin||0,E=n.yOrigin||0,h!==Ci&&(p=h[0],g=h[1],m=h[2],v=h[3],M=y=h[4],i=b=h[5],6===h.length?(L=Math.sqrt(p*p+g*g),o=Math.sqrt(v*v+m*m),s=p||g?gi(g,p)*di:0,(c=m||v?gi(m,v)*di+s:0)&&(o*=Math.abs(Math.cos(c*pi))),n.svg&&(M-=k-(k*p+E*m),i-=E-(k*g+E*v))):(C=h[6],S=h[7],T=h[8],e=h[9],k=h[10],E=h[11],M=h[12],i=h[13],r=h[14],a=(h=gi(C,k))*di,h&&(w=y*(f=Math.cos(-h))+T*(d=Math.sin(-h)),x=b*f+e*d,_=C*f+k*d,T=y*-d+T*f,e=b*-d+e*f,k=C*-d+k*f,E=S*-d+E*f,y=w,b=x,C=_),l=(h=gi(-m,k))*di,h&&(f=Math.cos(-h),E=v*(d=Math.sin(-h))+E*f,p=w=p*f-T*d,g=x=g*f-e*d,m=_=m*f-k*d),s=(h=gi(g,p))*di,h&&(w=p*(f=Math.cos(h))+g*(d=Math.sin(h)),x=y*f+b*d,g=g*f-p*d,b=b*f-y*d,p=w,y=x),a&&359.9<Math.abs(a)+Math.abs(s)&&(a=s=0,l=180-l),L=I(Math.sqrt(p*p+g*g+m*m)),o=I(Math.sqrt(b*b+C*C)),h=gi(y,b),c=2e-4<Math.abs(h)?h*di:0,u=E?1/(E<0?-E:E):0),n.svg&&(w=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!Nn(kn(t,wi)),w&&t.setAttribute("transform",w))),90<Math.abs(c)&&Math.abs(c)<270&&(O?(L*=-1,c+=s<=0?180:-180,s+=s<=0?180:-180):(o*=-1,c+=c<=0?180:-180)),n.x=M-((n.xPercent=M&&(n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-M)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+"px",n.z=r+"px",n.scaleX=I(L),n.scaleY=I(o),n.rotation=I(s)+"deg",n.rotationX=I(a)+"deg",n.rotationY=I(l)+"deg",n.skewX=c+"deg",n.skewY="0deg",n.transformPerspective=u+"px",(n.zOrigin=parseFloat(D.split(" ")[2])||0)&&(A[xi]=Di(D)),n.xOffset=n.yOffset=0,n.force3D=Yt.force3D,n.renderTransform=n.svg?Ni:Un?Ri:Mi,n.uncache=0,n},Di=function(t){return(t=t.split(" "))[0]+" "+t[1]},Mi=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ri(t,e)},Li="0deg",Pi="0px",ji=") ",Ri=function(t,e){var n=e||this,i=n.xPercent,r=n.yPercent,o=n.x,s=n.y,a=n.z,l=n.rotation,c=n.rotationY,u=n.rotationX,h=n.skewX,f=n.skewY,d=n.scaleX,p=n.scaleY,g=n.transformPerspective,m=n.force3D,v=n.target,y=n.zOrigin,b="",e="auto"===m&&t&&1!==t||!0===m;!y||u===Li&&c===Li||(n=parseFloat(c)*pi,t=Math.sin(n),m=Math.cos(n),n=parseFloat(u)*pi,o=qn(v,o,t*(t=Math.cos(n))*-y),s=qn(v,s,-Math.sin(n)*-y),a=qn(v,a,m*t*-y+y)),g!==Pi&&(b+="perspective("+g+ji),(i||r)&&(b+="translate("+i+"%, "+r+"%) "),!e&&o===Pi&&s===Pi&&a===Pi||(b+=a!==Pi||e?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+ji),l!==Li&&(b+="rotate("+l+ji),c!==Li&&(b+="rotateY("+c+ji),u!==Li&&(b+="rotateX("+u+ji),h===Li&&f===Li||(b+="skew("+h+", "+f+ji),1===d&&1===p||(b+="scale("+d+", "+p+ji),v.style[wi]=b||"translate(0, 0)"},Ni=function(t,e){var n,i,r,o,s,a=e||this,l=a.xPercent,c=a.yPercent,u=a.x,h=a.y,f=a.rotation,d=a.skewX,p=a.skewY,g=a.scaleX,m=a.scaleY,v=a.target,y=a.xOrigin,b=a.yOrigin,w=a.xOffset,x=a.yOffset,_=a.forceCSS,e=parseFloat(u),a=parseFloat(h),f=parseFloat(f),d=parseFloat(d);(p=parseFloat(p))&&(d+=p=parseFloat(p),f+=p),f||d?(f*=pi,d*=pi,n=Math.cos(f)*g,i=Math.sin(f)*g,r=Math.sin(f-d)*-m,o=Math.cos(f-d)*m,d&&(p*=pi,s=Math.tan(d-p),r*=s=Math.sqrt(1+s*s),o*=s,p&&(s=Math.tan(p),n*=s=Math.sqrt(1+s*s),i*=s)),n=I(n),i=I(i),r=I(r),o=I(o)):(n=g,o=m,i=r=0),(e&&!~(u+"").indexOf("px")||a&&!~(h+"").indexOf("px"))&&(e=Ln(v,"x",u,"px"),a=Ln(v,"y",h,"px")),(y||b||w||x)&&(e=I(e+y-(y*n+b*r)+w),a=I(a+b-(y*i+b*o)+x)),(l||c)&&(e=I(e+l/100*(s=v.getBBox()).width),a=I(a+c/100*s.height)),v.setAttribute("transform",s="matrix("+n+","+i+","+r+","+o+","+e+","+a+")"),_&&(v.style[wi]=s)};d("padding,margin,Width,Radius",function(e,n){var t="Bottom",a=(n<3?["Top","Right",t,"Left"]:["TopLeft","TopRight",t+"Right",t+"Left"]).map(function(t){return n<2?e+t:"border"+t+e});Ei[1<n?"border"+e:e]=function(e,t,n,i,r){var o,s;if(arguments.length<4)return o=a.map(function(t){return Pn(e,t,n)}),5===(s=o.join(" ")).split(o[0]).length?o[0]:s;o=(i+"").split(" "),s={},a.forEach(function(t,e){return s[t]=o[e]=o[e]||o[(e-1)/2|0]}),e.init(t,s,r)}});var Bi,Ii={name:"css",register:Sn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,i,r){var o,s,a,l,c,u,h,f,d,p,g,m,v,y,b,w,x,_,T,k,S,E=this._props,C=t.style,A=n.vars.startAt;for(c in Yn||Sn(),e)if("autoRound"!==c&&(s=e[c],!de[c]||!Be(c,e,n,i,t,r)))if(x=typeof s,w=Ei[c],"function"===x&&(x=typeof(s=s.call(n,i,t,r))),"string"===x&&~s.indexOf("random(")&&(s=Z(s)),w)w(this,t,c,s,n)&&(v=1);else if("--"===c.substr(0,2))o=(getComputedStyle(t).getPropertyValue(c)+"").trim(),s+="",_e.lastIndex=0,_e.test(o)||(u=U(o),h=U(s)),h?u!==h&&(o=Ln(t,c,o,h)+h):u&&(s+=u),this.add(C,"setProperty",o,s,i,r,0,0,c),E.push(c);else if("undefined"!==x){if(A&&c in A?(U((o=O(o="function"==typeof A[c]?A[c].call(n,i,t,r):A[c])&&~o.indexOf("random(")?Z(o):o)+"")||(o+=Yt.units[c]||U(Pn(t,c))||""),"="===(o+"").charAt(1)&&(o=Pn(t,c))):o=Pn(t,c),l=parseFloat(o),(f="string"===x&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),a=parseFloat(s),c in bi&&("autoAlpha"===c&&Mn(this,C,"visibility",(l=1===l&&"hidden"===Pn(t,"visibility")&&a?0:l)?"inherit":"hidden",a?"inherit":"hidden",!a),"scale"!==c&&"transform"!==c&&~(c=bi[c]).indexOf(",")&&(c=c.split(",")[0])),d=c in fi)if(p||((g=t._gsap).renderTransform&&!e.parseTransform||Oi(t,e.parseTransform),m=!1!==e.smoothOrigin&&g.smooth,(p=this._pt=new on(this._pt,C,wi,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===c)this._pt=new on(this._pt,g,"scaleY",g.scaleY,(f?f*a:a-g.scaleY)||0),E.push("scaleY",c),c+="X";else{if("transformOrigin"===c){S=k=T=void 0,T=(_=s).split(" "),k=T[0],S=T[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==S&&"right"!==S||(_=k,k=S,S=_),T[0]=Si[k]||k,T[1]=Si[S]||S,s=T.join(" "),g.svg?Hn(t,s,0,m,0,this):((h=parseFloat(s.split(" ")[2])||0)!==g.zOrigin&&Mn(this,g,"zOrigin",g.zOrigin,h),Mn(this,C,c,Di(o),Di(s)));continue}if("svgOrigin"===c){Hn(t,s,1,m,0,this);continue}if(c in Ai){y=this,b=g,w=c,x=l,_=f,S=k=void 0,k=O(T=s),S=parseFloat(T)*(k&&~T.indexOf("rad")?di:1),S=x+(_=_?S*_:S-x)+"deg",k&&("short"===(T=T.split("_")[1])&&(_%=360)!=_%180&&(_+=_<0?360:-360),"cw"===T&&_<0?_=(_+36e9)%360-360*~~(_/360):"ccw"===T&&0<_&&(_=(_-36e9)%360-360*~~(_/360))),y._pt=_=new on(y._pt,b,w,x,_,fn),_.e=S,_.u="deg",y._props.push(w);continue}if("smoothOrigin"===c){Mn(this,g,"smooth",g.smooth,s);continue}if("force3D"===c){g[c]=s;continue}if("transform"===c){!function(t,e,n){var i,r,o,s,a,l,c=zn({},n._gsap),u=n.style;for(r in c.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),u[wi]=e,i=Oi(n,1),Dn(n,wi),n.setAttribute("transform",o)):(o=getComputedStyle(n)[wi],u[wi]=e,i=Oi(n,1),u[wi]=o),fi)(o=c[r])!==(a=i[r])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)<0&&(s=U(o)!==(l=U(a))?Ln(n,r,o,l):parseFloat(o),a=parseFloat(a),t._pt=new on(t._pt,i,r,s,a-s,hn),t._pt.u=l||0,t._props.push(r));zn(i,c)}(this,s,t);continue}}else c in C||(c=Ti(c)||c);if(d||(a||0===a)&&(l||0===l)&&!yi.test(s)&&c in C)a=a||0,(u=(o+"").substr((l+"").length))!==(h=U(s)||(c in Yt.units?Yt.units[c]:u))&&(l=Ln(t,c,o,h)),this._pt=new on(this._pt,d?g:C,c,l,f?f*a:a-l,d||"px"!==h&&"zIndex"!==c||!1===e.autoRound?hn:pn),this._pt.u=h||0,u!==h&&"%"!==h&&(this._pt.b=o,this._pt.r=dn);else if(c in C)jn.call(this,t,c,o,s);else{if(!(c in t)){P(c,s);continue}this.add(t,c,o||t[c],s,i,r)}E.push(c)}v&&rn(this)},get:Pn,aliases:bi,getSetter:function(t,e,n){var i=bi[e];return(e=i&&i.indexOf(",")<0?i:e)in fi&&e!==xi&&(t._gsap.x||Pn(t,"x"))?n&&Vn===n?"scale"===e?wn:bn:(Vn=n||{})&&("scale"===e?xn:_n):t.style&&!r(t.style[e])?vn:~e.indexOf("-")?yn:nn(t,e)},core:{_removeProperty:Dn,_getMatrix:In}};un.utils.checkPrefix=Ti,Bi=d("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(qi="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){fi[t]=1}),d(qi,function(t){Yt.units[t]="deg",Ai[t]=1}),bi[Bi[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+qi,d("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){t=t.split(":");bi[t[1]]=Bi[t[0]]}),d("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Yt.units[t]="px"}),un.registerPlugin(Ii);var Hi=un.registerPlugin(Ii)||un,qi=Hi.core.Tween;t.Back=si,t.Bounce=li,t.CSSPlugin=Ii,t.Circ=hi,t.Cubic=ei,t.Elastic=oi,t.Expo=ui,t.Linear=Zn,t.Power0=$n,t.Power1=Kn,t.Power2=Qn,t.Power3=Gn,t.Power4=Jn,t.Quad=ti,t.Quart=ni,t.Quint=ii,t.Sine=ci,t.SteppedEase=ai,t.Strong=ri,t.TimelineLite=Ne,t.TimelineMax=Ne,t.TweenLite=Ye,t.TweenMax=qi,t.default=Hi,t.gsap=Hi,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function Ot(t){return t}function Dt(t){return he(t)[0]||(Ee(t)&&!1!==se.config().nullTargetWarn?console.warn("Element not found:",t):null)}function d(t){return Math.round(1e5*t)/1e5||0}function i(){return"undefined"!=typeof window}function r(){return se||i()&&(se=window.gsap)&&se.registerPlugin&&se}function Mt(t){return!!~p.indexOf(t)}function Lt(t,e){return~_e.indexOf(t)&&_e[_e.indexOf(t)+1][e]}function Pt(e,t){var n=t.s,i=t.sc,r=S.indexOf(e),t=i===He.sc?1:2;return~r||(r=S.push(e)-1),S[r+t]||(S[r+t]=Lt(e,n)||(Mt(e)?i:function(t){return arguments.length?e[n]=t:e[n]}))}function jt(t){return Lt(t,"getBoundingClientRect")||(Mt(t)?function(){return Xe.width=ae.innerWidth,Xe.height=ae.innerHeight,Xe}:function(){return re(t)})}function Rt(t,e){e.s;var n=e.d2,i=e.d,r=e.a;return(e="scroll"+n)&&(r=Lt(t,e))?r()-jt(t)()[i]:Mt(t)?(ue[e]||ce[e])-(ae["inner"+n]||ce["client"+n]||ue["client"+n]):t[e]-t["offset"+n]}function o(t,e){for(var n=0;n<x.length;n+=3)e&&!~e.indexOf(x[n+1])||t(x[n],x[n+1],x[n+2])}function Nt(t){return"function"==typeof t}function Bt(t){return"number"==typeof t}function It(t){return"object"==typeof t}function s(t){return Nt(t)&&t()}function a(n,i){return function(){var t=s(n),e=s(i);return function(){s(t),s(e)}}}function Ht(t,e,n){return t&&t.progress(e?0:1)&&n&&t.pause()}function qt(t,e){!t.enabled||(e=e(t))&&e.totalTime&&(t.callbackAnimation=e)}function zt(t){return ae.getComputedStyle(t)}function Ft(t,e){for(var n in e)n in t||(t[n]=e[n]);return t}function Wt(t,e){e=e.d2;return t["offset"+e]||t["client"+e]||0}function Yt(t){var e,n=[],i=t.labels,r=t.duration();for(e in i)n.push(i[e]/r);return n}function Xt(r){var o=se.utils.snap(r),s=Array.isArray(r)&&r.slice(0).sort(function(t,e){return t-e});return s?function(t,e,n){var i;if(void 0===n&&(n=.001),!e)return o(t);if(0<e){for(t-=n,i=0;i<s.length;i++)if(s[i]>=t)return s[i];return s[i-1]}for(i=s.length,t+=n;i--;)if(s[i]<=t)return s[i];return s[0]}:function(t,e,n){void 0===n&&(n=.001);var i=o(t);return!e||Math.abs(i-t)<n||i-t<0==e<0?i:o(e<0?t-r:t+r)}}function l(e,n,t,i){return t.split(",").forEach(function(t){return e(n,t,i)})}function Vt(t,e,n){return t.addEventListener(e,n,{passive:!0})}function Ut(t,e,n){return t.removeEventListener(e,n)}function $t(t,e){var n,i;return Ee(t)&&(i=~(n=t.indexOf("="))?(t.charAt(n-1)+1)*parseFloat(t.substr(n+1)):0,~n&&(t.indexOf("%")>n&&(i*=e/100),t=t.substr(0,n-1)),t=i+(t in M?M[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)),t}function Kt(t,e,n,i,r,o,s,a){var l=r.startColor,c=r.endColor,u=r.fontSize,h=r.indent,f=r.fontWeight,d=le.createElement("div"),p=Mt(n)||"fixed"===Lt(n,"pinType"),g=-1!==t.indexOf("scroller"),r=p?ue:n,n=-1!==t.indexOf("start"),c=n?l:c,f="border-color:"+c+";font-size:"+u+";color:"+c+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return f+="position:"+((g||a)&&p?"fixed;":"absolute;"),!g&&!a&&p||(f+=(i===He?O:D)+":"+(o+parseFloat(h))+"px;"),s&&(f+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),d._isStart=n,d.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),d.style.cssText=f,d.innerText=e||0===e?t+"-"+e:t,r.children[0]?r.insertBefore(d,r.children[0]):r.appendChild(d),d._offset=d["offset"+i.op.d2],y(d,0,i,n),d}function c(){return 34<Te()-ke&&e()}function Qt(){e(),ke||R("scrollStart"),ke=Te()}function Gt(){return!pe&&!_&&!le.fullscreenElement&&g.restart(!0)}function u(t){var e,n=se.ticker.frame,i=[],r=0;if(T!==n||xe){for(I();r<j.length;r+=4)(e=ae.matchMedia(j[r]).matches)!==j[r+3]&&((j[r+3]=e)?i.push(r):I(1,j[r])||Nt(j[r+2])&&j[r+2]());for(B(),r=0;r<i.length;r++)e=i[r],we=j[e],j[e+2]=j[e+1](t);we=0,f&&h(0,1),T=n,R("matchMedia")}}function Jt(){return Ut(Y,"scrollEnd",Jt)||h(!0)}function n(){return S.forEach(function(t){return"function"==typeof t&&(t.rec=0)})}function Zt(t,e,n,i){if(t.parentNode!==e){for(var r,o=q.length,s=e.style,a=t.style;o--;)s[r=q[o]]=n[r];s.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(s.display="inline-block"),a[D]=a[O]=s.flexBasis="auto",s.overflow="visible",s.boxSizing="border-box",s[Ae]=Wt(t,Ie)+Be,s[Oe]=Wt(t,He)+Be,s[je]=a[Re]=a.top=a.left="0",oe(i),a[Ae]=a.maxWidth=n[Ae],a[Oe]=a.maxHeight=n[Oe],a[je]=n[je],t.parentNode.insertBefore(e,t),e.appendChild(t)}}function te(t){for(var e=z.length,n=t.style,i=[],r=0;r<e;r++)i.push(z[r],n[z[r]]);return i.t=t,i}function ee(t,e,n,i,r,o,s,a,l,c,u,h,f){Nt(t)&&(t=t(a)),Ee(t)&&"max"===t.substr(0,3)&&(t=h+("="===t.charAt(4)?$t("0"+t.substr(3),n):0));var d,p,g,m,v=f?f.time():0;return f&&f.seek(0),Bt(t)?s&&y(s,n,i,!0):(Nt(e)&&(e=e(a)),g=t.split(" "),p=Dt(e)||ue,(e=re(p)||{})&&(e.left||e.top)||"none"!==zt(p).display||(d=p.style.display,p.style.display="block",e=re(p),d?p.style.display=d:p.style.removeProperty("display")),d=$t(g[0],e[i.d]),g=$t(g[1]||"0",n),t=e[i.p]-l[i.p]-c+d+r-g,s&&y(s,g,i,n-g<20||s._isStart&&20<g),n-=n-g),o&&(g=o._isStart,m="scroll"+i.d2,y(o,n=t+n,i,g&&20<n||!g&&(u?Math.max(ue[m],ce[m]):o.parentNode[m])<=n+1),u&&(l=re(s),u&&(o.style[i.op.p]=l[i.op.p]-i.op.m-o._offset+Be))),f&&p&&(m=re(p),f.seek(h),p=re(p),f._caScrollDist=m[i.p]-p[i.p],t=t/f._caScrollDist*h),f&&f.seek(v),f?t:Math.round(t)}function ne(t,e,n,i){if(t.parentNode!==e){var r,o,s=t.style;if(e===ue){for(r in t._stOrig=s.cssText,o=zt(t))+r||W.test(r)||!o[r]||"string"!=typeof s[r]||"0"===r||(s[r]=o[r]);s.top=n,s.left=i}else s.cssText=t._stOrig;se.core.getCache(t).uncache=1,e.appendChild(t)}}function ie(a,t){function l(t,e,n,i,r){var o=l.tween,s=e.onComplete;return o&&o.kill(),c=Math.round(n),e[f]=t,(e.modifiers={})[f]=function(t){return(t=d(h()))!==c&&t!==u&&2<Math.abs(t-c)&&2<Math.abs(t-u)?(o.kill(),l.tween=0):t=n+i*o.ratio+r*o.ratio*o.ratio,u=c,c=d(t)},e.onComplete=function(){l.tween=0,s&&s.call(o)},o=l.tween=se.to(a,e)}var c,u,h=Pt(a,t),f="_scroll"+t.p2;return a[f]=h,Vt(a,"wheel",function(){return l.tween&&l.tween.kill()&&(l.tween=0)}),l}function re(t,e){return e=e&&"matrix(1, 0, 0, 1, 0, 0)"!==zt(t)[v]&&se.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),t=t.getBoundingClientRect(),e&&e.progress(0).kill(),t}function y(t,e,n,i){var r={display:"block"},o=n[i?"os2":"p2"],s=n[i?"p2":"os2"];t._isFlipped=i,r[n.a+"Percent"]=i?-100:0,r[n.a]=i?"1px":0,r["border"+o+Ne]=1,r["border"+s+Ne]=0,r[n.p]=e+"px",se.set(t,r)}function h(t,e){!ke||t?(k=!0,t=R("refreshInit"),ve&&Y.sort(),e||I(),Fe.forEach(function(t){return t.refresh()}),Fe.forEach(function(t){return"max"===t.vars.end&&t.setPositions(t.start,Rt(t.scroller,t._dir))}),t.forEach(function(t){return t&&t.render&&t.render(-1)}),n(),g.pause(),k=!1,R("refresh")):Vt(Y,"scrollEnd",Jt)}function e(){if(!k){var t=Fe.length,e=Te(),n=50<=e-E,i=t&&Fe[0].scroll();if(Ye=i<H?-1:1,H=i,n&&(ke&&!ge&&200<e-ke&&(ke=0,R("scrollEnd")),de=E,E=e),Ye<0){for(me=t;0<me--;)Fe[me]&&Fe[me].update(0,n);Ye=1}else for(me=0;me<t;me++)Fe[me]&&Fe[me].update(0,n)}}function oe(t){if(t){var e,n,i=t.t.style,r=t.length,o=0;for((t.t._gsap||se.core.getCache(t.t)).uncache=1;o<r;o+=2)n=t[o+1],e=t[o],n?i[e]=n:i[e]&&i.removeProperty(e.replace(F,"-$1").toLowerCase())}}var se,f,ae,le,ce,ue,p,g,he,fe,de,m,pe,ge,v,me,b,w,x,ve,ye,_,be,we,T,k,xe=1,_e=[],S=[],Te=Date.now,E=Te(),ke=0,Se=1,Ee=function(t){return"string"==typeof t},Ce=Math.abs,C="scrollLeft",A="scrollTop",O="right",D="bottom",Ae="width",Oe="height",De="Right",Me="Left",Le="Top",Pe="Bottom",je="padding",Re="margin",Ne="Width",Be="px",Ie={s:C,p:"left",p2:Me,os:O,os2:De,d:Ae,d2:Ne,a:"x",sc:function(t){return arguments.length?ae.scrollTo(t,He.sc()):ae.pageXOffset||le[C]||ce[C]||ue[C]||0}},He={s:A,p:"top",p2:Le,os:D,os2:Pe,d:Oe,d2:"Height",a:"y",op:Ie,sc:function(t){return arguments.length?ae.scrollTo(Ie.sc(),t):ae.pageYOffset||le[A]||ce[A]||ue[A]||0}},qe={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ze={toggleActions:"play",anticipatePin:0},M={top:0,left:0,center:.5,bottom:1,right:1},Fe=[],We={},L={},P=[],j=[],R=function(t){return L[t]&&L[t].map(function(t){return t()})||P},N=[],B=function(t){for(var e=0;e<N.length;e+=5)t&&N[e+4]!==t||(N[e].style.cssText=N[e+1],N[e].getBBox&&N[e].setAttribute("transform",N[e+2]||""),N[e+3].uncache=1)},I=function(t,e){var n;for(me=0;me<Fe.length;me++)n=Fe[me],e&&n.media!==e||(t?n.kill(1):n.revert());e&&B(e),e||R("revert")},H=0,Ye=1,q=["left","top",D,O,Re+Pe,Re+De,Re+Le,Re+Me,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],z=q.concat([Ae,Oe,"boxSizing","max"+Ne,"maxHeight","position",Re,je,je+Le,je+De,je+Pe,je+Me]),F=/([A-Z])/g,Xe={left:0,top:0},W=/(?:webkit|moz|length|cssText|inset)/i;Ie.op=He;var Y=(Ve.prototype.init=function(v,y){var f,i,h,b,w,x,_,T,k,S,E,C,A,O,D,M,L,d,P,j,p,R,g,m,N,B,I,t,H,q,z,F,W,Y,X,V,r,U,$,K,Q,G,J,Z,tt,e,et,nt,it,rt,n,ot,st,at,lt,ct,ut,o,ht,ft,dt,pt,gt,mt,s,vt,yt,bt,wt,a,l,c,u,xt,_t,Tt,kt,St,Et,Ct,At;this.progress=this.start=0,this.vars&&this.kill(1),Se?(X=(v=Ft(Ee(v)||Bt(v)||v.nodeType?{trigger:v}:v,ze)).onUpdate,V=v.toggleClass,r=v.id,U=v.onToggle,$=v.onRefresh,K=v.scrub,Q=v.trigger,G=v.pin,J=v.pinSpacing,Z=v.invalidateOnRefresh,tt=v.anticipatePin,e=v.onScrubComplete,et=v.onSnapComplete,nt=v.once,it=v.snap,rt=v.pinReparent,n=v.pinSpacer,ot=v.containerAnimation,st=v.fastScrollEnd,at=v.preventOverlaps,lt=v.horizontal||v.containerAnimation&&!1!==v.horizontal?Ie:He,ct=!K&&0!==K,ut=Dt(v.scroller||ae),o=se.core.getCache(ut),ht=Mt(ut),ft="fixed"===("pinType"in v?v.pinType:Lt(ut,"pinType")||ht&&"fixed"),dt=[v.onEnter,v.onLeave,v.onEnterBack,v.onLeaveBack],pt=ct&&v.toggleActions.split(" "),u=("markers"in v?v:ze).markers,gt=!ht&&parseFloat(zt(ut)["border"+lt.p2+Ne])||0,mt=this,s=v.onRefreshInit&&function(){return v.onRefreshInit(mt)},kt=ut,St=ht,Et=lt.d,Ct=lt.d2,At=lt.a,vt=(At=Lt(kt,"getBoundingClientRect"))?function(){return At()[Et]}:function(){return(St?ae["inner"+Ct]:kt["client"+Ct])||0},Tt=ut,yt=!ht||~_e.indexOf(Tt)?jt(Tt):function(){return Xe},bt=0,wt=Pt(ut,lt),mt.media=we,mt._dir=lt,tt*=45,mt.scroller=ut,mt.scroll=ot?ot.time.bind(ot):wt,b=wt(),mt.vars=v,y=y||v.animation,"refreshPriority"in v&&(ve=1),o.tweenScroll=o.tweenScroll||{top:ie(ut,He),left:ie(ut,Ie)},mt.tweenTo=f=o.tweenScroll[lt.p],y&&(y.vars.lazy=!1,y._initted||!1!==y.vars.immediateRender&&!1!==v.immediateRender&&y.render(0,!0,!0),mt.animation=y.pause(),y.scrollTrigger=mt,(t=Bt(K)&&K)&&(I=se.to(y,{ease:"power3",duration:t,onComplete:function(){return e&&e(mt)}})),N=0,r=r||y.vars.id),Fe.push(mt),it&&(It(it)&&!it.push||(it={snapTo:it}),"scrollBehavior"in ue.style&&se.set(ht?[ue,ce]:ut,{scrollBehavior:"auto"}),h=Nt(it.snapTo)?it.snapTo:"labels"===it.snapTo?(_t=y,function(t){return se.utils.snap(Yt(_t),t)}):"labelsDirectional"===it.snapTo?(xt=y,function(t,e){return Xt(Yt(xt))(t,e.direction)}):!1!==it.directional?function(t,e){return Xt(it.snapTo)(t,e.direction)}:se.utils.snap(it.snapTo),H=It(H=it.duration||{min:.1,max:2})?fe(H.min,H.max):fe(H,H),q=se.delayedCall(it.delay||t/2||.1,function(){var t,e,n,i,r,o,s,a,l,c,u;Math.abs(mt.getVelocity())<10&&!ge&&bt!==wt()?(e=((t=y&&!ct?y.totalProgress():mt.progress)-B)/(Te()-de)*1e3||0,n=se.utils.clamp(-mt.progress,1-mt.progress,Ce(e/2)*e/.185),i=mt.progress+(!1===it.inertia?0:n),r=fe(0,1,h(i,mt)),o=wt(),s=Math.round(x+r*C),a=it.onStart,l=it.onInterrupt,c=it.onComplete,u=f.tween,o<=_&&x<=o&&s!==o&&(u&&!u._initted&&u.data<=Ce(s-o)||(!1===it.inertia&&(n=r-mt.progress),f(s,{duration:H(Ce(.185*Math.max(Ce(i-t),Ce(r-t))/e/.05||0)),ease:it.ease||"power3",data:Ce(s-o),onInterrupt:function(){return q.restart(!0)&&l&&l(mt)},onComplete:function(){mt.update(),bt=wt(),N=B=y&&!ct?y.totalProgress():mt.progress,et&&et(mt),c&&c(mt)}},o,n*C,s-o-n*C),a&&a(mt,f.tween)))):mt.isActive&&q.restart(!0)}).pause()),r&&(We[r]=mt),Q=mt.trigger=Dt(Q||G),G=!0===G?Q:Dt(G),Ee(V)&&(V={targets:Q,className:V}),G&&(!1===J||J===Re||(J=!(!J&&"flex"===zt(G.parentNode).display)&&je),mt.pin=G,!1!==v.force3D&&se.set(G,{force3D:!0}),(i=se.core.getCache(G)).spacer?A=i.pinState:(n&&((n=Dt(n))&&!n.nodeType&&(n=n.current||n.nativeElement),i.spacerIsNative=!!n,n&&(i.spacerState=te(n))),i.spacer=M=n||le.createElement("div"),M.classList.add("pin-spacer"),r&&M.classList.add("pin-spacer-"+r),i.pinState=A=te(G)),mt.spacer=M=i.spacer,c=zt(G),p=c[J+lt.os2],L=se.getProperty(G),d=se.quickSetter(G,lt.a,Be),Zt(G,M,c),D=te(G)),u&&(c=It(u)?Ft(u,qe):qe,S=Kt("scroller-start",r,ut,lt,c,0),E=Kt("scroller-end",r,ut,lt,c,0,S),u=S["offset"+lt.op.d2],T=Kt("start",r,ut,lt,c,u,0,ot),k=Kt("end",r,ut,lt,c,u,0,ot),ot&&(Y=se.quickSetter([T,k],lt.a,Be)),ft||_e.length&&!0===Lt(ut,"fixedMarkers")||(u=zt(c=ht?ue:ut).position,c.style.position="absolute"===u||"fixed"===u?u:"relative",se.set([S,E],{force3D:!0}),g=se.quickSetter(S,lt.a,Be),m=se.quickSetter(E,lt.a,Be))),ot&&(a=ot.vars.onUpdate,l=ot.vars.onUpdateParams,ot.eventCallback("onUpdate",function(){mt.update(0,0,1),a&&a.apply(l||[])})),mt.previous=function(){return Fe[Fe.indexOf(mt)-1]},mt.next=function(){return Fe[Fe.indexOf(mt)+1]},mt.revert=function(t){var e=!1!==t||!mt.enabled,t=pe;e!==mt.isReverted&&(e&&(mt.scroll.rec||(mt.scroll.rec=wt()),F=Math.max(wt(),mt.scroll.rec||0),z=mt.progress,W=y&&y.progress()),T&&[T,k,S,E].forEach(function(t){return t.style.display=e?"none":"block"}),e&&(pe=1),mt.update(e),pe=t,G&&(e?function(t,e,n){oe(n);var n=t._gsap;n.spacerIsNative?oe(n.spacerState):t.parentNode!==e||(n=e.parentNode)&&(n.insertBefore(t,e),n.removeChild(e))}(G,M,A):rt&&mt.isActive||Zt(G,M,zt(G),R)),mt.isReverted=e)},mt.refresh=function(t,e){if(!pe&&mt.enabled||e)if(G&&t&&ke)Vt(Ve,"scrollEnd",Jt);else{pe=1,I&&I.pause(),Z&&y&&y.time(-.01,!0).invalidate(),mt.isReverted||mt.revert();for(var n,i,r,o,s,a,l=vt(),c=yt(),u=ot?ot.duration():Rt(ut,lt),h=0,f=0,d=v.end,e=v.endTrigger||Q,p=v.start||(0!==v.start&&Q?G?"0 0":"0 100%":0),g=v.pinnedContainer&&Dt(v.pinnedContainer),t=Q&&Math.max(0,Fe.indexOf(mt))||0,m=t;m--;)(r=Fe[m]).end||r.refresh(0,1)||(pe=1),!(o=r.pin)||o!==Q&&o!==G||r.isReverted||((a=a||[]).unshift(r),r.revert());for(Nt(p)&&(p=p(mt)),x=ee(p,Q,l,lt,wt(),T,S,mt,c,gt,ft,u,ot)||(G?-.001:0),Nt(d)&&(d=d(mt)),Ee(d)&&!d.indexOf("+=")&&(~d.indexOf(" ")?d=(Ee(p)?p.split(" ")[0]:"")+d:(h=$t(d.substr(2),l),d=Ee(p)?p:x+h,e=Q)),_=Math.max(x,ee(d||(e?"100% 0":u),e,l,lt,wt()+h,k,E,mt,c,gt,ft,u,ot))||-.001,C=_-x||(x-=.01)&&.001,h=0,m=t;m--;)(o=(r=Fe[m]).pin)&&r.start-r._pinPush<x&&!ot&&(n=r.end-r.start,o!==Q&&o!==g||Bt(p)||(h+=n*(1-r.progress)),o===G&&(f+=n));if(x+=h,_+=h,mt._pinPush=f,T&&h&&((n={})[lt.a]="+="+h,g&&(n[lt.p]="-="+wt()),se.set([T,k],n)),G)n=zt(G),c=lt===He,t=wt(),P=parseFloat(L(lt.a))+f,!u&&1<_&&((ht?ue:ut).style["overflow-"+lt.a]="scroll"),Zt(G,M,n),D=te(G),i=re(G,!0),u=ft&&Pt(ut,c?Ie:He)(),J&&((R=[J+lt.os2,C+f+Be]).t=M,(m=J===je?Wt(G,lt)+C+f:0)&&R.push(lt.d,m+Be),oe(R),ft&&wt(F)),ft&&((s={top:i.top+(c?t-x:u)+Be,left:i.left+(c?u:t-x)+Be,boxSizing:"border-box",position:"fixed"})[Ae]=s.maxWidth=Math.ceil(i.width)+Be,s[Oe]=s.maxHeight=Math.ceil(i.height)+Be,s[Re]=s[Re+Le]=s[Re+De]=s[Re+Pe]=s[Re+Me]="0",s[je]=n[je],s[je+Le]=n[je+Le],s[je+De]=n[je+De],s[je+Pe]=n[je+Pe],s[je+Me]=n[je+Me],O=function(t,e,n){for(var i,r=[],o=t.length,s=n?8:0;s<o;s+=2)i=t[s],r.push(i,i in e?e[i]:t[s+1]);return r.t=t.t,r}(A,s,rt)),y?(s=y._initted,ye(1),y.render(y.duration(),!0,!0),j=L(lt.a)-P+C+f,C!==j&&O.splice(O.length-2,2),y.render(0,!0,!0),s||y.invalidate(),ye(0)):j=C;else if(Q&&wt()&&!ot)for(i=Q.parentNode;i&&i!==ue;)i._pinOffset&&(x-=i._pinOffset,_-=i._pinOffset),i=i.parentNode;a&&a.forEach(function(t){return t.revert(!1)}),mt.start=x,mt.end=_,b=w=wt(),ot||(b<F&&wt(F),mt.scroll.rec=0),mt.revert(!1),pe=0,y&&ct&&y._initted&&y.progress()!==W&&y.progress(W,!0).render(y.time(),!0,!0),z===mt.progress&&!ot||(y&&!ct&&y.totalProgress(z,!0),mt.progress=z,mt.update(0,0,1)),G&&J&&(M._pinOffset=Math.round(mt.progress*j)),$&&$(mt)}},mt.getVelocity=function(){return(wt()-w)/(Te()-de)*1e3||0},mt.endAnimation=function(){Ht(mt.callbackAnimation),y&&(I?I.progress(1):y.paused()?ct||Ht(y,mt.direction<0,1):Ht(y,y.reversed()))},mt.labelToScroll=function(t){return y&&y.labels&&(x||mt.refresh()||x)+y.labels[t]/y.duration()*C||0},mt.getTrailing=function(e){var t=Fe.indexOf(mt),t=0<mt.direction?Fe.slice(0,t).reverse():Fe.slice(t+1);return Ee(e)?t.filter(function(t){return t.vars.preventOverlaps===e}):t},mt.update=function(t,e,n){var i,r,o,s,a,l,c,u,h;ot&&!n&&!t||(l=mt.scroll(),h=(u=t?0:(l-x)/C)<0?0:1<u?1:u||0,c=mt.progress,e&&(w=b,b=ot?wt():l,it&&(B=N,N=y&&!ct?y.totalProgress():h)),(h=tt&&!h&&G&&!pe&&!xe&&ke&&x<l+(l-w)/(Te()-de)*tt?1e-4:h)!==c&&mt.enabled&&(n=(s=(i=mt.isActive=!!h&&h<1)!=(!!c&&c<1))||!!h!=!!c,mt.direction=c<h?1:-1,mt.progress=h,n&&!pe&&(r=h&&!c?0:1===h?1:1===c?2:3,ct&&(o=!s&&"none"!==pt[r+1]&&pt[r+1]||pt[r],a=y&&("complete"===o||"reset"===o||o in y))),at&&s&&(a||K||!y)&&(Nt(at)?at(mt):mt.getTrailing(at).forEach(function(t){return t.endAnimation()})),ct||(!I||pe||xe?y&&y.totalProgress(h,!!pe):(I.vars.totalProgress=h,I.invalidate().restart())),G&&(t&&J&&(M.style[J+lt.os2]=p),ft?n&&(u=!t&&c<h&&l<_+1&&l+1>=Rt(ut,lt),rt&&(t||!i&&!u?ne(G,M):(e=re(G,!0),c=l-x,ne(G,ue,e.top+(lt===He?c:0)+Be,e.left+(lt===He?0:c)+Be))),oe(i||u?O:D),j!==C&&h<1&&i||d(P+(1!==h||u?0:j))):d(P+j*h)),!it||f.tween||pe||xe||q.restart(!0),V&&(s||nt&&h&&(h<1||!be))&&he(V.targets).forEach(function(t){return t.classList[i||nt?"add":"remove"](V.className)}),!X||ct||t||X(mt),n&&!pe?(ct&&(a&&("complete"===o?y.pause().totalProgress(1):"reset"===o?y.restart(!0).pause():"restart"===o?y.restart(!0):y[o]()),X&&X(mt)),!s&&be||(U&&s&&qt(mt,U),dt[r]&&qt(mt,dt[r]),nt&&(1===h?mt.kill(!1,1):dt[r]=0),s||dt[r=1===h?1:3]&&qt(mt,dt[r])),st&&!i&&Math.abs(mt.getVelocity())>(Bt(st)?st:2500)&&(Ht(mt.callbackAnimation),I?I.progress(1):Ht(y,!h,1))):ct&&X&&!pe&&X(mt)),m&&(h=ot?l/ot.duration()*(ot._caScrollDist||0):l,g(h+(S._isFlipped?1:0)),m(h)),Y&&Y(-l/ot.duration()*(ot._caScrollDist||0)))},mt.enable=function(t,e){mt.enabled||(mt.enabled=!0,Vt(ut,"resize",Gt),Vt(ut,"scroll",Qt),s&&Vt(Ve,"refreshInit",s),!1!==t&&(mt.progress=z=0,b=w=bt=wt()),!1!==e&&mt.refresh())},mt.getTween=function(t){return t&&f?f.tween:I},mt.setPositions=function(t,e){G&&(P+=t-x,j+=e-t-C),mt.start=x=t,mt.end=_=e,C=e-t,mt.update()},mt.disable=function(t,e){if(mt.enabled&&(!1!==t&&mt.revert(),mt.enabled=mt.isActive=!1,e||I&&I.pause(),F=0,i&&(i.uncache=1),s&&Ut(Ve,"refreshInit",s),q&&(q.pause(),f.tween&&f.tween.kill()&&(f.tween=0)),!ht)){for(var n=Fe.length;n--;)if(Fe[n].scroller===ut&&Fe[n]!==mt)return;Ut(ut,"resize",Gt),Ut(ut,"scroll",Qt)}},mt.kill=function(t,e){mt.disable(t,e),I&&I.kill(),r&&delete We[r];var n=Fe.indexOf(mt);0<=n&&Fe.splice(n,1),n===me&&0<Ye&&me--,n=0,Fe.forEach(function(t){return t.scroller===mt.scroller&&(n=1)}),n||(mt.scroll.rec=0),y&&(y.scrollTrigger=null,t&&y.render(-1),e||y.kill()),T&&[T,k,S,E].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),G&&(i&&(i.uncache=1),n=0,Fe.forEach(function(t){return t.pin===G&&n++}),n||(i.spacer=0))},mt.enable(!1,!1),y&&y.add&&!C?se.delayedCall(.01,function(){return x||_||mt.refresh()})&&(C=.01)&&(x=_=0):mt.refresh()):this.update=this.refresh=this.kill=Ot},Ve.register=function(t){var e,n;return!f&&(se=t||r(),i()&&window.document&&(ae=window,le=document,ce=le.documentElement,ue=le.body),se&&(he=se.utils.toArray,fe=se.utils.clamp,ye=se.core.suppressOverwrites||Ot,se.core.globals("ScrollTrigger",Ve),ue))&&(Vt(ae,"wheel",Qt),p=[ae,le,ce,ue],Vt(le,"scroll",Qt),n=(e=ue.style).borderTopStyle,e.borderTopStyle="solid",t=re(ue),He.m=Math.round(t.top+He.sc())||0,Ie.m=Math.round(t.left+Ie.sc())||0,n?e.borderTopStyle=n:e.removeProperty("border-top-style"),m=setInterval(c,200),se.delayedCall(.5,function(){return xe=0}),Vt(le,"touchcancel",Ot),Vt(ue,"touchstart",Ot),l(Vt,le,"pointerdown,touchstart,mousedown",function(){return ge=1}),l(Vt,le,"pointerup,touchend,mouseup",function(){return ge=0}),v=se.utils.checkPrefix("transform"),z.push(v),f=Te(),g=se.delayedCall(.2,h).pause(),x=[le,"visibilitychange",function(){var t=ae.innerWidth,e=ae.innerHeight;le.hidden?(b=t,w=e):b===t&&w===e||Gt()},le,"DOMContentLoaded",h,ae,"load",function(){return ke||h()},ae,"resize",Gt],o(Vt)),f},Ve.defaults=function(t){if(t)for(var e in t)ze[e]=t[e];return ze},Ve.kill=function(){Se=0,Fe.slice(0).forEach(function(t){return t.kill(1)})},Ve.config=function(t){"limitCallbacks"in t&&(be=!!t.limitCallbacks);var e=t.syncInterval;e&&clearInterval(m)||(m=e)&&setInterval(c,e),"autoRefreshEvents"in t&&(o(Ut),o(Vt,t.autoRefreshEvents||"none"),_=-1===(t.autoRefreshEvents+"").indexOf("resize"))},Ve.scrollerProxy=function(t,e){var n=Dt(t),i=S.indexOf(n),t=Mt(n);~i&&S.splice(i,t?6:2),e&&(t?_e.unshift(ae,e,ue,e,ce,e):_e.unshift(n,e))},Ve.matchMedia=function(t){var e,n,i,r,o;for(n in t)i=j.indexOf(n),r=t[n],"all"===(we=n)?r():(e=ae.matchMedia(n))&&(e.matches&&(o=r()),~i?(j[i+1]=a(j[i+1],r),j[i+2]=a(j[i+2],o)):(i=j.length,j.push(n,r,o),e.addListener?e.addListener(u):e.addEventListener("change",u)),j[i+3]=e.matches),we=0;return j},Ve.clearMatchMedia=function(t){t||(j.length=0),0<=(t=j.indexOf(t))&&j.splice(t,4)},Ve.isInViewport=function(t,e,n){t=(Ee(t)?Dt(t):t).getBoundingClientRect(),e=t[n?Ae:Oe]*e||0;return n?0<t.right-e&&t.left+e<ae.innerWidth:0<t.bottom-e&&t.top+e<ae.innerHeight},Ve.positionInViewport=function(t,e,n){var i=(t=Ee(t)?Dt(t):t).getBoundingClientRect(),t=i[n?Ae:Oe],e=null==e?t/2:e in M?M[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0;return n?(i.left+e)/ae.innerWidth:(i.top+e)/ae.innerHeight},Ve);function Ve(t,e){f||Ve.register(se)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(t,e)}Y.version="3.9.1",Y.saveStyles=function(t){return t?he(t).forEach(function(t){var e;t&&t.style&&(0<=(e=N.indexOf(t))&&N.splice(e,5),N.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),se.core.getCache(t),we))}):N},Y.revert=function(t,e){return I(!t,e)},Y.create=function(t,e){return new Y(t,e)},Y.refresh=function(t){return t?Gt():(f||Y.register())&&h(!0)},Y.update=e,Y.clearScrollMemory=n,Y.maxScroll=function(t,e){return Rt(t,e?Ie:He)},Y.getScrollFunc=function(t,e){return Pt(Dt(t),e?Ie:He)},Y.getById=function(t){return We[t]},Y.getAll=function(){return Fe.slice(0)},Y.isScrolling=function(){return!!ke},Y.snapDirectional=Xt,Y.addEventListener=function(t,e){t=L[t]||(L[t]=[]);~t.indexOf(e)||t.push(e)},Y.removeEventListener=function(t,e){t=L[t],e=t&&t.indexOf(e);0<=e&&t.splice(e,1)},Y.batch=function(t,e){var n,i=[],r={},o=e.interval||.016,s=e.batchMax||1e9;for(n in e)r[n]="on"===n.substr(0,2)&&Nt(e[n])&&"onRefreshInit"!==n?function(t){var e=[],n=[],i=se.delayedCall(o,function(){t(e,n),e=[],n=[]}).pause();return function(t){e.length||i.restart(!0),e.push(t.trigger),n.push(t),s<=e.length&&i.progress(1)}}(e[n]):e[n];return Nt(s)&&(s=s(),Vt(Y,"refresh",function(){return s=e.batchMax()})),he(t).forEach(function(t){var e={};for(n in r)e[n]=r[n];e.trigger=t,i.push(Y.create(e))}),i},Y.sort=function(t){return Fe.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},r()&&se.registerPlugin(Y),t.ScrollTrigger=Y,t.default=Y,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function e(){return"undefined"!=typeof window}function n(){return r||e()&&(r=window.gsap)&&r.registerPlugin&&r}function c(){return o||(i(),s||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),o}function i(t){r=t||n(),e()&&(u=document),r&&(s=r.plugins.css)&&(o=1)}var r,o,u,s,a={version:"3.9.1",name:"cssRule",init:function(t,e,n,i,r){if(!c()||void 0===t.cssText)return!1;var o=t._gsProxy=t._gsProxy||u.createElement("div");this.ss=t,this.style=o.style,o.style.cssText=t.cssText,s.prototype.init.call(this,o,e,n,i,r)},render:function(t,e){for(var n,i=e._pt,r=e.style,o=e.ss;i;)i.r(t,i.d),i=i._next;for(n=r.length;-1<--n;)o[r[n]]=r[r[n]]},getRule:function(t){c();var e,n,i,r,o=u.all?"rules":"cssRules",s=u.styleSheets,a=s.length,l=":"===t.charAt(0);for(t=(l?"":",")+t.split("::").join(":").toLowerCase()+",",l&&(r=[]);a--;){try{if(!(n=s[a][o]))continue;e=n.length}catch(t){console.warn(t);continue}for(;-1<--e;)if((i=n[e]).selectorText&&-1!==(","+i.selectorText.split("::").join(":").toLowerCase()+",").indexOf(t)){if(!l)return i.style;r.push(i.style)}}return r},register:i};n()&&r.registerPlugin(a),t.CSSRulePlugin=a,t.default=a,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function e(){return"undefined"!=typeof window}function n(){return f||e()&&(f=window.gsap)&&f.registerPlugin&&f}function a(t){return"string"==typeof t}function l(t){return"function"==typeof t}function p(t,e){var n="x"===e?"Width":"Height",i="scroll"+n,e="client"+n;return t===g||t===r||t===s?Math.max(r[i],s[i])-(g["inner"+n]||r[e]||s[e]):t[i]-t["offset"+n]}function c(t,e){var n="scroll"+("x"===e?"Left":"Top");return t===g&&(null!=t.pageXOffset?n="page"+e.toUpperCase()+"Offset":t=null!=r[n]?r:s),function(){return t[n]}}function o(t,e){if(!(t=m(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var n=t.getBoundingClientRect(),i=!e||e===g||e===s,t=i?{top:r.clientTop-(g.pageYOffset||r.scrollTop||s.scrollTop||0),left:r.clientLeft-(g.pageXOffset||r.scrollLeft||s.scrollLeft||0)}:e.getBoundingClientRect(),t={x:n.left-t.left,y:n.top-t.top};return!i&&e&&(t.x+=c(e,"x")(),t.y+=c(e,"y")()),t}function u(t,e,n,i,r){return isNaN(t)||"object"==typeof t?a(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+i-r:"max"===t?p(e,n)-r:Math.min(p(e,n),o(t,e)[n]-r):parseFloat(t)-r}function h(){f=n(),e()&&f&&document.body&&(g=window,s=document.body,r=document.documentElement,m=f.utils.toArray,f.config({autoKillThreshold:7}),v=f.config(),d=1)}var f,d,g,r,s,m,v,i={version:"3.9.1",name:"scrollTo",rawVars:1,register:function(t){f=t,h()},init:function(t,e,n,i,r){d||h();var o=this,s=f.getProperty(t,"scrollSnapType");o.isWin=t===g,o.target=t,o.tween=n,e=function(t,e,n,i){if("object"!=typeof(t=l(t)?t(e,n,i):t))return a(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var r,o={};for(r in t)o[r]="onAutoKill"!==r&&l(t[r])?t[r](e,n,i):t[r];return o}(e,i,t,r),o.vars=e,o.autoKill=!!e.autoKill,o.getX=c(t,"x"),o.getY=c(t,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),s&&"none"!==s&&(o.snap=1,o.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(o.add(o,"x",o.x,u(e.x,t,"x",o.x,e.offsetX||0),i,r),o._props.push("scrollTo_x")):o.skipX=1,null!=e.y?(o.add(o,"y",o.y,u(e.y,t,"y",o.y,e.offsetY||0),i,r),o._props.push("scrollTo_y")):o.skipY=1},render:function(t,e){for(var n,i,r,o=e._pt,s=e.target,a=e.tween,l=e.autoKill,c=e.xPrev,u=e.yPrev,h=e.isWin,f=e.snap,d=e.snapInline;o;)o.r(t,o.d),o=o._next;n=h||!e.skipX?e.getX():c,r=(i=h||!e.skipY?e.getY():u)-u,u=n-c,c=v.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),l&&(!e.skipX&&(c<u||u<-c)&&n<p(s,"x")&&(e.skipX=1),!e.skipY&&(c<r||r<-c)&&i<p(s,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(a.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(a,e.vars.onAutoKillParams||[]))),h?g.scrollTo(e.skipX?n:e.x,e.skipY?i:e.y):(e.skipY||(s.scrollTop=e.y),e.skipX||(s.scrollLeft=e.x)),!f||1!==t&&0!==t||(i=s.scrollTop,n=s.scrollLeft,d?s.style.scrollSnapType=d:s.style.removeProperty("scroll-snap-type"),s.scrollTop=i+1,s.scrollLeft=n+1,s.scrollTop=i,s.scrollLeft=n),e.xPrev=e.x,e.yPrev=e.y},kill:function(t){var e="scrollTo"===t;!e&&"scrollTo_x"!==t||(this.skipX=1),!e&&"scrollTo_y"!==t||(this.skipY=1)}};i.max=p,i.getOffset=o,i.buildGetter=c,n()&&f.registerPlugin(i),t.ScrollToPlugin=i,t.default=i,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(s){function a(t){return parseFloat(t)||0}function l(t){var t=s(t),i=null,r=[];return t.each(function(){var t=s(this),e=t.offset().top-a(t.css("margin-top")),n=0<r.length?r[r.length-1]:null;null!==n&&Math.floor(Math.abs(i-e))<=1?r[r.length-1]=n.add(t):r.push(t),i=e}),r}function c(t){var e={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?s.extend(e,t):("boolean"==typeof t?e.byRow=t:"remove"===t&&(e.remove=!0),e)}var i=-1,r=-1,u=s.fn.matchHeight=function(t){t=c(t);if(t.remove){var n=this;return this.css(t.property,""),s.each(u._groups,function(t,e){e.elements=e.elements.not(n)}),this}return this.length<=1&&!t.target||(u._groups.push({elements:this,options:t}),u._apply(this,t)),this};u.version="master",u._groups=[],u._throttle=80,u._maintainScroll=!1,u._beforeUpdate=null,u._afterUpdate=null,u._rows=l,u._parse=a,u._parseOptions=c,u._apply=function(t,e){var r=c(e),n=s(t),i=[n],o=s(window).scrollTop(),e=s("html").outerHeight(!0),t=n.parents().filter(":hidden");return t.each(function(){var t=s(this);t.data("style-cache",t.attr("style"))}),t.css("display","block"),r.byRow&&!r.target&&(n.each(function(){var t=s(this),e=t.css("display");"inline-block"!==e&&"flex"!==e&&"inline-flex"!==e&&(e="block"),t.data("style-cache",t.attr("style")),t.css({display:e,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),i=l(n),n.each(function(){var t=s(this);t.attr("style",t.data("style-cache")||"")})),s.each(i,function(t,e){var e=s(e),i=0;if(r.target)i=r.target.outerHeight(!1);else{if(r.byRow&&e.length<=1)return void e.css(r.property,"");e.each(function(){var t=s(this),e=t.attr("style"),n=t.css("display"),n={display:n="inline-block"!==n&&"flex"!==n&&"inline-flex"!==n?"block":n};n[r.property]="",t.css(n),t.outerHeight(!1)>i&&(i=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}e.each(function(){var t=s(this),e=0;r.target&&t.is(r.target)||("border-box"!==t.css("box-sizing")&&(e+=a(t.css("border-top-width"))+a(t.css("border-bottom-width")),e+=a(t.css("padding-top"))+a(t.css("padding-bottom"))),t.css(r.property,i-e+"px"))})}),t.each(function(){var t=s(this);t.attr("style",t.data("style-cache")||null)}),u._maintainScroll&&s(window).scrollTop(o/e*s("html").outerHeight(!0)),this},u._applyDataApi=function(){var n={};s("[data-match-height], [data-mh]").each(function(){var t=s(this),e=t.attr("data-mh")||t.attr("data-match-height");e in n?n[e]=n[e].add(t):n[e]=t}),s.each(n,function(){this.matchHeight(!0)})};function o(t){u._beforeUpdate&&u._beforeUpdate(t,u._groups),s.each(u._groups,function(){u._apply(this.elements,this.options)}),u._afterUpdate&&u._afterUpdate(t,u._groups)}u._update=function(t,e){if(e&&"resize"===e.type){var n=s(window).width();if(n===i)return;i=n}t?-1===r&&(r=setTimeout(function(){o(e),r=-1},u._throttle)):o(e)},s(u._applyDataApi),s(window).bind("load",function(t){u._update(!1,t)}),s(window).bind("resize orientationchange",function(t){u._update(!0,t)})});