src/Hx.IdentityServer/wwwroot/js/bundle.min.js

(开头部分) 443KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

if(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(x,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],C=x.document,i=Object.getPrototypeOf,s=t.slice,g=t.concat,l=t.push,r=t.indexOf,n={},a=n.toString,v=n.hasOwnProperty,o=v.toString,u=o.call(Object),y={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},c={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var i,r,a=(n=n||C).createElement("script");if(a.text=e,t)for(i in c)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&a.setAttribute(i,r);n.head.appendChild(a).parentNode.removeChild(a)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[a.call(e)]||"object":typeof e}var d="3.4.1",k=function(e,t){return new k.fn.init(e,t)},h=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function f(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!b(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}k.fn=k.prototype={jquery:d,constructor:k,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(n){return this.pushStack(k.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.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},k.extend=k.fn.extend=function(){var e,t,n,i,r,a,o=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||b(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&o!==i&&(u&&i&&(k.isPlainObject(i)||(r=Array.isArray(i)))?(n=o[t],a=r&&!Array.isArray(n)?[]:r||k.isPlainObject(n)?n:{},r=!1,o[t]=k.extend(u,a,i)):void 0!==i&&(o[t]=i));return o},k.extend({expando:"jQuery"+(d+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]"!==a.call(e))&&(!(t=i(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&o.call(n)===u)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){_(e,{nonce:t&&t.nonce})},each:function(e,t){var n,i=0;if(f(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(h,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(f(Object(e))?k.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:r.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,a=e.length,o=!n;r<a;r++)!t(e[r],r)!=o&&i.push(e[r]);return i},map:function(e,t,n){var i,r,a=0,o=[];if(f(e))for(i=e.length;a<i;a++)null!=(r=t(e[a],a,n))&&o.push(r);else for(a in e)null!=(r=t(e[a],a,n))&&o.push(r);return g.apply([],o)},guid:1,support:y}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=t[Symbol.iterator]),k.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 d(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}function r(){D()}var e,f,_,a,o,p,h,m,w,l,u,D,x,s,C,g,c,v,y,k="sizzle"+1*new Date,b=n.document,T=0,i=0,S=le(),E=le(),M=le(),A=le(),O=function(e,t){return e===t&&(u=!0),0},N={}.hasOwnProperty,t=[],I=t.pop,j=t.push,P=t.push,L=t.slice,H=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",Y="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",V="\\["+R+"*("+Y+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Y+"))|)"+R+"*\\]",U=":("+Y+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+V+")*)|.*)\\)|)",W=new RegExp(R+"+","g"),q=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),B=new RegExp("^"+R+"*,"+R+"*"),$=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),z=new RegExp(R+"|>"),G=new RegExp(U),K=new RegExp("^"+Y+"$"),Q={ID:new RegExp("^#("+Y+")"),CLASS:new RegExp("^\\.("+Y+")"),TAG:new RegExp("^("+Y+"|[*])"),ATTR:new RegExp("^"+V),PSEUDO:new RegExp("^"+U),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("^(?:"+F+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,ie=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=_e(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(t=L.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){P={apply:t.length?function(e,t){j.apply(e,L.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(t,e,n,i){var r,a,o,s,l,u,c,d=e&&e.ownerDocument,h=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return n;if(!i&&((e?e.ownerDocument||e:b)!==x&&D(e),e=e||x,C)){if(11!==h&&(l=te.exec(t)))if(r=l[1]){if(9===h){if(!(o=e.getElementById(r)))return n;if(o.id===r)return n.push(o),n}else if(d&&(o=d.getElementById(r))&&y(e,o)&&o.id===r)return n.push(o),n}else{if(l[2])return P.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&f.getElementsByClassName&&e.getElementsByClassName)return P.apply(n,e.getElementsByClassName(r)),n}if(f.qsa&&!A[t+" "]&&(!g||!g.test(t))&&(1!==h||"object"!==e.nodeName.toLowerCase())){if(c=t,d=e,1===h&&z.test(t)){for((s=e.getAttribute("id"))?s=s.replace(re,ae):e.setAttribute("id",s=k),a=(u=p(t)).length;a--;)u[a]="#"+s+" "+be(u[a]);c=u.join(","),d=ne.test(t)&&ve(e.parentNode)||e}try{return P.apply(n,d.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return m(t.replace(q,"$1"),e,n,i)}function le(){var i=[];return function e(t,n){return i.push(t+" ")>_.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function ue(e){return e[k]=!0,e}function ce(e){var t=x.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)_.attrHandle[n[i]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(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 me(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&&oe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ge(o){return ue(function(a){return a=+a,ue(function(e,t){for(var n,i=o([],e.length,a),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!J.test(t||n&&n.nodeName||"HTML")},D=se.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:b;return i!==x&&9===i.nodeType&&i.documentElement&&(s=(x=i).documentElement,C=!o(x),b!==x&&(n=x.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",r,!1):n.attachEvent&&n.attachEvent("onunload",r)),f.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=ce(function(e){return e.appendChild(x.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=ee.test(x.getElementsByClassName),f.getById=ce(function(e){return s.appendChild(e).id=k,!x.getElementsByName||!x.getElementsByName(k).length}),f.getById?(_.filter.ID=function(e){var t=e.replace(ie,d);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(_.filter.ID=function(e){var n=e.replace(ie,d);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n,i,r,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(r=t.getElementsByName(e),i=0;a=r[i++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),_.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,a=t.getElementsByTagName(e);if("*"!==e)return a;for(;n=a[r++];)1===n.nodeType&&i.push(n);return i},_.find.CLASS=f.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},c=[],g=[],(f.qsa=ee.test(x.querySelectorAll))&&(ce(function(e){s.appendChild(e).innerHTML="<a id='"+k+"'></a><select id='"+k+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+k+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||g.push(".#.+[+~]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=x.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(f.matchesSelector=ee.test(v=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ce(function(e){f.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),c.push("!=",U)}),g=g.length&&new RegExp(g.join("|")),c=c.length&&new RegExp(c.join("|")),t=ee.test(s.compareDocumentPosition),y=t||ee.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},O=t?function(e,t){if(e===t)return u=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===x||e.ownerDocument===b&&y(b,e)?-1:t===x||t.ownerDocument===b&&y(b,t)?1:l?H(l,e)-H(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,i=0,r=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!r||!a)return e===x?-1:t===x?1:r?-1:a?1:l?H(l,e)-H(l,t):0;if(r===a)return he(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[i]===s[i];)i++;return i?he(o[i],s[i]):o[i]===b?-1:s[i]===b?1:0}),x},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==x&&D(e),f.matchesSelector&&C&&!A[t+" "]&&(!c||!c.test(t))&&(!g||!g.test(t)))try{var n=v.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0<se(t,x,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!==x&&D(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==x&&D(e);var n=_.attrHandle[t.toLowerCase()],i=n&&N.call(_.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==i?i:f.attributes||!C?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,ae)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],i=0,r=0;if(u=!f.detectDuplicates,l=!f.sortStable&&e.slice(0),e.sort(O),u){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return l=null,e},a=se.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=a(t);return n},(_=se.selectors={cacheLength:50,createPseudo:ue,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,d),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,d),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,d).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,i,r){return function(e){var t=se.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1<t.indexOf(r):"$="===i?r&&t.slice(-r.length)===r:"~="===i?-1<(" "+t.replace(W," ")+" ").indexOf(r):"|="===i&&(t===r||t.slice(0,r.length+1)===r+"-"))}},CHILD:function(p,e,t,m,g){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),b="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var i,r,a,o,s,l,u=v!=y?"nextSibling":"previousSibling",c=e.parentNode,d=b&&e.nodeName.toLowerCase(),h=!n&&!b,f=!1;if(c){if(v){for(;u;){for(o=e;o=o[u];)if(b?o.nodeName.toLowerCase()===d:1===o.nodeType)return!1;l=u="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&h){for(f=(s=(i=(r=(a=(o=c)[k]||(o[k]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]||[])[0]===T&&i[1])&&i[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(f=s=0)||l.pop();)if(1===o.nodeType&&++f&&o===e){r[p]=[T,s,f];break}}else if(h&&(f=s=(i=(r=(a=(o=e)[k]||(o[k]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]||[])[0]===T&&i[1]),!1===f)for(;(o=++s&&o&&o[u]||(f=s=0)||l.pop())&&((b?o.nodeName.toLowerCase()!==d:1!==o.nodeType)||!++f||(h&&((r=(a=o[k]||(o[k]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]=[T,f]),o!==e)););return(f-=g)===m||f%m==0&&0<=f/m}}},PSEUDO:function(e,a){var t,o=_.pseudos[e]||_.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[k]?o(a):1<o.length?(t=[e,e,"",a],_.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,t){for(var n,i=o(e,a),r=i.length;r--;)e[n=H(e,i[r])]=!(t[n]=i[r])}):function(e){return o(e,0,t)}):o}},pseudos:{not:ue(function(e){var i=[],r=[],s=h(e.replace(q,"$1"));return s[k]?ue(function(e,t,n,i){for(var r,a=s(e,null,i,[]),o=e.length;o--;)(r=a[o])&&(e[o]=!(t[o]=r))}):function(e,t,n){return i[0]=e,s(i,null,n,r),i[0]=null,!r.pop()}}),has:ue(function(t){return function(e){return 0<se(t,e).length}}),contains:ue(function(t){return t=t.replace(ie,d),function(e){return-1<(e.textContent||a(e)).indexOf(t)}}),lang:ue(function(n){return K.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(ie,d).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===s},focus:function(e){return e===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!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!_.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return Z.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:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:ge(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[e]=fe(e);for(e in{submit:!0,reset:!0})_.pseudos[e]=pe(e);function ye(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function _e(s,e,t){var l=e.dir,u=e.next,c=u||l,d=t&&"parentNode"===c,h=i++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||d)return s(e,t,n);return!1}:function(e,t,n){var i,r,a,o=[T,h];if(n){for(;e=e[l];)if((1===e.nodeType||d)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||d)if(r=(a=e[k]||(e[k]={}))[e.uniqueID]||(a[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[l]||e;else{if((i=r[c])&&i[0]===T&&i[1]===h)return o[2]=i[2];if((r[c]=o)[2]=s(e,t,n))return!0}return!1}}function we(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function De(e,t,n,i,r){for(var a,o=[],s=0,l=e.length,u=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,i,r)||(o.push(a),u&&t.push(s)));return o}function xe(f,p,m,g,v,e){return g&&!g[k]&&(g=xe(g)),v&&!v[k]&&(v=xe(v,e)),ue(function(e,t,n,i){var r,a,o,s=[],l=[],u=t.length,c=e||function(e,t,n){for(var i=0,r=t.length;i<r;i++)se(e,t[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),d=!f||!e&&p?c:De(c,s,f,n,i),h=m?v||(e?f:u||g)?[]:t:d;if(m&&m(d,h,n,i),g)for(r=De(h,l),g(r,[],n,i),a=r.length;a--;)(o=r[a])&&(h[l[a]]=!(d[l[a]]=o));if(e){if(v||f){if(v){for(r=[],a=h.length;a--;)(o=h[a])&&r.push(d[a]=o);v(null,h=[],r,i)}for(a=h.length;a--;)(o=h[a])&&-1<(r=v?H(e,o):s[a])&&(e[r]=!(t[r]=o))}}else h=De(h===t?h.splice(u,h.length):h),v?v(null,t,h,i):P.apply(t,h)})}function Ce(e){for(var r,t,n,i=e.length,a=_.relative[e[0].type],o=a||_.relative[" "],s=a?1:0,l=_e(function(e){return e===r},o,!0),u=_e(function(e){return-1<H(r,e)},o,!0),c=[function(e,t,n){var i=!a&&(n||t!==w)||((r=t).nodeType?l(e,t,n):u(e,t,n));return r=null,i}];s<i;s++)if(t=_.relative[e[s].type])c=[_e(we(c),t)];else{if((t=_.filter[e[s].type].apply(null,e[s].matches))[k]){for(n=++s;n<i&&!_.relative[e[n].type];n++);return xe(1<s&&we(c),1<s&&be(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(q,"$1"),t,s<n&&Ce(e.slice(s,n)),n<i&&Ce(e=e.slice(n)),n<i&&be(e))}c.push(t)}return we(c)}return ye.prototype=_.filters=_.pseudos,_.setFilters=new ye,p=se.tokenize=function(e,t){var n,i,r,a,o,s,l,u=E[e+" "];if(u)return t?0:u.slice(0);for(o=e,s=[],l=_.preFilter;o;){for(a in n&&!(i=B.exec(o))||(i&&(o=o.slice(i[0].length)||o),s.push(r=[])),n=!1,(i=$.exec(o))&&(n=i.shift(),r.push({value:n,type:i[0].replace(q," ")}),o=o.slice(n.length)),_.filter)!(i=Q[a].exec(o))||l[a]&&!(i=l[a](i))||(n=i.shift(),r.push({value:n,type:a,matches:i}),o=o.slice(n.length));if(!n)break}return t?o.length:o?se.error(e):E(e,s).slice(0)},h=se.compile=function(e,t){var n,i=[],r=[],a=M[e+" "];if(!a){for(n=(t=t||p(e)).length;n--;)(a=Ce(t[n]))[k]?i.push(a):r.push(a);(a=M(e,function(g,v){function e(e,t,n,i,r){var a,o,s,l=0,u="0",c=e&&[],d=[],h=w,f=e||b&&_.find.TAG("*",r),p=T+=null==h?1:Math.random()||.1,m=f.length;for(r&&(w=t===x||t||r);u!==m&&null!=(a=f[u]);u++){if(b&&a){for(o=0,t||a.ownerDocument===x||(D(a),n=!C);s=g[o++];)if(s(a,t||x,n)){i.push(a);break}r&&(T=p)}y&&((a=!s&&a)&&l--,e&&c.push(a))}if(l+=u,y&&u!==l){for(o=0;s=v[o++];)s(c,d,t,n);if(e){if(0<l)for(;u--;)c[u]||d[u]||(d[u]=I.call(i));d=De(d)}P.apply(i,d),r&&!e&&0<d.length&&1<l+v.length&&se.uniqueSort(i)}return r&&(T=p,w=h),c}var y=0<v.length,b=0<g.length;return y?ue(e):e}(r,i))).selector=e}return a},m=se.select=function(e,t,n,i){var r,a,o,s,l,u="function"==typeof e&&e,c=!i&&p(e=u.selector||e);if(n=n||[],1===c.length){if(2<(a=c[0]=c[0].slice(0)).length&&"ID"===(o=a[0]).type&&9===t.nodeType&&C&&_.relative[a[1].type]){if(!(t=(_.find.ID(o.matches[0].replace(ie,d),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(r=Q.needsContext.test(e)?0:a.length;r--&&(o=a[r],!_.relative[s=o.type]);)if((l=_.find[s])&&(i=l(o.matches[0].replace(ie,d),ne.test(a[0].type)&&ve(t.parentNode)||t))){if(a.splice(r,1),!(e=i.length&&be(a)))return P.apply(n,i),n;break}}return(u||h(e,c))(i,t,!C,n,!t||ne.test(e)&&ve(t.parentNode)||t),n},f.sortStable=k.split("").sort(O).join("")===k,f.detectDuplicates=!!u,D(),f.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(x.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||de(F,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(x);k.find=p,k.expr=p.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=p.uniqueSort,k.text=p.getText,k.isXMLDoc=p.isXML,k.contains=p.contains,k.escapeSelector=p.escape;function D(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&k(e).is(n))break;i.push(e)}return i}function T(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var S=k.expr.match.needsContext;function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(e,n,i){return b(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?k.grep(e,function(e){return e===n!==i}):"string"!=typeof n?k.grep(e,function(e){return-1<r.call(n,e)!==i}):k.filter(n,e,i)}k.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?k.find.matchesSelector(i,e)?[i]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<i;t++)if(k.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)k.find(e,r[t],n);return 1<i?k.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&&S.test(e)?k(e):e||[],!1).length}});var O,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||O,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:N.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),M.test(i[1])&&k.isPlainObject(t))for(i in t)b(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=C.getElementById(i[2]))&&(this[0]=r,this.length=1),this}).prototype=k.fn,O=k(C);var I=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,a=[],o="string"!=typeof e&&k(e);if(!S.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&k.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(1<a.length?k.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?r.call(k(e),this[0]):r.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return D(e,"parentNode")},parentsUntil:function(e,t,n){return D(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return D(e,"nextSibling")},prevAll:function(e){return D(e,"previousSibling")},nextUntil:function(e,t,n){return D(e,"nextSibling",n)},prevUntil:function(e,t,n){return D(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(E(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(i,r){k.fn[i]=function(e,t){var n=k.map(this,r,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=k.filter(t,n)),1<this.length&&(j[i]||k.uniqueSort(n),I.test(i)&&n.reverse()),this.pushStack(n)}});var L=/[^\x20\t\r\n\f]+/g;function H(e){return e}function F(e){throw e}function R(e,t,n,i){var r;try{e&&b(r=e.promise)?r.call(e).done(t).fail(n):e&&b(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(i){i="string"==typeof i?function(e){var n={};return k.each(e.match(L)||[],function(e,t){n[t]=!0}),n}(i):k.extend({},i);function n(){for(a=a||i.once,t=r=!0;s.length;l=-1)for(e=s.shift();++l<o.length;)!1===o[l].apply(e[0],e[1])&&i.stopOnFalse&&(l=o.length,e=!1);i.memory||(e=!1),r=!1,a&&(o=e?[]:"")}var r,e,t,a,o=[],s=[],l=-1,u={add:function(){return o&&(e&&!r&&(l=o.length-1,s.push(e)),function n(e){k.each(e,function(e,t){b(t)?i.unique&&u.has(t)||o.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),e&&!r&&n()),this},remove:function(){return k.each(arguments,function(e,t){for(var n;-1<(n=k.inArray(t,o,n));)o.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<k.inArray(e,o):0<o.length},empty:function(){return o=o&&[],this},disable:function(){return a=s=[],o=e="",this},disabled:function(){return!o},lock:function(){return a=s=[],e||r||(o=e=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],s.push(t),r||n()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!t}};return u},k.extend({Deferred:function(e){var a=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var r=arguments;return k.Deferred(function(i){k.each(a,function(e,t){var n=b(r[t[4]])&&r[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&b(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),r=null}).promise()},then:function(t,n,i){var l=0;function u(r,a,o,s){return function(){function e(){var e,t;if(!(r<l)){if((e=o.apply(n,i))===a.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,b(t)?s?t.call(e,u(l,a,H,s),u(l,a,F,s)):(l++,t.call(e,u(l,a,H,s),u(l,a,F,s),u(l,a,H,a.notifyWith))):(o!==H&&(n=void 0,i=[e]),(s||a.resolveWith)(n,i))}}var n=this,i=arguments,t=s?e:function(){try{e()}catch(e){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(e,t.stackTrace),l<=r+1&&(o!==F&&(n=void 0,i=[e]),a.rejectWith(n,i))}};r?t():(k.Deferred.getStackHook&&(t.stackTrace=k.Deferred.getStackHook()),x.setTimeout(t))}}return k.Deferred(function(e){a[0][3].add(u(0,e,b(i)?i:H,e.notifyWith)),a[1][3].add(u(0,e,b(t)?t:H)),a[2][3].add(u(0,e,b(n)?n:F))}).promise()},promise:function(e){return null!=e?k.extend(e,o):o}},s={};return k.each(a,function(e,t){var n=t[2],i=t[5];o[t[1]]=n.add,i&&n.add(function(){r=i},a[3-e][2].disable,a[3-e][3].disable,a[0][2].lock,a[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(e){function t(t){return function(e){r[t]=this,a[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,a)}}var n=arguments.length,i=n,r=Array(i),a=s.call(arguments),o=k.Deferred();if(n<=1&&(R(e,o.done(t(i)).resolve,o.reject,!n),"pending"===o.state()||b(a[i]&&a[i].then)))return o.then();for(;i--;)R(a[i],t(i),o.reject);return o.promise()}});var Y=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){x.console&&x.console.warn&&e&&Y.test(e.name)&&x.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){x.setTimeout(function(){throw e})};var V=k.Deferred();function U(){C.removeEventListener("DOMContentLoaded",U),x.removeEventListener("load",U),k.ready()}k.fn.ready=function(e){return V.then(e).catch(function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0)!==e&&0<--k.readyWait||V.resolveWith(C,[k])}}),k.ready.then=V.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?x.setTimeout(k.ready):(C.addEventListener("DOMContentLoaded",U),x.addEventListener("load",U));var W=function(e,t,n,i,r,a,o){var s=0,l=e.length,u=null==n;if("object"===w(n))for(s in r=!0,n)W(e,t,s,n[s],!0,a,o);else if(void 0!==i&&(r=!0,b(i)||(o=!0),u&&(t=o?(t.call(e,i),null):(u=t,function(e,t,n){return u.call(k(e),n)})),t))for(;s<l;s++)t(e[s],n,o?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):a},q=/^-ms-/,B=/-([a-z])/g;function $(e,t){return t.toUpperCase()}function z(e){return e.replace(q,"ms-").replace(B,$)}function G(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function K(){this.expando=k.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[z(t)]=n;else for(i in t)r[z(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][z(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(z):(t=z(t))in i?[t]:t.match(L)||[]).length;for(;n--;)delete i[t[n]]}void 0!==t&&!k.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var Q=new K,J=new K,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,X=/[A-Z]/g;function ee(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(X,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),k.fn.extend({data:function(n,e){var t,i,r,a=this[0],o=a&&a.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){J.set(this,n)}):W(this,function(e){var t;if(a&&void 0===e)return void 0!==(t=J.get(a,n))?t:void 0!==(t=ee(a,n))?t:void 0;this.each(function(){J.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=J.get(a),1===a.nodeType&&!Q.get(a,"hasDataAttrs"))){for(t=o.length;t--;)o[t]&&0===(i=o[t].name).indexOf("data-")&&(i=z(i.slice(5)),ee(a,i,r[i]));Q.set(a,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),k.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Q.get(e,t),n&&(!i||Array.isArray(n)?i=Q.access(e,t,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),i=n.length,r=n.shift(),a=k._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete a.stop,r.call(e,function(){k.dequeue(e,t)},a)),!i&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:k.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?k.queue(this[0],t):void 0===n?this:this.each(function(){var e=k.queue(this,t,n);k._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&k.dequeue(this,t)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--r||a.resolveWith(o,[o])}var i,r=1,a=k.Deferred(),o=this,s=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(i=Q.get(o[s],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),a.promise(t)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],re=C.documentElement,ae=function(e){return k.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ae=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});function se(e,t,n,i){var r,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in r=n.apply(e,i||[]),t)e.style[a]=o[a];return r}var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===k.css(e,"display")};function ue(e,t,n,i){var r,a,o=20,s=i?function(){return i.cur()}:function(){return k.css(e,t,"")},l=s(),u=n&&n[3]||(k.cssNumber[t]?"":"px"),c=e.nodeType&&(k.cssNumber[t]||"px"!==u&&+l)&&ne.exec(k.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;o--;)k.style(e,t,c+u),(1-a)*(1-(a=s()/l||.5))<=0&&(o=0),c/=a;c*=2,k.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}var ce={};function de(e,t){for(var n,i,r,a,o,s,l,u=[],c=0,d=e.length;c<d;c++)(i=e[c]).style&&(n=i.style.display,t?("none"===n&&(u[c]=Q.get(i,"display")||null,u[c]||(i.style.display="")),""===i.style.display&&le(i)&&(u[c]=(l=o=a=void 0,o=(r=i).ownerDocument,s=r.nodeName,(l=ce[s])||(a=o.body.appendChild(o.createElement(s)),l=k.css(a,"display"),a.parentNode.removeChild(a),"none"===l&&(l="block"),ce[s]=l)))):"none"!==n&&(u[c]="none",Q.set(i,"display",n)));for(c=0;c<d;c++)null!=u[c]&&(e[c].style.display=u[c]);return e}k.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){le(this)?k(this).show():k(this).hide()})}});var he=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,me={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 ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?k.merge([e],n):n}function ve(e,t){for(var n=0,i=e.length;n<i;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td;var ye,be,_e=/<|&#?\w+;/;function we(e,t,n,i,r){for(var a,o,s,l,u,c,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if((a=e[f])||0===a)if("object"===w(a))k.merge(h,a.nodeType?[a]:a);else if(_e.test(a)){for(o=o||d.appendChild(t.createElement("div")),s=(fe.exec(a)||["",""])[1].toLowerCase(),l=me[s]||me._default,o.innerHTML=l[1]+k.htmlPrefilter(a)+l[2],c=l[0];c--;)o=o.lastChild;k.merge(h,o.childNodes),(o=d.firstChild).textContent=""}else h.push(t.createTextNode(a));for(d.textContent="",f=0;a=h[f++];)if(i&&-1<k.inArray(a,i))r&&r.push(a);else if(u=ae(a),o=ge(d.appendChild(a),"script"),u&&ve(o),n)for(c=0;a=o[c++];)pe.test(a.type||"")&&n.push(a);return d}ye=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),ye.appendChild(be),y.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var De=/^key/,xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Te(){return!1}function Se(e,t){return e===function(){try{return C.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,i,r,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Ee(e,s,n,i,t[s],a);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Te;else if(!r)return e;return 1===a&&(o=r,(r=function(e){return k().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=k.guid++)),e.each(function(){k.event.add(this,t,r,i,n)})}function Me(e,r,a){a?(Q.set(e,r,!1),k.event.add(e,r,{namespace:!1,handler:function(e){var t,n,i=Q.get(this,r);if(1&e.isTrigger&&this[r]){if(i.length)(k.event.special[r]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,r,i),t=a(this,r),this[r](),i!==(n=Q.get(this,r))||t?Q.set(this,r,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else i.length&&(Q.set(this,r,{value:k.event.trigger(k.extend(i[0],k.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,r)&&k.event.add(e,r,ke)}k.event={global:{},add:function(t,e,n,i,r){var a,o,s,l,u,c,d,h,f,p,m,g=Q.get(t);if(g)for(n.handler&&(n=(a=n).handler,r=a.selector),r&&k.find.matchesSelector(re,r),n.guid||(n.guid=k.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(L)||[""]).length;u--;)f=m=(s=Ce.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),f&&(d=k.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=k.event.special[f]||{},c=k.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&k.expr.match.needsContext.test(r),namespace:p.join(".")},a),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,o)||t.addEventListener&&t.addEventListener(f,o)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),k.event.global[f]=!0)},remove:function(e,t,n,i,r){var a,o,s,l,u,c,d,h,f,p,m,g=Q.hasData(e)&&Q.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(L)||[""]).length;u--;)if(f=m=(s=Ce.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),f){for(d=k.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=h.length;a--;)c=h[a],!r&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(a,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||k.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)k.event.remove(e,f+t[u],n,i,!0);k.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,a,o,s=k.event.fix(e),l=new Array(arguments.length),u=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(o=k.event.handlers.call(this,s,u),t=0;(r=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,n=0;(a=r.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==a.namespace&&!s.rnamespace.test(a.namespace)||(s.handleObj=a,s.data=a.data,void 0!==(i=((k.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,i,r,a,o,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&1<=e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(a=[],o={},n=0;n<l;n++)void 0===o[r=(i=t[n]).selector+" "]&&(o[r]=i.needsContext?-1<k(r,this).index(u):k.find(r,this,null,[u]).length),o[r]&&a.push(i);a.length&&s.push({elem:u,handlers:a})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return he.test(t.type)&&t.click&&E(t,"input")&&Me(t,"click",ke),!1},trigger:function(e){var t=this||e;return he.test(t.type)&&t.click&&E(t,"input")&&Me(t,"click"),!0},_default:function(e){var t=e.target;return he.test(t.type)&&t.click&&E(t,"input")&&Q.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&De.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&xe.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(e,t){k.event.special[e]={setup:function(){return Me(this,e,Se),!1},trigger:function(){return Me(this,e),!0},delegateType:t}}),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){k.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||k.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=r),t}}}),k.fn.extend({on:function(e,t,n,i){return Ee(this,e,t,n,i)},one:function(e,t,n,i){return Ee(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,k(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){k.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this}});var Ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Oe=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function je(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,i,r,a,o,s,l,u;if(1===t.nodeType){if(Q.hasData(e)&&(a=Q.access(e),o=Q.set(t,a),u=a.events))for(r in delete o.handle,o.events={},u)for(n=0,i=u[r].length;n<i;n++)k.event.add(t,r,u[r][n]);J.hasData(e)&&(s=J.access(e),l=k.extend({},s),J.set(t,l))}}function Fe(n,i,r,a){i=g.apply([],i);var e,t,o,s,l,u,c=0,d=n.length,h=d-1,f=i[0],p=b(f);if(p||1<d&&"string"==typeof f&&!y.checkClone&&Ne.test(f))return n.each(function(e){var t=n.eq(e);p&&(i[0]=f.call(this,e,t.html())),Fe(t,i,r,a)});if(d&&(t=(e=we(i,n[0].ownerDocument,!1,n,a)).firstChild,1===e.childNodes.length&&(e=t),t||a)){for(s=(o=k.map(ge(e,"script"),Pe)).length;c<d;c++)l=e,c!==h&&(l=k.clone(l,!0,!0),s&&k.merge(o,ge(l,"script"))),r.call(n[c],l,c);if(s)for(u=o[o.length-1].ownerDocument,k.map(o,Le),c=0;c<s;c++)l=o[c],pe.test(l.type||"")&&!Q.access(l,"globalEval")&&k.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&!l.noModule&&k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):_(l.textContent.replace(Ie,""),l,u))}return n}function Re(e,t,n){for(var i,r=t?k.filter(t,e):e,a=0;null!=(i=r[a]);a++)n||1!==i.nodeType||k.cleanData(ge(i)),i.parentNode&&(n&&ae(i)&&ve(ge(i,"script")),i.parentNode.removeChild(i));return e}k.extend({htmlPrefilter:function(e){return e.replace(Ae,"<$1></$2>")},clone:function(e,t,n){var i,r,a,o,s,l,u,c=e.cloneNode(!0),d=ae(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(o=ge(c),i=0,r=(a=ge(e)).length;i<r;i++)s=a[i],l=o[i],void 0,"input"===(u=l.nodeName.toLowerCase())&&he.test(s.type)?l.checked=s.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=s.defaultValue);if(t)if(n)for(a=a||ge(e),o=o||ge(c),i=0,r=a.length;i<r;i++)He(a[i],o[i]);else He(e,c);return 0<(o=ge(c,"script")).length&&ve(o,!d&&ge(e,"script")),c},cleanData:function(e){for(var t,n,i,r=k.event.special,a=0;void 0!==(n=e[a]);a++)if(G(n)){if(t=n[Q.expando]){if(t.events)for(i in t.events)r[i]?k.event.remove(n,i):k.removeEvent(n,i,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),k.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return W(this,function(e){return void 0===e?k.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 Fe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return Fe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Fe(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&&(k.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!me[(fe.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Fe(this,arguments,function(e){var t=this.parentNode;k.inArray(this,n)<0&&(k.cleanData(ge(this)),t&&t.replaceChild(e,this))},n)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){k.fn[e]=function(e){for(var t,n=[],i=k(e),r=i.length-1,a=0;a<=r;a++)t=a===r?this:this.clone(!0),k(i[a])[o](t),l.apply(n,t.get());return this.pushStack(n)}});var Ye,Ve,Ue,We,qe,Be,$e,ze=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Ge=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=x),t.getComputedStyle(e)},Ke=new RegExp(ie.join("|"),"i");function Qe(){if($e){Be.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",$e.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(Be).appendChild($e);var e=x.getComputedStyle($e);Ye="1%"!==e.top,qe=12===Je(e.marginLeft),$e.style.right="60%",We=36===Je(e.right),Ve=36===Je(e.width),$e.style.position="absolute",Ue=12===Je($e.offsetWidth/3),re.removeChild(Be),$e=null}}function Je(e){return Math.round(parseFloat(e))}function Ze(e,t,n){var i,r,a,o,s=e.style;return(n=n||Ge(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||ae(e)||(o=k.style(e,t)),!y.pixelBoxStyles()&&ze.test(o)&&Ke.test(t)&&(i=s.width,r=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=i,s.minWidth=r,s.maxWidth=a)),void 0!==o?o+"":o}function Xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}Be=C.createElement("div"),($e=C.createElement("div")).style&&($e.style.backgroundClip="content-box",$e.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===$e.style.backgroundClip,k.extend(y,{boxSizingReliable:function(){return Qe(),Ve},pixelBoxStyles:function(){return Qe(),We},pixelPosition:function(){return Qe(),Ye},reliableMarginLeft:function(){return Qe(),qe},scrollboxSize:function(){return Qe(),Ue}}));var et=["Webkit","Moz","ms"],tt=C.createElement("div").style,nt={};function it(e){var t=k.cssProps[e]||nt[e];return t||(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 rt=/^(none|table(?!-c[ea]).+)/,at=/^--/,ot={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var i=ne.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ut(e,t,n,i,r,a){var o="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=k.css(e,n+ie[o],!0,r)),i?("content"===n&&(l-=k.css(e,"padding"+ie[o],!0,r)),"margin"!==n&&(l-=k.css(e,"border"+ie[o]+"Width",!0,r))):(l+=k.css(e,"padding"+ie[o],!0,r),"padding"!==n?l+=k.css(e,"border"+ie[o]+"Width",!0,r):s+=k.css(e,"border"+ie[o]+"Width",!0,r));return!i&&0<=a&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l}function ct(e,t,n){var i=Ge(e),r=(!y.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,i),a=r,o=Ze(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(o)){if(!n)return o;o="auto"}return(!y.boxSizingReliable()&&r||"auto"===o||!parseFloat(o)&&"inline"===k.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===k.css(e,"boxSizing",!1,i),(a=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+ut(e,t,n||(r?"border":"content"),a,i,o)+"px"}function dt(e,t,n,i,r){return new dt.prototype.init(e,t,n,i,r)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,o,s=z(t),l=at.test(t),u=e.style;if(l||(t=it(s)),o=k.cssHooks[t]||k.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:u[t];"string"===(a=typeof n)&&(r=ne.exec(n))&&r[1]&&(n=ue(e,t,r),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=r&&r[3]||(k.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,a,o,s=z(t);return at.test(t)||(t=it(s)),(o=k.cssHooks[t]||k.cssHooks[s])&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=Ze(e,t,i)),"normal"===r&&t in st&&(r=st[t]),""===n||n?(a=parseFloat(r),!0===n||isFinite(a)?a||0:r):r}}),k.each(["height","width"],function(e,l){k.cssHooks[l]={get:function(e,t,n){if(t)return!rt.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,l,n):se(e,ot,function(){return ct(e,l,n)})},set:function(e,t,n){var i,r=Ge(e),a=!y.scrollboxSize()&&"absolute"===r.position,o=(a||n)&&"border-box"===k.css(e,"boxSizing",!1,r),s=n?ut(e,l,n,o,r):0;return o&&a&&(s-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(r[l])-ut(e,l,"border",!1,r)-.5)),s&&(i=ne.exec(t))&&"px"!==(i[3]||"px")&&(e.style[l]=t,t=k.css(e,l)),lt(0,t,s)}}}),k.cssHooks.marginLeft=Xe(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ze(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(r,a){k.cssHooks[r+a]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+ie[t]+a]=i[t]||i[t-2]||i[0];return n}},"margin"!==r&&(k.cssHooks[r+a].set=lt)}),k.fn.extend({css:function(e,t){return W(this,function(e,t,n){var i,r,a={},o=0;if(Array.isArray(t)){for(i=Ge(e),r=t.length;o<r;o++)a[t[o]]=k.css(e,t[o],!1,i);return a}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,1<arguments.length)}}),((k.Tween=dt).prototype={constructor:dt,init:function(e,t,n,i,r,a){this.elem=e,this.prop=n,this.easing=r||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(k.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=k.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):dt.propHooks._default.set(this),this}}).init.prototype=dt.prototype,(dt.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=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=dt.prototype.init,k.fx.step={};var ht,ft,pt,mt,gt=/^(?:toggle|show|hide)$/,vt=/queueHooks$/;function yt(){ft&&(!1===C.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(yt):x.setTimeout(yt,k.fx.interval),k.fx.tick())}function bt(){return x.setTimeout(function(){ht=void 0}),ht=Date.now()}function _t(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=ie[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function wt(e,t,n){for(var i,r=(Dt.tweeners[t]||[]).concat(Dt.tweeners["*"]),a=0,o=r.length;a<o;a++)if(i=r[a].call(n,t,e))return i}function Dt(a,e,t){var n,o,i=0,r=Dt.prefilters.length,s=k.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=ht||bt(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),i=0,r=u.tweens.length;i<r;i++)u.tweens[i].run(n);return s.notifyWith(a,[u,n,t]),n<1&&r?t:(r||s.notifyWith(a,[u,1,0]),s.resolveWith(a,[u]),!1)},u=s.promise({elem:a,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},t),originalProperties:e,originalOptions:t,startTime:ht||bt(),duration:t.duration,tweens:[],createTween:function(e,t){var n=k.Tween(a,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)u.tweens[t].run(1);return e?(s.notifyWith(a,[u,1,0]),s.resolveWith(a,[u,e])):s.rejectWith(a,[u,e]),this}}),c=u.props;for(!function(e,t){var n,i,r,a,o;for(n in e)if(r=t[i=z(n)],a=e[n],Array.isArray(a)&&(r=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),(o=k.cssHooks[i])&&"expand"in o)for(n in a=o.expand(a),delete e[i],a)n in e||(e[n]=a[n],t[n]=r);else t[i]=r}(c,u.opts.specialEasing);i<r;i++)if(n=Dt.prefilters[i].call(u,a,c,u.opts))return b(n.stop)&&(k._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return k.map(c,wt,u),b(u.opts.start)&&u.opts.start.call(a,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),k.fx.timer(k.extend(l,{elem:a,anim:u,queue:u.opts.queue})),u}k.Animation=k.extend(Dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ne.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,r=(e=b(e)?(t=e,["*"]):e.match(L)).length;i<r;i++)n=e[i],Dt.tweeners[n]=Dt.tweeners[n]||[],Dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,a,o,s,l,u,c,d="width"in t||"height"in t,h=this,f={},p=e.style,m=e.nodeType&&le(e),g=Q.get(e,"fxshow");for(i in n.queue||(null==(o=k._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,h.always(function(){h.always(function(){o.unqueued--,k.queue(e,"fx").length||o.empty.fire()})})),t)if(r=t[i],gt.test(r)){if(delete t[i],a=a||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||k.style(e,i)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=g&&g.display)&&(u=Q.get(e,"display")),"none"===(c=k.css(e,"display"))&&(u?c=u:(de([e],!0),u=e.style.display||u,c=k.css(e,"display"),de([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===k.css(e,"float")&&(l||(h.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=Q.access(e,"fxshow",{display:u}),a&&(g.hidden=!m),m&&de([e],!0),h.done(function(){for(i in m||de([e]),Q.remove(e,"fxshow"),f)k.style(e,i,f[i])})),l=wt(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?Dt.prefilters.unshift(e):Dt.prefilters.push(e)}}),k.speed=function(e,t,n){var i=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||b(e)&&e,duration:e,easing:n&&t||t&&!b(t)&&t};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){b(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(e,t,n,i){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function r(){var e=Dt(this,k.extend({},t),o);(a||Q.get(this,"finish"))&&e.stop(!0)}var a=k.isEmptyObject(t),o=k.speed(e,n,i);return r.finish=r,a||!1===o.queue?this.each(r):this.queue(o.queue,r)},stop:function(r,e,a){function o(e){var t=e.stop;delete e.stop,t(a)}return"string"!=typeof r&&(a=e,e=r,r=void 0),e&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=k.timers,i=Q.get(this);if(t)i[t]&&i[t].stop&&o(i[t]);else for(t in i)i[t]&&i[t].stop&&vt.test(t)&&o(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(a),e=!1,n.splice(t,1));!e&&a||k.dequeue(this,r)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=Q.get(this),n=t[o+"queue"],i=t[o+"queueHooks"],r=k.timers,a=n?n.length:0;for(t.finish=!0,k.queue(this,o,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===o&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<a;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),k.each(["toggle","show","hide"],function(e,i){var r=k.fn[i];k.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(_t(i,!0),e,t,n)}}),k.each({slideDown:_t("show"),slideUp:_t("hide"),slideToggle:_t("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){k.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(ht=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),ht=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ft||(ft=!0,yt())},k.fx.stop=function(){ft=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(i,e){return i=k.fx&&k.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=x.setTimeout(e,i);t.stop=function(){x.clearTimeout(n)}})},pt=C.createElement("input"),mt=C.createElement("select").appendChild(C.createElement("option")),pt.type="checkbox",y.checkOn=""!==pt.value,y.optSelected=mt.selected,(pt=C.createElement("input")).value="t",pt.type="radio",y.radioValue="t"===pt.value;var xt,Ct=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return W(this,k.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?k.prop(e,t,n):(1===a&&k.isXMLDoc(e)||(r=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=k.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(L);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var o=Ct[t]||k.find.attr;Ct[t]=function(e,t,n){var i,r,a=t.toLowerCase();return n||(r=Ct[a],Ct[a]=i,i=null!=o(e,t,n)?a:null,Ct[a]=r),i}});var kt=/^(?:input|select|textarea|button)$/i,Tt=/^(?:a|area)$/i;function St(e){return(e.match(L)||[]).join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function Mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}k.fn.extend({prop:function(e,t){return W(this,k.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&k.isXMLDoc(e)||(t=k.propFix[t]||t,r=k.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(k.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)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(t){var e,n,i,r,a,o,s,l=0;if(b(t))return this.each(function(e){k(this).addClass(t.call(this,e,Et(this)))});if((e=Mt(t)).length)for(;n=this[l++];)if(r=Et(n),i=1===n.nodeType&&" "+St(r)+" "){for(o=0;a=e[o++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");r!==(s=St(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,a,o,s,l=0;if(b(t))return this.each(function(e){k(this).removeClass(t.call(this,e,Et(this)))});if(!arguments.length)return this.attr("class","");if((e=Mt(t)).length)for(;n=this[l++];)if(r=Et(n),i=1===n.nodeType&&" "+St(r)+" "){for(o=0;a=e[o++];)for(;-1<i.indexOf(" "+a+" ");)i=i.replace(" "+a+" "," ");r!==(s=St(i))&&n.setAttribute("class",s)}return this},toggleClass:function(r,t){var a=typeof r,o="string"==a||Array.isArray(r);return"boolean"==typeof t&&o?t?this.addClass(r):this.removeClass(r):b(r)?this.each(function(e){k(this).toggleClass(r.call(this,e,Et(this),t),t)}):this.each(function(){var e,t,n,i;if(o)for(t=0,n=k(this),i=Mt(r);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==r&&"boolean"!=a||((e=Et(this))&&Q.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===r?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+St(Et(n))+" ").indexOf(t))return!0;return!1}});var At=/\r/g;k.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=b(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,k(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=k.map(t,function(e){return null==e?"":e+""})),(i=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):t?(i=k.valHooks[t.type]||k.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(At,""):null==e?"":e:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:St(k.text(e))}},select:{get:function(e){var t,n,i,r=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?a+1:r.length;for(i=a<0?l:o?a:0;i<l;i++)if(((n=r[i]).selected||i===a)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(t=k(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,i,r=e.options,a=k.makeArray(t),o=r.length;o--;)((i=r[o]).selected=-1<k.inArray(k.valHooks.option.get(i),a))&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<k.inArray(k(e).val(),t)}},y.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in x;function Ot(e){e.stopPropagation()}var Nt=/^(?:focusinfocus|focusoutblur)$/;k.extend(k.event,{trigger:function(e,t,n,i){var r,a,o,s,l,u,c,d,h=[n||C],f=v.call(e,"type")?e.type:e,p=v.call(e,"namespace")?e.namespace.split("."):[];if(a=d=o=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Nt.test(f+k.event.triggered)&&(-1<f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),l=f.indexOf(":")<0&&"on"+f,(e=e[k.expando]?e:new k.Event(f,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),c=k.event.special[f]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!m(n)){for(s=c.delegateType||f,Nt.test(s+f)||(a=a.parentNode);a;a=a.parentNode)h.push(a),o=a;o===(n.ownerDocument||C)&&h.push(o.defaultView||o.parentWindow||x)}for(r=0;(a=h[r++])&&!e.isPropagationStopped();)d=a,e.type=1<r?s:c.bindType||f,(u=(Q.get(a,"events")||{})[e.type]&&Q.get(a,"handle"))&&u.apply(a,t),(u=l&&a[l])&&u.apply&&G(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=f,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(h.pop(),t)||!G(n)||l&&b(n[f])&&!m(n)&&((o=n[l])&&(n[l]=null),k.event.triggered=f,e.isPropagationStopped()&&d.addEventListener(f,Ot),n[f](),e.isPropagationStopped()&&d.removeEventListener(f,Ot),k.event.triggered=void 0,o&&(n[l]=o)),e.result}},simulate:function(e,t,n){var i=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(i,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),y.focusin||k.each({focus:"focusin",blur:"focusout"},function(n,i){function r(e){k.event.simulate(i,e.target,k.event.fix(e))}k.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=Q.access(e,i);t||e.addEventListener(n,r,!0),Q.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=Q.access(e,i)-1;t?Q.access(e,i,t):(e.removeEventListener(n,r,!0),Q.remove(e,i))}}});var It=x.location,jt=Date.now(),Pt=/\?/;k.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new x.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+e),t};var Lt=/\[\]$/,Ht=/\r?\n/g,Ft=/^(?:submit|button|image|reset|file)$/i,Rt=/^(?:input|select|textarea|keygen)/i;function Yt(n,e,i,r){var t;if(Array.isArray(e))k.each(e,function(e,t){i||Lt.test(n)?r(n,t):Yt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,r)});else if(i||"object"!==w(e))r(n,e);else for(t in e)Yt(n+"["+t+"]",e[t],i,r)}k.param=function(e,t){function n(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)}var i,r=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){n(this.name,this.value)});else for(i in e)Yt(i,e[i],t,n);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Rt.test(this.nodeName)&&!Ft.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(Ht,"\r\n")}}):{name:t.name,value:n.replace(Ht,"\r\n")}}).get()}});var Vt=/%20/g,Ut=/#.*$/,Wt=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,$t=/^\/\//,zt={},Gt={},Kt="*/".concat("*"),Qt=C.createElement("a");function Jt(a){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(L)||[];if(b(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(a[n]=a[n]||[]).unshift(t)):(a[n]=a[n]||[]).push(t)}}function Zt(t,r,a,o){var s={},l=t===Gt;function u(e){var i;return s[e]=!0,k.each(t[e]||[],function(e,t){var n=t(r,a,o);return"string"!=typeof n||l||s[n]?l?!(i=n):void 0:(r.dataTypes.unshift(n),u(n),!1)}),i}return u(r.dataTypes[0])||!s["*"]&&u("*")}function Xt(e,t){var n,i,r=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i=i||{})[n]=t[n]);return i&&k.extend(!0,e,i),e}Qt.href=It.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:It.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(It.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,k.ajaxSettings),t):Xt(k.ajaxSettings,e)},ajaxPrefilter:Jt(zt),ajaxTransport:Jt(Gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,d,h,n,f,i,p,m,r,a,g=k.ajaxSetup({},t),v=g.context||g,y=g.context&&(v.nodeType||v.jquery)?k(v):k.event,b=k.Deferred(),_=k.Callbacks("once memory"),w=g.statusCode||{},o={},s={},l="canceled",D={readyState:0,getResponseHeader:function(e){var t;if(p){if(!n)for(n={};t=qt.exec(h);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?h:null},setRequestHeader:function(e,t){return null==p&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,o[e]=t),this},overrideMimeType:function(e){return null==p&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)D.always(e[D.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||l;return c&&c.abort(t),u(0,t),this}};if(b.promise(D),g.url=((e||g.url||It.href)+"").replace($t,It.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(L)||[""],null==g.crossDomain){i=C.createElement("a");try{i.href=g.url,i.href=i.href,g.crossDomain=Qt.protocol+"//"+Qt.host!=i.protocol+"//"+i.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=k.param(g.data,g.traditional)),Zt(zt,g,t,D),p)return D;for(r in(m=k.event&&g.global)&&0==k.active++&&k.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Bt.test(g.type),d=g.url.replace(Ut,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Vt,"+")):(a=g.url.slice(d.length),g.data&&(g.processData||"string"==typeof g.data)&&(d+=(Pt.test(d)?"&":"?")+g.data,delete g.data),!1===g.cache&&(d=d.replace(Wt,"$1"),a=(Pt.test(d)?"&":"?")+"_="+jt+++a),g.url=d+a),g.ifModified&&(k.lastModified[d]&&D.setRequestHeader("If-Modified-Since",k.lastModified[d]),k.etag[d]&&D.setRequestHeader("If-None-Match",k.etag[d])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&D.setRequestHeader("Content-Type",g.contentType),D.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Kt+"; q=0.01":""):g.accepts["*"]),g.headers)D.setRequestHeader(r,g.headers[r]);if(g.beforeSend&&(!1===g.beforeSend.call(v,D,g)||p))return D.abort();if(l="abort",_.add(g.complete),D.done(g.success),D.fail(g.error),c=Zt(Gt,g,t,D)){if(D.readyState=1,m&&y.trigger("ajaxSend",[D,g]),p)return D;g.async&&0<g.timeout&&(f=x.setTimeout(function(){D.abort("timeout")},g.timeout));try{p=!1,c.send(o,u)}catch(e){if(p)throw e;u(-1,e)}}else u(-1,"No Transport");function u(e,t,n,i){var r,a,o,s,l,u=t;p||(p=!0,f&&x.clearTimeout(f),c=void 0,h=i||"",D.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var i,r,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)a=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){a=r;break}o=o||r}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}(g,D,n)),s=function(e,t,n,i){var r,a,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=u[l+" "+a]||u["* "+a]))for(r in u)if((s=r.split(" "))[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[r]:!0!==u[r]&&(a=s[0],c.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(g,s,D,r),r?(g.ifModified&&((l=D.getResponseHeader("Last-Modified"))&&(k.lastModified[d]=l),(l=D.getResponseHeader("etag"))&&(k.etag[d]=l)),204===e||"HEAD"===g.type?u="nocontent":304===e?u="notmodified":(u=s.state,a=s.data,r=!(o=s.error))):(o=u,!e&&u||(u="error",e<0&&(e=0))),D.status=e,D.statusText=(t||u)+"",r?b.resolveWith(v,[a,u,D]):b.rejectWith(v,[D,u,o]),D.statusCode(w),w=void 0,m&&y.trigger(r?"ajaxSuccess":"ajaxError",[D,g,r?a:o]),_.fireWith(v,[D,u]),m&&(y.trigger("ajaxComplete",[D,g]),--k.active||k.event.trigger("ajaxStop")))}return D},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,r){k[r]=function(e,t,n,i){return b(t)&&(i=i||n,n=t,t=void 0),k.ajax(k.extend({url:e,type:r,dataType:i,data:t,success:n},k.isPlainObject(e)&&e))}}),k._evalUrl=function(e,t){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return b(n)?this.each(function(e){k(this).wrapInner(n.call(this,e))}):this.each(function(){var e=k(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=b(t);return this.each(function(e){k(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(e){}};var en={0:200,1223:204},tn=k.ajaxSettings.xhr();y.cors=!!tn&&"withCredentials"in tn,y.ajax=tn=!!tn,k.ajaxTransport(function(r){var a,o;if(y.cors||tn&&!r.crossDomain)return{send:function(e,t){var n,i=r.xhr();if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&&i.overrideMimeType&&i.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=o=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(en[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=a(),o=i.onerror=i.ontimeout=a("error"),void 0!==i.onabort?i.onabort=o:i.onreadystatechange=function(){4===i.readyState&&x.setTimeout(function(){a&&o()})},a=a("abort");try{i.send(r.hasContent&&r.data||null)}catch(e){if(a)throw e}},abort:function(){a&&a()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=k("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(i[0])},abort:function(){r&&r()}}});var nn,rn=[],an=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=rn.pop()||k.expando+"_"+jt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,a,o=!1!==e.jsonp&&(an.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&an.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(an,"$1"+i):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||k.error(i+" was not called"),a[0]},e.dataTypes[0]="json",r=x[i],x[i]=function(){a=arguments},n.always(function(){void 0===r?k(x).removeProp(i):x[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,rn.push(i)),a&&b(r)&&r(a[0]),a=r=void 0}),"script"}),y.createHTMLDocument=((nn=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===nn.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((i=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(i)):t=C),a=!n&&[],(r=M.exec(e))?[t.createElement(r[1])]:(r=we([e],t,a),a&&a.length&&k(a).remove(),k.merge([],r.childNodes)));var i,r,a},k.fn.load=function(e,t,n){var i,r,a,o=this,s=e.indexOf(" ");return-1<s&&(i=St(e.slice(s)),e=e.slice(0,s)),b(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),0<o.length&&k.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(i?k("<div>").append(k.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var i,r,a,o,s,l,u=k.css(e,"position"),c=k(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),a=k.css(e,"top"),l=k.css(e,"left"),r=("absolute"===u||"fixed"===u)&&-1<(a+l).indexOf("auto")?(o=(i=c.position()).top,i.left):(o=parseFloat(a)||0,parseFloat(l)||0),b(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(d.top=t.top-s.top+o),null!=t.left&&(d.left=t.left-s.left+r),"using"in t?t.using.call(e,d):c.css(d)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===k.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),r.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-k.css(i,"marginTop",!0),left:t.left-r.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||re})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var a="pageYOffset"===r;k.fn[t]=function(e){return W(this,function(e,t,n){var i;if(m(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n)return i?i[r]:e[t];i?i.scrollTo(a?i.pageXOffset:n,a?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=Xe(y.pixelPosition,function(e,t){if(t)return t=Ze(e,n),ze.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(o,s){k.each({padding:"inner"+o,content:s,"":"outer"+o},function(i,a){k.fn[a]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return W(this,function(e,t,n){var i;return m(e)?0===a.indexOf("outer")?e["inner"+o]:e.document.documentElement["client"+o]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+o],i["scroll"+o],e.body["offset"+o],i["offset"+o],i["client"+o])):void 0===n?k.css(e,t,r):k.style(e,t,n,r)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),k.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),k.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return i=s.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(s.call(arguments)))}).guid=e.guid=e.guid||k.guid++,r},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=E,k.isFunction=b,k.isWindow=m,k.camelCase=z,k.type=w,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var on=x.jQuery,sn=x.$;return k.noConflict=function(e){return x.$===k&&(x.$=sn),e&&x.jQuery===k&&(x.jQuery=on),k},e||(x.jQuery=x.$=k),k}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(c){var n;c.extend(c.fn,{validate:function(e){if(this.length){var i=c.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new c.validator(e,this[0]),c.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(e){i.submitButton=e.currentTarget,c(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==c(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(n){function e(){var e,t;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(e=c("<input type='hidden'/>").attr("name",i.submitButton.name).val(c(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(t=i.settings.submitHandler.call(i,i.currentForm,n),e&&e.remove(),void 0!==t&&t)}return i.settings.debug&&n.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,e()):i.form()?i.pendingRequest?!(i.formSubmitted=!0):e():(i.focusInvalid(),!1)})),i)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,t,n;return c(this[0]).is("form")?e=this.validate().form():(n=[],e=!0,t=c(this[0].form).validate(),this.each(function(){(e=t.element(this)&&e)||(n=n.concat(t.errorList))}),t.errorList=n),e},rules:function(e,t){var n,i,r,a,o,s,l=this[0],u=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=l&&(!l.form&&u&&(l.form=this.closest("form")[0],l.name=this.attr("name")),null!=l.form)){if(e)switch(i=(n=c.data(l.form,"validator").settings).rules,r=c.validator.staticRules(l),e){case"add":c.extend(r,c.validator.normalizeRule(t)),delete r.messages,i[l.name]=r,t.messages&&(n.messages[l.name]=c.extend(n.messages[l.name],t.messages));break;case"remove":return t?(s={},c.each(t.split(/\s/),function(e,t){s[t]=r[t],delete r[t]}),s):(delete i[l.name],r)}return(a=c.validator.normalizeRules(c.extend({},c.validator.classRules(l),c.validator.attributeRules(l),c.validator.dataRules(l),c.validator.staticRules(l)),l)).required&&(o=a.required,delete a.required,a=c.extend({required:o},a)),a.remote&&(o=a.remote,delete a.remote,a=c.extend(a,{remote:o})),a}}}),c.extend(c.expr.pseudos||c.expr[":"],{blank:function(e){return!c.trim(""+c(e).val())},filled:function(e){var t=c(e).val();return null!==t&&!!c.trim(""+t)},unchecked:function(e){return!c(e).prop("checked")}}),c.validator=function(e,t){this.settings=c.extend(!0,{},c.validator.defaults,e),this.currentForm=t,this.init()},c.validator.format=function(n,e){return 1===arguments.length?function(){var e=c.makeArray(arguments);return e.unshift(n),c.validator.format.apply(this,e)}:(void 0===e||(2<arguments.length&&e.constructor!==Array&&(e=c.makeArray(arguments).slice(1)),e.constructor!==Array&&(e=[e]),c.each(e,function(e,t){n=n.replace(new RegExp("\\{"+e+"\\}","g"),function(){return t})})),n)},c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:c([]),errorLabelContainer:c([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(e,t){9===t.which&&""===this.elementValue(e)||-1!==c.inArray(t.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(e,t,n){"radio"===e.type?this.findByName(e.name).addClass(t).removeClass(n):c(e).addClass(t).removeClass(n)},unhighlight:function(e,t,n){"radio"===e.type?this.findByName(e.name).removeClass(t).addClass(n):c(e).removeClass(t).addClass(n)}},setDefaults:function(e){c.extend(c.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:c.validator.format("Please enter no more than {0} characters."),minlength:c.validator.format("Please enter at least {0} characters."),rangelength:c.validator.format("Please enter a value between {0} and {1} characters long."),range:c.validator.format("Please enter a value between {0} and {1}."),max:c.validator.format("Please enter a value less than or equal to {0}."),min:c.validator.format("Please enter a value greater than or equal to {0}."),step:c.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=c(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||c(this.currentForm),this.containers=c(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var n,a=this.currentForm,i=this.groups={};function e(e){var t=void 0!==c(this).attr("contenteditable")&&"false"!==c(this).attr("contenteditable");if(!this.form&&t&&(this.form=c(this).closest("form")[0],this.name=c(this).attr("name")),a===this.form){var n=c.data(this.form,"validator"),i="on"+e.type.replace(/^validate/,""),r=n.settings;r[i]&&!c(this).is(r.ignore)&&r[i].call(n,this,e)}}c.each(this.settings.groups,function(n,e){"string"==typeof e&&(e=e.split(/\s/)),c.each(e,function(e,t){i[t]=n})}),n=this.settings.rules,c.each(n,function(e,t){n[e]=c.validator.normalizeRule(t)}),c(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",e).on("click.validate","select, option, [type='radio'], [type='checkbox']",e),this.settings.invalidHandler&&c(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),c.extend(this.submitted,this.errorMap),this.invalid=c.extend({},this.errorMap),this.valid()||c(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(e){var t,n,i=this.clean(e),r=this.validationTargetFor(i),a=this,o=!0;return void 0===r?delete this.invalid[i.name]:(this.prepareElement(r),this.currentElements=c(r),(n=this.groups[r.name])&&c.each(this.groups,function(e,t){t===n&&e!==r.name&&(i=a.validationTargetFor(a.clean(a.findByName(e))))&&i.name in a.invalid&&(a.currentElements.push(i),o=a.check(i)&&o)}),t=!1!==this.check(r),o=o&&t,this.invalid[r.name]=!t,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),c(e).attr("aria-invalid",!t)),o},showErrors:function(t){if(t){var n=this;c.extend(this.errorMap,t),this.errorList=c.map(this.errorMap,function(e,t){return{message:e,element:n.findByName(t)[0]}}),this.successList=c.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){c.fn.resetForm&&c(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.validClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,n=0;for(t in e)void 0!==e[t]&&null!==e[t]&&!1!==e[t]&&n++;return n},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{c(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===c.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var n=this,i={};return c(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var e=this.name||c(this).attr("name"),t=void 0!==c(this).attr("contenteditable")&&"false"!==c(this).attr("contenteditable");return!e&&n.settings.debug&&window.console&&console.error("%o has no name assigned",this),t&&(this.form=c(this).closest("form")[0],this.name=e),this.form===n.currentForm&&(!(e in i||!n.objectLength(c(this).rules()))&&(i[e]=!0))})},clean:function(e){return c(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return c(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=c([]),this.toHide=c([])},reset:function(){this.resetInternals(),this.currentElements=c([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(e){var t,n,i=c(e),r=e.type,a=void 0!==i.attr("contenteditable")&&"false"!==i.attr("contenteditable");return"radio"===r||"checkbox"===r?this.findByName(e.name).filter(":checked").val():"number"===r&&void 0!==e.validity?e.validity.badInput?"NaN":i.val():(t=a?i.text():i.val(),"file"===r?"C:\\fakepath\\"===t.substr(0,12)?t.substr(12):0<=(n=t.lastIndexOf("/"))?t.substr(n+1):0<=(n=t.lastIndexOf("\\"))?t.substr(n+1):t:"string"==typeof t?t.replace(/\r/g,""):t)},check:function(t){t=this.validationTargetFor(this.clean(t));var e,n,i,r,a=c(t).rules(),o=c.map(a,function(e,t){return t}).length,s=!1,l=this.elementValue(t);for(n in"function"==typeof a.normalizer?r=a.normalizer:"function"==typeof this.settings.normalizer&&(r=this.settings.normalizer),r&&(l=r.call(t,l),delete a.normalizer),a){i={method:n,parameters:a[n]};try{if("dependency-mismatch"===(e=c.validator.methods[n].call(this,l,t,i.parameters))&&1===o){s=!0;continue}if(s=!1,"pending"===e)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!e)return this.formatAndAdd(t,i),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+i.method+"' method.",e),e instanceof TypeError&&(e.message+=".  Exception occurred when checking element "+t.id+", check the '"+i.method+"' method."),e}}if(!s)return this.objectLength(a)&&this.successList.push(t),!0},customDataMessage:function(e,t){return c(e).data("msg"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase())||c(e).data("msg")},customMessage:function(e,t){var n=this.settings.messages[e];return n&&(n.constructor===String?n:n[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]},defaultMessage:function(e,t){"string"==typeof t&&(t={method:t});var n=this.findDefined(this.customMessage(e.name,t.method),this.customDataMessage(e,t.method),!this.settings.ignoreTitle&&e.title||void 0,c.validator.messages[t.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),i=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,t.parameters,e):i.test(n)&&(n=c.validator.format(n.replace(i,"{$1}"),t.parameters)),n},formatAndAdd:function(e,t){var n=this.defaultMessage(e,t);this.errorList.push({message:n,element:e,method:t.method}),this.errorMap[e.name]=n,this.submitted[e.name]=n},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,n;for(e=0;this.errorList[e];e++)n=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return c(this.errorList).map(function(){return this.element})},showLabel:function(e,t){var n,i,r,a,o=this.errorsFor(e),s=this.idOrName(e),l=c(e).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(t)):(n=o=c("<"+this.settings.errorElement+">").attr("id",s+"-error").addClass(this.settings.errorClass).html(t||""),this.settings.wrapper&&(n=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,c(e)):n.insertAfter(e),o.is("label")?o.attr("for",s):0===o.parents("label[for='"+this.escapeCssMeta(s)+"']").length&&(r=o.attr("id"),l?l.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(l+=" "+r):l=r,c(e).attr("aria-describedby",l),(i=this.groups[e.name])&&(a=this,c.each(a.groups,function(e,t){t===i&&c("[name='"+a.escapeCssMeta(e)+"']",a.currentForm).attr("aria-describedby",o.attr("id"))})))),!t&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,e)),this.toShow=this.toShow.add(o)},errorsFor:function(e){var t=this.escapeCssMeta(this.idOrName(e)),n=c(e).attr("aria-describedby"),i="label[for='"+t+"'], label[for='"+t+"'] *";return n&&(i=i+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(i)},escapeCssMeta:function(e){return e.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),c(e).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(e){return c(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,t){switch(t.nodeName.toLowerCase()){case"select":return c("option:selected",t).length;case"input":if(this.checkable(t))return this.findByName(t.name).filter(":checked").length}return e.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(e,t){return!!c(e,t.form).length},function:function(e,t){return e(t)}},optional:function(e){var t=this.elementValue(e);return!c.validator.methods.required.call(this,t,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,c(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,t){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],c(e).removeClass(this.settings.pendingClass),t&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(c(this.currentForm).submit(),this.submitButton&&c("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!t&&0===this.pendingRequest&&this.formSubmitted&&(c(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,t){return t="string"==typeof t&&t||"remote",c.data(e,"previousValue")||c.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:t})})},destroy:function(){this.resetForm(),c(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,t){e.constructor===String?this.classRuleSettings[e]=t:c.extend(this.classRuleSettings,e)},classRules:function(e){var t={},n=c(e).attr("class");return n&&c.each(n.split(" "),function(){this in c.validator.classRuleSettings&&c.extend(t,c.validator.classRuleSettings[this])}),t},normalizeAttributeRule:function(e,t,n,i){/min|max|step/.test(n)&&(null===t||/number|range|text/.test(t))&&(i=Number(i),isNaN(i)&&(i=void 0)),i||0===i?e[n]=i:t===n&&"range"!==t&&(e[n]=!0)},attributeRules:function(e){var t,n,i={},r=c(e),a=e.getAttribute("type");for(t in c.validator.methods)n="required"===t?(""===(n=e.getAttribute(t))&&(n=!0),!!n):r.attr(t),this.normalizeAttributeRule(i,a,t,n);return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(e){var t,n,i={},r=c(e),a=e.getAttribute("type");for(t in c.validator.methods)""===(n=r.data("rule"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase()))&&(n=!0),this.normalizeAttributeRule(i,a,t,n);return i},staticRules:function(e){var t={},n=c.data(e.form,"validator");return n.settings.rules&&(t=c.validator.normalizeRule(n.settings.rules[e.name])||{}),t},normalizeRules:function(i,r){return c.each(i,function(e,t){if(!1!==t){if(t.param||t.depends){var n=!0;switch(typeof t.depends){case"string":n=!!c(t.depends,r.form).length;break;case"function":n=t.depends.call(r,r)}n?i[e]=void 0===t.param||t.param:(c.data(r.form,"validator").resetElements(c(r)),delete i[e])}}else delete i[e]}),c.each(i,function(e,t){i[e]=c.isFunction(t)&&"normalizer"!==e?t(r):t}),c.each(["minlength","maxlength"],function(){i[this]&&(i[this]=Number(i[this]))}),c.each(["rangelength","range"],function(){var e;i[this]&&(c.isArray(i[this])?i[this]=[Number(i[this][0]),Number(i[this][1])]:"string"==typeof i[this]&&(e=i[this].replace(/[\[\]]/g,"").split(/[\s,]+/),i[this]=[Number(e[0]),Number(e[1])]))}),c.validator.autoCreateRanges&&(null!=i.min&&null!=i.max&&(i.range=[i.min,i.max],delete i.min,delete i.max),null!=i.minlength&&null!=i.maxlength&&(i.rangelength=[i.minlength,i.maxlength],delete i.minlength,delete i.maxlength)),i},normalizeRule:function(e){if("string"==typeof e){var t={};c.each(e.split(/\s/),function(){t[this]=!0}),e=t}return e},addMethod:function(e,t,n){c.validator.methods[e]=t,c.validator.messages[e]=void 0!==n?n:c.validator.messages[e],t.length<3&&c.validator.addClassRules(e,c.validator.normalizeRule(e))},methods:{required:function(e,t,n){if(!this.depend(n,t))return"dependency-mismatch";if("select"!==t.nodeName.toLowerCase())return this.checkable(t)?0<this.getLength(e,t):null!=e&&0<e.length;var i=c(t).val();return i&&0<i.length},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e)},date:(n=!1,function(e,t){return n||(n=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(t)||!/Invalid|NaN/.test(new Date(e).toString())}),dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(e,t,n){var i=c.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n<=i},maxlength:function(e,t,n){var i=c.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||i<=n},rangelength:function(e,t,n){var i=c.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||i>=n[0]&&i<=n[1]},min:function(e,t,n){return this.optional(t)||n<=e},max:function(e,t,n){return this.optional(t)||e<=n},range:function(e,t,n){return this.optional(t)||e>=n[0]&&e<=n[1]},step:function(e,t,n){function i(e){var t=(""+e).match(/(?:\.(\d+))?$/);return t&&t[1]?t[1].length:0}function r(e){return Math.round(e*Math.pow(10,a))}var a,o=c(t).attr("type"),s="Step attribute on input type "+o+" is not supported.",l=new RegExp("\\b"+o+"\\b"),u=!0;if(o&&!l.test(["text","number","range"].join()))throw new Error(s);return a=i(n),(i(e)>a||r(e)%r(n)!=0)&&(u=!1),this.optional(t)||u},equalTo:function(e,t,n){var i=c(n);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){c(t).valid()}),e===i.val()},remote:function(a,o,e,s){if(this.optional(o))return"dependency-mismatch";s="string"==typeof s&&s||"remote";var l,t,n,u=this.previousValue(o,s);return this.settings.messages[o.name]||(this.settings.messages[o.name]={}),u.originalMessage=u.originalMessage||this.settings.messages[o.name][s],this.settings.messages[o.name][s]=u.message,e="string"==typeof e&&{url:e}||e,n=c.param(c.extend({data:a},e.data)),u.old===n?u.valid:(u.old=n,(l=this).startRequest(o),(t={})[o.name]=a,c.ajax(c.extend(!0,{mode:"abort",port:"validate"+o.name,dataType:"json",data:t,context:l.currentForm,success:function(e){var t,n,i,r=!0===e||"true"===e;l.settings.messages[o.name][s]=u.originalMessage,r?(i=l.formSubmitted,l.resetInternals(),l.toHide=l.errorsFor(o),l.formSubmitted=i,l.successList.push(o),l.invalid[o.name]=!1,l.showErrors()):(t={},n=e||l.defaultMessage(o,{method:s,parameters:a}),t[o.name]=u.message=n,l.invalid[o.name]=!0,l.showErrors(t)),u.valid=r,l.stopRequest(o,r)}},e)),"pending")}}});var i,r={};return c.ajaxPrefilter?c.ajaxPrefilter(function(e,t,n){var i=e.port;"abort"===e.mode&&(r[i]&&r[i].abort(),r[i]=n)}):(i=c.ajax,c.ajax=function(e){var t=("mode"in e?e:c.ajaxSettings).mode,n=("port"in e?e:c.ajaxSettings).port;return"abort"===t?(r[n]&&r[n].abort(),r[n]=i.apply(this,arguments),r[n]):i.apply(this,arguments)}),c}),function(e){"function"==typeof define&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery-validation")):jQuery.validator.unobtrusive=e(jQuery)}(function(l){var e,o=l.validator,s="unobtrusiveValidation";function u(e,t,n){e.rules[t]=n,e.message&&(e.messages[t]=e.message)}function c(e){return e.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function d(e){return e.substr(0,e.lastIndexOf(".")+1)}function h(e,t){return 0===e.indexOf("*.")&&(e=e.replace("*.",t)),e}function f(e){var t=l(this),n="__jquery_unobtrusive_validation_form_reset";if(!t.data(n)){t.data(n,!0);try{t.data("validator").resetForm()}finally{t.removeData(n)}t.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),t.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function p(i){function e(e,t){var n=a[e];n&&l.isFunction(n)&&n.apply(i,t)}var t=l(i),n=t.data(s),r=l.proxy(f,i),a=o.unobtrusive.options||{};return n||(n={options:{errorClass:a.errorClass||"input-validation-error",errorElement:a.errorElement||"span",errorPlacement:function(){(function(e,t){var n=l(this).find("[data-valmsg-for='"+c(t[0].name)+"']"),i=n.attr("data-valmsg-replace"),r=i?!1!==l.parseJSON(i):null;n.removeClass("field-validation-valid").addClass("field-validation-error"),e.data("unobtrusiveContainer",n),r?(n.empty(),e.removeClass("input-validation-error").appendTo(n)):e.hide()}).apply(i,arguments),e("errorPlacement",arguments)},invalidHandler:function(){(function(e,t){var n=l(this).find("[data-valmsg-summary=true]"),i=n.find("ul");i&&i.length&&t.errorList.length&&(i.empty(),n.addClass("validation-summary-errors").removeClass("validation-summary-valid"),l.each(t.errorList,function(){l("<li />").html(this.message).appendTo(i)}))}).apply(i,arguments),e("invalidHandler",arguments)},messages:{},rules:{},success:function(){(function(e){var t=e.data("unobtrusiveContainer");if(t){var n=t.attr("data-valmsg-replace"),i=n?l.parseJSON(n):null;t.addClass("field-validation-valid").removeClass("field-validation-error"),e.removeData("unobtrusiveContainer"),i&&t.empty()}}).apply(i,arguments),e("success",arguments)}},attachValidation:function(){t.off("reset."+s,r).on("reset."+s,r).validate(this.options)},validate:function(){return t.validate(),t.valid()}},t.data(s,n)),n}return o.unobtrusive={adapters:[],parseElement:function(i,e){var t,r,a,o=l(i),s=o.parents("form")[0];s&&((t=p(s)).options.rules[i.name]=r={},t.options.messages[i.name]=a={},l.each(this.adapters,function(){var e="data-val-"+this.name,t=o.attr(e),n={};void 0!==t&&(e+="-",l.each(this.params,function(){n[this]=o.attr(e+this)}),this.adapt({element:i,form:s,message:t,params:n,rules:r,messages:a}))}),l.extend(r,{__dummy__:!0}),e||t.attachValidation())},parse:function(e){var t=l(e),n=t.parents().addBack().filter("form").add(t.find("form")).has("[data-val=true]");t.find("[data-val=true]").each(function(){o.unobtrusive.parseElement(this,!0)}),n.each(function(){var e=p(this);e&&e.attachValidation()})}},(e=o.unobtrusive.adapters).add=function(e,t,n){return n||(n=t,t=[]),this.push({name:e,params:t,adapt:n}),this},e.addBool=function(t,n){return this.add(t,function(e){u(e,n||t,!0)})},e.addMinMax=function(e,i,r,a,t,n){return this.add(e,[t||"min",n||"max"],function(e){var t=e.params.min,n=e.params.max;t&&n?u(e,a,[t,n]):t?u(e,i,t):n&&u(e,r,n)})},e.addSingleVal=function(t,n,i){return this.add(t,[n||"val"],function(e){u(e,i||t,e.params[n])})},o.addMethod("__dummy__",function(e,t,n){return!0}),o.addMethod("regex",function(e,t,n){var i;return!!this.optional(t)||(i=new RegExp(n).exec(e))&&0===i.index&&i[0].length===e.length}),o.addMethod("nonalphamin",function(e,t,n){var i;return n&&(i=(i=e.match(/\W/g))&&i.length>=n),i}),o.methods.extension?(e.addSingleVal("accept","mimtype"),e.addSingleVal("extension","extension")):e.addSingleVal("extension","extension","accept"),e.addSingleVal("regex","pattern"),e.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),e.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),e.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),e.add("equalto",["other"],function(e){var t=d(e.element.name),n=h(e.params.other,t);u(e,"equalTo",l(e.form).find(":input").filter("[name='"+c(n)+"']")[0])}),e.add("required",function(e){"INPUT"===e.element.tagName.toUpperCase()&&"CHECKBOX"===e.element.type.toUpperCase()||u(e,"required",!0)}),e.add("remote",["url","type","additionalfields"],function(i){var r={url:i.params.url,type:i.params.type||"GET",data:{}},a=d(i.element.name);l.each(function(e){return e.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}(i.params.additionalfields||i.element.name),function(e,t){var n=h(t,a);r.data[n]=function(){var e=l(i.form).find(":input").filter("[name='"+c(n)+"']");return e.is(":checkbox")?e.filter(":checked").val()||e.filter(":hidden").val()||"":e.is(":radio")?e.filter(":checked").val()||"":e.val()}}),u(i,"remote",r)}),e.add("password",["min","nonalphamin","regex"],function(e){e.params.min&&u(e,"minlength",e.params.min),e.params.nonalphamin&&u(e,"nonalphamin",e.params.nonalphamin),e.params.regex&&u(e,"regex",e.params.regex)}),e.add("fileextensions",["extensions"],function(e){u(e,"extension",e.params.extensions)}),l(function(){o.unobtrusive.parse(document)}),o.unobtrusive}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";for(var e=["native code","[object MutationObserverConstructor]"],t="undefined"!=typeof window,n=["Edge","Trident","Firefox"],i=0,r=0;r<n.length;r+=1)if(t&&0<=navigator.userAgent.indexOf(n[r])){i=1;break}var a,o=t&&(a=window.MutationObserver,e.some(function(e){return-1<(a||"").toString().indexOf(e)}))?function(e){var t=!1,n=0,i=document.createElement("span");return new MutationObserver(function(){e(),t=!1}).observe(i,{attributes:!0}),function(){t||(t=!0,i.setAttribute("x-index",n),n+=1)}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},i))}};function c(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function s(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&c(i[e])&&(t="px"),n.style[e]=i[e]+t})}function l(e){for(var t=[!1,"ms","webkit","moz","o"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length-1;i++){var r=t[i],a=r?""+r+n:e;if(void 0!==window.document.body.style[a])return a}return null}function u(e){return null!==e.parentNode?u(e.parentNode):e}function d(e){var t=e&&e.offsetParent,n=t&&t.nodeName;return n&&"BODY"!==n&&"HTML"!==n?t:window.document.documentElement}function h(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return window.document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(r,0);var o=a.commonAncestorContainer;if(e!==o&&t!==o||i.contains(r))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||e.firstElementChild.offsetParent===e)}(o)?o:d(o);var s=u(e);return s.host?h(s.host,t):h(e,u(t).host)}function f(e,t){if(1!==e.nodeType)return[];var n=window.getComputedStyle(e,null);return t?n[t]:n}function p(e,t){var n="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"!==i&&"HTML"!==i)return e[n];var r=window.document.documentElement;return(window.document.scrollingElement||r)[n]}function m(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function g(e){if(!e||-1!==["HTML","BODY","#document"].indexOf(e.nodeName))return window.document.body;var t=f(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll)/.test(n+r+i)?e:g(m(e))}function v(e,t){var n="x"===t?"Left":"Top",i="Left"==n?"Right":"Bottom";return+e["border"+n+"Width"].split("px")[0]+ +e["border"+i+"Width"].split("px")[0]}function y(){var e=window.document.body,t=window.document.documentElement;return{height:Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight),width:Math.max(e.scrollWidth,e.offsetWidth,t.clientWidth,t.scrollWidth,t.offsetWidth)}}var b=function(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),e};function _(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function x(e){return D({},e,{right:e.left+e.width,bottom:e.top+e.height})}var C=void 0,k=function(){return void 0===C&&(C=-1!==navigator.appVersion.indexOf("MSIE 10")),C};function T(e){var t={};if(k())try{t=e.getBoundingClientRect();var n=p(e,"top"),i=p(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}catch(e){}else t=e.getBoundingClientRect();var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?y():{},o=a.width||e.clientWidth||r.right-r.left,s=a.height||e.clientHeight||r.bottom-r.top,l=e.offsetWidth-o,u=e.offsetHeight-s;if(l||u){var c=f(e);l-=v(c,"x"),u-=v(c,"y"),r.width-=l,r.height-=u}return x(r)}function S(e,t){var n=k(),i="HTML"===t.nodeName,r=T(e),a=T(t),o=g(e),s=x({top:r.top-a.top,left:r.left-a.left,width:r.width,height:r.height});if(i||"BODY"===t.nodeName){var l=f(t),u=n&&i?0:+l.borderTopWidth.split("px")[0],c=n&&i?0:+l.borderLeftWidth.split("px")[0],d=n&&i?0:+l.marginTop.split("px")[0],h=n&&i?0:+l.marginLeft.split("px")[0];s.top-=u-d,s.bottom-=u-d,s.left-=c-h,s.right-=c-h,s.marginTop=d,s.marginLeft=h}return t.contains(o)&&(n||"BODY"!==o.nodeName)&&(s=function(e,t,n){var i=2<arguments.length&&void 0!==n&&n,r=p(t,"top"),a=p(t,"left"),o=i?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=a*o,e.right+=a*o,e}(s,t)),s}function E(e,t,n){return S(n,h(t,n))}function M(e){var t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function O(e,t,n,i){i=i.split("-")[0];var r=M(t),a={position:e,width:r.width,height:r.height},o=-1!==["right","left"].indexOf(i),s=o?"top":"left",l=o?"left":"top",u=o?"height":"width",c=o?"width":"height";return a[s]=n[s]+n[u]/2-r[u]/2,a[l]=i===l?n[l]-r[c]:n[A(l)],a}function N(e){return e&&"[object Function]"==={}.toString.call(e)}function I(e,t,n,i){n.updateBound=i,window.addEventListener("resize",n.updateBound,{passive:!0});var r=g(e);return function e(t,n,i,r){var a="BODY"===t.nodeName,o=a?window:t;o.addEventListener(n,i,{passive:!0}),a||e(g(o.parentNode),n,i,r),r.push(o)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function j(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function P(e,n,t){return(void 0===t?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=j(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",t))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&N(t)&&(n=t(n,e))}),n}function L(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function H(e,t,n,i){var r={top:0,left:0},a=h(e,t);if("viewport"===i)r=function(e){var t=window.document.documentElement,n=S(e,t),i=Math.max(t.clientWidth,window.innerWidth||0),r=Math.max(t.clientHeight,window.innerHeight||0),a=p(t),o=p(t,"left");return x({top:a-n.top+n.marginTop,left:o-n.left+n.marginLeft,width:i,height:r})}(a);else{var o=void 0;"scrollParent"===i?"BODY"===(o=g(m(e))).nodeName&&(o=window.document.documentElement):o="window"===i?window.document.documentElement:i;var s=S(o,a);if("HTML"!==o.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===f(t,"position")||e(m(t)))}(a))r=s;else{var l=y(),u=l.height,c=l.width;r.top+=s.top-s.marginTop,r.bottom=u+s.top,r.left+=s.left-s.marginLeft,r.right=c+s.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function F(e,t,n,i,r){if(-1===e.indexOf("auto"))return e;var a=H(n,i,0,r),o={top:t.top-a.top,right:a.right-t.right,bottom:a.bottom-t.bottom,left:t.left-a.left},s=Object.keys(o).sort(function(e,t){return o[t]-o[e]})[0],l=e.split("-")[1];return s+(l?"-"+l:"")}var R=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];function Y(e,t,n){var i=j(e,function(e){return e.name===t}),r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var a="`"+t+"`",o="`"+n+"`";console.warn(o+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return r}var V=R.slice(3);function U(e,t){var n=1<arguments.length&&void 0!==t&&t,i=V.indexOf(e),r=V.slice(i+1).concat(V.slice(0,i));return n?r.reverse():r}var W="flip",q="clockwise",B="counterclockwise";function $(e,r,a,t){var o=[0,0],s=-1!==["right","left"].indexOf(t),n=e.split(/(\+|\-)/).map(function(e){return e.trim()}),i=n.indexOf(j(n,function(e){return-1!==e.search(/,|\s/)}));n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==i?[n.slice(0,i).concat([n[i].split(l)[0]]),[n[i].split(l)[1]].concat(n.slice(i+1))]:[n];return(u=u.map(function(e,t){var n=(1===t?!s:s)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+r[1],o=r[2];if(!a)return e;if(0!==o.indexOf("%"))return"vh"!==o&&"vw"!==o?a:("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a;var s=void 0;switch(o){case"%p":s=n;break;case"%":case"%r":default:s=i}return x(s)[t]/100*a}(e,n,r,a)})})).forEach(function(n,i){n.forEach(function(e,t){c(e)&&(o[i]+=e*("-"===n[t-1]?-1:1))})}),o}var z={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets.reference,a=x(e.offsets.popper),o=-1!==["bottom","top"].indexOf(n),s=o?"left":"top",l=o?"width":"height",u={start:w({},s,r[s]),end:w({},s,r[s]+r[l]-a[l])};e.offsets.popper=D({},a,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,r=e.offsets,a=r.popper,o=r.reference,s=i.split("-")[0],l=void 0;return l=c(+n)?[+n,0]:$(n,a,o,s),"left"===s?(a.top+=l[0],a.left-=l[1]):"right"===s?(a.top+=l[0],a.left+=l[1]):"top"===s?(a.left+=l[0],a.top-=l[1]):"bottom"===s&&(a.left+=l[0],a.top+=l[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||d(e.instance.popper),r=H(e.instance.popper,e.instance.reference,i.padding,t);i.boundaries=r;var n=i.priority,a=x(e.offsets.popper),o={primary:function(e){var t=a[e];return a[e]<r[e]&&!i.escapeWithReference&&(t=Math.max(a[e],r[e])),w({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=a[t];return a[e]>r[e]&&!i.escapeWithReference&&(n=Math.min(a[t],r[e]-("right"===e?a.width:a.height))),w({},t,n)}};return n.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";a=D({},a,o[t](e))}),e.offsets.popper=a,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=x(e.offsets.popper),n=e.offsets.reference,i=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(i),o=a?"right":"bottom",s=a?"left":"top",l=a?"width":"height";return t[o]<r(n[s])&&(e.offsets.popper[s]=r(n[s])-t[l]),t[s]>r(n[o])&&(e.offsets.popper[s]=r(n[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!Y(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],r=x(e.offsets.popper),a=e.offsets.reference,o=-1!==["left","right"].indexOf(i),s=o?"height":"width",l=o?"top":"left",u=o?"left":"top",c=o?"bottom":"right",d=M(n)[s];a[c]-d<r[l]&&(e.offsets.popper[l]-=r[l]-(a[c]-d)),a[l]+d>r[c]&&(e.offsets.popper[l]+=a[l]+d-r[c]);var h=a[l]+a[s]/2-d/2-x(e.offsets.popper)[l];return h=Math.max(Math.min(r[s]-d,h),0),e.arrowElement=n,e.offsets.arrow={},e.offsets.arrow[l]=h,e.offsets.arrow[u]="",e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(f,p){if(L(f.instance.modifiers,"inner"))return f;if(f.flipped&&f.placement===f.originalPlacement)return f;var m=H(f.instance.popper,f.instance.reference,p.padding,p.boundariesElement),g=f.placement.split("-")[0],v=A(g),y=f.placement.split("-")[1]||"",b=[];switch(p.behavior){case W:b=[g,v];break;case q:b=U(g);break;case B:b=U(g,!0);break;default:b=p.behavior}return b.forEach(function(e,t){if(g!==e||b.length===t+1)return f;g=f.placement.split("-")[0],v=A(g);var n=x(f.offsets.popper),i=f.offsets.reference,r=Math.floor,a="left"===g&&r(n.right)>r(i.left)||"right"===g&&r(n.left)<r(i.right)||"top"===g&&r(n.bottom)>r(i.top)||"bottom"===g&&r(n.top)<r(i.bottom),o=r(n.left)<r(m.left),s=r(n.right)>r(m.right),l=r(n.top)<r(m.top),u=r(n.bottom)>r(m.bottom),c="left"===g&&o||"right"===g&&s||"top"===g&&l||"bottom"===g&&u,d=-1!==["top","bottom"].indexOf(g),h=!!p.flipVariations&&(d&&"start"===y&&o||d&&"end"===y&&s||!d&&"start"===y&&l||!d&&"end"===y&&u);(a||c||h)&&(f.flipped=!0,(a||c)&&(g=b[t+1]),h&&(y=function(e){return"end"===e?"start":"start"===e?"end":e}(y)),f.placement=g+(y?"-"+y:""),f.offsets.popper=O(f.instance.state.position,f.instance.popper,f.offsets.reference,f.placement),f=P(f.instance.modifiers,f,"flip"))}),f},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=x(e.offsets.popper),r=x(e.offsets.reference),a=-1!==["left","right"].indexOf(n),o=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=r[t]-(o?i[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=x(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=j(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},applyStyle:{order:900,enabled:!0,fn:function(e,t){var n={position:e.offsets.popper.position},i={"x-placement":e.placement},r=Math.round(e.offsets.popper.left),a=Math.round(e.offsets.popper.top),o=l("transform");return t.gpuAcceleration&&o?(n[o]="translate3d("+r+"px, "+a+"px, 0)",n.top=0,n.left=0,n.willChange="transform"):(n.left=r,n.top=a,n.willChange="top, left"),s(e.instance.popper,D({},n,e.styles)),function(t,n){Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})}(e.instance.popper,D({},i,e.attributes)),e.offsets.arrow&&s(e.arrowElement,e.offsets.arrow),e},onLoad:function(e,t,n,i,r){var a=E(0,t,e),o=F(n.placement,a,t,e,n.modifiers.flip.boundariesElement);return t.setAttribute("x-placement",o),n},gpuAcceleration:!0}}},G=(b(K,[{key:"update",value:function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=E(this.state,this.popper,this.reference),e.placement=F(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement),e.originalPlacement=e.placement,e.offsets.popper=O(this.state,this.popper,e.offsets.reference,e.placement),e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}},{key:"destroy",value:function(){return this.state.isDestroyed=!0,L(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[l("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}},{key:"enableEventListeners",value:function(){this.state.eventsEnabled||(this.state=I(this.reference,this.options,this.state,this.scheduleUpdate))}},{key:"disableEventListeners",value:function(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=function(e,t){return window.removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}}]),K);function K(e,t){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,K),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=o(this.update.bind(this)),this.options=D({},K.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e.jquery?e[0]:e,this.popper=t.jquery?t[0]:t,s(this.popper,{position:"absolute"}),this.modifiers=Object.keys(K.Defaults.modifiers).map(function(e){return D({name:e},K.Defaults.modifiers[e])}),this.modifiers=this.modifiers.map(function(e){var t=i.modifiers&&i.modifiers[e.name]||{};return D({},e,t)}),i.modifiers&&(this.options.modifiers=D({},K.Defaults.modifiers,i.modifiers),Object.keys(i.modifiers).forEach(function(e){if(void 0===K.Defaults.modifiers[e]){var t=i.modifiers[e];t.name=e,n.modifiers.push(t)}})),this.modifiers=this.modifiers.sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&N(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return G.Utils=("undefined"!=typeof window?window:global).PopperUtils,G.placements=R,G.Defaults=z,G}),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,d){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(r){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},t=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),t.forEach(function(e){var t,n,i;t=r,i=a[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i})}return r}p=p&&p.hasOwnProperty("default")?p.default:p,d=d&&d.hasOwnProperty("default")?d.default:d;var t="transitionend";function n(e){var t=this,n=!1;return p(this).one(m.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||m.triggerTransitionEnd(t)},e),this}var m={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=p(e).css("transition-duration"),n=p(e).css("transition-delay"),i=parseFloat(t),r=parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){p(e).trigger(t)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],a=t[i],o=a&&m.isElement(a)?"element":(s=a,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(o))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+o+'" but expected type "'+r+'".')}var s},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?m.findShadowRoot(e.parentNode):null;var t=e.getRootNode();return t instanceof ShadowRoot?t:null}};p.fn.emulateTransitionEnd=n,p.event.special[m.TRANSITION_END]={bindType:t,delegateType:t,handle:function(e){if(p(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var r="alert",a="bs.alert",s="."+a,u=p.fn[r],c={CLOSE:"close"+s,CLOSED:"closed"+s,CLICK_DATA_API:"click"+s+".data-api"},h="alert",f="fade",g="show",v=function(){function i(e){this._element=e}var e=i.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=m.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n=n||p(e).closest("."+h)[0]},e._triggerCloseEvent=function(e){var t=p.Event(c.CLOSE);return p(e).trigger(t),t},e._removeElement=function(t){var n=this;if(p(t).removeClass(g),p(t).hasClass(f)){var e=m.getTransitionDurationFromElement(t);p(t).one(m.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)}else this._destroyElement(t)},e._destroyElement=function(e){p(e).detach().trigger(c.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data(a);t||(t=new i(this),e.data(a,t)),"close"===n&&t[n](this)})},i._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();p(document).on(c.CLICK_DATA_API,'[data-dismiss="alert"]',v._handleDismiss(new v)),p.fn[r]=v._jQueryInterface,p.fn[r].Constructor=v,p.fn[r].noConflict=function(){return p.fn[r]=u,v._jQueryInterface};var y="button",b="bs.button",_="."+b,w=".data-api",D=p.fn[y],x="active",C="btn",k="focus",T='[data-toggle^="button"]',S='[data-toggle="buttons"]',E='input:not([type="hidden"])',M=".active",A=".btn",O={CLICK_DATA_API:"click"+_+w,FOCUS_BLUR_DATA_API:"focus"+_+w+" blur"+_+w},N=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(S)[0];if(n){var i=this._element.querySelector(E);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(x))e=!1;else{var r=n.querySelector(M);r&&p(r).removeClass(x)}if(e){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(x),p(i).trigger("change")}i.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(x)),e&&p(this._element).toggleClass(x)},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]()})},o(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();p(document).on(O.CLICK_DATA_API,T,function(e){e.preventDefault();var t=e.target;p(t).hasClass(C)||(t=p(t).closest(A)),N._jQueryInterface.call(p(t),"toggle")}).on(O.FOCUS_BLUR_DATA_API,T,function(e){var t=p(e.target).closest(A)[0];p(t).toggleClass(k,/^focus(in)?$/.test(e.type))}),p.fn[y]=N._jQueryInterface,p.fn[y].Constructor=N,p.fn[y].noConflict=function(){return p.fn[y]=D,N._jQueryInterface};var I="carousel",j="bs.carousel",P="."+j,L=".data-api",H=p.fn[I],F={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},R={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Y="next",V="prev",U="left",W="right",q={SLIDE:"slide"+P,SLID:"slid"+P,KEYDOWN:"keydown"+P,MOUSEENTER:"mouseenter"+P,MOUSELEAVE:"mouseleave"+P,TOUCHSTART:"touchstart"+P,TOUCHMOVE:"touchmove"+P,TOUCHEND:"touchend"+P,POINTERDOWN:"pointerdown"+P,POINTERUP:"pointerup"+P,DRAG_START:"dragstart"+P,LOAD_DATA_API:"load"+P+L,CLICK_DATA_API:"click"+P+L},B="carousel",$="active",z="slide",G="carousel-item-right",K="carousel-item-left",Q="carousel-item-next",J="carousel-item-prev",Z="pointer-event",X=".active",ee=".active.carousel-item",te=".carousel-item",ne=".carousel-item img",ie=".carousel-item-next, .carousel-item-prev",re=".carousel-indicators",ae="[data-slide], [data-slide-to]",oe='[data-ride="carousel"]',se={TOUCH:"touch",PEN:"pen"},le=function(){function a(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(re),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=a.prototype;return e.next=function(){this._isSliding||this._slide(Y)},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(V)},e.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(ie)&&(m.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(ee);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)p(this._element).one(q.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=n<e?Y:V;this._slide(i,this._items[e])}},e.dispose=function(){p(this._element).off(P),p.removeData(this._element,j),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({},F,e),m.typeCheckConfig(I,e,R),e},e._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;0<t&&this.prev(),t<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&p(this._element).on(q.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&p(this._element).on(q.MOUSEENTER,function(e){return t.pause(e)}).on(q.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&&se[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&se[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(ne)).on(q.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(p(this._element).on(q.POINTERDOWN,function(e){return n(e)}),p(this._element).on(q.POINTERUP,function(e){return i(e)}),this._element.classList.add(Z)):(p(this._element).on(q.TOUCHSTART,function(e){return n(e)}),p(this._element).on(q.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(q.TOUCHEND,function(e){return i(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(te)):[],this._items.indexOf(e)},e._getItemByDirection=function(e,t){var n=e===Y,i=e===V,r=this._getItemIndex(t),a=this._items.length-1;if((i&&0===r||n&&r===a)&&!this._config.wrap)return t;var o=(r+(e===V?-1:1))%this._items.length;return-1==o?this._items[this._items.length-1]:this._items[o]},e._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(ee)),r=p.Event(q.SLIDE,{relatedTarget:e,direction:t,from:i,to:n});return p(this._element).trigger(r),r},e._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(X));p(t).removeClass($);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&p(n).addClass($)}},e._slide=function(e,t){var n,i,r,a=this,o=this._element.querySelector(ee),s=this._getItemIndex(o),l=t||o&&this._getItemByDirection(e,o),u=this._getItemIndex(l),c=Boolean(this._interval);if(r=e===Y?(n=K,i=Q,U):(n=G,i=J,W),l&&p(l).hasClass($))this._isSliding=!1;else if(!this._triggerSlideEvent(l,r).isDefaultPrevented()&&o&&l){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(l);var d=p.Event(q.SLID,{relatedTarget:l,direction:r,from:s,to:u});if(p(this._element).hasClass(z)){p(l).addClass(i),m.reflow(l),p(o).addClass(n),p(l).addClass(n);var h=parseInt(l.getAttribute("data-interval"),10);h?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=h):this._config.interval=this._config.defaultInterval||this._config.interval;var f=m.getTransitionDurationFromElement(o);p(o).one(m.TRANSITION_END,function(){p(l).removeClass(n+" "+i).addClass($),p(o).removeClass($+" "+i+" "+n),a._isSliding=!1,setTimeout(function(){return p(a._element).trigger(d)},0)}).emulateTransitionEnd(f)}else p(o).removeClass($),p(l).addClass($),this._isSliding=!1,p(this._element).trigger(d);c&&this.cycle()}},a._jQueryInterface=function(i){return this.each(function(){var e=p(this).data(j),t=l({},F,p(this).data());"object"==typeof i&&(t=l({},t,i));var n="string"==typeof i?i:t.slide;if(e||(e=new a(this,t),p(this).data(j,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&t.ride&&(e.pause(),e.cycle())})},a._dataApiClickHandler=function(e){var t=m.getSelectorFromElement(this);if(t){var n=p(t)[0];if(n&&p(n).hasClass(B)){var i=l({},p(n).data(),p(this).data()),r=this.getAttribute("data-slide-to");r&&(i.interval=!1),a._jQueryInterface.call(p(n),i),r&&p(n).data(j).to(r),e.preventDefault()}}},o(a,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return F}}]),a}();p(document).on(q.CLICK_DATA_API,ae,le._dataApiClickHandler),p(window).on(q.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(oe)),t=0,n=e.length;t<n;t++){var i=p(e[t]);le._jQueryInterface.call(i,i.data())}}),p.fn[I]=le._jQueryInterface,p.fn[I].Constructor=le,p.fn[I].noConflict=function(){return p.fn[I]=H,le._jQueryInterface};var ue="collapse",ce="bs.collapse",de="."+ce,he=p.fn[ue],fe={toggle:!0,parent:""},pe={toggle:"boolean",parent:"(string|element)"},me={SHOW:"show"+de,SHOWN:"shown"+de,HIDE:"hide"+de,HIDDEN:"hidden"+de,CLICK_DATA_API:"click"+de+".data-api"},ge="show",ve="collapse",ye="collapsing",be="collapsed",_e="width",we="height",De=".show, .collapsing",xe='[data-toggle="collapse"]',Ce=function(){function s(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(xe)),i=0,r=n.length;i<r;i++){var a=n[i],o=m.getSelectorFromElement(a),s=[].slice.call(document.querySelectorAll(o)).filter(function(e){return e===t});null!==o&&0<s.length&&(this._selector=o,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=s.prototype;return e.toggle=function(){p(this._element).hasClass(ge)?this.hide():this.show()},e.show=function(){var e,t,n=this;if(!this._isTransitioning&&!p(this._element).hasClass(ge)&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(De)).filter(function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains(ve)})).length&&(e=null),!(e&&(t=p(e).not(this._selector).data(ce))&&t._isTransitioning))){var i=p.Event(me.SHOW);if(p(this._element).trigger(i),!i.isDefaultPrevented()){e&&(s._jQueryInterface.call(p(e).not(this._selector),"hide"),t||p(e).data(ce,null));var r=this._getDimension();p(this._element).removeClass(ve).addClass(ye),this._element.style[r]=0,this._triggerArray.length&&p(this._triggerArray).removeClass(be).attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(r[0].toUpperCase()+r.slice(1)),o=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(){p(n._element).removeClass(ye).addClass(ve).addClass(ge),n._element.style[r]="",n.setTransitioning(!1),p(n._element).trigger(me.SHOWN)}).emulateTransitionEnd(o),this._element.style[r]=this._element[a]+"px"}}},e.hide=function(){var e=this;if(!this._isTransitioning&&p(this._element).hasClass(ge)){var t=p.Event(me.HIDE);if(p(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",m.reflow(this._element),p(this._element).addClass(ye).removeClass(ve).removeClass(ge);var i=this._triggerArray.length;if(0<i)for(var r=0;r<i;r++){var a=this._triggerArray[r],o=m.getSelectorFromElement(a);if(null!==o)p([].slice.call(document.querySelectorAll(o))).hasClass(ge)||p(a).addClass(be).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var s=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(){e.setTransitioning(!1),p(e._element).removeClass(ye).addClass(ve).trigger(me.HIDDEN)}).emulateTransitionEnd(s)}}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){p.removeData(this._element,ce),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=l({},fe,e)).toggle=Boolean(e.toggle),m.typeCheckConfig(ue,e,pe),e},e._getDimension=function(){return p(this._element).hasClass(_e)?_e:we},e._getParent=function(){var e,n=this;m.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(e.querySelectorAll(t));return p(i).each(function(e,t){n._addAriaAndCollapsedClass(s._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function(e,t){var n=p(e).hasClass(ge);t.length&&p(t).toggleClass(be,!n).attr("aria-expanded",n)},s._getTargetFromElement=function(e){var t=m.getSelectorFromElement(e);return t?document.querySelector(t):null},s._jQueryInterface=function(i){return this.each(function(){var e=p(this),t=e.data(ce),n=l({},fe,e.data(),"object"==typeof i&&i?i:{});if(!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new s(this,n),e.data(ce,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},o(s,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return fe}}]),s}();p(document).on(me.CLICK_DATA_API,xe,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=p(this),t=m.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(t));p(i).each(function(){var e=p(this),t=e.data(ce)?"toggle":n.data();Ce._jQueryInterface.call(e,t)})}),p.fn[ue]=Ce._jQueryInterface,p.fn[ue].Constructor=Ce,p.fn[ue].noConflict=function(){return p.fn[ue]=he,Ce._jQueryInterface};var ke="dropdown",Te="bs.dropdown",Se="."+Te,Ee=".data-api",Me=p.fn[ke],Ae=new RegExp("38|40|27"),Oe={HIDE:"hide"+Se,HIDDEN:"hidden"+Se,SHOW:"show"+Se,SHOWN:"shown"+Se,CLICK:"click"+Se,CLICK_DATA_API:"click"+Se+Ee,KEYDOWN_DATA_API:"keydown"+Se+Ee,KEYUP_DATA_API:"keyup"+Se+Ee},Ne="disabled",Ie="show",je="dropup",Pe="dropright",Le="dropleft",He="dropdown-menu-right",Fe="position-static",Re='[data-toggle="dropdown"]',Ye=".dropdown form",Ve=".dropdown-menu",Ue=".navbar-nav",We=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qe="top-start",Be="top-end",$e="bottom-start",ze="bottom-end",Ge="right-start",Ke="left-start",Qe={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Je={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Ze=function(){function u(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=u.prototype;return e.toggle=function(){if(!this._element.disabled&&!p(this._element).hasClass(Ne)){var e=u._getParentFromElement(this._element),t=p(this._menu).hasClass(Ie);if(u._clearMenus(),!t){var n={relatedTarget:this._element},i=p.Event(Oe.SHOW,n);if(p(e).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if(void 0===d)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var r=this._element;"parent"===this._config.reference?r=e:m.isElement(this._config.reference)&&(r=this._config.reference,void 0!==this._config.reference.jquery&&(r=this._config.reference[0])),"scrollParent"!==this._config.boundary&&p(e).addClass(Fe),this._popper=new d(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===p(e).closest(Ue).length&&p(document.body).children().on("mouseover",null,p.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),p(this._menu).toggleClass(Ie),p(e).toggleClass(Ie).trigger(p.Event(Oe.SHOWN,n))}}}},e.show=function(){if(!(this._element.disabled||p(this._element).hasClass(Ne)||p(this._menu).hasClass(Ie))){var e={relatedTarget:this._element},t=p.Event(Oe.SHOW,e),n=u._getParentFromElement(this._element);p(n).trigger(t),t.isDefaultPrevented()||(p(this._menu).toggleClass(Ie),p(n).toggleClass(Ie).trigger(p.Event(Oe.SHOWN,e)))}},e.hide=function(){if(!this._element.disabled&&!p(this._element).hasClass(Ne)&&p(this._menu).hasClass(Ie)){var e={relatedTarget:this._element},t=p.Event(Oe.HIDE,e),n=u._getParentFromElement(this._element);p(n).trigger(t),t.isDefaultPrevented()||(p(this._menu).toggleClass(Ie),p(n).toggleClass(Ie).trigger(p.Event(Oe.HIDDEN,e)))}},e.dispose=function(){p.removeData(this._element,Te),p(this._element).off(Se),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),m.typeCheckConfig(ke,e,this.constructor.DefaultType),e},e._getMenuElement=function(){if(!this._menu){var e=u._getParentFromElement(this._element);e&&(this._menu=e.querySelector(Ve))}return this._menu},e._getPlacement=function(){var e=p(this._element.parentNode),t=$e;return e.hasClass(je)?(t=qe,p(this._menu).hasClass(He)&&(t=Be)):e.hasClass(Pe)?t=Ge:e.hasClass(Le)?t=Ke:p(this._menu).hasClass(He)&&(t=ze),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}),e},u._jQueryInterface=function(t){return this.each(function(){var e=p(this).data(Te);if(e||(e=new u(this,"object"==typeof t?t:null),p(this).data(Te,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},u._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(Re)),n=0,i=t.length;n<i;n++){var r=u._getParentFromElement(t[n]),a=p(t[n]).data(Te),o={relatedTarget:t[n]};if(e&&"click"===e.type&&(o.clickEvent=e),a){var s=a._menu;if(p(r).hasClass(Ie)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&p.contains(r,e.target))){var l=p.Event(Oe.HIDE,o);p(r).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),t[n].setAttribute("aria-expanded","false"),p(s).removeClass(Ie),p(r).removeClass(Ie).trigger(p.Event(Oe.HIDDEN,o)))}}}},u._getParentFromElement=function(e){var t,n=m.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},u._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(Ve).length)):Ae.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!p(this).hasClass(Ne))){var t=u._getParentFromElement(this),n=p(t).hasClass(Ie);if(n&&(!n||27!==e.which&&32!==e.which)){var i=[].slice.call(t.querySelectorAll(We));if(0!==i.length){var r=i.indexOf(e.target);38===e.which&&0<r&&r--,40===e.which&&r<i.length-1&&r++,r<0&&(r=0),i[r].focus()}}else{if(27===e.which){var a=t.querySelector(Re);p(a).trigger("focus")}p(this).trigger("click")}}},o(u,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Qe}},{key:"DefaultType",get:function(){return Je}}]),u}();p(document).on(Oe.KEYDOWN_DATA_API,Re,Ze._dataApiKeydownHandler).on(Oe.KEYDOWN_DATA_API,Ve,Ze._dataApiKeydownHandler).on(Oe.CLICK_DATA_API+" "+Oe.KEYUP_DATA_API,Ze._clearMenus).on(Oe.CLICK_DATA_API,Re,function(e){e.preventDefault(),e.stopPropagation(),Ze._jQueryInterface.call(p(this),"toggle")}).on(Oe.CLICK_DATA_API,Ye,function(e){e.stopPropagation()}),p.fn[ke]=Ze._jQueryInterface,p.fn[ke].Constructor=Ze,p.fn[ke].noConflict=function(){return p.fn[ke]=Me,Ze._jQueryInterface};var Xe="modal",et="bs.modal",tt="."+et,nt=p.fn[Xe],it={backdrop:!0,keyboard:!0,focus:!0,show:!0},rt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},at={HIDE:"hide"+tt,HIDDEN:"hidden"+tt,SHOW:"show"+tt,SHOWN:"shown"+tt,FOCUSIN:"focusin"+tt,RESIZE:"resize"+tt,CLICK_DISMISS:"click.dismiss"+tt,KEYDOWN_DISMISS:"keydown.dismiss"+tt,MOUSEUP_DISMISS:"mouseup.dismiss"+tt,MOUSEDOWN_DISMISS:"mousedown.dismiss"+tt,CLICK_DATA_API:"click"+tt+".data-api"},ot="modal-dialog-scrollable",st="modal-scrollbar-measure",lt="modal-backdrop",ut="modal-open",ct="fade",dt="show",ht=".modal-dialog",ft=".modal-body",pt='[data-toggle="modal"]',mt='[data-dismiss="modal"]',gt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vt=".sticky-top",yt=function(){function r(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(ht),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=r.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(ct)&&(this._isTransitioning=!0);var n=p.Event(at.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(at.CLICK_DISMISS,mt,function(e){return t.hide(e)}),p(this._dialog).on(at.MOUSEDOWN_DISMISS,function(){p(t._element).one(at.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(at.HIDE);if(p(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=p(this._element).hasClass(ct);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),p(document).off(at.FOCUSIN),p(this._element).removeClass(dt),p(this._element).off(at.CLICK_DISMISS),p(this._dialog).off(at.MOUSEDOWN_DISMISS),i){var r=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(r)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return p(e).off(tt)}),p(document).off(at.FOCUSIN),p.removeData(this._element,et),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({},it,e),m.typeCheckConfig(Xe,e,rt),e},e._showElement=function(e){var t=this,n=p(this._element).hasClass(ct);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(ot)?this._dialog.querySelector(ft).scrollTop=0:this._element.scrollTop=0,n&&m.reflow(this._element),p(this._element).addClass(dt),this._config.focus&&this._enforceFocus();function i(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,p(t._element).trigger(r)}var r=p.Event(at.SHOWN,{relatedTarget:e});if(n){var a=m.getTransitionDurationFromElement(this._dialog);p(this._dialog).one(m.TRANSITION_END,i).emulateTransitionEnd(a)}else i()},e._enforceFocus=function(){var t=this;p(document).off(at.FOCUSIN).on(at.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(at.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||p(this._element).off(at.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?p(window).on(at.RESIZE,function(e){return t.handleUpdate(e)}):p(window).off(at.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(ut),e._resetAdjustments(),e._resetScrollbar(),p(e._element).trigger(at.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(ct)?ct:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=lt,n&&this._backdrop.classList.add(n),p(this._backdrop).appendTo(document.body),p(this._element).on(at.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),n&&m.reflow(this._backdrop),p(this._backdrop).addClass(dt),!e)return;if(!n)return void e();var i=m.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(m.TRANSITION_END,e).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){p(this._backdrop).removeClass(dt);var r=function(){t._removeBackdrop(),e&&e()};if(p(this._element).hasClass(ct)){var a=m.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(m.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}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 r=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(gt)),t=[].slice.call(document.querySelectorAll(vt));p(e).each(function(e,t){var n=t.style.paddingRight,i=p(t).css("padding-right");p(t).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),p(t).each(function(e,t){var n=t.style.marginRight,i=p(t).css("margin-right");p(t).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")});var n=document.body.style.paddingRight,i=p(document.body).css("padding-right");p(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}p(document.body).addClass(ut)},e._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(gt));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(""+vt));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=st,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},r._jQueryInterface=function(n,i){return this.each(function(){var e=p(this).data(et),t=l({},it,p(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new r(this,t),p(this).data(et,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&&e.show(i)})},o(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return it}}]),r}();p(document).on(at.CLICK_DATA_API,pt,function(e){var t,n=this,i=m.getSelectorFromElement(this);i&&(t=document.querySelector(i));var r=p(t).data(et)?"toggle":l({},p(t).data(),p(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=p(t).one(at.SHOW,function(e){e.isDefaultPrevented()||a.one(at.HIDDEN,function(){p(n).is(":visible")&&n.focus()})});yt._jQueryInterface.call(p(t),r,this)}),p.fn[Xe]=yt._jQueryInterface,p.fn[Xe].Constructor=yt,p.fn[Xe].noConflict=function(){return p.fn[Xe]=nt,yt._jQueryInterface};var bt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],_t={"*":["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:[]},wt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Dt=/^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 xt(e,o,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"),s=Object.keys(o),l=[].slice.call(n.body.querySelectorAll("*")),i=function(e,t){var n=l[e],i=n.nodeName.toLowerCase();if(-1===s.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var r=[].slice.call(n.attributes),a=[].concat(o["*"]||[],o[i]||[]);r.forEach(function(e){!function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===bt.indexOf(n)||Boolean(e.nodeValue.match(wt)||e.nodeValue.match(Dt));for(var i=t.filter(function(e){return e instanceof RegExp}),r=0,a=i.length;r<a;r++)if(n.match(i[r]))return!0;return!1}(e,a)&&n.removeAttribute(e.nodeName)})},r=0,a=l.length;r<a;r++)i(r);return n.body.innerHTML}var Ct="tooltip",kt="bs.tooltip",Tt="."+kt,St=p.fn[Ct],Et="bs-tooltip",Mt=new RegExp("(^|\\s)"+Et+"\\S+","g"),At=["sanitize","whiteList","sanitizeFn"],Ot={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"},Nt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},It={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:_t},jt="show",Pt="out",Lt={HIDE:"hide"+Tt,HIDDEN:"hidden"+Tt,SHOW:"show"+Tt,SHOWN:"shown"+Tt,INSERTED:"inserted"+Tt,CLICK:"click"+Tt,FOCUSIN:"focusin"+Tt,FOCUSOUT:"focusout"+Tt,MOUSEENTER:"mouseenter"+Tt,MOUSELEAVE:"mouseleave"+Tt},Ht="fade",Ft="show",Rt=".tooltip-inner",Yt=".arrow",Vt="hover",Ut="focus",Wt="click",qt="manual",Bt=function(){function i(e,t){if(void 0===d)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=i.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(Ft))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.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=m.findShadowRoot(this.element),i=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var r=this.getTipElement(),a=m.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&p(r).addClass(Ht);var o="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,s=this._getAttachment(o);this.addAttachmentClass(s);var l=this._getContainer();p(r).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(r).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,r,{placement:s,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Yt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),p(r).addClass(Ft),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var u=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,p(t.element).trigger(t.constructor.Event.SHOWN),e===Pt&&t._leave(null,t)};if(p(this.tip).hasClass(Ht)){var c=m.getTransitionDurationFromElement(this.tip);p(this.tip).one(m.TRANSITION_END,u).emulateTransitionEnd(c)}else u()}},e.hide=function(e){function t(){n._hoverState!==jt&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),p(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,i=this.getTipElement(),r=p.Event(this.constructor.Event.HIDE);if(p(this.element).trigger(r),!r.isDefaultPrevented()){if(p(i).removeClass(Ft),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger[Wt]=!1,this._activeTrigger[Ut]=!1,this._activeTrigger[Vt]=!1,p(this.tip).hasClass(Ht)){var a=m.getTransitionDurationFromElement(i);p(i).one(m.TRANSITION_END,t).emulateTransitionEnd(a)}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(Et+"-"+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(Rt)),this.getTitle()),p(e).removeClass(Ht+" "+Ft)},e.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=xt(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._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:m.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},e._getAttachment=function(e){return Nt[e.toUpperCase()]},e._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)p(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if(e!==qt){var t=e===Vt?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=e===Vt?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;p(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}}),p(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.hide()}),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?Ut:Vt]=!0),p(t.getTipElement()).hasClass(Ft)||t._hoverState===jt?t._hoverState=jt:(clearTimeout(t._timeout),t._hoverState=jt,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===jt&&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?Ut:Vt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Pt,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===Pt&&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!==At.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()),m.typeCheckConfig(Ct,e,this.constructor.DefaultType),e.sanitize&&(e.template=xt(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(Mt);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(Ht),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},i._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 i(this,t),p(this).data(kt,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return It}},{key:"NAME",get:function(){return Ct}},{key:"DATA_KEY",get:function(){return kt}},{key:"Event",get:function(){return Lt}},{key:"EVENT_KEY",get:function(){return Tt}},{key:"DefaultType",get:function(){return Ot}}]),i}();p.fn[Ct]=Bt._jQueryInterface,p.fn[Ct].Constructor=Bt,p.fn[Ct].noConflict=function(){return p.fn[Ct]=St,Bt._jQueryInterface};var $t="popover",zt="bs.popover",Gt="."+zt,Kt=p.fn[$t],Qt="bs-popover",Jt=new RegExp("(^|\\s)"+Qt+"\\S+","g"),Zt=l({},Bt.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>'}),Xt=l({},Bt.DefaultType,{content:"(string|element|function)"}),en="fade",tn="show",nn=".popover-header",rn=".popover-body",an={HIDE:"hide"+Gt,HIDDEN:"hidden"+Gt,SHOW:"show"+Gt,SHOWN:"shown"+Gt,INSERTED:"inserted"+Gt,CLICK:"click"+Gt,FOCUSIN:"focusin"+Gt,FOCUSOUT:"focusout"+Gt,MOUSEENTER:"mouseenter"+Gt,MOUSELEAVE:"mouseleave"+Gt},on=function(e){function i(){return e.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(i,e);var t=i.prototype;return t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(e){p(this.getTipElement()).addClass(Qt+"-"+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(nn),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(rn),t),e.removeClass(en+" "+tn)},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(Jt);null!==t&&0<t.length&&e.removeClass(t.join(""))},i._jQueryInterface=function(n){return this.each(function(){var e=p(this).data(zt),t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),p(this).data(zt,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Zt}},{key:"NAME",get:function(){return $t}},{key:"DATA_KEY",get:function(){return zt}},{key:"Event",get:function(){return an}},{key:"EVENT_KEY",get:function(){return Gt}},{key:"DefaultType",get:function(){return Xt}}]),i}(Bt);p.fn[$t]=on._jQueryInterface,p.fn[$t].Constructor=on,p.fn[$t].noConflict=function(){return p.fn[$t]=Kt,on._jQueryInterface};var sn="scrollspy",ln="bs.scrollspy",un="."+ln,cn=p.fn[sn],dn={offset:10,method:"auto",target:""},hn={offset:"number",method:"string",target:"(string|element)"},fn={ACTIVATE:"activate"+un,SCROLL:"scroll"+un,LOAD_DATA_API:"load"+un+".data-api"},pn="dropdown-item",mn="active",gn='[data-spy="scroll"]',vn=".nav, .list-group",yn=".nav-link",bn=".nav-item",_n=".list-group-item",wn=".dropdown",Dn=".dropdown-item",xn=".dropdown-toggle",Cn="offset",kn="position",Tn=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+" "+yn+","+this._config.target+" "+_n+","+this._config.target+" "+Dn,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(fn.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?Cn:kn,r="auto"===this._config.method?e:this._config.method,a=r===kn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,n=m.getSelectorFromElement(e);if(n&&(t=document.querySelector(n)),t){var i=t.getBoundingClientRect();if(i.width||i.height)return[p(t)[r]().top+a,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,ln),p(this._scrollElement).off(un),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({},dn,"object"==typeof e&&e?e:{})).target){var t=p(e.target).attr("id");t||(t=m.getUID(sn),p(e.target).attr("id",t)),e.target="#"+t}return m.typeCheckConfig(sn,e,hn),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 i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;){this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}}},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(pn)?(n.closest(wn).find(xn).addClass(mn),n.addClass(mn)):(n.addClass(mn),n.parents(vn).prev(yn+", "+_n).addClass(mn),n.parents(vn).prev(bn).children(yn).addClass(mn)),p(this._scrollElement).trigger(fn.ACTIVATE,{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(mn)}).forEach(function(e){return e.classList.remove(mn)})},n._jQueryInterface=function(t){return this.each(function(){var e=p(this).data(ln);if(e||(e=new n(this,"object"==typeof t&&t),p(this).data(ln,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},o(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return dn}}]),n}();p(window).on(fn.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(gn)),t=e.length;t--;){var n=p(e[t]);Tn._jQueryInterface.call(n,n.data())}}),p.fn[sn]=Tn._jQueryInterface,p.fn[sn].Constructor=Tn,p.fn[sn].noConflict=function(){return p.fn[sn]=cn,Tn._jQueryInterface};var Sn="bs.tab",En="."+Sn,Mn=p.fn.tab,An={HIDE:"hide"+En,HIDDEN:"hidden"+En,SHOW:"show"+En,SHOWN:"shown"+En,CLICK_DATA_API:"click"+En+".data-api"},On="dropdown-menu",Nn="active",In="disabled",jn="fade",Pn="show",Ln=".dropdown",Hn=".nav, .list-group",Fn=".active",Rn="> li > .active",Yn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Vn=".dropdown-toggle",Un="> .dropdown-menu .active",Wn=function(){function i(e){this._element=e}var e=i.prototype;return e.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(Nn)||p(this._element).hasClass(In))){var e,i,t=p(this._element).closest(Hn)[0],r=m.getSelectorFromElement(this._element);if(t){var a="UL"===t.nodeName||"OL"===t.nodeName?Rn:Fn;i=(i=p.makeArray(p(t).find(a)))[i.length-1]}var o=p.Event(An.HIDE,{relatedTarget:this._element}),s=p.Event(An.SHOW,{relatedTarget:i});if(i&&p(i).trigger(o),p(this._element).trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,t);var l=function(){var e=p.Event(An.HIDDEN,{relatedTarget:n._element}),t=p.Event(An.SHOWN,{relatedTarget:i});p(i).trigger(e),p(n._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function(){p.removeData(this._element,Sn),this._element=null},e._activate=function(e,t,n){function i(){return r._transitionComplete(e,a,n)}var r=this,a=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?p(t).children(Fn):p(t).find(Rn))[0],o=n&&a&&p(a).hasClass(jn);if(a&&o){var s=m.getTransitionDurationFromElement(a);p(a).removeClass(Pn).one(m.TRANSITION_END,i).emulateTransitionEnd(s)}else i()},e._transitionComplete=function(e,t,n){if(t){p(t).removeClass(Nn);var i=p(t.parentNode).find(Un)[0];i&&p(i).removeClass(Nn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(p(e).addClass(Nn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),m.reflow(e),e.classList.contains(jn)&&e.classList.add(Pn),e.parentNode&&p(e.parentNode).hasClass(On)){var r=p(e).closest(Ln)[0];if(r){var a=[].slice.call(r.querySelectorAll(Vn));p(a).addClass(Nn)}e.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data(Sn);if(t||(t=new i(this),e.data(Sn,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();p(document).on(An.CLICK_DATA_API,Yn,function(e){e.preventDefault(),Wn._jQueryInterface.call(p(this),"show")}),p.fn.tab=Wn._jQueryInterface,p.fn.tab.Constructor=Wn,p.fn.tab.noConflict=function(){return p.fn.tab=Mn,Wn._jQueryInterface};var qn="toast",Bn="bs.toast",$n="."+Bn,zn=p.fn[qn],Gn={CLICK_DISMISS:"click.dismiss"+$n,HIDE:"hide"+$n,HIDDEN:"hidden"+$n,SHOW:"show"+$n,SHOWN:"shown"+$n},Kn="fade",Qn="hide",Jn="show",Zn="showing",Xn={animation:"boolean",autohide:"boolean",delay:"number"},ei={animation:!0,autohide:!0,delay:500},ti='[data-dismiss="toast"]',ni=function(){function i(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var e=i.prototype;return e.show=function(){var e=this;p(this._element).trigger(Gn.SHOW),this._config.animation&&this._element.classList.add(Kn);function t(){e._element.classList.remove(Zn),e._element.classList.add(Jn),p(e._element).trigger(Gn.SHOWN),e._config.autohide&&e.hide()}if(this._element.classList.remove(Qn),this._element.classList.add(Zn),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},e.hide=function(e){var t=this;this._element.classList.contains(Jn)&&(p(this._element).trigger(Gn.HIDE),e?this._close():this._timeout=setTimeout(function(){t._close()},this._config.delay))},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Jn)&&this._element.classList.remove(Jn),p(this._element).off(Gn.CLICK_DISMISS),p.removeData(this._element,Bn),this._element=null,this._config=null},e._getConfig=function(e){return e=l({},ei,p(this._element).data(),"object"==typeof e&&e?e:{}),m.typeCheckConfig(qn,e,this.constructor.DefaultType),e},e._setListeners=function(){var e=this;p(this._element).on(Gn.CLICK_DISMISS,ti,function(){return e.hide(!0)})},e._close=function(){function e(){t._element.classList.add(Qn),p(t._element).trigger(Gn.HIDDEN)}var t=this;if(this._element.classList.remove(Jn),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},i._jQueryInterface=function(n){return this.each(function(){var e=p(this),t=e.data(Bn);if(t||(t=new i(this,"object"==typeof n&&n),e.data(Bn,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},o(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Xn}},{key:"Default",get:function(){return ei}}]),i}();p.fn[qn]=ni._jQueryInterface,p.fn[qn].Constructor=ni,p.fn[qn].noConflict=function(){return p.fn[qn]=zn,ni._jQueryInterface},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")}(),e.Util=m,e.Alert=v,e.Button=N,e.Carousel=le,e.Collapse=Ce,e.Dropdown=Ze,e.Modal=yt,e.Popover=on,e.Scrollspy=Tn,e.Tab=Wn,e.Toast=ni,e.Tooltip=Bt,Object.defineProperty(e,"__esModule",{value:!0})}),function(r){if(r.document){var e,c,t,n,i,a=r.document;a.querySelectorAll||(a.querySelectorAll=function(e){var t,n=a.createElement("style"),i=[];for(a.documentElement.firstChild.appendChild(n),a._qsa=[],n.styleSheet.cssText=e+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",r.scrollBy(0,0),n.parentNode.removeChild(n);a._qsa.length;)(t=a._qsa.shift()).style.removeAttribute("x-qsa"),i.push(t);return a._qsa=null,i}),a.querySelector||(a.querySelector=function(e){var t=a.querySelectorAll(e);return t.length?t[0]:null}),a.getElementsByClassName||(a.getElementsByClassName=function(e){return e=String(e).replace(/^|\s+/g,"."),a.querySelectorAll(e)}),Object.keys||(Object.keys=function(e){if(e!==Object(e))throw TypeError("Object.keys called on non-object");var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);return n}),Array.prototype.forEach||(Array.prototype.forEach=function(e){if(null==this)throw TypeError();var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw TypeError();var i,r=arguments[1];for(i=0;i<n;i++)i in t&&e.call(r,t[i],i,t)}),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",(e=r).atob=e.atob||function(e){var t=0,n=[],i=0,r=0;if((e=(e=String(e)).replace(/\s/g,"")).length%4==0&&(e=e.replace(/=+$/,"")),e.length%4==1)throw Error("InvalidCharacterError");if(/[^+/0-9A-Za-z]/.test(e))throw Error("InvalidCharacterError");for(;t<e.length;)i=i<<6|c.indexOf(e.charAt(t)),24===(r+=6)&&(n.push(String.fromCharCode(i>>16&255)),n.push(String.fromCharCode(i>>8&255)),n.push(String.fromCharCode(255&i)),i=r=0),t+=1;return 12===r?(i>>=4,n.push(String.fromCharCode(255&i))):18===r&&(i>>=2,n.push(String.fromCharCode(i>>8&255)),n.push(String.fromCharCode(255&i))),n.join("")},e.btoa=e.btoa||function(e){e=String(e);var t,n,i,r,a,o,s,l=0,u=[];if(/[^\x00-\xFF]/.test(e))throw Error("InvalidCharacterError");for(;l<e.length;)r=(t=e.charCodeAt(l++))>>2,a=(3&t)<<4|(n=e.charCodeAt(l++))>>4,o=(15&n)<<2|(i=e.charCodeAt(l++))>>6,s=63&i,l===e.length+2?s=o=64:l===e.length+1&&(s=64),u.push(c.charAt(r),c.charAt(a),c.charAt(o),c.charAt(s));return u.join("")},Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(e){var t=this.__proto__||this.constructor.prototype;return e in this&&(!(e in t)||t[e]!==this[e])}),function(){if("performance"in r==!1&&(r.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in r.performance==!1){var e=Date.now();performance.timing&&performance.timing.navigationStart&&(e=performance.timing.navigationStart),r.performance.now=function(){return Date.now()-e}}}(),r.requestAnimationFrame||(r.webkitRequestAnimationFrame&&r.webkitCancelAnimationFrame?((i=r).requestAnimationFrame=function(e){return webkitRequestAnimationFrame(function(){e(i.performance.now())})},i.cancelAnimationFrame=i.webkitCancelAnimationFrame):r.mozRequestAnimationFrame&&r.mozCancelAnimationFrame?((n=r).requestAnimationFrame=function(e){return mozRequestAnimationFrame(function(){e(n.performance.now())})},n.cancelAnimationFrame=n.mozCancelAnimationFrame):((t=r).requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)},t.cancelAnimationFrame=t.clearTimeout))}}(this),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Holder=t():e.Holder=t()}(this,function(){return r={},n.m=i=[function(e,t,n){e.exports=n(1)},function(s,e,O){(function(u){var e=O(2),h=O(3),k=O(6),g=O(7),v=O(8),y=O(9),T=O(10),t=O(11),c=O(12),d=O(15),m=g.extend,b=g.dimensionCheck,_=t.svg_ns,i={version:t.version,addTheme:function(e,t){return null!=e&&null!=t&&(S.settings.themes[e]=t),delete S.vars.cache.themeKeys,this},addImage:function(i,e){return y.getNodeArray(e).forEach(function(e){var t=y.newEl("img"),n={};n[S.setup.dataAttr]=i,y.setAttr(t,n),e.appendChild(t)}),this},setResizeUpdate:function(e,t){e.holderData&&(e.holderData.resizeUpdate=!!t,e.holderData.resizeUpdate&&D(e))},run:function(e){e=e||{};var c={},d=m(S.settings,e);S.vars.preempted=!0,S.vars.dataAttr=d.dataAttr||S.setup.dataAttr,c.renderer=d.renderer?d.renderer:S.setup.renderer,-1===S.setup.renderers.join(",").indexOf(c.renderer)&&(c.renderer=S.setup.supportsSVG?"svg":S.setup.supportsCanvas?"canvas":"html");var t=y.getNodeArray(d.images),n=y.getNodeArray(d.bgnodes),i=y.getNodeArray(d.stylenodes),r=y.getNodeArray(d.objects);return c.stylesheets=[],c.svgXMLStylesheet=!0,c.noFontFallback=!!d.noFontFallback,c.noBackgroundSize=!!d.noBackgroundSize,i.forEach(function(e){if(e.attributes.rel&&e.attributes.href&&"stylesheet"==e.attributes.rel.value){var t=e.attributes.href.value,n=y.newEl("a");n.href=t;var i=n.protocol+"//"+n.host+n.pathname+n.search;c.stylesheets.push(i)}}),n.forEach(function(e){if(u.getComputedStyle){var t=u.getComputedStyle(e,null).getPropertyValue("background-image"),n=e.getAttribute("data-background-src")||t,i=null,r=d.domain+"/",a=n.indexOf(r);if(0===a)i=n;else if(1===a&&"?"===n[0])i=n.slice(1);else{var o=n.substr(a).match(/([^\"]*)"?\)/);if(null!==o)i=o[1];else if(0===n.indexOf("url("))throw"Holder: unable to parse background URL: "+n}if(i){var s=l(i,d);s&&p({mode:"background",el:e,flags:s,engineSettings:c})}}}),r.forEach(function(e){var t={};try{t.data=e.getAttribute("data"),t.dataSrc=e.getAttribute(S.vars.dataAttr)}catch(e){}var n=null!=t.data&&0===t.data.indexOf(d.domain),i=null!=t.dataSrc&&0===t.dataSrc.indexOf(d.domain);n?f(d,c,t.data,e):i&&f(d,c,t.dataSrc,e)}),t.forEach(function(e){var t={};try{t.src=e.getAttribute("src"),t.dataSrc=e.getAttribute(S.vars.dataAttr),t.rendered=e.getAttribute("data-holder-rendered")}catch(e){}var n,i,r,a,o,s=null!=t.src,l=null!=t.dataSrc&&0===t.dataSrc.indexOf(d.domain),u=null!=t.rendered&&"true"==t.rendered;s?0===t.src.indexOf(d.domain)?f(d,c,t.src,e):l&&(u?f(d,c,t.dataSrc,e):(n=t.src,i=d,r=c,a=t.dataSrc,o=e,g.imageExists(n,function(e){e||f(i,r,a,o)}))):l&&f(d,c,t.dataSrc,e)}),this}},S={settings:{domain:"holder.js",images:"img",objects:"object",bgnodes:"body .holderjs",stylenodes:"head link.holderjs",themes:{gray:{bg:"#EEEEEE",fg:"#AAAAAA"},social:{bg:"#3a5a97",fg:"#FFFFFF"},industrial:{bg:"#434A52",fg:"#C2F200"},sky:{bg:"#0D8FDB",fg:"#FFFFFF"},vine:{bg:"#39DBAC",fg:"#1E292C"},lava:{bg:"#F8591A",fg:"#1C2846"}}},defaults:{size:10,units:"pt",scale:1/16}};function f(e,t,n,i){var r=l(n.substr(n.lastIndexOf(e.domain)),e);r&&p({mode:null,el:i,flags:r,engineSettings:t})}function l(e,t){var n={theme:m(S.settings.themes.gray,null),stylesheets:t.stylesheets,instanceOptions:t},i=e.indexOf("?"),r=[e];-1!==i&&(r=[e.slice(0,i),e.slice(i+1)]);var a=r[0].split("/");n.holderURL=e;var o=a[1],s=o.match(/([\d]+p?)x([\d]+p?)/);if(!s)return!1;if(n.fluid=-1!==o.indexOf("p"),n.dimensions={width:s[1].replace("p","%"),height:s[2].replace("p","%")},2===r.length){var l=h.parse(r[1]);if(g.truthy(l.ratio)){n.fluid=!0;var u=parseFloat(n.dimensions.width.replace("%","")),c=parseFloat(n.dimensions.height.replace("%",""));c=Math.floor(c/u*100),u=100,n.dimensions.width=u+"%",n.dimensions.height=c+"%"}if(n.auto=g.truthy(l.auto),l.bg&&(n.theme.bg=g.parseColor(l.bg)),l.fg&&(n.theme.fg=g.parseColor(l.fg)),l.bg&&!l.fg&&(n.autoFg=!0),l.theme&&n.instanceOptions.themes.hasOwnProperty(l.theme)&&(n.theme=m(n.instanceOptions.themes[l.theme],null)),l.text&&(n.text=l.text),l.textmode&&(n.textmode=l.textmode),l.size&&parseFloat(l.size)&&(n.size=parseFloat(l.size)),l.font&&(n.font=l.font),l.align&&(n.align=l.align),l.lineWrap&&(n.lineWrap=l.lineWrap),n.nowrap=g.truthy(l.nowrap),n.outline=g.truthy(l.outline),g.truthy(l.random)){S.vars.cache.themeKeys=S.vars.cache.themeKeys||Object.keys(n.instanceOptions.themes);var d=S.vars.cache.themeKeys[0|Math.random()*S.vars.cache.themeKeys.length];n.theme=m(n.instanceOptions.themes[d],null)}}return n}function p(e){var t=e.mode,n=e.el,i=e.flags,r=e.engineSettings,a=i.dimensions,o=i.theme,s=a.width+"x"+a.height;t=null==t?i.fluid?"fluid":"image":t;if(null!=i.text&&(o.text=i.text,"object"===n.nodeName.toLowerCase())){for(var l=o.text.split("\\n"),u=0;u<l.length;u++)l[u]=g.encodeHtmlEntity(l[u]);o.text=l.join("\\n")}if(o.text){var c=o.text.match(/holder_([a-z]+)/g);null!==c&&c.forEach(function(e){"holder_dimensions"===e&&(o.text=o.text.replace(e,s))})}var d=i.holderURL,h=m(r,null);if(i.font&&(o.font=i.font,!h.noFontFallback&&"img"===n.nodeName.toLowerCase()&&S.setup.supportsCanvas&&"svg"===h.renderer&&(h=m(h,{renderer:"canvas"}))),i.font&&"canvas"==h.renderer&&(h.reRender=!0),"background"==t)null==n.getAttribute("data-background-src")&&y.setAttr(n,{"data-background-src":d});else{var f={};f[S.vars.dataAttr]=d,y.setAttr(n,f)}i.theme=o,n.holderData={flags:i,engineSettings:h},"image"!=t&&"fluid"!=t||y.setAttr(n,{alt:o.text?o.text+" ["+s+"]":s});var p={mode:t,el:n,holderSettings:{dimensions:a,theme:o,flags:i},engineSettings:h};"image"==t?(i.auto||(n.style.width=a.width+"px",n.style.height=a.height+"px"),"html"==h.renderer?n.style.backgroundColor=o.bg:(w(p),"exact"==i.textmode&&(n.holderData.resizeUpdate=!0,S.vars.resizableImages.push(n),D(n)))):"background"==t&&"html"!=h.renderer?w(p):"fluid"==t&&(n.holderData.resizeUpdate=!0,"%"==a.height.slice(-1)?n.style.height=a.height:null!=i.auto&&i.auto||(n.style.height=a.height+"px"),"%"==a.width.slice(-1)?n.style.width=a.width:null!=i.auto&&i.auto||(n.style.width=a.width+"px"),"inline"!=n.style.display&&""!==n.style.display&&"none"!=n.style.display||(n.style.display="block"),function(e){if(e.holderData){var t=b(e);if(t){var n=e.holderData.flags,i={fluidHeight:"%"==n.dimensions.height.slice(-1),fluidWidth:"%"==n.dimensions.width.slice(-1),mode:null,initialDimensions:t};i.fluidWidth&&!i.fluidHeight?(i.mode="width",i.ratio=i.initialDimensions.width/parseFloat(n.dimensions.height)):!i.fluidWidth&&i.fluidHeight&&(i.mode="height",i.ratio=parseFloat(n.dimensions.width)/i.initialDimensions.height),e.holderData.fluidConfig=i}else x(e)}}(n),"html"==h.renderer?n.style.backgroundColor=o.bg:(S.vars.resizableImages.push(n),D(n)))}function w(t){var e,n=t.mode,i=t.el,r=t.holderSettings,a=t.engineSettings;switch(a.renderer){case"svg":if(!S.setup.supportsSVG)return;break;case"canvas":if(!S.setup.supportsCanvas)return;break;default:return}var o={width:r.dimensions.width,height:r.dimensions.height,theme:r.theme,flags:r.flags},s=function(e){var t=S.defaults.size;parseFloat(e.theme.size)?t=e.theme.size:parseFloat(e.flags.size)&&(t=e.flags.size);switch(e.font={family:e.theme.font?e.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:function(e,t,n,i){var r=parseInt(e,10),a=parseInt(t,10),o=Math.max(r,a),s=Math.min(r,a),l=.8*Math.min(s,o*i);return Math.round(Math.max(n,l))}(e.width,e.height,t,S.defaults.scale),units:e.theme.units?e.theme.units:S.defaults.units,weight:e.theme.fontweight?e.theme.fontweight:"bold"},e.text=e.theme.text||Math.floor(e.width)+"x"+Math.floor(e.height),e.noWrap=e.theme.nowrap||e.flags.nowrap,e.align=e.theme.align||e.flags.align||"center",e.flags.textmode){case"literal":e.text=e.flags.dimensions.width+"x"+e.flags.dimensions.height;break;case"exact":if(!e.flags.exactDimensions)break;e.text=Math.floor(e.flags.exactDimensions.width)+"x"+Math.floor(e.flags.exactDimensions.height)}var n=e.flags.lineWrap||S.setup.lineWrapRatio,i=e.width*n,r=i,a=new k({width:e.width,height:e.height}),o=a.Shape,s=new o.Rect("holderBg",{fill:e.theme.bg});if(s.resize(e.width,e.height),a.root.add(s),e.flags.outline){var l=new T(s.properties.fill);l=l.lighten(l.lighterThan("7f7f7f")?-.1:.1),s.properties.outline={fill:l.toHex(!0),width:2}}var u=e.theme.fg;if(e.flags.autoFg){var c=new T(s.properties.fill),d=new T("fff"),h=new T("000",{alpha:.285714});u=c.blendAlpha(c.lighterThan("7f7f7f")?h:d).toHex(!0)}var f=new o.Group("holderTextGroup",{text:e.text,align:e.align,font:e.font,fill:u});f.moveTo(null,null,1),a.root.add(f);var p=f.textPositionData=A(a);if(!p)throw"Holder: staging fallback not supported yet.";f.properties.leading=p.boundingBox.height;var m=null,g=null;function v(e,t,n,i){t.width=n,t.height=i,e.width=Math.max(e.width,t.width),e.height+=t.height}if(1<p.lineCount){var y,b=0,_=0,w=0;g=new o.Group("line"+w),"left"!==e.align&&"right"!==e.align||(r=e.width*(1-2*(1-n)));for(var D=0;D<p.words.length;D++){var x=p.words[D];m=new o.Text(x.text);var C="\\n"==x.text;!e.noWrap&&(b+x.width>=r||!0==C)&&(v(f,g,b,f.properties.leading),f.add(g),b=0,_+=f.properties.leading,w+=1,(g=new o.Group("line"+w)).y=_),!0!=C&&(m.moveTo(b,0),b+=p.spaceWidth+x.width,g.add(m))}if(v(f,g,b,f.properties.leading),f.add(g),"left"===e.align)f.moveTo(e.width-i,null,null);else if("right"===e.align){for(y in f.children)(g=f.children[y]).moveTo(e.width-g.width,null,null);f.moveTo(0-(e.width-i),null,null)}else{for(y in f.children)(g=f.children[y]).moveTo((f.width-g.width)/2,null,null);f.moveTo((e.width-f.width)/2,null,null)}f.moveTo(null,(e.height-f.height)/2,null),(e.height-f.height)/2<0&&f.moveTo(null,0,null)}else m=new o.Text(e.text),(g=new o.Group("line0")).add(m),f.add(g),"left"===e.align?f.moveTo(e.width-i,null,null):"right"===e.align?f.moveTo(0-(e.width-i),null,null):f.moveTo((e.width-p.boundingBox.width)/2,null,null),f.moveTo(null,(e.height-p.boundingBox.height)/2,null);return a}(o);function l(){var e=null;switch(a.renderer){case"canvas":e=d(s,t);break;case"svg":e=c(s,t);break;default:throw"Holder: invalid renderer: "+a.renderer}return e}if(null==(e=l()))throw"Holder: couldn't render placeholder";"background"==n?(i.style.backgroundImage="url("+e+")",a.noBackgroundSize||(i.style.backgroundSize=o.width+"px "+o.height+"px")):("img"===i.nodeName.toLowerCase()?y.setAttr(i,{src:e}):"object"===i.nodeName.toLowerCase()&&y.setAttr(i,{data:e,type:"image/svg+xml"}),a.reRender&&u.setTimeout(function(){var e=l();if(null==e)throw"Holder: couldn't render placeholder";"img"===i.nodeName.toLowerCase()?y.setAttr(i,{src:e}):"object"===i.nodeName.toLowerCase()&&y.setAttr(i,{data:e,type:"image/svg+xml"})},150)),y.setAttr(i,{"data-holder-rendered":!0})}function D(e){for(var t,n=0,i=(t=null==e||null==e.nodeType?S.vars.resizableImages:[e]).length;n<i;n++){var r=t[n];if(r.holderData){var a=r.holderData.flags,o=b(r);if(o){if(!r.holderData.resizeUpdate)continue;if(a.fluid&&a.auto){var s=r.holderData.fluidConfig;switch(s.mode){case"width":o.height=o.width/s.ratio;break;case"height":o.width=o.height*s.ratio}}var l={mode:"image",holderSettings:{dimensions:o,theme:a.theme,flags:a},el:r,engineSettings:r.holderData.engineSettings};"exact"==a.textmode&&(a.exactDimensions=o,l.holderSettings.dimensions=a.dimensions),w(l)}else x(r)}}}function r(){var t,n=[];Object.keys(S.vars.invisibleImages).forEach(function(e){t=S.vars.invisibleImages[e],b(t)&&"img"==t.nodeName.toLowerCase()&&(n.push(t),delete S.vars.invisibleImages[e])}),n.length&&i.run({images:n}),setTimeout(function(){u.requestAnimationFrame(r)},10)}function x(e){e.holderData.invisibleId||(S.vars.invisibleId+=1,(S.vars.invisibleImages["i"+S.vars.invisibleId]=e).holderData.invisibleId=S.vars.invisibleId)}var C,E,M,n,A=(M=E=C=null,function(e){var t,n=e.root;if(S.setup.supportsSVG){var i=!1;null!=C&&C.parentNode===document.body||(i=!0),(C=v.initSVG(C,n.properties.width,n.properties.height)).style.display="block",i&&(E=y.newEl("text",_),t=null,M=document.createTextNode(t),y.setAttr(E,{x:0}),E.appendChild(M),C.appendChild(E),document.body.appendChild(C),C.style.visibility="hidden",C.style.position="absolute",C.style.top="-100%",C.style.left="-100%");var r=n.children.holderTextGroup.properties;y.setAttr(E,{y:r.font.size,style:g.cssProps({"font-weight":r.font.weight,"font-size":r.font.size+r.font.units,"font-family":r.font.family})});var a=y.newEl("textarea");a.innerHTML=r.text,M.nodeValue=a.value;var o=E.getBBox(),s=Math.ceil(o.width/n.properties.width),l=r.text.split(" "),u=r.text.match(/\\n/g);s+=null==u?0:u.length,M.nodeValue=r.text.replace(/[ ]+/g,"");var c=E.getComputedTextLength(),d=o.width-c,h=Math.round(d/Math.max(1,l.length-1)),f=[];if(1<s){M.nodeValue="";for(var p=0;p<l.length;p++)if(0!==l[p].length){M.nodeValue=g.decodeHtmlEntity(l[p]);var m=E.getBBox();f.push({text:l[p],width:m.width})}}return C.style.display="none",{spaceWidth:h,lineCount:s,boundingBox:o,words:f}}return!1});function a(){!function(e){S.vars.debounceTimer||e.call(this),S.vars.debounceTimer&&u.clearTimeout(S.vars.debounceTimer),S.vars.debounceTimer=u.setTimeout(function(){S.vars.debounceTimer=null,e.call(this)},S.setup.debounce)}(function(){D(null)})}for(var o in S.flags)S.flags.hasOwnProperty(o)&&(S.flags[o].match=function(e){return e.match(this.regex)});S.setup={renderer:"html",debounce:100,ratio:1,supportsCanvas:!1,supportsSVG:!1,lineWrapRatio:.9,dataAttr:"data-src",renderers:["html","canvas","svg"]},S.vars={preempted:!1,resizableImages:[],invisibleImages:{},invisibleId:0,visibilityCheckStarted:!1,debounceTimer:null,cache:{}},(n=y.newEl("canvas")).getContext&&-1!=n.toDataURL("image/png").indexOf("data:image/png")&&(S.setup.renderer="canvas",S.setup.supportsCanvas=!0),document.createElementNS&&document.createElementNS(_,"svg").createSVGRect&&(S.setup.renderer="svg",S.setup.supportsSVG=!0),S.vars.visibilityCheckStarted||(u.requestAnimationFrame(r),S.vars.visibilityCheckStarted=!0),e&&e(function(){S.vars.preempted||i.run(),u.addEventListener?(u.addEventListener("resize",a,!1),u.addEventListener("orientationchange",a,!1)):u.attachEvent("onresize",a),"object"==typeof u.Turbolinks&&u.document.addEventListener("page:change",function(){i.run()})}),s.exports=i}).call(e,function(){return this}())},function(e,t){e.exports="undefined"!=typeof window&&function(e){null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function e(){document.removeEventListener("DOMContentLoaded",e,!1),document.readyState="complete"},!1),document.readyState="loading");var t=e.document,n=t.documentElement,i="load",r=!1,a="on"+i,o="complete",s="readyState",l="attachEvent",u="detachEvent",c="addEventListener",d="DOMContentLoaded",h="onreadystatechange",f="removeEventListener",p=c in t,m=r,g=r,v=[];function y(e){if(!g){if(!t.body)return w(y);for(g=!0;e=v.shift();)w(e)}}function b(e){!p&&e.type!==i&&t[s]!==o||(_(),y())}function _(){p?(t[f](d,b,r),e[f](i,b,r)):(t[u](h,b),e[u](a,b))}function w(e,t){setTimeout(e,0<=+t?t:1)}if(t[s]===o)w(y);else if(p)t[c](d,b,r),e[c](i,b,r);else{t[l](h,b),e[l](a,b);try{m=null==e.frameElement&&n}catch(e){}m&&m.doScroll&&!function t(){if(!g){try{m.doScroll("left")}catch(e){return w(t,50)}_(),y()}}()}function D(e){g?w(e):v.push(e)}return D.version="1.4.0",D.isReady=function(){return g},D}(window)},function(e,t,n){var a=encodeURIComponent,u=decodeURIComponent,c=n(4),o=n(5),d=/(\w+)\[(\d+)\]/,h=/\w+\.\w+/;t.parse=function(e){if("string"!=typeof e)return{};if(""===(e=c(e)))return{};"?"===e.charAt(0)&&(e=e.slice(1));for(var t={},n=e.split("&"),i=0;i<n.length;i++){var r,a,o,s=n[i].split("="),l=u(s[0]);if(r=d.exec(l))t[r[1]]=t[r[1]]||[],t[r[1]][r[2]]=u(s[1]);else if(r=h.test(l)){for(r=l.split("."),a=t;r.length;)if((o=r.shift()).length){if(a[o]){if(a[o]&&"object"!=typeof a[o])break}else a[o]={};r.length||(a[o]=u(s[1])),a=a[o]}}else t[s[0]]=null==s[1]?"":u(s[1])}return t},t.stringify=function(e){if(!e)return"";var t=[];for(var n in e){var i=e[n];if("array"!=o(i))t.push(a(n)+"="+a(e[n]));else for(var r=0;r<i.length;++r)t.push(a(n+"["+r+"]")+"="+a(i[r]))}return t.join("&")}},function(e,t){(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){switch(n.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":void 0===e?"undefined":e!=e?"nan":e&&1===e.nodeType?"element":function(e){return!(null==e||!(e._isBuffer||e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}(e)?"buffer":typeof(e=e.valueOf?e.valueOf():Object.prototype.valueOf.apply(e))}},function(e,t){e.exports=function(e){var t=1;function n(e){t++,this.parent=null,this.children={},this.id=t,this.name="n"+t,void 0!==e&&(this.name=e),this.x=this.y=this.z=0,this.width=this.height=0}n.prototype.resize=function(e,t){null!=e&&(this.width=e),null!=t&&(this.height=t)},n.prototype.moveTo=function(e,t,n){this.x=null!=e?e:this.x,this.y=null!=t?t:this.y,this.z=null!=n?n:this.z},n.prototype.add=function(e){var t=e.name;if(void 0!==this.children[t])throw"SceneGraph: child already exists: "+t;(this.children[t]=e).parent=this};function i(){n.call(this,"root"),this.properties=e}i.prototype=new n;function r(e,t){if(n.call(this,e),this.properties={fill:"#000000"},void 0!==t)!function(e,t){for(var n in t)e[n]=t[n]}(this.properties,t);else if(void 0!==e&&"string"!=typeof e)throw"SceneGraph: invalid node name"}r.prototype=new n;function a(){r.apply(this,arguments),this.type="group"}a.prototype=new r;function o(){r.apply(this,arguments),this.type="rect"}o.prototype=new r;function s(e){r.call(this),this.type="text",this.properties.text=e}s.prototype=new r;var l=new i;return this.Shape={Rect:o,Text:s,Group:a},this.root=l,this}},function(e,t){(function(r){t.extend=function(e,t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);if(null!=t)for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n},t.cssProps=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+":"+e[n]);return t.join(";")},t.encodeHtmlEntity=function(e){for(var t=[],n=0,i=e.length-1;0<=i;i--)128<(n=e.charCodeAt(i))?t.unshift(["&#",n,";"].join("")):t.unshift(e[i]);return t.join("")},t.imageExists=function(e,t){var n=new Image;n.onerror=function(){t.call(this,!1)},n.onload=function(){t.call(this,!0)},n.src=e},t.decodeHtmlEntity=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(t)})},t.dimensionCheck=function(e){var t={height:e.clientHeight,width:e.clientWidth};return!(!t.height||!t.width)&&t},t.truthy=function(e){return"string"==typeof e?"true"===e||"yes"===e||"1"===e||"on"===e||"✓"===e:!!e},t.parseColor=function(e){var t,n=e.match(/(^(?:#?)[0-9a-f]{6}$)|(^(?:#?)[0-9a-f]{3}$)/i);return null!==n?"#"!==(t=n[1]||n[2])[0]?"#"+t:t:null!==(n=e.match(/^rgb\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/))?t="rgb("+n.slice(1).join(",")+")":null!==(n=e.match(/^rgba\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0\.\d{1,}|1)\)$/))?t="rgba("+n.slice(1).join(",")+")":null},t.canvasRatio=function(){var e=1,t=1;if(r.document){var n=r.document.createElement("canvas");if(n.getContext){var i=n.getContext("2d");e=r.devicePixelRatio||1,t=i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1}}return e/t}}).call(t,function(){return this}())},function(e,t,n){(function(u){var c=n(9),s="http://www.w3.org/2000/svg";t.initSVG=function(e,t,n){var i,r,a=!1;e&&e.querySelector?null===(r=e.querySelector("style"))&&(a=!0):(e=c.newEl("svg",s),a=!0),a&&(i=c.newEl("defs",s),r=c.newEl("style",s),c.setAttr(r,{type:"text/css"}),i.appendChild(r),e.appendChild(i)),e.webkitMatchesSelector&&e.setAttribute("xmlns",s);for(var o=0;o<e.childNodes.length;o++)8===e.childNodes[o].nodeType&&e.removeChild(e.childNodes[o]);for(;r.childNodes.length;)r.removeChild(r.childNodes[0]);return c.setAttr(e,{width:t,height:n,viewBox:"0 0 "+t+" "+n,preserveAspectRatio:"none"}),e},t.svgStringToDataURI=function(e,t){return t?"data:image/svg+xml;charset=UTF-8;base64,"+btoa(u.unescape(encodeURIComponent(e))):"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e)},t.serializeSVG=function(e,t){if(u.XMLSerializer){var n=new XMLSerializer,i="",r=t.stylesheets;if(t.svgXMLStylesheet){for(var a=c.createXML(),o=r.length-1;0<=o;o--){var s=a.createProcessingInstruction("xml-stylesheet",'href="'+r[o]+'" rel="stylesheet"');a.insertBefore(s,a.firstChild)}a.removeChild(a.documentElement),i=n.serializeToString(a)}var l=n.serializeToString(e);return i+(l=l.replace(/\&amp;(\#[0-9]{2,}\;)/g,"&$1"))}}}).call(t,function(){return this}())},function(e,t){(function(n){t.newEl=function(e,t){if(n.document)return null==t?n.document.createElement(e):n.document.createElementNS(t,e)},t.setAttr=function(e,t){for(var n in t)e.setAttribute(n,t[n])},t.createXML=function(){if(n.DOMParser)return(new DOMParser).parseFromString("<xml />","application/xml")},t.getNodeArray=function(e){var t=null;return"string"==typeof e?t=document.querySelectorAll(e):n.NodeList&&e instanceof n.NodeList?t=e:n.Node&&e instanceof n.Node?t=[e]:n.HTMLCollection&&e instanceof n.HTMLCollection?t=e:e instanceof Array?t=e:null===e&&(t=[]),t=Array.prototype.slice.call(t)}}).call(t,function(){return this}())},function(e,t){function o(e,t){"string"==typeof e&&("#"===(this.original=e).charAt(0)&&(e=e.slice(1)),/[^a-f0-9]+/i.test(e)||(3===e.length&&(e=e.replace(/./g,"$&$&")),6===e.length&&(this.alpha=1,t&&t.alpha&&(this.alpha=t.alpha),this.set(parseInt(e,16)))))}o.rgb2hex=function(e,t,n){return[e,t,n].map(function(e){var t=(0|e).toString(16);return e<16&&(t="0"+t),t}).join("")},o.hsl2rgb=function(e,t,n){var i=e/60,r=(1-Math.abs(2*n-1))*t,a=r*(1-Math.abs(parseInt(i)%2-1)),o=n-r/2,s=0,l=0,u=0;return 0<=i&&i<1?(s=r,l=a):1<=i&&i<2?(s=a,l=r):2<=i&&i<3?(l=r,u=a):3<=i&&i<4?(l=a,u=r):4<=i&&i<5?(s=a,u=r):5<=i&&i<6&&(s=r,u=a),s+=o,l+=o,u+=o,[s=parseInt(255*s),l=parseInt(255*l),u=parseInt(255*u)]},o.prototype.set=function(e){this.raw=e;var t=(16711680&this.raw)>>16,n=(65280&this.raw)>>8,i=255&this.raw,r=.2126*t+.7152*n+.0722*i,a=-.09991*t-.33609*n+.436*i,o=.615*t-.55861*n-.05639*i;return this.rgb={r:t,g:n,b:i},this.yuv={y:r,u:a,v:o},this},o.prototype.lighten=function(e){var t=255*(Math.min(1,Math.max(0,Math.abs(e)))*(e<0?-1:1))|0,n=Math.min(255,Math.max(0,this.rgb.r+t)),i=Math.min(255,Math.max(0,this.rgb.g+t)),r=Math.min(255,Math.max(0,this.rgb.b+t)),a=o.rgb2hex(n,i,r);return new o(a)},o.prototype.toHex=function(e){return(e?"#":"")+this.raw.toString(16)},o.prototype.lighterThan=function(e){return e instanceof o||(e=new o(e)),this.yuv.y>e.yuv.y},o.prototype.blendAlpha=function(e){e instanceof o||(e=new o(e));var t=e,n=t.alpha*t.rgb.r+(1-t.alpha)*this.rgb.r,i=t.alpha*t.rgb.g+(1-t.alpha)*this.rgb.g,r=t.alpha*t.rgb.b+(1-t.alpha)*this.rgb.b;return new o(o.rgb2hex(n,i,r))},e.exports=o},function(e,t){e.exports={version:"2.9.6",svg_ns:"http://www.w3.org/2000/svg"}},function(e,t,n){var y=n(13),b=n(8),i=n(11),_=n(7),w=i.svg_ns,D=function(e){var t=e.tag,n=e.content||"";return delete e.tag,delete e.content,[t,n,e]};e.exports=function(e,t){var n=t.engineSettings.stylesheets.map(function(e){return'<?xml-stylesheet rel="stylesheet" href="'+e+'"?>'}).join("\n"),i="holder_"+Number(new Date).toString(16),r=e.root,o=r.children.holderTextGroup,a="#"+i+" text { "+function(e){return _.cssProps({fill:e.fill,"font-weight":e.font.weight,"font-family":e.font.family+", monospace","font-size":e.font.size+e.font.units})}(o.properties)+" } ";o.y+=.8*o.textPositionData.boundingBox.height;var s=[];Object.keys(o.children).forEach(function(e){var a=o.children[e];Object.keys(a.children).forEach(function(e){var t=a.children[e],n=o.x+a.x+t.x,i=o.y+a.y+t.y,r=D({tag:"text",content:t.properties.text,x:n,y:i});s.push(r)})});var l=D({tag:"g",content:s}),u=null;if(r.children.holderBg.properties.outline){var c=r.children.holderBg.properties.outline;u=D({tag:"path",d:function(e,t,n){var i=n/2;return["M",i,i,"H",e-i,"V",t-i,"H",i,"V",0,"M",0,i,"L",e,t-i,"M",0,t-i,"L",e,i].join(" ")}(r.children.holderBg.width,r.children.holderBg.height,c.width),"stroke-width":c.width,stroke:c.fill,fill:"none"})}var d=function(e,t){return D({tag:t,width:e.width,height:e.height,fill:e.properties.fill})}(r.children.holderBg,"rect"),h=[];h.push(d),c&&h.push(u),h.push(l);var f=D({tag:"g",id:i,content:h}),p=D({tag:"style",content:a,type:"text/css"}),m=D({tag:"defs",content:p}),g=D({tag:"svg",content:[m,f],width:r.properties.width,height:r.properties.height,xmlns:w,viewBox:[0,0,r.properties.width,r.properties.height].join(" "),preserveAspectRatio:"none"}),v=y(g);return/\&amp;(x)?#[0-9A-Fa-f]/.test(v[0])&&(v[0]=v[0].replace(/&amp;#/gm,"&#")),v=n+v[0],b.svgStringToDataURI(v,"background"===t.mode)}},function(e,t,n){n(14);e.exports=function e(t,n,i){"use strict";var r,a,o,s,l,u,c,d,h,f,p,m,g=1,v=!0;function y(e,t){if(null!==t&&!1!==t&&void 0!==t)return"string"!=typeof t&&"object"!=typeof t?String(t):t}if(i=i||{},"string"==typeof t[0])t[0]=(l=t[0],u=l.match(/^[\w-]+/),c={tag:u?u[0]:"div",attr:{},children:[]},d=l.match(/#([\w-]+)/),h=l.match(/\$([\w-]+)/),f=l.match(/\.[\w-]+/g),d&&(c.attr.id=d[1],i[d[1]]=c),h&&(i[h[1]]=c),f&&(c.attr.class=f.join(" ").replace(/\./g,"")),l.match(/&$/g)&&(v=!1),c);else{if(!Array.isArray(t[0]))throw new Error("First element of array must be a string, or an array and not "+JSON.stringify(t[0]));g=0}for(;g<t.length;g++){if(!1===t[g]||null===t[g]){t[0]=!1;break}if(void 0!==t[g]&&!0!==t[g])if("string"==typeof t[g])v&&(t[g]=(p=t[g],String(p).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;"))),t[0].children.push(t[g]);else if("number"==typeof t[g])t[0].children.push(t[g]);else if(Array.isArray(t[g])){if(Array.isArray(t[g][0])){if(t[g].reverse().forEach(function(e){t.splice(g+1,0,e)}),0!==g)continue;g++}e(t[g],n,i),t[g][0]&&t[0].children.push(t[g][0])}else if("function"==typeof t[g])o=t[g];else{if("object"!=typeof t[g])throw new TypeError('"'+t[g]+'" is not allowed as a value.');for(a in t[g])t[g].hasOwnProperty(a)&&null!==t[g][a]&&!1!==t[g][a]&&("style"===a&&"object"==typeof t[g][a]?t[0].attr[a]=JSON.stringify(t[g][a],y).slice(2,-2).replace(/","/g,";").replace(/":"/g,":").replace(/\\"/g,"'"):t[0].attr[a]=t[g][a])}}if(!1!==t[0]){for(s in r="<"+t[0].tag,t[0].attr)t[0].attr.hasOwnProperty(s)&&(r+=" "+s+'="'+((m=t[0].attr[s])||0===m?String(m).replace(/&/g,"&amp;").replace(/"/g,"&quot;"):"")+'"');r+=">",t[0].children.forEach(function(e){r+=e}),r+="</"+t[0].tag+">",t[0]=r}return i[0]=t[0],o&&o(t[0]),i}},function(e,t){"use strict";var s=/["'&<>]/;e.exports=function(e){var t,n=""+e,i=s.exec(n);if(!i)return n;var r="",a=0,o=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==a&&(r+=n.substring(o,a)),o=a+1,r+=t}return o!==a?r+n.substring(o,a):r}},function(e,t,n){var f,p,i=n(9),m=n(7);e.exports=(f=i.newEl("canvas"),p=null,function(e){null==p&&(p=f.getContext("2d"));var t=m.canvasRatio(),n=e.root;f.width=t*n.properties.width,f.height=t*n.properties.height,p.textBaseline="middle";var i=n.children.holderBg,r=t*i.width,a=t*i.height;p.fillStyle=i.properties.fill,p.fillRect(0,0,r,a),i.properties.outline&&(p.strokeStyle=i.properties.outline.fill,p.lineWidth=i.properties.outline.width,p.moveTo(1,1),p.lineTo(r-1,1),p.lineTo(r-1,a-1),p.lineTo(1,a-1),p.lineTo(1,1),p.moveTo(0,1),p.lineTo(r,a-1),p.moveTo(0,a-1),p.lineTo(r,1),p.stroke());var o=n.children.holderTextGroup;for(var s in p.font=o.properties.font.weight+" "+t*o.properties.font.size+o.properties.font.units+" "+o.properties.font.family+", monospace",p.fillStyle=o.properties.fill,o.children){var l=o.children[s];for(var u in l.children){var c=l.children[u],d=t*(o.x+l.x+c.x),h=t*(o.y+l.y+c.y+o.properties.leading/2);p.fillText(c.properties.text,d,h)}}return f.toDataURL("image/png")})}],n.c=r,n.p="",n(0);function n(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return i[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}var i,r}),function(e){typeof Meteor!=="undefined"&&typeof Package!=="undefined"&&(Holder=e.Holder)}(this),function(hna){var nna,ina=this||eval("this"),jna=ina.document,kna=ina.navigator,lna=ina.jQuery,mna=ina.JSON;lna||"undefined"==typeof jQuery||(lna=jQuery),nna=function(e,i){function n(e,t){return(null===e||typeof e in x)&&e===t}function a(e,t){var n;return function(){n=n||E.a.setTimeout(function(){n=hna,e()},t)}}function o(e,t){var n;return function(){clearTimeout(n),n=E.a.setTimeout(e,t)}}function u(e,t){t&&"change"!==t?"beforeChange"===t?this.oc(e):this.bb(e,t):this.pc(e)}function r(e,t){null!==t&&t.s&&t.s()}function s(e,t){var n=this.pd,i=n[j];i.qa||(this.Pb&&this.kb[t]?(n.tc(t,e,this.kb[t]),this.kb[t]=null,--this.Pb):i.F[t]||n.tc(t,e,i.G?{da:e}:n.Zc(e)),e.Ka&&e.fd())}var l,t,c,d,h,f,p,m,g,v,y,b,_,E=void 0!==e?e:{};function w(){if(y)for(var e,t=y,n=0;_<y;)if(e=v[_++]){if(t<_){if(5e3<=++n){_=y,E.a.Fc(Error("'Too much recursion' after processing "+n+" task groups."));break}t=y}try{e()}catch(e){E.a.Fc(e)}}}function D(){w(),_=y=v.length=0}E.b=function(e,t){for(var n=e.split("."),i=E,r=0;r<n.length-1;r++)i=i[n[r]];i[n[n.length-1]]=t},E.J=function(e,t,n){e[t]=n},E.version="3.5.0",E.b("version",E.version),E.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1},E.a=function(){function d(e,t){for(var n in e)a.call(e,n)&&t(n,e[n])}function e(e,t){if(t)for(var n in t)a.call(t,n)&&(e[n]=t[n]);return e}function t(e,t){return e.__proto__=t,e}function r(e,t,n,i){var r=e[t].match(h)||[];E.a.C(n.match(h),function(e){E.a.Oa(r,e,i)}),e[t]=r.join(" ")}var a=Object.prototype.hasOwnProperty,n={__proto__:[]}instanceof Array,i="function"==typeof Symbol,o={},s={};o[kna&&/Firefox\/2/i.test(kna.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],o.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),d(o,function(e,t){if(t.length)for(var n=0,i=t.length;n<i;n++)s[t[n]]=e});var l,u={propertychange:!0},c=jna&&function(){for(var e=3,t=jna.createElement("div"),n=t.getElementsByTagName("i");t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e",n[0];);return 4<e?e:hna}(),h=/\S+/g;return{Ic:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],C:function(e,t,n){for(var i=0,r=e.length;i<r;i++)t.call(n,e[i],i,e)},A:"function"==typeof Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t)}:function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},Lb:function(e,t,n){for(var i=0,r=e.length;i<r;i++)if(t.call(n,e[i],i,e))return e[i];return hna},hb:function(e,t){var n=E.a.A(e,t);0<n?e.splice(n,1):0===n&&e.shift()},vc:function(e){var t=[];return e&&E.a.C(e,function(e){E.a.A(t,e)<0&&t.push(e)}),t},Mb:function(e,t,n){var i=[];if(e)for(var r=0,a=e.length;r<a;r++)i.push(t.call(n,e[r],r));return i},fb:function(e,t,n){var i=[];if(e)for(var r=0,a=e.length;r<a;r++)t.call(n,e[r],r)&&i.push(e[r]);return i},gb:function(e,t){if(t instanceof Array)e.push.apply(e,t);else for(var n=0,i=t.length;n<i;n++)e.push(t[n]);return e},Oa:function(e,t,n){var i=E.a.A(E.a.$b(e),t);i<0?n&&e.push(t):n||e.splice(i,1)},Ba:n,extend:e,setPrototypeOf:t,zb:n?t:e,O:d,Ha:function(e,t,n){if(!e)return e;var i,r={};for(i in e)a.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r},Sb:function(e){for(;e.firstChild;)E.removeNode(e.firstChild)},Xb:function(e){for(var t=((e=E.a.la(e))[0]&&e[0].ownerDocument||jna).createElement("div"),n=0,i=e.length;n<i;n++)t.appendChild(E.na(e[n]));return t},Ca:function(e,t){for(var n=0,i=e.length,r=[];n<i;n++){var a=e[n].cloneNode(!0);r.push(t?E.na(a):a)}return r},ua:function(e,t){if(E.a.Sb(e),t)for(var n=0,i=t.length;n<i;n++)e.appendChild(t[n])},Wc:function(e,t){var n=e.nodeType?[e]:e;if(0<n.length){for(var i=n[0],r=i.parentNode,a=0,o=t.length;a<o;a++)r.insertBefore(t[a],i);for(a=0,o=n.length;a<o;a++)E.removeNode(n[a])}},Ua:function(e,t){if(e.length){for(t=8===t.nodeType&&t.parentNode||t;e.length&&e[0].parentNode!==t;)e.splice(0,1);for(;1<e.length&&e[e.length-1].parentNode!==t;)e.length--;if(1<e.length){var n=e[0],i=e[e.length-1];for(e.length=0;n!==i;)e.push(n),n=n.nextSibling;e.push(i)}}return e},Yc:function(e,t){c<7?e.setAttribute("selected",t):e.selected=t},Cb:function(e){return null===e||e===hna?"":e.trim?e.trim():e.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Td:function(e,t){return e=e||"",!(t.length>e.length)&&e.substring(0,t.length)===t},ud:function(e,t){if(e===t)return!0;if(11===e.nodeType)return!1;if(t.contains)return t.contains(1!==e.nodeType?e.parentNode:e);if(t.compareDocumentPosition)return 16==(16&t.compareDocumentPosition(e));for(;e&&e!=t;)e=e.parentNode;return!!e},Rb:function(e){return E.a.ud(e,e.ownerDocument.documentElement)},jd:function(e){return!!E.a.Lb(e,E.a.Rb)},P:function(e){return e&&e.tagName&&e.tagName.toLowerCase()},zc:function(e){return E.onError?function(){try{return e.apply(this,arguments)}catch(e){throw E.onError&&E.onError(e),e}}:e},setTimeout:function(e,t){return setTimeout(E.a.zc(e),t)},Fc:function(e){setTimeout(function(){throw E.onError&&E.onError(e),e},0)},H:function(t,e,n){var i=E.a.zc(n);if(n=u[e],E.options.useOnlyNativeEvents||n||!lna)if(n||"function"!=typeof t.addEventListener){if(void 0===t.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");function r(e){i.call(t,e)}var a="on"+e;t.attachEvent(a,r),E.a.I.za(t,function(){t.detachEvent(a,r)})}else t.addEventListener(e,i,!1);else l=l||("function"==typeof lna(t).on?"on":"bind"),lna(t)[l](e,i)},Fb:function(e,t){if(!e||!e.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var n;if(n=!("input"!==E.a.P(e)||!e.type||"click"!=t.toLowerCase()||"checkbox"!=(n=e.type)&&"radio"!=n),E.options.useOnlyNativeEvents||!lna||n)if("function"==typeof jna.createEvent){if("function"!=typeof e.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");(n=jna.createEvent(s[t]||"HTMLEvents")).initEvent(t,!0,!0,ina,0,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(n)}else if(n&&e.click)e.click();else{if(void 0===e.fireEvent)throw Error("Browser doesn't support triggering events");e.fireEvent("on"+t)}else lna(e).trigger(t)},c:function(e){return E.N(e)?e():e},$b:function(e){return E.N(e)?e.w():e},Eb:function(t,e,n){var i;e&&("object"==typeof t.classList?(i=t.classList[n?"add":"remove"],E.a.C(e.match(h),function(e){i.call(t.classList,e)})):"string"==typeof t.className.baseVal?r(t.className,"baseVal",e,n):r(t,"className",e,n))},Ab:function(e,t){var n=E.a.c(t);null!==n&&n!==hna||(n="");var i=E.h.firstChild(e);!i||3!=i.nodeType||E.h.nextSibling(i)?E.h.ua(e,[e.ownerDocument.createTextNode(n)]):i.data=n,E.a.zd(e)},Xc:function(e,t){if(e.name=t,c<=7)try{var n=e.name.replace(/[&<>'"]/g,function(e){return"&#"+e.charCodeAt(0)+";"});e.mergeAttributes(jna.createElement("<input name='"+n+"'/>"),!1)}catch(e){}},zd:function(e){9<=c&&(e=1==e.nodeType?e:e.parentNode).style&&(e.style.zoom=e.style.zoom)},vd:function(e){if(c){var t=e.style.width;e.style.width=0,e.style.width=t}},Od:function(e,t){e=E.a.c(e),t=E.a.c(t);for(var n=[],i=e;i<=t;i++)n.push(i);return n},la:function(e){for(var t=[],n=0,i=e.length;n<i;n++)t.push(e[n]);return t},Da:function(e){return i?Symbol(e):e},Xd:6===c,Yd:7===c,W:c,Kc:function(e,t){for(var n=E.a.la(e.getElementsByTagName("input")).concat(E.a.la(e.getElementsByTagName("textarea"))),i="string"==typeof t?function(e){return e.name===t}:function(e){return t.test(e.name)},r=[],a=n.length-1;0<=a;a--)i(n[a])&&r.push(n[a]);return r},Md:function(e){return"string"==typeof e&&(e=E.a.Cb(e))?mna&&mna.parse?mna.parse(e):new Function("return "+e)():null},fc:function(e,t,n){if(!mna||!mna.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return mna.stringify(E.a.c(e),t,n)},Nd:function(e,t,n){var i=(n=n||{}).params||{},r=n.includeFields||this.Ic,a=e;if("object"==typeof e&&"form"===E.a.P(e)){a=e.action;for(var o=r.length-1;0<=o;o--)for(var s=E.a.Kc(e,r[o]),l=s.length-1;0<=l;l--)i[s[l].name]=s[l].value}t=E.a.c(t);var u=jna.createElement("form");for(var c in u.style.display="none",u.action=a,u.method="post",t)(e=jna.createElement("input")).type="hidden",e.name=c,e.value=E.a.fc(E.a.c(t[c])),u.appendChild(e);d(i,function(e,t){var n=jna.createElement("input");n.type="hidden",n.name=e,n.value=t,u.appendChild(n)}),jna.body.appendChild(u),n.submitter?n.submitter(u):u.submit(),setTimeout(function(){u.parentNode.removeChild(u)},0)}}}(),E.b("utils",E.a),E.b("utils.arrayForEach",E.a.C),E.b("utils.arrayFirst",E.a.Lb),E.b("utils.arrayFilter",E.a.fb),E.b("utils.arrayGetDistinctValues",E.a.vc),E.b("utils.arrayIndexOf",E.a.A),E.b("utils.arrayMap",E.a.Mb),E.b("utils.arrayPushAll",E.a.gb),E.b("utils.arrayRemoveItem",E.a.hb),E.b("utils.cloneNodes",E.a.Ca),E.b("utils.createSymbolOrString",E.a.Da),E.b("utils.extend",E.a.extend),E.b("utils.fieldsIncludedWithJsonPost",E.a.Ic),E.b("utils.getFormFields",E.a.Kc),E.b("utils.objectMap",E.a.Ha),E.b("utils.peekObservable",E.a.$b),E.b("utils.postJson",E.a.Nd),E.b("utils.parseJson",E.a.Md),E.b("utils.registerEventHandler",E.a.H),E.b("utils.stringifyJson",E.a.fc),E.b("utils.range",E.a.Od),E.b("utils.toggleDomNodeCssClass",E.a.Eb),E.b("utils.triggerEvent",E.a.Fb),E.b("utils.unwrapObservable",E.a.c),E.b("utils.objectForEach",E.a.O),E.b("utils.addOrRemoveItem",E.a.Oa),E.b("utils.setTextContent",E.a.Ab),E.b("unwrap",E.a.c),Function.prototype.bind||(Function.prototype.bind=function(t){var n=this;if(1===arguments.length)return function(){return n.apply(t,arguments)};var i=Array.prototype.slice.call(arguments,1);return function(){var e=i.slice(0);return e.push.apply(e,arguments),n.apply(t,e)}}),E.a.g=new function(){var i,r=0,a="__ko__"+(new Date).getTime(),o={};return{get:function(e,t){var n=i(e,!1);return n&&n[t]},set:function(e,t,n){(e=i(e,n!==hna))&&(e[t]=n)},Tb:function(e,t,n){return(e=i(e,!0))[t]||(e[t]=n)},clear:E.a.W?(i=function(e,t){var n=e[a];if(!n||"null"===n||!o[n]){if(!t)return hna;n=e[a]="ko"+r++,o[n]={}}return o[n]},function(e){var t=e[a];return!(!t||(delete o[t],e[a]=null))}):(i=function(e,t){var n=e[a];return!n&&t&&(n=e[a]={}),n},function(e){return!!e[a]&&(delete e[a],!0)}),Z:function(){return r+++a}}},E.b("utils.domData",E.a.g),E.b("utils.domData.clear",E.a.g.clear),E.a.I=new function(){function i(e,t){var n=E.a.g.get(e,o);return n===hna&&t&&(n=[],E.a.g.set(e,o,n)),n}function a(e){if(t=i(e,!1))for(var t=t.slice(0),n=0;n<t.length;n++)t[n](e);E.a.g.clear(e),E.a.I.cleanExternalData(e),s[e.nodeType]&&r(e.childNodes,!0)}function r(e,t){for(var n,i=[],r=0;r<e.length;r++)if((!t||8===e[r].nodeType)&&(a(i[i.length]=n=e[r]),e[r]!==n))for(;r--&&-1==E.a.A(i,e[r]););}var o=E.a.g.Z(),t={1:!0,8:!0,9:!0},s={1:!0,9:!0};return{za:function(e,t){if("function"!=typeof t)throw Error("Callback must be a function");i(e,!0).push(t)},xb:function(e,t){var n=i(e,!1);n&&(E.a.hb(n,t),0==n.length&&E.a.g.set(e,o,hna))},na:function(e){return t[e.nodeType]&&(a(e),s[e.nodeType]&&r(e.getElementsByTagName("*"))),e},removeNode:function(e){E.na(e),e.parentNode&&e.parentNode.removeChild(e)},cleanExternalData:function(e){lna&&"function"==typeof lna.cleanData&&lna.cleanData([e])}}},E.na=E.a.I.na,E.removeNode=E.a.I.removeNode,E.b("cleanNode",E.na),E.b("removeNode",E.removeNode),E.b("utils.domNodeDisposal",E.a.I),E.b("utils.domNodeDisposal.addDisposeCallback",E.a.I.za),E.b("utils.domNodeDisposal.removeDisposeCallback",E.a.I.xb),l=[0,"",""],h={thead:t=[1,"<table>","</table>"],tbody:t,tfoot:t,tr:[2,"<table><tbody>","</tbody></table>"],td:c=[3,"<table><tbody><tr>","</tr></tbody></table>"],th:c,option:d=[1,"<select multiple='multiple'>","</select>"],optgroup:d},f=E.a.W<=8,E.a.ta=function(e,t){var n;if(lna){if(lna.parseHTML)n=lna.parseHTML(e,t)||[];else if((n=lna.clean([e],t))&&n[0]){for(var i=n[0];i.parentNode&&11!==i.parentNode.nodeType;)i=i.parentNode;i.parentNode&&i.parentNode.removeChild(i)}}else{(n=t)||(n=jna),i=n.parentWindow||n.defaultView||ina;var r,a=E.a.Cb(e).toLowerCase(),o=n.createElement("div");for(a=(r=(a=a.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&h[a[1]]||l)[0],r="ignored<div>"+r[1]+e+r[2]+"</div>","function"==typeof i.innerShiv?o.appendChild(i.innerShiv(r)):(f&&n.body.appendChild(o),o.innerHTML=r,f&&o.parentNode.removeChild(o));a--;)o=o.lastChild;n=E.a.la(o.lastChild.childNodes)}return n},E.a.Ld=function(e,t){var n=E.a.ta(e,t);return n.length&&n[0].parentElement||E.a.Xb(n)},E.a.dc=function(e,t){if(E.a.Sb(e),null!==(t=E.a.c(t))&&t!==hna)if("string"!=typeof t&&(t=t.toString()),lna)lna(e).html(t);else for(var n=E.a.ta(t,e.ownerDocument),i=0;i<n.length;i++)e.appendChild(n[i])},E.b("utils.parseHtmlFragment",E.a.ta),E.b("utils.setHtml",E.a.dc),E.aa=(p={},{Wb:function(e){if("function"!=typeof e)throw Error("You can only pass a function to ko.memoization.memoize()");var t=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return p[t]=e,"\x3c!--[ko_memo:"+t+"]--\x3e"},ad:function(e,t){var n=p[e];if(n===hna)throw Error("Couldn't find any memo with ID "+e+". Perhaps it's already been unmemoized.");try{return n.apply(null,t||[]),!0}finally{delete p[e]}},bd:function(e,t){var n=[];!function e(t,n){if(t)if(8==t.nodeType)null!=(i=E.aa.Tc(t.nodeValue))&&n.push({sd:t,Jd:i});else if(1==t.nodeType)for(var i=0,r=t.childNodes,a=r.length;i<a;i++)e(r[i],n)}(e,n);for(var i=0,r=n.length;i<r;i++){var a=n[i].sd,o=[a];t&&E.a.gb(o,t),E.aa.ad(n[i].Jd,o),a.nodeValue="",a.parentNode&&a.parentNode.removeChild(a)}},Tc:function(e){return(e=e.match(/^\[ko_memo\:(.*?)\]$/))?e[1]:null}}),E.b("memoization",E.aa),E.b("memoization.memoize",E.aa.Wb),E.b("memoization.unmemoize",E.aa.ad),E.b("memoization.parseMemoText",E.aa.Tc),E.b("memoization.unmemoizeDomNodeAndDescendants",E.aa.bd),E.ma=(v=[],b=1,_=y=0,{scheduler:ina.MutationObserver?(m=D,g=jna.createElement("div"),new MutationObserver(m).observe(g,{attributes:!0}),function(){g.classList.toggle("foo")}):jna&&"onreadystatechange"in jna.createElement("script")?function(e){var t=jna.createElement("script");t.onreadystatechange=function(){t.onreadystatechange=null,jna.documentElement.removeChild(t),t=null,e()},jna.documentElement.appendChild(t)}:function(e){setTimeout(e,0)},yb:function(e){return y||E.ma.scheduler(D),v[y++]=e,b++},cancel:function(e){_<=(e-=b-y)&&e<y&&(v[e]=null)},resetForTesting:function(){var e=y-_;return _=y=v.length=0,e},Rd:w}),E.b("tasks",E.ma),E.b("tasks.schedule",E.ma.yb),E.b("tasks.runEarly",E.ma.Rd),E.Ta={throttle:function(t,n){t.throttleEvaluation=n;var i=null;return E.$({read:t,write:function(e){clearTimeout(i),i=E.a.setTimeout(function(){t(e)},n)}})},rateLimit:function(e,t){var n,i,r;"number"==typeof t?n=t:(n=t.timeout,i=t.method),e.Hb=!1,r="function"==typeof i?i:"notifyWhenChangesStop"==i?o:a,e.tb(function(e){return r(e,n,t)})},deferred:function(i,e){if(!0!==e)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");i.Hb||(i.Hb=!0,i.tb(function(e){var t,n=!1;return function(){if(!n){E.ma.cancel(t),t=E.ma.yb(e);try{n=!0,i.notifySubscribers(hna,"dirty")}finally{n=!1}}}}))},notify:function(e,t){e.equalityComparer="always"==t?null:n}};var x={undefined:1,boolean:1,number:1,string:1};E.b("extenders",E.Ta),E.gc=function(e,t,n){this.da=e,this.kc=t,this.lc=n,this.Ib=!1,this.ab=this.Jb=null,E.J(this,"dispose",this.s),E.J(this,"disposeWhenNodeIsRemoved",this.l)},E.gc.prototype.s=function(){this.Ib||(this.ab&&E.a.I.xb(this.Jb,this.ab),this.Ib=!0,this.lc(),this.da=this.kc=this.lc=this.Jb=this.ab=null)},E.gc.prototype.l=function(e){this.Jb=e,E.a.I.za(e,this.ab=this.s.bind(this))},E.R=function(){E.a.zb(this,S),S.ob(this)};var C,k,T,S={ob:function(e){e.S={change:[]},e.rc=1},subscribe:function(e,t,n){var i=this;n=n||"change";var r=new E.gc(i,t?e.bind(t):e,function(){E.a.hb(i.S[n],r),i.cb&&i.cb(n)});return i.Qa&&i.Qa(n),i.S[n]||(i.S[n]=[]),i.S[n].push(r),r},notifySubscribers:function(e,t){if("change"===(t=t||"change")&&this.Gb(),this.Wa(t)){var n="change"===t&&this.dd||this.S[t].slice(0);try{E.v.wc();for(var i,r=0;i=n[r];++r)i.Ib||i.kc(e)}finally{E.v.end()}}},mb:function(){return this.rc},Cd:function(e){return this.mb()!==e},Gb:function(){++this.rc},tb:function(e){var n,t,i,r,a,o=this,s=E.N(o);o.bb||(o.bb=o.notifySubscribers,o.notifySubscribers=u);var l=e(function(){o.Ka=!1,s&&r===o&&(r=o.mc?o.mc():o());var e=t||a&&o.qb(i,r);a=t=n=!1,e&&o.bb(i=r)});o.pc=function(e,t){t&&o.Ka||(a=!t),o.dd=o.S.change.slice(0),o.Ka=n=!0,r=e,l()},o.oc=function(e){n||(i=e,o.bb(e,"beforeChange"))},o.qc=function(){a=!0},o.fd=function(){o.qb(i,o.w(!0))&&(t=!0)}},Wa:function(e){return this.S[e]&&this.S[e].length},Ad:function(e){if(e)return this.S[e]&&this.S[e].length||0;var n=0;return E.a.O(this.S,function(e,t){"dirty"!==e&&(n+=t.length)}),n},qb:function(e,t){return!this.equalityComparer||!this.equalityComparer(e,t)},toString:function(){return"[object Object]"},extend:function(e){var i=this;return e&&E.a.O(e,function(e,t){var n=E.Ta[e];"function"==typeof n&&(i=n(i,t)||i)}),i}};function M(e){k.push(C),C=e}function A(){C=k.pop()}E.J(S,"init",S.ob),E.J(S,"subscribe",S.subscribe),E.J(S,"extend",S.extend),E.J(S,"getSubscriptionsCount",S.Ad),E.a.Ba&&E.a.setPrototypeOf(S,Function.prototype),E.R.fn=S,E.Pc=function(e){return null!=e&&"function"==typeof e.subscribe&&"function"==typeof e.notifySubscribers},E.b("subscribable",E.R),E.b("isSubscribable",E.Pc),E.U=E.v=(k=[],T=0,{wc:M,end:A,ac:function(e){if(C){if(!E.Pc(e))throw Error("Only subscribable things can act as dependencies");C.nd.call(C.od,e,e.ed||(e.ed=++T))}},K:function(e,t,n){try{return M(),e.apply(t,n||[])}finally{A()}},pa:function(){if(C)return C.o.pa()},Va:function(){if(C)return C.o.Va()},rb:function(){if(C)return C.rb},o:function(){if(C)return C.o}}),E.b("computedContext",E.U),E.b("computedContext.getDependenciesCount",E.U.pa),E.b("computedContext.getDependencies",E.U.Va),E.b("computedContext.isInitial",E.U.rb),E.b("computedContext.registerDependency",E.U.ac),E.b("ignoreDependencies",E.Wd=E.v.K);var O=E.a.Da("_latestValue");E.sa=function(e){function t(){return 0<arguments.length?(t.qb(t[O],arguments[0])&&(t.xa(),t[O]=arguments[0],t.wa()),this):(E.v.ac(t),t[O])}return t[O]=e,E.a.Ba||E.a.extend(t,E.R.fn),E.R.fn.ob(t),E.a.zb(t,N),E.options.deferUpdates&&E.Ta.deferred(t,!0),t};var N={equalityComparer:n,w:function(){return this[O]},wa:function(){this.notifySubscribers(this[O],"spectate"),this.notifySubscribers(this[O])},xa:function(){this.notifySubscribers(this[O],"beforeChange")}};E.a.Ba&&E.a.setPrototypeOf(N,E.R.fn);var I=E.sa.Na="__ko_proto__";N[I]=E.sa,E.N=function(e){if((e="function"==typeof e&&e[I])&&e!==N[I]&&e!==E.o.fn[I])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!e},E.Ya=function(e){return"function"==typeof e&&(e[I]===N[I]||e[I]===E.o.fn[I]&&e.Mc)},E.b("observable",E.sa),E.b("isObservable",E.N),E.b("isWriteableObservable",E.Ya),E.b("isWritableObservable",E.Ya),E.b("observable.fn",N),E.J(N,"peek",N.w),E.J(N,"valueHasMutated",N.wa),E.J(N,"valueWillMutate",N.xa),E.Ia=function(e){if("object"!=typeof(e=e||[])||!("length"in e))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return e=E.sa(e),E.a.zb(e,E.Ia.fn),e.extend({trackArrayChanges:!0})},E.Ia.fn={remove:function(t){for(var e=this.w(),n=[],i="function"!=typeof t||E.N(t)?function(e){return e===t}:t,r=0;r<e.length;r++){var a=e[r];if(i(a)){if(0===n.length&&this.xa(),e[r]!==a)throw Error("Array modified during remove; cannot remove item");n.push(a),e.splice(r,1),r--}}return n.length&&this.wa(),n},removeAll:function(t){if(t!==hna)return t?this.remove(function(e){return 0<=E.a.A(t,e)}):[];var e=this.w(),n=e.slice(0);return this.xa(),e.splice(0,e.length),this.wa(),n},destroy:function(t){var e=this.w(),n="function"!=typeof t||E.N(t)?function(e){return e===t}:t;this.xa();for(var i=e.length-1;0<=i;i--){var r=e[i];n(r)&&(r._destroy=!0)}this.wa()},destroyAll:function(t){return t===hna?this.destroy(function(){return!0}):t?this.destroy(function(e){return 0<=E.a.A(t,e)}):[]},indexOf:function(e){var t=this();return E.a.A(t,e)},replace:function(e,t){var n=this.indexOf(e);0<=n&&(this.xa(),this.w()[n]=t,this.wa())},sorted:function(e){var t=this().slice(0);return e?t.sort(e):t.sort()},reversed:function(){return this().slice(0).reverse()}},E.a.Ba&&E.a.setPrototypeOf(E.Ia.fn,E.sa.fn),E.a.C("pop push reverse shift sort splice unshift".split(" "),function(n){E.Ia.fn[n]=function(){var e=this.w();this.xa(),this.yc(e,n,arguments);var t=e[n].apply(e,arguments);return this.wa(),t===e?this:t}}),E.a.C(["slice"],function(t){E.Ia.fn[t]=function(){var e=this();return e[t].apply(e,arguments)}}),E.Oc=function(e){return E.N(e)&&"function"==typeof e.remove&&"function"==typeof e.push},E.b("observableArray",E.Ia),E.b("isObservableArray",E.Oc),E.Ta.trackArrayChanges=function(n,e){if(n.Nb={},e&&"object"==typeof e&&E.a.extend(n.Nb,e),n.Nb.sparse=!0,!n.yc){var t,i,r,d=!1,h=null,f=0,a=n.Qa,o=n.cb;n.Qa=function(e){a&&a.call(n,e),"arrayChange"===e&&function(){function e(){if(f){var e,t=[].concat(n.w()||[]);n.Wa("arrayChange")&&((!h||1<f)&&(h=E.a.Ob(i,t,n.Nb)),e=h),i=t,h=null,f=0,e&&e.length&&n.notifySubscribers(e,"arrayChange")}}d?e():(d=!0,r=n.notifySubscribers,n.notifySubscribers=function(e,t){return t&&"change"!==t||++f,r.apply(this,arguments)},i=[].concat(n.w()||[]),h=null,t=n.subscribe(e))}()},n.cb=function(e){o&&o.call(n,e),"arrayChange"!==e||n.Wa("arrayChange")||(r&&(n.notifySubscribers=r,r=hna),t&&t.s(),t=null,d=!1,i=hna)},n.yc=function(e,t,n){function i(e,t,n){return r[r.length]={status:e,value:t,index:n}}if(d&&!f){var r=[],a=e.length,o=n.length,s=0;switch(t){case"push":s=a;case"unshift":for(t=0;t<o;t++)i("added",n[t],s+t);break;case"pop":s=a-1;case"shift":a&&i("deleted",e[s],s);break;case"splice":t=Math.min(Math.max(0,n[0]<0?a+n[0]:n[0]),a),a=1===o?a:Math.min(t+(n[1]||0),a),o=t+o-2,s=Math.max(a,o);for(var l=[],u=[],c=2;t<s;++t,++c)t<a&&u.push(i("deleted",e[t],t)),t<o&&l.push(i("added",n[c],t));E.a.Jc(u,l);break;default:return}h=r}}}};var j=E.a.Da("_state");E.o=E.$=function(e,t,n){function i(){if(0<arguments.length){if("function"!=typeof r)throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return r.apply(a.lb,arguments),this}return a.qa||E.v.ac(i),(a.ka||a.G&&i.Xa())&&i.ha(),a.X}if("object"==typeof e?n=e:(n=n||{},e&&(n.read=e)),"function"!=typeof n.read)throw Error("Pass a function that returns the value of the ko.computed");var r=n.write,a={X:hna,ra:!0,ka:!0,pb:!1,hc:!1,qa:!1,vb:!1,G:!1,Vc:n.read,lb:t||n.owner,l:n.disposeWhenNodeIsRemoved||n.l||null,Sa:n.disposeWhen||n.Sa,Qb:null,F:{},V:0,Hc:null};return i[j]=a,i.Mc="function"==typeof r,E.a.Ba||E.a.extend(i,E.R.fn),E.R.fn.ob(i),E.a.zb(i,P),n.pure?(a.vb=!0,a.G=!0,E.a.extend(i,L)):n.deferEvaluation&&E.a.extend(i,H),E.options.deferUpdates&&E.Ta.deferred(i,!0),a.l&&(a.hc=!0,a.l.nodeType||(a.l=null)),a.G||n.deferEvaluation||i.ha(),a.l&&i.ja()&&E.a.I.za(a.l,a.Qb=function(){i.s()}),i};var P={equalityComparer:n,pa:function(){return this[j].V},Va:function(){var n=[];return E.a.O(this[j].F,function(e,t){n[t.La]=t.da}),n},Ub:function(t){if(!this[j].V)return!1;var e=this.Va();return-1!==E.a.A(e,t)||!!E.a.Lb(e,function(e){return e.Ub&&e.Ub(t)})},tc:function(e,t,n){if(this[j].vb&&t===this)throw Error("A 'pure' computed must not be called recursively");(this[j].F[e]=n).La=this[j].V++,n.Ma=t.mb()},Xa:function(){var e,t,n=this[j].F;for(e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e],this.Ja&&t.da.Ka||t.da.Cd(t.Ma)))return!0},Id:function(){this.Ja&&!this[j].pb&&this.Ja(!1)},ja:function(){var e=this[j];return e.ka||0<e.V},Qd:function(){this.Ka?this[j].ka&&(this[j].ra=!0):this.Gc()},Zc:function(e){if(e.Hb){var t=e.subscribe(this.Id,this,"dirty"),n=e.subscribe(this.Qd,this);return{da:e,s:function(){t.s(),n.s()}}}return e.subscribe(this.Gc,this)},Gc:function(){var e=this,t=e.throttleEvaluation;t&&0<=t?(clearTimeout(this[j].Hc),this[j].Hc=E.a.setTimeout(function(){e.ha(!0)},t)):e.Ja?e.Ja(!0):e.ha(!0)},ha:function(e){var t=this[j],n=t.Sa,i=!1;if(!t.pb&&!t.qa){if(t.l&&!E.a.Rb(t.l)||n&&n()){if(!t.hc)return void this.s()}else t.hc=!1;t.pb=!0;try{i=this.yd(e)}finally{t.pb=!1}return i}},yd:function(e){var t=this[j],n=!1,i=t.vb?hna:!t.V;n={pd:this,kb:t.F,Pb:t.V},E.v.wc({od:n,nd:s,o:this,rb:i}),t.F={},t.V=0;var r=this.xd(t,n);return(n=t.V?this.qb(t.X,r):(this.s(),!0))&&(t.G?this.Gb():this.notifySubscribers(t.X,"beforeChange"),t.X=r,this.notifySubscribers(t.X,"spectate"),!t.G&&e&&this.notifySubscribers(t.X),this.qc&&this.qc()),i&&this.notifySubscribers(t.X,"awake"),n},xd:function(e,t){try{var n=e.Vc;return e.lb?n.call(e.lb):n()}finally{E.v.end(),t.Pb&&!e.G&&E.a.O(t.kb,r),e.ra=e.ka=!1}},w:function(e){var t=this[j];return(t.ka&&(e||!t.V)||t.G&&this.Xa())&&this.ha(),t.X},tb:function(e){E.R.fn.tb.call(this,e),this.mc=function(){return this[j].G||(this[j].ra?this.ha():this[j].ka=!1),this[j].X},this.Ja=function(e){this.oc(this[j].X),this[j].ka=!0,e&&(this[j].ra=!0),this.pc(this,!e)}},s:function(){var e=this[j];!e.G&&e.F&&E.a.O(e.F,function(e,t){t.s&&t.s()}),e.l&&e.Qb&&E.a.I.xb(e.l,e.Qb),e.F=hna,e.V=0,e.qa=!0,e.ra=!1,e.ka=!1,e.G=!1,e.l=hna,e.Sa=hna,e.Vc=hna,this.Mc||(e.lb=hna)}},L={Qa:function(e){var r=this,a=r[j];if(!a.qa&&a.G&&"change"==e){if(a.G=!1,a.ra||r.Xa())a.F=null,a.V=0,r.ha()&&r.Gb();else{var n=[];E.a.O(a.F,function(e,t){n[t.La]=e}),E.a.C(n,function(e,t){var n=a.F[e],i=r.Zc(n.da);i.La=t,i.Ma=n.Ma,a.F[e]=i}),r.Xa()&&r.ha()&&r.Gb()}a.qa||r.notifySubscribers(a.X,"awake")}},cb:function(e){var n=this[j];n.qa||"change"!=e||this.Wa("change")||(E.a.O(n.F,function(e,t){t.s&&(n.F[e]={da:t.da,La:t.La,Ma:t.Ma},t.s())}),n.G=!0,this.notifySubscribers(hna,"asleep"))},mb:function(){var e=this[j];return e.G&&(e.ra||this.Xa())&&this.ha(),E.R.fn.mb.call(this)}},H={Qa:function(e){"change"!=e&&"beforeChange"!=e||this.w()}};E.a.Ba&&E.a.setPrototypeOf(P,E.R.fn);var F,R,Y,V,U,W,q,B,$,z,G,K,Q,J,Z,X=E.sa.Na;function ee(i,r,a){if(a=a||new te,"object"!=typeof(i=r(i))||null===i||i===hna||i instanceof RegExp||i instanceof Date||i instanceof String||i instanceof Number||i instanceof Boolean)return i;var o=i instanceof Array?[]:{};return a.save(i,o),function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)t(n);"function"==typeof e.toJSON&&t("toJSON")}else for(n in e)t(n)}(i,function(e){var t=r(i[e]);switch(typeof t){case"boolean":case"number":case"string":case"function":o[e]=t;break;case"object":case"undefined":var n=a.get(t);o[e]=n!==hna?n:ee(t,r,a)}}),o}function te(){this.keys=[],this.values=[]}function ne(e){123===(e=E.a.Cb(e)).charCodeAt(0)&&(e=e.slice(1,-1));var t,n=[],i=(e+="\n,").match(Y),r=[],a=0;if(1<i.length){for(var o,s=0;o=i[s];++s){var l=o.charCodeAt(0);if(44===l){if(a<=0){n.push(t&&r.length?{key:t,value:r.join("")}:{unknown:t||r.join("")}),t=a=0,r=[];continue}}else if(58===l){if(!a&&!t&&1===r.length){t=r.pop();continue}}else{if(47===l&&1<o.length&&(47===o.charCodeAt(1)||42===o.charCodeAt(1)))continue;47===l&&s&&1<o.length?(l=i[s-1].match(V))&&!U[l[0]]&&(i=(e=e.substr(e.indexOf(o)+1)).match(Y),s=-1,o="/"):40===l||123===l||91===l?++a:41===l||125===l||93===l?--a:t||r.length||34!==l&&39!==l||(o=o.slice(1,-1))}r.push(o)}if(0<a)throw Error("Unbalanced parentheses, braces, or brackets")}return n}function ie(e){return 8==e.nodeType&&B.test(q?e.text:e.nodeValue)}function re(e){return 8==e.nodeType&&$.test(q?e.text:e.nodeValue)}function ae(e,t){for(var n=e,i=1,r=[];n=n.nextSibling;){if(re(n)&&(E.a.g.set(n,G,!0),0==--i))return r;r.push(n),ie(n)&&i++}if(!t)throw Error("Cannot find closing comment tag to match: "+e.nodeValue);return null}function oe(e,t){var n=ae(e,t);return n?0<n.length?n[n.length-1].nextSibling:e.nextSibling:null}function se(i,e){var r,a=Object.prototype.hasOwnProperty.call(Q,i)?Q[i]:K;a?a.subscribe(e):((a=Q[i]=new E.R).subscribe(e),function(e,n){le("getConfig",[e],function(t){t?le("loadComponent",[e,t],function(e){n(e,t)}):n(null,null)})}(i,function(e,t){var n=!(!t||!t.synchronous);J[i]={definition:e,Fd:n},delete Q[i],r||n?a.notifySubscribers(e):E.ma.yb(function(){a.notifySubscribers(e)})}),r=!0)}function le(t,n,i,r){var e=(r=r||E.i.loaders.slice(0)).shift();if(e){var a=e[t];if(a){var o=!1;if(a.apply(e,n.concat(function(e){o?i(null):null!==e?i(e):le(t,n,i,r)}))!==K&&(o=!0,!e.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.")}else le(t,n,i,r)}else i(null)}P[X]=E.o,E.Nc=function(e){return"function"==typeof e&&e[X]===P[X]},E.Ed=function(e){return E.Nc(e)&&e[j]&&e[j].vb},E.b("computed",E.o),E.b("dependentObservable",E.o),E.b("isComputed",E.Nc),E.b("isPureComputed",E.Ed),E.b("computed.fn",P),E.J(P,"peek",P.w),E.J(P,"dispose",P.s),E.J(P,"isActive",P.ja),E.J(P,"getDependenciesCount",P.pa),E.J(P,"getDependencies",P.Va),E.wb=function(e,t){return"function"==typeof e?E.o(e,t,{pure:!0}):((e=E.a.extend({},e)).pure=!0,E.o(e,t))},E.b("pureComputed",E.wb),E.$c=function(e){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return ee(e,function(e){for(var t=0;E.N(e)&&t<10;t++)e=e();return e})},E.toJSON=function(e,t,n){return e=E.$c(e),E.a.fc(e,t,n)},te.prototype={constructor:te,save:function(e,t){var n=E.a.A(this.keys,e);0<=n?this.values[n]=t:(this.keys.push(e),this.values.push(t))},get:function(e){return 0<=(e=E.a.A(this.keys,e))?this.values[e]:hna}},E.b("toJS",E.$c),E.b("toJSON",E.toJSON),E.Vd=function(i,e,r){function t(t){var e=E.wb(i,r).extend({Ga:"always"}),n=e.subscribe(function(e){e&&(n.s(),t(e))});return e.notifySubscribers(e.w()),n}return"function"!=typeof Promise||e?t(e.bind(r)):new Promise(t)},E.b("when",E.Vd),E.u={L:function(e){switch(E.a.P(e)){case"option":return!0===e.__ko__hasDomDataOptionValue__?E.a.g.get(e,E.f.options.Yb):E.a.W<=7?e.getAttributeNode("value")&&e.getAttributeNode("value").specified?e.value:e.text:e.value;case"select":return 0<=e.selectedIndex?E.u.L(e.options[e.selectedIndex]):hna;default:return e.value}},ya:function(e,t,n){switch(E.a.P(e)){case"option":"string"==typeof t?(E.a.g.set(e,E.f.options.Yb,hna),"__ko__hasDomDataOptionValue__"in e&&delete e.__ko__hasDomDataOptionValue__,e.value=t):(E.a.g.set(e,E.f.options.Yb,t),e.__ko__hasDomDataOptionValue__=!0,e.value="number"==typeof t?t:"");break;case"select":""!==t&&null!==t||(t=hna);for(var i,r=-1,a=0,o=e.options.length;a<o;++a)if((i=E.u.L(e.options[a]))==t||""===i&&t===hna){r=a;break}(n||0<=r||t===hna&&1<e.size)&&(e.selectedIndex=r,6===E.a.W&&E.a.setTimeout(function(){e.selectedIndex=r},0));break;default:null!==t&&t!==hna||(t=""),e.value=t}}},E.b("selectExtensions",E.u),E.b("selectExtensions.readValue",E.u.L),E.b("selectExtensions.writeValue",E.u.ya),E.m=(F=["true","false","null","undefined"],R=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,Y=RegExp("\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|`(?:\\\\.|[^`])*`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*\n|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,\"'`{}()/:[\\]]*[^\\s,\"'`{}()/:[\\]]|[^\\s]","g"),V=/[\])"'A-Za-z0-9_$]+$/,U={in:1,return:1,typeof:1},{Ra:[],va:W={},Zb:ne,ub:function(e,t){function r(e,t){var n;if(!l){var i=E.getBindingHandler(e);if(i&&i.preprocess&&!(t=i.preprocess(t,e,r)))return;(i=W[e])&&(n=t,i=n=!(0<=E.a.A(F,n))&&null!==(i=n.match(R))&&(i[1]?"Object("+i[1]+")"+i[2]:n)),i&&o.push("'"+("string"==typeof W[e]?W[e]:e)+"':function(_z){"+n+"=_z}")}s&&(t="function(){return "+t+" }"),a.push("'"+e+"':"+t)}var a=[],o=[],s=(t=t||{}).valueAccessors,l=t.bindingParams,n="string"==typeof e?ne(e):e;return E.a.C(n,function(e){r(e.key||e.unknown,e.value)}),o.length&&r("_ko_property_writers","{"+o.join(",")+" }"),a.join(",")},Hd:function(e,t){for(var n=0;n<e.length;n++)if(e[n].key==t)return!0;return!1},$a:function(e,t,n,i,r){e&&E.N(e)?!E.Ya(e)||r&&e.w()===i||e(i):(e=t.get("_ko_property_writers"))&&e[n]&&e[n](i)}}),E.b("expressionRewriting",E.m),E.b("expressionRewriting.bindingRewriteValidators",E.m.Ra),E.b("expressionRewriting.parseObjectLiteral",E.m.Zb),E.b("expressionRewriting.preProcessBindings",E.m.ub),E.b("expressionRewriting._twoWayBindings",E.m.va),E.b("jsonExpressionRewriting",E.m),E.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",E.m.ub),q=jna&&"\x3c!--test--\x3e"===jna.createComment("test").text,B=q?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,$=q?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,z={ul:!0,ol:!0},G="__ko_matchedEndComment__",E.h={ea:{},childNodes:function(e){return ie(e)?ae(e):e.childNodes},Ea:function(e){if(ie(e))for(var t=0,n=(e=E.h.childNodes(e)).length;t<n;t++)E.removeNode(e[t]);else E.a.Sb(e)},ua:function(e,t){if(ie(e)){E.h.Ea(e);for(var n=e.nextSibling,i=0,r=t.length;i<r;i++)n.parentNode.insertBefore(t[i],n)}else E.a.ua(e,t)},Uc:function(e,t){ie(e)?e.parentNode.insertBefore(t,e.nextSibling):e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)},Vb:function(e,t,n){n?ie(e)?e.parentNode.insertBefore(t,n.nextSibling):n.nextSibling?e.insertBefore(t,n.nextSibling):e.appendChild(t):E.h.Uc(e,t)},firstChild:function(e){if(ie(e))return!e.nextSibling||re(e.nextSibling)?null:e.nextSibling;if(e.firstChild&&re(e.firstChild))throw Error("Found invalid end comment, as the first child of "+e);return e.firstChild},nextSibling:function(e){if(ie(e)&&(e=oe(e)),e.nextSibling&&re(e.nextSibling)){var t=e.nextSibling;if(re(t)&&!E.a.g.get(t,G))throw Error("Found end comment without a matching opening comment, as child of "+e);return null}return e.nextSibling},Bd:ie,Ud:function(e){return(e=(q?e.text:e.nodeValue).match(B))?e[1]:null},Rc:function(e){if(z[E.a.P(e)]){var t=e.firstChild;if(t)do{if(1===t.nodeType){var n,i=null;if(n=t.firstChild)do{if(i)i.push(n);else if(ie(n)){var r=oe(n,!0);r?n=r:i=[n]}else re(n)&&(i=[n])}while(n=n.nextSibling);if(n=i)for(i=t.nextSibling,r=0;r<n.length;r++)i?e.insertBefore(n[r],i):e.appendChild(n[r])}}while(t=t.nextSibling)}}},E.b("virtualElements",E.h),E.b("virtualElements.allowedBindings",E.h.ea),E.b("virtualElements.emptyNode",E.h.Ea),E.b("virtualElements.insertAfter",E.h.Vb),E.b("virtualElements.prepend",E.h.Uc),E.b("virtualElements.setDomNodeChildren",E.h.ua),E.ga=function(){this.md={}},E.a.extend(E.ga.prototype,{nodeHasBindings:function(e){switch(e.nodeType){case 1:return null!=e.getAttribute("data-bind")||E.i.getComponentNameForNode(e);case 8:return E.h.Bd(e);default:return!1}},getBindings:function(e,t){var n=(n=this.getBindingsString(e,t))?this.parseBindingsString(n,t,e):null;return E.i.sc(n,e,t,!1)},getBindingAccessors:function(e,t){var n=(n=this.getBindingsString(e,t))?this.parseBindingsString(n,t,e,{valueAccessors:!0}):null;return E.i.sc(n,e,t,!0)},getBindingsString:function(e){switch(e.nodeType){case 1:return e.getAttribute("data-bind");case 8:return E.h.Ud(e);default:return null}},parseBindingsString:function(t,e,n,i){try{var r,a=this.md,o=t+(i&&i.valueAccessors||"");if(!(r=a[o])){var s,l="with($context){with($data||{}){return{"+E.m.ub(t,i)+"}}}";s=new Function("$context","$element",l),r=a[o]=s}return r(e,n)}catch(e){throw e.message="Unable to parse bindings.\nBindings value: "+t+"\nMessage: "+e.message,e}}}),E.ga.instance=new E.ga,E.b("bindingProvider",E.ga),function(){function i(e){var t=(e=E.a.g.get(e,y))&&e.M;t&&(e.M=null,t.Sc())}function r(e,t,n){this.node=e,this.xc=t,this.ib=[],this.T=!1,t.M||E.a.I.za(e,i),n&&n.M&&(n.M.ib.push(e),this.Kb=n)}function a(e){return function(){return e}}function f(e){return e()}function o(n){return E.a.Ha(E.v.K(n),function(e,t){return function(){return n()[t]}})}function p(e,t){return o(this.getBindings.bind(this,e,t))}function s(e,t){var n=E.h.firstChild(t);if(n){var i,r=E.ga.instance,a=r.preprocessNode;if(a){for(;i=n;)n=E.h.nextSibling(i),a.call(r,i);n=E.h.firstChild(t)}for(;i=n;)n=E.h.nextSibling(i),l(e,i)}E.j.Ga(t,E.j.T)}function l(e,t){var n=e,i=1===t.nodeType;i&&E.h.Rc(t),(i||E.ga.instance.nodeHasBindings(t))&&(n=u(t,null,e).bindingContextForDescendants),n&&!d[E.a.P(t)]&&s(n,t)}function u(r,e,t){var a,n=E.a.g.Tb(r,y,{}),i=n.gd;if(!e){if(i)throw Error("You cannot apply bindings multiple times to the same element.");n.gd=!0}if(i||(n.context=t),e&&"function"!=typeof e)a=e;else{var o=E.ga.instance,s=o.getBindingAccessors||p,l=E.$(function(){return(a=e?e(t,r):s.call(o,r,t))&&(t[m]&&t[m](),t[g]&&t[g]()),a},null,{l:r});a&&l.ja()||(l=null)}var u,c=t;if(a){function d(){return E.a.Ha(l?l():a,f)}var h=l?function(e){return function(){return f(l()[e])}}:function(e){return a[e]};d.get=function(e){return a[e]&&f(h(e))},d.has=function(e){return e in a},E.j.T in a&&E.j.subscribe(r,E.j.T,function(){var e=(0,a[E.j.T])();if(e){var t=E.h.childNodes(r);t.length&&e(t,E.Dc(t[0]))}}),E.j.oa in a&&(c=E.j.Bb(r,t),E.j.subscribe(r,E.j.oa,function(){var e=(0,a[E.j.oa])();e&&E.h.firstChild(r)&&e(r)})),n=function(i){var r=[],a={},o=[];return E.a.O(i,function t(e){if(!a[e]){var n=E.getBindingHandler(e);n&&(n.after&&(o.push(e),E.a.C(n.after,function(e){if(i[e]){if(-1!==E.a.A(o,e))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+o.join(", "));t(e)}}),o.length--),r.push({key:e,Lc:n})),a[e]=!0}}),r}(a),E.a.C(n,function(e){var t=e.Lc.init,n=e.Lc.update,i=e.key;if(8===r.nodeType&&!E.h.ea[i])throw Error("The binding '"+i+"' cannot be used with virtual elements");try{"function"==typeof t&&E.v.K(function(){var e=t(r,h(i),d,c.$data,c);if(e&&e.controlsDescendantBindings){if(u!==hna)throw Error("Multiple bindings ("+u+" and "+i+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");u=i}}),"function"==typeof n&&E.$(function(){n(r,h(i),d,c.$data,c)},null,{l:r})}catch(e){throw e.message='Unable to process binding "'+i+": "+a[i]+'"\nMessage: '+e.message,e}})}return{shouldBindDescendants:n=u===hna,bindingContextForDescendants:n&&c}}function c(e,t){return e&&e instanceof E.fa?e:new E.fa(e,hna,hna,t)}var m=E.a.Da("_subscribable"),h=E.a.Da("_ancestorBindingInfo"),g=E.a.Da("_dataDependency");E.f={};var d={script:!0,textarea:!0,template:!0};E.getBindingHandler=func

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。