3 lines
237 KiB
JavaScript
Executable File
3 lines
237 KiB
JavaScript
Executable File
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(E,e){"use strict";function g(e){return null!=e&&e===e.window}var t=[],i=Object.getPrototypeOf,a=t.slice,m=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},l=t.push,r=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,s=v.toString,c=s.call(Object),y={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},T=E.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var i,r,o=(n=n||T).createElement("script");if(o.text=e,t)for(i in u)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function h(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!b(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},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(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||b(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(S.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||S.isPlainObject(n)?n:{},r=!1,s[t]=S.extend(c,o,i)):void 0!==i&&(s[t]=i));return s},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e)||(t=i(e))&&("function"!=typeof(n=v.call(t,"constructor")&&t.constructor)||s.call(n)!==c))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(h(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(h(Object(e))?S.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:r.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!=s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(h(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return m(s)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){function f(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320))}function r(){x()}var e,d,w,o,s,p,h,g,_,l,c,x,E,a,T,m,u,v,y,S="sizzle"+ +new Date,b=n.document,C=0,i=0,A=le(),k=le(),O=le(),N=le(),D=function(e,t){return e===t&&(c=!0),0},L={}.hasOwnProperty,t=[],j=t.pop,I=t.push,R=t.push,M=t.slice,P=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",W="[\\x20\\t\\r\\n\\f]",H="(?:\\\\[\\da-fA-F]{1,6}"+W+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+W+"*("+H+")(?:"+W+"*([*^$|!~]?=)"+W+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+W+"*\\]",z=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",B=new RegExp(W+"+","g"),V=new RegExp("^"+W+"+|((?:^|[^\\\\])(?:\\\\.)*)"+W+"+$","g"),$=new RegExp("^"+W+"*,"+W+"*"),U=new RegExp("^"+W+"*([>+~]|"+W+")"+W+"*"),Q=new RegExp(W+"|>"),X=new RegExp(z),Y=new RegExp("^"+H+"$"),G={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+W+"*(even|odd|(([+-]|)(\\d*)n|)"+W+"*(?:([+-]|)"+W+"*(\\d+)|))"+W+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+W+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+W+"*((?:-\\d)?\\d*)"+W+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+W+"?|\\\\([^\\r\\n\\f])","g"),re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=we(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{R.apply(t=M.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){R={apply:t.length?function(e,t){I.apply(e,M.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,n,i){var r,o,s,a,l,c,u,f=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&&(x(t),t=t||E,T)){if(11!==h&&(l=te.exec(e)))if(r=l[1]){if(9===h){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(f&&(s=f.getElementById(r))&&y(t,s)&&s.id===r)return n.push(s),n}else{if(l[2])return R.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&d.getElementsByClassName&&t.getElementsByClassName)return R.apply(n,t.getElementsByClassName(r)),n}if(d.qsa&&!N[e+" "]&&(!m||!m.test(e))&&(1!==h||"object"!==t.nodeName.toLowerCase())){if(u=e,f=t,1===h&&(Q.test(e)||U.test(e))){for((f=ne.test(e)&&ve(t.parentNode)||t)===t&&d.scope||((a=t.getAttribute("id"))?a=a.replace(re,oe):t.setAttribute("id",a=S)),o=(c=p(e)).length;o--;)c[o]=(a?"#"+a:":scope")+" "+be(c[o]);u=c.join(",")}try{return R.apply(n,f.querySelectorAll(u)),n}catch(t){N(e,!0)}finally{a===S&&t.removeAttribute("id")}}}return g(e.replace(V,"$1"),t,n,i)}function le(){var i=[];return function e(t,n){return i.push(t+" ")>w.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function ce(e){return e[S]=!0,e}function ue(e){var t=E.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pe(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&se(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function me(s){return ce(function(o){return o=+o,ce(function(e,t){for(var n,i=s([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=ae.support={},s=ae.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},x=ae.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:b;return i!=E&&9===i.nodeType&&i.documentElement&&(a=(E=i).documentElement,T=!s(E),b!=E&&(n=E.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",r,!1):n.attachEvent&&n.attachEvent("onunload",r)),d.scope=ue(function(e){return a.appendChild(e).appendChild(E.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ue(function(e){return e.appendChild(E.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=ee.test(E.getElementsByClassName),d.getById=ue(function(e){return a.appendChild(e).id=S,!E.getElementsByName||!E.getElementsByName(S).length}),d.getById?(w.filter.ID=function(e){var t=e.replace(ie,f);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&T){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var n=e.replace(ie,f);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&T){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&T)return t.getElementsByClassName(e)},u=[],m=[],(d.qsa=ee.test(E.querySelectorAll))&&(ue(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+W+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+W+"*(?:value|"+q+")"),e.querySelectorAll("[id~="+S+"-]").length||m.push("~="),(t=E.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+W+"*name"+W+"*="+W+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=E.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+W+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(d.matchesSelector=ee.test(v=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ue(function(e){d.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),u.push("!=",z)}),m=m.length&&new RegExp(m.join("|")),u=u.length&&new RegExp(u.join("|")),t=ee.test(a.compareDocumentPosition),y=t||ee.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==E||e.ownerDocument==b&&y(b,e)?-1:t==E||t.ownerDocument==b&&y(b,t)?1:l?P(l,e)-P(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e==E?-1:t==E?1:r?-1:o?1:l?P(l,e)-P(l,t):0;if(r===o)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?he(s[i],a[i]):s[i]==b?-1:a[i]==b?1:0}),E},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(x(e),d.matchesSelector&&T&&!N[t+" "]&&(!u||!u.test(t))&&(!m||!m.test(t)))try{var n=v.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<ae(t,E,null,[e]).length},ae.contains=function(e,t){return(e.ownerDocument||e)!=E&&x(e),y(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=E&&x(e);var n=w.attrHandle[t.toLowerCase()],i=n&&L.call(w.attrHandle,t.toLowerCase())?n(e,t,!T):void 0;return void 0!==i?i:d.attributes||!T?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ae.escape=function(e){return(e+"").replace(re,oe)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,n=[],i=0,r=0;if(c=!d.detectDuplicates,l=!d.sortStable&&e.slice(0),e.sort(D),c){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return l=null,e},o=ae.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(w=ae.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,f),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+W+")"+e+"("+W+"|$)"))&&A(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=ae.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1<t.indexOf(r):"$="===i?r&&t.slice(-r.length)===r:"~="===i?-1<(" "+t.replace(B," ")+" ").indexOf(r):"|="===i&&(t===r||t.slice(0,r.length+1)===r+"-"))}},CHILD:function(p,e,t,g,m){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,s,a,l,c=v!=y?"nextSibling":"previousSibling",u=e.parentNode,f=b&&e.nodeName.toLowerCase(),h=!n&&!b,d=!1;if(u){if(v){for(;c;){for(s=e;s=s[c];)if(b?s.nodeName.toLowerCase()===f:1===s.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&h){for(d=(a=(i=(r=(o=(s=u)[S]||(s[S]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===C&&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===e){r[p]=[C,a,d];break}}else if(h&&(d=a=(i=(r=(o=(s=e)[S]||(s[S]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===C&&i[1]),!1===d)for(;(s=++a&&s&&s[c]||(d=a=0)||l.pop())&&((b?s.nodeName.toLowerCase()!==f:1!==s.nodeType)||!++d||(h&&((r=(o=s[S]||(s[S]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]=[C,d]),s!==e)););return(d-=m)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,s=w.pseudos[e]||w.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return s[S]?s(o):1<s.length?(t=[e,e,"",o],w.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,t){for(var n,i=s(e,o),r=i.length;r--;)e[n=P(e,i[r])]=!(t[n]=i[r])}):function(e){return s(e,0,t)}):s}},pseudos:{not:ce(function(e){var i=[],r=[],a=h(e.replace(V,"$1"));return a[S]?ce(function(e,t,n,i){for(var r,o=a(e,null,i,[]),s=e.length;s--;)(r=o[s])&&(e[s]=!(t[s]=r))}):function(e,t,n){return i[0]=e,a(i,null,n,r),i[0]=null,!r.pop()}}),has:ce(function(t){return function(e){return 0<ae(t,e).length}}),contains:ce(function(t){return t=t.replace(ie,f),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:ce(function(n){return Y.test(n||"")||ae.error("unsupported lang: "+n),n=n.replace(ie,f).toLowerCase(),function(e){var t;do{if(t=T?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:me(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:me(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:me(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})w.pseudos[e]=pe(e);function ye(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function we(a,e,t){var l=e.dir,c=e.next,u=c||l,f=t&&"parentNode"===u,h=i++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||f)return a(e,t,n);return!1}:function(e,t,n){var i,r,o,s=[C,h];if(n){for(;e=e[l];)if((1===e.nodeType||f)&&a(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||f)if(r=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),c&&c===e.nodeName.toLowerCase())e=e[l]||e;else{if((i=r[u])&&i[0]===C&&i[1]===h)return s[2]=i[2];if((r[u]=s)[2]=a(e,t,n))return!0}return!1}}function _e(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function xe(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function Ee(d,p,g,m,v,e){return m&&!m[S]&&(m=Ee(m)),v&&!v[S]&&(v=Ee(v,e)),ce(function(e,t,n,i){var r,o,s,a=[],l=[],c=t.length,u=e||function(e,t,n){for(var i=0,r=t.length;i<r;i++)ae(e,t[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),f=!d||!e&&p?u:xe(u,a,d,n,i),h=g?v||(e?d:c||m)?[]:t:f;if(g&&g(f,h,n,i),m)for(r=xe(h,l),m(r,[],n,i),o=r.length;o--;)(s=r[o])&&(h[l[o]]=!(f[l[o]]=s));if(e){if(v||d){if(v){for(r=[],o=h.length;o--;)(s=h[o])&&r.push(f[o]=s);v(null,h=[],r,i)}for(o=h.length;o--;)(s=h[o])&&-1<(r=v?P(e,s):a[o])&&(e[r]=!(t[r]=s))}}else h=xe(h===t?h.splice(c,h.length):h),v?v(null,t,h,i):R.apply(t,h)})}function Te(e){for(var r,t,n,i=e.length,o=w.relative[e[0].type],s=o||w.relative[" "],a=o?1:0,l=we(function(e){return e===r},s,!0),c=we(function(e){return-1<P(r,e)},s,!0),u=[function(e,t,n){var i=!o&&(n||t!==_)||((r=t).nodeType?l:c)(e,t,n);return r=null,i}];a<i;a++)if(t=w.relative[e[a].type])u=[we(_e(u),t)];else{if((t=w.filter[e[a].type].apply(null,e[a].matches))[S]){for(n=++a;n<i&&!w.relative[e[n].type];n++);return Ee(1<a&&_e(u),1<a&&be(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(V,"$1"),t,a<n&&Te(e.slice(a,n)),n<i&&Te(e=e.slice(n)),n<i&&be(e))}u.push(t)}return _e(u)}return ye.prototype=w.filters=w.pseudos,w.setFilters=new ye,p=ae.tokenize=function(e,t){var n,i,r,o,s,a,l,c=k[e+" "];if(c)return t?0:c.slice(0);for(s=e,a=[],l=w.preFilter;s;){for(o in n&&!(i=$.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(V," ")}),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 t?s.length:s?ae.error(e):k(e,a).slice(0)},h=ae.compile=function(e,t){var n,m,v,y,b,i,r=[],o=[],s=O[e+" "];if(!s){for(n=(t=t||p(e)).length;n--;)(s=Te(t[n]))[S]?r.push(s):o.push(s);(s=O(e,(m=o,y=0<(v=r).length,b=0<m.length,i=function(e,t,n,i,r){var o,s,a,l=0,c="0",u=e&&[],f=[],h=_,d=e||b&&w.find.TAG("*",r),p=C+=null==h?1:Math.random()||.1,g=d.length;for(r&&(_=t==E||t||r);c!==g&&null!=(o=d[c]);c++){if(b&&o){for(s=0,t||o.ownerDocument==E||(x(o),n=!T);a=m[s++];)if(a(o,t||E,n)){i.push(o);break}r&&(C=p)}y&&((o=!a&&o)&&l--,e&&u.push(o))}if(l+=c,y&&c!==l){for(s=0;a=v[s++];)a(u,f,t,n);if(e){if(0<l)for(;c--;)u[c]||f[c]||(f[c]=j.call(i));f=xe(f)}R.apply(i,f),r&&!e&&0<f.length&&1<l+v.length&&ae.uniqueSort(i)}return r&&(C=p,_=h),u},y?ce(i):i))).selector=e}return s},g=ae.select=function(e,t,n,i){var r,o,s,a,l,c="function"==typeof e&&e,u=!i&&p(e=c.selector||e);if(n=n||[],1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(s=o[0]).type&&9===t.nodeType&&T&&w.relative[o[1].type]){if(!(t=(w.find.ID(s.matches[0].replace(ie,f),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=G.needsContext.test(e)?0:o.length;r--&&(s=o[r],!w.relative[a=s.type]);)if((l=w.find[a])&&(i=l(s.matches[0].replace(ie,f),ne.test(o[0].type)&&ve(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&be(o)))return R.apply(n,i),n;break}}return(c||h(e,u))(i,t,!T,n,!t||ne.test(e)&&ve(t.parentNode)||t),n},d.sortStable=S.split("").sort(D).join("")===S,d.detectDuplicates=!!c,x(),d.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(E.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||fe(q,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),ae}(E);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;function p(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&S(e).is(n))break;i.push(e)}return i}function x(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var C=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var k=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,n,i){return b(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?S.grep(e,function(e){return e===n!==i}):"string"!=typeof n?S.grep(e,function(e){return-1<r.call(n,e)!==i}):S.filter(n,e,i)}S.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<i;t++)if(S.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)S.find(e,r[t],n);return 1<i?S.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&C.test(e)?S(e):e||[],!1).length}});var N,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||N,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:D.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),k.test(i[1])&&S.isPlainObject(t))for(i in t)b(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=T.getElementById(i[2]))&&(this[0]=r,this.length=1),this}).prototype=S.fn,N=S(T);var L=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&S(e);if(!C.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?r.call(S(e),this[0]):r.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return p(e,"parentNode")},parentsUntil:function(e,t,n){return p(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return p(e,"nextSibling")},prevAll:function(e){return p(e,"previousSibling")},nextUntil:function(e,t,n){return p(e,"nextSibling",n)},prevUntil:function(e,t,n){return p(e,"previousSibling",n)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(i,r){S.fn[i]=function(e,t){var n=S.map(this,r,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(j[i]||S.uniqueSort(n),L.test(i)&&n.reverse()),this.pushStack(n)}});var R=/[^\x20\t\r\n\f]+/g;function M(e){return e}function P(e){throw e}function q(e,t,n,i){var r;try{e&&b(r=e.promise)?r.call(e).done(t).fail(n):e&&b(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(i){var n;i="string"==typeof i?(n={},S.each(i.match(R)||[],function(e,t){n[t]=!0}),n):S.extend({},i);function r(){for(s=s||i.once,t=o=!0;l.length;c=-1)for(e=l.shift();++c<a.length;)!1===a[c].apply(e[0],e[1])&&i.stopOnFalse&&(c=a.length,e=!1);i.memory||(e=!1),o=!1,s&&(a=e?[]:"")}var o,e,t,s,a=[],l=[],c=-1,u={add:function(){return a&&(e&&!o&&(c=a.length-1,l.push(e)),function n(e){S.each(e,function(e,t){b(t)?i.unique&&u.has(t)||a.push(t):t&&t.length&&"string"!==_(t)&&n(t)})}(arguments),e&&!o&&r()),this},remove:function(){return S.each(arguments,function(e,t){for(var n;-1<(n=S.inArray(t,a,n));)a.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<S.inArray(e,a):0<a.length},empty:function(){return a=a&&[],this},disable:function(){return s=l=[],a=e="",this},disabled:function(){return!a},lock:function(){return s=l=[],e||o||(a=e=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),o||r()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!t}};return u},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],r="pending",s={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var r=arguments;return S.Deferred(function(i){S.each(o,function(e,t){var n=b(r[t[4]])&&r[t[4]];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&b(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),r=null}).promise()},then:function(t,n,i){var l=0;function c(r,o,s,a){return function(){function e(){var e,t;if(!(r<l)){if((e=s.apply(n,i))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,b(t)?a?t.call(e,c(l,o,M,a),c(l,o,P,a)):(l++,t.call(e,c(l,o,M,a),c(l,o,P,a),c(l,o,M,o.notifyWith))):(s!==M&&(n=void 0,i=[e]),(a||o.resolveWith)(n,i))}}var n=this,i=arguments,t=a?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),l<=r+1&&(s!==P&&(n=void 0,i=[e]),o.rejectWith(n,i))}};r?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),E.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(c(0,e,b(i)?i:M,e.notifyWith)),o[1][3].add(c(0,e,b(t)?t:M)),o[2][3].add(c(0,e,b(n)?n:P))}).promise()},promise:function(e){return null!=e?S.extend(e,s):s}},a={};return S.each(o,function(e,t){var n=t[2],i=t[5];s[t[1]]=n.add,i&&n.add(function(){r=i},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t){return function(e){r[t]=this,o[t]=1<arguments.length?a.call(arguments):e,--n||s.resolveWith(r,o)}}var n=arguments.length,i=n,r=Array(i),o=a.call(arguments),s=S.Deferred();if(n<=1&&(q(e,s.done(t(i)).resolve,s.reject,!n),"pending"===s.state()||b(o[i]&&o[i].then)))return s.then();for(;i--;)q(o[i],t(i),s.reject);return s.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){E.console&&E.console.warn&&e&&W.test(e.name)&&E.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){E.setTimeout(function(){throw e})};var H=S.Deferred();function F(){T.removeEventListener("DOMContentLoaded",F),E.removeEventListener("load",F),S.ready()}S.fn.ready=function(e){return H.then(e).catch(function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||H.resolveWith(T,[S])}}),S.ready.then=H.then,"complete"===T.readyState||"loading"!==T.readyState&&!T.documentElement.doScroll?E.setTimeout(S.ready):(T.addEventListener("DOMContentLoaded",F),E.addEventListener("load",F));var z=function(e,t,n,i,r,o,s){var a=0,l=e.length,c=null==n;if("object"===_(n))for(a in r=!0,n)z(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,b(i)||(s=!0),c&&(t=s?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(S(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):o},B=/^-ms-/,V=/-([a-z])/g;function $(e,t){return t.toUpperCase()}function U(e){return e.replace(B,"ms-").replace(V,$)}function Q(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function X(){this.expando=S.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[U(t)]=n;else for(i in t)r[U(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][U(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(U):(t=U(t))in i?[t]:t.match(R)||[]).length;for(;n--;)delete i[t[n]]}void 0!==t&&!S.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Y=new X,G=new X,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(e,t,n){var i,r;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:K.test(r)?JSON.parse(r):r)}catch(e){}G.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return G.hasData(e)||Y.hasData(e)},data:function(e,t,n){return G.access(e,t,n)},removeData:function(e,t){G.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,i,r,o=this[0],s=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){G.set(this,n)}):z(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=G.get(o,n))||void 0!==(t=Z(o,n))?t:void 0;this.each(function(){G.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=G.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&0===(i=s[t].name).indexOf("data-")&&(i=U(i.slice(5)),Z(o,i,r[i]));Y.set(o,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){G.remove(this,e)})}}),S.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Y.get(e,t),n&&(!i||Array.isArray(n)?i=Y.access(e,t,S.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),i=n.length,r=n.shift(),o=S._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){S.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--r||o.resolveWith(s,[s])}var i,r=1,o=S.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=Y.get(s[a],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],ie=T.documentElement,re=function(e){return S.contains(e.ownerDocument,e)},oe={composed:!0};ie.getRootNode&&(re=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});function se(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&re(e)&&"none"===S.css(e,"display")}function ae(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return S.css(e,t,"")},l=a(),c=n&&n[3]||(S.cssNumber[t]?"":"px"),u=e.nodeType&&(S.cssNumber[t]||"px"!==c&&+l)&&te.exec(S.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)S.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,S.style(e,t,u+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 le={};function ce(e,t){for(var n,i,r,o,s,a,l=[],c=0,u=e.length;c<u;c++)(i=e[c]).style&&(n=i.style.display,t?("none"===n&&(l[c]=Y.get(i,"display")||null,l[c]||(i.style.display="")),""===i.style.display&&se(i)&&(l[c]=(a=o=r=void 0,o=i.ownerDocument,s=i.nodeName,(a=le[s])||(r=o.body.appendChild(o.createElement(s)),a=S.css(r,"display"),r.parentNode.removeChild(r),"none"===a&&(a="block"),le[s]=a)))):"none"!==n&&(l[c]="none",Y.set(i,"display",n)));for(c=0;c<u;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return ce(this,!0)},hide:function(){return ce(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){se(this)?S(this).show():S(this).hide()})}});var ue,fe,he=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i;ue=T.createDocumentFragment().appendChild(T.createElement("div")),(fe=T.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ue.appendChild(fe),y.checkClone=ue.cloneNode(!0).cloneNode(!0).lastChild.checked,ue.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ue.cloneNode(!0).lastChild.defaultValue,ue.innerHTML="<option></option>",y.option=!!ue.lastChild;var ge={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 me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,i=e.length;n<i;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,y.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function be(e,t,n,i,r){for(var o,s,a,l,c,u,f=t.createDocumentFragment(),h=[],d=0,p=e.length;d<p;d++)if((o=e[d])||0===o)if("object"===_(o))S.merge(h,o.nodeType?[o]:o);else if(ye.test(o)){for(s=s||f.appendChild(t.createElement("div")),a=(de.exec(o)||["",""])[1].toLowerCase(),l=ge[a]||ge._default,s.innerHTML=l[1]+S.htmlPrefilter(o)+l[2],u=l[0];u--;)s=s.lastChild;S.merge(h,s.childNodes),(s=f.firstChild).textContent=""}else h.push(t.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(i&&-1<S.inArray(o,i))r&&r.push(o);else if(c=re(o),s=me(f.appendChild(o),"script"),c&&ve(s),n)for(u=0;o=s[u++];)pe.test(o.type||"")&&n.push(o);return f}var we=/^key/,_e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xe=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function Te(){return!1}function Se(e,t){return e===function(){try{return T.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Ce(e,a,n,i,t[a],o);return e}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=Te;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return S().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=S.guid++)),e.each(function(){S.event.add(this,t,r,i,n)})}function Ae(e,r,o){o?(Y.set(e,r,!1),S.event.add(e,r,{namespace:!1,handler:function(e){var t,n,i=Y.get(this,r);if(1&e.isTrigger&&this[r]){if(i.length)(S.event.special[r]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),Y.set(this,r,i),t=o(this,r),this[r](),i!==(n=Y.get(this,r))||t?Y.set(this,r,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else i.length&&(Y.set(this,r,{value:S.event.trigger(S.extend(i[0],S.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,r)&&S.event.add(e,r,Ee)}S.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,c,u,f,h,d,p,g,m=Y.get(t);if(Q(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&S.find.matchesSelector(ie,r),n.guid||(n.guid=S.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(R)||[""]).length;c--;)d=g=(a=xe.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},u=S.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[d])||((h=l[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,i,p,s)||t.addEventListener&&t.addEventListener(d,s)),f.add&&(f.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),S.event.global[d]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,f,h,d,p,g,m=Y.hasData(e)&&Y.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(d=g=(a=xe.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),d){for(f=S.event.special[d]||{},h=l[d=(i?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,f.remove&&f.remove.call(e,u));s&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,p,m.handle)||S.removeEvent(e,d,m.handle),delete l[d])}else for(d in l)S.event.remove(e,d+t[c],n,i,!0);S.isEmptyObject(l)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=S.event.fix(e),c=(Y.get(this,"events")||Object.create(null))[l.type]||[],u=S.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=S.event.handlers.call(this,l,c),t=0;(r=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((S.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?-1<S(r,this).index(c):S.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return he.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click",Ee),!1},trigger:function(e){var t=this||e;return he.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return he.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.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:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&_e.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Ae(this,e,Se),!1},trigger:function(){return Ae(this,e),!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){S.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=r),t}}}),S.fn.extend({on:function(e,t,n,i){return Ce(this,e,t,n,i)},one:function(e,t,n,i){return Ce(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,S(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){S.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this}});var ke=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,i,r,o,s,a;if(1===t.nodeType){if(Y.hasData(e)&&(a=Y.get(e).events))for(r in Y.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)S.event.add(t,r,a[r][n]);G.hasData(e)&&(o=G.access(e),s=S.extend({},o),G.set(t,s))}}function Re(n,i,r,o){i=m(i);var e,t,s,a,l,c,u=0,f=n.length,h=f-1,d=i[0],p=b(d);if(p||1<f&&"string"==typeof d&&!y.checkClone&&Oe.test(d))return n.each(function(e){var t=n.eq(e);p&&(i[0]=d.call(this,e,t.html())),Re(t,i,r,o)});if(f&&(t=(e=be(i,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=S.map(me(e,"script"),Le)).length;u<f;u++)l=e,u!==h&&(l=S.clone(l,!0,!0),a&&S.merge(s,me(l,"script"))),r.call(n[u],l,u);if(a)for(c=s[s.length-1].ownerDocument,S.map(s,je),u=0;u<a;u++)l=s[u],pe.test(l.type||"")&&!Y.access(l,"globalEval")&&S.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&!l.noModule&&S._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):w(l.textContent.replace(Ne,""),l,c))}return n}function Me(e,t,n){for(var i,r=t?S.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||S.cleanData(me(i)),i.parentNode&&(n&&re(i)&&ve(me(i,"script")),i.parentNode.removeChild(i));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a,l,c,u=e.cloneNode(!0),f=re(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(s=me(u),i=0,r=(o=me(e)).length;i<r;i++)a=o[i],"input"===(c=(l=s[i]).nodeName.toLowerCase())&&he.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(o=o||me(e),s=s||me(u),i=0,r=o.length;i<r;i++)Ie(o[i],s[i]);else Ie(e,u);return 0<(s=me(u,"script")).length&&ve(s,!f&&me(e,"script")),u},cleanData:function(e){for(var t,n,i,r=S.event.special,o=0;void 0!==(n=e[o]);o++)if(Q(n)){if(t=n[Y.expando]){if(t.events)for(i in t.events)r[i]?S.event.remove(n,i):S.removeEvent(n,i,t.handle);n[Y.expando]=void 0}n[G.expando]&&(n[G.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Me(this,e,!0)},remove:function(e){return Me(this,e)},text:function(e){return z(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Re(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(me(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){S.fn[e]=function(e){for(var t,n=[],i=S(e),r=i.length-1,o=0;o<=r;o++)t=o===r?this:this.clone(!0),S(i[o])[s](t),l.apply(n,t.get());return this.pushStack(n)}});function Pe(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i}var qe,We,He,Fe,ze,Be,Ve,$e,Ue=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=E),t.getComputedStyle(e)},Xe=new RegExp(ne.join("|"),"i");function Ye(e,t,n){var i,r,o,s,a=e.style;return(n=n||Qe(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||re(e)||(s=S.style(e,t)),!y.pixelBoxStyles()&&Ue.test(s)&&Xe.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function Ke(){if($e){Ve.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",$e.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(Ve).appendChild($e);var e=E.getComputedStyle($e);qe="1%"!==e.top,Be=12===Je(e.marginLeft),$e.style.right="60%",Fe=36===Je(e.right),We=36===Je(e.width),$e.style.position="absolute",He=12===Je($e.offsetWidth/3),ie.removeChild(Ve),$e=null}}function Je(e){return Math.round(parseFloat(e))}Ve=T.createElement("div"),($e=T.createElement("div")).style&&($e.style.backgroundClip="content-box",$e.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===$e.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return Ke(),We},pixelBoxStyles:function(){return Ke(),Fe},pixelPosition:function(){return Ke(),qe},reliableMarginLeft:function(){return Ke(),Be},scrollboxSize:function(){return Ke(),He},reliableTrDimensions:function(){var e,t,n,i;return null==ze&&(e=T.createElement("table"),t=T.createElement("tr"),n=T.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",ie.appendChild(e).appendChild(t).appendChild(n),i=E.getComputedStyle(t),ze=3<parseInt(i.height),ie.removeChild(e)),ze}}));var Ze=["Webkit","Moz","ms"],et=T.createElement("div").style,tt={};function nt(e){return S.cssProps[e]||tt[e]||(e in et?e:tt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in et)return e}(e)||e)}var it=/^(none|table(?!-c[ea]).+)/,rt=/^--/,ot={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function at(e,t,n){var i=te.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function lt(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=S.css(e,n+ne[s],!0,r)),i?("content"===n&&(l-=S.css(e,"padding"+ne[s],!0,r)),"margin"!==n&&(l-=S.css(e,"border"+ne[s]+"Width",!0,r))):(l+=S.css(e,"padding"+ne[s],!0,r),"padding"!==n?l+=S.css(e,"border"+ne[s]+"Width",!0,r):a+=S.css(e,"border"+ne[s]+"Width",!0,r));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function ct(e,t,n){var i=Qe(e),r=(!y.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,i),o=r,s=Ye(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(s)){if(!n)return s;s="auto"}return(!y.boxSizingReliable()&&r||!y.reliableTrDimensions()&&A(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===S.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===S.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+lt(e,t,n||(r?"border":"content"),o,i,s)+"px"}function ut(e,t,n,i,r){return new ut.prototype.init(e,t,n,i,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ye(e,"opacity");return""===n?"1":n}}}},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(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=U(t),l=rt.test(t),c=e.style;if(l||(t=nt(a)),s=S.cssHooks[t]||S.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];"string"==(o=typeof n)&&(r=te.exec(n))&&r[1]&&(n=ae(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(S.cssNumber[a]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,s,a=U(t);return rt.test(t)||(t=nt(a)),(s=S.cssHooks[t]||S.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=Ye(e,t,i)),"normal"===r&&t in st&&(r=st[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),S.each(["height","width"],function(e,l){S.cssHooks[l]={get:function(e,t,n){if(t)return!it.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,l,n):Pe(e,ot,function(){return ct(e,l,n)})},set:function(e,t,n){var i,r=Qe(e),o=!y.scrollboxSize()&&"absolute"===r.position,s=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,r),a=n?lt(e,l,n,s,r):0;return s&&o&&(a-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(r[l])-lt(e,l,"border",!1,r)-.5)),a&&(i=te.exec(t))&&"px"!==(i[3]||"px")&&(e.style[l]=t,t=S.css(e,l)),at(0,t,a)}}}),S.cssHooks.marginLeft=Ge(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-Pe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(r,o){S.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+ne[t]+o]=i[t]||i[t-2]||i[0];return n}},"margin"!==r&&(S.cssHooks[r+o].set=at)}),S.fn.extend({css:function(e,t){return z(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=Qe(e),r=t.length;s<r;s++)o[t[s]]=S.css(e,t[s],!1,i);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=ut).prototype={constructor:ut,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=ut.propHooks[this.prop];return e&&e.get?e.get(this):ut.propHooks._default.get(this)},run:function(e){var t,n=ut.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ut.propHooks._default.set(this),this}}).init.prototype=ut.prototype,(ut.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[nt(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=ut.prototype.init,S.fx.step={};var ft,ht,dt,pt,gt=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function vt(){ht&&(!1===T.hidden&&E.requestAnimationFrame?E.requestAnimationFrame(vt):E.setTimeout(vt,S.fx.interval),S.fx.tick())}function yt(){return E.setTimeout(function(){ft=void 0}),ft=Date.now()}function bt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=ne[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function wt(e,t,n){for(var i,r=(_t.tweeners[t]||[]).concat(_t.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function _t(o,e,t){var n,s,i=0,r=_t.prefilters.length,a=S.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=ft||yt(),t=Math.max(0,c.startTime+c.duration-e),n=1-(t/c.duration||0),i=0,r=c.tweens.length;i<r;i++)c.tweens[i].run(n);return a.notifyWith(o,[c,n,t]),n<1&&r?t:(r||a.notifyWith(o,[c,1,0]),a.resolveWith(o,[c]),!1)},c=a.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:ft||yt(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var t=0,n=e?c.tweens.length:0;if(s)return this;for(s=!0;t<n;t++)c.tweens[t].run(1);return e?(a.notifyWith(o,[c,1,0]),a.resolveWith(o,[c,e])):a.rejectWith(o,[c,e]),this}}),u=c.props;for(function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=U(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=S.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);i<r;i++)if(n=_t.prefilters[i].call(c,o,u,c.opts))return b(n.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return S.map(u,wt,c),b(c.opts.start)&&c.opts.start.call(o,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(l,{elem:o,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(_t,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ae(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,r=(e=b(e)?(t=e,["*"]):e.match(R)).length;i<r;i++)n=e[i],_t.tweeners[n]=_t.tweeners[n]||[],_t.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,l,c,u,f="width"in t||"height"in t,h=this,d={},p=e.style,g=e.nodeType&&se(e),m=Y.get(e,"fxshow");for(i in n.queue||(null==(s=S._queueHooks(e,"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--,S.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],gt.test(r)){if(delete t[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}d[i]=m&&m[i]||S.style(e,i)}if((l=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(i in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=Y.get(e,"display")),"none"===(u=S.css(e,"display"))&&(c?u=c:(ce([e],!0),c=e.style.display||c,u=S.css(e,"display"),ce([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===S.css(e,"float")&&(l||(h.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,d)l||(m?"hidden"in m&&(g=m.hidden):m=Y.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&ce([e],!0),h.done(function(){for(i in g||ce([e]),Y.remove(e,"fxshow"),d)S.style(e,i,d[i])})),l=wt(g?m[i]:0,i,h),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?_t.prefilters.unshift(e):_t.prefilters.push(e)}}),S.speed=function(e,t,n){var i=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||b(e)&&e,duration:e,easing:n&&t||t&&!b(t)&&t};return S.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in S.fx.speeds?i.duration=S.fx.speeds[i.duration]:i.duration=S.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){b(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(e,t,n,i){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function r(){var e=_t(this,S.extend({},t),s);(o||Y.get(this,"finish"))&&e.stop(!0)}var o=S.isEmptyObject(t),s=S.speed(e,n,i);return r.finish=r,o||!1===s.queue?this.each(r):this.queue(s.queue,r)},stop:function(r,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof r&&(o=e,e=r,r=void 0),e&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=S.timers,i=Y.get(this);if(t)i[t]&&i[t].stop&&s(i[t]);else for(t in i)i[t]&&i[t].stop&&mt.test(t)&&s(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,r)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=Y.get(this),n=t[s+"queue"],i=t[s+"queueHooks"],r=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===s&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,i){var r=S.fn[i];S.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(bt(i,!0),e,t,n)}}),S.each({slideDown:bt("show"),slideUp:bt("hide"),slideToggle:bt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){S.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),ft=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ht||(ht=!0,vt())},S.fx.stop=function(){ht=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(i,e){return i=S.fx&&S.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=E.setTimeout(e,i);t.stop=function(){E.clearTimeout(n)}})},dt=T.createElement("input"),pt=T.createElement("select").appendChild(T.createElement("option")),dt.type="checkbox",y.checkOn=""!==dt.value,y.optSelected=pt.selected,(dt=T.createElement("input")).value="t",dt.type="radio",y.radioValue="t"===dt.value;var xt,Et=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return z(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(r=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):!(r&&"get"in r&&null!==(i=r.get(e,t)))&&null==(i=S.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(R);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var s=Et[t]||S.find.attr;Et[t]=function(e,t,n){var i,r,o=t.toLowerCase();return n||(r=Et[o],Et[o]=i,i=null!=s(e,t,n)?o:null,Et[o]=r),i}});var Tt=/^(?:input|select|textarea|button)$/i,St=/^(?:a|area)$/i;function Ct(e){return(e.match(R)||[]).join(" ")}function At(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}S.fn.extend({prop:function(e,t){return z(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,i,r,o,s,a,l=0;if(b(t))return this.each(function(e){S(this).addClass(t.call(this,e,At(this)))});if((e=kt(t)).length)for(;n=this[l++];)if(r=At(n),i=1===n.nodeType&&" "+Ct(r)+" "){for(s=0;o=e[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=Ct(i))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,r,o,s,a,l=0;if(b(t))return this.each(function(e){S(this).removeClass(t.call(this,e,At(this)))});if(!arguments.length)return this.attr("class","");if((e=kt(t)).length)for(;n=this[l++];)if(r=At(n),i=1===n.nodeType&&" "+Ct(r)+" "){for(s=0;o=e[s++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(a=Ct(i))&&n.setAttribute("class",a)}return this},toggleClass:function(r,t){var o=typeof r,s="string"==o||Array.isArray(r);return"boolean"==typeof t&&s?t?this.addClass(r):this.removeClass(r):b(r)?this.each(function(e){S(this).toggleClass(r.call(this,e,At(this),t),t)}):this.each(function(){var e,t,n,i;if(s)for(t=0,n=S(this),i=kt(r);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==r&&"boolean"!=o||((e=At(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==r&&Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+Ct(At(n))+" ").indexOf(t))return!0;return!1}});var Ot=/\r/g;S.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=b(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(i=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):t?(i=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(Ot,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:Ct(S.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=S.makeArray(t),s=r.length;s--;)((i=r[s]).selected=-1<S.inArray(S.valHooks.option.get(i),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},y.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in E;function Nt(e){e.stopPropagation()}var Dt=/^(?:focusinfocus|focusoutblur)$/;S.extend(S.event,{trigger:function(e,t,n,i){var r,o,s,a,l,c,u,f,h=[n||T],d=v.call(e,"type")?e.type:e,p=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=s=n=n||T,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),l=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),u=S.event.special[d]||{},i||!u.trigger||!1!==u.trigger.apply(n,t))){if(!i&&!u.noBubble&&!g(n)){for(a=u.delegateType||d,Dt.test(a+d)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(n.ownerDocument||T)&&h.push(s.defaultView||s.parentWindow||E)}for(r=0;(o=h[r++])&&!e.isPropagationStopped();)f=o,e.type=1<r?a:u.bindType||d,(c=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&c.apply(o,t),(c=l&&o[l])&&c.apply&&Q(o)&&(e.result=c.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,i||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),t)||!Q(n)||l&&b(n[d])&&!g(n)&&((s=n[l])&&(n[l]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),S.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var i=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(i,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,i){function r(e){S.event.simulate(i,e.target,S.event.fix(e))}S.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,i);t||e.addEventListener(n,r,!0),Y.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,i)-1;t?Y.access(e,i,t):(e.removeEventListener(n,r,!0),Y.remove(e,i))}}});var Lt=E.location,jt={guid:Date.now()},It=/\?/;S.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new E.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+e),t};var Rt=/\[\]$/,Mt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,qt=/^(?:input|select|textarea|keygen)/i;function Wt(n,e,i,r){var t;if(Array.isArray(e))S.each(e,function(e,t){i||Rt.test(n)?r(n,t):Wt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,r)});else if(i||"object"!==_(e))r(n,e);else for(t in e)Wt(n+"["+t+"]",e[t],i,r)}S.param=function(e,t){function n(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)}var i,r=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){n(this.name,this.value)});else for(i in e)Wt(i,e[i],t,n);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&qt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}}):{name:t.name,value:n.replace(Mt,"\r\n")}}).get()}});var Ht=/%20/g,Ft=/#.*$/,zt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:GET|HEAD)$/,$t=/^\/\//,Ut={},Qt={},Xt="*/".concat("*"),Yt=T.createElement("a");function Gt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(R)||[];if(b(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Kt(t,r,o,s){var a={},l=t===Qt;function c(e){var i;return a[e]=!0,S.each(t[e]||[],function(e,t){var n=t(r,o,s);return"string"!=typeof n||l||a[n]?l?!(i=n):void 0:(r.dataTypes.unshift(n),c(n),!1)}),i}return c(r.dataTypes[0])||!a["*"]&&c("*")}function Jt(e,t){var n,i,r=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i=i||{})[n]=t[n]);return i&&S.extend(!0,e,i),e}Yt.href=Lt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Lt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,S.ajaxSettings),t):Jt(S.ajaxSettings,e)},ajaxPrefilter:Gt(Ut),ajaxTransport:Gt(Qt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,f,h,n,d,i,p,g,r,o,m=S.ajaxSetup({},t),v=m.context||m,y=m.context&&(v.nodeType||v.jquery)?S(v):S.event,b=S.Deferred(),w=S.Callbacks("once memory"),_=m.statusCode||{},s={},a={},l="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(p){if(!n)for(n={};t=Bt.exec(h);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?h:null},setRequestHeader:function(e,t){return null==p&&(e=a[e.toLowerCase()]=a[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==p&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)x.always(e[x.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||l;return u&&u.abort(t),c(0,t),this}};if(b.promise(x),m.url=((e||m.url||Lt.href)+"").replace($t,Lt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(R)||[""],null==m.crossDomain){i=T.createElement("a");try{i.href=m.url,i.href=i.href,m.crossDomain=Yt.protocol+"//"+Yt.host!=i.protocol+"//"+i.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=S.param(m.data,m.traditional)),Kt(Ut,m,t,x),p)return x;for(r in(g=S.event&&m.global)&&0==S.active++&&S.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Vt.test(m.type),f=m.url.replace(Ft,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Ht,"+")):(o=m.url.slice(f.length),m.data&&(m.processData||"string"==typeof m.data)&&(f+=(It.test(f)?"&":"?")+m.data,delete m.data),!1===m.cache&&(f=f.replace(zt,"$1"),o=(It.test(f)?"&":"?")+"_="+jt.guid+++o),m.url=f+o),m.ifModified&&(S.lastModified[f]&&x.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&x.setRequestHeader("If-None-Match",S.etag[f])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Xt+"; q=0.01":""):m.accepts["*"]),m.headers)x.setRequestHeader(r,m.headers[r]);if(m.beforeSend&&(!1===m.beforeSend.call(v,x,m)||p))return x.abort();if(l="abort",w.add(m.complete),x.done(m.success),x.fail(m.error),u=Kt(Qt,m,t,x)){if(x.readyState=1,g&&y.trigger("ajaxSend",[x,m]),p)return x;m.async&&0<m.timeout&&(d=E.setTimeout(function(){x.abort("timeout")},m.timeout));try{p=!1,u.send(s,c)}catch(e){if(p)throw e;c(-1,e)}}else c(-1,"No Transport");function c(e,t,n,i){var r,o,s,a,l,c=t;p||(p=!0,d&&E.clearTimeout(d),u=void 0,h=i||"",x.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.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]||e.converters[r+" "+l[0]]){o=r;break}s=s||r}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(m,x,n)),!r&&-1<S.inArray("script",m.dataTypes)&&(m.converters["text script"]=function(){}),a=function(e,t,n,i){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.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&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(m,a,x,r),r?(m.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(S.lastModified[f]=l),(l=x.getResponseHeader("etag"))&&(S.etag[f]=l)),204===e||"HEAD"===m.type?c="nocontent":304===e?c="notmodified":(c=a.state,o=a.data,r=!(s=a.error))):(s=c,!e&&c||(c="error",e<0&&(e=0))),x.status=e,x.statusText=(t||c)+"",r?b.resolveWith(v,[o,c,x]):b.rejectWith(v,[x,c,s]),x.statusCode(_),_=void 0,g&&y.trigger(r?"ajaxSuccess":"ajaxError",[x,m,r?o:s]),w.fireWith(v,[x,c]),g&&(y.trigger("ajaxComplete",[x,m]),--S.active||S.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,r){S[r]=function(e,t,n,i){return b(t)&&(i=i||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:r,dataType:i,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return b(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=b(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new E.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},en=S.ajaxSettings.xhr();y.cors=!!en&&"withCredentials"in en,y.ajax=en=!!en,S.ajaxTransport(function(r){var o,s;if(y.cors||en&&!r.crossDomain)return{send:function(e,t){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||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(Zt[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&&E.setTimeout(function(){o&&s()})},o=o("abort");try{i.send(r.hasContent&&r.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),T.head.appendChild(i[0])},abort:function(){r&&r()}}});var tn,nn=[],rn=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=nn.pop()||S.expando+"_"+jt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,s=!1!==e.jsonp&&(rn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(rn,"$1"+i):!1!==e.jsonp&&(e.url+=(It.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||S.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=E[i],E[i]=function(){o=arguments},n.always(function(){void 0===r?S(E).removeProp(i):E[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,nn.push(i)),o&&b(r)&&r(o[0]),o=r=void 0}),"script"}),y.createHTMLDocument=((tn=T.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===tn.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((i=(t=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,t.head.appendChild(i)):t=T),o=!n&&[],(r=k.exec(e))?[t.createElement(r[1])]:(r=be([e],t,o),o&&o.length&&S(o).remove(),S.merge([],r.childNodes)));var i,r,o},S.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return-1<a&&(i=Ct(e.slice(a)),e=e.slice(0,a)),b(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),0<s.length&&S.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?S("<div>").append(S.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=S.css(e,"position"),u=S(e),f={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=S.css(e,"top"),l=S.css(e,"left"),r=("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(s=(i=u.position()).top,i.left):(s=parseFloat(o)||0,parseFloat(l)||0),b(t)&&(t=t.call(e,n,S.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+r),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),u.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===S.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),r.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-S.css(i,"marginTop",!0),left:t.left-r.left-S.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||ie})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;S.fn[t]=function(e){return z(this,function(e,t,n){var i;if(g(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n)return i?i[r]:e[t];i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Ge(y.pixelPosition,function(e,t){if(t)return t=Ye(e,n),Ue.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(s,a){S.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,o){S.fn[o]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return z(this,function(e,t,n){var i;return g(e)?0===o.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+s],i["scroll"+s],e.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?S.css(e,t,r):S.style(e,t,n,r)},a,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.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(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var on=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return i=a.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(a.call(arguments)))}).guid=e.guid=e.guid||S.guid++,r},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=b,S.isWindow=g,S.camelCase=U,S.type=_,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(on,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var sn=E.jQuery,an=E.$;return S.noConflict=function(e){return E.$===S&&(E.$=an),e&&E.jQuery===S&&(E.jQuery=sn),S},void 0===e&&(E.jQuery=E.$=S),S}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap={},e.jQuery)}(this,function(e,p){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}p=p&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p;var g={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=p(e).css("transition-duration"),n=p(e).css("transition-delay"),i=parseFloat(t),r=parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){p(e).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&&g.isElement(o)?"element":null===o||void 0===o?""+o:{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?g.findShadowRoot(e.parentNode):null;var t=e.getRootNode();return t instanceof ShadowRoot?t:null},jQueryDetection:function(){if(void 0===p)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=p.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};g.jQueryDetection(),p.fn.emulateTransitionEnd=function(e){var t=this,n=!1;return p(this).one(g.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||g.triggerTransitionEnd(t)},e),this},p.event.special[g.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(e){if(p(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var t,n="alert",r=p.fn[n],a=((t=l.prototype).close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){p.removeData(this._element,"bs.alert"),this._element=null},t._getRootElement=function(e){var t=g.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n=n||p(e).closest(".alert")[0]},t._triggerCloseEvent=function(e){var t=p.Event("close.bs.alert");return p(e).trigger(t),t},t._removeElement=function(t){var n=this;if(p(t).removeClass("show"),p(t).hasClass("fade")){var e=g.getTransitionDurationFromElement(t);p(t).one(g.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)}else this._destroyElement(t)},t._destroyElement=function(e){p(e).detach().trigger("closed.bs.alert").remove()},l._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data("bs.alert");t||(t=new l(this),e.data("bs.alert",t)),"close"===n&&t[n](this)})},l._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(l,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),l);function l(e){this._element=e}p(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',a._handleDismiss(new a)),p.fn[n]=a._jQueryInterface,p.fn[n].Constructor=a,p.fn[n].noConflict=function(){return p.fn[n]=r,a._jQueryInterface};var c,u=p.fn.button,f=((c=h.prototype).toggle=function(){var e=!0,t=!0,n=p(this._element).closest('[data-toggle="buttons"]')[0];if(n){var i=this._element.querySelector('input:not([type="hidden"])');if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains("active"))e=!1;else{var r=n.querySelector(".active");r&&p(r).removeClass("active")}e&&("checkbox"!==i.type&&"radio"!==i.type||(i.checked=!this._element.classList.contains("active")),p(i).trigger("change")),i.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),e&&p(this._element).toggleClass("active"))},c.dispose=function(){p.removeData(this._element,"bs.button"),this._element=null},h._jQueryInterface=function(t){return this.each(function(){var e=p(this).data("bs.button");e||(e=new h(this),p(this).data("bs.button",e)),"toggle"===t&&e[t]()})},o(h,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),h);function h(e){this._element=e}p(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=e.target,n=t;if(p(t).hasClass("btn")||(t=p(t).closest(".btn")[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var i=t.querySelector('input:not([type="hidden"])');if(i&&(i.hasAttribute("disabled")||i.classList.contains("disabled")))return void e.preventDefault();("LABEL"!==n.tagName||i&&"checkbox"!==i.type)&&f._jQueryInterface.call(p(t),"toggle")}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=p(e.target).closest(".btn")[0];p(t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),p(window).on("load.bs.button.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,n=e.length;t<n;t++){var i=e[t],r=i.querySelector('input:not([type="hidden"])');r.checked||r.hasAttribute("checked")?i.classList.add("active"):i.classList.remove("active")}for(var o=0,s=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;o<s;o++){var a=e[o];"true"===a.getAttribute("aria-pressed")?a.classList.add("active"):a.classList.remove("active")}}),p.fn.button=f._jQueryInterface,p.fn.button.Constructor=f,p.fn.button.noConflict=function(){return p.fn.button=u,f._jQueryInterface};var d,m="carousel",v=p.fn[m],y={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},b={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},w={TOUCH:"touch",PEN:"pen"},_=((d=x.prototype).next=function(){this._isSliding||this._slide("next")},d.nextWhenVisible=function(){!document.hidden&&p(this._element).is(":visible")&&"hidden"!==p(this._element).css("visibility")&&this.next()},d.prev=function(){this._isSliding||this._slide("prev")},d.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(g.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},d.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},d.to=function(e){var t=this;this._activeElement=this._element.querySelector(".active.carousel-item");var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)p(this._element).one("slid.bs.carousel",function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=n<e?"next":"prev";this._slide(i,this._items[e])}},d.dispose=function(){p(this._element).off(".bs.carousel"),p.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},d._getConfig=function(e){return e=s({},y,e),g.typeCheckConfig(m,e,b),e},d._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;(this.touchDeltaX=0)<t&&this.prev(),t<0&&this.next()}},d._addEventListeners=function(){var t=this;this._config.keyboard&&p(this._element).on("keydown.bs.carousel",function(e){return t._keydown(e)}),"hover"===this._config.pause&&p(this._element).on("mouseenter.bs.carousel",function(e){return t.pause(e)}).on("mouseleave.bs.carousel",function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},d._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var t=function(e){n._pointerEvent&&w[e.originalEvent.pointerType.toUpperCase()]?n.touchStartX=e.originalEvent.clientX:n._pointerEvent||(n.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){n._pointerEvent&&w[e.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=e.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(e){return n.cycle(e)},500+n._config.interval))};p(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(e){return e.preventDefault()}),this._pointerEvent?(p(this._element).on("pointerdown.bs.carousel",function(e){return t(e)}),p(this._element).on("pointerup.bs.carousel",function(e){return i(e)}),this._element.classList.add("pointer-event")):(p(this._element).on("touchstart.bs.carousel",function(e){return t(e)}),p(this._element).on("touchmove.bs.carousel",function(e){var t;(t=e).originalEvent.touches&&1<t.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=t.originalEvent.touches[0].clientX-n.touchStartX}),p(this._element).on("touchend.bs.carousel",function(e){return i(e)}))}},d._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},d._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},d._getItemByDirection=function(e,t){var n="next"===e,i="prev"===e,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;var s=(r+("prev"===e?-1:1))%this._items.length;return-1==s?this._items[this._items.length-1]:this._items[s]},d._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(".active.carousel-item")),r=p.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n});return p(this._element).trigger(r),r},d._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));p(t).removeClass("active");var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&p(n).addClass("active")}},d._slide=function(e,t){var n,i,r,o=this,s=this._element.querySelector(".active.carousel-item"),a=this._getItemIndex(s),l=t||s&&this._getItemByDirection(e,s),c=this._getItemIndex(l),u=Boolean(this._interval);if(r="next"===e?(n="carousel-item-left",i="carousel-item-next","left"):(n="carousel-item-right",i="carousel-item-prev","right"),l&&p(l).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(l,r).isDefaultPrevented()&&s&&l){this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l);var f=p.Event("slid.bs.carousel",{relatedTarget:l,direction:r,from:a,to:c});if(p(this._element).hasClass("slide")){p(l).addClass(i),g.reflow(l),p(s).addClass(n),p(l).addClass(n);var h=parseInt(l.getAttribute("data-interval"),10);h?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=h):this._config.interval=this._config.defaultInterval||this._config.interval;var d=g.getTransitionDurationFromElement(s);p(s).one(g.TRANSITION_END,function(){p(l).removeClass(n+" "+i).addClass("active"),p(s).removeClass("active "+i+" "+n),o._isSliding=!1,setTimeout(function(){return p(o._element).trigger(f)},0)}).emulateTransitionEnd(d)}else p(s).removeClass("active"),p(l).addClass("active"),this._isSliding=!1,p(this._element).trigger(f);u&&this.cycle()}},x._jQueryInterface=function(i){return this.each(function(){var e=p(this).data("bs.carousel"),t=s({},y,p(this).data());"object"==typeof i&&(t=s({},t,i));var n="string"==typeof i?i:t.slide;if(e||(e=new x(this,t),p(this).data("bs.carousel",e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&t.ride&&(e.pause(),e.cycle())})},x._dataApiClickHandler=function(e){var t=g.getSelectorFromElement(this);if(t){var n=p(t)[0];if(n&&p(n).hasClass("carousel")){var i=s({},p(n).data(),p(this).data()),r=this.getAttribute("data-slide-to");r&&(i.interval=!1),x._jQueryInterface.call(p(n),i),r&&p(n).data("bs.carousel").to(r),e.preventDefault()}}},o(x,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return y}}]),x);function x(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}p(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",_._dataApiClickHandler),p(window).on("load.bs.carousel.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,n=e.length;t<n;t++){var i=p(e[t]);_._jQueryInterface.call(i,i.data())}}),p.fn[m]=_._jQueryInterface,p.fn[m].Constructor=_,p.fn[m].noConflict=function(){return p.fn[m]=v,_._jQueryInterface};var E,T="collapse",S=p.fn[T],C={toggle:!0,parent:""},A={toggle:"boolean",parent:"(string|element)"},k=((E=O.prototype).toggle=function(){p(this._element).hasClass("show")?this.hide():this.show()},E.show=function(){var e,t,n=this;if(!(this._isTransitioning||p(this._element).hasClass("show")||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains("collapse")})).length&&(e=null),e&&(t=p(e).not(this._selector).data("bs.collapse"))&&t._isTransitioning))){var i=p.Event("show.bs.collapse");if(p(this._element).trigger(i),!i.isDefaultPrevented()){e&&(O._jQueryInterface.call(p(e).not(this._selector),"hide"),t||p(e).data("bs.collapse",null));var r=this._getDimension();p(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[r]=0,this._triggerArray.length&&p(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var o="scroll"+(r[0].toUpperCase()+r.slice(1)),s=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function(){p(n._element).removeClass("collapsing").addClass("collapse show"),n._element.style[r]="",n.setTransitioning(!1),p(n._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(s),this._element.style[r]=this._element[o]+"px"}}},E.hide=function(){var e=this;if(!this._isTransitioning&&p(this._element).hasClass("show")){var t=p.Event("hide.bs.collapse");if(p(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",g.reflow(this._element),p(this._element).addClass("collapsing").removeClass("collapse show");var i=this._triggerArray.length;if(0<i)for(var r=0;r<i;r++){var o=this._triggerArray[r],s=g.getSelectorFromElement(o);null!==s&&(p([].slice.call(document.querySelectorAll(s))).hasClass("show")||p(o).addClass("collapsed").attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[n]="";var a=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function(){e.setTransitioning(!1),p(e._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")}).emulateTransitionEnd(a)}}},E.setTransitioning=function(e){this._isTransitioning=e},E.dispose=function(){p.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},E._getConfig=function(e){return(e=s({},C,e)).toggle=Boolean(e.toggle),g.typeCheckConfig(T,e,A),e},E._getDimension=function(){return p(this._element).hasClass("width")?"width":"height"},E._getParent=function(){var e,n=this;g.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(e.querySelectorAll(t));return p(i).each(function(e,t){n._addAriaAndCollapsedClass(O._getTargetFromElement(t),[t])}),e},E._addAriaAndCollapsedClass=function(e,t){var n=p(e).hasClass("show");t.length&&p(t).toggleClass("collapsed",!n).attr("aria-expanded",n)},O._getTargetFromElement=function(e){var t=g.getSelectorFromElement(e);return t?document.querySelector(t):null},O._jQueryInterface=function(i){return this.each(function(){var e=p(this),t=e.data("bs.collapse"),n=s({},C,e.data(),"object"==typeof i&&i?i:{});if(!t&&n.toggle&&"string"==typeof i&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new O(this,n),e.data("bs.collapse",t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},o(O,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return C}}]),O);function O(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),i=0,r=n.length;i<r;i++){var o=n[i],s=g.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}p(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=p(this),t=g.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(t));p(i).each(function(){var e=p(this),t=e.data("bs.collapse")?"toggle":n.data();k._jQueryInterface.call(e,t)})}),p.fn[T]=k._jQueryInterface,p.fn[T].Constructor=k,p.fn[T].noConflict=function(){return p.fn[T]=S,k._jQueryInterface};var N="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,D=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(N&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}(),L=N&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},D))}};function j(e){return e&&"[object Function]"==={}.toString.call(e)}function I(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function R(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function M(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=I(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:M(R(e))}function P(e){return e&&e.referenceNode?e.referenceNode:e}var q=N&&!(!window.MSInputMethodContext||!document.documentMode),W=N&&/MSIE 10/.test(navigator.userAgent);function H(e){return 11===e?q:10!==e&&q||W}function F(e){if(!e)return document.documentElement;for(var t=H(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===I(n,"position")?F(n):n:e?e.ownerDocument.documentElement:document.documentElement}function z(e){return null!==e.parentNode?z(e.parentNode):e}function B(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s,a,l=o.commonAncestorContainer;if(e!==l&&t!==l||i.contains(r))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&F(s.firstElementChild)!==s?F(l):l;var c=z(e);return c.host?B(c.host,t):B(e,z(t).host)}function V(e,t){var n="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"!==i&&"HTML"!==i)return e[n];var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[n]}function $(e,t){var n="x"===t?"Left":"Top",i="Left"==n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}function U(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],H(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function Q(e){var t=e.body,n=e.documentElement,i=H(10)&&getComputedStyle(n);return{height:U("Height",t,n,i),width:U("Width",t,n,i)}}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=function(e,t,n){return t&&K(e.prototype,t),n&&K(e,n),e},G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function K(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function J(e){return G({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Z(e){var t={};try{if(H(10)){t=e.getBoundingClientRect();var n=V(e,"top"),i=V(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?Q(e.ownerDocument):{},s=o.width||e.clientWidth||r.width,a=o.height||e.clientHeight||r.height,l=e.offsetWidth-s,c=e.offsetHeight-a;if(l||c){var u=I(e);l-=$(u,"x"),c-=$(u,"y"),r.width-=l,r.height-=c}return J(r)}function ee(e,t,n){var i=2<arguments.length&&void 0!==n&&n,r=H(10),o="HTML"===t.nodeName,s=Z(e),a=Z(t),l=M(e),c=I(t),u=parseFloat(c.borderTopWidth),f=parseFloat(c.borderLeftWidth);i&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=J({top:s.top-a.top-u,left:s.left-a.left-f,width:s.width,height:s.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var d=parseFloat(c.marginTop),p=parseFloat(c.marginLeft);h.top-=u-d,h.bottom-=u-d,h.left-=f-p,h.right-=f-p,h.marginTop=d,h.marginLeft=p}return(r&&!i?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=function(e,t,n){var i=2<arguments.length&&void 0!==n&&n,r=V(t,"top"),o=V(t,"left"),s=i?-1:1;return e.top+=r*s,e.bottom+=r*s,e.left+=o*s,e.right+=o*s,e}(h,t)),h}function te(e){if(!e||!e.parentElement||H())return document.documentElement;for(var t=e.parentElement;t&&"none"===I(t,"transform");)t=t.parentElement;return t||document.documentElement}function ne(e,t,n,i,r){var o=4<arguments.length&&void 0!==r&&r,s={top:0,left:0},a=o?te(e):B(e,P(t));if("viewport"===i)s=function(e,t){var n=1<arguments.length&&void 0!==t&&t,i=e.ownerDocument.documentElement,r=ee(e,i),o=Math.max(i.clientWidth,window.innerWidth||0),s=Math.max(i.clientHeight,window.innerHeight||0),a=n?0:V(i),l=n?0:V(i,"left");return J({top:a-r.top+r.marginTop,left:l-r.left+r.marginLeft,width:o,height:s})}(a,o);else{var l=void 0;"scrollParent"===i?"BODY"===(l=M(R(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===i?e.ownerDocument.documentElement:i;var c=ee(l,a,o);if("HTML"!==l.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===I(t,"position"))return!0;var i=R(t);return!!i&&e(i)}(a))s=c;else{var u=Q(e.ownerDocument),f=u.height,h=u.width;s.top+=c.top-c.marginTop,s.bottom=f+c.top,s.left+=c.left-c.marginLeft,s.right=h+c.left}}var d="number"==typeof(n=n||0);return s.left+=d?n:n.left||0,s.top+=d?n:n.top||0,s.right-=d?n:n.right||0,s.bottom-=d?n:n.bottom||0,s}function ie(e,t,i,n,r,o){var s=5<arguments.length&&void 0!==o?o:0;if(-1===e.indexOf("auto"))return e;var a=ne(i,n,s,r),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(l).map(function(e){return G({key:e},l[e],{area:(t=l[e]).width*t.height});var t}).sort(function(e,t){return t.area-e.area}),u=c.filter(function(e){var t=e.width,n=e.height;return t>=i.clientWidth&&n>=i.clientHeight}),f=0<u.length?u[0].key:c[0].key,h=e.split("-")[1];return f+(h?"-"+h:"")}function re(e,t,n,i){var r=3<arguments.length&&void 0!==i?i:null;return ee(n,r?te(t):B(t,P(n)),r)}function oe(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function se(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function ae(e,t,n){n=n.split("-")[0];var i=oe(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return r[s]=t[s]+t[l]/2-i[l]/2,r[a]=n===a?t[a]-i[c]:t[se(a)],r}function le(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ce(e,n,t){return(void 0===t?e:e.slice(0,function(e,t){if(Array.prototype.findIndex)return e.findIndex(function(e){return e.name===t});var n=le(e,function(e){return e.name===t});return e.indexOf(n)}(e,t))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&j(t)&&(n.offsets.popper=J(n.offsets.popper),n.offsets.reference=J(n.offsets.reference),n=t(n,e))}),n}function ue(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function fe(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],o=r?""+r+n:e;if(void 0!==document.body.style[o])return o}return null}function he(e){var t=e.ownerDocument;return t?t.defaultView:window}function de(){this.state.eventsEnabled||(this.state=function(e,t,n){t.updateBound=n,he(e).addEventListener("resize",t.updateBound,{passive:!0});var i=M(e);return function e(t,n,i,r){var o="BODY"===t.nodeName,s=o?t.ownerDocument.defaultView:t;s.addEventListener(n,i,{passive:!0}),o||e(M(s.parentNode),n,i,r),r.push(s)}(i,"scroll",t.updateBound,t.scrollParents),t.scrollElement=i,t.eventsEnabled=!0,t}(this.reference,(this.options,this.state),this.scheduleUpdate))}function pe(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ge(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&pe(i[e])&&(t="px"),n.style[e]=i[e]+t})}var me=N&&/Firefox/i.test(navigator.userAgent);function ve(e,t,n){var i=le(e,function(e){return e.name===t}),r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var o="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var ye=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],be=ye.slice(3);function we(e,t){var n=1<arguments.length&&void 0!==t&&t,i=be.indexOf(e),r=be.slice(i+1).concat(be.slice(0,i));return n?r.reverse():r}var _e={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:X({},l,o[l]),end:X({},l,o[l]+o[c]-s[c])};e.offsets.popper=G({},s,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,i=t.offset,r=e.placement,o=e.offsets,s=o.popper,a=o.reference,l=r.split("-")[0];return n=pe(+i)?[+i,0]:function(e,r,o,t){var s=[0,0],a=-1!==["right","left"].indexOf(t),n=e.split(/(\+|\-)/).map(function(e){return e.trim()}),i=n.indexOf(le(n,function(e){return-1!==e.search(/,|\s/)}));n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==i?[n.slice(0,i).concat([n[i].split(l)[0]]),[n[i].split(l)[1]].concat(n.slice(i+1))]:[n];return(c=c.map(function(e,t){var n=(1===t?!a:a)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return e;if(0!==s.indexOf("%"))return"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o;var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return J(a)[t]/100*o}(e,n,r,o)})})).forEach(function(n,i){n.forEach(function(e,t){pe(e)&&(s[i]+=e*("-"===n[t-1]?-1:1))})}),s}(i,s,a,l),"left"===l?(s.top+=n[0],s.left-=n[1]):"right"===l?(s.top+=n[0],s.left+=n[1]):"top"===l?(s.left+=n[0],s.top-=n[1]):"bottom"===l&&(s.left+=n[0],s.top+=n[1]),e.popper=s,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||F(e.instance.popper);e.instance.reference===t&&(t=F(t));var n=fe("transform"),r=e.instance.popper.style,o=r.top,s=r.left,a=r[n];r.top="",r.left="",r[n]="";var l=ne(e.instance.popper,e.instance.reference,i.padding,t,e.positionFixed);r.top=o,r.left=s,r[n]=a,i.boundaries=l;var c=i.priority,u=e.offsets.popper,f={primary:function(e){var t=u[e];return u[e]<l[e]&&!i.escapeWithReference&&(t=Math.max(u[e],l[e])),X({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=u[t];return u[e]>l[e]&&!i.escapeWithReference&&(n=Math.min(u[t],l[e]-("right"===e?u.width:u.height))),X({},t,n)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=G({},u,f[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<o(i[l])&&(e.offsets.popper[l]=o(i[l])-n[c]),n[l]>o(i[a])&&(e.offsets.popper[l]=o(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!ve(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,s=o.popper,a=o.reference,l=-1!==["left","right"].indexOf(r),c=l?"height":"width",u=l?"Top":"Left",f=u.toLowerCase(),h=l?"left":"top",d=l?"bottom":"right",p=oe(i)[c];a[d]-p<s[f]&&(e.offsets.popper[f]-=s[f]-(a[d]-p)),a[f]+p>s[d]&&(e.offsets.popper[f]+=a[f]+p-s[d]),e.offsets.popper=J(e.offsets.popper);var g=a[f]+a[c]/2-p/2,m=I(e.instance.popper),v=parseFloat(m["margin"+u]),y=parseFloat(m["border"+u+"Width"]),b=g-e.offsets.popper[f]-v-y;return b=Math.max(Math.min(s[c]-p,b),0),e.arrowElement=i,e.offsets.arrow=(X(n={},f,Math.round(b)),X(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(g,m){if(ue(g.instance.modifiers,"inner"))return g;if(g.flipped&&g.placement===g.originalPlacement)return g;var v=ne(g.instance.popper,g.instance.reference,m.padding,m.boundariesElement,g.positionFixed),y=g.placement.split("-")[0],b=se(y),w=g.placement.split("-")[1]||"",_=[];switch(m.behavior){case"flip":_=[y,b];break;case"clockwise":_=we(y);break;case"counterclockwise":_=we(y,!0);break;default:_=m.behavior}return _.forEach(function(e,t){if(y!==e||_.length===t+1)return g;y=g.placement.split("-")[0],b=se(y);var n=g.offsets.popper,i=g.offsets.reference,r=Math.floor,o="left"===y&&r(n.right)>r(i.left)||"right"===y&&r(n.left)<r(i.right)||"top"===y&&r(n.bottom)>r(i.top)||"bottom"===y&&r(n.top)<r(i.bottom),s=r(n.left)<r(v.left),a=r(n.right)>r(v.right),l=r(n.top)<r(v.top),c=r(n.bottom)>r(v.bottom),u="left"===y&&s||"right"===y&&a||"top"===y&&l||"bottom"===y&&c,f=-1!==["top","bottom"].indexOf(y),h=!!m.flipVariations&&(f&&"start"===w&&s||f&&"end"===w&&a||!f&&"start"===w&&l||!f&&"end"===w&&c),d=!!m.flipVariationsByContent&&(f&&"start"===w&&a||f&&"end"===w&&s||!f&&"start"===w&&c||!f&&"end"===w&&l),p=h||d;(o||u||p)&&(g.flipped=!0,(o||u)&&(y=_[t+1]),p&&(w="end"===w?"start":"start"===w?"end":w),g.placement=y+(w?"-"+w:""),g.offsets.popper=G({},g.offsets.popper,ae(g.instance.popper,g.offsets.reference,g.placement)),g=ce(g.instance.modifiers,g,"flip"))}),g},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),e.placement=se(t),e.offsets.popper=J(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ve(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=le(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=le(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,a,l,c,u,f,h,d,p,g,m,v,y,b,w,_=void 0!==o?o:t.gpuAcceleration,x=F(e.instance.popper),E=Z(x),T={position:r.position},S=(l=e,c=window.devicePixelRatio<2||!me,u=l.offsets,f=u.popper,h=u.reference,d=Math.round,p=Math.floor,g=d(h.width),m=d(f.width),v=-1!==["left","right"].indexOf(l.placement),y=-1!==l.placement.indexOf("-"),w=c?d:O,{left:(b=c?v||y||g%2==m%2?d:p:O)(g%2==1&&m%2==1&&!y&&c?f.left-1:f.left),top:w(f.top),bottom:w(f.bottom),right:b(f.right)}),C="bottom"===n?"top":"bottom",A="right"===i?"left":"right",k=fe("transform");function O(e){return e}if(a="bottom"==C?"HTML"===x.nodeName?-x.clientHeight+S.bottom:-E.height+S.bottom:S.top,s="right"==A?"HTML"===x.nodeName?-x.clientWidth+S.right:-E.width+S.right:S.left,_&&k)T[k]="translate3d("+s+"px, "+a+"px, 0)",T[C]=0,T[A]=0,T.willChange="transform";else{var N="bottom"==C?-1:1,D="right"==A?-1:1;T[C]=a*N,T[A]=s*D,T.willChange=C+", "+A}var L={"x-placement":e.placement};return e.attributes=G({},L,e.attributes),e.styles=G({},T,e.styles),e.arrowStyles=G({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return ge(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&ge(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,r){var o=re(r,t,e,n.positionFixed),s=ie(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),ge(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},xe=(Y(Ee,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=re(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=ie(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=ae(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=ce(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,ue(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[fe("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return de.call(this)}},{key:"disableEventListeners",value:function(){return function(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,he(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}.call(this)}}]),Ee);function Ee(e,t){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,Ee),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=L(this.update.bind(this)),this.options=G({},Ee.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(G({},Ee.Defaults.modifiers,i.modifiers)).forEach(function(e){n.options.modifiers[e]=G({},Ee.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return G({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&j(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}xe.Utils=("undefined"!=typeof window?window:global).PopperUtils,xe.placements=ye,xe.Defaults=_e;var Te,Se="dropdown",Ce=p.fn[Se],Ae=new RegExp("38|40|27"),ke={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Oe={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Ne=((Te=De.prototype).toggle=function(){if(!this._element.disabled&&!p(this._element).hasClass("disabled")){var e=p(this._menu).hasClass("show");De._clearMenus(),e||this.show(!0)}},Te.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||p(this._element).hasClass("disabled")||p(this._menu).hasClass("show"))){var t={relatedTarget:this._element},n=p.Event("show.bs.dropdown",t),i=De._getParentFromElement(this._element);if(p(i).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===xe)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var r=this._element;"parent"===this._config.reference?r=i:g.isElement(this._config.reference)&&(r=this._config.reference,void 0!==this._config.reference.jquery&&(r=this._config.reference[0])),"scrollParent"!==this._config.boundary&&p(i).addClass("position-static"),this._popper=new xe(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===p(i).closest(".navbar-nav").length&&p(document.body).children().on("mouseover",null,p.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),p(this._menu).toggleClass("show"),p(i).toggleClass("show").trigger(p.Event("shown.bs.dropdown",t))}}},Te.hide=function(){if(!this._element.disabled&&!p(this._element).hasClass("disabled")&&p(this._menu).hasClass("show")){var e={relatedTarget:this._element},t=p.Event("hide.bs.dropdown",e),n=De._getParentFromElement(this._element);p(n).trigger(t),t.isDefaultPrevented()||(this._popper&&this._popper.destroy(),p(this._menu).toggleClass("show"),p(n).toggleClass("show").trigger(p.Event("hidden.bs.dropdown",e)))}},Te.dispose=function(){p.removeData(this._element,"bs.dropdown"),p(this._element).off(".bs.dropdown"),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},Te.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},Te._addEventListeners=function(){var t=this;p(this._element).on("click.bs.dropdown",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},Te._getConfig=function(e){return e=s({},this.constructor.Default,p(this._element).data(),e),g.typeCheckConfig(Se,e,this.constructor.DefaultType),e},Te._getMenuElement=function(){if(!this._menu){var e=De._getParentFromElement(this._element);e&&(this._menu=e.querySelector(".dropdown-menu"))}return this._menu},Te._getPlacement=function(){var e=p(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=p(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":p(this._menu).hasClass("dropdown-menu-right")&&(t="bottom-end"),t},Te._detectNavbar=function(){return 0<p(this._element).closest(".navbar").length},Te._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},Te._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),s({},e,this._config.popperConfig)},De._jQueryInterface=function(t){return this.each(function(){var e=p(this).data("bs.dropdown");if(e||(e=new De(this,"object"==typeof t?t:null),p(this).data("bs.dropdown",e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},De._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),n=0,i=t.length;n<i;n++){var r=De._getParentFromElement(t[n]),o=p(t[n]).data("bs.dropdown"),s={relatedTarget:t[n]};if(e&&"click"===e.type&&(s.clickEvent=e),o){var a=o._menu;if(p(r).hasClass("show")&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&p.contains(r,e.target))){var l=p.Event("hide.bs.dropdown",s);p(r).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),t[n].setAttribute("aria-expanded","false"),o._popper&&o._popper.destroy(),p(a).removeClass("show"),p(r).removeClass("show").trigger(p.Event("hidden.bs.dropdown",s)))}}}},De._getParentFromElement=function(e){var t,n=g.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},De._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||p(e.target).closest(".dropdown-menu").length):!Ae.test(e.which))&&!this.disabled&&!p(this).hasClass("disabled")){var t=De._getParentFromElement(this),n=p(t).hasClass("show");if(n||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!n||n&&(27===e.which||32===e.which))return 27===e.which&&p(t.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void p(this).trigger("click");var i=[].slice.call(t.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(e){return p(e).is(":visible")});if(0!==i.length){var r=i.indexOf(e.target);38===e.which&&0<r&&r--,40===e.which&&r<i.length-1&&r++,r<0&&(r=0),i[r].focus()}}}},o(De,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return ke}},{key:"DefaultType",get:function(){return Oe}}]),De);function De(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}p(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',Ne._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",Ne._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",Ne._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',function(e){e.preventDefault(),e.stopPropagation(),Ne._jQueryInterface.call(p(this),"toggle")}).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}),p.fn[Se]=Ne._jQueryInterface,p.fn[Se].Constructor=Ne,p.fn[Se].noConflict=function(){return p.fn[Se]=Ce,Ne._jQueryInterface};var Le,je=p.fn.modal,Ie={backdrop:!0,keyboard:!0,focus:!0,show:!0},Re={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Me=((Le=Pe.prototype).toggle=function(e){return this._isShown?this.hide():this.show(e)},Le.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){p(this._element).hasClass("fade")&&(this._isTransitioning=!0);var n=p.Event("show.bs.modal",{relatedTarget:e});p(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),p(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',function(e){return t.hide(e)}),p(this._dialog).on("mousedown.dismiss.bs.modal",function(){p(t._element).one("mouseup.dismiss.bs.modal",function(e){p(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},Le.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var n=p.Event("hide.bs.modal");if(p(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=p(this._element).hasClass("fade");if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),p(document).off("focusin.bs.modal"),p(this._element).removeClass("show"),p(this._element).off("click.dismiss.bs.modal"),p(this._dialog).off("mousedown.dismiss.bs.modal"),i){var r=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(r)}else this._hideModal()}}},Le.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return p(e).off(".bs.modal")}),p(document).off("focusin.bs.modal"),p.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},Le.handleUpdate=function(){this._adjustDialog()},Le._getConfig=function(e){return e=s({},Ie,e),g.typeCheckConfig("modal",e,Re),e},Le._triggerBackdropTransition=function(){var e=this;if("static"===this._config.backdrop){var t=p.Event("hidePrevented.bs.modal");if(p(this._element).trigger(t),t.defaultPrevented)return;var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var i=g.getTransitionDurationFromElement(this._dialog);p(this._element).off(g.TRANSITION_END),p(this._element).one(g.TRANSITION_END,function(){e._element.classList.remove("modal-static"),n||p(e._element).one(g.TRANSITION_END,function(){e._element.style.overflowY=""}).emulateTransitionEnd(e._element,i)}).emulateTransitionEnd(i),this._element.focus()}else this.hide()},Le._showElement=function(e){var t=this,n=p(this._element).hasClass("fade"),i=this._dialog?this._dialog.querySelector(".modal-body"):null;function r(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,p(t._element).trigger(o)}this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),p(this._dialog).hasClass("modal-dialog-scrollable")&&i?i.scrollTop=0:this._element.scrollTop=0,n&&g.reflow(this._element),p(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var o=p.Event("shown.bs.modal",{relatedTarget:e});if(n){var s=g.getTransitionDurationFromElement(this._dialog);p(this._dialog).one(g.TRANSITION_END,r).emulateTransitionEnd(s)}else r()},Le._enforceFocus=function(){var t=this;p(document).off("focusin.bs.modal").on("focusin.bs.modal",function(e){document!==e.target&&t._element!==e.target&&0===p(t._element).has(e.target).length&&t._element.focus()})},Le._setEscapeEvent=function(){var t=this;this._isShown?p(this._element).on("keydown.dismiss.bs.modal",function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()}):this._isShown||p(this._element).off("keydown.dismiss.bs.modal")},Le._setResizeEvent=function(){var t=this;this._isShown?p(window).on("resize.bs.modal",function(e){return t.handleUpdate(e)}):p(window).off("resize.bs.modal")},Le._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){p(document.body).removeClass("modal-open"),e._resetAdjustments(),e._resetScrollbar(),p(e._element).trigger("hidden.bs.modal")})},Le._removeBackdrop=function(){this._backdrop&&(p(this._backdrop).remove(),this._backdrop=null)},Le._showBackdrop=function(e){var t=this,n=p(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),p(this._backdrop).appendTo(document.body),p(this._element).on("click.dismiss.bs.modal",function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&t._triggerBackdropTransition()}),n&&g.reflow(this._backdrop),p(this._backdrop).addClass("show"),!e)return;if(!n)return void e();var i=g.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(g.TRANSITION_END,e).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){p(this._backdrop).removeClass("show");var r=function(){t._removeBackdrop(),e&&e()};if(p(this._element).hasClass("fade")){var o=g.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(g.TRANSITION_END,r).emulateTransitionEnd(o)}else r()}else e&&e()},Le._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},Le._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},Le._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},Le._setScrollbar=function(){var r=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),t=[].slice.call(document.querySelectorAll(".sticky-top"));p(e).each(function(e,t){var n=t.style.paddingRight,i=p(t).css("padding-right");p(t).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),p(t).each(function(e,t){var n=t.style.marginRight,i=p(t).css("margin-right");p(t).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")});var n=document.body.style.paddingRight,i=p(document.body).css("padding-right");p(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}p(document.body).addClass("modal-open")},Le._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));p(e).each(function(e,t){var n=p(t).data("padding-right");p(t).removeData("padding-right"),t.style.paddingRight=n||""});var t=[].slice.call(document.querySelectorAll(".sticky-top"));p(t).each(function(e,t){var n=p(t).data("margin-right");void 0!==n&&p(t).css("margin-right",n).removeData("margin-right")});var n=p(document.body).data("padding-right");p(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},Le._getScrollbarWidth=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},Pe._jQueryInterface=function(n,i){return this.each(function(){var e=p(this).data("bs.modal"),t=s({},Ie,p(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new Pe(this,t),p(this).data("bs.modal",e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&&e.show(i)})},o(Pe,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return Ie}}]),Pe);function Pe(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}p(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t,n=this,i=g.getSelectorFromElement(this);i&&(t=document.querySelector(i));var r=p(t).data("bs.modal")?"toggle":s({},p(t).data(),p(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var o=p(t).one("show.bs.modal",function(e){e.isDefaultPrevented()||o.one("hidden.bs.modal",function(){p(n).is(":visible")&&n.focus()})});Me._jQueryInterface.call(p(t),r,this)}),p.fn.modal=Me._jQueryInterface,p.fn.modal.Constructor=Me,p.fn.modal.noConflict=function(){return p.fn.modal=je,Me._jQueryInterface};var qe=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],We=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,He=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Fe(e,s,t){if(0===e.length)return e;if(t&&"function"==typeof t)return t(e);for(var n=(new window.DOMParser).parseFromString(e,"text/html"),a=Object.keys(s),l=[].slice.call(n.body.querySelectorAll("*")),i=function(e,t){var n=l[e],i=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var r=[].slice.call(n.attributes),o=[].concat(s["*"]||[],s[i]||[]);r.forEach(function(e){!function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===qe.indexOf(n)||Boolean(e.nodeValue.match(We)||e.nodeValue.match(He));for(var i=t.filter(function(e){return e instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return 1}(e,o)&&n.removeAttribute(e.nodeName)})},r=0,o=l.length;r<o;r++)i(r);return n.body.innerHTML}var ze,Be="tooltip",Ve=p.fn[Be],$e=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Ue=["sanitize","whiteList","sanitizeFn"],Qe={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Xe={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ye={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ge={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ke=((ze=Je.prototype).enable=function(){this._isEnabled=!0},ze.disable=function(){this._isEnabled=!1},ze.toggleEnabled=function(){this._isEnabled=!this._isEnabled},ze.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=p(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(p(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},ze.dispose=function(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&p(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},ze.show=function(){var t=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var e=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(e);var n=g.findShadowRoot(this.element),i=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var r=this.getTipElement(),o=g.getUID(this.constructor.NAME);r.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&p(r).addClass("fade");var s="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(r).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(r).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new xe(this.element,r,this._getPopperConfig(a)),p(r).addClass("show"),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var c=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,p(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(p(this.tip).hasClass("fade")){var u=g.getTransitionDurationFromElement(this.tip);p(this.tip).one(g.TRANSITION_END,c).emulateTransitionEnd(u)}else c()}},ze.hide=function(e){function t(){"show"!==n._hoverState&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),p(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,i=this.getTipElement(),r=p.Event(this.constructor.Event.HIDE);if(p(this.element).trigger(r),!r.isDefaultPrevented()){if(p(i).removeClass("show"),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,p(this.tip).hasClass("fade")){var o=g.getTransitionDurationFromElement(i);p(i).one(g.TRANSITION_END,t).emulateTransitionEnd(o)}else t();this._hoverState=""}},ze.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},ze.isWithContent=function(){return Boolean(this.getTitle())},ze.addAttachmentClass=function(e){p(this.getTipElement()).addClass("bs-tooltip-"+e)},ze.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},ze.setContent=function(){var e=this.getTipElement();this.setElementContent(p(e.querySelectorAll(".tooltip-inner")),this.getTitle()),p(e).removeClass("fade show")},ze.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Fe(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?p(t).parent().is(e)||e.empty().append(t):e.text(p(t).text())},ze.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e=e||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},ze._getPopperConfig=function(e){var t=this;return s({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},ze._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},ze._getContainer=function(){return!1===this.config.container?document.body:g.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},ze._getAttachment=function(e){return Xe[e.toUpperCase()]},ze._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)p(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if("manual"!==e){var t="hover"===e?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n="hover"===e?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;p(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}}),this._hideModalHandler=function(){i.element&&i.hide()},p(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},ze._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},ze._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||p(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),p(t.getTipElement()).hasClass("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){"show"===t._hoverState&&t.show()},t.config.delay.show):t.show())},ze._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||p(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},ze._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},ze._getConfig=function(e){var t=p(this.element).data();return Object.keys(t).forEach(function(e){-1!==Ue.indexOf(e)&&delete t[e]}),"number"==typeof(e=s({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),g.typeCheckConfig(Be,e,this.constructor.DefaultType),e.sanitize&&(e.template=Fe(e.template,e.whiteList,e.sanitizeFn)),e},ze._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},ze._cleanTipClass=function(){var e=p(this.getTipElement()),t=e.attr("class").match($e);null!==t&&t.length&&e.removeClass(t.join(""))},ze._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},ze._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(p(e).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},Je._jQueryInterface=function(n){return this.each(function(){var e=p(this).data("bs.tooltip"),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new Je(this,t),p(this).data("bs.tooltip",e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},o(Je,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return Ye}},{key:"NAME",get:function(){return Be}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Ge}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Qe}}]),Je);function Je(e,t){if(void 0===xe)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}p.fn[Be]=Ke._jQueryInterface,p.fn[Be].Constructor=Ke,p.fn[Be].noConflict=function(){return p.fn[Be]=Ve,Ke._jQueryInterface};var Ze="popover",et=p.fn[Ze],tt=new RegExp("(^|\\s)bs-popover\\S+","g"),nt=s({},Ke.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),it=s({},Ke.DefaultType,{content:"(string|element|function)"}),rt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},ot=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),(t.prototype.constructor=t).__proto__=n;var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(e){p(this.getTipElement()).addClass("bs-popover-"+e)},r.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},r.setContent=function(){var e=p(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var e=p(this.getTipElement()),t=e.attr("class").match(tt);null!==t&&0<t.length&&e.removeClass(t.join(""))},i._jQueryInterface=function(n){return this.each(function(){var e=p(this).data("bs.popover"),t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),p(this).data("bs.popover",e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return nt}},{key:"NAME",get:function(){return Ze}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return rt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return it}}]),i}(Ke);p.fn[Ze]=ot._jQueryInterface,p.fn[Ze].Constructor=ot,p.fn[Ze].noConflict=function(){return p.fn[Ze]=et,ot._jQueryInterface};var st,at="scrollspy",lt=p.fn[at],ct={offset:10,method:"auto",target:""},ut={offset:"number",method:"string",target:"(string|element)"},ft=((st=ht.prototype).refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",r="auto"===this._config.method?e:this._config.method,o="position"===r?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,n=g.getSelectorFromElement(e);if(n&&(t=document.querySelector(n)),t){var i=t.getBoundingClientRect();if(i.width||i.height)return[p(t)[r]().top+o,n]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},st.dispose=function(){p.removeData(this._element,"bs.scrollspy"),p(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},st._getConfig=function(e){if("string"!=typeof(e=s({},ct,"object"==typeof e&&e?e:{})).target&&g.isElement(e.target)){var t=p(e.target).attr("id");t||(t=g.getUID(at),p(e.target).attr("id",t)),e.target="#"+t}return g.typeCheckConfig(at,e,ut),e},st._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},st._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},st._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},st._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}},st._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),n=p([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass("dropdown-item")?(n.closest(".dropdown").find(".dropdown-toggle").addClass("active"),n.addClass("active")):(n.addClass("active"),n.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),n.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),p(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},st._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains("active")}).forEach(function(e){return e.classList.remove("active")})},ht._jQueryInterface=function(t){return this.each(function(){var e=p(this).data("bs.scrollspy");if(e||(e=new ht(this,"object"==typeof t&&t),p(this).data("bs.scrollspy",e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},o(ht,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return ct}}]),ht);function ht(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on("scroll.bs.scrollspy",function(e){return n._process(e)}),this.refresh(),this._process()}p(window).on("load.bs.scrollspy.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=e.length;t--;){var n=p(e[t]);ft._jQueryInterface.call(n,n.data())}}),p.fn[at]=ft._jQueryInterface,p.fn[at].Constructor=ft,p.fn[at].noConflict=function(){return p.fn[at]=lt,ft._jQueryInterface};var dt,pt=p.fn.tab,gt=((dt=mt.prototype).show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass("active")||p(this._element).hasClass("disabled"))){var e,i,t=p(this._element).closest(".nav, .list-group")[0],r=g.getSelectorFromElement(this._element);if(t){var o="UL"===t.nodeName||"OL"===t.nodeName?"> li > .active":".active";i=(i=p.makeArray(p(t).find(o)))[i.length-1]}var s=p.Event("hide.bs.tab",{relatedTarget:this._element}),a=p.Event("show.bs.tab",{relatedTarget:i});if(i&&p(i).trigger(s),p(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,t);var l=function(){var e=p.Event("hidden.bs.tab",{relatedTarget:n._element}),t=p.Event("shown.bs.tab",{relatedTarget:i});p(i).trigger(e),p(n._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},dt.dispose=function(){p.removeData(this._element,"bs.tab"),this._element=null},dt._activate=function(e,t,n){function i(){return r._transitionComplete(e,o,n)}var r=this,o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?p(t).children(".active"):p(t).find("> li > .active"))[0],s=n&&o&&p(o).hasClass("fade");if(o&&s){var a=g.getTransitionDurationFromElement(o);p(o).removeClass("show").one(g.TRANSITION_END,i).emulateTransitionEnd(a)}else i()},dt._transitionComplete=function(e,t,n){if(t){p(t).removeClass("active");var i=p(t.parentNode).find("> .dropdown-menu .active")[0];i&&p(i).removeClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(p(e).addClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),g.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&p(e.parentNode).hasClass("dropdown-menu")){var r=p(e).closest(".dropdown")[0];if(r){var o=[].slice.call(r.querySelectorAll(".dropdown-toggle"));p(o).addClass("active")}e.setAttribute("aria-expanded",!0)}n&&n()},mt._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data("bs.tab");if(t||(t=new mt(this),e.data("bs.tab",t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},o(mt,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),mt);function mt(e){this._element=e}p(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),gt._jQueryInterface.call(p(this),"show")}),p.fn.tab=gt._jQueryInterface,p.fn.tab.Constructor=gt,p.fn.tab.noConflict=function(){return p.fn.tab=pt,gt._jQueryInterface};var vt,yt=p.fn.toast,bt={animation:"boolean",autohide:"boolean",delay:"number"},wt={animation:!0,autohide:!0,delay:500},_t=((vt=xt.prototype).show=function(){var e=this,t=p.Event("show.bs.toast");if(p(this._element).trigger(t),!t.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){e._element.classList.remove("showing"),e._element.classList.add("show"),p(e._element).trigger("shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))};if(this._element.classList.remove("hide"),g.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var i=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,n).emulateTransitionEnd(i)}else n()}},vt.hide=function(){if(this._element.classList.contains("show")){var e=p.Event("hide.bs.toast");p(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},vt.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),p(this._element).off("click.dismiss.bs.toast"),p.removeData(this._element,"bs.toast"),this._element=null,this._config=null},vt._getConfig=function(e){return e=s({},wt,p(this._element).data(),"object"==typeof e&&e?e:{}),g.typeCheckConfig("toast",e,this.constructor.DefaultType),e},vt._setListeners=function(){var e=this;p(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return e.hide()})},vt._close=function(){function e(){t._element.classList.add("hide"),p(t._element).trigger("hidden.bs.toast")}var t=this;if(this._element.classList.remove("show"),this._config.animation){var n=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},vt._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},xt._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data("bs.toast");if(t||(t=new xt(this,"object"==typeof n&&n),e.data("bs.toast",t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},o(xt,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"DefaultType",get:function(){return bt}},{key:"Default",get:function(){return wt}}]),xt);function xt(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}p.fn.toast=_t._jQueryInterface,p.fn.toast.Constructor=_t,p.fn.toast.noConflict=function(){return p.fn.toast=yt,_t._jQueryInterface},e.Alert=a,e.Button=f,e.Carousel=_,e.Collapse=k,e.Dropdown=Ne,e.Modal=Me,e.Popover=ot,e.Scrollspy=ft,e.Tab=gt,e.Toast=_t,e.Tooltip=Ke,e.Util=g,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).SimpleBar=t()}(this,function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}function n(e){return e&&e.Math==Math&&e}function m(e){try{return!!e()}catch(e){return!0}}function w(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function r(e){return S.call(e).slice(8,-1)}function l(e){if(null==e)throw TypeError("Can't call method on "+e);return e}function u(e){return A(l(e))}function v(e){return"object"==typeof e?null!==e:"function"==typeof e}function i(e,t){if(!v(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!v(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!v(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!v(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}function c(e,t){return k.call(e,t)}function o(e){return N?O.createElement(e):{}}function T(e){if(!v(e))throw TypeError(String(e)+" is not an object");return e}function f(t,n){try{M(y,t,n)}catch(e){y[t]=n}return n}function a(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+z).toString(36)}function s(e){return B[e]||(B[e]=a(e))}var h,d,p,g="object",y=n(typeof globalThis==g&&globalThis)||n(typeof window==g&&window)||n(typeof self==g&&self)||n(typeof e==g&&e)||Function("return this")(),b=!m(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),_={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,E={f:x&&!_.call({1:2},1)?function(e){var t=x(this,e);return!!t&&t.enumerable}:_},S={}.toString,C="".split,A=m(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==r(e)?C.call(e,""):Object(e)}:Object,k={}.hasOwnProperty,O=y.document,N=v(O)&&v(O.createElement),D=!b&&!m(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}),L=Object.getOwnPropertyDescriptor,j={f:b?L:function(e,t){if(e=u(e),t=i(t,!0),D)try{return L(e,t)}catch(e){}if(c(e,t))return w(!E.f.call(e,t),e[t])}},I=Object.defineProperty,R={f:b?I:function(e,t,n){if(T(e),t=i(t,!0),T(n),D)try{return I(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},M=b?function(e,t,n){return R.f(e,t,w(1,n))}:function(e,t,n){return e[t]=n,e},P=t(function(e){var n=y["__core-js_shared__"]||f("__core-js_shared__",{});(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),q=P("native-function-to-string",Function.toString),W=y.WeakMap,H="function"==typeof W&&/native code/.test(q.call(W)),F=0,z=Math.random(),B=P("keys"),V={},$=y.WeakMap;if(H){var U=new $,Q=U.get,X=U.has,Y=U.set;h=function(e,t){return Y.call(U,e,t),t},d=function(e){return Q.call(U,e)||{}},p=function(e){return X.call(U,e)}}else{var G=s("state");V[G]=!0,h=function(e,t){return M(e,G,t),t},d=function(e){return c(e,G)?e[G]:{}},p=function(e){return c(e,G)}}function K(e){return"function"==typeof e?e:void 0}function J(e,t){return arguments.length<2?K(ge[e])||K(y[e]):ge[e]&&ge[e][t]||y[e]&&y[e][t]}function Z(e){return isNaN(e=+e)?0:(0<e?ve:me)(e)}function ee(e){return 0<e?ye(Z(e),9007199254740991):0}function te(c){return function(e,t,n){var i,r,o,s=u(e),a=ee(s.length),l=(r=a,(o=Z(n))<0?be(o+r,0):we(o,r));if(c&&t!=t){for(;l<a;)if((i=s[l++])!=i)return!0}else for(;l<a;l++)if((c||l in s)&&s[l]===t)return c||l||0;return!c&&-1}}function ne(e,t){var n,i=u(e),r=0,o=[];for(n in i)!c(V,n)&&c(i,n)&&o.push(n);for(;t.length>r;)c(i,n=t[r++])&&(~_e(o,n)||o.push(n));return o}function ie(e,t){for(var n=Ce(t),i=R.f,r=j.f,o=0;o<n.length;o++){var s=n[o];c(e,s)||i(e,s,r(t,s))}}function re(e,t){var n=Oe[ke(e)];return n==De||n!=Ne&&("function"==typeof t?m(t):!!t)}function oe(e,t){var n,i,r,o,s,a=e.target,l=e.global,c=e.stat;if(n=l?y:c?y[a]||f(a,{}):(y[a]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(s=je(n,i))&&s.value:n[i],!Le(l?i:a+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;ie(o,r)}(e.sham||r&&r.sham)&&M(o,"sham",!0),pe(n,i,o,e)}}function se(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}function ae(i,r,e){if(se(i),void 0===r)return i;switch(e){case 0:return function(){return i.call(r)};case 1:return function(e){return i.call(r,e)};case 2:return function(e,t){return i.call(r,e,t)};case 3:return function(e,t,n){return i.call(r,e,t,n)}}return function(){return i.apply(r,arguments)}}function le(e){return Object(l(e))}function ce(e){return Pe[e]||(Pe[e]=Re&&Me[e]||(Re?Me:a)("Symbol."+e))}function ue(e,t){var n;return Ie(e)&&("function"==typeof(n=e.constructor)&&(n===Array||Ie(n.prototype))||v(n)&&null===(n=n[qe]))&&(n=void 0),new(void 0===n?Array:n)(0===t?0:t)}function fe(d){var p=1==d,g=2==d,m=3==d,v=4==d,y=6==d,b=5==d||y;return function(e,t,n,i){for(var r,o,s=le(e),a=A(s),l=ae(t,n,3),c=ee(a.length),u=0,f=i||ue,h=p?f(e,c):g?f(e,0):void 0;u<c;u++)if((b||u in a)&&(o=l(r=a[u],u,s),d))if(p)h[u]=o;else if(o)switch(d){case 3:return!0;case 5:return r;case 6:return u;case 2:We.call(h,r)}else if(v)return!1;return y?-1:m||v?v:h}}function he(e,t){var n=[][e];return!n||!m(function(){n.call(null,t||function(){throw 1},1)})}var de={set:h,get:d,has:p,enforce:function(e){return p(e)?d(e):h(e,{})},getterFor:function(n){return function(e){var t;if(!v(e)||(t=d(e)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return t}}},pe=t(function(e){var t=de.get,a=de.enforce,l=String(q).split("toString");P("inspectSource",function(e){return q.call(e)}),(e.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,s=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||c(n,"name")||M(n,"name",t),a(n).source=l.join("string"==typeof t?t:"")),e!==y?(r?!s&&e[t]&&(o=!0):delete e[t],o?e[t]=n:M(e,t,n)):o?e[t]=n:f(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||q.call(this)})}),ge=y,me=Math.ceil,ve=Math.floor,ye=Math.min,be=Math.max,we=Math.min,_e=(te(!0),te(!1)),xe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=xe.concat("length","prototype"),Te={f:Object.getOwnPropertyNames||function(e){return ne(e,Ee)}},Se={f:Object.getOwnPropertySymbols},Ce=J("Reflect","ownKeys")||function(e){var t=Te.f(T(e)),n=Se.f;return n?t.concat(n(e)):t},Ae=/#|\.prototype\./,ke=re.normalize=function(e){return String(e).replace(Ae,".").toLowerCase()},Oe=re.data={},Ne=re.NATIVE="N",De=re.POLYFILL="P",Le=re,je=j.f,Ie=Array.isArray||function(e){return"Array"==r(e)},Re=!!Object.getOwnPropertySymbols&&!m(function(){return!String(Symbol())}),Me=y.Symbol,Pe=P("wks"),qe=ce("species"),We=[].push,He={forEach:fe(0),map:fe(1),filter:fe(2),some:fe(3),every:fe(4),find:fe(5),findIndex:fe(6)},Fe=He.forEach,ze=he("forEach")?function(e){return Fe(this,e,1<arguments.length?arguments[1]:void 0)}:[].forEach;oe({target:"Array",proto:!0,forced:[].forEach!=ze},{forEach:ze});var Be={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var Ve in Be){var $e=y[Ve],Ue=$e&&$e.prototype;if(Ue&&Ue.forEach!==ze)try{M(Ue,"forEach",ze)}catch(e){Ue.forEach=ze}}var Qe=!("undefined"==typeof window||!window.document||!window.document.createElement),Xe=ce("species"),Ye=He.filter;oe({target:"Array",proto:!0,forced:!!m(function(){var e=[];return(e.constructor={})[Xe]=function(){return{foo:1}},1!==e.filter(Boolean).foo})},{filter:function(e){return Ye(this,e,1<arguments.length?arguments[1]:void 0)}});function Ge(){}var Ke=Object.keys||function(e){return ne(e,xe)},Je=b?Object.defineProperties:function(e,t){T(e);for(var n,i=Ke(t),r=i.length,o=0;o<r;)R.f(e,n=i[o++],t[n]);return e},Ze=J("document","documentElement"),et=s("IE_PROTO"),tt=function(){var e,t=o("iframe"),n=xe.length;for(t.style.display="none",Ze.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),tt=e.F;n--;)delete tt.prototype[xe[n]];return tt()},nt=Object.create||function(e,t){var n;return null!==e?(Ge.prototype=T(e),n=new Ge,Ge.prototype=null,n[et]=e):n=tt(),void 0===t?n:Je(n,t)};V[et]=!0;var it=ce("unscopables"),rt=Array.prototype;null==rt[it]&&M(rt,it,nt(null));function ot(e){rt[it][e]=!0}var st,at,lt,ct={},ut=!m(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),ft=s("IE_PROTO"),ht=Object.prototype,dt=ut?Object.getPrototypeOf:function(e){return e=le(e),c(e,ft)?e[ft]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ht:null},pt=ce("iterator"),gt=!1;[].keys&&("next"in(lt=[].keys())?(at=dt(dt(lt)))!==Object.prototype&&(st=at):gt=!0),null==st&&(st={}),c(st,pt)||M(st,pt,function(){return this});function mt(e,t,n){e&&!c(e=n?e:e.prototype,xt)&&_t(e,xt,{configurable:!0,value:t})}function vt(){return this}function yt(){return this}function bt(e,t,n,i,r,o,s){var a,l,c;function u(e){if(e===r&&y)return y;if(!Ct&&e in m)return m[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}}l=i,c=t+" Iterator",(a=n).prototype=nt(Et,{next:w(1,l)}),mt(a,c,!1),ct[c]=vt;var f,h,d,p=t+" Iterator",g=!1,m=e.prototype,v=m[At]||m["@@iterator"]||r&&m[r],y=!Ct&&v||u(r),b="Array"==t&&m.entries||v;if(b&&(f=dt(b.call(new e)),St!==Object.prototype&&f.next&&(dt(f)!==St&&(Tt?Tt(f,St):"function"!=typeof f[At]&&M(f,At,yt)),mt(f,p,!0))),"values"==r&&v&&"values"!==v.name&&(g=!0,y=function(){return v.call(this)}),m[At]!==y&&M(m,At,y),ct[t]=y,r)if(h={values:u("values"),keys:o?y:u("keys"),entries:u("entries")},s)for(d in h)!Ct&&!g&&d in m||pe(m,d,h[d]);else oe({target:t,proto:!0,forced:Ct||g},h);return h}var wt={IteratorPrototype:st,BUGGY_SAFARI_ITERATORS:gt},_t=R.f,xt=ce("toStringTag"),Et=wt.IteratorPrototype,Tt=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,e={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),i=e instanceof Array}catch(n){}return function(e,t){return T(e),function(){if(!v(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(),i?n.call(e,t):e.__proto__=t,e}}():void 0),St=wt.IteratorPrototype,Ct=wt.BUGGY_SAFARI_ITERATORS,At=ce("iterator"),kt=de.set,Ot=de.getterFor("Array Iterator"),Nt=bt(Array,"Array",function(e,t){kt(this,{type:"Array Iterator",target:u(e),index:0,kind:t})},function(){var e=Ot(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}},"values");ct.Arguments=ct.Array,ot("keys"),ot("values"),ot("entries");var Dt=Object.assign,Lt=!Dt||m(function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=Dt({},e)[n]||"abcdefghijklmnopqrst"!=Ke(Dt({},t)).join("")})?function(e,t){for(var n=le(e),i=arguments.length,r=1,o=Se.f,s=E.f;r<i;)for(var a,l=A(arguments[r++]),c=o?Ke(l).concat(o(l)):Ke(l),u=c.length,f=0;f<u;)a=c[f++],b&&!s.call(l,a)||(n[a]=l[a]);return n}:Dt;oe({target:"Object",stat:!0,forced:Object.assign!==Lt},{assign:Lt});function jt(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),It))?n:Rt?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}var It=ce("toStringTag"),Rt="Arguments"==r(function(){return arguments}()),Mt={};Mt[ce("toStringTag")]="z";var Pt="[object z]"!==String(Mt)?function(){return"[object "+jt(this)+"]"}:Mt.toString,qt=Object.prototype;Pt!==qt.toString&&pe(qt,"toString",Pt,{unsafe:!0});function Wt(n){return function(e){var t=String(l(e));return 1&n&&(t=t.replace(zt,"")),2&n&&(t=t.replace(Bt,"")),t}}var Ht="\t\n\v\f\r \u2028\u2029\ufeff",Ft="["+Ht+"]",zt=RegExp("^"+Ft+Ft+"*"),Bt=RegExp(Ft+Ft+"*$"),Vt=(Wt(1),Wt(2),Wt(3)),$t=y.parseInt,Ut=/^[+-]?0[Xx]/,Qt=8!==$t(Ht+"08")||22!==$t(Ht+"0x16")?function(e,t){var n=Vt(String(e));return $t(n,t>>>0||(Ut.test(n)?16:10))}:$t;oe({global:!0,forced:parseInt!=Qt},{parseInt:Qt});function Xt(a){return function(e,t){var n,i,r=String(l(e)),o=Z(t),s=r.length;return o<0||s<=o?a?"":void 0:(n=r.charCodeAt(o))<55296||56319<n||o+1===s||(i=r.charCodeAt(o+1))<56320||57343<i?a?r.charAt(o):n:a?r.slice(o,o+2):i-56320+(n-55296<<10)+65536}}var Yt={codeAt:Xt(!1),charAt:Xt(!0)},Gt=Yt.charAt,Kt=de.set,Jt=de.getterFor("String Iterator");bt(String,"String",function(e){Kt(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=Jt(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=Gt(n,i),t.index+=e.length,{value:e,done:!1})});function Zt(e,t,n){for(var i in t)pe(e,i,t[i],n);return e}function en(e,t,n,i){try{return i?t(T(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&T(r.call(e)),t}}function tn(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}var nn=!m(function(){return Object.isExtensible(Object.preventExtensions({}))}),rn=t(function(e){function n(e){t(e,i,{value:{objectID:"O"+ ++r,weakData:{}}})}var t=R.f,i=a("meta"),r=0,o=Object.isExtensible||function(){return!0},s=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!v(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,i)){if(!o(e))return"F";if(!t)return"E";n(e)}return e[i].objectID},getWeakData:function(e,t){if(!c(e,i)){if(!o(e))return!0;if(!t)return!1;n(e)}return e[i].weakData},onFreeze:function(e){return nn&&s.REQUIRED&&o(e)&&!c(e,i)&&n(e),e}};V[i]=!0}),on=(rn.REQUIRED,rn.fastKey,rn.getWeakData,rn.onFreeze,ce("iterator")),sn=Array.prototype,an=ce("iterator"),ln=t(function(e){function h(e,t){this.stopped=e,this.result=t}(e.exports=function(e,t,n,i,r){var o,s,a,l,c,u,f=ae(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(s=function(){if(null!=e)return e[an]||e["@@iterator"]||ct[jt(e)]}()))throw TypeError("Target is not iterable");if(void 0!==s&&(ct.Array===s||sn[on]===s)){for(a=0,l=ee(e.length);a<l;a++)if((c=i?f(T(u=e[a])[0],u[1]):f(e[a]))&&c instanceof h)return c;return new h(!1)}o=s.call(e)}for(;!(u=o.next()).done;)if((c=en(o,f,u.value,i))&&c instanceof h)return c;return new h(!1)}).stop=function(e){return new h(!0,e)}}),cn=ce("iterator"),un=!1;try{var fn=0,hn={next:function(){return{done:!!fn++}},return:function(){un=!0}};hn[cn]=function(){return this},Array.from(hn,function(){throw 2})}catch(e){}function dn(s,e,t,a,i){function n(e){var n=r[e];pe(r,e,"add"==e?function(e){return n.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(i&&!v(e))&&n.call(this,0===e?0:e)}:"get"==e?function(e){return i&&!v(e)?void 0:n.call(this,0===e?0:e)}:"has"==e?function(e){return!(i&&!v(e))&&n.call(this,0===e?0:e)}:function(e,t){return n.call(this,0===e?0:e,t),this})}var l=y[s],r=l&&l.prototype,c=l,u=a?"set":"add",o={};if(Le(s,"function"!=typeof l||!(i||r.forEach&&!m(function(){(new l).entries().next()}))))c=t.getConstructor(e,s,a,u),rn.REQUIRED=!0;else if(Le(s,!0)){var f=new c,h=f[u](i?{}:-0,1)!=f,d=m(function(){f.has(1)}),p=function(){if(!un)return!1;var e=!1;try{var t={};t[cn]=function(){return{next:function(){return{done:e=!0}}}},new l(t)}catch(e){}return e}(),g=!i&&m(function(){for(var e=new l,t=5;t--;)e[u](t,t);return!e.has(-0)});p||(((c=e(function(e,t){tn(e,c,s);var n,i,r,o=(n=new l,Tt&&"function"==typeof(i=e.constructor)&&i!==c&&v(r=i.prototype)&&r!==c.prototype&&Tt(n,r),n);return null!=t&&ln(t,o[u],o,a),o})).prototype=r).constructor=c),(d||g)&&(n("delete"),n("has"),a&&n("get")),(g||h)&&n(u),i&&r.clear&&delete r.clear}return o[s]=c,oe({global:!0,forced:c!=l},o),mt(c,s),i||t.setStrong(c,s,a),c}function pn(e){return e.frozen||(e.frozen=new xn)}function gn(e,t){return bn(e.entries,function(e){return e[0]===t})}var mn=rn.getWeakData,vn=de.set,yn=de.getterFor,bn=He.find,wn=He.findIndex,_n=0,xn=function(){this.entries=[]};xn.prototype={get:function(e){var t=gn(this,e);if(t)return t[1]},has:function(e){return!!gn(this,e)},set:function(e,t){var n=gn(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(t){var e=wn(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var En={getConstructor:function(e,n,i,r){function o(e,t,n){var i=a(e),r=mn(T(t),!0);return!0===r?pn(i).set(t,n):r[i.id]=n,e}var s=e(function(e,t){tn(e,s,n),vn(e,{type:n,id:_n++,frozen:void 0}),null!=t&&ln(t,e[r],e,i)}),a=yn(n);return Zt(s.prototype,{delete:function(e){var t=a(this);if(!v(e))return!1;var n=mn(e);return!0===n?pn(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!v(e))return!1;var n=mn(e);return!0===n?pn(t).has(e):n&&c(n,t.id)}}),Zt(s.prototype,i?{get:function(e){var t=a(this);if(v(e)){var n=mn(e);return!0===n?pn(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return o(this,e,t)}}:{add:function(e){return o(this,e,!0)}}),s}},Tn=(t(function(e){function t(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}var i,r=de.enforce,n=!y.ActiveXObject&&"ActiveXObject"in y,o=Object.isExtensible,s=e.exports=dn("WeakMap",t,En,!0,!0);if(H&&n){i=En.getConstructor(t,"WeakMap",!0),rn.REQUIRED=!0;var a=s.prototype,l=a.delete,c=a.has,u=a.get,f=a.set;Zt(a,{delete:function(e){if(!v(e)||o(e))return l.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),l.call(this,e)||t.frozen.delete(e)},has:function(e){if(!v(e)||o(e))return c.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),c.call(this,e)||t.frozen.has(e)},get:function(e){if(!v(e)||o(e))return u.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),c.call(this,e)?u.call(this,e):t.frozen.get(e)},set:function(e,t){if(v(e)&&!o(e)){var n=r(this);n.frozen||(n.frozen=new i),c.call(this,e)?f.call(this,e,t):n.frozen.set(e,t)}else f.call(this,e,t);return this}})}}),ce("iterator")),Sn=ce("toStringTag"),Cn=Nt.values;for(var An in Be){var kn=y[An],On=kn&&kn.prototype;if(On){if(On[Tn]!==Cn)try{M(On,Tn,Cn)}catch(e){On[Tn]=Cn}if(On[Sn]||M(On,Sn,An),Be[An])for(var Nn in Nt)if(On[Nn]!==Nt[Nn])try{M(On,Nn,Nt[Nn])}catch(e){On[Nn]=Nt[Nn]}}}function Dn(){return zn.Date.now()}var Ln="Expected a function",jn=NaN,In="[object Symbol]",Rn=/^\s+|\s+$/g,Mn=/^[-+]0x[0-9a-f]+$/i,Pn=/^0b[01]+$/i,qn=/^0o[0-7]+$/i,Wn=parseInt,Hn="object"==typeof e&&e&&e.Object===Object&&e,Fn="object"==typeof self&&self&&self.Object===Object&&self,zn=Hn||Fn||Function("return this")(),Bn=Object.prototype.toString,Vn=Math.max,$n=Math.min;function Un(i,r,e){var o,s,n,a,l,c,u=0,f=!1,h=!1,t=!0;if("function"!=typeof i)throw new TypeError(Ln);function d(e){var t=o,n=s;return o=s=void 0,u=e,a=i.apply(n,t)}function p(e){var t=e-c;return void 0===c||r<=t||t<0||h&&n<=e-u}function g(){var e,t=Dn();if(p(t))return m(t);l=setTimeout(g,(e=r-(t-c),h?$n(e,n-(t-u)):e))}function m(e){return l=void 0,t&&o?d(e):(o=s=void 0,a)}function v(){var e,t=Dn(),n=p(t);if(o=arguments,s=this,c=t,n){if(void 0===l)return u=e=c,l=setTimeout(g,r),f?d(e):a;if(h)return l=setTimeout(g,r),d(c)}return void 0===l&&(l=setTimeout(g,r)),a}return r=Xn(r)||0,Qn(e)&&(f=!!e.leading,n=(h="maxWait"in e)?Vn(Xn(e.maxWait)||0,r):n,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==l&&clearTimeout(l),o=c=s=l=void(u=0)},v.flush=function(){return void 0===l?a:m(Dn())},v}function Qn(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Xn(e){if("number"==typeof e)return e;if("symbol"==typeof e||e&&"object"==typeof e&&Bn.call(e)==In)return jn;if(Qn(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qn(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Rn,"");var n=Pn.test(e);return n||qn.test(e)?Wn(e.slice(2),n?2:8):Mn.test(e)?jn:+e}function Yn(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new TypeError(Ln);return Qn(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Un(e,t,{leading:i,maxWait:t,trailing:r})}function Gn(){return ri.Date.now()}var Kn=/^\s+|\s+$/g,Jn=/^[-+]0x[0-9a-f]+$/i,Zn=/^0b[01]+$/i,ei=/^0o[0-7]+$/i,ti=parseInt,ni="object"==typeof e&&e&&e.Object===Object&&e,ii="object"==typeof self&&self&&self.Object===Object&&self,ri=ni||ii||Function("return this")(),oi=Object.prototype.toString,si=Math.max,ai=Math.min;function li(e){var t=typeof e;return e&&("object"==t||"function"==t)}function ci(e){if("number"==typeof e)return e;if("symbol"==typeof e||e&&"object"==typeof e&&"[object Symbol]"==oi.call(e))return NaN;if(li(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=li(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Kn,"");var n=Zn.test(e);return n||ei.test(e)?ti(e.slice(2),n?2:8):Jn.test(e)?NaN:+e}function ui(i,r,e){var o,s,n,a,l,c,u=0,f=!1,h=!1,t=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function d(e){var t=o,n=s;return o=s=void 0,u=e,a=i.apply(n,t)}function p(e){var t=e-c;return void 0===c||r<=t||t<0||h&&n<=e-u}function g(){var e,t=Gn();if(p(t))return m(t);l=setTimeout(g,(e=r-(t-c),h?ai(e,n-(t-u)):e))}function m(e){return l=void 0,t&&o?d(e):(o=s=void 0,a)}function v(){var e,t=Gn(),n=p(t);if(o=arguments,s=this,c=t,n){if(void 0===l)return u=e=c,l=setTimeout(g,r),f?d(e):a;if(h)return l=setTimeout(g,r),d(c)}return void 0===l&&(l=setTimeout(g,r)),a}return r=ci(r)||0,li(e)&&(f=!!e.leading,n=(h="maxWait"in e)?si(ci(e.maxWait)||0,r):n,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==l&&clearTimeout(l),o=c=s=l=void(u=0)},v.flush=function(){return void 0===l?a:m(Gn())},v}var fi,hi="Expected a function",di="__lodash_hash_undefined__",pi="[object Function]",gi="[object GeneratorFunction]",mi=/^\[object .+?Constructor\]$/,vi="object"==typeof e&&e&&e.Object===Object&&e,yi="object"==typeof self&&self&&self.Object===Object&&self,bi=vi||yi||Function("return this")(),wi=Array.prototype,_i=Function.prototype,xi=Object.prototype,Ei=bi["__core-js_shared__"],Ti=(fi=/[^.]+$/.exec(Ei&&Ei.keys&&Ei.keys.IE_PROTO||""))?"Symbol(src)_1."+fi:"",Si=_i.toString,Ci=xi.hasOwnProperty,Ai=xi.toString,ki=RegExp("^"+Si.call(Ci).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oi=wi.splice,Ni=Pi(bi,"Map"),Di=Pi(Object,"create");function Li(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ji(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Ii(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Ri(e,t){for(var n,i=e.length;i--;)if((n=e[i][0])===t||n!=n&&t!=t)return i;return-1}function Mi(e,t){var n,i=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?i["string"==typeof t?"string":"hash"]:i.map}function Pi(e,t){var n,i,r=null==e?void 0:e[t];return!Wi(n=r)||Ti&&Ti in n||!((i=Wi(n)?Ai.call(n):"")==pi||i==gi||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(n)?ki:mi).test(function(e){if(null!=e){try{return Si.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(n))?void 0:r}function qi(r,o){if("function"!=typeof r||o&&"function"!=typeof o)throw new TypeError(hi);var s=function(){var e=arguments,t=o?o.apply(this,e):e[0],n=s.cache;if(n.has(t))return n.get(t);var i=r.apply(this,e);return s.cache=n.set(t,i),i};return s.cache=new(qi.Cache||Ii),s}function Wi(e){var t=typeof e;return e&&("object"==t||"function"==t)}Li.prototype.clear=function(){this.__data__=Di?Di(null):{}},Li.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Li.prototype.get=function(e){var t=this.__data__;if(Di){var n=t[e];return n===di?void 0:n}return Ci.call(t,e)?t[e]:void 0},Li.prototype.has=function(e){var t=this.__data__;return Di?void 0!==t[e]:Ci.call(t,e)},Li.prototype.set=function(e,t){return this.__data__[e]=Di&&void 0===t?di:t,this},ji.prototype.clear=function(){this.__data__=[]},ji.prototype.delete=function(e){var t=this.__data__,n=Ri(t,e);return!(n<0||(n==t.length-1?t.pop():Oi.call(t,n,1),0))},ji.prototype.get=function(e){var t=this.__data__,n=Ri(t,e);return n<0?void 0:t[n][1]},ji.prototype.has=function(e){return-1<Ri(this.__data__,e)},ji.prototype.set=function(e,t){var n=this.__data__,i=Ri(n,e);return i<0?n.push([e,t]):n[i][1]=t,this},Ii.prototype.clear=function(){this.__data__={hash:new Li,map:new(Ni||ji),string:new Li}},Ii.prototype.delete=function(e){return Mi(this,e).delete(e)},Ii.prototype.get=function(e){return Mi(this,e).get(e)},Ii.prototype.has=function(e){return Mi(this,e).has(e)},Ii.prototype.set=function(e,t){return Mi(this,e).set(e,t),this},qi.Cache=Ii;function Hi(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e}var Fi=qi,zi=function(){if("undefined"!=typeof Map)return Map;function i(e,n){var i=-1;return e.some(function(e,t){return e[0]===n&&(i=t,!0)}),i}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var t=i(this.__entries__,e),n=this.__entries__[t];return n&&n[1]},e.prototype.set=function(e,t){var n=i(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},e.prototype.delete=function(e){var t=this.__entries__,n=i(t,e);~n&&t.splice(n,1)},e.prototype.has=function(e){return!!~i(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];e.call(t,r[1],r[0])}},e;function e(){this.__entries__=[]}}(),Bi="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Vi="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),$i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Vi):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},Ui=["top","right","bottom","left","width","height","size","weight"],Qi="undefined"!=typeof MutationObserver,Xi=(Ki.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},Ki.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},Ki.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},Ki.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),0<e.length},Ki.prototype.connect_=function(){Bi&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Qi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},Ki.prototype.disconnect_=function(){Bi&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},Ki.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Ui.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},Ki.getInstance=function(){return this.instance_||(this.instance_=new Ki),this.instance_},Ki.instance_=null,Ki),Yi=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Vi},Gi=nr(0,0,0,0);function Ki(){function e(){o&&(o=!1,i()),s&&n()}function t(){$i(e)}function n(){var e=Date.now();if(o){if(e-a<2)return;s=!0}else s=!(o=!0),setTimeout(t,r);a=e}var i,r,o,s,a;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(i=this.refresh.bind(this),s=o=!(r=20),a=0,n)}function Ji(e){return parseFloat(e)||0}function Zi(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.reduce(function(e,t){return e+Ji(n["border-"+t+"-width"])},0)}var er="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Yi(e).SVGGraphicsElement}:function(e){return e instanceof Yi(e).SVGElement&&"function"==typeof e.getBBox};function tr(e){return Bi?er(e)?nr(0,0,(t=e.getBBox()).width,t.height):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Gi;var i=Yi(e).getComputedStyle(e),r=function(e){for(var t={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var r=i[n],o=e["padding-"+r];t[r]=Ji(o)}return t}(i),o=r.left+r.right,s=r.top+r.bottom,a=Ji(i.width),l=Ji(i.height);if("border-box"===i.boxSizing&&(Math.round(a+o)!==t&&(a-=Zi(i,"left","right")+o),Math.round(l+s)!==n&&(l-=Zi(i,"top","bottom")+s)),e!==Yi(e).document.documentElement){var c=Math.round(a+o)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return nr(r.left,r.top,a,l)}(e):Gi;var t}function nr(e,t,n,i){return{x:e,y:t,width:n,height:i}}function ir(e,t){var n,i,r,o,s,a,l=(n=t.x,i=t.y,r=t.width,o=t.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(s.prototype),Hi(a,{x:n,y:i,width:r,height:o,top:i,right:n+r,bottom:o+i,left:n}),a);Hi(this,{target:e,contentRect:l})}function rr(e){if(!(this instanceof rr))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=Xi.getInstance(),n=new sr(e,t,this);ar.set(this,n)}var or=(cr.prototype.isActive=function(){var e=tr(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},cr.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},cr),sr=(lr.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Yi(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new or(e)),this.controller_.addObserver(this),this.controller_.refresh())}},lr.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Yi(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},lr.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},lr.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},lr.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new ir(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},lr.prototype.clearActive=function(){this.activeObservations_.splice(0)},lr.prototype.hasActive=function(){return 0<this.activeObservations_.length},lr),ar=new("undefined"!=typeof WeakMap?WeakMap:zi);function lr(e,t,n){if(this.activeObservations_=[],this.observations_=new zi,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}function cr(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=nr(0,0,0,0),this.target=e}["observe","unobserve","disconnect"].forEach(function(t){rr.prototype[t]=function(){var e;return(e=ar.get(this))[t].apply(e,arguments)}});var ur=void 0!==Vi.ResizeObserver?Vi.ResizeObserver:rr,fr=null,hr=null;function dr(){if(null===fr){if("undefined"==typeof document)return fr=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),fr=n}return fr}Qe&&window.addEventListener("resize",function(){hr!==window.devicePixelRatio&&(hr=window.devicePixelRatio,fr=null)});function pr(c){return function(e,t,n,i){se(t);var r=le(e),o=A(r),s=ee(r.length),a=c?s-1:0,l=c?-1:1;if(n<2)for(;;){if(a in o){i=o[a],a+=l;break}if(a+=l,c?a<0:s<=a)throw TypeError("Reduce of empty array with no initial value")}for(;c?0<=a:a<s;a+=l)a in o&&(i=t(i,o[a],a,r));return i}}var gr=[pr(!1),pr(!0)][0];oe({target:"Array",proto:!0,forced:he("reduce")},{reduce:function(e){return gr(this,e,arguments.length,1<arguments.length?arguments[1]:void 0)}});var mr=R.f,vr=Function.prototype,yr=vr.toString,br=/^\s*function ([^ (]*)/;!b||"name"in vr||mr(vr,"name",{configurable:!0,get:function(){try{return yr.call(this).match(br)[1]}catch(e){return""}}});var wr,_r,xr=RegExp.prototype.exec,Er=String.prototype.replace,Tr=xr,Sr=(wr=/a/,_r=/b*/g,xr.call(wr,"a"),xr.call(_r,"a"),0!==wr.lastIndex||0!==_r.lastIndex),Cr=void 0!==/()??/.exec("")[1];(Sr||Cr)&&(Tr=function(e){var t,n,i,r;return Cr&&(n=new RegExp("^"+this.source+"$(?!\\s)",function(){var e=T(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}.call(this))),Sr&&(t=this.lastIndex),i=xr.call(this,e),Sr&&i&&(this.lastIndex=this.global?i.index+i[0].length:t),Cr&&i&&1<i.length&&Er.call(i[0],n,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)}),i});var Ar=Tr;oe({target:"RegExp",proto:!0,forced:/./.exec!==Ar},{exec:Ar});function kr(n,e,t,i){var r=ce(n),o=!m(function(){var e={};return e[r]=function(){return 7},7!=""[n](e)}),s=o&&!m(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},"split"===n&&(t.constructor={},t.constructor[Dr]=function(){return t}),t[r](""),!e});if(!o||!s||"replace"===n&&!Lr||"split"===n&&!jr){var a=/./[r],l=t(r,""[n],function(e,t,n,i,r){return t.exec===Ar?o&&!r?{done:!0,value:a.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),c=l[0],u=l[1];pe(String.prototype,n,c),pe(RegExp.prototype,r,2==e?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)}),i&&M(RegExp.prototype[r],"sham",!0)}}function Or(e,t,n){return t+(n?Ir(e,t).length:1)}function Nr(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ar.call(e,t)}var Dr=ce("species"),Lr=!m(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),jr=!m(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),Ir=Yt.charAt;kr("match",1,function(i,c,u){return[function(e){var t=l(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,t):new RegExp(e)[i](String(t))},function(e){var t=u(c,e,this);if(t.done)return t.value;var n=T(e),i=String(this);if(!n.global)return Nr(n,i);for(var r,o=n.unicode,s=[],a=n.lastIndex=0;null!==(r=Nr(n,i));){var l=String(r[0]);""===(s[a]=l)&&(n.lastIndex=Or(i,ee(n.lastIndex),o)),a++}return 0===a?null:s}]});var Rr=Math.max,Mr=Math.min,Pr=Math.floor,qr=/\$([$&'`]|\d\d?|<[^>]*>)/g,Wr=/\$([$&'`]|\d\d?)/g;kr("replace",2,function(r,_,x){return[function(e,t){var n=l(this),i=null==e?void 0:e[r];return void 0!==i?i.call(e,n,t):_.call(String(n),e,t)},function(e,t){var n=x(_,e,this,t);if(n.done)return n.value;var i=T(e),r=String(this),o="function"==typeof t;o||(t=String(t));var s=i.global;if(s){var a=i.unicode;i.lastIndex=0}for(var l=[];;){var c=Nr(i,r);if(null===c)break;if(l.push(c),!s)break;""===String(c[0])&&(i.lastIndex=Or(r,ee(i.lastIndex),a))}for(var u,f="",h=0,d=0;d<l.length;d++){c=l[d];for(var p=String(c[0]),g=Rr(Mr(Z(c.index),r.length),0),m=[],v=1;v<c.length;v++)m.push(void 0===(u=c[v])?u:String(u));var y=c.groups;if(o){var b=[p].concat(m,g,r);void 0!==y&&b.push(y);var w=String(t.apply(void 0,b))}else w=E(p,r,g,m,y,t);h<=g&&(f+=r.slice(h,g)+w,h=g+p.length)}return f+r.slice(h)}];function E(o,s,a,l,c,e){var u=a+o.length,f=l.length,t=Wr;return void 0!==c&&(c=le(c),t=qr),_.call(e,t,function(e,t){var n;switch(t.charAt(0)){case"$":return"$";case"&":return o;case"`":return s.slice(0,a);case"'":return s.slice(u);case"<":n=c[t.slice(1,-1)];break;default:var i=+t;if(0==i)return e;if(f<i){var r=Pr(i/10);return 0!==r&&r<=f?void 0===l[r-1]?t.charAt(1):l[r-1]+t.charAt(1):e}n=l[i-1]}return void 0===n?"":n})}});function Hr(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var i=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[i]=!0;break;case"false":e[i]=!1;break;case void 0:e[i]=!0;break;default:e[i]=t.value}}return e},{})}function Fr(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function zr(e){return e&&e.ownerDocument?e.ownerDocument:document}var Br=function(){function l(e,t){var a=this;this.onScroll=function(){var e=Fr(a.el);a.scrollXTicking||(e.requestAnimationFrame(a.scrollX),a.scrollXTicking=!0),a.scrollYTicking||(e.requestAnimationFrame(a.scrollY),a.scrollYTicking=!0)},this.scrollX=function(){a.axis.x.isOverflowing&&(a.showScrollbar("x"),a.positionScrollbar("x")),a.scrollXTicking=!1},this.scrollY=function(){a.axis.y.isOverflowing&&(a.showScrollbar("y"),a.positionScrollbar("y")),a.scrollYTicking=!1},this.onMouseEnter=function(){a.showScrollbar("x"),a.showScrollbar("y")},this.onMouseMove=function(e){a.mouseX=e.clientX,a.mouseY=e.clientY,(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&a.onMouseMoveForAxis("x"),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&a.onMouseMoveForAxis("y")},this.onMouseLeave=function(){a.onMouseMove.cancel(),(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&a.onMouseLeaveForAxis("x"),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&a.onMouseLeaveForAxis("y"),a.mouseX=-1,a.mouseY=-1},this.onWindowResize=function(){a.scrollbarWidth=a.getScrollbarWidth(),a.hideNativeScrollbar()},this.hideScrollbars=function(){a.axis.x.track.rect=a.axis.x.track.el.getBoundingClientRect(),a.axis.y.track.rect=a.axis.y.track.el.getBoundingClientRect(),a.isWithinBounds(a.axis.y.track.rect)||(a.axis.y.scrollbar.el.classList.remove(a.classNames.visible),a.axis.y.isVisible=!1),a.isWithinBounds(a.axis.x.track.rect)||(a.axis.x.scrollbar.el.classList.remove(a.classNames.visible),a.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,n;a.axis.x.track.rect=a.axis.x.track.el.getBoundingClientRect(),a.axis.y.track.rect=a.axis.y.track.el.getBoundingClientRect(),(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&(t=a.isWithinBounds(a.axis.x.track.rect)),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&(n=a.isWithinBounds(a.axis.y.track.rect)),(t||n)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(a.axis.x.scrollbar.rect=a.axis.x.scrollbar.el.getBoundingClientRect(),a.isWithinBounds(a.axis.x.scrollbar.rect)?a.onDragStart(e,"x"):a.onTrackClick(e,"x")),n&&(a.axis.y.scrollbar.rect=a.axis.y.scrollbar.el.getBoundingClientRect(),a.isWithinBounds(a.axis.y.scrollbar.rect)?a.onDragStart(e,"y"):a.onTrackClick(e,"y"))))},this.drag=function(e){var t=a.axis[a.draggedAxis].track,n=t.rect[a.axis[a.draggedAxis].sizeAttr],i=a.axis[a.draggedAxis].scrollbar,r=a.contentWrapperEl[a.axis[a.draggedAxis].scrollSizeAttr],o=parseInt(a.elStyles[a.axis[a.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var s=(("y"===a.draggedAxis?e.pageY:e.pageX)-t.rect[a.axis[a.draggedAxis].offsetAttr]-a.axis[a.draggedAxis].dragOffset)/(n-i.size)*(r-o);"x"===a.draggedAxis&&(s=a.isRtl&&l.getRtlHelpers().isRtlScrollbarInverted?s-(n+i.size):s,s=a.isRtl&&l.getRtlHelpers().isRtlScrollingInverted?-s:s),a.contentWrapperEl[a.axis[a.draggedAxis].scrollOffsetAttr]=s},this.onEndDrag=function(e){var t=zr(a.el),n=Fr(a.el);e.preventDefault(),e.stopPropagation(),a.el.classList.remove(a.classNames.dragging),t.removeEventListener("mousemove",a.drag,!0),t.removeEventListener("mouseup",a.onEndDrag,!0),a.removePreventClickId=n.setTimeout(function(){t.removeEventListener("click",a.preventClick,!0),t.removeEventListener("dblclick",a.preventClick,!0),a.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},l.defaultOptions,{},t),this.classNames=Object.assign({},l.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,l.instances.has(this.el)||(this.recalculate=Yn(this.recalculate.bind(this),64),this.onMouseMove=Yn(this.onMouseMove.bind(this),64),this.hideScrollbars=ui(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=ui(this.onWindowResize.bind(this),64,{leading:!0}),l.getRtlHelpers=Fi(l.getRtlHelpers),this.init())}l.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var t=e.firstElementChild;document.body.appendChild(t);var n=t.firstElementChild;t.scrollLeft=0;var i=l.getOffset(t),r=l.getOffset(n);t.scrollLeft=999;var o=l.getOffset(n);return{isRtlScrollingInverted:i.left!==r.left&&r.left-o.left!=0,isRtlScrollbarInverted:i.left!==r.left}},l.getOffset=function(e){var t=e.getBoundingClientRect(),n=zr(e),i=Fr(e);return{top:t.top+(i.pageYOffset||n.documentElement.scrollTop),left:t.left+(i.pageXOffset||n.documentElement.scrollLeft)}};var e=l.prototype;return e.init=function(){l.instances.set(this.el,this),Qe&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(zr(this.el),Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),n=document.createElement("div");e.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),e.appendChild(n),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=Fr(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var n=!1,i=e.ResizeObserver||ur;this.resizeObserver=new i(function(){n&&t.recalculate()}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame(function(){n=!0}),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var e=Fr(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,r=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,s=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var a=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=n?i+"px":"auto",this.placeholderEl.style.height=a+"px";var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=i<l,this.axis.y.isOverflowing=c<a,this.axis.x.isOverflowing="hidden"!==o&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,f=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&r-f<l,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&c-u<a,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,n=this.contentEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],r=i/n;return t=Math.max(~~(r*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var t=this.contentWrapperEl[this.axis[e].scrollSizeAttr],n=this.axis[e].track.el[this.axis[e].offsetSizeAttr],i=parseInt(this.elStyles[this.axis[e].sizeAttr],10),r=this.axis[e].scrollbar,o=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=(o="x"===e&&this.isRtl&&l.getRtlHelpers().isRtlScrollingInverted?-o:o)/(t-i),a=~~((n-r.size)*s);a="x"===e&&this.isRtl&&l.getRtlHelpers().isRtlScrollbarInverted?a+(n-r.size):a,r.el.style.transform="x"===e?"translate3d("+a+"px, 0, 0)":"translate3d(0, "+a+"px, 0)"}},e.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(e,t){void 0===t&&(t="y");var n=zr(this.el),i=Fr(this.el),r=this.axis[t].scrollbar,o="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=o-r.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(e,i){var r=this;if(void 0===i&&(i="y"),this.options.clickOnTrack){var o=Fr(this.el);this.axis[i].scrollbar.rect=this.axis[i].scrollbar.el.getBoundingClientRect();var t=this.axis[i].scrollbar.rect[this.axis[i].offsetAttr],n=parseInt(this.elStyles[this.axis[i].sizeAttr],10),s=this.contentWrapperEl[this.axis[i].scrollOffsetAttr],a=("y"===i?this.mouseY-t:this.mouseX-t)<0?-1:1,l=-1==a?s-n:s+n;!function e(){var t,n;-1==a?l<s&&(s-=40,r.contentWrapperEl.scrollTo(((t={})[r.axis[i].offsetAttr]=s,t)),o.requestAnimationFrame(e)):s<l&&(s+=40,r.contentWrapperEl.scrollTo(((n={})[r.axis[i].offsetAttr]=s,n)),o.requestAnimationFrame(e))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:dr()}catch(e){return dr()}},e.removeListeners=function(){var t=this,e=Fr(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver.disconnect(),this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),l.instances.delete(this.el)},e.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},l}();return Br.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},Br.instances=new WeakMap,Br.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll('[data-simplebar]:not([data-simplebar="init"])'),function(e){Br.instances.has(e)||new Br(e,Hr(e.attributes))})},Br.removeObserver=function(){this.globalObserver.disconnect()},Br.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(Br.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},Br.handleMutations=function(e){e.forEach(function(e){Array.prototype.forEach.call(e.addedNodes,function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?Br.instances.has(e)||new Br(e,Hr(e.attributes)):Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar]:not([data-simplebar="init"])'),function(e){Br.instances.has(e)||new Br(e,Hr(e.attributes))}))}),Array.prototype.forEach.call(e.removedNodes,function(e){1===e.nodeType&&(e.hasAttribute('[data-simplebar="init"]')?Br.instances.has(e)&&Br.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),function(e){Br.instances.has(e)&&Br.instances.get(e).unMount()}))})})},Br.getOptions=Hr,Qe&&Br.initHtmlApi(),Br}),function(e,t){"use strict";"function"==typeof define&&define.amd?define([],function(){return e.Waves=t.call(e),e.Waves}):"object"==typeof exports?module.exports=t.call(e):e.Waves=t.call(e)}("object"==typeof global?global:this,function(){"use strict";function i(e){var t=typeof e;return"function"==t||"object"==t&&!!e}function c(e){var t,n=s.call(e);return"[object String]"===n?r(e):i(e)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(n)&&e.hasOwnProperty("length")?e:i(t=e)&&0<t.nodeType?[e]:[]}function f(e){var t,n,i,r,o={top:0,left:0},s=e&&e.ownerDocument;return t=s.documentElement,void 0!==e.getBoundingClientRect&&(o=e.getBoundingClientRect()),n=null!==(r=i=s)&&r===r.window?i:9===i.nodeType&&i.defaultView,{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}}function h(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}function o(e,t,n){if(n){n.classList.remove("waves-rippling");var i=n.getAttribute("data-x"),r=n.getAttribute("data-y"),o=n.getAttribute("data-scale"),s=n.getAttribute("data-translate"),a=350-(Date.now()-Number(n.getAttribute("data-hold")));a<0&&(a=0),"mousemove"===e.type&&(a=150);var l="mousemove"===e.type?2500:d.duration;setTimeout(function(){var e={top:r+"px",left:i+"px",opacity:"0","-webkit-transition-duration":l+"ms","-moz-transition-duration":l+"ms","-o-transition-duration":l+"ms","transition-duration":l+"ms","-webkit-transform":o+" "+s,"-moz-transform":o+" "+s,"-ms-transform":o+" "+s,"-o-transform":o+" "+s,transform:o+" "+s};n.setAttribute("style",h(e)),setTimeout(function(){try{t.removeChild(n)}catch(e){return!1}},l)},a)}}function n(t){var n=function(e){if(!1===u.allowEvent(e))return null;for(var t=null,n=e.target||e.srcElement;n.parentElement;){if(!(n instanceof SVGElement)&&n.classList.contains("waves-effect")){t=n;break}n=n.parentElement}return t}(t);if(null!==n){if(n.disabled||n.getAttribute("disabled")||n.classList.contains("disabled"))return;if(u.registerEvent(t),"touchstart"===t.type&&d.delay){var i=!1,r=setTimeout(function(){r=null,d.show(t,n)},d.delay),o=function(e){r&&(clearTimeout(r),r=null,d.show(t,n)),i||(i=!0,d.hide(e,n)),s()},e=function(e){r&&(clearTimeout(r),r=null),o(e),s()};n.addEventListener("touchmove",e,!1),n.addEventListener("touchend",o,!1),n.addEventListener("touchcancel",o,!1);var s=function(){n.removeEventListener("touchmove",e),n.removeEventListener("touchend",o),n.removeEventListener("touchcancel",o)}}else d.show(t,n),a&&(n.addEventListener("touchend",d.hide,!1),n.addEventListener("touchcancel",d.hide,!1)),n.addEventListener("mouseup",d.hide,!1),n.addEventListener("mouseleave",d.hide,!1)}}var t=t||{},r=document.querySelectorAll.bind(document),s=Object.prototype.toString,a="ontouchstart"in window,d={duration:750,delay:200,show:function(e,t,n){if(2===e.button)return!1;t=t||this;var i=document.createElement("div");i.className="waves-ripple waves-rippling",t.appendChild(i);var r=f(t),o=0,s=0;s=0<=(s="touches"in e&&e.touches.length?(o=e.touches[0].pageY-r.top,e.touches[0].pageX-r.left):(o=e.pageY-r.top,e.pageX-r.left))?s:0,o=0<=o?o:0;var a="scale("+t.clientWidth/100*3+")",l="translate(0,0)";n&&(l="translate("+n.x+"px, "+n.y+"px)"),i.setAttribute("data-hold",Date.now()),i.setAttribute("data-x",s),i.setAttribute("data-y",o),i.setAttribute("data-scale",a),i.setAttribute("data-translate",l);var c={top:o+"px",left:s+"px"};i.classList.add("waves-notransition"),i.setAttribute("style",h(c)),i.classList.remove("waves-notransition"),c["-webkit-transform"]=a+" "+l,c["-moz-transform"]=a+" "+l,c["-ms-transform"]=a+" "+l,c["-o-transform"]=a+" "+l,c.transform=a+" "+l,c.opacity="1";var u="mousemove"===e.type?2500:d.duration;c["-webkit-transition-duration"]=u+"ms",c["-moz-transition-duration"]=u+"ms",c["-o-transition-duration"]=u+"ms",c["transition-duration"]=u+"ms",i.setAttribute("style",h(c))},hide:function(e,t){for(var n=(t=t||this).getElementsByClassName("waves-rippling"),i=0,r=n.length;i<r;i++)o(e,t,n[i]);a&&(t.removeEventListener("touchend",d.hide),t.removeEventListener("touchcancel",d.hide)),t.removeEventListener("mouseup",d.hide),t.removeEventListener("mouseleave",d.hide)}},l={input:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");n.className=e.className+" waves-input-wrapper",e.className="waves-button-input",t.replaceChild(n,e),n.appendChild(e);var i=window.getComputedStyle(e,null),r=i.color,o=i.backgroundColor;n.setAttribute("style","color:"+r+";background:"+o),e.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");t.replaceChild(n,e),n.appendChild(e)}}},u={touches:0,allowEvent:function(e){var t=!0;return/^(mousedown|mousemove)$/.test(e.type)&&u.touches&&(t=!1),t},registerEvent:function(e){var t=e.type;"touchstart"===t?u.touches+=1:/^(touchend|touchcancel)$/.test(t)&&setTimeout(function(){u.touches&&--u.touches},500)}};return t.init=function(e){var t=document.body;"duration"in(e=e||{})&&(d.duration=e.duration),"delay"in e&&(d.delay=e.delay),a&&(t.addEventListener("touchstart",n,!1),t.addEventListener("touchcancel",u.registerEvent,!1),t.addEventListener("touchend",u.registerEvent,!1)),t.addEventListener("mousedown",n,!1)},t.attach=function(e,t){e=c(e),"[object Array]"===s.call(t)&&(t=t.join(" ")),t=t?" "+t:"";for(var n,i,r=0,o=e.length;r<o;r++)i=(n=e[r]).tagName.toLowerCase(),-1!==["input","img"].indexOf(i)&&(l[i](n),n=n.parentElement),-1===n.className.indexOf("waves-effect")&&(n.className+=" waves-effect"+t)},t.ripple=function(e,t){var n=(e=c(e)).length;if((t=t||{}).wait=t.wait||0,t.position=t.position||null,n)for(var i,r,o,s={},a=0,l={type:"mousedown",button:1};a<n;a++)if(i=e[a],r=t.position||{x:i.clientWidth/2,y:i.clientHeight/2},o=f(i),s.x=o.left+r.x,s.y=o.top+r.y,l.pageX=s.x,l.pageY=s.y,d.show(l,i),0<=t.wait&&null!==t.wait){setTimeout(function(e,t){return function(){d.hide(e,t)}}({type:"mouseup",button:1},i),t.wait)}},t.calm=function(e){for(var t={type:"mouseup",button:1},n=0,i=(e=c(e)).length;n<i;n++)d.hide(t,e[n])},t.displayEffect=function(e){t.init(e)},t}),function(){"use strict";function t(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+n,this.options=t.Adapter.extend({},t.defaults,e),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=e.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),o[this.key]=this,n+=1}var n=0,o={};t.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},t.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete o[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(e){var t=[];for(var n in o)t.push(o[n]);for(var i=0,r=t.length;i<r;i++)t[i][e]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){for(var e in t.Context.refreshAll(),o)o[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(e){window.setTimeout(e,1e3/60)}function n(e){this.element=e,this.Adapter=m.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,r[e.waypointContextKey]=this,i+=1,m.windowContext||(m.windowContext=!0,m.windowContext=new n(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,r={},m=window.Waypoint,e=window.onload;n.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},n.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;e&&t&&!n&&(this.adapter.off(".waypoints"),delete r[this.key])},n.prototype.createThrottledResizeHandler=function(){function e(){t.handleResize(),t.didResize=!1}var t=this;this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,m.requestAnimationFrame(e))})},n.prototype.createThrottledScrollHandler=function(){function e(){t.handleScroll(),t.didScroll=!1}var t=this;this.adapter.on("scroll.waypoints",function(){t.didScroll&&!m.isTouch||(t.didScroll=!0,m.requestAnimationFrame(e))})},n.prototype.handleResize=function(){m.Context.refreshAll()},n.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in t){var i=t[n],r=i.newScroll>i.oldScroll?i.forward:i.backward;for(var o in this.waypoints[n]){var s=this.waypoints[n][o];if(null!==s.triggerPoint){var a=i.oldScroll<s.triggerPoint,l=i.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(r),e[s.group.id]=s.group)}}}for(var c in e)e[c].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},n.prototype.innerHeight=function(){return this.element==this.element.window?m.viewportHeight():this.adapter.innerHeight()},n.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},n.prototype.innerWidth=function(){return this.element==this.element.window?m.viewportWidth():this.adapter.innerWidth()},n.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var n in this.waypoints[t])e.push(this.waypoints[t][n]);for(var i=0,r=e.length;i<r;i++)e[i].destroy()},n.prototype.refresh=function(){var e,t=this.element==this.element.window,n=t?void 0:this.adapter.offset(),i={};for(var r in this.handleScroll(),e={horizontal:{contextOffset:t?0:n.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:n.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var o=e[r];for(var s in this.waypoints[r]){var a,l,c,u,f=this.waypoints[r][s],h=f.options.offset,d=f.triggerPoint,p=0,g=null==d;f.element!==f.element.window&&(p=f.adapter.offset()[o.offsetProp]),"function"==typeof h?h=h.apply(f):"string"==typeof h&&(h=parseFloat(h),-1<f.options.offset.indexOf("%")&&(h=Math.ceil(o.contextDimension*h/100))),a=o.contextScroll-o.contextOffset,f.triggerPoint=Math.floor(p+a-h),l=d<o.oldScroll,c=f.triggerPoint>=o.oldScroll,u=!l&&!c,!g&&(l&&c)?(f.queueTrigger(o.backward),i[f.group.id]=f.group):(!g&&u||g&&o.oldScroll>=f.triggerPoint)&&(f.queueTrigger(o.forward),i[f.group.id]=f.group)}}return m.requestAnimationFrame(function(){for(var e in i)i[e].flushTriggers()}),this},n.findOrCreateByElement=function(e){return n.findByElement(e)||new n(e)},n.refreshAll=function(){for(var e in r)r[e].refresh()},n.findByElement=function(e){return r[e.waypointContextKey]},window.onload=function(){e&&e(),n.refreshAll()},m.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},m.Context=n}(),function(){"use strict";function s(e,t){return e.triggerPoint-t.triggerPoint}function a(e,t){return t.triggerPoint-e.triggerPoint}function t(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},i=window.Waypoint;t.prototype.add=function(e){this.waypoints.push(e)},t.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},t.prototype.flushTriggers=function(){for(var e in this.triggerQueues){var t=this.triggerQueues[e],n="up"===e||"left"===e;t.sort(n?a:s);for(var i=0,r=t.length;i<r;i+=1){var o=t[i];!o.options.continuous&&i!==t.length-1||o.trigger([e])}}this.clearTriggerQueues()},t.prototype.next=function(e){this.waypoints.sort(s);var t=i.Adapter.inArray(e,this.waypoints);return t===this.waypoints.length-1?null:this.waypoints[t+1]},t.prototype.previous=function(e){this.waypoints.sort(s);var t=i.Adapter.inArray(e,this.waypoints);return t?this.waypoints[t-1]:null},t.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},t.prototype.remove=function(e){var t=i.Adapter.inArray(e,this.waypoints);-1<t&&this.waypoints.splice(t,1)},t.prototype.first=function(){return this.waypoints[0]},t.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},t.findOrCreate=function(e){return n[e.axis][e.name]||new t(e)},i.Group=t}(),function(){"use strict";function n(e){this.$element=i(e)}var i=window.jQuery,e=window.Waypoint;i.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,t){n.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}}),i.each(["extend","inArray","isEmptyObject"],function(e,t){n[t]=i[t]}),e.adapters.push({name:"jquery",Adapter:n}),e.Adapter=n}(),function(){"use strict";function e(i){return function(){var t=[],n=arguments[0];return i.isFunction(arguments[0])&&((n=i.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var e=i.extend({},n,{element:this});"string"==typeof e.context&&(e.context=i(this).closest(e.context)[0]),t.push(new r(e))}),t}}var r=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}(),function(v){"use strict";v.fn.counterUp=function(e){var g,m=v.extend({time:400,delay:10,offset:100,beginAt:0,formatter:!1,context:"window",callback:function(){}},e);return this.each(function(){var d=v(this),p={time:v(this).data("counterup-time")||m.time,delay:v(this).data("counterup-delay")||m.delay,offset:v(this).data("counterup-offset")||m.offset,beginAt:v(this).data("counterup-beginat")||m.beginAt,context:v(this).data("counterup-context")||m.context};d.waypoint(function(e){!function(){var e=[],t=p.time/p.delay,n=v(this).attr("data-num")?v(this).attr("data-num"):d.text(),i=/[0-9]+,[0-9]+/.test(n),r=((n=n.replace(/,/g,"")).split(".")[1]||[]).length;p.beginAt>n&&(p.beginAt=n);var o=/[0-9]+:[0-9]+:[0-9]+/.test(n);if(o){var s=n.split(":"),a=1;for(g=0;0<s.length;)g+=a*parseInt(s.pop(),10),a*=60}for(var l=t;l>=p.beginAt/n*t;l--){var c=parseFloat(n/t*l).toFixed(r);if(o){c=parseInt(g/t*l);var u=parseInt(c/3600)%24,f=parseInt(c/60)%60,h=parseInt(c%60,10);c=(u<10?"0"+u:u)+":"+(f<10?"0"+f:f)+":"+(h<10?"0"+h:h)}if(i)for(;/(\d+)(\d{3})/.test(c.toString());)c=c.toString().replace(/(\d+)(\d{3})/,"$1,$2");m.formatter&&(c=m.formatter.call(this,c)),e.unshift(c)}d.data("counterup-nums",e),d.text(p.beginAt);d.data("counterup-func",function(){d.data("counterup-nums")?(d.html(d.data("counterup-nums").shift()),d.data("counterup-nums").length?setTimeout(d.data("counterup-func"),p.delay):(d.data("counterup-nums",null),d.data("counterup-func",null),m.callback.call(this))):m.callback.call(this)}),setTimeout(d.data("counterup-func"),p.delay)}(),this.destroy()},{offset:p.offset+"%",context:p.context})})}}(jQuery);
|
||
//# sourceMappingURL=vendor.min.js.map
|