forked from unitoo/website
6 lines
No EOL
172 KiB
JavaScript
6 lines
No EOL
172 KiB
JavaScript
function openNav(){document.getElementById("mySidenav").style.width="250px"}function closeNav(){document.getElementById("mySidenav").style.width="0"}!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,r=(t=t||se).createElement("script");if(r.text=e,n)for(i in be)n[i]&&(r[i]=n[i]);t.head.appendChild(r).parentNode.removeChild(r)}function i(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?he[de.call(e)]||"object":typeof e}function r(e){var t=!!e&&"length"in e&&e.length,n=i(e);return!ye(e)&&!_e(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 s(e,t,n){return ye(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 fe.call(t,e)>-1!==n}):we.filter(t,e,n)}function a(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return we.each(e.match(Oe)||[],function(e,n){t[n]=!0}),t}function c(e){return e}function u(e){throw e}function f(e,t,n,i){var r;try{e&&ye(r=e.promise)?r.call(e).done(t).fail(n):e&&ye(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}function h(){se.removeEventListener("DOMContentLoaded",h),e.removeEventListener("load",h),we.ready()}function d(e,t){return t.toUpperCase()}function p(e){return e.replace(qe,"ms-").replace(Pe,d)}function g(){this.expando=we.expando+g.uid++}function m(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Fe.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(Be,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=m(n)}catch(e){}We.set(e,t,n)}else n=void 0;return n}function y(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return we.css(e,t,"")},l=a(),c=n&&n[3]||(we.cssNumber[t]?"":"px"),u=(we.cssNumber[t]||"px"!==c&&+l)&&$e.exec(we.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)we.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,we.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}function _(e){var t,n=e.ownerDocument,i=e.nodeName,r=Ve[i];return r||(t=n.body.appendChild(n.createElement(i)),r=we.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Ve[i]=r,r)}function b(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=Me.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ze(i)&&(r[o]=_(i))):"none"!==n&&(r[o]="none",Me.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}function w(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?we.merge([e],n):n}function C(e,t){for(var n=0,i=e.length;n<i;n++)Me.set(e[n],"globalEval",!t||Me.get(t[n],"globalEval"))}function x(e,t,n,r,o){for(var s,a,l,c,u,f,h=t.createDocumentFragment(),d=[],p=0,g=e.length;p<g;p++)if((s=e[p])||0===s)if("object"===i(s))we.merge(d,s.nodeType?[s]:s);else if(Ze.test(s)){for(a=a||h.appendChild(t.createElement("div")),l=(Ye.exec(s)||["",""])[1].toLowerCase(),c=Ge[l]||Ge._default,a.innerHTML=c[1]+we.htmlPrefilter(s)+c[2],f=c[0];f--;)a=a.lastChild;we.merge(d,a.childNodes),(a=h.firstChild).textContent=""}else d.push(t.createTextNode(s));for(h.textContent="",p=0;s=d[p++];)if(r&&we.inArray(s,r)>-1)o&&o.push(s);else if(u=we.contains(s.ownerDocument,s),a=w(h.appendChild(s),"script"),u&&C(a),n)for(f=0;s=a[f++];)Je.test(s.type||"")&&n.push(s);return h}function T(){return!0}function E(){return!1}function S(){try{return se.activeElement}catch(e){}}function D(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)D(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=E;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return we().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=we.guid++)),e.each(function(){we.event.add(this,t,r,i,n)})}function A(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")&&we(e).children("tbody")[0]||e}function N(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function I(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function k(e,t){var n,i,r,o,s,a,l,c;if(1===t.nodeType){if(Me.hasData(e)&&(o=Me.access(e),s=Me.set(t,o),c=o.events))for(r in delete s.handle,s.events={},c)for(n=0,i=c[r].length;n<i;n++)we.event.add(t,r,c[r][n]);We.hasData(e)&&(a=We.access(e),l=we.extend({},a),We.set(t,l))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Xe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function j(e,t,i,r){t=ce.apply([],t);var o,s,a,l,c,u,f=0,h=e.length,d=h-1,p=t[0],g=ye(p);if(g||h>1&&"string"==typeof p&&!ve.checkClone&&st.test(p))return e.each(function(n){var o=e.eq(n);g&&(t[0]=p.call(this,n,o.html())),j(o,t,i,r)});if(h&&(s=(o=x(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=s),s||r)){for(l=(a=we.map(w(o,"script"),N)).length;f<h;f++)c=o,f!==d&&(c=we.clone(c,!0,!0),l&&we.merge(a,w(c,"script"))),i.call(e[f],c,f);if(l)for(u=a[a.length-1].ownerDocument,we.map(a,I),f=0;f<l;f++)c=a[f],Je.test(c.type||"")&&!Me.access(c,"globalEval")&&we.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?we._evalUrl&&we._evalUrl(c.src):n(c.textContent.replace(at,""),u,c))}return e}function L(e,t,n){for(var i,r=t?we.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||we.cleanData(w(i)),i.parentNode&&(n&&we.contains(i.ownerDocument,i)&&C(w(i,"script")),i.parentNode.removeChild(i));return e}function H(e,t,n){var i,r,o,s,a=e.style;return(n=n||ct(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||we.contains(e.ownerDocument,e)||(s=we.style(e,t)),!ve.pixelBoxStyles()&<.test(s)&&ut.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function q(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function P(e){if(e in mt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=gt.length;n--;)if((e=gt[n]+t)in mt)return e}function R(e){var t=we.cssProps[e];return t||(t=we.cssProps[e]=P(e)||e),t}function M(e,t,n){var i=$e.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function W(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=we.css(e,n+Qe[s],!0,r)),i?("content"===n&&(l-=we.css(e,"padding"+Qe[s],!0,r)),"margin"!==n&&(l-=we.css(e,"border"+Qe[s]+"Width",!0,r))):(l+=we.css(e,"padding"+Qe[s],!0,r),"padding"!==n?l+=we.css(e,"border"+Qe[s]+"Width",!0,r):a+=we.css(e,"border"+Qe[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))),l}function F(e,t,n){var i=ct(e),r=H(e,t,i),o="border-box"===we.css(e,"boxSizing",!1,i),s=o;if(lt.test(r)){if(!n)return r;r="auto"}return s=s&&(ve.boxSizingReliable()||r===e.style[t]),("auto"===r||!parseFloat(r)&&"inline"===we.css(e,"display",!1,i))&&(r=e["offset"+t[0].toUpperCase()+t.slice(1)],s=!0),(r=parseFloat(r)||0)+W(e,t,n||(o?"border":"content"),s,i,r)+"px"}function B(e,t,n,i,r){return new B.prototype.init(e,t,n,i,r)}function U(){yt&&(!1===se.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(U):e.setTimeout(U,we.fx.interval),we.fx.tick())}function $(){return e.setTimeout(function(){vt=void 0}),vt=Date.now()}function Q(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Qe[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function z(e,t,n){for(var i,r=(X.tweeners[t]||[]).concat(X.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function K(e,t,n){var i,r,o,s,a,l,c,u,f="width"in t||"height"in t,h=this,d={},p=e.style,g=e.nodeType&&ze(e),m=Me.get(e,"fxshow");for(i in n.queue||(null==(s=we._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,we.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],_t.test(r)){if(delete t[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}d[i]=m&&m[i]||we.style(e,i)}if((l=!we.isEmptyObject(t))||!we.isEmptyObject(d))for(i in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=Me.get(e,"display")),"none"===(u=we.css(e,"display"))&&(c?u=c:(b([e],!0),c=e.style.display||c,u=we.css(e,"display"),b([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===we.css(e,"float")&&(l||(h.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,d)l||(m?"hidden"in m&&(g=m.hidden):m=Me.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&b([e],!0),h.done(function(){for(i in g||b([e]),Me.remove(e,"fxshow"),d)we.style(e,i,d[i])})),l=z(g?m[i]:0,i,h),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}function V(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=p(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=we.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}function X(e,t,n){var i,r,o=0,s=X.prefilters.length,a=we.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=vt||$(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(i);return a.notifyWith(e,[c,i,n]),i<1&&s?n:(s||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:we.extend({},t),opts:we.extend(!0,{specialEasing:{},easing:we.easing._default},n),originalProperties:t,originalOptions:n,startTime:vt||$(),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(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(V(u,c.opts.specialEasing);o<s;o++)if(i=X.prefilters[o].call(c,e,u,c.opts))return ye(i.stop)&&(we._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return we.map(u,z,c),ye(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 Y(e){return(e.match(Oe)||[]).join(" ")}function J(e){return e.getAttribute&&e.getAttribute("class")||""}function G(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Oe)||[]}function Z(e,t,n,r){var o;if(Array.isArray(t))we.each(t,function(t,i){n||kt.test(e)?r(e,i):Z(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==i(t))r(e,t);else for(o in t)Z(e+"["+o+"]",t[o],n,r)}function ee(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(Oe)||[];if(ye(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function te(e,t,n,i){function r(a){var l;return o[a]=!0,we.each(e[a]||[],function(e,a){var c=a(t,n,i);return"string"!=typeof c||s||o[c]?s?!(l=c):void 0:(t.dataTypes.unshift(c),r(c),!1)}),l}var o={},s=e===Ut;return r(t.dataTypes[0])||!o["*"]&&r("*")}function ne(e,t){var n,i,r=we.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&we.extend(!0,e,i),e}function ie(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}function re(e,t,n,i){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}var oe=[],se=e.document,ae=Object.getPrototypeOf,le=oe.slice,ce=oe.concat,ue=oe.push,fe=oe.indexOf,he={},de=he.toString,pe=he.hasOwnProperty,ge=pe.toString,me=ge.call(Object),ve={},ye=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},_e=function(e){return null!=e&&e===e.window},be={type:!0,src:!0,noModule:!0},we=function(e,t){return new we.fn.init(e,t)},Ce=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;we.fn=we.prototype={jquery:"3.3.1",constructor:we,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.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(le.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:ue,sort:oe.sort,splice:oe.splice},we.extend=we.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||ye(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],s!==(i=e[t])&&(c&&i&&(we.isPlainObject(i)||(r=Array.isArray(i)))?(r?(r=!1,o=n&&Array.isArray(n)?n:[]):o=n&&we.isPlainObject(n)?n:{},s[t]=we.extend(c,o,i)):void 0!==i&&(s[t]=i));return s},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]"!==de.call(e)||(t=ae(e))&&("function"!=typeof(n=pe.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){n(e)},each:function(e,t){var n,i=0;if(r(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(Ce,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?we.merge(n,"string"==typeof e?[e]:e):ue.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:fe.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,o,s=0,a=[];if(r(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,n))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&a.push(o);return ce.apply([],a)},guid:1,support:ve}),"function"==typeof Symbol&&(we.fn[Symbol.iterator]=oe[Symbol.iterator]),we.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){he["[object "+t+"]"]=t.toLowerCase()});var xe=function(e){function t(e,t,n,i){var r,o,s,a,l,c,u,h=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!i&&((t?t.ownerDocument||t:F)!==j&&O(t),t=t||j,H)){if(11!==p&&(l=ve.exec(e)))if(r=l[1]){if(9===p){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(h&&(s=h.getElementById(r))&&M(t,s)&&s.id===r)return n.push(s),n}else{if(l[2])return G.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&C.getElementsByClassName&&t.getElementsByClassName)return G.apply(n,t.getElementsByClassName(r)),n}if(C.qsa&&!z[e+" "]&&(!q||!q.test(e))){if(1!==p)h=t,u=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(we,Ce):t.setAttribute("id",a=W),o=(c=S(e)).length;o--;)c[o]="#"+a+" "+d(c[o]);u=c.join(","),h=ye.test(e)&&f(t.parentNode)||t}if(u)try{return G.apply(n,h.querySelectorAll(u)),n}catch(e){}finally{a===W&&t.removeAttribute("id")}}}return A(e.replace(ae,"$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[W]=!0,e}function r(e){var t=j.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 s(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 a(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&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&&Te(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function f(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function h(){}function d(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,r=t.next,o=r||i,s=n&&"parentNode"===o,a=U++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var c,u,f,h=[B,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(u=(f=t[W]||(t[W]={}))[t.uniqueID]||(f[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[o])&&c[0]===B&&c[1]===a)return h[2]=c[2];if(u[o]=h,h[2]=e(t,n,l))return!0}return!1}}function g(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function m(e,n,i){for(var r=0,o=n.length;r<o;r++)t(e,n[r],i);return i}function v(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function y(e,t,n,r,o,s){return r&&!r[W]&&(r=y(r)),o&&!o[W]&&(o=y(o,s)),i(function(i,s,a,l){var c,u,f,h=[],d=[],p=s.length,g=i||m(t||"*",a.nodeType?[a]:a,[]),y=!e||!i&&t?g:v(g,h,e,a,l),_=n?o||(i?e:p||r)?[]:s:y;if(n&&n(y,_,a,l),r)for(c=v(_,d),r(c,[],a,l),u=c.length;u--;)(f=c[u])&&(_[d[u]]=!(y[d[u]]=f));if(i){if(o||e){if(o){for(c=[],u=_.length;u--;)(f=_[u])&&c.push(y[u]=f);o(null,_=[],c,l)}for(u=_.length;u--;)(f=_[u])&&(c=o?ee(i,f):h[u])>-1&&(i[c]=!(s[c]=f))}}else _=v(_===s?_.splice(p,_.length):_),o?o(null,s,_,l):G.apply(s,_)})}function _(e){for(var t,n,i,r=e.length,o=x.relative[e[0].type],s=o||x.relative[" "],a=o?1:0,l=p(function(e){return e===t},s,!0),c=p(function(e){return ee(t,e)>-1},s,!0),u=[function(e,n,i){var r=!o&&(i||n!==N)||((t=n).nodeType?l(e,n,i):c(e,n,i));return t=null,r}];a<r;a++)if(n=x.relative[e[a].type])u=[p(g(u),n)];else{if((n=x.filter[e[a].type].apply(null,e[a].matches))[W]){for(i=++a;i<r&&!x.relative[e[i].type];i++);return y(a>1&&g(u),a>1&&d(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,a<i&&_(e.slice(a,i)),i<r&&_(e=e.slice(i)),i<r&&d(e))}u.push(n)}return g(u)}function b(e,n){var r=n.length>0,o=e.length>0,s=function(i,s,a,l,c){var u,f,h,d=0,p="0",g=i&&[],m=[],y=N,_=i||o&&x.find.TAG("*",c),b=B+=null==y?1:Math.random()||.1,w=_.length;for(c&&(N=s===j||s||c);p!==w&&null!=(u=_[p]);p++){if(o&&u){for(f=0,s||u.ownerDocument===j||(O(u),a=!H);h=e[f++];)if(h(u,s||j,a)){l.push(u);break}c&&(B=b)}r&&((u=!h&&u)&&d--,i&&g.push(u))}if(d+=p,r&&p!==d){for(f=0;h=n[f++];)h(g,m,s,a);if(i){if(d>0)for(;p--;)g[p]||m[p]||(m[p]=Y.call(l));m=v(m)}G.apply(l,m),c&&!i&&m.length>0&&d+n.length>1&&t.uniqueSort(l)}return c&&(B=b,N=y),g};return r?i(s):s}var w,C,x,T,E,S,D,A,N,I,k,O,j,L,H,q,P,R,M,W="sizzle"+1*new Date,F=e.document,B=0,U=0,$=n(),Q=n(),z=n(),K=function(e,t){return e===t&&(k=!0),0},V={}.hasOwnProperty,X=[],Y=X.pop,J=X.push,G=X.push,Z=X.slice,ee=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",oe=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),ae=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ce=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ue=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(oe),he=new RegExp("^"+ie+"$"),de={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,_e=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","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)},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ce=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},xe=function(){O()},Te=p(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{G.apply(X=Z.call(F.childNodes),F.childNodes),X[F.childNodes.length].nodeType}catch(e){G={apply:X.length?function(e,t){J.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(w in C=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},O=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:F;return i!==j&&9===i.nodeType&&i.documentElement?(L=(j=i).documentElement,H=!E(j),F!==j&&(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xe,!1):n.attachEvent&&n.attachEvent("onunload",xe)),C.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=r(function(e){return e.appendChild(j.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=me.test(j.getElementsByClassName),C.getById=r(function(e){return L.appendChild(e).id=W,!j.getElementsByName||!j.getElementsByName(W).length}),C.getById?(x.filter.ID=function(e){var t=e.replace(_e,be);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&H){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var t=e.replace(_e,be);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&H){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),x.find.TAG=C.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):C.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},x.find.CLASS=C.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&H)return t.getElementsByClassName(e)},P=[],q=[],(C.qsa=me.test(j.querySelectorAll))&&(r(function(e){L.appendChild(e).innerHTML="<a id='"+W+"'></a><select id='"+W+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||q.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+W+"-]").length||q.push("~="),e.querySelectorAll(":checked").length||q.push(":checked"),e.querySelectorAll("a#"+W+"+*").length||q.push(".#.+[+~]")}),r(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=j.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&q.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),L.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),q.push(",.*:")})),(C.matchesSelector=me.test(R=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&r(function(e){C.disconnectedMatch=R.call(e,"*"),R.call(e,"[s!='']:x"),P.push("!=",oe)}),q=q.length&&new RegExp(q.join("|")),P=P.length&&new RegExp(P.join("|")),t=me.test(L.compareDocumentPosition),M=t||me.test(L.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},K=t?function(e,t){if(e===t)return k=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!C.sortDetached&&t.compareDocumentPosition(e)===n?e===j||e.ownerDocument===F&&M(F,e)?-1:t===j||t.ownerDocument===F&&M(F,t)?1:I?ee(I,e)-ee(I,t):0:4&n?-1:1)}:function(e,t){if(e===t)return k=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],l=[t];if(!r||!o)return e===j?-1:t===j?1:r?-1:o?1:I?ee(I,e)-ee(I,t):0;if(r===o)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?s(a[i],l[i]):a[i]===F?-1:l[i]===F?1:0},j):j},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==j&&O(e),n=n.replace(ue,"='$1']"),C.matchesSelector&&H&&!z[n+" "]&&(!P||!P.test(n))&&(!q||!q.test(n)))try{var i=R.call(e,n);if(i||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return t(n,j,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==j&&O(e),M(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==j&&O(e);var n=x.attrHandle[t.toLowerCase()],i=n&&V.call(x.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==i?i:C.attributes||!H?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.escape=function(e){return(e+"").replace(we,Ce)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,r=0;if(k=!C.detectDuplicates,I=!C.sortStable&&e.slice(0),e.sort(K),k){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return I=null,e},T=t.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=T(t);return n},(x=t.selectors={cacheLength:50,createPseudo:i,match:de,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(_e,be),e[3]=(e[3]||e[4]||e[5]||"").replace(_e,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 de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=S(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(_e,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(r){var o=t.attr(r,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(se," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,f,h,d,p,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,_=!1;if(m){if(o){for(;g;){for(h=t;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&y){for(_=(d=(c=(u=(f=(h=m)[W]||(h[W]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]||[])[0]===B&&c[1])&&c[2],h=d&&m.childNodes[d];h=++d&&h&&h[g]||(_=d=0)||p.pop();)if(1===h.nodeType&&++_&&h===t){u[e]=[B,d,_];break}}else if(y&&(_=d=(c=(u=(f=(h=t)[W]||(h[W]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]||[])[0]===B&&c[1]),!1===_)for(;(h=++d&&h&&h[g]||(_=d=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++_||(y&&((u=(f=h[W]||(h[W]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]=[B,_]),h!==t)););return(_-=r)===i||_%i==0&&_/i>=0}}},PSEUDO:function(e,n){var r,o=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[W]?o(n):o.length>1?(r=[e,e,"",n],x.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,r=o(e,n),s=r.length;s--;)e[i=ee(e,r[s])]=!(t[i]=r[s])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=D(e.replace(ae,"$1"));return r[W]?i(function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=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(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(_e,be),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:i(function(e){return he.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(_e,be).toLowerCase(),function(t){var n;do{if(n=H?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===L},focus:function(e){return e===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!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 ge.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:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})x.pseudos[w]=l(w);return h.prototype=x.filters=x.pseudos,x.setFilters=new h,S=t.tokenize=function(e,n){var i,r,o,s,a,l,c,u=Q[e+" "];if(u)return n?0:u.slice(0);for(a=e,l=[],c=x.preFilter;a;){for(s in i&&!(r=le.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=ce.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(ae," ")}),a=a.slice(i.length)),x.filter)!(r=de[s].exec(a))||c[s]&&!(r=c[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?t.error(e):Q(e,l).slice(0)},D=t.compile=function(e,t){var n,i=[],r=[],o=z[e+" "];if(!o){for(t||(t=S(e)),n=t.length;n--;)(o=_(t[n]))[W]?i.push(o):r.push(o);(o=z(e,b(r,i))).selector=e}return o},A=t.select=function(e,t,n,i){var r,o,s,a,l,c="function"==typeof e&&e,u=!i&&S(e=c.selector||e);if(n=n||[],1===u.length){if((o=u[0]=u[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&H&&x.relative[o[1].type]){if(!(t=(x.find.ID(s.matches[0].replace(_e,be),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=de.needsContext.test(e)?0:o.length;r--&&(s=o[r],!x.relative[a=s.type]);)if((l=x.find[a])&&(i=l(s.matches[0].replace(_e,be),ye.test(o[0].type)&&f(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&d(o)))return G.apply(n,i),n;break}}return(c||D(e,u))(i,t,!H,n,!t||ye.test(e)&&f(t.parentNode)||t),n},C.sortStable=W.split("").sort(K).join("")===W,C.detectDuplicates=!!k,O(),C.sortDetached=r(function(e){return 1&e.compareDocumentPosition(j.createElement("fieldset"))}),r(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)}),C.attributes&&r(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}),r(function(e){return null==e.getAttribute("disabled")})||o(te,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=xe,we.expr=xe.selectors,we.expr[":"]=we.expr.pseudos,we.uniqueSort=we.unique=xe.uniqueSort,we.text=xe.getText,we.isXMLDoc=xe.isXML,we.contains=xe.contains,we.escapeSelector=xe.escape;var Te=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&we(e).is(n))break;i.push(e)}return i},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Se=we.expr.match.needsContext,De=/^<([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,r=this;if("string"!=typeof e)return this.pushStack(we(e).filter(function(){for(t=0;t<i;t++)if(we.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)we.find(e,r[t],n);return i>1?we.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&&Se.test(e)?we(e):e||[],!1).length}});var Ae,Ne=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(we.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||Ae,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ne.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:se,!0)),De.test(i[1])&&we.isPlainObject(t))for(i in t)ye(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=se.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ye(e)?void 0!==n.ready?n.ready(e):e(we):we.makeArray(e,this)}).prototype=we.fn,Ae=we(se);var Ie=/^(?:parents|prev(?:Until|All))/,ke={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,r=this.length,o=[],s="string"!=typeof e&&we(e);if(!Se.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.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?fe.call(we(e),this[0]):fe.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 Te(e,"parentNode")},parentsUntil:function(e,t,n){return Te(e,"parentNode",n)},next:function(e){return a(e,"nextSibling")},prev:function(e){return a(e,"previousSibling")},nextAll:function(e){return Te(e,"nextSibling")},prevAll:function(e){return Te(e,"previousSibling")},nextUntil:function(e,t,n){return Te(e,"nextSibling",n)},prevUntil:function(e,t,n){return Te(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(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 r=we.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=we.filter(i,r)),this.length>1&&(ke[e]||we.uniqueSort(r),Ie.test(e)&&r.reverse()),this.pushStack(r)}});var Oe=/[^\x20\t\r\n\f]+/g;we.Callbacks=function(e){e="string"==typeof e?l(e):we.extend({},e);var t,n,r,o,s=[],a=[],c=-1,u=function(){for(o=o||e.once,r=t=!0;a.length;c=-1)for(n=a.shift();++c<s.length;)!1===s[c].apply(n[0],n[1])&&e.stopOnFalse&&(c=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(s=n?[]:"")},f={add:function(){return s&&(n&&!t&&(c=s.length-1,a.push(n)),function r(t){we.each(t,function(t,n){ye(n)?e.unique&&f.has(n)||s.push(n):n&&n.length&&"string"!==i(n)&&r(n)})}(arguments),n&&!t&&u()),this},remove:function(){return we.each(arguments,function(e,t){for(var n;(n=we.inArray(t,s,n))>-1;)s.splice(n,1),n<=c&&c--}),this},has:function(e){return e?we.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=a=[],n||t||(s=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!r}};return f},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",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return r.then(null,e)},pipe:function(){var e=arguments;return we.Deferred(function(t){we.each(n,function(n,i){var r=ye(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&ye(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(t,i,r){function o(t,n,i,r){return function(){var a=this,l=arguments,f=function(){var e,f;if(!(t<s)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");f=e&&("object"==typeof e||"function"==typeof e)&&e.then,ye(f)?r?f.call(e,o(s,n,c,r),o(s,n,u,r)):(s++,f.call(e,o(s,n,c,r),o(s,n,u,r),o(s,n,c,n.notifyWith))):(i!==c&&(a=void 0,l=[e]),(r||n.resolveWith)(a,l))}},h=r?f:function(){try{f()}catch(e){we.Deferred.exceptionHook&&we.Deferred.exceptionHook(e,h.stackTrace),t+1>=s&&(i!==u&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?h():(we.Deferred.getStackHook&&(h.stackTrace=we.Deferred.getStackHook()),e.setTimeout(h))}}var s=0;return we.Deferred(function(e){n[0][3].add(o(0,e,ye(r)?r:c,e.notifyWith)),n[1][3].add(o(0,e,ye(t)?t:c)),n[2][3].add(o(0,e,ye(i)?i:u))}).promise()},promise:function(e){return null!=e?we.extend(e,r):r}},o={};return we.each(n,function(e,t){var s=t[2],a=t[5];r[t[1]]=s.add,a&&s.add(function(){i=a},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=s.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=le.call(arguments),o=we.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?le.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(f(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||ye(r[n]&&r[n].then)))return o.then();for(;n--;)f(r[n],s(n),o.reject);return o.promise()}});var je=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;we.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&je.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},we.readyException=function(t){e.setTimeout(function(){throw t})};var Le=we.Deferred();we.fn.ready=function(e){return Le.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||Le.resolveWith(se,[we]))}}),we.ready.then=Le.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?e.setTimeout(we.ready):(se.addEventListener("DOMContentLoaded",h),e.addEventListener("load",h));var He=function(e,t,n,r,o,s,a){var l=0,c=e.length,u=null==n;if("object"===i(n))for(l in o=!0,n)He(e,t,l,n[l],!0,s,a);else if(void 0!==r&&(o=!0,ye(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(we(e),n)})),t))for(;l<c;l++)t(e[l],n,a?r:r.call(e[l],l,t(e[l],n)));return o?e:u?t.call(e):c?t(e[0],n):s},qe=/^-ms-/,Pe=/-([a-z])/g,Re=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={},Re(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[p(t)]=n;else for(i in t)r[p(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][p(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(p):(t=p(t))in i?[t]:t.match(Oe)||[]).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 Me=new g,We=new g,Fe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Be=/[A-Z]/g;we.extend({hasData:function(e){return We.hasData(e)||Me.hasData(e)},data:function(e,t,n){return We.access(e,t,n)},removeData:function(e,t){We.remove(e,t)},_data:function(e,t,n){return Me.access(e,t,n)},_removeData:function(e,t){Me.remove(e,t)}}),we.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=We.get(o),1===o.nodeType&&!Me.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=p(i.slice(5)),v(o,i,r[i]));Me.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){We.set(this,e)}):He(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=We.get(o,e)))return n;if(void 0!==(n=v(o,e)))return n}else this.each(function(){We.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){We.remove(this,e)})}}),we.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Me.get(e,t),n&&(!i||Array.isArray(n)?i=Me.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,r=n.shift(),o=we._queueHooks(e,t),s=function(){we.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Me.get(e,n)||Me.access(e,n,{empty:we.Callbacks("once memory").add(function(){Me.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,r=we.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=Me.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var Ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$e=new RegExp("^(?:([+-])=|)("+Ue+")([a-z%]*)$","i"),Qe=["Top","Right","Bottom","Left"],ze=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&we.contains(e.ownerDocument,e)&&"none"===we.css(e,"display")},Ke=function(e,t,n,i){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=s[o];return r},Ve={};we.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ze(this)?we(this).show():we(this).hide()})}});var Xe=/^(?:checkbox|radio)$/i,Ye=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|^module$|\/(?:java|ecma)script/i,Ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td;var Ze=/<|&#?\w+;/;!function(){var e=se.createDocumentFragment().appendChild(se.createElement("div")),t=se.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),ve.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",ve.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var et=se.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,it=/^([^.]*)(?:\.(.+)|)/;we.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,u,f,h,d,p,g,m=Me.get(e);if(m)for(n.handler&&(n=(o=n).handler,r=o.selector),r&&we.find.matchesSelector(et,r),n.guid||(n.guid=we.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=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(Oe)||[""]).length;c--;)d=g=(a=it.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),d&&(f=we.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,f=we.event.special[d]||{},u=we.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&we.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[d])||((h=l[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,i,p,s)||e.addEventListener&&e.addEventListener(d,s)),f.add&&(f.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),we.event.global[d]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,f,h,d,p,g,m=Me.hasData(e)&&Me.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(Oe)||[""]).length;c--;)if(d=g=(a=it.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),d){for(f=we.event.special[d]||{},h=l[d=(i?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,f.remove&&f.remove.call(e,u));s&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,p,m.handle)||we.removeEvent(e,d,m.handle),delete l[d])}else for(d in l)we.event.remove(e,d+t[c],n,i,!0);we.isEmptyObject(l)&&Me.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=we.event.fix(e),l=new Array(arguments.length),c=(Me.get(this,"events")||{})[a.type]||[],u=we.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,a)){for(s=we.event.handlers.call(this,a,c),t=0;(r=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(i=((we.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?we(r,this).index(c)>-1:we.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(we.Event.prototype,e,{enumerable:!0,configurable:!0,get:ye(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[we.expando]?e:new we.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==S()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===S()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&o(this,"input"))return this.click(),!1},_default:function(e){return o(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},we.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},we.Event=function(e,t){if(!(this instanceof we.Event))return new we.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?T: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&&we.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[we.expando]=!0},we.Event.prototype={constructor:we.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=T,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=T,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=T,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},we.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,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&nt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},we.event.addProp),we.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){we.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||we.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),we.fn.extend({on:function(e,t,n,i){return D(this,e,t,n,i)},one:function(e,t,n,i){return D(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,we(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=E),this.each(function(){we.event.remove(this,e,n,t)})}});var rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ot=/<script|<style|<link/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;we.extend({htmlPrefilter:function(e){return e.replace(rt,"<$1></$2>")},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=we.contains(e.ownerDocument,e);if(!(ve.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||we.isXMLDoc(e)))for(s=w(a),i=0,r=(o=w(e)).length;i<r;i++)O(o[i],s[i]);if(t)if(n)for(o=o||w(e),s=s||w(a),i=0,r=o.length;i<r;i++)k(o[i],s[i]);else k(e,a);return(s=w(a,"script")).length>0&&C(s,!l&&w(e,"script")),a},cleanData:function(e){for(var t,n,i,r=we.event.special,o=0;void 0!==(n=e[o]);o++)if(Re(n)){if(t=n[Me.expando]){if(t.events)for(i in t.events)r[i]?we.event.remove(n,i):we.removeEvent(n,i,t.handle);n[Me.expando]=void 0}n[We.expando]&&(n[We.expando]=void 0)}}}),we.fn.extend({detach:function(e){return L(this,e,!0)},remove:function(e){return L(this,e)},text:function(e){return He(this,function(e){return void 0===e?we.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 j(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||A(this,e).appendChild(e)})},prepend:function(){return j(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 j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return j(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&&(we.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return we.clone(this,e,t)})},html:function(e){return He(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ot.test(e)&&!Ge[(Ye.exec(e)||["",""])[1].toLowerCase()]){e=we.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(we.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return j(this,arguments,function(t){var n=this.parentNode;we.inArray(this,e)<0&&(we.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),we.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){we.fn[e]=function(e){for(var n,i=[],r=we(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),we(r[s])[t](n),ue.apply(i,n.get());return this.pushStack(i)}});var lt=new RegExp("^("+Ue+")(?!px)[a-z%]+$","i"),ct=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},ut=new RegExp(Qe.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%",et.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,a=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),r=36===n(t.width),c.style.position="absolute",o=36===c.offsetWidth||"absolute",et.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,r,o,s,a,l=se.createElement("div"),c=se.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ve.clearCloneStyle="content-box"===c.style.backgroundClip,we.extend(ve,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),a},scrollboxSize:function(){return t(),o}}))}();var ft=/^(none|table(?!-c[ea]).+)/,ht=/^--/,dt={position:"absolute",visibility:"hidden",display:"block"},pt={letterSpacing:"0",fontWeight:"400"},gt=["Webkit","Moz","ms"],mt=se.createElement("div").style;we.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=H(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=p(t),l=ht.test(t),c=e.style;if(l||(t=R(a)),s=we.cssHooks[t]||we.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];"string"==(o=typeof n)&&(r=$e.exec(n))&&r[1]&&(n=y(e,t,r),o="number"),null!=n&&n==n&&("number"===o&&(n+=r&&r[3]||(we.cssNumber[a]?"":"px")),ve.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,s,a=p(t);return ht.test(t)||(t=R(a)),(s=we.cssHooks[t]||we.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=H(e,t,i)),"normal"===r&&t in pt&&(r=pt[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),we.each(["height","width"],function(e,t){we.cssHooks[t]={get:function(e,n,i){if(n)return!ft.test(we.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?F(e,t,i):Ke(e,dt,function(){return F(e,t,i)})},set:function(e,n,i){var r,o=ct(e),s="border-box"===we.css(e,"boxSizing",!1,o),a=i&&W(e,t,i,s,o);return s&&ve.scrollboxSize()===o.position&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-W(e,t,"border",!1,o)-.5)),a&&(r=$e.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=we.css(e,t)),M(e,n,a)}}}),we.cssHooks.marginLeft=q(ve.reliableMarginLeft,function(e,t){if(t)return(parseFloat(H(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),we.each({margin:"",padding:"",border:"Width"},function(e,t){we.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+Qe[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(we.cssHooks[e+t].set=M)}),we.fn.extend({css:function(e,t){return He(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=ct(e),r=t.length;s<r;s++)o[t[s]]=we.css(e,t[s],!1,i);return o}return void 0!==n?we.style(e,t,n):we.css(e,t)},e,t,arguments.length>1)}}),we.Tween=B,B.prototype={constructor:B,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||we.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(we.cssNumber[n]?"":"px")},cur:function(){var e=B.propHooks[this.prop];return e&&e.get?e.get(this):B.propHooks._default.get(this)},run:function(e){var t,n=B.propHooks[this.prop];return this.options.duration?this.pos=t=we.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):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.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=we.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){we.fx.step[e.prop]?we.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[we.cssProps[e.prop]]&&!we.cssHooks[e.prop]?e.elem[e.prop]=e.now:we.style(e.elem,e.prop,e.now+e.unit)}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},we.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},we.fx=B.prototype.init,we.fx.step={};var vt,yt,_t=/^(?:toggle|show|hide)$/,bt=/queueHooks$/;we.Animation=we.extend(X,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return y(n.elem,e,$e.exec(t),n),n}]},tweener:function(e,t){ye(e)?(t=e,e=["*"]):e=e.match(Oe);for(var n,i=0,r=e.length;i<r;i++)n=e[i],X.tweeners[n]=X.tweeners[n]||[],X.tweeners[n].unshift(t)},prefilters:[K],prefilter:function(e,t){t?X.prefilters.unshift(e):X.prefilters.push(e)}}),we.speed=function(e,t,n){var i=e&&"object"==typeof e?we.extend({},e):{complete:n||!n&&t||ye(e)&&e,duration:e,easing:n&&t||t&&!ye(t)&&t};return we.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in we.fx.speeds?i.duration=we.fx.speeds[i.duration]:i.duration=we.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ye(i.old)&&i.old.call(this),i.queue&&we.dequeue(this,i.queue)},i},we.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ze).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=we.isEmptyObject(e),o=we.speed(t,n,i),s=function(){var t=X(this,we.extend({},e),o);(r||Me.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=we.timers,s=Me.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&bt.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||we.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Me.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=we.timers,s=i?i.length:0;for(n.finish=!0,we.queue(this,e,[]),r&&r.stop&&r.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<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),we.each(["toggle","show","hide"],function(e,t){var n=we.fn[t];we.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(Q(t,!0),e,i,r)}}),we.each({slideDown:Q("show"),slideUp:Q("hide"),slideToggle:Q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){we.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),we.timers=[],we.fx.tick=function(){var e,t=0,n=we.timers;for(vt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||we.fx.stop(),vt=void 0},we.fx.timer=function(e){we.timers.push(e),we.fx.start()},we.fx.interval=13,we.fx.start=function(){yt||(yt=!0,U())},we.fx.stop=function(){yt=null},we.fx.speeds={slow:600,fast:200,_default:400},we.fn.delay=function(t,n){return t=we.fx&&we.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})},function(){
|
|
var e=se.createElement("input"),t=se.createElement("select").appendChild(se.createElement("option"));e.type="checkbox",ve.checkOn=""!==e.value,ve.optSelected=t.selected,(e=se.createElement("input")).value="t",e.type="radio",ve.radioValue="t"===e.value}();var wt,Ct=we.expr.attrHandle;we.fn.extend({attr:function(e,t){return He(this,we.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){we.removeAttr(this,e)})}}),we.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?we.prop(e,t,n):(1===o&&we.isXMLDoc(e)||(r=we.attrHooks[t.toLowerCase()]||(we.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void we.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=we.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!ve.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,i=0,r=t&&t.match(Oe);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?we.removeAttr(e,n):e.setAttribute(n,n),n}},we.each(we.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ct[t]||we.find.attr;Ct[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=Ct[s],Ct[s]=r,r=null!=n(e,t,i)?s:null,Ct[s]=o),r}});var xt=/^(?:input|select|textarea|button)$/i,Tt=/^(?:a|area)$/i;we.fn.extend({prop:function(e,t){return He(this,we.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[we.propFix[e]||e]})}}),we.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&we.isXMLDoc(e)||(t=we.propFix[t]||t,r=we.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=we.find.attr(e,"tabindex");return t?parseInt(t,10):xt.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ve.optSelected||(we.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)}}),we.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){we.propFix[this.toLowerCase()]=this}),we.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,l=0;if(ye(e))return this.each(function(t){we(this).addClass(e.call(this,t,J(this)))});if((t=G(e)).length)for(;n=this[l++];)if(r=J(n),i=1===n.nodeType&&" "+Y(r)+" "){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=Y(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,l=0;if(ye(e))return this.each(function(t){we(this).removeClass(e.call(this,t,J(this)))});if(!arguments.length)return this.attr("class","");if((t=G(e)).length)for(;n=this[l++];)if(r=J(n),i=1===n.nodeType&&" "+Y(r)+" "){for(s=0;o=t[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(a=Y(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):ye(e)?this.each(function(n){we(this).toggleClass(e.call(this,n,J(this),t),t)}):this.each(function(){var t,r,o,s;if(i)for(r=0,o=we(this),s=G(e);t=s[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=J(this))&&Me.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Me.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+Y(J(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;we.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=ye(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,we(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=we.map(r,function(e){return null==e?"":e+""})),(t=we.valHooks[this.type]||we.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=we.valHooks[r.type]||we.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(Et,""):null==n?"":n:void 0}}),we.extend({valHooks:{option:{get:function(e){var t=we.find.attr(e,"value");return null!=t?t:Y(we.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,a="select-one"===e.type,l=a?null:[],c=a?s+1:r.length;for(i=s<0?c:a?s:0;i<c;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=we(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,i,r=e.options,o=we.makeArray(t),s=r.length;s--;)((i=r[s]).selected=we.inArray(we.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),we.each(["radio","checkbox"],function(){we.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=we.inArray(we(e).val(),t)>-1}},ve.checkOn||(we.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),ve.focusin="onfocusin"in e;var St=/^(?:focusinfocus|focusoutblur)$/,Dt=function(e){e.stopPropagation()};we.extend(we.event,{trigger:function(t,n,i,r){var o,s,a,l,c,u,f,h,d=[i||se],p=pe.call(t,"type")?t.type:t,g=pe.call(t,"namespace")?t.namespace.split("."):[];if(s=h=a=i=i||se,3!==i.nodeType&&8!==i.nodeType&&!St.test(p+we.event.triggered)&&(p.indexOf(".")>-1&&(p=(g=p.split(".")).shift(),g.sort()),c=p.indexOf(":")<0&&"on"+p,(t=t[we.expando]?t:new we.Event(p,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:we.makeArray(n,[t]),f=we.event.special[p]||{},r||!f.trigger||!1!==f.trigger.apply(i,n))){if(!r&&!f.noBubble&&!_e(i)){for(l=f.delegateType||p,St.test(l+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),a=s;a===(i.ownerDocument||se)&&d.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=d[o++])&&!t.isPropagationStopped();)h=s,t.type=o>1?l:f.bindType||p,(u=(Me.get(s,"events")||{})[t.type]&&Me.get(s,"handle"))&&u.apply(s,n),(u=c&&s[c])&&u.apply&&Re(s)&&(t.result=u.apply(s,n),!1===t.result&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(d.pop(),n)||!Re(i)||c&&ye(i[p])&&!_e(i)&&((a=i[c])&&(i[c]=null),we.event.triggered=p,t.isPropagationStopped()&&h.addEventListener(p,Dt),i[p](),t.isPropagationStopped()&&h.removeEventListener(p,Dt),we.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(e,t,n){var i=we.extend(new we.Event,n,{type:e,isSimulated:!0});we.event.trigger(i,null,t)}}),we.fn.extend({trigger:function(e,t){return this.each(function(){we.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return we.event.trigger(e,t,n,!0)}}),ve.focusin||we.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){we.event.simulate(t,e.target,we.event.fix(e))};we.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=Me.access(i,t);r||i.addEventListener(e,n,!0),Me.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=Me.access(i,t)-1;r?Me.access(i,t,r):(i.removeEventListener(e,n,!0),Me.remove(i,t))}}});var At=e.location,Nt=Date.now(),It=/\?/;we.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||we.error("Invalid XML: "+t),n};var kt=/\[\]$/,Ot=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;we.param=function(e,t){var n,i=[],r=function(e,t){var n=ye(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!we.isPlainObject(e))we.each(e,function(){r(this.name,this.value)});else for(n in e)Z(n,e[n],t,r);return i.join("&")},we.fn.extend({serialize:function(){return we.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=we.prop(this,"elements");return e?we.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!we(this).is(":disabled")&&Lt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Xe.test(e))}).map(function(e,t){var n=we(this).val();return null==n?null:Array.isArray(n)?we.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}});var Ht=/%20/g,qt=/#.*$/,Pt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,Ft=/^\/\//,Bt={},Ut={},$t="*/".concat("*"),Qt=se.createElement("a");Qt.href=At.href,we.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:Mt.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,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":we.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ne(ne(e,we.ajaxSettings),t):ne(we.ajaxSettings,e)},ajaxPrefilter:ee(Bt),ajaxTransport:ee(Ut),ajax:function(t,n){function i(t,n,i,a){var c,h,d,b,w,C=n;u||(u=!0,l&&e.clearTimeout(l),r=void 0,s=a||"",x.readyState=t>0?4:0,c=t>=200&&t<300||304===t,i&&(b=ie(p,x,i)),b=re(p,b,x,c),c?(p.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(we.lastModified[o]=w),(w=x.getResponseHeader("etag"))&&(we.etag[o]=w)),204===t||"HEAD"===p.type?C="nocontent":304===t?C="notmodified":(C=b.state,h=b.data,c=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),x.status=t,x.statusText=(n||C)+"",c?v.resolveWith(g,[h,C,x]):v.rejectWith(g,[x,C,d]),x.statusCode(_),_=void 0,f&&m.trigger(c?"ajaxSuccess":"ajaxError",[x,p,c?h:d]),y.fireWith(g,[x,C]),f&&(m.trigger("ajaxComplete",[x,p]),--we.active||we.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,o,s,a,l,c,u,f,h,d,p=we.ajaxSetup({},n),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?we(g):we.event,v=we.Deferred(),y=we.Callbacks("once memory"),_=p.statusCode||{},b={},w={},C="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Rt.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)x.always(e[x.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),i(0,t),this}};if(v.promise(x),p.url=((t||p.url||At.href)+"").replace(Ft,At.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Oe)||[""],null==p.crossDomain){c=se.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Qt.protocol+"//"+Qt.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=we.param(p.data,p.traditional)),te(Bt,p,n,x),u)return x;for(h in(f=we.event&&p.global)&&0==we.active++&&we.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Wt.test(p.type),o=p.url.replace(qt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ht,"+")):(d=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(It.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Pt,"$1"),d=(It.test(o)?"&":"?")+"_="+Nt+++d),p.url=o+d),p.ifModified&&(we.lastModified[o]&&x.setRequestHeader("If-Modified-Since",we.lastModified[o]),we.etag[o]&&x.setRequestHeader("If-None-Match",we.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+$t+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(g,x,p)||u))return x.abort();if(C="abort",y.add(p.complete),x.done(p.success),x.fail(p.error),r=te(Ut,p,n,x)){if(x.readyState=1,f&&m.trigger("ajaxSend",[x,p]),u)return x;p.async&&p.timeout>0&&(l=e.setTimeout(function(){x.abort("timeout")},p.timeout));try{u=!1,r.send(b,i)}catch(e){if(u)throw e;i(-1,e)}}else i(-1,"No Transport");return x},getJSON:function(e,t,n){return we.get(e,t,n,"json")},getScript:function(e,t){return we.get(e,void 0,t,"script")}}),we.each(["get","post"],function(e,t){we[t]=function(e,n,i,r){return ye(n)&&(r=r||i,i=n,n=void 0),we.ajax(we.extend({url:e,type:t,dataType:r,data:n,success:i},we.isPlainObject(e)&&e))}}),we._evalUrl=function(e){return we.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},we.fn.extend({wrapAll:function(e){var t;return this[0]&&(ye(e)&&(e=e.call(this[0])),t=we(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 ye(e)?this.each(function(t){we(this).wrapInner(e.call(this,t))}):this.each(function(){var t=we(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ye(e);return this.each(function(n){we(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){we(this).replaceWith(this.childNodes)}),this}}),we.expr.pseudos.hidden=function(e){return!we.expr.pseudos.visible(e)},we.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},we.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Kt=we.ajaxSettings.xhr();ve.cors=!!Kt&&"withCredentials"in Kt,ve.ajax=Kt=!!Kt,we.ajaxTransport(function(t){var n,i;if(ve.cors||Kt&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(zt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),we.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),we.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 we.globalEval(e),e}}}),we.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),we.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(i,r){t=we("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),se.head.appendChild(t[0])},abort:function(){n&&n()}}});var Vt=[],Xt=/(=)\?(?=&|$)|\?\?/;we.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Vt.pop()||we.expando+"_"+Nt++;return this[e]=!0,e}}),we.ajaxPrefilter("json jsonp",function(t,n,i){var r,o,s,a=!1!==t.jsonp&&(Xt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ye(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Xt,"$1"+r):!1!==t.jsonp&&(t.url+=(It.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||we.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){s=arguments},i.always(function(){void 0===o?we(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,Vt.push(r)),s&&ye(o)&&o(s[0]),s=o=void 0}),"script"}),ve.createHTMLDocument=function(){var e=se.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),we.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ve.createHTMLDocument?((i=(t=se.implementation.createHTMLDocument("")).createElement("base")).href=se.location.href,t.head.appendChild(i)):t=se),o=!n&&[],(r=De.exec(e))?[t.createElement(r[1])]:(r=x([e],t,o),o&&o.length&&we(o).remove(),we.merge([],r.childNodes)));var i,r,o},we.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=Y(e.slice(a)),e=e.slice(0,a)),ye(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&we.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?we("<div>").append(we.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},we.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){we.fn[t]=function(e){return this.on(t,e)}}),we.expr.pseudos.animated=function(e){return we.grep(we.timers,function(t){return e===t.elem}).length},we.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=we.css(e,"position"),u=we(e),f={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=we.css(e,"top"),l=we.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),ye(t)&&(t=t.call(e,n,we.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+r),"using"in t?t.using.call(e,f):u.css(f)}},we.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){we.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.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,i=this[0],r={top:0,left:0};if("fixed"===we.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===we.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=we(e).offset()).top+=we.css(e,"borderTopWidth",!0),r.left+=we.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-we.css(i,"marginTop",!0),left:t.left-r.left-we.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===we.css(e,"position");)e=e.offsetParent;return e||et})}}),we.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;we.fn[e]=function(i){return He(this,function(e,i,r){var o;if(_e(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r},e,i,arguments.length)}}),we.each(["top","left"],function(e,t){we.cssHooks[t]=q(ve.pixelPosition,function(e,n){if(n)return n=H(e,t),lt.test(n)?we(e).position()[t]+"px":n})}),we.each({Height:"height",Width:"width"},function(e,t){we.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){we.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return He(this,function(t,n,r){var o;return _e(t)?0===i.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])):void 0===r?we.css(t,n,a):we.style(t,n,r,a)},t,s?r:void 0,s)}})}),we.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){we.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),we.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),we.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),we.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),ye(e))return i=le.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(le.call(arguments)))}).guid=e.guid=e.guid||we.guid++,r},we.holdReady=function(e){e?we.readyWait++:we.ready(!0)},we.isArray=Array.isArray,we.parseJSON=JSON.parse,we.nodeName=o,we.isFunction=ye,we.isWindow=_e,we.camelCase=p,we.type=i,we.now=Date.now,we.isNumeric=function(e){var t=we.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return we});var Yt=e.jQuery,Jt=e.$;return we.noConflict=function(t){return e.$===we&&(e.$=Jt),t&&e.jQuery===we&&(e.jQuery=Yt),we},t||(e.jQuery=e.$=we),we}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){e.ui=e.ui||{},e.ui.version="1.12.1";var t="ui-effects-",n="ui-effects-style",i="ui-effects-animated",r=e;e.effects={effect:{}},function(e,t){function n(e,t,n){var i=f[t.type]||{};return null==e?n||!t.def?null:t.def:(e=i.floor?~~e:parseFloat(e),isNaN(e)?t.def:i.mod?(e+i.mod)%i.mod:0>e?0:e>i.max?i.max:e)}function i(n){var i=c(),r=i._rgba=[];return n=n.toLowerCase(),p(l,function(e,o){var s,a=o.re.exec(n),l=a&&o.parse(a),c=o.space||"rgba";return l?(s=i[c](l),i[u[c].cache]=s[u[c].cache],r=i._rgba=s._rgba,!1):t}),r.length?("0,0,0,0"===r.join()&&e.extend(r,o.transparent),i):o[n]}function r(e,t,n){return 1>6*(n=(n+1)%1)?e+6*(t-e)*n:1>2*n?t:2>3*n?e+6*(t-e)*(2/3-n):e}var o,s="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",a=/^([\-+])=\s*(\d+\.?\d*)/,l=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],c=e.Color=function(t,n,i,r){return new e.Color.fn.parse(t,n,i,r)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},f={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},h=c.support={},d=e("<p>")[0],p=e.each;d.style.cssText="background-color:rgba(1,1,1,.5)",h.rgba=d.style.backgroundColor.indexOf("rgba")>-1,p(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),c.fn=e.extend(c.prototype,{parse:function(r,s,a,l){if(r===t)return this._rgba=[null,null,null,null],this;(r.jquery||r.nodeType)&&(r=e(r).css(s),s=t);var f=this,h=e.type(r),d=this._rgba=[];return s!==t&&(r=[r,s,a,l],h="array"),"string"===h?this.parse(i(r)||o._default):"array"===h?(p(u.rgba.props,function(e,t){d[t.idx]=n(r[t.idx],t)}),this):"object"===h?(p(u,r instanceof c?function(e,t){r[t.cache]&&(f[t.cache]=r[t.cache].slice())}:function(t,i){var o=i.cache;p(i.props,function(e,t){if(!f[o]&&i.to){if("alpha"===e||null==r[e])return;f[o]=i.to(f._rgba)}f[o][t.idx]=n(r[e],t,!0)}),f[o]&&0>e.inArray(null,f[o].slice(0,3))&&(f[o][3]=1,i.from&&(f._rgba=i.from(f[o])))}),this):t},is:function(e){var n=c(e),i=!0,r=this;return p(u,function(e,o){var s,a=n[o.cache];return a&&(s=r[o.cache]||o.to&&o.to(r._rgba)||[],p(o.props,function(e,n){return null!=a[n.idx]?i=a[n.idx]===s[n.idx]:t})),i}),i},_space:function(){var e=[],t=this;return p(u,function(n,i){t[i.cache]&&e.push(n)}),e.pop()},transition:function(e,t){var i=c(e),r=i._space(),o=u[r],s=0===this.alpha()?c("transparent"):this,a=s[o.cache]||o.to(s._rgba),l=a.slice();return i=i[o.cache],p(o.props,function(e,r){var o=r.idx,s=a[o],c=i[o],u=f[r.type]||{};null!==c&&(null===s?l[o]=c:(u.mod&&(c-s>u.mod/2?s+=u.mod:s-c>u.mod/2&&(s-=u.mod)),l[o]=n((c-s)*t+s,r)))}),this[r](l)},blend:function(t){if(1===this._rgba[3])return this;var n=this._rgba.slice(),i=n.pop(),r=c(t)._rgba;return c(e.map(n,function(e,t){return(1-i)*r[t]+i*e}))},toRgbaString:function(){var t="rgba(",n=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===n[3]&&(n.pop(),t="rgb("),t+n.join()+")"},toHslaString:function(){var t="hsla(",n=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===n[3]&&(n.pop(),t="hsl("),t+n.join()+")"},toHexString:function(t){var n=this._rgba.slice(),i=n.pop();return t&&n.push(~~(255*i)),"#"+e.map(n,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),c.fn.parse.prototype=c.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,n,i=e[0]/255,r=e[1]/255,o=e[2]/255,s=e[3],a=Math.max(i,r,o),l=Math.min(i,r,o),c=a-l,u=a+l,f=.5*u;return t=l===a?0:i===a?60*(r-o)/c+360:r===a?60*(o-i)/c+120:60*(i-r)/c+240,n=0===c?0:.5>=f?c/u:c/(2-u),[Math.round(t)%360,n,f,null==s?1:s]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,n=e[1],i=e[2],o=e[3],s=.5>=i?i*(1+n):i+n-i*n,a=2*i-s;return[Math.round(255*r(a,s,t+1/3)),Math.round(255*r(a,s,t)),Math.round(255*r(a,s,t-1/3)),o]},p(u,function(i,r){var o=r.props,s=r.cache,l=r.to,u=r.from;c.fn[i]=function(i){if(l&&!this[s]&&(this[s]=l(this._rgba)),i===t)return this[s].slice();var r,a=e.type(i),f="array"===a||"object"===a?i:arguments,h=this[s].slice();return p(o,function(e,t){var i=f["object"===a?e:t.idx];null==i&&(i=h[t.idx]),h[t.idx]=n(i,t)}),u?((r=c(u(h)))[s]=h,r):c(h)},p(o,function(t,n){c.fn[t]||(c.fn[t]=function(r){var o,s=e.type(r),l="alpha"===t?this._hsla?"hsla":"rgba":i,c=this[l](),u=c[n.idx];return"undefined"===s?u:("function"===s&&(r=r.call(this,u),s=e.type(r)),null==r&&n.empty?this:("string"===s&&((o=a.exec(r))&&(r=u+parseFloat(o[2])*("+"===o[1]?1:-1))),c[n.idx]=r,this[l](c)))})})}),c.hook=function(t){var n=t.split(" ");p(n,function(t,n){e.cssHooks[n]={set:function(t,r){var o,s,a="";if("transparent"!==r&&("string"!==e.type(r)||(o=i(r)))){if(r=c(o||r),!h.rgba&&1!==r._rgba[3]){for(s="backgroundColor"===n?t.parentNode:t;(""===a||"transparent"===a)&&s&&s.style;)try{a=e.css(s,"backgroundColor"),s=s.parentNode}catch(l){}r=r.blend(a&&"transparent"!==a?a:"_default")}r=r.toRgbaString()}try{t.style[n]=r}catch(l){}}},e.fx.step[n]=function(t){t.colorInit||(t.start=c(t.elem,n),t.end=c(t.end),t.colorInit=!0),e.cssHooks[n].set(t.elem,t.start.transition(t.end,t.pos))}})},c.hook(s),e.cssHooks.borderColor={expand:function(e){var t={};return p(["Top","Right","Bottom","Left"],function(n,i){t["border"+i+"Color"]=e}),t}},o=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(r),function(){function t(t){var n,i,r=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,o={};if(r&&r.length&&r[0]&&r[r[0]])for(i=r.length;i--;)"string"==typeof r[n=r[i]]&&(o[e.camelCase(n)]=r[n]);else for(n in r)"string"==typeof r[n]&&(o[n]=r[n]);return o}function n(t,n){var i,r,s={};for(i in n)r=n[i],t[i]!==r&&(o[i]||(e.fx.step[i]||!isNaN(parseFloat(r)))&&(s[i]=r));return s}var i=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,n){e.fx.step[n]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(r.style(e.elem,n,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(r,o,s,a){var l=e.speed(o,s,a);return this.queue(function(){var o,s=e(this),a=s.attr("class")||"",c=l.children?s.find("*").addBack():s;c=c.map(function(){return{el:e(this),start:t(this)}}),(o=function(){e.each(i,function(e,t){r[t]&&s[t+"Class"](r[t])})})(),c=c.map(function(){return this.end=t(this.el[0]),this.diff=n(this.start,this.end),this}),s.attr("class",a),c=c.map(function(){var t=this,n=e.Deferred(),i=e.extend({},l,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,i),n.promise()}),e.when.apply(e,c.get()).done(function(){o(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),l.complete.call(s[0])})})},e.fn.extend({addClass:function(t){return function(n,i,r,o){return i?e.effects.animateClass.call(this,{add:n},i,r,o):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(n,i,r,o){return arguments.length>1?e.effects.animateClass.call(this,{remove:n},i,r,o):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(n,i,r,o,s){return"boolean"==typeof i||void 0===i?r?e.effects.animateClass.call(this,i?{add:n}:{remove:n},r,o,s):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:n},i,r,o)}}(e.fn.toggleClass),switchClass:function(t,n,i,r,o){return e.effects.animateClass.call(this,{add:n,remove:t},i,r,o)}})}(),function(){function r(t,n,i,r){return e.isPlainObject(t)&&(n=t,t=t.effect),t={effect:t},null==n&&(n={}),e.isFunction(n)&&(r=n,i=null,n={}),("number"==typeof n||e.fx.speeds[n])&&(r=i,i=n,n={}),e.isFunction(i)&&(r=i,i=null),n&&e.extend(t,n),i=i||n.duration,t.duration=e.fx.off?0:"number"==typeof i?i:i in e.fx.speeds?e.fx.speeds[i]:e.fx.speeds._default,t.complete=r||n.complete,t}function o(t){return!(t&&"number"!=typeof t&&!e.fx.speeds[t])||("string"==typeof t&&!e.effects.effect[t]||(!!e.isFunction(t)||"object"==typeof t&&!t.effect))}function s(e,t){var n=t.outerWidth(),i=t.outerHeight(),r=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,n,i,0];return{top:parseFloat(r[1])||0,right:"auto"===r[2]?n:parseFloat(r[2]),bottom:"auto"===r[3]?i:parseFloat(r[3]),left:parseFloat(r[4])||0}}e.expr&&e.expr.filters&&e.expr.filters.animated&&(e.expr.filters.animated=function(t){return function(n){return!!e(n).data(i)||t(n)}}(e.expr.filters.animated)),!1!==e.uiBackCompat&&e.extend(e.effects,{save:function(e,n){for(var i=0,r=n.length;r>i;i++)null!==n[i]&&e.data(t+n[i],e[0].style[n[i]])},restore:function(e,n){for(var i,r=0,o=n.length;o>r;r++)null!==n[r]&&(i=e.data(t+n[r]),e.css(n[r],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var n={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},i=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),r={width:t.width(),height:t.height()},o=document.activeElement;try{o.id}catch(s){o=document.body}return t.wrap(i),
|
|
(t[0]===o||e.contains(t[0],o))&&e(o).trigger("focus"),i=t.parent(),"static"===t.css("position")?(i.css({position:"relative"}),t.css({position:"relative"})):(e.extend(n,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,i){n[i]=t.css(i),isNaN(parseInt(n[i],10))&&(n[i]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(r),i.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&&e(n).trigger("focus")),t}}),e.extend(e.effects,{version:"1.12.1",define:function(t,n,i){return i||(i=n,n="effect"),e.effects.effect[t]=i,e.effects.effect[t].mode=n,i},scaledDimensions:function(e,t,n){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var i="horizontal"!==n?(t||100)/100:1,r="vertical"!==n?(t||100)/100:1;return{height:e.height()*r,width:e.width()*i,outerHeight:e.outerHeight()*r,outerWidth:e.outerWidth()*i}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,n){var i=e.queue();t>1&&i.splice.apply(i,[1,0].concat(i.splice(t,n))),e.dequeue()},saveStyle:function(e){e.data(n,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(n)||"",e.removeData(n)},mode:function(e,t){var n=e.is(":hidden");return"toggle"===t&&(t=n?"show":"hide"),(n?"hide"===t:"show"===t)&&(t="none"),t},getBaseline:function(e,t){var n,i;switch(e[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=e[0]/t.height}switch(e[1]){case"left":i=0;break;case"center":i=.5;break;case"right":i=1;break;default:i=e[1]/t.width}return{x:i,y:n}},createPlaceholder:function(n){var i,r=n.css("position"),o=n.position();return n.css({marginTop:n.css("marginTop"),marginBottom:n.css("marginBottom"),marginLeft:n.css("marginLeft"),marginRight:n.css("marginRight")}).outerWidth(n.outerWidth()).outerHeight(n.outerHeight()),/^(static|relative)/.test(r)&&(r="absolute",i=e("<"+n[0].nodeName+">").insertAfter(n).css({display:/^(inline|ruby)/.test(n.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:n.css("marginTop"),marginBottom:n.css("marginBottom"),marginLeft:n.css("marginLeft"),marginRight:n.css("marginRight"),float:n.css("float")}).outerWidth(n.outerWidth()).outerHeight(n.outerHeight()).addClass("ui-effects-placeholder"),n.data(t+"placeholder",i)),n.css({position:r,left:o.left,top:o.top}),i},removePlaceholder:function(e){var n=t+"placeholder",i=e.data(n);i&&(i.remove(),e.removeData(n))},cleanUp:function(t){e.effects.restoreStyle(t),e.effects.removePlaceholder(t)},setTransition:function(t,n,i,r){return r=r||{},e.each(n,function(e,n){var o=t.cssUnit(n);o[0]>0&&(r[n]=o[0]*i+o[1])}),r}}),e.fn.extend({effect:function(){function t(t){function r(){l.removeData(i),e.effects.cleanUp(l),"hide"===n.mode&&l.hide(),a()}function a(){e.isFunction(c)&&c.call(l[0]),e.isFunction(t)&&t()}var l=e(this);n.mode=f.shift(),!1===e.uiBackCompat||s?"none"===n.mode?(l[u](),a()):o.call(l[0],n,r):(l.is(":hidden")?"hide"===u:"show"===u)?(l[u](),a()):o.call(l[0],n,a)}var n=r.apply(this,arguments),o=e.effects.effect[n.effect],s=o.mode,a=n.queue,l=a||"fx",c=n.complete,u=n.mode,f=[],h=function(t){var n=e(this),r=e.effects.mode(n,u)||s;n.data(i,!0),f.push(r),s&&("show"===r||r===s&&"hide"===r)&&n.show(),s&&"none"===r||e.effects.saveStyle(n),e.isFunction(t)&&t()};return e.fx.off||!o?u?this[u](n.duration,c):this.each(function(){c&&c.call(this)}):!1===a?this.each(h).each(t):this.queue(l,h).queue(l,t)},show:function(e){return function(t){if(o(t))return e.apply(this,arguments);var n=r.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(e.fn.show),hide:function(e){return function(t){if(o(t))return e.apply(this,arguments);var n=r.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(e.fn.hide),toggle:function(e){return function(t){if(o(t)||"boolean"==typeof t)return e.apply(this,arguments);var n=r.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(e.fn.toggle),cssUnit:function(t){var n=this.css(t),i=[];return e.each(["em","px","%","pt"],function(e,t){n.indexOf(t)>0&&(i=[parseFloat(n),t])}),i},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):s(this.css("clip"),this)},transfer:function(t,n){var i=e(this),r=e(t.to),o="fixed"===r.css("position"),s=e("body"),a=o?s.scrollTop():0,l=o?s.scrollLeft():0,c=r.offset(),u={top:c.top-a,left:c.left-l,height:r.innerHeight(),width:r.innerWidth()},f=i.offset(),h=e("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(t.className).css({top:f.top-a,left:f.left-l,height:i.innerHeight(),width:i.innerWidth(),position:o?"fixed":"absolute"}).animate(u,t.duration,t.easing,function(){h.remove(),e.isFunction(n)&&n()})}}),e.fx.step.clip=function(t){t.clipInit||(t.start=e(t.elem).cssClip(),"string"==typeof t.end&&(t.end=s(t.end,t.elem)),t.clipInit=!0),e(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})}}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,n=4;((t=Math.pow(2,--n))-1)/11>e;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?n(2*e)/2:1-n(-2*e+2)/2}})}();e.effects;e.effects.define("blind","hide",function(t,n){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=e(this),o=t.direction||"up",s=r.cssClip(),a={clip:e.extend({},s)},l=e.effects.createPlaceholder(r);a.clip[i[o][0]]=a.clip[i[o][1]],"show"===t.mode&&(r.cssClip(a.clip),l&&l.css(e.effects.clipToBox(a)),a.clip=s),l&&l.animate(e.effects.clipToBox(a),t.duration,t.easing),r.animate(a,{queue:!1,duration:t.duration,easing:t.easing,complete:n})}),e.effects.define("bounce",function(t,n){var i,r,o,s=e(this),a=t.mode,l="hide"===a,c="show"===a,u=t.direction||"up",f=t.distance,h=t.times||5,d=2*h+(c||l?1:0),p=t.duration/d,g=t.easing,m="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,y=0,_=s.queue().length;for(e.effects.createPlaceholder(s),o=s.css(m),f||(f=s["top"===m?"outerHeight":"outerWidth"]()/3),c&&((r={opacity:1})[m]=o,s.css("opacity",0).css(m,v?2*-f:2*f).animate(r,p,g)),l&&(f/=Math.pow(2,h-1)),(r={})[m]=o;h>y;y++)(i={})[m]=(v?"-=":"+=")+f,s.animate(i,p,g).animate(r,p,g),f=l?2*f:f/2;l&&((i={opacity:0})[m]=(v?"-=":"+=")+f,s.animate(i,p,g)),s.queue(n),e.effects.unshift(s,_,d+1)}),e.effects.define("clip","hide",function(t,n){var i,r={},o=e(this),s=t.direction||"vertical",a="both"===s,l=a||"horizontal"===s,c=a||"vertical"===s;i=o.cssClip(),r.clip={top:c?(i.bottom-i.top)/2:i.top,right:l?(i.right-i.left)/2:i.right,bottom:c?(i.bottom-i.top)/2:i.bottom,left:l?(i.right-i.left)/2:i.left},e.effects.createPlaceholder(o),"show"===t.mode&&(o.cssClip(r.clip),r.clip=i),o.animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:n})}),e.effects.define("drop","hide",function(t,n){var i,r=e(this),o="show"===t.mode,s=t.direction||"left",a="up"===s||"down"===s?"top":"left",l="up"===s||"left"===s?"-=":"+=",c="+="===l?"-=":"+=",u={opacity:0};e.effects.createPlaceholder(r),i=t.distance||r["top"===a?"outerHeight":"outerWidth"](!0)/2,u[a]=l+i,o&&(r.css(u),u[a]=c+i,u.opacity=1),r.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:n})}),e.effects.define("explode","hide",function(t,n){function i(){y.push(this),y.length===f*h&&r()}function r(){d.css({visibility:"visible"}),e(y).remove(),n()}var o,s,a,l,c,u,f=t.pieces?Math.round(Math.sqrt(t.pieces)):3,h=f,d=e(this),p="show"===t.mode,g=d.show().css("visibility","hidden").offset(),m=Math.ceil(d.outerWidth()/h),v=Math.ceil(d.outerHeight()/f),y=[];for(o=0;f>o;o++)for(l=g.top+o*v,u=o-(f-1)/2,s=0;h>s;s++)a=g.left+s*m,c=s-(h-1)/2,d.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-s*m,top:-o*v}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:m,height:v,left:a+(p?c*m:0),top:l+(p?u*v:0),opacity:p?0:1}).animate({left:a+(p?0:c*m),top:l+(p?0:u*v),opacity:p?1:0},t.duration||500,t.easing,i)}),e.effects.define("fade","toggle",function(t,n){var i="show"===t.mode;e(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:n})}),e.effects.define("fold","hide",function(t,n){var i=e(this),r=t.mode,o="show"===r,s="hide"===r,a=t.size||15,l=/([0-9]+)%/.exec(a),c=!!t.horizFirst?["right","bottom"]:["bottom","right"],u=t.duration/2,f=e.effects.createPlaceholder(i),h=i.cssClip(),d={clip:e.extend({},h)},p={clip:e.extend({},h)},g=[h[c[0]],h[c[1]]],m=i.queue().length;l&&(a=parseInt(l[1],10)/100*g[s?0:1]),d.clip[c[0]]=a,p.clip[c[0]]=a,p.clip[c[1]]=0,o&&(i.cssClip(p.clip),f&&f.css(e.effects.clipToBox(p)),p.clip=h),i.queue(function(n){f&&f.animate(e.effects.clipToBox(d),u,t.easing).animate(e.effects.clipToBox(p),u,t.easing),n()}).animate(d,u,t.easing).animate(p,u,t.easing).queue(n),e.effects.unshift(i,m,4)}),e.effects.define("highlight","show",function(t,n){var i=e(this),r={backgroundColor:i.css("backgroundColor")};"hide"===t.mode&&(r.opacity=0),e.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:n})}),e.effects.define("size",function(t,n){var i,r,o,s=e(this),a=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=t.mode,f="effect"!==u,h=t.scale||"both",d=t.origin||["middle","center"],p=s.css("position"),g=s.position(),m=e.effects.scaledDimensions(s),v=t.from||m,y=t.to||e.effects.scaledDimensions(s,0);e.effects.createPlaceholder(s),"show"===u&&(o=v,v=y,y=o),r={from:{y:v.height/m.height,x:v.width/m.width},to:{y:y.height/m.height,x:y.width/m.width}},("box"===h||"both"===h)&&(r.from.y!==r.to.y&&(v=e.effects.setTransition(s,l,r.from.y,v),y=e.effects.setTransition(s,l,r.to.y,y)),r.from.x!==r.to.x&&(v=e.effects.setTransition(s,c,r.from.x,v),y=e.effects.setTransition(s,c,r.to.x,y))),("content"===h||"both"===h)&&r.from.y!==r.to.y&&(v=e.effects.setTransition(s,a,r.from.y,v),y=e.effects.setTransition(s,a,r.to.y,y)),d&&(i=e.effects.getBaseline(d,m),v.top=(m.outerHeight-v.outerHeight)*i.y+g.top,v.left=(m.outerWidth-v.outerWidth)*i.x+g.left,y.top=(m.outerHeight-y.outerHeight)*i.y+g.top,y.left=(m.outerWidth-y.outerWidth)*i.x+g.left),s.css(v),("content"===h||"both"===h)&&(l=l.concat(["marginTop","marginBottom"]).concat(a),c=c.concat(["marginLeft","marginRight"]),s.find("*[width]").each(function(){var n=e(this),i=e.effects.scaledDimensions(n),o={height:i.height*r.from.y,width:i.width*r.from.x,outerHeight:i.outerHeight*r.from.y,outerWidth:i.outerWidth*r.from.x},s={height:i.height*r.to.y,width:i.width*r.to.x,outerHeight:i.height*r.to.y,outerWidth:i.width*r.to.x};r.from.y!==r.to.y&&(o=e.effects.setTransition(n,l,r.from.y,o),s=e.effects.setTransition(n,l,r.to.y,s)),r.from.x!==r.to.x&&(o=e.effects.setTransition(n,c,r.from.x,o),s=e.effects.setTransition(n,c,r.to.x,s)),f&&e.effects.saveStyle(n),n.css(o),n.animate(s,t.duration,t.easing,function(){f&&e.effects.restoreStyle(n)})})),s.animate(y,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){var t=s.offset();0===y.opacity&&s.css("opacity",v.opacity),f||(s.css("position","static"===p?"relative":p).offset(t),e.effects.saveStyle(s)),n()}})}),e.effects.define("scale",function(t,n){var i=e(this),r=t.mode,o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)?0:"effect"!==r?0:100),s=e.extend(!0,{from:e.effects.scaledDimensions(i),to:e.effects.scaledDimensions(i,o,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(s.from.opacity=1,s.to.opacity=0),e.effects.effect.size.call(this,s,n)}),e.effects.define("puff","hide",function(t,n){var i=e.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});e.effects.effect.scale.call(this,i,n)}),e.effects.define("pulsate","show",function(t,n){var i=e(this),r=t.mode,o="show"===r,s=o||"hide"===r,a=2*(t.times||5)+(s?1:0),l=t.duration/a,c=0,u=1,f=i.queue().length;for((o||!i.is(":visible"))&&(i.css("opacity",0).show(),c=1);a>u;u++)i.animate({opacity:c},l,t.easing),c=1-c;i.animate({opacity:c},l,t.easing),i.queue(n),e.effects.unshift(i,f,a+1)}),e.effects.define("shake",function(t,n){var i=1,r=e(this),o=t.direction||"left",s=t.distance||20,a=t.times||3,l=2*a+1,c=Math.round(t.duration/l),u="up"===o||"down"===o?"top":"left",f="up"===o||"left"===o,h={},d={},p={},g=r.queue().length;for(e.effects.createPlaceholder(r),h[u]=(f?"-=":"+=")+s,d[u]=(f?"+=":"-=")+2*s,p[u]=(f?"-=":"+=")+2*s,r.animate(h,c,t.easing);a>i;i++)r.animate(d,c,t.easing).animate(p,c,t.easing);r.animate(d,c,t.easing).animate(h,c/2,t.easing).queue(n),e.effects.unshift(r,g,l+1)}),e.effects.define("slide","show",function(t,n){var i,r,o=e(this),s={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},a=t.mode,l=t.direction||"left",c="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l,f=t.distance||o["top"===c?"outerHeight":"outerWidth"](!0),h={};e.effects.createPlaceholder(o),i=o.cssClip(),r=o.position()[c],h[c]=(u?-1:1)*f+r,h.clip=o.cssClip(),h.clip[s[l][1]]=h.clip[s[l][0]],"show"===a&&(o.cssClip(h.clip),o.css(c,h[c]),h.clip=i,h[c]=r),o.animate(h,{queue:!1,duration:t.duration,easing:t.easing,complete:n})}),!1!==e.uiBackCompat&&e.effects.define("transfer",function(t,n){e(this).transfer(t,n)})}),function(){"use strict";function e(){return 0}function t(){return f.length=0,f}function n(e){return Boolean(e)&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){return f.push(e),f}function r(e,t,n,i){for(var r in e)if(!o(e[r],i.exclude)&&n.matches(e[r],t))return e}function o(e,t){for(var n=!1,i=0,r=(t=t||[]).length;i<r;i++){var o=t[i];!n&&new RegExp(e).test(o)&&(n=!0)}return n}var s={load:function(e,t){var n=window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");n.open("GET",e,!0),n.onreadystatechange=function(t,n){return function(){if(4===t.readyState&&200===t.status)try{n(null,JSON.parse(t.responseText))}catch(e){n(e,null)}}}(n,t),n.send()}},a=function(e,t){var n=t.length,i=e.length;if(n<i)return!1;if(i===n)return e===t;e:for(var r=0,o=0;r<i;r++){for(var s=e.charCodeAt(r);o<n;)if(t.charCodeAt(o++)===s)continue e;return!1}return!0},l=new function(){this.matches=function(e,t){return a(t.toLowerCase(),e.toLowerCase())}},c=new function(){this.matches=function(e,t){return!!e&&(e=e.trim().toLowerCase(),(t=t.trim().toLowerCase()).split(" ").filter(function(t){return 0<=e.indexOf(t)}).length===t.split(" ").length)}},u={put:function(e){return n(e)?i(e):function(e){return Boolean(e)&&"[object Array]"===Object.prototype.toString.call(e)}(e)?function(e){var r=[];t();for(var o=0,s=e.length;o<s;o++)n(e[o])&&r.push(i(e[o]));return r}(e):undefined},clear:t,search:function(e){return e?function(e,t,n,i){for(var o=[],s=0;s<e.length&&o.length<i.limit;s++){var a=r(e[s],t,n,i);a&&o.push(a)}return o}(f,e,h.searchStrategy,h).sort(h.sort):[]},setOptions:function(t){(h=t||{}).fuzzy=t.fuzzy||!1,h.limit=t.limit||10,h.searchStrategy=t.fuzzy?l:c,h.sort=t.sort||e}},f=[],h={fuzzy:!1,limit:10};h.searchStrategy=h.fuzzy?l:c,h.sort=e;var d={compile:function(e){return p.template.replace(p.pattern,function(t,n){var i=p.middleware(n,e[n],p.template);return void 0!==i?i:e[n]||t})},setOptions:function(e){p.pattern=e.pattern||p.pattern,p.template=e.template||p.template,"function"==typeof e.middleware&&(p.middleware=e.middleware)}},p={pattern:/\{(.*?)\}/g,template:"",middleware:function(){}},g={merge:function(e,t){var n={};for(var i in e)n[i]=e[i],"undefined"!=typeof t[i]&&(n[i]=t[i]);return n},isJSON:function(e){try{return!!(e instanceof Object&&JSON.parse(JSON.stringify(e)))}catch(l){return!1}}};!function(e){function t(e){a.success(e),u.put(e),a.searchInput.addEventListener("keyup",function(e){(function(e){return-1===[13,16,20,37,38,39,40,91].indexOf(e)})(e.which)&&(n(),r(e.target.value))})}function n(){a.resultsContainer.innerHTML=""}function i(e){a.resultsContainer.innerHTML+=e}function r(e){(function(e){return e&&0<e.length})(e)&&(n(),function(e,t){var n=e.length;if(0===n)return i(a.noResultsText);for(var r=0;r<n;r++)e[r].query=t,i(d.compile(e[r]))}(u.search(e),e))}function o(e){throw new Error("SimpleJekyllSearch --- "+e)}var a={searchInput:null,resultsContainer:null,json:[],success:Function.prototype,searchResultTemplate:'<li><a href="{url}" title="{desc}">{title}</a></li>',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,exclude:[]},l=["searchInput","resultsContainer","json"],c=function f(e){if(!((t=e)&&"undefined"!=typeof t.required&&t.required instanceof Array))throw new Error("-- OptionsValidator: required options missing");var t;if(!(this instanceof f))return new f(e);var n=e.required;this.getRequiredOptions=function(){return n},this.validate=function(e){var t=[];return n.forEach(function(n){"undefined"==typeof e[n]&&t.push(n)}),t}}({required:l});e.SimpleJekyllSearch=function(e){return 0<c.validate(e).length&&o("You must specify the following required options: "+l),a=g.merge(a,e),d.setOptions({template:a.searchResultTemplate,middleware:a.templateMiddleware}),u.setOptions({fuzzy:a.fuzzy,limit:a.limit,sort:a.sortMiddleware}),g.isJSON(a.json)?t(a.json):function(e){s.load(e,function(n,i){n&&o("failed to get JSON ("+e+")"),t(i)})}(a.json),{search:r}}}(window)}(),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("popper.js"),require("jquery")):"function"==typeof define&&define.amd?define(["exports","popper.js","jquery"],t):t(e.bootstrap={},e.Popper,e.jQuery)}(this,function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){var i,r,o;i=e,o=n[r=t],r in i?Object.defineProperty(i,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[r]=o})}return e}function s(e){var t=this,i=!1;return n(this).one(l.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||l.triggerTransitionEnd(t)},e),this}t=t&&t.hasOwnProperty("default")?t["default"]:t,n=n&&n.hasOwnProperty("default")?n["default"]:n;var a="transitionend",l={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}return t&&document.querySelector(t)?t:null},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=n(e).css("transition-duration"),i=n(e).css("transition-delay"),r=parseFloat(t),o=parseFloat(i);return r||o?(t=t.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(t)+parseFloat(i))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){n(e).trigger(a)},supportsTransitionEnd:function(){return Boolean(a)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&&l.isElement(o)?"element":(a=o,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}var a},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?l.findShadowRoot(e.parentNode):null;var t=e.getRootNode();return t instanceof ShadowRoot?t:null}};n.fn.emulateTransitionEnd=s,n.event.special[l.TRANSITION_END]={bindType:a,delegateType:a,handle:function(e){if(n(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var c="alert",u="bs.alert",f="."+u,h=n.fn[c],d={CLOSE:"close"+f,CLOSED:"closed"+f,CLICK_DATA_API:"click"+f+".data-api"},p="alert",g="fade",m="show",v=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){n.removeData(this._element,u),this._element=null},t._getRootElement=function(e){var t=l.getSelectorFromElement(e),i=!1;return t&&(i=document.querySelector(t)),i||(i=n(e).closest("."+p)[0]),i},t._triggerCloseEvent=function(e){var t=n.Event(d.CLOSE);return n(e).trigger(t),t},t._removeElement=function(e){var t=this;if(n(e).removeClass(m),n(e).hasClass(g)){var i=l.getTransitionDurationFromElement(e);n(e).one(l.TRANSITION_END,function(n){return t._destroyElement(e,n)}).emulateTransitionEnd(i)}else this._destroyElement(e)},t._destroyElement=function(e){n(e).detach().trigger(d.CLOSED).remove()},e._jQueryInterface=function(t){return this.each(function(){var i=n(this),r=i.data(u);r||(r=new e(this),i.data(u,r)),"close"===t&&r[t](this)})},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),e}();n(document).on(d.CLICK_DATA_API,'[data-dismiss="alert"]',v._handleDismiss(new v)),n.fn[c]=v._jQueryInterface,n.fn[c].Constructor=v,n.fn[c].noConflict=function(){return n.fn[c]=h,v._jQueryInterface};var y="button",_="bs.button",b="."+_,w=".data-api",C=n.fn[y],x="active",T="btn",E="focus",S='[data-toggle^="button"]',D='[data-toggle="buttons"]',A='input:not([type="hidden"])',N=".active",I=".btn",k={CLICK_DATA_API:"click"+b+w,FOCUS_BLUR_DATA_API:"focus"+b+w+" blur"+b+w},O=function(){function e(e){this._element=e}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,i=n(this._element).closest(D)[0];if(i){var r=this._element.querySelector(A);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(x))e=!1;else{var o=i.querySelector(N);o&&n(o).removeClass(x)}if(e){if(r.hasAttribute("disabled")||i.hasAttribute("disabled")||r.classList.contains("disabled")||i.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(x),n(r).trigger("change")}r.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(x)),e&&n(this._element).toggleClass(x)},t.dispose=function(){n.removeData(this._element,_),this._element=null},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(_);i||(i=new e(this),n(this).data(_,i)),"toggle"===t&&i[t]()})},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),e}();n(document).on(k.CLICK_DATA_API,S,function(e){e.preventDefault();var t=e.target;n(t).hasClass(T)||(t=n(t).closest(I)),O._jQueryInterface.call(n(t),"toggle")}).on(k.FOCUS_BLUR_DATA_API,S,function(e){var t=n(e.target).closest(I)[0];n(t).toggleClass(E,/^focus(in)?$/.test(e.type))}),n.fn[y]=O._jQueryInterface,n.fn[y].Constructor=O,n.fn[y].noConflict=function(){return n.fn[y]=C,O._jQueryInterface};var j="carousel",L="bs.carousel",H="."+L,q=".data-api",P=n.fn[j],R={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},M={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},W="next",F="prev",B="left",U="right",$={SLIDE:"slide"+H,SLID:"slid"+H,KEYDOWN:"keydown"+H,MOUSEENTER:"mouseenter"+H,MOUSELEAVE:"mouseleave"+H,TOUCHSTART:"touchstart"+H,TOUCHMOVE:"touchmove"+H,TOUCHEND:"touchend"+H,POINTERDOWN:"pointerdown"+H,POINTERUP:"pointerup"+H,DRAG_START:"dragstart"+H,LOAD_DATA_API:"load"+H+q,CLICK_DATA_API:"click"+H+q},Q="carousel",z="active",K="slide",V="carousel-item-right",X="carousel-item-left",Y="carousel-item-next",J="carousel-item-prev",G="pointer-event",Z=".active",ee=".active.carousel-item",te=".carousel-item",ne=".carousel-item img",ie=".carousel-item-next, .carousel-item-prev",re=".carousel-indicators",oe="[data-slide], [data-slide-to]",se='[data-ride="carousel"]',ae={TOUCH:"touch",PEN:"pen"},le=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(re),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(W)},t.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(F)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(ie)&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(ee);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)n(this._element).one($.SLID,function(){return t.to(e)});else{if(i===e)return this.pause(),void this.cycle();var r=i<e?W:F;this._slide(r,this._items[e])}},t.dispose=function(){n(this._element).off(H),n.removeData(this._element,L),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=o({},R,e),l.typeCheckConfig(j,e,M),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;0<t&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&n(this._element).on($.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&n(this._element).on($.MOUSEENTER,function(t){return e.pause(t)}).on($.MOUSELEAVE,function(t){return e.cycle(t)}),this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&ae[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){e._pointerEvent&&ae[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval))};n(this._element.querySelectorAll(ne)).on($.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(n(this._element).on($.POINTERDOWN,function(e){return t(e)}),n(this._element).on($.POINTERUP,function(e){return i(e)}),this._element.classList.add(G)):(n(this._element).on($.TOUCHSTART,function(e){return t(e)}),n(this._element).on($.TOUCHMOVE,function(t){var n;(n=t).originalEvent.touches&&1<n.originalEvent.touches.length?e.touchDeltaX=0:e.touchDeltaX=n.originalEvent.touches[0].clientX-e.touchStartX}),n(this._element).on($.TOUCHEND,function(e){return i(e)}))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(te)):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var n=e===W,i=e===F,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;var s=(r+(e===F?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(e,t){var i=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(ee)),o=n.Event($.SLIDE,{relatedTarget:e,direction:t,from:r,to:i});return n(this._element).trigger(o),o},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(Z));n(t).removeClass(z);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&n(i).addClass(z)}},t._slide=function(e,t){var i,r,o,s=this,a=this._element.querySelector(ee),c=this._getItemIndex(a),u=t||a&&this._getItemByDirection(e,a),f=this._getItemIndex(u),h=Boolean(this._interval);if(o=e===W?(i=X,r=Y,B):(i=V,r=J,U),u&&n(u).hasClass(z))this._isSliding=!1;else if(!this._triggerSlideEvent(u,o).isDefaultPrevented()&&a&&u){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(u);var d=n.Event($.SLID,{relatedTarget:u,direction:o,from:c,to:f});if(n(this._element).hasClass(K)){n(u).addClass(r),l.reflow(u),n(a).addClass(i),n(u).addClass(i);var p=parseInt(u.getAttribute("data-interval"),10);this._config.interval=p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,p):this._config.defaultInterval||this._config.interval;var g=l.getTransitionDurationFromElement(a);n(a).one(l.TRANSITION_END,function(){n(u).removeClass(i+" "+r).addClass(z),n(a).removeClass(z+" "+r+" "+i),s._isSliding=!1,setTimeout(function(){return n(s._element).trigger(d)},0)}).emulateTransitionEnd(g)}else n(a).removeClass(z),n(u).addClass(z),this._isSliding=!1,n(this._element).trigger(d);h&&this.cycle()}},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(L),r=o({},R,n(this).data());"object"==typeof t&&(r=o({},r,t));var s="string"==typeof t?t:r.slide;if(i||(i=new e(this,r),n(this).data(L,i)),"number"==typeof t)i.to(t);else if("string"==typeof s){if("undefined"==typeof i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else r.interval&&(i.pause(),i.cycle())})},e._dataApiClickHandler=function(t){var i=l.getSelectorFromElement(this);if(i){var r=n(i)[0];if(r&&n(r).hasClass(Q)){var s=o({},n(r).data(),n(this).data()),a=this.getAttribute("data-slide-to");a&&(s.interval=!1),e._jQueryInterface.call(n(r),s),a&&n(r).data(L).to(a),t.preventDefault()}}},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return R}}]),e}();n(document).on($.CLICK_DATA_API,oe,le._dataApiClickHandler),n(window).on($.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(se)),t=0,i=e.length;t<i;t++){var r=n(e[t]);le._jQueryInterface.call(r,r.data())}}),n.fn[j]=le._jQueryInterface,n.fn[j].Constructor=le,n.fn[j].noConflict=function(){return n.fn[j]=P,le._jQueryInterface};var ce="collapse",ue="bs.collapse",fe="."+ue,he=n.fn[ce],de={toggle:!0,parent:""},pe={toggle:"boolean",parent:"(string|element)"},ge={SHOW:"show"+fe,SHOWN:"shown"+fe,HIDE:"hide"+fe,HIDDEN:"hidden"+fe,CLICK_DATA_API:"click"+fe+".data-api"},me="show",ve="collapse",ye="collapsing",_e="collapsed",be="width",we="height",Ce=".show, .collapsing",xe='[data-toggle="collapse"]',Te=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(xe)),i=0,r=n.length;i<r;i++){var o=n[i],s=l.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype
|
|
;return t.toggle=function(){n(this._element).hasClass(me)?this.hide():this.show()},t.show=function(){var t,i,r=this;if(!(this._isTransitioning||n(this._element).hasClass(me)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(Ce)).filter(function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(ve)})).length&&(t=null),t&&(i=n(t).not(this._selector).data(ue))&&i._isTransitioning))){var o=n.Event(ge.SHOW);if(n(this._element).trigger(o),!o.isDefaultPrevented()){t&&(e._jQueryInterface.call(n(t).not(this._selector),"hide"),i||n(t).data(ue,null));var s=this._getDimension();n(this._element).removeClass(ve).addClass(ye),this._element.style[s]=0,this._triggerArray.length&&n(this._triggerArray).removeClass(_e).attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),c=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(){n(r._element).removeClass(ye).addClass(ve).addClass(me),r._element.style[s]="",r.setTransitioning(!1),n(r._element).trigger(ge.SHOWN)}).emulateTransitionEnd(c),this._element.style[s]=this._element[a]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&n(this._element).hasClass(me)){var t=n.Event(ge.HIDE);if(n(this._element).trigger(t),!t.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",l.reflow(this._element),n(this._element).addClass(ye).removeClass(ve).removeClass(me);var r=this._triggerArray.length;if(0<r)for(var o=0;o<r;o++){var s=this._triggerArray[o],a=l.getSelectorFromElement(s);null!==a&&(n([].slice.call(document.querySelectorAll(a))).hasClass(me)||n(s).addClass(_e).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var c=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(){e.setTransitioning(!1),n(e._element).removeClass(ye).addClass(ve).trigger(ge.HIDDEN)}).emulateTransitionEnd(c)}}},t.setTransitioning=function(e){this._isTransitioning=e},t.dispose=function(){n.removeData(this._element,ue),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(e){return(e=o({},de,e)).toggle=Boolean(e.toggle),l.typeCheckConfig(ce,e,pe),e},t._getDimension=function(){return n(this._element).hasClass(be)?be:we},t._getParent=function(){var t,i=this;l.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(t.querySelectorAll(r));return n(o).each(function(t,n){i._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])}),t},t._addAriaAndCollapsedClass=function(e,t){var i=n(e).hasClass(me);t.length&&n(t).toggleClass(_e,!i).attr("aria-expanded",i)},e._getTargetFromElement=function(e){var t=l.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(t){return this.each(function(){var i=n(this),r=i.data(ue),s=o({},de,i.data(),"object"==typeof t&&t?t:{});if(!r&&s.toggle&&/show|hide/.test(t)&&(s.toggle=!1),r||(r=new e(this,s),i.data(ue,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return de}}]),e}();n(document).on(ge.CLICK_DATA_API,xe,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=n(this),i=l.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(i));n(r).each(function(){var e=n(this),i=e.data(ue)?"toggle":t.data();Te._jQueryInterface.call(e,i)})}),n.fn[ce]=Te._jQueryInterface,n.fn[ce].Constructor=Te,n.fn[ce].noConflict=function(){return n.fn[ce]=he,Te._jQueryInterface};var Ee="dropdown",Se="bs.dropdown",De="."+Se,Ae=".data-api",Ne=n.fn[Ee],Ie=new RegExp("38|40|27"),ke={HIDE:"hide"+De,HIDDEN:"hidden"+De,SHOW:"show"+De,SHOWN:"shown"+De,CLICK:"click"+De,CLICK_DATA_API:"click"+De+Ae,KEYDOWN_DATA_API:"keydown"+De+Ae,KEYUP_DATA_API:"keyup"+De+Ae},Oe="disabled",je="show",Le="dropup",He="dropright",qe="dropleft",Pe="dropdown-menu-right",Re="position-static",Me='[data-toggle="dropdown"]',We=".dropdown form",Fe=".dropdown-menu",Be=".navbar-nav",Ue=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",$e="top-start",Qe="top-end",ze="bottom-start",Ke="bottom-end",Ve="right-start",Xe="left-start",Ye={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Je={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Ge=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var i=e.prototype;return i.toggle=function(){if(!this._element.disabled&&!n(this._element).hasClass(Oe)){var i=e._getParentFromElement(this._element),r=n(this._menu).hasClass(je);if(e._clearMenus(),!r){var o={relatedTarget:this._element},s=n.Event(ke.SHOW,o);if(n(i).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=i:l.isElement(this._config.reference)&&(a=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n(i).addClass(Re),this._popper=new t(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n(i).closest(Be).length&&n(document.body).children().on("mouseover",null,n.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),n(this._menu).toggleClass(je),n(i).toggleClass(je).trigger(n.Event(ke.SHOWN,o))}}}},i.show=function(){if(!(this._element.disabled||n(this._element).hasClass(Oe)||n(this._menu).hasClass(je))){var t={relatedTarget:this._element},i=n.Event(ke.SHOW,t),r=e._getParentFromElement(this._element);n(r).trigger(i),i.isDefaultPrevented()||(n(this._menu).toggleClass(je),n(r).toggleClass(je).trigger(n.Event(ke.SHOWN,t)))}},i.hide=function(){if(!this._element.disabled&&!n(this._element).hasClass(Oe)&&n(this._menu).hasClass(je)){var t={relatedTarget:this._element},i=n.Event(ke.HIDE,t),r=e._getParentFromElement(this._element);n(r).trigger(i),i.isDefaultPrevented()||(n(this._menu).toggleClass(je),n(r).toggleClass(je).trigger(n.Event(ke.HIDDEN,t)))}},i.dispose=function(){n.removeData(this._element,Se),n(this._element).off(De),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var e=this;n(this._element).on(ke.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},i._getConfig=function(e){return e=o({},this.constructor.Default,n(this._element).data(),e),l.typeCheckConfig(Ee,e,this.constructor.DefaultType),e},i._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Fe))}return this._menu},i._getPlacement=function(){var e=n(this._element.parentNode),t=ze;return e.hasClass(Le)?(t=$e,n(this._menu).hasClass(Pe)&&(t=Qe)):e.hasClass(He)?t=Ve:e.hasClass(qe)?t=Xe:n(this._menu).hasClass(Pe)&&(t=Ke),t},i._detectNavbar=function(){return 0<n(this._element).closest(".navbar").length},i._getPopperConfig=function(){var e=this,t={};"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=o({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(Se);if(i||(i=new e(this,"object"==typeof t?t:null),n(this).data(Se,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var i=[].slice.call(document.querySelectorAll(Me)),r=0,o=i.length;r<o;r++){var s=e._getParentFromElement(i[r]),a=n(i[r]).data(Se),l={relatedTarget:i[r]};if(t&&"click"===t.type&&(l.clickEvent=t),a){var c=a._menu;if(n(s).hasClass(je)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&n.contains(s,t.target))){var u=n.Event(ke.HIDE,l);n(s).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),i[r].setAttribute("aria-expanded","false"),n(c).removeClass(je),n(s).removeClass(je).trigger(n.Event(ke.HIDDEN,l)))}}}},e._getParentFromElement=function(e){var t,n=l.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||n(t.target).closest(Fe).length)):Ie.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!n(this).hasClass(Oe))){var i=e._getParentFromElement(this),r=n(i).hasClass(je);if(r&&(!r||27!==t.which&&32!==t.which)){var o=[].slice.call(i.querySelectorAll(Ue));if(0!==o.length){var s=o.indexOf(t.target);38===t.which&&0<s&&s--,40===t.which&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus()}}else{if(27===t.which){var a=i.querySelector(Me);n(a).trigger("focus")}n(this).trigger("click")}}},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Ye}},{key:"DefaultType",get:function(){return Je}}]),e}();n(document).on(ke.KEYDOWN_DATA_API,Me,Ge._dataApiKeydownHandler).on(ke.KEYDOWN_DATA_API,Fe,Ge._dataApiKeydownHandler).on(ke.CLICK_DATA_API+" "+ke.KEYUP_DATA_API,Ge._clearMenus).on(ke.CLICK_DATA_API,Me,function(e){e.preventDefault(),e.stopPropagation(),Ge._jQueryInterface.call(n(this),"toggle")}).on(ke.CLICK_DATA_API,We,function(e){e.stopPropagation()}),n.fn[Ee]=Ge._jQueryInterface,n.fn[Ee].Constructor=Ge,n.fn[Ee].noConflict=function(){return n.fn[Ee]=Ne,Ge._jQueryInterface};var Ze="modal",et="bs.modal",tt="."+et,nt=n.fn[Ze],it={backdrop:!0,keyboard:!0,focus:!0,show:!0},rt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},ot={HIDE:"hide"+tt,HIDDEN:"hidden"+tt,SHOW:"show"+tt,SHOWN:"shown"+tt,FOCUSIN:"focusin"+tt,RESIZE:"resize"+tt,CLICK_DISMISS:"click.dismiss"+tt,KEYDOWN_DISMISS:"keydown.dismiss"+tt,MOUSEUP_DISMISS:"mouseup.dismiss"+tt,MOUSEDOWN_DISMISS:"mousedown.dismiss"+tt,CLICK_DATA_API:"click"+tt+".data-api"},st="modal-scrollbar-measure",at="modal-backdrop",lt="modal-open",ct="fade",ut="show",ft=".modal-dialog",ht='[data-toggle="modal"]',dt='[data-dismiss="modal"]',pt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",gt=".sticky-top",mt=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(ft),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=e.prototype;return t.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){n(this._element).hasClass(ct)&&(this._isTransitioning=!0);var i=n.Event(ot.SHOW,{relatedTarget:e});n(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),n(this._element).on(ot.CLICK_DISMISS,dt,function(e){return t.hide(e)}),n(this._dialog).on(ot.MOUSEDOWN_DISMISS,function(){n(t._element).one(ot.MOUSEUP_DISMISS,function(e){n(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},t.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=n.Event(ot.HIDE);if(n(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var r=n(this._element).hasClass(ct);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(ot.FOCUSIN),n(this._element).removeClass(ut),n(this._element).off(ot.CLICK_DISMISS),n(this._dialog).off(ot.MOUSEDOWN_DISMISS),r){var o=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(o)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return n(e).off(tt)}),n(document).off(ot.FOCUSIN),n.removeData(this._element,et),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(e){return e=o({},it,e),l.typeCheckConfig(Ze,e,rt),e},t._showElement=function(e){var t=this,i=n(this._element).hasClass(ct);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.scrollTop=0,i&&l.reflow(this._element),n(this._element).addClass(ut),this._config.focus&&this._enforceFocus();var r=n.Event(ot.SHOWN,{relatedTarget:e}),o=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,n(t._element).trigger(r)};if(i){var s=l.getTransitionDurationFromElement(this._dialog);n(this._dialog).one(l.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},t._enforceFocus=function(){var e=this;n(document).off(ot.FOCUSIN).on(ot.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===n(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?n(this._element).on(ot.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||n(this._element).off(ot.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?n(window).on(ot.RESIZE,function(t){return e.handleUpdate(t)}):n(window).off(ot.RESIZE)},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){n(document.body).removeClass(lt),e._resetAdjustments(),e._resetScrollbar(),n(e._element).trigger(ot.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,i=n(this._element).hasClass(ct)?ct:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=at,i&&this._backdrop.classList.add(i),n(this._backdrop).appendTo(document.body),n(this._element).on(ot.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),i&&l.reflow(this._backdrop),n(this._backdrop).addClass(ut),!e)return;if(!i)return void e();var r=l.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(l.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){n(this._backdrop).removeClass(ut);var o=function(){t._removeBackdrop(),e&&e()};if(n(this._element).hasClass(ct)){var s=l.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(l.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(pt)),i=[].slice.call(document.querySelectorAll(gt));n(t).each(function(t,i){var r=i.style.paddingRight,o=n(i).css("padding-right");n(i).data("padding-right",r).css("padding-right",parseFloat(o)+e._scrollbarWidth+"px")}),n(i).each(function(t,i){var r=i.style.marginRight,o=n(i).css("margin-right");n(i).data("margin-right",r).css("margin-right",parseFloat(o)-e._scrollbarWidth+"px")});var r=document.body.style.paddingRight,o=n(document.body).css("padding-right");n(document.body).data("padding-right",r).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}n(document.body).addClass(lt)},t._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(pt));n(e).each(function(e,t){var i=n(t).data("padding-right");n(t).removeData("padding-right"),t.style.paddingRight=i||""});var t=[].slice.call(document.querySelectorAll(""+gt));n(t).each(function(e,t){var i=n(t).data("margin-right");void 0!==i&&n(t).css("margin-right",i).removeData("margin-right")});var i=n(document.body).data("padding-right");n(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},t._getScrollbarWidth=function(){var e=document.createElement("div");e.className=st,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(t,i){return this.each(function(){var r=n(this).data(et),s=o({},it,n(this).data(),"object"==typeof t&&t?t:{});if(r||(r=new e(this,s),n(this).data(et,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t](i)}else s.show&&r.show(i)})},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return it}}]),e}();n(document).on(ot.CLICK_DATA_API,ht,function(e){var t,i=this,r=l.getSelectorFromElement(this);r&&(t=document.querySelector(r));var s=n(t).data(et)?"toggle":o({},n(t).data(),n(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=n(t).one(ot.SHOW,function(e){e.isDefaultPrevented()||a.one(ot.HIDDEN,function(){n(i).is(":visible")&&i.focus()})});mt._jQueryInterface.call(n(t),s,this)}),n.fn[Ze]=mt._jQueryInterface,n.fn[Ze].Constructor=mt,n.fn[Ze].noConflict=function(){return n.fn[Ze]=nt,mt._jQueryInterface};var vt="tooltip",yt="bs.tooltip",_t="."+yt,bt=n.fn[vt],wt="bs-tooltip",Ct=new RegExp("(^|\\s)"+wt+"\\S+","g"),xt={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},Tt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Et={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},St="show",Dt="out",At={HIDE:"hide"+_t,HIDDEN:"hidden"+_t,SHOW:"show"+_t,SHOWN:"shown"+_t,INSERTED:"inserted"+_t,CLICK:"click"+_t,FOCUSIN:"focusin"+_t,FOCUSOUT:"focusout"+_t,MOUSEENTER:"mouseenter"+_t,MOUSELEAVE:"mouseleave"+_t},Nt="fade",It="show",kt=".tooltip-inner",Ot=".arrow",jt="hover",Lt="focus",Ht="click",qt="manual",Pt=function(){function e(e,n){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(n),this.tip=null,this._setListeners()}var i=e.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,i=n(e.currentTarget).data(t);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),n(e.currentTarget).data(t,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(It))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),n.removeData(this.element,this.constructor.DATA_KEY),n(this.element).off(this.constructor.EVENT_KEY),n(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&n(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var e=this;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");var i=n.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){n(this.element).trigger(i);var r=l.findShadowRoot(this.element),o=n.contains(null!==r?r:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!o)return;var s=this.getTipElement(),a=l.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&n(s).addClass(Nt);var c="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(c);this.addAttachmentClass(u);var f=this._getContainer();n(s).data(this.constructor.DATA_KEY,this),n.contains(this.element.ownerDocument.documentElement,this.tip)||n(s).appendTo(f),n(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new t(this.element,s,{placement:u,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Ot},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),n(s).addClass(It),"ontouchstart"in document.documentElement&&n(document.body).children().on("mouseover",null,n.noop);var h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,n(e.element).trigger(e.constructor.Event.SHOWN),t===Dt&&e._leave(null,e)};if(n(this.tip).hasClass(Nt)){var d=l.getTransitionDurationFromElement(this.tip);n(this.tip).one(l.TRANSITION_END,h).emulateTransitionEnd(d)}else h()}},i.hide=function(e){var t=this,i=this.getTipElement(),r=n.Event(this.constructor.Event.HIDE),o=function(){t._hoverState!==St&&i.parentNode&&i.parentNode.removeChild(i),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),n(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(n(this.element).trigger(r),!r.isDefaultPrevented()){if(n(i).removeClass(It),"ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),this._activeTrigger[Ht]=!1,this._activeTrigger[Lt]=!1,this._activeTrigger[jt]=!1,n(this.tip).hasClass(Nt)){var s=l.getTransitionDurationFromElement(i);n(i).one(l.TRANSITION_END,o).emulateTransitionEnd(s)}else o();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(e){n(this.getTipElement()).addClass(wt+"-"+e)},i.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},i.setContent=function(){var e=this.getTipElement();this.setElementContent(n(e.querySelectorAll(kt)),this.getTitle()),n(e).removeClass(Nt+" "+It)},i.setElementContent=function(e,t){var i=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?i?n(t).parent().is(e)||e.empty().append(t):e.text(n(t).text()):e[i?"html":"text"](t)},i.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},i._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?n(this.config.container):n(document).find(this.config.container)},i._getAttachment=function(e){return Tt[e.toUpperCase()]},i._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)n(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(t!==qt){var i=t===jt?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=t===jt?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;n(e.element).on(i,e.config.selector,function(t){return e._enter(t)}).on(r,e.config.selector,function(t){return e._leave(t)})}}),n(this.element).closest(".modal").on("hide.bs.modal",function(){e.element&&e.hide()}),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(e,t){var i=this.constructor.DATA_KEY;(t=t||n(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),n(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?Lt:jt]=!0),n(t.getTipElement()).hasClass(It)||t._hoverState===St?t._hoverState=St:(clearTimeout(t._timeout),t._hoverState=St,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===St&&t.show()},t.config.delay.show):t.show())},i._leave=function(e,t){var i=this.constructor.DATA_KEY;(t=t||n(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),n(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?Lt:jt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Dt,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===Dt&&t.hide()},t.config.delay.hide):t.hide())},i._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},i._getConfig=function(e){return"number"==typeof(e=o({},this.constructor.Default,n(this.element).data(),"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),l.typeCheckConfig(vt,e,this.constructor.DefaultType),e},i._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},i._cleanTipClass=function(){var e=n(this.getTipElement()),t=e.attr("class").match(Ct);null!==t&&t.length&&e.removeClass(t.join(""))},i._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},i._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(n(e).removeClass(Nt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(yt),r="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new e(this,r),n(this).data(yt,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Et}},{key:"NAME",get:function(){return vt}},{key:"DATA_KEY",get:function(){return yt}},{key:"Event",get:function(){return At}},{key:"EVENT_KEY",get:function(){return _t}},{key:"DefaultType",get:function(){return xt}}]),e}();n.fn[vt]=Pt._jQueryInterface,n.fn[vt].Constructor=Pt,n.fn[vt].noConflict=function(){return n.fn[vt]=bt,Pt._jQueryInterface};var Rt="popover",Mt="bs.popover",Wt="."+Mt,Ft=n.fn[Rt],Bt="bs-popover",Ut=new RegExp("(^|\\s)"+Bt+"\\S+","g"),$t=o({},Pt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Qt=o({},Pt.DefaultType,{content:"(string|element|function)"}),zt="fade",Kt="show",Vt=".popover-header",Xt=".popover-body",Yt={HIDE:"hide"+Wt,HIDDEN:"hidden"+Wt,SHOW:"show"+Wt,SHOWN:"shown"+Wt,INSERTED:"inserted"+Wt,CLICK:"click"+Wt,FOCUSIN:"focusin"+Wt,FOCUSOUT:"focusout"+Wt,MOUSEENTER:"mouseenter"+Wt,MOUSELEAVE:"mouseleave"+Wt},Jt=function(e){function t(){return e.apply(this,arguments)||this}var i,o;o=e,(i=t).prototype=Object.create(o.prototype),(i.prototype.constructor=i).__proto__=o;var s=t.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(e){n(this.getTipElement()).addClass(Bt+"-"+e)},s.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},s.setContent=function(){var e=n(this.getTipElement());this.setElementContent(e.find(Vt),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(Xt),t),e.removeClass(zt+" "+Kt)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var e=n(this.getTipElement()),t=e.attr("class").match(Ut);null!==t&&0<t.length&&e.removeClass(t.join(""))},t._jQueryInterface=function(e){return this.each(function(){var i=n(this).data(Mt),r="object"==typeof e?e:null;if((i||!/dispose|hide/.test(e))&&(i||(i=new t(this,r),n(this).data(Mt,i)),"string"==typeof e)){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return $t}},{key:"NAME",get:function(){return Rt}},{key:"DATA_KEY",get:function(){return Mt}},{key:"Event",get:function(){return Yt}},{key:"EVENT_KEY",get:function(){return Wt}},{key:"DefaultType",get:function(){return Qt}}]),t}(Pt);n.fn[Rt]=Jt._jQueryInterface,n.fn[Rt].Constructor=Jt,n.fn[Rt].noConflict=function(){return n.fn[Rt]=Ft,Jt._jQueryInterface};var Gt="scrollspy",Zt="bs.scrollspy",en="."+Zt,tn=n.fn[Gt],nn={offset:10,method:"auto",target:""},rn={offset:"number",method:"string",target:"(string|element)"},on={ACTIVATE:"activate"+en,SCROLL:"scroll"+en,LOAD_DATA_API:"load"+en+".data-api"},sn="dropdown-item",an="active",ln='[data-spy="scroll"]',cn=".nav, .list-group",un=".nav-link",fn=".nav-item",hn=".list-group-item",dn=".dropdown",pn=".dropdown-item",gn=".dropdown-toggle",mn="offset",vn="position",yn=function(){function e(e,t){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+un+","+this._config.target+" "+hn+","+this._config.target+" "+pn,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,n(this._scrollElement).on(on.SCROLL,function(e){return i._process(e)}),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?mn:vn,i="auto"===this._config.method?t:this._config.method,r=i===vn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,o=l.getSelectorFromElement(e);if(o&&(t=document.querySelector(o)),t){var s=t.getBoundingClientRect();if(s.width||s.height)return[n(t)[i]().top+r,o]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){n.removeData(this._element,Zt),n(this._scrollElement).off(en),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=o({},nn,"object"==typeof e&&e?e:{})).target){
|
|
var t=n(e.target).attr("id");t||(t=l.getUID(Gt),n(e.target).attr("id",t)),e.target="#"+t}return l.typeCheckConfig(Gt,e,rn),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&("undefined"==typeof this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),i=n([].slice.call(document.querySelectorAll(t.join(","))));i.hasClass(sn)?(i.closest(dn).find(gn).addClass(an),i.addClass(an)):(i.addClass(an),i.parents(cn).prev(un+", "+hn).addClass(an),i.parents(cn).prev(fn).children(un).addClass(an)),n(this._scrollElement).trigger(on.ACTIVATE,{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(an)}).forEach(function(e){return e.classList.remove(an)})},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(Zt);if(i||(i=new e(this,"object"==typeof t&&t),n(this).data(Zt,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return nn}}]),e}();n(window).on(on.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(ln)),t=e.length;t--;){var i=n(e[t]);yn._jQueryInterface.call(i,i.data())}}),n.fn[Gt]=yn._jQueryInterface,n.fn[Gt].Constructor=yn,n.fn[Gt].noConflict=function(){return n.fn[Gt]=tn,yn._jQueryInterface};var _n="bs.tab",bn="."+_n,wn=n.fn.tab,Cn={HIDE:"hide"+bn,HIDDEN:"hidden"+bn,SHOW:"show"+bn,SHOWN:"shown"+bn,CLICK_DATA_API:"click"+bn+".data-api"},xn="dropdown-menu",Tn="active",En="disabled",Sn="fade",Dn="show",An=".dropdown",Nn=".nav, .list-group",In=".active",kn="> li > .active",On='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',jn=".dropdown-toggle",Ln="> .dropdown-menu .active",Hn=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(Tn)||n(this._element).hasClass(En))){var t,i,r=n(this._element).closest(Nn)[0],o=l.getSelectorFromElement(this._element);if(r){var s="UL"===r.nodeName||"OL"===r.nodeName?kn:In;i=(i=n.makeArray(n(r).find(s)))[i.length-1]}var a=n.Event(Cn.HIDE,{relatedTarget:this._element}),c=n.Event(Cn.SHOW,{relatedTarget:i});if(i&&n(i).trigger(a),n(this._element).trigger(c),!c.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(t=document.querySelector(o)),this._activate(this._element,r);var u=function(){var t=n.Event(Cn.HIDDEN,{relatedTarget:e._element}),r=n.Event(Cn.SHOWN,{relatedTarget:i});n(i).trigger(t),n(e._element).trigger(r)};t?this._activate(t,t.parentNode,u):u()}}},t.dispose=function(){n.removeData(this._element,_n),this._element=null},t._activate=function(e,t,i){var r=this,o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?n(t).children(In):n(t).find(kn))[0],s=i&&o&&n(o).hasClass(Sn),a=function(){return r._transitionComplete(e,o,i)};if(o&&s){var c=l.getTransitionDurationFromElement(o);n(o).removeClass(Dn).one(l.TRANSITION_END,a).emulateTransitionEnd(c)}else a()},t._transitionComplete=function(e,t,i){if(t){n(t).removeClass(Tn);var r=n(t.parentNode).find(Ln)[0];r&&n(r).removeClass(Tn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(n(e).addClass(Tn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),l.reflow(e),n(e).addClass(Dn),e.parentNode&&n(e.parentNode).hasClass(xn)){var o=n(e).closest(An)[0];if(o){var s=[].slice.call(o.querySelectorAll(jn));n(s).addClass(Tn)}e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(t){return this.each(function(){var i=n(this),r=i.data(_n);if(r||(r=new e(this),i.data(_n,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),e}();n(document).on(Cn.CLICK_DATA_API,On,function(e){e.preventDefault(),Hn._jQueryInterface.call(n(this),"show")}),n.fn.tab=Hn._jQueryInterface,n.fn.tab.Constructor=Hn,n.fn.tab.noConflict=function(){return n.fn.tab=wn,Hn._jQueryInterface};var qn="toast",Pn="bs.toast",Rn="."+Pn,Mn=n.fn[qn],Wn={CLICK_DISMISS:"click.dismiss"+Rn,HIDE:"hide"+Rn,HIDDEN:"hidden"+Rn,SHOW:"show"+Rn,SHOWN:"shown"+Rn},Fn="fade",Bn="hide",Un="show",$n="showing",Qn={animation:"boolean",autohide:"boolean",delay:"number"},zn={animation:!0,autohide:!0,delay:500},Kn='[data-dismiss="toast"]',Vn=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function(){var e=this;n(this._element).trigger(Wn.SHOW),this._config.animation&&this._element.classList.add(Fn);var t=function(){e._element.classList.remove($n),e._element.classList.add(Un),n(e._element).trigger(Wn.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove(Bn),this._element.classList.add($n),this._config.animation){var i=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,t).emulateTransitionEnd(i)}else t()},t.hide=function(e){var t=this;this._element.classList.contains(Un)&&(n(this._element).trigger(Wn.HIDE),e?this._close():this._timeout=setTimeout(function(){t._close()},this._config.delay))},t.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Un)&&this._element.classList.remove(Un),n(this._element).off(Wn.CLICK_DISMISS),n.removeData(this._element,Pn),this._element=null,this._config=null},t._getConfig=function(e){return e=o({},zn,n(this._element).data(),"object"==typeof e&&e?e:{}),l.typeCheckConfig(qn,e,this.constructor.DefaultType),e},t._setListeners=function(){var e=this;n(this._element).on(Wn.CLICK_DISMISS,Kn,function(){return e.hide(!0)})},t._close=function(){var e=this,t=function(){e._element.classList.add(Bn),n(e._element).trigger(Wn.HIDDEN)};if(this._element.classList.remove(Un),this._config.animation){var i=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,t).emulateTransitionEnd(i)}else t()},e._jQueryInterface=function(t){return this.each(function(){var i=n(this),r=i.data(Pn);if(r||(r=new e(this,"object"==typeof t&&t),i.data(Pn,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t](this)}})},r(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"DefaultType",get:function(){return Qn}}]),e}();n.fn[qn]=Vn._jQueryInterface,n.fn[qn].Constructor=Vn,n.fn[qn].noConflict=function(){return n.fn[qn]=Mn,Vn._jQueryInterface},function(){if(void 0===n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=n.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=l,e.Alert=v,e.Button=O,e.Carousel=le,e.Collapse=Te,e.Dropdown=Ge,e.Modal=mt,e.Popover=Jt,e.Scrollspy=yn,e.Tab=Hn,e.Toast=Vn,e.Tooltip=Pt,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){"use strict";function t(t,n){this.element=e(t),this.settings=e.extend({},i,n),this._defaults=i,this._init()}var n="Morphext",i={animation:"bounceIn",separator:",",speed:2e3,complete:e.noop};t.prototype={_init:function(){var t=this;this.phrases=[],this.element.addClass("morphext"),e.each(this.element.text().split(this.settings.separator),function(n,i){t.phrases.push(e.trim(i))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",e.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var e=this;this._interval=setInterval(function(){e.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},e.fn[n]=function(i){return this.each(function(){e.data(this,"plugin_"+n)||e.data(this,"plugin_"+n,new t(this,i))})}}(jQuery),$.fn.overhang=function(e){function t(e,t){r.fadeOut(100),i.slideUp(a.speed,function(){e&&a.callback(null!==t?n.data(t):"")})}var n=$(this),i=$("<div class='overhang'></div>"),r=$("<div class='overhang-overlay'></div>");$(".overhang").remove(),$(".overhang-overlay").remove();var o={success:["#2ECC71","#27AE60"],error:["#E74C3C","#C0392B"],warn:["#E67E22","#D35400"],info:["#3498DB","#2980B9"],prompt:["#9B59B6","#8E44AD"],confirm:["#1ABC9C","#16A085"],"default":["#95A5A6","#7F8C8D"]},s={type:"success",custom:!1,message:"This is an overhang.js message!",textColor:"#FFFFFF",yesMessage:"Yes",noMessage:"No",yesColor:"#2ECC71",noColor:"#E74C3C",duration:1.5,speed:500,closeConfirm:!1,upper:!1,easing:"easeOutBounce",html:!1,overlay:!1,callback:function(){}},a=$.extend(s,e);a.type=a.type.toLowerCase();var l=["success","error","warn","info","prompt","confirm"];-1===$.inArray(a.type,l)&&(a.type="default",console.log("You have entered invalid type name for an overhang message. Overhang resorted to the default theme.")),a.custom?(a.primary=e.primary||o["default"][0],a.accent=e.accent||o["default"][1]):(a.primary=o[a.type][0]||o["default"][0],a.accent=o[a.type][1]||o["default"][1]),("prompt"===a.type||"confirm"===a.type)&&(a.primary=e.primary||o[a.type][0],a.accent=e.accent||o[a.type][1],a.closeConfirm=!0),i.css("background-color",a.primary),i.css("border-bottom","6px solid "+a.accent);var c=$("<span class='overhang-message'></span>");c.css("color",a.textColor),a.html?c.html(a.message):c.text(a.upper?a.message.toUpperCase():a.message),i.append(c);var u=$("<input class='overhang-prompt-field' />"),f=$("<button class='overhang-yes-option'>"+a.yesMessage+"</button>"),h=$("<button class='overhang-no-option'>"+a.noMessage+"</button>");if(f.css("background-color",a.yesColor),h.css("background-color",a.noColor),a.closeConfirm){var d=$("<span class='overhang-close'></span>");d.css("color",a.accent),"confirm"!==a.type&&i.append(d)}if("prompt"===a.type?(i.append(u),n.data("overhangPrompt",null),u.keydown(function(e){13==e.keyCode&&(n.data("overhangPrompt",u.val()),t(!0,"overhangPrompt"))})):"confirm"===a.type&&(i.append(f),i.append(h),i.append(d),n.data("overhangConfirm",null),f.click(function(){n.data("overhangConfirm",!0),t(!0,"overhangConfirm")}),h.click(function(){n.data("overhangConfirm",!1),t(!0,"overhangConfirm")})),n.append(i),i.slideDown(a.speed,a.easing),a.overlay&&(a.overlayColor&&r.css("background-color",a.overlayColor),n.append(r)),a.closeConfirm&&!e.duration)d.click(function(){"prompt"!==a.type&&"confirm"!==a.type?t(!0,null):t(!1,null)});else if(a.closeConfirm&&e.duration){var p=setTimeout(function(){i.slideUp(a.speed,function(){t(!0,null)})},1e3*a.duration);d.click(function(){clearTimeout(p),"prompt"!==a.type&&"confirm"!==a.type?t(!0,null):t(!1,null)})}else i.delay(1e3*a.duration).slideUp(a.speed,function(){t(!0,null)})},$(document).ready(function(){SimpleJekyllSearch({searchInput:document.getElementById("search-input"),resultsContainer:document.getElementById("results-container"),json:"/search.json",searchResultTemplate:'<a class="dropdown-item" href="{url}">{title}</a>',noResultsText:'<a class="dropdown-item" href="#">Nessun risultato</a>',exclude:["https://blog.unitoo.it","https://blog.unitoo.pw"]});$(".morphext-bounce-in").Morphext({animation:"bounceIn",speed:2500}),$(".morphext-bounce-left").Morphext({animation:"zoomInLeft",speed:4500}),$(".morphext-bounce-up").Morphext({animation:"bounceInUp",speed:6500})}); |