mailcatcher-ng 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71c31256fbd4bdc76749770fe321db1351839f23fd01d1ef2ab6f21382da774b
4
- data.tar.gz: 7f77c22a8dd2e3b7cea54c6ec415af7f408ad39588e48772cffaec625dd8fd15
3
+ metadata.gz: 94ba0ec31d08bb9451404c14a7da44e9915e5fcb61d979b78a194bb3554cb5b9
4
+ data.tar.gz: f4c1bd7e99e918867538f43b8de1590e6b7430d581f23479df7e8324b6da0abf
5
5
  SHA512:
6
- metadata.gz: 3e47f2938af045fd8da6b1e7eacb1a0552a5076bd5415c1079db271335271fc1299c3c47e3dfc78b9eaf1383699f339c1b7f674ff3169bdf65f270666c819255
7
- data.tar.gz: c49f21a836aae6a35f84568997ddc29f4c619b3cebead68421a882b4ab3ff5ae4685f39e7a69a0473840d83831f88b55b01b4cbe0af5399981f04663319e65f5
6
+ metadata.gz: 3cdd308d86e8005320a6837bf89c573593c33965eeb9908b871f1361303c2c65e4cff1b6dc7a3baf7dc8f6c80030bebe5bca325bde1e7b28a79cd21692b932bd
7
+ data.tar.gz: 8fa8a3b1220b87a4f0d7b011c2b84b5033eb513648a4b25787b0367849e08bd07ce0a2d3f977db717c4007724c04b37e9ed249d67cdd5f74c307d513cec21f64
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MailCatcher
4
- VERSION = '1.3.1'
4
+ VERSION = '1.3.2'
5
5
  end
@@ -324,6 +324,37 @@ main {
324
324
  text-align: center;
325
325
  }
326
326
 
327
+ #messages th.sortable {
328
+ cursor: pointer;
329
+ user-select: none;
330
+ display: flex;
331
+ align-items: center;
332
+ gap: 6px;
333
+ transition: background-color 0.2s, color 0.2s;
334
+ }
335
+
336
+ #messages th.sortable:hover {
337
+ background-color: #f0f0f0;
338
+ color: #3f3f3f;
339
+ }
340
+
341
+ #messages th.sortable .sort-icon {
342
+ width: 14px;
343
+ height: 14px;
344
+ flex-shrink: 0;
345
+ opacity: 0.4;
346
+ transition: opacity 0.2s;
347
+ }
348
+
349
+ #messages th.sortable:hover .sort-icon {
350
+ opacity: 0.6;
351
+ }
352
+
353
+ #messages th.sortable.active .sort-icon {
354
+ opacity: 1;
355
+ color: #2196F3;
356
+ }
357
+
327
358
  #messages tbody {
328
359
  overflow-y: auto;
329
360
  flex: 1;
@@ -8,9 +8,9 @@
8
8
  *
9
9
  * Date: 2023-08-28T13:37Z
10
10
  */
11
- !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t,n){var r,i,o=(n=n||xe).createElement("script");if(o.text=e,t)for(r in we)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?fe[pe.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!ve(e)&&!be(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function a(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function s(e,t,n){return ve(t)?Se.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?Se.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Se.grep(e,function(e){return de.call(t,e)>-1!==n}):Se.filter(t,e,n)}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return Se.each(e.match(Ie)||[],function(e,n){t[n]=!0}),t}function c(e){return e}function d(e){throw e}function f(e,t,n,r){var i;try{e&&ve(i=e.promise)?i.call(e).done(t).fail(n):e&&ve(i=e.then)?i.call(e,t,n):t.apply(undefined,[e].slice(r))}catch(e){n.apply(undefined,[e])}}function p(){xe.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),Se.ready()}function h(e,t){return t.toUpperCase()}function g(e){return e.replace(Ue,"ms-").replace(Xe,h)}function m(){this.expando=Se.expando+m.uid++}function y(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Je.test(e)?JSON.parse(e):e)}function v(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(Ge,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=y(n)}catch(i){}Ye.set(e,t,n)}else n=undefined;return n}function b(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return Se.css(e,t,"")},u=s(),l=n&&n[3]||(Se.cssNumber[t]?"":"px"),c=e.nodeType&&(Se.cssNumber[t]||"px"!==l&&+u)&&Ze.exec(Se.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)Se.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,Se.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function x(e){var t,n=e.ownerDocument,r=e.nodeName,i=ot[r];return i||(t=n.body.appendChild(n.createElement(r)),i=Se.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ot[r]=i,i)}function w(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Ve.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&it(r)&&(i[o]=x(r))):"none"!==n&&(i[o]="none",Ve.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function T(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&o(e,t)?Se.merge([e],n):n}function C(e,t){for(var n=0,r=e.length;n<r;n++)Ve.set(e[n],"globalEval",!t||Ve.get(t[n],"globalEval"))}function S(e,t,n,i,o){for(var a,s,u,l,c,d,f=t.createDocumentFragment(),p=[],h=0,g=e.length;h<g;h++)if((a=e[h])||0===a)if("object"===r(a))Se.merge(p,a.nodeType?[a]:a);else if(ft.test(a)){for(s=s||f.appendChild(t.createElement("div")),u=(lt.exec(a)||["",""])[1].toLowerCase(),l=dt[u]||dt._default,s.innerHTML=l[1]+Se.htmlPrefilter(a)+l[2],d=l[0];d--;)s=s.lastChild;Se.merge(p,s.childNodes),(s=f.firstChild).textContent=""}else p.push(t.createTextNode(a));for(f.textContent="",h=0;a=p[h++];)if(i&&Se.inArray(a,i)>-1)o&&o.push(a);else if(c=nt(a),s=T(f.appendChild(a),"script"),c&&C(s),n)for(d=0;a=s[d++];)ct.test(a.type||"")&&n.push(a);return f}function k(){return!0}function E(){return!1}function $(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=undefined),t)$(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=undefined):null==i&&("string"==typeof n?(i=r,r=undefined):(i=r,r=n,n=undefined)),!1===i)i=E;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return Se().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Se.guid++)),e.each(function(){Se.event.add(this,t,i,r,n)})}function A(e,t,n){n?(Ve.set(e,t,!1),Se.event.add(e,t,{namespace:!1,handler:function(e){var n,r=Ve.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(Se.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=ue.call(arguments),Ve.set(this,t,r),this[t](),n=Ve.get(this,t),Ve.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(Ve.set(this,t,Se.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=k)}})):Ve.get(e,t)===undefined&&Se.event.add(e,t,k)}function D(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")&&Se(e).children("tbody")[0]||e}function j(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function M(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function N(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Ve.hasData(e)&&(s=Ve.get(e).events))for(i in Ve.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)Se.event.add(t,i,s[i][n]);Ye.hasData(e)&&(o=Ye.access(e),a=Se.extend({},o),Ye.set(t,a))}}function q(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ut.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function L(e,t,r,i){t=le(t);var o,a,s,u,l,c,d=0,f=e.length,p=f-1,h=t[0],g=ve(h);if(g||f>1&&"string"==typeof h&&!ye.checkClone&&gt.test(h))return e.each(function(n){var o=e.eq(n);g&&(t[0]=h.call(this,n,o.html())),L(o,t,r,i)});if(f&&(a=(o=S(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=a),a||i)){for(u=(s=Se.map(T(o,"script"),j)).length;d<f;d++)l=o,d!==p&&(l=Se.clone(l,!0,!0),u&&Se.merge(s,T(l,"script"))),r.call(e[d],l,d);if(u)for(c=s[s.length-1].ownerDocument,Se.map(s,M),d=0;d<u;d++)l=s[d],ct.test(l.type||"")&&!Ve.access(l,"globalEval")&&Se.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?Se._evalUrl&&!l.noModule&&Se._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):n(l.textContent.replace(mt,""),l,c))}return e}function H(e,t,n){for(var r,i=t?Se.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||Se.cleanData(T(r)),r.parentNode&&(n&&nt(r)&&C(T(r,"script")),r.parentNode.removeChild(r));return e}function O(e,t,n){var r,i,o,a,s=vt.test(t),u=e.style;return(n=n||bt(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(De,"$1")||undefined),""!==a||nt(e)||(a=Se.style(e,t)),!ye.pixelBoxStyles()&&yt.test(a)&&wt.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),a!==undefined?a+"":a}function R(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function P(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Tt.length;n--;)if((e=Tt[n]+t)in Ct)return e}function W(e){var t=Se.cssProps[e]||St[e];return t||(e in Ct?e:St[e]=P(e)||e)}function F(e,t,n){var r=Ze.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function I(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=Se.css(e,n+et[a],!0,i)),r?("content"===n&&(u-=Se.css(e,"padding"+et[a],!0,i)),"margin"!==n&&(u-=Se.css(e,"border"+et[a]+"Width",!0,i))):(u+=Se.css(e,"padding"+et[a],!0,i),"padding"!==n?u+=Se.css(e,"border"+et[a]+"Width",!0,i):s+=Se.css(e,"border"+et[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function B(e,t,n){var r=bt(e),i=(!ye.boxSizingReliable()||n)&&"border-box"===Se.css(e,"boxSizing",!1,r),a=i,s=O(e,t,r),u="offset"+t[0].toUpperCase()+t.slice(1);if(yt.test(s)){if(!n)return s;s="auto"}return(!ye.boxSizingReliable()&&i||!ye.reliableTrDimensions()&&o(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===Se.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===Se.css(e,"boxSizing",!1,r),(a=u in e)&&(s=e[u])),(s=parseFloat(s)||0)+I(e,t,n||(i?"border":"content"),a,r,s)+"px"}function _(e,t,n,r,i){return new _.prototype.init(e,t,n,r,i)}function z(){Dt&&(!1===xe.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(z):e.setTimeout(z,Se.fx.interval),Se.fx.tick())}function U(){return e.setTimeout(function(){At=undefined}),At=Date.now()}function X(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=et[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Q(e,t,n){for(var r,i=(J.tweeners[t]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function V(e,t,n){var r,i,o,a,s,u,l,c,d="width"in t||"height"in t,f=this,p={},h=e.style,g=e.nodeType&&it(e),m=Ve.get(e,"fxshow");for(r in n.queue||(null==(a=Se._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,Se.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],jt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||m[r]===undefined)continue;g=!0}p[r]=m&&m[r]||Se.style(e,r)}if((u=!Se.isEmptyObject(t))||!Se.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=m&&m.display)&&(l=Ve.get(e,"display")),"none"===(c=Se.css(e,"display"))&&(l?c=l:(w([e],!0),l=e.style.display||l,c=Se.css(e,"display"),w([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===Se.css(e,"float")&&(u||(f.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,p)u||(m?"hidden"in m&&(g=m.hidden):m=Ve.access(e,"fxshow",{display:l}),o&&(m.hidden=!g),g&&w([e],!0),f.done(function(){for(r in g||w([e]),Ve.remove(e,"fxshow"),p)Se.style(e,r,p[r])})),u=Q(g?m[r]:0,r,f),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}function Y(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=g(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Se.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function J(e,t,n){var r,i,o=0,a=J.prefilters.length,s=Se.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=At||U(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:Se.extend({},t),opts:Se.extend(!0,{specialEasing:{},easing:Se.easing._default},n),originalProperties:t,originalOptions:n,startTime:At||U(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Se.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(Y(c,l.opts.specialEasing);o<a;o++)if(r=J.prefilters[o].call(l,e,c,l.opts))return ve(r.stop)&&(Se._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return Se.map(c,Q,l),ve(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),Se.fx.timer(Se.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function G(e){return(e.match(Ie)||[]).join(" ")}function K(e){return e.getAttribute&&e.getAttribute("class")||""}function Z(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Ie)||[]}function ee(e,t,n,i){var o;if(Array.isArray(t))Se.each(t,function(t,r){n||Bt.test(e)?i(e,r):ee(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==r(t))i(e,t);else for(o in t)ee(e+"["+o+"]",t[o],n,i)}function te(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Ie)||[];if(ve(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ne(e,t,n,r){function i(s){var u;return o[s]=!0,Se.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===en;return i(t.dataTypes[0])||!o["*"]&&i("*")}function re(e,t){var n,r,i=Se.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&Se.extend(!0,e,r),e}function ie(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),r===undefined&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function oe(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var ae=[],se=Object.getPrototypeOf,ue=ae.slice,le=ae.flat?function(e){return ae.flat.call(e)}:function(e){return ae.concat.apply([],e)},ce=ae.push,de=ae.indexOf,fe={},pe=fe.toString,he=fe.hasOwnProperty,ge=he.toString,me=ge.call(Object),ye={},ve=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},be=function(e){return null!=e&&e===e.window},xe=e.document,we={type:!0,src:!0,nonce:!0,noModule:!0},Te="3.7.1",Ce=/HTML$/i,Se=function(e,t){return new Se.fn.init(e,t)};Se.fn=Se.prototype={jquery:Te,constructor:Se,length:0,toArray:function(){return ue.call(this)},get:function(e){return null==e?ue.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Se.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Se.each(this,e)},map:function(e){return this.pushStack(Se.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ue.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Se.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(Se.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:ae.sort,splice:ae.splice},Se.extend=Se.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||ve(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(Se.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||Se.isPlainObject(n)?n:{},i=!1,a[t]=Se.extend(l,o,r)):r!==undefined&&(a[t]=r));return a},Se.extend({expando:"jQuery"+(Te+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]"!==pe.call(e))&&(!(t=se(e))||"function"==typeof(n=he.call(t,"constructor")&&t.constructor)&&ge.call(n)===me)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){n(e,{nonce:t&&t.nonce},r)},each:function(e,t){var n,r=0;if(i(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=Se.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?Se.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Ce.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(i(e))for(r=e.length;a<r;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return le(s)},guid:1,support:ye}),"function"==typeof Symbol&&(Se.fn[Symbol.iterator]=ae[Symbol.iterator]),Se.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){fe["[object "+t+"]"]=t.toLowerCase()});var ke=ae.pop,Ee=ae.sort,$e=ae.splice,Ae="[\\x20\\t\\r\\n\\f]",De=new RegExp("^"+Ae+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ae+"+$","g");Se.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var je=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;Se.escapeSelector=function(e){return(e+"").replace(je,a)};var Me=xe,Ne=ce;!function(){function t(){try{return j.activeElement}catch(e){}}function n(e,t,r,i){var o,a,s,u,l,c,p,m=t&&t.ownerDocument,y=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return r;if(!i&&(f(t),t=t||j,N)){if(11!==y&&(l=re.exec(e)))if(o=l[1]){if(9===y){if(!(s=t.getElementById(o)))return r;if(s.id===o)return H.call(r,s),r}else if(m&&(s=m.getElementById(o))&&n.contains(t,s)&&s.id===o)return H.call(r,s),r}else{if(l[2])return H.apply(r,t.getElementsByTagName(e)),r;if((o=l[3])&&t.getElementsByClassName)return H.apply(r,t.getElementsByClassName(o)),r}if(!(B[e+" "]||q&&q.test(e))){if(p=e,m=t,1===y&&(G.test(e)||J.test(e))){for((m=ie.test(e)&&d(t.parentNode)||t)==t&&ye.scope||((u=t.getAttribute("id"))?u=Se.escapeSelector(u):t.setAttribute("id",u=O)),a=(c=h(e)).length;a--;)c[a]=(u?"#"+u:":scope")+" "+g(c[a]);p=c.join(",")}try{return H.apply(r,m.querySelectorAll(p)),r}catch(v){B(e,!0)}finally{u===O&&t.removeAttribute("id")}}}return S(e.replace(De,"$1"),t,r,i)}function r(){function e(n,r){return t.push(n+" ")>E.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function i(e){return e[O]=!0,e}function a(e){var t=j.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e){return function(t){return o(t,"input")&&t.type===e}}function u(e){return function(t){return(o(t,"input")||o(t,"button"))&&t.type===e}}function l(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return i(function(t){return t=+t,i(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(e){var t,r=e?e.ownerDocument||e:Me;return r!=j&&9===r.nodeType&&r.documentElement?(M=(j=r).documentElement,N=!Se.isXMLDoc(j),L=M.matches||M.webkitMatchesSelector||M.msMatchesSelector,M.msMatchesSelector&&Me!=j&&(t=j.defaultView)&&t.top!==t&&t.addEventListener("unload",le),ye.getById=a(function(e){return M.appendChild(e).id=Se.expando,!j.getElementsByName||!j.getElementsByName(Se.expando).length}),ye.disconnectedMatch=a(function(e){return L.call(e,"*")}),ye.scope=a(function(){return j.querySelectorAll(":scope")}),ye.cssHas=a(function(){try{return j.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),ye.getById?(E.filter.ID=function(e){var t=e.replace(oe,se);return function(e){return e.getAttribute("id")===t}},E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n=t.getElementById(e);return n?[n]:[]}}):(E.filter.ID=function(e){var t=e.replace(oe,se);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),E.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},E.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&N)return t.getElementsByClassName(e)},q=[],a(function(e){var t;M.appendChild(e).innerHTML="<a id='"+O+"' href='' disabled='disabled'></a><select id='"+O+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||q.push("\\["+Ae+"*(?:value|"+z+")"),e.querySelectorAll("[id~="+O+"-]").length||q.push("~="),e.querySelectorAll("a#"+O+"+*").length||q.push(".#.+[+~]"),e.querySelectorAll(":checked").length||q.push(":checked"),(t=j.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),M.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),(t=j.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||q.push("\\["+Ae+"*name"+Ae+"*="+Ae+"*(?:''|\"\")")}),ye.cssHas||q.push(":has"),q=q.length&&new RegExp(q.join("|")),_=function(e,t){if(e===t)return D=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!ye.sortDetached&&t.compareDocumentPosition(e)===r?e===j||e.ownerDocument==Me&&n.contains(Me,e)?-1:t===j||t.ownerDocument==Me&&n.contains(Me,t)?1:A?de.call(A,e)-de.call(A,t):0:4&r?-1:1)},j):j}function p(){}function h(e,t){var r,i,o,a,s,u,l,c=F[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=E.preFilter;s;){for(a in r&&!(i=Y.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=J.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(De," ")}),s=s.slice(r.length)),E.filter)!(i=ee[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return t?s.length:s?n.error(e):F(e,u).slice(0)}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function m(e,t,n){var r=t.dir,i=t.next,a=i||r,s=n&&"parentNode"===a,u=P++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,l){var c,d,f=[R,u];if(l){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(d=t[O]||(t[O]={}),i&&o(t,i))t=t[r]||t;else{if((c=d[a])&&c[0]===R&&c[1]===u)return f[2]=c[2];if(d[a]=f,f[2]=e(t,n,l))return!0}return!1}}function y(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function v(e,t,r){for(var i=0,o=t.length;i<o;i++)n(e,t[i],r);return r}function b(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function x(e,t,n,r,o,a){return r&&!r[O]&&(r=x(r)),o&&!o[O]&&(o=x(o,a)),i(function(i,a,s,u){var l,c,d,f,p=[],h=[],g=a.length,m=i||v(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?m:b(m,p,e,s,u);if(n?n(y,f=o||(i?e:g||r)?[]:a,s,u):f=y,r)for(l=b(f,h),r(l,[],s,u),c=l.length;c--;)(d=l[c])&&(f[h[c]]=!(y[h[c]]=d));if(i){if(o||e){if(o){for(l=[],c=f.length;c--;)(d=f[c])&&l.push(y[c]=d);o(null,f=[],l,u)}for(c=f.length;c--;)(d=f[c])&&(l=o?de.call(i,d):p[c])>-1&&(i[l]=!(a[l]=d))}}else f=b(f===a?f.splice(g,f.length):f),o?o(null,a,f,u):H.apply(a,f)})}function w(e){for(var t,n,r,i=e.length,o=E.relative[e[0].type],a=o||E.relative[" "],s=o?1:0,u=m(function(e){return e===t},a,!0),l=m(function(e){return de.call(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!=$)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=E.relative[e[s].type])c=[m(y(c),n)];else{if((n=E.filter[e[s].type].apply(null,e[s].matches))[O]){for(r=++s;r<i&&!E.relative[e[r].type];r++);return x(s>1&&y(c),s>1&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(De,"$1"),n,s<r&&w(e.slice(s,r)),r<i&&w(e=e.slice(r)),r<i&&g(e))}c.push(n)}return y(c)}function T(e,t){var n=t.length>0,r=e.length>0,o=function(i,o,a,s,u){var l,c,d,p=0,h="0",g=i&&[],m=[],y=$,v=i||r&&E.find.TAG("*",u),x=R+=null==y?1:Math.random()||.1,w=v.length;for(u&&($=o==j||o||u);h!==w&&null!=(l=v[h]);h++){if(r&&l){for(c=0,o||l.ownerDocument==j||(f(l),a=!N);d=e[c++];)if(d(l,o||j,a)){H.call(s,l);break}u&&(R=x)}n&&((l=!d&&l)&&p--,i&&g.push(l))}if(p+=h,n&&h!==p){for(c=0;d=t[c++];)d(g,m,o,a);if(i){if(p>0)for(;h--;)g[h]||m[h]||(m[h]=ke.call(s));m=b(m)}H.apply(s,m),u&&!i&&m.length>0&&p+t.length>1&&Se.uniqueSort(s)}return u&&(R=x,$=y),g};return n?i(o):o}function C(e,t){var n,r=[],i=[],o=I[e+" "];if(!o){for(t||(t=h(e)),n=t.length;n--;)(o=w(t[n]))[O]?r.push(o):i.push(o);(o=I(e,T(i,r))).selector=e}return o}function S(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if((o=c[0]=c[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&N&&E.relative[o[1].type]){if(!(t=(E.find.ID(a.matches[0].replace(oe,se),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=ee.needsContext.test(e)?0:o.length;i--&&(a=o[i],!E.relative[s=a.type]);)if((u=E.find[s])&&(r=u(a.matches[0].replace(oe,se),ie.test(o[0].type)&&d(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return H.apply(n,r),n;break}}return(l||C(e,c))(r,t,!N,n,!t||ie.test(e)&&d(t.parentNode)||t),n}var k,E,$,A,D,j,M,N,q,L,H=Ne,O=Se.expando,R=0,P=0,W=r(),F=r(),I=r(),B=r(),_=function(e,t){return e===t&&(D=!0),0},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",U="(?:\\\\[\\da-fA-F]{1,6}"+Ae+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",X="\\["+Ae+"*("+U+")(?:"+Ae+"*([*^$|!~]?=)"+Ae+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+U+"))|)"+Ae+"*\\]",Q=":("+U+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+X+")*)|.*)\\)|)",V=new RegExp(Ae+"+","g"),Y=new RegExp("^"+Ae+"*,"+Ae+"*"),J=new RegExp("^"+Ae+"*([>+~]|"+Ae+")"+Ae+"*"),G=new RegExp(Ae+"|>"),K=new RegExp(Q),Z=new RegExp("^"+U+"$"),ee={ID:new RegExp("^#("+U+")"),CLASS:new RegExp("^\\.("+U+")"),TAG:new RegExp("^("+U+"|[*])"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ae+"*(even|odd|(([+-]|)(\\d*)n|)"+Ae+"*(?:([+-]|)"+Ae+"*(\\d+)|))"+Ae+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+Ae+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ae+"*((?:-\\d)?\\d*)"+Ae+"*\\)|)(?=[^-]|$)","i")},te=/^(?:input|select|textarea|button)$/i,ne=/^h\d$/i,re=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ie=/[+~]/,oe=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ae+"?|\\\\([^\\r\\n\\f])","g"),se=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},le=function(){f()},ce=m(function(e){return!0===e.disabled&&o(e,"fieldset")},{dir:"parentNode",next:"legend"});try{H.apply(ae=ue.call(Me.childNodes),Me.childNodes),ae[Me.childNodes.length].nodeType}catch(fe){H={apply:function(e,t){Ne.apply(e,ue.call(t))},call:function(e){Ne.apply(e,ue.call(arguments,1))}}}for(k in n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if(f(e),N&&!B[t+" "]&&(!q||!q.test(t)))try{var r=L.call(e,t);if(r||ye.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(fe){B(t,!0)}return n(t,j,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!=j&&f(e),Se.contains(e,t)},n.attr=function(e,t){(e.ownerDocument||e)!=j&&f(e);var n=E.attrHandle[t.toLowerCase()],r=n&&he.call(E.attrHandle,t.toLowerCase())?n(e,t,!N):undefined;return r!==undefined?r:e.getAttribute(t)},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(D=!ye.sortStable,A=!ye.sortStable&&ue.call(e,0),Ee.call(e,_),D){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)$e.call(e,n[r],1)}return A=null,e},Se.fn.uniqueSort=function(){return this.pushStack(Se.uniqueSort(ue.apply(this)))},(E=Se.expr={cacheLength:50,createPseudo:i,match:ee,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(oe,se),e[3]=(e[3]||e[4]||e[5]||"").replace(oe,se),"~="===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]||n.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]&&n.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ee.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=h(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(oe,se).toLowerCase();return"*"===e?function(){return!0}:function(e){return o(e,t)}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+Ae+")"+e+"("+Ae+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i){var o=n.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o.replace(V," ")+" ").indexOf(r)>-1:"|="===t&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),s="last"!==e.slice(-4),u="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,d,f,p,h,g=a!==s?"nextSibling":"previousSibling",m=t.parentNode,y=u&&t.nodeName.toLowerCase(),v=!l&&!u,b=!1;if(m){if(a){for(;g;){for(f=t;f=f[g];)if(u?o(f,y):1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&v){for(b=(p=(c=(d=m[O]||(m[O]={}))[e]||[])[0]===R&&c[1])&&c[2],f=p&&m.childNodes[p];f=++p&&f&&f[g]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){d[e]=[R,p,b];break}}else if(v&&(b=p=(c=(d=t[O]||(t[O]={}))[e]||[])[0]===R&&c[1]),!1===b)for(;(f=++p&&f&&f[g]||(b=p=0)||h.pop())&&((u?!o(f,y):1!==f.nodeType)||!++b||(v&&((d=f[O]||(f[O]={}))[e]=[R,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var r,o=E.pseudos[e]||E.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return o[O]?o(t):o.length>1?(r=[e,e,"",t],E.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=de.call(e,i[a])]=!(n[r]=i[a])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=C(e.replace(De,"$1"));return r[O]?i(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(t){return n(e,t).length>0}}),contains:i(function(e){return e=e.replace(oe,se),function(t){return(t.textContent||Se.text(t)).indexOf(e)>-1}}),lang:i(function(e){return Z.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(oe,se).toLowerCase(),function(t){var n;do{if(n=N?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===M},focus:function(e){return e===t()&&j.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:l(!1),disabled:l(!0),checked:function(e){return o(e,"input")&&!!e.checked||o(e,"option")&&!!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!E.pseudos.empty(e)},header:function(e){return ne.test(e.nodeName)},input:function(e){return te.test(e.nodeName)},button:function(e){return o(e,"input")&&"button"===e.type||o(e,"button")},
12
- text:function(e){var t;return o(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=E.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[k]=s(k);for(k in{submit:!0,reset:!0})E.pseudos[k]=u(k);p.prototype=E.filters=E.pseudos,E.setFilters=new p,ye.sortStable=O.split("").sort(_).join("")===O,f(),ye.sortDetached=a(function(e){return 1&e.compareDocumentPosition(j.createElement("fieldset"))}),Se.find=n,Se.expr[":"]=Se.expr.pseudos,Se.unique=Se.uniqueSort,n.compile=C,n.select=S,n.setDocument=f,n.tokenize=h,n.escape=Se.escapeSelector,n.getText=Se.text,n.isXML=Se.isXMLDoc,n.selectors=Se.expr,n.support=Se.support,n.uniqueSort=Se.uniqueSort}();var qe=function(e,t,n){for(var r=[],i=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&Se(e).is(n))break;r.push(e)}return r},Le=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},He=Se.expr.match.needsContext,Oe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Se.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Se.find.matchesSelector(r,e)?[r]:[]:Se.find.matches(e,Se.grep(t,function(e){return 1===e.nodeType}))},Se.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(Se(e).filter(function(){for(t=0;t<r;t++)if(Se.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)Se.find(e,i[t],n);return r>1?Se.uniqueSort(n):n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&He.test(e)?Se(e):e||[],!1).length}});var Re,Pe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Se.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Re,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Pe.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Se?t[0]:t,Se.merge(this,Se.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:xe,!0)),Oe.test(r[1])&&Se.isPlainObject(t))for(r in t)ve(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=xe.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ve(e)?n.ready!==undefined?n.ready(e):e(Se):Se.makeArray(e,this)}).prototype=Se.fn,Re=Se(xe);var We=/^(?:parents|prev(?:Until|All))/,Fe={children:!0,contents:!0,next:!0,prev:!0};Se.fn.extend({has:function(e){var t=Se(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Se.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&Se(e);if(!He.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Se.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?Se.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(Se(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Se.uniqueSort(Se.merge(this.get(),Se(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Se.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return qe(e,"parentNode")},parentsUntil:function(e,t,n){return qe(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return qe(e,"nextSibling")},prevAll:function(e){return qe(e,"previousSibling")},nextUntil:function(e,t,n){return qe(e,"nextSibling",n)},prevUntil:function(e,t,n){return qe(e,"previousSibling",n)},siblings:function(e){return Le((e.parentNode||{}).firstChild,e)},children:function(e){return Le(e.firstChild)},contents:function(e){return null!=e.contentDocument&&se(e.contentDocument)?e.contentDocument:(o(e,"template")&&(e=e.content||e),Se.merge([],e.childNodes))}},function(e,t){Se.fn[e]=function(n,r){var i=Se.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=Se.filter(r,i)),this.length>1&&(Fe[e]||Se.uniqueSort(i),We.test(e)&&i.reverse()),this.pushStack(i)}});var Ie=/[^\x20\t\r\n\f]+/g;Se.Callbacks=function(e){e="string"==typeof e?l(e):Se.extend({},e);var t,n,i,o,a=[],s=[],u=-1,c=function(){for(o=o||e.once,i=t=!0;s.length;u=-1)for(n=s.shift();++u<a.length;)!1===a[u].apply(n[0],n[1])&&e.stopOnFalse&&(u=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},d={add:function(){return a&&(n&&!t&&(u=a.length-1,s.push(n)),function i(t){Se.each(t,function(t,n){ve(n)?e.unique&&d.has(n)||a.push(n):n&&n.length&&"string"!==r(n)&&i(n)})}(arguments),n&&!t&&c()),this},remove:function(){return Se.each(arguments,function(e,t){for(var n;(n=Se.inArray(t,a,n))>-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?Se.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=s=[],n||t||(a=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},Se.extend({Deferred:function(t){var n=[["notify","progress",Se.Callbacks("memory"),Se.Callbacks("memory"),2],["resolve","done",Se.Callbacks("once memory"),Se.Callbacks("once memory"),0,"resolved"],["reject","fail",Se.Callbacks("once memory"),Se.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return Se.Deferred(function(t){Se.each(n,function(n,r){var i=ve(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&ve(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<a)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,ve(l)?i?l.call(e,o(a,n,c,i),o(a,n,d,i)):(a++,l.call(e,o(a,n,c,i),o(a,n,d,i),o(a,n,c,n.notifyWith))):(r!==c&&(s=undefined,u=[e]),(i||n.resolveWith)(s,u))}},f=i?l:function(){try{l()}catch(e){Se.Deferred.exceptionHook&&Se.Deferred.exceptionHook(e,f.error),t+1>=a&&(r!==d&&(s=undefined,u=[e]),n.rejectWith(s,u))}};t?f():(Se.Deferred.getErrorHook?f.error=Se.Deferred.getErrorHook():Se.Deferred.getStackHook&&(f.error=Se.Deferred.getStackHook()),e.setTimeout(f))}}var a=0;return Se.Deferred(function(e){n[0][3].add(o(0,e,ve(i)?i:c,e.notifyWith)),n[1][3].add(o(0,e,ve(t)?t:c)),n[2][3].add(o(0,e,ve(r)?r:d))}).promise()},promise:function(e){return null!=e?Se.extend(e,i):i}},o={};return Se.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?undefined:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=ue.call(arguments),o=Se.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?ue.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(f(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||ve(i[n]&&i[n].then)))return o.then();for(;n--;)f(i[n],a(n),o.reject);return o.promise()}});var Be=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Se.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Be.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},Se.readyException=function(t){e.setTimeout(function(){throw t})};var _e=Se.Deferred();Se.fn.ready=function(e){return _e.then(e)["catch"](function(e){Se.readyException(e)}),this},Se.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Se.readyWait:Se.isReady)||(Se.isReady=!0,!0!==e&&--Se.readyWait>0||_e.resolveWith(xe,[Se]))}}),Se.ready.then=_e.then,"complete"===xe.readyState||"loading"!==xe.readyState&&!xe.documentElement.doScroll?e.setTimeout(Se.ready):(xe.addEventListener("DOMContentLoaded",p),e.addEventListener("load",p));var ze=function(e,t,n,i,o,a,s){var u=0,l=e.length,c=null==n;if("object"===r(n))for(u in o=!0,n)ze(e,t,u,n[u],!0,a,s);else if(i!==undefined&&(o=!0,ve(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(Se(e),n)})),t))for(;u<l;u++)t(e[u],n,s?i:i.call(e[u],u,t(e[u],n)));return o?e:c?t.call(e):l?t(e[0],n):a},Ue=/^-ms-/,Xe=/-([a-z])/g,Qe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};m.uid=1,m.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Qe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[g(t)]=n;else for(r in t)i[g(r)]=t[r];return i},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][g(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(g):(t=g(t))in r?[t]:t.match(Ie)||[]).length;for(;n--;)delete r[t[n]]}(t===undefined||Se.isEmptyObject(r))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!Se.isEmptyObject(t)}};var Ve=new m,Ye=new m,Je=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ge=/[A-Z]/g;Se.extend({hasData:function(e){return Ye.hasData(e)||Ve.hasData(e)},data:function(e,t,n){return Ye.access(e,t,n)},removeData:function(e,t){Ye.remove(e,t)},_data:function(e,t,n){return Ve.access(e,t,n)},_removeData:function(e,t){Ve.remove(e,t)}}),Se.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(e===undefined){if(this.length&&(i=Ye.get(o),1===o.nodeType&&!Ve.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=g(r.slice(5)),v(o,r,i[r]));Ve.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Ye.set(this,e)}):ze(this,function(t){var n;if(o&&t===undefined)return(n=Ye.get(o,e))!==undefined?n:(n=v(o,e))!==undefined?n:void 0;this.each(function(){Ye.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ye.remove(this,e)})}}),Se.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ve.get(e,t),n&&(!r||Array.isArray(n)?r=Ve.access(e,t,Se.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Se.queue(e,t),r=n.length,i=n.shift(),o=Se._queueHooks(e,t),a=function(){Se.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ve.get(e,n)||Ve.access(e,n,{empty:Se.Callbacks("once memory").add(function(){Ve.remove(e,[t+"queue",n])})})}}),Se.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Se.queue(this[0],e):t===undefined?this:this.each(function(){var n=Se.queue(this,e,t);Se._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Se.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Se.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Se.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";a--;)(n=Ve.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Ke=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ze=new RegExp("^(?:([+-])=|)("+Ke+")([a-z%]*)$","i"),et=["Top","Right","Bottom","Left"],tt=xe.documentElement,nt=function(e){return Se.contains(e.ownerDocument,e)},rt={composed:!0};tt.getRootNode&&(nt=function(e){return Se.contains(e.ownerDocument,e)||e.getRootNode(rt)===e.ownerDocument});var it=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&nt(e)&&"none"===Se.css(e,"display")},ot={};Se.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){it(this)?Se(this).show():Se(this).hide()})}});var at,st,ut=/^(?:checkbox|radio)$/i,lt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ct=/^$|^module$|\/(?:java|ecma)script/i;at=xe.createDocumentFragment().appendChild(xe.createElement("div")),(st=xe.createElement("input")).setAttribute("type","radio"),st.setAttribute("checked","checked"),st.setAttribute("name","t"),at.appendChild(st),ye.checkClone=at.cloneNode(!0).cloneNode(!0).lastChild.checked,at.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!at.cloneNode(!0).lastChild.defaultValue,at.innerHTML="<option></option>",ye.option=!!at.lastChild;var dt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};dt.tbody=dt.tfoot=dt.colgroup=dt.caption=dt.thead,dt.th=dt.td,ye.option||(dt.optgroup=dt.option=[1,"<select multiple='multiple'>","</select>"]);var ft=/<|&#?\w+;/,pt=/^([^.]*)(?:\.(.+)|)/;Se.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,p,h,g,m=Ve.get(e);if(Qe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&Se.find.matchesSelector(tt,i),n.guid||(n.guid=Se.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==Se&&Se.event.triggered!==t.type?Se.event.dispatch.apply(e,arguments):undefined}),l=(t=(t||"").match(Ie)||[""]).length;l--;)p=g=(s=pt.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=Se.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=Se.event.special[p]||{},c=Se.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Se.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=u[p])||((f=u[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),Se.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,p,h,g,m=Ve.hasData(e)&&Ve.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(Ie)||[""]).length;l--;)if(p=g=(s=pt.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=Se.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||Se.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)Se.event.remove(e,p+t[l],n,r,!0);Se.isEmptyObject(u)&&Ve.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=Se.event.fix(e),l=(Ve.get(this,"events")||Object.create(null))[u.type]||[],c=Se.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=Se.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,(r=((Se.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))!==undefined&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)a[i=(r=t[n]).selector+" "]===undefined&&(a[i]=r.needsContext?Se(i,this).index(l)>-1:Se.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(Se.Event.prototype,e,{enumerable:!0,configurable:!0,get:ve(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Se.expando]?e:new Se.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ut.test(t.type)&&t.click&&o(t,"input")&&A(t,"click",!0),!1},trigger:function(e){var t=this||e;return ut.test(t.type)&&t.click&&o(t,"input")&&A(t,"click"),!0},_default:function(e){var t=e.target;return ut.test(t.type)&&t.click&&o(t,"input")&&Ve.get(t,"click")||o(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Se.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Se.Event=function(e,t){if(!(this instanceof Se.Event))return new Se.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?k:E,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&&Se.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Se.expando]=!0},Se.Event.prototype={constructor:Se.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=k,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=k,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=k,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Se.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Se.event.addProp),Se.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(xe.documentMode){var n=Ve.get(this,"handle"),r=Se.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else Se.event.simulate(t,e.target,Se.event.fix(e))}Se.event.special[e]={setup:function(){var r;if(A(this,e,!0),!xe.documentMode)return!1;(r=Ve.get(this,t))||this.addEventListener(t,n),Ve.set(this,t,(r||0)+1)},trigger:function(){return A(this,e),!0},teardown:function(){var e;if(!xe.documentMode)return!1;(e=Ve.get(this,t)-1)?Ve.set(this,t,e):(this.removeEventListener(t,n),Ve.remove(this,t))},_default:function(t){return Ve.get(t.target,e)},delegateType:t},Se.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=xe.documentMode?this:r,o=Ve.get(i,t);o||(xe.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),Ve.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=xe.documentMode?this:r,o=Ve.get(i,t)-1;o?Ve.set(i,t,o):(xe.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),Ve.remove(i,t))}}}),Se.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Se.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||Se.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Se.fn.extend({on:function(e,t,n,r){return $(this,e,t,n,r)},one:function(e,t,n,r){return $(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Se(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=E),this.each(function(){Se.event.remove(this,e,n,t)})}});var ht=/<script|<style|<link/i,gt=/checked\s*(?:[^=]|=\s*.checked.)/i,mt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Se.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=nt(e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Se.isXMLDoc(e)))for(a=T(s),r=0,i=(o=T(e)).length;r<i;r++)q(o[r],a[r]);if(t)if(n)for(o=o||T(e),a=a||T(s),r=0,i=o.length;r<i;r++)N(o[r],a[r]);else N(e,s);return(a=T(s,"script")).length>0&&C(a,!u&&T(e,"script")),s},cleanData:function(e){for(var t,n,r,i=Se.event.special,o=0;(n=e[o])!==undefined;o++)if(Qe(n)){if(t=n[Ve.expando]){if(t.events)for(r in t.events)i[r]?Se.event.remove(n,r):Se.removeEvent(n,r,t.handle);n[Ve.expando]=undefined}n[Ye.expando]&&(n[Ye.expando]=undefined)}}}),Se.fn.extend({detach:function(e){return H(this,e,!0)},remove:function(e){return H(this,e)},text:function(e){return ze(this,function(e){return e===undefined?Se.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 L(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||D(this,e).appendChild(e)})},prepend:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=D(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return L(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&&(Se.cleanData(T(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Se.clone(this,e,t)})},html:function(e){return ze(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ht.test(e)&&!dt[(lt.exec(e)||["",""])[1].toLowerCase()]){e=Se.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Se.cleanData(T(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return L(this,arguments,function(t){var n=this.parentNode;Se.inArray(this,e)<0&&(Se.cleanData(T(this)),n&&n.replaceChild(t,this))},e)}}),Se.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Se.fn[e]=function(e){for(var n,r=[],i=Se(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),Se(i[a])[t](n),ce.apply(r,n.get());return this.pushStack(r)}});var yt=new RegExp("^("+Ke+")(?!px)[a-z%]+$","i"),vt=/^--/,bt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},xt=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},wt=new RegExp(et.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",tt.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),i=36===n(t.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),tt.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=xe.createElement("div"),c=xe.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===c.style.backgroundClip,Se.extend(ye,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,r,i;return null==s&&(t=xe.createElement("table"),n=xe.createElement("tr"),r=xe.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",tt.appendChild(t).appendChild(n).appendChild(r),i=e.getComputedStyle(n),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===n.offsetHeight,tt.removeChild(t)),s}}))}();var Tt=["Webkit","Moz","ms"],Ct=xe.createElement("div").style,St={},kt=/^(none|table(?!-c[ea]).+)/,Et={position:"absolute",visibility:"hidden",display:"block"},$t={letterSpacing:"0",fontWeight:"400"};Se.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=O(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=g(t),u=vt.test(t),l=e.style;if(u||(t=W(s)),a=Se.cssHooks[t]||Se.cssHooks[s],n===undefined)return a&&"get"in a&&(i=a.get(e,!1,r))!==undefined?i:l[t];"string"===(o=typeof n)&&(i=Ze.exec(n))&&i[1]&&(n=b(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(Se.cssNumber[s]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===undefined||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=g(t);return vt.test(t)||(t=W(s)),(a=Se.cssHooks[t]||Se.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),i===undefined&&(i=O(e,t,r)),"normal"===i&&t in $t&&(i=$t[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),Se.each(["height","width"],function(e,t){Se.cssHooks[t]={get:function(e,n,r){if(n)return!kt.test(Se.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,t,r):xt(e,Et,function(){return B(e,t,r)})},set:function(e,n,r){var i,o=bt(e),a=!ye.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===Se.css(e,"boxSizing",!1,o),u=r?I(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-I(e,t,"border",!1,o)-.5)),u&&(i=Ze.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=Se.css(e,t)),F(e,n,u)}}}),Se.cssHooks.marginLeft=R(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat(O(e,"marginLeft"))||e.getBoundingClientRect().left-xt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Se.each({margin:"",padding:"",border:"Width"},function(e,t){Se.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+et[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(Se.cssHooks[e+t].set=F)}),Se.fn.extend({css:function(e,t){return ze(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=bt(e),i=t.length;a<i;a++)o[t[a]]=Se.css(e,t[a],!1,r);return o}return n!==undefined?Se.style(e,t,n):Se.css(e,t)},e,t,arguments.length>1)}}),Se.Tween=_,_.prototype={constructor:_,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||Se.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Se.cssNumber[n]?"":"px")},cur:function(){var e=_.propHooks[this.prop];return e&&e.get?e.get(this):_.propHooks._default.get(this)},run:function(e){var t,n=_.propHooks[this.prop];return this.options.duration?this.pos=t=Se.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):_.propHooks._default.set(this),this}},_.prototype.init.prototype=_.prototype,_.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=Se.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Se.fx.step[e.prop]?Se.fx.step[e.prop](e):1!==e.elem.nodeType||!Se.cssHooks[e.prop]&&null==e.elem.style[W(e.prop)]?e.elem[e.prop]=e.now:Se.style(e.elem,e.prop,e.now+e.unit)}}},_.propHooks.scrollTop=_.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Se.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Se.fx=_.prototype.init,Se.fx.step={};var At,Dt,jt=/^(?:toggle|show|hide)$/,Mt=/queueHooks$/;Se.Animation=Se.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return b(n.elem,e,Ze.exec(t),n),n}]},tweener:function(e,t){ve(e)?(t=e,e=["*"]):e=e.match(Ie);for(var n,r=0,i=e.length;r<i;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[V],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),Se.speed=function(e,t,n){var r=e&&"object"==typeof e?Se.extend({},e):{complete:n||!n&&t||ve(e)&&e,duration:e,easing:n&&t||t&&!ve(t)&&t};return Se.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Se.fx.speeds?r.duration=Se.fx.speeds[r.duration]:r.duration=Se.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ve(r.old)&&r.old.call(this),r.queue&&Se.dequeue(this,r.queue)},r},Se.fn.extend({fadeTo:function(e,t,n,r){return this.filter(it).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Se.isEmptyObject(e),o=Se.speed(t,n,r),a=function(){var t=J(this,Se.extend({},e),o);(i||Ve.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=undefined),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=Se.timers,a=Ve.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Mt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||Se.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Ve.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=Se.timers,a=r?r.length:0;for(n.finish=!0,Se.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),Se.each(["toggle","show","hide"],function(e,t){var n=Se.fn[t];Se.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(X(t,!0),e,r,i)}}),Se.each({slideDown:X("show"),slideUp:X("hide"),slideToggle:X("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Se.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Se.timers=[],Se.fx.tick=function(){var e,t=0,n=Se.timers;for(At=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Se.fx.stop(),At=undefined},Se.fx.timer=function(e){Se.timers.push(e),Se.fx.start()},Se.fx.interval=13,Se.fx.start=function(){Dt||(Dt=!0,z())},Se.fx.stop=function(){Dt=null},Se.fx.speeds={slow:600,fast:200,_default:400},Se.fn.delay=function(t,n){return t=Se.fx&&Se.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){
13
- var e=xe.createElement("input"),t=xe.createElement("select").appendChild(xe.createElement("option"));e.type="checkbox",ye.checkOn=""!==e.value,ye.optSelected=t.selected,(e=xe.createElement("input")).value="t",e.type="radio",ye.radioValue="t"===e.value}();var Nt,qt=Se.expr.attrHandle;Se.fn.extend({attr:function(e,t){return ze(this,Se.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Se.removeAttr(this,e)})}}),Se.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?Se.prop(e,t,n):(1===o&&Se.isXMLDoc(e)||(i=Se.attrHooks[t.toLowerCase()]||(Se.expr.match.bool.test(t)?Nt:undefined)),n!==undefined?null===n?void Se.removeAttr(e,t):i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=Se.find.attr(e,t))?undefined:r)},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Ie);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Nt={set:function(e,t,n){return!1===t?Se.removeAttr(e,n):e.setAttribute(n,n),n}},Se.each(Se.expr.match.bool.source.match(/\w+/g),function(e,t){var n=qt[t]||Se.find.attr;qt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=qt[a],qt[a]=i,i=null!=n(e,t,r)?a:null,qt[a]=o),i}});var Lt=/^(?:input|select|textarea|button)$/i,Ht=/^(?:a|area)$/i;Se.fn.extend({prop:function(e,t){return ze(this,Se.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Se.propFix[e]||e]})}}),Se.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Se.isXMLDoc(e)||(t=Se.propFix[t]||t,i=Se.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Se.find.attr(e,"tabindex");return t?parseInt(t,10):Lt.test(e.nodeName)||Ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ye.optSelected||(Se.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)}}),Se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Se.propFix[this.toLowerCase()]=this}),Se.fn.extend({addClass:function(e){var t,n,r,i,o,a;return ve(e)?this.each(function(t){Se(this).addClass(e.call(this,t,K(this)))}):(t=Z(e)).length?this.each(function(){if(r=K(this),n=1===this.nodeType&&" "+G(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=G(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,n,r,i,o,a;return ve(e)?this.each(function(t){Se(this).removeClass(e.call(this,t,K(this)))}):arguments.length?(t=Z(e)).length?this.each(function(){if(r=K(this),n=1===this.nodeType&&" "+G(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=G(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return ve(e)?this.each(function(n){Se(this).toggleClass(e.call(this,n,K(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Z(e),this.each(function(){if(s)for(o=Se(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else e!==undefined&&"boolean"!==a||((r=K(this))&&Ve.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":Ve.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+G(K(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ot=/\r/g;Se.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=ve(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,Se(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=Se.map(i,function(e){return null==e?"":e+""})),(t=Se.valHooks[this.type]||Se.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&t.set(this,i,"value")!==undefined||(this.value=i))})):i?(t=Se.valHooks[i.type]||Se.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:"string"==typeof(n=i.value)?n.replace(Ot,""):null==n?"":n:void 0}}),Se.extend({valHooks:{option:{get:function(e){var t=Se.find.attr(e,"value");return null!=t?t:G(Se.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,s="select-one"===e.type,u=s?null:[],l=s?a+1:i.length;for(r=a<0?l:s?a:0;r<l;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=Se(n).val(),s)return t;u.push(t)}return u},set:function(e,t){for(var n,r,i=e.options,o=Se.makeArray(t),a=i.length;a--;)((r=i[a]).selected=Se.inArray(Se.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Se.each(["radio","checkbox"],function(){Se.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Se.inArray(Se(e).val(),t)>-1}},ye.checkOn||(Se.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Rt=e.location,Pt={guid:Date.now()},Wt=/\?/;Se.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(i){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||Se.error("Invalid XML: "+(r?Se.map(r.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Ft=/^(?:focusinfocus|focusoutblur)$/,It=function(e){e.stopPropagation()};Se.extend(Se.event,{trigger:function(t,n,r,i){var o,a,s,u,l,c,d,f,p=[r||xe],h=he.call(t,"type")?t.type:t,g=he.call(t,"namespace")?t.namespace.split("."):[];if(a=f=s=r=r||xe,3!==r.nodeType&&8!==r.nodeType&&!Ft.test(h+Se.event.triggered)&&(h.indexOf(".")>-1&&(h=(g=h.split(".")).shift(),g.sort()),l=h.indexOf(":")<0&&"on"+h,(t=t[Se.expando]?t:new Se.Event(h,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=null==n?[t]:Se.makeArray(n,[t]),d=Se.event.special[h]||{},i||!d.trigger||!1!==d.trigger.apply(r,n))){if(!i&&!d.noBubble&&!be(r)){for(u=d.delegateType||h,Ft.test(u+h)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||xe)&&p.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=p[o++])&&!t.isPropagationStopped();)f=a,t.type=o>1?u:d.bindType||h,(c=(Ve.get(a,"events")||Object.create(null))[t.type]&&Ve.get(a,"handle"))&&c.apply(a,n),(c=l&&a[l])&&c.apply&&Qe(a)&&(t.result=c.apply(a,n),!1===t.result&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),n)||!Qe(r)||l&&ve(r[h])&&!be(r)&&((s=r[l])&&(r[l]=null),Se.event.triggered=h,t.isPropagationStopped()&&f.addEventListener(h,It),r[h](),t.isPropagationStopped()&&f.removeEventListener(h,It),Se.event.triggered=undefined,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=Se.extend(new Se.Event,n,{type:e,isSimulated:!0});Se.event.trigger(r,null,t)}}),Se.fn.extend({trigger:function(e,t){return this.each(function(){Se.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Se.event.trigger(e,t,n,!0)}});var Bt=/\[\]$/,_t=/\r?\n/g,zt=/^(?:submit|button|image|reset|file)$/i,Ut=/^(?:input|select|textarea|keygen)/i;Se.param=function(e,t){var n,r=[],i=function(e,t){var n=ve(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Se.isPlainObject(e))Se.each(e,function(){i(this.name,this.value)});else for(n in e)ee(n,e[n],t,i);return r.join("&")},Se.fn.extend({serialize:function(){return Se.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Se.prop(this,"elements");return e?Se.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Se(this).is(":disabled")&&Ut.test(this.nodeName)&&!zt.test(e)&&(this.checked||!ut.test(e))}).map(function(e,t){var n=Se(this).val();return null==n?null:Array.isArray(n)?Se.map(n,function(e){return{name:t.name,value:e.replace(_t,"\r\n")}}):{name:t.name,value:n.replace(_t,"\r\n")}}).get()}});var Xt=/%20/g,Qt=/#.*$/,Vt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Jt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gt=/^(?:GET|HEAD)$/,Kt=/^\/\//,Zt={},en={},tn="*/".concat("*"),nn=xe.createElement("a");nn.href=Rt.href,Se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Rt.href,type:"GET",isLocal:Jt.test(Rt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,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":Se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,Se.ajaxSettings),t):re(Se.ajaxSettings,e)},ajaxPrefilter:te(Zt),ajaxTransport:te(en),ajax:function(t,n){function r(t,n,r,s){var l,f,p,x,w,T=n;c||(c=!0,u&&e.clearTimeout(u),i=undefined,a=s||"",C.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(x=ie(h,C,r)),!l&&Se.inArray("script",h.dataTypes)>-1&&Se.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=oe(h,x,C,l),l?(h.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(Se.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(Se.etag[o]=w)),204===t||"HEAD"===h.type?T="nocontent":304===t?T="notmodified":(T=x.state,f=x.data,l=!(p=x.error))):(p=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(n||T)+"",l?y.resolveWith(g,[f,T,C]):y.rejectWith(g,[C,T,p]),C.statusCode(b),b=undefined,d&&m.trigger(l?"ajaxSuccess":"ajaxError",[C,h,l?f:p]),v.fireWith(g,[C,T]),d&&(m.trigger("ajaxComplete",[C,h]),--Se.active||Se.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=undefined),n=n||{};var i,o,a,s,u,l,c,d,f,p,h=Se.ajaxSetup({},n),g=h.context||h,m=h.context&&(g.nodeType||g.jquery)?Se(g):Se.event,y=Se.Deferred(),v=Se.Callbacks("once memory"),b=h.statusCode||{},x={},w={},T="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Yt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),r(0,t),this}};if(y.promise(C),h.url=((t||h.url||Rt.href)+"").replace(Kt,Rt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Ie)||[""],null==h.crossDomain){l=xe.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=nn.protocol+"//"+nn.host!=l.protocol+"//"+l.host}catch(S){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Se.param(h.data,h.traditional)),ne(Zt,h,n,C),c)return C;for(f in(d=Se.event&&h.global)&&0==Se.active++&&Se.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Gt.test(h.type),o=h.url.replace(Qt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Xt,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Wt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Vt,"$1"),p=(Wt.test(o)?"&":"?")+"_="+Pt.guid+++p),h.url=o+p),h.ifModified&&(Se.lastModified[o]&&C.setRequestHeader("If-Modified-Since",Se.lastModified[o]),Se.etag[o]&&C.setRequestHeader("If-None-Match",Se.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+tn+"; q=0.01":""):h.accepts["*"]),h.headers)C.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(g,C,h)||c))return C.abort();if(T="abort",v.add(h.complete),C.done(h.success),C.fail(h.error),i=ne(en,h,n,C)){if(C.readyState=1,d&&m.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(u=e.setTimeout(function(){C.abort("timeout")},h.timeout));try{c=!1,i.send(x,r)}catch(S){if(c)throw S;r(-1,S)}}else r(-1,"No Transport");return C},getJSON:function(e,t,n){return Se.get(e,t,n,"json")},getScript:function(e,t){return Se.get(e,undefined,t,"script")}}),Se.each(["get","post"],function(e,t){Se[t]=function(e,n,r,i){return ve(n)&&(i=i||r,r=n,n=undefined),Se.ajax(Se.extend({url:e,type:t,dataType:i,data:n,success:r},Se.isPlainObject(e)&&e))}}),Se.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),Se._evalUrl=function(e,t,n){return Se.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Se.globalEval(e,t,n)}})},Se.fn.extend({wrapAll:function(e){var t;return this[0]&&(ve(e)&&(e=e.call(this[0])),t=Se(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(e){return ve(e)?this.each(function(t){Se(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Se(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ve(e);return this.each(function(n){Se(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Se(this).replaceWith(this.childNodes)}),this}}),Se.expr.pseudos.hidden=function(e){return!Se.expr.pseudos.visible(e)},Se.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Se.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var rn={0:200,1223:204},on=Se.ajaxSettings.xhr();ye.cors=!!on&&"withCredentials"in on,ye.ajax=on=!!on,Se.ajaxTransport(function(t){var n,r;if(ye.cors||on&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(rn[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),s.onabort!==undefined?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}}),Se.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Se.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 Se.globalEval(e),e}}}),Se.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Se.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=Se("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),xe.head.appendChild(t[0])},abort:function(){n&&n()}}});var an,sn=[],un=/(=)\?(?=&|$)|\?\?/;Se.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=sn.pop()||Se.expando+"_"+Pt.guid++;return this[e]=!0,e}}),Se.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(un.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&un.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=ve(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(un,"$1"+i):!1!==t.jsonp&&(t.url+=(Wt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||Se.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){o===undefined?Se(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,sn.push(i)),a&&ve(o)&&o(a[0]),a=o=undefined}),"script"}),ye.createHTMLDocument=((an=xe.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===an.childNodes.length),Se.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ye.createHTMLDocument?((r=(t=xe.implementation.createHTMLDocument("")).createElement("base")).href=xe.location.href,t.head.appendChild(r)):t=xe),o=!n&&[],(i=Oe.exec(e))?[t.createElement(i[1])]:(i=S([e],t,o),o&&o.length&&Se(o).remove(),Se.merge([],i.childNodes)));var r,i,o},Se.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=G(e.slice(s)),e=e.slice(0,s)),ve(t)?(n=t,t=undefined):t&&"object"==typeof t&&(i="POST"),a.length>0&&Se.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?Se("<div>").append(Se.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Se.expr.pseudos.animated=function(e){return Se.grep(Se.timers,function(t){return e===t.elem}).length},Se.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=Se.css(e,"position"),c=Se(e),d={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=Se.css(e,"top"),u=Se.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),ve(t)&&(t=t.call(e,n,Se.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):c.css(d)}},Se.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){Se.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===Se.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Se.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=Se(e).offset()).top+=Se.css(e,"borderTopWidth",!0),i.left+=Se.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-Se.css(r,"marginTop",!0),left:t.left-i.left-Se.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Se.css(e,"position");)e=e.offsetParent;return e||tt})}}),Se.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;Se.fn[e]=function(r){return ze(this,function(e,r,i){var o;if(be(e)?o=e:9===e.nodeType&&(o=e.defaultView),i===undefined)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),Se.each(["top","left"],function(e,t){Se.cssHooks[t]=R(ye.pixelPosition,function(e,n){if(n)return n=O(e,t),yt.test(n)?Se(e).position()[t]+"px":n})}),Se.each({Height:"height",Width:"width"},function(e,t){Se.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Se.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return ze(this,function(t,n,i){var o;return be(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):i===undefined?Se.css(t,n,s):Se.style(t,n,i,s)},t,a?i:undefined,a)}})}),Se.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Se.fn[t]=function(e){return this.on(t,e)}}),Se.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),Se.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,t){Se.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var ln=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Se.proxy=function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),ve(e)?(r=ue.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ue.call(arguments)))}).guid=e.guid=e.guid||Se.guid++,i):undefined},Se.holdReady=function(e){e?Se.readyWait++:Se.ready(!0)},Se.isArray=Array.isArray,Se.parseJSON=JSON.parse,Se.nodeName=o,Se.isFunction=ve,Se.isWindow=be,Se.camelCase=g,Se.type=r,Se.now=Date.now,Se.isNumeric=function(e){var t=Se.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Se.trim=function(e){return null==e?"":(e+"").replace(ln,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Se});var cn=e.jQuery,dn=e.$;return Se.noConflict=function(t){return e.$===Se&&(e.$=dn),t&&e.jQuery===Se&&(e.jQuery=cn),Se},void 0===t&&(e.jQuery=e.$=Se),Se}),
11
+ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t,n){var r,i,o=(n=n||xe).createElement("script");if(o.text=e,t)for(r in we)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?fe[pe.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!ve(e)&&!be(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function a(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function s(e,t,n){return ve(t)?Ce.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?Ce.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Ce.grep(e,function(e){return de.call(t,e)>-1!==n}):Ce.filter(t,e,n)}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var t={};return Ce.each(e.match(Ie)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function d(e){throw e}function f(e,t,n,r){var i;try{e&&ve(i=e.promise)?i.call(e).done(t).fail(n):e&&ve(i=e.then)?i.call(e,t,n):t.apply(undefined,[e].slice(r))}catch(e){n.apply(undefined,[e])}}function p(){xe.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),Ce.ready()}function h(e,t){return t.toUpperCase()}function g(e){return e.replace(Ue,"ms-").replace(Xe,h)}function m(){this.expando=Ce.expando+m.uid++}function y(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Je.test(e)?JSON.parse(e):e)}function v(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(Ge,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=y(n)}catch(i){}Ye.set(e,t,n)}else n=undefined;return n}function b(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return Ce.css(e,t,"")},u=s(),c=n&&n[3]||(Ce.cssNumber[t]?"":"px"),l=e.nodeType&&(Ce.cssNumber[t]||"px"!==c&&+u)&&Ze.exec(Ce.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)Ce.style(e,t,l+c),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),l/=o;l*=2,Ce.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}function x(e){var t,n=e.ownerDocument,r=e.nodeName,i=ot[r];return i||(t=n.body.appendChild(n.createElement(r)),i=Ce.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ot[r]=i,i)}function w(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Qe.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&it(r)&&(i[o]=x(r))):"none"!==n&&(i[o]="none",Qe.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function T(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&o(e,t)?Ce.merge([e],n):n}function S(e,t){for(var n=0,r=e.length;n<r;n++)Qe.set(e[n],"globalEval",!t||Qe.get(t[n],"globalEval"))}function C(e,t,n,i,o){for(var a,s,u,c,l,d,f=t.createDocumentFragment(),p=[],h=0,g=e.length;h<g;h++)if((a=e[h])||0===a)if("object"===r(a))Ce.merge(p,a.nodeType?[a]:a);else if(ft.test(a)){for(s=s||f.appendChild(t.createElement("div")),u=(ct.exec(a)||["",""])[1].toLowerCase(),c=dt[u]||dt._default,s.innerHTML=c[1]+Ce.htmlPrefilter(a)+c[2],d=c[0];d--;)s=s.lastChild;Ce.merge(p,s.childNodes),(s=f.firstChild).textContent=""}else p.push(t.createTextNode(a));for(f.textContent="",h=0;a=p[h++];)if(i&&Ce.inArray(a,i)>-1)o&&o.push(a);else if(l=nt(a),s=T(f.appendChild(a),"script"),l&&S(s),n)for(d=0;a=s[d++];)lt.test(a.type||"")&&n.push(a);return f}function k(){return!0}function E(){return!1}function $(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=undefined),t)$(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=undefined):null==i&&("string"==typeof n?(i=r,r=undefined):(i=r,r=n,n=undefined)),!1===i)i=E;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return Ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Ce.guid++)),e.each(function(){Ce.event.add(this,t,i,r,n)})}function D(e,t,n){n?(Qe.set(e,t,!1),Ce.event.add(e,t,{namespace:!1,handler:function(e){var n,r=Qe.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(Ce.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=ue.call(arguments),Qe.set(this,t,r),this[t](),n=Qe.get(this,t),Qe.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(Qe.set(this,t,Ce.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=k)}})):Qe.get(e,t)===undefined&&Ce.event.add(e,t,k)}function A(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")&&Ce(e).children("tbody")[0]||e}function j(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function M(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function N(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Qe.hasData(e)&&(s=Qe.get(e).events))for(i in Qe.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)Ce.event.add(t,i,s[i][n]);Ye.hasData(e)&&(o=Ye.access(e),a=Ce.extend({},o),Ye.set(t,a))}}function q(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ut.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function L(e,t,r,i){t=ce(t);var o,a,s,u,c,l,d=0,f=e.length,p=f-1,h=t[0],g=ve(h);if(g||f>1&&"string"==typeof h&&!ye.checkClone&&gt.test(h))return e.each(function(n){var o=e.eq(n);g&&(t[0]=h.call(this,n,o.html())),L(o,t,r,i)});if(f&&(a=(o=C(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=a),a||i)){for(u=(s=Ce.map(T(o,"script"),j)).length;d<f;d++)c=o,d!==p&&(c=Ce.clone(c,!0,!0),u&&Ce.merge(s,T(c,"script"))),r.call(e[d],c,d);if(u)for(l=s[s.length-1].ownerDocument,Ce.map(s,M),d=0;d<u;d++)c=s[d],lt.test(c.type||"")&&!Qe.access(c,"globalEval")&&Ce.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Ce._evalUrl&&!c.noModule&&Ce._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},l):n(c.textContent.replace(mt,""),c,l))}return e}function H(e,t,n){for(var r,i=t?Ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||Ce.cleanData(T(r)),r.parentNode&&(n&&nt(r)&&S(T(r,"script")),r.parentNode.removeChild(r));return e}function O(e,t,n){var r,i,o,a,s=vt.test(t),u=e.style;return(n=n||bt(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(Ae,"$1")||undefined),""!==a||nt(e)||(a=Ce.style(e,t)),!ye.pixelBoxStyles()&&yt.test(a)&&wt.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),a!==undefined?a+"":a}function F(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function R(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Tt.length;n--;)if((e=Tt[n]+t)in St)return e}function P(e){var t=Ce.cssProps[e]||Ct[e];return t||(e in St?e:Ct[e]=R(e)||e)}function W(e,t,n){var r=Ze.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function I(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=Ce.css(e,n+et[a],!0,i)),r?("content"===n&&(u-=Ce.css(e,"padding"+et[a],!0,i)),"margin"!==n&&(u-=Ce.css(e,"border"+et[a]+"Width",!0,i))):(u+=Ce.css(e,"padding"+et[a],!0,i),"padding"!==n?u+=Ce.css(e,"border"+et[a]+"Width",!0,i):s+=Ce.css(e,"border"+et[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+c}function B(e,t,n){var r=bt(e),i=(!ye.boxSizingReliable()||n)&&"border-box"===Ce.css(e,"boxSizing",!1,r),a=i,s=O(e,t,r),u="offset"+t[0].toUpperCase()+t.slice(1);if(yt.test(s)){if(!n)return s;s="auto"}return(!ye.boxSizingReliable()&&i||!ye.reliableTrDimensions()&&o(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===Ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===Ce.css(e,"boxSizing",!1,r),(a=u in e)&&(s=e[u])),(s=parseFloat(s)||0)+I(e,t,n||(i?"border":"content"),a,r,s)+"px"}function _(e,t,n,r,i){return new _.prototype.init(e,t,n,r,i)}function z(){At&&(!1===xe.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(z):e.setTimeout(z,Ce.fx.interval),Ce.fx.tick())}function U(){return e.setTimeout(function(){Dt=undefined}),Dt=Date.now()}function X(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=et[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function V(e,t,n){for(var r,i=(J.tweeners[t]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function Q(e,t,n){var r,i,o,a,s,u,c,l,d="width"in t||"height"in t,f=this,p={},h=e.style,g=e.nodeType&&it(e),m=Qe.get(e,"fxshow");for(r in n.queue||(null==(a=Ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,Ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],jt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||m[r]===undefined)continue;g=!0}p[r]=m&&m[r]||Ce.style(e,r)}if((u=!Ce.isEmptyObject(t))||!Ce.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=Qe.get(e,"display")),"none"===(l=Ce.css(e,"display"))&&(c?l=c:(w([e],!0),c=e.style.display||c,l=Ce.css(e,"display"),w([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===Ce.css(e,"float")&&(u||(f.done(function(){h.display=c}),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,p)u||(m?"hidden"in m&&(g=m.hidden):m=Qe.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&w([e],!0),f.done(function(){for(r in g||w([e]),Qe.remove(e,"fxshow"),p)Ce.style(e,r,p[r])})),u=V(g?m[r]:0,r,f),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}function Y(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=g(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function J(e,t,n){var r,i,o=0,a=J.prefilters.length,s=Ce.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Dt||U(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:Ce.extend({},t),opts:Ce.extend(!0,{specialEasing:{},easing:Ce.easing._default},n),originalProperties:t,originalOptions:n,startTime:Dt||U(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Ce.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(Y(l,c.opts.specialEasing);o<a;o++)if(r=J.prefilters[o].call(c,e,l,c.opts))return ve(r.stop)&&(Ce._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return Ce.map(l,V,c),ve(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Ce.fx.timer(Ce.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}function G(e){return(e.match(Ie)||[]).join(" ")}function K(e){return e.getAttribute&&e.getAttribute("class")||""}function Z(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Ie)||[]}function ee(e,t,n,i){var o;if(Array.isArray(t))Ce.each(t,function(t,r){n||Bt.test(e)?i(e,r):ee(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==r(t))i(e,t);else for(o in t)ee(e+"["+o+"]",t[o],n,i)}function te(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Ie)||[];if(ve(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ne(e,t,n,r){function i(s){var u;return o[s]=!0,Ce.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||o[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),i(c),!1)}),u}var o={},a=e===en;return i(t.dataTypes[0])||!o["*"]&&i("*")}function re(e,t){var n,r,i=Ce.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&Ce.extend(!0,e,r),e}function ie(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),r===undefined&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function oe(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var ae=[],se=Object.getPrototypeOf,ue=ae.slice,ce=ae.flat?function(e){return ae.flat.call(e)}:function(e){return ae.concat.apply([],e)},le=ae.push,de=ae.indexOf,fe={},pe=fe.toString,he=fe.hasOwnProperty,ge=he.toString,me=ge.call(Object),ye={},ve=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},be=function(e){return null!=e&&e===e.window},xe=e.document,we={type:!0,src:!0,nonce:!0,noModule:!0},Te="3.7.1",Se=/HTML$/i,Ce=function(e,t){return new Ce.fn.init(e,t)};Ce.fn=Ce.prototype={jquery:Te,constructor:Ce,length:0,toArray:function(){return ue.call(this)},get:function(e){return null==e?ue.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Ce.each(this,e)},map:function(e){return this.pushStack(Ce.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ue.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(Ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:le,sort:ae.sort,splice:ae.splice},Ce.extend=Ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||ve(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(Ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||Ce.isPlainObject(n)?n:{},i=!1,a[t]=Ce.extend(c,o,r)):r!==undefined&&(a[t]=r));return a},Ce.extend({expando:"jQuery"+(Te+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]"!==pe.call(e))&&(!(t=se(e))||"function"==typeof(n=he.call(t,"constructor")&&t.constructor)&&ge.call(n)===me)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){n(e,{nonce:t&&t.nonce},r)},each:function(e,t){var n,r=0;if(i(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=Ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?Ce.merge(n,"string"==typeof e?[e]:e):le.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Se.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(i(e))for(r=e.length;a<r;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return ce(s)},guid:1,support:ye}),"function"==typeof Symbol&&(Ce.fn[Symbol.iterator]=ae[Symbol.iterator]),Ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){fe["[object "+t+"]"]=t.toLowerCase()});var ke=ae.pop,Ee=ae.sort,$e=ae.splice,De="[\\x20\\t\\r\\n\\f]",Ae=new RegExp("^"+De+"+|((?:^|[^\\\\])(?:\\\\.)*)"+De+"+$","g");Ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var je=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;Ce.escapeSelector=function(e){return(e+"").replace(je,a)};var Me=xe,Ne=le;!function(){function t(){try{return j.activeElement}catch(e){}}function n(e,t,r,i){var o,a,s,u,c,l,p,m=t&&t.ownerDocument,y=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return r;if(!i&&(f(t),t=t||j,N)){if(11!==y&&(c=re.exec(e)))if(o=c[1]){if(9===y){if(!(s=t.getElementById(o)))return r;if(s.id===o)return H.call(r,s),r}else if(m&&(s=m.getElementById(o))&&n.contains(t,s)&&s.id===o)return H.call(r,s),r}else{if(c[2])return H.apply(r,t.getElementsByTagName(e)),r;if((o=c[3])&&t.getElementsByClassName)return H.apply(r,t.getElementsByClassName(o)),r}if(!(B[e+" "]||q&&q.test(e))){if(p=e,m=t,1===y&&(G.test(e)||J.test(e))){for((m=ie.test(e)&&d(t.parentNode)||t)==t&&ye.scope||((u=t.getAttribute("id"))?u=Ce.escapeSelector(u):t.setAttribute("id",u=O)),a=(l=h(e)).length;a--;)l[a]=(u?"#"+u:":scope")+" "+g(l[a]);p=l.join(",")}try{return H.apply(r,m.querySelectorAll(p)),r}catch(v){B(e,!0)}finally{u===O&&t.removeAttribute("id")}}}return C(e.replace(Ae,"$1"),t,r,i)}function r(){function e(n,r){return t.push(n+" ")>E.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function i(e){return e[O]=!0,e}function a(e){var t=j.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e){return function(t){return o(t,"input")&&t.type===e}}function u(e){return function(t){return(o(t,"input")||o(t,"button"))&&t.type===e}}function c(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&le(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return i(function(t){return t=+t,i(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(e){var t,r=e?e.ownerDocument||e:Me;return r!=j&&9===r.nodeType&&r.documentElement?(M=(j=r).documentElement,N=!Ce.isXMLDoc(j),L=M.matches||M.webkitMatchesSelector||M.msMatchesSelector,M.msMatchesSelector&&Me!=j&&(t=j.defaultView)&&t.top!==t&&t.addEventListener("unload",ce),ye.getById=a(function(e){return M.appendChild(e).id=Ce.expando,!j.getElementsByName||!j.getElementsByName(Ce.expando).length}),ye.disconnectedMatch=a(function(e){return L.call(e,"*")}),ye.scope=a(function(){return j.querySelectorAll(":scope")}),ye.cssHas=a(function(){try{return j.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),ye.getById?(E.filter.ID=function(e){var t=e.replace(oe,se);return function(e){return e.getAttribute("id")===t}},E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n=t.getElementById(e);return n?[n]:[]}}):(E.filter.ID=function(e){var t=e.replace(oe,se);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),E.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},E.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&N)return t.getElementsByClassName(e)},q=[],a(function(e){var t;M.appendChild(e).innerHTML="<a id='"+O+"' href='' disabled='disabled'></a><select id='"+O+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||q.push("\\["+De+"*(?:value|"+z+")"),e.querySelectorAll("[id~="+O+"-]").length||q.push("~="),e.querySelectorAll("a#"+O+"+*").length||q.push(".#.+[+~]"),e.querySelectorAll(":checked").length||q.push(":checked"),(t=j.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),M.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),(t=j.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||q.push("\\["+De+"*name"+De+"*="+De+"*(?:''|\"\")")}),ye.cssHas||q.push(":has"),q=q.length&&new RegExp(q.join("|")),_=function(e,t){if(e===t)return A=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!ye.sortDetached&&t.compareDocumentPosition(e)===r?e===j||e.ownerDocument==Me&&n.contains(Me,e)?-1:t===j||t.ownerDocument==Me&&n.contains(Me,t)?1:D?de.call(D,e)-de.call(D,t):0:4&r?-1:1)},j):j}function p(){}function h(e,t){var r,i,o,a,s,u,c,l=W[e+" "];if(l)return t?0:l.slice(0);for(s=e,u=[],c=E.preFilter;s;){for(a in r&&!(i=Y.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=J.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(Ae," ")}),s=s.slice(r.length)),E.filter)!(i=ee[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return t?s.length:s?n.error(e):W(e,u).slice(0)}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function m(e,t,n){var r=t.dir,i=t.next,a=i||r,s=n&&"parentNode"===a,u=R++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,c){var l,d,f=[F,u];if(c){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(d=t[O]||(t[O]={}),i&&o(t,i))t=t[r]||t;else{if((l=d[a])&&l[0]===F&&l[1]===u)return f[2]=l[2];if(d[a]=f,f[2]=e(t,n,c))return!0}return!1}}function y(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function v(e,t,r){for(var i=0,o=t.length;i<o;i++)n(e,t[i],r);return r}function b(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function x(e,t,n,r,o,a){return r&&!r[O]&&(r=x(r)),o&&!o[O]&&(o=x(o,a)),i(function(i,a,s,u){var c,l,d,f,p=[],h=[],g=a.length,m=i||v(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?m:b(m,p,e,s,u);if(n?n(y,f=o||(i?e:g||r)?[]:a,s,u):f=y,r)for(c=b(f,h),r(c,[],s,u),l=c.length;l--;)(d=c[l])&&(f[h[l]]=!(y[h[l]]=d));if(i){if(o||e){if(o){for(c=[],l=f.length;l--;)(d=f[l])&&c.push(y[l]=d);o(null,f=[],c,u)}for(l=f.length;l--;)(d=f[l])&&(c=o?de.call(i,d):p[l])>-1&&(i[c]=!(a[c]=d))}}else f=b(f===a?f.splice(g,f.length):f),o?o(null,a,f,u):H.apply(a,f)})}function w(e){for(var t,n,r,i=e.length,o=E.relative[e[0].type],a=o||E.relative[" "],s=o?1:0,u=m(function(e){return e===t},a,!0),c=m(function(e){return de.call(t,e)>-1},a,!0),l=[function(e,n,r){var i=!o&&(r||n!=$)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,i}];s<i;s++)if(n=E.relative[e[s].type])l=[m(y(l),n)];else{if((n=E.filter[e[s].type].apply(null,e[s].matches))[O]){for(r=++s;r<i&&!E.relative[e[r].type];r++);return x(s>1&&y(l),s>1&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(Ae,"$1"),n,s<r&&w(e.slice(s,r)),r<i&&w(e=e.slice(r)),r<i&&g(e))}l.push(n)}return y(l)}function T(e,t){var n=t.length>0,r=e.length>0,o=function(i,o,a,s,u){var c,l,d,p=0,h="0",g=i&&[],m=[],y=$,v=i||r&&E.find.TAG("*",u),x=F+=null==y?1:Math.random()||.1,w=v.length;for(u&&($=o==j||o||u);h!==w&&null!=(c=v[h]);h++){if(r&&c){for(l=0,o||c.ownerDocument==j||(f(c),a=!N);d=e[l++];)if(d(c,o||j,a)){H.call(s,c);break}u&&(F=x)}n&&((c=!d&&c)&&p--,i&&g.push(c))}if(p+=h,n&&h!==p){for(l=0;d=t[l++];)d(g,m,o,a);if(i){if(p>0)for(;h--;)g[h]||m[h]||(m[h]=ke.call(s));m=b(m)}H.apply(s,m),u&&!i&&m.length>0&&p+t.length>1&&Ce.uniqueSort(s)}return u&&(F=x,$=y),g};return n?i(o):o}function S(e,t){var n,r=[],i=[],o=I[e+" "];if(!o){for(t||(t=h(e)),n=t.length;n--;)(o=w(t[n]))[O]?r.push(o):i.push(o);(o=I(e,T(i,r))).selector=e}return o}function C(e,t,n,r){var i,o,a,s,u,c="function"==typeof e&&e,l=!r&&h(e=c.selector||e);if(n=n||[],1===l.length){if((o=l[0]=l[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&N&&E.relative[o[1].type]){if(!(t=(E.find.ID(a.matches[0].replace(oe,se),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=ee.needsContext.test(e)?0:o.length;i--&&(a=o[i],!E.relative[s=a.type]);)if((u=E.find[s])&&(r=u(a.matches[0].replace(oe,se),ie.test(o[0].type)&&d(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return H.apply(n,r),n;break}}return(c||S(e,l))(r,t,!N,n,!t||ie.test(e)&&d(t.parentNode)||t),n}var k,E,$,D,A,j,M,N,q,L,H=Ne,O=Ce.expando,F=0,R=0,P=r(),W=r(),I=r(),B=r(),_=function(e,t){return e===t&&(A=!0),0},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",U="(?:\\\\[\\da-fA-F]{1,6}"+De+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",X="\\["+De+"*("+U+")(?:"+De+"*([*^$|!~]?=)"+De+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+U+"))|)"+De+"*\\]",V=":("+U+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+X+")*)|.*)\\)|)",Q=new RegExp(De+"+","g"),Y=new RegExp("^"+De+"*,"+De+"*"),J=new RegExp("^"+De+"*([>+~]|"+De+")"+De+"*"),G=new RegExp(De+"|>"),K=new RegExp(V),Z=new RegExp("^"+U+"$"),ee={ID:new RegExp("^#("+U+")"),CLASS:new RegExp("^\\.("+U+")"),TAG:new RegExp("^("+U+"|[*])"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+V),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+De+"*(even|odd|(([+-]|)(\\d*)n|)"+De+"*(?:([+-]|)"+De+"*(\\d+)|))"+De+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+De+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+De+"*((?:-\\d)?\\d*)"+De+"*\\)|)(?=[^-]|$)","i")},te=/^(?:input|select|textarea|button)$/i,ne=/^h\d$/i,re=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ie=/[+~]/,oe=new RegExp("\\\\[\\da-fA-F]{1,6}"+De+"?|\\\\([^\\r\\n\\f])","g"),se=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ce=function(){f()},le=m(function(e){return!0===e.disabled&&o(e,"fieldset")},{dir:"parentNode",next:"legend"});try{H.apply(ae=ue.call(Me.childNodes),Me.childNodes),ae[Me.childNodes.length].nodeType}catch(fe){H={apply:function(e,t){Ne.apply(e,ue.call(t))},call:function(e){Ne.apply(e,ue.call(arguments,1))}}}for(k in n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if(f(e),N&&!B[t+" "]&&(!q||!q.test(t)))try{var r=L.call(e,t);if(r||ye.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(fe){B(t,!0)}return n(t,j,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!=j&&f(e),Ce.contains(e,t)},n.attr=function(e,t){(e.ownerDocument||e)!=j&&f(e);var n=E.attrHandle[t.toLowerCase()],r=n&&he.call(E.attrHandle,t.toLowerCase())?n(e,t,!N):undefined;return r!==undefined?r:e.getAttribute(t)},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!ye.sortStable,D=!ye.sortStable&&ue.call(e,0),Ee.call(e,_),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)$e.call(e,n[r],1)}return D=null,e},Ce.fn.uniqueSort=function(){return this.pushStack(Ce.uniqueSort(ue.apply(this)))},(E=Ce.expr={cacheLength:50,createPseudo:i,match:ee,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(oe,se),e[3]=(e[3]||e[4]||e[5]||"").replace(oe,se),"~="===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]||n.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]&&n.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ee.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=h(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(oe,se).toLowerCase();return"*"===e?function(){return!0}:function(e){return o(e,t)}},CLASS:function(e){var t=P[e+" "];return t||(t=new RegExp("(^|"+De+")"+e+"("+De+"|$)"))&&P(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i){var o=n.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o.replace(Q," ")+" ").indexOf(r)>-1:"|="===t&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),s="last"!==e.slice(-4),u="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,c){var l,d,f,p,h,g=a!==s?"nextSibling":"previousSibling",m=t.parentNode,y=u&&t.nodeName.toLowerCase(),v=!c&&!u,b=!1;if(m){if(a){for(;g;){for(f=t;f=f[g];)if(u?o(f,y):1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&v){for(b=(p=(l=(d=m[O]||(m[O]={}))[e]||[])[0]===F&&l[1])&&l[2],f=p&&m.childNodes[p];f=++p&&f&&f[g]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){d[e]=[F,p,b];break}}else if(v&&(b=p=(l=(d=t[O]||(t[O]={}))[e]||[])[0]===F&&l[1]),!1===b)for(;(f=++p&&f&&f[g]||(b=p=0)||h.pop())&&((u?!o(f,y):1!==f.nodeType)||!++b||(v&&((d=f[O]||(f[O]={}))[e]=[F,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var r,o=E.pseudos[e]||E.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return o[O]?o(t):o.length>1?(r=[e,e,"",t],E.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=de.call(e,i[a])]=!(n[r]=i[a])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=S(e.replace(Ae,"$1"));return r[O]?i(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(t){return n(e,t).length>0}}),contains:i(function(e){return e=e.replace(oe,se),function(t){return(t.textContent||Ce.text(t)).indexOf(e)>-1}}),lang:i(function(e){return Z.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(oe,se).toLowerCase(),function(t){var n;do{if(n=N?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===M},focus:function(e){return e===t()&&j.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(e){return o(e,"input")&&!!e.checked||o(e,"option")&&!!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!E.pseudos.empty(e)},header:function(e){return ne.test(e.nodeName)},input:function(e){return te.test(e.nodeName)},button:function(e){return o(e,"input")&&"button"===e.type||o(e,"button")},
12
+ text:function(e){var t;return o(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=E.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[k]=s(k);for(k in{submit:!0,reset:!0})E.pseudos[k]=u(k);p.prototype=E.filters=E.pseudos,E.setFilters=new p,ye.sortStable=O.split("").sort(_).join("")===O,f(),ye.sortDetached=a(function(e){return 1&e.compareDocumentPosition(j.createElement("fieldset"))}),Ce.find=n,Ce.expr[":"]=Ce.expr.pseudos,Ce.unique=Ce.uniqueSort,n.compile=S,n.select=C,n.setDocument=f,n.tokenize=h,n.escape=Ce.escapeSelector,n.getText=Ce.text,n.isXML=Ce.isXMLDoc,n.selectors=Ce.expr,n.support=Ce.support,n.uniqueSort=Ce.uniqueSort}();var qe=function(e,t,n){for(var r=[],i=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&Ce(e).is(n))break;r.push(e)}return r},Le=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},He=Ce.expr.match.needsContext,Oe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ce.find.matchesSelector(r,e)?[r]:[]:Ce.find.matches(e,Ce.grep(t,function(e){return 1===e.nodeType}))},Ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(Ce(e).filter(function(){for(t=0;t<r;t++)if(Ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)Ce.find(e,i[t],n);return r>1?Ce.uniqueSort(n):n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&He.test(e)?Ce(e):e||[],!1).length}});var Fe,Re=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Fe,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Re.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ce?t[0]:t,Ce.merge(this,Ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:xe,!0)),Oe.test(r[1])&&Ce.isPlainObject(t))for(r in t)ve(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=xe.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ve(e)?n.ready!==undefined?n.ready(e):e(Ce):Ce.makeArray(e,this)}).prototype=Ce.fn,Fe=Ce(xe);var Pe=/^(?:parents|prev(?:Until|All))/,We={children:!0,contents:!0,next:!0,prev:!0};Ce.fn.extend({has:function(e){var t=Ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&Ce(e);if(!He.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?Ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(Ce(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Ce.uniqueSort(Ce.merge(this.get(),Ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return qe(e,"parentNode")},parentsUntil:function(e,t,n){return qe(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return qe(e,"nextSibling")},prevAll:function(e){return qe(e,"previousSibling")},nextUntil:function(e,t,n){return qe(e,"nextSibling",n)},prevUntil:function(e,t,n){return qe(e,"previousSibling",n)},siblings:function(e){return Le((e.parentNode||{}).firstChild,e)},children:function(e){return Le(e.firstChild)},contents:function(e){return null!=e.contentDocument&&se(e.contentDocument)?e.contentDocument:(o(e,"template")&&(e=e.content||e),Ce.merge([],e.childNodes))}},function(e,t){Ce.fn[e]=function(n,r){var i=Ce.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=Ce.filter(r,i)),this.length>1&&(We[e]||Ce.uniqueSort(i),Pe.test(e)&&i.reverse()),this.pushStack(i)}});var Ie=/[^\x20\t\r\n\f]+/g;Ce.Callbacks=function(e){e="string"==typeof e?c(e):Ce.extend({},e);var t,n,i,o,a=[],s=[],u=-1,l=function(){for(o=o||e.once,i=t=!0;s.length;u=-1)for(n=s.shift();++u<a.length;)!1===a[u].apply(n[0],n[1])&&e.stopOnFalse&&(u=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},d={add:function(){return a&&(n&&!t&&(u=a.length-1,s.push(n)),function i(t){Ce.each(t,function(t,n){ve(n)?e.unique&&d.has(n)||a.push(n):n&&n.length&&"string"!==r(n)&&i(n)})}(arguments),n&&!t&&l()),this},remove:function(){return Ce.each(arguments,function(e,t){for(var n;(n=Ce.inArray(t,a,n))>-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?Ce.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=s=[],n||t||(a=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},Ce.extend({Deferred:function(t){var n=[["notify","progress",Ce.Callbacks("memory"),Ce.Callbacks("memory"),2],["resolve","done",Ce.Callbacks("once memory"),Ce.Callbacks("once memory"),0,"resolved"],["reject","fail",Ce.Callbacks("once memory"),Ce.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return Ce.Deferred(function(t){Ce.each(n,function(n,r){var i=ve(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&ve(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var s=this,u=arguments,c=function(){var e,c;if(!(t<a)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,ve(c)?i?c.call(e,o(a,n,l,i),o(a,n,d,i)):(a++,c.call(e,o(a,n,l,i),o(a,n,d,i),o(a,n,l,n.notifyWith))):(r!==l&&(s=undefined,u=[e]),(i||n.resolveWith)(s,u))}},f=i?c:function(){try{c()}catch(e){Ce.Deferred.exceptionHook&&Ce.Deferred.exceptionHook(e,f.error),t+1>=a&&(r!==d&&(s=undefined,u=[e]),n.rejectWith(s,u))}};t?f():(Ce.Deferred.getErrorHook?f.error=Ce.Deferred.getErrorHook():Ce.Deferred.getStackHook&&(f.error=Ce.Deferred.getStackHook()),e.setTimeout(f))}}var a=0;return Ce.Deferred(function(e){n[0][3].add(o(0,e,ve(i)?i:l,e.notifyWith)),n[1][3].add(o(0,e,ve(t)?t:l)),n[2][3].add(o(0,e,ve(r)?r:d))}).promise()},promise:function(e){return null!=e?Ce.extend(e,i):i}},o={};return Ce.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?undefined:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=ue.call(arguments),o=Ce.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?ue.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(f(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||ve(i[n]&&i[n].then)))return o.then();for(;n--;)f(i[n],a(n),o.reject);return o.promise()}});var Be=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ce.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Be.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},Ce.readyException=function(t){e.setTimeout(function(){throw t})};var _e=Ce.Deferred();Ce.fn.ready=function(e){return _e.then(e)["catch"](function(e){Ce.readyException(e)}),this},Ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Ce.readyWait:Ce.isReady)||(Ce.isReady=!0,!0!==e&&--Ce.readyWait>0||_e.resolveWith(xe,[Ce]))}}),Ce.ready.then=_e.then,"complete"===xe.readyState||"loading"!==xe.readyState&&!xe.documentElement.doScroll?e.setTimeout(Ce.ready):(xe.addEventListener("DOMContentLoaded",p),e.addEventListener("load",p));var ze=function(e,t,n,i,o,a,s){var u=0,c=e.length,l=null==n;if("object"===r(n))for(u in o=!0,n)ze(e,t,u,n[u],!0,a,s);else if(i!==undefined&&(o=!0,ve(i)||(s=!0),l&&(s?(t.call(e,i),t=null):(l=t,t=function(e,t,n){return l.call(Ce(e),n)})),t))for(;u<c;u++)t(e[u],n,s?i:i.call(e[u],u,t(e[u],n)));return o?e:l?t.call(e):c?t(e[0],n):a},Ue=/^-ms-/,Xe=/-([a-z])/g,Ve=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};m.uid=1,m.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ve(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[g(t)]=n;else for(r in t)i[g(r)]=t[r];return i},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][g(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(g):(t=g(t))in r?[t]:t.match(Ie)||[]).length;for(;n--;)delete r[t[n]]}(t===undefined||Ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!Ce.isEmptyObject(t)}};var Qe=new m,Ye=new m,Je=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ge=/[A-Z]/g;Ce.extend({hasData:function(e){return Ye.hasData(e)||Qe.hasData(e)},data:function(e,t,n){return Ye.access(e,t,n)},removeData:function(e,t){Ye.remove(e,t)},_data:function(e,t,n){return Qe.access(e,t,n)},_removeData:function(e,t){Qe.remove(e,t)}}),Ce.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(e===undefined){if(this.length&&(i=Ye.get(o),1===o.nodeType&&!Qe.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=g(r.slice(5)),v(o,r,i[r]));Qe.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Ye.set(this,e)}):ze(this,function(t){var n;if(o&&t===undefined)return(n=Ye.get(o,e))!==undefined?n:(n=v(o,e))!==undefined?n:void 0;this.each(function(){Ye.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ye.remove(this,e)})}}),Ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Qe.get(e,t),n&&(!r||Array.isArray(n)?r=Qe.access(e,t,Ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ce.queue(e,t),r=n.length,i=n.shift(),o=Ce._queueHooks(e,t),a=function(){Ce.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Qe.get(e,n)||Qe.access(e,n,{empty:Ce.Callbacks("once memory").add(function(){Qe.remove(e,[t+"queue",n])})})}}),Ce.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Ce.queue(this[0],e):t===undefined?this:this.each(function(){var n=Ce.queue(this,e,t);Ce._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Ce.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";a--;)(n=Qe.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Ke=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ze=new RegExp("^(?:([+-])=|)("+Ke+")([a-z%]*)$","i"),et=["Top","Right","Bottom","Left"],tt=xe.documentElement,nt=function(e){return Ce.contains(e.ownerDocument,e)},rt={composed:!0};tt.getRootNode&&(nt=function(e){return Ce.contains(e.ownerDocument,e)||e.getRootNode(rt)===e.ownerDocument});var it=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&nt(e)&&"none"===Ce.css(e,"display")},ot={};Ce.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){it(this)?Ce(this).show():Ce(this).hide()})}});var at,st,ut=/^(?:checkbox|radio)$/i,ct=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,lt=/^$|^module$|\/(?:java|ecma)script/i;at=xe.createDocumentFragment().appendChild(xe.createElement("div")),(st=xe.createElement("input")).setAttribute("type","radio"),st.setAttribute("checked","checked"),st.setAttribute("name","t"),at.appendChild(st),ye.checkClone=at.cloneNode(!0).cloneNode(!0).lastChild.checked,at.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!at.cloneNode(!0).lastChild.defaultValue,at.innerHTML="<option></option>",ye.option=!!at.lastChild;var dt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};dt.tbody=dt.tfoot=dt.colgroup=dt.caption=dt.thead,dt.th=dt.td,ye.option||(dt.optgroup=dt.option=[1,"<select multiple='multiple'>","</select>"]);var ft=/<|&#?\w+;/,pt=/^([^.]*)(?:\.(.+)|)/;Ce.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,g,m=Qe.get(e);if(Ve(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&Ce.find.matchesSelector(tt,i),n.guid||(n.guid=Ce.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==Ce&&Ce.event.triggered!==t.type?Ce.event.dispatch.apply(e,arguments):undefined}),c=(t=(t||"").match(Ie)||[""]).length;c--;)p=g=(s=pt.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=Ce.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=Ce.event.special[p]||{},l=Ce.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=u[p])||((f=u[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,l):f.push(l),Ce.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,g,m=Qe.hasData(e)&&Qe.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(Ie)||[""]).length;c--;)if(p=g=(s=pt.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=Ce.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)l=f[o],!i&&g!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||Ce.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)Ce.event.remove(e,p+t[c],n,r,!0);Ce.isEmptyObject(u)&&Qe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=Ce.event.fix(e),c=(Qe.get(this,"events")||Object.create(null))[u.type]||[],l=Ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=Ce.event.handlers.call(this,u,c),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,(r=((Ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))!==undefined&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<u;n++)a[i=(r=t[n]).selector+" "]===undefined&&(a[i]=r.needsContext?Ce(i,this).index(c)>-1:Ce.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(Ce.Event.prototype,e,{enumerable:!0,configurable:!0,get:ve(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Ce.expando]?e:new Ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ut.test(t.type)&&t.click&&o(t,"input")&&D(t,"click",!0),!1},trigger:function(e){var t=this||e;return ut.test(t.type)&&t.click&&o(t,"input")&&D(t,"click"),!0},_default:function(e){var t=e.target;return ut.test(t.type)&&t.click&&o(t,"input")&&Qe.get(t,"click")||o(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Ce.Event=function(e,t){if(!(this instanceof Ce.Event))return new Ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?k:E,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&&Ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Ce.expando]=!0},Ce.Event.prototype={constructor:Ce.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=k,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=k,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=k,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Ce.event.addProp),Ce.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(xe.documentMode){var n=Qe.get(this,"handle"),r=Ce.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else Ce.event.simulate(t,e.target,Ce.event.fix(e))}Ce.event.special[e]={setup:function(){var r;if(D(this,e,!0),!xe.documentMode)return!1;(r=Qe.get(this,t))||this.addEventListener(t,n),Qe.set(this,t,(r||0)+1)},trigger:function(){return D(this,e),!0},teardown:function(){var e;if(!xe.documentMode)return!1;(e=Qe.get(this,t)-1)?Qe.set(this,t,e):(this.removeEventListener(t,n),Qe.remove(this,t))},_default:function(t){return Qe.get(t.target,e)},delegateType:t},Ce.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=xe.documentMode?this:r,o=Qe.get(i,t);o||(xe.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),Qe.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=xe.documentMode?this:r,o=Qe.get(i,t)-1;o?Qe.set(i,t,o):(xe.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),Qe.remove(i,t))}}}),Ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Ce.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||Ce.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Ce.fn.extend({on:function(e,t,n,r){return $(this,e,t,n,r)},one:function(e,t,n,r){return $(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=E),this.each(function(){Ce.event.remove(this,e,n,t)})}});var ht=/<script|<style|<link/i,gt=/checked\s*(?:[^=]|=\s*.checked.)/i,mt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=nt(e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ce.isXMLDoc(e)))for(a=T(s),r=0,i=(o=T(e)).length;r<i;r++)q(o[r],a[r]);if(t)if(n)for(o=o||T(e),a=a||T(s),r=0,i=o.length;r<i;r++)N(o[r],a[r]);else N(e,s);return(a=T(s,"script")).length>0&&S(a,!u&&T(e,"script")),s},cleanData:function(e){for(var t,n,r,i=Ce.event.special,o=0;(n=e[o])!==undefined;o++)if(Ve(n)){if(t=n[Qe.expando]){if(t.events)for(r in t.events)i[r]?Ce.event.remove(n,r):Ce.removeEvent(n,r,t.handle);n[Qe.expando]=undefined}n[Ye.expando]&&(n[Ye.expando]=undefined)}}}),Ce.fn.extend({detach:function(e){return H(this,e,!0)},remove:function(e){return H(this,e)},text:function(e){return ze(this,function(e){return e===undefined?Ce.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 L(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||A(this,e).appendChild(e)})},prepend:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=A(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return L(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&&(Ce.cleanData(T(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ce.clone(this,e,t)})},html:function(e){return ze(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ht.test(e)&&!dt[(ct.exec(e)||["",""])[1].toLowerCase()]){e=Ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Ce.cleanData(T(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return L(this,arguments,function(t){var n=this.parentNode;Ce.inArray(this,e)<0&&(Ce.cleanData(T(this)),n&&n.replaceChild(t,this))},e)}}),Ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Ce.fn[e]=function(e){for(var n,r=[],i=Ce(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),Ce(i[a])[t](n),le.apply(r,n.get());return this.pushStack(r)}});var yt=new RegExp("^("+Ke+")(?!px)[a-z%]+$","i"),vt=/^--/,bt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},xt=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},wt=new RegExp(et.join("|"),"i");!function(){function t(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",tt.appendChild(c).appendChild(l);var t=e.getComputedStyle(l);r="1%"!==t.top,u=12===n(t.marginLeft),l.style.right="60%",a=36===n(t.right),i=36===n(t.width),l.style.position="absolute",o=12===n(l.offsetWidth/3),tt.removeChild(c),l=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,c=xe.createElement("div"),l=xe.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===l.style.backgroundClip,Ce.extend(ye,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,r,i;return null==s&&(t=xe.createElement("table"),n=xe.createElement("tr"),r=xe.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",tt.appendChild(t).appendChild(n).appendChild(r),i=e.getComputedStyle(n),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===n.offsetHeight,tt.removeChild(t)),s}}))}();var Tt=["Webkit","Moz","ms"],St=xe.createElement("div").style,Ct={},kt=/^(none|table(?!-c[ea]).+)/,Et={position:"absolute",visibility:"hidden",display:"block"},$t={letterSpacing:"0",fontWeight:"400"};Ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=O(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=g(t),u=vt.test(t),c=e.style;if(u||(t=P(s)),a=Ce.cssHooks[t]||Ce.cssHooks[s],n===undefined)return a&&"get"in a&&(i=a.get(e,!1,r))!==undefined?i:c[t];"string"===(o=typeof n)&&(i=Ze.exec(n))&&i[1]&&(n=b(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(Ce.cssNumber[s]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===undefined||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=g(t);return vt.test(t)||(t=P(s)),(a=Ce.cssHooks[t]||Ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),i===undefined&&(i=O(e,t,r)),"normal"===i&&t in $t&&(i=$t[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),Ce.each(["height","width"],function(e,t){Ce.cssHooks[t]={get:function(e,n,r){if(n)return!kt.test(Ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,t,r):xt(e,Et,function(){return B(e,t,r)})},set:function(e,n,r){var i,o=bt(e),a=!ye.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===Ce.css(e,"boxSizing",!1,o),u=r?I(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-I(e,t,"border",!1,o)-.5)),u&&(i=Ze.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=Ce.css(e,t)),W(e,n,u)}}}),Ce.cssHooks.marginLeft=F(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat(O(e,"marginLeft"))||e.getBoundingClientRect().left-xt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Ce.each({margin:"",padding:"",border:"Width"},function(e,t){Ce.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+et[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(Ce.cssHooks[e+t].set=W)}),Ce.fn.extend({css:function(e,t){return ze(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=bt(e),i=t.length;a<i;a++)o[t[a]]=Ce.css(e,t[a],!1,r);return o}return n!==undefined?Ce.style(e,t,n):Ce.css(e,t)},e,t,arguments.length>1)}}),Ce.Tween=_,_.prototype={constructor:_,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||Ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Ce.cssNumber[n]?"":"px")},cur:function(){var e=_.propHooks[this.prop];return e&&e.get?e.get(this):_.propHooks._default.get(this)},run:function(e){var t,n=_.propHooks[this.prop];return this.options.duration?this.pos=t=Ce.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):_.propHooks._default.set(this),this}},_.prototype.init.prototype=_.prototype,_.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=Ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Ce.fx.step[e.prop]?Ce.fx.step[e.prop](e):1!==e.elem.nodeType||!Ce.cssHooks[e.prop]&&null==e.elem.style[P(e.prop)]?e.elem[e.prop]=e.now:Ce.style(e.elem,e.prop,e.now+e.unit)}}},_.propHooks.scrollTop=_.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Ce.fx=_.prototype.init,Ce.fx.step={};var Dt,At,jt=/^(?:toggle|show|hide)$/,Mt=/queueHooks$/;Ce.Animation=Ce.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return b(n.elem,e,Ze.exec(t),n),n}]},tweener:function(e,t){ve(e)?(t=e,e=["*"]):e=e.match(Ie);for(var n,r=0,i=e.length;r<i;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[Q],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),Ce.speed=function(e,t,n){var r=e&&"object"==typeof e?Ce.extend({},e):{complete:n||!n&&t||ve(e)&&e,duration:e,easing:n&&t||t&&!ve(t)&&t};return Ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Ce.fx.speeds?r.duration=Ce.fx.speeds[r.duration]:r.duration=Ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ve(r.old)&&r.old.call(this),r.queue&&Ce.dequeue(this,r.queue)},r},Ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(it).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Ce.isEmptyObject(e),o=Ce.speed(t,n,r),a=function(){var t=J(this,Ce.extend({},e),o);(i||Qe.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=undefined),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=Ce.timers,a=Qe.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Mt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||Ce.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Qe.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=Ce.timers,a=r?r.length:0;for(n.finish=!0,Ce.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),Ce.each(["toggle","show","hide"],function(e,t){var n=Ce.fn[t];Ce.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(X(t,!0),e,r,i)}}),Ce.each({slideDown:X("show"),slideUp:X("hide"),slideToggle:X("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Ce.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Ce.timers=[],Ce.fx.tick=function(){var e,t=0,n=Ce.timers;for(Dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Ce.fx.stop(),Dt=undefined},Ce.fx.timer=function(e){Ce.timers.push(e),Ce.fx.start()},Ce.fx.interval=13,Ce.fx.start=function(){At||(At=!0,z())},Ce.fx.stop=function(){At=null},Ce.fx.speeds={slow:600,fast:200,_default:400},Ce.fn.delay=function(t,n){return t=Ce.fx&&Ce.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){
13
+ var e=xe.createElement("input"),t=xe.createElement("select").appendChild(xe.createElement("option"));e.type="checkbox",ye.checkOn=""!==e.value,ye.optSelected=t.selected,(e=xe.createElement("input")).value="t",e.type="radio",ye.radioValue="t"===e.value}();var Nt,qt=Ce.expr.attrHandle;Ce.fn.extend({attr:function(e,t){return ze(this,Ce.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Ce.removeAttr(this,e)})}}),Ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?Ce.prop(e,t,n):(1===o&&Ce.isXMLDoc(e)||(i=Ce.attrHooks[t.toLowerCase()]||(Ce.expr.match.bool.test(t)?Nt:undefined)),n!==undefined?null===n?void Ce.removeAttr(e,t):i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=Ce.find.attr(e,t))?undefined:r)},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Ie);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Nt={set:function(e,t,n){return!1===t?Ce.removeAttr(e,n):e.setAttribute(n,n),n}},Ce.each(Ce.expr.match.bool.source.match(/\w+/g),function(e,t){var n=qt[t]||Ce.find.attr;qt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=qt[a],qt[a]=i,i=null!=n(e,t,r)?a:null,qt[a]=o),i}});var Lt=/^(?:input|select|textarea|button)$/i,Ht=/^(?:a|area)$/i;Ce.fn.extend({prop:function(e,t){return ze(this,Ce.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Ce.propFix[e]||e]})}}),Ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Ce.isXMLDoc(e)||(t=Ce.propFix[t]||t,i=Ce.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ce.find.attr(e,"tabindex");return t?parseInt(t,10):Lt.test(e.nodeName)||Ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ye.optSelected||(Ce.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)}}),Ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ce.propFix[this.toLowerCase()]=this}),Ce.fn.extend({addClass:function(e){var t,n,r,i,o,a;return ve(e)?this.each(function(t){Ce(this).addClass(e.call(this,t,K(this)))}):(t=Z(e)).length?this.each(function(){if(r=K(this),n=1===this.nodeType&&" "+G(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=G(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,n,r,i,o,a;return ve(e)?this.each(function(t){Ce(this).removeClass(e.call(this,t,K(this)))}):arguments.length?(t=Z(e)).length?this.each(function(){if(r=K(this),n=1===this.nodeType&&" "+G(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=G(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return ve(e)?this.each(function(n){Ce(this).toggleClass(e.call(this,n,K(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Z(e),this.each(function(){if(s)for(o=Ce(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else e!==undefined&&"boolean"!==a||((r=K(this))&&Qe.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":Qe.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+G(K(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ot=/\r/g;Ce.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=ve(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,Ce(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=Ce.map(i,function(e){return null==e?"":e+""})),(t=Ce.valHooks[this.type]||Ce.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&t.set(this,i,"value")!==undefined||(this.value=i))})):i?(t=Ce.valHooks[i.type]||Ce.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:"string"==typeof(n=i.value)?n.replace(Ot,""):null==n?"":n:void 0}}),Ce.extend({valHooks:{option:{get:function(e){var t=Ce.find.attr(e,"value");return null!=t?t:G(Ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,s="select-one"===e.type,u=s?null:[],c=s?a+1:i.length;for(r=a<0?c:s?a:0;r<c;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=Ce(n).val(),s)return t;u.push(t)}return u},set:function(e,t){for(var n,r,i=e.options,o=Ce.makeArray(t),a=i.length;a--;)((r=i[a]).selected=Ce.inArray(Ce.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Ce.each(["radio","checkbox"],function(){Ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Ce.inArray(Ce(e).val(),t)>-1}},ye.checkOn||(Ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Ft=e.location,Rt={guid:Date.now()},Pt=/\?/;Ce.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(i){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||Ce.error("Invalid XML: "+(r?Ce.map(r.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Wt=/^(?:focusinfocus|focusoutblur)$/,It=function(e){e.stopPropagation()};Ce.extend(Ce.event,{trigger:function(t,n,r,i){var o,a,s,u,c,l,d,f,p=[r||xe],h=he.call(t,"type")?t.type:t,g=he.call(t,"namespace")?t.namespace.split("."):[];if(a=f=s=r=r||xe,3!==r.nodeType&&8!==r.nodeType&&!Wt.test(h+Ce.event.triggered)&&(h.indexOf(".")>-1&&(h=(g=h.split(".")).shift(),g.sort()),c=h.indexOf(":")<0&&"on"+h,(t=t[Ce.expando]?t:new Ce.Event(h,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=null==n?[t]:Ce.makeArray(n,[t]),d=Ce.event.special[h]||{},i||!d.trigger||!1!==d.trigger.apply(r,n))){if(!i&&!d.noBubble&&!be(r)){for(u=d.delegateType||h,Wt.test(u+h)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||xe)&&p.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=p[o++])&&!t.isPropagationStopped();)f=a,t.type=o>1?u:d.bindType||h,(l=(Qe.get(a,"events")||Object.create(null))[t.type]&&Qe.get(a,"handle"))&&l.apply(a,n),(l=c&&a[c])&&l.apply&&Ve(a)&&(t.result=l.apply(a,n),!1===t.result&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),n)||!Ve(r)||c&&ve(r[h])&&!be(r)&&((s=r[c])&&(r[c]=null),Ce.event.triggered=h,t.isPropagationStopped()&&f.addEventListener(h,It),r[h](),t.isPropagationStopped()&&f.removeEventListener(h,It),Ce.event.triggered=undefined,s&&(r[c]=s)),t.result}},simulate:function(e,t,n){var r=Ce.extend(new Ce.Event,n,{type:e,isSimulated:!0});Ce.event.trigger(r,null,t)}}),Ce.fn.extend({trigger:function(e,t){return this.each(function(){Ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ce.event.trigger(e,t,n,!0)}});var Bt=/\[\]$/,_t=/\r?\n/g,zt=/^(?:submit|button|image|reset|file)$/i,Ut=/^(?:input|select|textarea|keygen)/i;Ce.param=function(e,t){var n,r=[],i=function(e,t){var n=ve(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Ce.isPlainObject(e))Ce.each(e,function(){i(this.name,this.value)});else for(n in e)ee(n,e[n],t,i);return r.join("&")},Ce.fn.extend({serialize:function(){return Ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ce.prop(this,"elements");return e?Ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ce(this).is(":disabled")&&Ut.test(this.nodeName)&&!zt.test(e)&&(this.checked||!ut.test(e))}).map(function(e,t){var n=Ce(this).val();return null==n?null:Array.isArray(n)?Ce.map(n,function(e){return{name:t.name,value:e.replace(_t,"\r\n")}}):{name:t.name,value:n.replace(_t,"\r\n")}}).get()}});var Xt=/%20/g,Vt=/#.*$/,Qt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Jt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gt=/^(?:GET|HEAD)$/,Kt=/^\/\//,Zt={},en={},tn="*/".concat("*"),nn=xe.createElement("a");nn.href=Ft.href,Ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ft.href,type:"GET",isLocal:Jt.test(Ft.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,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":Ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,Ce.ajaxSettings),t):re(Ce.ajaxSettings,e)},ajaxPrefilter:te(Zt),ajaxTransport:te(en),ajax:function(t,n){function r(t,n,r,s){var c,f,p,x,w,T=n;l||(l=!0,u&&e.clearTimeout(u),i=undefined,a=s||"",S.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(x=ie(h,S,r)),!c&&Ce.inArray("script",h.dataTypes)>-1&&Ce.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=oe(h,x,S,c),c?(h.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(Ce.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(Ce.etag[o]=w)),204===t||"HEAD"===h.type?T="nocontent":304===t?T="notmodified":(T=x.state,f=x.data,c=!(p=x.error))):(p=T,!t&&T||(T="error",t<0&&(t=0))),S.status=t,S.statusText=(n||T)+"",c?y.resolveWith(g,[f,T,S]):y.rejectWith(g,[S,T,p]),S.statusCode(b),b=undefined,d&&m.trigger(c?"ajaxSuccess":"ajaxError",[S,h,c?f:p]),v.fireWith(g,[S,T]),d&&(m.trigger("ajaxComplete",[S,h]),--Ce.active||Ce.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=undefined),n=n||{};var i,o,a,s,u,c,l,d,f,p,h=Ce.ajaxSetup({},n),g=h.context||h,m=h.context&&(g.nodeType||g.jquery)?Ce(g):Ce.event,y=Ce.Deferred(),v=Ce.Callbacks("once memory"),b=h.statusCode||{},x={},w={},T="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Yt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)S.always(e[S.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),r(0,t),this}};if(y.promise(S),h.url=((t||h.url||Ft.href)+"").replace(Kt,Ft.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Ie)||[""],null==h.crossDomain){c=xe.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=nn.protocol+"//"+nn.host!=c.protocol+"//"+c.host}catch(C){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Ce.param(h.data,h.traditional)),ne(Zt,h,n,S),l)return S;for(f in(d=Ce.event&&h.global)&&0==Ce.active++&&Ce.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Gt.test(h.type),o=h.url.replace(Vt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Xt,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Pt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Qt,"$1"),p=(Pt.test(o)?"&":"?")+"_="+Rt.guid+++p),h.url=o+p),h.ifModified&&(Ce.lastModified[o]&&S.setRequestHeader("If-Modified-Since",Ce.lastModified[o]),Ce.etag[o]&&S.setRequestHeader("If-None-Match",Ce.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+tn+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(g,S,h)||l))return S.abort();if(T="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),i=ne(en,h,n,S)){if(S.readyState=1,d&&m.trigger("ajaxSend",[S,h]),l)return S;h.async&&h.timeout>0&&(u=e.setTimeout(function(){S.abort("timeout")},h.timeout));try{l=!1,i.send(x,r)}catch(C){if(l)throw C;r(-1,C)}}else r(-1,"No Transport");return S},getJSON:function(e,t,n){return Ce.get(e,t,n,"json")},getScript:function(e,t){return Ce.get(e,undefined,t,"script")}}),Ce.each(["get","post"],function(e,t){Ce[t]=function(e,n,r,i){return ve(n)&&(i=i||r,r=n,n=undefined),Ce.ajax(Ce.extend({url:e,type:t,dataType:i,data:n,success:r},Ce.isPlainObject(e)&&e))}}),Ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),Ce._evalUrl=function(e,t,n){return Ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Ce.globalEval(e,t,n)}})},Ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(ve(e)&&(e=e.call(this[0])),t=Ce(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(e){return ve(e)?this.each(function(t){Ce(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Ce(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ve(e);return this.each(function(n){Ce(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Ce(this).replaceWith(this.childNodes)}),this}}),Ce.expr.pseudos.hidden=function(e){return!Ce.expr.pseudos.visible(e)},Ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Ce.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var rn={0:200,1223:204},on=Ce.ajaxSettings.xhr();ye.cors=!!on&&"withCredentials"in on,ye.ajax=on=!!on,Ce.ajaxTransport(function(t){var n,r;if(ye.cors||on&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(rn[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),s.onabort!==undefined?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}}),Ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Ce.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 Ce.globalEval(e),e}}}),Ce.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Ce.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=Ce("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),xe.head.appendChild(t[0])},abort:function(){n&&n()}}});var an,sn=[],un=/(=)\?(?=&|$)|\?\?/;Ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=sn.pop()||Ce.expando+"_"+Rt.guid++;return this[e]=!0,e}}),Ce.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(un.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&un.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=ve(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(un,"$1"+i):!1!==t.jsonp&&(t.url+=(Pt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||Ce.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){o===undefined?Ce(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,sn.push(i)),a&&ve(o)&&o(a[0]),a=o=undefined}),"script"}),ye.createHTMLDocument=((an=xe.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===an.childNodes.length),Ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ye.createHTMLDocument?((r=(t=xe.implementation.createHTMLDocument("")).createElement("base")).href=xe.location.href,t.head.appendChild(r)):t=xe),o=!n&&[],(i=Oe.exec(e))?[t.createElement(i[1])]:(i=C([e],t,o),o&&o.length&&Ce(o).remove(),Ce.merge([],i.childNodes)));var r,i,o},Ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=G(e.slice(s)),e=e.slice(0,s)),ve(t)?(n=t,t=undefined):t&&"object"==typeof t&&(i="POST"),a.length>0&&Ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?Ce("<div>").append(Ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Ce.expr.pseudos.animated=function(e){return Ce.grep(Ce.timers,function(t){return e===t.elem}).length},Ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c=Ce.css(e,"position"),l=Ce(e),d={};"static"===c&&(e.style.position="relative"),s=l.offset(),o=Ce.css(e,"top"),u=Ce.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),ve(t)&&(t=t.call(e,n,Ce.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):l.css(d)}},Ce.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){Ce.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===Ce.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Ce.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=Ce(e).offset()).top+=Ce.css(e,"borderTopWidth",!0),i.left+=Ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-Ce.css(r,"marginTop",!0),left:t.left-i.left-Ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Ce.css(e,"position");)e=e.offsetParent;return e||tt})}}),Ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;Ce.fn[e]=function(r){return ze(this,function(e,r,i){var o;if(be(e)?o=e:9===e.nodeType&&(o=e.defaultView),i===undefined)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),Ce.each(["top","left"],function(e,t){Ce.cssHooks[t]=F(ye.pixelPosition,function(e,n){if(n)return n=O(e,t),yt.test(n)?Ce(e).position()[t]+"px":n})}),Ce.each({Height:"height",Width:"width"},function(e,t){Ce.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Ce.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return ze(this,function(t,n,i){var o;return be(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):i===undefined?Ce.css(t,n,s):Ce.style(t,n,i,s)},t,a?i:undefined,a)}})}),Ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ce.fn[t]=function(e){return this.on(t,e)}}),Ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),Ce.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,t){Ce.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var cn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Ce.proxy=function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),ve(e)?(r=ue.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ue.call(arguments)))}).guid=e.guid=e.guid||Ce.guid++,i):undefined},Ce.holdReady=function(e){e?Ce.readyWait++:Ce.ready(!0)},Ce.isArray=Array.isArray,Ce.parseJSON=JSON.parse,Ce.nodeName=o,Ce.isFunction=ve,Ce.isWindow=be,Ce.camelCase=g,Ce.type=r,Ce.now=Date.now,Ce.isNumeric=function(e){var t=Ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Ce.trim=function(e){return null==e?"":(e+"").replace(cn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ce});var ln=e.jQuery,dn=e.$;return Ce.noConflict=function(t){return e.$===Ce&&(e.$=dn),t&&e.jQuery===Ce&&(e.jQuery=ln),Ce},void 0===t&&(e.jQuery=e.$=Ce),Ce}),
14
14
  /*
15
15
  * favcount.js v1.5.0
16
16
  * http://chrishunt.co/favcount
@@ -19,4 +19,4 @@ var e=xe.createElement("input"),t=xe.createElement("select").appendChild(xe.crea
19
19
  * Copyright 2013, Chris Hunt
20
20
  * Released under the MIT license
21
21
  */
22
- function(){function e(e){this.icon=e,this.opacity=.4,this.canvas=document.createElement("canvas"),this.font="Helvetica, Arial, sans-serif"}function t(e){return e=Math.round(e),isNaN(e)||e<1?"":e<10?" "+e:e>99?"99":e}function n(e,t,n,r,i){var o,a,s,u,l,c,d,f=document.getElementsByTagName("head")[0],p=document.createElement("link");p.rel="icon",a=11*(o=r.width/16),u=o,l=11*o,c=o,d=2*o,e.height=e.width=r.width,(s=e.getContext("2d")).font="bold "+a+"px "+n,i&&(s.globalAlpha=t),s.drawImage(r,0,0),s.globalAlpha=1,s.shadowColor="#FFF",s.shadowBlur=d,s.shadowOffsetX=0,s.shadowOffsetY=0,s.fillStyle="#FFF",s.fillText(i,u,l),s.fillText(i,u+c,l),s.fillText(i,u,l+c),s.fillText(i,u+c,l+c),s.fillStyle="#000",s.fillText(i,u+c/2,l+c/2),p.href=e.toDataURL("image/png"),f.removeChild(document.querySelector("link[rel=icon]")),f.appendChild(p)}e.prototype.set=function(e){var r=this,i=document.createElement("img");r.canvas.getContext&&(i.crossOrigin="anonymous",i.onload=function(){n(r.canvas,r.opacity,r.font,i,t(e))},i.src=this.icon)},this.Favcount=e}.call(this),function(){Favcount.VERSION="1.5.0"}.call(this),function(){var e,t=function(e,t){return function(){return e.apply(t,arguments)}};jQuery.expr.pseudos.icontains=function(e,t,n){var r,i;return(null!=(r=null!=(i=e.textContent)?i:e.innerText)?r:"").toUpperCase().indexOf(n[3].toUpperCase())>=0},e=function(){function e(){var e;this.nextTab=t(this.nextTab,this),this.previousTab=t(this.previousTab,this),this.openTab=t(this.openTab,this),this.selectedTab=t(this.selectedTab,this),this.getTab=t(this.getTab,this),$("#messages").on("click","tr",(e=this,function(t){return t.preventDefault(),e.loadMessage($(t.currentTarget).attr("data-message-id"))})),$("input[name=search]").on("keyup",function(e){return function(t){var n;return(n=$.trim($(t.currentTarget).val()))?e.searchMessages(n):e.clearSearch(),e.applyFilters()}}(this)),$("#searchClear").on("click",function(e){return function(t){return t.preventDefault(),$("input[name=search]").val("").focus(),e.clearSearch(),e.applyFilters()}}(this)),$("#attachmentFilter").on("change",function(e){return function(){return e.applyFilters()}}(this)),$("#message").on("click",".views .format.tab a",function(e){return function(t){return t.preventDefault(),e.loadMessageBody(e.selectedMessage(),$($(t.currentTarget).parent("li")).data("message-format"))}}(this)),$("#message iframe").on("load",function(e){return function(){return e.decorateMessageBody()}}(this)),$("#resizer").on("mousedown",function(e){return function(t){var n;return t.preventDefault(),n={mouseup:function(e){return e.preventDefault(),$(window).off(n)},mousemove:function(t){return t.preventDefault(),e.resizeTo(t.clientY)}},$(window).on(n)}}(this)),this.resizeToSaved(),$("nav.app .clear a").on("click",function(e){return function(t){if(t.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to clear all messages?"))return $.ajax({url:new URL("messages",document.baseURI).toString(),type:"DELETE",success:function(){return e.clearMessages()},error:function(){return alert("Error while clearing all messages.")}})}}(this)),$("nav.app .quit a").on("click",function(e){return function(t){if(t.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to quit?"))return e.quitting=!0,$.ajax({type:"DELETE",success:function(){return e.hasQuit()},error:function(){return e.quitting=!1,alert("Error while quitting.")}})}}(this)),this.favcount=new Favcount($('link[rel="icon"]').attr("href")),document.addEventListener("keydown",function(e){return function(t){var n;if("search"!==t.target.type){switch(t.code){case"ArrowUp":t.preventDefault(),e.selectedMessage()?e.loadMessage($("#messages tr.selected").prevAll(":visible").first().data("message-id")):e.loadMessage($("#messages tbody tr[data-message-id]").first().data("message-id"));break;case"ArrowDown":t.preventDefault(),e.selectedMessage()?e.loadMessage($("#messages tr.selected").nextAll(":visible").data("message-id")):e.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id"));break;case"ArrowLeft":t.preventDefault(),e.openTab(e.previousTab());break;case"ArrowRight":t.preventDefault(),e.openTab(e.nextTab());break;case"Backspace":case"Delete":t.preventDefault(),null!=(n=e.selectedMessage())&&$.ajax({url:new URL("messages/"+n,document.baseURI).toString(),type:"DELETE",success:function(){return e.removeMessage(n)},error:function(){return alert("Error while removing message.")}})}if(t.ctrlKey||t.metaKey)switch(t.code){case"ArrowUp":return t.preventDefault(),e.loadMessage($("#messages tbody tr[data-message-id]:visible").first().data("message-id"));case"ArrowDown":return t.preventDefault(),e.loadMessage($("#messages tbody tr[data-message-id]:visible").last().data("message-id"))}}}}(this)),this.refresh(),this.subscribe()}return e.prototype.parseDate=function(e){return"string"==typeof e?new Date(e):e},e.prototype.formatDate=function(e){var t;return"string"==typeof e&&(e=this.parseDate(e)),e?(t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][e.getDay()]+", "+String(e.getDate()).padStart(2,"0")+" "+t[e.getMonth()]+" "+e.getFullYear()+" "+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0")):null},e.prototype.formatSize=function(e){var t,n,r;return e?0===(e=parseInt(e))?"0 B":(n=1024,r=["B","KB","MB","GB"],t=Math.floor(Math.log(e)/Math.log(n)),(e/Math.pow(n,t)).toFixed(2).replace(/\.?0+$/,"")+" "+r[t]):"-"},e.prototype.messagesCount=function(){return $("#messages tr").length-1},e.prototype.updateMessagesCount=function(){return this.favcount.set(this.messagesCount()),document.title="MailCatcher ("+this.messagesCount()+")"},e.prototype.tabs=function(){return $("#message ul").children(".tab")},e.prototype.getTab=function(e){return $(this.tabs()[e])},e.prototype.selectedTab=function(){return this.tabs().index($("#message li.tab.selected"))},e.prototype.openTab=function(e){return this.getTab(e).children("a").click()},e.prototype.previousTab=function(e){var t;return(t=e||0===e?e:this.selectedTab()-1)<0&&(t=this.tabs().length-1),this.getTab(t).is(":visible")?t:this.previousTab(t-1)},e.prototype.nextTab=function(e){var t;return(t=e||this.selectedTab()+1)>this.tabs().length-1&&(t=0),this.getTab(t).is(":visible")?t:this.nextTab(t+1)},e.prototype.haveMessage=function(e){return null!=e.id&&(e=e.id),$('#messages tbody tr[data-message-id="'+e+'"]').length>0},e.prototype.selectedMessage=function(){return $("#messages tr.selected").data("message-id")},e.prototype.currentSearchQuery="",e.prototype.currentAttachmentFilter="all",e.prototype.searchMessages=function(e){return this.currentSearchQuery=e,this.applyFilters()},e.prototype.clearSearch=function(){return this.currentSearchQuery="",this.applyFilters()},e.prototype.applyFilters=function(){var e,t,n,r;return e=$("#messages tbody tr"),n=this.currentSearchQuery,t=$("#attachmentFilter").val(),this.currentAttachmentFilter=t,e.each((r=this,function(e,i){var o,a,s,u,l,c,d;if(o=$(i),l=!0,n&&(d=n.split(/\s+/),c=o.text().toUpperCase(),l=d.every(function(e){return c.indexOf(e.toUpperCase())>=0})),a=!0,(u=o.attr("data-message-id"))&&"all"!==t){if(void 0===(s=o.data("has-attachments")))return void $.getJSON("messages/"+u+".json",function(e){return o.data("has-attachments",e.attachments&&e.attachments.length>0),r.applyFilters()});"with"===t?a=s:"without"===t&&(a=!s)}return l&&a?o.show():o.hide()}))},e.prototype.formatSender=function(e){var t;return e?(t=(e=e.replace(/^<(.+?)>$/,"$1")).match(/^(.+?)\s+<(.+?)>$/))?t[1].trim()+" "+t[2].trim():e:""},e.prototype.parseSender=function(e){var t,n;return e?(n=(t=e.replace(/^<(.+?)>$/,"$1")).match(/^(.+?)\s+<(.+?)>$/))?{name:n[1].trim(),email:n[2].trim()}:{name:"",email:t}:{name:"",email:""}},e.prototype.getEmailPreview=function(e,t){var n;return this,e.formats&&(e.formats.includes("plain")||e.formats.includes("html"))?(n=e.formats.includes("plain")?"plain":"html",$.ajax({url:"messages/"+e.id+"."+n,type:"GET",success:function(e){var n;if((n=(n=e.replace(/<[^>]*>/g,"").trim()).substring(0,100)).length>=100&&(n+="..."),t)return t(n)},error:function(){if(t)return t("")}})):t?t(""):void 0},e.prototype.addMessage=function(e){var t,n,r,i,o,a,s,u,l,c,d,f,p,h,g,m,y,v,b,x;return this.formatSender(e.sender||"No sender"),y=e.attachments&&e.attachments.length>0,f=$("<td/>").addClass("subject-cell"),d=$("<div/>").addClass("subject-text").html("<strong>"+this.escapeHtml(e.subject||"No subject")+"</strong>"),a=$("<div/>").addClass("preview-text").text(""),f.append(d).append(a),i=$("<td/>").addClass("from-cell"),x=this.parseSender(e.sender||""),o=$("<div/>").addClass("sender-text-container"),x.name?(c=$("<div/>").addClass("sender-name").html("<strong>"+this.escapeHtml(x.name)+"</strong>"),l=$("<div/>").addClass("sender-email").text(x.email),o.append(c).append(l)):(l=$("<div/>").addClass("sender-email").text(x.email),o.append(l)),i.append(o).toggleClass("blank",!e.sender),t=$("<td/>").addClass("col-attachments"),y&&t.text("\ud83d\udcce"),n=$("<td/>").addClass("col-bimi"),(r=$("<svg/>").addClass("bimi-placeholder-icon").attr("viewBox","0 0 24 24").attr("fill","none").attr("stroke","currentColor").attr("stroke-width","2")).append($("<circle/>").attr("cx","12").attr("cy","12").attr("r","10")),r.append($("<text/>").attr("x","12").attr("y","13").attr("text-anchor","middle").attr("font-size","10").attr("font-weight","bold").text("B")),n.append(r),p=$("<td/>").addClass("to-cell"),e.recipients&&e.recipients.length>0?(m=e.recipients[0],v=this.parseSender(m),h=$("<div/>").addClass("sender-text-container"),v.name?(u=$("<div/>").addClass("sender-name").html("<strong>"+this.escapeHtml(v.name)+"</strong>"),s=$("<div/>").addClass("sender-email").text(v.email),h.append(u).append(s)):(s=$("<div/>").addClass("sender-email").text(v.email),h.append(s)),p.append(h)):p.addClass("blank").text("No recipients"),(g=$("<tr />").attr("data-message-id",e.id.toString()).append(t).append(n).append(i).append(p).append(f).append($("<td/>").text(this.formatDate(e.created_at))).append($("<td/>").text(this.formatSize(e.size)))).data("has-attachments",y),g.prependTo($("#messages tbody")),b=this,$.getJSON("messages/"+e.id+".json",function(e){var r,i,l,c,d;if(e.from_header&&(o.empty(),(c=b.parseSender(e.from_header)).name?(l=$("<div/>").addClass("sender-name").html("<strong>"+b.escapeHtml(c.name)+"</strong>"),i=$("<div/>").addClass("sender-email").text(c.email),o.append(l).append(i)):(i=$("<div/>").addClass("sender-email").text(c.email),o.append(i))),e.to_header&&(p.empty(),(d=e.to_header.split(",").map(function(e){return e.trim()})).length>0&&(m=d[0],v=b.parseSender(m),h=$("<div/>").addClass("sender-text-container"),v.name?(u=$("<div/>").addClass("sender-name").html("<strong>"+b.escapeHtml(v.name)+"</strong>"),s=$("<div/>").addClass("sender-email").text(v.email),h.append(u).append(s)):(s=$("<div/>").addClass("sender-email").text(v.email),h.append(s)),p.append(h))),e.attachments&&e.attachments.length>0&&(g.data("has-attachments",!0),t.text("\ud83d\udcce")),e.preview_text?a.text(e.preview_text):b.getEmailPreview(e,function(e){return a.text(e)}),e.bimi_location)return n.empty(),r=$("<img/>").addClass("bimi-image").attr("src",e.bimi_location).attr("alt","BIMI"),n.append(r)}),this.updateMessagesCount(),this.applyFilters()},e.prototype.escapeHtml=function(e){var t;return(t=document.createElement("div")).textContent=e,t.innerHTML},e.prototype.removeMessage=function(e){var t,n,r;return(t=(n=$('#messages tbody tr[data-message-id="'+e+'"]')).is(".selected"))&&(r=n.next().data("message-id")||n.prev().data("message-id")),n.remove(),t&&(r?this.loadMessage(r):this.unselectMessage()),this.updateMessagesCount()},e.prototype.clearMessages=function(){return $("#messages tbody tr").remove(),this.unselectMessage(),this.updateMessagesCount()},e.prototype.scrollToRow=function(e){var t,n;return(n=e.offset().top-$("#messages").offset().top)<0?$("#messages").scrollTop($("#messages").scrollTop()+n-20):(t=n+e.height()-$("#messages").height())>0?$("#messages").scrollTop($("#messages").scrollTop()+t+20):void 0},e.prototype.unselectMessage=function(){return $("#messages tbody, #message .metadata dd").empty(),$(".attachments-list").empty(),$(".attachments-column").removeClass("visible"),$("#message iframe").attr("src","about:blank"),null},e.prototype.cleanEmailAddress=function(e){return e?e.replace(/^<(.+)>$/,"$1"):e},e.prototype.loadMessage=function(e){var t,n;if(null!=(null!=e?e.id:void 0)&&(e=e.id),e||(e=$("#messages tr.selected").attr("data-message-id")),null!=e)return $("#messages tbody tr:not([data-message-id='"+e+"'])").removeClass("selected"),(t=$("#messages tbody tr[data-message-id='"+e+"']")).addClass("selected"),this.scrollToRow(t),$.getJSON("messages/"+e+".json",(n=this,function(r){var i,o,a;return(t=$("#messages tbody tr[data-message-id='"+e+"']")).data("has-attachments",r.attachments&&r.attachments.length>0),$("#message .metadata dd.created_at").text(n.formatDate(r.created_at)),r.from_header?$("#message .metadata dd.from").text(n.formatSender(r.from_header)):$("#message .metadata dd.from").text(n.cleanEmailAddress(r.sender)),r.to_header?(a=r.to_header.split(",").map(function(e){return n.formatSender(e.trim())}).join(", "),$("#message .metadata dd.to").text(a)):$("#message .metadata dd.to").text((r.recipients||[]).map(function(e){return n.cleanEmailAddress(e)}).join(", ")),$("#message .metadata dd.subject").text(r.subject),$("#message .views .tab.format").each(function(t,n){var i,o;return"transcript"===(o=(i=$(n)).attr("data-message-format"))?i.show():$.inArray(o,r.formats)>=0?(i.find("a").attr("href","messages/"+e+"."+o),i.show()):i.hide()}),$("#message .views .tab.selected:not(:visible)").length&&($("#message .views .tab.selected").removeClass("selected"),$("#message .views .tab:visible:first").addClass("selected")),r.attachments.length?(i=$(".attachments-list").empty(),o=n,$.each(r.attachments,function(t,n){var r,a,s;return a=$("<li/>"),r=$("<a/>").attr("href","messages/"+e+"/parts/"+n.cid).addClass(n.type.split("/",1)[0]).addClass(n.type.replace("/","-")).text(n.filename),(s=$("<div/>").addClass("attachment-meta")).append($("<div/>").addClass("attachment-size").text(o.formatSize(n.size))),s.append($("<div/>").addClass("attachment-type").text(n.type)),a.append(r).append(s),i.append(a)}),$(".attachments-column").addClass("visible")):$(".attachments-column").removeClass("visible"),$("#message .views .download a").attr("href","messages/"+e+".eml"),n.loadMessageBody()}))},e.prototype.loadMessageBody=function(e,t){if(e||(e=this.selectedMessage()),t||(t=$("#message .views .tab.format.selected").attr("data-message-format")),t||(t="html"),$('#message .views .tab[data-message-format="'+t+'"]:not(.selected)').addClass("selected"),$('#message .views .tab:not([data-message-format="'+t+'"]).selected').removeClass("selected"),null!=e)return $("#message iframe").attr("src","messages/"+e+"."+t)},e.prototype.decorateMessageBody=function(){var e,t,n,r,i;switch($("#message .views .tab.format.selected").attr("data-message-format")){case"html":return e=$("#message iframe").contents().find("body"),$("a",e).attr("target","_blank");case"plain":return(e=(n=$("#message iframe").contents()).find("body")).length?(e.css("font-family","'Monaco', 'Courier New', 'Consolas', monospace"),e.css("font-size","13px"),e.css("line-height","1.6"),e.css("white-space","pre-wrap"),e.css("word-wrap","break-word"),e.css("background-color","#f5f5f5"),e.css("padding","20px 28px"),e.css("margin","0"),e.css("color","#333333")):(i=(i=(i=(i=(i=(i=n.text()).replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")).replace(/((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:\/~\+#]*[\w\-\@?^=%&amp;\/~\+#])?)/g,'<a href="$1" target="_blank">$1</a>'),n.find("html").html("<body style=\"font-family: 'Monaco', 'Courier New', 'Consolas', monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; background-color: #f5f5f5; padding: 20px 28px; margin: 0; color: #333333;\">"+i+"</body>"));case"source":if((e=(n=$("#message iframe").contents()).find("body")).length&&(t=e.text()))return r="<body style=\"background: #f5f5f5; color: #1a1a1a; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; padding: 0; margin: 0; line-height: 1.6;\">\n <div style=\"padding: 20px 28px;\">\n "+('<pre><code class="language-xml">'+t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")+"</code></pre>")+"\n </div>\n</body>",n.find("html").html(r),setTimeout(function(){return n.find("code").each(function(e,t){return hljs.highlightElement(t)})},0)}},e.prototype.refresh=function(){return $.getJSON("messages",(e=this,function(t){return $.each(t,function(t,n){if(!e.haveMessage(n))return e.addMessage(n)}),e.updateMessagesCount()}));var e},e.prototype.subscribe=function(){return"undefined"!=typeof WebSocket&&null!==WebSocket?this.subscribeWebSocket():this.subscribePoll()},e.prototype.reconnectWebSocketAttempts=0,e.prototype.maxReconnectAttempts=10,e.prototype.reconnectBaseDelay=1e3,e.prototype.subscribeWebSocket=function(){var e,t,n;return e="https:"===window.location.protocol,(t=new URL("messages",document.baseURI)).protocol=e?"wss":"ws",this.websocket=new WebSocket(t.toString()),this.websocket.onopen=(n=this,function(){return console.log("[MailCatcher] WebSocket connection established"),n.reconnectWebSocketAttempts=0,n.updateWebSocketStatus(!0)}),this.websocket.onmessage=function(e){return function(t){var n,r;try{if(n=JSON.parse(t.data),console.log("[MailCatcher] WebSocket message received:",n),"add"===n.type)return e.addMessage(n.message);if("remove"===n.type)return e.removeMessage(n.id);if("clear"===n.type)return e.clearMessages();if("quit"===n.type&&!e.quitting)return e.hasQuit()}catch(i){return r=i,console.error("[MailCatcher] Error processing WebSocket message:",r)}}}(this),this.websocket.onerror=function(e){return function(t){return console.error("[MailCatcher] WebSocket error:",t),e.updateWebSocketStatus(!1)}}(this),this.websocket.onclose=function(e){return function(){return console.log("[MailCatcher] WebSocket connection closed"),e.updateWebSocketStatus(!1),e.attemptWebSocketReconnect()}}(this)},e.prototype.subscribePoll=function(){if(null==this.refreshInterval)return this.refreshInterval=setInterval((e=this,function(){return e.refresh()}),1e3);var e},e.prototype.attemptWebSocketReconnect=function(){var e,t;return this.reconnectWebSocketAttempts<this.maxReconnectAttempts?(e=this.reconnectBaseDelay*Math.pow(2,this.reconnectWebSocketAttempts),this.reconnectWebSocketAttempts++,console.log("[MailCatcher] Attempting WebSocket reconnection in "+e+"ms (attempt "+this.reconnectWebSocketAttempts+"/"+this.maxReconnectAttempts+")"),setTimeout((t=this,function(){return t.subscribeWebSocket()}),e)):(console.log("[MailCatcher] Max WebSocket reconnection attempts reached, staying in polling mode"),this.subscribePoll())},e.prototype.resizeToSavedKey="mailcatcherSeparatorHeight",e.prototype.resizeTo=function(e){var t;return $("#messages").css({height:e-$("#messages").offset().top}),null!=(t=window.localStorage)?t.setItem(this.resizeToSavedKey,e):void 0},e.prototype.resizeToSaved=function(){var e,t;if(e=parseInt(null!=(t=window.localStorage)?t.getItem(this.resizeToSavedKey):void 0),!isNaN(e))return this.resizeTo(e)},e.prototype.updateWebSocketStatus=function(e){var t,n;if(t=document.getElementById("websocketStatus"),n=document.getElementById("statusText"),t&&n)return e?(t.classList.remove("disconnected"),n.textContent="Connected"):(t.classList.add("disconnected"),n.textContent="Disconnected")},e.prototype.hasQuit=function(){return console.log("[MailCatcher] Server has quit")},e}(),$(function(){return window.MailCatcher=new e})}.call(this);
22
+ function(){function e(e){this.icon=e,this.opacity=.4,this.canvas=document.createElement("canvas"),this.font="Helvetica, Arial, sans-serif"}function t(e){return e=Math.round(e),isNaN(e)||e<1?"":e<10?" "+e:e>99?"99":e}function n(e,t,n,r,i){var o,a,s,u,c,l,d,f=document.getElementsByTagName("head")[0],p=document.createElement("link");p.rel="icon",a=11*(o=r.width/16),u=o,c=11*o,l=o,d=2*o,e.height=e.width=r.width,(s=e.getContext("2d")).font="bold "+a+"px "+n,i&&(s.globalAlpha=t),s.drawImage(r,0,0),s.globalAlpha=1,s.shadowColor="#FFF",s.shadowBlur=d,s.shadowOffsetX=0,s.shadowOffsetY=0,s.fillStyle="#FFF",s.fillText(i,u,c),s.fillText(i,u+l,c),s.fillText(i,u,c+l),s.fillText(i,u+l,c+l),s.fillStyle="#000",s.fillText(i,u+l/2,c+l/2),p.href=e.toDataURL("image/png"),f.removeChild(document.querySelector("link[rel=icon]")),f.appendChild(p)}e.prototype.set=function(e){var r=this,i=document.createElement("img");r.canvas.getContext&&(i.crossOrigin="anonymous",i.onload=function(){n(r.canvas,r.opacity,r.font,i,t(e))},i.src=this.icon)},this.Favcount=e}.call(this),function(){Favcount.VERSION="1.5.0"}.call(this),function(){var e,t=function(e,t){return function(){return e.apply(t,arguments)}};jQuery.expr.pseudos.icontains=function(e,t,n){var r,i;return(null!=(r=null!=(i=e.textContent)?i:e.innerText)?r:"").toUpperCase().indexOf(n[3].toUpperCase())>=0},e=function(){function e(){var e;this.nextTab=t(this.nextTab,this),this.previousTab=t(this.previousTab,this),this.openTab=t(this.openTab,this),this.selectedTab=t(this.selectedTab,this),this.getTab=t(this.getTab,this),$("#messages").on("click","tr",(e=this,function(t){return t.preventDefault(),e.loadMessage($(t.currentTarget).attr("data-message-id"))})),$("input[name=search]").on("keyup",function(e){return function(t){var n;return(n=$.trim($(t.currentTarget).val()))?e.searchMessages(n):e.clearSearch(),e.applyFilters()}}(this)),$("#searchClear").on("click",function(e){return function(t){return t.preventDefault(),$("input[name=search]").val("").focus(),e.clearSearch(),e.applyFilters()}}(this)),$("#attachmentFilter").on("change",function(e){return function(){return e.applyFilters()}}(this)),$("#messages").on("click","th.sortable, th.sortable *",function(e){return function(t){var n;if(n=$(t.currentTarget).closest("th.sortable").data("sort-field"))return e.setSortField(n)}}(this)),$("#message").on("click",".views .format.tab a",function(e){return function(t){return t.preventDefault(),e.loadMessageBody(e.selectedMessage(),$($(t.currentTarget).parent("li")).data("message-format"))}}(this)),$("#message iframe").on("load",function(e){return function(){return e.decorateMessageBody()}}(this)),$("#resizer").on("mousedown",function(e){return function(t){var n;return t.preventDefault(),n={mouseup:function(e){return e.preventDefault(),$(window).off(n)},mousemove:function(t){return t.preventDefault(),e.resizeTo(t.clientY)}},$(window).on(n)}}(this)),this.resizeToSaved(),$("nav.app .clear a").on("click",function(e){return function(t){if(t.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to clear all messages?"))return $.ajax({url:new URL("messages",document.baseURI).toString(),type:"DELETE",success:function(){return e.clearMessages()},error:function(){return alert("Error while clearing all messages.")}})}}(this)),$("nav.app .quit a").on("click",function(e){return function(t){if(t.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to quit?"))return e.quitting=!0,$.ajax({type:"DELETE",success:function(){return e.hasQuit()},error:function(){return e.quitting=!1,alert("Error while quitting.")}})}}(this)),this.favcount=new Favcount($('link[rel="icon"]').attr("href")),document.addEventListener("keydown",function(e){return function(t){var n;if("search"!==t.target.type){switch(t.code){case"ArrowUp":t.preventDefault(),e.selectedMessage()?e.loadMessage($("#messages tr.selected").prevAll(":visible").first().data("message-id")):e.loadMessage($("#messages tbody tr[data-message-id]").first().data("message-id"));break;case"ArrowDown":t.preventDefault(),e.selectedMessage()?e.loadMessage($("#messages tr.selected").nextAll(":visible").data("message-id")):e.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id"));break;case"ArrowLeft":t.preventDefault(),e.openTab(e.previousTab());break;case"ArrowRight":t.preventDefault(),e.openTab(e.nextTab());break;case"Backspace":case"Delete":t.preventDefault(),null!=(n=e.selectedMessage())&&$.ajax({url:new URL("messages/"+n,document.baseURI).toString(),type:"DELETE",success:function(){return e.removeMessage(n)},error:function(){return alert("Error while removing message.")}})}if(t.ctrlKey||t.metaKey)switch(t.code){case"ArrowUp":return t.preventDefault(),e.loadMessage($("#messages tbody tr[data-message-id]:visible").first().data("message-id"));case"ArrowDown":return t.preventDefault(),e.loadMessage($("#messages tbody tr[data-message-id]:visible").last().data("message-id"))}}}}(this)),this.refresh(),this.subscribe()}return e.prototype.parseDate=function(e){return"string"==typeof e?new Date(e):e},e.prototype.formatDate=function(e){var t;return"string"==typeof e&&(e=this.parseDate(e)),e?(t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][e.getDay()]+", "+String(e.getDate()).padStart(2,"0")+" "+t[e.getMonth()]+" "+e.getFullYear()+" "+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0")):null},e.prototype.formatSize=function(e){var t,n,r;return e?0===(e=parseInt(e))?"0 B":(n=1024,r=["B","KB","MB","GB"],t=Math.floor(Math.log(e)/Math.log(n)),(e/Math.pow(n,t)).toFixed(2).replace(/\.?0+$/,"")+" "+r[t]):"-"},e.prototype.messagesCount=function(){return $("#messages tr").length-1},e.prototype.updateMessagesCount=function(){return this.favcount.set(this.messagesCount()),document.title="MailCatcher ("+this.messagesCount()+")"},e.prototype.tabs=function(){return $("#message ul").children(".tab")},e.prototype.getTab=function(e){return $(this.tabs()[e])},e.prototype.selectedTab=function(){return this.tabs().index($("#message li.tab.selected"))},e.prototype.openTab=function(e){return this.getTab(e).children("a").click()},e.prototype.previousTab=function(e){var t;return(t=e||0===e?e:this.selectedTab()-1)<0&&(t=this.tabs().length-1),this.getTab(t).is(":visible")?t:this.previousTab(t-1)},e.prototype.nextTab=function(e){var t;return(t=e||this.selectedTab()+1)>this.tabs().length-1&&(t=0),this.getTab(t).is(":visible")?t:this.nextTab(t+1)},e.prototype.haveMessage=function(e){return null!=e.id&&(e=e.id),$('#messages tbody tr[data-message-id="'+e+'"]').length>0},e.prototype.selectedMessage=function(){return $("#messages tr.selected").data("message-id")},e.prototype.currentSearchQuery="",e.prototype.currentAttachmentFilter="all",e.prototype.currentSortField=null,e.prototype.currentSortDirection="asc",e.prototype.searchMessages=function(e){return this.currentSearchQuery=e,this.applyFilters()},e.prototype.clearSearch=function(){return this.currentSearchQuery="",this.applyFilters()},e.prototype.applyFilters=function(){var e,t,n,r;return e=$("#messages tbody tr"),n=this.currentSearchQuery,t=$("#attachmentFilter").val(),this.currentAttachmentFilter=t,e.each((r=this,function(e,i){var o,a,s,u,c,l,d;if(o=$(i),c=!0,n&&(d=n.split(/\s+/),l=o.text().toUpperCase(),c=d.every(function(e){return l.indexOf(e.toUpperCase())>=0})),a=!0,(u=o.attr("data-message-id"))&&"all"!==t){if(void 0===(s=o.data("has-attachments")))return void $.getJSON("messages/"+u+".json",function(e){return o.data("has-attachments",e.attachments&&e.attachments.length>0),r.applyFilters()});"with"===t?a=s:"without"===t&&(a=!s)}return c&&a?o.show():o.hide()})),this.sortMessages()},e.prototype.setSortField=function(e){return this.currentSortField===e?this.currentSortDirection="asc"===this.currentSortDirection?"desc":"asc":(this.currentSortField=e,this.currentSortDirection="asc"),console.log("setSortField called: "+e),this.updateSortIndicators(),this.sortMessages()},e.prototype.updateSortIndicators=function(){var e;if($("th.sortable").removeClass("active asc desc"),$("th.sortable .sort-icon-up").hide(),$("th.sortable .sort-icon-down").show(),this.currentSortField)return(e=$("th.sortable[data-sort-field='"+this.currentSortField+"']")).addClass("active "+this.currentSortDirection),"desc"===this.currentSortDirection?(e.find(".sort-icon-up").show(),e.find(".sort-icon-down").hide()):(e.find(".sort-icon-down").show(),e.find(".sort-icon-up").hide())},e.prototype.sortMessages=function(){var e,t,n,r;if(0!==(e=(t=$("#messages tbody")).find("tr")).length&&this.currentSortField)return(n=e.toArray()).sort((r=this,function(e,t){var n,i,o,a,s;return n=$(e),i=$(t),o=r.getSortValue(n,r.currentSortField),a=r.getSortValue(i,r.currentSortField),null===o||""===o?null===a||""===a?0:1:null===a||""===a?-1:(s=r.compareSortValues(o,a,r.currentSortField),"desc"===r.currentSortDirection?-1*s:s)})),t.detach(),n.forEach(function(e){return t.append(e)}),$("#messages table").append(t),console.log("Sorted by "+this.currentSortField+" ("+this.currentSortDirection+")")},e.prototype.getSortValue=function(e,t){var n,r,i,o,a;switch(t){case"from":return(r=(n=e.find("td.from-cell")).find(".sender-email").first()).length>0?r.text().trim():n.text().trim();case"to":return(r=(a=e.find("td.to-cell")).find(".sender-email").first()).length>0?r.text().trim():a.text().trim();case"subject":return(o=(i=e.find("td.subject-cell")).find(".subject-text")).length>0?o.text().trim():i.text().trim();case"received":return e.find("td").eq(5).text().trim();default:return""}},e.prototype.compareSortValues=function(e,t,n){var r,i,o,a;return"received"===n?(o=new Date(e),a=new Date(t),isNaN(o.getTime())?isNaN(a.getTime())?0:1:isNaN(a.getTime())?-1:o<a?-1:o>a?1:0):(r=e.toLowerCase())<(i=t.toLowerCase())?-1:r>i?1:0},e.prototype.formatSender=function(e){var t;return e?(t=(e=e.replace(/^<(.+?)>$/,"$1")).match(/^(.+?)\s+<(.+?)>$/))?t[1].trim()+" "+t[2].trim():e:""},e.prototype.parseSender=function(e){var t,n;return e?(n=(t=e.replace(/^<(.+?)>$/,"$1")).match(/^(.+?)\s+<(.+?)>$/))?{name:n[1].trim(),email:n[2].trim()}:{name:"",email:t}:{name:"",email:""}},e.prototype.getEmailPreview=function(e,t){var n;return this,e.formats&&(e.formats.includes("plain")||e.formats.includes("html"))?(n=e.formats.includes("plain")?"plain":"html",$.ajax({url:"messages/"+e.id+"."+n,type:"GET",success:function(e){var n;if((n=(n=e.replace(/<[^>]*>/g,"").trim()).substring(0,100)).length>=100&&(n+="..."),t)return t(n)},error:function(){if(t)return t("")}})):t?t(""):void 0},e.prototype.addMessage=function(e){var t,n,r,i,o,a,s,u,c,l,d,f,p,h,g,m,y,v,b,x;return this.formatSender(e.sender||"No sender"),y=e.attachments&&e.attachments.length>0,f=$("<td/>").addClass("subject-cell"),d=$("<div/>").addClass("subject-text").html("<strong>"+this.escapeHtml(e.subject||"No subject")+"</strong>"),a=$("<div/>").addClass("preview-text").text(""),f.append(d).append(a),i=$("<td/>").addClass("from-cell"),x=this.parseSender(e.sender||""),o=$("<div/>").addClass("sender-text-container"),x.name?(l=$("<div/>").addClass("sender-name").html("<strong>"+this.escapeHtml(x.name)+"</strong>"),c=$("<div/>").addClass("sender-email").text(x.email),o.append(l).append(c)):(c=$("<div/>").addClass("sender-email").text(x.email),o.append(c)),i.append(o).toggleClass("blank",!e.sender),t=$("<td/>").addClass("col-attachments"),y&&t.text("\ud83d\udcce"),n=$("<td/>").addClass("col-bimi"),(r=$("<svg/>").addClass("bimi-placeholder-icon").attr("viewBox","0 0 24 24").attr("fill","none").attr("stroke","currentColor").attr("stroke-width","2")).append($("<circle/>").attr("cx","12").attr("cy","12").attr("r","10")),r.append($("<text/>").attr("x","12").attr("y","13").attr("text-anchor","middle").attr("font-size","10").attr("font-weight","bold").text("B")),n.append(r),p=$("<td/>").addClass("to-cell"),e.recipients&&e.recipients.length>0?(m=e.recipients[0],v=this.parseSender(m),h=$("<div/>").addClass("sender-text-container"),v.name?(u=$("<div/>").addClass("sender-name").html("<strong>"+this.escapeHtml(v.name)+"</strong>"),s=$("<div/>").addClass("sender-email").text(v.email),h.append(u).append(s)):(s=$("<div/>").addClass("sender-email").text(v.email),h.append(s)),p.append(h)):p.addClass("blank").text("No recipients"),(g=$("<tr />").attr("data-message-id",e.id.toString()).append(t).append(n).append(i).append(p).append(f).append($("<td/>").text(this.formatDate(e.created_at))).append($("<td/>").text(this.formatSize(e.size)))).data("has-attachments",y),g.prependTo($("#messages tbody")),b=this,$.getJSON("messages/"+e.id+".json",function(e){var r,i,c,l,d;if(e.from_header&&(o.empty(),(l=b.parseSender(e.from_header)).name?(c=$("<div/>").addClass("sender-name").html("<strong>"+b.escapeHtml(l.name)+"</strong>"),i=$("<div/>").addClass("sender-email").text(l.email),o.append(c).append(i)):(i=$("<div/>").addClass("sender-email").text(l.email),o.append(i))),e.to_header&&(p.empty(),(d=e.to_header.split(",").map(function(e){return e.trim()})).length>0&&(m=d[0],v=b.parseSender(m),h=$("<div/>").addClass("sender-text-container"),v.name?(u=$("<div/>").addClass("sender-name").html("<strong>"+b.escapeHtml(v.name)+"</strong>"),s=$("<div/>").addClass("sender-email").text(v.email),h.append(u).append(s)):(s=$("<div/>").addClass("sender-email").text(v.email),h.append(s)),p.append(h))),e.attachments&&e.attachments.length>0&&(g.data("has-attachments",!0),t.text("\ud83d\udcce")),e.preview_text?a.text(e.preview_text):b.getEmailPreview(e,function(e){return a.text(e)}),e.bimi_location)return n.empty(),r=$("<img/>").addClass("bimi-image").attr("src",e.bimi_location).attr("alt","BIMI"),n.append(r)}),this.updateMessagesCount(),this.applyFilters()},e.prototype.escapeHtml=function(e){var t;return(t=document.createElement("div")).textContent=e,t.innerHTML},e.prototype.removeMessage=function(e){var t,n,r;return(t=(n=$('#messages tbody tr[data-message-id="'+e+'"]')).is(".selected"))&&(r=n.next().data("message-id")||n.prev().data("message-id")),n.remove(),t&&(r?this.loadMessage(r):this.unselectMessage()),this.updateMessagesCount()},e.prototype.clearMessages=function(){return $("#messages tbody tr").remove(),this.unselectMessage(),this.updateMessagesCount()},e.prototype.scrollToRow=function(e){var t,n;return(n=e.offset().top-$("#messages").offset().top)<0?$("#messages").scrollTop($("#messages").scrollTop()+n-20):(t=n+e.height()-$("#messages").height())>0?$("#messages").scrollTop($("#messages").scrollTop()+t+20):void 0},e.prototype.unselectMessage=function(){return $("#messages tbody, #message .metadata dd").empty(),$(".attachments-list").empty(),$(".attachments-column").removeClass("visible"),$("#message iframe").attr("src","about:blank"),null},e.prototype.cleanEmailAddress=function(e){return e?e.replace(/^<(.+)>$/,"$1"):e},e.prototype.loadMessage=function(e){var t,n;if(null!=(null!=e?e.id:void 0)&&(e=e.id),e||(e=$("#messages tr.selected").attr("data-message-id")),null!=e)return $("#messages tbody tr:not([data-message-id='"+e+"'])").removeClass("selected"),(t=$("#messages tbody tr[data-message-id='"+e+"']")).addClass("selected"),this.scrollToRow(t),$.getJSON("messages/"+e+".json",(n=this,function(r){var i,o,a;return(t=$("#messages tbody tr[data-message-id='"+e+"']")).data("has-attachments",r.attachments&&r.attachments.length>0),$("#message .metadata dd.created_at").text(n.formatDate(r.created_at)),r.from_header?$("#message .metadata dd.from").text(n.formatSender(r.from_header)):$("#message .metadata dd.from").text(n.cleanEmailAddress(r.sender)),r.to_header?(a=r.to_header.split(",").map(function(e){return n.formatSender(e.trim())}).join(", "),$("#message .metadata dd.to").text(a)):$("#message .metadata dd.to").text((r.recipients||[]).map(function(e){return n.cleanEmailAddress(e)}).join(", ")),$("#message .metadata dd.subject").text(r.subject),$("#message .views .tab.format").each(function(t,n){var i,o;return"transcript"===(o=(i=$(n)).attr("data-message-format"))?i.show():$.inArray(o,r.formats)>=0?(i.find("a").attr("href","messages/"+e+"."+o),i.show()):i.hide()}),$("#message .views .tab.selected:not(:visible)").length&&($("#message .views .tab.selected").removeClass("selected"),$("#message .views .tab:visible:first").addClass("selected")),r.attachments.length?(i=$(".attachments-list").empty(),o=n,$.each(r.attachments,function(t,n){var r,a,s;return a=$("<li/>"),r=$("<a/>").attr("href","messages/"+e+"/parts/"+n.cid).addClass(n.type.split("/",1)[0]).addClass(n.type.replace("/","-")).text(n.filename),(s=$("<div/>").addClass("attachment-meta")).append($("<div/>").addClass("attachment-size").text(o.formatSize(n.size))),s.append($("<div/>").addClass("attachment-type").text(n.type)),a.append(r).append(s),i.append(a)}),$(".attachments-column").addClass("visible")):$(".attachments-column").removeClass("visible"),$("#message .views .download a").attr("href","messages/"+e+".eml"),n.loadMessageBody()}))},e.prototype.loadMessageBody=function(e,t){if(e||(e=this.selectedMessage()),t||(t=$("#message .views .tab.format.selected").attr("data-message-format")),t||(t="html"),$('#message .views .tab[data-message-format="'+t+'"]:not(.selected)').addClass("selected"),$('#message .views .tab:not([data-message-format="'+t+'"]).selected').removeClass("selected"),null!=e)return $("#message iframe").attr("src","messages/"+e+"."+t)},e.prototype.decorateMessageBody=function(){var e,t,n,r,i;switch($("#message .views .tab.format.selected").attr("data-message-format")){case"html":return e=$("#message iframe").contents().find("body"),$("a",e).attr("target","_blank");case"plain":return(e=(n=$("#message iframe").contents()).find("body")).length?(e.css("font-family","'Monaco', 'Courier New', 'Consolas', monospace"),e.css("font-size","13px"),e.css("line-height","1.6"),e.css("white-space","pre-wrap"),e.css("word-wrap","break-word"),e.css("background-color","#f5f5f5"),e.css("padding","20px 28px"),e.css("margin","0"),e.css("color","#333333")):(i=(i=(i=(i=(i=(i=n.text()).replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")).replace(/((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:\/~\+#]*[\w\-\@?^=%&amp;\/~\+#])?)/g,'<a href="$1" target="_blank">$1</a>'),n.find("html").html("<body style=\"font-family: 'Monaco', 'Courier New', 'Consolas', monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; background-color: #f5f5f5; padding: 20px 28px; margin: 0; color: #333333;\">"+i+"</body>"));case"source":if((e=(n=$("#message iframe").contents()).find("body")).length&&(t=e.text()))return r="<body style=\"background: #f5f5f5; color: #1a1a1a; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; padding: 0; margin: 0; line-height: 1.6;\">\n <div style=\"padding: 20px 28px;\">\n "+('<pre><code class="language-xml">'+t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")+"</code></pre>")+"\n </div>\n</body>",n.find("html").html(r),setTimeout(function(){return n.find("code").each(function(e,t){return hljs.highlightElement(t)})},0)}},e.prototype.refresh=function(){return $.getJSON("messages",(e=this,function(t){return $.each(t,function(t,n){if(!e.haveMessage(n))return e.addMessage(n)}),e.updateMessagesCount()}));var e},e.prototype.subscribe=function(){return"undefined"!=typeof WebSocket&&null!==WebSocket?this.subscribeWebSocket():this.subscribePoll()},e.prototype.reconnectWebSocketAttempts=0,e.prototype.maxReconnectAttempts=10,e.prototype.reconnectBaseDelay=1e3,e.prototype.subscribeWebSocket=function(){var e,t,n;return e="https:"===window.location.protocol,(t=new URL("messages",document.baseURI)).protocol=e?"wss":"ws",this.websocket=new WebSocket(t.toString()),this.websocket.onopen=(n=this,function(){return console.log("[MailCatcher] WebSocket connection established"),n.reconnectWebSocketAttempts=0,n.updateWebSocketStatus(!0)}),this.websocket.onmessage=function(e){return function(t){var n,r;try{if(n=JSON.parse(t.data),console.log("[MailCatcher] WebSocket message received:",n),"add"===n.type)return e.addMessage(n.message);if("remove"===n.type)return e.removeMessage(n.id);if("clear"===n.type)return e.clearMessages();if("quit"===n.type&&!e.quitting)return e.hasQuit()}catch(i){return r=i,console.error("[MailCatcher] Error processing WebSocket message:",r)}}}(this),this.websocket.onerror=function(e){return function(t){return console.error("[MailCatcher] WebSocket error:",t),e.updateWebSocketStatus(!1)}}(this),this.websocket.onclose=function(e){return function(){return console.log("[MailCatcher] WebSocket connection closed"),e.updateWebSocketStatus(!1),e.attemptWebSocketReconnect()}}(this)},e.prototype.subscribePoll=function(){if(null==this.refreshInterval)return this.refreshInterval=setInterval((e=this,function(){return e.refresh()}),1e3);var e},e.prototype.attemptWebSocketReconnect=function(){var e,t;return this.reconnectWebSocketAttempts<this.maxReconnectAttempts?(e=this.reconnectBaseDelay*Math.pow(2,this.reconnectWebSocketAttempts),this.reconnectWebSocketAttempts++,console.log("[MailCatcher] Attempting WebSocket reconnection in "+e+"ms (attempt "+this.reconnectWebSocketAttempts+"/"+this.maxReconnectAttempts+")"),setTimeout((t=this,function(){return t.subscribeWebSocket()}),e)):(console.log("[MailCatcher] Max WebSocket reconnection attempts reached, staying in polling mode"),this.subscribePoll())},e.prototype.resizeToSavedKey="mailcatcherSeparatorHeight",e.prototype.resizeTo=function(e){var t;return $("#messages").css({height:e-$("#messages").offset().top}),null!=(t=window.localStorage)?t.setItem(this.resizeToSavedKey,e):void 0},e.prototype.resizeToSaved=function(){var e,t;if(e=parseInt(null!=(t=window.localStorage)?t.getItem(this.resizeToSavedKey):void 0),!isNaN(e))return this.resizeTo(e)},e.prototype.updateWebSocketStatus=function(e){var t,n;if(t=document.getElementById("websocketStatus"),n=document.getElementById("statusText"),t&&n)return e?(t.classList.remove("disconnected"),n.textContent="Connected"):(t.classList.add("disconnected"),n.textContent="Disconnected")},e.prototype.hasQuit=function(){return console.log("[MailCatcher] Server has quit")},e}(),$(function(){return window.MailCatcher=new e})}.call(this);
data/views/index.erb CHANGED
@@ -94,10 +94,42 @@
94
94
  <tr>
95
95
  <th class="col-attachments"></th>
96
96
  <th class="col-bimi"></th>
97
- <th>From</th>
98
- <th>To</th>
99
- <th>Subject</th>
100
- <th>Received</th>
97
+ <th class="sortable" data-sort-field="from">
98
+ <span>From</span>
99
+ <svg class="sort-icon sort-icon-down" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
100
+ <path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5"></path>
101
+ </svg>
102
+ <svg class="sort-icon sort-icon-up" style="display: none;" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
103
+ <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5"></path>
104
+ </svg>
105
+ </th>
106
+ <th class="sortable" data-sort-field="to">
107
+ <span>To</span>
108
+ <svg class="sort-icon sort-icon-down" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
109
+ <path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5"></path>
110
+ </svg>
111
+ <svg class="sort-icon sort-icon-up" style="display: none;" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
112
+ <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5"></path>
113
+ </svg>
114
+ </th>
115
+ <th class="sortable" data-sort-field="subject">
116
+ <span>Subject</span>
117
+ <svg class="sort-icon sort-icon-down" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
118
+ <path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5"></path>
119
+ </svg>
120
+ <svg class="sort-icon sort-icon-up" style="display: none;" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
121
+ <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5"></path>
122
+ </svg>
123
+ </th>
124
+ <th class="sortable" data-sort-field="received">
125
+ <span>Received</span>
126
+ <svg class="sort-icon sort-icon-down" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
127
+ <path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5"></path>
128
+ </svg>
129
+ <svg class="sort-icon sort-icon-up" style="display: none;" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
130
+ <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5"></path>
131
+ </svg>
132
+ </th>
101
133
  <th>Size</th>
102
134
  </tr>
103
135
  </thead>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailcatcher-ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephane Paquet