diff --git a/bower.json b/bower.json
index 31e09051..dd393daa 100644
--- a/bower.json
+++ b/bower.json
@@ -4,7 +4,7 @@
"animate-sass": "~0.6",
"autosize": "~3.0.15",
"bootstrap-sass": "~3.3",
- "chartjs": "~2.0.0-beta2",
+ "chartjs": "~2.0.2",
"eonasdan-bootstrap-datetimepicker": "~3.1",
"humane-js": "~3.2",
"ionicons": "~2.0",
diff --git a/gulpfile.js b/gulpfile.js
index 2ec60175..1c86bfb1 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -24,7 +24,7 @@ elixir(function (mix) {
'vendor/bower_components/livestampjs/livestamp.js',
'vendor/bower_components/jquery-minicolors/jquery.minicolors.js',
'vendor/bower_components/jquery-serialize-object/jquery.serialize-object.js',
- 'vendor/bower_components/chartjs/Chart.js',
+ 'vendor/bower_components/chartjs/dist/Chart.js',
'vendor/bower_components/jquery-sparkline/dist/jquery.sparkline.js',
'vendor/bower_components/sweetalert/dist/sweetalert.min.js',
'resources/assets/js/password-strength.js',
diff --git a/public/build/dist/js/all-84f6fb9f0b.js b/public/build/dist/js/all-98b897c006.js
similarity index 51%
rename from public/build/dist/js/all-84f6fb9f0b.js
rename to public/build/dist/js/all-98b897c006.js
index 427e9b23..f7f42b29 100644
--- a/public/build/dist/js/all-84f6fb9f0b.js
+++ b/public/build/dist/js/all-98b897c006.js
@@ -1,20 +1,21 @@
-function askConfirmation(t){swal({type:"warning",title:"Confirm your action",text:"Are you sure you want to do this?",confirmButtonText:"Yes",confirmButtonColor:"#FF6F6F",showCancelButton:!0},function(){t()})}if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=!!t&&"length"in t&&t.length,n=rt.type(t);return"function"===n||rt.isWindow(t)?!1:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(rt.isFunction(e))return rt.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return rt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(mt.test(e))return rt.filter(e,t,n);e=rt.filter(e,t)}return rt.grep(t,function(t){return K.call(e,t)>-1!==n})}function a(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function r(t){var e={};return rt.each(t.match(Mt)||[],function(t,n){e[n]=!0}),e}function s(){G.removeEventListener("DOMContentLoaded",s),t.removeEventListener("load",s),rt.ready()}function o(){this.expando=rt.expando+o.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Tt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Yt.test(n)?rt.parseJSON(n):n}catch(a){}Dt.set(t,e,n)}else n=void 0;return n}function d(t,e,n,i){var a,r=1,s=20,o=i?function(){return i.cur()}:function(){return rt.css(t,e,"")},l=o(),d=n&&n[3]||(rt.cssNumber[e]?"":"px"),u=(rt.cssNumber[e]||"px"!==d&&+l)&&Ct.exec(rt.css(t,e));if(u&&u[3]!==d){d=d||u[3],n=n||[],u=+l||1;do r=r||".5",u/=r,rt.style(t,e,u+d);while(r!==(r=o()/l)&&1!==r&&--s)}return n&&(u=+u||+l||0,a=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=d,i.start=u,i.end=a)),a}function u(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&rt.nodeName(t,e)?rt.merge([t],n):n}function h(t,e){for(var n=0,i=t.length;i>n;n++)Lt.set(t[n],"globalEval",!e||Lt.get(e[n],"globalEval"))}function c(t,e,n,i,a){for(var r,s,o,l,d,c,p=e.createDocumentFragment(),f=[],m=0,g=t.length;g>m;m++)if(r=t[m],r||0===r)if("object"===rt.type(r))rt.merge(f,r.nodeType?[r]:r);else if(Et.test(r)){for(s=s||p.appendChild(e.createElement("div")),o=(Pt.exec(r)||["",""])[1].toLowerCase(),l=Wt[o]||Wt._default,s.innerHTML=l[1]+rt.htmlPrefilter(r)+l[2],c=l[0];c--;)s=s.lastChild;rt.merge(f,s.childNodes),s=p.firstChild,s.textContent=""}else f.push(e.createTextNode(r));for(p.textContent="",m=0;r=f[m++];)if(i&&rt.inArray(r,i)>-1)a&&a.push(r);else if(d=rt.contains(r.ownerDocument,r),s=u(p.appendChild(r),"script"),d&&h(s),n)for(c=0;r=s[c++];)It.test(r.type||"")&&n.push(r);return p}function p(){return!0}function f(){return!1}function m(){try{return G.activeElement}catch(t){}}function g(t,e,n,i,a,r){var s,o;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(o in e)g(t,o,n,i,e[o],r);return t}if(null==i&&null==a?(a=n,i=n=void 0):null==a&&("string"==typeof n?(a=i,i=void 0):(a=i,i=n,n=void 0)),a===!1)a=f;else if(!a)return t;return 1===r&&(s=a,a=function(t){return rt().off(t),s.apply(this,arguments)},a.guid=s.guid||(s.guid=rt.guid++)),t.each(function(){rt.event.add(this,e,a,i,n)})}function _(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function y(t){var e=$t.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){var n,i,a,r,s,o,l,d;if(1===e.nodeType){if(Lt.hasData(t)&&(r=Lt.access(t),s=Lt.set(e,r),d=r.events)){delete s.handle,s.events={};for(a in d)for(n=0,i=d[a].length;i>n;n++)rt.event.add(e,a,d[a][n])}Dt.hasData(t)&&(o=Dt.access(t),l=rt.extend({},o),Dt.set(e,l))}}function M(t,e){var n=e.nodeName.toLowerCase();"input"===n&&jt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function w(t,e,n,i){e=Q.apply([],e);var a,r,s,o,l,d,h=0,p=t.length,f=p-1,m=e[0],g=rt.isFunction(m);if(g||p>1&&"string"==typeof m&&!it.checkClone&&Bt.test(m))return t.each(function(a){var r=t.eq(a);g&&(e[0]=m.call(this,a,r.html())),w(r,e,n,i)});if(p&&(a=c(e,t[0].ownerDocument,!1,t,i),r=a.firstChild,1===a.childNodes.length&&(a=r),r||i)){for(s=rt.map(u(a,"script"),v),o=s.length;p>h;h++)l=a,h!==f&&(l=rt.clone(l,!0,!0),o&&rt.merge(s,u(l,"script"))),n.call(t[h],l,h);if(o)for(d=s[s.length-1].ownerDocument,rt.map(s,y),h=0;o>h;h++)l=s[h],It.test(l.type||"")&&!Lt.access(l,"globalEval")&&rt.contains(d,l)&&(l.src?rt._evalUrl&&rt._evalUrl(l.src):rt.globalEval(l.textContent.replace(Vt,"")))}return t}function k(t,e,n){for(var i,a=e?rt.filter(e,t):t,r=0;null!=(i=a[r]);r++)n||1!==i.nodeType||rt.cleanData(u(i)),i.parentNode&&(n&&rt.contains(i.ownerDocument,i)&&h(u(i,"script")),i.parentNode.removeChild(i));return t}function x(t,e){var n=rt(e.createElement(t)).appendTo(e.body),i=rt.css(n[0],"display");return n.detach(),i}function L(t){var e=G,n=Ut[t];return n||(n=x(t,e),"none"!==n&&n||(qt=(qt||rt("")).appendTo(e.documentElement),e=qt[0].contentDocument,e.write(),e.close(),n=x(t,e),qt.detach()),Ut[t]=n),n}function D(t,e,n){var i,a,r,s,o=t.style;return n=n||Xt(t),s=n?n.getPropertyValue(e)||n[e]:void 0,""!==s&&void 0!==s||rt.contains(t.ownerDocument,t)||(s=rt.style(t,e)),n&&!it.pixelMarginRight()&&Gt.test(s)&&Jt.test(e)&&(i=o.width,a=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=i,o.minWidth=a,o.maxWidth=r),void 0!==s?s+"":s}function Y(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function T(t){if(t in ie)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ne.length;n--;)if(t=ne[n]+e,t in ie)return t}function S(t,e,n){var i=Ct.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function C(t,e,n,i,a){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,s=0;4>r;r+=2)"margin"===n&&(s+=rt.css(t,n+At[r],!0,a)),i?("content"===n&&(s-=rt.css(t,"padding"+At[r],!0,a)),"margin"!==n&&(s-=rt.css(t,"border"+At[r]+"Width",!0,a))):(s+=rt.css(t,"padding"+At[r],!0,a),"padding"!==n&&(s+=rt.css(t,"border"+At[r]+"Width",!0,a)));return s}function A(e,n,i){var a=!0,r="width"===n?e.offsetWidth:e.offsetHeight,s=Xt(e),o="border-box"===rt.css(e,"boxSizing",!1,s);if(G.msFullscreenElement&&t.top!==t&&e.getClientRects().length&&(r=Math.round(100*e.getBoundingClientRect()[n])),0>=r||null==r){if(r=D(e,n,s),(0>r||null==r)&&(r=e.style[n]),Gt.test(r))return r;a=o&&(it.boxSizingReliable()||r===e.style[n]),r=parseFloat(r)||0}return r+C(e,n,i||(o?"border":"content"),a,s)+"px"}function H(t,e){for(var n,i,a,r=[],s=0,o=t.length;o>s;s++)i=t[s],i.style&&(r[s]=Lt.get(i,"olddisplay"),n=i.style.display,e?(r[s]||"none"!==n||(i.style.display=""),""===i.style.display&&Ht(i)&&(r[s]=Lt.access(i,"olddisplay",L(i.nodeName)))):(a=Ht(i),"none"===n&&a||Lt.set(i,"olddisplay",a?n:rt.css(i,"display"))));for(s=0;o>s;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[s]||"":"none"));return t}function j(t,e,n,i,a){return new j.prototype.init(t,e,n,i,a)}function P(){return t.setTimeout(function(){ae=void 0}),ae=rt.now()}function I(t,e){var n,i=0,a={height:t};for(e=e?1:0;4>i;i+=2-e)n=At[i],a["margin"+n]=a["padding"+n]=t;return e&&(a.opacity=a.width=t),a}function W(t,e,n){for(var i,a=(O.tweeners[e]||[]).concat(O.tweeners["*"]),r=0,s=a.length;s>r;r++)if(i=a[r].call(n,e,t))return i}function E(t,e,n){var i,a,r,s,o,l,d,u,h=this,c={},p=t.style,f=t.nodeType&&Ht(t),m=Lt.get(t,"fxshow");n.queue||(o=rt._queueHooks(t,"fx"),null==o.unqueued&&(o.unqueued=0,l=o.empty.fire,o.empty.fire=function(){o.unqueued||l()}),o.unqueued++,h.always(function(){h.always(function(){o.unqueued--,rt.queue(t,"fx").length||o.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],d=rt.css(t,"display"),u="none"===d?Lt.get(t,"olddisplay")||L(t.nodeName):d,"inline"===u&&"none"===rt.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(i in e)if(a=e[i],se.exec(a)){if(delete e[i],r=r||"toggle"===a,a===(f?"hide":"show")){if("show"!==a||!m||void 0===m[i])continue;f=!0}c[i]=m&&m[i]||rt.style(t,i)}else d=void 0;if(rt.isEmptyObject(c))"inline"===("none"===d?L(t.nodeName):d)&&(p.display=d);else{m?"hidden"in m&&(f=m.hidden):m=Lt.access(t,"fxshow",{}),r&&(m.hidden=!f),f?rt(t).show():h.done(function(){rt(t).hide()}),h.done(function(){var e;Lt.remove(t,"fxshow");for(e in c)rt.style(t,e,c[e])});for(i in c)s=W(f?m[i]:0,i,h),i in m||(m[i]=s.start,f&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function F(t,e){var n,i,a,r,s;for(n in t)if(i=rt.camelCase(n),a=e[i],r=t[n],rt.isArray(r)&&(a=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),s=rt.cssHooks[i],s&&"expand"in s){r=s.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=a)}else e[i]=a}function O(t,e,n){var i,a,r=0,s=O.prefilters.length,o=rt.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=ae||P(),n=Math.max(0,d.startTime+d.duration-e),i=n/d.duration||0,r=1-i,s=0,l=d.tweens.length;l>s;s++)d.tweens[s].run(r);return o.notifyWith(t,[d,r,n]),1>r&&l?n:(o.resolveWith(t,[d]),!1)},d=o.promise({elem:t,props:rt.extend({},e),opts:rt.extend(!0,{specialEasing:{},easing:rt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ae||P(),duration:n.duration,tweens:[],createTween:function(e,n){var i=rt.Tween(t,d.opts,e,n,d.opts.specialEasing[e]||d.opts.easing);return d.tweens.push(i),i},stop:function(e){var n=0,i=e?d.tweens.length:0;if(a)return this;for(a=!0;i>n;n++)d.tweens[n].run(1);return e?(o.notifyWith(t,[d,1,0]),o.resolveWith(t,[d,e])):o.rejectWith(t,[d,e]),this}}),u=d.props;for(F(u,d.opts.specialEasing);s>r;r++)if(i=O.prefilters[r].call(d,t,u,d.opts))return rt.isFunction(i.stop)&&(rt._queueHooks(d.elem,d.opts.queue).stop=rt.proxy(i.stop,i)),i;return rt.map(u,W,d),rt.isFunction(d.opts.start)&&d.opts.start.call(t,d),rt.fx.timer(rt.extend(l,{elem:t,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}function R(t){return t.getAttribute&&t.getAttribute("class")||""}function N(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,a=0,r=e.toLowerCase().match(Mt)||[];if(rt.isFunction(n))for(;i=r[a++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function z(t,e,n,i){function a(o){var l;return r[o]=!0,rt.each(t[o]||[],function(t,o){var d=o(e,n,i);return"string"!=typeof d||s||r[d]?s?!(l=d):void 0:(e.dataTypes.unshift(d),a(d),!1)}),l}var r={},s=t===De;return a(e.dataTypes[0])||!r["*"]&&a("*")}function B(t,e){var n,i,a=rt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((a[n]?t:i||(i={}))[n]=e[n]);return i&&rt.extend(!0,t,i),t}function $(t,e,n){for(var i,a,r,s,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(a in o)if(o[a]&&o[a].test(i)){l.unshift(a);break}if(l[0]in n)r=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){r=a;break}s||(s=a)}r=r||s}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}function V(t,e,n,i){var a,r,s,o,l,d={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)d[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(s=d[l+" "+r]||d["* "+r],!s)for(a in d)if(o=a.split(" "),o[1]===r&&(s=d[l+" "+o[0]]||d["* "+o[0]])){s===!0?s=d[a]:d[a]!==!0&&(r=o[0],u.unshift(o[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(h){return{state:"parsererror",error:s?h:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}function q(t,e,n,i){var a;if(rt.isArray(e))rt.each(e,function(e,a){n||Ce.test(t)?i(t,a):q(t+"["+("object"==typeof a&&null!=a?e:"")+"]",a,n,i)});else if(n||"object"!==rt.type(e))i(t,e);else for(a in e)q(t+"["+a+"]",e[a],n,i)}function U(t){return rt.isWindow(t)?t:9===t.nodeType&&t.defaultView}var J=[],G=t.document,X=J.slice,Q=J.concat,Z=J.push,K=J.indexOf,tt={},et=tt.toString,nt=tt.hasOwnProperty,it={},at="2.2.2",rt=function(t,e){return new rt.fn.init(t,e)},st=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ot=/^-ms-/,lt=/-([\da-z])/gi,dt=function(t,e){return e.toUpperCase()};rt.fn=rt.prototype={jquery:at,constructor:rt,selector:"",length:0,toArray:function(){return X.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:X.call(this)},pushStack:function(t){var e=rt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return rt.each(this,t)},map:function(t){return this.pushStack(rt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(X.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:J.sort,splice:J.splice},rt.extend=rt.fn.extend=function(){var t,e,n,i,a,r,s=arguments[0]||{},o=1,l=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[o]||{},o++),"object"==typeof s||rt.isFunction(s)||(s={}),o===l&&(s=this,o--);l>o;o++)if(null!=(t=arguments[o]))for(e in t)n=s[e],i=t[e],s!==i&&(d&&i&&(rt.isPlainObject(i)||(a=rt.isArray(i)))?(a?(a=!1,r=n&&rt.isArray(n)?n:[]):r=n&&rt.isPlainObject(n)?n:{},s[e]=rt.extend(d,r,i)):void 0!==i&&(s[e]=i));return s},rt.extend({expando:"jQuery"+(at+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===rt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!rt.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){var e;if("object"!==rt.type(t)||t.nodeType||rt.isWindow(t))return!1;if(t.constructor&&!nt.call(t,"constructor")&&!nt.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||nt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=rt.trim(t),t&&(1===t.indexOf("use strict")?(e=G.createElement("script"),e.text=t,G.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(ot,"ms-").replace(lt,dt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,a=0;if(n(t))for(i=t.length;i>a&&e.call(t[a],a,t[a])!==!1;a++);else for(a in t)if(e.call(t[a],a,t[a])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(st,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?rt.merge(i,"string"==typeof t?[t]:t):Z.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:K.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,a=t.length;n>i;i++)t[a++]=e[i];return t.length=a,t},grep:function(t,e,n){for(var i,a=[],r=0,s=t.length,o=!n;s>r;r++)i=!e(t[r],r),i!==o&&a.push(t[r]);return a},map:function(t,e,i){var a,r,s=0,o=[];if(n(t))for(a=t.length;a>s;s++)r=e(t[s],s,i),null!=r&&o.push(r);else for(s in t)r=e(t[s],s,i),null!=r&&o.push(r);return Q.apply([],o)},guid:1,proxy:function(t,e){var n,i,a;return"string"==typeof e&&(n=t[e],e=t,t=n),rt.isFunction(t)?(i=X.call(arguments,2),a=function(){return t.apply(e||this,i.concat(X.call(arguments)))},a.guid=t.guid=t.guid||rt.guid++,a):void 0},now:Date.now,support:it}),"function"==typeof Symbol&&(rt.fn[Symbol.iterator]=J[Symbol.iterator]),rt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()});var ut=function(t){function e(t,e,n,i){var a,r,s,o,l,d,h,p,f=e&&e.ownerDocument,m=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==m&&9!==m&&11!==m)return n;if(!i&&((e?e.ownerDocument||e:R)!==H&&A(e),e=e||H,P)){if(11!==m&&(d=_t.exec(t)))if(a=d[1]){if(9===m){if(!(s=e.getElementById(a)))return n;if(s.id===a)return n.push(s),n}else if(f&&(s=f.getElementById(a))&&F(e,s)&&s.id===a)return n.push(s),n}else{if(d[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((a=d[3])&&M.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(a)),n}if(M.qsa&&!V[t+" "]&&(!I||!I.test(t))){if(1!==m)f=e,p=t;else if("object"!==e.nodeName.toLowerCase()){for((o=e.getAttribute("id"))?o=o.replace(yt,"\\$&"):e.setAttribute("id",o=O),h=L(t),r=h.length,l=ct.test(o)?"#"+o:"[id='"+o+"']";r--;)h[r]=l+" "+c(h[r]);p=h.join(","),f=vt.test(t)&&u(e.parentNode)||e}if(p)try{return Z.apply(n,f.querySelectorAll(p)),n}catch(g){}finally{o===O&&e.removeAttribute("id")}}}return Y(t.replace(ot,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[O]=!0,t}function a(t){var e=H.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||U)-(~t.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function o(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function d(t){return i(function(e){return e=+e,i(function(n,i){for(var a,r=t([],n.length,e),s=r.length;s--;)n[a=r[s]]&&(n[a]=!(i[a]=n[a]))})})}function u(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function c(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,a=n&&"parentNode"===i,r=z++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,r)}:function(e,n,s){var o,l,d,u=[N,r];if(s){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||a){if(d=e[O]||(e[O]={}),l=d[e.uniqueID]||(d[e.uniqueID]={}),(o=l[i])&&o[0]===N&&o[1]===r)return u[2]=o[2];if(l[i]=u,u[2]=t(e,n,s))return!0}}}function f(t){return t.length>1?function(e,n,i){for(var a=t.length;a--;)if(!t[a](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var a=0,r=n.length;r>a;a++)e(t,n[a],i);return i}function g(t,e,n,i,a){for(var r,s=[],o=0,l=t.length,d=null!=e;l>o;o++)(r=t[o])&&(n&&!n(r,i,a)||(s.push(r),d&&e.push(o)));return s}function _(t,e,n,a,r,s){return a&&!a[O]&&(a=_(a)),r&&!r[O]&&(r=_(r,s)),i(function(i,s,o,l){var d,u,h,c=[],p=[],f=s.length,_=i||m(e||"*",o.nodeType?[o]:o,[]),v=!t||!i&&e?_:g(_,c,t,o,l),y=n?r||(i?t:f||a)?[]:s:v;if(n&&n(v,y,o,l),a)for(d=g(y,p),a(d,[],o,l),u=d.length;u--;)(h=d[u])&&(y[p[u]]=!(v[p[u]]=h));if(i){if(r||t){if(r){for(d=[],u=y.length;u--;)(h=y[u])&&d.push(v[u]=h);r(null,y=[],d,l)}for(u=y.length;u--;)(h=y[u])&&(d=r?tt(i,h):c[u])>-1&&(i[d]=!(s[d]=h))}}else y=g(y===s?y.splice(f,y.length):y),r?r(null,s,y,l):Z.apply(s,y)})}function v(t){for(var e,n,i,a=t.length,r=w.relative[t[0].type],s=r||w.relative[" "],o=r?1:0,l=p(function(t){return t===e},s,!0),d=p(function(t){return tt(e,t)>-1},s,!0),u=[function(t,n,i){var a=!r&&(i||n!==T)||((e=n).nodeType?l(t,n,i):d(t,n,i));return e=null,a}];a>o;o++)if(n=w.relative[t[o].type])u=[p(f(u),n)];else{if(n=w.filter[t[o].type].apply(null,t[o].matches),n[O]){for(i=++o;a>i&&!w.relative[t[i].type];i++);return _(o>1&&f(u),o>1&&c(t.slice(0,o-1).concat({value:" "===t[o-2].type?"*":""})).replace(ot,"$1"),n,i>o&&v(t.slice(o,i)),a>i&&v(t=t.slice(i)),a>i&&c(t))}u.push(n)}return f(u)}function y(t,n){var a=n.length>0,r=t.length>0,s=function(i,s,o,l,d){var u,h,c,p=0,f="0",m=i&&[],_=[],v=T,y=i||r&&w.find.TAG("*",d),b=N+=null==v?1:Math.random()||.1,M=y.length;for(d&&(T=s===H||s||d);f!==M&&null!=(u=y[f]);f++){if(r&&u){for(h=0,s||u.ownerDocument===H||(A(u),o=!P);c=t[h++];)if(c(u,s||H,o)){l.push(u);break}d&&(N=b)}a&&((u=!c&&u)&&p--,i&&m.push(u))}if(p+=f,a&&f!==p){for(h=0;c=n[h++];)c(m,_,s,o);if(i){if(p>0)for(;f--;)m[f]||_[f]||(_[f]=X.call(l));_=g(_)}Z.apply(l,_),d&&!i&&_.length>0&&p+n.length>1&&e.uniqueSort(l)}return d&&(N=b,T=v),m};return a?i(s):s}var b,M,w,k,x,L,D,Y,T,S,C,A,H,j,P,I,W,E,F,O="sizzle"+1*new Date,R=t.document,N=0,z=0,B=n(),$=n(),V=n(),q=function(t,e){return t===e&&(C=!0),0},U=1<<31,J={}.hasOwnProperty,G=[],X=G.pop,Q=G.push,Z=G.push,K=G.slice,tt=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",at="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+nt+"*\\]",rt=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+at+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),ot=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),dt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ut=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ht=new RegExp(rt),ct=new RegExp("^"+it+"$"),pt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},ft=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,_t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,yt=/'|\\/g,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),Mt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},wt=function(){A()};try{Z.apply(G=K.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(kt){Z={apply:G.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}M=e.support={},x=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},A=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:R;return i!==H&&9===i.nodeType&&i.documentElement?(H=i,j=H.documentElement,P=!x(H),(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",wt,!1):n.attachEvent&&n.attachEvent("onunload",wt)),M.attributes=a(function(t){return t.className="i",!t.getAttribute("className")}),M.getElementsByTagName=a(function(t){return t.appendChild(H.createComment("")),!t.getElementsByTagName("*").length}),M.getElementsByClassName=gt.test(H.getElementsByClassName),M.getById=a(function(t){return j.appendChild(t).id=O,!H.getElementsByName||!H.getElementsByName(O).length}),M.getById?(w.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&P){var n=e.getElementById(t);return n?[n]:[]}},w.filter.ID=function(t){var e=t.replace(bt,Mt);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(bt,Mt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),w.find.TAG=M.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):M.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],a=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[a++];)1===n.nodeType&&i.push(n);return i}return r},w.find.CLASS=M.getElementsByClassName&&function(t,e){return"undefined"!=typeof e.getElementsByClassName&&P?e.getElementsByClassName(t):void 0},W=[],I=[],(M.qsa=gt.test(H.querySelectorAll))&&(a(function(t){j.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+O+"-]").length||I.push("~="),t.querySelectorAll(":checked").length||I.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||I.push(".#.+[+~]")}),a(function(t){var e=H.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(M.matchesSelector=gt.test(E=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&a(function(t){M.disconnectedMatch=E.call(t,"div"),E.call(t,"[s!='']:x"),W.push("!=",rt)}),I=I.length&&new RegExp(I.join("|")),W=W.length&&new RegExp(W.join("|")),e=gt.test(j.compareDocumentPosition),F=e||gt.test(j.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},q=e?function(t,e){if(t===e)return C=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!M.sortDetached&&e.compareDocumentPosition(t)===n?t===H||t.ownerDocument===R&&F(R,t)?-1:e===H||e.ownerDocument===R&&F(R,e)?1:S?tt(S,t)-tt(S,e):0:4&n?-1:1)}:function(t,e){if(t===e)return C=!0,0;var n,i=0,a=t.parentNode,r=e.parentNode,o=[t],l=[e];if(!a||!r)return t===H?-1:e===H?1:a?-1:r?1:S?tt(S,t)-tt(S,e):0;if(a===r)return s(t,e);for(n=t;n=n.parentNode;)o.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;o[i]===l[i];)i++;return i?s(o[i],l[i]):o[i]===R?-1:l[i]===R?1:0},H):H},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==H&&A(t),n=n.replace(ut,"='$1']"),M.matchesSelector&&P&&!V[n+" "]&&(!W||!W.test(n))&&(!I||!I.test(n)))try{var i=E.call(t,n);if(i||M.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(a){}return e(n,H,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==H&&A(t),F(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==H&&A(t);var n=w.attrHandle[e.toLowerCase()],i=n&&J.call(w.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==i?i:M.attributes||!P?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,a=0;if(C=!M.detectDuplicates,S=!M.sortStable&&t.slice(0),t.sort(q),C){for(;e=t[a++];)e===t[a]&&(i=n.push(a));for(;i--;)t.splice(n[i],1)}return S=null,t},k=e.getText=function(t){var e,n="",i=0,a=t.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=k(t)}else if(3===a||4===a)return t.nodeValue}else for(;e=t[i++];)n+=k(e);return n},w=e.selectors={cacheLength:50,createPseudo:i,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,Mt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,Mt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=L(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,Mt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(a){var r=e.attr(a,t);return null==r?"!="===n:n?(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(st," ")+" ").indexOf(i)>-1:"|="===n?r===i||r.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,a){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),o="of-type"===e;return 1===i&&0===a?function(t){return!!t.parentNode}:function(e,n,l){var d,u,h,c,p,f,m=r!==s?"nextSibling":"previousSibling",g=e.parentNode,_=o&&e.nodeName.toLowerCase(),v=!l&&!o,y=!1;if(g){if(r){for(;m;){for(c=e;c=c[m];)if(o?c.nodeName.toLowerCase()===_:1===c.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&v){for(c=g,h=c[O]||(c[O]={}),u=h[c.uniqueID]||(h[c.uniqueID]={}),d=u[t]||[],p=d[0]===N&&d[1],y=p&&d[2],c=p&&g.childNodes[p];c=++p&&c&&c[m]||(y=p=0)||f.pop();)if(1===c.nodeType&&++y&&c===e){u[t]=[N,p,y];break}}else if(v&&(c=e,h=c[O]||(c[O]={}),u=h[c.uniqueID]||(h[c.uniqueID]={}),d=u[t]||[],p=d[0]===N&&d[1],y=p),y===!1)for(;(c=++p&&c&&c[m]||(y=p=0)||f.pop())&&((o?c.nodeName.toLowerCase()!==_:1!==c.nodeType)||!++y||(v&&(h=c[O]||(c[O]={}),u=h[c.uniqueID]||(h[c.uniqueID]={}),u[t]=[N,y]),c!==e)););return y-=a,y===i||y%i===0&&y/i>=0}}},PSEUDO:function(t,n){var a,r=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[O]?r(n):r.length>1?(a=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,a=r(t,n),s=a.length;s--;)i=tt(t,a[s]),t[i]=!(e[i]=a[s])}):function(t){return r(t,0,a)}):r}},pseudos:{not:i(function(t){var e=[],n=[],a=D(t.replace(ot,"$1"));return a[O]?i(function(t,e,n,i){for(var r,s=a(t,null,i,[]),o=t.length;o--;)(r=s[o])&&(t[o]=!(e[o]=r))}):function(t,i,r){return e[0]=t,a(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(bt,Mt),function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:i(function(t){return ct.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,Mt).toLowerCase(),function(e){var n;do if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===j},focus:function(t){return t===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return ft.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},
-text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:d(function(){return[0]}),last:d(function(t,e){return[e-1]}),eq:d(function(t,e,n){return[0>n?n+e:n]}),even:d(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:d(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:d(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:d(function(t,e,n){for(var i=0>n?n+e:n;++i2&&"ID"===(s=r[0]).type&&M.getById&&9===e.nodeType&&P&&w.relative[r[1].type]){if(e=(w.find.ID(s.matches[0].replace(bt,Mt),e)||[])[0],!e)return n;d&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(a=pt.needsContext.test(t)?0:r.length;a--&&(s=r[a],!w.relative[o=s.type]);)if((l=w.find[o])&&(i=l(s.matches[0].replace(bt,Mt),vt.test(r[0].type)&&u(e.parentNode)||e))){if(r.splice(a,1),t=i.length&&c(r),!t)return Z.apply(n,i),n;break}}return(d||D(t,h))(i,e,!P,n,!e||vt.test(t)&&u(e.parentNode)||e),n},M.sortStable=O.split("").sort(q).join("")===O,M.detectDuplicates=!!C,A(),M.sortDetached=a(function(t){return 1&t.compareDocumentPosition(H.createElement("div"))}),a(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),M.attributes&&a(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),a(function(t){return null==t.getAttribute("disabled")})||r(et,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);rt.find=ut,rt.expr=ut.selectors,rt.expr[":"]=rt.expr.pseudos,rt.uniqueSort=rt.unique=ut.uniqueSort,rt.text=ut.getText,rt.isXMLDoc=ut.isXML,rt.contains=ut.contains;var ht=function(t,e,n){for(var i=[],a=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(a&&rt(t).is(n))break;i.push(t)}return i},ct=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},pt=rt.expr.match.needsContext,ft=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,mt=/^.[^:#\[\.,]*$/;rt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?rt.find.matchesSelector(i,t)?[i]:[]:rt.find.matches(t,rt.grep(e,function(t){return 1===t.nodeType}))},rt.fn.extend({find:function(t){var e,n=this.length,i=[],a=this;if("string"!=typeof t)return this.pushStack(rt(t).filter(function(){for(e=0;n>e;e++)if(rt.contains(a[e],this))return!0}));for(e=0;n>e;e++)rt.find(t,a[e],i);return i=this.pushStack(n>1?rt.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&pt.test(t)?rt(t):t||[],!1).length}});var gt,_t=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,vt=rt.fn.init=function(t,e,n){var i,a;if(!t)return this;if(n=n||gt,"string"==typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:_t.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof rt?e[0]:e,rt.merge(this,rt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:G,!0)),ft.test(i[1])&&rt.isPlainObject(e))for(i in e)rt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return a=G.getElementById(i[2]),a&&a.parentNode&&(this.length=1,this[0]=a),this.context=G,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):rt.isFunction(t)?void 0!==n.ready?n.ready(t):t(rt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),rt.makeArray(t,this))};vt.prototype=rt.fn,gt=rt(G);var yt=/^(?:parents|prev(?:Until|All))/,bt={children:!0,contents:!0,next:!0,prev:!0};rt.fn.extend({has:function(t){var e=rt(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(rt.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,a=this.length,r=[],s=pt.test(t)||"string"!=typeof t?rt(t,e||this.context):0;a>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&rt.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?rt.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?K.call(rt(t),this[0]):K.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(rt.uniqueSort(rt.merge(this.get(),rt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),rt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ht(t,"parentNode")},parentsUntil:function(t,e,n){return ht(t,"parentNode",n)},next:function(t){return a(t,"nextSibling")},prev:function(t){return a(t,"previousSibling")},nextAll:function(t){return ht(t,"nextSibling")},prevAll:function(t){return ht(t,"previousSibling")},nextUntil:function(t,e,n){return ht(t,"nextSibling",n)},prevUntil:function(t,e,n){return ht(t,"previousSibling",n)},siblings:function(t){return ct((t.parentNode||{}).firstChild,t)},children:function(t){return ct(t.firstChild)},contents:function(t){return t.contentDocument||rt.merge([],t.childNodes)}},function(t,e){rt.fn[t]=function(n,i){var a=rt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(a=rt.filter(i,a)),this.length>1&&(bt[t]||rt.uniqueSort(a),yt.test(t)&&a.reverse()),this.pushStack(a)}});var Mt=/\S+/g;rt.Callbacks=function(t){t="string"==typeof t?r(t):rt.extend({},t);var e,n,i,a,s=[],o=[],l=-1,d=function(){for(a=t.once,i=e=!0;o.length;l=-1)for(n=o.shift();++l-1;)s.splice(n,1),l>=n&&l--}),this},has:function(t){return t?rt.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return a=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return a=o=[],n||(s=n=""),this},locked:function(){return!!a},fireWith:function(t,n){return a||(n=n||[],n=[t,n.slice?n.slice():n],o.push(n),e||d()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},rt.extend({Deferred:function(t){var e=[["resolve","done",rt.Callbacks("once memory"),"resolved"],["reject","fail",rt.Callbacks("once memory"),"rejected"],["notify","progress",rt.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var t=arguments;return rt.Deferred(function(n){rt.each(e,function(e,r){var s=rt.isFunction(t[e])&&t[e];a[r[1]](function(){var t=s&&s.apply(this,arguments);t&&rt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?rt.extend(t,i):i}},a={};return i.pipe=i.then,rt.each(e,function(t,r){var s=r[2],o=r[3];i[r[1]]=s.add,o&&s.add(function(){n=o},e[1^t][2].disable,e[2][2].lock),a[r[0]]=function(){return a[r[0]+"With"](this===a?i:this,arguments),this},a[r[0]+"With"]=s.fireWith}),i.promise(a),t&&t.call(a,a),a},when:function(t){var e,n,i,a=0,r=X.call(arguments),s=r.length,o=1!==s||t&&rt.isFunction(t.promise)?s:0,l=1===o?t:rt.Deferred(),d=function(t,n,i){return function(a){n[t]=this,i[t]=arguments.length>1?X.call(arguments):a,i===e?l.notifyWith(n,i):--o||l.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);s>a;a++)r[a]&&rt.isFunction(r[a].promise)?r[a].promise().progress(d(a,n,e)).done(d(a,i,r)).fail(l.reject):--o;return o||l.resolveWith(i,r),l.promise()}});var wt;rt.fn.ready=function(t){return rt.ready.promise().done(t),this},rt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?rt.readyWait++:rt.ready(!0)},ready:function(t){(t===!0?--rt.readyWait:rt.isReady)||(rt.isReady=!0,t!==!0&&--rt.readyWait>0||(wt.resolveWith(G,[rt]),rt.fn.triggerHandler&&(rt(G).triggerHandler("ready"),rt(G).off("ready"))))}}),rt.ready.promise=function(e){return wt||(wt=rt.Deferred(),"complete"===G.readyState||"loading"!==G.readyState&&!G.documentElement.doScroll?t.setTimeout(rt.ready):(G.addEventListener("DOMContentLoaded",s),t.addEventListener("load",s))),wt.promise(e)},rt.ready.promise();var kt=function(t,e,n,i,a,r,s){var o=0,l=t.length,d=null==n;if("object"===rt.type(n)){a=!0;for(o in n)kt(t,e,o,n[o],!0,r,s)}else if(void 0!==i&&(a=!0,rt.isFunction(i)||(s=!0),d&&(s?(e.call(t,i),e=null):(d=e,e=function(t,e,n){return d.call(rt(t),n)})),e))for(;l>o;o++)e(t[o],n,s?i:i.call(t[o],o,e(t[o],n)));return a?t:d?e.call(t):l?e(t[0],n):r},xt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};o.uid=1,o.prototype={register:function(t,e){var n=e||{};return t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){if(!xt(t))return{};var e=t[this.expando];return e||(e={},xt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,a=this.cache(t);if("string"==typeof e)a[e]=n;else for(i in e)a[i]=e[i];return a},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,rt.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,a,r=t[this.expando];if(void 0!==r){if(void 0===e)this.register(t);else{rt.isArray(e)?i=e.concat(e.map(rt.camelCase)):(a=rt.camelCase(e),e in r?i=[e,a]:(i=a,i=i in r?[i]:i.match(Mt)||[])),n=i.length;for(;n--;)delete r[i[n]]}(void 0===e||rt.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!rt.isEmptyObject(e)}};var Lt=new o,Dt=new o,Yt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Tt=/[A-Z]/g;rt.extend({hasData:function(t){return Dt.hasData(t)||Lt.hasData(t)},data:function(t,e,n){return Dt.access(t,e,n)},removeData:function(t,e){Dt.remove(t,e)},_data:function(t,e,n){return Lt.access(t,e,n)},_removeData:function(t,e){Lt.remove(t,e)}}),rt.fn.extend({data:function(t,e){var n,i,a,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(a=Dt.get(r),1===r.nodeType&&!Lt.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=rt.camelCase(i.slice(5)),l(r,i,a[i])));Lt.set(r,"hasDataAttrs",!0)}return a}return"object"==typeof t?this.each(function(){Dt.set(this,t)}):kt(this,function(e){var n,i;if(r&&void 0===e){if(n=Dt.get(r,t)||Dt.get(r,t.replace(Tt,"-$&").toLowerCase()),void 0!==n)return n;if(i=rt.camelCase(t),n=Dt.get(r,i),void 0!==n)return n;if(n=l(r,i,void 0),void 0!==n)return n}else i=rt.camelCase(t),this.each(function(){var n=Dt.get(this,i);Dt.set(this,i,e),t.indexOf("-")>-1&&void 0!==n&&Dt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Dt.remove(this,t)})}}),rt.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=Lt.get(t,e),n&&(!i||rt.isArray(n)?i=Lt.access(t,e,rt.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=rt.queue(t,e),i=n.length,a=n.shift(),r=rt._queueHooks(t,e),s=function(){rt.dequeue(t,e)};"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===e&&n.unshift("inprogress"),delete r.stop,a.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Lt.get(t,n)||Lt.access(t,n,{empty:rt.Callbacks("once memory").add(function(){Lt.remove(t,[e+"queue",n])})})}}),rt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length",""],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};Wt.optgroup=Wt.option,Wt.tbody=Wt.tfoot=Wt.colgroup=Wt.caption=Wt.thead,Wt.th=Wt.td;var Et=/<|?\w+;/;!function(){var t=G.createDocumentFragment(),e=t.appendChild(G.createElement("div")),n=G.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),it.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",it.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Ft=/^key/,Ot=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Rt=/^([^.]*)(?:\.(.+)|)/;rt.event={global:{},add:function(t,e,n,i,a){var r,s,o,l,d,u,h,c,p,f,m,g=Lt.get(t);if(g)for(n.handler&&(r=n,n=r.handler,a=r.selector),n.guid||(n.guid=rt.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(e){return"undefined"!=typeof rt&&rt.event.triggered!==e.type?rt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Mt)||[""],d=e.length;d--;)o=Rt.exec(e[d])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p&&(h=rt.event.special[p]||{},p=(a?h.delegateType:h.bindType)||p,h=rt.event.special[p]||{},u=rt.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&rt.expr.match.needsContext.test(a),namespace:f.join(".")},r),(c=l[p])||(c=l[p]=[],c.delegateCount=0,h.setup&&h.setup.call(t,i,f,s)!==!1||t.addEventListener&&t.addEventListener(p,s)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),a?c.splice(c.delegateCount++,0,u):c.push(u),rt.event.global[p]=!0)},remove:function(t,e,n,i,a){var r,s,o,l,d,u,h,c,p,f,m,g=Lt.hasData(t)&&Lt.get(t);if(g&&(l=g.events)){for(e=(e||"").match(Mt)||[""],d=e.length;d--;)if(o=Rt.exec(e[d])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p){for(h=rt.event.special[p]||{},p=(i?h.delegateType:h.bindType)||p,c=l[p]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=c.length;r--;)u=c[r],!a&&m!==u.origType||n&&n.guid!==u.guid||o&&!o.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(c.splice(r,1),u.selector&&c.delegateCount--,h.remove&&h.remove.call(t,u));s&&!c.length&&(h.teardown&&h.teardown.call(t,f,g.handle)!==!1||rt.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)rt.event.remove(t,p+e[d],n,i,!0);rt.isEmptyObject(l)&&Lt.remove(t,"handle events")}},dispatch:function(t){t=rt.event.fix(t);var e,n,i,a,r,s=[],o=X.call(arguments),l=(Lt.get(this,"events")||{})[t.type]||[],d=rt.event.special[t.type]||{};if(o[0]=t,t.delegateTarget=this,!d.preDispatch||d.preDispatch.call(this,t)!==!1){for(s=rt.event.handlers.call(this,t,l),e=0;(a=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=a.elem,n=0;(r=a.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(r.namespace)||(t.handleObj=r,t.data=r.data,i=((rt.event.special[r.origType]||{}).handle||r.handler).apply(a.elem,o),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,a,r,s=[],o=e.delegateCount,l=t.target;if(o&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(i=[],n=0;o>n;n++)r=e[n],a=r.selector+" ",void 0===i[a]&&(i[a]=r.needsContext?rt(a,this).index(l)>-1:rt.find(a,this,null,[l]).length),i[a]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return o]*)\/>/gi,zt=/