-
Notifications
You must be signed in to change notification settings - Fork 0
/
libs.js
345 lines (345 loc) · 175 KB
/
libs.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
!function(p,F){"object"==typeof module&&"object"==typeof module.exports?module.exports=p.document?F(p,!0):function(p){if(!p.document)throw Error("jQuery requires a window with a document");return F(p)}:F(p)}("undefined"!=typeof window?window:this,function(p,F){function y(a){var e=a.length,m=c.type(a);return"function"===m||c.isWindow(a)?!1:1===a.nodeType&&e?!0:"array"===m||0===e||"number"==typeof e&&0<e&&e-1 in a}function r(a,e,m){if(c.isFunction(e))return c.grep(a,function(a,c){return!!e.call(a,c,
a)!==m});if(e.nodeType)return c.grep(a,function(a){return a===e!==m});if("string"==typeof e){if(Da.test(e))return c.filter(e,a,m);e=c.filter(e,a)}return c.grep(a,function(a){return 0<=c.inArray(a,e)!==m})}function q(a,e){do a=a[e];while(a&&1!==a.nodeType);return a}function l(a){var e=hb[a]={};return c.each(a.match(la)||[],function(a,c){e[c]=!0}),e}function b(){D.addEventListener?(D.removeEventListener("DOMContentLoaded",k,!1),p.removeEventListener("load",k,!1)):(D.detachEvent("onreadystatechange",
k),p.detachEvent("onload",k))}function k(){(D.addEventListener||"load"===event.type||"complete"===D.readyState)&&(b(),c.ready())}function G(a,e,m){if(void 0===m&&1===a.nodeType){var x="data-"+e.replace(xb,"-$1").toLowerCase();if(m=a.getAttribute(x),"string"==typeof m){try{m="true"===m?!0:"false"===m?!1:"null"===m?null:+m+""===m?+m:ib.test(m)?c.parseJSON(m):m}catch(d){}c.data(a,e,m)}else m=void 0}return m}function u(a){for(var e in a)if(("data"!==e||!c.isEmptyObject(a[e]))&&"toJSON"!==e)return!1;return!0}
function J(a,e,m,x){if(c.acceptData(a)){var d,H,b=c.expando,f=a.nodeType,n=f?c.cache:a,h=f?a[b]:a[b]&&b;if(h&&n[h]&&(x||n[h].data)||void 0!==m||"string"!=typeof e)return h||(h=f?a[b]=ma.pop()||c.guid++:b),n[h]||(n[h]=f?{}:{toJSON:c.noop}),("object"==typeof e||"function"==typeof e)&&(x?n[h]=c.extend(n[h],e):n[h].data=c.extend(n[h].data,e)),H=n[h],x||(H.data||(H.data={}),H=H.data),void 0!==m&&(H[c.camelCase(e)]=m),"string"==typeof e?(d=H[e],null==d&&(d=H[c.camelCase(e)])):d=H,d}}function I(a,e,m){if(c.acceptData(a)){var x,
d,H=a.nodeType,b=H?c.cache:a,f=H?a[c.expando]:c.expando;if(b[f]){if(e&&(x=m?b[f]:b[f].data)){c.isArray(e)?e=e.concat(c.map(e,c.camelCase)):e in x?e=[e]:(e=c.camelCase(e),e=e in x?[e]:e.split(" "));for(d=e.length;d--;)delete x[e[d]];if(m?!u(x):!c.isEmptyObject(x))return}(m||(delete b[f].data,u(b[f])))&&(H?c.cleanData([a],!0):z.deleteExpando||b!=b.window?delete b[f]:b[f]=null)}}}function h(){return!0}function N(){return!1}function K(){try{return D.activeElement}catch(a){}}function ga(a){var e=Ta.split("|");
a=a.createDocumentFragment();if(a.createElement)for(;e.length;)a.createElement(e.pop());return a}function L(a,e){var m,x,d=0,b="undefined"!==typeof a.getElementsByTagName?a.getElementsByTagName(e||"*"):"undefined"!==typeof a.querySelectorAll?a.querySelectorAll(e||"*"):void 0;if(!b)for(b=[],m=a.childNodes||a;null!=(x=m[d]);d++)!e||c.nodeName(x,e)?b.push(x):c.merge(b,L(x,e));return void 0===e||e&&c.nodeName(a,e)?c.merge([a],b):b}function C(a){Ea.test(a.type)&&(a.defaultChecked=a.checked)}function da(a,
e){return c.nodeName(a,"table")&&c.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Q(a){return a.type=(null!==c.find.attr(a,"type"))+"/"+a.type,a}function Z(a){var e=Ua.exec(a.type);return e?a.type=e[1]:a.removeAttribute("type"),a}function xa(a,e){for(var m,x=0;null!=(m=a[x]);x++)c._data(m,"globalEval",!e||c._data(e[x],"globalEval"))}function ha(a,e){if(1===e.nodeType&&c.hasData(a)){var m,x,d;x=c._data(a);
var b=c._data(e,x),f=x.events;if(f)for(m in delete b.handle,b.events={},f)for(x=0,d=f[m].length;d>x;x++)c.event.add(e,m,f[m][x]);b.data&&(b.data=c.extend({},b.data))}}function ya(a,e){var m,x=c(e.createElement(a)).appendTo(e.body),d=p.getDefaultComputedStyle&&(m=p.getDefaultComputedStyle(x[0]))?m.display:c.css(x[0],"display");return x.detach(),d}function pa(a){var e=D,m=d[a];return m||(m=ya(a,e),"none"!==m&&m||(za=(za||c("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),
e=(za[0].contentWindow||za[0].contentDocument).document,e.write(),e.close(),m=ya(a,e),za.detach()),d[a]=m),m}function aa(a,e){return{get:function(){var m=a();if(null!=m)return m?void delete this.get:(this.get=e).apply(this,arguments)}}}function Aa(a,e){if(e in a)return e;for(var m=e.charAt(0).toUpperCase()+e.slice(1),c=e,d=Lb.length;d--;)if(e=Lb[d]+m,e in a)return e;return c}function f(a,e){for(var m,x,d,b=[],f=0,n=a.length;n>f;f++)x=a[f],x.style&&(b[f]=c._data(x,"olddisplay"),m=x.style.display,e?
(b[f]||"none"!==m||(x.style.display=""),""===x.style.display&&Fa(x)&&(b[f]=c._data(x,"olddisplay",pa(x.nodeName)))):(d=Fa(x),(m&&"none"!==m||!d)&&c._data(x,"olddisplay",d?m:c.css(x,"display"))));for(f=0;n>f;f++)x=a[f],x.style&&(e&&"none"!==x.style.display&&""!==x.style.display||(x.style.display=e?b[f]||"":"none"));return a}function g(a,e,m){return(a=jb.exec(e))?Math.max(0,a[1]-(m||0))+(a[2]||"px"):e}function t(a,e,m,x,d){e=m===(x?"border":"content")?4:"width"===e?1:0;for(var b=0;4>e;e+=2)"margin"===
m&&(b+=c.css(a,m+sa[e],!0,d)),x?("content"===m&&(b-=c.css(a,"padding"+sa[e],!0,d)),"margin"!==m&&(b-=c.css(a,"border"+sa[e]+"Width",!0,d))):(b+=c.css(a,"padding"+sa[e],!0,d),"padding"!==m&&(b+=c.css(a,"border"+sa[e]+"Width",!0,d)));return b}function w(a,e,m){var d=!0,E="width"===e?a.offsetWidth:a.offsetHeight,b=T(a),f=z.boxSizing&&"border-box"===c.css(a,"boxSizing",!1,b);if(0>=E||null==E){if(E=W(a,e,b),(0>E||null==E)&&(E=a.style[e]),A.test(E))return E;d=f&&(z.boxSizingReliable()||E===a.style[e]);
E=parseFloat(E)||0}return E+t(a,e,m||(f?"border":"content"),d,b)+"px"}function B(a,e,m,c,d){return new B.prototype.init(a,e,m,c,d)}function O(){return setTimeout(function(){Ma=void 0}),Ma=c.now()}function ia(a,e){var m,c={height:a},d=0;for(e=e?1:0;4>d;d+=2-e)m=sa[d],c["margin"+m]=c["padding"+m]=a;return e&&(c.opacity=c.width=a),c}function R(a,e,m){for(var c,d=(Va[e]||[]).concat(Va["*"]),b=0,f=d.length;f>b;b++)if(c=d[b].call(m,e,a))return c}function Wa(a,e){var m,d,b,f,n;for(m in a)if(d=c.camelCase(m),
b=e[d],f=a[m],c.isArray(f)&&(b=f[1],f=a[m]=f[0]),m!==d&&(a[d]=f,delete a[m]),n=c.cssHooks[d],n&&"expand"in n)for(m in f=n.expand(f),delete a[d],f)m in a||(a[m]=f[m],e[m]=b);else e[d]=b}function Ga(a,e,m){var d,b=0,f=kb.length,n=c.Deferred().always(function(){delete h.elem}),h=function(){if(d)return!1;for(var e=Ma||O(),e=Math.max(0,g.startTime+g.duration-e),m=1-(e/g.duration||0),c=0,b=g.tweens.length;b>c;c++)g.tweens[c].run(m);return n.notifyWith(a,[g,m,e]),1>m&&b?e:(n.resolveWith(a,[g]),!1)},g=n.promise({elem:a,
props:c.extend({},e),opts:c.extend(!0,{specialEasing:{}},m),originalProperties:e,originalOptions:m,startTime:Ma||O(),duration:m.duration,tweens:[],createTween:function(e,m){var d=c.Tween(a,g.opts,e,m,g.opts.specialEasing[e]||g.opts.easing);return g.tweens.push(d),d},stop:function(e){var m=0,c=e?g.tweens.length:0;if(d)return this;for(d=!0;c>m;m++)g.tweens[m].run(1);return e?n.resolveWith(a,[g,e]):n.rejectWith(a,[g,e]),this}});m=g.props;for(Wa(m,g.opts.specialEasing);f>b;b++)if(e=kb[b].call(g,a,m,g.opts))return e;
return c.map(m,R,g),c.isFunction(g.opts.start)&&g.opts.start.call(a,g),c.fx.timer(c.extend(h,{elem:a,anim:g,queue:g.opts.queue})),g.progress(g.opts.progress).done(g.opts.done,g.opts.complete).fail(g.opts.fail).always(g.opts.always)}function va(a){return function(e,m){"string"!=typeof e&&(m=e,e="*");var d,b=0,f=e.toLowerCase().match(la)||[];if(c.isFunction(m))for(;d=f[b++];)"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(m)):(a[d]=a[d]||[]).push(m)}}function Xa(a,e,m,d){function b(g){var h;
return f[g]=!0,c.each(a[g]||[],function(a,c){var g=c(e,m,d);return"string"!=typeof g||n||f[g]?n?!(h=g):void 0:(e.dataTypes.unshift(g),b(g),!1)}),h}var f={},n=a===yb;return b(e.dataTypes[0])||!f["*"]&&b("*")}function Ya(a,e){var m,d,b=c.ajaxSettings.flatOptions||{};for(d in e)void 0!==e[d]&&((b[d]?a:m||(m={}))[d]=e[d]);return m&&c.extend(!0,a,m),a}function na(a,e,m,d){var b;if(c.isArray(e))c.each(e,function(e,c){m||Xb.test(a)?d(a,c):na(a+"["+("object"==typeof c?e:"")+"]",c,m,d)});else if(m||"object"!==
c.type(e))d(a,e);else for(b in e)na(a+"["+b+"]",e[b],m,d)}function Za(){try{return new p.XMLHttpRequest}catch(a){}}function $a(a){return c.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}var ma=[],ja=ma.slice,ab=ma.concat,ea=ma.push,lb=ma.indexOf,Ha={},mb=Ha.toString,v=Ha.hasOwnProperty,z={},c=function(a,e){return new c.fn.init(a,e)},bb=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ta=/^-ms-/,ka=/-([\da-z])/gi,oa=function(a,e){return e.toUpperCase()};c.fn=c.prototype={jquery:"1.11.1",constructor:c,
selector:"",length:0,toArray:function(){return ja.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:ja.call(this)},pushStack:function(a){a=c.merge(this.constructor(),a);return a.prevObject=this,a.context=this.context,a},each:function(a,e){return c.each(this,a,e)},map:function(a){return this.pushStack(c.map(this,function(e,m){return a.call(e,m,e)}))},slice:function(){return this.pushStack(ja.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},
eq:function(a){var e=this.length;a=+a+(0>a?e:0);return this.pushStack(0<=a&&e>a?[this[a]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:ea,sort:ma.sort,splice:ma.splice};c.extend=c.fn.extend=function(){var a,e,m,d,b,f,n=arguments[0]||{},g=1,h=arguments.length,t=!1;"boolean"==typeof n&&(t=n,n=arguments[g]||{},g++);"object"==typeof n||c.isFunction(n)||(n={});for(g===h&&(n=this,g--);h>g;g++)if(null!=(b=arguments[g]))for(d in b)a=n[d],m=b[d],n!==m&&(t&&m&&(c.isPlainObject(m)||
(e=c.isArray(m)))?(e?(e=!1,f=a&&c.isArray(a)?a:[]):f=a&&c.isPlainObject(a)?a:{},n[d]=c.extend(t,f,m)):void 0!==m&&(n[d]=m));return n};c.extend({expando:"jQuery"+("1.11.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw Error(a);},noop:function(){},isFunction:function(a){return"function"===c.type(a)},isArray:Array.isArray||function(a){return"array"===c.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!c.isArray(a)&&0<=a-parseFloat(a)},isEmptyObject:function(a){for(var e in a)return!1;
return!0},isPlainObject:function(a){var e;if(!a||"object"!==c.type(a)||a.nodeType||c.isWindow(a))return!1;try{if(a.constructor&&!v.call(a,"constructor")&&!v.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(m){return!1}if(z.ownLast)for(e in a)return v.call(a,e);for(e in a);return void 0===e||v.call(a,e)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?Ha[mb.call(a)]||"object":typeof a},globalEval:function(a){a&&c.trim(a)&&(p.execScript||function(a){p.eval.call(p,
a)})(a)},camelCase:function(a){return a.replace(ta,"ms-").replace(ka,oa)},nodeName:function(a,e){return a.nodeName&&a.nodeName.toLowerCase()===e.toLowerCase()},each:function(a,e,m){var c,d=0,b=a.length,f=y(a);if(m)if(f)for(;b>d&&(c=e.apply(a[d],m),!1!==c);d++);else for(d in a){if(c=e.apply(a[d],m),!1===c)break}else if(f)for(;b>d&&(c=e.call(a[d],d,a[d]),!1!==c);d++);else for(d in a)if(c=e.call(a[d],d,a[d]),!1===c)break;return a},trim:function(a){return null==a?"":(a+"").replace(bb,"")},makeArray:function(a,
e){var m=e||[];return null!=a&&(y(Object(a))?c.merge(m,"string"==typeof a?[a]:a):ea.call(m,a)),m},inArray:function(a,e,c){var d;if(e){if(lb)return lb.call(e,a,c);d=e.length;for(c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in e&&e[c]===a)return c}return-1},merge:function(a,e){for(var c=+e.length,d=0,b=a.length;c>d;)a[b++]=e[d++];if(c!==c)for(;void 0!==e[d];)a[b++]=e[d++];return a.length=b,a},grep:function(a,e,c){for(var d=[],b=0,f=a.length,n=!c;f>b;b++)c=!e(a[b],b),c!==n&&d.push(a[b]);return d},map:function(a,
e,c){var d,b=0,f=a.length,n=[];if(y(a))for(;f>b;b++)d=e(a[b],b,c),null!=d&&n.push(d);else for(b in a)d=e(a[b],b,c),null!=d&&n.push(d);return ab.apply([],n)},guid:1,proxy:function(a,e){var m,d,b;return"string"==typeof e&&(b=a[e],e=a,a=b),c.isFunction(a)?(m=ja.call(arguments,2),d=function(){return a.apply(e||this,m.concat(ja.call(arguments)))},d.guid=a.guid=a.guid||c.guid++,d):void 0},now:function(){return+new Date},support:z});c.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),
function(a,e){Ha["[object "+e+"]"]=e.toLowerCase()});var V=function(a){function e(a,e,c,m){var d,b,x,f,E;if((e?e.ownerDocument||e:N)!==C&&D(e),e=e||C,c=c||[],!a||"string"!=typeof a)return c;if(1!==(f=e.nodeType)&&9!==f)return[];if(ra&&!m){if(d=sa.exec(a))if(x=d[1])if(9===f){if(b=e.getElementById(x),!b||!b.parentNode)return c;if(b.id===x)return c.push(b),c}else{if(e.ownerDocument&&(b=e.ownerDocument.getElementById(x))&&L(e,b)&&b.id===x)return c.push(b),c}else{if(d[2])return P.apply(c,e.getElementsByTagName(a)),
c;if((x=d[3])&&v.getElementsByClassName&&e.getElementsByClassName)return P.apply(c,e.getElementsByClassName(x)),c}if(v.qsa&&(!R||!R.test(a))){if(b=d=U,x=e,E=9===f&&a,1===f&&"object"!==e.nodeName.toLowerCase()){f=S(a);(d=e.getAttribute("id"))?b=d.replace(ta,"\\$&"):e.setAttribute("id",b);b="[id='"+b+"'] ";for(x=f.length;x--;)f[x]=b+l(f[x]);x=na.test(a)&&k(e.parentNode)||e;E=f.join(",")}if(E)try{return P.apply(c,x.querySelectorAll(E)),c}catch(n){}finally{d||e.removeAttribute("id")}}}return z(a.replace(Ra,
"$1"),e,c,m)}function c(){function a(c,m){return e.push(c+" ")>u.cacheLength&&delete a[e.shift()],a[c+" "]=m}var e=[];return a}function d(a){return a[U]=!0,a}function b(a){var e=C.createElement("div");try{return!!a(e)}catch(c){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function f(a,e){for(var c=a.split("|"),m=a.length;m--;)u.attrHandle[c[m]]=e}function n(a,e){var c=e&&a,m=c&&1===a.nodeType&&1===e.nodeType&&(~e.sourceIndex||-2147483648)-(~a.sourceIndex||-2147483648);if(m)return m;
if(c)for(;c=c.nextSibling;)if(c===e)return-1;return a?1:-1}function g(a){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===a}}function h(a){return function(e){var c=e.nodeName.toLowerCase();return("input"===c||"button"===c)&&e.type===a}}function t(a){return d(function(e){return e=+e,d(function(c,m){for(var d,b=a([],c.length,e),x=b.length;x--;)c[d=b[x]]&&(c[d]=!(m[d]=c[d]))})})}function k(a){return a&&"undefined"!==typeof a.getElementsByTagName&&a}function A(){}function l(a){for(var e=
0,c=a.length,m="";c>e;e++)m+=a[e].value;return m}function w(a,e,c){var m=e.dir,d=c&&"parentNode"===m,b=Wa++;return e.first?function(e,c,b){for(;e=e[m];)if(1===e.nodeType||d)return a(e,c,b)}:function(e,c,x){var f,E,n=[ua,b];if(x)for(;e=e[m];){if((1===e.nodeType||d)&&a(e,c,x))return!0}else for(;e=e[m];)if(1===e.nodeType||d){if(E=e[U]||(e[U]={}),(f=E[m])&&f[0]===ua&&f[1]===b)return n[2]=f[2];if(E[m]=n,n[2]=a(e,c,x))return!0}}}function B(a){return 1<a.length?function(e,c,m){for(var d=a.length;d--;)if(!a[d](e,
c,m))return!1;return!0}:a[0]}function p(a,e,c,m,d){for(var b,x=[],f=0,E=a.length,n=null!=e;E>f;f++)(b=a[f])&&(!c||c(b,m,d))&&(x.push(b),n&&e.push(f));return x}function W(a,c,m,b,f,E){return b&&!b[U]&&(b=W(b)),f&&!f[U]&&(f=W(f,E)),d(function(d,x,E,n){var H,g,h=[],ca=[],t=x.length,k;if(!(k=d)){k=c||"*";for(var A=E.nodeType?[E]:E,l=[],La=0,w=A.length;w>La;La++)e(k,A[La],l);k=l}k=!a||!d&&c?k:p(k,h,a,E,n);A=m?f||(d?a:t||b)?[]:x:k;if(m&&m(k,A,E,n),b)for(H=p(A,ca),b(H,[],E,n),E=H.length;E--;)(g=H[E])&&(A[ca[E]]=
!(k[ca[E]]=g));if(d){if(f||a){if(f){H=[];for(E=A.length;E--;)(g=A[E])&&H.push(k[E]=g);f(null,A=[],H,n)}for(E=A.length;E--;)(g=A[E])&&-1<(H=f?Q.call(d,g):h[E])&&(d[H]=!(x[H]=g))}}else A=p(A===x?A.splice(t,A.length):A),f?f(null,x,A,n):P.apply(x,A)})}function T(a){var e,c,m,d=a.length,b=u.relative[a[0].type];c=b||u.relative[" "];for(var x=b?1:0,f=w(function(a){return a===e},c,!0),E=w(function(a){return-1<Q.call(e,a)},c,!0),n=[function(a,c,m){return!b&&(m||c!==ia)||((e=c).nodeType?f(a,c,m):E(a,c,m))}];d>
x;x++)if(c=u.relative[a[x].type])n=[w(B(n),c)];else{if(c=u.filter[a[x].type].apply(null,a[x].matches),c[U]){for(m=++x;d>m&&!u.relative[a[m].type];m++);return W(1<x&&B(n),1<x&&l(a.slice(0,x-1).concat({value:" "===a[x-2].type?"*":""})).replace(Ra,"$1"),c,m>x&&T(a.slice(x,m)),d>m&&T(a=a.slice(m)),d>m&&l(a))}n.push(c)}return B(n)}function G(a,c){var m=0<c.length,b=0<a.length,f=function(d,x,f,E,n){var H,g,h,ca=0,k="0",t=d&&[],A=[],l=ia,La=d||b&&u.find.TAG("*",n),w=ua+=null==l?1:Math.random()||.1,B=La.length;
for(n&&(ia=x!==C&&x);k!==B&&null!=(H=La[k]);k++){if(b&&H){for(g=0;h=a[g++];)if(h(H,x,f)){E.push(H);break}n&&(ua=w)}m&&((H=!h&&H)&&ca--,d&&t.push(H))}if(ca+=k,m&&k!==ca){for(g=0;h=c[g++];)h(t,A,x,f);if(d){if(0<ca)for(;k--;)t[k]||A[k]||(A[k]=Fb.call(E));A=p(A)}P.apply(E,A);n&&!d&&0<A.length&&1<ca+c.length&&e.uniqueSort(E)}return n&&(ua=w,ia=l),t};return m?d(f):f}var O,v,u,J,q,S,M,z,ia,I,r,D,C,y,ra,R,F,K,L,U="sizzle"+-new Date,N=a.document,ua=0,Wa=0,Ga=c(),ga=c(),jb=c(),va=function(a,e){return a===e&&
(r=!0),0},V={}.hasOwnProperty,wa=[],Fb=wa.pop,aa=wa.push,P=wa.push,Y=wa.slice,Q=wa.indexOf||function(a){for(var e=0,c=this.length;c>e;e++)if(this[e]===a)return e;return-1},da="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),ea="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+da+"))|)[\\x20\\t\\r\\n\\f]*\\]",ba=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+
ea+")*)|.*)\\)|)",Ra=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),ja=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,ka=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,la=RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),ma=new RegExp(ba),oa=new RegExp("^"+da+"$"),fa={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:new RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:new RegExp("^"+ea),
PSEUDO:new RegExp("^"+ba),CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},pa=/^(?:input|select|textarea|button)$/i,
qa=/^h\d$/i,ha=/^[^{]+\{\s*\[native \w/,sa=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,na=/[+~]/,ta=/'|\\/g,X=RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),Z=function(a,e,c){a="0x"+e-65536;return a!==a||c?e:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,1023&a|56320)};try{P.apply(wa=Y.call(N.childNodes),N.childNodes),wa[N.childNodes.length].nodeType}catch(xa){P={apply:wa.length?function(a,e){aa.apply(a,Y.call(e))}:function(a,e){for(var c=a.length,m=0;a[c++]=
e[m++];);a.length=c-1}}}v=e.support={};q=e.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};D=e.setDocument=function(a){var e,c=a?a.ownerDocument||a:N;a=c.defaultView;return c!==C&&9===c.nodeType&&c.documentElement?(C=c,y=c.documentElement,ra=!q(c),a&&a!==a.top&&(a.addEventListener?a.addEventListener("unload",function(){D()},!1):a.attachEvent&&a.attachEvent("onunload",function(){D()})),v.attributes=b(function(a){return a.className="i",!a.getAttribute("className")}),
v.getElementsByTagName=b(function(a){return a.appendChild(c.createComment("")),!a.getElementsByTagName("*").length}),v.getElementsByClassName=ha.test(c.getElementsByClassName)&&b(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),v.getById=b(function(a){return y.appendChild(a).id=U,!c.getElementsByName||!c.getElementsByName(U).length}),v.getById?(u.find.ID=function(a,e){if("undefined"!==typeof e.getElementById&&
ra){var c=e.getElementById(a);return c&&c.parentNode?[c]:[]}},u.filter.ID=function(a){var e=a.replace(X,Z);return function(a){return a.getAttribute("id")===e}}):(delete u.find.ID,u.filter.ID=function(a){var e=a.replace(X,Z);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===e}}),u.find.TAG=v.getElementsByTagName?function(a,e){return"undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(a):void 0}:function(a,e){var c,m=[],d=0,b=e.getElementsByTagName(a);
if("*"===a){for(;c=b[d++];)1===c.nodeType&&m.push(c);return m}return b},u.find.CLASS=v.getElementsByClassName&&function(a,e){return"undefined"!==typeof e.getElementsByClassName&&ra?e.getElementsByClassName(a):void 0},F=[],R=[],(v.qsa=ha.test(c.querySelectorAll))&&(b(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>";a.querySelectorAll("[msallowclip^='']").length&&R.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||R.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");
a.querySelectorAll(":checked").length||R.push(":checked")}),b(function(a){var e=c.createElement("input");e.setAttribute("type","hidden");a.appendChild(e).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&R.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");a.querySelectorAll(":enabled").length||R.push(":enabled",":disabled");a.querySelectorAll("*,:x");R.push(",.*:")})),(v.matchesSelector=ha.test(K=y.matches||y.webkitMatchesSelector||y.mozMatchesSelector||y.oMatchesSelector||y.msMatchesSelector))&&
b(function(a){v.disconnectedMatch=K.call(a,"div");K.call(a,"[s!='']:x");F.push("!=",ba)}),R=R.length&&new RegExp(R.join("|")),F=F.length&&new RegExp(F.join("|")),e=ha.test(y.compareDocumentPosition),L=e||ha.test(y.contains)?function(a,e){var c=9===a.nodeType?a.documentElement:a,m=e&&e.parentNode;return a===m||!(!m||1!==m.nodeType||!(c.contains?c.contains(m):a.compareDocumentPosition&&16&a.compareDocumentPosition(m)))}:function(a,e){if(e)for(;e=e.parentNode;)if(e===a)return!0;return!1},va=e?function(a,
e){if(a===e)return r=!0,0;var m=!a.compareDocumentPosition-!e.compareDocumentPosition;return m?m:(m=(a.ownerDocument||a)===(e.ownerDocument||e)?a.compareDocumentPosition(e):1,1&m||!v.sortDetached&&e.compareDocumentPosition(a)===m?a===c||a.ownerDocument===N&&L(N,a)?-1:e===c||e.ownerDocument===N&&L(N,e)?1:I?Q.call(I,a)-Q.call(I,e):0:4&m?-1:1)}:function(a,e){if(a===e)return r=!0,0;var m,d=0;m=a.parentNode;var b=e.parentNode,x=[a],f=[e];if(!m||!b)return a===c?-1:e===c?1:m?-1:b?1:I?Q.call(I,a)-Q.call(I,
e):0;if(m===b)return n(a,e);for(m=a;m=m.parentNode;)x.unshift(m);for(m=e;m=m.parentNode;)f.unshift(m);for(;x[d]===f[d];)d++;return d?n(x[d],f[d]):x[d]===N?-1:f[d]===N?1:0},c):C};e.matches=function(a,c){return e(a,null,null,c)};e.matchesSelector=function(a,c){if((a.ownerDocument||a)!==C&&D(a),c=c.replace(la,"='$1']"),!(!v.matchesSelector||!ra||F&&F.test(c)||R&&R.test(c)))try{var m=K.call(a,c);if(m||v.disconnectedMatch||a.document&&11!==a.document.nodeType)return m}catch(d){}return 0<e(c,C,null,[a]).length};
e.contains=function(a,e){return(a.ownerDocument||a)!==C&&D(a),L(a,e)};e.attr=function(a,e){(a.ownerDocument||a)!==C&&D(a);var c=u.attrHandle[e.toLowerCase()],c=c&&V.call(u.attrHandle,e.toLowerCase())?c(a,e,!ra):void 0;return void 0!==c?c:v.attributes||!ra?a.getAttribute(e):(c=a.getAttributeNode(e))&&c.specified?c.value:null};e.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};e.uniqueSort=function(a){var e,c=[],m=0,d=0;if(r=!v.detectDuplicates,I=!v.sortStable&&a.slice(0),
a.sort(va),r){for(;e=a[d++];)e===a[d]&&(m=c.push(d));for(;m--;)a.splice(c[m],1)}return I=null,a};J=e.getText=function(a){var e,c="",m=0;if(e=a.nodeType)if(1===e||9===e||11===e){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=J(a)}else{if(3===e||4===e)return a.nodeValue}else for(;e=a[m++];)c+=J(e);return c};u=e.selectors={cacheLength:50,createPseudo:d,match:fa,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",
first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(X,Z),a[3]=(a[3]||a[4]||a[5]||"").replace(X,Z),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||e.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&e.error(a[0]),a},PSEUDO:function(a){var e,c=!a[6]&&a[2];return fa.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&ma.test(c)&&
(e=S(c,!0))&&(e=c.indexOf(")",c.length-e)-c.length)&&(a[0]=a[0].slice(0,e),a[2]=c.slice(0,e)),a.slice(0,3))}},filter:{TAG:function(a){var e=a.replace(X,Z).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===e}},CLASS:function(a){var e=Ga[a+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"))&&Ga(a,function(a){return e.test("string"==typeof a.className&&a.className||"undefined"!==typeof a.getAttribute&&a.getAttribute("class")||
"")})},ATTR:function(a,c,m){return function(d){d=e.attr(d,a);return null==d?"!="===c:c?(d+="","="===c?d===m:"!="===c?d!==m:"^="===c?m&&0===d.indexOf(m):"*="===c?m&&-1<d.indexOf(m):"$="===c?m&&d.slice(-m.length)===m:"~="===c?-1<(" "+d+" ").indexOf(m):"|="===c?d===m||d.slice(0,m.length+1)===m+"-":!1):!0}},CHILD:function(a,e,c,m,d){var b="nth"!==a.slice(0,3),x="last"!==a.slice(-4),f="of-type"===e;return 1===m&&0===d?function(a){return!!a.parentNode}:function(e,c,E){var n,H,g,h,ca;c=b!==x?"nextSibling":
"previousSibling";var k=e.parentNode,t=f&&e.nodeName.toLowerCase();E=!E&&!f;if(k){if(b){for(;c;){for(H=e;H=H[c];)if(f?H.nodeName.toLowerCase()===t:1===H.nodeType)return!1;ca=c="only"===a&&!ca&&"nextSibling"}return!0}if(ca=[x?k.firstChild:k.lastChild],x&&E)for(E=k[U]||(k[U]={}),n=E[a]||[],h=n[0]===ua&&n[1],g=n[0]===ua&&n[2],H=h&&k.childNodes[h];H=++h&&H&&H[c]||(g=h=0)||ca.pop();){if(1===H.nodeType&&++g&&H===e){E[a]=[ua,h,g];break}}else if(E&&(n=(e[U]||(e[U]={}))[a])&&n[0]===ua)g=n[1];else for(;(H=
++h&&H&&H[c]||(g=h=0)||ca.pop())&&((f?H.nodeName.toLowerCase()!==t:1!==H.nodeType)||!++g||(E&&((H[U]||(H[U]={}))[a]=[ua,g]),H!==e)););return g-=d,g===m||0===g%m&&0<=g/m}}},PSEUDO:function(a,c){var m,b=u.pseudos[a]||u.setFilters[a.toLowerCase()]||e.error("unsupported pseudo: "+a);return b[U]?b(c):1<b.length?(m=[a,a,"",c],u.setFilters.hasOwnProperty(a.toLowerCase())?d(function(a,e){for(var m,d=b(a,c),x=d.length;x--;)m=Q.call(a,d[x]),a[m]=!(e[m]=d[x])}):function(a){return b(a,0,m)}):b}},pseudos:{not:d(function(a){var e=
[],c=[],m=M(a.replace(Ra,"$1"));return m[U]?d(function(a,e,c,d){var b;c=m(a,null,d,[]);for(d=a.length;d--;)(b=c[d])&&(a[d]=!(e[d]=b))}):function(a,d,b){return e[0]=a,m(e,null,b,c),!c.pop()}}),has:d(function(a){return function(c){return 0<e(a,c).length}}),contains:d(function(a){return function(e){return-1<(e.textContent||e.innerText||J(e)).indexOf(a)}}),lang:d(function(a){return oa.test(a||"")||e.error("unsupported lang: "+a),a=a.replace(X,Z).toLowerCase(),function(e){var c;do if(c=ra?e.lang:e.getAttribute("xml:lang")||
e.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var c=a.location&&a.location.hash;return c&&c.slice(1)===e.id},root:function(a){return a===y},focus:function(a){return a===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var e=a.nodeName.toLowerCase();return"input"===
e&&!!a.checked||"option"===e&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(6>a.nodeType)return!1;return!0},parent:function(a){return!u.pseudos.empty(a)},header:function(a){return qa.test(a.nodeName)},input:function(a){return pa.test(a.nodeName)},button:function(a){var e=a.nodeName.toLowerCase();return"input"===e&&"button"===a.type||"button"===e},text:function(a){var e;return"input"===a.nodeName.toLowerCase()&&
"text"===a.type&&(null==(e=a.getAttribute("type"))||"text"===e.toLowerCase())},first:t(function(){return[0]}),last:t(function(a,e){return[e-1]}),eq:t(function(a,e,c){return[0>c?c+e:c]}),even:t(function(a,e){for(var c=0;e>c;c+=2)a.push(c);return a}),odd:t(function(a,e){for(var c=1;e>c;c+=2)a.push(c);return a}),lt:t(function(a,e,c){for(e=0>c?c+e:c;0<=--e;)a.push(e);return a}),gt:t(function(a,e,c){for(c=0>c?c+e:c;++c<e;)a.push(c);return a})}};u.pseudos.nth=u.pseudos.eq;for(O in{radio:!0,checkbox:!0,
file:!0,password:!0,image:!0})u.pseudos[O]=g(O);for(O in{submit:!0,reset:!0})u.pseudos[O]=h(O);A.prototype=u.filters=u.pseudos;u.setFilters=new A;S=e.tokenize=function(a,c){var m,d,b,x,f,E,n;if(f=ga[a+" "])return c?0:f.slice(0);f=a;E=[];for(n=u.preFilter;f;){m&&!(d=ja.exec(f))||(d&&(f=f.slice(d[0].length)||f),E.push(b=[]));m=!1;(d=ka.exec(f))&&(m=d.shift(),b.push({value:m,type:d[0].replace(Ra," ")}),f=f.slice(m.length));for(x in u.filter)!(d=fa[x].exec(f))||n[x]&&!(d=n[x](d))||(m=d.shift(),b.push({value:m,
type:x,matches:d}),f=f.slice(m.length));if(!m)break}return c?f.length:f?e.error(a):ga(a,E).slice(0)};return M=e.compile=function(a,e){var c,m=[],d=[],b=jb[a+" "];if(!b){e||(e=S(a));for(c=e.length;c--;)b=T(e[c]),b[U]?m.push(b):d.push(b);b=jb(a,G(d,m));b.selector=a}return b},z=e.select=function(a,e,c,m){var d,b,x,f,E,n="function"==typeof a&&a,H=!m&&S(a=n.selector||a);if(c=c||[],1===H.length){if(b=H[0]=H[0].slice(0),2<b.length&&"ID"===(x=b[0]).type&&v.getById&&9===e.nodeType&&ra&&u.relative[b[1].type]){if(e=
(u.find.ID(x.matches[0].replace(X,Z),e)||[])[0],!e)return c;n&&(e=e.parentNode);a=a.slice(b.shift().value.length)}for(d=fa.needsContext.test(a)?0:b.length;d--&&(x=b[d],!u.relative[f=x.type]);)if((E=u.find[f])&&(m=E(x.matches[0].replace(X,Z),na.test(b[0].type)&&k(e.parentNode)||e))){if(b.splice(d,1),a=m.length&&l(b),!a)return P.apply(c,m),c;break}}return(n||M(a,H))(m,e,!ra,c,na.test(a)&&k(e.parentNode)||e),c},v.sortStable=U.split("").sort(va).join("")===U,v.detectDuplicates=!!r,D(),v.sortDetached=
b(function(a){return 1&a.compareDocumentPosition(C.createElement("div"))}),b(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||f("type|href|height|width",function(a,e,c){return c?void 0:a.getAttribute(e,"type"===e.toLowerCase()?1:2)}),v.attributes&&b(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||f("value",function(a,e,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),
b(function(a){return null==a.getAttribute("disabled")})||f("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(a,e,c){var m;return c?void 0:!0===a[e]?e.toLowerCase():(m=a.getAttributeNode(e))&&m.specified?m.value:null}),e}(p);c.find=V;c.expr=V.selectors;c.expr[":"]=c.expr.pseudos;c.unique=V.uniqueSort;c.text=V.getText;c.isXMLDoc=V.isXML;c.contains=V.contains;var P=c.expr.match.needsContext,qa=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,
Da=/^.[^:#\[\.,]*$/;c.filter=function(a,e,m){var d=e[0];return m&&(a=":not("+a+")"),1===e.length&&1===d.nodeType?c.find.matchesSelector(d,a)?[d]:[]:c.find.matches(a,c.grep(e,function(a){return 1===a.nodeType}))};c.fn.extend({find:function(a){var e,m=[],d=this,b=d.length;if("string"!=typeof a)return this.pushStack(c(a).filter(function(){for(e=0;b>e;e++)if(c.contains(d[e],this))return!0}));for(e=0;b>e;e++)c.find(a,d[e],m);return m=this.pushStack(1<b?c.unique(m):m),m.selector=this.selector?this.selector+
" "+a:a,m},filter:function(a){return this.pushStack(r(this,a||[],!1))},not:function(a){return this.pushStack(r(this,a||[],!0))},is:function(a){return!!r(this,"string"==typeof a&&P.test(a)?c(a):a||[],!1).length}});var fa,D=p.document,nb=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(c.fn.init=function(a,e){var m,d;if(!a)return this;if("string"==typeof a){if(m="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&3<=a.length?[null,a,null]:nb.exec(a),!m||!m[1]&&e)return!e||e.jquery?(e||fa).find(a):this.constructor(e).find(a);
if(m[1]){if(e=e instanceof c?e[0]:e,c.merge(this,c.parseHTML(m[1],e&&e.nodeType?e.ownerDocument||e:D,!0)),qa.test(m[1])&&c.isPlainObject(e))for(m in e)c.isFunction(this[m])?this[m](e[m]):this.attr(m,e[m]);return this}if(d=D.getElementById(m[2]),d&&d.parentNode){if(d.id!==m[2])return fa.find(a);this.length=1;this[0]=d}return this.context=D,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):c.isFunction(a)?"undefined"!=typeof fa.ready?fa.ready(a):a(c):(void 0!==a.selector&&
(this.selector=a.selector,this.context=a.context),c.makeArray(a,this))}).prototype=c.fn;fa=c(D);var ob=/^(?:parents|prev(?:Until|All))/,zb={children:!0,contents:!0,next:!0,prev:!0};c.extend({dir:function(a,e,m){var d=[];for(a=a[e];a&&9!==a.nodeType&&(void 0===m||1!==a.nodeType||!c(a).is(m));)1===a.nodeType&&d.push(a),a=a[e];return d},sibling:function(a,e){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==e&&c.push(a);return c}});c.fn.extend({has:function(a){var e,m=c(a,this),d=m.length;return this.filter(function(){for(e=
0;d>e;e++)if(c.contains(this,m[e]))return!0})},closest:function(a,e){for(var m,d=0,b=this.length,f=[],n=P.test(a)||"string"!=typeof a?c(a,e||this.context):0;b>d;d++)for(m=this[d];m&&m!==e;m=m.parentNode)if(11>m.nodeType&&(n?-1<n.index(m):1===m.nodeType&&c.find.matchesSelector(m,a))){f.push(m);break}return this.pushStack(1<f.length?c.unique(f):f)},index:function(a){return a?"string"==typeof a?c.inArray(this[0],c(a)):c.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:
-1},add:function(a,e){return this.pushStack(c.unique(c.merge(this.get(),c(a,e))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});c.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,e,m){return c.dir(a,"parentNode",m)},next:function(a){return q(a,"nextSibling")},prev:function(a){return q(a,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},
prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,e,m){return c.dir(a,"nextSibling",m)},prevUntil:function(a,e,m){return c.dir(a,"previousSibling",m)},siblings:function(a){return c.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.merge([],a.childNodes)}},function(a,e){c.fn[a]=function(m,d){var b=c.map(this,e,m);return"Until"!==a.slice(-5)&&
(d=m),d&&"string"==typeof d&&(b=c.filter(d,b)),1<this.length&&(zb[a]||(b=c.unique(b)),ob.test(a)&&(b=b.reverse())),this.pushStack(b)}});var la=/\S+/g,hb={};c.Callbacks=function(a){a="string"==typeof a?hb[a]||l(a):c.extend({},a);var e,m,d,b,f,n,g=[],h=!a.once&&[],k=function(c){m=a.memory&&c;d=!0;f=n||0;n=0;b=g.length;for(e=!0;g&&b>f;f++)if(!1===g[f].apply(c[0],c[1])&&a.stopOnFalse){m=!1;break}e=!1;g&&(h?h.length&&k(h.shift()):m?g=[]:t.disable())},t={add:function(){if(g){var d=g.length;!function Yb(e){c.each(e,
function(e,m){var d=c.type(m);"function"===d?a.unique&&t.has(m)||g.push(m):m&&m.length&&"string"!==d&&Yb(m)})}(arguments);e?b=g.length:m&&(n=d,k(m))}return this},remove:function(){return g&&c.each(arguments,function(a,m){for(var d;-1<(d=c.inArray(m,g,d));)g.splice(d,1),e&&(b>=d&&b--,f>=d&&f--)}),this},has:function(a){return a?-1<c.inArray(a,g):!(!g||!g.length)},empty:function(){return g=[],b=0,this},disable:function(){return g=h=m=void 0,this},disabled:function(){return!g},lock:function(){return h=
void 0,m||t.disable(),this},locked:function(){return!h},fireWith:function(a,c){return!g||d&&!h||(c=c||[],c=[a,c.slice?c.slice():c],e?h.push(c):k(c)),this},fire:function(){return t.fireWith(this,arguments),this},fired:function(){return!!d}};return t};c.extend({Deferred:function(a){var e=[["resolve","done",c.Callbacks("once memory"),"resolved"],["reject","fail",c.Callbacks("once memory"),"rejected"],["notify","progress",c.Callbacks("memory")]],m="pending",d={state:function(){return m},always:function(){return b.done(arguments).fail(arguments),
this},then:function(){var a=arguments;return c.Deferred(function(m){c.each(e,function(e,f){var n=c.isFunction(a[e])&&a[e];b[f[1]](function(){var a=n&&n.apply(this,arguments);a&&c.isFunction(a.promise)?a.promise().done(m.resolve).fail(m.reject).progress(m.notify):m[f[0]+"With"](this===d?m.promise():this,n?[a]:arguments)})});a=null}).promise()},promise:function(a){return null!=a?c.extend(a,d):d}},b={};return d.pipe=d.then,c.each(e,function(a,c){var f=c[2],n=c[3];d[c[1]]=f.add;n&&f.add(function(){m=
n},e[1^a][2].disable,e[2][2].lock);b[c[0]]=function(){return b[c[0]+"With"](this===b?d:this,arguments),this};b[c[0]+"With"]=f.fireWith}),d.promise(b),a&&a.call(b,b),b},when:function(a){var e=0,m=ja.call(arguments),d=m.length,b=1!==d||a&&c.isFunction(a.promise)?d:0,f=1===b?a:c.Deferred(),n=function(a,e,c){return function(m){e[a]=this;c[a]=1<arguments.length?ja.call(arguments):m;c===g?f.notifyWith(e,c):--b||f.resolveWith(e,c)}},g,h,k;if(1<d)for(g=Array(d),h=Array(d),k=Array(d);d>e;e++)m[e]&&c.isFunction(m[e].promise)?
m[e].promise().done(n(e,k,m)).fail(f.reject).progress(n(e,h,g)):--b;return b||f.resolveWith(k,m),f.promise()}});var Ia;c.fn.ready=function(a){return c.ready.promise().done(a),this};c.extend({isReady:!1,readyWait:1,holdReady:function(a){a?c.readyWait++:c.ready(!0)},ready:function(a){if(!0===a?!--c.readyWait:!c.isReady){if(!D.body)return setTimeout(c.ready);c.isReady=!0;!0!==a&&0<--c.readyWait||(Ia.resolveWith(D,[c]),c.fn.triggerHandler&&(c(D).triggerHandler("ready"),c(D).off("ready")))}}});c.ready.promise=
function(a){if(!Ia)if(Ia=c.Deferred(),"complete"===D.readyState)setTimeout(c.ready);else if(D.addEventListener)D.addEventListener("DOMContentLoaded",k,!1),p.addEventListener("load",k,!1);else{D.attachEvent("onreadystatechange",k);p.attachEvent("onload",k);var e=!1;try{e=null==p.frameElement&&D.documentElement}catch(m){}e&&e.doScroll&&!function E(){if(!c.isReady){try{e.doScroll("left")}catch(a){return setTimeout(E,50)}b();c.ready()}}()}return Ia.promise(a)};for(var Na in c(z))break;z.ownLast="0"!==
Na;z.inlineBlockNeedsLayout=!1;c(function(){var a,e,c,d;(c=D.getElementsByTagName("body")[0])&&c.style&&(e=D.createElement("div"),d=D.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(e),"undefined"!==typeof e.style.zoom&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",z.inlineBlockNeedsLayout=a=3===e.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))});(function(){var a=D.createElement("div");
if(null==z.deleteExpando){z.deleteExpando=!0;try{delete a.test}catch(e){z.deleteExpando=!1}}})();c.acceptData=function(a){var e=c.noData[(a.nodeName+" ").toLowerCase()],m=+a.nodeType||1;return 1!==m&&9!==m?!1:!e||!0!==e&&a.getAttribute("classid")===e};var ib=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,xb=/([A-Z])/g;c.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?c.cache[a[c.expando]]:a[c.expando],!!a&&!u(a)},data:function(a,
e,c){return J(a,e,c)},removeData:function(a,e){return I(a,e)},_data:function(a,e,c){return J(a,e,c,!0)},_removeData:function(a,e){return I(a,e,!0)}});c.fn.extend({data:function(a,e){var m,d,b,f=this[0],n=f&&f.attributes;if(void 0===a){if(this.length&&(b=c.data(f),1===f.nodeType&&!c._data(f,"parsedAttrs"))){for(m=n.length;m--;)n[m]&&(d=n[m].name,0===d.indexOf("data-")&&(d=c.camelCase(d.slice(5)),G(f,d,b[d])));c._data(f,"parsedAttrs",!0)}return b}return"object"==typeof a?this.each(function(){c.data(this,
a)}):1<arguments.length?this.each(function(){c.data(this,a,e)}):f?G(f,a,c.data(f,a)):void 0},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,e,m){var d;return a?(e=(e||"fx")+"queue",d=c._data(a,e),m&&(!d||c.isArray(m)?d=c._data(a,e,c.makeArray(m)):d.push(m)),d||[]):void 0},dequeue:function(a,e){e=e||"fx";var m=c.queue(a,e),d=m.length,b=m.shift(),f=c._queueHooks(a,e),n=function(){c.dequeue(a,e)};"inprogress"===b&&(b=m.shift(),d--);b&&("fx"===
e&&m.unshift("inprogress"),delete f.stop,b.call(a,n,f));!d&&f&&f.empty.fire()},_queueHooks:function(a,e){var m=e+"queueHooks";return c._data(a,m)||c._data(a,m,{empty:c.Callbacks("once memory").add(function(){c._removeData(a,e+"queue");c._removeData(a,m)})})}});c.fn.extend({queue:function(a,e){var m=2;return"string"!=typeof a&&(e=a,a="fx",m--),arguments.length<m?c.queue(this[0],a):void 0===e?this:this.each(function(){var m=c.queue(this,a,e);c._queueHooks(this,a);"fx"===a&&"inprogress"!==m[0]&&c.dequeue(this,
a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,e){var m,d=1,b=c.Deferred(),f=this,n=this.length,g=function(){--d||b.resolveWith(f,[f])};"string"!=typeof a&&(e=a,a=void 0);for(a=a||"fx";n--;)(m=c._data(f[n],a+"queueHooks"))&&m.empty&&(d++,m.empty.add(g));return g(),b.promise(e)}});var Oa=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,sa=["Top","Right","Bottom","Left"],Fa=function(a,e){return a=e||a,"none"===
c.css(a,"display")||!c.contains(a.ownerDocument,a)},X=c.access=function(a,e,m,d,b,f,n){var g=0,h=a.length,k=null==m;if("object"===c.type(m))for(g in b=!0,m)c.access(a,e,g,m[g],!0,f,n);else if(void 0!==d&&(b=!0,c.isFunction(d)||(n=!0),k&&(n?(e.call(a,d),e=null):(k=e,e=function(a,e,d){return k.call(c(a),d)})),e))for(;h>g;g++)e(a[g],m,n?d:d.call(a[g],g,e(a[g],m)));return b?a:k?e.call(a):h?e(a[0],m):f},Ea=/^(?:checkbox|radio)$/i;!function(){var a=D.createElement("input"),e=D.createElement("div"),c=D.createDocumentFragment();
if(e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",z.leadingWhitespace=3===e.firstChild.nodeType,z.tbody=!e.getElementsByTagName("tbody").length,z.htmlSerialize=!!e.getElementsByTagName("link").length,z.html5Clone="<:nav></:nav>"!==D.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),z.appendChecked=a.checked,e.innerHTML="<textarea>x</textarea>",z.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,c.appendChild(e),e.innerHTML=
"<input type='radio' checked='checked' name='t'/>",z.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,z.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){z.noCloneEvent=!1}),e.cloneNode(!0).click()),null==z.deleteExpando){z.deleteExpando=!0;try{delete e.test}catch(d){z.deleteExpando=!1}}}();(function(){var a,e,c=D.createElement("div");for(a in{submit:!0,change:!0,focusin:!0})e="on"+a,(z[a+"Bubbles"]=e in p)||(c.setAttribute(e,"t"),z[a+"Bubbles"]=!1===c.attributes[e].expando)})();
var cb=/^(?:input|select|textarea)$/i,Ab=/^key/,Bb=/^(?:mouse|pointer|contextmenu)|click/,db=/^(?:focusinfocus|focusoutblur)$/,eb=/^([^.]*)(?:\.(.+)|)$/;c.event={global:{},add:function(a,e,d,b,f){var n,g,h,k,t,A,l,w,B,p;if(h=c._data(a)){d.handler&&(k=d,d=k.handler,f=k.selector);d.guid||(d.guid=c.guid++);(g=h.events)||(g=h.events={});(A=h.handle)||(A=h.handle=function(a){return"undefined"===typeof c||a&&c.event.triggered===a.type?void 0:c.event.dispatch.apply(A.elem,arguments)},A.elem=a);e=(e||"").match(la)||
[""];for(h=e.length;h--;)n=eb.exec(e[h])||[],B=p=n[1],n=(n[2]||"").split(".").sort(),B&&(t=c.event.special[B]||{},B=(f?t.delegateType:t.bindType)||B,t=c.event.special[B]||{},l=c.extend({type:B,origType:p,data:b,handler:d,guid:d.guid,selector:f,needsContext:f&&c.expr.match.needsContext.test(f),namespace:n.join(".")},k),(w=g[B])||(w=g[B]=[],w.delegateCount=0,t.setup&&!1!==t.setup.call(a,b,n,A)||(a.addEventListener?a.addEventListener(B,A,!1):a.attachEvent&&a.attachEvent("on"+B,A))),t.add&&(t.add.call(a,
l),l.handler.guid||(l.handler.guid=d.guid)),f?w.splice(w.delegateCount++,0,l):w.push(l),c.event.global[B]=!0);a=null}},remove:function(a,e,d,b,f){var n,g,h,k,t,A,l,w,B,p,W,T=c.hasData(a)&&c._data(a);if(T&&(A=T.events)){e=(e||"").match(la)||[""];for(t=e.length;t--;)if(h=eb.exec(e[t])||[],B=W=h[1],p=(h[2]||"").split(".").sort(),B){l=c.event.special[B]||{};B=(b?l.delegateType:l.bindType)||B;w=A[B]||[];h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)");for(k=n=w.length;n--;)g=w[n],!f&&W!==
g.origType||d&&d.guid!==g.guid||h&&!h.test(g.namespace)||b&&b!==g.selector&&("**"!==b||!g.selector)||(w.splice(n,1),g.selector&&w.delegateCount--,l.remove&&l.remove.call(a,g));k&&!w.length&&(l.teardown&&!1!==l.teardown.call(a,p,T.handle)||c.removeEvent(a,B,T.handle),delete A[B])}else for(B in A)c.event.remove(a,B+e[t],d,b,!0);c.isEmptyObject(A)&&(delete T.handle,c._removeData(a,"events"))}},trigger:function(a,e,d,b){var f,n,g,h,k,t,A=[d||D],l=v.call(a,"type")?a.type:a;t=v.call(a,"namespace")?a.namespace.split("."):
[];if(g=f=d=d||D,3!==d.nodeType&&8!==d.nodeType&&!db.test(l+c.event.triggered)&&(0<=l.indexOf(".")&&(t=l.split("."),l=t.shift(),t.sort()),n=0>l.indexOf(":")&&"on"+l,a=a[c.expando]?a:new c.Event(l,"object"==typeof a&&a),a.isTrigger=b?2:3,a.namespace=t.join("."),a.namespace_re=a.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=d),e=null==e?[a]:c.makeArray(e,[a]),k=c.event.special[l]||{},b||!k.trigger||!1!==k.trigger.apply(d,e))){if(!b&&!k.noBubble&&
!c.isWindow(d)){h=k.delegateType||l;for(db.test(h+l)||(g=g.parentNode);g;g=g.parentNode)A.push(g),f=g;f===(d.ownerDocument||D)&&A.push(f.defaultView||f.parentWindow||p)}for(t=0;(g=A[t++])&&!a.isPropagationStopped();)a.type=1<t?h:k.bindType||l,(f=(c._data(g,"events")||{})[a.type]&&c._data(g,"handle"))&&f.apply(g,e),(f=n&&g[n])&&f.apply&&c.acceptData(g)&&(a.result=f.apply(g,e),!1===a.result&&a.preventDefault());if(a.type=l,!(b||a.isDefaultPrevented()||k._default&&!1!==k._default.apply(A.pop(),e))&&
c.acceptData(d)&&n&&d[l]&&!c.isWindow(d)){(f=d[n])&&(d[n]=null);c.event.triggered=l;try{d[l]()}catch(w){}c.event.triggered=void 0;f&&(d[n]=f)}return a.result}},dispatch:function(a){a=c.event.fix(a);var e,d,b,f,n,g=[],h=ja.call(arguments);e=(c._data(this,"events")||{})[a.type]||[];var k=c.event.special[a.type]||{};if(h[0]=a,a.delegateTarget=this,!k.preDispatch||!1!==k.preDispatch.call(this,a)){g=c.event.handlers.call(this,a,e);for(e=0;(f=g[e++])&&!a.isPropagationStopped();)for(a.currentTarget=f.elem,
n=0;(b=f.handlers[n++])&&!a.isImmediatePropagationStopped();)a.namespace_re&&!a.namespace_re.test(b.namespace)||(a.handleObj=b,a.data=b.data,d=((c.event.special[b.origType]||{}).handle||b.handler).apply(f.elem,h),void 0===d||!1!==(a.result=d)||(a.preventDefault(),a.stopPropagation()));return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,e){var d,b,f,n,g=[],h=e.delegateCount,k=a.target;if(h&&k.nodeType&&(!a.button||"click"!==a.type))for(;k!=this;k=k.parentNode||this)if(1===
k.nodeType&&(!0!==k.disabled||"click"!==a.type)){f=[];for(n=0;h>n;n++)b=e[n],d=b.selector+" ",void 0===f[d]&&(f[d]=b.needsContext?0<=c(d,this).index(k):c.find(d,this,null,[k]).length),f[d]&&f.push(b);f.length&&g.push({elem:k,handlers:f})}return h<e.length&&g.push({elem:this,handlers:e.slice(h)}),g},fix:function(a){if(a[c.expando])return a;var e,d,b;e=a.type;var f=a,n=this.fixHooks[e];n||(this.fixHooks[e]=n=Bb.test(e)?this.mouseHooks:Ab.test(e)?this.keyHooks:{});b=n.props?this.props.concat(n.props):
this.props;a=new c.Event(f);for(e=b.length;e--;)d=b[e],a[d]=f[d];return a.target||(a.target=f.srcElement||D),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,n.filter?n.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,e){return null==a.which&&(a.which=null!=e.charCode?e.charCode:e.keyCode),
a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,e){var c,d,b,f=e.button,n=e.fromElement;return null==a.pageX&&null!=e.clientX&&(d=a.target.ownerDocument||D,b=d.documentElement,c=d.body,a.pageX=e.clientX+(b&&b.scrollLeft||c&&c.scrollLeft||0)-(b&&b.clientLeft||c&&c.clientLeft||0),a.pageY=e.clientY+(b&&b.scrollTop||c&&c.scrollTop||0)-(b&&b.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&n&&(a.relatedTarget=
n===a.target?e.toElement:n),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==K()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===K()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return c.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return c.nodeName(a.target,"a")}},
beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,e,d,b){a=c.extend(new c.Event,d,{type:a,isSimulated:!0,originalEvent:{}});b?c.event.trigger(a,null,e):c.event.dispatch.call(e,a);a.isDefaultPrevented()&&d.preventDefault()}};c.removeEvent=D.removeEventListener?function(a,e,c){a.removeEventListener&&a.removeEventListener(e,c,!1)}:function(a,e,c){e="on"+e;a.detachEvent&&("undefined"===typeof a[e]&&(a[e]=null),a.detachEvent(e,
c))};c.Event=function(a,e){return this instanceof c.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&!1===a.returnValue?h:N):this.type=a,e&&c.extend(this,e),this.timeStamp=a&&a.timeStamp||c.now(),void(this[c.expando]=!0)):new c.Event(a,e)};c.Event.prototype={isDefaultPrevented:N,isPropagationStopped:N,isImmediatePropagationStopped:N,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=h;a&&(a.preventDefault?
a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=h;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=h;a&&a.stopImmediatePropagation&&a.stopImmediatePropagation();this.stopPropagation()}};c.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,e){c.event.special[a]=
{delegateType:e,bindType:e,handle:function(a){var d,b=a.relatedTarget,f=a.handleObj;return(!b||b!==this&&!c.contains(this,b))&&(a.type=f.origType,d=f.handler.apply(this,arguments),a.type=e),d}}});z.submitBubbles||(c.event.special.submit={setup:function(){return c.nodeName(this,"form")?!1:void c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;(a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:void 0)&&!c._data(a,"submitBubbles")&&(c.event.add(a,"submit._submit",function(a){a._submit_bubble=
!0}),c._data(a,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&c.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return c.nodeName(this,"form")?!1:void c.event.remove(this,"._submit")}});z.changeBubbles||(c.event.special.change={setup:function(){return cb.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(c.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&
(this._just_changed=!0)}),c.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1);c.event.simulate("change",this,a,!0)})),!1):void c.event.add(this,"beforeactivate._change",function(a){a=a.target;cb.test(a.nodeName)&&!c._data(a,"changeBubbles")&&(c.event.add(a,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||c.event.simulate("change",this.parentNode,a,!0)}),c._data(a,"changeBubbles",!0))})},handle:function(a){var e=a.target;
return this!==e||a.isSimulated||a.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return c.event.remove(this,"._change"),!cb.test(this.nodeName)}});z.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,e){var d=function(a){c.event.simulate(e,a.target,c.event.fix(a),!0)};c.event.special[e]={setup:function(){var b=this.ownerDocument||this,f=c._data(b,e);f||b.addEventListener(a,d,!0);c._data(b,e,(f||0)+1)},teardown:function(){var b=
this.ownerDocument||this,f=c._data(b,e)-1;f?c._data(b,e,f):(b.removeEventListener(a,d,!0),c._removeData(b,e))}}});c.fn.extend({on:function(a,e,d,b,f){var n,g;if("object"==typeof a){"string"!=typeof e&&(d=d||e,e=void 0);for(n in a)this.on(n,e,d,a[n],f);return this}if(null==d&&null==b?(b=e,d=e=void 0):null==b&&("string"==typeof e?(b=d,d=void 0):(b=d,d=e,e=void 0)),!1===b)b=N;else if(!b)return this;return 1===f&&(g=b,b=function(a){return c().off(a),g.apply(this,arguments)},b.guid=g.guid||(g.guid=c.guid++)),
this.each(function(){c.event.add(this,a,b,d,e)})},one:function(a,e,c,d){return this.on(a,e,c,d,1)},off:function(a,e,d){var b,f;if(a&&a.preventDefault&&a.handleObj)return b=a.handleObj,c(a.delegateTarget).off(b.namespace?b.origType+"."+b.namespace:b.origType,b.selector,b.handler),this;if("object"==typeof a){for(f in a)this.off(f,e,a[f]);return this}return(!1===e||"function"==typeof e)&&(d=e,e=void 0),!1===d&&(d=N),this.each(function(){c.event.remove(this,a,d,e)})},trigger:function(a,e){return this.each(function(){c.event.trigger(a,
e,this)})},triggerHandler:function(a,e){var d=this[0];return d?c.event.trigger(a,e,d,!0):void 0}});var Ta="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Cb=/ jQuery\d+="(?:null|\d+)"/g,pb=new RegExp("<(?:"+Ta+")[\\s/>]","i"),fb=/^\s+/,qb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Pa=/<([\w:]+)/,Qa=/<tbody/i,Db=/<|&#?\w+;/,gb=/<(?:script|style|link)/i,Eb=/checked\s*(?:[^=]|=\s*.checked.)/i,
rb=/^$|\/(?:java|ecma)script/i,Ua=/^true\/(.*)/,sb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Y={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:z.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ba=ga(D).appendChild(D.createElement("div"));
Y.optgroup=Y.option;Y.tbody=Y.tfoot=Y.colgroup=Y.caption=Y.thead;Y.th=Y.td;c.extend({clone:function(a,e,d){var b,f,n,g,h,k=c.contains(a.ownerDocument,a);if(z.html5Clone||c.isXMLDoc(a)||!pb.test("<"+a.nodeName+">")?n=a.cloneNode(!0):(ba.innerHTML=a.outerHTML,ba.removeChild(n=ba.firstChild)),!(z.noCloneEvent&&z.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||c.isXMLDoc(a)))for(b=L(n),h=L(a),g=0;null!=(f=h[g]);++g)if(b[g]){var t=b[g],A=void 0,l=void 0,w=void 0;if(1===t.nodeType){if(A=t.nodeName.toLowerCase(),
!z.noCloneEvent&&t[c.expando]){w=c._data(t);for(l in w.events)c.removeEvent(t,l,w.handle);t.removeAttribute(c.expando)}"script"===A&&t.text!==f.text?(Q(t).text=f.text,Z(t)):"object"===A?(t.parentNode&&(t.outerHTML=f.outerHTML),z.html5Clone&&f.innerHTML&&!c.trim(t.innerHTML)&&(t.innerHTML=f.innerHTML)):"input"===A&&Ea.test(f.type)?(t.defaultChecked=t.checked=f.checked,t.value!==f.value&&(t.value=f.value)):"option"===A?t.defaultSelected=t.selected=f.defaultSelected:("input"===A||"textarea"===A)&&(t.defaultValue=
f.defaultValue)}}if(e)if(d)for(h=h||L(a),b=b||L(n),g=0;null!=(f=h[g]);g++)ha(f,b[g]);else ha(a,n);return b=L(n,"script"),0<b.length&&xa(b,!k&&L(a,"script")),n},buildFragment:function(a,e,d,b){for(var f,n,g,h,k,t,A,l=a.length,w=ga(e),B=[],p=0;l>p;p++)if(n=a[p],n||0===n)if("object"===c.type(n))c.merge(B,n.nodeType?[n]:n);else if(Db.test(n)){h=h||w.appendChild(e.createElement("div"));k=(Pa.exec(n)||["",""])[1].toLowerCase();A=Y[k]||Y._default;h.innerHTML=A[1]+n.replace(qb,"<$1></$2>")+A[2];for(f=A[0];f--;)h=
h.lastChild;if(!z.leadingWhitespace&&fb.test(n)&&B.push(e.createTextNode(fb.exec(n)[0])),!z.tbody)for(f=(n="table"!==k||Qa.test(n)?"<table>"!==A[1]||Qa.test(n)?0:h:h.firstChild)&&n.childNodes.length;f--;)c.nodeName(t=n.childNodes[f],"tbody")&&!t.childNodes.length&&n.removeChild(t);c.merge(B,h.childNodes);for(h.textContent="";h.firstChild;)h.removeChild(h.firstChild);h=w.lastChild}else B.push(e.createTextNode(n));h&&w.removeChild(h);z.appendChecked||c.grep(L(B,"input"),C);for(p=0;n=B[p++];)if((!b||
-1===c.inArray(n,b))&&(g=c.contains(n.ownerDocument,n),h=L(w.appendChild(n),"script"),g&&xa(h),d))for(f=0;n=h[f++];)rb.test(n.type||"")&&d.push(n);return w},cleanData:function(a,e){for(var d,b,f,n,g=0,h=c.expando,k=c.cache,t=z.deleteExpando,A=c.event.special;null!=(d=a[g]);g++)if((e||c.acceptData(d))&&(f=d[h],n=f&&k[f])){if(n.events)for(b in n.events)A[b]?c.event.remove(d,b):c.removeEvent(d,b,n.handle);k[f]&&(delete k[f],t?delete d[h]:"undefined"!==typeof d.removeAttribute?d.removeAttribute(h):d[h]=
null,ma.push(f))}}});c.fn.extend({text:function(a){return X(this,function(a){return void 0===a?c.text(this):this.empty().append((this[0]&&this[0].ownerDocument||D).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||da(this,a).appendChild(a)})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=da(this,a);e.insertBefore(a,
e.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,e){for(var d,b=a?c.filter(a,this):this,f=0;null!=(d=b[f]);f++)e||1!==d.nodeType||c.cleanData(L(d)),d.parentNode&&(e&&c.contains(d.ownerDocument,d)&&xa(L(d,"script")),d.parentNode.removeChild(d));return this},empty:function(){for(var a,
e=0;null!=(a=this[e]);e++){for(1===a.nodeType&&c.cleanData(L(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&c.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,e){return a=null==a?!1:a,e=null==e?a:e,this.map(function(){return c.clone(this,a,e)})},html:function(a){return X(this,function(a){var d=this[0]||{},b=0,f=this.length;if(void 0===a)return 1===d.nodeType?d.innerHTML.replace(Cb,""):void 0;if(!("string"!=typeof a||gb.test(a)||!z.htmlSerialize&&pb.test(a)||!z.leadingWhitespace&&
fb.test(a)||Y[(Pa.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(qb,"<$1></$2>");try{for(;f>b;b++)d=this[b]||{},1===d.nodeType&&(c.cleanData(L(d,!1)),d.innerHTML=a);d=0}catch(n){}}d&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(e){a=this.parentNode;c.cleanData(L(this));a&&a.replaceChild(e,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,e){a=
ab.apply([],a);var d,b,f,n,g=0,h=this.length,k=this,t=h-1,A=a[0],l=c.isFunction(A);if(l||1<h&&"string"==typeof A&&!z.checkClone&&Eb.test(A))return this.each(function(c){var d=k.eq(c);l&&(a[0]=A.call(this,c,d.html()));d.domManip(a,e)});if(h&&(n=c.buildFragment(a,this[0].ownerDocument,!1,this),d=n.firstChild,1===n.childNodes.length&&(n=d),d)){f=c.map(L(n,"script"),Q);for(b=f.length;h>g;g++)d=n,g!==t&&(d=c.clone(d,!0,!0),b&&c.merge(f,L(d,"script"))),e.call(this[g],d,g);if(b)for(n=f[f.length-1].ownerDocument,
c.map(f,Z),g=0;b>g;g++)d=f[g],rb.test(d.type||"")&&!c._data(d,"globalEval")&&c.contains(n,d)&&(d.src?c._evalUrl&&c._evalUrl(d.src):c.globalEval((d.text||d.textContent||d.innerHTML||"").replace(sb,"")));n=d=null}return this}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,e){c.fn[a]=function(a){for(var d=0,b=[],f=c(a),n=f.length-1;n>=d;d++)a=d===n?this:this.clone(!0),c(f[d])[e](a),ea.apply(b,a.get());return this.pushStack(b)}});
var za,d={};!function(){var a;z.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var e,c,d;return c=D.getElementsByTagName("body")[0],c&&c.style?(e=D.createElement("div"),d=D.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(e),"undefined"!==typeof e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",
e.appendChild(D.createElement("div")).style.width="5px",a=3!==e.offsetWidth),c.removeChild(d),a):void 0}}();var n=/^margin/,A=new RegExp("^("+Oa+")(?!px)[a-z%]+$","i"),T,W,S=/^(top|right|bottom|left)$/;p.getComputedStyle?(T=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},W=function(a,e,d){var b,f,g,h,k=a.style;return d=d||T(a),h=d?d.getPropertyValue(e)||d[e]:void 0,d&&(""!==h||c.contains(a.ownerDocument,a)||(h=c.style(a,e)),A.test(h)&&n.test(e)&&(b=k.width,f=k.minWidth,g=
k.maxWidth,k.minWidth=k.maxWidth=k.width=h,h=d.width,k.width=b,k.minWidth=f,k.maxWidth=g)),void 0===h?h:h+""}):D.documentElement.currentStyle&&(T=function(a){return a.currentStyle},W=function(a,e,c){var d,b,f,n,g=a.style;return c=c||T(a),n=c?c[e]:void 0,null==n&&g&&g[e]&&(n=g[e]),A.test(n)&&!S.test(e)&&(d=g.left,b=a.runtimeStyle,f=b&&b.left,f&&(b.left=a.currentStyle.left),g.left="fontSize"===e?"1em":n,n=g.pixelLeft+"px",g.left=d,f&&(b.left=f)),void 0===n?n:n+""||"auto"});!function(){var a,e,d,b,f,
n,g;if(a=D.createElement("div"),a.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=a.getElementsByTagName("a")[0],e=d&&d.style){var h=function(){var a,e,c,d;(e=D.getElementsByTagName("body")[0])&&e.style&&(a=D.createElement("div"),c=D.createElement("div"),c.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(c).appendChild(a),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",
b=f=!1,g=!0,p.getComputedStyle&&(b="1%"!==(p.getComputedStyle(a,null)||{}).top,f="4px"===(p.getComputedStyle(a,null)||{width:"4px"}).width,d=a.appendChild(D.createElement("div")),d.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",d.style.marginRight=d.style.width="0",a.style.width="1px",g=!parseFloat((p.getComputedStyle(d,null)||{}).marginRight)),a.innerHTML="<table><tr><td></td><td>t</td></tr></table>",
d=a.getElementsByTagName("td"),d[0].style.cssText="margin:0;border:0;padding:0;display:none",n=0===d[0].offsetHeight,n&&(d[0].style.display="",d[1].style.display="none",n=0===d[0].offsetHeight),e.removeChild(c))};e.cssText="float:left;opacity:.5";z.opacity="0.5"===e.opacity;z.cssFloat=!!e.cssFloat;a.style.backgroundClip="content-box";a.cloneNode(!0).style.backgroundClip="";z.clearCloneStyle="content-box"===a.style.backgroundClip;z.boxSizing=""===e.boxSizing||""===e.MozBoxSizing||""===e.WebkitBoxSizing;
c.extend(z,{reliableHiddenOffsets:function(){return null==n&&h(),n},boxSizingReliable:function(){return null==f&&h(),f},pixelPosition:function(){return null==b&&h(),b},reliableMarginRight:function(){return null==g&&h(),g}})}}();c.swap=function(a,e,c,d){var b,f={};for(b in e)f[b]=a.style[b],a.style[b]=e[b];c=c.apply(a,d||[]);for(b in e)a.style[b]=f[b];return c};var M=/alpha\([^)]*\)/i,ra=/opacity\s*=\s*([^)]*)/,Fb=/^(none|table(?!-c[ea]).+)/,jb=new RegExp("^("+Oa+")(.*)$","i"),Ra=new RegExp("^([+-])=("+
Oa+")","i"),wa={position:"absolute",visibility:"hidden",display:"block"},Mb={letterSpacing:"0",fontWeight:"400"},Lb=["Webkit","O","Moz","ms"];c.extend({cssHooks:{opacity:{get:function(a,e){if(e){var c=W(a,"opacity");return""===c?"1":c}}}},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":z.cssFloat?"cssFloat":"styleFloat"},style:function(a,e,d,b){if(a&&3!==a.nodeType&&8!==a.nodeType&&
a.style){var f,n,g,h=c.camelCase(e),k=a.style;if(e=c.cssProps[h]||(c.cssProps[h]=Aa(k,h)),g=c.cssHooks[e]||c.cssHooks[h],void 0===d)return g&&"get"in g&&void 0!==(f=g.get(a,!1,b))?f:k[e];if(n=typeof d,"string"===n&&(f=Ra.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(c.css(a,e)),n="number"),null!=d&&d===d&&("number"!==n||c.cssNumber[h]||(d+="px"),z.clearCloneStyle||""!==d||0!==e.indexOf("background")||(k[e]="inherit"),!(g&&"set"in g&&void 0===(d=g.set(a,d,b)))))try{k[e]=d}catch(t){}}},css:function(a,e,d,b){var f,
n,g,h=c.camelCase(e);return e=c.cssProps[h]||(c.cssProps[h]=Aa(a.style,h)),g=c.cssHooks[e]||c.cssHooks[h],g&&"get"in g&&(n=g.get(a,!0,d)),void 0===n&&(n=W(a,e,b)),"normal"===n&&e in Mb&&(n=Mb[e]),""===d||d?(f=parseFloat(n),!0===d||c.isNumeric(f)?f||0:n):n}});c.each(["height","width"],function(a,e){c.cssHooks[e]={get:function(a,d,b){return d?Fb.test(c.css(a,"display"))&&0===a.offsetWidth?c.swap(a,wa,function(){return w(a,e,b)}):w(a,e,b):void 0},set:function(a,d,b){var f=b&&T(a);return g(a,d,b?t(a,
e,b,z.boxSizing&&"border-box"===c.css(a,"boxSizing",!1,f),f):0)}}});z.opacity||(c.cssHooks.opacity={get:function(a,e){return ra.test((e&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(a,e){var d=a.style,b=a.currentStyle,f=c.isNumeric(e)?"alpha(opacity="+100*e+")":"",n=b&&b.filter||d.filter||"";d.zoom=1;(1<=e||""===e)&&""===c.trim(n.replace(M,""))&&d.removeAttribute&&(d.removeAttribute("filter"),""===e||b&&!b.filter)||(d.filter=M.test(n)?
n.replace(M,f):n+" "+f)}});c.cssHooks.marginRight=aa(z.reliableMarginRight,function(a,e){return e?c.swap(a,{display:"inline-block"},W,[a,"marginRight"]):void 0});c.each({margin:"",padding:"",border:"Width"},function(a,e){c.cssHooks[a+e]={expand:function(c){var d=0,b={};for(c="string"==typeof c?c.split(" "):[c];4>d;d++)b[a+sa[d]+e]=c[d]||c[d-2]||c[0];return b}};n.test(a)||(c.cssHooks[a+e].set=g)});c.fn.extend({css:function(a,e){return X(this,function(a,e,d){var b,f={},n=0;if(c.isArray(e)){d=T(a);for(b=
e.length;b>n;n++)f[e[n]]=c.css(a,e[n],!1,d);return f}return void 0!==d?c.style(a,e,d):c.css(a,e)},a,e,1<arguments.length)},show:function(){return f(this,!0)},hide:function(){return f(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){Fa(this)?c(this).show():c(this).hide()})}});c.Tween=B;B.prototype={constructor:B,init:function(a,e,d,b,f,n){this.elem=a;this.prop=d;this.easing=f||"swing";this.options=e;this.start=this.now=this.cur();this.end=b;this.unit=
n||(c.cssNumber[d]?"":"px")},cur:function(){var a=B.propHooks[this.prop];return a&&a.get?a.get(this):B.propHooks._default.get(this)},run:function(a){var e,d=B.propHooks[this.prop];return this.pos=e=this.options.duration?c.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),d&&d.set?d.set(this):B.propHooks._default.set(this),this}};B.prototype.init.prototype=B.prototype;
B.propHooks={_default:{get:function(a){var e;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(e=c.css(a.elem,a.prop,""),e&&"auto"!==e?e:0):a.elem[a.prop]},set:function(a){c.fx.step[a.prop]?c.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[c.cssProps[a.prop]]||c.cssHooks[a.prop])?c.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}};B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};c.easing={linear:function(a){return a},
swing:function(a){return.5-Math.cos(a*Math.PI)/2}};c.fx=B.prototype.init;c.fx.step={};var Ma,tb,Zb=/^(?:toggle|show|hide)$/,Nb=new RegExp("^(?:([+-])=|)("+Oa+")([a-z%]*)$","i"),$b=/queueHooks$/,kb=[function(a,e,d){var b,f,n,g,h,k,t,A=this,l={},w=a.style,B=a.nodeType&&Fa(a),p=c._data(a,"fxshow");d.queue||(g=c._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,A.always(function(){A.always(function(){g.unqueued--;c.queue(a,"fx").length||
g.empty.fire()})}));1===a.nodeType&&("height"in e||"width"in e)&&(d.overflow=[w.overflow,w.overflowX,w.overflowY],k=c.css(a,"display"),t="none"===k?c._data(a,"olddisplay")||pa(a.nodeName):k,"inline"===t&&"none"===c.css(a,"float")&&(z.inlineBlockNeedsLayout&&"inline"!==pa(a.nodeName)?w.zoom=1:w.display="inline-block"));d.overflow&&(w.overflow="hidden",z.shrinkWrapBlocks()||A.always(function(){w.overflow=d.overflow[0];w.overflowX=d.overflow[1];w.overflowY=d.overflow[2]}));for(b in e)if(f=e[b],Zb.exec(f)){if(delete e[b],
n=n||"toggle"===f,f===(B?"hide":"show")){if("show"!==f||!p||void 0===p[b])continue;B=!0}l[b]=p&&p[b]||c.style(a,b)}else k=void 0;if(c.isEmptyObject(l))"inline"===("none"===k?pa(a.nodeName):k)&&(w.display=k);else for(b in p?"hidden"in p&&(B=p.hidden):p=c._data(a,"fxshow",{}),n&&(p.hidden=!B),B?c(a).show():A.done(function(){c(a).hide()}),A.done(function(){var e;c._removeData(a,"fxshow");for(e in l)c.style(a,e,l[e])}),l)e=R(B?p[b]:0,b,A),b in p||(p[b]=e.start,B&&(e.end=e.start,e.start="width"===b||"height"===
b?1:0))}],Va={"*":[function(a,e){var d=this.createTween(a,e),b=d.cur(),f=Nb.exec(e),n=f&&f[3]||(c.cssNumber[a]?"":"px"),g=(c.cssNumber[a]||"px"!==n&&+b)&&Nb.exec(c.css(d.elem,a)),h=1,k=20;if(g&&g[3]!==n){n=n||g[3];f=f||[];g=+b||1;do h=h||".5",g/=h,c.style(d.elem,a,g+n);while(h!==(h=d.cur()/b)&&1!==h&&--k)}return f&&(g=d.start=+g||+b||0,d.unit=n,d.end=f[1]?g+(f[1]+1)*f[2]:+f[2]),d}]};c.Animation=c.extend(Ga,{tweener:function(a,e){c.isFunction(a)?(e=a,a=["*"]):a=a.split(" ");for(var d,b=0,f=a.length;f>
b;b++)d=a[b],Va[d]=Va[d]||[],Va[d].unshift(e)},prefilter:function(a,e){e?kb.unshift(a):kb.push(a)}});c.speed=function(a,e,d){var b=a&&"object"==typeof a?c.extend({},a):{complete:d||!d&&e||c.isFunction(a)&&a,duration:a,easing:d&&e||e&&!c.isFunction(e)&&e};return b.duration=c.fx.off?0:"number"==typeof b.duration?b.duration:b.duration in c.fx.speeds?c.fx.speeds[b.duration]:c.fx.speeds._default,(null==b.queue||!0===b.queue)&&(b.queue="fx"),b.old=b.complete,b.complete=function(){c.isFunction(b.old)&&b.old.call(this);
b.queue&&c.dequeue(this,b.queue)},b};c.fn.extend({fadeTo:function(a,e,d,c){return this.filter(Fa).css("opacity",0).show().end().animate({opacity:e},a,d,c)},animate:function(a,e,d,b){var f=c.isEmptyObject(a),n=c.speed(e,d,b);e=function(){var e=Ga(this,c.extend({},a),n);(f||c._data(this,"finish"))&&e.stop(!0)};return e.finish=e,f||!1===n.queue?this.each(e):this.queue(n.queue,e)},stop:function(a,e,d){var b=function(a){var e=a.stop;delete a.stop;e(d)};return"string"!=typeof a&&(d=e,e=a,a=void 0),e&&!1!==
a&&this.queue(a||"fx",[]),this.each(function(){var e=!0,f=null!=a&&a+"queueHooks",n=c.timers,g=c._data(this);if(f)g[f]&&g[f].stop&&b(g[f]);else for(f in g)g[f]&&g[f].stop&&$b.test(f)&&b(g[f]);for(f=n.length;f--;)n[f].elem!==this||null!=a&&n[f].queue!==a||(n[f].anim.stop(d),e=!1,n.splice(f,1));!e&&d||c.dequeue(this,a)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,d=c._data(this),b=d[a+"queue"];e=d[a+"queueHooks"];var f=c.timers,n=b?b.length:0;d.finish=!0;c.queue(this,a,
[]);e&&e.stop&&e.stop.call(this,!0);for(e=f.length;e--;)f[e].elem===this&&f[e].queue===a&&(f[e].anim.stop(!0),f.splice(e,1));for(e=0;n>e;e++)b[e]&&b[e].finish&&b[e].finish.call(this);delete d.finish})}});c.each(["toggle","show","hide"],function(a,e){var d=c.fn[e];c.fn[e]=function(a,c,b){return null==a||"boolean"==typeof a?d.apply(this,arguments):this.animate(ia(e,!0),a,c,b)}});c.each({slideDown:ia("show"),slideUp:ia("hide"),slideToggle:ia("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},
fadeToggle:{opacity:"toggle"}},function(a,e){c.fn[a]=function(a,d,c){return this.animate(e,a,d,c)}});c.timers=[];c.fx.tick=function(){var a,e=c.timers,d=0;for(Ma=c.now();d<e.length;d++)a=e[d],a()||e[d]!==a||e.splice(d--,1);e.length||c.fx.stop();Ma=void 0};c.fx.timer=function(a){c.timers.push(a);a()?c.fx.start():c.timers.pop()};c.fx.interval=13;c.fx.start=function(){tb||(tb=setInterval(c.fx.tick,c.fx.interval))};c.fx.stop=function(){clearInterval(tb);tb=null};c.fx.speeds={slow:600,fast:200,_default:400};
c.fn.delay=function(a,e){return a=c.fx?c.fx.speeds[a]||a:a,e=e||"fx",this.queue(e,function(e,d){var c=setTimeout(e,a);d.stop=function(){clearTimeout(c)}})};(function(){var a,e,d,c,b;e=D.createElement("div");e.setAttribute("className","t");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";c=e.getElementsByTagName("a")[0];d=D.createElement("select");b=d.appendChild(D.createElement("option"));a=e.getElementsByTagName("input")[0];c.style.cssText="top:1px";z.getSetAttribute=
"t"!==e.className;z.style=/top/.test(c.getAttribute("style"));z.hrefNormalized="/a"===c.getAttribute("href");z.checkOn=!!a.value;z.optSelected=b.selected;z.enctype=!!D.createElement("form").enctype;d.disabled=!0;z.optDisabled=!b.disabled;a=D.createElement("input");a.setAttribute("value","");z.input=""===a.getAttribute("value");a.value="t";a.setAttribute("type","radio");z.radioValue="t"===a.value})();var ac=/\r/g;c.fn.extend({val:function(a){var e,d,b,f=this[0];if(arguments.length)return b=c.isFunction(a),
this.each(function(d){var f;1===this.nodeType&&(f=b?a.call(this,d,c(this).val()):a,null==f?f="":"number"==typeof f?f+="":c.isArray(f)&&(f=c.map(f,function(a){return null==a?"":a+""})),e=c.valHooks[this.type]||c.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,f,"value")||(this.value=f))});if(f)return e=c.valHooks[f.type]||c.valHooks[f.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(d=e.get(f,"value"))?d:(d=f.value,"string"==typeof d?d.replace(ac,""):null==d?"":d)}});c.extend({valHooks:{option:{get:function(a){var e=
c.find.attr(a,"value");return null!=e?e:c.trim(c.text(a))}},select:{get:function(a){for(var e,d=a.options,b=a.selectedIndex,f="select-one"===a.type||0>b,n=f?null:[],g=f?b+1:d.length,h=0>b?g:f?b:0;g>h;h++)if(e=d[h],!(!e.selected&&h!==b||(z.optDisabled?e.disabled:null!==e.getAttribute("disabled"))||e.parentNode.disabled&&c.nodeName(e.parentNode,"optgroup"))){if(a=c(e).val(),f)return a;n.push(a)}return n},set:function(a,e){for(var d,b,f=a.options,n=c.makeArray(e),g=f.length;g--;)if(b=f[g],0<=c.inArray(c.valHooks.option.get(b),
n))try{b.selected=d=!0}catch(h){b.scrollHeight}else b.selected=!1;return d||(a.selectedIndex=-1),f}}}});c.each(["radio","checkbox"],function(){c.valHooks[this]={set:function(a,e){return c.isArray(e)?a.checked=0<=c.inArray(c(a).val(),e):void 0}};z.checkOn||(c.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var Sa,Ob,Ba=c.expr.attrHandle,Gb=/^(?:checked|selected)$/i,Ja=z.getSetAttribute,ub=z.input;c.fn.extend({attr:function(a,e){return X(this,c.attr,a,e,1<arguments.length)},
removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})}});c.extend({attr:function(a,e,d){var b,f,n=a.nodeType;if(a&&3!==n&&8!==n&&2!==n)return"undefined"===typeof a.getAttribute?c.prop(a,e,d):(1===n&&c.isXMLDoc(a)||(e=e.toLowerCase(),b=c.attrHooks[e]||(c.expr.match.bool.test(e)?Ob:Sa)),void 0===d?b&&"get"in b&&null!==(f=b.get(a,e))?f:(f=c.find.attr(a,e),null==f?void 0:f):null!==d?b&&"set"in b&&void 0!==(f=b.set(a,d,e))?f:(a.setAttribute(e,d+""),d):void c.removeAttr(a,e))},removeAttr:function(a,
e){var d,b,f=0,n=e&&e.match(la);if(n&&1===a.nodeType)for(;d=n[f++];)b=c.propFix[d]||d,c.expr.match.bool.test(d)?ub&&Ja||!Gb.test(d)?a[b]=!1:a[c.camelCase("default-"+d)]=a[b]=!1:c.attr(a,d,""),a.removeAttribute(Ja?d:b)},attrHooks:{type:{set:function(a,e){if(!z.radioValue&&"radio"===e&&c.nodeName(a,"input")){var d=a.value;return a.setAttribute("type",e),d&&(a.value=d),e}}}}});Ob={set:function(a,e,d){return!1===e?c.removeAttr(a,d):ub&&Ja||!Gb.test(d)?a.setAttribute(!Ja&&c.propFix[d]||d,d):a[c.camelCase("default-"+
d)]=a[d]=!0,d}};c.each(c.expr.match.bool.source.match(/\w+/g),function(a,e){var d=Ba[e]||c.find.attr;Ba[e]=ub&&Ja||!Gb.test(e)?function(a,e,c){var b,f;return c||(f=Ba[e],Ba[e]=b,b=null!=d(a,e,c)?e.toLowerCase():null,Ba[e]=f),b}:function(a,e,d){return d?void 0:a[c.camelCase("default-"+e)]?e.toLowerCase():null}});ub&&Ja||(c.attrHooks.value={set:function(a,e,d){return c.nodeName(a,"input")?void(a.defaultValue=e):Sa&&Sa.set(a,e,d)}});Ja||(Sa={set:function(a,e,d){var c=a.getAttributeNode(d);return c||
a.setAttributeNode(c=a.ownerDocument.createAttribute(d)),c.value=e+="","value"===d||e===a.getAttribute(d)?e:void 0}},Ba.id=Ba.name=Ba.coords=function(a,e,d){var c;return d?void 0:(c=a.getAttributeNode(e))&&""!==c.value?c.value:null},c.valHooks.button={get:function(a,e){var d=a.getAttributeNode(e);return d&&d.specified?d.value:void 0},set:Sa.set},c.attrHooks.contenteditable={set:function(a,e,d){Sa.set(a,""===e?!1:e,d)}},c.each(["width","height"],function(a,e){c.attrHooks[e]={set:function(a,d){return""===
d?(a.setAttribute(e,"auto"),d):void 0}}}));z.style||(c.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,e){return a.style.cssText=e+""}});var bc=/^(?:input|select|textarea|button|object)$/i,cc=/^(?:a|area)$/i;c.fn.extend({prop:function(a,e){return X(this,c.prop,a,e,1<arguments.length)},removeProp:function(a){return a=c.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(e){}})}});c.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,
e,d){var b,f,n,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return n=1!==g||!c.isXMLDoc(a),n&&(e=c.propFix[e]||e,f=c.propHooks[e]),void 0!==d?f&&"set"in f&&void 0!==(b=f.set(a,d,e))?b:a[e]=d:f&&"get"in f&&null!==(b=f.get(a,e))?b:a[e]},propHooks:{tabIndex:{get:function(a){var e=c.find.attr(a,"tabindex");return e?parseInt(e,10):bc.test(a.nodeName)||cc.test(a.nodeName)&&a.href?0:-1}}}});z.hrefNormalized||c.each(["href","src"],function(a,e){c.propHooks[e]={get:function(a){return a.getAttribute(e,4)}}});z.optSelected||
(c.propHooks.selected={get:function(a){a=a.parentNode;return a&&(a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex),null}});c.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){c.propFix[this.toLowerCase()]=this});z.enctype||(c.propFix.enctype="encoding");var Hb=/[\t\r\n\f]/g;c.fn.extend({addClass:function(a){var e,d,b,f,n,g=0,h=this.length;e="string"==typeof a&&a;if(c.isFunction(a))return this.each(function(e){c(this).addClass(a.call(this,
e,this.className))});if(e)for(e=(a||"").match(la)||[];h>g;g++)if(d=this[g],b=1===d.nodeType&&(d.className?(" "+d.className+" ").replace(Hb," "):" ")){for(n=0;f=e[n++];)0>b.indexOf(" "+f+" ")&&(b+=f+" ");b=c.trim(b);d.className!==b&&(d.className=b)}return this},removeClass:function(a){var e,d,b,f,n,g=0,h=this.length;e=0===arguments.length||"string"==typeof a&&a;if(c.isFunction(a))return this.each(function(d){c(this).removeClass(a.call(this,d,this.className))});if(e)for(e=(a||"").match(la)||[];h>g;g++)if(d=
this[g],b=1===d.nodeType&&(d.className?(" "+d.className+" ").replace(Hb," "):"")){for(n=0;f=e[n++];)for(;0<=b.indexOf(" "+f+" ");)b=b.replace(" "+f+" "," ");b=a?c.trim(b):"";d.className!==b&&(d.className=b)}return this},toggleClass:function(a,d){var b=typeof a;return"boolean"==typeof d&&"string"===b?d?this.addClass(a):this.removeClass(a):this.each(c.isFunction(a)?function(b){c(this).toggleClass(a.call(this,b,this.className,d),d)}:function(){if("string"===b)for(var d,e=0,f=c(this),n=a.match(la)||[];d=
n[e++];)f.hasClass(d)?f.removeClass(d):f.addClass(d);else("undefined"===b||"boolean"===b)&&(this.className&&c._data(this,"__className__",this.className),this.className=this.className||!1===a?"":c._data(this,"__className__")||"")})},hasClass:function(a){a=" "+a+" ";for(var d=0,c=this.length;c>d;d++)if(1===this[d].nodeType&&0<=(" "+this[d].className+" ").replace(Hb," ").indexOf(a))return!0;return!1}});c.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(a,d){c.fn[d]=function(a,c){return 0<arguments.length?this.on(d,null,a,c):this.trigger(d)}});c.fn.extend({hover:function(a,d){return this.mouseenter(a).mouseleave(d||a)},bind:function(a,d,c){return this.on(a,null,d,c)},unbind:function(a,d){return this.off(a,null,d)},delegate:function(a,d,c,b){return this.on(d,a,c,b)},undelegate:function(a,d,c){return 1===arguments.length?this.off(a,"**"):this.off(d,a||"**",c)}});var Ib=c.now(),Jb=/\?/,dc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
c.parseJSON=function(a){if(p.JSON&&p.JSON.parse)return p.JSON.parse(a+"");var d,b=null,f=c.trim(a+"");return f&&!c.trim(f.replace(dc,function(a,c,f,n){return d&&c&&(b=0),0===b?a:(d=f||c,b+=!n-!f,"")}))?Function("return "+f)():c.error("Invalid JSON: "+a)};c.parseXML=function(a){var d,b;if(!a||"string"!=typeof a)return null;try{p.DOMParser?(b=new DOMParser,d=b.parseFromString(a,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(a))}catch(f){d=void 0}return d&&d.documentElement&&
!d.getElementsByTagName("parsererror").length||c.error("Invalid XML: "+a),d};var Ka,Ca,ec=/#.*$/,Pb=/([?&])_=[^&]*/,fc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,gc=/^(?:GET|HEAD)$/,hc=/^\/\//,Qb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Rb={},yb={},Sb="*/".concat("*");try{Ca=location.href}catch(oc){Ca=D.createElement("a"),Ca.href="",Ca=Ca.href}Ka=Qb.exec(Ca.toLowerCase())||[];c.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ca,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ka[1]),
global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Sb,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":c.parseJSON,"text xml":c.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,d){return d?Ya(Ya(a,
c.ajaxSettings),d):Ya(c.ajaxSettings,a)},ajaxPrefilter:va(Rb),ajaxTransport:va(yb),ajax:function(a,d){function b(a,d,e,f){var n,m,l,x,O=d;if(2!==u){u=2;k&&clearTimeout(k);A=void 0;h=f||"";q.readyState=0<a?4:0;f=200<=a&&300>a||304===a;if(e){l=w;for(var G=q,E,J,S,M,ia=l.contents,z=l.dataTypes;"*"===z[0];)z.shift(),void 0===J&&(J=l.mimeType||G.getResponseHeader("Content-Type"));if(J)for(M in ia)if(ia[M]&&ia[M].test(J)){z.unshift(M);break}if(z[0]in e)S=z[0];else{for(M in e){if(!z[0]||l.converters[M+" "+
z[0]]){S=M;break}E||(E=M)}S=S||E}l=S?(S!==z[0]&&z.unshift(S),e[S]):void 0}var I;a:{e=w;E=l;J=q;S=f;var r,C,D;l={};G=e.dataTypes.slice();if(G[1])for(r in e.converters)l[r.toLowerCase()]=e.converters[r];for(M=G.shift();M;)if(e.responseFields[M]&&(J[e.responseFields[M]]=E),!D&&S&&e.dataFilter&&(E=e.dataFilter(E,e.dataType)),D=M,M=G.shift())if("*"===M)M=D;else if("*"!==D&&D!==M){if(r=l[D+" "+M]||l["* "+M],!r)for(I in l)if(C=I.split(" "),C[1]===M&&(r=l[D+" "+C[0]]||l["* "+C[0]])){!0===r?r=l[I]:!0!==l[I]&&
(M=C[0],G.unshift(C[1]));break}if(!0!==r)if(r&&e["throws"])E=r(E);else try{E=r(E)}catch(y){I={state:"parsererror",error:r?y:"No conversion from "+D+" to "+M};break a}}I={state:"success",data:E}}l=I;f?(w.ifModified&&(x=q.getResponseHeader("Last-Modified"),x&&(c.lastModified[g]=x),x=q.getResponseHeader("etag"),x&&(c.etag[g]=x)),204===a||"HEAD"===w.type?O="nocontent":304===a?O="notmodified":(O=l.state,n=l.data,m=l.error,f=!m)):(m=O,(a||!O)&&(O="error",0>a&&(a=0)));q.status=a;q.statusText=(d||O)+"";f?
W.resolveWith(B,[n,O,q]):W.rejectWith(B,[q,O,m]);q.statusCode(v);v=void 0;t&&p.trigger(f?"ajaxSuccess":"ajaxError",[q,w,f?n:m]);T.fireWith(B,[q,O]);t&&(p.trigger("ajaxComplete",[q,w]),--c.active||c.event.trigger("ajaxStop"))}}"object"==typeof a&&(d=a,a=void 0);d=d||{};var f,n,g,h,k,t,A,l,w=c.ajaxSetup({},d),B=w.context||w,p=w.context&&(B.nodeType||B.jquery)?c(B):c.event,W=c.Deferred(),T=c.Callbacks("once memory"),v=w.statusCode||{},O={},G={},u=0,J="canceled",q={readyState:0,getResponseHeader:function(a){var d;
if(2===u){if(!l)for(l={};d=fc.exec(h);)l[d[1].toLowerCase()]=d[2];d=l[a.toLowerCase()]}return null==d?null:d},getAllResponseHeaders:function(){return 2===u?h:null},setRequestHeader:function(a,d){var e=a.toLowerCase();return u||(a=G[e]=G[e]||a,O[a]=d),this},overrideMimeType:function(a){return u||(w.mimeType=a),this},statusCode:function(a){var d;if(a)if(2>u)for(d in a)v[d]=[v[d],a[d]];else q.always(a[q.status]);return this},abort:function(a){a=a||J;return A&&A.abort(a),b(0,a),this}};if(W.promise(q).complete=
T.add,q.success=q.done,q.error=q.fail,w.url=((a||w.url||Ca)+"").replace(ec,"").replace(hc,Ka[1]+"//"),w.type=d.method||d.type||w.method||w.type,w.dataTypes=c.trim(w.dataType||"*").toLowerCase().match(la)||[""],null==w.crossDomain&&(f=Qb.exec(w.url.toLowerCase()),w.crossDomain=!(!f||f[1]===Ka[1]&&f[2]===Ka[2]&&(f[3]||("http:"===f[1]?"80":"443"))===(Ka[3]||("http:"===Ka[1]?"80":"443")))),w.data&&w.processData&&"string"!=typeof w.data&&(w.data=c.param(w.data,w.traditional)),Xa(Rb,w,d,q),2===u)return q;
(t=w.global)&&0===c.active++&&c.event.trigger("ajaxStart");w.type=w.type.toUpperCase();w.hasContent=!gc.test(w.type);g=w.url;w.hasContent||(w.data&&(g=w.url+=(Jb.test(g)?"&":"?")+w.data,delete w.data),!1===w.cache&&(w.url=Pb.test(g)?g.replace(Pb,"$1_="+Ib++):g+(Jb.test(g)?"&":"?")+"_="+Ib++));w.ifModified&&(c.lastModified[g]&&q.setRequestHeader("If-Modified-Since",c.lastModified[g]),c.etag[g]&&q.setRequestHeader("If-None-Match",c.etag[g]));(w.data&&w.hasContent&&!1!==w.contentType||d.contentType)&&
q.setRequestHeader("Content-Type",w.contentType);q.setRequestHeader("Accept",w.dataTypes[0]&&w.accepts[w.dataTypes[0]]?w.accepts[w.dataTypes[0]]+("*"!==w.dataTypes[0]?", "+Sb+"; q=0.01":""):w.accepts["*"]);for(n in w.headers)q.setRequestHeader(n,w.headers[n]);if(w.beforeSend&&(!1===w.beforeSend.call(B,q,w)||2===u))return q.abort();J="abort";for(n in{success:1,error:1,complete:1})q[n](w[n]);if(A=Xa(yb,w,d,q)){q.readyState=1;t&&p.trigger("ajaxSend",[q,w]);w.async&&0<w.timeout&&(k=setTimeout(function(){q.abort("timeout")},
w.timeout));try{u=1,A.send(O,b)}catch(S){if(!(2>u))throw S;b(-1,S)}}else b(-1,"No Transport");return q},getJSON:function(a,d,b){return c.get(a,d,b,"json")},getScript:function(a,d){return c.get(a,void 0,d,"script")}});c.each(["get","post"],function(a,d){c[d]=function(a,b,f,n){return c.isFunction(b)&&(n=n||f,f=b,b=void 0),c.ajax({url:a,type:d,dataType:n,data:b,success:f})}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,d){c.fn[d]=function(a){return this.on(d,
a)}});c._evalUrl=function(a){return c.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})};c.fn.extend({wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var d=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&d.insertBefore(this[0]);d.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(c.isFunction(a)?
function(d){c(this).wrapInner(a.call(this,d))}:function(){var d=c(this),b=d.contents();b.length?b.wrapAll(a):d.append(a)})},wrap:function(a){var d=c.isFunction(a);return this.each(function(b){c(this).wrapAll(d?a.call(this,b):a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()}});c.expr.filters.hidden=function(a){return 0>=a.offsetWidth&&0>=a.offsetHeight||!z.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||
c.css(a,"display"))};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var ic=/%20/g,Xb=/\[\]$/,Tb=/\r?\n/g,jc=/^(?:submit|button|image|reset|file)$/i,kc=/^(?:input|select|textarea|keygen)/i;c.param=function(a,d){var b,f=[],n=function(a,d){d=c.isFunction(d)?d():null==d?"":d;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(d)};if(void 0===d&&(d=c.ajaxSettings&&c.ajaxSettings.traditional),c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){n(this.name,this.value)});
else for(b in a)na(b,a[b],d,n);return f.join("&").replace(ic,"+")};c.fn.extend({serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=c.prop(this,"elements");return a?c.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!c(this).is(":disabled")&&kc.test(this.nodeName)&&!jc.test(a)&&(this.checked||!Ea.test(a))}).map(function(a,d){var b=c(this).val();return null==b?null:c.isArray(b)?c.map(b,function(a){return{name:d.name,
value:a.replace(Tb,"\r\n")}}):{name:d.name,value:b.replace(Tb,"\r\n")}}).get()}});c.ajaxSettings.xhr=void 0!==p.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Za()))a:{try{a=new p.ActiveXObject("Microsoft.XMLHTTP");break a}catch(d){}a=void 0}return a}:Za;var lc=0,vb={},wb=c.ajaxSettings.xhr();p.ActiveXObject&&c(p).on("unload",function(){for(var a in vb)vb[a](void 0,!0)});z.cors=!!wb&&"withCredentials"in wb;(wb=z.ajax=!!wb)&&c.ajaxTransport(function(a){if(!a.crossDomain||
z.cors){var d;return{send:function(b,f){var n,g=a.xhr(),h=++lc;if(g.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(n in a.xhrFields)g[n]=a.xhrFields[n];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType);a.crossDomain||b["X-Requested-With"]||(b["X-Requested-With"]="XMLHttpRequest");for(n in b)void 0!==b[n]&&g.setRequestHeader(n,b[n]+"");g.send(a.hasContent&&a.data||null);d=function(b,n){var m,k,t;if(d&&(n||4===g.readyState))if(delete vb[h],d=void 0,g.onreadystatechange=
c.noop,n)4!==g.readyState&&g.abort();else{t={};m=g.status;"string"==typeof g.responseText&&(t.text=g.responseText);try{k=g.statusText}catch(A){k=""}m||!a.isLocal||a.crossDomain?1223===m&&(m=204):m=t.text?200:404}t&&f(m,k,t,g.getAllResponseHeaders())};a.async?4===g.readyState?setTimeout(d):g.onreadystatechange=vb[h]=d:d()},abort:function(){d&&d(void 0,!0)}}}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},
converters:{"text script":function(a){return c.globalEval(a),a}}});c.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=!1)});c.ajaxTransport("script",function(a){if(a.crossDomain){var d,b=D.head||c("head")[0]||D.documentElement;return{send:function(c,f){d=D.createElement("script");d.async=!0;a.scriptCharset&&(d.charset=a.scriptCharset);d.src=a.url;d.onload=d.onreadystatechange=function(a,c){(c||!d.readyState||/loaded|complete/.test(d.readyState))&&
(d.onload=d.onreadystatechange=null,d.parentNode&&d.parentNode.removeChild(d),d=null,c||f(200,"success"))};b.insertBefore(d,b.firstChild)},abort:function(){d&&d.onload(void 0,!0)}}}});var Ub=[],Kb=/(=)\?(?=&|$)|\?\?/;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Ub.pop()||c.expando+"_"+Ib++;return this[a]=!0,a}});c.ajaxPrefilter("json jsonp",function(a,d,b){var f,n,g,h=!1!==a.jsonp&&(Kb.test(a.url)?"url":"string"==typeof a.data&&!(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&
Kb.test(a.data)&&"data");return h||"jsonp"===a.dataTypes[0]?(f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,h?a[h]=a[h].replace(Kb,"$1"+f):!1!==a.jsonp&&(a.url+=(Jb.test(a.url)?"&":"?")+a.jsonp+"="+f),a.converters["script json"]=function(){return g||c.error(f+" was not called"),g[0]},a.dataTypes[0]="json",n=p[f],p[f]=function(){g=arguments},b.always(function(){p[f]=n;a[f]&&(a.jsonpCallback=d.jsonpCallback,Ub.push(f));g&&c.isFunction(n)&&n(g[0]);g=n=void 0}),"script"):
void 0});c.parseHTML=function(a,d,b){if(!a||"string"!=typeof a)return null;"boolean"==typeof d&&(b=d,d=!1);d=d||D;var f=qa.exec(a);b=!b&&[];return f?[d.createElement(f[1])]:(f=c.buildFragment([a],d,b),b&&b.length&&c(b).remove(),c.merge([],f.childNodes))};var Vb=c.fn.load;c.fn.load=function(a,d,b){if("string"!=typeof a&&Vb)return Vb.apply(this,arguments);var f,n,g,h=this,k=a.indexOf(" ");return 0<=k&&(f=c.trim(a.slice(k,a.length)),a=a.slice(0,k)),c.isFunction(d)?(b=d,d=void 0):d&&"object"==typeof d&&
(g="POST"),0<h.length&&c.ajax({url:a,type:g,dataType:"html",data:d}).done(function(a){n=arguments;h.html(f?c("<div>").append(c.parseHTML(a)).find(f):a)}).complete(b&&function(a,d){h.each(b,n||[a.responseText,d,a])}),this};c.expr.filters.animated=function(a){return c.grep(c.timers,function(d){return a===d.elem}).length};var Wb=p.document.documentElement;c.offset={setOffset:function(a,d,b){var f,n,g,h,k,t,A=c.css(a,"position"),l=c(a),w={};"static"===A&&(a.style.position="relative");k=l.offset();g=c.css(a,
"top");t=c.css(a,"left");("absolute"===A||"fixed"===A)&&-1<c.inArray("auto",[g,t])?(f=l.position(),h=f.top,n=f.left):(h=parseFloat(g)||0,n=parseFloat(t)||0);c.isFunction(d)&&(d=d.call(a,b,k));null!=d.top&&(w.top=d.top-k.top+h);null!=d.left&&(w.left=d.left-k.left+n);"using"in d?d.using.call(a,w):l.css(w)}};c.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(d){c.offset.setOffset(this,a,d)});var d,b,f={top:0,left:0},n=this[0],g=n&&n.ownerDocument;if(g)return d=
g.documentElement,c.contains(d,n)?("undefined"!==typeof n.getBoundingClientRect&&(f=n.getBoundingClientRect()),b=$a(g),{top:f.top+(b.pageYOffset||d.scrollTop)-(d.clientTop||0),left:f.left+(b.pageXOffset||d.scrollLeft)-(d.clientLeft||0)}):f},position:function(){if(this[0]){var a,d,b={top:0,left:0},f=this[0];return"fixed"===c.css(f,"position")?d=f.getBoundingClientRect():(a=this.offsetParent(),d=this.offset(),c.nodeName(a[0],"html")||(b=a.offset()),b.top+=c.css(a[0],"borderTopWidth",!0),b.left+=c.css(a[0],
"borderLeftWidth",!0)),{top:d.top-b.top-c.css(f,"marginTop",!0),left:d.left-b.left-c.css(f,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||Wb;a&&!c.nodeName(a,"html")&&"static"===c.css(a,"position");)a=a.offsetParent;return a||Wb})}});c.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,d){var b=/Y/.test(d);c.fn[a]=function(f){return X(this,function(a,f,n){var g=$a(a);return void 0===n?g?d in g?g[d]:g.document.documentElement[f]:
a[f]:void(g?g.scrollTo(b?c(g).scrollLeft():n,b?n:c(g).scrollTop()):a[f]=n)},a,f,arguments.length,null)}});c.each(["top","left"],function(a,d){c.cssHooks[d]=aa(z.pixelPosition,function(a,b){return b?(b=W(a,d),A.test(b)?c(a).position()[d]+"px":b):void 0})});c.each({Height:"height",Width:"width"},function(a,d){c.each({padding:"inner"+a,content:d,"":"outer"+a},function(b,f){c.fn[f]=function(f,n){var g=arguments.length&&(b||"boolean"!=typeof f),h=b||(!0===f||!0===n?"margin":"border");return X(this,function(d,
e,b){var f;return c.isWindow(d)?d.document.documentElement["client"+a]:9===d.nodeType?(f=d.documentElement,Math.max(d.body["scroll"+a],f["scroll"+a],d.body["offset"+a],f["offset"+a],f["client"+a])):void 0===b?c.css(d,e,h):c.style(d,e,b,h)},d,g?f:void 0,g,null)}})});c.fn.size=function(){return this.length};c.fn.andSelf=c.fn.addBack;"function"==typeof define&&define.amd&&define("jquery",[],function(){return c});var mc=p.jQuery,nc=p.$;return c.noConflict=function(a){return p.$===c&&(p.$=nc),a&&p.jQuery===
c&&(p.jQuery=mc),c},"undefined"===typeof F&&(p.jQuery=p.$=c),c});
(function(p){function F(r){var q;return r&&r.constructor==Array&&3==r.length?r:(q=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(r))?[parseInt(q[1]),parseInt(q[2]),parseInt(q[3])]:(q=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(r))?[2.55*parseFloat(q[1]),2.55*parseFloat(q[2]),2.55*parseFloat(q[3])]:(q=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(r))?[parseInt(q[1],16),parseInt(q[2],16),parseInt(q[3],16)]:
(q=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(r))?[parseInt(q[1]+q[1],16),parseInt(q[2]+q[2],16),parseInt(q[3]+q[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(r)?y.transparent:y[p.trim(r).toLowerCase()]}p.each("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color outlineColor".split(" "),function(r,q){p.fx.step[q]=function(l){if(!l.colorInit){var b;b=l.elem;var k=q,G;do{G=p.css(b,k);if(""!=G&&"transparent"!=G||p.nodeName(b,"body"))break;k="backgroundColor"}while(b=b.parentNode);
b=F(G);l.start=b;l.end=F(l.end);l.colorInit=!0}l.elem.style[q]="rgb("+[Math.max(Math.min(parseInt(l.pos*(l.end[0]-l.start[0])+l.start[0]),255),0),Math.max(Math.min(parseInt(l.pos*(l.end[1]-l.start[1])+l.start[1]),255),0),Math.max(Math.min(parseInt(l.pos*(l.end[2]-l.start[2])+l.start[2]),255),0)].join()+")"}});var y={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],
darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,
0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]}})(jQuery);
(function(p){p.fn.pullupScroll=function(F){p(F).addClass("pullup-element");p(F).each(function(y,r){r=p(r);r.visible(!0)&&r.addClass("already-visible")});p("head").append("<style>.come-in{-ie-transform:translateY(150px);-webkit-transform:translateY(150px);transform:translateY(150px);-webkit-animation:come-in .8s ease forwards;animation:come-in .8s ease forwards}.come-in:nth-child(odd){-webkit-animation-duration:.6s;animation-duration:.6s}.already-visible{-ie-transform:translateY(0);-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation:none;animation:none}@-webkit-keyframes come-in{to{-ie-transform:translateY(0);-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes come-in{to{-ie-transform:translateY(0);-webkit-transform:translateY(0);transform:translateY(0)}}</style>");return this};
p.fn.visible=function(F){var y=p(this),r=p(window),q=r.scrollTop(),r=q+r.height(),l=y.offset().top,y=l+y.height();return(!0===F?l:y)<=r&&(!0===F?y:l)>=q}})(jQuery);
(function(p){p.fn.drags=function(F){F=p.extend({handle:"",cursor:"move"},F);return(""===F.handle?this:this.find(F.handle)).css("cursor",F.cursor).on("mousedown",function(y){var r=""===F.handle?p(this).addClass("draggable"):p(this).addClass("active-handle").parent().addClass("draggable"),q=r.css("z-index"),l=r.outerHeight(),b=r.outerWidth(),k=r.offset().top+l-y.pageY,G=r.offset().left+b-y.pageX;r.css("z-index",1E3).parents().on("mousemove",function(u){p(".draggable").offset({top:u.pageY+k-l,left:u.pageX+
G-b}).on("mouseup",function(){p(this).removeClass("draggable").css("z-index",q)})});y.preventDefault()}).on("mouseup",function(){""===F.handle?p(this).removeClass("draggable"):p(this).removeClass("active-handle").parent().removeClass("draggable")})}})(jQuery);jQuery.fn.mouseIsOver=function(){return 0<$(this).parent().find($(this).selector+":hover").length};
(function(p){"function"===typeof define&&define.amd?define(["jquery"],p):p(jQuery)})(function(p){function F(p){return"object"==typeof p?p:{top:p,left:p}}var y=p.scrollTo=function(r,q,l){return p(window).scrollTo(r,q,l)};y.defaults={axis:"xy",duration:1.3<=parseFloat(p.fn.jquery)?0:1,limit:!0};y.window=function(r){return p(window)._scrollable()};p.fn._scrollable=function(){return this.map(function(){if(this.nodeName&&-1==p.inArray(this.nodeName.toLowerCase(),["iframe","#document","html","body"]))return this;
var r=(this.contentWindow||this).document||this.ownerDocument||this;return/webkit/i.test(navigator.userAgent)||"BackCompat"==r.compatMode?r.body:r.documentElement})};p.fn.scrollTo=function(r,q,l){"object"==typeof q&&(l=q,q=0);"function"==typeof l&&(l={onAfter:l});"max"==r&&(r=9E9);l=p.extend({},y.defaults,l);q=q||l.duration;l.queue=l.queue&&1<l.axis.length;l.queue&&(q/=2);l.offset=F(l.offset);l.over=F(l.over);return this._scrollable().each(function(){function b(b){G.animate(I,q,l.easing,b&&function(){b.call(this,
u,l)})}if(null!=r){var k=this,G=p(k),u=r,J,I={},h=G.is("html,body");switch(typeof u){case "number":case "string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(u)){u=F(u);break}u=p(u,this);if(!u.length)return;case "object":if(u.is||u.style)J=(u=p(u)).offset()}p.each(l.axis.split(""),function(p,q){var r="x"==q?"Left":"Top",F=r.toLowerCase(),C="scroll"+r,da=k[C],Q=y.max(k,q);J?(I[C]=J[F]+(h?0:da-G.offset()[F]),l.margin&&(I[C]-=parseInt(u.css("margin"+r))||0,I[C]-=parseInt(u.css("border"+r+"Width"))||0),I[C]+=
l.offset[F]||0,l.over[F]&&(I[C]+=u["x"==q?"width":"height"]()*l.over[F])):(r=u[F],I[C]=r.slice&&"%"==r.slice(-1)?parseFloat(r)/100*Q:r);l.limit&&/^\d+$/.test(I[C])&&(I[C]=0>=I[C]?0:Math.min(I[C],Q));!p&&l.queue&&(da!=I[C]&&b(l.onAfterFirst),delete I[C])});b(l.onAfter)}}).end()};y.max=function(r,q){var l="x"==q?"Width":"Height",b="scroll"+l;if(!p(r).is("html,body"))return r[b]-p(r)[l.toLowerCase()]();var l="client"+l,k=r.ownerDocument.documentElement,G=r.ownerDocument.body;return Math.max(k[b],G[b])-
Math.min(k[l],G[l])};return y});
(function(p,F,y,r){function q(b,k){this.element=b;this.options=p.extend(!0,{},l,k);this.options.events.length&&(this.options.events=this.options.multiDayEvents?this.addMultiDayMomentObjectsToEvents(this.options.events):this.addMomentObjectToEvents(this.options.events));this.month=this.options.startWithMonth?moment(this.options.startWithMonth).startOf("month"):moment().startOf("month");if(this.options.constraints){if(this.options.constraints.startDate){var G=moment(this.options.constraints.startDate);this.month.isBefore(G,
"month")&&(this.month.set("month",G.month()),this.month.set("year",G.year()))}this.options.constraints.endDate&&(G=moment(this.options.constraints.endDate),this.month.isAfter(G,"month")&&this.month.set("month",G.month()).set("year",G.year()))}this._defaults=l;this._name="clndr";this.init()}var l={template:"<div class='clndr-controls'><div class='clndr-control-button'><span class='clndr-previous-button'>previous</span></div><div class='month'><%= month %> <%= year %></div><div class='clndr-control-button rightalign'><span class='clndr-next-button'>next</span></div></div><table class='clndr-table' border='0' cellspacing='0' cellpadding='0'><thead><tr class='header-days'><% for(var i = 0; i < daysOfTheWeek.length; i++) { %><td class='header-day'><%= daysOfTheWeek[i] %></td><% } %></tr></thead><tbody><% for(var i = 0; i < numberOfRows; i++){ %><tr><% for(var j = 0; j < 7; j++){ %><% var d = j + i * 7; %><td class='<%= days[d].classes %>'><div class='day-contents'><%= days[d].day %></div></td><% } %></tr><% } %></tbody></table>",
weekOffset:0,startWithMonth:null,clickEvents:{click:null,nextMonth:null,previousMonth:null,nextYear:null,previousYear:null,today:null,onMonthChange:null,onYearChange:null},targets:{nextButton:"clndr-next-button",previousButton:"clndr-previous-button",nextYearButton:"clndr-next-year-button",previousYearButton:"clndr-previous-year-button",todayButton:"clndr-today-button",day:"day",empty:"empty"},events:[],extras:null,dateParameter:"date",multiDayEvents:null,doneRendering:null,render:null,daysOfTheWeek:null,
showAdjacentMonths:!0,adjacentDaysChangeMonth:!1,ready:null,constraints:null,forceSixRows:null};q.prototype.init=function(){this.daysOfTheWeek=this.options.daysOfTheWeek||[];if(!this.options.daysOfTheWeek){this.daysOfTheWeek=[];for(var b=0;7>b;b++)this.daysOfTheWeek.push(moment().weekday(b).format("dd").charAt(0))}this.options.weekOffset&&(this.daysOfTheWeek=this.shiftWeekdayLabels(this.options.weekOffset));if(!p.isFunction(this.options.render)){this.options.render=null;if("undefined"===typeof _)throw Error("Underscore was not found. Please include underscore.js OR provide a custom render function.");
this.compiledClndrTemplate=_.template(this.options.template)}p(this.element).html("<div class='clndr'></div>");this.calendarContainer=p(".clndr",this.element);this.bindEvents();this.render();this.options.ready&&this.options.ready.apply(this,[])};q.prototype.shiftWeekdayLabels=function(b){for(var k=this.daysOfTheWeek,l=0;l<b;l++)k.push(k.shift());return k};q.prototype.createDaysObject=function(b){daysArray=[];var k=b.startOf("month");this.eventsLastMonth=[];this.eventsThisMonth=[];this.eventsNextMonth=
[];if(this.options.events.length)if(this.options.multiDayEvents){if(this.eventsThisMonth=p(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")<=b.format("YYYY-MM")||b.format("YYYY-MM")<=this._clndrEndDateObject.format("YYYY-MM")}).toArray(),this.options.showAdjacentMonths){var l=b.clone().subtract("months",1),u=b.clone().add("months",1);this.eventsLastMonth=p(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")<=l.format("YYYY-MM")||
l.format("YYYY-MM")<=this._clndrEndDateObject.format("YYYY-MM")}).toArray();this.eventsNextMonth=p(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")<=u.format("YYYY-MM")||u.format("YYYY-MM")<=this._clndrEndDateObject.format("YYYY-MM")}).toArray()}}else this.eventsThisMonth=p(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==b.format("YYYY-MM")}).toArray(),this.options.showAdjacentMonths&&(l=b.clone().subtract("months",1),
u=b.clone().add("months",1),this.eventsLastMonth=p(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==l.format("YYYY-MM")}).toArray(),this.eventsNextMonth=p(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==u.format("YYYY-MM")}).toArray());var q=k.weekday()-this.options.weekOffset;0>q&&(q+=7);if(this.options.showAdjacentMonths)for(var r=0;r<q;r++){var h=moment([b.year(),b.month(),r-q+1]);daysArray.push(this.createDayObject(h,
this.eventsLastMonth))}else for(r=0;r<q;r++)daysArray.push(this.calendarDay({classes:this.options.targets.empty+" last-month"}));k=k.daysInMonth();for(r=1;r<=k;r++)h=moment([b.year(),b.month(),r]),daysArray.push(this.createDayObject(h,this.eventsThisMonth));for(r=1;0!==daysArray.length%7;)this.options.showAdjacentMonths?(h=moment([b.year(),b.month(),k+r]),daysArray.push(this.createDayObject(h,this.eventsNextMonth))):daysArray.push(this.calendarDay({classes:this.options.targets.empty+" next-month"})),
r++;if(this.options.forceSixRows&&42!==daysArray.length)for(r=moment(daysArray[daysArray.length-1].date).add("days",1);42>daysArray.length;)this.options.showAdjacentMonths?(daysArray.push(this.createDayObject(moment(r),this.eventsNextMonth)),r.add("days",1)):daysArray.push(this.calendarDay({classes:this.options.targets.empty+" next-month"}));return daysArray};q.prototype.createDayObject=function(b,k){var l=[],p=moment(),q=0,I=k.length;for(q;q<I;q++)if(this.options.multiDayEvents){var h=k[q]._clndrStartDateObject,
y=k[q]._clndrEndDateObject;(b.isSame(h,"day")||b.isAfter(h,"day"))&&(b.isSame(y,"day")||b.isBefore(y,"day"))&&l.push(k[q])}else k[q]._clndrDateObject.date()==b.date()&&l.push(k[q]);q="";p.format("YYYY-MM-DD")==b.format("YYYY-MM-DD")&&(q+=" today");b.isBefore(p,"day")&&(q+=" past");l.length&&(q+=" event");this.month.month()>b.month()?(q+=" adjacent-month",this.month.year()===b.year()?q+=" last-month":q+=" next-month"):this.month.month()<b.month()&&(q+=" adjacent-month",this.month.year()===b.year()?
q+=" next-month":q+=" last-month");this.options.constraints&&(this.options.constraints.startDate&&b.isBefore(moment(this.options.constraints.startDate))&&(q+=" inactive"),this.options.constraints.endDate&&b.isAfter(moment(this.options.constraints.endDate))&&(q+=" inactive"));!b.isValid()&&b.hasOwnProperty("_d")&&b._d!=r&&(b=moment(b._d));q+=" calendar-day-"+b.format("YYYY-MM-DD");q+=" calendar-dow-"+b.weekday();return this.calendarDay({day:b.date(),classes:this.options.targets.day+q,events:l,date:b})};
q.prototype.render=function(){this.calendarContainer.children().remove();var b=this.createDaysObject(this.month),b={daysOfTheWeek:this.daysOfTheWeek,numberOfRows:Math.ceil(b.length/7),days:b,month:this.month.format("MMMM"),year:this.month.year(),eventsThisMonth:this.eventsThisMonth,eventsLastMonth:this.eventsLastMonth,eventsNextMonth:this.eventsNextMonth,extras:this.options.extras};this.options.render?this.calendarContainer.html(this.options.render.apply(this,[b])):this.calendarContainer.html(this.compiledClndrTemplate(b));
if(this.options.constraints){for(target in this.options.targets)target!=this.options.targets.day&&this.element.find("."+this.options.targets[target]).toggleClass("inactive",!1);var k=b=null;this.options.constraints.startDate&&(b=moment(this.options.constraints.startDate));this.options.constraints.endDate&&(k=moment(this.options.constraints.endDate));b&&this.month.isSame(b,"month")&&this.element.find("."+this.options.targets.previousButton).toggleClass("inactive",!0);k&&this.month.isSame(k,"month")&&
this.element.find("."+this.options.targets.nextButton).toggleClass("inactive",!0);b&&moment(b).subtract("years",1).isBefore(moment(this.month).subtract("years",1))&&this.element.find("."+this.options.targets.previousYearButton).toggleClass("inactive",!0);k&&moment(k).add("years",1).isAfter(moment(this.month).add("years",1))&&this.element.find("."+this.options.targets.nextYearButton).toggleClass("inactive",!0);(b&&b.isAfter(moment(),"month")||k&&k.isBefore(moment(),"month"))&&this.element.find("."+
this.options.targets.today).toggleClass("inactive",!0)}this.options.doneRendering&&this.options.doneRendering.apply(this,[])};q.prototype.bindEvents=function(){var b=p(this.element),k=this;b.on("click","."+this.options.targets.day,function(b){if(k.options.clickEvents.click){var l=k.buildTargetObject(b.currentTarget,!0);k.options.clickEvents.click.apply(k,[l])}k.options.adjacentDaysChangeMonth&&(p(b.currentTarget).is(".last-month")?k.backActionWithContext(k):p(b.currentTarget).is(".next-month")&&k.forwardActionWithContext(k))});
b.on("click","."+this.options.targets.empty,function(b){if(k.options.clickEvents.click){var l=k.buildTargetObject(b.currentTarget,!1);k.options.clickEvents.click.apply(k,[l])}k.options.adjacentDaysChangeMonth&&(p(b.currentTarget).is(".last-month")?k.backActionWithContext(k):p(b.currentTarget).is(".next-month")&&k.forwardActionWithContext(k))});b.on("click","."+this.options.targets.previousButton,{context:this},this.backAction).on("click","."+this.options.targets.nextButton,{context:this},this.forwardAction).on("click",
"."+this.options.targets.todayButton,{context:this},this.todayAction).on("click","."+this.options.targets.nextYearButton,{context:this},this.nextYearAction).on("click","."+this.options.targets.previousYearButton,{context:this},this.previousYearAction)};q.prototype.buildTargetObject=function(b,k){var l={element:b,events:[],date:null};if(k){var q,r=b.className.indexOf("calendar-day-");0!==r?(q=b.className.substring(r+13,r+23),l.date=moment(q)):l.date=null;this.options.events&&(l.events=this.options.multiDayEvents?
p.makeArray(p(this.options.events).filter(function(){return(l.date.isSame(this._clndrStartDateObject,"day")||l.date.isAfter(this._clndrStartDateObject,"day"))&&(l.date.isSame(this._clndrEndDateObject,"day")||l.date.isBefore(this._clndrEndDateObject,"day"))})):p.makeArray(p(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM-DD")==q})))}return l};q.prototype.forwardAction=function(b){b=b.data.context;b.forwardActionWithContext(b)};q.prototype.backAction=function(b){b=
b.data.context;b.backActionWithContext(b)};q.prototype.backActionWithContext=function(b){if(!b.element.find("."+b.options.targets.previousButton).hasClass("inactive")){var k=!b.month.isSame(moment(b.month).subtract("months",1),"year");b.month.subtract("months",1);b.render();b.options.clickEvents.previousMonth&&b.options.clickEvents.previousMonth.apply(b,[moment(b.month)]);b.options.clickEvents.onMonthChange&&b.options.clickEvents.onMonthChange.apply(b,[moment(b.month)]);k&&b.options.clickEvents.onYearChange&&
b.options.clickEvents.onYearChange.apply(b,[moment(b.month)])}};q.prototype.forwardActionWithContext=function(b){if(!b.element.find("."+b.options.targets.nextButton).hasClass("inactive")){var k=!b.month.isSame(moment(b.month).add("months",1),"year");b.month.add("months",1);b.render();b.options.clickEvents.nextMonth&&b.options.clickEvents.nextMonth.apply(b,[moment(b.month)]);b.options.clickEvents.onMonthChange&&b.options.clickEvents.onMonthChange.apply(b,[moment(b.month)]);k&&b.options.clickEvents.onYearChange&&
b.options.clickEvents.onYearChange.apply(b,[moment(b.month)])}};q.prototype.todayAction=function(b){b=b.data.context;var k=!b.month.isSame(moment(),"month"),l=!b.month.isSame(moment(),"year");b.month=moment().startOf("month");b.options.clickEvents.today&&b.options.clickEvents.today.apply(b,[moment(b.month)]);k&&(b.render(),b.month=moment(),b.options.clickEvents.onMonthChange&&b.options.clickEvents.onMonthChange.apply(b,[moment(b.month)]),l&&b.options.clickEvents.onYearChange&&b.options.clickEvents.onYearChange.apply(b,
[moment(b.month)]))};q.prototype.nextYearAction=function(b){b=b.data.context;b.element.find("."+b.options.targets.nextYearButton).hasClass("inactive")||(b.month.add("years",1),b.render(),b.options.clickEvents.nextYear&&b.options.clickEvents.nextYear.apply(b,[moment(b.month)]),b.options.clickEvents.onMonthChange&&b.options.clickEvents.onMonthChange.apply(b,[moment(b.month)]),b.options.clickEvents.onYearChange&&b.options.clickEvents.onYearChange.apply(b,[moment(b.month)]))};q.prototype.previousYearAction=
function(b){b=b.data.context;b.element.find("."+b.options.targets.previousYear).hasClass("inactive")||(b.month.subtract("years",1),b.render(),b.options.clickEvents.previousYear&&b.options.clickEvents.previousYear.apply(b,[moment(b.month)]),b.options.clickEvents.onMonthChange&&b.options.clickEvents.onMonthChange.apply(b,[moment(b.month)]),b.options.clickEvents.onYearChange&&b.options.clickEvents.onYearChange.apply(b,[moment(b.month)]))};q.prototype.forward=function(b){this.month.add("months",1);this.render();
b&&b.withCallbacks&&(this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[moment(this.month)]),0===this.month.month()&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[moment(this.month)]));return this};q.prototype.back=function(b){this.month.subtract("months",1);this.render();b&&b.withCallbacks&&(this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[moment(this.month)]),11===this.month.month()&&
this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[moment(this.month)]));return this};q.prototype.next=function(b){this.forward(b);return this};q.prototype.previous=function(b){this.back(b);return this};q.prototype.setMonth=function(b,k){this.month.month(b);this.render();k&&k.withCallbacks&&this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[moment(this.month)]);return this};q.prototype.nextYear=function(b){this.month.add("year",
1);this.render();b&&b.withCallbacks&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[moment(this.month)]);return this};q.prototype.previousYear=function(b){this.month.subtract("year",1);this.render();b&&b.withCallbacks&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[moment(this.month)]);return this};q.prototype.setYear=function(b,k){this.month.year(b);this.render();k&&k.withCallbacks&&this.options.clickEvents.onYearChange&&
this.options.clickEvents.onYearChange.apply(this,[moment(this.month)]);return this};q.prototype.setEvents=function(b){this.options.events=this.options.multiDayEvents?this.addMultiDayMomentObjectsToEvents(b):this.addMomentObjectToEvents(b);this.render();return this};q.prototype.addEvents=function(b){this.options.events=this.options.multiDayEvents?p.merge(this.options.events,this.addMultiDayMomentObjectsToEvents(b)):p.merge(this.options.events,this.addMomentObjectToEvents(b));this.render();return this};
q.prototype.addMomentObjectToEvents=function(b){var k=0,l=b.length;for(k;k<l;k++)b[k]._clndrDateObject=moment(b[k][this.options.dateParameter]);return b};q.prototype.addMultiDayMomentObjectsToEvents=function(b){var k=0,l=b.length;for(k;k<l;k++)b[k]._clndrStartDateObject=moment(b[k][this.options.multiDayEvents.startDate]),b[k]._clndrEndDateObject=moment(b[k][this.options.multiDayEvents.endDate]);return b};q.prototype.calendarDay=function(b){return p.extend({},{day:"",classes:this.options.targets.empty,
events:[],date:null},b)};p.fn.clndr=function(b){if(1===this.length){if(!this.data("plugin_clndr"))return b=new q(this,b),this.data("plugin_clndr",b),b}else if(1<this.length)throw Error("CLNDR does not support multiple elements yet. Make sure your clndr selector returns only one element.");}})(jQuery,window,document);
(function(p){function F(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function y(d,c){var b=!0;return G(function(){b&&(!1===v.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+d),b=!1);return c.apply(this,arguments)},c)}function r(d,c){return function(b){return J(d.call(this,b),c)}}function q(d,c){return function(b){return this.lang().ordinal(d.call(this,
b),c)}}function l(){}function b(d){xa(d);G(this,d)}function k(d){d=ga(d);var c=d.year||0,b=d.quarter||0,f=d.month||0,g=d.week||0,h=d.day||0;this._milliseconds=+(d.millisecond||0)+1E3*(d.second||0)+6E4*(d.minute||0)+36E5*(d.hour||0);this._days=+h+7*g;this._months=+f+3*b+12*c;this._data={};this._bubble()}function G(d,c){for(var b in c)c.hasOwnProperty(b)&&(d[b]=c[b]);return c.hasOwnProperty("toString")&&(d.toString=c.toString),c.hasOwnProperty("valueOf")&&(d.valueOf=c.valueOf),d}function u(d){return 0>
d?Math.ceil(d):Math.floor(d)}function J(d,c,b){for(var f=""+Math.abs(d);f.length<c;)f="0"+f;return(0<=d?b?"+":"":"-")+f}function I(d,c,b,f){var g=c._milliseconds,h=c._days;c=c._months;f=null==f?!0:f;g&&d._d.setTime(+d._d+g*b);h&&ab(d,"Date",ja(d,"Date")+h*b);c&&ma(d,ja(d,"Month")+c*b);f&&v.updateOffset(d,h||c)}function h(d){return"[object Array]"===Object.prototype.toString.call(d)}function N(d,c,b){var f,g=Math.min(d.length,c.length),h=Math.abs(d.length-c.length),k=0;for(f=0;g>f;f++)(b&&d[f]!==c[f]||
!b&&C(d[f])!==C(c[f]))&&k++;return k+h}function K(d){if(d){var c=d.toLowerCase().replace(/(.)s$/,"$1");d=Eb[d]||rb[c]||c}return d}function ga(d){var c,b,f={};for(b in d)d.hasOwnProperty(b)&&(c=K(b),c&&(f[c]=d[b]));return f}function L(d){var c,b;if(0===d.indexOf("week"))c=7,b="day";else{if(0!==d.indexOf("month"))return;c=12;b="month"}v[d]=function(f,g){var h,k,t=v.fn._lang[d],l=[];if("number"==typeof f&&(g=f,f=p),k=function(d){d=v().utc().set(b,d);return t.call(v.fn._lang,d,f||"")},null!=g)return k(g);
for(h=0;c>h;h++)l.push(k(h));return l}}function C(d){d=+d;var c=0;return 0!==d&&isFinite(d)&&(c=0<=d?Math.floor(d):Math.ceil(d)),c}function da(d,c){return(new Date(Date.UTC(d,c+1,0))).getUTCDate()}function Q(d,c,b){return na(v([d,11,31+c-b]),c,b).week}function Z(d){return 0===d%4&&0!==d%100||0===d%400}function xa(d){var c;d._a&&-2===d._pf.overflow&&(c=0>d._a[oa]||11<d._a[oa]?oa:1>d._a[V]||d._a[V]>da(d._a[ka],d._a[oa])?V:0>d._a[P]||23<d._a[P]?P:0>d._a[qa]||59<d._a[qa]?qa:0>d._a[Da]||59<d._a[Da]?Da:
0>d._a[fa]||999<d._a[fa]?fa:-1,d._pf._overflowDayOfYear&&(ka>c||c>V)&&(c=V),d._pf.overflow=c)}function ha(d){return null==d._isValid&&(d._isValid=!isNaN(d._d.getTime())&&0>d._pf.overflow&&!d._pf.empty&&!d._pf.invalidMonth&&!d._pf.nullInput&&!d._pf.invalidFormat&&!d._pf.userInvalidated,d._strict&&(d._isValid=d._isValid&&0===d._pf.charsLeftOver&&0===d._pf.unusedTokens.length)),d._isValid}function ya(d){return d?d.toLowerCase().replace("_","-"):d}function pa(d,c){return c._isUTC?v(d).zone(c._offset||
0):v(d).local()}function aa(d){var c,b,f,g,k=0,t=function(d){if(!D[d]&&ob)try{require("./lang/"+d)}catch(c){}return D[d]};if(!d)return v.fn._lang;if(!h(d)){if(b=t(d))return b;d=[d]}for(;k<d.length;){g=ya(d[k]).split("-");c=g.length;for(f=(f=ya(d[k+1]))?f.split("-"):null;0<c;){if(b=t(g.slice(0,c).join("-")))return b;if(f&&f.length>=c&&N(g,f,!0)>=c-1)break;c--}k++}return v.fn._lang}function Aa(d){return d.match(/\[[\s\S]/)?d.replace(/^\[|\]$/g,""):d.replace(/\\/g,"")}function f(d){var c,b,f=d.match(Ia);
c=0;for(b=f.length;b>c;c++)f[c]=ba[f[c]]?ba[f[c]]:Aa(f[c]);return function(g){var h="";for(c=0;b>c;c++)h+=f[c]instanceof Function?f[c].call(g,d):f[c];return h}}function g(d,c){return d.isValid()?(c=t(c,d.lang()),Ua[c]||(Ua[c]=f(c)),Ua[c](d)):d.lang().invalidDate()}function t(d,c){function b(d){return c.longDateFormat(d)||d}var f=5;for(Na.lastIndex=0;0<=f&&Na.test(d);)d=d.replace(Na,b),Na.lastIndex=0,--f;return d}function w(d,c){var b=c._strict;switch(d){case "Q":return db;case "DDDD":return Ta;case "YYYY":case "GGGG":case "gggg":return b?
Cb:Oa;case "Y":case "G":case "g":return fb;case "YYYYYY":case "YYYYY":case "GGGGG":case "ggggg":return b?pb:sa;case "S":if(b)return db;case "SS":if(b)return eb;case "SSS":if(b)return Ta;case "DDD":return xb;case "MMM":case "MMMM":case "dd":case "ddd":case "dddd":return X;case "a":case "A":return aa(c._l)._meridiemParse;case "X":return Ab;case "Z":case "ZZ":return Ea;case "T":return cb;case "SSSS":return Fa;case "MM":case "DD":case "YY":case "GG":case "gg":case "HH":case "hh":case "mm":case "ss":case "ww":case "WW":return b?
eb:ib;case "M":case "D":case "d":case "H":case "h":case "m":case "s":case "w":case "W":case "e":case "E":return ib;case "Do":return Bb;default:var b=RegExp,f;f=Wa(d.replace("\\","")).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new b(f)}}function B(d){d=(d||"").match(Ea)||[];d=((d[d.length-1]||[])+"").match(Db)||["-",0,0];var c=+(60*d[1])+C(d[2]);return"+"===d[0]?-c:c}function O(d){var c,b,f,g,h,k,t,l,w,B=[];if(!d._d){b=ia(d);d._w&&null==d._a[V]&&null==d._a[oa]&&(g=function(c){var b=parseInt(c,
10);return c?3>c.length?68<b?1900+b:2E3+b:b:null==d._a[ka]?v().weekYear():d._a[ka]},h=d._w,null!=h.GG||null!=h.W||null!=h.E?k=Za(g(h.GG),h.W||1,h.E,4,1):(t=aa(d._l),l=null!=h.d?Xa(h.d,t):null!=h.e?parseInt(h.e,10)+t._week.dow:0,w=parseInt(h.w,10)||1,null!=h.d&&l<t._week.dow&&w++,k=Za(g(h.gg),w,l,t._week.doy,t._week.dow)),d._a[ka]=k.year,d._dayOfYear=k.dayOfYear);d._dayOfYear&&(f=null==d._a[ka]?b[ka]:d._a[ka],d._dayOfYear>(Z(f)?366:365)&&(d._pf._overflowDayOfYear=!0),c=va(f,0,d._dayOfYear),d._a[oa]=
c.getUTCMonth(),d._a[V]=c.getUTCDate());for(c=0;3>c&&null==d._a[c];++c)d._a[c]=B[c]=b[c];for(;7>c;c++)d._a[c]=B[c]=null==d._a[c]?2===c?1:0:d._a[c];B[P]+=C((d._tzm||0)/60);B[qa]+=C((d._tzm||0)%60);d._d=(d._useUTC?va:Ga).apply(null,B)}}function ia(d){var c=new Date;return d._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function R(d){d._a=[];d._pf.empty=!0;var c,b,f,g,h;c=aa(d._l);var k=""+d._i,l=k.length,p=0;f=t(d._f,c).match(Ia)||[];for(c=0;c<
f.length;c++)if(g=f[c],(b=(k.match(w(g,d))||[])[0])&&(h=k.substr(0,k.indexOf(b)),0<h.length&&d._pf.unusedInput.push(h),k=k.slice(k.indexOf(b)+b.length),p+=b.length),ba[g]){b?d._pf.empty=!1:d._pf.unusedTokens.push(g);var q=d,u=void 0,r=q._a;switch(g){case "Q":null!=b&&(r[oa]=3*(C(b)-1));break;case "M":case "MM":null!=b&&(r[oa]=C(b)-1);break;case "MMM":case "MMMM":u=aa(q._l).monthsParse(b);null!=u?r[oa]=u:q._pf.invalidMonth=b;break;case "D":case "DD":null!=b&&(r[V]=C(b));break;case "Do":null!=b&&(r[V]=
C(parseInt(b,10)));break;case "DDD":case "DDDD":null!=b&&(q._dayOfYear=C(b));break;case "YY":r[ka]=v.parseTwoDigitYear(b);break;case "YYYY":case "YYYYY":case "YYYYYY":r[ka]=C(b);break;case "a":case "A":q._isPm=aa(q._l).isPM(b);break;case "H":case "HH":case "h":case "hh":r[P]=C(b);break;case "m":case "mm":r[qa]=C(b);break;case "s":case "ss":r[Da]=C(b);break;case "S":case "SS":case "SSS":case "SSSS":r[fa]=C(1E3*("0."+b));break;case "X":q._d=new Date(1E3*parseFloat(b));break;case "Z":case "ZZ":q._useUTC=
!0;q._tzm=B(b);break;case "w":case "ww":case "W":case "WW":case "d":case "dd":case "ddd":case "dddd":case "e":case "E":g=g.substr(0,1);case "gg":case "gggg":case "GG":case "GGGG":case "GGGGG":g=g.substr(0,2),b&&(q._w=q._w||{},q._w[g]=b)}}else d._strict&&!b&&d._pf.unusedTokens.push(g);d._pf.charsLeftOver=l-p;0<k.length&&d._pf.unusedInput.push(k);d._isPm&&12>d._a[P]&&(d._a[P]+=12);!1===d._isPm&&12===d._a[P]&&(d._a[P]=0);O(d);xa(d)}function Wa(d){return d.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
function(d,c,b,f,g){return c||b||f||g})}function Ga(d,c,b,f,g,h,k){c=new Date(d,c,b,f,g,h,k);return 1970>d&&c.setFullYear(d),c}function va(d){var c=new Date(Date.UTC.apply(null,arguments));return 1970>d&&c.setUTCFullYear(d),c}function Xa(d,c){if("string"==typeof d)if(isNaN(d)){if(d=c.weekdaysParse(d),"number"!=typeof d)return null}else d=parseInt(d,10);return d}function Ya(d,c,b,f,g){return g.relativeTime(c||1,!!b,d,f)}function na(d,c,b){var f;c=b-c;b-=d.day();return b>c&&(b-=7),c-7>b&&(b+=7),f=v(d).add("d",
b),{week:Math.ceil(f.dayOfYear()/7),year:f.year()}}function Za(d,c,b,f,g){var h,k,t=va(d,0,1).getUTCDay();return b=null!=b?b:g,h=g-t+(t>f?7:0)-(g>t?7:0),k=7*(c-1)+(b-g)+h+1,{year:0<k?d:d-1,dayOfYear:0<k?k:(Z(d-1)?366:365)+k}}function $a(d){var c=d._i,f=d._f;if(null===c||f===p&&""===c)d=v.invalid({nullInput:!0});else{"string"==typeof c&&(d._i=c=aa().preparse(c));if(v.isMoment(c)){d=c;var g,k={};for(g in d)d.hasOwnProperty(g)&&nb.hasOwnProperty(g)&&(k[g]=d[g]);d=k;d._d=new Date(+c._d)}else if(f)if(h(f)){var t=
d,l,w;if(0===t._f.length)t._pf.invalidFormat=!0,t._d=new Date(0/0);else{for(c=0;c<t._f.length;c++)g=0,k=G({},t),k._pf=F(),k._f=t._f[c],R(k),ha(k)&&(g+=k._pf.charsLeftOver,g+=10*k._pf.unusedTokens.length,k._pf.score=g,(null==w||w>g)&&(w=g,l=k));G(t,l||k)}}else R(d);else if(k=d,l=k._i,w=zb.exec(l),l===p)k._d=new Date;else if(w)k._d=new Date(+w[1]);else if("string"==typeof l)if(t=k._i,c=qb.exec(t)){k._pf.iso=!0;l=0;for(w=Pa.length;w>l;l++)if(Pa[l][1].exec(t)){k._f=Pa[l][0]+(c[6]||" ");break}l=0;for(w=
Qa.length;w>l;l++)if(Qa[l][1].exec(t)){k._f+=Qa[l][0];break}t.match(Ea)&&(k._f+="Z");R(k)}else v.createFromInputFallback(k);else h(l)?(k._a=l.slice(0),O(k)):"[object Date]"===Object.prototype.toString.call(l)||l instanceof Date?k._d=new Date(+l):"object"==typeof l?k._d||(t=ga(k._i),k._a=[t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond],O(k)):"number"==typeof l?k._d=new Date(l):v.createFromInputFallback(k);d=new b(d)}return d}function ma(d,c){var b;return"string"==typeof c&&(c=d.lang().monthsParse(c),
"number"!=typeof c)?d:(b=Math.min(d.date(),da(d.year(),c)),d._d["set"+(d._isUTC?"UTC":"")+"Month"](c,b),d)}function ja(d,c){return d._d["get"+(d._isUTC?"UTC":"")+c]()}function ab(d,c,b){return"Month"===c?ma(d,b):d._d["set"+(d._isUTC?"UTC":"")+c](b)}function ea(d,c){return function(b){return null!=b?(ab(this,d,b),v.updateOffset(this,c),this):ja(this,d)}}function lb(d){v.duration.fn[d]=function(){return this._data[d]}}function Ha(d,c){v.duration.fn["as"+d]=function(){return+this/c}}function mb(d){"undefined"==
typeof ender&&(z=bb.moment,bb.moment=d?y("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",v):v)}for(var v,z,c,bb="undefined"!=typeof global?global:this,ta=Math.round,ka=0,oa=1,V=2,P=3,qa=4,Da=5,fa=6,D={},nb={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_isUTC:null,_offset:null,_pf:null,_lang:null},ob="undefined"!=typeof module&&module.exports,zb=/^\/?Date\((\-?\d+)/i,la=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,hb=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,
Ia=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,Na=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,ib=/\d\d?/,xb=/\d{1,3}/,Oa=/\d{1,4}/,sa=/[+\-]?\d{1,6}/,Fa=/\d+/,X=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ea=/Z|[\+\-]\d\d:?\d\d/gi,cb=/T/i,Ab=/[\+\-]?\d+(\.\d{1,3})?/,Bb=/\d{1,2}/,db=/\d/,eb=/\d\d/,Ta=/\d{3}/,Cb=/\d{4}/,
pb=/[+-]?\d{6}/,fb=/[+-]?\d+/,qb=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pa=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Qa=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Db=/([\+\-]|\d\d)/gi,gb=
{Milliseconds:1,Seconds:1E3,Minutes:6E4,Hours:36E5,Days:864E5,Months:2592E6,Years:31536E6},Eb={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},rb={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},Ua={},sb="DDD w W M D d".split(" "),Y="MDHhmswW".split(""),ba={M:function(){return this.month()+1},
MMM:function(d){return this.lang().monthsShort(this,d)},MMMM:function(d){return this.lang().months(this,d)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(d){return this.lang().weekdaysMin(this,d)},ddd:function(d){return this.lang().weekdaysShort(this,d)},dddd:function(d){return this.lang().weekdays(this,d)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return J(this.year()%100,2)},YYYY:function(){return J(this.year(),
4)},YYYYY:function(){return J(this.year(),5)},YYYYYY:function(){var d=this.year();return(0<=d?"+":"-")+J(Math.abs(d),6)},gg:function(){return J(this.weekYear()%100,2)},gggg:function(){return J(this.weekYear(),4)},ggggg:function(){return J(this.weekYear(),5)},GG:function(){return J(this.isoWeekYear()%100,2)},GGGG:function(){return J(this.isoWeekYear(),4)},GGGGG:function(){return J(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),
this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return C(this.milliseconds()/100)},SS:function(){return J(C(this.milliseconds()/10),2)},SSS:function(){return J(this.milliseconds(),3)},SSSS:function(){return J(this.milliseconds(),3)},Z:function(){var d=-this.zone(),c="+";return 0>d&&(d=-d,c="-"),
c+J(C(d/60),2)+":"+J(C(d)%60,2)},ZZ:function(){var d=-this.zone(),c="+";return 0>d&&(d=-d,c="-"),c+J(C(d/60),2)+J(C(d)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},za=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];sb.length;)c=sb.pop(),ba[c+"o"]=q(ba[c],c);for(;Y.length;)c=Y.pop(),ba[c+c]=r(ba[c],2);ba.DDDD=r(ba.DDD,3);G(l.prototype,{set:function(d){var c,b;for(b in d)c=d[b],
"function"==typeof c?this[b]=c:this["_"+b]=c},_months:"Januar Februar März April Mai Juni Juli August September Oktober November Dezember".split(" "),months:function(d){return this._months[d.month()]},_monthsShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),monthsShort:function(d){return this._monthsShort[d.month()]},monthsParse:function(d){var c,b,f;this._monthsParse||(this._monthsParse=[]);for(c=0;12>c;c++)if(this._monthsParse[c]||(b=v.utc([2E3,c]),f="^"+this.months(b,"")+
"|^"+this.monthsShort(b,""),this._monthsParse[c]=new RegExp(f.replace(".",""),"i")),this._monthsParse[c].test(d))return c},_weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdays:function(d){return this._weekdays[d.day()]},_weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),weekdaysShort:function(d){return this._weekdaysShort[d.day()]},_weekdaysMin:"Su Mo Tu We Th Fr Sa".split(" "),weekdaysMin:function(d){return this._weekdaysMin[d.day()]},weekdaysParse:function(d){var c,
b,f;this._weekdaysParse||(this._weekdaysParse=[]);for(c=0;7>c;c++)if(this._weekdaysParse[c]||(b=v([2E3,1]).day(c),f="^"+this.weekdays(b,"")+"|^"+this.weekdaysShort(b,"")+"|^"+this.weekdaysMin(b,""),this._weekdaysParse[c]=new RegExp(f.replace(".",""),"i")),this._weekdaysParse[c].test(d))return c},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(d){var c=this._longDateFormat[d];return!c&&this._longDateFormat[d.toUpperCase()]&&
(c=this._longDateFormat[d.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(d){return d.slice(1)}),this._longDateFormat[d]=c),c},isPM:function(d){return"p"===(d+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(d,c,b){return 11<d?b?"pm":"PM":b?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(d,c){var b=this._calendar[d];return"function"==
typeof b?b.apply(c):b},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(d,c,b,f){var g=this._relativeTime[b];return"function"==typeof g?g(d,c,b,f):g.replace(/%d/i,d)},pastFuture:function(d,c){var b=this._relativeTime[0<d?"future":"past"];return"function"==typeof b?b(c):b.replace(/%s/i,c)},ordinal:function(d){return this._ordinal.replace("%d",
d)},_ordinal:"%d",preparse:function(d){return d},postformat:function(d){return d},week:function(d){return na(d,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}});v=function(d,c,b,f){var g;return"boolean"==typeof b&&(f=b,b=p),g={},g._isAMomentObject=!0,g._i=d,g._f=c,g._l=b,g._strict=f,g._isUTC=!1,g._pf=F(),$a(g)};v.suppressDeprecationWarnings=!1;v.createFromInputFallback=y("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",
function(d){d._d=new Date(d._i)});v.utc=function(d,c,b,f){var g;return"boolean"==typeof b&&(f=b,b=p),g={},g._isAMomentObject=!0,g._useUTC=!0,g._isUTC=!0,g._l=b,g._i=d,g._f=c,g._strict=f,g._pf=F(),$a(g).utc()};v.unix=function(d){return v(1E3*d)};v.duration=function(d,c){var b,f,g,h=d,t=null;return v.isDuration(d)?h={ms:d._milliseconds,d:d._days,M:d._months}:"number"==typeof d?(h={},c?h[c]=d:h.milliseconds=d):(t=la.exec(d))?(b="-"===t[1]?-1:1,h={y:0,d:C(t[V])*b,h:C(t[P])*b,m:C(t[qa])*b,s:C(t[Da])*b,
ms:C(t[fa])*b}):(t=hb.exec(d))&&(b="-"===t[1]?-1:1,g=function(d){d=d&&parseFloat(d.replace(",","."));return(isNaN(d)?0:d)*b},h={y:g(t[2]),M:g(t[3]),d:g(t[4]),h:g(t[5]),m:g(t[6]),s:g(t[7]),w:g(t[8])}),f=new k(h),v.isDuration(d)&&d.hasOwnProperty("_lang")&&(f._lang=d._lang),f};v.version="2.6.0";v.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";v.momentProperties=nb;v.updateOffset=function(){};v.lang=function(d,c){var b,f;d?(c?(f=ya(d),c.abbr=f,D[f]||(D[f]=new l),D[f].set(c)):null===c?(delete D[d],d="en"):D[d]||
aa(d),f=(b=v.duration.fn._lang=v.fn._lang=aa(d),b._abbr)):f=v.fn._lang._abbr;return f};v.langData=function(d){return d&&d._lang&&d._lang._abbr&&(d=d._lang._abbr),aa(d)};v.isMoment=function(d){return d instanceof b||null!=d&&d.hasOwnProperty("_isAMomentObject")};v.isDuration=function(d){return d instanceof k};for(c=za.length-1;0<=c;--c)L(za[c]);v.normalizeUnits=function(d){return K(d)};v.invalid=function(d){var c=v.utc(0/0);return null!=d?G(c._pf,d):c._pf.userInvalidated=!0,c};v.parseZone=function(){return v.apply(null,
arguments).parseZone()};v.parseTwoDigitYear=function(d){return C(d)+(68<C(d)?1900:2E3)};G(v.fn=b.prototype,{clone:function(){return v(this)},valueOf:function(){return+this._d+6E4*(this._offset||0)},unix:function(){return Math.floor(+this/1E3)},toString:function(){return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var d=v(this).utc();return 0<d.year()&&9999>=d.year()?g(d,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):
g(d,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){return[this.year(),this.month(),this.date(),this.hours(),this.minutes(),this.seconds(),this.milliseconds()]},isValid:function(){return ha(this)},isDSTShifted:function(){return this._a?this.isValid()&&0<N(this._a,(this._isUTC?v.utc(this._a):v(this._a)).toArray()):!1},parsingFlags:function(){return G({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=
!1,this},format:function(d){d=g(this,d||v.defaultFormat);return this.lang().postformat(d)},add:function(d,c){var b;return b="string"==typeof d?v.duration(+c,d):v.duration(d,c),I(this,b,1),this},subtract:function(d,c){var b;return b="string"==typeof d?v.duration(+c,d):v.duration(d,c),I(this,b,-1),this},diff:function(d,c,b){var f,g;d=pa(d,this);var h=6E4*(this.zone()-d.zone());return c=K(c),"year"===c||"month"===c?(f=432E5*(this.daysInMonth()+d.daysInMonth()),g=12*(this.year()-d.year())+(this.month()-
d.month()),g+=(this-v(this).startOf("month")-(d-v(d).startOf("month")))/f,g-=6E4*(this.zone()-v(this).startOf("month").zone()-(d.zone()-v(d).startOf("month").zone()))/f,"year"===c&&(g/=12)):(f=this-d,g="second"===c?f/1E3:"minute"===c?f/6E4:"hour"===c?f/36E5:"day"===c?(f-h)/864E5:"week"===c?(f-h)/6048E5:f),b?g:u(g)},from:function(d,c){return v.duration(this.diff(d)).lang(this.lang()._abbr).humanize(!c)},fromNow:function(d){return this.from(v(),d)},calendar:function(){var d=pa(v(),this).startOf("day"),
d=this.diff(d,"days",!0),d=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(this.lang().calendar(d,this))},isLeapYear:function(){return Z(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(d){var c=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=d?(d=Xa(d,this.lang()),this.add({d:d-c})):c},month:ea("Month",!0),startOf:function(d){switch(d=
K(d)){case "year":this.month(0);case "quarter":case "month":this.date(1);case "week":case "isoWeek":case "day":this.hours(0);case "hour":this.minutes(0);case "minute":this.seconds(0);case "second":this.milliseconds(0)}return"week"===d?this.weekday(0):"isoWeek"===d&&this.isoWeekday(1),"quarter"===d&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(d){return d=K(d),this.startOf(d).add("isoWeek"===d?"week":d,1).subtract("ms",1)},isAfter:function(d,c){return c="undefined"!=typeof c?c:"millisecond",
+this.clone().startOf(c)>+v(d).startOf(c)},isBefore:function(d,c){return c="undefined"!=typeof c?c:"millisecond",+this.clone().startOf(c)<+v(d).startOf(c)},isSame:function(d,c){return c=c||"ms",+this.clone().startOf(c)===+pa(d,this).startOf(c)},min:function(d){return d=v.apply(null,arguments),this>d?this:d},max:function(d){return d=v.apply(null,arguments),d>this?this:d},zone:function(d,c){var b=this._offset||0;return null==d?this._isUTC?b:this._d.getTimezoneOffset():("string"==typeof d&&(d=B(d)),
16>Math.abs(d)&&(d*=60),this._offset=d,this._isUTC=!0,b!==d&&(!c||this._changeInProgress?I(this,v.duration(b-d,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,v.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(d){return d=
d?v(d).zone():0,0===(this.zone()-d)%60},daysInMonth:function(){return da(this.year(),this.month())},dayOfYear:function(d){var c=ta((v(this).startOf("day")-v(this).startOf("year"))/864E5)+1;return null==d?c:this.add("d",d-c)},quarter:function(d){return null==d?Math.ceil((this.month()+1)/3):this.month(3*(d-1)+this.month()%3)},weekYear:function(d){var c=na(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==d?c:this.add("y",d-c)},isoWeekYear:function(d){var c=na(this,1,4).year;return null==
d?c:this.add("y",d-c)},week:function(d){var c=this.lang().week(this);return null==d?c:this.add("d",7*(d-c))},isoWeek:function(d){var c=na(this,1,4).week;return null==d?c:this.add("d",7*(d-c))},weekday:function(d){var c=(this.day()+7-this.lang()._week.dow)%7;return null==d?c:this.add("d",d-c)},isoWeekday:function(d){return null==d?this.day()||7:this.day(this.day()%7?d:d-7)},isoWeeksInYear:function(){return Q(this.year(),1,4)},weeksInYear:function(){var d=this._lang._week;return Q(this.year(),d.dow,
d.doy)},get:function(d){return d=K(d),this[d]()},set:function(d,c){return d=K(d),"function"==typeof this[d]&&this[d](c),this},lang:function(d){return d===p?this._lang:(this._lang=aa(d),this)}});v.fn.millisecond=v.fn.milliseconds=ea("Milliseconds",!1);v.fn.second=v.fn.seconds=ea("Seconds",!1);v.fn.minute=v.fn.minutes=ea("Minutes",!1);v.fn.hour=v.fn.hours=ea("Hours",!0);v.fn.date=ea("Date",!0);v.fn.dates=y("dates accessor is deprecated. Use date instead.",ea("Date",!0));v.fn.year=ea("FullYear",!0);
v.fn.years=y("years accessor is deprecated. Use year instead.",ea("FullYear",!0));v.fn.days=v.fn.day;v.fn.months=v.fn.month;v.fn.weeks=v.fn.week;v.fn.isoWeeks=v.fn.isoWeek;v.fn.quarters=v.fn.quarter;v.fn.toJSON=v.fn.toISOString;G(v.duration.fn=k.prototype,{_bubble:function(){var d,c;d=this._milliseconds;c=this._days;var b=this._months,f=this._data;f.milliseconds=d%1E3;d=u(d/1E3);f.seconds=d%60;d=u(d/60);f.minutes=d%60;d=u(d/60);f.hours=d%24;c+=u(d/24);f.days=c%30;b+=u(c/30);f.months=b%12;c=u(b/12);
f.years=c},weeks:function(){return u(this.days()/7)},valueOf:function(){return this._milliseconds+864E5*this._days+this._months%12*2592E6+31536E6*C(this._months/12)},humanize:function(d){var c=+this,b;b=!d;var f=this.lang(),g=ta(Math.abs(c)/1E3),h=ta(g/60),k=ta(h/60),t=ta(k/24),l=ta(t/365),g=45>g&&["s",g]||1===h&&["m"]||45>h&&["mm",h]||1===k&&["h"]||22>k&&["hh",k]||1===t&&["d"]||25>=t&&["dd",t]||45>=t&&["M"]||345>t&&["MM",ta(t/30)]||1===l&&["y"]||["yy",l];b=(g[2]=b,g[3]=0<c,g[4]=f,Ya.apply({},g));
return d&&(b=this.lang().pastFuture(c,b)),this.lang().postformat(b)},add:function(d,c){var b=v.duration(d,c);return this._milliseconds+=b._milliseconds,this._days+=b._days,this._months+=b._months,this._bubble(),this},subtract:function(c,b){var f=v.duration(c,b);return this._milliseconds-=f._milliseconds,this._days-=f._days,this._months-=f._months,this._bubble(),this},get:function(c){return c=K(c),this[c.toLowerCase()+"s"]()},as:function(c){return c=K(c),this["as"+c.charAt(0).toUpperCase()+c.slice(1)+
"s"]()},lang:v.fn.lang,toIsoString:function(){var c=Math.abs(this.years()),b=Math.abs(this.months()),f=Math.abs(this.days()),g=Math.abs(this.hours()),h=Math.abs(this.minutes()),k=Math.abs(this.seconds()+this.milliseconds()/1E3);return this.asSeconds()?(0>this.asSeconds()?"-":"")+"P"+(c?c+"Y":"")+(b?b+"M":"")+(f?f+"D":"")+(g||h||k?"T":"")+(g?g+"H":"")+(h?h+"M":"")+(k?k+"S":""):"P0D"}});for(c in gb)gb.hasOwnProperty(c)&&(Ha(c,gb[c]),lb(c.toLowerCase()));Ha("Weeks",6048E5);v.duration.fn.asMonths=function(){return(+this-
31536E6*this.years())/2592E6+12*this.years()};v.lang("en",{ordinal:function(c){var b=c%10,b=1===C(c%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return c+b}});ob?module.exports=v:"function"==typeof define&&define.amd?(define("moment",function(c,b,f){return f.config&&f.config()&&!0===f.config().noGlobal&&(bb.moment=z),v}),mb(!0)):mb()}).call(this);
(function(){var p=this,F=p._,y={},r=Array.prototype,q=Object.prototype,l=r.push,b=r.slice,k=r.concat,G=q.toString,u=q.hasOwnProperty,q=Array.isArray,J=Object.keys,I=Function.prototype.bind,h=function(b){if(b instanceof h)return b;if(!(this instanceof h))return new h(b);this._wrapped=b};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=h),exports._=h):p._=h;h.VERSION="1.6.0";var N=function(b,g,h){if(!g)return b;switch(null==h?3:h){case 1:return function(h){return b.call(g,
h)};case 2:return function(h,k){return b.call(g,h,k)};case 3:return function(h,k,t){return b.call(g,h,k,t)};case 4:return function(h,k,t,l){return b.call(g,h,k,t,l)}}return function(){return b.apply(this,arguments)}},K=function(b,g,k){return null==b?h.identity:h.isFunction(b)?N(b,g,k):h.isObject(b)?h.matches(b):h.property(b)};h.each=h.forEach=function(b,g,k){var l;if(null==b)return b;g=N(g,k);if(b.length===+b.length)for(k=0,l=b.length;k<l&&g(b[k],k,b)!==y;k++);else{var B=h.keys(b);k=0;for(l=B.length;k<
l&&g(b[B[k]],B[k],b)!==y;k++);}return b};h.map=h.collect=function(b,g,k){var l=[];if(null==b)return l;g=K(g,k);h.each(b,function(b,f,h){l.push(g(b,f,h))});return l};h.reduce=h.foldl=h.inject=function(b,g,k,l){var B=2<arguments.length;null==b&&(b=[]);g=N(g,l,4);h.each(b,function(b,f,h){B?k=g(k,b,f,h):(k=b,B=!0)});if(!B)throw TypeError("Reduce of empty array with no initial value");return k};h.reduceRight=h.foldr=function(b,g,k,l){var B=2<arguments.length;null==b&&(b=[]);var p=b.length;g=N(g,l,4);if(p!==
+p)var q=h.keys(b),p=q.length;h.each(b,function(h,l,w){l=q?q[--p]:--p;B?k=g(k,b[l],l,w):(k=b[l],B=!0)});if(!B)throw TypeError("Reduce of empty array with no initial value");return k};h.find=h.detect=function(b,g,k){var l;g=K(g,k);h.some(b,function(b,f,h){if(g(b,f,h))return l=b,!0});return l};h.filter=h.select=function(b,g,k){var l=[];if(null==b)return l;g=K(g,k);h.each(b,function(b,f,h){g(b,f,h)&&l.push(b)});return l};h.reject=function(b,g,k){return h.filter(b,h.negate(K(g)),k)};h.every=h.all=function(b,
g,k){var l=!0;if(null==b)return l;g=K(g,k);h.each(b,function(b,f,h){l=g(b,f,h);if(!l)return y});return!!l};h.some=h.any=function(b,g,k){var l=!1;if(null==b)return l;g=K(g,k);h.each(b,function(b,f,h){if(l=g(b,f,h))return y});return!!l};h.contains=h.include=function(b,g){return null==b?!1:b.length===+b.length?0<=h.indexOf(b,g):h.some(b,function(b){return b===g})};h.invoke=function(f,g){var k=b.call(arguments,2),l=h.isFunction(g);return h.map(f,function(b){return(l?g:b[g]).apply(b,k)})};h.pluck=function(b,
g){return h.map(b,h.property(g))};h.where=function(b,g){return h.filter(b,h.matches(g))};h.findWhere=function(b,g){return h.find(b,h.matches(g))};h.max=function(b,g,k){var l=-Infinity,p=-Infinity,q;if(!g&&h.isArray(b))for(var u=0,r=b.length;u<r;u++)k=b[u],k>l&&(l=k);else g=K(g,k),h.each(b,function(b,f,h){q=g(b,f,h);if(q>p||-Infinity===q&&-Infinity===l)l=b,p=q});return l};h.min=function(b,g,k){var l=Infinity,p=Infinity,q;if(!g&&h.isArray(b))for(var u=0,r=b.length;u<r;u++)k=b[u],k<l&&(l=k);else g=K(g,
k),h.each(b,function(b,f,h){q=g(b,f,h);if(q<p||Infinity===q&&Infinity===l)l=b,p=q});return l};h.shuffle=function(b){var g,k=0,l=[];h.each(b,function(b){g=h.random(k++);l[k-1]=l[g];l[g]=b});return l};h.sample=function(b,g,k){return null==g||k?(b.length!==+b.length&&(b=h.values(b)),b[h.random(b.length-1)]):h.shuffle(b).slice(0,Math.max(0,g))};h.sortBy=function(b,g,k){g=K(g,k);return h.pluck(h.map(b,function(b,f,h){return{value:b,index:f,criteria:g(b,f,h)}}).sort(function(b,f){var g=b.criteria,h=f.criteria;
if(g!==h){if(g>h||void 0===g)return 1;if(g<h||void 0===h)return-1}return b.index-f.index}),"value")};var ga=function(b){return function(g,k,l){var p={};k=K(k,l);h.each(g,function(h,l){var w=k(h,l,g);b(p,h,w)});return p}};h.groupBy=ga(function(b,g,k){h.has(b,k)?b[k].push(g):b[k]=[g]});h.indexBy=ga(function(b,g,h){b[h]=g});h.countBy=ga(function(b,g,k){h.has(b,k)?b[k]++:b[k]=1});h.sortedIndex=function(b,g,h,k){h=K(h,k,1);g=h(g);k=0;for(var l=b.length;k<l;){var p=k+l>>>1;h(b[p])<g?k=p+1:l=p}return k};
h.toArray=function(f){return f?h.isArray(f)?b.call(f):f.length===+f.length?h.map(f,h.identity):h.values(f):[]};h.size=function(b){return null==b?0:b.length===+b.length?b.length:h.keys(b).length};h.first=h.head=h.take=function(f,g,h){return null==f?void 0:null==g||h?f[0]:0>g?[]:b.call(f,0,g)};h.initial=function(f,g,h){return b.call(f,0,Math.max(0,f.length-(null==g||h?1:g)))};h.last=function(f,g,h){return null==f?void 0:null==g||h?f[f.length-1]:b.call(f,Math.max(f.length-g,0))};h.rest=h.tail=h.drop=
function(f,g,h){return b.call(f,null==g||h?1:g)};h.compact=function(b){return h.filter(b,h.identity)};var L=function(b,g,t,w){if(g&&h.every(b,h.isArray))return k.apply(w,b);for(var p=0,q=b.length;p<q;p++){var u=b[p];h.isArray(u)||h.isArguments(u)?g?l.apply(w,u):L(u,g,t,w):t||w.push(u)}return w};h.flatten=function(b,g){return L(b,g,!1,[])};h.without=function(f){return h.difference(f,b.call(arguments,1))};h.partition=function(b,g,k){g=K(g,k,1);var l=[],p=[];h.each(b,function(b,f,h){(g(b,f,h)?l:p).push(b)});
return[l,p]};h.uniq=h.unique=function(b,g,k,l){if(null==b)return[];h.isFunction(g)&&(l=k,k=g,g=!1);k&&(k=K(k,l));l=[];for(var p=[],q=0,u=b.length;q<u;q++){var r=b[q];k&&(r=k(r,q,b));(g?q&&p===r:h.contains(p,r))||(g?p=r:p.push(r),l.push(b[q]))}return l};h.union=function(){return h.uniq(L(arguments,!0,!0,[]))};h.intersection=function(b){if(null==b)return[];for(var g=[],k=arguments.length,l=0,p=b.length;l<p;l++){var q=b[l];if(!h.contains(g,q)){for(var u=1;u<k&&h.contains(arguments[u],q);u++);u===k&&
g.push(q)}}return g};h.difference=function(f){var g=L(b.call(arguments,1),!0,!0,[]);return h.filter(f,function(b){return!h.contains(g,b)})};h.zip=function(){for(var b=h.max(h.pluck(arguments,"length").concat(0)),g=Array(b),k=0;k<b;k++)g[k]=h.pluck(arguments,""+k);return g};h.object=function(b,g){if(null==b)return{};for(var h={},k=0,l=b.length;k<l;k++)g?h[b[k]]=g[k]:h[b[k][0]]=b[k][1];return h};h.indexOf=function(b,g,k){if(null==b)return-1;var l=0,p=b.length;if(k)if("number"==typeof k)l=0>k?Math.max(0,
p+k):k;else return l=h.sortedIndex(b,g),b[l]===g?l:-1;for(;l<p;l++)if(b[l]===g)return l;return-1};h.lastIndexOf=function(b,g,h){if(null==b)return-1;for(h=null==h?b.length:h;h--;)if(b[h]===g)return h;return-1};h.range=function(b,g,h){1>=arguments.length&&(g=b||0,b=0);h=arguments[2]||1;for(var k=Math.max(Math.ceil((g-b)/h),0),l=0,p=Array(k);l<k;)p[l++]=b,b+=h;return p};var C=function(){};h.bind=function(f,g){var k,l;if(I&&f.bind===I)return I.apply(f,b.call(arguments,1));if(!h.isFunction(f))throw TypeError("Bind must be called on a function");
k=b.call(arguments,2);return l=function(){if(!(this instanceof l))return f.apply(g,k.concat(b.call(arguments)));C.prototype=f.prototype;var h=new C;C.prototype=null;var p=f.apply(h,k.concat(b.call(arguments)));return Object(p)===p?p:h}};h.partial=function(f){var g=b.call(arguments,1);return function(){for(var b=0,k=g.slice(),l=0,p=k.length;l<p;l++)k[l]===h&&(k[l]=arguments[b++]);for(;b<arguments.length;)k.push(arguments[b++]);return f.apply(this,k)}};h.bindAll=function(f){var g=b.call(arguments,1);
if(0===g.length)throw Error("bindAll must be passed function names");h.each(g,function(b){f[b]=h.bind(f[b],f)});return f};h.memoize=function(b,g){g||(g=h.identity);var k=function(){var l=k.cache,p=g.apply(this,arguments);h.has(l,p)||(l[p]=b.apply(this,arguments));return l[p]};k.cache={};return k};h.delay=function(f,g){var h=b.call(arguments,2);return setTimeout(function(){return f.apply(null,h)},g)};h.defer=function(f){return h.delay.apply(h,[f,1].concat(b.call(arguments,1)))};h.throttle=function(b,
g,k){var l,p,q,u=null,r=0;k||(k={});var G=function(){r=!1===k.leading?0:h.now();u=null;q=b.apply(l,p);u||(l=p=null)};return function(){var C=h.now();r||!1!==k.leading||(r=C);var y=g-(C-r);l=this;p=arguments;0>=y||y>g?(clearTimeout(u),u=null,r=C,q=b.apply(l,p),u||(l=p=null)):u||!1===k.trailing||(u=setTimeout(G,y));return q}};h.debounce=function(b,g,k){var l,p,q,u,r,G=function(){var C=h.now()-u;C<g&&0<C?l=setTimeout(G,g-C):(l=null,k||(r=b.apply(q,p),l||(q=p=null)))};return function(){q=this;p=arguments;
u=h.now();var C=k&&!l;l||(l=setTimeout(G,g));C&&(r=b.apply(q,p),q=p=null);return r}};h.once=function(b){var g=!1,h;return function(){if(g)return h;g=!0;h=b.apply(this,arguments);b=null;return h}};h.wrap=function(b,g){return h.partial(g,b)};h.negate=function(b){return function(){return!b.apply(this,arguments)}};h.compose=function(){var b=arguments;return function(){for(var g=arguments,h=b.length-1;0<=h;h--)g=[b[h].apply(this,g)];return g[0]}};h.after=function(b,g){return function(){if(1>--b)return g.apply(this,
arguments)}};h.keys=function(b){if(!h.isObject(b))return[];if(J)return J(b);var g=[],k;for(k in b)h.has(b,k)&&g.push(k);return g};h.values=function(b){for(var g=h.keys(b),k=g.length,l=Array(k),p=0;p<k;p++)l[p]=b[g[p]];return l};h.pairs=function(b){for(var g=h.keys(b),k=g.length,l=Array(k),p=0;p<k;p++)l[p]=[g[p],b[g[p]]];return l};h.invert=function(b){for(var g={},k=h.keys(b),l=0,p=k.length;l<p;l++)g[b[k[l]]]=k[l];return g};h.functions=h.methods=function(b){var g=[],k;for(k in b)h.isFunction(b[k])&&
g.push(k);return g.sort()};h.extend=function(b){if(!h.isObject(b))return b;for(var g,k,l=1,p=arguments.length;l<p;l++)for(k in g=arguments[l],g)b[k]=g[k];return b};h.pick=function(f,g,l){var p={},q;if(h.isFunction(g))for(q in f){var u=f[q];g.call(l,u,q,f)&&(p[q]=u)}else for(var u=k.apply([],b.call(arguments,1)),r=0,G=u.length;r<G;r++)q=u[r],q in f&&(p[q]=f[q]);return p};h.omit=function(f,g,l){var p;h.isFunction(g)?g=h.negate(g):(p=h.map(k.apply([],b.call(arguments,1)),String),g=function(b,f){return!h.contains(p,
f)});return h.pick(f,g,l)};h.defaults=function(f){if(!h.isObject(f))return f;h.each(b.call(arguments,1),function(b){for(var h in b)void 0===f[h]&&(f[h]=b[h])});return f};h.clone=function(b){return h.isObject(b)?h.isArray(b)?b.slice():h.extend({},b):b};h.tap=function(b,g){g(b);return b};var da=function(b,g,k,l){if(b===g)return 0!==b||1/b===1/g;if(null==b||null==g)return b===g;b instanceof h&&(b=b._wrapped);g instanceof h&&(g=g._wrapped);var p=G.call(b);if(p!==G.call(g))return!1;switch(p){case "[object RegExp]":case "[object String]":return""+
b===""+g;case "[object Number]":return b!=+b?g!=+g:0==b?1/b==1/g:b==+g;case "[object Date]":case "[object Boolean]":return+b===+g}if("object"!=typeof b||"object"!=typeof g)return!1;for(var q=k.length;q--;)if(k[q]===b)return l[q]===g;var q=b.constructor,u=g.constructor;if(q!==u&&"constructor"in b&&"constructor"in g&&!(h.isFunction(q)&&q instanceof q&&h.isFunction(u)&&u instanceof u))return!1;k.push(b);l.push(g);q=!0;if("[object Array]"===p){if(p=b.length,q=p===g.length)for(;p--&&(q=da(b[p],g[p],k,
l)););}else if(u=h.keys(b),p=u.length,q=h.keys(g).length==p)for(;p--&&(q=u[p],q=h.has(g,q)&&da(b[q],g[q],k,l)););k.pop();l.pop();return q};h.isEqual=function(b,g){return da(b,g,[],[])};h.isEmpty=function(b){if(null==b)return!0;if(h.isArray(b)||h.isString(b)||h.isArguments(b))return 0===b.length;for(var g in b)if(h.has(b,g))return!1;return!0};h.isElement=function(b){return!(!b||1!==b.nodeType)};h.isArray=q||function(b){return"[object Array]"===G.call(b)};h.isObject=function(b){return b===Object(b)};
h.each("Arguments Function String Number Date RegExp".split(" "),function(b){h["is"+b]=function(g){return G.call(g)==="[object "+b+"]"}});h.isArguments(arguments)||(h.isArguments=function(b){return h.has(b,"callee")});"function"!==typeof/./&&(h.isFunction=function(b){return"function"===typeof b});h.isFinite=function(b){return isFinite(b)&&!isNaN(parseFloat(b))};h.isNaN=function(b){return h.isNumber(b)&&b!==+b};h.isBoolean=function(b){return!0===b||!1===b||"[object Boolean]"===G.call(b)};h.isNull=
function(b){return null===b};h.isUndefined=function(b){return void 0===b};h.has=function(b,g){return null!=b&&u.call(b,g)};h.noConflict=function(){p._=F;return this};h.identity=function(b){return b};h.constant=function(b){return function(){return b}};h.noop=function(){};h.property=function(b){return function(g){return g[b]}};h.matches=function(b){return function(g){if(null==g)return h.isEmpty(b);if(g===b)return!0;for(var k in b)if(b[k]!==g[k])return!1;return!0}};h.times=function(b,g,h){var k=Array(Math.max(0,
b));g=N(g,h,1);for(h=0;h<b;h++)k[h]=g(h);return k};h.random=function(b,g){null==g&&(g=b,b=0);return b+Math.floor(Math.random()*(g-b+1))};h.now=Date.now||function(){return(new Date).getTime()};var Q={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};Q.unescape=h.invert(Q.escape);var Z={escape:RegExp("["+h.keys(Q.escape).join("")+"]","g"),unescape:RegExp("("+h.keys(Q.unescape).join("|")+")","g")};h.each(["escape","unescape"],function(b){h[b]=function(g){return null==g?"":(""+g).replace(Z[b],
function(g){return Q[b][g]})}});h.result=function(b,g){if(null!=b){var k=b[g];return h.isFunction(k)?b[g]():k}};var xa=0;h.uniqueId=function(b){var g=++xa+"";return b?b+g:g};h.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ha=/(.)^/,ya={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},pa=/\\|'|\r|\n|\u2028|\u2029/g,aa=function(b){return"\\"+ya[b]};h.template=function(b,g,k){k=h.defaults({},k,h.templateSettings);var l=
RegExp([(k.escape||ha).source,(k.interpolate||ha).source,(k.evaluate||ha).source].join("|")+"|$","g"),p=0,q="__p+='";b.replace(l,function(g,k,h,l,u){q+=b.slice(p,u).replace(pa,aa);p=u+g.length;k?q+="'+\n((__t=("+k+"))==null?'':_.escape(__t))+\n'":h?q+="'+\n((__t=("+h+"))==null?'':__t)+\n'":l&&(q+="';\n"+l+"\n__p+='");return g});q+="';\n";k.variable||(q="with(obj||{}){\n"+q+"}\n");q="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+q+"return __p;\n";try{var u=
Function(k.variable||"obj","_",q)}catch(r){throw r.source=q,r;}if(g)return u(g,h);g=function(b){return u.call(this,b,h)};g.source="function("+(k.variable||"obj")+"){\n"+q+"}";return g};h.chain=function(b){return h(b).chain()};var Aa=function(b){return this._chain?h(b).chain():b};h.mixin=function(b){h.each(h.functions(b),function(g){var k=h[g]=b[g];h.prototype[g]=function(){var b=[this._wrapped];l.apply(b,arguments);return Aa.call(this,k.apply(h,b))}})};h.mixin(h);h.each("pop push reverse shift sort splice unshift".split(" "),
function(b){var g=r[b];h.prototype[b]=function(){var k=this._wrapped;g.apply(k,arguments);"shift"!==b&&"splice"!==b||0!==k.length||delete k[0];return Aa.call(this,k)}});h.each(["concat","join","slice"],function(b){var g=r[b];h.prototype[b]=function(){return Aa.call(this,g.apply(this._wrapped,arguments))}});h.extend(h.prototype,{chain:function(){this._chain=!0;return this},value:function(){return this._wrapped}});"function"===typeof define&&define.amd&&define("underscore",[],function(){return h})}).call(this);
(function(p,F,y){var r=function(){for(var l=/audio(.min)?.js.*/,b=document.getElementsByTagName("script"),k=0,p=b.length;k<p;k++){var q=b[k].getAttribute("src");if(l.test(q))return q.replace(l,"")}}();y[p]={instanceCount:0,instances:{},flashSource:' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="$1" width="1" height="1" name="$1" style="position: absolute; left: -1px;"> <param name="movie" value="$2?playerInstance='+p+'.instances[\'$1\']&datetime=$3"> <param name="allowscriptaccess" value="always"> <embed name="$1" src="$2?playerInstance='+
p+'.instances[\'$1\']&datetime=$3" width="1" height="1" allowscriptaccess="always"> </object>',settings:{autoplay:!1,loop:!1,preload:!0,imageLocation:r+"player-graphics.gif",swfLocation:r+"audiojs.swf",useFlash:function(){var l=document.createElement("audio");return!(l.canPlayType&&l.canPlayType("audio/mpeg;").replace(/no/,""))}(),hasFlash:function(){if(navigator.plugins&&navigator.plugins.length&&navigator.plugins["Shockwave Flash"])return!0;if(navigator.mimeTypes&&navigator.mimeTypes.length){var l=
navigator.mimeTypes["application/x-shockwave-flash"];return l&&l.enabledPlugin}try{return new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),!0}catch(b){}return!1}(),createPlayer:{markup:' <div class="play-pause"> <p class="play"></p> <p class="pause"></p> <p class="loading"></p> <p class="error"></p> </div> <div class="scrubber"> <div class="progress"></div> <div class="loaded"></div> </div> <div class="time"> <em class="played">00:00</em>/<strong class="duration">00:00</strong> </div> <div class="error-message"></div>',
playPauseClass:"play-pause",scrubberClass:"scrubber",progressClass:"progress",loaderClass:"loaded",timeClass:"time",durationClass:"duration",playedClass:"played",errorMessageClass:"error-message",playingClass:"playing",loadingClass:"loading",errorClass:"error"},css:' .audiojs audio { position: absolute; left: -1px; } .audiojs { width: 460px; height: 36px; background: #404040; overflow: hidden; font-family: monospace; font-size: 12px; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #555), color-stop(0.51, #444), color-stop(1, #444)); background-image: -moz-linear-gradient(center top, #444 0%, #555 50%, #444 51%, #444 100%); -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); -o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); } .audiojs .play-pause { width: 25px; height: 40px; padding: 4px 6px; margin: 0px; float: left; overflow: hidden; border-right: 1px solid #000; } .audiojs p { display: none; width: 25px; height: 40px; margin: 0px; cursor: pointer; } .audiojs .play { display: block; } .audiojs .scrubber { position: relative; float: left; width: 280px; background: #5a5a5a; height: 14px; margin: 10px; border-top: 1px solid #3f3f3f; border-left: 0px; border-bottom: 0px; overflow: hidden; } .audiojs .progress { position: absolute; top: 0px; left: 0px; height: 14px; width: 0px; background: #ccc; z-index: 1; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ccc), color-stop(0.5, #ddd), color-stop(0.51, #ccc), color-stop(1, #ccc)); background-image: -moz-linear-gradient(center top, #ccc 0%, #ddd 50%, #ccc 51%, #ccc 100%); } .audiojs .loaded { position: absolute; top: 0px; left: 0px; height: 14px; width: 0px; background: #000; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #222), color-stop(0.5, #333), color-stop(0.51, #222), color-stop(1, #222)); background-image: -moz-linear-gradient(center top, #222 0%, #333 50%, #222 51%, #222 100%); } .audiojs .time { float: left; height: 36px; line-height: 36px; margin: 0px 0px 0px 6px; padding: 0px 6px 0px 12px; border-left: 1px solid #000; color: #ddd; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); } .audiojs .time em { padding: 0px 2px 0px 0px; color: #f9f9f9; font-style: normal; } .audiojs .time strong { padding: 0px 0px 0px 2px; font-weight: normal; } .audiojs .error-message { } .audiojs .error-message a { } .audiojs .play { background: url("$1") -2px -1px no-repeat; } .audiojs .loading { background: url("$1") -2px -31px no-repeat; } .audiojs .error { } .audiojs .pause { background: url("$1") -2px -91px no-repeat; } .playing .play, .playing .loading, .playing .error { display: none; } .playing .pause { display: block; } .loading .play, .loading .pause, .loading .error { display: none; } .loading .loading { display: block; } .error .time, .error .play, .error .pause, .error .scrubber, .error .loading { display: none; } .error .error { display: block; } .error .play-pause p { cursor: auto; } .error .error-message { display: block; }',
trackEnded:function(){},flashError:function(){var l=this.settings.createPlayer,b=q(l.errorMessageClass,this.wrapper),k='Missing <a href="http://get.adobe.com/flashplayer/">flash player</a> plugin.';this.mp3&&(k+=' <a href="'+this.mp3+'">Download audio file</a>.');y[p].helpers.removeClass(this.wrapper,l.loadingClass);y[p].helpers.addClass(this.wrapper,l.errorClass);b.innerHTML=k},loadError:function(){var l=this.settings.createPlayer,b=q(l.errorMessageClass,this.wrapper);y[p].helpers.removeClass(this.wrapper,
l.loadingClass);y[p].helpers.addClass(this.wrapper,l.errorClass);b.innerHTML='Error loading: "'+this.mp3+'"'},init:function(){y[p].helpers.addClass(this.wrapper,this.settings.createPlayer.loadingClass)},loadStarted:function(){var l=this.settings.createPlayer,b=q(l.durationClass,this.wrapper),k=Math.floor(this.duration/60),r=Math.floor(this.duration%60);y[p].helpers.removeClass(this.wrapper,l.loadingClass);b.innerHTML=(10>k?"0":"")+k+":"+(10>r?"0":"")+r},loadProgress:function(l){var b=this.settings.createPlayer,
k=q(b.scrubberClass,this.wrapper);q(b.loaderClass,this.wrapper).style.width=k.offsetWidth*l+"px"},playPause:function(){this.playing?this.settings.play():this.settings.pause()},play:function(){y[p].helpers.addClass(this.wrapper,this.settings.createPlayer.playingClass)},pause:function(){y[p].helpers.removeClass(this.wrapper,this.settings.createPlayer.playingClass)},updatePlayhead:function(l){var b=this.settings.createPlayer,k=q(b.scrubberClass,this.wrapper);q(b.progressClass,this.wrapper).style.width=
k.offsetWidth*l+"px";b=q(b.playedClass,this.wrapper);k=this.duration*l;l=Math.floor(k/60);k=Math.floor(k%60);b.innerHTML=(10>l?"0":"")+l+":"+(10>k?"0":"")+k}},create:function(l,b){b=b||{};return l.length?this.createAll(b,l):this.newInstance(l,b)},createAll:function(l,b){var k=b||document.getElementsByTagName("audio"),p=[];l=l||{};for(var q=0,r=k.length;q<r;q++)p.push(this.newInstance(k[q],l));return p},newInstance:function(l,b){var k=this.helpers.clone(this.settings),p="audiojs"+this.instanceCount,
q="audiojs_wrapper"+this.instanceCount;this.instanceCount++;null!=l.getAttribute("autoplay")&&(k.autoplay=!0);null!=l.getAttribute("loop")&&(k.loop=!0);"none"==l.getAttribute("preload")&&(k.preload=!1);b&&this.helpers.merge(k,b);k.createPlayer.markup?l=this.createPlayer(l,k.createPlayer,q):l.parentNode.setAttribute("id",q);q=new y[F](l,k);k.css&&this.helpers.injectCss(q,k.css);k.useFlash&&k.hasFlash?(this.injectFlash(q,p),this.attachFlashEvents(q.wrapper,q)):k.useFlash&&!k.hasFlash&&this.settings.flashError.apply(q);
(!k.useFlash||k.useFlash&&k.hasFlash)&&this.attachEvents(q.wrapper,q);return this.instances[p]=q},createPlayer:function(l,b,k){var p=document.createElement("div"),q=l.cloneNode(!0);p.setAttribute("class","audiojs");p.setAttribute("className","audiojs");p.setAttribute("id",k);q.outerHTML&&!document.createElement("audio").canPlayType?(q=this.helpers.cloneHtml5Node(l),p.innerHTML=b.markup,p.appendChild(q),l.outerHTML=p.outerHTML,p=document.getElementById(k)):(p.appendChild(q),p.innerHTML+=b.markup,l.parentNode.replaceChild(p,
l));return p.getElementsByTagName("audio")[0]},attachEvents:function(l,b){if(b.settings.createPlayer){var k=b.settings.createPlayer,r=q(k.playPauseClass,l),u=q(k.scrubberClass,l);y[p].events.addListener(r,"click",function(){b.playPause.apply(b)});y[p].events.addListener(u,"click",function(k){k=k.clientX;var l=this,h=0;if(l.offsetParent){do h+=l.offsetLeft;while(l=l.offsetParent)}b.skipTo((k-h)/u.offsetWidth)});b.settings.useFlash||(y[p].events.trackLoadProgress(b),y[p].events.addListener(b.element,
"timeupdate",function(){b.updatePlayhead.apply(b)}),y[p].events.addListener(b.element,"ended",function(){b.trackEnded.apply(b)}),y[p].events.addListener(b.source,"error",function(){clearInterval(b.readyTimer);clearInterval(b.loadTimer);b.settings.loadError.apply(b)}))}},attachFlashEvents:function(l,b){b.swfReady=!1;b.load=function(k){b.mp3=k;b.swfReady&&b.element.load(k)};b.loadProgress=function(k,l){b.loadedPercent=k;b.duration=l;b.settings.loadStarted.apply(b);b.settings.loadProgress.apply(b,[k])};
b.skipTo=function(k){k>b.loadedPercent||(b.updatePlayhead.call(b,[k]),b.element.skipTo(k))};b.updatePlayhead=function(k){b.settings.updatePlayhead.apply(b,[k])};b.play=function(){b.settings.preload||(b.settings.preload=!0,b.element.init(b.mp3));b.playing=!0;b.element.pplay();b.settings.play.apply(b)};b.pause=function(){b.playing=!1;b.element.ppause();b.settings.pause.apply(b)};b.setVolume=function(k){b.element.setVolume(k)};b.loadStarted=function(){b.swfReady=!0;b.settings.preload&&b.element.init(b.mp3);
b.settings.autoplay&&b.play.apply(b)}},injectFlash:function(l,b){var k=this.flashSource.replace(/\$1/g,b),k=k.replace(/\$2/g,l.settings.swfLocation),k=k.replace(/\$3/g,+new Date+Math.random()),p=l.wrapper.innerHTML,q=document.createElement("div");q.innerHTML=k+p;l.wrapper.innerHTML=q.innerHTML;l.element=this.helpers.getSwf(b)},helpers:{merge:function(l,b){for(attr in b)if(l.hasOwnProperty(attr)||b.hasOwnProperty(attr))l[attr]=b[attr]},clone:function(l){if(null==l||"object"!==typeof l)return l;var b=
new l.constructor,k;for(k in l)b[k]=arguments.callee(l[k]);return b},addClass:function(l,b){RegExp("(\\s|^)"+b+"(\\s|$)").test(l.className)||(l.className+=" "+b)},removeClass:function(l,b){l.className=l.className.replace(RegExp("(\\s|^)"+b+"(\\s|$)")," ")},injectCss:function(l,b){for(var k="",p=document.getElementsByTagName("style"),q=b.replace(/\$1/g,l.settings.imageLocation),r=0,y=p.length;r<y;r++){var h=p[r].getAttribute("title");if(h&&~h.indexOf("audiojs")){y=p[r];if(y.innerHTML===q)return;k=
y.innerHTML;break}}p=document.getElementsByTagName("head")[0];r=p.firstChild;y=document.createElement("style");p&&(y.setAttribute("type","text/css"),y.setAttribute("title","audiojs"),y.styleSheet?y.styleSheet.cssText=k+q:y.appendChild(document.createTextNode(k+q)),r?p.insertBefore(y,r):p.appendChild(styleElement))},cloneHtml5Node:function(l){var b=document.createDocumentFragment(),k=b.createElement?b:document;k.createElement("audio");k=k.createElement("div");b.appendChild(k);k.innerHTML=l.outerHTML;
return k.firstChild},getSwf:function(l){l=document[l]||window[l];return 1<l.length?l[l.length-1]:l}},events:{memoryLeaking:!1,listeners:[],addListener:function(l,b,k){l.addEventListener?l.addEventListener(b,k,!1):l.attachEvent&&(this.listeners.push(l),this.memoryLeaking||(window.attachEvent("onunload",function(){if(this.listeners)for(var b=0,k=this.listeners.length;b<k;b++)y[p].events.purge(this.listeners[b])}),this.memoryLeaking=!0),l.attachEvent("on"+b,function(){k.call(l,window.event)}))},trackLoadProgress:function(l){if(l.settings.preload){var b,
k,p=/(ipod|iphone|ipad)/i.test(navigator.userAgent);b=setInterval(function(){-1<l.element.readyState&&(p||l.init.apply(l));1<l.element.readyState&&(l.settings.autoplay&&l.play.apply(l),clearInterval(b),k=setInterval(function(){l.loadProgress.apply(l);1<=l.loadedPercent&&clearInterval(k)}))},10);l.readyTimer=b;l.loadTimer=k}},purge:function(l){var b=l.attributes,k;if(b)for(k=0;k<b.length;k+=1)"function"===typeof l[b[k].name]&&(l[b[k].name]=null);if(b=l.childNodes)for(k=0;k<b.length;k+=1)purge(l.childNodes[k])},
ready:function(){return function(l){var b=window,k=!1,p=!0,q=b.document,r=q.documentElement,y=q.addEventListener?"addEventListener":"attachEvent",h=q.addEventListener?"removeEventListener":"detachEvent",F=q.addEventListener?"":"on",K=function(p){if("readystatechange"!=p.type||"complete"==q.readyState)("load"==p.type?b:q)[h](F+p.type,K,!1),!k&&(k=!0)&&l.call(b,p.type||p)},ga=function(){try{r.doScroll("left")}catch(b){setTimeout(ga,50);return}K("poll")};if("complete"==q.readyState)l.call(b,"lazy");
else{if(q.createEventObject&&r.doScroll){try{p=!b.frameElement}catch(L){}p&&ga()}q[y](F+"DOMContentLoaded",K,!1);q[y](F+"readystatechange",K,!1);b[y](F+"load",K,!1)}}}()}};y[F]=function(l,b){this.element=l;this.wrapper=l.parentNode;this.source=l.getElementsByTagName("source")[0]||l;var k=l.getElementsByTagName("source")[0];this.mp3=l.getAttribute("src")||(k?k.getAttribute("src"):null);this.settings=b;this.loadStartedCalled=!1;this.loadedPercent=0;this.duration=1;this.playing=!1};y[F].prototype={updatePlayhead:function(){this.settings.updatePlayhead.apply(this,
[this.element.currentTime/this.duration])},skipTo:function(l){l>this.loadedPercent||(this.element.currentTime=this.duration*l,this.updatePlayhead())},load:function(l){this.loadStartedCalled=!1;this.source.setAttribute("src",l);this.element.load();this.mp3=l;y[p].events.trackLoadProgress(this)},loadError:function(){this.settings.loadError.apply(this)},init:function(){this.settings.init.apply(this)},loadStarted:function(){if(!this.element.duration)return!1;this.duration=this.element.duration;this.updatePlayhead();
this.settings.loadStarted.apply(this)},loadProgress:function(){null!=this.element.buffered&&this.element.buffered.length&&(this.loadStartedCalled||(this.loadStartedCalled=this.loadStarted()),this.loadedPercent=this.element.buffered.end(this.element.buffered.length-1)/this.duration,this.settings.loadProgress.apply(this,[this.loadedPercent]))},playPause:function(){this.playing?this.pause():this.play()},play:function(){/(ipod|iphone|ipad)/i.test(navigator.userAgent)&&0==this.element.readyState&&this.init.apply(this);
this.settings.preload||(this.settings.preload=!0,this.element.setAttribute("preload","auto"),y[p].events.trackLoadProgress(this));this.playing=!0;this.element.play();this.settings.play.apply(this)},pause:function(){this.playing=!1;this.element.pause();this.settings.pause.apply(this)},setVolume:function(l){this.element.volume=l},trackEnded:function(){this.skipTo.apply(this,[0]);this.settings.loop||this.pause.apply(this);this.settings.trackEnded.apply(this)}};var q=function(l,b){var k=[];b=b||document;
if(b.getElementsByClassName)k=b.getElementsByClassName(l);else{var p,q,r=b.getElementsByTagName("*"),y=RegExp("(^|\\s)"+l+"(\\s|$)");p=0;for(q=r.length;p<q;p++)y.test(r[p].className)&&k.push(r[p])}return 1<k.length?k:k[0]}})("audiojs","audiojsInstance",this);
(function(p,F,y,r){function q(k,q){this.element=k;this.$el=p(k);this.options=p.extend({},b,q);this._defaults=b;this._name=l;this.moveInterval;this.moving=this.paused=this.state=0;(this.$el.is("ul")||this.$el.is("ol"))&&this.init()}var l="newsTicker",b={row_height:20,max_rows:3,speed:400,duration:2500,direction:"up",autostart:1,pauseOnHover:1,nextButton:null,prevButton:null,startButton:null,stopButton:null,hasMoved:function(){},movingUp:function(){},movingDown:function(){},start:function(){},stop:function(){},
pause:function(){},unpause:function(){}};q.prototype={init:function(){this.$el.height(this.options.row_height*this.options.max_rows).css({overflow:"hidden"});this.checkSpeed();this.options.nextButton&&"undefined"!==typeof this.options.nextButton[0]&&this.options.nextButton.click(function(b){this.moveNext();this.resetInterval()}.bind(this));this.options.prevButton&&"undefined"!==typeof this.options.prevButton[0]&&this.options.prevButton.click(function(b){this.movePrev();this.resetInterval()}.bind(this));
this.options.stopButton&&"undefined"!==typeof this.options.stopButton[0]&&this.options.stopButton.click(function(b){this.stop()}.bind(this));this.options.startButton&&"undefined"!==typeof this.options.startButton[0]&&this.options.startButton.click(function(b){this.start()}.bind(this));this.options.pauseOnHover&&this.$el.hover(function(){this.state&&this.pause()}.bind(this),function(){this.state&&this.unpause()}.bind(this));this.options.autostart&&this.start()},start:function(){this.state||(this.state=
1,this.resetInterval(),this.options.start())},stop:function(){this.state&&(clearInterval(this.moveInterval),this.state=0,this.options.stop())},resetInterval:function(){this.state&&(clearInterval(this.moveInterval),this.moveInterval=setInterval(function(){this.move()}.bind(this),this.options.duration))},move:function(){this.paused||this.moveNext()},moveNext:function(){"down"===this.options.direction?this.moveDown():"up"===this.options.direction&&this.moveUp()},movePrev:function(){"down"===this.options.direction?
this.moveUp():"up"===this.options.direction&&this.moveDown()},pause:function(){this.paused||(this.paused=1);this.options.pause()},unpause:function(){this.paused&&(this.paused=0);this.options.unpause()},moveDown:function(){this.moving||(this.moving=1,this.options.movingDown(),this.$el.children("li:last").detach().prependTo(this.$el).css("marginTop","-"+this.options.row_height+"px").animate({marginTop:"0px"},this.options.speed,function(){this.moving=0;this.options.hasMoved()}.bind(this)))},moveUp:function(){if(!this.moving){this.moving=
1;this.options.movingUp();var b=this.$el.children("li:first");b.animate({marginTop:"-"+this.options.row_height+"px"},this.options.speed,function(){b.detach().css("marginTop","0").appendTo(this.$el);this.moving=0;this.options.hasMoved()}.bind(this))}},updateOption:function(b,l){"undefined"!==typeof this.options[b]&&(this.options[b]=l,"duration"==b||"speed"==b)&&(this.checkSpeed(),this.resetInterval())},add:function(b){this.$el.append(p("<li>").html(b))},getState:function(){return paused?2:this.state},
checkSpeed:function(){this.options.duration<this.options.speed+25&&(this.options.speed=this.options.duration-25)},destroy:function(){this._destroy()}};p.fn[l]=function(b){var r=arguments;return this.each(function(){var u=p(this),y=p.data(this,"plugin_"+l),F="object"===typeof b&&b;y||u.data("plugin_"+l,y=new q(this,F));"string"===typeof b&&y[b].apply(y,Array.prototype.slice.call(r,1))})}})(jQuery,window,document);