UNPKG

formstone

Version:

Library of modular front end components.

1 lines 233 kB
!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 i,a=(t=t||oe).createElement("script");if(a.text=e,n)for(i in ye)n[i]&&(a[i]=n[i]);t.head.appendChild(a).parentNode.removeChild(a)}function i(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ue[pe.call(e)]||"object":typeof e}function a(e){var t=!!e&&"length"in e&&e.length,n=i(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 r(e,t,n){return ve(t)?we.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?we.grep(e,function(e){return e===t!==n}):"string"!=typeof t?we.grep(e,function(e){return de.call(t,e)>-1!==n}):we.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return we.each(e.match(Pe)||[],function(e,n){t[n]=!0}),t}function c(e){return e}function d(e){throw e}function u(e,t,n,i){var a;try{e&&ve(a=e.promise)?a.call(e).done(t).fail(n):e&&ve(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}function p(){oe.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),we.ready()}function f(e,t){return t.toUpperCase()}function h(e){return e.replace(qe,"ms-").replace(Ae,f)}function g(){this.expando=we.expando+g.uid++}function m(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ze.test(e)?JSON.parse(e):e)}function v(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Ne,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=m(n)}catch(e){}Oe.set(e,t,n)}else n=void 0;return n}function b(e,t,n,i){var a,o,r=20,s=i?function(){return i.cur()}:function(){return we.css(e,t,"")},l=s(),c=n&&n[3]||(we.cssNumber[t]?"":"px"),d=(we.cssNumber[t]||"px"!==c&&+l)&&Re.exec(we.css(e,t));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;r--;)we.style(e,t,d+c),(1-o)*(1-(o=s()/l||.5))<=0&&(r=0),d/=o;d*=2,we.style(e,t,d+c),n=n||[]}return n&&(d=+d||+l||0,a=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=d,i.end=a)),a}function y(e){var t,n=e.ownerDocument,i=e.nodeName,a=Ve[i];return a||(t=n.body.appendChild(n.createElement(i)),a=we.css(t,"display"),t.parentNode.removeChild(t),"none"===a&&(a="block"),Ve[i]=a,a)}function w(e,t){for(var n,i,a=[],o=0,r=e.length;o<r;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(a[o]=De.get(i,"display")||null,a[o]||(i.style.display="")),""===i.style.display&&Be(i)&&(a[o]=y(i))):"none"!==n&&(a[o]="none",De.set(i,"display",n)));for(o=0;o<r;o++)null!=a[o]&&(e[o].style.display=a[o]);return e}function x(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?we.merge([e],n):n}function $(e,t){for(var n=0,i=e.length;n<i;n++)De.set(e[n],"globalEval",!t||De.get(t[n],"globalEval"))}function C(e,t,n,a,o){for(var r,s,l,c,d,u,p=t.createDocumentFragment(),f=[],h=0,g=e.length;h<g;h++)if((r=e[h])||0===r)if("object"===i(r))we.merge(f,r.nodeType?[r]:r);else if(Ze.test(r)){for(s=s||p.appendChild(t.createElement("div")),l=(Ue.exec(r)||["",""])[1].toLowerCase(),c=Ke[l]||Ke._default,s.innerHTML=c[1]+we.htmlPrefilter(r)+c[2],u=c[0];u--;)s=s.lastChild;we.merge(f,s.childNodes),(s=p.firstChild).textContent=""}else f.push(t.createTextNode(r));for(p.textContent="",h=0;r=f[h++];)if(a&&we.inArray(r,a)>-1)o&&o.push(r);else if(d=we.contains(r.ownerDocument,r),s=x(p.appendChild(r),"script"),d&&$(s),n)for(u=0;r=s[u++];)Qe.test(r.type||"")&&n.push(r);return p}function k(){return!0}function T(){return!1}function H(){try{return oe.activeElement}catch(e){}}function j(e,t,n,i,a,o){var r,s;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(s in t)j(e,s,n,i,t[s],o);return e}if(null==i&&null==a?(a=n,i=n=void 0):null==a&&("string"==typeof n?(a=i,i=void 0):(a=i,i=n,n=void 0)),!1===a)a=T;else if(!a)return e;return 1===o&&(r=a,(a=function(e){return we().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=we.guid++)),e.each(function(){we.event.add(this,t,a,i,n)})}function W(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?we(e).children("tbody")[0]||e:e}function _(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function S(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function P(e,t){var n,i,a,o,r,s,l,c;if(1===t.nodeType){if(De.hasData(e)&&(o=De.access(e),r=De.set(t,o),c=o.events)){delete r.handle,r.events={};for(a in c)for(n=0,i=c[a].length;n<i;n++)we.event.add(t,a,c[a][n])}Oe.hasData(e)&&(s=Oe.access(e),l=we.extend({},s),Oe.set(t,l))}}function E(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function M(e,t,i,a){t=le.apply([],t);var o,r,s,l,c,d,u=0,p=e.length,f=p-1,h=t[0],g=ve(h);if(g||p>1&&"string"==typeof h&&!me.checkClone&&ot.test(h))return e.each(function(n){var o=e.eq(n);g&&(t[0]=h.call(this,n,o.html())),M(o,t,i,a)});if(p&&(o=C(t,e[0].ownerDocument,!1,e,a),r=o.firstChild,1===o.childNodes.length&&(o=r),r||a)){for(l=(s=we.map(x(o,"script"),_)).length;u<p;u++)c=o,u!==f&&(c=we.clone(c,!0,!0),l&&we.merge(s,x(c,"script"))),i.call(e[u],c,u);if(l)for(d=s[s.length-1].ownerDocument,we.map(s,S),u=0;u<l;u++)c=s[u],Qe.test(c.type||"")&&!De.access(c,"globalEval")&&we.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?we._evalUrl&&we._evalUrl(c.src):n(c.textContent.replace(rt,""),d,c))}return e}function I(e,t,n){for(var i,a=t?we.filter(t,e):e,o=0;null!=(i=a[o]);o++)n||1!==i.nodeType||we.cleanData(x(i)),i.parentNode&&(n&&we.contains(i.ownerDocument,i)&&$(x(i,"script")),i.parentNode.removeChild(i));return e}function q(e,t,n){var i,a,o,r,s=e.style;return(n=n||lt(e))&&(""!==(r=n.getPropertyValue(t)||n[t])||we.contains(e.ownerDocument,e)||(r=we.style(e,t)),!me.pixelBoxStyles()&&st.test(r)&&ct.test(t)&&(i=s.width,a=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=r,r=n.width,s.width=i,s.minWidth=a,s.maxWidth=o)),void 0!==r?r+"":r}function A(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function L(e){if(e in gt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=ht.length;n--;)if((e=ht[n]+t)in gt)return e}function D(e){var t=we.cssProps[e];return t||(t=we.cssProps[e]=L(e)||e),t}function O(e,t,n){var i=Re.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function z(e,t,n,i,a,o){var r="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(l+=we.css(e,n+Xe[r],!0,a)),i?("content"===n&&(l-=we.css(e,"padding"+Xe[r],!0,a)),"margin"!==n&&(l-=we.css(e,"border"+Xe[r]+"Width",!0,a))):(l+=we.css(e,"padding"+Xe[r],!0,a),"padding"!==n?l+=we.css(e,"border"+Xe[r]+"Width",!0,a):s+=we.css(e,"border"+Xe[r]+"Width",!0,a));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))),l}function N(e,t,n){var i=lt(e),a=q(e,t,i),o="border-box"===we.css(e,"boxSizing",!1,i),r=o;if(st.test(a)){if(!n)return a;a="auto"}return r=r&&(me.boxSizingReliable()||a===e.style[t]),("auto"===a||!parseFloat(a)&&"inline"===we.css(e,"display",!1,i))&&(a=e["offset"+t[0].toUpperCase()+t.slice(1)],r=!0),(a=parseFloat(a)||0)+z(e,t,n||(o?"border":"content"),r,i,a)+"px"}function F(e,t,n,i,a){return new F.prototype.init(e,t,n,i,a)}function R(){vt&&(!1===oe.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(R):e.setTimeout(R,we.fx.interval),we.fx.tick())}function X(){return e.setTimeout(function(){mt=void 0}),mt=Date.now()}function B(e,t){var n,i=0,a={height:e};for(t=t?1:0;i<4;i+=2-t)a["margin"+(n=Xe[i])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function G(e,t,n){for(var i,a=(Y.tweeners[t]||[]).concat(Y.tweeners["*"]),o=0,r=a.length;o<r;o++)if(i=a[o].call(n,t,e))return i}function V(e,t){var n,i,a,o,r;for(n in e)if(i=h(n),a=t[i],o=e[n],Array.isArray(o)&&(a=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(r=we.cssHooks[i])&&"expand"in r){o=r.expand(o),delete e[i];for(n in o)n in e||(e[n]=o[n],t[n]=a)}else t[i]=a}function Y(e,t,n){var i,a,o=0,r=Y.prefilters.length,s=we.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=mt||X(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,r=c.tweens.length;o<r;o++)c.tweens[o].run(i);return s.notifyWith(e,[c,i,n]),i<1&&r?n:(r||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:we.extend({},t),opts:we.extend(!0,{specialEasing:{},easing:we.easing._default},n),originalProperties:t,originalOptions:n,startTime:mt||X(),duration:n.duration,tweens:[],createTween:function(t,n){var i=we.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(a)return this;for(a=!0;n<i;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}}),d=c.props;for(V(d,c.opts.specialEasing);o<r;o++)if(i=Y.prefilters[o].call(c,e,d,c.opts))return ve(i.stop)&&(we._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return we.map(d,G,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),we.fx.timer(we.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}function U(e){return(e.match(Pe)||[]).join(" ")}function Q(e){return e.getAttribute&&e.getAttribute("class")||""}function K(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Pe)||[]:[]}function Z(e,t,n,a){var o;if(Array.isArray(t))we.each(t,function(t,i){n||St.test(e)?a(e,i):Z(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,a)});else if(n||"object"!==i(t))a(e,t);else for(o in t)Z(e+"["+o+"]",t[o],n,a)}function J(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,a=0,o=t.toLowerCase().match(Pe)||[];if(ve(n))for(;i=o[a++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function ee(e,t,n,i){function a(s){var l;return o[s]=!0,we.each(e[s]||[],function(e,s){var c=s(t,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}var o={},r=e===Ft;return a(t.dataTypes[0])||!o["*"]&&a("*")}function te(e,t){var n,i,a=we.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:i||(i={}))[n]=t[n]);return i&&we.extend(!0,e,i),e}function ne(e,t,n){for(var i,a,o,r,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}function ie(e,t,n,i){var a,o,r,s,l,c={},d=e.dataTypes.slice();if(d[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(o=d.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=d.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(r=c[l+" "+o]||c["* "+o]))for(a in c)if((s=a.split(" "))[1]===o&&(r=c[l+" "+s[0]]||c["* "+s[0]])){!0===r?r=c[a]:!0!==c[a]&&(o=s[0],d.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}var ae=[],oe=e.document,re=Object.getPrototypeOf,se=ae.slice,le=ae.concat,ce=ae.push,de=ae.indexOf,ue={},pe=ue.toString,fe=ue.hasOwnProperty,he=fe.toString,ge=he.call(Object),me={},ve=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},be=function(e){return null!=e&&e===e.window},ye={type:!0,src:!0,noModule:!0},we=function(e,t){return new we.fn.init(e,t)},xe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;we.fn=we.prototype={jquery:"3.3.1",constructor:we,length:0,toArray:function(){return se.call(this)},get:function(e){return null==e?se.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=we.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return we.each(this,e)},map:function(e){return this.pushStack(we.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(se.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:ae.sort,splice:ae.splice},we.extend=we.fn.extend=function(){var e,t,n,i,a,o,r=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[s]||{},s++),"object"==typeof r||ve(r)||(r={}),s===l&&(r=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=r[t],r!==(i=e[t])&&(c&&i&&(we.isPlainObject(i)||(a=Array.isArray(i)))?(a?(a=!1,o=n&&Array.isArray(n)?n:[]):o=n&&we.isPlainObject(n)?n:{},r[t]=we.extend(c,o,i)):void 0!==i&&(r[t]=i));return r},we.extend({expando:"jQuery"+("3.3.1"+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=re(e))&&("function"!=typeof(n=fe.call(t,"constructor")&&t.constructor)||he.call(n)!==ge))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){n(e)},each:function(e,t){var n,i=0;if(a(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(xe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?we.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)},merge:function(e,t){for(var n=+t.length,i=0,a=e.length;i<n;i++)e[a++]=t[i];return e.length=a,e},grep:function(e,t,n){for(var i=[],a=0,o=e.length,r=!n;a<o;a++)!t(e[a],a)!==r&&i.push(e[a]);return i},map:function(e,t,n){var i,o,r=0,s=[];if(a(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&s.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&s.push(o);return le.apply([],s)},guid:1,support:me}),"function"==typeof Symbol&&(we.fn[Symbol.iterator]=ae[Symbol.iterator]),we.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ue["[object "+t+"]"]=t.toLowerCase()});var $e=function(e){function t(e,t,n,i){var a,o,r,s,l,d,p,f=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!i&&((t?t.ownerDocument||t:O)!==P&&S(t),t=t||P,M)){if(11!==h&&(l=ge.exec(e)))if(a=l[1]){if(9===h){if(!(r=t.getElementById(a)))return n;if(r.id===a)return n.push(r),n}else if(f&&(r=f.getElementById(a))&&L(t,r)&&r.id===a)return n.push(r),n}else{if(l[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((a=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(a)),n}if(w.qsa&&!X[e+" "]&&(!I||!I.test(e))){if(1!==h)f=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ye,we):t.setAttribute("id",s=D),o=(d=k(e)).length;o--;)d[o]="#"+s+" "+u(d[o]);p=d.join(","),f=me.test(e)&&c(t.parentNode)||t}if(p)try{return Q.apply(n,f.querySelectorAll(p)),n}catch(e){}finally{s===D&&t.removeAttribute("id")}}}return H(e.replace(oe,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>x.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[D]=!0,e}function a(e){var t=P.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=t}function r(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(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&&$e(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return i(function(t){return t=+t,i(function(n,i){for(var a,o=e([],n.length,t),r=o.length;r--;)n[a=o[r]]&&(n[a]=!(i[a]=n[a]))})})}function c(e){return e&&void 0!==e.getElementsByTagName&&e}function d(){}function u(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function p(e,t,n){var i=t.dir,a=t.next,o=a||i,r=n&&"parentNode"===o,s=N++;return t.first?function(t,n,a){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,a);return!1}:function(t,n,l){var c,d,u,p=[z,s];if(l){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||r)if(u=t[D]||(t[D]={}),d=u[t.uniqueID]||(u[t.uniqueID]={}),a&&a===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=d[o])&&c[0]===z&&c[1]===s)return p[2]=c[2];if(d[o]=p,p[2]=e(t,n,l))return!0}return!1}}function f(e){return e.length>1?function(t,n,i){for(var a=e.length;a--;)if(!e[a](t,n,i))return!1;return!0}:e[0]}function h(e,n,i){for(var a=0,o=n.length;a<o;a++)t(e,n[a],i);return i}function g(e,t,n,i,a){for(var o,r=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,a)||(r.push(o),c&&t.push(s)));return r}function m(e,t,n,a,o,r){return a&&!a[D]&&(a=m(a)),o&&!o[D]&&(o=m(o,r)),i(function(i,r,s,l){var c,d,u,p=[],f=[],m=r.length,v=i||h(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?v:g(v,p,e,s,l),y=n?o||(i?e:m||a)?[]:r:b;if(n&&n(b,y,s,l),a)for(c=g(y,f),a(c,[],s,l),d=c.length;d--;)(u=c[d])&&(y[f[d]]=!(b[f[d]]=u));if(i){if(o||e){if(o){for(c=[],d=y.length;d--;)(u=y[d])&&c.push(b[d]=u);o(null,y=[],c,l)}for(d=y.length;d--;)(u=y[d])&&(c=o?Z(i,u):p[d])>-1&&(i[c]=!(r[c]=u))}}else y=g(y===r?y.splice(m,y.length):y),o?o(null,r,y,l):Q.apply(r,y)})}function v(e){for(var t,n,i,a=e.length,o=x.relative[e[0].type],r=o||x.relative[" "],s=o?1:0,l=p(function(e){return e===t},r,!0),c=p(function(e){return Z(t,e)>-1},r,!0),d=[function(e,n,i){var a=!o&&(i||n!==j)||((t=n).nodeType?l(e,n,i):c(e,n,i));return t=null,a}];s<a;s++)if(n=x.relative[e[s].type])d=[p(f(d),n)];else{if((n=x.filter[e[s].type].apply(null,e[s].matches))[D]){for(i=++s;i<a&&!x.relative[e[i].type];i++);return m(s>1&&f(d),s>1&&u(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<i&&v(e.slice(s,i)),i<a&&v(e=e.slice(i)),i<a&&u(e))}d.push(n)}return f(d)}function b(e,n){var a=n.length>0,o=e.length>0,r=function(i,r,s,l,c){var d,u,p,f=0,h="0",m=i&&[],v=[],b=j,y=i||o&&x.find.TAG("*",c),w=z+=null==b?1:Math.random()||.1,$=y.length;for(c&&(j=r===P||r||c);h!==$&&null!=(d=y[h]);h++){if(o&&d){for(u=0,r||d.ownerDocument===P||(S(d),s=!M);p=e[u++];)if(p(d,r||P,s)){l.push(d);break}c&&(z=w)}a&&((d=!p&&d)&&f--,i&&m.push(d))}if(f+=h,a&&h!==f){for(u=0;p=n[u++];)p(m,v,r,s);if(i){if(f>0)for(;h--;)m[h]||v[h]||(v[h]=Y.call(l));v=g(v)}Q.apply(l,v),c&&!i&&v.length>0&&f+n.length>1&&t.uniqueSort(l)}return c&&(z=w,j=b),m};return a?i(r):r}var y,w,x,$,C,k,T,H,j,W,_,S,P,E,M,I,q,A,L,D="sizzle"+1*new Date,O=e.document,z=0,N=0,F=n(),R=n(),X=n(),B=function(e,t){return e===t&&(_=!0),0},G={}.hasOwnProperty,V=[],Y=V.pop,U=V.push,Q=V.push,K=V.slice,Z=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",ie=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ae=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),re=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ce=new RegExp(ie),de=new RegExp("^"+te+"$"),ue={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,fe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),be=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ye=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,we=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},xe=function(){S()},$e=p(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(V=K.call(O.childNodes),O.childNodes),V[O.childNodes.length].nodeType}catch(e){Q={apply:V.length?function(e,t){U.apply(e,K.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}w=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},S=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:O;return i!==P&&9===i.nodeType&&i.documentElement?(P=i,E=P.documentElement,M=!C(P),O!==P&&(n=P.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xe,!1):n.attachEvent&&n.attachEvent("onunload",xe)),w.attributes=a(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=a(function(e){return e.appendChild(P.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=he.test(P.getElementsByClassName),w.getById=a(function(e){return E.appendChild(e).id=D,!P.getElementsByName||!P.getElementsByName(D).length}),w.getById?(x.filter.ID=function(e){var t=e.replace(ve,be);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&M){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var t=e.replace(ve,be);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&M){var n,i,a,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(a=t.getElementsByName(e),i=0;o=a[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),x.find.TAG=w.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],a=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[a++];)1===n.nodeType&&i.push(n);return i}return o},x.find.CLASS=w.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&M)return t.getElementsByClassName(e)},q=[],I=[],(w.qsa=he.test(P.querySelectorAll))&&(a(function(e){E.appendChild(e).innerHTML="<a id='"+D+"'></a><select id='"+D+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||I.push("\\["+ee+"*(?:value|"+J+")"),e.querySelectorAll("[id~="+D+"-]").length||I.push("~="),e.querySelectorAll(":checked").length||I.push(":checked"),e.querySelectorAll("a#"+D+"+*").length||I.push(".#.+[+~]")}),a(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=P.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&I.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&I.push(":enabled",":disabled"),E.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")})),(w.matchesSelector=he.test(A=E.matches||E.webkitMatchesSelector||E.mozMatchesSelector||E.oMatchesSelector||E.msMatchesSelector))&&a(function(e){w.disconnectedMatch=A.call(e,"*"),A.call(e,"[s!='']:x"),q.push("!=",ie)}),I=I.length&&new RegExp(I.join("|")),q=q.length&&new RegExp(q.join("|")),t=he.test(E.compareDocumentPosition),L=t||he.test(E.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},B=t?function(e,t){if(e===t)return _=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===P||e.ownerDocument===O&&L(O,e)?-1:t===P||t.ownerDocument===O&&L(O,t)?1:W?Z(W,e)-Z(W,t):0:4&n?-1:1)}:function(e,t){if(e===t)return _=!0,0;var n,i=0,a=e.parentNode,o=t.parentNode,s=[e],l=[t];if(!a||!o)return e===P?-1:t===P?1:a?-1:o?1:W?Z(W,e)-Z(W,t):0;if(a===o)return r(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?r(s[i],l[i]):s[i]===O?-1:l[i]===O?1:0},P):P},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==P&&S(e),n=n.replace(le,"='$1']"),w.matchesSelector&&M&&!X[n+" "]&&(!q||!q.test(n))&&(!I||!I.test(n)))try{var i=A.call(e,n);if(i||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return t(n,P,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==P&&S(e),L(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==P&&S(e);var n=x.attrHandle[t.toLowerCase()],i=n&&G.call(x.attrHandle,t.toLowerCase())?n(e,t,!M):void 0;return void 0!==i?i:w.attributes||!M?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.escape=function(e){return(e+"").replace(ye,we)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,a=0;if(_=!w.detectDuplicates,W=!w.sortStable&&e.slice(0),e.sort(B),_){for(;t=e[a++];)t===e[a]&&(i=n.push(a));for(;i--;)e.splice(n[i],1)}return W=null,e},$=t.getText=function(e){var t,n="",i=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=$(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[i++];)n+=$(t);return n},(x=t.selectors={cacheLength:50,createPseudo:i,match:ue,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(ve,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,be),"~="===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]||t.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]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ue.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=k(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(ve,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=F[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&F(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(a){var o=t.attr(a,e);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,a){var o="nth"!==e.slice(0,3),r="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var c,d,u,p,f,h,g=o!==r?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[r?m.firstChild:m.lastChild],r&&b){for(y=(f=(c=(d=(u=(p=m)[D]||(p[D]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]||[])[0]===z&&c[1])&&c[2],p=f&&m.childNodes[f];p=++f&&p&&p[g]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===t){d[e]=[z,f,y];break}}else if(b&&(y=f=(c=(d=(u=(p=t)[D]||(p[D]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]||[])[0]===z&&c[1]),!1===y)for(;(p=++f&&p&&p[g]||(y=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++y||(b&&((d=(u=p[D]||(p[D]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]=[z,y]),p!==t)););return(y-=a)===i||y%i==0&&y/i>=0}}},PSEUDO:function(e,n){var a,o=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[D]?o(n):o.length>1?(a=[e,e,"",n],x.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,a=o(e,n),r=a.length;r--;)e[i=Z(e,a[r])]=!(t[i]=a[r])}):function(e){return o(e,0,a)}):o}},pseudos:{not:i(function(e){var t=[],n=[],a=T(e.replace(oe,"$1"));return a[D]?i(function(e,t,n,i){for(var o,r=a(e,null,i,[]),s=e.length;s--;)(o=r[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,a(t,null,o,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(ve,be),function(t){return(t.textContent||t.innerText||$(t)).indexOf(e)>-1}}),lang:i(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,be).toLowerCase(),function(t){var n;do{if(n=M?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===E},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return fe.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first: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){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:l(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})x.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return d.prototype=x.filters=x.pseudos,x.setFilters=new d,k=t.tokenize=function(e,n){var i,a,o,r,s,l,c,d=R[e+" "];if(d)return n?0:d.slice(0);for(s=e,l=[],c=x.preFilter;s;){i&&!(a=re.exec(s))||(a&&(s=s.slice(a[0].length)||s),l.push(o=[])),i=!1,(a=se.exec(s))&&(i=a.shift(),o.push({value:i,type:a[0].replace(oe," ")}),s=s.slice(i.length));for(r in x.filter)!(a=ue[r].exec(s))||c[r]&&!(a=c[r](a))||(i=a.shift(),o.push({value:i,type:r,matches:a}),s=s.slice(i.length));if(!i)break}return n?s.length:s?t.error(e):R(e,l).slice(0)},T=t.compile=function(e,t){var n,i=[],a=[],o=X[e+" "];if(!o){for(t||(t=k(e)),n=t.length;n--;)(o=v(t[n]))[D]?i.push(o):a.push(o);(o=X(e,b(a,i))).selector=e}return o},H=t.select=function(e,t,n,i){var a,o,r,s,l,d="function"==typeof e&&e,p=!i&&k(e=d.selector||e);if(n=n||[],1===p.length){if((o=p[0]=p[0].slice(0)).length>2&&"ID"===(r=o[0]).type&&9===t.nodeType&&M&&x.relative[o[1].type]){if(!(t=(x.find.ID(r.matches[0].replace(ve,be),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(a=ue.needsContext.test(e)?0:o.length;a--&&(r=o[a],!x.relative[s=r.type]);)if((l=x.find[s])&&(i=l(r.matches[0].replace(ve,be),me.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(a,1),!(e=i.length&&u(o)))return Q.apply(n,i),n;break}}return(d||T(e,p))(i,t,!M,n,!t||me.test(e)&&c(t.parentNode)||t),n},w.sortStable=D.split("").sort(B).join("")===D,w.detectDuplicates=!!_,S(),w.sortDetached=a(function(e){return 1&e.compareDocumentPosition(P.createElement("fieldset"))}),a(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&a(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),a(function(e){return null==e.getAttribute("disabled")})||o(J,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);we.find=$e,we.expr=$e.selectors,we.expr[":"]=we.expr.pseudos,we.uniqueSort=we.unique=$e.uniqueSort,we.text=$e.getText,we.isXMLDoc=$e.isXML,we.contains=$e.contains,we.escapeSelector=$e.escape;var Ce=function(e,t,n){for(var i=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&we(e).is(n))break;i.push(e)}return i},ke=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Te=we.expr.match.needsContext,He=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;we.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?we.find.matchesSelector(i,e)?[i]:[]:we.find.matches(e,we.grep(t,function(e){return 1===e.nodeType}))},we.fn.extend({find:function(e){var t,n,i=this.length,a=this;if("string"!=typeof e)return this.pushStack(we(e).filter(function(){for(t=0;t<i;t++)if(we.contains(a[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)we.find(e,a[t],n);return i>1?we.uniqueSort(n):n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&Te.test(e)?we(e):e||[],!1).length}});var je,We=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(we.fn.init=function(e,t,n){var i,a;if(!e)return this;if(n=n||je,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:We.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof we?t[0]:t,we.merge(this,we.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:oe,!0)),He.test(i[1])&&we.isPlainObject(t))for(i in t)ve(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(a=oe.getElementById(i[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ve(e)?void 0!==n.ready?n.ready(e):e(we):we.makeArray(e,this)}).prototype=we.fn,je=we(oe);var _e=/^(?:parents|prev(?:Until|All))/,Se={children:!0,contents:!0,next:!0,prev:!0};we.fn.extend({has:function(e){var t=we(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(we.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,a=this.length,o=[],r="string"!=typeof e&&we(e);if(!Te.test(e))for(;i<a;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?r.index(n)>-1:1===n.nodeType&&we.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?we.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(we(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(we.uniqueSort(we.merge(this.get(),we(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),we.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ce(e,"parentNode")},parentsUntil:function(e,t,n){return Ce(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return Ce(e,"nextSibling")},prevAll:function(e){return Ce(e,"previousSibling")},nextUntil:function(e,t,n){return Ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ce(e,"previousSibling",n)},siblings:function(e){return ke((e.parentNode||{}).firstChild,e)},children:function(e){return ke(e.firstChild)},contents:function(e){return o(e,"iframe")?e.contentDocument:(o(e,"template")&&(e=e.content||e),we.merge([],e.childNodes))}},function(e,t){we.fn[e]=function(n,i){var a=we.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(a=we.filter(i,a)),this.length>1&&(Se[e]||we.uniqueSort(a),_e.test(e)&&a.reverse()),this.pushStack(a)}});var Pe=/[^\x20\t\r\n\f]+/g;we.Callbacks=function(e){e="string"==typeof e?l(e):we.extend({},e);var t,n,a,o,r=[],s=[],c=-1,d=function(){for(o=o||e.once,a=t=!0;s.length;c=-1)for(n=s.shift();++c<r.length;)!1===r[c].apply(n[0],n[1])&&e.stopOnFalse&&(c=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},u={add:function(){return r&&(n&&!t&&(c=r.length-1,s.push(n)),function t(n){we.each(n,function(n,a){ve(a)?e.unique&&u.has(a)||r.push(a):a&&a.length&&"string"!==i(a)&&t(a)})}(arguments),n&&!t&&d()),this},remove:function(){return we.each(arguments,function(e,t){for(var n;(n=we.inArray(t,r,n))>-1;)r.splice(n,1),n<=c&&c--}),this},has:function(e){return e?we.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||d()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!a}};return u},we.extend({Deferred:function(t){var n=[["notify","progress",we.Callbacks("memory"),we.Callbacks("memory"),2],["resolve","done",we.Callbacks("once memory"),we.Callbacks("once memory"),0,"resolved"],["reject","fail",we.Callbacks("once memory"),we.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return we.Deferred(function(t){we.each(n,function(n,i){var a=ve(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&ve(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,a?[e]:arguments)})}),e=null}).promise()},then:function(t,i,a){function o(t,n,i,a){return function(){var s=this,l=arguments,u=function(){var e,u;if(!(t<r)){if((e=i.apply(s,l))===n.promise())throw new TypeError("Thenable self-resolution");u=e&&("object"==typeof e||"function"==typeof e)&&e.then,ve(u)?a?u.call(e,o(r,n,c,a),o(r,n,d,a)):(r++,u.call(e,o(r,n,c,a),o(r,n,d,a),o(r,n,c,n.notifyWith))):(i!==c&&(s=void 0,l=[e]),(a||n.resolveWith)(s,l))}},p=a?u:function(){try{u()}catch(e){we.Deferred.exceptionHook&&we.Deferred.exceptionHook(e,p.stackTrace),t+1>=r&&(i!==d&&(s=void 0,l=[e]),n.rejectWith(s,l))}};t?p():(we.Deferred.getStackHook&&(p.stackTrace=we.Deferred.getStackHook()),e.setTimeout(p))}}var r=0;return we.Deferred(function(e){n[0][3].add(o(0,e,ve(a)?a:c,e.notifyWith)),n[1][3].add(o(0,e,ve(t)?t:c)),n[2][3].add(o(0,e,ve(i)?i:d))}).promise()},promise:function(e){return null!=e?we.extend(e,a):a}},o={};return we.each(n,function(e,t){var r=t[2],s=t[5];a[t[1]]=r.add,s&&r.add(function(){i=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),r.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=r.fireWith}),a.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),a=se.call(arguments),o=we.Deferred(),r=function(e){return function(n){i[e]=this,a[e]=arguments.length>1?se.call(arguments):n,--t||o.resolveWith(i,a)}};if(t<=1&&(u(e,o.done(r(n)).resolve,o.reject,!t),"pending"===o.state()||ve(a[n]&&a[n].then)))return o.then();for(;n--;)u(a[n],r(n),o.reject);return o.promise()}});var Ee=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;we.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Ee.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},we.readyException=function(t){e.setTimeout(function(){throw t})};var Me=we.Deferred();we.fn.ready=function(e){return Me.then(e).catch(function(e){we.readyException(e)}),this},we.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--we.readyWait:we.isReady)||(we.isReady=!0,!0!==e&&--we.readyWait>0||Me.resolveWith(oe,[we]))}}),we.ready.then=Me.then,"complete"===oe.readyState||"loading"!==oe.readyState&&!oe.documentElement.doScroll?e.setTimeout(we.ready):(oe.addEventListener("DOMContentLoaded",p),e.addEventListener("load",p));var Ie=function(e,t,n,a,o,r,s){var l=0,c=e.length,d=null==n;if("object"===i(n)){o=!0;for(l in n)Ie(e,t,l,n[l],!0,r,s)}else if(void 0!==a&&(o=!0,ve(a)||(s=!0),d&&(s?(t.call(e,a),t=null):(d=t,t=function(e,t,n){return d.call(we(e),n)})),t))for(;l<c;l++)t(e[l],n,s?a:a.call(e[l],l,t(e[l],n)));return o?e:d?t.call(e):c?t(e[0],n):r},qe=/^-ms-/,Ae=/-([a-z])/g,Le=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};g.uid=1,g.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Le(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,a=this.cache(e);if("string"==typeof t)a[h(t)]=n;else for(i in t)a[h(i)]=t[i];return a},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(h):(t=h(t))in i?[t]:t.match(Pe)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||we.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!we.isEmptyObject(t)}};var De=new g,Oe=new g,ze=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ne=/[A-Z]/g;we.extend({hasData:function(e){return Oe.hasData(e)||De.hasData(e)},data:function(e,t,n){return Oe.access(e,t,n)},removeData:function(e,t){Oe.remove(e,t)},_data:function(e,t,n){return De.access(e,t,n)},_removeData:function(e,t){De.remove(e,t)}}),we.fn.extend({data:function(e,t){var n,i,a,o=this[0],r=o&&o.attributes;if(void 0===e){if(this.length&&(a=Oe.get(o),1===o.nodeType&&!De.get(o,"hasDataAttrs"))){for(n=r.length;n--;)r[n]&&0===(i=r[n].name).indexOf("data-")&&(i=h(i.slice(5)),v(o,i,a[i]));De.set(o,"hasDataAttrs",!0)}return a}return"object"==typeof e?this.each(function(){Oe.set(this,e)}):Ie(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=Oe.get(o,e)))return n;if(void 0!==(n=v(o,e)))return n}else this.each(function(){Oe.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Oe.remove(this,e)})}}),we.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=De.get(e,t),n&&(!i||Array.isArray(n)?i=De.access(e,t,we.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=we.queue(e,t),i=n.length,a=n.shift(),o=we._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===t&&n.unshift("inprogress"),delete o.stop,a.call(e,function(){we.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return De.get(e,n)||De.access(e,n,{empty:we.Callbacks("once memory").add(function(){De.remove(e,[t+"queue",n])})})}}),we.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?we.queue(this[0],e):void 0===t?this:this.each(function(){var n=we.queue(this,e,t);we._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&we.dequeue(this,e)})},dequeue:function(e){return this.each(function(){we.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,a=we.Deferred(),o=this,r=this.length,s=function(){--i||a.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(n=De.get(o[r],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),a.promise(t)}});var Fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Re=new RegExp("^(?:([+-])=|)("+Fe+")([a-z%]*)$","i"),Xe=["Top","Right","Bottom","Left"],Be=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&we.contains(e.ownerDocument,e)&&"none"===we.css(e,"display")},Ge=function(e,t,n,i){var a,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];a=n.apply(e,i||[]);for(o in t)e.style[o]=r[o];return a},Ve={};we.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(){Be(this)?we(this).show():we(this).hide()})}});var Ye=/^(?:checkbox|radio)$/i,Ue=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Qe=/^$|^module$|\/(?:java|ecma)script/i,Ke={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ke.optgroup=Ke.option,Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td;var Ze=/<|&#?\w+;/;!function(){var e=oe.createDocumentFragment().appendChild(oe.createElement("div")),t=oe.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),me.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",me.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Je=oe.documentElement,et=/^key/,tt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nt=/^([^.]*)(?:\.(.+)|)/;we.event={global:{},add:function(e,t,n,i,a){var o,r,s,l,c,d,u,p,f,h,g,m=De.get(e);if(m)for(n.handler&&(n=(o=n).handler,a=o.selector),a&&we.find.matchesSelector(Je,a),n.guid||(n.guid=we.guid++),(l=m.events)||(l=m.events={}),(r=m.handle)||(r=m.handle=function(t){return void 0!==we&&we.event.triggered!==t.type?we.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Pe)||[""]).length;c--;)f=g=(s=nt.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(u=we.event.special[f]||{},f=(a?u.delegateType:u.bindType)||f,u=we.event.special[f]||{},d=we.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&we.expr.match.needsContext.test(a),namespace:h.join(".")},o),(p=l[f])||((p=l[f]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,h,r)||e.addEventListener&&e.addEventListener(f,r)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),a?p.splice(p.delegateCount++,0,d):p.push(d),we.event.global[f]=!0)},remove:function(e,t,n,i,a){var o,r,s,l,c,d,u,p,f,h,g,m=De.hasData(e)&&De.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(Pe)||[""]).length;c--;)if(s=nt.exec(t[c])||[],f=g=s[1],h=(s[2]||"").split(".").sort(),f){for(u=we.event.special[f]||{},p=l[f=(i?u.delegateType:u.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)d=p[o],!a&&g!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(p.splice(o,1),d.selector&&p.delegateCount--,u.remove&&u.remove.call(e,d));r&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,h,m.handle)||we.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)we.event.remove(e,f+t[c],n,i,!0);we.isEmptyObject(l)&&De.remove(e,"handle events")}},dispatch:function(e){var t,n,i,a,o,r,s=we.event.fix(e),l=new Array(arguments.length),c=(De.get(this,"events")||{})[s.type]||[],d=we.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,s)){for(r=we.event.handlers.call(this,s,c),t=0;(a=r[t++])&&!s.isPropagationStopped();)for(s.currentTarget=a.elem,n=0;(o=a.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(i=((we.event.special[o.origType]||{}).handle||o.handler).apply(a.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,i,a,o,r,s=[],l=t.delegateCount,c=e.target;if(l&&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=[],r={},n=0;n<l;n++)void 0===r[a=(i=t[n]).selector+" "]&&(r[a]=i.needsContext?we(a,this).index(c)>-1:we.find(a,this,null,[c]).length),r[a]&&o.push(i);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(we.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