-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheverypage-3820b116363a1e213db9ac8037a7a8b5.js
executable file
·5 lines (5 loc) · 136 KB
/
everypage-3820b116363a1e213db9ac8037a7a8b5.js
1
2
3
4
5
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=Z.type(e);return"function"===n||Z.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function r(e,t,n){if(Z.isFunction(t))return Z.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return Z.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return Z.filter(t,e,n);t=Z.filter(t,e)}return Z.grep(e,function(e){return z.call(t,e)>=0!==n})}function o(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function i(e){var t=ht[e]={};return Z.each(e.match(dt)||[],function(e,n){t[n]=!0}),t}function a(){Q.removeEventListener("DOMContentLoaded",a,!1),e.removeEventListener("load",a,!1),Z.ready()}function s(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+Math.random()}function u(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(wt,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:bt.test(n)?Z.parseJSON(n):n}catch(o){}yt.set(e,t,n)}else n=void 0;return n}function c(){return!0}function l(){return!1}function f(){try{return Q.activeElement}catch(e){}}function p(e,t){return Z.nodeName(e,"table")&&Z.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function d(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function h(e){var t=qt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function g(e,t){for(var n=0,r=e.length;r>n;n++)mt.set(e[n],"globalEval",!t||mt.get(t[n],"globalEval"))}function v(e,t){var n,r,o,i,a,s,u,c;if(1===t.nodeType){if(mt.hasData(e)&&(i=mt.access(e),a=mt.set(t,i),c=i.events)){delete a.handle,a.events={};for(o in c)for(n=0,r=c[o].length;r>n;n++)Z.event.add(t,o,c[o][n])}yt.hasData(e)&&(s=yt.access(e),u=Z.extend({},s),yt.set(t,u))}}function m(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&Z.nodeName(e,t)?Z.merge([e],n):n}function y(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Tt.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function b(t,n){var r,o=Z(n.createElement(t)).appendTo(n.body),i=e.getDefaultComputedStyle&&(r=e.getDefaultComputedStyle(o[0]))?r.display:Z.css(o[0],"display");return o.detach(),i}function w(e){var t=Q,n=It[e];return n||(n=b(e,t),"none"!==n&&n||(Ft=(Ft||Z("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Ft[0].contentDocument,t.write(),t.close(),n=b(e,t),Ft.detach()),It[e]=n),n}function x(e,t,n){var r,o,i,a,s=e.style;return n=n||Bt(e),n&&(a=n.getPropertyValue(t)||n[t]),n&&(""!==a||Z.contains(e.ownerDocument,e)||(a=Z.style(e,t)),Ut.test(a)&&Pt.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function _(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function C(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,o=Gt.length;o--;)if(t=Gt[o]+n,t in e)return t;return r}function T(e,t,n){var r=Xt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function k(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>i;i+=2)"margin"===n&&(a+=Z.css(e,n+_t[i],!0,o)),r?("content"===n&&(a-=Z.css(e,"padding"+_t[i],!0,o)),"margin"!==n&&(a-=Z.css(e,"border"+_t[i]+"Width",!0,o))):(a+=Z.css(e,"padding"+_t[i],!0,o),"padding"!==n&&(a+=Z.css(e,"border"+_t[i]+"Width",!0,o)));return a}function E(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=Bt(e),a="border-box"===Z.css(e,"boxSizing",!1,i);if(0>=o||null==o){if(o=x(e,t,i),(0>o||null==o)&&(o=e.style[t]),Ut.test(o))return o;r=a&&(Y.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+k(e,t,n||(a?"border":"content"),r,i)+"px"}function j(e,t){for(var n,r,o,i=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(i[a]=mt.get(r,"olddisplay"),n=r.style.display,t?(i[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Ct(r)&&(i[a]=mt.access(r,"olddisplay",w(r.nodeName)))):(o=Ct(r),"none"===n&&o||mt.set(r,"olddisplay",o?n:Z.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?i[a]||"":"none"));return e}function S(e,t,n,r,o){return new S.prototype.init(e,t,n,r,o)}function N(){return setTimeout(function(){Yt=void 0}),Yt=Z.now()}function A(e,t){var n,r=0,o={height:e};for(t=t?1:0;4>r;r+=2-t)n=_t[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function D(e,t,n){for(var r,o=(nn[t]||[]).concat(nn["*"]),i=0,a=o.length;a>i;i++)if(r=o[i].call(n,t,e))return r}function O(e,t,n){var r,o,i,a,s,u,c,l,f=this,p={},d=e.style,h=e.nodeType&&Ct(e),g=mt.get(e,"fxshow");n.queue||(s=Z._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,Z.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],c=Z.css(e,"display"),l="none"===c?mt.get(e,"olddisplay")||w(e.nodeName):c,"inline"===l&&"none"===Z.css(e,"float")&&(d.display="inline-block")),n.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],Kt.exec(o)){if(delete t[r],i=i||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;h=!0}p[r]=g&&g[r]||Z.style(e,r)}else c=void 0;if(Z.isEmptyObject(p))"inline"===("none"===c?w(e.nodeName):c)&&(d.display=c);else{g?"hidden"in g&&(h=g.hidden):g=mt.access(e,"fxshow",{}),i&&(g.hidden=!h),h?Z(e).show():f.done(function(){Z(e).hide()}),f.done(function(){var t;mt.remove(e,"fxshow");for(t in p)Z.style(e,t,p[t])});for(r in p)a=D(h?g[r]:0,r,f),r in g||(g[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function $(e,t){var n,r,o,i,a;for(n in e)if(r=Z.camelCase(n),o=t[r],i=e[n],Z.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),a=Z.cssHooks[r],a&&"expand"in a){i=a.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function L(e,t,n){var r,o,i=0,a=tn.length,s=Z.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=Yt||N(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,i=1-r,a=0,u=c.tweens.length;u>a;a++)c.tweens[a].run(i);return s.notifyWith(e,[c,i,n]),1>i&&u?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Yt||N(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Z.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;r>n;n++)c.tweens[n].run(1);return t?s.resolveWith(e,[c,t]):s.rejectWith(e,[c,t]),this}}),l=c.props;for($(l,c.opts.specialEasing);a>i;i++)if(r=tn[i].call(c,e,l,c.opts))return r;return Z.map(l,D,c),Z.isFunction(c.opts.start)&&c.opts.start.call(e,c),Z.fx.timer(Z.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function R(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(dt)||[];if(Z.isFunction(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function q(e,t,n,r){function o(s){var u;return i[s]=!0,Z.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),o(c),!1)}),u}var i={},a=e===_n;return o(t.dataTypes[0])||!i["*"]&&o("*")}function H(e,t){var n,r,o=Z.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&Z.extend(!0,e,r),e}function M(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}return i?(i!==u[0]&&u.unshift(i),n[i]):void 0}function F(e,t,n,r){var o,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(a=c[u+" "+i]||c["* "+i],!a)for(o in c)if(s=o.split(" "),s[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[o]:c[o]!==!0&&(i=s[0],l.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}function I(e,t,n,r){var o;if(Z.isArray(t))Z.each(t,function(t,o){n||En.test(e)?r(e,o):I(e+"["+("object"==typeof o?t:"")+"]",o,n,r)});else if(n||"object"!==Z.type(t))r(e,t);else for(o in t)I(e+"["+o+"]",t[o],n,r)}function P(e){return Z.isWindow(e)?e:9===e.nodeType&&e.defaultView}var U=[],B=U.slice,W=U.concat,X=U.push,z=U.indexOf,J={},V=J.toString,G=J.hasOwnProperty,Y={},Q=e.document,K="2.1.1",Z=function(e,t){return new Z.fn.init(e,t)},et=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,tt=/^-ms-/,nt=/-([\da-z])/gi,rt=function(e,t){return t.toUpperCase()};Z.fn=Z.prototype={jquery:K,constructor:Z,selector:"",length:0,toArray:function(){return B.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:B.call(this)},pushStack:function(e){var t=Z.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return Z.each(this,e,t)},map:function(e){return this.pushStack(Z.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(B.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:X,sort:U.sort,splice:U.splice},Z.extend=Z.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||Z.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(c&&r&&(Z.isPlainObject(r)||(o=Z.isArray(r)))?(o?(o=!1,i=n&&Z.isArray(n)?n:[]):i=n&&Z.isPlainObject(n)?n:{},a[t]=Z.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},Z.extend({expando:"jQuery"+(K+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===Z.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!Z.isArray(e)&&e-parseFloat(e)>=0},isPlainObject:function(e){return"object"!==Z.type(e)||e.nodeType||Z.isWindow(e)?!1:e.constructor&&!G.call(e.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?J[V.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=Z.trim(e),e&&(1===e.indexOf("use strict")?(t=Q.createElement("script"),t.text=e,Q.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(tt,"ms-").replace(nt,rt)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,r){var o,i=0,a=e.length,s=n(e);if(r){if(s)for(;a>i&&(o=t.apply(e[i],r),o!==!1);i++);else for(i in e)if(o=t.apply(e[i],r),o===!1)break}else if(s)for(;a>i&&(o=t.call(e[i],i,e[i]),o!==!1);i++);else for(i in e)if(o=t.call(e[i],i,e[i]),o===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(et,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?Z.merge(r,"string"==typeof e?[e]:e):X.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:z.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;n>r;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],i=0,a=e.length,s=!n;a>i;i++)r=!t(e[i],i),r!==s&&o.push(e[i]);return o},map:function(e,t,r){var o,i=0,a=e.length,s=n(e),u=[];if(s)for(;a>i;i++)o=t(e[i],i,r),null!=o&&u.push(o);else for(i in e)o=t(e[i],i,r),null!=o&&u.push(o);return W.apply([],u)},guid:1,proxy:function(e,t){var n,r,o;return"string"==typeof t&&(n=e[t],t=e,e=n),Z.isFunction(e)?(r=B.call(arguments,2),o=function(){return e.apply(t||this,r.concat(B.call(arguments)))},o.guid=e.guid=e.guid||Z.guid++,o):void 0},now:Date.now,support:Y}),Z.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){J["[object "+t+"]"]=t.toLowerCase()});var ot=function(e){function t(e,t,n,r){var o,i,a,s,u,c,f,d,h,g;if((t?t.ownerDocument||t:I)!==O&&D(t),t=t||O,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(L&&!r){if(o=yt.exec(e))if(a=o[1]){if(9===s){if(i=t.getElementById(a),!i||!i.parentNode)return n;if(i.id===a)return n.push(i),n}else if(t.ownerDocument&&(i=t.ownerDocument.getElementById(a))&&M(t,i)&&i.id===a)return n.push(i),n}else{if(o[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((a=o[3])&&x.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(a)),n}if(x.qsa&&(!R||!R.test(e))){if(d=f=F,h=t,g=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(c=k(e),(f=t.getAttribute("id"))?d=f.replace(wt,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",u=c.length;u--;)c[u]=d+p(c[u]);h=bt.test(e)&&l(t.parentNode)||t,g=c.join(",")}if(g)try{return Z.apply(n,h.querySelectorAll(g)),n}catch(v){}finally{f||t.removeAttribute("id")}}}return j(e.replace(ut,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>_.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function o(e){var t=O.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=e.length;r--;)_.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);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 c(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function l(e){return e&&typeof e.getElementsByTagName!==J&&e}function f(){}function p(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=U++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,u,c=[P,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(u=t[F]||(t[F]={}),(s=u[r])&&s[0]===P&&s[1]===i)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var o=0,i=n.length;i>o;o++)t(e,n[o],r);return r}function v(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,c=null!=t;u>s;s++)(i=e[s])&&(!n||n(i,r,o))&&(a.push(i),c&&t.push(s));return a}function m(e,t,n,o,i,a){return o&&!o[F]&&(o=m(o)),i&&!i[F]&&(i=m(i,a)),r(function(r,a,s,u){var c,l,f,p=[],d=[],h=a.length,m=r||g(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?m:v(m,p,e,s,u),b=n?i||(r?e:h||o)?[]:a:y;if(n&&n(y,b,s,u),o)for(c=v(b,d),o(c,[],s,u),l=c.length;l--;)(f=c[l])&&(b[d[l]]=!(y[d[l]]=f));if(r){if(i||e){if(i){for(c=[],l=b.length;l--;)(f=b[l])&&c.push(y[l]=f);i(null,b=[],c,u)}for(l=b.length;l--;)(f=b[l])&&(c=i?tt.call(r,f):p[l])>-1&&(r[c]=!(a[c]=f))}}else b=v(b===a?b.splice(h,b.length):b),i?i(null,a,b,u):Z.apply(a,b)})}function y(e){for(var t,n,r,o=e.length,i=_.relative[e[0].type],a=i||_.relative[" "],s=i?1:0,u=d(function(e){return e===t},a,!0),c=d(function(e){return tt.call(t,e)>-1},a,!0),l=[function(e,n,r){return!i&&(r||n!==S)||((t=n).nodeType?u(e,n,r):c(e,n,r))}];o>s;s++)if(n=_.relative[e[s].type])l=[d(h(l),n)];else{if(n=_.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;o>r&&!_.relative[e[r].type];r++);return m(s>1&&h(l),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ut,"$1"),n,r>s&&y(e.slice(s,r)),o>r&&y(e=e.slice(r)),o>r&&p(e))}l.push(n)}return h(l)}function b(e,n){var o=n.length>0,i=e.length>0,a=function(r,a,s,u,c){var l,f,p,d=0,h="0",g=r&&[],m=[],y=S,b=r||i&&_.find.TAG("*",c),w=P+=null==y?1:Math.random()||.1,x=b.length;for(c&&(S=a!==O&&a);h!==x&&null!=(l=b[h]);h++){if(i&&l){for(f=0;p=e[f++];)if(p(l,a,s)){u.push(l);break}c&&(P=w)}o&&((l=!p&&l)&&d--,r&&g.push(l))}if(d+=h,o&&h!==d){for(f=0;p=n[f++];)p(g,m,a,s);if(r){if(d>0)for(;h--;)g[h]||m[h]||(m[h]=Q.call(u));m=v(m)}Z.apply(u,m),c&&!r&&m.length>0&&d+n.length>1&&t.uniqueSort(u)}return c&&(P=w,S=y),g};return o?r(a):a}var w,x,_,C,T,k,E,j,S,N,A,D,O,$,L,R,q,H,M,F="sizzle"+-new Date,I=e.document,P=0,U=0,B=n(),W=n(),X=n(),z=function(e,t){return e===t&&(A=!0),0},J="undefined",V=1<<31,G={}.hasOwnProperty,Y=[],Q=Y.pop,K=Y.push,Z=Y.push,et=Y.slice,tt=Y.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",rt="[\\x20\\t\\r\\n\\f]",ot="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",it=ot.replace("w","w#"),at="\\["+rt+"*("+ot+")(?:"+rt+"*([*^$|!~]?=)"+rt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+rt+"*\\]",st=":("+ot+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+at+")*)|.*)\\)|)",ut=new RegExp("^"+rt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rt+"+$","g"),ct=new RegExp("^"+rt+"*,"+rt+"*"),lt=new RegExp("^"+rt+"*([>+~]|"+rt+")"+rt+"*"),ft=new RegExp("="+rt+"*([^\\]'\"]*?)"+rt+"*\\]","g"),pt=new RegExp(st),dt=new RegExp("^"+it+"$"),ht={ID:new RegExp("^#("+ot+")"),CLASS:new RegExp("^\\.("+ot+")"),TAG:new RegExp("^("+ot.replace("w","w*")+")"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},gt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+rt+"?|("+rt+")|.)","ig"),_t=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)};try{Z.apply(Y=et.call(I.childNodes),I.childNodes),Y[I.childNodes.length].nodeType}catch(Ct){Z={apply:Y.length?function(e,t){K.apply(e,et.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},D=t.setDocument=function(e){var t,n=e?e.ownerDocument||e:I,r=n.defaultView;return n!==O&&9===n.nodeType&&n.documentElement?(O=n,$=n.documentElement,L=!T(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){D()},!1):r.attachEvent&&r.attachEvent("onunload",function(){D()})),x.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=o(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(n.getElementsByClassName)&&o(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),x.getById=o(function(e){return $.appendChild(e).id=F,!n.getElementsByName||!n.getElementsByName(F).length}),x.getById?(_.find.ID=function(e,t){if(typeof t.getElementById!==J&&L){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},_.filter.ID=function(e){var t=e.replace(xt,_t);return function(e){return e.getAttribute("id")===t}}):(delete _.find.ID,_.filter.ID=function(e){var t=e.replace(xt,_t);return function(e){var n=typeof e.getAttributeNode!==J&&e.getAttributeNode("id");return n&&n.value===t}}),_.find.TAG=x.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==J?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},_.find.CLASS=x.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==J&&L?t.getElementsByClassName(e):void 0},q=[],R=[],(x.qsa=mt.test(n.querySelectorAll))&&(o(function(e){e.innerHTML="<select msallowclip=''><option selected=''></option></select>",e.querySelectorAll("[msallowclip^='']").length&&R.push("[*^$]="+rt+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+rt+"*(?:value|"+nt+")"),e.querySelectorAll(":checked").length||R.push(":checked")}),o(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+rt+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(x.matchesSelector=mt.test(H=$.matches||$.webkitMatchesSelector||$.mozMatchesSelector||$.oMatchesSelector||$.msMatchesSelector))&&o(function(e){x.disconnectedMatch=H.call(e,"div"),H.call(e,"[s!='']:x"),q.push("!=",st)}),R=R.length&&new RegExp(R.join("|")),q=q.length&&new RegExp(q.join("|")),t=mt.test($.compareDocumentPosition),M=t||mt.test($.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},z=t?function(e,t){if(e===t)return A=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!x.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===I&&M(I,e)?-1:t===n||t.ownerDocument===I&&M(I,t)?1:N?tt.call(N,e)-tt.call(N,t):0:4&r?-1:1)}:function(e,t){if(e===t)return A=!0,0;var r,o=0,i=e.parentNode,s=t.parentNode,u=[e],c=[t];if(!i||!s)return e===n?-1:t===n?1:i?-1:s?1:N?tt.call(N,e)-tt.call(N,t):0;if(i===s)return a(e,t);for(r=e;r=r.parentNode;)u.unshift(r);for(r=t;r=r.parentNode;)c.unshift(r);for(;u[o]===c[o];)o++;return o?a(u[o],c[o]):u[o]===I?-1:c[o]===I?1:0},n):O},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==O&&D(e),n=n.replace(ft,"='$1']"),!(!x.matchesSelector||!L||q&&q.test(n)||R&&R.test(n)))try{var r=H.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(o){}return t(n,O,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==O&&D(e),M(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&D(e);var n=_.attrHandle[t.toLowerCase()],r=n&&G.call(_.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:x.attributes||!L?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,o=0;if(A=!x.detectDuplicates,N=!x.sortStable&&e.slice(0),e.sort(z),A){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return N=null,e},C=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},_=t.selectors={cacheLength:50,createPseudo:r,match:ht,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(xt,_t),e[3]=(e[3]||e[4]||e[5]||"").replace(xt,_t),"~="===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 ht.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pt.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xt,_t).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+rt+")"+e+"("+rt+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==J&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:n?(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i+" ").indexOf(r)>-1:"|="===n?i===r||i.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,d,h,g=i!==a?"nextSibling":"previousSibling",v=t.parentNode,m=s&&t.nodeName.toLowerCase(),y=!u&&!s;if(v){if(i){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(l=v[F]||(v[F]={}),c=l[e]||[],d=c[0]===P&&c[1],p=c[0]===P&&c[2],f=d&&v.childNodes[d];f=++d&&f&&f[g]||(p=d=0)||h.pop();)if(1===f.nodeType&&++p&&f===t){l[e]=[P,d,p];break}}else if(y&&(c=(t[F]||(t[F]={}))[e])&&c[0]===P)p=c[1];else for(;(f=++d&&f&&f[g]||(p=d=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++p||(y&&((f[F]||(f[F]={}))[e]=[P,p]),f!==t)););return p-=o,p===r||p%r===0&&p/r>=0}}},PSEUDO:function(e,n){var o,i=_.pseudos[e]||_.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[F]?i(n):i.length>1?(o=[e,e,"",n],_.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),a=o.length;a--;)r=tt.call(e,o[a]),e[r]=!(t[r]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=E(e.replace(ut,"$1"));return o[F]?r(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return dt.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xt,_t).toLowerCase(),function(t){var n;do if(n=L?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===$},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.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!_.pseudos.empty(e)},header:function(e){return vt.test(e.nodeName)},input:function(e){return gt.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:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[0>n?n+t:n]}),even:c(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},_.pseudos.nth=_.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[w]=s(w);for(w in{submit:!0,reset:!0})_.pseudos[w]=u(w);return f.prototype=_.filters=_.pseudos,_.setFilters=new f,k=t.tokenize=function(e,n){var r,o,i,a,s,u,c,l=W[e+" "];if(l)return n?0:l.slice(0);for(s=e,u=[],c=_.preFilter;s;){(!r||(o=ct.exec(s)))&&(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=lt.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(ut," ")}),s=s.slice(r.length));for(a in _.filter)!(o=ht[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):W(e,u).slice(0)},E=t.compile=function(e,t){var n,r=[],o=[],i=X[e+" "];if(!i){for(t||(t=k(e)),n=t.length;n--;)i=y(t[n]),i[F]?r.push(i):o.push(i);i=X(e,b(o,r)),i.selector=e}return i},j=t.select=function(e,t,n,r){var o,i,a,s,u,c="function"==typeof e&&e,f=!r&&k(e=c.selector||e);if(n=n||[],1===f.length){if(i=f[0]=f[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&x.getById&&9===t.nodeType&&L&&_.relative[i[1].type]){if(t=(_.find.ID(a.matches[0].replace(xt,_t),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=ht.needsContext.test(e)?0:i.length;o--&&(a=i[o],!_.relative[s=a.type]);)if((u=_.find[s])&&(r=u(a.matches[0].replace(xt,_t),bt.test(i[0].type)&&l(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&p(i),!e)return Z.apply(n,r),n;break}}return(c||E(e,f))(r,t,!L,n,bt.test(e)&&l(t.parentNode)||t),n},x.sortStable=F.split("").sort(z).join("")===F,x.detectDuplicates=!!A,D(),x.sortDetached=o(function(e){return 1&e.compareDocumentPosition(O.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(nt,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}(e);Z.find=ot,Z.expr=ot.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=ot.uniqueSort,Z.text=ot.getText,Z.isXMLDoc=ot.isXML,Z.contains=ot.contains;var it=Z.expr.match.needsContext,at=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,st=/^.[^:#\[\.,]*$/;Z.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Z.find.matchesSelector(r,e)?[r]:[]:Z.find.matches(e,Z.grep(t,function(e){return 1===e.nodeType}))},Z.fn.extend({find:function(e){var t,n=this.length,r=[],o=this;if("string"!=typeof e)return this.pushStack(Z(e).filter(function(){for(t=0;n>t;t++)if(Z.contains(o[t],this))return!0}));for(t=0;n>t;t++)Z.find(e,o[t],r);return r=this.pushStack(n>1?Z.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&it.test(e)?Z(e):e||[],!1).length}});var ut,ct=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,lt=Z.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ct.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||ut).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof Z?t[0]:t,Z.merge(this,Z.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:Q,!0)),at.test(n[1])&&Z.isPlainObject(t))for(n in t)Z.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);
return this}return r=Q.getElementById(n[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=Q,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):Z.isFunction(e)?"undefined"!=typeof ut.ready?ut.ready(e):e(Z):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))};lt.prototype=Z.fn,ut=Z(Q);var ft=/^(?:parents|prev(?:Until|All))/,pt={children:!0,contents:!0,next:!0,prev:!0};Z.extend({dir:function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&Z(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),Z.fn.extend({has:function(e){var t=Z(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(Z.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],a=it.test(e)||"string"!=typeof e?Z(e,t||this.context):0;o>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Z.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?Z.unique(i):i)},index:function(e){return e?"string"==typeof e?z.call(Z(e),this[0]):z.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Z.unique(Z.merge(this.get(),Z(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Z.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Z.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Z.dir(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Z.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Z.dir(e,"previousSibling",n)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return e.contentDocument||Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(n,r){var o=Z.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=Z.filter(r,o)),this.length>1&&(pt[e]||Z.unique(o),ft.test(e)&&o.reverse()),this.pushStack(o)}});var dt=/\S+/g,ht={};Z.Callbacks=function(e){e="string"==typeof e?ht[e]||i(e):Z.extend({},e);var t,n,r,o,a,s,u=[],c=!e.once&&[],l=function(i){for(t=e.memory&&i,n=!0,s=o||0,o=0,a=u.length,r=!0;u&&a>s;s++)if(u[s].apply(i[0],i[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,u&&(c?c.length&&l(c.shift()):t?u=[]:f.disable())},f={add:function(){if(u){var n=u.length;!function i(t){Z.each(t,function(t,n){var r=Z.type(n);"function"===r?e.unique&&f.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})}(arguments),r?a=u.length:t&&(o=n,l(t))}return this},remove:function(){return u&&Z.each(arguments,function(e,t){for(var n;(n=Z.inArray(t,u,n))>-1;)u.splice(n,1),r&&(a>=n&&a--,s>=n&&s--)}),this},has:function(e){return e?Z.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],a=0,this},disable:function(){return u=c=t=void 0,this},disabled:function(){return!u},lock:function(){return c=void 0,t||f.disable(),this},locked:function(){return!c},fireWith:function(e,t){return!u||n&&!c||(t=t||[],t=[e,t.slice?t.slice():t],r?c.push(t):l(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f},Z.extend({Deferred:function(e){var t=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(n){Z.each(t,function(t,i){var a=Z.isFunction(e[t])&&e[t];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[i[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?Z.extend(e,r):r}},o={};return r.pipe=r.then,Z.each(t,function(e,i){var a=i[2],s=i[3];r[i[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[i[0]]=function(){return o[i[0]+"With"](this===o?r:this,arguments),this},o[i[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,r,o=0,i=B.call(arguments),a=i.length,s=1!==a||e&&Z.isFunction(e.promise)?a:0,u=1===s?e:Z.Deferred(),c=function(e,n,r){return function(o){n[e]=this,r[e]=arguments.length>1?B.call(arguments):o,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>o;o++)i[o]&&Z.isFunction(i[o].promise)?i[o].promise().done(c(o,r,i)).fail(u.reject).progress(c(o,n,t)):--s;return s||u.resolveWith(r,i),u.promise()}});var gt;Z.fn.ready=function(e){return Z.ready.promise().done(e),this},Z.extend({isReady:!1,readyWait:1,holdReady:function(e){e?Z.readyWait++:Z.ready(!0)},ready:function(e){(e===!0?--Z.readyWait:Z.isReady)||(Z.isReady=!0,e!==!0&&--Z.readyWait>0||(gt.resolveWith(Q,[Z]),Z.fn.triggerHandler&&(Z(Q).triggerHandler("ready"),Z(Q).off("ready"))))}}),Z.ready.promise=function(t){return gt||(gt=Z.Deferred(),"complete"===Q.readyState?setTimeout(Z.ready):(Q.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1))),gt.promise(t)},Z.ready.promise();var vt=Z.access=function(e,t,n,r,o,i,a){var s=0,u=e.length,c=null==n;if("object"===Z.type(n)){o=!0;for(s in n)Z.access(e,t,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,Z.isFunction(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(Z(e),n)})),t))for(;u>s;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):u?t(e[0],n):i};Z.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},s.uid=1,s.accepts=Z.acceptData,s.prototype={key:function(e){if(!s.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=s.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,Z.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,o=this.key(e),i=this.cache[o];if("string"==typeof t)i[t]=n;else if(Z.isEmptyObject(i))Z.extend(this.cache[o],t);else for(r in t)i[r]=t[r];return i},get:function(e,t){var n=this.cache[this.key(e)];return void 0===t?n:n[t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,Z.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,o,i=this.key(e),a=this.cache[i];if(void 0===t)this.cache[i]={};else{Z.isArray(t)?r=t.concat(t.map(Z.camelCase)):(o=Z.camelCase(t),t in a?r=[t,o]:(r=o,r=r in a?[r]:r.match(dt)||[])),n=r.length;for(;n--;)delete a[r[n]]}},hasData:function(e){return!Z.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var mt=new s,yt=new s,bt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,wt=/([A-Z])/g;Z.extend({hasData:function(e){return yt.hasData(e)||mt.hasData(e)},data:function(e,t,n){return yt.access(e,t,n)},removeData:function(e,t){yt.remove(e,t)},_data:function(e,t,n){return mt.access(e,t,n)},_removeData:function(e,t){mt.remove(e,t)}}),Z.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=yt.get(i),1===i.nodeType&&!mt.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=Z.camelCase(r.slice(5)),u(i,r,o[r])));mt.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){yt.set(this,e)}):vt(this,function(t){var n,r=Z.camelCase(e);if(i&&void 0===t){if(n=yt.get(i,e),void 0!==n)return n;if(n=yt.get(i,r),void 0!==n)return n;if(n=u(i,r,void 0),void 0!==n)return n}else this.each(function(){var n=yt.get(this,r);yt.set(this,r,t),-1!==e.indexOf("-")&&void 0!==n&&yt.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){yt.remove(this,e)})}}),Z.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=mt.get(e,t),n&&(!r||Z.isArray(n)?r=mt.access(e,t,Z.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=Z.queue(e,t),r=n.length,o=n.shift(),i=Z._queueHooks(e,t),a=function(){Z.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return mt.get(e,n)||mt.access(e,n,{empty:Z.Callbacks("once memory").add(function(){mt.remove(e,[t+"queue",n])})})}}),Z.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Z.queue(this[0],e):void 0===t?this:this.each(function(){var n=Z.queue(this,e,t);Z._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Z.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Z.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=Z.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=mt.get(i[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var xt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_t=["Top","Right","Bottom","Left"],Ct=function(e,t){return e=t||e,"none"===Z.css(e,"display")||!Z.contains(e.ownerDocument,e)},Tt=/^(?:checkbox|radio)$/i;!function(){var e=Q.createDocumentFragment(),t=e.appendChild(Q.createElement("div")),n=Q.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),Y.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",Y.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var kt="undefined";Y.focusinBubbles="onfocusin"in e;var Et=/^key/,jt=/^(?:mouse|pointer|contextmenu)|click/,St=/^(?:focusinfocus|focusoutblur)$/,Nt=/^([^.]*)(?:\.(.+)|)$/;Z.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,c,l,f,p,d,h,g,v=mt.get(e);if(v)for(n.handler&&(i=n,n=i.handler,o=i.selector),n.guid||(n.guid=Z.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return typeof Z!==kt&&Z.event.triggered!==t.type?Z.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(dt)||[""],c=t.length;c--;)s=Nt.exec(t[c])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d&&(f=Z.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=Z.event.special[d]||{},l=Z.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&Z.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=u[d])||(p=u[d]=[],p.delegateCount=0,f.setup&&f.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,l):p.push(l),Z.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,c,l,f,p,d,h,g,v=mt.hasData(e)&&mt.get(e);if(v&&(u=v.events)){for(t=(t||"").match(dt)||[""],c=t.length;c--;)if(s=Nt.exec(t[c])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){for(f=Z.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)l=p[i],!o&&g!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(i,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));a&&!p.length&&(f.teardown&&f.teardown.call(e,h,v.handle)!==!1||Z.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)Z.event.remove(e,d+t[c],n,r,!0);Z.isEmptyObject(u)&&(delete v.handle,mt.remove(e,"events"))}},trigger:function(t,n,r,o){var i,a,s,u,c,l,f,p=[r||Q],d=G.call(t,"type")?t.type:t,h=G.call(t,"namespace")?t.namespace.split("."):[];if(a=s=r=r||Q,3!==r.nodeType&&8!==r.nodeType&&!St.test(d+Z.event.triggered)&&(d.indexOf(".")>=0&&(h=d.split("."),d=h.shift(),h.sort()),c=d.indexOf(":")<0&&"on"+d,t=t[Z.expando]?t:new Z.Event(d,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=h.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:Z.makeArray(n,[t]),f=Z.event.special[d]||{},o||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!o&&!f.noBubble&&!Z.isWindow(r)){for(u=f.delegateType||d,St.test(u+d)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||Q)&&p.push(s.defaultView||s.parentWindow||e)}for(i=0;(a=p[i++])&&!t.isPropagationStopped();)t.type=i>1?u:f.bindType||d,l=(mt.get(a,"events")||{})[t.type]&&mt.get(a,"handle"),l&&l.apply(a,n),l=c&&a[c],l&&l.apply&&Z.acceptData(a)&&(t.result=l.apply(a,n),t.result===!1&&t.preventDefault());return t.type=d,o||t.isDefaultPrevented()||f._default&&f._default.apply(p.pop(),n)!==!1||!Z.acceptData(r)||c&&Z.isFunction(r[d])&&!Z.isWindow(r)&&(s=r[c],s&&(r[c]=null),Z.event.triggered=d,r[d](),Z.event.triggered=void 0,s&&(r[c]=s)),t.result}},dispatch:function(e){e=Z.event.fix(e);var t,n,r,o,i,a=[],s=B.call(arguments),u=(mt.get(this,"events")||{})[e.type]||[],c=Z.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){for(a=Z.event.handlers.call(this,e,u),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((Z.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,o,i,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;s>n;n++)i=t[n],o=i.selector+" ",void 0===r[o]&&(r[o]=i.needsContext?Z(o,this).index(u)>=0:Z.find(o,this,null,[u]).length),r[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,o,i=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||Q,r=n.documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[Z.expando])return e;var t,n,r,o=e.type,i=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=jt.test(o)?this.mouseHooks:Et.test(o)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new Z.Event(i),t=r.length;t--;)n=r[t],e[n]=i[n];return e.target||(e.target=Q),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,i):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==f()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===f()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&Z.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return Z.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var o=Z.extend(new Z.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Z.event.trigger(o,null,t):Z.event.dispatch.call(t,o),o.isDefaultPrevented()&&n.preventDefault()}},Z.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},Z.Event=function(e,t){return this instanceof Z.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?c:l):this.type=e,t&&Z.extend(this,t),this.timeStamp=e&&e.timeStamp||Z.now(),void(this[Z.expando]=!0)):new Z.Event(e,t)},Z.Event.prototype={isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=c,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=c,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=c,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},Z.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Z.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return(!o||o!==r&&!Z.contains(r,o))&&(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),Y.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Z.event.simulate(t,e.target,Z.event.fix(e),!0)};Z.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=mt.access(r,t);o||r.addEventListener(e,n,!0),mt.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=mt.access(r,t)-1;o?mt.access(r,t,o):(r.removeEventListener(e,n,!0),mt.remove(r,t))}}}),Z.fn.extend({on:function(e,t,n,r,o){var i,a;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=void 0);for(a in e)this.on(a,t,n,e[a],o);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),r===!1)r=l;else if(!r)return this;return 1===o&&(i=r,r=function(e){return Z().off(e),i.apply(this,arguments)},r.guid=i.guid||(i.guid=Z.guid++)),this.each(function(){Z.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Z(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=l),this.each(function(){Z.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){Z.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?Z.event.trigger(e,t,n,!0):void 0}});var At=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Dt=/<([\w:]+)/,Ot=/<|&#?\w+;/,$t=/<(?:script|style|link)/i,Lt=/checked\s*(?:[^=]|=\s*.checked.)/i,Rt=/^$|\/(?:java|ecma)script/i,qt=/^true\/(.*)/,Ht=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Mt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Mt.optgroup=Mt.option,Mt.tbody=Mt.tfoot=Mt.colgroup=Mt.caption=Mt.thead,Mt.th=Mt.td,Z.extend({clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=Z.contains(e.ownerDocument,e);if(!(Y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Z.isXMLDoc(e)))for(a=m(s),i=m(e),r=0,o=i.length;o>r;r++)y(i[r],a[r]);if(t)if(n)for(i=i||m(e),a=a||m(s),r=0,o=i.length;o>r;r++)v(i[r],a[r]);else v(e,s);return a=m(s,"script"),a.length>0&&g(a,!u&&m(e,"script")),s},buildFragment:function(e,t,n,r){for(var o,i,a,s,u,c,l=t.createDocumentFragment(),f=[],p=0,d=e.length;d>p;p++)if(o=e[p],o||0===o)if("object"===Z.type(o))Z.merge(f,o.nodeType?[o]:o);else if(Ot.test(o)){for(i=i||l.appendChild(t.createElement("div")),a=(Dt.exec(o)||["",""])[1].toLowerCase(),s=Mt[a]||Mt._default,i.innerHTML=s[1]+o.replace(At,"<$1></$2>")+s[2],c=s[0];c--;)i=i.lastChild;Z.merge(f,i.childNodes),i=l.firstChild,i.textContent=""}else f.push(t.createTextNode(o));for(l.textContent="",p=0;o=f[p++];)if((!r||-1===Z.inArray(o,r))&&(u=Z.contains(o.ownerDocument,o),i=m(l.appendChild(o),"script"),u&&g(i),n))for(c=0;o=i[c++];)Rt.test(o.type||"")&&n.push(o);return l},cleanData:function(e){for(var t,n,r,o,i=Z.event.special,a=0;void 0!==(n=e[a]);a++){if(Z.acceptData(n)&&(o=n[mt.expando],o&&(t=mt.cache[o]))){if(t.events)for(r in t.events)i[r]?Z.event.remove(n,r):Z.removeEvent(n,r,t.handle);mt.cache[o]&&delete mt.cache[o]}delete yt.cache[n[yt.expando]]}}}),Z.fn.extend({text:function(e){return vt(this,function(e){return void 0===e?Z.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=p(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=p(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?Z.filter(e,this):this,o=0;null!=(n=r[o]);o++)t||1!==n.nodeType||Z.cleanData(m(n)),n.parentNode&&(t&&Z.contains(n.ownerDocument,n)&&g(m(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Z.cleanData(m(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return Z.clone(this,e,t)})},html:function(e){return vt(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!$t.test(e)&&!Mt[(Dt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(At,"<$1></$2>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(Z.cleanData(m(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,Z.cleanData(m(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=W.apply([],e);var n,r,o,i,a,s,u=0,c=this.length,l=this,f=c-1,p=e[0],g=Z.isFunction(p);if(g||c>1&&"string"==typeof p&&!Y.checkClone&&Lt.test(p))return this.each(function(n){var r=l.eq(n);g&&(e[0]=p.call(this,n,r.html())),r.domManip(e,t)});if(c&&(n=Z.buildFragment(e,this[0].ownerDocument,!1,this),r=n.firstChild,1===n.childNodes.length&&(n=r),r)){for(o=Z.map(m(n,"script"),d),i=o.length;c>u;u++)a=n,u!==f&&(a=Z.clone(a,!0,!0),i&&Z.merge(o,m(a,"script"))),t.call(this[u],a,u);if(i)for(s=o[o.length-1].ownerDocument,Z.map(o,h),u=0;i>u;u++)a=o[u],Rt.test(a.type||"")&&!mt.access(a,"globalEval")&&Z.contains(s,a)&&(a.src?Z._evalUrl&&Z._evalUrl(a.src):Z.globalEval(a.textContent.replace(Ht,"")))}return this}}),Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Z.fn[e]=function(e){for(var n,r=[],o=Z(e),i=o.length-1,a=0;i>=a;a++)n=a===i?this:this.clone(!0),Z(o[a])[t](n),X.apply(r,n.get());return this.pushStack(r)}});var Ft,It={},Pt=/^margin/,Ut=new RegExp("^("+xt+")(?!px)[a-z%]+$","i"),Bt=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)};!function(){function t(){a.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",a.innerHTML="",o.appendChild(i);var t=e.getComputedStyle(a,null);n="1%"!==t.top,r="4px"===t.width,o.removeChild(i)}var n,r,o=Q.documentElement,i=Q.createElement("div"),a=Q.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",Y.clearCloneStyle="content-box"===a.style.backgroundClip,i.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",i.appendChild(a),e.getComputedStyle&&Z.extend(Y,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==r&&t(),r},reliableMarginRight:function(){var t,n=a.appendChild(Q.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",o.appendChild(i),t=!parseFloat(e.getComputedStyle(n,null).marginRight),o.removeChild(i),t}}))}(),Z.swap=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=a[i];return o};var Wt=/^(none|table(?!-c[ea]).+)/,Xt=new RegExp("^("+xt+")(.*)$","i"),zt=new RegExp("^([+-])=("+xt+")","i"),Jt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:"0",fontWeight:"400"},Gt=["Webkit","O","Moz","ms"];Z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=x(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":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=Z.camelCase(t),u=e.style;return t=Z.cssProps[s]||(Z.cssProps[s]=C(u,s)),a=Z.cssHooks[t]||Z.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t]:(i=typeof n,"string"===i&&(o=zt.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(Z.css(e,t)),i="number"),void(null!=n&&n===n&&("number"!==i||Z.cssNumber[s]||(n+="px"),Y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n))))}},css:function(e,t,n,r){var o,i,a,s=Z.camelCase(t);return t=Z.cssProps[s]||(Z.cssProps[s]=C(e.style,s)),a=Z.cssHooks[t]||Z.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=x(e,t,r)),"normal"===o&&t in Vt&&(o=Vt[t]),""===n||n?(i=parseFloat(o),n===!0||Z.isNumeric(i)?i||0:o):o}}),Z.each(["height","width"],function(e,t){Z.cssHooks[t]={get:function(e,n,r){return n?Wt.test(Z.css(e,"display"))&&0===e.offsetWidth?Z.swap(e,Jt,function(){return E(e,t,r)}):E(e,t,r):void 0},set:function(e,n,r){var o=r&&Bt(e);return T(e,n,r?k(e,t,r,"border-box"===Z.css(e,"boxSizing",!1,o),o):0)}}}),Z.cssHooks.marginRight=_(Y.reliableMarginRight,function(e,t){return t?Z.swap(e,{display:"inline-block"},x,[e,"marginRight"]):void 0}),Z.each({margin:"",padding:"",border:"Width"},function(e,t){Z.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];4>r;r++)o[e+_t[r]+t]=i[r]||i[r-2]||i[0];return o}},Pt.test(e)||(Z.cssHooks[e+t].set=T)}),Z.fn.extend({css:function(e,t){return vt(this,function(e,t,n){var r,o,i={},a=0;if(Z.isArray(t)){for(r=Bt(e),o=t.length;o>a;a++)i[t[a]]=Z.css(e,t[a],!1,r);return i}return void 0!==n?Z.style(e,t,n):Z.css(e,t)},e,t,arguments.length>1)},show:function(){return j(this,!0)},hide:function(){return j(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ct(this)?Z(this).show():Z(this).hide()})}}),Z.Tween=S,S.prototype={constructor:S,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(Z.cssNumber[n]?"":"px")},cur:function(){var e=S.propHooks[this.prop];return e&&e.get?e.get(this):S.propHooks._default.get(this)},run:function(e){var t,n=S.propHooks[this.prop];return this.pos=t=this.options.duration?Z.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):S.propHooks._default.set(this),this}},S.prototype.init.prototype=S.prototype,S.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Z.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){Z.fx.step[e.prop]?Z.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Z.cssProps[e.prop]]||Z.cssHooks[e.prop])?Z.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},S.propHooks.scrollTop=S.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Z.fx=S.prototype.init,Z.fx.step={};var Yt,Qt,Kt=/^(?:toggle|show|hide)$/,Zt=new RegExp("^(?:([+-])=|)("+xt+")([a-z%]*)$","i"),en=/queueHooks$/,tn=[O],nn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),o=Zt.exec(t),i=o&&o[3]||(Z.cssNumber[e]?"":"px"),a=(Z.cssNumber[e]||"px"!==i&&+r)&&Zt.exec(Z.css(n.elem,e)),s=1,u=20;if(a&&a[3]!==i){i=i||a[3],o=o||[],a=+r||1;do s=s||".5",a/=s,Z.style(n.elem,e,a+i);while(s!==(s=n.cur()/r)&&1!==s&&--u)}return o&&(a=n.start=+a||+r||0,n.unit=i,n.end=o[1]?a+(o[1]+1)*o[2]:+o[2]),n}]};Z.Animation=Z.extend(L,{tweener:function(e,t){Z.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,o=e.length;o>r;r++)n=e[r],nn[n]=nn[n]||[],nn[n].unshift(t)},prefilter:function(e,t){t?tn.unshift(e):tn.push(e)}}),Z.speed=function(e,t,n){var r=e&&"object"==typeof e?Z.extend({},e):{complete:n||!n&&t||Z.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Z.isFunction(t)&&t};return r.duration=Z.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Z.fx.speeds?Z.fx.speeds[r.duration]:Z.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){Z.isFunction(r.old)&&r.old.call(this),r.queue&&Z.dequeue(this,r.queue)},r},Z.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ct).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=Z.isEmptyObject(e),i=Z.speed(t,n,r),a=function(){var t=L(this,Z.extend({},e),i);(o||mt.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||i.queue===!1?this.each(a):this.queue(i.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,o=null!=e&&e+"queueHooks",i=Z.timers,a=mt.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&en.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));(t||!n)&&Z.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=mt.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=Z.timers,a=r?r.length:0;for(n.finish=!0,Z.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),Z.each(["toggle","show","hide"],function(e,t){var n=Z.fn[t];Z.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(A(t,!0),e,r,o)}}),Z.each({slideDown:A("show"),slideUp:A("hide"),slideToggle:A("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Z.timers=[],Z.fx.tick=function(){var e,t=0,n=Z.timers;for(Yt=Z.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||Z.fx.stop(),Yt=void 0},Z.fx.timer=function(e){Z.timers.push(e),e()?Z.fx.start():Z.timers.pop()},Z.fx.interval=13,Z.fx.start=function(){Qt||(Qt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.stop=function(){clearInterval(Qt),Qt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fn.delay=function(e,t){return e=Z.fx?Z.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e=Q.createElement("input"),t=Q.createElement("select"),n=t.appendChild(Q.createElement("option"));e.type="checkbox",Y.checkOn=""!==e.value,Y.optSelected=n.selected,t.disabled=!0,Y.optDisabled=!n.disabled,e=Q.createElement("input"),e.value="t",e.type="radio",Y.radioValue="t"===e.value}();var rn,on,an=Z.expr.attrHandle;Z.fn.extend({attr:function(e,t){return vt(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})}}),Z.extend({attr:function(e,t,n){var r,o,i=e.nodeType;return e&&3!==i&&8!==i&&2!==i?typeof e.getAttribute===kt?Z.prop(e,t,n):(1===i&&Z.isXMLDoc(e)||(t=t.toLowerCase(),r=Z.attrHooks[t]||(Z.expr.match.bool.test(t)?on:rn)),void 0===n?r&&"get"in r&&null!==(o=r.get(e,t))?o:(o=Z.find.attr(e,t),null==o?void 0:o):null!==n?r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:(e.setAttribute(t,n+""),n):void Z.removeAttr(e,t)):void 0
},removeAttr:function(e,t){var n,r,o=0,i=t&&t.match(dt);if(i&&1===e.nodeType)for(;n=i[o++];)r=Z.propFix[n]||n,Z.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!Y.radioValue&&"radio"===t&&Z.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),on={set:function(e,t,n){return t===!1?Z.removeAttr(e,n):e.setAttribute(n,n),n}},Z.each(Z.expr.match.bool.source.match(/\w+/g),function(e,t){var n=an[t]||Z.find.attr;an[t]=function(e,t,r){var o,i;return r||(i=an[t],an[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,an[t]=i),o}});var sn=/^(?:input|select|textarea|button)$/i;Z.fn.extend({prop:function(e,t){return vt(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Z.propFix[e]||e]})}}),Z.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,o,i,a=e.nodeType;return e&&3!==a&&8!==a&&2!==a?(i=1!==a||!Z.isXMLDoc(e),i&&(t=Z.propFix[t]||t,o=Z.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]):void 0},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||sn.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),Y.optSelected||(Z.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),Z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Z.propFix[this.toLowerCase()]=this});var un=/[\t\r\n\f]/g;Z.fn.extend({addClass:function(e){var t,n,r,o,i,a,s="string"==typeof e&&e,u=0,c=this.length;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(dt)||[];c>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(un," "):" ")){for(i=0;o=t[i++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=Z.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,o,i,a,s=0===arguments.length||"string"==typeof e&&e,u=0,c=this.length;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(dt)||[];c>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(un," "):"")){for(i=0;o=t[i++];)for(;r.indexOf(" "+o+" ")>=0;)r=r.replace(" "+o+" "," ");a=e?Z.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(Z.isFunction(e)?function(n){Z(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var t,r=0,o=Z(this),i=e.match(dt)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else(n===kt||"boolean"===n)&&(this.className&&mt.set(this,"__className__",this.className),this.className=this.className||e===!1?"":mt.get(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(un," ").indexOf(t)>=0)return!0;return!1}});var cn=/\r/g;Z.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=Z.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,Z(this).val()):e,null==o?o="":"number"==typeof o?o+="":Z.isArray(o)&&(o=Z.map(o,function(e){return null==e?"":e+""})),t=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=Z.valHooks[o.type]||Z.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(cn,""):null==n?"":n)):void 0}}),Z.extend({valHooks:{option:{get:function(e){var t=Z.find.attr(e,"value");return null!=t?t:Z.trim(Z.text(e))}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type||0>o,a=i?null:[],s=i?o+1:r.length,u=0>o?s:i?o:0;s>u;u++)if(n=r[u],!(!n.selected&&u!==o||(Y.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&Z.nodeName(n.parentNode,"optgroup"))){if(t=Z(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=Z.makeArray(t),a=o.length;a--;)r=o[a],(r.selected=Z.inArray(r.value,i)>=0)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]={set:function(e,t){return Z.isArray(t)?e.checked=Z.inArray(Z(e).val(),t)>=0:void 0}},Y.checkOn||(Z.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),Z.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){Z.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),Z.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 ln=Z.now(),fn=/\?/;Z.parseJSON=function(e){return JSON.parse(e+"")},Z.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&Z.error("Invalid XML: "+e),t};var pn,dn,hn=/#.*$/,gn=/([?&])_=[^&]*/,vn=/^(.*?):[ \t]*([^\r\n]*)$/gm,mn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yn=/^(?:GET|HEAD)$/,bn=/^\/\//,wn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,xn={},_n={},Cn="*/".concat("*");try{dn=location.href}catch(Tn){dn=Q.createElement("a"),dn.href="",dn=dn.href}pn=wn.exec(dn.toLowerCase())||[],Z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:dn,type:"GET",isLocal:mn.test(pn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Cn,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":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?H(H(e,Z.ajaxSettings),t):H(Z.ajaxSettings,e)},ajaxPrefilter:R(xn),ajaxTransport:R(_n),ajax:function(e,t){function n(e,t,n,a){var u,l,m,y,w,_=t;2!==b&&(b=2,s&&clearTimeout(s),r=void 0,i=a||"",x.readyState=e>0?4:0,u=e>=200&&300>e||304===e,n&&(y=M(f,x,n)),y=F(f,y,x,u),u?(f.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(Z.lastModified[o]=w),w=x.getResponseHeader("etag"),w&&(Z.etag[o]=w)),204===e||"HEAD"===f.type?_="nocontent":304===e?_="notmodified":(_=y.state,l=y.data,m=y.error,u=!m)):(m=_,(e||!_)&&(_="error",0>e&&(e=0))),x.status=e,x.statusText=(t||_)+"",u?h.resolveWith(p,[l,_,x]):h.rejectWith(p,[x,_,m]),x.statusCode(v),v=void 0,c&&d.trigger(u?"ajaxSuccess":"ajaxError",[x,f,u?l:m]),g.fireWith(p,[x,_]),c&&(d.trigger("ajaxComplete",[x,f]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,a,s,u,c,l,f=Z.ajaxSetup({},t),p=f.context||f,d=f.context&&(p.nodeType||p.jquery)?Z(p):Z.event,h=Z.Deferred(),g=Z.Callbacks("once memory"),v=f.statusCode||{},m={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!a)for(a={};t=vn.exec(i);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?i:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,m[e]=t),this},overrideMimeType:function(e){return b||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)v[t]=[v[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||w;return r&&r.abort(t),n(0,t),this}};if(h.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,f.url=((e||f.url||dn)+"").replace(hn,"").replace(bn,pn[1]+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=Z.trim(f.dataType||"*").toLowerCase().match(dt)||[""],null==f.crossDomain&&(u=wn.exec(f.url.toLowerCase()),f.crossDomain=!(!u||u[1]===pn[1]&&u[2]===pn[2]&&(u[3]||("http:"===u[1]?"80":"443"))===(pn[3]||("http:"===pn[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=Z.param(f.data,f.traditional)),q(xn,f,t,x),2===b)return x;c=f.global,c&&0===Z.active++&&Z.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!yn.test(f.type),o=f.url,f.hasContent||(f.data&&(o=f.url+=(fn.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=gn.test(o)?o.replace(gn,"$1_="+ln++):o+(fn.test(o)?"&":"?")+"_="+ln++)),f.ifModified&&(Z.lastModified[o]&&x.setRequestHeader("If-Modified-Since",Z.lastModified[o]),Z.etag[o]&&x.setRequestHeader("If-None-Match",Z.etag[o])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&x.setRequestHeader("Content-Type",f.contentType),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Cn+"; q=0.01":""):f.accepts["*"]);for(l in f.headers)x.setRequestHeader(l,f.headers[l]);if(f.beforeSend&&(f.beforeSend.call(p,x,f)===!1||2===b))return x.abort();w="abort";for(l in{success:1,error:1,complete:1})x[l](f[l]);if(r=q(_n,f,t,x)){x.readyState=1,c&&d.trigger("ajaxSend",[x,f]),f.async&&f.timeout>0&&(s=setTimeout(function(){x.abort("timeout")},f.timeout));try{b=1,r.send(m,n)}catch(_){if(!(2>b))throw _;n(-1,_)}}else n(-1,"No Transport");return x},getJSON:function(e,t,n){return Z.get(e,t,n,"json")},getScript:function(e,t){return Z.get(e,void 0,t,"script")}}),Z.each(["get","post"],function(e,t){Z[t]=function(e,n,r,o){return Z.isFunction(n)&&(o=o||r,r=n,n=void 0),Z.ajax({url:e,type:t,dataType:o,data:n,success:r})}}),Z.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Z.fn[t]=function(e){return this.on(t,e)}}),Z._evalUrl=function(e){return Z.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},Z.fn.extend({wrapAll:function(e){var t;return Z.isFunction(e)?this.each(function(t){Z(this).wrapAll(e.call(this,t))}):(this[0]&&(t=Z(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return this.each(Z.isFunction(e)?function(t){Z(this).wrapInner(e.call(this,t))}:function(){var t=Z(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Z.isFunction(e);return this.each(function(n){Z(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()}}),Z.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},Z.expr.filters.visible=function(e){return!Z.expr.filters.hidden(e)};var kn=/%20/g,En=/\[\]$/,jn=/\r?\n/g,Sn=/^(?:submit|button|image|reset|file)$/i,Nn=/^(?:input|select|textarea|keygen)/i;Z.param=function(e,t){var n,r=[],o=function(e,t){t=Z.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(e)||e.jquery&&!Z.isPlainObject(e))Z.each(e,function(){o(this.name,this.value)});else for(n in e)I(n,e[n],t,o);return r.join("&").replace(kn,"+")},Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Z.prop(this,"elements");return e?Z.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Z(this).is(":disabled")&&Nn.test(this.nodeName)&&!Sn.test(e)&&(this.checked||!Tt.test(e))}).map(function(e,t){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(e){return{name:t.name,value:e.replace(jn,"\r\n")}}):{name:t.name,value:n.replace(jn,"\r\n")}}).get()}}),Z.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var An=0,Dn={},On={0:200,1223:204},$n=Z.ajaxSettings.xhr();e.ActiveXObject&&Z(e).on("unload",function(){for(var e in Dn)Dn[e]()}),Y.cors=!!$n&&"withCredentials"in $n,Y.ajax=$n=!!$n,Z.ajaxTransport(function(e){var t;return Y.cors||$n&&!e.crossDomain?{send:function(n,r){var o,i=e.xhr(),a=++An;if(i.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)i[o]=e.xhrFields[o];e.mimeType&&i.overrideMimeType&&i.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(o in n)i.setRequestHeader(o,n[o]);t=function(e){return function(){t&&(delete Dn[a],t=i.onload=i.onerror=null,"abort"===e?i.abort():"error"===e?r(i.status,i.statusText):r(On[i.status]||i.status,i.statusText,"string"==typeof i.responseText?{text:i.responseText}:void 0,i.getAllResponseHeaders()))}},i.onload=t(),i.onerror=t("error"),t=Dn[a]=t("abort");try{i.send(e.hasContent&&e.data||null)}catch(s){if(t)throw s}},abort:function(){t&&t()}}:void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return Z.globalEval(e),e}}}),Z.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Z.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=Z("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),Q.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Ln=[],Rn=/(=)\?(?=&|$)|\?\?/;Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ln.pop()||Z.expando+"_"+ln++;return this[e]=!0,e}}),Z.ajaxPrefilter("json jsonp",function(t,n,r){var o,i,a,s=t.jsonp!==!1&&(Rn.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rn.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(o=t.jsonpCallback=Z.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Rn,"$1"+o):t.jsonp!==!1&&(t.url+=(fn.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||Z.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){a=arguments},r.always(function(){e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,Ln.push(o)),a&&Z.isFunction(i)&&i(a[0]),a=i=void 0}),"script"):void 0}),Z.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Q;var r=at.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=Z.buildFragment([e],t,o),o&&o.length&&Z(o).remove(),Z.merge([],r.childNodes))};var qn=Z.fn.load;Z.fn.load=function(e,t,n){if("string"!=typeof e&&qn)return qn.apply(this,arguments);var r,o,i,a=this,s=e.indexOf(" ");return s>=0&&(r=Z.trim(e.slice(s)),e=e.slice(0,s)),Z.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&Z.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?Z("<div>").append(Z.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},Z.expr.filters.animated=function(e){return Z.grep(Z.timers,function(t){return e===t.elem}).length};var Hn=e.document.documentElement;Z.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,c,l=Z.css(e,"position"),f=Z(e),p={};"static"===l&&(e.style.position="relative"),s=f.offset(),i=Z.css(e,"top"),u=Z.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(i+u).indexOf("auto")>-1,c?(r=f.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),Z.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):f.css(p)}},Z.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Z.offset.setOffset(this,e,t)});var t,n,r=this[0],o={top:0,left:0},i=r&&r.ownerDocument;return i?(t=i.documentElement,Z.contains(t,r)?(typeof r.getBoundingClientRect!==kt&&(o=r.getBoundingClientRect()),n=P(i),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===Z.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),Z.nodeName(e[0],"html")||(r=e.offset()),r.top+=Z.css(e[0],"borderTopWidth",!0),r.left+=Z.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-Z.css(n,"marginTop",!0),left:t.left-r.left-Z.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Hn;e&&!Z.nodeName(e,"html")&&"static"===Z.css(e,"position");)e=e.offsetParent;return e||Hn})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var r="pageYOffset"===n;Z.fn[t]=function(o){return vt(this,function(t,o,i){var a=P(t);return void 0===i?a?a[n]:t[o]:void(a?a.scrollTo(r?e.pageXOffset:i,r?i:e.pageYOffset):t[o]=i)},t,o,arguments.length,null)}}),Z.each(["top","left"],function(e,t){Z.cssHooks[t]=_(Y.pixelPosition,function(e,n){return n?(n=x(e,t),Ut.test(n)?Z(e).position()[t]+"px":n):void 0})}),Z.each({Height:"height",Width:"width"},function(e,t){Z.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Z.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return vt(this,function(t,n,r){var o;return Z.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?Z.css(t,n,a):Z.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),Z.fn.size=function(){return this.length},Z.fn.andSelf=Z.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z});var Mn=e.jQuery,Fn=e.$;return Z.noConflict=function(t){return e.$===Z&&(e.$=Fn),t&&e.jQuery===Z&&(e.jQuery=Mn),Z},typeof t===kt&&(e.jQuery=e.$=Z),Z}),"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(e){return 10>e?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,o,i,a,s=gap,u=t[e];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(e)),"function"==typeof rep&&(u=rep.call(t,e,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(u)){for(i=u.length,n=0;i>n;n+=1)a[n]=str(n,u)||"null";return o=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,o}if(rep&&"object"==typeof rep)for(i=rep.length,n=0;i>n;n+=1)"string"==typeof rep[n]&&(r=rep[n],o=str(r,u),o&&a.push(quote(r)+(gap?": ":":")+o));else for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(o=str(r,u),o&&a.push(quote(r)+(gap?": ":":")+o));return o=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(e,t){var n,r,o=e[t];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r=walk(o,n),void 0!==r?o[n]=r:delete o[n]);return reviver.call(e,t,o)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),function(){function e(e,t,n){for(var r=(n||0)-1,o=e?e.length:0;++r<o;)if(e[r]===t)return r;return-1}function t(t,n){var r=typeof n;if(t=t.cache,"boolean"==r||null==n)return t[n]?0:-1;"number"!=r&&"string"!=r&&(r="object");var o="number"==r?n:m+n;return t=(t=t[r])&&t[o],"object"==r?t&&e(t,n)>-1?0:-1:t?0:-1}function n(e){var t=this.cache,n=typeof e;if("boolean"==n||null==e)t[e]=!0;else{"number"!=n&&"string"!=n&&(n="object");var r="number"==n?e:m+e,o=t[n]||(t[n]={});"object"==n?(o[r]||(o[r]=[])).push(e):o[r]=!0}}function r(e){return e.charCodeAt(0)}function o(e,t){for(var n=e.criteria,r=t.criteria,o=-1,i=n.length;++o<i;){var a=n[o],s=r[o];if(a!==s){if(a>s||"undefined"==typeof a)return 1;if(s>a||"undefined"==typeof s)return-1}}return e.index-t.index}function i(e){var t=-1,r=e.length,o=e[0],i=e[r/2|0],a=e[r-1];if(o&&"object"==typeof o&&i&&"object"==typeof i&&a&&"object"==typeof a)return!1;var s=u();s["false"]=s["null"]=s["true"]=s.undefined=!1;var c=u();for(c.array=e,c.cache=s,c.push=n;++t<r;)c.push(e[t]);return c}function a(e){return"\\"+J[e]}function s(){return h.pop()||[]}function u(){return g.pop()||{array:null,cache:null,criteria:null,"false":!1,index:0,"null":!1,number:null,object:null,push:null,string:null,"true":!1,undefined:!1,value:null}}function c(e){e.length=0,h.length<b&&h.push(e)}function l(e){var t=e.cache;t&&l(t),e.array=e.cache=e.criteria=e.object=e.number=e.string=e.value=null,g.length<b&&g.push(e)}function f(e,t,n){t||(t=0),"undefined"==typeof n&&(n=e?e.length:0);for(var r=-1,o=n-t||0,i=Array(0>o?0:o);++r<o;)i[r]=e[t+r];return i}function p(n){function h(e){return e&&"object"==typeof e&&!Kr(e)&&Lr.call(e,"__wrapped__")?e:new g(e)}function g(e,t){this.__chain__=!!t,this.__wrapped__=e}function b(e){function t(){if(r){var e=f(r);Rr.apply(e,arguments)}if(this instanceof t){var i=G(n.prototype),a=n.apply(i,e||arguments);return At(a)?a:i}return n.apply(o,e||arguments)}var n=e[0],r=e[2],o=e[4];return Qr(t,e),t}function J(e,t,n,r,o){if(n){var i=n(e);if("undefined"!=typeof i)return i}var a=At(e);if(!a)return e;var u=jr.call(e);if(!B[u])return e;var l=Gr[u];switch(u){case q:case H:return new l(+e);case F:case U:return new l(e);case P:return i=l(e.source,k.exec(e)),i.lastIndex=e.lastIndex,i}var p=Kr(e);if(t){var d=!r;r||(r=s()),o||(o=s());for(var h=r.length;h--;)if(r[h]==e)return o[h];i=p?l(e.length):{}}else i=p?f(e):io({},e);return p&&(Lr.call(e,"index")&&(i.index=e.index),Lr.call(e,"input")&&(i.input=e.input)),t?(r.push(e),o.push(i),(p?Yt:uo)(e,function(e,a){i[a]=J(e,t,n,r,o)}),d&&(c(r),c(o)),i):i}function G(e){return At(e)?Ir(e):{}}function Y(e,t,n){if("function"!=typeof e)return Kn;if("undefined"==typeof t||!("prototype"in e))return e;var r=e.__bindData__;if("undefined"==typeof r&&(Yr.funcNames&&(r=!e.name),r=r||!Yr.funcDecomp,!r)){var o=Or.call(e);Yr.funcNames||(r=!E.test(o)),r||(r=A.test(o),Qr(e,r))}if(r===!1||r!==!0&&1&r[1])return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return Rn(e,t)}function Q(e){function t(){var e=u?a:this;if(o){var h=f(o);Rr.apply(h,arguments)}if((i||l)&&(h||(h=f(arguments)),i&&Rr.apply(h,i),l&&h.length<s))return r|=16,Q([n,p?r:-4&r,h,null,a,s]);if(h||(h=arguments),c&&(n=e[d]),this instanceof t){e=G(n.prototype);var g=n.apply(e,h);return At(g)?g:e}return n.apply(e,h)}var n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],u=1&r,c=2&r,l=4&r,p=8&r,d=n;return Qr(t,e),t}function K(n,r){var o=-1,a=ut(),s=n?n.length:0,u=s>=y&&a===e,c=[];if(u){var f=i(r);f?(a=t,r=f):u=!1}for(;++o<s;){var p=n[o];a(r,p)<0&&c.push(p)}return u&&l(r),c}function et(e,t,n,r){for(var o=(r||0)-1,i=e?e.length:0,a=[];++o<i;){var s=e[o];if(s&&"object"==typeof s&&"number"==typeof s.length&&(Kr(s)||pt(s))){t||(s=et(s,t,n));var u=-1,c=s.length,l=a.length;for(a.length+=c;++u<c;)a[l++]=s[u]}else n||a.push(s)}return a}function tt(e,t,n,r,o,i){if(n){var a=n(e,t);if("undefined"!=typeof a)return!!a}if(e===t)return 0!==e||1/e==1/t;var u=typeof e,l=typeof t;if(!(e!==e||e&&z[u]||t&&z[l]))return!1;if(null==e||null==t)return e===t;var f=jr.call(e),p=jr.call(t);if(f==L&&(f=I),p==L&&(p=I),f!=p)return!1;switch(f){case q:case H:return+e==+t;case F:return e!=+e?t!=+t:0==e?1/e==1/t:e==+t;case P:case U:return e==_r(t)}var d=f==R;if(!d){var h=Lr.call(e,"__wrapped__"),g=Lr.call(t,"__wrapped__");if(h||g)return tt(h?e.__wrapped__:e,g?t.__wrapped__:t,n,r,o,i);if(f!=I)return!1;var v=e.constructor,m=t.constructor;if(v!=m&&!(Nt(v)&&v instanceof v&&Nt(m)&&m instanceof m)&&"constructor"in e&&"constructor"in t)return!1}var y=!o;o||(o=s()),i||(i=s());for(var b=o.length;b--;)if(o[b]==e)return i[b]==t;var w=0;if(a=!0,o.push(e),i.push(t),d){if(b=e.length,w=t.length,a=w==b,a||r)for(;w--;){var x=b,_=t[w];if(r)for(;x--&&!(a=tt(e[x],_,n,r,o,i)););else if(!(a=tt(e[w],_,n,r,o,i)))break}}else so(t,function(t,s,u){return Lr.call(u,s)?(w++,a=Lr.call(e,s)&&tt(e[s],t,n,r,o,i)):void 0}),a&&!r&&so(e,function(e,t,n){return Lr.call(n,t)?a=--w>-1:void 0});return o.pop(),i.pop(),y&&(c(o),c(i)),a}function nt(e,t,n,r,o){(Kr(t)?Yt:uo)(t,function(t,i){var a,s,u=t,c=e[i];if(t&&((s=Kr(t))||co(t))){for(var l=r.length;l--;)if(a=r[l]==t){c=o[l];break}if(!a){var f;n&&(u=n(c,t),(f="undefined"!=typeof u)&&(c=u)),f||(c=s?Kr(c)?c:[]:co(c)?c:{}),r.push(t),o.push(c),f||nt(c,t,n,r,o)}}else n&&(u=n(c,t),"undefined"==typeof u&&(u=t)),"undefined"!=typeof u&&(c=u);e[i]=c})}function rt(e,t){return e+Dr(Vr()*(t-e+1))}function ot(n,r,o){var a=-1,u=ut(),f=n?n.length:0,p=[],d=!r&&f>=y&&u===e,h=o||d?s():p;if(d){var g=i(h);u=t,h=g}for(;++a<f;){var v=n[a],m=o?o(v,a,n):v;(r?!a||h[h.length-1]!==m:u(h,m)<0)&&((o||d)&&h.push(m),p.push(v))}return d?(c(h.array),l(h)):o&&c(h),p}function it(e){return function(t,n,r){var o={};n=h.createCallback(n,r,3);var i=-1,a=t?t.length:0;if("number"==typeof a)for(;++i<a;){var s=t[i];e(o,s,n(s,i,t),t)}else uo(t,function(t,r,i){e(o,t,n(t,r,i),i)});return o}}function at(e,t,n,r,o,i){var a=1&t,s=2&t,u=4&t,c=16&t,l=32&t;if(!s&&!Nt(e))throw new Cr;c&&!n.length&&(t&=-17,c=n=!1),l&&!r.length&&(t&=-33,l=r=!1);var p=e&&e.__bindData__;if(p&&p!==!0)return p=f(p),p[2]&&(p[2]=f(p[2])),p[3]&&(p[3]=f(p[3])),!a||1&p[1]||(p[4]=o),!a&&1&p[1]&&(t|=8),!u||4&p[1]||(p[5]=i),c&&Rr.apply(p[2]||(p[2]=[]),n),l&&Mr.apply(p[3]||(p[3]=[]),r),p[1]|=t,at.apply(null,p);var d=1==t||17===t?b:Q;return d([e,t,n,r,o,i])}function st(e){return to[e]}function ut(){var t=(t=h.indexOf)===yn?e:t;return t}function ct(e){return"function"==typeof e&&Sr.test(e)}function lt(e){var t,n;return e&&jr.call(e)==I&&(t=e.constructor,!Nt(t)||t instanceof t)?(so(e,function(e,t){n=t}),"undefined"==typeof n||Lr.call(e,n)):!1}function ft(e){return no[e]}function pt(e){return e&&"object"==typeof e&&"number"==typeof e.length&&jr.call(e)==L||!1}function dt(e,t,n,r){return"boolean"!=typeof t&&null!=t&&(r=n,n=t,t=!1),J(e,t,"function"==typeof n&&Y(n,r,1))}function ht(e,t,n){return J(e,!0,"function"==typeof t&&Y(t,n,1))}function gt(e,t){var n=G(e);return t?io(n,t):n}function vt(e,t,n){var r;return t=h.createCallback(t,n,3),uo(e,function(e,n,o){return t(e,n,o)?(r=n,!1):void 0}),r}function mt(e,t,n){var r;return t=h.createCallback(t,n,3),bt(e,function(e,n,o){return t(e,n,o)?(r=n,!1):void 0}),r}function yt(e,t,n){var r=[];so(e,function(e,t){r.push(t,e)});var o=r.length;for(t=Y(t,n,3);o--&&t(r[o--],r[o],e)!==!1;);return e}function bt(e,t,n){var r=eo(e),o=r.length;for(t=Y(t,n,3);o--;){var i=r[o];if(t(e[i],i,e)===!1)break}return e}function wt(e){var t=[];return so(e,function(e,n){Nt(e)&&t.push(n)}),t.sort()}function xt(e,t){return e?Lr.call(e,t):!1}function _t(e){for(var t=-1,n=eo(e),r=n.length,o={};++t<r;){var i=n[t];o[e[i]]=i}return o}function Ct(e){return e===!0||e===!1||e&&"object"==typeof e&&jr.call(e)==q||!1}function Tt(e){return e&&"object"==typeof e&&jr.call(e)==H||!1}function kt(e){return e&&1===e.nodeType||!1}function Et(e){var t=!0;if(!e)return t;var n=jr.call(e),r=e.length;return n==R||n==U||n==L||n==I&&"number"==typeof r&&Nt(e.splice)?!r:(uo(e,function(){return t=!1}),t)}function jt(e,t,n,r){return tt(e,t,"function"==typeof n&&Y(n,r,2))}function St(e){return Ur(e)&&!Br(parseFloat(e))}function Nt(e){return"function"==typeof e}function At(e){return!(!e||!z[typeof e])}function Dt(e){return $t(e)&&e!=+e}function Ot(e){return null===e}function $t(e){return"number"==typeof e||e&&"object"==typeof e&&jr.call(e)==F||!1}function Lt(e){return e&&"object"==typeof e&&jr.call(e)==P||!1}function Rt(e){return"string"==typeof e||e&&"object"==typeof e&&jr.call(e)==U||!1}function qt(e){return"undefined"==typeof e}function Ht(e,t,n){var r={};return t=h.createCallback(t,n,3),uo(e,function(e,n,o){r[n]=t(e,n,o)}),r}function Mt(e){var t=arguments,n=2;if(!At(e))return e;if("number"!=typeof t[2]&&(n=t.length),n>3&&"function"==typeof t[n-2])var r=Y(t[--n-1],t[n--],2);else n>2&&"function"==typeof t[n-1]&&(r=t[--n]);for(var o=f(arguments,1,n),i=-1,a=s(),u=s();++i<n;)nt(e,o[i],r,a,u);return c(a),c(u),e}function Ft(e,t,n){var r={};if("function"!=typeof t){var o=[];so(e,function(e,t){o.push(t)}),o=K(o,et(arguments,!0,!1,1));for(var i=-1,a=o.length;++i<a;){var s=o[i];r[s]=e[s]}}else t=h.createCallback(t,n,3),so(e,function(e,n,o){t(e,n,o)||(r[n]=e)});return r}function It(e){for(var t=-1,n=eo(e),r=n.length,o=hr(r);++t<r;){var i=n[t];o[t]=[i,e[i]]}return o}function Pt(e,t,n){var r={};if("function"!=typeof t)for(var o=-1,i=et(arguments,!0,!1,1),a=At(e)?i.length:0;++o<a;){var s=i[o];s in e&&(r[s]=e[s])}else t=h.createCallback(t,n,3),so(e,function(e,n,o){t(e,n,o)&&(r[n]=e)});return r}function Ut(e,t,n,r){var o=Kr(e);if(null==n)if(o)n=[];else{var i=e&&e.constructor,a=i&&i.prototype;n=G(a)}return t&&(t=h.createCallback(t,r,4),(o?Yt:uo)(e,function(e,r,o){return t(n,e,r,o)})),n}function Bt(e){for(var t=-1,n=eo(e),r=n.length,o=hr(r);++t<r;)o[t]=e[n[t]];return o}function Wt(e){for(var t=arguments,n=-1,r=et(t,!0,!1,1),o=t[2]&&t[2][t[1]]===e?1:r.length,i=hr(o);++n<o;)i[n]=e[r[n]];return i}function Xt(e,t,n){var r=-1,o=ut(),i=e?e.length:0,a=!1;return n=(0>n?Xr(0,i+n):n)||0,Kr(e)?a=o(e,t,n)>-1:"number"==typeof i?a=(Rt(e)?e.indexOf(t,n):o(e,t,n))>-1:uo(e,function(e){return++r>=n?!(a=e===t):void 0}),a}function zt(e,t,n){var r=!0;t=h.createCallback(t,n,3);var o=-1,i=e?e.length:0;if("number"==typeof i)for(;++o<i&&(r=!!t(e[o],o,e)););else uo(e,function(e,n,o){return r=!!t(e,n,o)});return r}function Jt(e,t,n){var r=[];t=h.createCallback(t,n,3);var o=-1,i=e?e.length:0;if("number"==typeof i)for(;++o<i;){var a=e[o];t(a,o,e)&&r.push(a)}else uo(e,function(e,n,o){t(e,n,o)&&r.push(e)});return r}function Vt(e,t,n){t=h.createCallback(t,n,3);var r=-1,o=e?e.length:0;if("number"!=typeof o){var i;return uo(e,function(e,n,r){return t(e,n,r)?(i=e,!1):void 0}),i}for(;++r<o;){var a=e[r];if(t(a,r,e))return a}}function Gt(e,t,n){var r;return t=h.createCallback(t,n,3),Qt(e,function(e,n,o){return t(e,n,o)?(r=e,!1):void 0}),r}function Yt(e,t,n){var r=-1,o=e?e.length:0;if(t=t&&"undefined"==typeof n?t:Y(t,n,3),"number"==typeof o)for(;++r<o&&t(e[r],r,e)!==!1;);else uo(e,t);return e}function Qt(e,t,n){var r=e?e.length:0;if(t=t&&"undefined"==typeof n?t:Y(t,n,3),"number"==typeof r)for(;r--&&t(e[r],r,e)!==!1;);else{var o=eo(e);r=o.length,uo(e,function(e,n,i){return n=o?o[--r]:--r,t(i[n],n,i)})}return e}function Kt(e,t){var n=f(arguments,2),r=-1,o="function"==typeof t,i=e?e.length:0,a=hr("number"==typeof i?i:0);return Yt(e,function(e){a[++r]=(o?t:e[t]).apply(e,n)}),a}function Zt(e,t,n){var r=-1,o=e?e.length:0;if(t=h.createCallback(t,n,3),"number"==typeof o)for(var i=hr(o);++r<o;)i[r]=t(e[r],r,e);else i=[],uo(e,function(e,n,o){i[++r]=t(e,n,o)
});return i}function en(e,t,n){var o=-1/0,i=o;if("function"!=typeof t&&n&&n[t]===e&&(t=null),null==t&&Kr(e))for(var a=-1,s=e.length;++a<s;){var u=e[a];u>i&&(i=u)}else t=null==t&&Rt(e)?r:h.createCallback(t,n,3),Yt(e,function(e,n,r){var a=t(e,n,r);a>o&&(o=a,i=e)});return i}function tn(e,t,n){var o=1/0,i=o;if("function"!=typeof t&&n&&n[t]===e&&(t=null),null==t&&Kr(e))for(var a=-1,s=e.length;++a<s;){var u=e[a];i>u&&(i=u)}else t=null==t&&Rt(e)?r:h.createCallback(t,n,3),Yt(e,function(e,n,r){var a=t(e,n,r);o>a&&(o=a,i=e)});return i}function nn(e,t,n,r){if(!e)return n;var o=arguments.length<3;t=h.createCallback(t,r,4);var i=-1,a=e.length;if("number"==typeof a)for(o&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);else uo(e,function(e,r,i){n=o?(o=!1,e):t(n,e,r,i)});return n}function rn(e,t,n,r){var o=arguments.length<3;return t=h.createCallback(t,r,4),Qt(e,function(e,r,i){n=o?(o=!1,e):t(n,e,r,i)}),n}function on(e,t,n){return t=h.createCallback(t,n,3),Jt(e,function(e,n,r){return!t(e,n,r)})}function an(e,t,n){if(e&&"number"!=typeof e.length&&(e=Bt(e)),null==t||n)return e?e[rt(0,e.length-1)]:d;var r=sn(e);return r.length=zr(Xr(0,t),r.length),r}function sn(e){var t=-1,n=e?e.length:0,r=hr("number"==typeof n?n:0);return Yt(e,function(e){var n=rt(0,++t);r[t]=r[n],r[n]=e}),r}function un(e){var t=e?e.length:0;return"number"==typeof t?t:eo(e).length}function cn(e,t,n){var r;t=h.createCallback(t,n,3);var o=-1,i=e?e.length:0;if("number"==typeof i)for(;++o<i&&!(r=t(e[o],o,e)););else uo(e,function(e,n,o){return!(r=t(e,n,o))});return!!r}function ln(e,t,n){var r=-1,i=Kr(t),a=e?e.length:0,f=hr("number"==typeof a?a:0);for(i||(t=h.createCallback(t,n,3)),Yt(e,function(e,n,o){var a=f[++r]=u();i?a.criteria=Zt(t,function(t){return e[t]}):(a.criteria=s())[0]=t(e,n,o),a.index=r,a.value=e}),a=f.length,f.sort(o);a--;){var p=f[a];f[a]=p.value,i||c(p.criteria),l(p)}return f}function fn(e){return e&&"number"==typeof e.length?f(e):Bt(e)}function pn(e){for(var t=-1,n=e?e.length:0,r=[];++t<n;){var o=e[t];o&&r.push(o)}return r}function dn(e){return K(e,et(arguments,!0,!0,1))}function hn(e,t,n){var r=-1,o=e?e.length:0;for(t=h.createCallback(t,n,3);++r<o;)if(t(e[r],r,e))return r;return-1}function gn(e,t,n){var r=e?e.length:0;for(t=h.createCallback(t,n,3);r--;)if(t(e[r],r,e))return r;return-1}function vn(e,t,n){var r=0,o=e?e.length:0;if("number"!=typeof t&&null!=t){var i=-1;for(t=h.createCallback(t,n,3);++i<o&&t(e[i],i,e);)r++}else if(r=t,null==r||n)return e?e[0]:d;return f(e,0,zr(Xr(0,r),o))}function mn(e,t,n,r){return"boolean"!=typeof t&&null!=t&&(r=n,n="function"!=typeof t&&r&&r[t]===e?null:t,t=!1),null!=n&&(e=Zt(e,n,r)),et(e,t)}function yn(t,n,r){if("number"==typeof r){var o=t?t.length:0;r=0>r?Xr(0,o+r):r||0}else if(r){var i=jn(t,n);return t[i]===n?i:-1}return e(t,n,r)}function bn(e,t,n){var r=0,o=e?e.length:0;if("number"!=typeof t&&null!=t){var i=o;for(t=h.createCallback(t,n,3);i--&&t(e[i],i,e);)r++}else r=null==t||n?1:t||r;return f(e,0,zr(Xr(0,o-r),o))}function wn(){for(var n=[],r=-1,o=arguments.length,a=s(),u=ut(),f=u===e,p=s();++r<o;){var d=arguments[r];(Kr(d)||pt(d))&&(n.push(d),a.push(f&&d.length>=y&&i(r?n[r]:p)))}var h=n[0],g=-1,v=h?h.length:0,m=[];e:for(;++g<v;){var b=a[0];if(d=h[g],(b?t(b,d):u(p,d))<0){for(r=o,(b||p).push(d);--r;)if(b=a[r],(b?t(b,d):u(n[r],d))<0)continue e;m.push(d)}}for(;o--;)b=a[o],b&&l(b);return c(a),c(p),m}function xn(e,t,n){var r=0,o=e?e.length:0;if("number"!=typeof t&&null!=t){var i=o;for(t=h.createCallback(t,n,3);i--&&t(e[i],i,e);)r++}else if(r=t,null==r||n)return e?e[o-1]:d;return f(e,Xr(0,o-r))}function _n(e,t,n){var r=e?e.length:0;for("number"==typeof n&&(r=(0>n?Xr(0,r+n):zr(n,r-1))+1);r--;)if(e[r]===t)return r;return-1}function Cn(e){for(var t=arguments,n=0,r=t.length,o=e?e.length:0;++n<r;)for(var i=-1,a=t[n];++i<o;)e[i]===a&&(Hr.call(e,i--,1),o--);return e}function Tn(e,t,n){e=+e||0,n="number"==typeof n?n:+n||1,null==t&&(t=e,e=0);for(var r=-1,o=Xr(0,Nr((t-e)/(n||1))),i=hr(o);++r<o;)i[r]=e,e+=n;return i}function kn(e,t,n){var r=-1,o=e?e.length:0,i=[];for(t=h.createCallback(t,n,3);++r<o;){var a=e[r];t(a,r,e)&&(i.push(a),Hr.call(e,r--,1),o--)}return i}function En(e,t,n){if("number"!=typeof t&&null!=t){var r=0,o=-1,i=e?e.length:0;for(t=h.createCallback(t,n,3);++o<i&&t(e[o],o,e);)r++}else r=null==t||n?1:Xr(0,t);return f(e,r)}function jn(e,t,n,r){var o=0,i=e?e.length:o;for(n=n?h.createCallback(n,r,1):Kn,t=n(t);i>o;){var a=o+i>>>1;n(e[a])<t?o=a+1:i=a}return o}function Sn(){return ot(et(arguments,!0,!0))}function Nn(e,t,n,r){return"boolean"!=typeof t&&null!=t&&(r=n,n="function"!=typeof t&&r&&r[t]===e?null:t,t=!1),null!=n&&(n=h.createCallback(n,r,3)),ot(e,t,n)}function An(e){return K(e,f(arguments,1))}function Dn(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Kr(n)||pt(n))var r=r?ot(K(r,n).concat(K(n,r))):n}return r||[]}function On(){for(var e=arguments.length>1?arguments:arguments[0],t=-1,n=e?en(ho(e,"length")):0,r=hr(0>n?0:n);++t<n;)r[t]=ho(e,t);return r}function $n(e,t){var n=-1,r=e?e.length:0,o={};for(t||!r||Kr(e[0])||(t=[]);++n<r;){var i=e[n];t?o[i]=t[n]:i&&(o[i[0]]=i[1])}return o}function Ln(e,t){if(!Nt(t))throw new Cr;return function(){return--e<1?t.apply(this,arguments):void 0}}function Rn(e,t){return arguments.length>2?at(e,17,f(arguments,2),null,t):at(e,1,null,null,t)}function qn(e){for(var t=arguments.length>1?et(arguments,!0,!1,1):wt(e),n=-1,r=t.length;++n<r;){var o=t[n];e[o]=at(e[o],1,null,null,e)}return e}function Hn(e,t){return arguments.length>2?at(t,19,f(arguments,2),null,e):at(t,3,null,null,e)}function Mn(){for(var e=arguments,t=e.length;t--;)if(!Nt(e[t]))throw new Cr;return function(){for(var t=arguments,n=e.length;n--;)t=[e[n].apply(this,t)];return t[0]}}function Fn(e,t){return t="number"==typeof t?t:+t||e.length,at(e,4,null,null,null,t)}function In(e,t,n){var r,o,i,a,s,u,c,l=0,f=!1,p=!0;if(!Nt(e))throw new Cr;if(t=Xr(0,t)||0,n===!0){var h=!0;p=!1}else At(n)&&(h=n.leading,f="maxWait"in n&&(Xr(t,n.maxWait)||0),p="trailing"in n?n.trailing:p);var g=function(){var n=t-(vo()-a);if(0>=n){o&&Ar(o);var f=c;o=u=c=d,f&&(l=vo(),i=e.apply(s,r),u||o||(r=s=null))}else u=qr(g,n)},v=function(){u&&Ar(u),o=u=c=d,(p||f!==t)&&(l=vo(),i=e.apply(s,r),u||o||(r=s=null))};return function(){if(r=arguments,a=vo(),s=this,c=p&&(u||!h),f===!1)var n=h&&!u;else{o||h||(l=a);var d=f-(a-l),m=0>=d;m?(o&&(o=Ar(o)),l=a,i=e.apply(s,r)):o||(o=qr(v,d))}return m&&u?u=Ar(u):u||t===f||(u=qr(g,t)),n&&(m=!0,i=e.apply(s,r)),!m||u||o||(r=s=null),i}}function Pn(e){if(!Nt(e))throw new Cr;var t=f(arguments,1);return qr(function(){e.apply(d,t)},1)}function Un(e,t){if(!Nt(e))throw new Cr;var n=f(arguments,2);return qr(function(){e.apply(d,n)},t)}function Bn(e,t){if(!Nt(e))throw new Cr;var n=function(){var r=n.cache,o=t?t.apply(this,arguments):m+arguments[0];return Lr.call(r,o)?r[o]:r[o]=e.apply(this,arguments)};return n.cache={},n}function Wn(e){var t,n;if(!Nt(e))throw new Cr;return function(){return t?n:(t=!0,n=e.apply(this,arguments),e=null,n)}}function Xn(e){return at(e,16,f(arguments,1))}function zn(e){return at(e,32,null,f(arguments,1))}function Jn(e,t,n){var r=!0,o=!0;if(!Nt(e))throw new Cr;return n===!1?r=!1:At(n)&&(r="leading"in n?n.leading:r,o="trailing"in n?n.trailing:o),W.leading=r,W.maxWait=t,W.trailing=o,In(e,t,W)}function Vn(e,t){return at(t,16,[e])}function Gn(e){return function(){return e}}function Yn(e,t,n){var r=typeof e;if(null==e||"function"==r)return Y(e,t,n);if("object"!=r)return nr(e);var o=eo(e),i=o[0],a=e[i];return 1!=o.length||a!==a||At(a)?function(t){for(var n=o.length,r=!1;n--&&(r=tt(t[o[n]],e[o[n]],null,!0)););return r}:function(e){var t=e[i];return a===t&&(0!==a||1/a==1/t)}}function Qn(e){return null==e?"":_r(e).replace(oo,st)}function Kn(e){return e}function Zn(e,t,n){var r=!0,o=t&&wt(t);t&&(n||o.length)||(null==n&&(n=t),i=g,t=e,e=h,o=wt(t)),n===!1?r=!1:At(n)&&"chain"in n&&(r=n.chain);var i=e,a=Nt(i);Yt(o,function(n){var o=e[n]=t[n];a&&(i.prototype[n]=function(){var t=this.__chain__,n=this.__wrapped__,a=[n];Rr.apply(a,arguments);var s=o.apply(e,a);if(r||t){if(n===s&&At(s))return this;s=new i(s),s.__chain__=t}return s})})}function er(){return n._=Er,this}function tr(){}function nr(e){return function(t){return t[e]}}function rr(e,t,n){var r=null==e,o=null==t;if(null==n&&("boolean"==typeof e&&o?(n=e,e=1):o||"boolean"!=typeof t||(n=t,o=!0)),r&&o&&(t=1),e=+e||0,o?(t=e,e=0):t=+t||0,n||e%1||t%1){var i=Vr();return zr(e+i*(t-e+parseFloat("1e-"+((i+"").length-1))),t)}return rt(e,t)}function or(e,t){if(e){var n=e[t];return Nt(n)?e[t]():n}}function ir(e,t,n){var r=h.templateSettings;e=_r(e||""),n=ao({},n,r);var o,i=ao({},n.imports,r.imports),s=eo(i),u=Bt(i),c=0,l=n.interpolate||N,f="__p += '",p=xr((n.escape||N).source+"|"+l.source+"|"+(l===j?T:N).source+"|"+(n.evaluate||N).source+"|$","g");e.replace(p,function(t,n,r,i,s,u){return r||(r=i),f+=e.slice(c,u).replace(D,a),n&&(f+="' +\n__e("+n+") +\n'"),s&&(o=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t}),f+="';\n";var g=n.variable,v=g;v||(g="obj",f="with ("+g+") {\n"+f+"\n}\n"),f=(o?f.replace(x,""):f).replace(_,"$1").replace(C,"$1;"),f="function("+g+") {\n"+(v?"":g+" || ("+g+" = {});\n")+"var __t, __p = '', __e = _.escape"+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m="\n/*\n//# sourceURL="+(n.sourceURL||"/lodash/template/source["+$++ +"]")+"\n*/";try{var y=mr(s,"return "+f+m).apply(d,u)}catch(b){throw b.source=f,b}return t?y(t):(y.source=f,y)}function ar(e,t,n){e=(e=+e)>-1?e:0;var r=-1,o=hr(e);for(t=Y(t,n,1);++r<e;)o[r]=t(r);return o}function sr(e){return null==e?"":_r(e).replace(ro,ft)}function ur(e){var t=++v;return _r(null==e?"":e)+t}function cr(e){return e=new g(e),e.__chain__=!0,e}function lr(e,t){return t(e),e}function fr(){return this.__chain__=!0,this}function pr(){return _r(this.__wrapped__)}function dr(){return this.__wrapped__}n=n?Z.defaults(V.Object(),n,Z.pick(V,O)):V;var hr=n.Array,gr=n.Boolean,vr=n.Date,mr=n.Function,yr=n.Math,br=n.Number,wr=n.Object,xr=n.RegExp,_r=n.String,Cr=n.TypeError,Tr=[],kr=wr.prototype,Er=n._,jr=kr.toString,Sr=xr("^"+_r(jr).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),Nr=yr.ceil,Ar=n.clearTimeout,Dr=yr.floor,Or=mr.prototype.toString,$r=ct($r=wr.getPrototypeOf)&&$r,Lr=kr.hasOwnProperty,Rr=Tr.push,qr=n.setTimeout,Hr=Tr.splice,Mr=Tr.unshift,Fr=function(){try{var e={},t=ct(t=wr.defineProperty)&&t,n=t(e,e,e)&&t}catch(r){}return n}(),Ir=ct(Ir=wr.create)&&Ir,Pr=ct(Pr=hr.isArray)&&Pr,Ur=n.isFinite,Br=n.isNaN,Wr=ct(Wr=wr.keys)&&Wr,Xr=yr.max,zr=yr.min,Jr=n.parseInt,Vr=yr.random,Gr={};Gr[R]=hr,Gr[q]=gr,Gr[H]=vr,Gr[M]=mr,Gr[I]=wr,Gr[F]=br,Gr[P]=xr,Gr[U]=_r,g.prototype=h.prototype;var Yr=h.support={};Yr.funcDecomp=!ct(n.WinRTError)&&A.test(p),Yr.funcNames="string"==typeof mr.name,h.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:j,variable:"",imports:{_:h}},Ir||(G=function(){function e(){}return function(t){if(At(t)){e.prototype=t;var r=new e;e.prototype=null}return r||n.Object()}}());var Qr=Fr?function(e,t){X.value=t,Fr(e,"__bindData__",X)}:tr,Kr=Pr||function(e){return e&&"object"==typeof e&&"number"==typeof e.length&&jr.call(e)==R||!1},Zr=function(e){var t,n=e,r=[];if(!n)return r;if(!z[typeof e])return r;for(t in n)Lr.call(n,t)&&r.push(t);return r},eo=Wr?function(e){return At(e)?Wr(e):[]}:Zr,to={"&":"&","<":"<",">":">",'"':""","'":"'"},no=_t(to),ro=xr("("+eo(no).join("|")+")","g"),oo=xr("["+eo(to).join("")+"]","g"),io=function(e,t,n){var r,o=e,i=o;if(!o)return i;var a=arguments,s=0,u="number"==typeof n?2:a.length;if(u>3&&"function"==typeof a[u-2])var c=Y(a[--u-1],a[u--],2);else u>2&&"function"==typeof a[u-1]&&(c=a[--u]);for(;++s<u;)if(o=a[s],o&&z[typeof o])for(var l=-1,f=z[typeof o]&&eo(o),p=f?f.length:0;++l<p;)r=f[l],i[r]=c?c(i[r],o[r]):o[r];return i},ao=function(e,t,n){var r,o=e,i=o;if(!o)return i;for(var a=arguments,s=0,u="number"==typeof n?2:a.length;++s<u;)if(o=a[s],o&&z[typeof o])for(var c=-1,l=z[typeof o]&&eo(o),f=l?l.length:0;++c<f;)r=l[c],"undefined"==typeof i[r]&&(i[r]=o[r]);return i},so=function(e,t,n){var r,o=e,i=o;if(!o)return i;if(!z[typeof o])return i;t=t&&"undefined"==typeof n?t:Y(t,n,3);for(r in o)if(t(o[r],r,e)===!1)return i;return i},uo=function(e,t,n){var r,o=e,i=o;if(!o)return i;if(!z[typeof o])return i;t=t&&"undefined"==typeof n?t:Y(t,n,3);for(var a=-1,s=z[typeof o]&&eo(o),u=s?s.length:0;++a<u;)if(r=s[a],t(o[r],r,e)===!1)return i;return i},co=$r?function(e){if(!e||jr.call(e)!=I)return!1;var t=e.valueOf,n=ct(t)&&(n=$r(t))&&$r(n);return n?e==n||$r(e)==n:lt(e)}:lt,lo=it(function(e,t,n){Lr.call(e,n)?e[n]++:e[n]=1}),fo=it(function(e,t,n){(Lr.call(e,n)?e[n]:e[n]=[]).push(t)}),po=it(function(e,t,n){e[n]=t}),ho=Zt,go=Jt,vo=ct(vo=vr.now)&&vo||function(){return(new vr).getTime()},mo=8==Jr(w+"08")?Jr:function(e,t){return Jr(Rt(e)?e.replace(S,""):e,t||0)};return h.after=Ln,h.assign=io,h.at=Wt,h.bind=Rn,h.bindAll=qn,h.bindKey=Hn,h.chain=cr,h.compact=pn,h.compose=Mn,h.constant=Gn,h.countBy=lo,h.create=gt,h.createCallback=Yn,h.curry=Fn,h.debounce=In,h.defaults=ao,h.defer=Pn,h.delay=Un,h.difference=dn,h.filter=Jt,h.flatten=mn,h.forEach=Yt,h.forEachRight=Qt,h.forIn=so,h.forInRight=yt,h.forOwn=uo,h.forOwnRight=bt,h.functions=wt,h.groupBy=fo,h.indexBy=po,h.initial=bn,h.intersection=wn,h.invert=_t,h.invoke=Kt,h.keys=eo,h.map=Zt,h.mapValues=Ht,h.max=en,h.memoize=Bn,h.merge=Mt,h.min=tn,h.omit=Ft,h.once=Wn,h.pairs=It,h.partial=Xn,h.partialRight=zn,h.pick=Pt,h.pluck=ho,h.property=nr,h.pull=Cn,h.range=Tn,h.reject=on,h.remove=kn,h.rest=En,h.shuffle=sn,h.sortBy=ln,h.tap=lr,h.throttle=Jn,h.times=ar,h.toArray=fn,h.transform=Ut,h.union=Sn,h.uniq=Nn,h.values=Bt,h.where=go,h.without=An,h.wrap=Vn,h.xor=Dn,h.zip=On,h.zipObject=$n,h.collect=Zt,h.drop=En,h.each=Yt,h.eachRight=Qt,h.extend=io,h.methods=wt,h.object=$n,h.select=Jt,h.tail=En,h.unique=Nn,h.unzip=On,Zn(h),h.clone=dt,h.cloneDeep=ht,h.contains=Xt,h.escape=Qn,h.every=zt,h.find=Vt,h.findIndex=hn,h.findKey=vt,h.findLast=Gt,h.findLastIndex=gn,h.findLastKey=mt,h.has=xt,h.identity=Kn,h.indexOf=yn,h.isArguments=pt,h.isArray=Kr,h.isBoolean=Ct,h.isDate=Tt,h.isElement=kt,h.isEmpty=Et,h.isEqual=jt,h.isFinite=St,h.isFunction=Nt,h.isNaN=Dt,h.isNull=Ot,h.isNumber=$t,h.isObject=At,h.isPlainObject=co,h.isRegExp=Lt,h.isString=Rt,h.isUndefined=qt,h.lastIndexOf=_n,h.mixin=Zn,h.noConflict=er,h.noop=tr,h.now=vo,h.parseInt=mo,h.random=rr,h.reduce=nn,h.reduceRight=rn,h.result=or,h.runInContext=p,h.size=un,h.some=cn,h.sortedIndex=jn,h.template=ir,h.unescape=sr,h.uniqueId=ur,h.all=zt,h.any=cn,h.detect=Vt,h.findWhere=Vt,h.foldl=nn,h.foldr=rn,h.include=Xt,h.inject=nn,Zn(function(){var e={};return uo(h,function(t,n){h.prototype[n]||(e[n]=t)}),e}(),!1),h.first=vn,h.last=xn,h.sample=an,h.take=vn,h.head=vn,uo(h,function(e,t){var n="sample"!==t;h.prototype[t]||(h.prototype[t]=function(t,r){var o=this.__chain__,i=e(this.__wrapped__,t,r);return o||null!=t&&(!r||n&&"function"==typeof t)?new g(i,o):i})}),h.VERSION="2.4.1",h.prototype.chain=fr,h.prototype.toString=pr,h.prototype.value=dr,h.prototype.valueOf=dr,Yt(["join","pop","shift"],function(e){var t=Tr[e];h.prototype[e]=function(){var e=this.__chain__,n=t.apply(this.__wrapped__,arguments);return e?new g(n,e):n}}),Yt(["push","reverse","sort","unshift"],function(e){var t=Tr[e];h.prototype[e]=function(){return t.apply(this.__wrapped__,arguments),this}}),Yt(["concat","slice","splice"],function(e){var t=Tr[e];h.prototype[e]=function(){return new g(t.apply(this.__wrapped__,arguments),this.__chain__)}}),h}var d,h=[],g=[],v=0,m=+new Date+"",y=75,b=40,w=" \f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",x=/\b__p \+= '';/g,_=/\b(__p \+=) '' \+/g,C=/(__e\(.*?\)|\b__t\)) \+\n'';/g,T=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,k=/\w*$/,E=/^\s*function[ \n\r\t]+\w/,j=/<%=([\s\S]+?)%>/g,S=RegExp("^["+w+"]*0+(?=.$)"),N=/($^)/,A=/\bthis\b/,D=/['\n\r\t\u2028\u2029\\]/g,O=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],$=0,L="[object Arguments]",R="[object Array]",q="[object Boolean]",H="[object Date]",M="[object Function]",F="[object Number]",I="[object Object]",P="[object RegExp]",U="[object String]",B={};B[M]=!1,B[L]=B[R]=B[q]=B[H]=B[F]=B[I]=B[P]=B[U]=!0;var W={leading:!1,maxWait:0,trailing:!1},X={configurable:!1,enumerable:!1,value:null,writable:!1},z={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},J={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},V=z[typeof window]&&window||this,G=z[typeof exports]&&exports&&!exports.nodeType&&exports,Y=z[typeof module]&&module&&!module.nodeType&&module,Q=Y&&Y.exports===G&&G,K=z[typeof global]&&global;!K||K.global!==K&&K.window!==K||(V=K);var Z=p();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(V._=Z,define(function(){return Z})):G&&Y?Q?(Y.exports=Z)._=Z:G._=Z:V._=Z}.call(this),function(e,t,n){function r(e){return e}function o(e){return decodeURIComponent(e.replace(i," "))}var i=/\+/g,a=e.cookie=function(i,s,u){if(s!==n){if(u=e.extend({},a.defaults,u),null===s&&(u.expires=-1),"number"==typeof u.expires){var c=u.expires,l=u.expires=new Date;l.setDate(l.getDate()+c)}return s=a.json?JSON.stringify(s):String(s),t.cookie=[encodeURIComponent(i),"=",a.raw?s:encodeURIComponent(s),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join("")}for(var f=a.raw?r:o,p=t.cookie.split("; "),d=0,h=p.length;h>d;d++){var g=p[d].split("=");if(f(g.shift())===i){var v=f(g.join("="));return a.json?JSON.parse(v):v}}return null};a.defaults={},e.removeCookie=function(t,n){return null!==e.cookie(t)?(e.cookie(t,null,n),!0):!1}}(jQuery,document);var CP={};$.fn._on=function(e,t,n,r){"use strict";n=n||!1,r=r||!1,this.on(e,$.proxy(function(e){r||e.preventDefault();var o=e.target?$(e.target):[];return n&&(t=$.proxy(t,n)),t(e,o),r?void 0:!1},n))};var NastyBrowserSniffing={ua:navigator.userAgent.toLowerCase(),init:function(){if(NastyBrowserSniffing._hasClassList()){var e=NastyBrowserSniffing.ua.indexOf("android")>-1;e&&document.documentElement.classList.add("android");var t=NastyBrowserSniffing.ua.match(/(ipad|iphone|ipod)/g)?!0:!1;t&&document.documentElement.classList.add("ios");var n=NastyBrowserSniffing.ua.match(/(iphone\ os\ 5)/g)?!0:!1;n&&document.documentElement.classList.add("old-ios"),document.documentElement.classList.add(-1!==navigator.appVersion.indexOf("Mac")?"mac":"pc");var r=NastyBrowserSniffing.ua.match(/version\/8.0 safari/g)?!0:!1,o=NastyBrowserSniffing.ua.match(/version\/8.0.2 safari/g)?!0:!1;(r||o)&&document.documentElement.classList.add("safari8")}},_hasClassList:function(){return document.documentElement&&document.documentElement.classList?!0:!1}};try{NastyBrowserSniffing.init()}catch(e){}!function(){function e(e){if("string"==typeof e){var t=e.substring(0,1);if("["===t||"{"===t)return!0}return!1}var t=$("#init-data").val();if("string"==typeof t){var n=$.parseJSON(t);for(var r in n)if(n.hasOwnProperty(r)){var o=n[r];window[r]=e(o)?$.parseJSON(o):o}}}(),window._capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},window._isOnLocalhost=function(){var e=document.location.host;return e.match("127.0.0.1")||e.match("localhost")||e.match("codepen.dev")||e.match("cdpn.dev")},window._getTimeInMilliseconds=function(){return(new Date).getTime()},window._isValidURL=function(e){var t=e||"",n=/^(http:\/\/|https:\/\/|\/\/){1}\S+/i;return n.test($.trim(t))},window._htmlEntities=function(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/>/g,">").replace(/"/g,""")},window._rstrip=function(e,t){var n=new RegExp(t+"$");return e.replace(n,"")},window._htmlEncode=function(e){return $("<div/>").text(e).html()},window._stripHTMLTags=function(e){var t=e.replace(/<\/?[^>]+(>|$)/g,""),n=$("<div>"+t+"</div>"),r=n.text();return n.remove(),r},window._removeFromArrayByIndex=function(e,t){e.splice(t,1)},window._areEqual=function(e,t){if(typeof e!=typeof t)return!1;if("object"==typeof e){if(_.isArray(e)&&_.isArray(t)){if(0===e.length&&0===t.length)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;r>n;n++)if(!_areEqual(e[n],t[n]))return!1;return!0}var o=_.keys(e),i=_.keys(t),a=_.difference(o,i);if(a.length>0)return!1;for(var s in e)if(e[s]!==t[s])return!1;return!0}return e===t},window._getCPWildcardDomain=function(){return"."+document.location.host},window._diffObjects=function(e,t){var n={};for(var r in e)r in t&&(_areEqual(e[r],t[r])||(n[r]={old:e[r],current:t[r]}));return n},window._lengthInUtf8Bytes=function(e){var t=encodeURIComponent(e).match(/%[89ABab]/g);return e.length+(t?t.length:0)},window._getCachedScript=function(e,t){$.ajax({type:"GET",url:e,success:t,dataType:"script",cache:!0})},window._returnFalse=function(){return!1},window._hideElementWhenUserClicksAway=function(e,t){$("body").bind("click",function(n){var r=$(n.target).closest(e),o=$(e);0===r.length&&o.is(":visible")&&("function"==typeof t?t(n):o.hide())})},window._getHashFromURLParams=function(e){e=e||"";var t={},n=e.split("?"),r=n[1];if(r)for(var o=r.split("&"),i=0,a=o.length;a>i;i++){var s=o[i].split("=");t[decodeURIComponent(s[0]||"")]=decodeURIComponent(s[1]||"")}return t},window._trackEvent=function(e,t,n){"object"!=typeof window._gaq&&(window._gaq=[]),window._gaq.push(["_trackEvent",e,t,n])},window.__track=function(e,t,n){window.ga&&window.ga("send","event",e,t,n)};var URLUtil={httpsURL:function(e){return this._buildURL("https:",e)},protocolessURL:function(e){return this._buildURL("",e)},_buildURL:function(e,t){return e+"//"+document.location.host+t}};window.AJAXUtil={defaultAJAXTimeout:3e4,failedRequestMsg:"Unable to reach CodePen.io. Please contact [email protected]",post:function(e,t,n,r,o){this._send("POST",e,t,n,r,o)},get:function(e,t,n,r,o){this._send("GET",e,t,n,r,o)},put:function(e,t,n,r,o){this._send("PUT",e,t,n,r,o)},del:function(e,t,n,r,o){this._send("DELETE",e,t,n,r,o)},postCors:function(e,t,n,r,o){this._sendCors("POST",e,t,n,r,o)},_send:function(e,t,n,r,o,i,a){r=this._proxyFunk(r,this,$.noop),o=this._proxyFunk(o,this,this.showStandardErrorMessage),i=this._proxyFunk(i,this,$.noop);var s="undefined"==typeof a?"true":"false",u=this;$.ajax({url:t,type:e,timeout:this.defaultAJAXTimeout,data:this._getDataValues(n),headers:{"X-Cookies-Enabled":navigator.cookieEnabled,"X-CSRF-Token":$("meta[name='csrf-token']").attr("content"),"X-Retry-CSRF-Token":s},error:function(e){if(u._isNetworkError(e))u._reportError("network error",e),i();else{var t=$.parseJSON(e.responseText);o(t)}},success:function(a){a="string"==typeof a?$.parseJSON(a):a,a.success?r(a):u._isExpiredCSRFTokenError(a)?u._handleExpiredCSRFTokenError(a,e,t,n,r,o,i):a.errors.show_modal?u._handleShowModalError(a):o(a)}})},_handleShowModalError:function(e){$.showModal(e.errors.url_to_modal,"modal-error")},_isNetworkError:function(e){return"502"===e.status},_reportError:function(e,t){try{throw{name:e,message:e}}catch(n){ErrorReporter.report(n,t)}},_isExpiredCSRFTokenError:function(e){return e.errors&&e.errors.new_csrf_token},_handleExpiredCSRFTokenError:function(e,t,n,r,o,i,a){$("meta[name='csrf-token']").attr("content",e.errors.new_csrf_token),this._send(t,n,r,o,i,a,!1)},_proxyFunk:function(e,t,n){return"function"==typeof e?$.proxy(e,t):$.proxy(n,t)},_getDataValues:function(e){if("string"==typeof e)return e;var t="";for(var n in e)""!==t&&(t+="&"),t+=n+"="+encodeURIComponent(e[n]);return t},showStandardErrorMessage:function(e){var t="",n=e.errors?e.errors:e.error;for(var r in n)if($.isArray(n[r]))for(var o=0;o<n[r].length;o++)t+=n[r][o]+"<br />";else"message"===r&&(t+=n[r]+"<br />");var i="";i="<div class='clear'><h1>Error</h1>",i+="<ul class='error-list'><li>"+t+"</li></ul></div>",i+="<div><p><br /><br />",i+="<a class='button hide-message' ",i+=">Close</a>",i+="</p></div>",$.showModal(i,"modal-warning")}};var ObjectUtil={hasNestedValue:function(e,t){if(!t)return!1;for(var n=t.split("."),r=0;r<n.length;r++){var o=n[r];if(!e||!e.hasOwnProperty(o))return!1;e=e[o]}return!0}};if(!document.location.host.match(/(codepen\.dev|locahost)/)){if(function(e,t,n,r,o,i,a){e.GoogleAnalyticsObject=o,e[o]=e[o]||function(){(e[o].q=e[o].q||[]).push(arguments)},e[o].l=1*new Date,i=t.createElement(n),a=t.getElementsByTagName(n)[0],i.async=1,i.src=r,a.parentNode.insertBefore(i,a)}(window,document,"script","//www.google-analytics.com/analytics.js","ga"),ga("create","UA-30102653-1","auto"),"undefined"!=typeof __user)try{ga("set","id",__user.id)}catch(e){}ga("send","pageview")}var UserDropdown={init:function(){_.extend(this,AJAXUtil),this.bindToUIActions(),this.mobileOpener()},bindToUIActions:function(){$(".context-switch-button")._on("click",this.changeTeam,this)},mobileOpener:function(){var e=$("html");(e.hasClass("ios")||e.hasClass("android"))&&$("body").hasClass("logged-in")&&($(".user-stuff").on("click",function(){$(this).toggleClass("active")}),$(".user-stuff > a").on("click",function(e){e.preventDefault()}),$(".user-stuff .has-submenu > a").on("click",function(){var e=$(this).parent();return"hidden"==e.find(".submenu").css("visibility")&&(alert("opening submenu"),e.toggleClass("active")),!1}))},changeTeam:function(e,t){this.post("/team/change",{team_id:t.data("team-id")},this.doneChangeTeam)},doneChangeTeam:function(){location.reload()}};UserDropdown.init();var ViewSwitcher={init:function(){this.bindUIfunctions()},bindUIfunctions:function(){$(".view-switcher .mobile-trigger")._on("click",this.toggleMobileMenu,this),$(".view-switcher .pres-link:not('.upsell')")._on("click",this.slideHeaderAway,this,!0),$(".view-switcher .learn-more")._on("click",this.openLearnMoreLink,this),$(".view-switcher .view-url").on("click",this.openURLs),_hideElementWhenUserClicksAway(".view-switcher",this.hideViewSwitcherWhenUserClicksAway),$(".pre-select-text").on("click",this._preSelectText)},_preSelectText:function(){this.focus(),this.select()},hideViewSwitcherWhenUserClicksAway:function(){$(".view-switcher").removeClass("open"),ViewSwitcher.closeURLs()},toggleMobileMenu:function(e,t){t.closest(".view-switcher").toggleClass("open"),t.closest(".view-switcher").hasClass("open")||ViewSwitcher.closeURLs()},slideHeaderAway:function(){$(".view-switcher").removeClass("open"),$("#main-header").addClass("up-and-away")},openLearnMoreLink:function(e,t){window.open(t.data("href"),"_blank")},openURLs:function(){return ViewSwitcher.closeURLs(),$(this).find(".view-url-text").hide(),$(this).find(".view-url-url").show().focus().select(),!1},closeURLs:function(){$(".view-url-text").show(),$(".view-url-url").hide()}};ViewSwitcher.init();var CPLocalStorage={clear:function(){this._exec(function(){localStorage.clear()})},setItem:function(e,t){this._exec(function(){localStorage.setItem(e,t)})},getItem:function(e){return this._exec(function(){return localStorage.getItem(e)})},removeItem:function(e){var t=this.getItem(e);return this._exec(function(){localStorage.removeItem(e)}),t},_exec:function(e){try{return e()}catch(t){}}};!function(){function e(){$(".close-button")._on("click",function(){$.hideOverlay(),$.showModal("close")})}var t=1e3,n=5e3,r=1e4;$.showMessageFadeOuts=[],$.showMessage=function(e,o){$.hideMessage(),o="undefined"==typeof o?t:"slow"===o?n:"super-slow"===o?r:o,$("<div />",{"class":"flash-message",html:"<span>"+e+"</span>"}).appendTo("body");var i=setTimeout(function(){$(".flash-message").fadeOut(400,function(){$(this).remove()})},o);$.showMessageFadeOuts.push(i)},$.hideMessage=function(){_.each($(".flash-message, .modal-message"),function(e){e=$(e),e.hasClass("messagingjs-ignore")||(e.hasClass("messagingjs-hide")?e.hide():e.remove())});for(var e=$.showMessageFadeOuts.pop();e;)clearTimeout(e),e=$.showMessageFadeOuts.pop()},$("body").on("click",".hide-message",function(e){e.preventDefault(),$.hideOverlay(),$.hideMessage()}),$.hideModal=function(){$.hideMessage()},$.showModal=function(e,t,n){$.hideMessage(),"/"===e.substring(0,1)||"http"===e.substring(0,4)?$.ajax({url:e,success:function(e){$.showModalContent(e.html,t,n)}}):"close"!==e&&$.showModalContent(e,t)},$.showOverlay=function(){$("#overlay").show()},$.hideOverlay=function(){$("#overlay").hide()},$.showModalContent=function(t,n,r){$.showOverlay(),$("<div />",{"class":"modal-message group "+n,html:t}).appendTo("body"),e(),"function"==typeof r&&r()},$(".bar-message > .close").on("click",function(){var e=$(this),t=e.parent();return t.addClass("bar-message-gone"),""!==t.data("cookie")&&$.cookie(t.data("cookie"),"closed"),!1})}();var Tabs={init:function(){this._bindUIfunctions(),this._pageLoadCorrectTab()},_bindUIfunctions:function(){var e=!1;$(".tabs > nav a").on("click",function(t){""!==this.hash&&(e=$(this).closest(".tabs").data("hash-change"),Tabs.changeTab(this.hash,e),t.preventDefault())}),$(".mobile-trigger")._on("click",this.toggleMobileMenu,this)},changeTab:function(e,t){if(this._shouldChangeTab(e)){e=e.replace("/","");var n=$("[href="+e+"]"),r=$(e);n.addClass("active").siblings().removeClass("active"),r.addClass("active").siblings().removeClass("active"),"no"!==t&&window.history.replaceState("","",e),n.parent().removeClass("open")}},_shouldChangeTab:function(e){var t=["","0","#","#0"];return!_.contains(t,e)&&!_.contains(e,"&")&&!_.contains(e,"=")},_pageLoadCorrectTab:function(){this.changeTab(document.location.hash),document.location.hash&&$(window).load(function(){setTimeout(function(){$(window).scrollTop(0)},50)})},toggleMobileMenu:function(e,t){t.closest(".explore-tabs").toggleClass("open")}};Tabs.init();var Hub={sub:function(e,t){if("function"!=typeof t)throw"fn MUST be a function";$(Hub).bind(e,t)},pub:function(e,t){$(Hub).trigger(e,t)}};document.documentElement.className+=" js";var Logout={init:function(){this._bindToDOM()},_bindToDOM:function(){$("#logout")._on("click",this._onClickLogout,this)},_onClickLogout:function(){window.location=URLUtil.httpsURL("/login/logout")}};Logout.init();var Search={init:function(){this.bindToUIActions()},bindToUIActions:function(){$(".header-search-button")._on("click",this.handleMagClick,this),$(".header-close-button")._on("click",this.handleCloseClick,this)},handleMagClick:function(){return $(window).width()<700?(window.location="/search/",!1):void($("#header-search").hasClass("open")?$("#search-form").submit():($("#header-search").addClass("open"),setTimeout(function(){$("#q").focus()},100)))},handleCloseClick:function(){$("#header-search").removeClass("open")}};Search.init();var Ads={init:function(){this._linkToBSA()},_linkToBSA:function(){if($("#put-ad-here").length>0){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=document.location.protocol+"//s3.buysellads.com/ac/bsa.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e)}}};Ads.init(),function(e){var t;t=function(){function t(e){var t,n,r;null==e&&(e={}),r=this.constructor.defaults;for(t in r)n=r[t],this[t]=n;for(t in e)n=e[t],this[t]=n}return t.defaults={api_key:null,host:"api.honeybadger.io",ssl:!0,project_root:e.location.protocol+"//"+e.location.host,environment:"production",component:null,action:null,disabled:!1,onerror:!1,debug:!1,timeout:!1},t.prototype.reset=function(){var e,t,n;n=this.constructor.defaults;for(e in n)t=n[e],this[e]=t;return this},t}();var n;n=function(){function e(e,t){var n,r,i,a;null==e&&(e={}),null==t&&(t=o.configuration),this.stack=e.stack,this.generator=e.generator,this["class"]=e.name||"Error",this.message=e.message||"No message provided",this.source=null,this.url=document.URL,this.project_root=t.project_root,this.environment=t.environment,this.component=e.component||t.component,this.action=e.action||t.action,this.cgi_data=this._cgiData(),this.fingerprint=e.fingerprint,this.context={},i=o.context;for(n in i)r=i[n],this.context[n]=r;if(e.context&&"object"==typeof e.context){a=e.context;for(n in a)r=a[n],this.context[n]=r}}return e.prototype.payload=function(){return{notifier:{name:"honeybadger.js",url:"https://github.com/honeybadger-io/honeybadger-js",version:o.version,language:"javascript"},error:{"class":this["class"],message:this.message,backtrace:this.stack,generator:this.generator,source:this.source,fingerprint:this.fingerprint},request:{url:this.url,component:this.component,action:this.action,context:this.context,cgi_data:this.cgi_data},server:{project_root:this.project_root,environment_name:this.environment}}},e.prototype._cgiData=function(){var e,t,n;if(e={},"undefined"!=typeof navigator&&null!==navigator){for(t in navigator)n=navigator[t],null!=t&&null!=n&&"object"!=typeof n&&(e[t.replace(/(?=[A-Z][a-z]*)/g,"_").toUpperCase()]=n);e.HTTP_USER_AGENT=e.USER_AGENT,delete e.USER_AGENT
}return document.referrer.match(/\S/)&&(e.HTTP_REFERER=document.referrer),e},e}();var r,o,i,a,s,u,c=function(e,t){return function(){return e.apply(t,arguments)}},l={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)l.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};u=[null,null],a=u[0],s=u[1],r=function(){function r(e){this._windowOnErrorHandler=c(this._windowOnErrorHandler,this),this._domReady=c(this._domReady,this),this.log("Initializing honeybadger.js "+this.version),e&&this.configure(e)}return r.prototype.version="0.2.0",r.prototype.log=function(){return this.log.history=this.log.history||[],this.log.history.push(arguments),this.configuration.debug&&e.console?console.log(Array.prototype.slice.call(arguments)):void 0},r.prototype.configure=function(t){var n,r,o,i,a,s;null==t&&(t={});for(r in t)o=t[r],this.configuration[r]=o;if(!this._configured&&this.configuration.debug&&e.console)for(s=this.log.history,i=0,a=s.length;a>i;i++)n=s[i],console.log(Array.prototype.slice.call(n));return this._configured=!0,this},r.prototype.configuration=new t,r.prototype.context={},r.prototype.resetContext=function(e){return null==e&&(e={}),this.context=e instanceof Object?e:{},this},r.prototype.setContext=function(e){var t,n;if(null==e&&(e={}),e instanceof Object)for(t in e)n=e[t],this.context[t]=n;return this},r.prototype.beforeNotifyHandlers=[],r.prototype.beforeNotify=function(e){return this.beforeNotifyHandlers.push(e)},r.prototype.notify=function(t,n,r){var o,i,u,c,f,p,d,h,g;if(null==r&&(r={}),!this._validConfig()||this.configuration.disabled===!0)return!1;if(p=[void 0,void 0],c=p[0],o=p[1],n instanceof Object?(r=n,n=void 0):null!=n&&(r.name=n),t instanceof Object&&null!=t.error&&(t=t.error,t.error=void 0),t instanceof Error)c=this._stackTrace(t),r.name||(r.name=t.name),r.message||(r.message=t.message);else if("string"==typeof t)r.message=t;else if(t instanceof Object)for(i in t)f=t[i],r[i]=f;if(s){if(t===a)return;this._loaded&&this._send(s)}return 0===function(){var e;e=[];for(i in r)l.call(r,i)&&e.push(i);return e}().length?!1:(c||(d=this._generateStackTrace(),c=d[0],o=d[1]),h=[c,o],r.stack=h[0],r.generator=h[1],u=this._buildNotice(r),this._checkHandlers(this.beforeNotifyHandlers,u)?!1:(g=[t,u],a=g[0],s=g[1],this._loaded?(this.log("Defering notice",u),e.setTimeout(function(e){return function(){return t===a?e._send(u):void 0}}(this))):(this.log("Queuing notice",u),this._queue.push(u)),u))},r.prototype.wrap=function(e){var t;return t=function(){var t;try{return e.apply(this,arguments)}catch(n){throw t=n,o.notify(t),t}}},r.prototype.reset=function(){return this.resetContext(),this.configuration.reset(),this._configured=!1,this},r.prototype.install=function(){return this.installed!==!0?(e.onerror!==this._windowOnErrorHandler&&(this.log("Installing window.onerror handler"),this._oldOnErrorHandler=e.onerror,e.onerror=this._windowOnErrorHandler),this._loaded?this.log("honeybadger.js "+this.version+" ready"):(this.log("Installing ready handler"),document.addEventListener?(document.addEventListener("DOMContentLoaded",this._domReady,!0),e.addEventListener("load",this._domReady,!0)):e.attachEvent("onload",this._domReady)),this._installed=!0,this):void 0},r.prototype._queue=[],r.prototype._loaded="complete"===document.readyState,r.prototype._configured=!1,r.prototype._domReady=function(){var e,t;if(!this._loaded){for(this._loaded=!0,this.log("honeybadger.js "+this.version+" ready"),t=[];e=this._queue.pop();)t.push(this._send(e));return t}},r.prototype._generateStackTrace=function(){var e,t;try{throw new Error("")}catch(n){if(e=n,t=this._stackTrace(e))return[t,"throw"]}return[]},r.prototype._stackTrace=function(e){return(null!=e?e.stacktrace:void 0)||(null!=e?e.stack:void 0)||null},r.prototype._checkHandlers=function(e,t){var n,r,o;for(r=0,o=e.length;o>r;r++)if(n=e[r],n(t)===!1)return!0;return!1},r.prototype._buildNotice=function(e){return new n({stack:e.stack,generator:e.generator,message:e.message,name:e.name,fingerprint:e.fingerprint,context:e.context,component:e.component,action:e.action},this.configuration)},r.prototype._send=function(e){var t;return this.log("Sending notice",e),t=[null,null],a=t[0],s=t[1],this._sendRequest(e.payload())},r.prototype._validConfig=function(){var e;return this._configured&&(null!=(e=this.configuration.api_key)?e.match(/\S/):void 0)?!0:!1},r.prototype._baseURL=function(){return"http"+(this.configuration.ssl&&"s"||"")+"://"+this.configuration.host},r.prototype._sendRequest=function(e){return this._xhrRequest(e)||this._imageRequest(e)},r.prototype._imageRequest=function(t){var n,r,o,i,a;return n=this._baseURL()+"/v1/notices/js.gif",i=n+"?"+this._serialize({api_key:this.configuration.api_key,notice:t,t:(new Date).getTime()}),a=[new Image,null],r=a[0],o=a[1],r.onabort=r.onerror=function(n){return function(){return o&&e.clearTimeout(o),n.log("Request failed.",i,t)}}(this),r.onload=function(){return function(){return o?e.clearTimeout(o):void 0}}(this),r.src=i,this.configuration.timeout&&(o=e.setTimeout(function(e){return function(){return r.src="",e.log("Request timed out.",i,t)}}(this),this.configuration.timeout)),!0},r.prototype._xhrRequest=function(e){var t,n,r;return"undefined"==typeof XMLHttpRequest?!1:"undefined"==typeof JSON?!1:(t="POST",n=this._baseURL()+"/v1/notices/js?api_key="+this.configuration.api_key,r=new XMLHttpRequest,"withCredentials"in r?(r.open(t,n,!0),r.setRequestHeader("Content-Type","application/json"),r.setRequestHeader("X-Api-Key",this.configuration.api_key)):"undefined"!=typeof XDomainRequest?(r=new XDomainRequest,r.open(t,n)):r=null,r?(this.configuration.timeout&&(r.timeout=this.configuration.timeout),r.onerror=function(t){return function(){return t.log("Request failed.",e,r)}}(this),r.ontimeout=function(t){return function(){return t.log("Request timed out.",e,r)}}(this),r.onreadystatechange=function(t){return function(){return 4===r.readyState?201===r.status?t.log("Request succeeded.",r.status,e,r):t.log("Request rejected by server.",r.status,e,r):void 0}}(this),r.send(JSON.stringify(e)),!0):!1)},r.prototype._serialize=function(e,t){var n,r,o,i;o=[];for(n in e)i=e[n],e.hasOwnProperty(n)&&null!=n&&null!=i&&(r=t?t+"["+n+"]":n,o.push("object"==typeof i?this._serialize(i,r):encodeURIComponent(r)+"="+encodeURIComponent(i)));return o.join("&")},r.prototype._windowOnErrorHandler=function(e,t,n,r,o){return!s&&this.configuration.onerror&&(this.log("Error caught by window.onerror",e,t,n,r,o),o||(o=new i(e,t,n,r)),this.notify(o)),this._oldOnErrorHandler?this._oldOnErrorHandler.apply(this,arguments):!1},r}(),i=function(e){function t(e,t,n,r){this.name="window.onerror",this.message=e||"An unknown error was caught by window.onerror.",this.stack=[this.message,"\n at ? (",t||"unknown",":",n||0,":",r||0,")"].join("")}return f(t,e),t}(Error),o=new r,o.Client=r,e.Honeybadger=o,o.install()}(window);var ErrorReporter={configuredHoneybadger:!1,init:function(){this._configureHB()},report:function(e,t){this._configureHB(),this._reportToHB(e,t)},_configureHB:function(){return this.configuredHoneybadger?0:(Honeybadger.configure({api_key:"408d6b70a679d3cc46a603b0b1771548",environment:"production"}),void(this.configuredHoneybadger=!0))},_reportToHB:function(e,t){Honeybadger.notify(e,{context:t})}};