From ec096b0ee5ecb8391bad9d883b622dfb9aff54dc Mon Sep 17 00:00:00 2001 From: Peter Cottle Date: Tue, 12 Nov 2024 09:29:13 -0500 Subject: [PATCH] rebuild for prod --- build/bundle-ab22547b.js | 203 --------------------------------------- build/bundle-e914ec3e.js | 203 +++++++++++++++++++++++++++++++++++++++ index.html | 2 +- 3 files changed, 204 insertions(+), 204 deletions(-) delete mode 100644 build/bundle-ab22547b.js create mode 100644 build/bundle-e914ec3e.js diff --git a/build/bundle-ab22547b.js b/build/bundle-ab22547b.js deleted file mode 100644 index c374e0ba2..000000000 --- a/build/bundle-ab22547b.js +++ /dev/null @@ -1,203 +0,0 @@ -!function e(t,o,i){function a(r,s){if(!o[r]){if(!t[r]){var c="function"==typeof require&&require;if(!s&&c)return c(r,!0);if(n)return n(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var m=o[r]={exports:{}};t[r][0].call(m.exports,(function(e){return a(t[r][1][e]||e)}),m,m.exports,e,t,o,i)}return o[r].exports}for(var n="function"==typeof require&&require,r=0;rthis.length&&(a=this.length),a<0&&(a+=this.length+1);var n,r,s=[],c=[],l=[],m=[],u={},d=t.add,h=t.merge,p=t.remove,g=!1,f=this.comparator&&null==a&&!1!==t.sort,b=o.isString(this.comparator)?this.comparator:null;for(r=0;r7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(H,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,a=i.insertBefore(this.iframe,i.firstChild).contentWindow;a.document.open(),a.document.close(),a.location.hash="#"+this.fragment}var n=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?n("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?n("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),o.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!I.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var o=this.root;""!==e&&"?"!==e.charAt(0)||(o=o.slice(0,-1)||"/");var i=o+e;e=e.replace(N,"");var a=this.decodeFragment(e);if(this.fragment!==a){if(this.fragment=a,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var n=this.iframe.contentWindow;t.replace||(n.document.open(),n.document.close()),this._updateHash(n.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,o){if(o){var i=e.href.replace(/(javascript:|#).*$/,"");e.replace(i+"#"+t)}else e.hash="#"+t}}),t.history=new I;b.extend=v.extend=G.extend=x.extend=I.extend=function(e,t){var i,a=this;return i=e&&o.has(e,"constructor")?e.constructor:function(){return a.apply(this,arguments)},o.extend(i,a,t),i.prototype=o.create(a.prototype,e),i.prototype.constructor=i,i.__super__=a.prototype,i};var O=function(){throw new Error('A "url" property or function must be specified')},L=function(e,t){var o=t.error;t.error=function(i){o&&o.call(t.context,e,i,t),e.trigger("error",e,i,t)}};return t}))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{jquery:18,underscore:2}],2:[function(e,t,o){(function(e){(function(){!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},a=i._,n=Array.prototype,r=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=n.push,l=n.slice,m=r.toString,u=r.hasOwnProperty,d=Array.isArray,h=Object.keys,p=Object.create,g=function(){},f=function(e){return e instanceof f?e:this instanceof f?void(this._wrapped=e):new f(e)};void 0===o||o.nodeType?i._=f:(void 0!==t&&!t.nodeType&&t.exports&&(o=t.exports=f),o._=f),f.VERSION="1.9.2";var b,v=function(e,t,o){if(void 0===t)return e;switch(null==o?3:o){case 1:return function(o){return e.call(t,o)};case 3:return function(o,i,a){return e.call(t,o,i,a)};case 4:return function(o,i,a,n){return e.call(t,o,i,a,n)}}return function(){return e.apply(t,arguments)}},k=function(e,t,o){return f.iteratee!==b?f.iteratee(e,t):null==e?f.identity:f.isFunction(e)?v(e,t,o):f.isObject(e)&&!f.isArray(e)?f.matcher(e):f.property(e)};f.iteratee=b=function(e,t){return k(e,t,1/0)};var w=function(e,t){return t=null==t?e.length-1:+t,function(){for(var o=Math.max(arguments.length-t,0),i=Array(o),a=0;a=0&&t<=_};f.each=f.forEach=function(e,t,o){var i,a;if(t=v(t,o),x(e))for(i=0,a=e.length;i0?0:r-1;for(a||(i=t[n?n[s]:s],s+=e);s>=0&&s=3;return t(e,v(o,a,4),i,n)}};f.reduce=f.foldl=f.inject=M(1),f.reduceRight=f.foldr=M(-1),f.find=f.detect=function(e,t,o){var i=(x(e)?f.findIndex:f.findKey)(e,t,o);if(void 0!==i&&-1!==i)return e[i]},f.filter=f.select=function(e,t,o){var i=[];return t=k(t,o),f.each(e,(function(e,o,a){t(e,o,a)&&i.push(e)})),i},f.reject=function(e,t,o){return f.filter(e,f.negate(k(t)),o)},f.every=f.all=function(e,t,o){t=k(t,o);for(var i=!x(e)&&f.keys(e),a=(i||e).length,n=0;n=0},f.invoke=w((function(e,t,o){var i,a;return f.isFunction(t)?a=t:f.isArray(t)&&(i=t.slice(0,-1),t=t[t.length-1]),f.map(e,(function(e){var n=a;if(!n){if(i&&i.length&&(e=A(e,i)),null==e)return;n=e[t]}return null==n?n:n.apply(e,o)}))})),f.pluck=function(e,t){return f.map(e,f.property(t))},f.where=function(e,t){return f.filter(e,f.matcher(t))},f.findWhere=function(e,t){return f.find(e,f.matcher(t))},f.max=function(e,t,o){var i,a,n=-1/0,r=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=x(e)?e:f.values(e)).length;sn&&(n=i);else t=k(t,o),f.each(e,(function(e,o,i){((a=t(e,o,i))>r||a===-1/0&&n===-1/0)&&(n=e,r=a)}));return n},f.min=function(e,t,o){var i,a,n=1/0,r=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=x(e)?e:f.values(e)).length;si||void 0===o)return 1;if(o0?0:a-1;n>=0&&n0?r=n>=0?n:Math.max(n+s,r):s=n>=0?Math.min(n+1,s):n+s+1;else if(o&&n&&s)return i[n=o(i,a)]===a?n:-1;if(a!=a)return(n=t(l.call(i,r,s),f.isNaN))>=0?n+r:-1;for(n=e>0?r:s-1;n>=0&&nt?(i&&(clearTimeout(i),i=null),s=l,r=e.apply(a,n),i||(a=n=null)):i||!1===o.trailing||(i=setTimeout(c,m)),r};return l.cancel=function(){clearTimeout(i),s=0,i=a=n=null},l},f.debounce=function(e,t,o){var i,a,n=function(t,o){i=null,o&&(a=e.apply(t,o))},r=w((function(r){if(i&&clearTimeout(i),o){var s=!i;i=setTimeout(n,t),s&&(a=e.apply(this,r))}else i=f.delay(n,t,this,r);return a}));return r.cancel=function(){clearTimeout(i),i=null},r},f.wrap=function(e,t){return f.partial(t,e)},f.negate=function(e){return function(){return!e.apply(this,arguments)}},f.compose=function(){var e=arguments,t=e.length-1;return function(){for(var o=t,i=e[t].apply(this,arguments);o--;)i=e[o].call(this,i);return i}},f.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},f.before=function(e,t){var o;return function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=null),o}},f.once=f.partial(f.before,2),f.restArguments=w;var V=!{toString:null}.propertyIsEnumerable("toString"),B=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],R=function(e,t){var o=B.length,i=e.constructor,a=f.isFunction(i)&&i.prototype||r,n="constructor";for(z(e,n)&&!f.contains(t,n)&&t.push(n);o--;)(n=B[o])in e&&e[n]!==a[n]&&!f.contains(t,n)&&t.push(n)};f.keys=function(e){if(!f.isObject(e))return[];if(h)return h(e);var t=[];for(var o in e)z(e,o)&&t.push(o);return V&&R(e,t),t},f.allKeys=function(e){if(!f.isObject(e))return[];var t=[];for(var o in e)t.push(o);return V&&R(e,t),t},f.values=function(e){for(var t=f.keys(e),o=t.length,i=Array(o),a=0;a1&&(i=v(i,t[1])),t=f.allKeys(e)):(i=H,t=T(t,!1,!1),e=Object(e));for(var a=0,n=t.length;a1&&(o=t[1])):(t=f.map(T(t,!1,!1),String),i=function(e,o){return!f.contains(t,o)}),f.pick(e,i,o)})),f.defaults=F(f.allKeys,!0),f.create=function(e,t){var o=y(e);return t&&f.extendOwn(o,t),o},f.clone=function(e){return f.isObject(e)?f.isArray(e)?e.slice():f.extend({},e):e},f.tap=function(e,t){return t(e),e},f.isMatch=function(e,t){var o=f.keys(t),i=o.length;if(null==e)return!i;for(var a=Object(e),n=0;n":">",'"':""","'":"'","`":"`"},L=f.invert(O),U=function(e){var t=function(t){return e[t]},o="(?:"+f.keys(e).join("|")+")",i=RegExp(o),a=RegExp(o,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(a,t):e}};f.escape=U(O),f.unescape=U(L),f.result=function(e,t,o){f.isArray(t)||(t=[t]);var i=t.length;if(!i)return f.isFunction(o)?o.call(e):o;for(var a=0;a/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var $=/(.)^/,Q={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},X=/\\|'|\r|\n|\u2028|\u2029/g,Z=function(e){return"\\"+Q[e]};f.template=function(e,t,o){!t&&o&&(t=o),t=f.defaults({},t,f.templateSettings);var i,a=RegExp([(t.escape||$).source,(t.interpolate||$).source,(t.evaluate||$).source].join("|")+"|$","g"),n=0,r="__p+='";e.replace(a,(function(t,o,i,a,s){return r+=e.slice(n,s).replace(X,Z),n=s+t.length,o?r+="'+\n((__t=("+o+"))==null?'':_.escape(__t))+\n'":i?r+="'+\n((__t=("+i+"))==null?'':__t)+\n'":a&&(r+="';\n"+a+"\n__p+='"),t})),r+="';\n",t.variable||(r="with(obj||{}){\n"+r+"}\n"),r="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";try{i=new Function(t.variable||"obj","_",r)}catch(e){throw e.source=r,e}var s=function(e){return i.call(this,e,f)},c=t.variable||"obj";return s.source="function("+c+"){\n"+r+"}",s},f.chain=function(e){var t=f(e);return t._chain=!0,t};var K=function(e,t){return e._chain?f(t).chain():t};f.mixin=function(e){return f.each(f.functions(e),(function(t){var o=f[t]=e[t];f.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),K(this,o.apply(f,e))}})),f},f.mixin(f),f.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=n[e];f.prototype[e]=function(){var o=this._wrapped;return t.apply(o,arguments),"shift"!==e&&"splice"!==e||0!==o.length||delete o[0],K(this,o)}})),f.each(["concat","join","slice"],(function(e){var t=n[e];f.prototype[e]=function(){return K(this,t.apply(this._wrapped,arguments))}})),f.prototype.value=function(){return this._wrapped},f.prototype.valueOf=f.prototype.toJSON=f.prototype.value,f.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],(function(){return f}))}()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,t,o){},{}],4:[function(e,t,o){"use strict";var i,a="object"==typeof Reflect?Reflect:null,n=a&&"function"==typeof a.apply?a.apply:function(e,t,o){return Function.prototype.apply.call(e,t,o)};i=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(e,t){return new Promise((function(o,i){function a(o){e.removeListener(t,n),i(o)}function n(){"function"==typeof e.removeListener&&e.removeListener("error",a),o([].slice.call(arguments))}b(e,t,n,{once:!0}),"error"!==t&&function(e,t,o){"function"==typeof e.on&&b(e,"error",t,o)}(e,a,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function m(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function u(e,t,o,i){var a,n,r,s;if(l(o),void 0===(n=e._events)?(n=e._events=Object.create(null),e._eventsCount=0):(void 0!==n.newListener&&(e.emit("newListener",t,o.listener?o.listener:o),n=e._events),r=n[t]),void 0===r)r=n[t]=o,++e._eventsCount;else if("function"==typeof r?r=n[t]=i?[o,r]:[r,o]:i?r.unshift(o):r.push(o),(a=m(e))>0&&r.length>a&&!r.warned){r.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=r.length,s=c,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,o){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:o},a=d.bind(i);return a.listener=o,i.wrapFn=a,a}function p(e,t,o){var i=e._events;if(void 0===i)return[];var a=i[t];return void 0===a?[]:"function"==typeof a?o?[a.listener||a]:[a]:o?function(e){for(var t=new Array(e.length),o=0;o0&&(r=t[0]),r instanceof Error)throw r;var s=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw s.context=r,s}var c=a[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{var l=c.length,m=f(c,l);for(o=0;o=0;n--)if(o[n]===t||o[n].listener===t){r=o[n].listener,a=n;break}if(a<0)return this;0===a?o.shift():function(e,t){for(;t+1=0;i--)this.removeListener(e,t[i]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},s.prototype.listenerCount=g,s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},{}],5:[function(e,t,o){"use strict";var i=function(e){};t.exports=function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),n=2;n",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=o++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,o){t._removeClass(o,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,o){var i,a,n,r=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(r={},i=t.split("."),t=i.shift(),i.length){for(a=r[t]=e.widget.extend({},this.options[t]),n=0;n0)&&(this.handle=this._getHandle(t),!!this.handle&&(this._blurActiveElement(t),this._blockFrames(!0===o.iframeFix?"iframe":o.iframeFix),!0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map((function(){var t=e(this);return e("
").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var o=e.ui.safeActiveElement(this.document[0]);e(t.target).closest(o).length||e.ui.safeBlur(o)},_mouseStart:function(t){var o=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter((function(){return"fixed"===e(this).css("position")})).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!o.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,o){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!o){var i=this._uiHash();if(!1===this._trigger("drag",t,i))return this._mouseUp(new e.Event("mouseup",t)),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var o=this,i=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(i=e.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,i)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){!1!==o._trigger("stop",t)&&o._clear()})):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!e(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var o=this.options,i="function"==typeof o.helper,a=i?e(o.helper.apply(this.element[0],[t])):"clone"===o.helper?this.element.clone().removeAttr("id"):this.element;return a.parents("body").length||a.appendTo("parent"===o.appendTo?this.element[0].parentNode:o.appendTo),i&&a[0]===this.element[0]&&this._setPositionRelative(),a[0]===this.element[0]||/(fixed|absolute)/.test(a.css("position"))||a.css("position","absolute"),a},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),Array.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),o=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==o&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,o,i,a=this.options,n=this.document[0];this.relativeContainer=null,a.containment?"window"!==a.containment?"document"!==a.containment?a.containment.constructor!==Array?("parent"===a.containment&&(a.containment=this.helper[0].parentNode),(i=(o=e(a.containment))[0])&&(t=/(scroll|auto)/.test(o.css("overflow")),this.containment=[(parseInt(o.css("borderLeftWidth"),10)||0)+(parseInt(o.css("paddingLeft"),10)||0),(parseInt(o.css("borderTopWidth"),10)||0)+(parseInt(o.css("paddingTop"),10)||0),(t?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(o.css("borderRightWidth"),10)||0)-(parseInt(o.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(o.css("borderBottomWidth"),10)||0)-(parseInt(o.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=o)):this.containment=a.containment:this.containment=[0,0,e(n).width()-this.helperProportions.width-this.margins.left,(e(n).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t||(t=this.position);var o="absolute"===e?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*o+this.offset.parent.top*o-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*o,left:t.left+this.offset.relative.left*o+this.offset.parent.left*o-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*o}},_generatePosition:function(e,t){var o,i,a,n,r=this.options,s=this._isRootNode(this.scrollParent[0]),c=e.pageX,l=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(i=this.relativeContainer.offset(),o=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):o=this.containment,e.pageX-this.offset.click.lefto[2]&&(c=o[2]+this.offset.click.left),e.pageY-this.offset.click.top>o[3]&&(l=o[3]+this.offset.click.top)),r.grid&&(a=r.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/r.grid[1])*r.grid[1]:this.originalPageY,l=o?a-this.offset.click.top>=o[1]||a-this.offset.click.top>o[3]?a:a-this.offset.click.top>=o[1]?a-r.grid[1]:a+r.grid[1]:a,n=r.grid[0]?this.originalPageX+Math.round((c-this.originalPageX)/r.grid[0])*r.grid[0]:this.originalPageX,c=o?n-this.offset.click.left>=o[0]||n-this.offset.click.left>o[2]?n:n-this.offset.click.left>=o[0]?n-r.grid[0]:n+r.grid[0]:n),"y"===r.axis&&(c=this.originalPageX),"x"===r.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:c-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,o,i){return i=i||this._uiHash(),e.ui.plugin.call(this,t,[o,i,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,o,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,o,i){var a=e.extend({},o,{item:i.element});i.sortables=[],e(i.options.connectToSortable).each((function(){var o=e(this).sortable("instance");o&&!o.options.disabled&&(i.sortables.push(o),o.refreshPositions(),o._trigger("activate",t,a))}))},stop:function(t,o,i){var a=e.extend({},o,{item:i.element});i.cancelHelperRemoval=!1,e.each(i.sortables,(function(){var e=this;e.isOver?(e.isOver=0,i.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,a))}))},drag:function(t,o,i){e.each(i.sortables,(function(){var a=!1,n=this;n.positionAbs=i.positionAbs,n.helperProportions=i.helperProportions,n.offset.click=i.offset.click,n._intersectsWith(n.containerCache)&&(a=!0,e.each(i.sortables,(function(){return this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==n&&this._intersectsWith(this.containerCache)&&e.contains(n.element[0],this.element[0])&&(a=!1),a}))),a?(n.isOver||(n.isOver=1,i._parent=o.helper.parent(),n.currentItem=o.helper.appendTo(n.element).data("ui-sortable-item",!0),n.options._helper=n.options.helper,n.options.helper=function(){return o.helper[0]},t.target=n.currentItem[0],n._mouseCapture(t,!0),n._mouseStart(t,!0,!0),n.offset.click.top=i.offset.click.top,n.offset.click.left=i.offset.click.left,n.offset.parent.left-=i.offset.parent.left-n.offset.parent.left,n.offset.parent.top-=i.offset.parent.top-n.offset.parent.top,i._trigger("toSortable",t),i.dropped=n.element,e.each(i.sortables,(function(){this.refreshPositions()})),i.currentItem=i.element,n.fromOutside=i),n.currentItem&&(n._mouseDrag(t),o.position=n.position)):n.isOver&&(n.isOver=0,n.cancelHelperRemoval=!0,n.options._revert=n.options.revert,n.options.revert=!1,n._trigger("out",t,n._uiHash(n)),n._mouseStop(t,!0),n.options.revert=n.options._revert,n.options.helper=n.options._helper,n.placeholder&&n.placeholder.remove(),o.helper.appendTo(i._parent),i._refreshOffsets(t),o.position=i._generatePosition(t,!0),i._trigger("fromSortable",t),i.dropped=!1,e.each(i.sortables,(function(){this.refreshPositions()})))}))}}),e.ui.plugin.add("draggable","cursor",{start:function(t,o,i){var a=e("body"),n=i.options;a.css("cursor")&&(n._cursor=a.css("cursor")),a.css("cursor",n.cursor)},stop:function(t,o,i){var a=i.options;a._cursor&&e("body").css("cursor",a._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,o,i){var a=e(o.helper),n=i.options;a.css("opacity")&&(n._opacity=a.css("opacity")),a.css("opacity",n.opacity)},stop:function(t,o,i){var a=i.options;a._opacity&&e(o.helper).css("opacity",a._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,o){o.scrollParentNotHidden||(o.scrollParentNotHidden=o.helper.scrollParent(!1)),o.scrollParentNotHidden[0]!==o.document[0]&&"HTML"!==o.scrollParentNotHidden[0].tagName&&(o.overflowOffset=o.scrollParentNotHidden.offset())},drag:function(t,o,i){var a=i.options,n=!1,r=i.scrollParentNotHidden[0],s=i.document[0];r!==s&&"HTML"!==r.tagName?(a.axis&&"x"===a.axis||(i.overflowOffset.top+r.offsetHeight-t.pageY=0;d--)l=(c=i.snapElements[d].left-i.margins.left)+i.snapElements[d].width,u=(m=i.snapElements[d].top-i.margins.top)+i.snapElements[d].height,bl+g||ku+g||!e.contains(i.snapElements[d].item.ownerDocument,i.snapElements[d].item)?(i.snapElements[d].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,e.extend(i._uiHash(),{snapItem:i.snapElements[d].item})),i.snapElements[d].snapping=!1):("inner"!==p.snapMode&&(a=Math.abs(m-k)<=g,n=Math.abs(u-v)<=g,r=Math.abs(c-b)<=g,s=Math.abs(l-f)<=g,a&&(o.position.top=i._convertPositionTo("relative",{top:m-i.helperProportions.height,left:0}).top),n&&(o.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),r&&(o.position.left=i._convertPositionTo("relative",{top:0,left:c-i.helperProportions.width}).left),s&&(o.position.left=i._convertPositionTo("relative",{top:0,left:l}).left)),h=a||n||r||s,"outer"!==p.snapMode&&(a=Math.abs(m-v)<=g,n=Math.abs(u-k)<=g,r=Math.abs(c-f)<=g,s=Math.abs(l-b)<=g,a&&(o.position.top=i._convertPositionTo("relative",{top:m,left:0}).top),n&&(o.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),r&&(o.position.left=i._convertPositionTo("relative",{top:0,left:c}).left),s&&(o.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left)),!i.snapElements[d].snapping&&(a||n||r||s||h)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,e.extend(i._uiHash(),{snapItem:i.snapElements[d].item})),i.snapElements[d].snapping=a||n||r||s||h)}}),e.ui.plugin.add("draggable","stack",{start:function(t,o,i){var a,n=i.options,r=e.makeArray(e(n.stack)).sort((function(t,o){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(o).css("zIndex"),10)||0)}));r.length&&(a=parseInt(e(r[0]).css("zIndex"),10)||0,e(r).each((function(t){e(this).css("zIndex",a+t)})),this.css("zIndex",a+r.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,o,i){var a=e(o.helper),n=i.options;a.css("zIndex")&&(n._zIndex=a.css("zIndex")),a.css("zIndex",n.zIndex)},stop:function(t,o,i){var a=i.options;a._zIndex&&e(o.helper).css("zIndex",a._zIndex)}}),e.ui.draggable}))},{}],16:[function(e,t,o){ -/*! - * jQuery UI Mouse 1.13.2 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ -!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],e):e(jQuery)}((function(e){"use strict";var t=!1;return e(document).on("mouseup",(function(){t=!1})),e.widget("ui.mouse",{version:"1.13.2",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(o){if(!0===e.data(o.target,t.widgetName+".preventClickEvent"))return e.removeData(o.target,t.widgetName+".preventClickEvent"),o.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(o){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(o),this._mouseDownEvent=o;var i=this,a=1===o.which,n=!("string"!=typeof this.options.cancel||!o.target.nodeName)&&e(o.target).closest(this.options.cancel).length;return!(a&&!n&&this._mouseCapture(o))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){i.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(o)&&this._mouseDelayMet(o)&&(this._mouseStarted=!1!==this._mouseStart(o),!this._mouseStarted)?(o.preventDefault(),!0):(!0===e.data(o.target,this.widgetName+".preventClickEvent")&&e.removeData(o.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return i._mouseMove(e)},this._mouseUpDelegate=function(e){return i._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),o.preventDefault(),t=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(o){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,o.target===this._mouseDownEvent.target&&e.data(o.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(o)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,o.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}))},{}],17:[function(e,t,o){ -/*! - * jQuery UI Sortable 1.13.2 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ -!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../ie","../scroll-parent","../version","../widget"],e):e(jQuery)}((function(e){"use strict";return e.widget("ui.sortable",e.ui.mouse,{version:"1.13.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,o){return e>=t&&e=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,o){var i=null,a=!1,n=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),e(t.target).parents().each((function(){if(e.data(this,n.widgetName+"-item")===n)return i=e(this),!1})),e.data(t.target,n.widgetName+"-item")===n&&(i=e(t.target)),!!i&&(!(this.options.handle&&!o&&(e(this.options.handle,i).find("*").addBack().each((function(){this===t.target&&(a=!0)})),!a))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,o,i){var a,n,r=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=e("parent"!==r.appendTo?r.appendTo:this.currentItem.parent()),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),r.cursorAt&&this._adjustOffsetFromHelper(r.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),e.extend(this.offset,{parent:this._getParentOffset()}),r.containment&&this._setContainment(),r.cursor&&"auto"!==r.cursor&&(n=this.document.find("body"),this.storedCursor=n.css("cursor"),n.css("cursor",r.cursor),this.storedStylesheet=e("").appendTo(n)),r.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",r.zIndex)),r.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",r.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(a=this.containers.length-1;a>=0;a--)this.containers[a]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!r.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(t),!0},_scroll:function(e){var t=this.options,o=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY=0;o--)if(a=(i=this.items[o]).item[0],(n=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(a===this.currentItem[0]||this.placeholder[1===n?"next":"prev"]()[0]===a||e.contains(this.placeholder[0],a)||"semi-dynamic"===this.options.type&&e.contains(this.element[0],a))){if(this.direction=1===n?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,o){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var i=this,a=this.placeholder.offset(),n=this.options.axis,r={};n&&"x"!==n||(r.left=a.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),n&&"y"!==n||(r.top=a.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(r,parseInt(this.options.revert,10)||500,(function(){i._clear(t)}))}else this._clear(t,o);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var o=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e(o).each((function(){var o=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);o&&i.push((t.key||o[1]+"[]")+"="+(t.key&&t.expression?o[1]:o[2]))})),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(t){var o=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},o.each((function(){i.push(e(t.item||this).attr(t.attribute||"id")||"")})),i},_intersectsWith:function(e){var t=this.positionAbs.left,o=t+this.helperProportions.width,i=this.positionAbs.top,a=i+this.helperProportions.height,n=e.left,r=n+e.width,s=e.top,c=s+e.height,l=this.offset.click.top,m=this.offset.click.left,u="x"===this.options.axis||i+l>s&&i+ln&&t+me[this.floating?"width":"height"]?h:n0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var o,i,a,n,r=[],s=[],c=this._connectWith();if(c&&t)for(o=c.length-1;o>=0;o--)for(i=(a=e(c[o],this.document[0])).length-1;i>=0;i--)(n=e.data(a[i],this.widgetFullName))&&n!==this&&!n.options.disabled&&s.push(["function"==typeof n.options.items?n.options.items.call(n.element):e(n.options.items,n.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),n]);function l(){r.push(this)}for(s.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),o=s.length-1;o>=0;o--)s[o][0].each(l);return e(r)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,(function(e){for(var o=0;o=0;o--)for(i=(a=e(d[o],this.document[0])).length-1;i>=0;i--)(n=e.data(a[i],this.widgetFullName))&&n!==this&&!n.options.disabled&&(u.push(["function"==typeof n.options.items?n.options.items.call(n.element[0],t,{item:this.currentItem}):e(n.options.items,n.element),n]),this.containers.push(n));for(o=u.length-1;o>=0;o--)for(r=u[o][1],i=0,l=(s=u[o][0]).length;i=0;o--)i=this.items[o],this.currentContainer&&i.instance!==this.currentContainer&&i.item[0]!==this.currentItem[0]||(a=this.options.toleranceElement?e(this.options.toleranceElement,i.item):i.item,t||(i.width=a.outerWidth(),i.height=a.outerHeight()),n=a.offset(),i.left=n.left,i.top=n.top)},refreshPositions:function(e){var t,o;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(e),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;t>=0;t--)o=this.containers[t].element.offset(),this.containers[t].containerCache.left=o.left,this.containers[t].containerCache.top=o.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(t){var o,i,a=(t=t||this).options;a.placeholder&&a.placeholder.constructor!==String||(o=a.placeholder,i=t.currentItem[0].nodeName.toLowerCase(),a.placeholder={element:function(){var a=e("<"+i+">",t.document[0]);return t._addClass(a,"ui-sortable-placeholder",o||t.currentItem[0].className)._removeClass(a,"ui-sortable-helper"),"tbody"===i?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("",t.document[0]).appendTo(a)):"tr"===i?t._createTrPlaceholder(t.currentItem,a):"img"===i&&a.attr("src",t.currentItem.attr("src")),o||a.css("visibility","hidden"),a},update:function(e,n){o&&!a.forcePlaceholderSize||(n.height()&&(!a.forcePlaceholderSize||"tbody"!==i&&"tr"!==i)||n.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(a.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),a.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,o){var i=this;t.children().each((function(){e(" ",i.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(o)}))},_contactContainers:function(t){var o,i,a,n,r,s,c,l,m,u,d=null,h=null;for(o=this.containers.length-1;o>=0;o--)if(!e.contains(this.currentItem[0],this.containers[o].element[0]))if(this._intersectsWith(this.containers[o].containerCache)){if(d&&e.contains(this.containers[o].element[0],d.element[0]))continue;d=this.containers[o],h=o}else this.containers[o].containerCache.over&&(this.containers[o]._trigger("out",t,this._uiHash(this)),this.containers[o].containerCache.over=0);if(d)if(1===this.containers.length)this.containers[h].containerCache.over||(this.containers[h]._trigger("over",t,this._uiHash(this)),this.containers[h].containerCache.over=1);else{for(a=1e4,n=null,r=(m=d.floating||this._isFloating(this.currentItem))?"left":"top",s=m?"width":"height",u=m?"pageX":"pageY",i=this.items.length-1;i>=0;i--)e.contains(this.containers[h].element[0],this.items[i].item[0])&&this.items[i].item[0]!==this.currentItem[0]&&(c=this.items[i].item.offset()[r],l=!1,t[u]-c>this.items[i][s]/2&&(l=!0),Math.abs(t[u]-c)this.containment[2]&&(n=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(r=this.containment[3]+this.offset.click.top)),a.grid&&(o=this.originalPageY+Math.round((r-this.originalPageY)/a.grid[1])*a.grid[1],r=this.containment?o-this.offset.click.top>=this.containment[1]&&o-this.offset.click.top<=this.containment[3]?o:o-this.offset.click.top>=this.containment[1]?o-a.grid[1]:o+a.grid[1]:o,i=this.originalPageX+Math.round((n-this.originalPageX)/a.grid[0])*a.grid[0],n=this.containment?i-this.offset.click.left>=this.containment[0]&&i-this.offset.click.left<=this.containment[2]?i:i-this.offset.click.left>=this.containment[0]?i-a.grid[0]:i+a.grid[0]:i)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():c?0:s.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():c?0:s.scrollLeft())}},_rearrange:function(e,t,o,i){o?o[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var a=this.counter;this._delay((function(){a===this.counter&&this.refreshPositions(!i)}))},_clear:function(e,t){this.reverting=!1;var o,i=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(o in this._storedCSS)"auto"!==this._storedCSS[o]&&"static"!==this._storedCSS[o]||(this._storedCSS[o]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function a(e,t,o){return function(i){o._trigger(e,i,t._uiHash(t))}}for(this.fromOutside&&!t&&i.push((function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||i.push((function(e){this._trigger("update",e,this._uiHash())})),this!==this.currentContainer&&(t||(i.push((function(e){this._trigger("remove",e,this._uiHash())})),i.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),i.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),o=this.containers.length-1;o>=0;o--)t||i.push(a("deactivate",this,this.containers[o])),this.containers[o].containerCache.over&&(i.push(a("out",this,this.containers[o])),this.containers[o].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(o=0;o0&&t-1 in e)}y.fn=y.prototype={jquery:w,constructor:y,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=y.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return y.each(this,e)},map:function(e){return this.pushStack(y.map(this,(function(t,o){return e.call(t,o,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(y.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(y.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,o=+e+(e<0?t:0);return this.pushStack(o>=0&&o+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),U=new RegExp(R+"|>"),W=new RegExp(P),$=new RegExp("^"+F+"$"),Q={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),oe=function(e,t){var o="0x"+e.slice(1)-65536;return t||(o<0?String.fromCharCode(o+65536):String.fromCharCode(o>>10|55296,1023&o|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ne=function(){d()},re=we((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{S.apply(E=G.call(y.childNodes),y.childNodes),E[y.childNodes.length].nodeType}catch(e){S={apply:E.length?function(e,t){q.apply(e,G.call(t))}:function(e,t){for(var o=e.length,i=0;e[o++]=t[i++];);e.length=o-1}}}function se(e,t,i,a){var n,s,l,m,u,p,b,v=t&&t.ownerDocument,y=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return i;if(!a&&(d(t),t=t||h,g)){if(11!==y&&(u=Y.exec(e)))if(n=u[1]){if(9===y){if(!(l=t.getElementById(n)))return i;if(l.id===n)return i.push(l),i}else if(v&&(l=v.getElementById(n))&&k(t,l)&&l.id===n)return i.push(l),i}else{if(u[2])return S.apply(i,t.getElementsByTagName(e)),i;if((n=u[3])&&o.getElementsByClassName&&t.getElementsByClassName)return S.apply(i,t.getElementsByClassName(n)),i}if(o.qsa&&!x[e+" "]&&(!f||!f.test(e))&&(1!==y||"object"!==t.nodeName.toLowerCase())){if(b=e,v=t,1===y&&(U.test(e)||L.test(e))){for((v=ee.test(e)&&be(t.parentNode)||t)===t&&o.scope||((m=t.getAttribute("id"))?m=m.replace(ie,ae):t.setAttribute("id",m=w)),s=(p=r(e)).length;s--;)p[s]=(m?"#"+m:":scope")+" "+ke(p[s]);b=p.join(",")}try{return S.apply(i,v.querySelectorAll(b)),i}catch(t){x(e,!0)}finally{m===w&&t.removeAttribute("id")}}}return c(e.replace(N,"$1"),t,i,a)}function ce(){var e=[];return function t(o,a){return e.push(o+" ")>i.cacheLength&&delete t[e.shift()],t[o+" "]=a}}function le(e){return e[w]=!0,e}function me(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var o=e.split("|"),a=o.length;a--;)i.attrHandle[o[a]]=t}function de(e,t){var o=t&&e,i=o&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(o)for(;o=o.nextSibling;)if(o===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var o=t.nodeName.toLowerCase();return("input"===o||"button"===o)&&t.type===e}}function ge(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&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function fe(e){return le((function(t){return t=+t,le((function(o,i){for(var a,n=e([],o.length,t),r=n.length;r--;)o[a=n[r]]&&(o[a]=!(i[a]=o[a]))}))}))}function be(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in o=se.support={},n=se.isXML=function(e){var t=e&&e.namespaceURI,o=e&&(e.ownerDocument||e).documentElement;return!X.test(t||o&&o.nodeName||"HTML")},d=se.setDocument=function(e){var t,a,r=e?e.ownerDocument||e:y;return r!=h&&9===r.nodeType&&r.documentElement?(p=(h=r).documentElement,g=!n(h),y!=h&&(a=h.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",ne,!1):a.attachEvent&&a.attachEvent("onunload",ne)),o.scope=me((function(e){return p.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),o.attributes=me((function(e){return e.className="i",!e.getAttribute("className")})),o.getElementsByTagName=me((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),o.getElementsByClassName=J.test(h.getElementsByClassName),o.getById=me((function(e){return p.appendChild(e).id=w,!h.getElementsByName||!h.getElementsByName(w).length})),o.getById?(i.filter.ID=function(e){var t=e.replace(te,oe);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var o=t.getElementById(e);return o?[o]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,oe);return function(e){var o=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return o&&o.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var o,i,a,n=t.getElementById(e);if(n){if((o=n.getAttributeNode("id"))&&o.value===e)return[n];for(a=t.getElementsByName(e),i=0;n=a[i++];)if((o=n.getAttributeNode("id"))&&o.value===e)return[n]}return[]}}),i.find.TAG=o.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):o.qsa?t.querySelectorAll(e):void 0}:function(e,t){var o,i=[],a=0,n=t.getElementsByTagName(e);if("*"===e){for(;o=n[a++];)1===o.nodeType&&i.push(o);return i}return n},i.find.CLASS=o.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},b=[],f=[],(o.qsa=J.test(h.querySelectorAll))&&(me((function(e){var t;p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&f.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||f.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+B+")"),e.querySelectorAll("[id~="+w+"-]").length||f.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||f.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll("\\\f"),f.push("[\\r\\n\\f]")})),me((function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&f.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&f.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),f.push(",.*:")}))),(o.matchesSelector=J.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&me((function(e){o.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),b.push("!=",P)})),f=f.length&&new RegExp(f.join("|")),b=b.length&&new RegExp(b.join("|")),t=J.test(p.compareDocumentPosition),k=t||J.test(p.contains)?function(e,t){var o=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(o.contains?o.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},M=t?function(e,t){if(e===t)return u=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!o.sortDetached&&t.compareDocumentPosition(e)===i?e==h||e.ownerDocument==y&&k(y,e)?-1:t==h||t.ownerDocument==y&&k(y,t)?1:m?V(m,e)-V(m,t):0:4&i?-1:1)}:function(e,t){if(e===t)return u=!0,0;var o,i=0,a=e.parentNode,n=t.parentNode,r=[e],s=[t];if(!a||!n)return e==h?-1:t==h?1:a?-1:n?1:m?V(m,e)-V(m,t):0;if(a===n)return de(e,t);for(o=e;o=o.parentNode;)r.unshift(o);for(o=t;o=o.parentNode;)s.unshift(o);for(;r[i]===s[i];)i++;return i?de(r[i],s[i]):r[i]==y?-1:s[i]==y?1:0},h):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),o.matchesSelector&&g&&!x[t+" "]&&(!b||!b.test(t))&&(!f||!f.test(t)))try{var i=v.call(e,t);if(i||o.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){x(t,!0)}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&d(e),k(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&d(e);var a=i.attrHandle[t.toLowerCase()],n=a&&j.call(i.attrHandle,t.toLowerCase())?a(e,t,!g):void 0;return void 0!==n?n:o.attributes||!g?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},se.escape=function(e){return(e+"").replace(ie,ae)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],a=0,n=0;if(u=!o.detectDuplicates,m=!o.sortStable&&e.slice(0),e.sort(M),u){for(;t=e[n++];)t===e[n]&&(a=i.push(n));for(;a--;)e.splice(i[a],1)}return m=null,e},a=se.getText=function(e){var t,o="",i=0,n=e.nodeType;if(n){if(1===n||9===n||11===n){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)o+=a(e)}else if(3===n||4===n)return e.nodeValue}else for(;t=e[i++];)o+=a(t);return o},i=se.selectors={cacheLength:50,createPseudo:le,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,oe),e[3]=(e[3]||e[4]||e[5]||"").replace(te,oe),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,o=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":o&&W.test(o)&&(t=r(o,!0))&&(t=o.indexOf(")",o.length-t)-o.length)&&(e[0]=e[0].slice(0,t),e[2]=o.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,oe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+R+"|$)"))&&A(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,o){return function(i){var a=se.attr(i,e);return null==a?"!="===t:!t||(a+="","="===t?a===o:"!="===t?a!==o:"^="===t?o&&0===a.indexOf(o):"*="===t?o&&a.indexOf(o)>-1:"$="===t?o&&a.slice(-o.length)===o:"~="===t?(" "+a.replace(H," ")+" ").indexOf(o)>-1:"|="===t&&(a===o||a.slice(0,o.length+1)===o+"-"))}},CHILD:function(e,t,o,i,a){var n="nth"!==e.slice(0,3),r="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===a?function(e){return!!e.parentNode}:function(t,o,c){var l,m,u,d,h,p,g=n!==r?"nextSibling":"previousSibling",f=t.parentNode,b=s&&t.nodeName.toLowerCase(),v=!c&&!s,k=!1;if(f){if(n){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===b:1===d.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[r?f.firstChild:f.lastChild],r&&v){for(k=(h=(l=(m=(u=(d=f)[w]||(d[w]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]||[])[0]===C&&l[1])&&l[2],d=h&&f.childNodes[h];d=++h&&d&&d[g]||(k=h=0)||p.pop();)if(1===d.nodeType&&++k&&d===t){m[e]=[C,h,k];break}}else if(v&&(k=h=(l=(m=(u=(d=t)[w]||(d[w]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]||[])[0]===C&&l[1]),!1===k)for(;(d=++h&&d&&d[g]||(k=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==b:1!==d.nodeType)||!++k||(v&&((m=(u=d[w]||(d[w]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]=[C,k]),d!==t)););return(k-=a)===i||k%i==0&&k/i>=0}}},PSEUDO:function(e,t){var o,a=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[w]?a(t):a.length>1?(o=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,o){for(var i,n=a(e,t),r=n.length;r--;)e[i=V(e,n[r])]=!(o[i]=n[r])})):function(e){return a(e,0,o)}):a}},pseudos:{not:le((function(e){var t=[],o=[],i=s(e.replace(N,"$1"));return i[w]?le((function(e,t,o,a){for(var n,r=i(e,null,a,[]),s=e.length;s--;)(n=r[s])&&(e[s]=!(t[s]=n))})):function(e,a,n){return t[0]=e,i(t,null,n,o),t[0]=null,!o.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,oe),function(t){return(t.textContent||a(t)).indexOf(e)>-1}})),lang:le((function(e){return $.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,oe).toLowerCase(),function(t){var o;do{if(o=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(o=o.toLowerCase())===e||0===o.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var o=e.location&&e.location.hash;return o&&o.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe((function(){return[0]})),last:fe((function(e,t){return[t-1]})),eq:fe((function(e,t,o){return[o<0?o+t:o]})),even:fe((function(e,t){for(var o=0;ot?t:o;--i>=0;)e.push(i);return e})),gt:fe((function(e,t,o){for(var i=o<0?o+t:o;++i1?function(t,o,i){for(var a=e.length;a--;)if(!e[a](t,o,i))return!1;return!0}:e[0]}function Ce(e,t,o,i,a){for(var n,r=[],s=0,c=e.length,l=null!=t;s-1&&(n[l]=!(r[l]=u))}}else b=Ce(b===r?b.splice(p,b.length):b),a?a(null,r,b,c):S.apply(r,b)}))}function Ae(e){for(var t,o,a,n=e.length,r=i.relative[e[0].type],s=r||i.relative[" "],c=r?1:0,m=we((function(e){return e===t}),s,!0),u=we((function(e){return V(t,e)>-1}),s,!0),d=[function(e,o,i){var a=!r&&(i||o!==l)||((t=o).nodeType?m(e,o,i):u(e,o,i));return t=null,a}];c1&&ye(d),c>1&&ke(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(N,"$1"),o,c0,a=e.length>0,n=function(n,r,s,c,m){var u,p,f,b=0,v="0",k=n&&[],w=[],y=l,z=n||a&&i.find.TAG("*",m),A=C+=null==y?1:Math.random()||.1,_=z.length;for(m&&(l=r==h||r||m);v!==_&&null!=(u=z[v]);v++){if(a&&u){for(p=0,r||u.ownerDocument==h||(d(u),s=!g);f=e[p++];)if(f(u,r||h,s)){c.push(u);break}m&&(C=A)}o&&((u=!f&&u)&&b--,n&&k.push(u))}if(b+=v,o&&v!==b){for(p=0;f=t[p++];)f(k,w,r,s);if(n){if(b>0)for(;v--;)k[v]||w[v]||(w[v]=T.call(c));w=Ce(w)}S.apply(c,w),m&&!n&&w.length>0&&b+t.length>1&&se.uniqueSort(c)}return m&&(C=A,l=y),k};return o?le(n):n}(n,a)),s.selector=e}return s},c=se.select=function(e,t,o,a){var n,c,l,m,u,d="function"==typeof e&&e,h=!a&&r(e=d.selector||e);if(o=o||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&g&&i.relative[c[1].type]){if(!(t=(i.find.ID(l.matches[0].replace(te,oe),t)||[])[0]))return o;d&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(n=Q.needsContext.test(e)?0:c.length;n--&&(l=c[n],!i.relative[m=l.type]);)if((u=i.find[m])&&(a=u(l.matches[0].replace(te,oe),ee.test(c[0].type)&&be(t.parentNode)||t))){if(c.splice(n,1),!(e=a.length&&ke(c)))return S.apply(o,a),o;break}}return(d||s(e,h))(a,t,!g,o,!t||ee.test(e)&&be(t.parentNode)||t),o},o.sortStable=w.split("").sort(M).join("")===w,o.detectDuplicates=!!u,d(),o.sortDetached=me((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),me((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,o){if(!o)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),o.attributes&&me((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,o){if(!o&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),me((function(e){return null==e.getAttribute("disabled")}))||ue(B,(function(e,t,o){var i;if(!o)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),se}(e);y.find=z,y.expr=z.selectors,y.expr[":"]=y.expr.pseudos,y.uniqueSort=y.unique=z.uniqueSort,y.text=z.getText,y.isXMLDoc=z.isXML,y.contains=z.contains,y.escapeSelector=z.escape;var A=function(e,t,o){for(var i=[],a=void 0!==o;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&y(e).is(o))break;i.push(e)}return i},_=function(e,t){for(var o=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&o.push(e);return o},D=y.expr.match.needsContext;function x(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,o){return p(t)?y.grep(e,(function(e,i){return!!t.call(e,i,e)!==o})):t.nodeType?y.grep(e,(function(e){return e===t!==o})):"string"!=typeof t?y.grep(e,(function(e){return s.call(t,e)>-1!==o})):y.filter(t,e,o)}y.filter=function(e,t,o){var i=t[0];return o&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?y.find.matchesSelector(i,e)?[i]:[]:y.find.matches(e,y.grep(t,(function(e){return 1===e.nodeType})))},y.fn.extend({find:function(e){var t,o,i=this.length,a=this;if("string"!=typeof e)return this.pushStack(y(e).filter((function(){for(t=0;t1?y.uniqueSort(o):o},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?y(e):e||[],!1).length}});var E,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(y.fn.init=function(e,t,o){var i,a;if(!e)return this;if(o=o||E,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:T.exec(e))||!i[1]&&t)return!t||t.jquery?(t||o).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof y?t[0]:t,y.merge(this,y.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),M.test(i[1])&&y.isPlainObject(t))for(i in t)p(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(a=f.getElementById(i[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):p(e)?void 0!==o.ready?o.ready(e):e(y):y.makeArray(e,this)}).prototype=y.fn,E=y(f);var q=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}y.fn.extend({has:function(e){var t=y(e,this),o=t.length;return this.filter((function(){for(var e=0;e-1:1===o.nodeType&&y.find.matchesSelector(o,e))){n.push(o);break}return this.pushStack(n.length>1?y.uniqueSort(n):n)},index:function(e){return e?"string"==typeof e?s.call(y(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(y.uniqueSort(y.merge(this.get(),y(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),y.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return A(e,"parentNode")},parentsUntil:function(e,t,o){return A(e,"parentNode",o)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return A(e,"nextSibling")},prevAll:function(e){return A(e,"previousSibling")},nextUntil:function(e,t,o){return A(e,"nextSibling",o)},prevUntil:function(e,t,o){return A(e,"previousSibling",o)},siblings:function(e){return _((e.parentNode||{}).firstChild,e)},children:function(e){return _(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(x(e,"template")&&(e=e.content||e),y.merge([],e.childNodes))}},(function(e,t){y.fn[e]=function(o,i){var a=y.map(this,t,o);return"Until"!==e.slice(-5)&&(i=o),i&&"string"==typeof i&&(a=y.filter(i,a)),this.length>1&&(S[e]||y.uniqueSort(a),q.test(e)&&a.reverse()),this.pushStack(a)}}));var V=/[^\x20\t\r\n\f]+/g;function B(e){return e}function R(e){throw e}function F(e,t,o,i){var a;try{e&&p(a=e.promise)?a.call(e).done(t).fail(o):e&&p(a=e.then)?a.call(e,t,o):t.apply(void 0,[e].slice(i))}catch(e){o.apply(void 0,[e])}}y.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return y.each(e.match(V)||[],(function(e,o){t[o]=!0})),t}(e):y.extend({},e);var t,o,i,a,n=[],r=[],s=-1,c=function(){for(a=a||e.once,i=t=!0;r.length;s=-1)for(o=r.shift();++s-1;)n.splice(o,1),o<=s&&s--})),this},has:function(e){return e?y.inArray(e,n)>-1:n.length>0},empty:function(){return n&&(n=[]),this},disable:function(){return a=r=[],n=o="",this},disabled:function(){return!n},lock:function(){return a=r=[],o||t||(n=o=""),this},locked:function(){return!!a},fireWith:function(e,o){return a||(o=[e,(o=o||[]).slice?o.slice():o],r.push(o),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!i}};return l},y.extend({Deferred:function(t){var o=[["notify","progress",y.Callbacks("memory"),y.Callbacks("memory"),2],["resolve","done",y.Callbacks("once memory"),y.Callbacks("once memory"),0,"resolved"],["reject","fail",y.Callbacks("once memory"),y.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return n.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return y.Deferred((function(t){y.each(o,(function(o,i){var a=p(e[i[4]])&&e[i[4]];n[i[1]]((function(){var e=a&&a.apply(this,arguments);e&&p(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(t,i,a){var n=0;function r(t,o,i,a){return function(){var s=this,c=arguments,l=function(){var e,l;if(!(t=n&&(i!==R&&(s=void 0,c=[e]),o.rejectWith(s,c))}};t?m():(y.Deferred.getStackHook&&(m.stackTrace=y.Deferred.getStackHook()),e.setTimeout(m))}}return y.Deferred((function(e){o[0][3].add(r(0,e,p(a)?a:B,e.notifyWith)),o[1][3].add(r(0,e,p(t)?t:B)),o[2][3].add(r(0,e,p(i)?i:R))})).promise()},promise:function(e){return null!=e?y.extend(e,a):a}},n={};return y.each(o,(function(e,t){var r=t[2],s=t[5];a[t[1]]=r.add,s&&r.add((function(){i=s}),o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),r.add(t[3].fire),n[t[0]]=function(){return n[t[0]+"With"](this===n?void 0:this,arguments),this},n[t[0]+"With"]=r.fireWith})),a.promise(n),t&&t.call(n,n),n},when:function(e){var t=arguments.length,o=t,i=Array(o),n=a.call(arguments),r=y.Deferred(),s=function(e){return function(o){i[e]=this,n[e]=arguments.length>1?a.call(arguments):o,--t||r.resolveWith(i,n)}};if(t<=1&&(F(e,r.done(s(o)).resolve,r.reject,!t),"pending"===r.state()||p(n[o]&&n[o].then)))return r.then();for(;o--;)F(n[o],s(o),r.reject);return r.promise()}});var I=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;y.Deferred.exceptionHook=function(t,o){e.console&&e.console.warn&&t&&I.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,o)},y.readyException=function(t){e.setTimeout((function(){throw t}))};var P=y.Deferred();function H(){f.removeEventListener("DOMContentLoaded",H),e.removeEventListener("load",H),y.ready()}y.fn.ready=function(e){return P.then(e).catch((function(e){y.readyException(e)})),this},y.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--y.readyWait:y.isReady)||(y.isReady=!0,!0!==e&&--y.readyWait>0||P.resolveWith(f,[y]))}}),y.ready.then=P.then,"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll?e.setTimeout(y.ready):(f.addEventListener("DOMContentLoaded",H),e.addEventListener("load",H));var N=function(e,t,o,i,a,n,r){var s=0,c=e.length,l=null==o;if("object"===k(o))for(s in a=!0,o)N(e,t,s,o[s],!0,n,r);else if(void 0!==i&&(a=!0,p(i)||(r=!0),l&&(r?(t.call(e,i),t=null):(l=t,t=function(e,t,o){return l.call(y(e),o)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),y.extend({queue:function(e,t,o){var i;if(e)return t=(t||"fx")+"queue",i=X.get(e,t),o&&(!i||Array.isArray(o)?i=X.access(e,t,y.makeArray(o)):i.push(o)),i||[]},dequeue:function(e,t){t=t||"fx";var o=y.queue(e,t),i=o.length,a=o.shift(),n=y._queueHooks(e,t);"inprogress"===a&&(a=o.shift(),i--),a&&("fx"===t&&o.unshift("inprogress"),delete n.stop,a.call(e,(function(){y.dequeue(e,t)}),n)),!i&&n&&n.empty.fire()},_queueHooks:function(e,t){var o=t+"queueHooks";return X.get(e,o)||X.access(e,o,{empty:y.Callbacks("once memory").add((function(){X.remove(e,[t+"queue",o])}))})}}),y.fn.extend({queue:function(e,t){var o=2;return"string"!=typeof e&&(t=e,e="fx",o--),arguments.length\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;ue=f.createDocumentFragment().appendChild(f.createElement("div")),(de=f.createElement("input")).setAttribute("type","radio"),de.setAttribute("checked","checked"),de.setAttribute("name","t"),ue.appendChild(de),h.checkClone=ue.cloneNode(!0).cloneNode(!0).lastChild.checked,ue.innerHTML="",h.noCloneChecked=!!ue.cloneNode(!0).lastChild.defaultValue,ue.innerHTML="",h.option=!!ue.lastChild;var fe={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function be(e,t){var o;return o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&x(e,t)?y.merge([e],o):o}function ve(e,t){for(var o=0,i=e.length;o",""]);var ke=/<|&#?\w+;/;function we(e,t,o,i,a){for(var n,r,s,c,l,m,u=t.createDocumentFragment(),d=[],h=0,p=e.length;h-1)a&&a.push(n);else if(l=ae(n),r=be(u.appendChild(n),"script"),l&&ve(r),o)for(m=0;n=r[m++];)ge.test(n.type||"")&&o.push(n);return u}var ye=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function ze(){return!1}function Ae(e,t){return e===function(){try{return f.activeElement}catch(e){}}()==("focus"===t)}function _e(e,t,o,i,a,n){var r,s;if("object"==typeof t){for(s in"string"!=typeof o&&(i=i||o,o=void 0),t)_e(e,s,o,i,t[s],n);return e}if(null==i&&null==a?(a=o,i=o=void 0):null==a&&("string"==typeof o?(a=i,i=void 0):(a=i,i=o,o=void 0)),!1===a)a=ze;else if(!a)return e;return 1===n&&(r=a,a=function(e){return y().off(e),r.apply(this,arguments)},a.guid=r.guid||(r.guid=y.guid++)),e.each((function(){y.event.add(this,t,a,i,o)}))}function De(e,t,o){o?(X.set(e,t,!1),y.event.add(e,t,{namespace:!1,handler:function(e){var i,n,r=X.get(this,t);if(1&e.isTrigger&&this[t]){if(r.length)(y.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=a.call(arguments),X.set(this,t,r),i=o(this,t),this[t](),r!==(n=X.get(this,t))||i?X.set(this,t,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else r.length&&(X.set(this,t,{value:y.event.trigger(y.extend(r[0],y.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===X.get(e,t)&&y.event.add(e,t,Ce)}y.event={global:{},add:function(e,t,o,i,a){var n,r,s,c,l,m,u,d,h,p,g,f=X.get(e);if($(e))for(o.handler&&(o=(n=o).handler,a=n.selector),a&&y.find.matchesSelector(ie,a),o.guid||(o.guid=y.guid++),(c=f.events)||(c=f.events=Object.create(null)),(r=f.handle)||(r=f.handle=function(t){return void 0!==y&&y.event.triggered!==t.type?y.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(V)||[""]).length;l--;)h=g=(s=ye.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(u=y.event.special[h]||{},h=(a?u.delegateType:u.bindType)||h,u=y.event.special[h]||{},m=y.extend({type:h,origType:g,data:i,handler:o,guid:o.guid,selector:a,needsContext:a&&y.expr.match.needsContext.test(a),namespace:p.join(".")},n),(d=c[h])||((d=c[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,p,r)||e.addEventListener&&e.addEventListener(h,r)),u.add&&(u.add.call(e,m),m.handler.guid||(m.handler.guid=o.guid)),a?d.splice(d.delegateCount++,0,m):d.push(m),y.event.global[h]=!0)},remove:function(e,t,o,i,a){var n,r,s,c,l,m,u,d,h,p,g,f=X.hasData(e)&&X.get(e);if(f&&(c=f.events)){for(l=(t=(t||"").match(V)||[""]).length;l--;)if(h=g=(s=ye.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(u=y.event.special[h]||{},d=c[h=(i?u.delegateType:u.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=n=d.length;n--;)m=d[n],!a&&g!==m.origType||o&&o.guid!==m.guid||s&&!s.test(m.namespace)||i&&i!==m.selector&&("**"!==i||!m.selector)||(d.splice(n,1),m.selector&&d.delegateCount--,u.remove&&u.remove.call(e,m));r&&!d.length&&(u.teardown&&!1!==u.teardown.call(e,p,f.handle)||y.removeEvent(e,h,f.handle),delete c[h])}else for(h in c)y.event.remove(e,h+t[l],o,i,!0);y.isEmptyObject(c)&&X.remove(e,"handle events")}},dispatch:function(e){var t,o,i,a,n,r,s=new Array(arguments.length),c=y.event.fix(e),l=(X.get(this,"events")||Object.create(null))[c.type]||[],m=y.event.special[c.type]||{};for(s[0]=c,t=1;t=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(n=[],r={},o=0;o-1:y.find(a,this,null,[l]).length),r[a]&&n.push(i);n.length&&s.push({elem:l,handlers:n})}return l=this,c\s*$/g;function Ee(e,t){return x(e,"table")&&x(11!==t.nodeType?t:t.firstChild,"tr")&&y(e).children("tbody")[0]||e}function Te(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Se(e,t){var o,i,a,n,r,s;if(1===t.nodeType){if(X.hasData(e)&&(s=X.get(e).events))for(a in X.remove(t,"handle events"),s)for(o=0,i=s[a].length;o1&&"string"==typeof f&&!h.checkClone&&Me.test(f))return e.each((function(a){var n=e.eq(a);b&&(t[0]=f.call(this,a,n.html())),Ve(n,t,o,i)}));if(d&&(r=(a=we(t,e[0].ownerDocument,!1,e,i)).firstChild,1===a.childNodes.length&&(a=r),r||i)){for(c=(s=y.map(be(a,"script"),Te)).length;u0&&ve(r,!c&&be(e,"script")),s},cleanData:function(e){for(var t,o,i,a=y.event.special,n=0;void 0!==(o=e[n]);n++)if($(o)){if(t=o[X.expando]){if(t.events)for(i in t.events)a[i]?y.event.remove(o,i):y.removeEvent(o,i,t.handle);o[X.expando]=void 0}o[Z.expando]&&(o[Z.expando]=void 0)}}}),y.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return N(this,(function(e){return void 0===e?y.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 Ve(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ee(this,e).appendChild(e)}))},prepend:function(){return Ve(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ee(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ve(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&&(y.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return y.clone(this,e,t)}))},html:function(e){return N(this,(function(e){var t=this[0]||{},o=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!xe.test(e)&&!fe[(pe.exec(e)||["",""])[1].toLowerCase()]){e=y.htmlPrefilter(e);try{for(;o=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-n-c-s-.5))||0),c}function Ye(e,t,o){var i=Fe(e),a=(!h.boxSizingReliable()||o)&&"border-box"===y.css(e,"boxSizing",!1,i),n=a,r=He(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(Re.test(r)){if(!o)return r;r="auto"}return(!h.boxSizingReliable()&&a||!h.reliableTrDimensions()&&x(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===y.css(e,"display",!1,i))&&e.getClientRects().length&&(a="border-box"===y.css(e,"boxSizing",!1,i),(n=s in e)&&(r=e[s])),(r=parseFloat(r)||0)+Je(e,t,o||(a?"border":"content"),n,i,r)+"px"}function et(e,t,o,i,a){return new et.prototype.init(e,t,o,i,a)}y.extend({cssHooks:{opacity:{get:function(e,t){if(t){var o=He(e,"opacity");return""===o?"1":o}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,o,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,n,r,s=W(t),c=Qe.test(t),l=e.style;if(c||(t=We(s)),r=y.cssHooks[t]||y.cssHooks[s],void 0===o)return r&&"get"in r&&void 0!==(a=r.get(e,!1,i))?a:l[t];"string"===(n=typeof o)&&(a=te.exec(o))&&a[1]&&(o=se(e,t,a),n="number"),null!=o&&o==o&&("number"!==n||c||(o+=a&&a[3]||(y.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==o||0!==t.indexOf("background")||(l[t]="inherit"),r&&"set"in r&&void 0===(o=r.set(e,o,i))||(c?l.setProperty(t,o):l[t]=o))}},css:function(e,t,o,i){var a,n,r,s=W(t);return Qe.test(t)||(t=We(s)),(r=y.cssHooks[t]||y.cssHooks[s])&&"get"in r&&(a=r.get(e,!0,o)),void 0===a&&(a=He(e,t,i)),"normal"===a&&t in Ze&&(a=Ze[t]),""===o||o?(n=parseFloat(a),!0===o||isFinite(n)?n||0:a):a}}),y.each(["height","width"],(function(e,t){y.cssHooks[t]={get:function(e,o,i){if(o)return!$e.test(y.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ye(e,t,i):Ie(e,Xe,(function(){return Ye(e,t,i)}))},set:function(e,o,i){var a,n=Fe(e),r=!h.scrollboxSize()&&"absolute"===n.position,s=(r||i)&&"border-box"===y.css(e,"boxSizing",!1,n),c=i?Je(e,t,i,s,n):0;return s&&r&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(n[t])-Je(e,t,"border",!1,n)-.5)),c&&(a=te.exec(o))&&"px"!==(a[3]||"px")&&(e.style[t]=o,o=y.css(e,t)),Ke(0,o,c)}}})),y.cssHooks.marginLeft=Ne(h.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-Ie(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),y.each({margin:"",padding:"",border:"Width"},(function(e,t){y.cssHooks[e+t]={expand:function(o){for(var i=0,a={},n="string"==typeof o?o.split(" "):[o];i<4;i++)a[e+oe[i]+t]=n[i]||n[i-2]||n[0];return a}},"margin"!==e&&(y.cssHooks[e+t].set=Ke)})),y.fn.extend({css:function(e,t){return N(this,(function(e,t,o){var i,a,n={},r=0;if(Array.isArray(t)){for(i=Fe(e),a=t.length;r1)}}),y.Tween=et,et.prototype={constructor:et,init:function(e,t,o,i,a,n){this.elem=e,this.prop=o,this.easing=a||y.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=n||(y.cssNumber[o]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,o=et.propHooks[this.prop];return this.options.duration?this.pos=t=y.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),o&&o.set?o.set(this):et.propHooks._default.set(this),this}},et.prototype.init.prototype=et.prototype,et.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=y.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){y.fx.step[e.prop]?y.fx.step[e.prop](e):1!==e.elem.nodeType||!y.cssHooks[e.prop]&&null==e.elem.style[We(e.prop)]?e.elem[e.prop]=e.now:y.style(e.elem,e.prop,e.now+e.unit)}}},et.propHooks.scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},y.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},y.fx=et.prototype.init,y.fx.step={};var tt,ot,it=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function nt(){ot&&(!1===f.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(nt):e.setTimeout(nt,y.fx.interval),y.fx.tick())}function rt(){return e.setTimeout((function(){tt=void 0})),tt=Date.now()}function st(e,t){var o,i=0,a={height:e};for(t=t?1:0;i<4;i+=2-t)a["margin"+(o=oe[i])]=a["padding"+o]=e;return t&&(a.opacity=a.width=e),a}function ct(e,t,o){for(var i,a=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),n=0,r=a.length;n1)},removeAttr:function(e){return this.each((function(){y.removeAttr(this,e)}))}}),y.extend({attr:function(e,t,o){var i,a,n=e.nodeType;if(3!==n&&8!==n&&2!==n)return void 0===e.getAttribute?y.prop(e,t,o):(1===n&&y.isXMLDoc(e)||(a=y.attrHooks[t.toLowerCase()]||(y.expr.match.bool.test(t)?mt:void 0)),void 0!==o?null===o?void y.removeAttr(e,t):a&&"set"in a&&void 0!==(i=a.set(e,o,t))?i:(e.setAttribute(t,o+""),o):a&&"get"in a&&null!==(i=a.get(e,t))?i:null==(i=y.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&x(e,"input")){var o=e.value;return e.setAttribute("type",t),o&&(e.value=o),t}}}},removeAttr:function(e,t){var o,i=0,a=t&&t.match(V);if(a&&1===e.nodeType)for(;o=a[i++];)e.removeAttribute(o)}}),mt={set:function(e,t,o){return!1===t?y.removeAttr(e,o):e.setAttribute(o,o),o}},y.each(y.expr.match.bool.source.match(/\w+/g),(function(e,t){var o=ut[t]||y.find.attr;ut[t]=function(e,t,i){var a,n,r=t.toLowerCase();return i||(n=ut[r],ut[r]=a,a=null!=o(e,t,i)?r:null,ut[r]=n),a}}));var dt=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function pt(e){return(e.match(V)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function ft(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}y.fn.extend({prop:function(e,t){return N(this,y.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[y.propFix[e]||e]}))}}),y.extend({prop:function(e,t,o){var i,a,n=e.nodeType;if(3!==n&&8!==n&&2!==n)return 1===n&&y.isXMLDoc(e)||(t=y.propFix[t]||t,a=y.propHooks[t]),void 0!==o?a&&"set"in a&&void 0!==(i=a.set(e,o,t))?i:e[t]=o:a&&"get"in a&&null!==(i=a.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=y.find.attr(e,"tabindex");return t?parseInt(t,10):dt.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(y.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)}}),y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){y.propFix[this.toLowerCase()]=this})),y.fn.extend({addClass:function(e){var t,o,i,a,n,r,s,c=0;if(p(e))return this.each((function(t){y(this).addClass(e.call(this,t,gt(this)))}));if((t=ft(e)).length)for(;o=this[c++];)if(a=gt(o),i=1===o.nodeType&&" "+pt(a)+" "){for(r=0;n=t[r++];)i.indexOf(" "+n+" ")<0&&(i+=n+" ");a!==(s=pt(i))&&o.setAttribute("class",s)}return this},removeClass:function(e){var t,o,i,a,n,r,s,c=0;if(p(e))return this.each((function(t){y(this).removeClass(e.call(this,t,gt(this)))}));if(!arguments.length)return this.attr("class","");if((t=ft(e)).length)for(;o=this[c++];)if(a=gt(o),i=1===o.nodeType&&" "+pt(a)+" "){for(r=0;n=t[r++];)for(;i.indexOf(" "+n+" ")>-1;)i=i.replace(" "+n+" "," ");a!==(s=pt(i))&&o.setAttribute("class",s)}return this},toggleClass:function(e,t){var o=typeof e,i="string"===o||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):p(e)?this.each((function(o){y(this).toggleClass(e.call(this,o,gt(this),t),t)})):this.each((function(){var t,a,n,r;if(i)for(a=0,n=y(this),r=ft(e);t=r[a++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else void 0!==e&&"boolean"!==o||((t=gt(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":X.get(this,"__className__")||""))}))},hasClass:function(e){var t,o,i=0;for(t=" "+e+" ";o=this[i++];)if(1===o.nodeType&&(" "+pt(gt(o))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;y.fn.extend({val:function(e){var t,o,i,a=this[0];return arguments.length?(i=p(e),this.each((function(o){var a;1===this.nodeType&&(null==(a=i?e.call(this,o,y(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=y.map(a,(function(e){return null==e?"":e+""}))),(t=y.valHooks[this.type]||y.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=y.valHooks[a.type]||y.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(o=t.get(a,"value"))?o:"string"==typeof(o=a.value)?o.replace(bt,""):null==o?"":o:void 0}}),y.extend({valHooks:{option:{get:function(e){var t=y.find.attr(e,"value");return null!=t?t:pt(y.text(e))}},select:{get:function(e){var t,o,i,a=e.options,n=e.selectedIndex,r="select-one"===e.type,s=r?null:[],c=r?n+1:a.length;for(i=n<0?c:r?n:0;i-1)&&(o=!0);return o||(e.selectedIndex=-1),n}}}}),y.each(["radio","checkbox"],(function(){y.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=y.inArray(y(e).val(),t)>-1}},h.checkOn||(y.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),h.focusin="onfocusin"in e;var vt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};y.extend(y.event,{trigger:function(t,o,i,a){var n,r,s,c,l,u,d,h,b=[i||f],v=m.call(t,"type")?t.type:t,k=m.call(t,"namespace")?t.namespace.split("."):[];if(r=h=s=i=i||f,3!==i.nodeType&&8!==i.nodeType&&!vt.test(v+y.event.triggered)&&(v.indexOf(".")>-1&&(k=v.split("."),v=k.shift(),k.sort()),l=v.indexOf(":")<0&&"on"+v,(t=t[y.expando]?t:new y.Event(v,"object"==typeof t&&t)).isTrigger=a?2:3,t.namespace=k.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+k.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),o=null==o?[t]:y.makeArray(o,[t]),d=y.event.special[v]||{},a||!d.trigger||!1!==d.trigger.apply(i,o))){if(!a&&!d.noBubble&&!g(i)){for(c=d.delegateType||v,vt.test(c+v)||(r=r.parentNode);r;r=r.parentNode)b.push(r),s=r;s===(i.ownerDocument||f)&&b.push(s.defaultView||s.parentWindow||e)}for(n=0;(r=b[n++])&&!t.isPropagationStopped();)h=r,t.type=n>1?c:d.bindType||v,(u=(X.get(r,"events")||Object.create(null))[t.type]&&X.get(r,"handle"))&&u.apply(r,o),(u=l&&r[l])&&u.apply&&$(r)&&(t.result=u.apply(r,o),!1===t.result&&t.preventDefault());return t.type=v,a||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(b.pop(),o)||!$(i)||l&&p(i[v])&&!g(i)&&((s=i[l])&&(i[l]=null),y.event.triggered=v,t.isPropagationStopped()&&h.addEventListener(v,kt),i[v](),t.isPropagationStopped()&&h.removeEventListener(v,kt),y.event.triggered=void 0,s&&(i[l]=s)),t.result}},simulate:function(e,t,o){var i=y.extend(new y.Event,o,{type:e,isSimulated:!0});y.event.trigger(i,null,t)}}),y.fn.extend({trigger:function(e,t){return this.each((function(){y.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var o=this[0];if(o)return y.event.trigger(e,t,o,!0)}}),h.focusin||y.each({focus:"focusin",blur:"focusout"},(function(e,t){var o=function(e){y.event.simulate(t,e.target,y.event.fix(e))};y.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,a=X.access(i,t);a||i.addEventListener(e,o,!0),X.access(i,t,(a||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,a=X.access(i,t)-1;a?X.access(i,t,a):(i.removeEventListener(e,o,!0),X.remove(i,t))}}}));var wt=e.location,yt={guid:Date.now()},Ct=/\?/;y.parseXML=function(t){var o,i;if(!t||"string"!=typeof t)return null;try{o=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return i=o&&o.getElementsByTagName("parsererror")[0],o&&!i||y.error("Invalid XML: "+(i?y.map(i.childNodes,(function(e){return e.textContent})).join("\n"):t)),o};var zt=/\[\]$/,At=/\r?\n/g,_t=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function xt(e,t,o,i){var a;if(Array.isArray(t))y.each(t,(function(t,a){o||zt.test(e)?i(e,a):xt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,o,i)}));else if(o||"object"!==k(t))i(e,t);else for(a in t)xt(e+"["+a+"]",t[a],o,i)}y.param=function(e,t){var o,i=[],a=function(e,t){var o=p(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==o?"":o)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!y.isPlainObject(e))y.each(e,(function(){a(this.name,this.value)}));else for(o in e)xt(o,e[o],t,a);return i.join("&")},y.fn.extend({serialize:function(){return y.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=y.prop(this,"elements");return e?y.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!y(this).is(":disabled")&&Dt.test(this.nodeName)&&!_t.test(e)&&(this.checked||!he.test(e))})).map((function(e,t){var o=y(this).val();return null==o?null:Array.isArray(o)?y.map(o,(function(e){return{name:t.name,value:e.replace(At,"\r\n")}})):{name:t.name,value:o.replace(At,"\r\n")}})).get()}});var Mt=/%20/g,jt=/#.*$/,Et=/([?&])_=[^&]*/,Tt=/^(.*?):[ \t]*([^\r\n]*)$/gm,qt=/^(?:GET|HEAD)$/,St=/^\/\//,Gt={},Vt={},Bt="*/".concat("*"),Rt=f.createElement("a");function Ft(e){return function(t,o){"string"!=typeof t&&(o=t,t="*");var i,a=0,n=t.toLowerCase().match(V)||[];if(p(o))for(;i=n[a++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(o)):(e[i]=e[i]||[]).push(o)}}function It(e,t,o,i){var a={},n=e===Vt;function r(s){var c;return a[s]=!0,y.each(e[s]||[],(function(e,s){var l=s(t,o,i);return"string"!=typeof l||n||a[l]?n?!(c=l):void 0:(t.dataTypes.unshift(l),r(l),!1)})),c}return r(t.dataTypes[0])||!a["*"]&&r("*")}function Pt(e,t){var o,i,a=y.ajaxSettings.flatOptions||{};for(o in t)void 0!==t[o]&&((a[o]?e:i||(i={}))[o]=t[o]);return i&&y.extend(!0,e,i),e}Rt.href=wt.href,y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,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":y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Pt(Pt(e,y.ajaxSettings),t):Pt(y.ajaxSettings,e)},ajaxPrefilter:Ft(Gt),ajaxTransport:Ft(Vt),ajax:function(t,o){"object"==typeof t&&(o=t,t=void 0),o=o||{};var i,a,n,r,s,c,l,m,u,d,h=y.ajaxSetup({},o),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?y(p):y.event,b=y.Deferred(),v=y.Callbacks("once memory"),k=h.statusCode||{},w={},C={},z="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(l){if(!r)for(r={};t=Tt.exec(n);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?n:null},setRequestHeader:function(e,t){return null==l&&(e=C[e.toLowerCase()]=C[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)A.always(e[A.status]);else for(t in e)k[t]=[k[t],e[t]];return this},abort:function(e){var t=e||z;return i&&i.abort(t),_(0,t),this}};if(b.promise(A),h.url=((t||h.url||wt.href)+"").replace(St,wt.protocol+"//"),h.type=o.method||o.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(V)||[""],null==h.crossDomain){c=f.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Rt.protocol+"//"+Rt.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=y.param(h.data,h.traditional)),It(Gt,h,o,A),l)return A;for(u in(m=y.event&&h.global)&&0==y.active++&&y.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!qt.test(h.type),a=h.url.replace(jt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Mt,"+")):(d=h.url.slice(a.length),h.data&&(h.processData||"string"==typeof h.data)&&(a+=(Ct.test(a)?"&":"?")+h.data,delete h.data),!1===h.cache&&(a=a.replace(Et,"$1"),d=(Ct.test(a)?"&":"?")+"_="+yt.guid+++d),h.url=a+d),h.ifModified&&(y.lastModified[a]&&A.setRequestHeader("If-Modified-Since",y.lastModified[a]),y.etag[a]&&A.setRequestHeader("If-None-Match",y.etag[a])),(h.data&&h.hasContent&&!1!==h.contentType||o.contentType)&&A.setRequestHeader("Content-Type",h.contentType),A.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]),h.headers)A.setRequestHeader(u,h.headers[u]);if(h.beforeSend&&(!1===h.beforeSend.call(p,A,h)||l))return A.abort();if(z="abort",v.add(h.complete),A.done(h.success),A.fail(h.error),i=It(Vt,h,o,A)){if(A.readyState=1,m&&g.trigger("ajaxSend",[A,h]),l)return A;h.async&&h.timeout>0&&(s=e.setTimeout((function(){A.abort("timeout")}),h.timeout));try{l=!1,i.send(w,_)}catch(e){if(l)throw e;_(-1,e)}}else _(-1,"No Transport");function _(t,o,r,c){var u,d,f,w,C,z=o;l||(l=!0,s&&e.clearTimeout(s),i=void 0,n=c||"",A.readyState=t>0?4:0,u=t>=200&&t<300||304===t,r&&(w=function(e,t,o){for(var i,a,n,r,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){c.unshift(a);break}if(c[0]in o)n=c[0];else{for(a in o){if(!c[0]||e.converters[a+" "+c[0]]){n=a;break}r||(r=a)}n=n||r}if(n)return n!==c[0]&&c.unshift(n),o[n]}(h,A,r)),!u&&y.inArray("script",h.dataTypes)>-1&&y.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(e,t,o,i){var a,n,r,s,c,l={},m=e.dataTypes.slice();if(m[1])for(r in e.converters)l[r.toLowerCase()]=e.converters[r];for(n=m.shift();n;)if(e.responseFields[n]&&(o[e.responseFields[n]]=t),!c&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=n,n=m.shift())if("*"===n)n=c;else if("*"!==c&&c!==n){if(!(r=l[c+" "+n]||l["* "+n]))for(a in l)if((s=a.split(" "))[1]===n&&(r=l[c+" "+s[0]]||l["* "+s[0]])){!0===r?r=l[a]:!0!==l[a]&&(n=s[0],m.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+c+" to "+n}}}return{state:"success",data:t}}(h,w,A,u),u?(h.ifModified&&((C=A.getResponseHeader("Last-Modified"))&&(y.lastModified[a]=C),(C=A.getResponseHeader("etag"))&&(y.etag[a]=C)),204===t||"HEAD"===h.type?z="nocontent":304===t?z="notmodified":(z=w.state,d=w.data,u=!(f=w.error))):(f=z,!t&&z||(z="error",t<0&&(t=0))),A.status=t,A.statusText=(o||z)+"",u?b.resolveWith(p,[d,z,A]):b.rejectWith(p,[A,z,f]),A.statusCode(k),k=void 0,m&&g.trigger(u?"ajaxSuccess":"ajaxError",[A,h,u?d:f]),v.fireWith(p,[A,z]),m&&(g.trigger("ajaxComplete",[A,h]),--y.active||y.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,o){return y.get(e,t,o,"json")},getScript:function(e,t){return y.get(e,void 0,t,"script")}}),y.each(["get","post"],(function(e,t){y[t]=function(e,o,i,a){return p(o)&&(a=a||i,i=o,o=void 0),y.ajax(y.extend({url:e,type:t,dataType:a,data:o,success:i},y.isPlainObject(e)&&e))}})),y.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),y._evalUrl=function(e,t,o){return y.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){y.globalEval(e,t,o)}})},y.fn.extend({wrapAll:function(e){var t;return this[0]&&(p(e)&&(e=e.call(this[0])),t=y(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 p(e)?this.each((function(t){y(this).wrapInner(e.call(this,t))})):this.each((function(){var t=y(this),o=t.contents();o.length?o.wrapAll(e):t.append(e)}))},wrap:function(e){var t=p(e);return this.each((function(o){y(this).wrapAll(t?e.call(this,o):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){y(this).replaceWith(this.childNodes)})),this}}),y.expr.pseudos.hidden=function(e){return!y.expr.pseudos.visible(e)},y.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},y.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Nt=y.ajaxSettings.xhr();h.cors=!!Nt&&"withCredentials"in Nt,h.ajax=Nt=!!Nt,y.ajaxTransport((function(t){var o,i;if(h.cors||Nt&&!t.crossDomain)return{send:function(a,n){var r,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)s[r]=t.xhrFields[r];for(r in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(r,a[r]);o=function(e){return function(){o&&(o=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?n(0,"error"):n(s.status,s.statusText):n(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=o(),i=s.onerror=s.ontimeout=o("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){o&&i()}))},o=o("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}})),y.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),y.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 y.globalEval(e),e}}}),y.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),y.ajaxTransport("script",(function(e){var t,o;if(e.crossDomain||e.scriptAttrs)return{send:function(i,a){t=y("
$  

Git Hg
\ No newline at end of file +Learn Git Branching
$  

Git Hg
\ No newline at end of file