1 |
- !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(C,e){"use strict";function g(e){return null!=e&&e===e.window}var t=[],E=C.document,r=Object.getPrototypeOf,a=t.slice,m=t.concat,l=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,s=v.toString,c=s.call(Object),y={},_=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},u={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var h="3.4.1",T=function(e,t){return new T.fn.init(e,t)},f=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!_(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}T.fn=T.prototype={jquery:h,constructor:T,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=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(n){return this.pushStack(T.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)},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},T.extend=T.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||_(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(c&&r&&(T.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[t],o=i&&!Array.isArray(n)?[]:i||T.isPlainObject(n)?n:{},i=!1,s[t]=T.extend(c,o,r)):void 0!==r&&(s[t]=r));return s},T.extend({expando:"jQuery"+(h+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=r(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){b(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(d(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(f,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?T.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!=s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return m.apply([],s)},guid:1,support:y}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=t[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var p=function(n){function h(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}function i(){x()}var e,d,b,o,s,p,f,g,w,l,c,x,C,a,E,m,u,v,y,T="sizzle"+1*new Date,_=n.document,I=0,r=0,S=le(),A=le(),k=le(),D=le(),N=function(e,t){return e===t&&(c=!0),0},M={}.hasOwnProperty,t=[],j=t.pop,O=t.push,L=t.push,P=t.slice,q=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",B="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",W=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",$=new RegExp(R+"+","g"),U=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),Q=new RegExp("^"+R+"*,"+R+"*"),z=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),V=new RegExp(R+"|>"),K=new RegExp(W),X=new RegExp("^"+F+"$"),Y={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,re=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{L.apply(t=P.call(_.childNodes),_.childNodes),t[_.childNodes.length].nodeType}catch(e){L={apply:t.length?function(e,t){O.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,n,r){var i,o,s,a,l,c,u,h=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!r&&((t?t.ownerDocument||t:_)!==C&&x(t),t=t||C,E)){if(11!==f&&(l=te.exec(e)))if(i=l[1]){if(9===f){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(h&&(s=h.getElementById(i))&&y(t,s)&&s.id===i)return n.push(s),n}else{if(l[2])return L.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&d.getElementsByClassName&&t.getElementsByClassName)return L.apply(n,t.getElementsByClassName(i)),n}if(d.qsa&&!D[e+" "]&&(!m||!m.test(e))&&(1!==f||"object"!==t.nodeName.toLowerCase())){if(u=e,h=t,1===f&&V.test(e)){for((a=t.getAttribute("id"))?a=a.replace(ie,oe):t.setAttribute("id",a=T),o=(c=p(e)).length;o--;)c[o]="#"+a+" "+_e(c[o]);u=c.join(","),h=ne.test(e)&&ve(t.parentNode)||t}try{return L.apply(n,h.querySelectorAll(u)),n}catch(t){D(e,!0)}finally{a===T&&t.removeAttribute("id")}}}return g(e.replace(U,"$1"),t,n,r)}function le(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ce(e){return e[T]=!0,e}function ue(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;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,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(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!G.test(t||n&&n.nodeName||"HTML")},x=ae.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:_;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!s(C),_!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",i,!1):n.attachEvent&&n.attachEvent("onunload",i)),d.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ue(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=ee.test(C.getElementsByClassName),d.getById=ue(function(e){return a.appendChild(e).id=T,!C.getElementsByName||!C.getElementsByName(T).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(re,h);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(re,h);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.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,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},u=[],m=[],(d.qsa=ee.test(C.querySelectorAll))&&(ue(function(e){a.appendChild(e).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+H+")"),e.querySelectorAll("[id~="+T+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||m.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),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("!=",W)}),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,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},N=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===C||e.ownerDocument===_&&y(_,e)?-1:t===C||t.ownerDocument===_&&y(_,t)?1:l?q(l,e)-q(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:l?q(l,e)-q(l,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?fe(s[r],a[r]):s[r]===_?-1:a[r]===_?1:0}),C},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&x(e),d.matchesSelector&&E&&!D[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){D(t,!0)}return 0<ae(t,C,null,[e]).length},ae.contains=function(e,t){return(e.ownerDocument||e)!==C&&x(e),y(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!==C&&x(e);var n=b.attrHandle[t.toLowerCase()],r=n&&M.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},ae.escape=function(e){return(e+"").replace(ie,oe)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,n=[],r=0,i=0;if(c=!d.detectDuplicates,l=!d.sortStable&&e.slice(0),e.sort(N),c){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return l=null,e},o=ae.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=ae.selectors={cacheLength:50,createPseudo:ce,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(re,h),e[3]=(e[3]||e[4]||e[5]||"").replace(re,h),"~="===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 Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.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(re,h).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=ae.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace($," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,g,m){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),_="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,s,a,l,c=v!=y?"nextSibling":"previousSibling",u=e.parentNode,h=_&&e.nodeName.toLowerCase(),f=!n&&!_,d=!1;if(u){if(v){for(;c;){for(s=e;s=s[c];)if(_?s.nodeName.toLowerCase()===h:1===s.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&f){for(d=(a=(r=(i=(o=(s=u)[T]||(s[T]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===I&&r[1])&&r[2],s=a&&u.childNodes[a];s=++a&&s&&s[c]||(d=a=0)||l.pop();)if(1===s.nodeType&&++d&&s===e){i[p]=[I,a,d];break}}else if(f&&(d=a=(r=(i=(o=(s=e)[T]||(s[T]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===I&&r[1]),!1===d)for(;(s=++a&&s&&s[c]||(d=a=0)||l.pop())&&((_?s.nodeName.toLowerCase()!==h:1!==s.nodeType)||!++d||(f&&((i=(o=s[T]||(s[T]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]=[I,d]),s!==e)););return(d-=m)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return s[T]?s(o):1<s.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,t){for(var n,r=s(e,o),i=r.length;i--;)e[n=q(e,r[i])]=!(t[n]=r[i])}):function(e){return s(e,0,t)}):s}},pseudos:{not:ce(function(e){var r=[],i=[],a=f(e.replace(U,"$1"));return a[T]?ce(function(e,t,n,r){for(var i,o=a(e,null,r,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))}):function(e,t,n){return r[0]=e,a(r,null,n,i),r[0]=null,!i.pop()}}),has:ce(function(t){return function(e){return 0<ae(t,e).length}}),contains:ce(function(t){return t=t.replace(re,h),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:ce(function(n){return X.test(n||"")||ae.error("unsupported lang: "+n),n=n.replace(re,h).toLowerCase(),function(e){var t;do{if(t=E?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===C.activeElement&&(!C.hasFocus||C.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!b.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 r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:me(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=pe(e);function ye(){}function _e(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(a,e,t){var l=e.dir,c=e.next,u=c||l,h=t&&"parentNode"===u,f=r++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||h)return a(e,t,n);return!1}:function(e,t,n){var r,i,o,s=[I,f];if(n){for(;e=e[l];)if((1===e.nodeType||h)&&a(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||h)if(i=(o=e[T]||(e[T]={}))[e.uniqueID]||(o[e.uniqueID]={}),c&&c===e.nodeName.toLowerCase())e=e[l]||e;else{if((r=i[u])&&r[0]===I&&r[1]===f)return s[2]=r[2];if((i[u]=s)[2]=a(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function xe(e,t,n,r,i){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),c&&t.push(a)));return s}function Ce(d,p,g,m,v,e){return m&&!m[T]&&(m=Ce(m)),v&&!v[T]&&(v=Ce(v,e)),ce(function(e,t,n,r){var i,o,s,a=[],l=[],c=t.length,u=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ae(e,t[r],n);return n}(p||"*",n.nodeType?[n]:n,[]),h=!d||!e&&p?u:xe(u,a,d,n,r),f=g?v||(e?d:c||m)?[]:t:h;if(g&&g(h,f,n,r),m)for(i=xe(f,l),m(i,[],n,r),o=i.length;o--;)(s=i[o])&&(f[l[o]]=!(h[l[o]]=s));if(e){if(v||d){if(v){for(i=[],o=f.length;o--;)(s=f[o])&&i.push(h[o]=s);v(null,f=[],i,r)}for(o=f.length;o--;)(s=f[o])&&-1<(i=v?q(e,s):a[o])&&(e[i]=!(t[i]=s))}}else f=xe(f===t?f.splice(c,f.length):f),v?v(null,t,f,r):L.apply(t,f)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],s=o||b.relative[" "],a=o?1:0,l=be(function(e){return e===i},s,!0),c=be(function(e){return-1<q(i,e)},s,!0),u=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?l(e,t,n):c(e,t,n));return i=null,r}];a<r;a++)if(t=b.relative[e[a].type])u=[be(we(u),t)];else{if((t=b.filter[e[a].type].apply(null,e[a].matches))[T]){for(n=++a;n<r&&!b.relative[e[n].type];n++);return Ce(1<a&&we(u),1<a&&_e(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(U,"$1"),t,a<n&&Ee(e.slice(a,n)),n<r&&Ee(e=e.slice(n)),n<r&&_e(e))}u.push(t)}return we(u)}return ye.prototype=b.filters=b.pseudos,b.setFilters=new ye,p=ae.tokenize=function(e,t){var n,r,i,o,s,a,l,c=A[e+" "];if(c)return t?0:c.slice(0);for(s=e,a=[],l=b.preFilter;s;){for(o in n&&!(r=Q.exec(s))||(r&&(s=s.slice(r[0].length)||s),a.push(i=[])),n=!1,(r=z.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(U," ")}),s=s.slice(n.length)),b.filter)!(r=Y[o].exec(s))||l[o]&&!(r=l[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ae.error(e):A(e,a).slice(0)},f=ae.compile=function(e,t){var n,m,v,y,_,r,i=[],o=[],s=k[e+" "];if(!s){for(n=(t=t||p(e)).length;n--;)(s=Ee(t[n]))[T]?i.push(s):o.push(s);(s=k(e,(m=o,y=0<(v=i).length,_=0<m.length,r=function(e,t,n,r,i){var o,s,a,l=0,c="0",u=e&&[],h=[],f=w,d=e||_&&b.find.TAG("*",i),p=I+=null==f?1:Math.random()||.1,g=d.length;for(i&&(w=t===C||t||i);c!==g&&null!=(o=d[c]);c++){if(_&&o){for(s=0,t||o.ownerDocument===C||(x(o),n=!E);a=m[s++];)if(a(o,t||C,n)){r.push(o);break}i&&(I=p)}y&&((o=!a&&o)&&l--,e&&u.push(o))}if(l+=c,y&&c!==l){for(s=0;a=v[s++];)a(u,h,t,n);if(e){if(0<l)for(;c--;)u[c]||h[c]||(h[c]=j.call(r));h=xe(h)}L.apply(r,h),i&&!e&&0<h.length&&1<l+v.length&&ae.uniqueSort(r)}return i&&(I=p,w=f),u},y?ce(r):r))).selector=e}return s},g=ae.select=function(e,t,n,r){var i,o,s,a,l,c="function"==typeof e&&e,u=!r&&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&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(re,h),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=Y.needsContext.test(e)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((l=b.find[a])&&(r=l(s.matches[0].replace(re,h),ne.test(o[0].type)&&ve(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&_e(o)))return L.apply(n,r),n;break}}return(c||f(e,u))(r,t,!E,n,!t||ne.test(e)&&ve(t.parentNode)||t),n},d.sortStable=T.split("").sort(N).join("")===T,d.detectDuplicates=!!c,x(),d.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||he("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")})||he("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||he(H,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ae}(C);T.find=p,T.expr=p.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=p.uniqueSort,T.text=p.getText,T.isXMLDoc=p.isXML,T.contains=p.contains,T.escapeSelector=p.escape;function x(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(n))break;r.push(e)}return r}function I(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var S=T.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 D(e,n,r){return _(n)?T.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?T.grep(e,function(e){return e===n!==r}):"string"!=typeof n?T.grep(e,function(e){return-1<i.call(n,e)!==r}):T.filter(n,e,r)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<r;t++)if(T.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,i[t],n);return 1<r?T.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&S.test(e)?T(e):e||[],!1).length}});var N,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||N,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:M.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),k.test(r[1])&&T.isPlainObject(t))for(r in t)_(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=T.fn,N=T(E);var j=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],s="string"!=typeof e&&T(e);if(!S.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&T.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(T(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x(e,"parentNode")},parentsUntil:function(e,t,n){return x(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return x(e,"nextSibling")},prevAll:function(e){return x(e,"previousSibling")},nextUntil:function(e,t,n){return x(e,"nextSibling",n)},prevUntil:function(e,t,n){return x(e,"previousSibling",n)},siblings:function(e){return I((e.parentNode||{}).firstChild,e)},children:function(e){return I(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(A(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(r,i){T.fn[r]=function(e,t){var n=T.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=T.filter(t,n)),1<this.length&&(O[r]||T.uniqueSort(n),j.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function q(e){return e}function H(e){throw e}function R(e,t,n,r){var i;try{e&&_(i=e.promise)?i.call(e).done(t).fail(n):e&&_(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},T.each(e.match(P)||[],function(e,t){n[t]=!0}),n):T.extend({},r);function i(){for(a=a||r.once,s=o=!0;c.length;u=-1)for(t=c.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&r.stopOnFalse&&(u=l.length,t=!1);r.memory||(t=!1),o=!1,a&&(l=t?[]:"")}var o,t,s,a,l=[],c=[],u=-1,h={add:function(){return l&&(t&&!o&&(u=l.length-1,c.push(t)),function n(e){T.each(e,function(e,t){_(t)?r.unique&&h.has(t)||l.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!o&&i()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;-1<(n=T.inArray(t,l,n));)l.splice(n,1),n<=u&&u--}),this},has:function(e){return e?-1<T.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return a=c=[],t||o||(l=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),o||i()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!s}};return h},T.extend({Deferred:function(e){var o=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],i="pending",s={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var i=arguments;return T.Deferred(function(r){T.each(o,function(e,t){var n=_(i[t[4]])&&i[t[4]];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&_(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var l=0;function c(i,o,s,a){return function(){function e(){var e,t;if(!(i<l)){if((e=s.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,_(t)?a?t.call(e,c(l,o,q,a),c(l,o,H,a)):(l++,t.call(e,c(l,o,q,a),c(l,o,H,a),c(l,o,q,o.notifyWith))):(s!==q&&(n=void 0,r=[e]),(a||o.resolveWith)(n,r))}}var n=this,r=arguments,t=a?e:function(){try{e()}catch(e){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(e,t.stackTrace),l<=i+1&&(s!==H&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(T.Deferred.getStackHook&&(t.stackTrace=T.Deferred.getStackHook()),C.setTimeout(t))}}return T.Deferred(function(e){o[0][3].add(c(0,e,_(r)?r:q,e.notifyWith)),o[1][3].add(c(0,e,_(t)?t:q)),o[2][3].add(c(0,e,_(n)?n:H))}).promise()},promise:function(e){return null!=e?T.extend(e,s):s}},a={};return T.each(o,function(e,t){var n=t[2],r=t[5];s[t[1]]=n.add,r&&n.add(function(){i=r},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){i[t]=this,o[t]=1<arguments.length?a.call(arguments):e,--n||s.resolveWith(i,o)}}var n=arguments.length,r=n,i=Array(r),o=a.call(arguments),s=T.Deferred();if(n<=1&&(R(e,s.done(t(r)).resolve,s.reject,!n),"pending"===s.state()||_(o[r]&&o[r].then)))return s.then();for(;r--;)R(o[r],t(r),s.reject);return s.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&F.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){C.setTimeout(function(){throw e})};var B=T.Deferred();function W(){E.removeEventListener("DOMContentLoaded",W),C.removeEventListener("load",W),T.ready()}T.fn.ready=function(e){return B.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0)!==e&&0<--T.readyWait||B.resolveWith(E,[T])}}),T.ready.then=B.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(T.ready):(E.addEventListener("DOMContentLoaded",W),C.addEventListener("load",W));var $=function(e,t,n,r,i,o,s){var a=0,l=e.length,c=null==n;if("object"===w(n))for(a in i=!0,n)$(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,_(r)||(s=!0),c&&(t=s?(t.call(e,r),null):(c=t,function(e,t,n){return c.call(T(e),n)})),t))for(;a<l;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:c?t.call(e):l?t(e[0],n):o},U=/^-ms-/,Q=/-([a-z])/g;function z(e,t){return t.toUpperCase()}function V(e){return e.replace(U,"ms-").replace(Q,z)}function K(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function X(){this.expando=T.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},K(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[V(t)]=n;else for(r in t)i[V(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(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,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(V):(t=V(t))in r?[t]:t.match(P)||[]).length;for(;n--;)delete r[t[n]]}void 0!==t&&!T.isEmptyObject(r)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var Y=new X,G=new X,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function ee(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Z,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}G.set(e,t,n)}else n=void 0;return n}T.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)}}),T.fn.extend({data:function(n,e){var t,r,i,o=this[0],s=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){G.set(this,n)}):$(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=G.get(o,n))?t:void 0!==(t=ee(o,n))?t:void 0;this.each(function(){G.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=G.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&0===(r=s[t].name).indexOf("data-")&&(r=V(r.slice(5)),ee(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){G.remove(this,e)})}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),o=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){T.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:T.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?T.queue(this[0],t):void 0===n?this:this.each(function(){var e=T.queue(this,t,n);T._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&T.dequeue(this,t)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(s,[s])}var r,i=1,o=T.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=Y.get(s[a],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ie=E.documentElement,oe=function(e){return T.contains(e.ownerDocument,e)},se={composed:!0};ie.getRootNode&&(oe=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});function ae(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===T.css(e,"display")}function le(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=s[o];return i}function ce(e,t,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return T.css(e,t,"")},l=a(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&ne.exec(T.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)T.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,T.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ue={};function he(e,t){for(var n,r,i,o,s,a,l,c=[],u=0,h=e.length;u<h;u++)(r=e[u]).style&&(n=r.style.display,t?("none"===n&&(c[u]=Y.get(r,"display")||null,c[u]||(r.style.display="")),""===r.style.display&&ae(r)&&(c[u]=(l=s=o=void 0,s=(i=r).ownerDocument,a=i.nodeName,(l=ue[a])||(o=s.body.appendChild(s.createElement(a)),l=T.css(o,"display"),o.parentNode.removeChild(o),"none"===l&&(l="block"),ue[a]=l)))):"none"!==n&&(c[u]="none",Y.set(r,"display",n)));for(u=0;u<h;u++)null!=c[u]&&(e[u].style.display=c[u]);return e}T.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?T(this).show():T(this).hide()})}});var fe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function 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)?T.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;var ye,_e,be=/<|&#?\w+;/;function we(e,t,n,r,i){for(var o,s,a,l,c,u,h=t.createDocumentFragment(),f=[],d=0,p=e.length;d<p;d++)if((o=e[d])||0===o)if("object"===w(o))T.merge(f,o.nodeType?[o]:o);else if(be.test(o)){for(s=s||h.appendChild(t.createElement("div")),a=(de.exec(o)||["",""])[1].toLowerCase(),l=ge[a]||ge._default,s.innerHTML=l[1]+T.htmlPrefilter(o)+l[2],u=l[0];u--;)s=s.lastChild;T.merge(f,s.childNodes),(s=h.firstChild).textContent=""}else f.push(t.createTextNode(o));for(h.textContent="",d=0;o=f[d++];)if(r&&-1<T.inArray(o,r))i&&i.push(o);else if(c=oe(o),s=me(h.appendChild(o),"script"),c&&ve(s),n)for(u=0;o=s[u++];)pe.test(o.type||"")&&n.push(o);return h}ye=E.createDocumentFragment().appendChild(E.createElement("div")),(_e=E.createElement("input")).setAttribute("type","radio"),_e.setAttribute("checked","checked"),_e.setAttribute("name","t"),ye.appendChild(_e),y.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var xe=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Ie(){return!1}function Se(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ie;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return T().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=T.guid++)),e.each(function(){T.event.add(this,t,i,r,n)})}function ke(e,i,o){o?(Y.set(e,i,!1),T.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(T.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=a.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Y.set(this,i,{value:T.event.trigger(T.extend(r[0],T.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&T.event.add(e,i,Te)}T.event={global:{},add:function(t,e,n,r,i){var o,s,a,l,c,u,h,f,d,p,g,m=Y.get(t);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&T.find.matchesSelector(ie,i),n.guid||(n.guid=T.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(P)||[""]).length;c--;)d=g=(a=Ee.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),d&&(h=T.event.special[d]||{},d=(i?h.delegateType:h.bindType)||d,h=T.event.special[d]||{},u=T.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=l[d])||((f=l[d]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,r,p,s)||t.addEventListener&&t.addEventListener(d,s)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u),T.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,s,a,l,c,u,h,f,d,p,g,m=Y.hasData(e)&&Y.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(P)||[""]).length;c--;)if(d=g=(a=Ee.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),d){for(h=T.event.special[d]||{},f=l[d=(r?h.delegateType:h.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)u=f[o],!i&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,h.remove&&h.remove.call(e,u));s&&!f.length&&(h.teardown&&!1!==h.teardown.call(e,p,m.handle)||T.removeEvent(e,d,m.handle),delete l[d])}else for(d in l)T.event.remove(e,d+t[c],n,r,!0);T.isEmptyObject(l)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=T.event.fix(e),l=new Array(arguments.length),c=(Y.get(this,"events")||{})[a.type]||[],u=T.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,a)){for(s=T.event.handlers.call(this,a,c),t=0;(i=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(r=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,l))&&!1===(a.result=r)&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,r,i,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[i=(r=t[n]).selector+" "]&&(s[i]=r.needsContext?-1<T(i,this).index(c):T.find(i,this,null,[c]).length),s[i]&&o.push(r);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(T.Event.prototype,t,{enumerable:!0,configurable:!0,get:_(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[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return fe.test(t.type)&&t.click&&A(t,"input")&&ke(t,"click",Te),!1},trigger:function(e){var t=this||e;return fe.test(t.type)&&t.click&&A(t,"input")&&ke(t,"click"),!0},_default:function(e){var t=e.target;return fe.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)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:Ie,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&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ie,isPropagationStopped:Ie,isImmediatePropagationStopped:Ie,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.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&&xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ce.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){T.event.special[e]={setup:function(){return ke(this,e,Se),!1},trigger:function(){return ke(this,e),!0},delegateType:t}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){T.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||T.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),T.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ie),this.each(function(){T.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var De=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ne=/<script|<style|<link/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qe(e,t){var n,r,i,o,s,a,l,c;if(1===t.nodeType){if(Y.hasData(e)&&(o=Y.access(e),s=Y.set(t,o),c=o.events))for(i in delete s.handle,s.events={},c)for(n=0,r=c[i].length;n<r;n++)T.event.add(t,i,c[i][n]);G.hasData(e)&&(a=G.access(e),l=T.extend({},a),G.set(t,l))}}function He(n,r,i,o){r=m.apply([],r);var e,t,s,a,l,c,u=0,h=n.length,f=h-1,d=r[0],p=_(d);if(p||1<h&&"string"==typeof d&&!y.checkClone&&Me.test(d))return n.each(function(e){var t=n.eq(e);p&&(r[0]=d.call(this,e,t.html())),He(t,r,i,o)});if(h&&(t=(e=we(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=T.map(me(e,"script"),Le)).length;u<h;u++)l=e,u!==f&&(l=T.clone(l,!0,!0),a&&T.merge(s,me(l,"script"))),i.call(n[u],l,u);if(a)for(c=s[s.length-1].ownerDocument,T.map(s,Pe),u=0;u<a;u++)l=s[u],pe.test(l.type||"")&&!Y.access(l,"globalEval")&&T.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):b(l.textContent.replace(je,""),l,c))}return n}function Re(e,t,n){for(var r,i=t?T.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||T.cleanData(me(r)),r.parentNode&&(n&&oe(r)&&ve(me(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e.replace(De,"<$1></$2>")},clone:function(e,t,n){var r,i,o,s,a,l,c,u=e.cloneNode(!0),h=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(s=me(u),r=0,i=(o=me(e)).length;r<i;r++)a=o[r],"input"===(c=(l=s[r]).nodeName.toLowerCase())&&fe.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),r=0,i=o.length;r<i;r++)qe(o[r],s[r]);else qe(e,u);return 0<(s=me(u,"script")).length&&ve(s,!h&&me(e,"script")),u},cleanData:function(e){for(var t,n,r,i=T.event.special,o=0;void 0!==(n=e[o]);o++)if(K(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[G.expando]&&(n[G.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return $(this,function(e){return void 0===e?T.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 He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(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&&(T.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 T.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.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 He(this,arguments,function(e){var t=this.parentNode;T.inArray(this,n)<0&&(T.cleanData(me(this)),t&&t.replaceChild(e,this))},n)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){T.fn[e]=function(e){for(var t,n=[],r=T(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),T(r[o])[s](t),l.apply(n,t.get());return this.pushStack(n)}});var Fe,Be,We,$e,Ue,Qe,ze,Ve=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Xe=new RegExp(re.join("|"),"i");function Ye(e,t,n){var r,i,o,s,a=e.style;return(n=n||Ke(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||oe(e)||(s=T.style(e,t)),!y.pixelBoxStyles()&&Ve.test(s)&&Xe.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function Je(){if(ze){Qe.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ze.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(Qe).appendChild(ze);var e=C.getComputedStyle(ze);Fe="1%"!==e.top,Ue=12===Ze(e.marginLeft),ze.style.right="60%",$e=36===Ze(e.right),Be=36===Ze(e.width),ze.style.position="absolute",We=12===Ze(ze.offsetWidth/3),ie.removeChild(Qe),ze=null}}function Ze(e){return Math.round(parseFloat(e))}Qe=E.createElement("div"),(ze=E.createElement("div")).style&&(ze.style.backgroundClip="content-box",ze.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===ze.style.backgroundClip,T.extend(y,{boxSizingReliable:function(){return Je(),Be},pixelBoxStyles:function(){return Je(),$e},pixelPosition:function(){return Je(),Fe},reliableMarginLeft:function(){return Je(),Ue},scrollboxSize:function(){return Je(),We}}));var et=["Webkit","Moz","ms"],tt=E.createElement("div").style,nt={};function rt(e){return T.cssProps[e]||nt[e]||(e in tt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=et.length;n--;)if((e=et[n]+t)in tt)return e}(e)||e)}var it=/^(none|table(?!-c[ea]).+)/,ot=/^--/,st={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=ne.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,i,o){var s="width"===t?1:0,a=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=T.css(e,n+re[s],!0,i)),r?("content"===n&&(l-=T.css(e,"padding"+re[s],!0,i)),"margin"!==n&&(l-=T.css(e,"border"+re[s]+"Width",!0,i))):(l+=T.css(e,"padding"+re[s],!0,i),"padding"!==n?l+=T.css(e,"border"+re[s]+"Width",!0,i):a+=T.css(e,"border"+re[s]+"Width",!0,i));return!r&&0<=o&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function ut(e,t,n){var r=Ke(e),i=(!y.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),o=i,s=Ye(e,t,r),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(s)){if(!n)return s;s="auto"}return(!y.boxSizingReliable()&&i||"auto"===s||!parseFloat(s)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===T.css(e,"boxSizing",!1,r),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+ct(e,t,n||(i?"border":"content"),o,r,s)+"px"}function ht(e,t,n,r,i){return new ht.prototype.init(e,t,n,r,i)}T.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,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=V(t),l=ot.test(t),c=e.style;if(l||(t=rt(a)),s=T.cssHooks[t]||T.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:c[t];"string"==(o=typeof n)&&(i=ne.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(T.cssNumber[a]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,s,a=V(t);return ot.test(t)||(t=rt(a)),(s=T.cssHooks[t]||T.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=Ye(e,t,r)),"normal"===i&&t in at&&(i=at[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),T.each(["height","width"],function(e,l){T.cssHooks[l]={get:function(e,t,n){if(t)return!it.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,l,n):le(e,st,function(){return ut(e,l,n)})},set:function(e,t,n){var r,i=Ke(e),o=!y.scrollboxSize()&&"absolute"===i.position,s=(o||n)&&"border-box"===T.css(e,"boxSizing",!1,i),a=n?ct(e,l,n,s,i):0;return s&&o&&(a-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(i[l])-ct(e,l,"border",!1,i)-.5)),a&&(r=ne.exec(t))&&"px"!==(r[3]||"px")&&(e.style[l]=t,t=T.css(e,l)),lt(0,t,a)}}}),T.cssHooks.marginLeft=Ge(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(i,o){T.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+re[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(T.cssHooks[i+o].set=lt)}),T.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){for(r=Ke(e),i=t.length;s<i;s++)o[t[s]]=T.css(e,t[s],!1,r);return o}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,1<arguments.length)}}),((T.Tween=ht).prototype={constructor:ht,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var e=ht.propHooks[this.prop];return e&&e.get?e.get(this):ht.propHooks._default.get(this)},run:function(e){var t,n=ht.propHooks[this.prop];return this.options.duration?this.pos=t=T.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):ht.propHooks._default.set(this),this}}).init.prototype=ht.prototype,(ht.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=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=ht.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=ht.prototype.init,T.fx.step={};var ft,dt,pt,gt,mt=/^(?:toggle|show|hide)$/,vt=/queueHooks$/;function yt(){dt&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(yt):C.setTimeout(yt,T.fx.interval),T.fx.tick())}function _t(){return C.setTimeout(function(){ft=void 0}),ft=Date.now()}function bt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=re[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function wt(e,t,n){for(var r,i=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function xt(o,e,t){var n,s,r=0,i=xt.prefilters.length,a=T.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=ft||_t(),t=Math.max(0,c.startTime+c.duration-e),n=1-(t/c.duration||0),r=0,i=c.tweens.length;r<i;r++)c.tweens[r].run(n);return a.notifyWith(o,[c,n,t]),n<1&&i?t:(i||a.notifyWith(o,[c,1,0]),a.resolveWith(o,[c]),!1)},c=a.promise({elem:o,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},t),originalProperties:e,originalOptions:t,startTime:ft||_t(),duration:t.duration,tweens:[],createTween:function(e,t){var n=T.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,r,i,o,s;for(n in e)if(i=t[r=V(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=T.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);r<i;r++)if(n=xt.prefilters[r].call(c,o,u,c.opts))return _(n.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return T.map(u,wt,c),_(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),T.fx.timer(T.extend(l,{elem:o,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(xt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,ne.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=_(e)?(t=e,["*"]):e.match(P)).length;r<i;r++)n=e[r],xt.tweeners[n]=xt.tweeners[n]||[],xt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,s,a,l,c,u,h="width"in t||"height"in t,f=this,d={},p=e.style,g=e.nodeType&&ae(e),m=Y.get(e,"fxshow");for(r in n.queue||(null==(s=T._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,T.queue(e,"fx").length||s.empty.fire()})})),t)if(i=t[r],mt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}d[r]=m&&m[r]||T.style(e,r)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(d))for(r in h&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=Y.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(he([e],!0),c=e.style.display||c,u=T.css(e,"display"),he([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(f.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.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&&he([e],!0),f.done(function(){for(r in g||he([e]),Y.remove(e,"fxshow"),d)T.style(e,r,d[r])})),l=wt(g?m[r]:0,r,f),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||_(e)&&e,duration:e,easing:n&&t||t&&!_(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){_(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=xt(this,T.extend({},t),s);(o||Y.get(this,"finish"))&&e.stop(!0)}var o=T.isEmptyObject(t),s=T.speed(e,n,r);return i.finish=i,o||!1===s.queue?this.each(i):this.queue(s.queue,i)},stop:function(i,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=T.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&s(r[t]);else for(t in r)r[t]&&r[t].stop&&vt.test(t)&&s(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||T.dequeue(this,i)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=Y.get(this),n=t[s+"queue"],r=t[s+"queueHooks"],i=T.timers,o=n?n.length:0;for(t.finish=!0,T.queue(this,s,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===s&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),T.each(["toggle","show","hide"],function(e,r){var i=T.fn[r];T.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(bt(r,!0),e,t,n)}}),T.each({slideDown:bt("show"),slideUp:bt("hide"),slideToggle:bt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){T.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ft=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){dt||(dt=!0,yt())},T.fx.stop=function(){dt=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(r,e){return r=T.fx&&T.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},pt=E.createElement("input"),gt=E.createElement("select").appendChild(E.createElement("option")),pt.type="checkbox",y.checkOn=""!==pt.value,y.optSelected=gt.selected,(pt=E.createElement("input")).value="t",pt.type="radio",y.radioValue="t"===pt.value;var Ct,Et=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return $(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,n):(1===o&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?Ct:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},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,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Ct={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var s=Et[t]||T.find.attr;Et[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=Et[o],Et[o]=r,r=null!=s(e,t,n)?o:null,Et[o]=i),r}});var Tt=/^(?:input|select|textarea|button)$/i,It=/^(?:a|area)$/i;function St(e){return(e.match(P)||[]).join(" ")}function At(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}T.fn.extend({prop:function(e,t){return $(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||It.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(T.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)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,l=0;if(_(t))return this.each(function(e){T(this).addClass(t.call(this,e,At(this)))});if((e=kt(t)).length)for(;n=this[l++];)if(i=At(n),r=1===n.nodeType&&" "+St(i)+" "){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=St(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,l=0;if(_(t))return this.each(function(e){T(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(i=At(n),r=1===n.nodeType&&" "+St(i)+" "){for(s=0;o=e[s++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(a=St(r))&&n.setAttribute("class",a)}return this},toggleClass:function(i,t){var o=typeof i,s="string"==o||Array.isArray(i);return"boolean"==typeof t&&s?t?this.addClass(i):this.removeClass(i):_(i)?this.each(function(e){T(this).toggleClass(i.call(this,e,At(this),t),t)}):this.each(function(){var e,t,n,r;if(s)for(t=0,n=T(this),r=kt(i);e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!=o||((e=At(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+St(At(n))+" ").indexOf(t))return!0;return!1}});var Dt=/\r/g;T.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=_(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,T(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=T.map(t,function(e){return null==e?"":e+""})),(r=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=T.valHooks[t.type]||T.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(Dt,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:St(T.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:i.length;for(r=o<0?l:s?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=T(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=T.makeArray(t),s=i.length;s--;)((r=i[s]).selected=-1<T.inArray(T.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<T.inArray(T(e).val(),t)}},y.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;function Nt(e){e.stopPropagation()}var Mt=/^(?:focusinfocus|focusoutblur)$/;T.extend(T.event,{trigger:function(e,t,n,r){var i,o,s,a,l,c,u,h,f=[n||E],d=v.call(e,"type")?e.type:e,p=v.call(e,"namespace")?e.namespace.split("."):[];if(o=h=s=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!Mt.test(d+T.event.triggered)&&(-1<d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),l=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=r?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]:T.makeArray(t,[e]),u=T.event.special[d]||{},r||!u.trigger||!1!==u.trigger.apply(n,t))){if(!r&&!u.noBubble&&!g(n)){for(a=u.delegateType||d,Mt.test(a+d)||(o=o.parentNode);o;o=o.parentNode)f.push(o),s=o;s===(n.ownerDocument||E)&&f.push(s.defaultView||s.parentWindow||C)}for(i=0;(o=f[i++])&&!e.isPropagationStopped();)h=o,e.type=1<i?a:u.bindType||d,(c=(Y.get(o,"events")||{})[e.type]&&Y.get(o,"handle"))&&c.apply(o,t),(c=l&&o[l])&&c.apply&&K(o)&&(e.result=c.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(f.pop(),t)||!K(n)||l&&_(n[d])&&!g(n)&&((s=n[l])&&(n[l]=null),T.event.triggered=d,e.isPropagationStopped()&&h.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&h.removeEventListener(d,Nt),T.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),y.focusin||T.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){T.event.simulate(r,e.target,T.event.fix(e))}T.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var jt=C.location,Ot=Date.now(),Lt=/\?/;T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t};var Pt=/\[\]$/,qt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Rt=/^(?:input|select|textarea|keygen)/i;function Ft(n,e,r,i){var t;if(Array.isArray(e))T.each(e,function(e,t){r||Pt.test(n)?i(n,t):Ft(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)Ft(n+"["+t+"]",e[t],r,i)}T.param=function(e,t){function n(e,t){var n=_(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)}var r,i=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){n(this.name,this.value)});else for(r in e)Ft(r,e[r],t,n);return i.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Rt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!fe.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(qt,"\r\n")}}):{name:t.name,value:n.replace(qt,"\r\n")}}).get()}});var Bt=/%20/g,Wt=/#.*$/,$t=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,Qt=/^(?:GET|HEAD)$/,zt=/^\/\//,Vt={},Kt={},Xt="*/".concat("*"),Yt=E.createElement("a");function Gt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(_(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Jt(t,i,o,s){var a={},l=t===Kt;function c(e){var r;return a[e]=!0,T.each(t[e]||[],function(e,t){var n=t(i,o,s);return"string"!=typeof n||l||a[n]?l?!(r=n):void 0:(i.dataTypes.unshift(n),c(n),!1)}),r}return c(i.dataTypes[0])||!a["*"]&&c("*")}function Zt(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r=r||{})[n]=t[n]);return r&&T.extend(!0,e,r),e}Yt.href=jt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(jt.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":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,T.ajaxSettings),t):Zt(T.ajaxSettings,e)},ajaxPrefilter:Gt(Vt),ajaxTransport:Gt(Kt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,h,f,n,d,r,p,g,i,o,m=T.ajaxSetup({},t),v=m.context||m,y=m.context&&(v.nodeType||v.jquery)?T(v):T.event,_=T.Deferred(),b=T.Callbacks("once memory"),w=m.statusCode||{},s={},a={},l="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(p){if(!n)for(n={};t=Ut.exec(f);)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?f: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)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||l;return u&&u.abort(t),c(0,t),this}};if(_.promise(x),m.url=((e||m.url||jt.href)+"").replace(zt,jt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(P)||[""],null==m.crossDomain){r=E.createElement("a");try{r.href=m.url,r.href=r.href,m.crossDomain=Yt.protocol+"//"+Yt.host!=r.protocol+"//"+r.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=T.param(m.data,m.traditional)),Jt(Vt,m,t,x),p)return x;for(i in(g=T.event&&m.global)&&0==T.active++&&T.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Qt.test(m.type),h=m.url.replace(Wt,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Bt,"+")):(o=m.url.slice(h.length),m.data&&(m.processData||"string"==typeof m.data)&&(h+=(Lt.test(h)?"&":"?")+m.data,delete m.data),!1===m.cache&&(h=h.replace($t,"$1"),o=(Lt.test(h)?"&":"?")+"_="+Ot+++o),m.url=h+o),m.ifModified&&(T.lastModified[h]&&x.setRequestHeader("If-Modified-Since",T.lastModified[h]),T.etag[h]&&x.setRequestHeader("If-None-Match",T.etag[h])),(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(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(v,x,m)||p))return x.abort();if(l="abort",b.add(m.complete),x.done(m.success),x.fail(m.error),u=Jt(Kt,m,t,x)){if(x.readyState=1,g&&y.trigger("ajaxSend",[x,m]),p)return x;m.async&&0<m.timeout&&(d=C.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,r){var i,o,s,a,l,c=t;p||(p=!0,d&&C.clearTimeout(d),u=void 0,f=r||"",x.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}s=s||i}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(m,x,n)),a=function(e,t,n,r){var i,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&&r&&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(i in c)if((a=i.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[i]:!0!==c[i]&&(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,i),i?(m.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(T.lastModified[h]=l),(l=x.getResponseHeader("etag"))&&(T.etag[h]=l)),204===e||"HEAD"===m.type?c="nocontent":304===e?c="notmodified":(c=a.state,o=a.data,i=!(s=a.error))):(s=c,!e&&c||(c="error",e<0&&(e=0))),x.status=e,x.statusText=(t||c)+"",i?_.resolveWith(v,[o,c,x]):_.rejectWith(v,[x,c,s]),x.statusCode(w),w=void 0,g&&y.trigger(i?"ajaxSuccess":"ajaxError",[x,m,i?o:s]),b.fireWith(v,[x,c]),g&&(y.trigger("ajaxComplete",[x,m]),--T.active||T.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,i){T[i]=function(e,t,n,r){return _(t)&&(r=r||n,n=t,t=void 0),T.ajax(T.extend({url:e,type:i,dataType:r,data:t,success:n},T.isPlainObject(e)&&e))}}),T._evalUrl=function(e,t){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=T(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 _(n)?this.each(function(e){T(this).wrapInner(n.call(this,e))}):this.each(function(){var e=T(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=_(t);return this.each(function(e){T(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var en={0:200,1223:204},tn=T.ajaxSettings.xhr();y.cors=!!tn&&"withCredentials"in tn,y.ajax=tn=!!tn,T.ajaxTransport(function(i){var o,s;if(y.cors||tn&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(en[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),s=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&s()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.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 T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=T("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var nn,rn=[],on=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=rn.pop()||T.expando+"_"+Ot++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(on.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&on.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=_(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(on,"$1"+r):!1!==e.jsonp&&(e.url+=(Lt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||T.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?T(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,rn.push(r)),o&&_(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((nn=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===nn.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=k.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var r,i,o},T.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return-1<a&&(r=St(e.slice(a)),e=e.slice(0,a)),_(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<s.length&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.pseudos.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(e,t,n){var r,i,o,s,a,l,c=T.css(e,"position"),u=T(e),h={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=T.css(e,"top"),l=T.css(e,"left"),i=("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(s=(r=u.position()).top,r.left):(s=parseFloat(o)||0,parseFloat(l)||0),_(t)&&(t=t.call(e,n,T.extend({},a))),null!=t.top&&(h.top=t.top-a.top+s),null!=t.left&&(h.left=t.left-a.left+i),"using"in t?t.using.call(e,h):u.css(h)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.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,r=this[0],i={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),i.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-T.css(r,"marginTop",!0),left:t.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ie})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;T.fn[t]=function(e){return $(this,function(e,t,n){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),T.each(["top","left"],function(e,n){T.cssHooks[n]=Ge(y.pixelPosition,function(e,t){if(t)return t=Ye(e,n),Ve.test(t)?T(e).position()[n]+"px":t})}),T.each({Height:"height",Width:"width"},function(s,a){T.each({padding:"inner"+s,content:a,"":"outer"+s},function(r,o){T.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return g(e)?0===o.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+s],r["scroll"+s],e.body["offset"+s],r["offset"+s],r["client"+s])):void 0===n?T.css(e,t,i):T.style(e,t,n,i)},a,n?e:void 0,n)}})}),T.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){T.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),T.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),T.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),_(e))return r=a.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(a.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=A,T.isFunction=_,T.isWindow=g,T.camelCase=V,T.type=w,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return T});var sn=C.jQuery,an=C.$;return T.noConflict=function(e){return C.$===T&&(C.$=an),e&&C.jQuery===T&&(C.jQuery=sn),T},e||(C.jQuery=C.$=T),T});var SVGMorpheus=function(){"use strict";function u(e,t,n){var r,i={};for(r in e)switch(r){case"fill":case"stroke":i[r]=m(e[r]),i[r].r=e[r].r+(t[r].r-e[r].r)*n,i[r].g=e[r].g+(t[r].g-e[r].g)*n,i[r].b=e[r].b+(t[r].b-e[r].b)*n,i[r].opacity=e[r].opacity+(t[r].opacity-e[r].opacity)*n;break;case"opacity":case"fill-opacity":case"stroke-opacity":case"stroke-width":i[r]=e[r]+(t[r]-e[r])*n}return i}function p(e){var t,n={};for(t in e)switch(t){case"fill":case"stroke":n[t]=o(e[t]);break;case"opacity":case"fill-opacity":case"stroke-opacity":case"stroke-width":n[t]=e[t]}return n}function g(e,t){var n,r=[{},{}];for(n in e)switch(n){case"fill":case"stroke":r[0][n]=s(e[n]),void 0===t[n]&&(r[1][n]=s(e[n]),r[1][n].opacity=0);break;case"opacity":case"fill-opacity":case"stroke-opacity":case"stroke-width":r[0][n]=e[n],void 0===t[n]&&(r[1][n]=1)}for(n in t)switch(n){case"fill":case"stroke":r[1][n]=s(t[n]),void 0===e[n]&&(r[0][n]=s(t[n]),r[0][n].opacity=0);break;case"opacity":case"fill-opacity":case"stroke-opacity":case"stroke-width":r[1][n]=t[n],void 0===e[n]&&(r[0][n]=1)}return r}function h(e,t,n){var r={};for(var i in e)switch(i){case"rotate":r[i]=[0,0,0];for(var o=0;o<3;o++)r[i][o]=e[i][o]+(t[i][o]-e[i][o])*n}return r}function f(e,t,n){for(var r=[],i=0,o=e.length;i<o;i++){r.push([e[i][0]]);for(var s=1,a=e[i].length;s<a;s++)r[i].push(e[i][s]+(t[i][s]-e[i][s])*n)}return r}function m(e){var t;if(e instanceof Array){t=[];for(var n=0,r=e.length;n<r;n++)t[n]=m(e[n]);return t}if(e instanceof Object){for(var i in t={},e)e.hasOwnProperty(i)&&(t[i]=m(e[i]));return t}return e}function e(e,t,n){if(!e)throw new Error('SVGMorpheus > "element" is required');if("string"==typeof e&&!(e=document.querySelector(e)))throw new Error('SVGMorpheus > "element" query is not related to an existing DOM node');if(t&&typeof t!=typeof{})throw new Error('SVGMorpheus > "options" parameter must be an object');if(t=t||{},n&&"function"!=typeof n)throw new Error('SVGMorpheus > "callback" parameter must be a function');var r=this;this._icons={},this._curIconId=t.iconId||"",this._toIconId="",this._curIconItems=[],this._fromIconItems=[],this._toIconItems=[],this._morphNodes=[],this._morphG,this._startTime,this._defDuration=t.duration||750,this._defEasing=t.easing||"quad-in-out",this._defRotation=t.rotation||"clock",this._defCallback=n||function(){},this._duration=this._defDuration,this._easing=this._defEasing,this._rotation=this._defRotation,this._callback=this._defCallback,this._rafid,this._fnTick=function(e){r._startTime||(r._startTime=e);var t=Math.min((e-r._startTime)/r._duration,1);r._updateAnimationProgress(t),t<1?r._rafid=i(r._fnTick):r._animationEnd()},this._svgDoc="SVG"===e.nodeName.toUpperCase()?e:e.getSVGDocument(),this._svgDoc?r._init():e.addEventListener("load",function(){r._svgDoc=e.getSVGDocument(),r._init()},!1)}function y(e,t){for(var n=[],r=0,i=e.length;r<i-2*!t;r+=2){var o=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?i-4==r?o[3]={x:+e[0],y:+e[1]}:i-2==r&&(o[2]={x:+e[0],y:+e[1]},o[3]={x:+e[2],y:+e[3]}):o[0]={x:+e[i-2],y:+e[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+e[r],y:+e[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}function _(e,t,n,r,i){if(null==i&&null==r&&(r=n),e=+e,t=+t,n=+n,r=+r,null!=i)var o=Math.PI/180,s=e+n*Math.cos(-r*o),a=e+n*Math.cos(-i*o),l=[["M",s,t+n*Math.sin(-r*o)],["A",n,n,0,+(180<i-r),0,a,t+n*Math.sin(-i*o)]];else l=[["M",e,t],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return l}function b(e){if(!(e=function(e){if(!e)return null;if(typeof e==typeof[])return e;var o={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},s=[];return String(e).replace(T,function(e,t,n){var r=[],i=t.toLowerCase();if(n.replace(I,function(e,t){t&&r.push(+t)}),"m"==i&&2<r.length&&(s.push([t].concat(r.splice(0,2))),i="l",t="m"==t?"l":"L"),"o"==i&&1==r.length&&s.push([t,r[0]]),"r"==i)s.push([t].concat(r));else for(;r.length>=o[i]&&(s.push([t].concat(r.splice(0,o[i]))),o[i]););}),s}(e))||!e.length)return[["M",0,0]];var t,n=[],r=0,i=0,o=0,s=0,a=0;"M"==e[0][0]&&(o=r=+e[0][1],s=i=+e[0][2],a++,n[0]=["M",r,i]);for(var l,c,u=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),h=a,f=e.length;h<f;h++){if(n.push(l=[]),(t=(c=e[h])[0])!=t.toUpperCase())switch(l[0]=t.toUpperCase(),l[0]){case"A":l[1]=c[1],l[2]=c[2],l[3]=c[3],l[4]=c[4],l[5]=c[5],l[6]=+c[6]+r,l[7]=+c[7]+i;break;case"V":l[1]=+c[1]+i;break;case"H":l[1]=+c[1]+r;break;case"R":for(var d=[r,i].concat(c.slice(1)),p=2,g=d.length;p<g;p++)d[p]=+d[p]+r,d[++p]=+d[p]+i;n.pop(),n=n.concat(y(d,u));break;case"O":n.pop(),(d=_(r,i,c[1],c[2])).push(d[0]),n=n.concat(d);break;case"U":n.pop(),n=n.concat(_(r,i,c[1],c[2],c[3])),l=["U"].concat(n[n.length-1].slice(-2));break;case"M":o=+c[1]+r,s=+c[2]+i;default:for(p=1,g=c.length;p<g;p++)l[p]=+c[p]+(p%2?r:i)}else if("R"==t)d=[r,i].concat(c.slice(1)),n.pop(),n=n.concat(y(d,u)),l=["R"].concat(c.slice(-2));else if("O"==t)n.pop(),(d=_(r,i,c[1],c[2])).push(d[0]),n=n.concat(d);else if("U"==t)n.pop(),n=n.concat(_(r,i,c[1],c[2],c[3])),l=["U"].concat(n[n.length-1].slice(-2));else for(var m=0,v=c.length;m<v;m++)l[m]=c[m];if("O"!=(t=t.toUpperCase()))switch(l[0]){case"Z":r=+o,i=+s;break;case"H":r=l[1];break;case"V":i=l[1];break;case"M":o=l[l.length-2],s=l[l.length-1];default:r=l[l.length-2],i=l[l.length-1]}}return n}function w(e,t,n,r){return[e,t,n,r,n,r]}function x(e,t,n,r,i,o){return[1/3*e+2/3*n,1/3*t+2/3*r,1/3*i+2/3*n,1/3*o+2/3*r,i,o]}function v(e,t){for(var o=b(e),s=t&&b(t),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},r={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},i=function(e,t,n){var r,i;if(!e)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(e[0]in{T:1,Q:1}||(t.qx=t.qy=null),e[0]){case"M":t.X=e[1],t.Y=e[2];break;case"A":e=["C"].concat($.apply(0,[t.x,t.y].concat(e.slice(1))));break;case"S":i="C"==n||"S"==n?(r=2*t.x-t.bx,2*t.y-t.by):(r=t.x,t.y),e=["C",r,i].concat(e.slice(1));break;case"T":"Q"==n||"T"==n?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=["C"].concat(x(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case"Q":t.qx=e[1],t.qy=e[2],e=["C"].concat(x(t.x,t.y,e[1],e[2],e[3],e[4]));break;case"L":e=["C"].concat(w(t.x,t.y,e[1],e[2]));break;case"H":e=["C"].concat(w(t.x,t.y,e[1],t.y));break;case"V":e=["C"].concat(w(t.x,t.y,t.x,e[1]));break;case"Z":e=["C"].concat(w(t.x,t.y,t.X,t.Y))}return e},a=function(e,t){if(7<e[t].length){e[t].shift();for(var n=e[t];n.length;)c[t]="A",s&&(u[t]="A"),e.splice(t++,0,["C"].concat(n.splice(0,6)));e.splice(t,1),p=Math.max(o.length,s&&s.length||0)}},l=function(e,t,n,r,i){e&&t&&"M"==e[i][0]&&"M"!=t[i][0]&&(t.splice(i,0,["M",r.x,r.y]),n.bx=0,n.by=0,n.x=e[i][1],n.y=e[i][2],p=Math.max(o.length,s&&s.length||0))},c=[],u=[],h="",f="",d=0,p=Math.max(o.length,s&&s.length||0);d<p;d++){o[d]&&(h=o[d][0]),"C"!=h&&(c[d]=h,d&&(f=c[d-1])),o[d]=i(o[d],n,f),"A"!=c[d]&&"C"==h&&(c[d]="C"),a(o,d),s&&(s[d]&&(h=s[d][0]),"C"!=h&&(u[d]=h,d&&(f=u[d-1])),s[d]=i(s[d],r,f),"A"!=u[d]&&"C"==h&&(u[d]="C"),a(s,d)),l(o,s,n,r,d),l(s,o,r,n,d);var g=o[d],m=s&&s[d],v=g.length,y=s&&m.length;n.x=g[v-2],n.y=g[v-1],n.bx=parseFloat(g[v-4])||n.x,n.by=parseFloat(g[v-3])||n.y,r.bx=s&&(parseFloat(m[y-4])||r.x),r.by=s&&(parseFloat(m[y-3])||r.y),r.x=s&&m[y-2],r.y=s&&m[y-1]}return s?[o,s]:o}function d(e,t,n,r,i,o,s,a){for(var l,c,u,h,f,d,p,g,m=[],v=[[],[]],y=0;y<2;++y)if(u=0==y?(c=6*e-12*n+6*i,l=-3*e+9*n-9*i+3*s,3*n-3*e):(c=6*t-12*r+6*o,l=-3*t+9*r-9*o+3*a,3*r-3*t),Math.abs(l)<1e-12){if(Math.abs(c)<1e-12)continue;0<(h=-u/c)&&h<1&&m.push(h)}else p=c*c-4*u*l,g=Math.sqrt(p),p<0||(0<(f=(-c+g)/(2*l))&&f<1&&m.push(f),0<(d=(-c-g)/(2*l))&&d<1&&m.push(d));for(var _,b=m.length,w=b;b--;)_=1-(h=m[b]),v[0][b]=_*_*_*e+3*_*_*h*n+3*_*h*h*i+h*h*h*s,v[1][b]=_*_*_*t+3*_*_*h*r+3*_*h*h*o+h*h*h*a;return v[0][w]=e,v[1][w]=t,v[0][w+1]=s,v[1][w+1]=a,v[0].length=v[1].length=w+2,{min:{x:Math.min.apply(0,v[0]),y:Math.min.apply(0,v[1])},max:{x:Math.max.apply(0,v[0]),y:Math.max.apply(0,v[1])}}}function C(e){for(var t,n=0,r=0,i=[],o=[],s=0,a=e.length;s<a;s++)if("M"==(t=e[s])[0])n=t[1],r=t[2],i.push(n),o.push(r);else{var l=d(n,r,t[1],t[2],t[3],t[4],t[5],t[6]);i=i.concat(l.min.x,l.max.x),o=o.concat(l.min.y,l.max.y),n=t[5],r=t[6]}var c=Math.min.apply(0,i),u=Math.min.apply(0,o);return function(e,t,n,r){return null==e&&(e=t=n=r=0),null==t&&(t=e.y,n=e.width,r=e.height,e=e.x),{x:e,y:t,w:n,h:r,cx:e+n/2,cy:t+r/2}}(c,u,Math.max.apply(0,i)-c,Math.max.apply(0,o)-u)}function c(e,t,n,r){return{r:e=Math.round(255*e),g:t=Math.round(255*t),b:n=Math.round(255*n),opacity:isFinite(r)?r:1}}var E={"circ-in":function(e){return-1*(Math.sqrt(1-e*e)-1)},"circ-out":function(e){return Math.sqrt(1-(e-=1)*e)},"circ-in-out":function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},"cubic-in":function(e){return e*e*e},"cubic-out":function(e){return--e*e*e+1},"cubic-in-out":function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},"elastic-in":function(e){var t=1.70158,n=0,r=1;if(0==e)return 0;if(1==e)return 1;if(n=n||.3,r<Math.abs(1)){r=1;t=n/4}else t=n/(2*Math.PI)*Math.asin(1/r);return-r*Math.pow(2,10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n)},"elastic-out":function(e){var t=1.70158,n=0,r=1;if(0==e)return 0;if(1==e)return 1;if(n=n||.3,r<Math.abs(1)){r=1;t=n/4}else t=n/(2*Math.PI)*Math.asin(1/r);return r*Math.pow(2,-10*e)*Math.sin(2*(e-t)*Math.PI/n)+1},"elastic-in-out":function(e){var t=1.70158,n=0,r=1;if(0==e)return 0;if(2==(e/=.5))return 1;if(n=n||.3*1.5,r<Math.abs(1)){r=1;t=n/4}else t=n/(2*Math.PI)*Math.asin(1/r);return e<1?-.5*r*Math.pow(2,10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n):r*Math.pow(2,-10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n)*.5+1},"expo-in":function(e){return 0==e?0:Math.pow(2,10*(e-1))},"expo-out":function(e){return 1==e?1:1-Math.pow(2,-10*e)},"expo-in-out":function(e){return 0==e?0:1==e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},linear:function(e){return e},"quad-in":function(e){return e*e},"quad-out":function(e){return e*(2-e)},"quad-in-out":function(e){return e<.5?2*e*e:(4-2*e)*e-1},"quart-in":function(e){return e*e*e*e},"quart-out":function(e){return 1- --e*e*e*e},"quart-in-out":function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},"quint-in":function(e){return e*e*e*e*e},"quint-out":function(e){return 1+--e*e*e*e*e},"quint-in-out":function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e},"sine-in":function(e){return 1-Math.cos(e*(Math.PI/2))},"sine-out":function(e){return Math.sin(e*(Math.PI/2))},"sine-in-out":function(e){return.5*(1-Math.cos(Math.PI*e))}},i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame,r=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.oCancelAnimationFrame,t="\t\n\v\f\r \u2028\u2029",T=new RegExp("([a-z])["+t+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+t+"]*,?["+t+"]*)+)","ig"),I=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+t+"]*,?["+t+"]*","ig"),$=function(e,t,n,r,i,o,s,a,l,c){function u(e,t,n){return{x:e*Math.cos(n)-t*Math.sin(n),y:e*Math.sin(n)+t*Math.cos(n)}}var h,f=120*Math.PI/180,d=Math.PI/180*(+i||0),p=[];if(c)C=c[0],E=c[1],w=c[2],x=c[3];else{e=(h=u(e,t,-d)).x,t=h.y,a=(h=u(a,l,-d)).x,l=h.y;var g=(Math.cos(Math.PI/180*i),Math.sin(Math.PI/180*i),(e-a)/2),m=(t-l)/2,v=g*g/(n*n)+m*m/(r*r);1<v&&(n*=v=Math.sqrt(v),r*=v);var y=n*n,_=r*r,b=(o==s?-1:1)*Math.sqrt(Math.abs((y*_-y*m*m-_*g*g)/(y*m*m+_*g*g))),w=b*n*m/r+(e+a)/2,x=b*-r*g/n+(t+l)/2,C=Math.asin(((t-x)/r).toFixed(9)),E=Math.asin(((l-x)/r).toFixed(9));C=e<w?Math.PI-C:C,E=a<w?Math.PI-E:E,C<0&&(C=2*Math.PI+C),E<0&&(E=2*Math.PI+E),s&&E<C&&(C-=2*Math.PI),!s&&C<E&&(E-=2*Math.PI)}var T=E-C;if(Math.abs(T)>f){var I=E,S=a,A=l;E=C+f*(s&&C<E?1:-1),a=w+n*Math.cos(E),l=x+r*Math.sin(E),p=$(a,l,n,r,i,0,s,S,A,[E,I,w,x])}T=E-C;var k=Math.cos(C),D=Math.sin(C),N=Math.cos(E),M=Math.sin(E),j=Math.tan(T/4),O=4/3*n*j,L=4/3*r*j,P=[e,t],q=[e+O*D,t-L*k],H=[a+O*M,l-L*N],R=[a,l];if(q[0]=2*P[0]-q[0],q[1]=2*P[1]-q[1],c)return[q,H,R].concat(p);for(var F=[],B=0,W=(p=[q,H,R].concat(p).join().split(",")).length;B<W;B++)F[B]=B%2?u(p[B-1],p[B],d).y:u(p[B],p[B+1],d).x;return F},S=/,?([a-z]),?/gi,l={hs:1,rg:1},A=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,k=new RegExp("["+t+"]*,["+t+"]*"),o=function(e){var t=Math.round;return"rgba("+[t(e.r),t(e.g),t(e.b),+e.opacity.toFixed(2)]+")"},D=function(e){var n=window.document.getElementsByTagName("head")[0]||window.document.getElementsByTagName("svg")[0],r="rgb(255, 0, 0)";return(D=function(e){if("red"==e.toLowerCase())return r;n.style.color=r,n.style.color=e;var t=window.document.defaultView.getComputedStyle(n,"").getPropertyValue("color");return t==r?null:t})(e)},s=function(e){if(!e||(e=String(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,opacity:-1,error:1};if("none"==e)return{r:-1,g:-1,b:-1,opacity:-1};if(l.hasOwnProperty(e.toLowerCase().substring(0,2))||"#"==e.charAt()||(e=D(e)),!e)return{r:-1,g:-1,b:-1,opacity:-1,error:1};var t,n,r,i,o,s,a=e.match(A);return a?(a[2]&&(r=parseInt(a[2].substring(5),16),n=parseInt(a[2].substring(3,5),16),t=parseInt(a[2].substring(1,3),16)),a[3]&&(r=parseInt((o=a[3].charAt(3))+o,16),n=parseInt((o=a[3].charAt(2))+o,16),t=parseInt((o=a[3].charAt(1))+o,16)),a[4]&&(s=a[4].split(k),t=parseFloat(s[0]),"%"==s[0].slice(-1)&&(t*=2.55),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),r=parseFloat(s[2]),"%"==s[2].slice(-1)&&(r*=2.55),"rgba"==a[1].toLowerCase().slice(0,4)&&(i=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(i/=100)),a[5]?(s=a[5].split(k),t=parseFloat(s[0]),"%"==s[0].slice(-1)&&(t/=100),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n/=100),r=parseFloat(s[2]),"%"==s[2].slice(-1)&&(r/=100),"deg"!=s[0].slice(-3)&&"°"!=s[0].slice(-1)||(t/=360),"hsba"==a[1].toLowerCase().slice(0,4)&&(i=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(i/=100),function(e,t,n,r){var i,o,s,a,l;return typeof e==typeof{}&&"h"in e&&"s"in e&&"b"in e&&(n=e.b,t=e.s,r=(e=e.h).o),e=(e*=360)%360/60,a=(l=n*t)*(1-Math.abs(e%2-1)),i=o=s=n-l,c(i+=[l,a,0,0,a,l][e=~~e],o+=[a,l,l,a,0,0][e],s+=[0,0,a,l,l,a][e],r)}(t,n,r,i)):a[6]?(s=a[6].split(k),t=parseFloat(s[0]),"%"==s[0].slice(-1)&&(t/=100),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n/=100),r=parseFloat(s[2]),"%"==s[2].slice(-1)&&(r/=100),"deg"!=s[0].slice(-3)&&"°"!=s[0].slice(-1)||(t/=360),"hsla"==a[1].toLowerCase().slice(0,4)&&(i=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(i/=100),function(e,t,n,r){var i,o,s,a,l;return typeof e==typeof{}&&"h"in e&&"s"in e&&"l"in e&&(n=e.l,t=e.s,e=e.h),(1<e||1<t||1<n)&&(e/=360,t/=100,n/=100),e=(e*=360)%360/60,a=(l=2*t*(n<.5?n:1-n))*(1-Math.abs(e%2-1)),i=o=s=n-l/2,c(i+=[l,a,0,0,a,l][e=~~e],o+=[a,l,l,a,0,0][e],s+=[0,0,a,l,l,a][e],r)}(t,n,r,i)):(t=Math.min(Math.round(t),255),n=Math.min(Math.round(n),255),r=Math.min(Math.round(r),255),i=Math.min(Math.max(i,0),1),(a={r:t,g:n,b:r}).opacity=isFinite(i)?i:1,a)):{r:-1,g:-1,b:-1,opacity:-1,error:1}};return e.prototype._init=function(){if("SVG"!==this._svgDoc.nodeName.toUpperCase()&&(this._svgDoc=this._svgDoc.getElementsByTagName("svg")[0]),this._svgDoc){var e,t,n,r,i,o,s,a="";for(e=this._svgDoc.childNodes.length-1;0<=e;e--){var l=this._svgDoc.childNodes[e];if("G"===l.nodeName.toUpperCase()&&(t=l.getAttribute("id"))){for(n=[],i=0,o=l.childNodes.length;i<o;i++){var c=l.childNodes[i];switch(r={path:"",attrs:{},style:{}},c.nodeName.toUpperCase()){case"PATH":r.path=c.getAttribute("d");break;case"CIRCLE":var u=1*c.getAttribute("cx"),h=1*c.getAttribute("cy"),f=1*c.getAttribute("r");r.path="M"+(u-f)+","+h+"a"+f+","+f+" 0 1,0 "+2*f+",0a"+f+","+f+" 0 1,0 -"+2*f+",0z";break;case"ELLIPSE":u=1*c.getAttribute("cx"),h=1*c.getAttribute("cy");var d=1*c.getAttribute("rx"),p=1*c.getAttribute("ry");r.path="M"+(u-d)+","+h+"a"+d+","+p+" 0 1,0 "+2*d+",0a"+d+","+p+" 0 1,0 -"+2*d+",0z";break;case"RECT":var g=1*c.getAttribute("x"),m=1*c.getAttribute("y"),v=1*c.getAttribute("width"),y=1*c.getAttribute("height");d=1*c.getAttribute("rx"),p=1*c.getAttribute("ry");r.path=d||p?"M"+(g+d)+","+m+"l"+(v-2*d)+",0a"+d+","+p+" 0 0,1 "+d+","+p+"l0,"+(y-2*p)+"a"+d+","+p+" 0 0,1 -"+d+","+p+"l"+(2*d-v)+",0a"+d+","+p+" 0 0,1 -"+d+",-"+p+"l0,"+(2*p-y)+"a"+d+","+p+" 0 0,1 "+d+",-"+p+"z":"M"+g+","+m+"l"+v+",0l0,"+y+"l-"+v+",0z";break;case"POLYGON":for(var _=c.getAttribute("points").split(/\s+/),b="",w=0,x=_.length;w<x;w++)b+=(w?"L":"M")+_[w];r.path=b+"z";break;case"LINE":var C=1*c.getAttribute("x1"),E=1*c.getAttribute("y1"),T=1*c.getAttribute("x2"),I=1*c.getAttribute("y2");r.path="M"+C+","+E+"L"+T+","+I+"z"}if(""!=r.path){w=0;for(var S=c.attributes.length;w<S;w++){var A=c.attributes[w];if(A.specified){var k=A.name.toLowerCase();switch(k){case"fill":case"fill-opacity":case"opacity":case"stroke":case"stroke-opacity":case"stroke-width":r.attrs[k]=A.value}}}for(var D=0,N=c.style.length;D<N;D++){var M=c.style[D];switch(M){case"fill":case"fill-opacity":case"opacity":case"stroke":case"stroke-opacity":case"stroke-width":r.style[M]=c.style[M]}}n.push(r)}}0<n.length&&(s={id:t,items:n},this._icons[t]=s),this._morphG?this._svgDoc.removeChild(l):(a=t,this._morphG=document.createElementNS("http://www.w3.org/2000/svg","g"),this._svgDoc.replaceChild(this._morphG,l))}}""!==a&&(this._setupAnimation(a),this._updateAnimationProgress(1),this._animationEnd())}},e.prototype._setupAnimation=function(e){if(e&&this._icons[e]){var t,n;for(this._toIconId=e,this._startTime=void 0,this._fromIconItems=m(this._curIconItems),this._toIconItems=m(this._icons[e].items),t=0,n=this._morphNodes.length;t<n;t++){var r=this._morphNodes[t];r.fromIconItemIdx=t,r.toIconItemIdx=t}var i,o=Math.max(this._fromIconItems.length,this._toIconItems.length);for(t=0;t<o;t++)if(this._fromIconItems[t]||(this._toIconItems[t]?(i=C(v(this._toIconItems[t].path)),this._fromIconItems.push({path:"M"+i.cx+","+i.cy+"l0,0",attrs:{},style:{},trans:{rotate:[0,i.cx,i.cy]}})):this._fromIconItems.push({path:"M0,0l0,0",attrs:{},style:{},trans:{rotate:[0,0,0]}})),this._toIconItems[t]||(this._fromIconItems[t]?(i=C(v(this._fromIconItems[t].path)),this._toIconItems.push({path:"M"+i.cx+","+i.cy+"l0,0",attrs:{},style:{},trans:{rotate:[0,i.cx,i.cy]}})):this._toIconItems.push({path:"M0,0l0,0",attrs:{},style:{},trans:{rotate:[0,0,0]}})),!this._morphNodes[t]){var s=document.createElementNS("http://www.w3.org/2000/svg","path");this._morphG.appendChild(s),this._morphNodes.push({node:s,fromIconItemIdx:t,toIconItemIdx:t})}for(t=0;t<o;t++){var a=this._fromIconItems[t],l=this._toIconItems[t],c=v(this._fromIconItems[t].path,this._toIconItems[t].path);a.curve=c[0],l.curve=c[1];var u=g(this._fromIconItems[t].attrs,this._toIconItems[t].attrs);a.attrsNorm=u[0],l.attrsNorm=u[1],a.attrs=p(a.attrsNorm),l.attrs=p(l.attrsNorm);var h=g(this._fromIconItems[t].style,this._toIconItems[t].style);a.styleNorm=h[0],l.styleNorm=h[1],a.style=p(a.styleNorm),l.style=p(l.styleNorm),i=C(l.curve),l.trans={rotate:[0,i.cx,i.cy]};var f,d=this._rotation;switch("random"===d&&(d=Math.random()<.5?"counterclock":"clock"),d){case"none":a.trans.rotate&&(l.trans.rotate[0]=a.trans.rotate[0]);break;case"counterclock":a.trans.rotate?(l.trans.rotate[0]=a.trans.rotate[0]-360,f=-a.trans.rotate[0]%360,l.trans.rotate[0]+=f<180?f:f-360):l.trans.rotate[0]=-360;break;default:a.trans.rotate?(l.trans.rotate[0]=a.trans.rotate[0]+360,f=a.trans.rotate[0]%360,l.trans.rotate[0]+=f<180?-f:360-f):l.trans.rotate[0]=360}}this._curIconItems=m(this._fromIconItems)}},e.prototype._updateAnimationProgress=function(e){var t,n,r,i,o,s;for(e=E[this._easing](e),t=0,i=this._curIconItems.length;t<i;t++)this._curIconItems[t].curve=f(this._fromIconItems[t].curve,this._toIconItems[t].curve,e),this._curIconItems[t].path=this._curIconItems[t].curve.join(",").replace(S,"$1"),this._curIconItems[t].attrsNorm=u(this._fromIconItems[t].attrsNorm,this._toIconItems[t].attrsNorm,e),this._curIconItems[t].attrs=p(this._curIconItems[t].attrsNorm),this._curIconItems[t].styleNorm=u(this._fromIconItems[t].styleNorm,this._toIconItems[t].styleNorm,e),this._curIconItems[t].style=p(this._curIconItems[t].styleNorm),this._curIconItems[t].trans=h(this._fromIconItems[t].trans,this._toIconItems[t].trans,e),this._curIconItems[t].transStr=(o=this._curIconItems[t].trans,s=void 0,s="",o.rotate&&(s+="rotate("+o.rotate.join(" ")+")"),s);for(t=0,i=this._morphNodes.length;t<i;t++){var a=this._morphNodes[t];a.node.setAttribute("d",this._curIconItems[t].path);var l=this._curIconItems[t].attrs;for(n in l)a.node.setAttribute(n,l[n]);var c=this._curIconItems[t].style;for(r in c)a.node.style[r]=c[r];a.node.setAttribute("transform",this._curIconItems[t].transStr)}},e.prototype._animationEnd=function(){for(var e=this._morphNodes.length-1;0<=e;e--){var t=this._morphNodes[e];this._icons[this._toIconId].items[e]?t.node.setAttribute("d",this._icons[this._toIconId].items[e].path):(t.node.parentNode.removeChild(t.node),this._morphNodes.splice(e,1))}this._curIconId=this._toIconId,this._toIconId="",this._callback()},e.prototype.to=function(e,t,n){if(e!==this._toIconId){if(t&&typeof t!=typeof{})throw new Error('SVGMorpheus.to() > "options" parameter must be an object');if(t=t||{},n&&"function"!=typeof n)throw new Error('SVGMorpheus.to() > "callback" parameter must be a function');r(this._rafid),this._duration=t.duration||this._defDuration,this._easing=t.easing||this._defEasing,this._rotation=t.rotation||this._defRotation,this._callback=n||this._defCallback,this._setupAnimation(e),this._rafid=i(this._fnTick)}},e}();(function(){var e,t=window.Messenger;e=window.Messenger=function(){return e._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=t,e}})(),window.Messenger._=function(){if(window._)return window._;var e=Array.prototype,t=Object.prototype,n=Function.prototype,r=(e.push,e.slice),i=(e.concat,t.toString);t.hasOwnProperty;var s=e.forEach,a=(e.map,e.reduce,e.reduceRight,e.filter),o=(e.every,e.some,e.indexOf,e.lastIndexOf,Array.isArray,Object.keys),l=n.bind,c={},u={},h=c.each=c.forEach=function(e,t,n){if(null!=e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e)===u)return}else for(var o in e)if(c.has(e,o)&&t.call(n,e[o],o,e)===u)return};c.result=function(e,t){if(null==e)return null;var n=e[t];return c.isFunction(n)?n.call(e):n},c.once=function(e){var t,n=!1;return function(){return n||(n=!0,t=e.apply(this,arguments),e=null),t}};var f=0;return c.uniqueId=function(e){var t=++f+"";return e?e+t:t},c.filter=c.select=function(e,r,i){var o=[];return null==e?o:a&&e.filter===a?e.filter(r,i):(h(e,function(e,t,n){r.call(i,e,t,n)&&(o[o.length]=e)}),o)},h(["Arguments","Function","String","Number","Date","RegExp"],function(t){c["is"+t]=function(e){return i.call(e)=="[object "+t+"]"}}),c.defaults=function(n){return h(r.call(arguments,1),function(e){if(e)for(var t in e)null==n[t]&&(n[t]=e[t])}),n},c.extend=function(n){return h(r.call(arguments,1),function(e){if(e)for(var t in e)n[t]=e[t]}),n},c.keys=o||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)c.has(e,n)&&(t[t.length]=n);return t},c.bind=function(e,t){if(e.bind===l&&l)return l.apply(e,r.call(arguments,1));var n=r.call(arguments,2);return function(){return e.apply(t,n.concat(r.call(arguments)))}},c.isObject=function(e){return e===Object(e)},c}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;var l,e;return l=/\s+/,(e={on:function(e,t,n){return h(this,"on",e,[t,n])&&t&&(this._events||(this._events={}),(this._events[e]||(this._events[e]=[])).push({callback:t,context:n,ctx:n||this})),this},once:function(e,t,n){if(!h(this,"once",e,[t,n])||!t)return this;var r=this,i=_.once(function(){r.off(e,i),t.apply(this,arguments)});return i._callback=t,this.on(e,i,n),this},off:function(e,t,n){var r,i,o,s,a,l,c,u;if(!this._events||!h(this,"off",e,[t,n]))return this;if(!e&&!t&&!n)return this._events={},this;for(a=0,l=(s=e?[e]:_.keys(this._events)).length;a<l;a++)if(e=s[a],r=this._events[e]){if(o=[],t||n)for(c=0,u=r.length;c<u;c++)i=r[c],(t&&t!==i.callback&&t!==i.callback._callback||n&&n!==i.context)&&o.push(i);this._events[e]=o}return this},trigger:function(e){if(!this._events)return this;var t=Array.prototype.slice.call(arguments,1);if(!h(this,"trigger",e,t))return this;var n=this._events[e],r=this._events.all;return n&&i(n,t),r&&i(r,arguments),this},listenTo:function(e,t,n){return((this._listeners||(this._listeners={}))[e._listenerId||(e._listenerId=_.uniqueId("l"))]=e).on(t,"object"==typeof t?this:n,this),this},stopListening:function(e,t,n){var r=this._listeners;if(r){if(e)e.off(t,"object"==typeof t?this:n,this),t||n||delete r[e._listenerId];else{for(var i in"object"==typeof t&&(n=this),r)r[i].off(t,n,this);this._listeners={}}return this}}}).bind=e.on,e.unbind=e.off,e;function h(e,t,n,r){if(!n)return!0;if("object"==typeof n)for(var i in n)e[t].apply(e,[i,n[i]].concat(r));else{if(!l.test(n))return!0;for(var o=n.split(l),s=0,a=o.length;s<a;s++)e[t].apply(e,[o[s]].concat(r))}}function i(e,t){var n,r=-1,i=e.length;switch(t.length){case 0:for(;i>++r;)(n=e[r]).callback.call(n.ctx);return;case 1:for(;i>++r;)(n=e[r]).callback.call(n.ctx,t[0]);return;case 2:for(;i>++r;)(n=e[r]).callback.call(n.ctx,t[0],t[1]);return;case 3:for(;i>++r;)(n=e[r]).callback.call(n.ctx,t[0],t[1],t[2]);return;default:for(;i>++r;)(n=e[r]).callback.apply(n.ctx,t)}}}(),function(){function e(e,t){function n(){this.constructor=e}for(var r in t)u.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e}var w,l,t,n,s,x,a,c,r,i,o,u={}.hasOwnProperty,C=[].slice,E=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};function h(){return h.__super__.constructor.apply(this,arguments)}function f(){return f.__super__.constructor.apply(this,arguments)}function d(){return d.__super__.constructor.apply(this,arguments)}function p(){return p.__super__.constructor.apply(this,arguments)}function g(e){w.extend(this,n),x.isObject(e)&&(e.el&&this.setElement(e.el),this.model=e.model),this.initialize.apply(this,arguments)}w=jQuery,x=null!=(r=window._)?r:window.Messenger._,n=null!=(i="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?i:window.Messenger.Events,g.prototype.setElement=function(e){return this.$el=w(e),this.el=this.$el[0]},g.prototype.delegateEvents=function(e){var t,n,r,i,o,s,a;if(e=e||x.result(this,"events")){for(r in this.undelegateEvents(),t=/^(\S+)\s*(.*)$/,a=[],e){if(o=e[r],x.isFunction(o)||(o=this[e[r]]),!o)throw Error('Method "'+e[r]+'" does not exist');n=(i=r.match(t))[1],s=i[2],o=x.bind(o,this),n+=".delegateEvents"+this.cid,""===s?a.push(this.jqon(n,o)):a.push(this.jqon(n,s,o))}return a}},g.prototype.jqon=function(e,t,n){var r;return null!=this.$el.on?(r=this.$el).on.apply(r,arguments):(null==n&&(n=t,t=void 0),null!=t?this.$el.delegate(t,e,n):this.$el.bind(e,n))},g.prototype.jqoff=function(e){var t;return null!=this.$el.off?(t=this.$el).off.apply(t,arguments):(this.$el.undelegate(),this.$el.unbind(e))},g.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},g.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},e(p,t=g),p.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"×"},p.prototype.initialize=function(e){return null==e&&(e={}),this.shown=!1,this.rendered=!1,this.messenger=e.messenger,this.options=w.extend({},this.options,e,this.defaults)},p.prototype.show=function(){var e;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),e=this.shown,this.shown=!0,e?void 0:this.trigger("show")},p.prototype.hide=function(){var e;if(this.rendered)return this.$message.addClass("messenger-hidden"),e=this.shown,this.shown=!1,e?this.trigger("hide"):void 0},p.prototype.cancel=function(){return this.hide()},p.prototype.update=function(e){var t,n=this;return x.isString(e)&&(e={message:e}),w.extend(this.options,e),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(t=this.options.events)?t:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return n.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return n.hide()})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},p.prototype.scrollTo=function(){return this.options.scroll?w.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},p.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},p.prototype.actionsToEvents=function(){var e,n,t,r,i=this;for(n in r=[],t=this.options.actions)e=t[n],r.push(this.events['click [data-action="'+n+'"] a']=function(t){return function(e){return e.preventDefault(),e.stopPropagation(),i.trigger("action:"+n,t,e),t.action.call(i,e,i)}}(e));return r},p.prototype.checkClickable=function(){var e,t,n;for(e in n=[],t=this.events)t[e],"click"===e?n.push(this.$message.addClass("messenger-clickable")):n.push(void 0);return n},p.prototype.undelegateEvents=function(){var e;return p.__super__.undelegateEvents.apply(this,arguments),null!=(e=this.$message)?e.removeClass("messenger-clickable"):void 0},p.prototype.parseActions=function(){var e,t,n,r,i;for(r in t=[],i=this.options.actions)e=i[r],(n=w.extend({},e)).name=r,null==n.label&&(n.label=r),t.push(n);return t},p.prototype.template=function(e){var t,n,r,i,o,s,a,l,c,u,h=this;for(o=w("<div class='messenger-message message alert "+e.type+" message-"+e.type+" alert-"+e.type+"'>"),e.showCloseButton&&((r=w('<button type="button" class="messenger-close" data-dismiss="alert">')).html(e.closeButtonText),r.click(function(){return h.cancel(),!0}),o.append(r)),s=w('<div class="messenger-message-inner">'+e.message+"</div>"),o.append(s),e.actions.length&&(n=w('<div class="messenger-actions">')),l=0,c=(u=e.actions).length;l<c;l++)a=u[l],(t=w("<span>")).attr("data-action",""+a.name),(i=w("<a>")).html(a.label),t.append(w('<span class="messenger-phrase">')),t.append(i),n.append(t);return o.append(n),o},p.prototype.render=function(){var e;if(!this.rendered)return this._hasSlot||(this.setElement(this.messenger._reserveMessageSlot(this)),this._hasSlot=!0),e=w.extend({},this.options,{actions:this.parseActions()}),this.$message=w(this.template(e)),this.$el.html(this.$message),this.shown=!0,this.rendered=!0,this.trigger("render")},e(d,a=p),d.prototype.initialize=function(){return d.__super__.initialize.apply(this,arguments),this._timers={}},d.prototype.cancel=function(){return this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort?this._actionInstance.abort():void 0},d.prototype.clearTimers=function(){var e,t,n,r;for(e in n=this._timers)t=n[e],clearTimeout(t);return this._timers={},null!=(r=this.$message)?r.removeClass("messenger-retry-soon messenger-retry-later"):void 0},d.prototype.render=function(){var e,t,n,r;for(t in d.__super__.render.apply(this,arguments),this.clearTimers(),r=[],n=this.options.actions)(e=n[t]).auto?r.push(this.startCountdown(t,e)):r.push(void 0);return r},d.prototype.renderPhrase=function(e,t){return e.phrase.replace("TIME",this.formatTime(t))},d.prototype.formatTime=function(e){var t;return t=function(e,t){return 1!==(e=Math.floor(e))&&(t+="s"),"in "+e+" "+t},0===Math.floor(e)?"now...":e<60?t(e,"second"):(e/=60)<60?t(e,"minute"):t(e/=60,"hour")},d.prototype.startCountdown=function(t,n){var r,i,o,e,s=this;if(null==this._timers[t])return r=this.$message.find("[data-action='"+t+"'] .messenger-phrase"),(i=null!=(e=n.delay)?e:3)<=10?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),(o=function(){var e;return r.text(s.renderPhrase(n,i)),0<i?(e=Math.min(i,1),i-=e,s._timers[t]=setTimeout(o,1e3*e)):(s.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete s._timers[t],n.action())})()},s=d,e(f,t),f.prototype.tagName="ul",f.prototype.className="messenger",f.prototype.messageDefaults={type:"info"},f.prototype.initialize=function(e){return this.options=null!=e?e:{},this.history=[],this.messageDefaults=w.extend({},this.messageDefaults,this.options.messageDefaults)},f.prototype.render=function(){return this.updateMessageSlotClasses()},f.prototype.findById=function(t){return x.filter(this.history,function(e){return e.msg.options.id===t})},f.prototype._reserveMessageSlot=function(e){var t,n,r=this;for((t=w("<li>")).addClass("messenger-message-slot"),this.$el.prepend(t),this.history.push({msg:e,$slot:t}),this._enforceIdConstraint(e),e.on("update",function(){return r._enforceIdConstraint(e)});this.options.maxMessages&&this.history.length>this.options.maxMessages;)(n=this.history.shift()).msg.remove(),n.$slot.remove();return t},f.prototype._enforceIdConstraint=function(e){var t,n,r,i;if(null!=e.options.id)for(t=0,n=(i=this.history).length;t<n;t++)if(null!=(r=i[t].msg).options.id&&r.options.id===e.options.id&&e!==r){if(e.options.singleton)return void e.hide();r.hide()}},f.prototype.newMessage=function(e){var t,n,r,i,o=this;return null==e&&(e={}),e.messenger=this,a=null!=(n=null!=(r=Messenger.themes[null!=(i=e.theme)?i:this.options.theme])?r.Message:void 0)?n:s,(t=new a(e)).on("show",function(){return e.scrollTo&&"fixed"!==o.$el.css("position")?t.scrollTo():void 0}),t.on("hide show render",this.updateMessageSlotClasses,this),t},f.prototype.updateMessageSlotClasses=function(){var e,t,n,r,i,o,s;for(e=!(r=!(t=null)),i=0,o=(s=this.history).length;i<o;i++)(n=s[i]).$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),e=!0,t=n,r&&(r=!1,n.$slot.addClass("messenger-first")));return null!=t&&t.$slot.addClass("messenger-last"),this.$el[(e?"remove":"add")+"Class"]("messenger-empty")},f.prototype.hideAll=function(){var e,t,n,r,i;for(i=[],t=0,n=(r=this.history).length;t<n;t++)e=r[t],i.push(e.msg.hide());return i},f.prototype.post=function(e){var t;return x.isString(e)&&(e={message:e}),e=w.extend(!0,{},this.messageDefaults,e),(t=this.newMessage(e)).update(e),t},e(h,c=f),h.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:w.ajax},h.prototype.hookBackboneAjax=function(n){var r,i=this;if(null==n&&(n={}),null==window.Backbone)throw"Expected Backbone to be defined";return n=x.defaults(n,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),r=function(e){var t;return t=x.extend({},n,e.messenger),i.do(t,e)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),null!=n.action&&n.action!==this.doDefaults.action||(n.action=Backbone.ajax),r._withoutMessenger=Backbone.ajax,Backbone.ajax=r):Backbone.sync=x.wrap(Backbone.sync,function(){var e,t,n;return n=arguments[0],e=2<=arguments.length?C.call(arguments,1):[],t=w.ajax,w.ajax=r,n.call.apply(n,[this].concat(C.call(e))),w.ajax=t})},h.prototype._getHandlerResponse=function(e){return!1!==e&&(!0===e||null==e||e)},h.prototype._parseEvents=function(e){var t,n,r,i,o,s;for(i in null==e&&(e={}),o={},e)r=e[i],n=i.indexOf(" "),s=i.substring(0,n),t=i.substring(n+1),null==o[s]&&(o[s]={}),o[s][t]=r;return o},h.prototype._normalizeResponse=function(){var e,t,n,r,i,o,s;for(e=i=r=null,o=0,s=(n=1<=arguments.length?C.call(arguments,0):[]).length;o<s;o++)"success"===(t=n[o])||"timeout"===t||"abort"===t?r=t:null!=(null!=t?t.readyState:void 0)&&null!=(null!=t?t.responseText:void 0)?i=t:x.isObject(t)&&(e=t);return[r,e,i]},h.prototype.do=h.prototype.run=function(){var p,g,m,e,t,v,y,_,n,r,b=this;if(v=arguments[0],_=arguments[1],p=3<=arguments.length?C.call(arguments,2):[],null==_&&(_={}),v=w.extend(!0,{},this.messageDefaults,this.doDefaults,null!=v?v:{}),g=this._parseEvents(v.events),m=function(e,t){var n;return n=v[e+"Message"],x.isFunction(n)?n.call(b,e,t):n},y=null!=(r=v.messageInstance)?r:this.newMessage(v),null!=v.id&&(y.options.id=v.id),null!=v.progressMessage&&y.update(w.extend({},v,{message:m("progress",null),type:"info"})),t={},x.each(["error","success"],function(f){var d;return d=_[f],t[f]=function(){var e,t,n,r,i,o,s,a,l,c,u,h;return i=1<=arguments.length?C.call(arguments,0):[],r=(a=b._normalizeResponse.apply(b,i))[0],a[1],s=a[2],"success"===f&&null==y.errorCount&&!1===v.showSuccessWithoutError&&(v.successMessage=null),"error"===f&&(null==v.errorCount&&(v.errorCount=0),v.errorCount+=1),t=v.returnsPromise?i[0]:"function"==typeof d?d.apply(null,i):void 0,o=b._getHandlerResponse(t),x.isString(o)&&(o={message:o}),"error"!==f||0!==(null!=s?s.status:void 0)&&"abort"!==r?"error"===f&&null!=v.ignoredErrorCodes&&(l=null!=s?s.status:void 0,0<=E.call(v.ignoredErrorCodes,l))?void y.hide():(e={message:m(f,s),type:f,events:null!=(c=g[f])?c:{},hideOnNavigate:"success"===f},"number"==typeof(null!=(u=(n=w.extend({},v,e,o)).retry)?u.allow:void 0)&&n.retry.allow--,"error"===f&&500<=(null!=s?s.status:void 0)&&(null!=(h=n.retry)?h.allow:void 0)?(null==n.retry.delay&&(n.retry.delay=n.errorCount<4?10:300),n.hideAfter&&(null==n._hideAfter&&(n._hideAfter=n.hideAfter),n.hideAfter=n._hideAfter+n.retry.delay),n._retryActions=!0,n.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:n.retry.auto,delay:n.retry.delay,action:function(){return n.messageInstance=y,setTimeout(function(){return b.do.apply(b,[n,_].concat(C.call(p)))},0)}},cancel:{action:function(){return y.cancel()}}}):n._retryActions&&(delete n.actions.retry,delete n.actions.cancel,delete v._retryActions),y.update(n),o&&n.message?(Messenger(x.extend({},b.options,{instance:b})),y.show()):y.hide()):void y.hide()}}),!v.returnsPromise)for(n in t)e=t[n],_[n],_[n]=e;return y._actionInstance=v.action.apply(v,[_].concat(C.call(p))),v.returnsPromise&&y._actionInstance.then(t.success,t.error),y},h.prototype.ajax=function(){var e,t;return t=arguments[0],e=2<=arguments.length?C.call(arguments,1):[],t.action=w.ajax,this.run.apply(this,[t].concat(C.call(e)))},h.prototype.expectPromise=function(e,t){return t=x.extend({},t,{action:e,returnsPromise:!0}),this.run(t)},h.prototype.error=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="error",this.post(e)},h.prototype.info=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="info",this.post(e)},h.prototype.success=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="success",this.post(e)},l=h,w.fn.messenger=function(){var e,t,n,r,i,o,s,a;return n=arguments[0],t=2<=arguments.length?C.call(arguments,1):[],null==n&&(n={}),e=this,null!=n&&x.isString(n)?(a=e.data("messenger"))[n].apply(a,t):(i=n,null==e.data("messenger")&&(c=null!=(o=null!=(s=Messenger.themes[i.theme])?s.Messenger:void 0)?o:l,e.data("messenger",r=new c(w.extend({el:e},i))),r.render()),e.data("messenger"))},window.Messenger._call=function(e){var t,n,r,i,o,s,a,l,c,u;if(o={extraClasses:"messenger-fixed messenger-on-bottom messenger-on-right",theme:"future",maxMessages:9,parentLocations:["body"]},null!=(e=w.extend(o,w._messengerDefaults,Messenger.options,e)).theme&&(e.extraClasses+=" messenger-theme-"+e.theme),s=e.instance||Messenger.instance,null==e.instance){for(n=null,c=0,u=(l=e.parentLocations).length;c<u;c++)if(a=l[c],(n=w(a)).length){r=a;break}s?w(s._location).is(w(r))||(s.$el.detach(),n.prepend(s.$el)):(t=w("<ul>"),n.prepend(t),(s=t.messenger(e))._location=r,Messenger.instance=s)}return null!=s._addedClasses&&s.$el.removeClass(s._addedClasses),s.$el.addClass(i=s.className+" "+e.extraClasses),s._addedClasses=i,s},w.extend(Messenger,{Message:s,Messenger:l,themes:null!=(o=Messenger.themes)?o:{}}),w.globalMessenger=window.Messenger=Messenger}.call(this),function(){var n,e,i={}.hasOwnProperty;function r(){return r.__super__.constructor.apply(this,arguments)}n=jQuery,function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(r,window.Messenger.Message),r.prototype.template=function(e){var t;return(t=r.__super__.template.apply(this,arguments)).append(n('<div class="messenger-spinner">\n <span class="messenger-spinner-side messenger-spinner-side-left">\n <span class="messenger-spinner-fill"></span>\n </span>\n <span class="messenger-spinner-side messenger-spinner-side-right">\n <span class="messenger-spinner-fill"></span>\n </span>\n</div>')),t},e=r,window.Messenger.themes.flat={Message:e}}.call(this),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((e=e||self).bootstrap={},e.jQuery,e.Popper)}(this,function(e,p,h){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?t(Object(o),!0).forEach(function(e){var t,n,r;t=i,r=o[n=e],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})}return i}p=p&&p.hasOwnProperty("default")?p.default:p,h=h&&h.hasOwnProperty("default")?h.default:h;var n="transitionend";function i(e){var t=this,n=!1;return p(this).one(g.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||g.triggerTransitionEnd(t)},e),this}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"),r=parseFloat(t),i=parseFloat(n);return r||i?(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(n)},supportsTransitionEnd:function(){return Boolean(n)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r],o=t[r],s=o&&g.isElement(o)?"element":(a=o,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(i).test(s))throw new Error(e.toUpperCase()+': Option "'+r+'" provided type "'+s+'" but expected type "'+i+'".')}var a},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=i,p.event.special[g.TRANSITION_END]={bindType:n,delegateType:n,handle:function(e){if(p(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var o="alert",a="bs.alert",c="."+a,u=p.fn[o],f={CLOSE:"close"+c,CLOSED:"closed"+c,CLICK_DATA_API:"click"+c+".data-api"},d="alert",m="fade",v="show",y=function(){function r(e){this._element=e}var e=r.prototype;return e.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},e.dispose=function(){p.removeData(this._element,a),this._element=null},e._getRootElement=function(e){var t=g.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n=n||p(e).closest("."+d)[0]},e._triggerCloseEvent=function(e){var t=p.Event(f.CLOSE);return p(e).trigger(t),t},e._removeElement=function(t){var n=this;if(p(t).removeClass(v),p(t).hasClass(m)){var e=g.getTransitionDurationFromElement(t);p(t).one(g.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)}else this._destroyElement(t)},e._destroyElement=function(e){p(e).detach().trigger(f.CLOSED).remove()},r._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data(a);t||(t=new r(this),e.data(a,t)),"close"===n&&t[n](this)})},r._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},s(r,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),r}();p(document).on(f.CLICK_DATA_API,'[data-dismiss="alert"]',y._handleDismiss(new y)),p.fn[o]=y._jQueryInterface,p.fn[o].Constructor=y,p.fn[o].noConflict=function(){return p.fn[o]=u,y._jQueryInterface};var _="button",b="bs.button",w="."+b,x=".data-api",C=p.fn[_],E="active",T="btn",I="focus",S='[data-toggle^="button"]',A='[data-toggle="buttons"]',k='[data-toggle="button"]',D='[data-toggle="buttons"] .btn',N='input:not([type="hidden"])',M=".active",j=".btn",O={CLICK_DATA_API:"click"+w+x,FOCUS_BLUR_DATA_API:"focus"+w+x+" blur"+w+x,LOAD_DATA_API:"load"+w+x},L=function(){function n(e){this._element=e}var e=n.prototype;return e.toggle=function(){var e=!0,t=!0,n=p(this._element).closest(A)[0];if(n){var r=this._element.querySelector(N);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(E))e=!1;else{var i=n.querySelector(M);i&&p(i).removeClass(E)}else"checkbox"===r.type?"LABEL"===this._element.tagName&&r.checked===this._element.classList.contains(E)&&(e=!1):e=!1;e&&(r.checked=!this._element.classList.contains(E),p(r).trigger("change")),r.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(E)),e&&p(this._element).toggleClass(E))},e.dispose=function(){p.removeData(this._element,b),this._element=null},n._jQueryInterface=function(t){return this.each(function(){var e=p(this).data(b);e||(e=new n(this),p(this).data(b,e)),"toggle"===t&&e[t]()})},s(n,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),n}();p(document).on(O.CLICK_DATA_API,S,function(e){var t=e.target;if(p(t).hasClass(T)||(t=p(t).closest(j)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var n=t.querySelector(N);if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled")))return void e.preventDefault();L._jQueryInterface.call(p(t),"toggle")}}).on(O.FOCUS_BLUR_DATA_API,S,function(e){var t=p(e.target).closest(j)[0];p(t).toggleClass(I,/^focus(in)?$/.test(e.type))}),p(window).on(O.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(D)),t=0,n=e.length;t<n;t++){var r=e[t],i=r.querySelector(N);i.checked||i.hasAttribute("checked")?r.classList.add(E):r.classList.remove(E)}for(var o=0,s=(e=[].slice.call(document.querySelectorAll(k))).length;o<s;o++){var a=e[o];"true"===a.getAttribute("aria-pressed")?a.classList.add(E):a.classList.remove(E)}}),p.fn[_]=L._jQueryInterface,p.fn[_].Constructor=L,p.fn[_].noConflict=function(){return p.fn[_]=C,L._jQueryInterface};var P="carousel",q="bs.carousel",H="."+q,R=".data-api",F=p.fn[P],B={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},W={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},$="next",U="prev",Q="left",z="right",V={SLIDE:"slide"+H,SLID:"slid"+H,KEYDOWN:"keydown"+H,MOUSEENTER:"mouseenter"+H,MOUSELEAVE:"mouseleave"+H,TOUCHSTART:"touchstart"+H,TOUCHMOVE:"touchmove"+H,TOUCHEND:"touchend"+H,POINTERDOWN:"pointerdown"+H,POINTERUP:"pointerup"+H,DRAG_START:"dragstart"+H,LOAD_DATA_API:"load"+H+R,CLICK_DATA_API:"click"+H+R},K="carousel",X="active",Y="slide",G="carousel-item-right",J="carousel-item-left",Z="carousel-item-next",ee="carousel-item-prev",te="pointer-event",ne=".active",re=".active.carousel-item",ie=".carousel-item",oe=".carousel-item img",se=".carousel-item-next, .carousel-item-prev",ae=".carousel-indicators",le="[data-slide], [data-slide-to]",ce='[data-ride="carousel"]',ue={TOUCH:"touch",PEN:"pen"},he=function(){function o(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(ae),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=o.prototype;return e.next=function(){this._isSliding||this._slide($)},e.nextWhenVisible=function(){!document.hidden&&p(this._element).is(":visible")&&"hidden"!==p(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(U)},e.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(se)&&(g.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.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))},e.to=function(e){var t=this;this._activeElement=this._element.querySelector(re);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)p(this._element).one(V.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var r=n<e?$:U;this._slide(r,this._items[e])}},e.dispose=function(){p(this._element).off(H),p.removeData(this._element,q),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(e){return e=l({},B,{},e),g.typeCheckConfig(P,e,W),e},e._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()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&p(this._element).on(V.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&p(this._element).on(V.MOUSEENTER,function(e){return t.pause(e)}).on(V.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&ue[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},r=function(e){t._pointerEvent&&ue[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};p(this._element.querySelectorAll(oe)).on(V.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(p(this._element).on(V.POINTERDOWN,function(e){return n(e)}),p(this._element).on(V.POINTERUP,function(e){return r(e)}),this._element.classList.add(te)):(p(this._element).on(V.TOUCHSTART,function(e){return n(e)}),p(this._element).on(V.TOUCHMOVE,function(e){return function(e){e.originalEvent.touches&&1<e.originalEvent.touches.length?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),p(this._element).on(V.TOUCHEND,function(e){return r(e)}))}},e._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()}},e._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(ie)):[],this._items.indexOf(e)},e._getItemByDirection=function(e,t){var n=e===$,r=e===U,i=this._getItemIndex(t),o=this._items.length-1;if((r&&0===i||n&&i===o)&&!this._config.wrap)return t;var s=(i+(e===U?-1:1))%this._items.length;return-1==s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(re)),i=p.Event(V.SLIDE,{relatedTarget:e,direction:t,from:r,to:n});return p(this._element).trigger(i),i},e._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(ne));p(t).removeClass(X);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&p(n).addClass(X)}},e._slide=function(e,t){var n,r,i,o=this,s=this._element.querySelector(re),a=this._getItemIndex(s),l=t||s&&this._getItemByDirection(e,s),c=this._getItemIndex(l),u=Boolean(this._interval);if(i=e===$?(n=J,r=Z,Q):(n=G,r=ee,z),l&&p(l).hasClass(X))this._isSliding=!1;else if(!this._triggerSlideEvent(l,i).isDefaultPrevented()&&s&&l){this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l);var h=p.Event(V.SLID,{relatedTarget:l,direction:i,from:a,to:c});if(p(this._element).hasClass(Y)){p(l).addClass(r),g.reflow(l),p(s).addClass(n),p(l).addClass(n);var f=parseInt(l.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):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+" "+r).addClass(X),p(s).removeClass(X+" "+r+" "+n),o._isSliding=!1,setTimeout(function(){return p(o._element).trigger(h)},0)}).emulateTransitionEnd(d)}else p(s).removeClass(X),p(l).addClass(X),this._isSliding=!1,p(this._element).trigger(h);u&&this.cycle()}},o._jQueryInterface=function(r){return this.each(function(){var e=p(this).data(q),t=l({},B,{},p(this).data());"object"==typeof r&&(t=l({},t,{},r));var n="string"==typeof r?r:t.slide;if(e||(e=new o(this,t),p(this).data(q,e)),"number"==typeof r)e.to(r);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())})},o._dataApiClickHandler=function(e){var t=g.getSelectorFromElement(this);if(t){var n=p(t)[0];if(n&&p(n).hasClass(K)){var r=l({},p(n).data(),{},p(this).data()),i=this.getAttribute("data-slide-to");i&&(r.interval=!1),o._jQueryInterface.call(p(n),r),i&&p(n).data(q).to(i),e.preventDefault()}}},s(o,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return B}}]),o}();p(document).on(V.CLICK_DATA_API,le,he._dataApiClickHandler),p(window).on(V.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(ce)),t=0,n=e.length;t<n;t++){var r=p(e[t]);he._jQueryInterface.call(r,r.data())}}),p.fn[P]=he._jQueryInterface,p.fn[P].Constructor=he,p.fn[P].noConflict=function(){return p.fn[P]=F,he._jQueryInterface};var fe="collapse",de="bs.collapse",pe="."+de,ge=p.fn[fe],me={toggle:!0,parent:""},ve={toggle:"boolean",parent:"(string|element)"},ye={SHOW:"show"+pe,SHOWN:"shown"+pe,HIDE:"hide"+pe,HIDDEN:"hidden"+pe,CLICK_DATA_API:"click"+pe+".data-api"},_e="show",be="collapse",we="collapsing",xe="collapsed",Ce="width",Ee="height",Te=".show, .collapsing",Ie='[data-toggle="collapse"]',Se=function(){function a(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(Ie)),r=0,i=n.length;r<i;r++){var o=n[r],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()}var e=a.prototype;return e.toggle=function(){p(this._element).hasClass(_e)?this.hide():this.show()},e.show=function(){var e,t,n=this;if(!this._isTransitioning&&!p(this._element).hasClass(_e)&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(Te)).filter(function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains(be)})).length&&(e=null),!(e&&(t=p(e).not(this._selector).data(de))&&t._isTransitioning))){var r=p.Event(ye.SHOW);if(p(this._element).trigger(r),!r.isDefaultPrevented()){e&&(a._jQueryInterface.call(p(e).not(this._selector),"hide"),t||p(e).data(de,null));var i=this._getDimension();p(this._element).removeClass(be).addClass(we),this._element.style[i]=0,this._triggerArray.length&&p(this._triggerArray).removeClass(xe).attr("aria-expanded",!0),this.setTransitioning(!0);var o="scroll"+(i[0].toUpperCase()+i.slice(1)),s=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function(){p(n._element).removeClass(we).addClass(be).addClass(_e),n._element.style[i]="",n.setTransitioning(!1),p(n._element).trigger(ye.SHOWN)}).emulateTransitionEnd(s),this._element.style[i]=this._element[o]+"px"}}},e.hide=function(){var e=this;if(!this._isTransitioning&&p(this._element).hasClass(_e)){var t=p.Event(ye.HIDE);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(we).removeClass(be).removeClass(_e);var r=this._triggerArray.length;if(0<r)for(var i=0;i<r;i++){var o=this._triggerArray[i],s=g.getSelectorFromElement(o);if(null!==s)p([].slice.call(document.querySelectorAll(s))).hasClass(_e)||p(o).addClass(xe).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(we).addClass(be).trigger(ye.HIDDEN)}).emulateTransitionEnd(a)}}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){p.removeData(this._element,de),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=l({},me,{},e)).toggle=Boolean(e.toggle),g.typeCheckConfig(fe,e,ve),e},e._getDimension=function(){return p(this._element).hasClass(Ce)?Ce:Ee},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+'"]',r=[].slice.call(e.querySelectorAll(t));return p(r).each(function(e,t){n._addAriaAndCollapsedClass(a._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function(e,t){var n=p(e).hasClass(_e);t.length&&p(t).toggleClass(xe,!n).attr("aria-expanded",n)},a._getTargetFromElement=function(e){var t=g.getSelectorFromElement(e);return t?document.querySelector(t):null},a._jQueryInterface=function(r){return this.each(function(){var e=p(this),t=e.data(de),n=l({},me,{},e.data(),{},"object"==typeof r&&r?r:{});if(!t&&n.toggle&&/show|hide/.test(r)&&(n.toggle=!1),t||(t=new a(this,n),e.data(de,t)),"string"==typeof r){if(void 0===t[r])throw new TypeError('No method named "'+r+'"');t[r]()}})},s(a,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return me}}]),a}();p(document).on(ye.CLICK_DATA_API,Ie,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=p(this),t=g.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(t));p(r).each(function(){var e=p(this),t=e.data(de)?"toggle":n.data();Se._jQueryInterface.call(e,t)})}),p.fn[fe]=Se._jQueryInterface,p.fn[fe].Constructor=Se,p.fn[fe].noConflict=function(){return p.fn[fe]=ge,Se._jQueryInterface};var Ae="dropdown",ke="bs.dropdown",De="."+ke,Ne=".data-api",Me=p.fn[Ae],je=new RegExp("38|40|27"),Oe={HIDE:"hide"+De,HIDDEN:"hidden"+De,SHOW:"show"+De,SHOWN:"shown"+De,CLICK:"click"+De,CLICK_DATA_API:"click"+De+Ne,KEYDOWN_DATA_API:"keydown"+De+Ne,KEYUP_DATA_API:"keyup"+De+Ne},Le="disabled",Pe="show",qe="dropup",He="dropright",Re="dropleft",Fe="dropdown-menu-right",Be="position-static",We='[data-toggle="dropdown"]',$e=".dropdown form",Ue=".dropdown-menu",Qe=".navbar-nav",ze=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ve="top-start",Ke="top-end",Xe="bottom-start",Ye="bottom-end",Ge="right-start",Je="left-start",Ze={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},et={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},tt=function(){function c(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=c.prototype;return e.toggle=function(){if(!this._element.disabled&&!p(this._element).hasClass(Le)){var e=p(this._menu).hasClass(Pe);c._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||p(this._element).hasClass(Le)||p(this._menu).hasClass(Pe))){var t={relatedTarget:this._element},n=p.Event(Oe.SHOW,t),r=c._getParentFromElement(this._element);if(p(r).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===h)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var i=this._element;"parent"===this._config.reference?i=r:g.isElement(this._config.reference)&&(i=this._config.reference,void 0!==this._config.reference.jquery&&(i=this._config.reference[0])),"scrollParent"!==this._config.boundary&&p(r).addClass(Be),this._popper=new h(i,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===p(r).closest(Qe).length&&p(document.body).children().on("mouseover",null,p.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),p(this._menu).toggleClass(Pe),p(r).toggleClass(Pe).trigger(p.Event(Oe.SHOWN,t))}}},e.hide=function(){if(!this._element.disabled&&!p(this._element).hasClass(Le)&&p(this._menu).hasClass(Pe)){var e={relatedTarget:this._element},t=p.Event(Oe.HIDE,e),n=c._getParentFromElement(this._element);p(n).trigger(t),t.isDefaultPrevented()||(this._popper&&this._popper.destroy(),p(this._menu).toggleClass(Pe),p(n).toggleClass(Pe).trigger(p.Event(Oe.HIDDEN,e)))}},e.dispose=function(){p.removeData(this._element,ke),p(this._element).off(De),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;p(this._element).on(Oe.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(e){return e=l({},this.constructor.Default,{},p(this._element).data(),{},e),g.typeCheckConfig(Ae,e,this.constructor.DefaultType),e},e._getMenuElement=function(){if(!this._menu){var e=c._getParentFromElement(this._element);e&&(this._menu=e.querySelector(Ue))}return this._menu},e._getPlacement=function(){var e=p(this._element.parentNode),t=Xe;return e.hasClass(qe)?(t=Ve,p(this._menu).hasClass(Fe)&&(t=Ke)):e.hasClass(He)?t=Ge:e.hasClass(Re)?t=Je:p(this._menu).hasClass(Fe)&&(t=Ye),t},e._detectNavbar=function(){return 0<p(this._element).closest(".navbar").length},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,{},t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._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}),l({},e,{},this._config.popperConfig)},c._jQueryInterface=function(t){return this.each(function(){var e=p(this).data(ke);if(e||(e=new c(this,"object"==typeof t?t:null),p(this).data(ke,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},c._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(We)),n=0,r=t.length;n<r;n++){var i=c._getParentFromElement(t[n]),o=p(t[n]).data(ke),s={relatedTarget:t[n]};if(e&&"click"===e.type&&(s.clickEvent=e),o){var a=o._menu;if(p(i).hasClass(Pe)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&p.contains(i,e.target))){var l=p.Event(Oe.HIDE,s);p(i).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(Pe),p(i).removeClass(Pe).trigger(p.Event(Oe.HIDDEN,s)))}}}},c._getParentFromElement=function(e){var t,n=g.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},c._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(Ue).length)):je.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!p(this).hasClass(Le))){var t=c._getParentFromElement(this),n=p(t).hasClass(Pe);if(n||27!==e.which)if(n&&(!n||27!==e.which&&32!==e.which)){var r=[].slice.call(t.querySelectorAll(ze)).filter(function(e){return p(e).is(":visible")});if(0!==r.length){var i=r.indexOf(e.target);38===e.which&&0<i&&i--,40===e.which&&i<r.length-1&&i++,i<0&&(i=0),r[i].focus()}}else{if(27===e.which){var o=t.querySelector(We);p(o).trigger("focus")}p(this).trigger("click")}}},s(c,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Ze}},{key:"DefaultType",get:function(){return et}}]),c}();p(document).on(Oe.KEYDOWN_DATA_API,We,tt._dataApiKeydownHandler).on(Oe.KEYDOWN_DATA_API,Ue,tt._dataApiKeydownHandler).on(Oe.CLICK_DATA_API+" "+Oe.KEYUP_DATA_API,tt._clearMenus).on(Oe.CLICK_DATA_API,We,function(e){e.preventDefault(),e.stopPropagation(),tt._jQueryInterface.call(p(this),"toggle")}).on(Oe.CLICK_DATA_API,$e,function(e){e.stopPropagation()}),p.fn[Ae]=tt._jQueryInterface,p.fn[Ae].Constructor=tt,p.fn[Ae].noConflict=function(){return p.fn[Ae]=Me,tt._jQueryInterface};var nt="modal",rt="bs.modal",it="."+rt,ot=p.fn[nt],st={backdrop:!0,keyboard:!0,focus:!0,show:!0},at={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},lt={HIDE:"hide"+it,HIDE_PREVENTED:"hidePrevented"+it,HIDDEN:"hidden"+it,SHOW:"show"+it,SHOWN:"shown"+it,FOCUSIN:"focusin"+it,RESIZE:"resize"+it,CLICK_DISMISS:"click.dismiss"+it,KEYDOWN_DISMISS:"keydown.dismiss"+it,MOUSEUP_DISMISS:"mouseup.dismiss"+it,MOUSEDOWN_DISMISS:"mousedown.dismiss"+it,CLICK_DATA_API:"click"+it+".data-api"},ct="modal-dialog-scrollable",ut="modal-scrollbar-measure",ht="modal-backdrop",ft="modal-open",dt="fade",pt="show",gt="modal-static",mt=".modal-dialog",vt=".modal-body",yt='[data-toggle="modal"]',_t='[data-dismiss="modal"]',bt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",wt=".sticky-top",xt=function(){function i(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(mt),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=i.prototype;return e.toggle=function(e){return this._isShown?this.hide():this.show(e)},e.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){p(this._element).hasClass(dt)&&(this._isTransitioning=!0);var n=p.Event(lt.SHOW,{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(lt.CLICK_DISMISS,_t,function(e){return t.hide(e)}),p(this._dialog).on(lt.MOUSEDOWN_DISMISS,function(){p(t._element).one(lt.MOUSEUP_DISMISS,function(e){p(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},e.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var n=p.Event(lt.HIDE);if(p(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var r=p(this._element).hasClass(dt);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),p(document).off(lt.FOCUSIN),p(this._element).removeClass(pt),p(this._element).off(lt.CLICK_DISMISS),p(this._dialog).off(lt.MOUSEDOWN_DISMISS),r){var i=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(i)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return p(e).off(it)}),p(document).off(lt.FOCUSIN),p.removeData(this._element,rt),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},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(e){return e=l({},st,{},e),g.typeCheckConfig(nt,e,at),e},e._triggerBackdropTransition=function(){var e=this;if("static"===this._config.backdrop){var t=p.Event(lt.HIDE_PREVENTED);if(p(this._element).trigger(t),t.defaultPrevented)return;this._element.classList.add(gt);var n=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function(){e._element.classList.remove(gt)}).emulateTransitionEnd(n),this._element.focus()}else this.hide()},e._showElement=function(e){var t=this,n=p(this._element).hasClass(dt),r=this._dialog?this._dialog.querySelector(vt):null;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),p(this._dialog).hasClass(ct)&&r?r.scrollTop=0:this._element.scrollTop=0,n&&g.reflow(this._element),p(this._element).addClass(pt),this._config.focus&&this._enforceFocus();function i(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,p(t._element).trigger(o)}var o=p.Event(lt.SHOWN,{relatedTarget:e});if(n){var s=g.getTransitionDurationFromElement(this._dialog);p(this._dialog).one(g.TRANSITION_END,i).emulateTransitionEnd(s)}else i()},e._enforceFocus=function(){var t=this;p(document).off(lt.FOCUSIN).on(lt.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===p(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?p(this._element).on(lt.KEYDOWN_DISMISS,function(e){27===e.which&&t._triggerBackdropTransition()}):this._isShown||p(this._element).off(lt.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?p(window).on(lt.RESIZE,function(e){return t.handleUpdate(e)}):p(window).off(lt.RESIZE)},e._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){p(document.body).removeClass(ft),e._resetAdjustments(),e._resetScrollbar(),p(e._element).trigger(lt.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(p(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(e){var t=this,n=p(this._element).hasClass(dt)?dt:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=ht,n&&this._backdrop.classList.add(n),p(this._backdrop).appendTo(document.body),p(this._element).on(lt.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&t._triggerBackdropTransition()}),n&&g.reflow(this._backdrop),p(this._backdrop).addClass(pt),!e)return;if(!n)return void e();var r=g.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(g.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){p(this._backdrop).removeClass(pt);var i=function(){t._removeBackdrop(),e&&e()};if(p(this._element).hasClass(dt)){var o=g.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(g.TRANSITION_END,i).emulateTransitionEnd(o)}else i()}else e&&e()},e._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")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var i=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(bt)),t=[].slice.call(document.querySelectorAll(wt));p(e).each(function(e,t){var n=t.style.paddingRight,r=p(t).css("padding-right");p(t).data("padding-right",n).css("padding-right",parseFloat(r)+i._scrollbarWidth+"px")}),p(t).each(function(e,t){var n=t.style.marginRight,r=p(t).css("margin-right");p(t).data("margin-right",n).css("margin-right",parseFloat(r)-i._scrollbarWidth+"px")});var n=document.body.style.paddingRight,r=p(document.body).css("padding-right");p(document.body).data("padding-right",n).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}p(document.body).addClass(ft)},e._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(bt));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(""+wt));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||""},e._getScrollbarWidth=function(){var e=document.createElement("div");e.className=ut,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},i._jQueryInterface=function(n,r){return this.each(function(){var e=p(this).data(rt),t=l({},st,{},p(this).data(),{},"object"==typeof n&&n?n:{});if(e||(e=new i(this,t),p(this).data(rt,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](r)}else t.show&&e.show(r)})},s(i,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return st}}]),i}();p(document).on(lt.CLICK_DATA_API,yt,function(e){var t,n=this,r=g.getSelectorFromElement(this);r&&(t=document.querySelector(r));var i=p(t).data(rt)?"toggle":l({},p(t).data(),{},p(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var o=p(t).one(lt.SHOW,function(e){e.isDefaultPrevented()||o.one(lt.HIDDEN,function(){p(n).is(":visible")&&n.focus()})});xt._jQueryInterface.call(p(t),i,this)}),p.fn[nt]=xt._jQueryInterface,p.fn[nt].Constructor=xt,p.fn[nt].noConflict=function(){return p.fn[nt]=ot,xt._jQueryInterface};var Ct=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Et={"*":["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","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Tt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,It=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function St(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("*")),r=function(e,t){var n=l[e],r=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var i=[].slice.call(n.attributes),o=[].concat(s["*"]||[],s[r]||[]);i.forEach(function(e){!function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===Ct.indexOf(n)||Boolean(e.nodeValue.match(Tt)||e.nodeValue.match(It));for(var r=t.filter(function(e){return e instanceof RegExp}),i=0,o=r.length;i<o;i++)if(n.match(r[i]))return!0;return!1}(e,o)&&n.removeAttribute(e.nodeName)})},i=0,o=l.length;i<o;i++)r(i);return n.body.innerHTML}var At="tooltip",kt="bs.tooltip",Dt="."+kt,Nt=p.fn[At],Mt="bs-tooltip",jt=new RegExp("(^|\\s)"+Mt+"\\S+","g"),Ot=["sanitize","whiteList","sanitizeFn"],Lt={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)"},Pt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},qt={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:Et,popperConfig:null},Ht="show",Rt="out",Ft={HIDE:"hide"+Dt,HIDDEN:"hidden"+Dt,SHOW:"show"+Dt,SHOWN:"shown"+Dt,INSERTED:"inserted"+Dt,CLICK:"click"+Dt,FOCUSIN:"focusin"+Dt,FOCUSOUT:"focusout"+Dt,MOUSEENTER:"mouseenter"+Dt,MOUSELEAVE:"mouseleave"+Dt},Bt="fade",Wt="show",$t=".tooltip-inner",Ut=".arrow",Qt="hover",zt="focus",Vt="click",Kt="manual",Xt=function(){function r(e,t){if(void 0===h)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()}var e=r.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.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(Wt))return void this._leave(null,this);this._enter(null,this)}},e.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},e.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),r=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!r)return;var i=this.getTipElement(),o=g.getUID(this.constructor.NAME);i.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&p(i).addClass(Bt);var s="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(i).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(i).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new h(this.element,i,this._getPopperConfig(a)),p(i).addClass(Wt),"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),e===Rt&&t._leave(null,t)};if(p(this.tip).hasClass(Bt)){var u=g.getTransitionDurationFromElement(this.tip);p(this.tip).one(g.TRANSITION_END,c).emulateTransitionEnd(u)}else c()}},e.hide=function(e){function t(){n._hoverState!==Ht&&r.parentNode&&r.parentNode.removeChild(r),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,r=this.getTipElement(),i=p.Event(this.constructor.Event.HIDE);if(p(this.element).trigger(i),!i.isDefaultPrevented()){if(p(r).removeClass(Wt),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger[Vt]=!1,this._activeTrigger[zt]=!1,this._activeTrigger[Qt]=!1,p(this.tip).hasClass(Bt)){var o=g.getTransitionDurationFromElement(r);p(r).one(g.TRANSITION_END,t).emulateTransitionEnd(o)}else t();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){p(this.getTipElement()).addClass(Mt+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(p(e.querySelectorAll($t)),this.getTitle()),p(e).removeClass(Bt+" "+Wt)},e.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=St(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())},e.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)},e._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Ut},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)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,{},t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:g.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},e._getAttachment=function(e){return Pt[e.toUpperCase()]},e._setListeners=function(){var r=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)p(r.element).on(r.constructor.Event.CLICK,r.config.selector,function(e){return r.toggle(e)});else if(e!==Kt){var t=e===Qt?r.constructor.Event.MOUSEENTER:r.constructor.Event.FOCUSIN,n=e===Qt?r.constructor.Event.MOUSELEAVE:r.constructor.Event.FOCUSOUT;p(r.element).on(t,r.config.selector,function(e){return r._enter(e)}).on(n,r.config.selector,function(e){return r._leave(e)})}}),this._hideModalHandler=function(){r.element&&r.hide()},p(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._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",""))},e._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?zt:Qt]=!0),p(t.getTipElement()).hasClass(Wt)||t._hoverState===Ht?t._hoverState=Ht:(clearTimeout(t._timeout),t._hoverState=Ht,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===Ht&&t.show()},t.config.delay.show):t.show())},e._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?zt:Qt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Rt,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===Rt&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){var t=p(this.element).data();return Object.keys(t).forEach(function(e){-1!==Ot.indexOf(e)&&delete t[e]}),"number"==typeof(e=l({},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(At,e,this.constructor.DefaultType),e.sanitize&&(e.template=St(e.template,e.whiteList,e.sanitizeFn)),e},e._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},e._cleanTipClass=function(){var e=p(this.getTipElement()),t=e.attr("class").match(jt);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(p(e).removeClass(Bt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},r._jQueryInterface=function(n){return this.each(function(){var e=p(this).data(kt),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new r(this,t),p(this).data(kt,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return qt}},{key:"NAME",get:function(){return At}},{key:"DATA_KEY",get:function(){return kt}},{key:"Event",get:function(){return Ft}},{key:"EVENT_KEY",get:function(){return Dt}},{key:"DefaultType",get:function(){return Lt}}]),r}();p.fn[At]=Xt._jQueryInterface,p.fn[At].Constructor=Xt,p.fn[At].noConflict=function(){return p.fn[At]=Nt,Xt._jQueryInterface};var Yt="popover",Gt="bs.popover",Jt="."+Gt,Zt=p.fn[Yt],en="bs-popover",tn=new RegExp("(^|\\s)"+en+"\\S+","g"),nn=l({},Xt.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>'}),rn=l({},Xt.DefaultType,{content:"(string|element|function)"}),on="fade",sn="show",an=".popover-header",ln=".popover-body",cn={HIDE:"hide"+Jt,HIDDEN:"hidden"+Jt,SHOW:"show"+Jt,SHOWN:"shown"+Jt,INSERTED:"inserted"+Jt,CLICK:"click"+Jt,FOCUSIN:"focusin"+Jt,FOCUSOUT:"focusout"+Jt,MOUSEENTER:"mouseenter"+Jt,MOUSELEAVE:"mouseleave"+Jt},un=function(e){function r(){return e.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(r,e);var t=r.prototype;return t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(e){p(this.getTipElement()).addClass(en+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},t.setContent=function(){var e=p(this.getTipElement());this.setElementContent(e.find(an),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(ln),t),e.removeClass(on+" "+sn)},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var e=p(this.getTipElement()),t=e.attr("class").match(tn);null!==t&&0<t.length&&e.removeClass(t.join(""))},r._jQueryInterface=function(n){return this.each(function(){var e=p(this).data(Gt),t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new r(this,t),p(this).data(Gt,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return nn}},{key:"NAME",get:function(){return Yt}},{key:"DATA_KEY",get:function(){return Gt}},{key:"Event",get:function(){return cn}},{key:"EVENT_KEY",get:function(){return Jt}},{key:"DefaultType",get:function(){return rn}}]),r}(Xt);p.fn[Yt]=un._jQueryInterface,p.fn[Yt].Constructor=un,p.fn[Yt].noConflict=function(){return p.fn[Yt]=Zt,un._jQueryInterface};var hn="scrollspy",fn="bs.scrollspy",dn="."+fn,pn=p.fn[hn],gn={offset:10,method:"auto",target:""},mn={offset:"number",method:"string",target:"(string|element)"},vn={ACTIVATE:"activate"+dn,SCROLL:"scroll"+dn,LOAD_DATA_API:"load"+dn+".data-api"},yn="dropdown-item",_n="active",bn='[data-spy="scroll"]',wn=".nav, .list-group",xn=".nav-link",Cn=".nav-item",En=".list-group-item",Tn=".dropdown",In=".dropdown-item",Sn=".dropdown-toggle",An="offset",kn="position",Dn=function(){function n(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+" "+xn+","+this._config.target+" "+En+","+this._config.target+" "+In,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(vn.SCROLL,function(e){return n._process(e)}),this.refresh(),this._process()}var e=n.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?An:kn,i="auto"===this._config.method?e:this._config.method,o=i===kn?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 r=t.getBoundingClientRect();if(r.width||r.height)return[p(t)[i]().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])})},e.dispose=function(){p.removeData(this._element,fn),p(this._scrollElement).off(dn),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(e){if("string"!=typeof(e=l({},gn,{},"object"==typeof e&&e?e:{})).target){var t=p(e.target).attr("id");t||(t=g.getUID(hn),p(e.target).attr("id",t)),e.target="#"+t}return g.typeCheckConfig(hn,e,mn),e},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._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 r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;){this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])}}},e._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(yn)?(n.closest(Tn).find(Sn).addClass(_n),n.addClass(_n)):(n.addClass(_n),n.parents(wn).prev(xn+", "+En).addClass(_n),n.parents(wn).prev(Cn).children(xn).addClass(_n)),p(this._scrollElement).trigger(vn.ACTIVATE,{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(_n)}).forEach(function(e){return e.classList.remove(_n)})},n._jQueryInterface=function(t){return this.each(function(){var e=p(this).data(fn);if(e||(e=new n(this,"object"==typeof t&&t),p(this).data(fn,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},s(n,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return gn}}]),n}();p(window).on(vn.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(bn)),t=e.length;t--;){var n=p(e[t]);Dn._jQueryInterface.call(n,n.data())}}),p.fn[hn]=Dn._jQueryInterface,p.fn[hn].Constructor=Dn,p.fn[hn].noConflict=function(){return p.fn[hn]=pn,Dn._jQueryInterface};var Nn="bs.tab",Mn="."+Nn,jn=p.fn.tab,On={HIDE:"hide"+Mn,HIDDEN:"hidden"+Mn,SHOW:"show"+Mn,SHOWN:"shown"+Mn,CLICK_DATA_API:"click"+Mn+".data-api"},Ln="dropdown-menu",Pn="active",qn="disabled",Hn="fade",Rn="show",Fn=".dropdown",Bn=".nav, .list-group",Wn=".active",$n="> li > .active",Un='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Qn=".dropdown-toggle",zn="> .dropdown-menu .active",Vn=function(){function r(e){this._element=e}var e=r.prototype;return e.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(Pn)||p(this._element).hasClass(qn))){var e,r,t=p(this._element).closest(Bn)[0],i=g.getSelectorFromElement(this._element);if(t){var o="UL"===t.nodeName||"OL"===t.nodeName?$n:Wn;r=(r=p.makeArray(p(t).find(o)))[r.length-1]}var s=p.Event(On.HIDE,{relatedTarget:this._element}),a=p.Event(On.SHOW,{relatedTarget:r});if(r&&p(r).trigger(s),p(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){i&&(e=document.querySelector(i)),this._activate(this._element,t);var l=function(){var e=p.Event(On.HIDDEN,{relatedTarget:n._element}),t=p.Event(On.SHOWN,{relatedTarget:r});p(r).trigger(e),p(n._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function(){p.removeData(this._element,Nn),this._element=null},e._activate=function(e,t,n){function r(){return i._transitionComplete(e,o,n)}var i=this,o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?p(t).children(Wn):p(t).find($n))[0],s=n&&o&&p(o).hasClass(Hn);if(o&&s){var a=g.getTransitionDurationFromElement(o);p(o).removeClass(Rn).one(g.TRANSITION_END,r).emulateTransitionEnd(a)}else r()},e._transitionComplete=function(e,t,n){if(t){p(t).removeClass(Pn);var r=p(t.parentNode).find(zn)[0];r&&p(r).removeClass(Pn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(p(e).addClass(Pn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),g.reflow(e),e.classList.contains(Hn)&&e.classList.add(Rn),e.parentNode&&p(e.parentNode).hasClass(Ln)){var i=p(e).closest(Fn)[0];if(i){var o=[].slice.call(i.querySelectorAll(Qn));p(o).addClass(Pn)}e.setAttribute("aria-expanded",!0)}n&&n()},r._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data(Nn);if(t||(t=new r(this),e.data(Nn,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(r,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),r}();p(document).on(On.CLICK_DATA_API,Un,function(e){e.preventDefault(),Vn._jQueryInterface.call(p(this),"show")}),p.fn.tab=Vn._jQueryInterface,p.fn.tab.Constructor=Vn,p.fn.tab.noConflict=function(){return p.fn.tab=jn,Vn._jQueryInterface};var Kn="toast",Xn="bs.toast",Yn="."+Xn,Gn=p.fn[Kn],Jn={CLICK_DISMISS:"click.dismiss"+Yn,HIDE:"hide"+Yn,HIDDEN:"hidden"+Yn,SHOW:"show"+Yn,SHOWN:"shown"+Yn},Zn="fade",er="hide",tr="show",nr="showing",rr={animation:"boolean",autohide:"boolean",delay:"number"},ir={animation:!0,autohide:!0,delay:500},or='[data-dismiss="toast"]',sr=function(){function r(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var e=r.prototype;return e.show=function(){var e=this,t=p.Event(Jn.SHOW);if(p(this._element).trigger(t),!t.isDefaultPrevented()){this._config.animation&&this._element.classList.add(Zn);var n=function(){e._element.classList.remove(nr),e._element.classList.add(tr),p(e._element).trigger(Jn.SHOWN),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))};if(this._element.classList.remove(er),g.reflow(this._element),this._element.classList.add(nr),this._config.animation){var r=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,n).emulateTransitionEnd(r)}else n()}},e.hide=function(){if(this._element.classList.contains(tr)){var e=p.Event(Jn.HIDE);p(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(tr)&&this._element.classList.remove(tr),p(this._element).off(Jn.CLICK_DISMISS),p.removeData(this._element,Xn),this._element=null,this._config=null},e._getConfig=function(e){return e=l({},ir,{},p(this._element).data(),{},"object"==typeof e&&e?e:{}),g.typeCheckConfig(Kn,e,this.constructor.DefaultType),e},e._setListeners=function(){var e=this;p(this._element).on(Jn.CLICK_DISMISS,or,function(){return e.hide()})},e._close=function(){function e(){t._element.classList.add(er),p(t._element).trigger(Jn.HIDDEN)}var t=this;if(this._element.classList.remove(tr),this._config.animation){var n=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},r._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data(Xn);if(t||(t=new r(this,"object"==typeof n&&n),e.data(Xn,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},s(r,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"DefaultType",get:function(){return rr}},{key:"Default",get:function(){return ir}}]),r}();p.fn[Kn]=sr._jQueryInterface,p.fn[Kn].Constructor=sr,p.fn[Kn].noConflict=function(){return p.fn[Kn]=Gn,sr._jQueryInterface},e.Alert=y,e.Button=L,e.Carousel=he,e.Collapse=Se,e.Dropdown=tt,e.Modal=xt,e.Popover=un,e.Scrollspy=Dn,e.Tab=Vn,e.Toast=sr,e.Tooltip=Xt,e.Util=g,Object.defineProperty(e,"__esModule",{value:!0})}),function(i){"use strict";function o(e,t){this.el=i(e),this.options=i.extend({},i.fn.typed.defaults,t),this.baseText=this.el.text()||this.el.attr("placeholder")||"",this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.showCursor=!this.isInput&&this.options.showCursor,this.cursorChar=this.options.cursorChar,this.isInput=this.el.is("input"),this.attr=this.options.attr||(this.isInput?"placeholder":null),this.build()}o.prototype={constructor:o,init:function(){var e=this;e.timeout=setTimeout(function(){e.typewrite(e.strings[e.arrayPos],e.strPos)},e.startDelay)},build:function(){!0===this.showCursor&&(this.cursor=i('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.init()},typewrite:function(r,i){if(!0!==this.stop){var e=Math.round(70*Math.random())+this.typeSpeed,o=this;o.timeout=setTimeout(function(){var e=0,t=r.substr(i);if("^"===t.charAt(0)){var n=1;/^\^\d+/.test(t)&&(n+=(t=/\d+/.exec(t)[0]).length,e=parseInt(t)),r=r.substring(0,i)+r.substring(i+n)}o.timeout=setTimeout(function(){if(i===r.length){if(o.options.onStringTyped(o.arrayPos),o.arrayPos===o.strings.length-1&&(o.options.callback(),o.curLoop++,!1===o.loop||o.curLoop===o.loopCount))return;o.timeout=setTimeout(function(){o.backspace(r,i)},o.backDelay)}else{0===i&&o.options.preStringTyped(o.arrayPos);var e=o.baseText+r.substr(0,i+1);o.attr?o.el.attr(o.attr,e):o.el.text(e),i++,o.typewrite(r,i)}},e)},e)}},backspace:function(t,n){if(!0!==this.stop){var e=Math.round(70*Math.random())+this.backSpeed,r=this;r.timeout=setTimeout(function(){1==r.arrayPos?(r.stopNum=17,r.backDelay=500):2==r.arrayPos?r.stopNum=54:r.stopNum=0;var e=r.baseText+t.substr(0,n);r.attr?r.el.attr(r.attr,e):r.el.text(e),n>r.stopNum?(n--,r.backspace(t,n)):n<=r.stopNum&&(r.arrayPos++,r.arrayPos===r.strings.length?(r.arrayPos=0,r.init()):r.typewrite(r.strings[r.arrayPos],n))},e)}},reset:function(){clearInterval(this.timeout);var e=this.el.attr("id");this.el.after('<span id="'+e+'"/>'),this.el.remove(),this.cursor.remove(),this.options.resetCallback()}},i.fn.typed=function(r){return this.each(function(){var e=i(this),t=e.data("typed"),n="object"==typeof r&&r;t||e.data("typed",t=new o(this,n)),"string"==typeof r&&t[r]()})},i.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(jQuery)}(function(d){var r=/\+/g;function p(e){return m.raw?e:encodeURIComponent(e)}function g(e,t){var n=m.raw?e:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(r," ")),m.json?JSON.parse(e):e}catch(e){}}(e);return d.isFunction(t)?t(n):n}var m=d.cookie=function(e,t,n){if(1<arguments.length&&!d.isFunction(t)){if("number"==typeof(n=d.extend({},m.defaults,n)).expires){var r=n.expires,i=n.expires=new Date;i.setTime(+i+864e5*r)}return document.cookie=[p(e),"=",function(e){return p(m.json?JSON.stringify(e):String(e))}(t),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("")}for(var o,s=e?void 0:{},a=document.cookie?document.cookie.split("; "):[],l=0,c=a.length;l<c;l++){var u=a[l].split("="),h=(o=u.shift(),m.raw?o:decodeURIComponent(o)),f=u.join("=");if(e&&e===h){s=g(f,t);break}e||void 0===(f=g(f))||(s[h]=f)}return s};m.defaults={},d.removeCookie=function(e,t){return void 0!==d.cookie(e)&&(d.cookie(e,"",d.extend({},t,{expires:-1})),!d.cookie(e))}}),jQuery(document).ready(function(o){var s;function n(){function e(e){var t=o("<span>").appendTo(this).after('<span id="blinker" style="background:green"> </span>'),n=o("<style>p.input {visibility: hidden} p.input.old {visibility: visible}</style>").appendTo("head");o("p.input").addClass("old");var r=0,i=setInterval(function(){t.text(e.substr(0,r++)),r>e.length&&(o("#blinker").remove(),n.remove(),o("[contenteditable]")[0].focus(),clearInterval(i))},100)}o(".thermo-intro").cli(function(e){return 1<e.length&&(localStorage.setItem("person",e),o(".terminal-welcome").delay(5500).queue(function(e){o(this).modal("hide"),e()})),"I will close this terminal now. Thank You "+e},null,e),o(".thermo").cli(function(e){if(/exit/i.test(e)&&o(".terminal").modal("hide"),!/contact/i.test(e))return/help/i.test(e)?"I need somebody!":/hello/i.test(e)?"Hello to you!":/what/i.test(e)?"This is a website silly human":/and/i.test(e)?"and what?":/who/i.test(e)?"David A. Windham":/when/i.test(e)?"Yesterday":/how/i.test(e)?"JavaScript is a dynamic computer programming language":/why/i.test(e)?"For fun":/you/i.test(e)?"your mama":/cd ../i.test(e)?"Oh, I see":/thermonuclear/i.test(e)?"Wouldn't you prefer a nice game of chess?":e.length<3?"type 'exit' to close":"command not found: "+e;o(".terminal-welcome").delay(2500).queue(function(e){window.location.assign("/contact/")})},null,e),o("p.input").on("touchstart click",function(e){e.preventDefault(),o("[contenteditable]")[0].focus()})}o(function(){var e="windhamdavid-cookie";if(null==o.cookie(e))o.cookie(e,"yum-cookies",{expires:7,path:"/"}),o(".terminal-welcome").modal("show"),o(".welcome").typed({strings:["Hey,","Hello,\n^10Welcome to ^10my domain ^10...^10","Hello, \nWelcome to my little corner of the internet. \n^10It is nice to ","Hello, \nWelcome to my little corner of the internet. \nWhat is your name?^200\n"],typeSpeed:30,backSpeed:50,startDelay:0,backDelay:0,loop:!1,loopCount:!1,attr:null,callback:function(){n()}});else{if(o(".terminal").modal("show"),null===localStorage.getItem("person"))var t="anonymous person";else t=localStorage.getItem("person");o(".welcome-back-text").typed({strings:["...","Welcome back "+t],typeSpeed:30,backSpeed:10,startDelay:0,backDelay:100,loop:!1,loopCount:!1,attr:null,callback:function(){n()}})}}),(s=jQuery).fn.cli=function(r,e,i){return e=e||'<span class="u">you</span><span class="at">@</span><span class="mee">david</span> > ',i=i||s.fn.text,this.each(function(){var t=s(this);function n(){t.append("<p class=input><span class=prompt>"+e+"</span><span style=outline:none contenteditable></span></p>");try{s("[contenteditable]",t)[0].focus()}catch(e){}}n(),t.on("keydown","[contenteditable]",function(e){if(13===e.keyCode)return s(this).removeAttr("contenteditable"),i.call(s("<p class=response>").appendTo(t),r(this.textContent||this.innerText)),n(),!1})})}}),function(u,h){function f(e,t,n){var r=m[t.type]||{};return null==e?n||!t.def?null:t.def:(e=r.floor?~~e:parseFloat(e),isNaN(e)?t.def:r.mod?(e+r.mod)%r.mod:e<0?0:r.max<e?r.max:e)}function a(s){var a=p(),l=a._rgba=[];return s=s.toLowerCase(),v(e,function(e,t){var n,r=t.re.exec(s),i=r&&t.parse(r),o=t.space||"rgba";if(i)return n=a[o](i),a[g[o].cache]=n[g[o].cache],l=a._rgba=n._rgba,!1}),l.length?("0,0,0,0"===l.join()&&u.extend(l,c.transparent),a):c[s]}function l(e,t,n){return 6*(n=(n+1)%1)<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}var c,d=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],p=u.Color=function(e,t,n,r){return new u.Color.fn.parse(e,t,n,r)},g={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},m={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},s=p.support={},t=u("<p>")[0],v=u.each;t.style.cssText="background-color:rgba(1,1,1,.5)",s.rgba=-1<t.style.backgroundColor.indexOf("rgba"),v(g,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),p.fn=u.extend(p.prototype,{parse:function(i,e,t,n){if(i===h)return this._rgba=[null,null,null,null],this;(i.jquery||i.nodeType)&&(i=u(i).css(e),e=h);var o=this,r=u.type(i),s=this._rgba=[];return e!==h&&(i=[i,e,t,n],r="array"),"string"===r?this.parse(a(i)||c._default):"array"===r?(v(g.rgba.props,function(e,t){s[t.idx]=f(i[t.idx],t)}),this):"object"===r?(v(g,i instanceof p?function(e,t){i[t.cache]&&(o[t.cache]=i[t.cache].slice())}:function(e,n){var r=n.cache;v(n.props,function(e,t){if(!o[r]&&n.to){if("alpha"===e||null==i[e])return;o[r]=n.to(o._rgba)}o[r][t.idx]=f(i[e],t,!0)}),o[r]&&u.inArray(null,o[r].slice(0,3))<0&&(o[r][3]=1,n.from&&(o._rgba=n.from(o[r])))}),this):void 0},is:function(e){var i=p(e),o=!0,s=this;return v(g,function(e,t){var n,r=i[t.cache];return r&&(n=s[t.cache]||t.to&&t.to(s._rgba)||[],v(t.props,function(e,t){if(null!=r[t.idx])return o=r[t.idx]===n[t.idx]})),o}),o},_space:function(){var n=[],r=this;return v(g,function(e,t){r[t.cache]&&n.push(e)}),n.pop()},transition:function(e,s){var a=p(e),t=a._space(),n=g[t],r=0===this.alpha()?p("transparent"):this,l=r[n.cache]||n.to(r._rgba),c=l.slice();return a=a[n.cache],v(n.props,function(e,t){var n=t.idx,r=l[n],i=a[n],o=m[t.type]||{};null!==i&&(null===r?c[n]=i:(o.mod&&(i-r>o.mod/2?r+=o.mod:r-i>o.mod/2&&(r-=o.mod)),c[n]=f((i-r)*s+r,t)))}),this[t](c)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),n=t.pop(),r=p(e)._rgba;return p(u.map(t,function(e,t){return(1-n)*r[t]+n*e}))},toRgbaString:function(){var e="rgba(",t=u.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=u.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),t&&t<3&&(e=Math.round(100*e)+"%"),e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),n=t.pop();return e&&t.push(~~(255*n)),"#"+u.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),p.fn.parse.prototype=p.fn,g.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,s=e[3],a=Math.max(r,i,o),l=Math.min(r,i,o),c=a-l,u=a+l,h=.5*u;return t=l===a?0:r===a?60*(i-o)/c+360:i===a?60*(o-r)/c+120:60*(r-i)/c+240,n=0==c?0:h<=.5?c/u:c/(2-u),[Math.round(t)%360,n,h,null==s?1:s]},g.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],o=r<=.5?r*(1+n):r+n-r*n,s=2*r-o;return[Math.round(255*l(s,o,t+1/3)),Math.round(255*l(s,o,t)),Math.round(255*l(s,o,t-1/3)),i]},v(g,function(l,e){var n=e.props,s=e.cache,a=e.to,c=e.from;p.fn[l]=function(e){if(a&&!this[s]&&(this[s]=a(this._rgba)),e===h)return this[s].slice();var t,r=u.type(e),i="array"===r||"object"===r?e:arguments,o=this[s].slice();return v(n,function(e,t){var n=i["object"===r?e:t.idx];null==n&&(n=o[t.idx]),o[t.idx]=f(n,t)}),c?((t=p(c(o)))[s]=o,t):p(o)},v(n,function(s,a){p.fn[s]||(p.fn[s]=function(e){var t,n=u.type(e),r="alpha"===s?this._hsla?"hsla":"rgba":l,i=this[r](),o=i[a.idx];return"undefined"===n?o:("function"===n&&(e=e.call(this,o),n=u.type(e)),null==e&&a.empty?this:("string"===n&&((t=d.exec(e))&&(e=o+parseFloat(t[2])*("+"===t[1]?1:-1))),i[a.idx]=e,this[r](i)))})})}),p.hook=function(e){var t=e.split(" ");v(t,function(e,o){u.cssHooks[o]={set:function(e,t){var n,r,i="";if("transparent"!==t&&("string"!==u.type(t)||(n=a(t)))){if(t=p(n||t),!s.rgba&&1!==t._rgba[3]){for(r="backgroundColor"===o?e.parentNode:e;(""===i||"transparent"===i)&&r&&r.style;)try{i=u.css(r,"backgroundColor"),r=r.parentNode}catch(e){}t=t.blend(i&&"transparent"!==i?i:"_default")}t=t.toRgbaString()}try{e.style[o]=t}catch(e){}}},u.fx.step[o]=function(e){e.colorInit||(e.start=p(e.elem,o),e.end=p(e.end),e.colorInit=!0),u.cssHooks[o].set(e.elem,e.start.transition(e.end,e.pos))}})},p.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(n){var r={};return v(["Top","Right","Bottom","Left"],function(e,t){r["border"+t+"Color"]=n}),r}},c=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(o){o.fn.swapAttr=function(i){if(!i)i="title";return this.each(function(){o(this).hover(function(){var e=o(this),t=e.text(),n=e.attr(i),r=e.width();n&&(e.text(n).attr("data-defaultText",t),r>e.width()&&e.width(r))},function(){var e=o(this),t=e.attr("data-defaultText");e.text(t).removeAttr("data-defaultText").width("auto")})})}}(jQuery),$(document).ready(function(){$("a").hover(function(){var e="rgb("+Math.floor(256*Math.random())+","+Math.floor(256*Math.random())+","+Math.floor(256*Math.random())+")";$(this).stop().animate({color:e},300)},function(){$(this).stop().animate({color:col},300)});var e=new SVGMorpheus("#icon");$("a.zw-card").hover(function(){e.to("zw",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("a.dw-card").hover(function(){e.to("dw",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("a.phone-card").hover(function(){e.to("phone",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("span.mail-card").hover(function(){e.to("mail",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("a.about-card").hover(function(){e.to("about",{duration:1e3,easing:"quad-in-out",rotation:"clock"})}),$("a.code-card").hover(function(){e.to("code",{duration:1e3,easing:"quad-in-out",rotation:"random"})}),$("a.desk-card").hover(function(){e.to("desk",{duration:1e3,easing:"quad-in-out",rotation:"counterclock"})}),$("a.studio-card").hover(function(){e.to("studio",{duration:1e3,easing:"quad-in-out",rotation:"clock"})}),$("a.contact-card").hover(function(){e.to("contact",{duration:1e3,easing:"quad-in-out",rotation:"random"})})});
|