").append(le.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},le.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){le.fn[t]=function(e){return this.on(t,e)}}),le.expr.filters.animated=function(e){return le.grep(le.timers,function(t){return e===t.elem}).length};var ln=o.document.documentElement;le.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=le.css(e,"position"),d=le(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),o=le.css(e,"top"),u=le.css(e,"left"),l=("absolute"===c||"fixed"===c)&&le.inArray("auto",[o,u])>-1,l?(r=d.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),le.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):d.css(f)}},le.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){le.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,le.contains(t,i)?(typeof i.getBoundingClientRect!==je&&(r=i.getBoundingClientRect()),n=K(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===le.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),le.nodeName(e[0],"html")||(n=e.offset()),n.top+=le.css(e[0],"borderTopWidth",!0),n.left+=le.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-le.css(r,"marginTop",!0),left:t.left-n.left-le.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||ln;e&&!le.nodeName(e,"html")&&"static"===le.css(e,"position");)e=e.offsetParent;return e||ln})}}),le.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);le.fn[e]=function(r){return qe(this,function(e,r,i){var o=K(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?le(o).scrollLeft():i,n?i:le(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),le.each(["top","left"],function(e,t){le.cssHooks[t]=L(se.pixelPosition,function(e,n){
-return n?(n=at(e,t),ut.test(n)?le(e).position()[t]+"px":n):void 0})}),le.each({Height:"height",Width:"width"},function(e,t){le.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){le.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return qe(this,function(t,n,r){var i;return le.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?le.css(t,n,a):le.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),le.fn.size=function(){return this.length},le.fn.andSelf=le.fn.addBack,n(8)&&(r=[],i=function(){return le}.apply(t,r),!(void 0!==i&&(e.exports=i)));var cn=o.jQuery,dn=o.$;return le.noConflict=function(e){return o.$===le&&(o.$=dn),e&&o.jQuery===le&&(o.jQuery=cn),le},typeof a===je&&(o.jQuery=o.$=le),le})},function(e,t){function n(e){return[].slice.call(e)}function r(e,t){return!(!e.className||!e.className.match(new RegExp(t)))}function i(e,t){for(var n=e;n&&1===n.nodeType;){if(r(n,t))return n;n=n.parentNode}return null}function o(){var e=document.getElementsByTagName("input");return n(e).map(function(e){if(r(e,"vDateField")||r(e,"vTimeField"))return e}).filter(function(e){return!!e})}function a(){var e=o();e.forEach(function(e){var t,n=i(e,"field-box"),o=i(e,"datetime");if(o&&(t=i(o,"field-box")),!(t&&t===n||n)){var a=e.parentNode;if(!a)return;if(r(a,"datetime")){var s=a.innerHTML.split(/
/);s.forEach(function(e){document.body.contains(a)&&a.insertAdjacentHTML("beforebegin",'
'+e+"
")}),document.body.contains(a)&&(a.parentNode.removeChild(a),a=null)}}})}function s(){var e=o();e.forEach(function(e){var t=i(e,"datetime");t||(t=i(e,"field-box")),t&&n(t.childNodes).forEach(function(e){if(e.nodeType===Node.TEXT_NODE&&""!==e.textContent.trim()){var t=document.createElement("label");t.appendChild(document.createTextNode(e.textContent)),e.parentNode.replaceChild(t,e)}})})}function u(){a(),s()}e.exports=u},function(e,t){function n(){window.jQuery&&window.django&&window.django.jQuery&&!function(e){e.fn.touchSupport&&e(".drag-handler").length&&e(window).touchSupport()}(window.jQuery||window.django.jQuery)}(window.jQuery||window.django&&window.django.jQuery)&&!function(e){e.fn.touchSupport=function(){function e(e){var t=e.originalEvent.changedTouches[0],n=document.createEvent("MouseEvent");n.initMouseEvent({touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup"}[e.type],!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n),e.stopPropagation()}function t(t){t.on({touchstart:e,touchmove:e,touchend:e,touchcancel:e})}t(this)}}(window.jQuery||window.django.jQuery),e.exports=n},function(e,t){function n(e){return[].slice.call(e)}function r(){var e=document.getElementsByClassName("related-widget-wrapper");return n(e).map(function(e){return e}).filter(function(e){return!!e})}function i(){var e=r();e.forEach(function(e){var t=e.getElementsByClassName("related-widget-wrapper-link");t&&t.length&&(e.className+=" widget-wrapper-links-"+t.length)})}function o(){i()}e.exports=o},function(e,t){function n(e,t){var n=e.className,r=n.indexOf(t);return!(!e||!t)&&(r===-1?n+=" "+t:n=n.substr(0,r)+n.substr(r+t.length),void(e.className=n))}function r(){var e=document.getElementsByClassName("submenu")[0],t=document.getElementsByClassName("menu-item")[0],r=document.getElementsByTagName("html")[0];t.addEventListener("click",function(r){var i=r||window.event;i.preventDefault(),n(e,"submenu-open"),n(t,"menu-item-open")}),r.addEventListener("click",function(e){if(e.target!==t){var n=document.getElementsByClassName("submenu-open")[0],r=document.getElementsByClassName("menu-item-open")[0];n&&r&&(n.className=n.className.replace("submenu-open",""),r.className=r.className.replace("menu-item-open",""))}})}e.exports=r},function(e,t,n){function r(){var e=i(".toplinks");i("#changelist-form").find(".actions").length&&i("#toolbar").addClass("actions-visible"),0===e.children().length&&e.parent().hasClass("xfull")&&e.parent().addClass("hidden")}var i=n(1);e.exports=r},function(e,t,n){var r=n(1);window.jQuery&&window.jQuery.ui&&!function(e){function t(e,t){if(!(e.originalEvent.touches.length>1)){e.preventDefault();var n=e.originalEvent.changedTouches[0],r=document.createEvent("MouseEvents");r.initMouseEvent(t,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(r)}}if(e.support.touch="ontouchend"in document,e.support.touch){var n,r=e.ui.mouse.prototype,i=r._mouseInit,o=r._mouseDestroy;r._touchStart=function(e){var r=this;!n&&r._mouseCapture(e.originalEvent.changedTouches[0])&&(n=!0,r._touchMoved=!1,t(e,"mouseover"),t(e,"mousemove"),t(e,"mousedown"))},r._touchMove=function(e){n&&(this._touchMoved=!0,t(e,"mousemove"))},r._touchEnd=function(e){n&&(t(e,"mouseup"),t(e,"mouseout"),this._touchMoved||t(e,"click"),n=!1)},r._mouseInit=function(){var t=this;t.element.bind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),i.call(t)},r._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),o.call(t)}}}(r)},function(e,t){(function(t){e.exports=t}).call(t,{})}]);
\ No newline at end of file
+!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var r=n(1),i=n(3),o=n(4),a=n(7),s=n(5),u=n(6),l=n(8);n(9),r(function(){i(),o(),a(),s(),u(),l()})},function(e,t,n){var r,i;!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(o,a){function s(e){var t="length"in e&&e.length,n=le.type(e);return"function"!==n&&!le.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e))}function u(e,t,n){if(le.isFunction(t))return le.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return le.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ve.test(t))return le.filter(t,e,n);t=le.filter(t,e)}return le.grep(e,function(e){return le.inArray(e,t)>=0!==n})}function l(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function c(e){var t=Ne[e]={};return le.each(e.match(Ee)||[],function(e,n){t[n]=!0}),t}function d(){xe.addEventListener?(xe.removeEventListener("DOMContentLoaded",f,!1),o.removeEventListener("load",f,!1)):(xe.detachEvent("onreadystatechange",f),o.detachEvent("onload",f))}function f(){(xe.addEventListener||"load"===event.type||"complete"===xe.readyState)&&(d(),le.ready())}function p(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(Ae,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:De.test(n)?le.parseJSON(n):n)}catch(i){}le.data(e,t,n)}else n=void 0}return n}function h(e){var t;for(t in e)if(("data"!==t||!le.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function m(e,t,n,r){if(le.acceptData(e)){var i,o,a=le.expando,s=e.nodeType,u=s?le.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=Z.pop()||le.guid++:a),u[l]||(u[l]=s?{}:{toJSON:le.noop}),("object"==typeof t||"function"==typeof t)&&(r?u[l]=le.extend(u[l],t):u[l].data=le.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[le.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[le.camelCase(t)])):i=o,i}}function g(e,t,n){if(le.acceptData(e)){var r,i,o=e.nodeType,a=o?le.cache:e,s=o?e[le.expando]:le.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){le.isArray(t)?t=t.concat(le.map(t,le.camelCase)):t in r?t=[t]:(t=le.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!h(r):!le.isEmptyObject(r))return}(n||(delete a[s].data,h(a[s])))&&(o?le.cleanData([e],!0):se.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function v(){return!0}function y(){return!1}function x(){try{return xe.activeElement}catch(e){}}function b(e){var t=We.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function w(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==je?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==je?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||le.nodeName(r,t)?o.push(r):le.merge(o,w(r,t));return void 0===t||t&&le.nodeName(e,t)?le.merge([e],o):o}function T(e){qe.test(e.type)&&(e.defaultChecked=e.checked)}function C(e,t){return le.nodeName(e,"table")&&le.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function E(e){return e.type=(null!==le.find.attr(e,"type"))+"/"+e.type,e}function N(e){var t=Ke.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function k(e,t){for(var n,r=0;null!=(n=e[r]);r++)le._data(n,"globalEval",!t||le._data(t[r],"globalEval"))}function S(e,t){if(1===t.nodeType&&le.hasData(e)){var n,r,i,o=le._data(e),a=le._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)le.event.add(t,n,s[n][r])}a.data&&(a.data=le.extend({},a.data))}}function j(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!se.noCloneEvent&&t[le.expando]){i=le._data(t);for(r in i.events)le.removeEvent(t,r,i.handle);t.removeAttribute(le.expando)}"script"===n&&t.text!==e.text?(E(t).text=e.text,N(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),se.html5Clone&&e.innerHTML&&!le.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&qe.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function D(e,t){var n,r=le(t.createElement(e)).appendTo(t.body),i=o.getDefaultComputedStyle&&(n=o.getDefaultComputedStyle(r[0]))?n.display:le.css(r[0],"display");return r.detach(),i}function A(e){var t=xe,n=it[e];return n||(n=D(e,t),"none"!==n&&n||(rt=(rt||le("
")).appendTo(t.documentElement),t=(rt[0].contentWindow||rt[0].contentDocument).document,t.write(),t.close(),n=D(e,t),rt.detach()),it[e]=n),n}function L(e,t){return{get:function(){var n=e();if(null!=n)return n?void delete this.get:(this.get=t).apply(this,arguments)}}}function _(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=vt.length;i--;)if(t=vt[i]+n,t in e)return t;return r}function H(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=le._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&He(r)&&(o[a]=le._data(r,"olddisplay",A(r.nodeName)))):(i=He(r),(n&&"none"!==n||!i)&&le._data(r,"olddisplay",i?n:le.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function M(e,t,n){var r=pt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function q(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=le.css(e,n+_e[o],!0,i)),r?("content"===n&&(a-=le.css(e,"padding"+_e[o],!0,i)),"margin"!==n&&(a-=le.css(e,"border"+_e[o]+"Width",!0,i))):(a+=le.css(e,"padding"+_e[o],!0,i),"padding"!==n&&(a+=le.css(e,"border"+_e[o]+"Width",!0,i)));return a}function O(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ot(e),a=se.boxSizing&&"border-box"===le.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=at(e,t,o),(0>i||null==i)&&(i=e.style[t]),ut.test(i))return i;r=a&&(se.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+q(e,t,n||(a?"border":"content"),r,o)+"px"}function F(e,t,n,r,i){return new F.prototype.init(e,t,n,r,i)}function B(){return setTimeout(function(){yt=void 0}),yt=le.now()}function R(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=_e[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function P(e,t,n){for(var r,i=(Et[t]||[]).concat(Et["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,t,e))return r}function W(e,t,n){var r,i,o,a,s,u,l,c,d=this,f={},p=e.style,h=e.nodeType&&He(e),m=le._data(e,"fxshow");n.queue||(s=le._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,le.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=le.css(e,"display"),c="none"===l?le._data(e,"olddisplay")||A(e.nodeName):l,"inline"===c&&"none"===le.css(e,"float")&&(se.inlineBlockNeedsLayout&&"inline"!==A(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",se.shrinkWrapBlocks()||d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],bt.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;h=!0}f[r]=m&&m[r]||le.style(e,r)}else l=void 0;if(le.isEmptyObject(f))"inline"===("none"===l?A(e.nodeName):l)&&(p.display=l);else{m?"hidden"in m&&(h=m.hidden):m=le._data(e,"fxshow",{}),o&&(m.hidden=!h),h?le(e).show():d.done(function(){le(e).hide()}),d.done(function(){var t;le._removeData(e,"fxshow");for(t in f)le.style(e,t,f[t])});for(r in f)a=P(h?m[r]:0,r,d),r in m||(m[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function $(e,t){var n,r,i,o,a;for(n in e)if(r=le.camelCase(n),i=t[r],o=e[n],le.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=le.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function I(e,t,n){var r,i,o=0,a=Ct.length,s=le.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=yt||B(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:le.extend({},t),opts:le.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:yt||B(),duration:n.duration,tweens:[],createTween:function(t,n){var r=le.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for($(c,l.opts.specialEasing);a>o;o++)if(r=Ct[o].call(l,e,c,l.opts))return r;return le.map(c,P,l),le.isFunction(l.opts.start)&&l.opts.start.call(e,l),le.fx.timer(le.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function z(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Ee)||[];if(le.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function X(e,t,n,r){function i(s){var u;return o[s]=!0,le.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Jt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function U(e,t){var n,r,i=le.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&le.extend(!0,e,n),e}function Q(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function J(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function V(e,t,n,r){var i;if(le.isArray(t))le.each(t,function(t,i){n||Kt.test(e)?r(e,i):V(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==le.type(t))r(e,t);else for(i in t)V(e+"["+i+"]",t[i],n,r)}function Y(){try{return new o.XMLHttpRequest}catch(e){}}function G(){try{return new o.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function K(e){return le.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var Z=[],ee=Z.slice,te=Z.concat,ne=Z.push,re=Z.indexOf,ie={},oe=ie.toString,ae=ie.hasOwnProperty,se={},ue="1.11.3",le=function(e,t){return new le.fn.init(e,t)},ce=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^-ms-/,fe=/-([\da-z])/gi,pe=function(e,t){return t.toUpperCase()};le.fn=le.prototype={jquery:ue,constructor:le,selector:"",length:0,toArray:function(){return ee.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:ee.call(this)},pushStack:function(e){var t=le.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return le.each(this,e,t)},map:function(e){return this.pushStack(le.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:ne,sort:Z.sort,splice:Z.splice},le.extend=le.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||le.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],n=i[r],a!==n&&(l&&n&&(le.isPlainObject(n)||(t=le.isArray(n)))?(t?(t=!1,o=e&&le.isArray(e)?e:[]):o=e&&le.isPlainObject(e)?e:{},a[r]=le.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},le.extend({expando:"jQuery"+(ue+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===le.type(e)},isArray:Array.isArray||function(e){return"array"===le.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!le.isArray(e)&&e-parseFloat(e)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==le.type(e)||e.nodeType||le.isWindow(e))return!1;try{if(e.constructor&&!ae.call(e,"constructor")&&!ae.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(se.ownLast)for(t in e)return ae.call(e,t);for(t in e);return void 0===t||ae.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ie[oe.call(e)]||"object":typeof e},globalEval:function(e){e&&le.trim(e)&&(o.execScript||function(e){o.eval.call(o,e)})(e)},camelCase:function(e){return e.replace(de,"ms-").replace(fe,pe)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=s(e);if(n){if(a)for(;o>i&&(r=t.apply(e[i],n),r!==!1);i++);else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a)for(;o>i&&(r=t.call(e[i],i,e[i]),r!==!1);i++);else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ce,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?le.merge(n,"string"==typeof e?[e]:e):ne.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(re)return re.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;a>o;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=s(e),u=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&u.push(r);else for(i in e)r=t(e[i],i,n),null!=r&&u.push(r);return te.apply([],u)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),le.isFunction(e)?(n=ee.call(arguments,2),r=function(){return e.apply(t||this,n.concat(ee.call(arguments)))},r.guid=e.guid=e.guid||le.guid++,r):void 0},now:function(){return+new Date},support:se}),le.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ie["[object "+t+"]"]=t.toLowerCase()});var he=function(e){function t(e,t,n,r){var i,o,a,s,u,l,d,p,h,m;if((t?t.ownerDocument||t:P)!==_&&L(t),t=t||_,n=n||[],s=t.nodeType,"string"!=typeof e||!e||1!==s&&9!==s&&11!==s)return n;if(!r&&M){if(11!==s&&(i=ye.exec(e)))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&B(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return K.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&w.getElementsByClassName)return K.apply(n,t.getElementsByClassName(a)),n}if(w.qsa&&(!q||!q.test(e))){if(p=d=R,h=t,m=1!==s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(l=N(e),(d=t.getAttribute("id"))?p=d.replace(be,"\\$&"):t.setAttribute("id",p),p="[id='"+p+"'] ",u=l.length;u--;)l[u]=p+f(l[u]);h=xe.test(e)&&c(t.parentNode)||t,m=l.join(",")}if(m)try{return K.apply(n,h.querySelectorAll(m)),n}catch(g){}finally{d||t.removeAttribute("id")}}}return S(e.replace(ue,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[R]=!0,e}function i(e){var t=_.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=e.length;r--;)T.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Q)-(~e.sourceIndex||Q);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=$++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,l=[W,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(u=t[R]||(t[R]={}),(s=u[r])&&s[0]===W&&s[1]===o)return l[2]=s[2];if(u[r]=l,l[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var i=0,o=n.length;o>i;i++)t(e,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function v(e,t,n,i,o,a){return i&&!i[R]&&(i=v(i)),o&&!o[R]&&(o=v(o,a)),r(function(r,a,s,u){var l,c,d,f=[],p=[],h=a.length,v=r||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:g(v,f,e,s,u),x=n?o||(r?e:h||i)?[]:a:y;if(n&&n(y,x,s,u),i)for(l=g(x,p),i(l,[],s,u),c=l.length;c--;)(d=l[c])&&(x[p[c]]=!(y[p[c]]=d));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(d=x[c])&&l.push(y[c]=d);o(null,x=[],l,u)}for(c=x.length;c--;)(d=x[c])&&(l=o?ee(r,d):f[c])>-1&&(r[l]=!(a[l]=d))}}else x=g(x===a?x.splice(h,x.length):x),o?o(null,a,x,u):K.apply(a,x)})}function y(e){for(var t,n,r,i=e.length,o=T.relative[e[0].type],a=o||T.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==j)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];i>s;s++)if(n=T.relative[e[s].type])c=[p(h(c),n)];else{if(n=T.filter[e[s].type].apply(null,e[s].matches),n[R]){for(r=++s;i>r&&!T.relative[e[r].type];r++);return v(s>1&&h(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ue,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&f(e))}c.push(n)}return h(c)}function x(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,d,f,p=0,h="0",m=r&&[],v=[],y=j,x=r||o&&T.find.TAG("*",l),b=W+=null==y?1:Math.random()||.1,w=x.length;for(l&&(j=a!==_&&a);h!==w&&null!=(c=x[h]);h++){if(o&&c){for(d=0;f=e[d++];)if(f(c,a,s)){u.push(c);break}l&&(W=b)}i&&((c=!f&&c)&&p--,r&&m.push(c))}if(p+=h,i&&h!==p){for(d=0;f=n[d++];)f(m,v,a,s);if(r){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=Y.call(u));v=g(v)}K.apply(u,v),l&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(W=b,j=y),m};return i?r(a):a}var b,w,T,C,E,N,k,S,j,D,A,L,_,H,M,q,O,F,B,R="sizzle"+1*new Date,P=e.document,W=0,$=0,I=n(),z=n(),X=n(),U=function(e,t){return e===t&&(A=!0),0},Q=1<<31,J={}.hasOwnProperty,V=[],Y=V.pop,G=V.push,K=V.push,Z=V.slice,ee=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie=re.replace("w","w#"),oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",ae=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),ue=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ce=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),de=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(ae),pe=new RegExp("^"+ie+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re.replace("w","w*")+")"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xe=/[+~]/,be=/'|\\/g,we=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),Te=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Ce=function(){L()};try{K.apply(V=Z.call(P.childNodes),P.childNodes),V[P.childNodes.length].nodeType}catch(Ee){K={apply:V.length?function(e,t){G.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:P;return r!==_&&9===r.nodeType&&r.documentElement?(_=r,H=r.documentElement,n=r.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),M=!E(r),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(r.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(r.getElementsByClassName),w.getById=i(function(e){return H.appendChild(e).id=R,!r.getElementsByName||!r.getElementsByName(R).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&M){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},T.filter.ID=function(e){var t=e.replace(we,Te);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(we,Te);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),T.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},T.find.CLASS=w.getElementsByClassName&&function(e,t){return M?t.getElementsByClassName(e):void 0},O=[],q=[],(w.qsa=ve.test(r.querySelectorAll))&&(i(function(e){H.appendChild(e).innerHTML="
",e.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||q.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+R+"-]").length||q.push("~="),e.querySelectorAll(":checked").length||q.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||q.push(".#.+[+~]")}),i(function(e){var t=r.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&q.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),q.push(",.*:")})),(w.matchesSelector=ve.test(F=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&i(function(e){w.disconnectedMatch=F.call(e,"div"),F.call(e,"[s!='']:x"),O.push("!=",ae)}),q=q.length&&new RegExp(q.join("|")),O=O.length&&new RegExp(O.join("|")),t=ve.test(H.compareDocumentPosition),B=t||ve.test(H.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===r||e.ownerDocument===P&&B(P,e)?-1:t===r||t.ownerDocument===P&&B(P,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,i=0,o=e.parentNode,s=t.parentNode,u=[e],l=[t];if(!o||!s)return e===r?-1:t===r?1:o?-1:s?1:D?ee(D,e)-ee(D,t):0;if(o===s)return a(e,t);for(n=e;n=n.parentNode;)u.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;u[i]===l[i];)i++;return i?a(u[i],l[i]):u[i]===P?-1:l[i]===P?1:0},r):_},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==_&&L(e),n=n.replace(de,"='$1']"),!(!w.matchesSelector||!M||O&&O.test(n)||q&&q.test(n)))try{var r=F.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,_,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==_&&L(e),B(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==_&&L(e);var n=T.attrHandle[t.toLowerCase()],r=n&&J.call(T.attrHandle,t.toLowerCase())?n(e,t,!M):void 0;return void 0!==r?r:w.attributes||!M?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(U),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},C=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},T=t.selectors={cacheLength:50,createPseudo:r,match:he,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(we,Te),e[3]=(e[3]||e[4]||e[5]||"").replace(we,Te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=N(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(we,Te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&I(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(se," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(c=g[R]||(g[R]={}),l=c[e]||[],p=l[0]===W&&l[1],f=l[0]===W&&l[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(f=p=0)||h.pop();)if(1===d.nodeType&&++f&&d===t){c[e]=[W,p,f];break}}else if(y&&(l=(t[R]||(t[R]={}))[e])&&l[0]===W)f=l[1];else for(;(d=++p&&d&&d[m]||(f=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(y&&((d[R]||(d[R]={}))[e]=[W,f]),d!==t)););return f-=i,f===r||f%r===0&&f/r>=0}}},PSEUDO:function(e,n){var i,o=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[R]?o(n):o.length>1?(i=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ee(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(ue,"$1"));return i[R]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(we,Te),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(we,Te).toLowerCase(),function(t){var n;do if(n=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===H},focus:function(e){return e===_.activeElement&&(!_.hasFocus||_.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!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,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!T.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return me.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=0>n?n+t:n;++r
2&&"ID"===(a=o[0]).type&&w.getById&&9===t.nodeType&&M&&T.relative[o[1].type]){if(t=(T.find.ID(a.matches[0].replace(we,Te),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=he.needsContext.test(e)?0:o.length;i--&&(a=o[i],!T.relative[s=a.type]);)if((u=T.find[s])&&(r=u(a.matches[0].replace(we,Te),xe.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&f(o),!e)return K.apply(n,r),n;break}}return(l||k(e,d))(r,t,!M,n,xe.test(e)&&c(t.parentNode)||t),n},w.sortStable=R.split("").sort(U).join("")===R,w.detectDuplicates=!!A,L(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(_.createElement("div"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(o);le.find=he,le.expr=he.selectors,le.expr[":"]=le.expr.pseudos,le.unique=he.uniqueSort,le.text=he.getText,le.isXMLDoc=he.isXML,le.contains=he.contains;var me=le.expr.match.needsContext,ge=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ve=/^.[^:#\[\.,]*$/;le.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?le.find.matchesSelector(r,e)?[r]:[]:le.find.matches(e,le.grep(t,function(e){return 1===e.nodeType}))},le.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(le(e).filter(function(){for(t=0;i>t;t++)if(le.contains(r[t],this))return!0}));for(t=0;i>t;t++)le.find(e,r[t],n);return n=this.pushStack(i>1?le.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(u(this,e||[],!1))},not:function(e){return this.pushStack(u(this,e||[],!0))},is:function(e){return!!u(this,"string"==typeof e&&me.test(e)?le(e):e||[],!1).length}});var ye,xe=o.document,be=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,we=le.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:be.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||ye).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof le?t[0]:t,le.merge(this,le.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:xe,!0)),ge.test(n[1])&&le.isPlainObject(t))for(n in t)le.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if(r=xe.getElementById(n[2]),r&&r.parentNode){if(r.id!==n[2])return ye.find(e);this.length=1,this[0]=r}return this.context=xe,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):le.isFunction(e)?"undefined"!=typeof ye.ready?ye.ready(e):e(le):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),le.makeArray(e,this))};we.prototype=le.fn,ye=le(xe);var Te=/^(?:parents|prev(?:Until|All))/,Ce={children:!0,contents:!0,next:!0,prev:!0};le.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!le(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),le.fn.extend({has:function(e){var t,n=le(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(le.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=me.test(e)||"string"!=typeof e?le(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&le.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?le.unique(o):o)},index:function(e){return e?"string"==typeof e?le.inArray(this[0],le(e)):le.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(le.unique(le.merge(this.get(),le(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),le.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return le.dir(e,"parentNode")},parentsUntil:function(e,t,n){return le.dir(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return le.dir(e,"nextSibling")},prevAll:function(e){return le.dir(e,"previousSibling")},nextUntil:function(e,t,n){return le.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return le.dir(e,"previousSibling",n)},siblings:function(e){return le.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return le.sibling(e.firstChild)},contents:function(e){return le.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:le.merge([],e.childNodes)}},function(e,t){le.fn[e]=function(n,r){var i=le.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=le.filter(r,i)),this.length>1&&(Ce[e]||(i=le.unique(i)),Te.test(e)&&(i=i.reverse())),this.pushStack(i)}});var Ee=/\S+/g,Ne={};le.Callbacks=function(e){e="string"==typeof e?Ne[e]||c(e):le.extend({},e);var t,n,r,i,o,a,s=[],u=!e.once&&[],l=function(c){for(n=e.memory&&c,r=!0,o=a||0,a=0,i=s.length,t=!0;s&&i>o;o++)if(s[o].apply(c[0],c[1])===!1&&e.stopOnFalse){n=!1;break}t=!1,s&&(u?u.length&&l(u.shift()):n?s=[]:d.disable())},d={add:function(){if(s){var r=s.length;!function o(t){le.each(t,function(t,n){var r=le.type(n);"function"===r?e.unique&&d.has(n)||s.push(n):n&&n.length&&"string"!==r&&o(n)})}(arguments),t?i=s.length:n&&(a=r,l(n))}return this},remove:function(){return s&&le.each(arguments,function(e,n){for(var r;(r=le.inArray(n,s,r))>-1;)s.splice(r,1),t&&(i>=r&&i--,o>=r&&o--)}),this},has:function(e){return e?le.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],i=0,this},disable:function(){return s=u=n=void 0,this},disabled:function(){return!s},lock:function(){return u=void 0,n||d.disable(),this},locked:function(){return!u},fireWith:function(e,n){return!s||r&&!u||(n=n||[],n=[e,n.slice?n.slice():n],t?u.push(n):l(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},le.extend({Deferred:function(e){var t=[["resolve","done",le.Callbacks("once memory"),"resolved"],["reject","fail",le.Callbacks("once memory"),"rejected"],["notify","progress",le.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return le.Deferred(function(n){le.each(t,function(t,o){var a=le.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&le.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?le.extend(e,r):r}},i={};return r.pipe=r.then,le.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=ee.call(arguments),a=o.length,s=1!==a||e&&le.isFunction(e.promise)?a:0,u=1===s?e:le.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ee.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&le.isFunction(o[i].promise)?o[i].promise().done(l(i,r,o)).fail(u.reject).progress(l(i,n,t)):--s;return s||u.resolveWith(r,o),u.promise()}});var ke;le.fn.ready=function(e){return le.ready.promise().done(e),this},le.extend({isReady:!1,readyWait:1,holdReady:function(e){e?le.readyWait++:le.ready(!0)},ready:function(e){if(e===!0?!--le.readyWait:!le.isReady){if(!xe.body)return setTimeout(le.ready);le.isReady=!0,e!==!0&&--le.readyWait>0||(ke.resolveWith(xe,[le]),le.fn.triggerHandler&&(le(xe).triggerHandler("ready"),le(xe).off("ready")))}}}),le.ready.promise=function(e){if(!ke)if(ke=le.Deferred(),"complete"===xe.readyState)setTimeout(le.ready);else if(xe.addEventListener)xe.addEventListener("DOMContentLoaded",f,!1),o.addEventListener("load",f,!1);else{xe.attachEvent("onreadystatechange",f),o.attachEvent("onload",f);var t=!1;try{t=null==o.frameElement&&xe.documentElement}catch(n){}t&&t.doScroll&&!function r(){if(!le.isReady){try{t.doScroll("left")}catch(e){return setTimeout(r,50)}d(),le.ready()}}()}return ke.promise(e)};var Se,je="undefined";for(Se in le(se))break;se.ownLast="0"!==Se,se.inlineBlockNeedsLayout=!1,le(function(){var e,t,n,r;n=xe.getElementsByTagName("body")[0],n&&n.style&&(t=xe.createElement("div"),r=xe.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==je&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",se.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=xe.createElement("div");if(null==se.deleteExpando){se.deleteExpando=!0;try{delete e.test}catch(t){se.deleteExpando=!1}}e=null}(),le.acceptData=function(e){var t=le.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||t!==!0&&e.getAttribute("classid")===t)};var De=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ae=/([A-Z])/g;le.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?le.cache[e[le.expando]]:e[le.expando],!!e&&!h(e)},data:function(e,t,n){return m(e,t,n)},removeData:function(e,t){return g(e,t)},_data:function(e,t,n){return m(e,t,n,!0)},_removeData:function(e,t){return g(e,t,!0)}}),le.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=le.data(o),1===o.nodeType&&!le._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=le.camelCase(r.slice(5)),p(o,r,i[r])));le._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){le.data(this,e)}):arguments.length>1?this.each(function(){le.data(this,e,t)}):o?p(o,e,le.data(o,e)):void 0},removeData:function(e){return this.each(function(){le.removeData(this,e)})}}),le.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=le._data(e,t),n&&(!r||le.isArray(n)?r=le._data(e,t,le.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=le.queue(e,t),r=n.length,i=n.shift(),o=le._queueHooks(e,t),a=function(){le.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return le._data(e,n)||le._data(e,n,{empty:le.Callbacks("once memory").add(function(){le._removeData(e,t+"queue"),le._removeData(e,n)})})}}),le.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.lengths;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},qe=/^(?:checkbox|radio)$/i;!function(){var e=xe.createElement("input"),t=xe.createElement("div"),n=xe.createDocumentFragment();if(t.innerHTML=" a",se.leadingWhitespace=3===t.firstChild.nodeType,se.tbody=!t.getElementsByTagName("tbody").length,se.htmlSerialize=!!t.getElementsByTagName("link").length,se.html5Clone="<:nav>"!==xe.createElement("nav").cloneNode(!0).outerHTML,e.type="checkbox",e.checked=!0,n.appendChild(e),se.appendChecked=e.checked,t.innerHTML="",se.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="",se.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,se.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){se.noCloneEvent=!1}),t.cloneNode(!0).click()),null==se.deleteExpando){se.deleteExpando=!0;try{delete t.test}catch(r){se.deleteExpando=!1}}}(),function(){var e,t,n=xe.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(se[e+"Bubbles"]=t in o)||(n.setAttribute(t,"t"),se[e+"Bubbles"]=n.attributes[t].expando===!1);n=null}();var Oe=/^(?:input|select|textarea)$/i,Fe=/^key/,Be=/^(?:mouse|pointer|contextmenu)|click/,Re=/^(?:focusinfocus|focusoutblur)$/,Pe=/^([^.]*)(?:\.(.+)|)$/;le.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,p,h,m,g=le._data(e);if(g){for(n.handler&&(u=n,n=u.handler,i=u.selector),n.guid||(n.guid=le.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||(c=g.handle=function(e){return typeof le===je||e&&le.event.triggered===e.type?void 0:le.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(Ee)||[""],s=t.length;s--;)o=Pe.exec(t[s])||[],p=m=o[1],h=(o[2]||"").split(".").sort(),p&&(l=le.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=le.event.special[p]||{},d=le.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&le.expr.match.needsContext.test(i),namespace:h.join(".")},u),(f=a[p])||(f=a[p]=[],f.delegateCount=0,l.setup&&l.setup.call(e,r,h,c)!==!1||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),l.add&&(l.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,d):f.push(d),le.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,p,h,m,g=le.hasData(e)&&le._data(e);if(g&&(c=g.events)){for(t=(t||"").match(Ee)||[""],l=t.length;l--;)if(s=Pe.exec(t[l])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=le.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;o--;)a=f[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));u&&!f.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||le.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)le.event.remove(e,p+t[l],n,r,!0);le.isEmptyObject(c)&&(delete g.handle,le._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,a,s,u,l,c,d,f=[n||xe],p=ae.call(e,"type")?e.type:e,h=ae.call(e,"namespace")?e.namespace.split("."):[];if(s=c=n=n||xe,3!==n.nodeType&&8!==n.nodeType&&!Re.test(p+le.event.triggered)&&(p.indexOf(".")>=0&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,e=e[le.expando]?e:new le.Event(p,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:le.makeArray(t,[e]),l=le.event.special[p]||{},r||!l.trigger||l.trigger.apply(n,t)!==!1)){if(!r&&!l.noBubble&&!le.isWindow(n)){for(u=l.delegateType||p,Re.test(u+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),c=s;c===(n.ownerDocument||xe)&&f.push(c.defaultView||c.parentWindow||o)}for(d=0;(s=f[d++])&&!e.isPropagationStopped();)e.type=d>1?u:l.bindType||p,i=(le._data(s,"events")||{})[e.type]&&le._data(s,"handle"),i&&i.apply(s,t),i=a&&s[a],i&&i.apply&&le.acceptData(s)&&(e.result=i.apply(s,t),e.result===!1&&e.preventDefault());if(e.type=p,!r&&!e.isDefaultPrevented()&&(!l._default||l._default.apply(f.pop(),t)===!1)&&le.acceptData(n)&&a&&n[p]&&!le.isWindow(n)){c=n[a],c&&(n[a]=null),le.event.triggered=p;try{n[p]()}catch(m){}le.event.triggered=void 0,c&&(n[a]=c)}return e.result}},dispatch:function(e){e=le.event.fix(e);var t,n,r,i,o,a=[],s=ee.call(arguments),u=(le._data(this,"events")||{})[e.type]||[],l=le.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=le.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,n=((le.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s),void 0!==n&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(i=[],o=0;s>o;o++)r=t[o],n=r.selector+" ",void 0===i[n]&&(i[n]=r.needsContext?le(n,this).index(u)>=0:le.find(n,this,null,[u]).length),i[n]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return s]","i"),ze=/^\s+/,Xe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ue=/<([\w:]+)/,Qe=/\s*$/g,et={option:[1,""],legend:[1,""],area:[1,""],param:[1,""],thead:[1,""],tr:[2,""],col:[2,""],td:[3,""],_default:se.htmlSerialize?[0,"",""]:[1,"X","
"]},tt=b(xe),nt=tt.appendChild(xe.createElement("div"));et.optgroup=et.option,et.tbody=et.tfoot=et.colgroup=et.caption=et.thead,et.th=et.td,le.extend({clone:function(e,t,n){var r,i,o,a,s,u=le.contains(e.ownerDocument,e);if(se.html5Clone||le.isXMLDoc(e)||!Ie.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(nt.innerHTML=e.outerHTML,nt.removeChild(o=nt.firstChild)),!(se.noCloneEvent&&se.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||le.isXMLDoc(e)))for(r=w(o),s=w(e),a=0;null!=(i=s[a]);++a)r[a]&&j(i,r[a]);if(t)if(n)for(s=s||w(e),r=r||w(o),a=0;null!=(i=s[a]);a++)S(i,r[a]);else S(e,o);return r=w(o,"script"),r.length>0&&k(r,!u&&w(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,u,l,c,d=e.length,f=b(t),p=[],h=0;d>h;h++)if(o=e[h],o||0===o)if("object"===le.type(o))le.merge(p,o.nodeType?[o]:o);else if(Je.test(o)){for(s=s||f.appendChild(t.createElement("div")),u=(Ue.exec(o)||["",""])[1].toLowerCase(),c=et[u]||et._default,s.innerHTML=c[1]+o.replace(Xe,"<$1>$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!se.leadingWhitespace&&ze.test(o)&&p.push(t.createTextNode(ze.exec(o)[0])),!se.tbody)for(o="table"!==u||Qe.test(o)?""!==c[1]||Qe.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;i--;)le.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l);for(le.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(t.createTextNode(o));for(s&&f.removeChild(s),se.appendChecked||le.grep(w(p,"input"),T),h=0;o=p[h++];)if((!r||-1===le.inArray(o,r))&&(a=le.contains(o.ownerDocument,o),s=w(f.appendChild(o),"script"),a&&k(s),n))for(i=0;o=s[i++];)Ge.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,r,i,o,a=0,s=le.expando,u=le.cache,l=se.deleteExpando,c=le.event.special;null!=(n=e[a]);a++)if((t||le.acceptData(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?le.event.remove(n,r):le.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l?delete n[s]:typeof n.removeAttribute!==je?n.removeAttribute(s):n[s]=null,Z.push(i))}}}),le.fn.extend({text:function(e){return Me(this,function(e){return void 0===e?le.text(this):this.empty().append((this[0]&&this[0].ownerDocument||xe).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=C(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=C(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?le.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||le.cleanData(w(n)),n.parentNode&&(t&&le.contains(n.ownerDocument,n)&&k(w(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&le.cleanData(w(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&le.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return le.clone(this,e,t)})},html:function(e){return Me(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace($e,""):void 0;if(!("string"!=typeof e||Ve.test(e)||!se.htmlSerialize&&Ie.test(e)||!se.leadingWhitespace&&ze.test(e)||et[(Ue.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Xe,"<$1>$2>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(le.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,le.cleanData(w(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=te.apply([],e);var n,r,i,o,a,s,u=0,l=this.length,c=this,d=l-1,f=e[0],p=le.isFunction(f);if(p||l>1&&"string"==typeof f&&!se.checkClone&&Ye.test(f))return this.each(function(n){var r=c.eq(n);p&&(e[0]=f.call(this,n,r.html())),r.domManip(e,t)});if(l&&(s=le.buildFragment(e,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(o=le.map(w(s,"script"),E),i=o.length;l>u;u++)r=s,u!==d&&(r=le.clone(r,!0,!0),i&&le.merge(o,w(r,"script"))),t.call(this[u],r,u);if(i)for(a=o[o.length-1].ownerDocument,le.map(o,N),u=0;i>u;u++)r=o[u],Ge.test(r.type||"")&&!le._data(r,"globalEval")&&le.contains(a,r)&&(r.src?le._evalUrl&&le._evalUrl(r.src):le.globalEval((r.text||r.textContent||r.innerHTML||"").replace(Ze,"")));s=n=null}return this}}),le.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){le.fn[e]=function(e){for(var n,r=0,i=[],o=le(e),a=o.length-1;a>=r;r++)n=r===a?this:this.clone(!0),le(o[r])[t](n),ne.apply(i,n.get());return this.pushStack(i)}});var rt,it={};!function(){var e;se.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,r;return n=xe.getElementsByTagName("body")[0],n&&n.style?(t=xe.createElement("div"),r=xe.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==je&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(xe.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0}}();var ot,at,st=/^margin/,ut=new RegExp("^("+Le+")(?!px)[a-z%]+$","i"),lt=/^(top|right|bottom|left)$/;
+o.getComputedStyle?(ot=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):o.getComputedStyle(e,null)},at=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ot(e),a=n?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||le.contains(e.ownerDocument,e)||(a=le.style(e,t)),ut.test(a)&&st.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0===a?a:a+""}):xe.documentElement.currentStyle&&(ot=function(e){return e.currentStyle},at=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ot(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),ut.test(a)&&!lt.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"}),!function(){function e(){var e,t,n,r;t=xe.getElementsByTagName("body")[0],t&&t.style&&(e=xe.createElement("div"),n=xe.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",i=a=!1,u=!0,o.getComputedStyle&&(i="1%"!==(o.getComputedStyle(e,null)||{}).top,a="4px"===(o.getComputedStyle(e,null)||{width:"4px"}).width,r=e.appendChild(xe.createElement("div")),r.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",r.style.marginRight=r.style.width="0",e.style.width="1px",u=!parseFloat((o.getComputedStyle(r,null)||{}).marginRight),e.removeChild(r)),e.innerHTML="",r=e.getElementsByTagName("td"),r[0].style.cssText="margin:0;border:0;padding:0;display:none",s=0===r[0].offsetHeight,s&&(r[0].style.display="",r[1].style.display="none",s=0===r[0].offsetHeight),t.removeChild(n))}var t,n,r,i,a,s,u;t=xe.createElement("div"),t.innerHTML=" a",r=t.getElementsByTagName("a")[0],(n=r&&r.style)&&(n.cssText="float:left;opacity:.5",se.opacity="0.5"===n.opacity,se.cssFloat=!!n.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",se.clearCloneStyle="content-box"===t.style.backgroundClip,se.boxSizing=""===n.boxSizing||""===n.MozBoxSizing||""===n.WebkitBoxSizing,le.extend(se,{reliableHiddenOffsets:function(){return null==s&&e(),s},boxSizingReliable:function(){return null==a&&e(),a},pixelPosition:function(){return null==i&&e(),i},reliableMarginRight:function(){return null==u&&e(),u}}))}(),le.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};var ct=/alpha\([^)]*\)/i,dt=/opacity\s*=\s*([^)]*)/,ft=/^(none|table(?!-c[ea]).+)/,pt=new RegExp("^("+Le+")(.*)$","i"),ht=new RegExp("^([+-])=("+Le+")","i"),mt={position:"absolute",visibility:"hidden",display:"block"},gt={letterSpacing:"0",fontWeight:"400"},vt=["Webkit","O","Moz","ms"];le.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=at(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":se.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=le.camelCase(t),u=e.style;if(t=le.cssProps[s]||(le.cssProps[s]=_(u,s)),a=le.cssHooks[t]||le.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(o=typeof n,"string"===o&&(i=ht.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(le.css(e,t)),o="number"),null!=n&&n===n&&("number"!==o||le.cssNumber[s]||(n+="px"),se.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=le.camelCase(t);return t=le.cssProps[s]||(le.cssProps[s]=_(e.style,s)),a=le.cssHooks[t]||le.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=at(e,t,r)),"normal"===o&&t in gt&&(o=gt[t]),""===n||n?(i=parseFloat(o),n===!0||le.isNumeric(i)?i||0:o):o}}),le.each(["height","width"],function(e,t){le.cssHooks[t]={get:function(e,n,r){return n?ft.test(le.css(e,"display"))&&0===e.offsetWidth?le.swap(e,mt,function(){return O(e,t,r)}):O(e,t,r):void 0},set:function(e,n,r){var i=r&&ot(e);return M(e,n,r?q(e,t,r,se.boxSizing&&"border-box"===le.css(e,"boxSizing",!1,i),i):0)}}}),se.opacity||(le.cssHooks.opacity={get:function(e,t){return dt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=le.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===le.trim(o.replace(ct,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=ct.test(o)?o.replace(ct,i):o+" "+i)}}),le.cssHooks.marginRight=L(se.reliableMarginRight,function(e,t){return t?le.swap(e,{display:"inline-block"},at,[e,"marginRight"]):void 0}),le.each({margin:"",padding:"",border:"Width"},function(e,t){le.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+_e[r]+t]=o[r]||o[r-2]||o[0];return i}},st.test(e)||(le.cssHooks[e+t].set=M)}),le.fn.extend({css:function(e,t){return Me(this,function(e,t,n){var r,i,o={},a=0;if(le.isArray(t)){for(r=ot(e),i=t.length;i>a;a++)o[t[a]]=le.css(e,t[a],!1,r);return o}return void 0!==n?le.style(e,t,n):le.css(e,t)},e,t,arguments.length>1)},show:function(){return H(this,!0)},hide:function(){return H(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){He(this)?le(this).show():le(this).hide()})}}),le.Tween=F,F.prototype={constructor:F,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(le.cssNumber[n]?"":"px")},cur:function(){var e=F.propHooks[this.prop];return e&&e.get?e.get(this):F.propHooks._default.get(this)},run:function(e){var t,n=F.propHooks[this.prop];return this.options.duration?this.pos=t=le.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):F.propHooks._default.set(this),this}},F.prototype.init.prototype=F.prototype,F.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=le.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){le.fx.step[e.prop]?le.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[le.cssProps[e.prop]]||le.cssHooks[e.prop])?le.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},F.propHooks.scrollTop=F.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},le.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},le.fx=F.prototype.init,le.fx.step={};var yt,xt,bt=/^(?:toggle|show|hide)$/,wt=new RegExp("^(?:([+-])=|)("+Le+")([a-z%]*)$","i"),Tt=/queueHooks$/,Ct=[W],Et={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=wt.exec(t),o=i&&i[3]||(le.cssNumber[e]?"":"px"),a=(le.cssNumber[e]||"px"!==o&&+r)&&wt.exec(le.css(n.elem,e)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,le.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--u)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};le.Animation=le.extend(I,{tweener:function(e,t){le.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],Et[n]=Et[n]||[],Et[n].unshift(t)},prefilter:function(e,t){t?Ct.unshift(e):Ct.push(e)}}),le.speed=function(e,t,n){var r=e&&"object"==typeof e?le.extend({},e):{complete:n||!n&&t||le.isFunction(e)&&e,duration:e,easing:n&&t||t&&!le.isFunction(t)&&t};return r.duration=le.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in le.fx.speeds?le.fx.speeds[r.duration]:le.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){le.isFunction(r.old)&&r.old.call(this),r.queue&&le.dequeue(this,r.queue)},r},le.fn.extend({fadeTo:function(e,t,n,r){return this.filter(He).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=le.isEmptyObject(e),o=le.speed(t,n,r),a=function(){var t=I(this,le.extend({},e),o);(i||le._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=le.timers,a=le._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Tt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&le.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=le._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=le.timers,a=r?r.length:0;for(n.finish=!0,le.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),le.each(["toggle","show","hide"],function(e,t){var n=le.fn[t];le.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(R(t,!0),e,r,i)}}),le.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){le.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),le.timers=[],le.fx.tick=function(){var e,t=le.timers,n=0;for(yt=le.now();na",r=t.getElementsByTagName("a")[0],n=xe.createElement("select"),i=n.appendChild(xe.createElement("option")),e=t.getElementsByTagName("input")[0],r.style.cssText="top:1px",se.getSetAttribute="t"!==t.className,se.style=/top/.test(r.getAttribute("style")),se.hrefNormalized="/a"===r.getAttribute("href"),se.checkOn=!!e.value,se.optSelected=i.selected,se.enctype=!!xe.createElement("form").enctype,n.disabled=!0,se.optDisabled=!i.disabled,e=xe.createElement("input"),e.setAttribute("value",""),se.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),se.radioValue="t"===e.value}();var Nt=/\r/g;le.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=le.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,le(this).val()):e,null==i?i="":"number"==typeof i?i+="":le.isArray(i)&&(i=le.map(i,function(e){return null==e?"":e+""})),t=le.valHooks[this.type]||le.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=le.valHooks[i.type]||le.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Nt,""):null==n?"":n)):void 0}}),le.extend({valHooks:{option:{get:function(e){var t=le.find.attr(e,"value");return null!=t?t:le.trim(le.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(se.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&le.nodeName(n.parentNode,"optgroup"))){if(t=le(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=le.makeArray(t),a=i.length;a--;)if(r=i[a],le.inArray(le.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),le.each(["radio","checkbox"],function(){le.valHooks[this]={set:function(e,t){return le.isArray(t)?e.checked=le.inArray(le(e).val(),t)>=0:void 0}},se.checkOn||(le.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var kt,St,jt=le.expr.attrHandle,Dt=/^(?:checked|selected)$/i,At=se.getSetAttribute,Lt=se.input;le.fn.extend({attr:function(e,t){return Me(this,le.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){le.removeAttr(this,e)})}}),le.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===je?le.prop(e,t,n):(1===o&&le.isXMLDoc(e)||(t=t.toLowerCase(),r=le.attrHooks[t]||(le.expr.match.bool.test(t)?St:kt)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=le.find.attr(e,t),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void le.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(Ee);if(o&&1===e.nodeType)for(;n=o[i++];)r=le.propFix[n]||n,le.expr.match.bool.test(n)?Lt&&At||!Dt.test(n)?e[r]=!1:e[le.camelCase("default-"+n)]=e[r]=!1:le.attr(e,n,""),e.removeAttribute(At?n:r)},attrHooks:{type:{set:function(e,t){if(!se.radioValue&&"radio"===t&&le.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),St={set:function(e,t,n){return t===!1?le.removeAttr(e,n):Lt&&At||!Dt.test(n)?e.setAttribute(!At&&le.propFix[n]||n,n):e[le.camelCase("default-"+n)]=e[n]=!0,n}},le.each(le.expr.match.bool.source.match(/\w+/g),function(e,t){var n=jt[t]||le.find.attr;jt[t]=Lt&&At||!Dt.test(t)?function(e,t,r){var i,o;return r||(o=jt[t],jt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,jt[t]=o),i}:function(e,t,n){return n?void 0:e[le.camelCase("default-"+t)]?t.toLowerCase():null}}),Lt&&At||(le.attrHooks.value={set:function(e,t,n){return le.nodeName(e,"input")?void(e.defaultValue=t):kt&&kt.set(e,t,n)}}),At||(kt={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},jt.id=jt.name=jt.coords=function(e,t,n){var r;return n?void 0:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},le.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:kt.set},le.attrHooks.contenteditable={set:function(e,t,n){kt.set(e,""!==t&&t,n)}},le.each(["width","height"],function(e,t){le.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),se.style||(le.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var _t=/^(?:input|select|textarea|button|object)$/i,Ht=/^(?:a|area)$/i;le.fn.extend({prop:function(e,t){return Me(this,le.prop,e,t,arguments.length>1)},removeProp:function(e){return e=le.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),le.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return o=1!==a||!le.isXMLDoc(e),o&&(t=le.propFix[t]||t,i=le.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=le.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||Ht.test(e.nodeName)&&e.href?0:-1}}}}),se.hrefNormalized||le.each(["href","src"],function(e,t){le.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),se.optSelected||(le.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),le.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){le.propFix[this.toLowerCase()]=this}),se.enctype||(le.propFix.enctype="encoding");var Mt=/[\t\r\n\f]/g;le.fn.extend({addClass:function(e){var t,n,r,i,o,a,s=0,u=this.length,l="string"==typeof e&&e;if(le.isFunction(e))return this.each(function(t){le(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(Ee)||[];u>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Mt," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=le.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,i,o,a,s=0,u=this.length,l=0===arguments.length||"string"==typeof e&&e;if(le.isFunction(e))return this.each(function(t){le(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(Ee)||[];u>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Mt," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?le.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):this.each(le.isFunction(e)?function(n){le(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var t,r=0,i=le(this),o=e.match(Ee)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===je||"boolean"===n)&&(this.className&&le._data(this,"__className__",this.className),this.className=this.className||e===!1?"":le._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Mt," ").indexOf(t)>=0)return!0;return!1}}),le.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){le.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),le.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var qt=le.now(),Ot=/\?/,Ft=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;le.parseJSON=function(e){if(o.JSON&&o.JSON.parse)return o.JSON.parse(e+"");var t,n=null,r=le.trim(e+"");return r&&!le.trim(r.replace(Ft,function(e,r,i,o){return t&&r&&(n=0),0===n?e:(t=i||r,n+=!o-!i,"")}))?Function("return "+r)():le.error("Invalid JSON: "+e)},le.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{o.DOMParser?(n=new DOMParser,t=n.parseFromString(e,"text/xml")):(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(r){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||le.error("Invalid XML: "+e),t};var Bt,Rt,Pt=/#.*$/,Wt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,It=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zt=/^(?:GET|HEAD)$/,Xt=/^\/\//,Ut=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Qt={},Jt={},Vt="*/".concat("*");try{Rt=location.href}catch(Yt){Rt=xe.createElement("a"),Rt.href="",Rt=Rt.href}Bt=Ut.exec(Rt.toLowerCase())||[],le.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Rt,type:"GET",isLocal:It.test(Bt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":le.parseJSON,"text xml":le.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?U(U(e,le.ajaxSettings),t):U(le.ajaxSettings,e)},ajaxPrefilter:z(Qt),ajaxTransport:z(Jt),ajax:function(e,t){function n(e,t,n,r){var i,c,v,y,b,T=t;2!==x&&(x=2,s&&clearTimeout(s),l=void 0,a=r||"",w.readyState=e>0?4:0,i=e>=200&&300>e||304===e,n&&(y=Q(d,w,n)),y=J(d,y,w,i),i?(d.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(le.lastModified[o]=b),b=w.getResponseHeader("etag"),b&&(le.etag[o]=b)),204===e||"HEAD"===d.type?T="nocontent":304===e?T="notmodified":(T=y.state,c=y.data,v=y.error,i=!v)):(v=T,(e||!T)&&(T="error",0>e&&(e=0))),w.status=e,w.statusText=(t||T)+"",i?h.resolveWith(f,[c,T,w]):h.rejectWith(f,[w,T,v]),w.statusCode(g),g=void 0,u&&p.trigger(i?"ajaxSuccess":"ajaxError",[w,d,i?c:v]),m.fireWith(f,[w,T]),u&&(p.trigger("ajaxComplete",[w,d]),--le.active||le.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,l,c,d=le.ajaxSetup({},t),f=d.context||d,p=d.context&&(f.nodeType||f.jquery)?le(f):le.event,h=le.Deferred(),m=le.Callbacks("once memory"),g=d.statusCode||{},v={},y={},x=0,b="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!c)for(c={};t=$t.exec(a);)c[t[1].toLowerCase()]=t[2];t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=y[n]=y[n]||e,v[e]=t),this},overrideMimeType:function(e){return x||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)g[t]=[g[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||b;return l&&l.abort(t),n(0,t),this}};if(h.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,d.url=((e||d.url||Rt)+"").replace(Pt,"").replace(Xt,Bt[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=le.trim(d.dataType||"*").toLowerCase().match(Ee)||[""],null==d.crossDomain&&(r=Ut.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]===Bt[1]&&r[2]===Bt[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Bt[3]||("http:"===Bt[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=le.param(d.data,d.traditional)),X(Qt,d,t,w),2===x)return w;u=le.event&&d.global,u&&0===le.active++&&le.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!zt.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(Ot.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Wt.test(o)?o.replace(Wt,"$1_="+qt++):o+(Ot.test(o)?"&":"?")+"_="+qt++)),d.ifModified&&(le.lastModified[o]&&w.setRequestHeader("If-Modified-Since",le.lastModified[o]),le.etag[o]&&w.setRequestHeader("If-None-Match",le.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||t.contentType)&&w.setRequestHeader("Content-Type",d.contentType),w.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Vt+"; q=0.01":""):d.accepts["*"]);for(i in d.headers)w.setRequestHeader(i,d.headers[i]);if(d.beforeSend&&(d.beforeSend.call(f,w,d)===!1||2===x))return w.abort();b="abort";for(i in{success:1,error:1,complete:1})w[i](d[i]);if(l=X(Jt,d,t,w)){w.readyState=1,u&&p.trigger("ajaxSend",[w,d]),d.async&&d.timeout>0&&(s=setTimeout(function(){w.abort("timeout")},d.timeout));try{x=1,l.send(v,n)}catch(T){if(!(2>x))throw T;n(-1,T)}}else n(-1,"No Transport");return w},getJSON:function(e,t,n){return le.get(e,t,n,"json")},getScript:function(e,t){return le.get(e,void 0,t,"script")}}),le.each(["get","post"],function(e,t){le[t]=function(e,n,r,i){return le.isFunction(n)&&(i=i||r,r=n,n=void 0),le.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),le._evalUrl=function(e){return le.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},le.fn.extend({wrapAll:function(e){if(le.isFunction(e))return this.each(function(t){le(this).wrapAll(e.call(this,t))});if(this[0]){var t=le(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return this.each(le.isFunction(e)?function(t){le(this).wrapInner(e.call(this,t))}:function(){var t=le(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=le.isFunction(e);return this.each(function(n){le(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){le.nodeName(this,"body")||le(this).replaceWith(this.childNodes)}).end()}}),le.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!se.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||le.css(e,"display"))},le.expr.filters.visible=function(e){return!le.expr.filters.hidden(e)};var Gt=/%20/g,Kt=/\[\]$/,Zt=/\r?\n/g,en=/^(?:submit|button|image|reset|file)$/i,tn=/^(?:input|select|textarea|keygen)/i;le.param=function(e,t){var n,r=[],i=function(e,t){t=le.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=le.ajaxSettings&&le.ajaxSettings.traditional),le.isArray(e)||e.jquery&&!le.isPlainObject(e))le.each(e,function(){i(this.name,this.value)});else for(n in e)V(n,e[n],t,i);return r.join("&").replace(Gt,"+")},le.fn.extend({serialize:function(){return le.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=le.prop(this,"elements");return e?le.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!le(this).is(":disabled")&&tn.test(this.nodeName)&&!en.test(e)&&(this.checked||!qe.test(e))}).map(function(e,t){var n=le(this).val();return null==n?null:le.isArray(n)?le.map(n,function(e){return{name:t.name,value:e.replace(Zt,"\r\n")}}):{name:t.name,value:n.replace(Zt,"\r\n")}}).get()}}),le.ajaxSettings.xhr=void 0!==o.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Y()||G()}:Y;var nn=0,rn={},on=le.ajaxSettings.xhr();o.attachEvent&&o.attachEvent("onunload",function(){for(var e in rn)rn[e](void 0,!0)}),se.cors=!!on&&"withCredentials"in on,on=se.ajax=!!on,on&&le.ajaxTransport(function(e){if(!e.crossDomain||se.cors){var t;return{send:function(n,r){var i,o=e.xhr(),a=++nn;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)void 0!==n[i]&&o.setRequestHeader(i,n[i]+"");o.send(e.hasContent&&e.data||null),t=function(n,i){var s,u,l;if(t&&(i||4===o.readyState))if(delete rn[a],t=void 0,o.onreadystatechange=le.noop,i)4!==o.readyState&&o.abort();else{l={},s=o.status,"string"==typeof o.responseText&&(l.text=o.responseText);try{u=o.statusText}catch(c){u=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=l.text?200:404}l&&r(s,u,l,o.getAllResponseHeaders())},e.async?4===o.readyState?setTimeout(t):o.onreadystatechange=rn[a]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),le.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return le.globalEval(e),e}}}),le.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),le.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=xe.head||le("head")[0]||xe.documentElement;return{send:function(r,i){t=xe.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var an=[],sn=/(=)\?(?=&|$)|\?\?/;le.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=an.pop()||le.expando+"_"+qt++;return this[e]=!0,e}}),le.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,a,s=e.jsonp!==!1&&(sn.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&sn.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=le.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(sn,"$1"+r):e.jsonp!==!1&&(e.url+=(Ot.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||le.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=o[r],o[r]=function(){a=arguments},n.always(function(){o[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,an.push(r)),a&&le.isFunction(i)&&i(a[0]),a=i=void 0}),"script"):void 0}),le.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||xe;var r=ge.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=le.buildFragment([e],t,i),i&&i.length&&le(i).remove(),le.merge([],r.childNodes))};var un=le.fn.load;le.fn.load=function(e,t,n){if("string"!=typeof e&&un)return un.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=le.trim(e.slice(s,e.length)),e=e.slice(0,s)),le.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&le.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?le("").append(le.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},le.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){le.fn[t]=function(e){return this.on(t,e)}}),le.expr.filters.animated=function(e){return le.grep(le.timers,function(t){return e===t.elem}).length};var ln=o.document.documentElement;le.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=le.css(e,"position"),d=le(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),o=le.css(e,"top"),u=le.css(e,"left"),l=("absolute"===c||"fixed"===c)&&le.inArray("auto",[o,u])>-1,l?(r=d.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),le.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):d.css(f)}},le.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){le.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,le.contains(t,i)?(typeof i.getBoundingClientRect!==je&&(r=i.getBoundingClientRect()),n=K(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===le.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),le.nodeName(e[0],"html")||(n=e.offset()),n.top+=le.css(e[0],"borderTopWidth",!0),n.left+=le.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-le.css(r,"marginTop",!0),left:t.left-n.left-le.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||ln;e&&!le.nodeName(e,"html")&&"static"===le.css(e,"position");)e=e.offsetParent;return e||ln})}}),le.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);le.fn[e]=function(r){return Me(this,function(e,r,i){var o=K(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?le(o).scrollLeft():i,n?i:le(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),le.each(["top","left"],function(e,t){le.cssHooks[t]=L(se.pixelPosition,function(e,n){
+return n?(n=at(e,t),ut.test(n)?le(e).position()[t]+"px":n):void 0})}),le.each({Height:"height",Width:"width"},function(e,t){le.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){le.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return Me(this,function(t,n,r){var i;return le.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?le.css(t,n,a):le.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),le.fn.size=function(){return this.length},le.fn.andSelf=le.fn.addBack,n(10)&&(r=[],i=function(){return le}.apply(t,r),!(void 0!==i&&(e.exports=i)));var cn=o.jQuery,dn=o.$;return le.noConflict=function(e){return o.$===le&&(o.$=dn),e&&o.jQuery===le&&(o.jQuery=cn),le},typeof a===je&&(o.jQuery=o.$=le),le})},function(e,t,n){var r,i;!function(o){r=o,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))}(function(){function e(){for(var e=0,t={};e
1){if(o=e({path:"/"},r.defaults,o),"number"==typeof o.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*o.expires),o.expires=s}try{a=JSON.stringify(i),/^[\{\[]/.test(a)&&(i=a)}catch(u){}return i=n.write?n.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape),document.cookie=[t,"=",i,o.expires&&"; expires="+o.expires.toUTCString(),o.path&&"; path="+o.path,o.domain&&"; domain="+o.domain,o.secure?"; secure":""].join("")}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,d=0;d/);s.forEach(function(e){document.body.contains(a)&&a.insertAdjacentHTML("beforebegin",''+e+"
")}),document.body.contains(a)&&(a.parentNode.removeChild(a),a=null)}}})}function s(){var e=o();e.forEach(function(e){var t=i(e,"datetime");t||(t=i(e,"field-box")),t&&n(t.childNodes).forEach(function(e){if(e.nodeType===Node.TEXT_NODE&&""!==e.textContent.trim()){var t=document.createElement("label");t.appendChild(document.createTextNode(e.textContent)),e.parentNode.replaceChild(t,e)}})})}function u(){a(),s()}e.exports=u},function(e,t){function n(){window.jQuery&&window.django&&window.django.jQuery&&!function(e){e.fn.touchSupport&&e(".drag-handler").length&&e(window).touchSupport()}(window.jQuery||window.django.jQuery)}(window.jQuery||window.django&&window.django.jQuery)&&!function(e){e.fn.touchSupport=function(){function e(e){var t=e.originalEvent.changedTouches[0],n=document.createEvent("MouseEvent");n.initMouseEvent({touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup"}[e.type],!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n),e.stopPropagation()}function t(t){t.on({touchstart:e,touchmove:e,touchend:e,touchcancel:e})}t(this)}}(window.jQuery||window.django.jQuery),e.exports=n},function(e,t){function n(e){return[].slice.call(e)}function r(){var e=document.getElementsByClassName("related-widget-wrapper");return n(e).map(function(e){return e}).filter(function(e){return!!e})}function i(){var e=r();e.forEach(function(e){var t=e.getElementsByClassName("related-widget-wrapper-link");t&&t.length&&(e.className+=" widget-wrapper-links-"+t.length)})}function o(){i()}e.exports=o},function(e,t){function n(e,t){var n=e.className,r=n.indexOf(t);return!(!e||!t)&&(r===-1?n+=" "+t:n=n.substr(0,r)+n.substr(r+t.length),void(e.className=n))}function r(){var e=document.getElementsByClassName("submenu")[0],t=document.getElementsByClassName("menu-item")[0],r=document.getElementsByTagName("html")[0];e&&t&&(t.addEventListener("click",function(r){var i=r||window.event;i.preventDefault(),n(e,"submenu-open"),n(t,"menu-item-open")}),r.addEventListener("click",function(e){if(e.target!==t){var n=document.getElementsByClassName("submenu-open")[0],r=document.getElementsByClassName("menu-item-open")[0];n&&r&&(n.className=n.className.replace("submenu-open",""),r.className=r.className.replace("menu-item-open",""))}}))}e.exports=r},function(e,t,n){function r(){var e=i(".toplinks");i("#changelist-form").find(".actions").length&&i("#toolbar").addClass("actions-visible"),0===e.children().length&&e.parent().hasClass("xfull")&&e.parent().addClass("hidden")}var i=n(1);e.exports=r},function(e,t,n){function r(e){return l.ajax({url:d,data:e})}function i(e,t){var n,r,i,o=/(\.0)+[^\.]*$/;for(e=(e+"").replace(o,"").split("."),t=(t+"").replace(o,"").split("."),i=Math.min(e.length,t.length),n=0;n0||0===n&&!!t.match(/[^\.\d]+/)}function a(e,t){var n=l(l("#cms-update-notification").html());n.find(".js-latest-version").text(e.version),n.find(".js-release-notes-link").attr("href",e.url),n.find(".close").on("click",function(r){r.preventDefault(),c.set("cms_upgrade_notification_closed",JSON.stringify({version:e.version,type:t}),{expires:f}),c.set("cms_upgrade_notification_closed_recently",!0,{expires:p}),n.slideUp("fast",function(){n.remove()})}),n.prependTo("#content").slideDown("fast")}function s(e,t,n){var r=c.get("cms_upgrade_notification_closed");return r&&(r=JSON.parse(r)),(!r||r.type!==n||r.version!==e.version)&&o(e.version,t)}function u(){var e=l('meta[name="djangocms_version"]');if(e.length&&!c.get("cms_upgrade_notification_closed_recently")){var t=e.attr("content"),n=l('meta[name="djangocms_version_check_type"]').attr("content");r({version:t,type:n}).done(function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(r){}var i=e.latest;"patch"===n&&e.patches.forEach(function(e){e.version.match(new RegExp("^"+t.replace(/\.[^\.]+$/,"")))&&(i=e)}),s(i,t,n)&&a(i,n)})}}var l=n(1),c=n(2),d="https://releases.django-cms.org/",f=365,p=14;e.exports=u},function(e,t,n){var r=n(1);window.jQuery&&window.jQuery.ui&&!function(e){function t(e,t){if(!(e.originalEvent.touches.length>1)){e.preventDefault();var n=e.originalEvent.changedTouches[0],r=document.createEvent("MouseEvents");r.initMouseEvent(t,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(r)}}if(e.support.touch="ontouchend"in document,e.support.touch){var n,r=e.ui.mouse.prototype,i=r._mouseInit,o=r._mouseDestroy;r._touchStart=function(e){var r=this;!n&&r._mouseCapture(e.originalEvent.changedTouches[0])&&(n=!0,r._touchMoved=!1,t(e,"mouseover"),t(e,"mousemove"),t(e,"mousedown"))},r._touchMove=function(e){n&&(this._touchMoved=!0,t(e,"mousemove"))},r._touchEnd=function(e){n&&(t(e,"mouseup"),t(e,"mouseout"),this._touchMoved||t(e,"click"),n=!1)},r._mouseInit=function(){var t=this;t.element.bind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),i.call(t)},r._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),o.call(t)}}}(r)},function(e,t){(function(t){e.exports=t}).call(t,{})}]);
\ No newline at end of file
diff --git a/djangocms_admin_style/static/djangocms_admin_style/js/libs/js.cookie-2.1.2.min.js b/djangocms_admin_style/static/djangocms_admin_style/js/libs/js.cookie-2.1.2.min.js
new file mode 100644
index 00000000..39b78535
--- /dev/null
+++ b/djangocms_admin_style/static/djangocms_admin_style/js/libs/js.cookie-2.1.2.min.js
@@ -0,0 +1,2 @@
+/*! js-cookie v2.1.2 | MIT */
+!function(a){if("function"==typeof define&&define.amd)define(a);else if("object"==typeof exports)module.exports=a();else{var b=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=b,c}}}(function(){function a(){for(var a=0,b={};a1){if(f=a({path:"/"},d.defaults,f),"number"==typeof f.expires){var h=new Date;h.setMilliseconds(h.getMilliseconds()+864e5*f.expires),f.expires=h}try{g=JSON.stringify(e),/^[\{\[]/.test(g)&&(e=g)}catch(i){}return e=c.write?c.write(e,b):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),b=encodeURIComponent(String(b)),b=b.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),b=b.replace(/[\(\)]/g,escape),document.cookie=[b,"=",e,f.expires&&"; expires="+f.expires.toUTCString(),f.path&&"; path="+f.path,f.domain&&"; domain="+f.domain,f.secure?"; secure":""].join("")}b||(g={});for(var j=document.cookie?document.cookie.split("; "):[],k=/(%[0-9A-Z]{2})+/g,l=0;l b or a === b but a is a dev/rc version
+ */
+function greaterThanVersion(a, b) {
+ var cmp = compareVersion(a, b);
+
+ if (cmp > 0) {
+ return true;
+ } else if (cmp === 0) {
+ if (b.match(/[^\.\d]+/)) {
+ return true;
+ }
+ return false;
+ }
+
+ return false;
+}
+
+/**
+ * @function injectMessage
+ * @param {Object} versionObject
+ * @param {String} versionObject.version
+ * @param {String} versionObject.url
+ * @param {String} checkType patch or minor/major
+ */
+function injectMessage(versionObject, checkType) {
+ var messageTmpl = $($('#cms-update-notification').html());
+
+ messageTmpl.find('.js-latest-version').text(versionObject.version);
+ messageTmpl.find('.js-release-notes-link').attr('href', versionObject.url);
+ messageTmpl.find('.close').on('click', function (e) {
+ e.preventDefault();
+
+ Cookies.set(
+ 'cms_upgrade_notification_closed',
+ JSON.stringify({
+ version: versionObject.version,
+ type: checkType
+ }),
+ {
+ expires: MAIN_COOKIE_EXPIRATION
+ }
+ );
+
+ Cookies.set(
+ 'cms_upgrade_notification_closed_recently',
+ true,
+ {
+ expires: REQUEST_COOKIE_EXPIRATION
+ }
+ );
+
+ messageTmpl.slideUp('fast', function () {
+ messageTmpl.remove();
+ });
+ });
+
+ messageTmpl.prependTo('#content').slideDown('fast');
+}
+
+/**
+ * @function shouldShowMessage
+ * @private
+ * @param {Object} versionObj
+ * @param {String} versionObj.version
+ * @param {String} currentVersion
+ * @param {String} checkType
+ * @returns {Boolean}
+ */
+function shouldShowMessage(versionObj, currentVersion, checkType) {
+ var cookie = Cookies.get('cms_upgrade_notification_closed');
+
+ if (cookie) {
+ cookie = JSON.parse(cookie);
+ }
+
+ if (cookie && cookie.type === checkType && cookie.version === versionObj.version) {
+ return false;
+ }
+
+ return greaterThanVersion(versionObj.version, currentVersion);
+}
+
+/**
+ * @function init
+ * @public
+ */
+function init() {
+ var metaVersion = $('meta[name="djangocms_version"]');
+
+ if (!metaVersion.length || Cookies.get('cms_upgrade_notification_closed_recently')) {
+ return;
+ }
+
+ var currentVersion = metaVersion.attr('content');
+ var checkType = $('meta[name="djangocms_version_check_type"]').attr('content');
+
+ getLatestVersionData({
+ version: currentVersion,
+ type: checkType
+ }).done(function (response) {
+ if (typeof response === 'string') {
+ try {
+ // eslint-disable-next-line
+ response = JSON.parse(response);
+ } catch (e) { }
+ }
+
+ var versionObj = response.latest;
+
+ if (checkType === 'patch') {
+ response.patches.forEach(function (patch) {
+ if (patch.version.match(new RegExp('^' + currentVersion.replace(/\.[^\.]+$/, '')))) {
+ versionObj = patch;
+ }
+ });
+ }
+
+ if (shouldShowMessage(versionObj, currentVersion, checkType)) {
+ injectMessage(versionObj, checkType);
+ }
+ });
+}
+
+module.exports = init;
diff --git a/djangocms_admin_style/templates/admin/base_site.html b/djangocms_admin_style/templates/admin/base_site.html
index 730e2ab0..2ce14ed8 100644
--- a/djangocms_admin_style/templates/admin/base_site.html
+++ b/djangocms_admin_style/templates/admin/base_site.html
@@ -1,11 +1,12 @@
{% extends "admin/base.html" %}
-{% load i18n staticfiles %}
+{% load i18n staticfiles admin_style_tags %}
{% block extrastyle %}{% include 'admin/inc/extrastyle.html' %}{% endblock %}
{% block extrahead %}
+{% if request.user.is_superuser %}{% render_update_notification %}{% endif %}
{% include 'admin/inc/extrahead.html' %}{% endblock %}
diff --git a/djangocms_admin_style/templates/admin/inc/cms_upgrade_notification.html b/djangocms_admin_style/templates/admin/inc/cms_upgrade_notification.html
new file mode 100644
index 00000000..f645dd62
--- /dev/null
+++ b/djangocms_admin_style/templates/admin/inc/cms_upgrade_notification.html
@@ -0,0 +1,14 @@
+{% load i18n %}
+
+
+
diff --git a/djangocms_admin_style/templatetags/admin_style_tags.py b/djangocms_admin_style/templatetags/admin_style_tags.py
index fa2a1cc4..8ba5de9d 100644
--- a/djangocms_admin_style/templatetags/admin_style_tags.py
+++ b/djangocms_admin_style/templatetags/admin_style_tags.py
@@ -3,7 +3,15 @@
from __future__ import unicode_literals
from django import template
+from django.conf import settings
from django.contrib.sites.shortcuts import get_current_site
+from django.template.loader import render_to_string
+
+
+# We follow the Semantic versioning convention
+# minor - Refers to the minor release track (3.x.1)
+# patch - Refers to the patch release track (3.4.x)
+VALID_VERSION_CHECK_TYPES = ('minor', 'patch')
register = template.Library()
@@ -13,3 +21,32 @@ def current_site_name(context):
request = context.get('request')
site = get_current_site(request)
return site.name
+
+
+@register.simple_tag(takes_context=True)
+def render_update_notification(context):
+ try:
+ import cms
+ except ImportError:
+ check_type = None
+ notifications_enabled = False
+ else:
+ check_type = getattr(settings, 'CMS_UPDATE_CHECK_TYPE', 'patch')
+ notifications_enabled = getattr(settings, 'CMS_ENABLE_UPDATE_CHECK', True)
+
+ request = context.get('request')
+
+ try:
+ index_page = request.resolver_match.url_name == 'index'
+ except AttributeError:
+ notifications_enabled = False
+ else:
+ notifications_enabled = index_page and notifications_enabled
+
+ if notifications_enabled and check_type in VALID_VERSION_CHECK_TYPES:
+ context = {
+ 'cms_version': cms.__version__,
+ 'cms_version_check_type': check_type,
+ }
+ return render_to_string('admin/inc/cms_upgrade_notification.html', context)
+ return ''
diff --git a/gulpfile.js b/gulpfile.js
index 09d2667e..5a65e998 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -48,6 +48,7 @@ var PROJECT_PATTERNS = {
PROJECT_PATH.js + '/**/*.js',
PROJECT_PATH.tests + '/**/*.js',
'!' + PROJECT_PATH.js + '/**/jquery.*.js',
+ '!' + PROJECT_PATH.js + '/libs/**/*.js',
'!' + PROJECT_PATH.js + '/dist/**/*.js',
'gulpfile.js'
]
diff --git a/testserver.py b/testserver.py
index 9de7e512..06327a9f 100644
--- a/testserver.py
+++ b/testserver.py
@@ -35,6 +35,7 @@ def noop_gettext(s):
'content': 0,
'permissions': 0,
},
+ CMS_ENABLE_UPDATE_CHECK=False,
# required for integration tests
LOGIN_URL='/admin/login/?user-login=test',
CMS_LANGUAGES={
diff --git a/webpack.config.js b/webpack.config.js
index ffdbc11b..9222cae0 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -22,7 +22,8 @@ module.exports = function (opts) {
resolve: {
extensions: ['', '.js'],
alias: {
- jquery: PROJECT_PATH.js + '/libs/jquery.min.js'
+ 'jquery': PROJECT_PATH.js + '/libs/jquery.min.js',
+ 'js-cookie': PROJECT_PATH.js + '/libs/js.cookie-2.1.2.min.js'
}
},
module: {