mailcatcher 0.8.0.beta3 → 0.8.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +22 -5
- data/lib/mail_catcher.rb +6 -29
- data/lib/mail_catcher/smtp.rb +11 -1
- data/lib/mail_catcher/version.rb +1 -1
- data/public/assets/logo.png +0 -0
- data/public/assets/logo_2x.png +0 -0
- data/public/assets/logo_large.png +0 -0
- data/public/assets/mailcatcher.css +1 -1
- data/public/assets/mailcatcher.js +5 -5
- data/public/favicon.ico +0 -0
- data/views/index.erb +8 -1
- metadata +50 -21
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccfb98c689953785fe9c132ac154e90f2fcf5ead0c433de7611b64c1f7f89b98
|
4
|
+
data.tar.gz: 0c87d50eece53958f858966c9f607bef6bb885dbf0a4df9938bf4b5f5616900d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1b0fae5875ae31b39700d0df1fd08c04b87ea2cd20cd7c45799c456af7cc2e4c9f4a2fc5e366b1f9ff24e0e35355752b7349fc8c991cebd8f1a664b159f2ddc
|
7
|
+
data.tar.gz: 4f051455ddc9718c69450318b8420bd74f7d7acea1d20fb42be18751b3c537f73b38550f807a6a0ead01544b9d84b288a7a7a77e2856ad0e782337dfa21706fc
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -26,11 +26,28 @@ MailCatcher runs a super simple SMTP server which catches any message sent to it
|
|
26
26
|
3. Go to http://127.0.0.1:1080/
|
27
27
|
4. Send mail through smtp://127.0.0.1:1025
|
28
28
|
|
29
|
-
|
29
|
+
### Command Line Options
|
30
|
+
|
31
|
+
Use `mailcatcher --help` to see the command line options.
|
32
|
+
|
33
|
+
```
|
34
|
+
Usage: mailcatcher [options]
|
35
|
+
--ip IP Set the ip address of both servers
|
36
|
+
--smtp-ip IP Set the ip address of the smtp server
|
37
|
+
--smtp-port PORT Set the port of the smtp server
|
38
|
+
--http-ip IP Set the ip address of the http server
|
39
|
+
--http-port PORT Set the port address of the http server
|
40
|
+
--http-path PATH Add a prefix to all HTTP paths
|
41
|
+
--no-quit Don't allow quitting the process
|
42
|
+
-f, --foreground Run in the foreground
|
43
|
+
-b, --browse Open web browser
|
44
|
+
-v, --verbose Be more verbose
|
45
|
+
-h, --help Display this help information
|
46
|
+
```
|
30
47
|
|
31
48
|
### Ruby
|
32
49
|
|
33
|
-
If you have trouble with the
|
50
|
+
If you have trouble with the setup commands, make sure you have [Ruby installed](https://www.ruby-lang.org/en/documentation/installation/):
|
34
51
|
|
35
52
|
```
|
36
53
|
ruby -v
|
@@ -68,11 +85,11 @@ To set up your rails app, I recommend adding this to your `environments/developm
|
|
68
85
|
|
69
86
|
### PHP
|
70
87
|
|
71
|
-
For projects using PHP, or PHP frameworks and application platforms like Drupal, you can set [PHP's mail configuration](
|
88
|
+
For projects using PHP, or PHP frameworks and application platforms like Drupal, you can set [PHP's mail configuration](https://www.php.net/manual/en/mail.configuration.php) in your [php.ini](https://www.php.net/manual/en/configuration.file.php) to send via MailCatcher with:
|
72
89
|
|
73
90
|
sendmail_path = /usr/bin/env catchmail -f some@from.address
|
74
91
|
|
75
|
-
You can do this in your [Apache configuration](
|
92
|
+
You can do this in your [Apache configuration](https://www.php.net/manual/en/configuration.changes.php) like so:
|
76
93
|
|
77
94
|
php_admin_value sendmail_path "/usr/bin/env catchmail -f some@from.address"
|
78
95
|
|
@@ -120,4 +137,4 @@ Copyright © 2010-2019 Samuel Cochran (sj26@sj26.com). Released under the MIT Li
|
|
120
137
|
[license]: https://github.com/sj26/mailcatcher/blob/master/LICENSE
|
121
138
|
[mailcatcher-github]: https://github.com/sj26/mailcatcher
|
122
139
|
[mailcatcher-issues]: https://github.com/sj26/mailcatcher/issues
|
123
|
-
[websockets]:
|
140
|
+
[websockets]: https://tools.ietf.org/html/rfc6455
|
data/lib/mail_catcher.rb
CHANGED
@@ -1,15 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Apparently rubygems won't activate these on its own, so here we go. Let's
|
4
|
-
# repeat the invention of Bundler all over again.
|
5
|
-
gem "eventmachine", "1.0.9.1"
|
6
|
-
gem "mail", "~> 2.3"
|
7
|
-
gem "rack", "~> 1.5"
|
8
|
-
gem "sinatra", "~> 1.2"
|
9
|
-
gem "sqlite3", "~> 1.3"
|
10
|
-
gem "thin", "~> 1.5.0"
|
11
|
-
gem "skinny", "~> 0.2.3"
|
12
|
-
|
13
3
|
require "open3"
|
14
4
|
require "optparse"
|
15
5
|
require "rbconfig"
|
@@ -47,18 +37,10 @@ module MailCatcher extend self
|
|
47
37
|
end
|
48
38
|
end
|
49
39
|
|
50
|
-
def mac?
|
51
|
-
RbConfig::CONFIG["host_os"] =~ /darwin/
|
52
|
-
end
|
53
|
-
|
54
40
|
def windows?
|
55
41
|
RbConfig::CONFIG["host_os"] =~ /mswin|mingw/
|
56
42
|
end
|
57
43
|
|
58
|
-
def macruby?
|
59
|
-
mac? and const_defined? :MACRUBY_VERSION
|
60
|
-
end
|
61
|
-
|
62
44
|
def browseable?
|
63
45
|
windows? or which? "open"
|
64
46
|
end
|
@@ -79,7 +61,7 @@ module MailCatcher extend self
|
|
79
61
|
puts "*** #{message}: #{context.inspect}"
|
80
62
|
puts " Exception: #{exception}"
|
81
63
|
puts " Backtrace:", *exception.backtrace.map { |line| " #{line.sub(gems_regexp, gems_replace)}" }
|
82
|
-
puts " Please submit this as an issue at
|
64
|
+
puts " Please submit this as an issue at https://github.com/sj26/mailcatcher/issues"
|
83
65
|
end
|
84
66
|
|
85
67
|
@@defaults = {
|
@@ -146,13 +128,6 @@ module MailCatcher extend self
|
|
146
128
|
options[:quit] = false
|
147
129
|
end
|
148
130
|
|
149
|
-
if mac?
|
150
|
-
parser.on("--[no-]growl") do |growl|
|
151
|
-
puts "Growl is no longer supported"
|
152
|
-
exit -2
|
153
|
-
end
|
154
|
-
end
|
155
|
-
|
156
131
|
unless windows?
|
157
132
|
parser.on("-f", "--foreground", "Run in the foreground") do
|
158
133
|
options[:daemon] = false
|
@@ -175,7 +150,7 @@ module MailCatcher extend self
|
|
175
150
|
end
|
176
151
|
|
177
152
|
parser.on_tail("--version", "Display the current version") do
|
178
|
-
puts "
|
153
|
+
puts "MailCatcher v#{VERSION}"
|
179
154
|
exit
|
180
155
|
end
|
181
156
|
end.parse!
|
@@ -196,7 +171,7 @@ module MailCatcher extend self
|
|
196
171
|
$stdout.sync = $stderr.sync = true
|
197
172
|
end
|
198
173
|
|
199
|
-
puts "Starting MailCatcher"
|
174
|
+
puts "Starting MailCatcher v#{VERSION}"
|
200
175
|
|
201
176
|
Thin::Logging.debug = development?
|
202
177
|
Thin::Logging.silent = !development?
|
@@ -238,6 +213,8 @@ module MailCatcher extend self
|
|
238
213
|
end
|
239
214
|
|
240
215
|
def quit!
|
216
|
+
MailCatcher::Bus.push(type: "quit")
|
217
|
+
|
241
218
|
EventMachine.next_tick { EventMachine.stop_event_loop }
|
242
219
|
end
|
243
220
|
|
@@ -248,7 +225,7 @@ protected
|
|
248
225
|
end
|
249
226
|
|
250
227
|
def http_url
|
251
|
-
"http://#{@@options[:http_ip]}:#{@@options[:http_port]}#{@@options[:http_path]}"
|
228
|
+
"http://#{@@options[:http_ip]}:#{@@options[:http_port]}#{@@options[:http_path]}".chomp("/")
|
252
229
|
end
|
253
230
|
|
254
231
|
def rescue_port port
|
data/lib/mail_catcher/smtp.rb
CHANGED
@@ -6,10 +6,11 @@ require "mail_catcher/mail"
|
|
6
6
|
|
7
7
|
class MailCatcher::Smtp < EventMachine::Protocols::SmtpServer
|
8
8
|
# We override EM's mail from processing to allow multiple mail-from commands
|
9
|
-
# per [RFC 2821](
|
9
|
+
# per [RFC 2821](https://tools.ietf.org/html/rfc2821#section-4.1.1.2)
|
10
10
|
def process_mail_from sender
|
11
11
|
if @state.include? :mail_from
|
12
12
|
@state -= [:mail_from, :rcpt, :data]
|
13
|
+
|
13
14
|
receive_reset
|
14
15
|
end
|
15
16
|
|
@@ -22,25 +23,34 @@ class MailCatcher::Smtp < EventMachine::Protocols::SmtpServer
|
|
22
23
|
|
23
24
|
def receive_reset
|
24
25
|
@current_message = nil
|
26
|
+
|
25
27
|
true
|
26
28
|
end
|
27
29
|
|
28
30
|
def receive_sender(sender)
|
31
|
+
# EventMachine SMTP advertises size extensions [https://tools.ietf.org/html/rfc1870]
|
32
|
+
# so strip potential " SIZE=..." suffixes from senders
|
33
|
+
sender = $` if sender =~ / SIZE=\d+\z/
|
34
|
+
|
29
35
|
current_message[:sender] = sender
|
36
|
+
|
30
37
|
true
|
31
38
|
end
|
32
39
|
|
33
40
|
def receive_recipient(recipient)
|
34
41
|
current_message[:recipients] ||= []
|
35
42
|
current_message[:recipients] << recipient
|
43
|
+
|
36
44
|
true
|
37
45
|
end
|
38
46
|
|
39
47
|
def receive_data_chunk(lines)
|
40
48
|
current_message[:source] ||= +""
|
49
|
+
|
41
50
|
lines.each do |line|
|
42
51
|
current_message[:source] << line << "\r\n"
|
43
52
|
end
|
53
|
+
|
44
54
|
true
|
45
55
|
end
|
46
56
|
|
data/lib/mail_catcher/version.rb
CHANGED
data/public/assets/logo.png
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}html,body{width:100%;height:100%}body{display:-moz-box;display:-webkit-box;display:box;-moz-box-orient:vertical;-webkit-box-orient:vertical;box-orient:vertical;background:#eee;color:#000;font-size:12px;font-family:Helvetica, sans-serif}body html{font-size:75%;line-height:1.5em}body.iframe{background:#fff}body.iframe h1{font-size:1.3em;margin:12px}body.iframe p,body.iframe form{margin:0 12px 12px 12px;line-height:1.25}body.iframe .loading{color:#666;margin-left:0.5em}.button{padding:0.5em 1em;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y0ZjRmNCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VjZWNlYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#ececec;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f4f4f4), color-stop(100%, #ececec)),#ececec;background:-moz-linear-gradient(#f4f4f4, #ececec),#ececec;background:-webkit-linear-gradient(#f4f4f4, #ececec),#ececec;background:linear-gradient(#f4f4f4, #ececec),#ececec;color:#666;text-shadow:1px 1px 0 #fff;text-decoration:none}.button:hover,.button:focus{border-color:#999;border-bottom-color:#666;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#ddd;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eee), color-stop(100%, #ddd)),#ddd;background:-moz-linear-gradient(#eee, #ddd),#ddd;background:-webkit-linear-gradient(#eee, #ddd),#ddd;background:linear-gradient(#eee, #ddd),#ddd;color:#333;text-decoration:none}.button:active,.button.active{border-color:#666;border-bottom-color:#999;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#eee;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddd), color-stop(100%, #eee)),#eee;background:-moz-linear-gradient(#ddd, #eee),#eee;background:-webkit-linear-gradient(#ddd, #eee),#eee;background:linear-gradient(#ddd, #eee),#eee;color:#333;text-decoration:none;text-shadow:-1px -1px 0 #eee}body>header{overflow:hidden;*zoom:1;border-bottom:1px solid #ccc}body>header h1{float:left;margin-left:6px;padding:6px;padding-left:30px;background:url(logo.png) left no-repeat;font-size:18px;font-weight:bold}body>header h1 a{color:black;text-decoration:none;text-shadow:0 1px 0 white;-moz-transition:ease 0.1s;-o-transition:ease 0.1s;-webkit-transition:ease 0.1s;transition:ease 0.1s}body>header h1 a:hover{color:#4183C4}body>header nav{border-left:1px solid #ccc}body>header nav.project{float:left}body>header nav.app{float:right}body>header nav li{display:block;float:left;border-left:1px solid #fff;border-right:1px solid #ccc}body>header nav li input{margin:6px}body>header nav li a{display:block;padding:10px;text-decoration:none;text-shadow:0 1px 0 white;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y0ZjRmNCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VjZWNlYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#ececec;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f4f4f4), color-stop(100%, #ececec)),#ececec;background:-moz-linear-gradient(#f4f4f4, #ececec),#ececec;background:-webkit-linear-gradient(#f4f4f4, #ececec),#ececec;background:linear-gradient(#f4f4f4, #ececec),#ececec;color:#666;text-shadow:1px 1px 0 #fff;text-decoration:none}body>header nav li a:hover,body>header nav li a:focus{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#ddd;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eee), color-stop(100%, #ddd)),#ddd;background:-moz-linear-gradient(#eee, #ddd),#ddd;background:-webkit-linear-gradient(#eee, #ddd),#ddd;background:linear-gradient(#eee, #ddd),#ddd;color:#333;text-decoration:none}body>header nav li a:active,body>header nav li a.active{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#eee;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddd), color-stop(100%, #eee)),#eee;background:-moz-linear-gradient(#ddd, #eee),#eee;background:-webkit-linear-gradient(#ddd, #eee),#eee;background:linear-gradient(#ddd, #eee),#eee;color:#333;text-decoration:none;text-shadow:-1px -1px 0 #eee}#messages{width:100%;height:10em;min-height:3em;overflow:auto;background:#fff;border-top:1px solid #fff}#messages table{overflow:hidden;*zoom:1;width:100%}#messages table thead tr{background:#eee;color:#333}#messages table thead tr th{padding:0.25em;font-weight:bold;color:#666;text-shadow:0 1px 0 white}#messages table tbody tr{cursor:pointer;-moz-transition:ease 0.1s;-o-transition:ease 0.1s;-webkit-transition:ease 0.1s;transition:ease 0.1s;color:#333}#messages table tbody tr:hover{color:#000}#messages table tbody tr:nth-child(even){background:#f0f0f0}#messages table tbody tr.selected{background:Highlight;color:HighlightText}#messages table tbody tr td{padding:0.25em}#messages table tbody tr td.blank{color:#666;font-style:italic}#resizer{padding-bottom:5px;cursor:ns-resize}#resizer .ruler{border-top:1px solid #ccc;border-bottom:1px solid #fff}#message{display:-moz-box;display:-webkit-box;display:box;-moz-box-orient:vertical;-webkit-box-orient:vertical;box-orient:vertical;-moz-box-flex:1;-webkit-box-flex:1;box-flex:1}#message>header{overflow:hidden;*zoom:1}#message>header .metadata{overflow:hidden;*zoom:1;padding:0.5em;padding-top:0}#message>header .metadata dt,#message>header .metadata dd{padding:0.25em}#message>header .metadata dt{float:left;clear:left;width:8em;margin-right:0.5em;text-align:right;font-weight:bold;color:#666;text-shadow:0 1px 0 white}#message>header .metadata dd.subject{font-weight:bold}#message>header .metadata .attachments{display:none}#message>header .metadata .attachments ul{display:inline}#message>header .metadata .attachments ul li{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;margin-right:0.5em}#message>header .views ul{padding:0 0.5em;border-bottom:1px solid #ccc}#message>header .views .tab{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}#message>header .views .tab a{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;padding:0.5em;border:1px solid #ccc;background:#ddd;color:#333;border-width:1px 1px 0 1px;cursor:pointer;text-shadow:0 1px 0 #eeeeee;text-decoration:none}#message>header .views .tab:not(.selected):hover a{background-color:#eee}#message>header .views .tab.selected a{background:#fff;color:#000;height:13px;-moz-box-shadow:1px 1px 0 #ccc;-webkit-box-shadow:1px 1px 0 #ccc;box-shadow:1px 1px 0 #ccc;margin-bottom:-2px;cursor:default}#message>header .views .action{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;float:right;margin:0 0.25em}.fractal-analysis{margin:12px 0}.fractal-analysis .report-intro{font-weight:bold}.fractal-analysis .report-intro.valid{color:#090}.fractal-analysis .report-intro.invalid{color:#c33}.fractal-analysis code{font-family:Monaco, "Courier New", Courier, monospace;background-color:#f8f8ff;color:#444;padding:0 0.2em;border:1px solid #dedede}.fractal-analysis ul{margin:1em 0 1em 1em;list-style-type:square}.fractal-analysis ol{margin:1em 0 1em 2em;list-style-type:decimal}.fractal-analysis ul li,.fractal-analysis ol li{display:list-item;margin:0.5em 0 0.5em 1em}.fractal-analysis .error-intro strong{font-weight:bold}.fractal-analysis .unsupported-clients dt{padding-left:1em}.fractal-analysis .unsupported-clients dd{padding-left:2em}.fractal-analysis .unsupported-clients dd ul li{display:list-item}iframe{display:-moz-box;display:-webkit-box;display:box;-moz-box-flex:1;-webkit-box-flex:1;box-flex:1;background:#fff}
|
1
|
+
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}html,body{width:100%;height:100%}body{display:-moz-box;display:-webkit-box;display:box;-moz-box-orient:vertical;-webkit-box-orient:vertical;box-orient:vertical;background:#eee;color:#000;font-size:12px;font-family:Helvetica, sans-serif}body html{font-size:75%;line-height:1.5em}body.iframe{background:#fff}body.iframe h1{font-size:1.3em;margin:12px}body.iframe p,body.iframe form{margin:0 12px 12px 12px;line-height:1.25}body.iframe .loading{color:#666;margin-left:0.5em}.button{padding:0.5em 1em;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y0ZjRmNCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VjZWNlYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#ececec;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f4f4f4), color-stop(100%, #ececec)),#ececec;background:-moz-linear-gradient(#f4f4f4, #ececec),#ececec;background:-webkit-linear-gradient(#f4f4f4, #ececec),#ececec;background:linear-gradient(#f4f4f4, #ececec),#ececec;color:#666;text-shadow:1px 1px 0 #fff;text-decoration:none}.button:hover,.button:focus{border-color:#999;border-bottom-color:#666;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#ddd;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eee), color-stop(100%, #ddd)),#ddd;background:-moz-linear-gradient(#eee, #ddd),#ddd;background:-webkit-linear-gradient(#eee, #ddd),#ddd;background:linear-gradient(#eee, #ddd),#ddd;color:#333;text-decoration:none}.button:active,.button.active{border-color:#666;border-bottom-color:#999;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#eee;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddd), color-stop(100%, #eee)),#eee;background:-moz-linear-gradient(#ddd, #eee),#eee;background:-webkit-linear-gradient(#ddd, #eee),#eee;background:linear-gradient(#ddd, #eee),#eee;color:#333;text-decoration:none;text-shadow:-1px -1px 0 #eee}body>header{overflow:hidden;*zoom:1;border-bottom:1px solid #ccc}body>header h1{float:left;margin-left:6px;padding:6px;padding-left:30px;background:url(logo.png) left no-repeat;background-size:24px 24px;font-size:18px;font-weight:bold}body>header h1 a{color:black;text-decoration:none;text-shadow:0 1px 0 white;-moz-transition:ease 0.1s;-o-transition:ease 0.1s;-webkit-transition:ease 0.1s;transition:ease 0.1s}body>header h1 a:hover{color:#4183C4}body>header nav{border-left:1px solid #ccc}body>header nav.project{float:left}body>header nav.app{float:right}body>header nav li{display:block;float:left;border-left:1px solid #fff;border-right:1px solid #ccc}body>header nav li input{margin:6px}body>header nav li a{display:block;padding:10px;text-decoration:none;text-shadow:0 1px 0 white;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y0ZjRmNCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VjZWNlYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#ececec;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f4f4f4), color-stop(100%, #ececec)),#ececec;background:-moz-linear-gradient(#f4f4f4, #ececec),#ececec;background:-webkit-linear-gradient(#f4f4f4, #ececec),#ececec;background:linear-gradient(#f4f4f4, #ececec),#ececec;color:#666;text-shadow:1px 1px 0 #fff;text-decoration:none}body>header nav li a:hover,body>header nav li a:focus{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#ddd;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eee), color-stop(100%, #ddd)),#ddd;background:-moz-linear-gradient(#eee, #ddd),#ddd;background:-webkit-linear-gradient(#eee, #ddd),#ddd;background:linear-gradient(#eee, #ddd),#ddd;color:#333;text-decoration:none}body>header nav li a:active,body>header nav li a.active{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="),#eee;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddd), color-stop(100%, #eee)),#eee;background:-moz-linear-gradient(#ddd, #eee),#eee;background:-webkit-linear-gradient(#ddd, #eee),#eee;background:linear-gradient(#ddd, #eee),#eee;color:#333;text-decoration:none;text-shadow:-1px -1px 0 #eee}#messages{width:100%;height:10em;min-height:3em;overflow:auto;background:#fff;border-top:1px solid #fff}#messages table{overflow:hidden;*zoom:1;width:100%}#messages table thead tr{background:#eee;color:#333}#messages table thead tr th{padding:0.25em;font-weight:bold;color:#666;text-shadow:0 1px 0 white}#messages table tbody tr{cursor:pointer;-moz-transition:ease 0.1s;-o-transition:ease 0.1s;-webkit-transition:ease 0.1s;transition:ease 0.1s;color:#333}#messages table tbody tr:hover{color:#000}#messages table tbody tr:nth-child(even){background:#f0f0f0}#messages table tbody tr.selected{background:Highlight;color:HighlightText}#messages table tbody tr td{padding:0.25em}#messages table tbody tr td.blank{color:#666;font-style:italic}#resizer{padding-bottom:5px;cursor:ns-resize}#resizer .ruler{border-top:1px solid #ccc;border-bottom:1px solid #fff}#message{display:-moz-box;display:-webkit-box;display:box;-moz-box-orient:vertical;-webkit-box-orient:vertical;box-orient:vertical;-moz-box-flex:1;-webkit-box-flex:1;box-flex:1}#message>header{overflow:hidden;*zoom:1}#message>header .metadata{overflow:hidden;*zoom:1;padding:0.5em;padding-top:0}#message>header .metadata dt,#message>header .metadata dd{padding:0.25em}#message>header .metadata dt{float:left;clear:left;width:8em;margin-right:0.5em;text-align:right;font-weight:bold;color:#666;text-shadow:0 1px 0 white}#message>header .metadata dd.subject{font-weight:bold}#message>header .metadata .attachments{display:none}#message>header .metadata .attachments ul{display:inline}#message>header .metadata .attachments ul li{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;margin-right:0.5em}#message>header .views ul{padding:0 0.5em;border-bottom:1px solid #ccc}#message>header .views .tab{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}#message>header .views .tab a{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;padding:0.5em;border:1px solid #ccc;background:#ddd;color:#333;border-width:1px 1px 0 1px;cursor:pointer;text-shadow:0 1px 0 #eeeeee;text-decoration:none}#message>header .views .tab:not(.selected):hover a{background-color:#eee}#message>header .views .tab.selected a{background:#fff;color:#000;height:13px;-moz-box-shadow:1px 1px 0 #ccc;-webkit-box-shadow:1px 1px 0 #ccc;box-shadow:1px 1px 0 #ccc;margin-bottom:-2px;cursor:default}#message>header .views .action{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;float:right;margin:0 0.25em}.fractal-analysis{margin:12px 0}.fractal-analysis .report-intro{font-weight:bold}.fractal-analysis .report-intro.valid{color:#090}.fractal-analysis .report-intro.invalid{color:#c33}.fractal-analysis code{font-family:Monaco, "Courier New", Courier, monospace;background-color:#f8f8ff;color:#444;padding:0 0.2em;border:1px solid #dedede}.fractal-analysis ul{margin:1em 0 1em 1em;list-style-type:square}.fractal-analysis ol{margin:1em 0 1em 2em;list-style-type:decimal}.fractal-analysis ul li,.fractal-analysis ol li{display:list-item;margin:0.5em 0 0.5em 1em}.fractal-analysis .error-intro strong{font-weight:bold}.fractal-analysis .unsupported-clients dt{padding-left:1em}.fractal-analysis .unsupported-clients dd{padding-left:2em}.fractal-analysis .unsupported-clients dd ul li{display:list-item}iframe{display:-moz-box;display:-webkit-box;display:box;-moz-box-flex:1;-webkit-box-flex:1;box-flex:1;background:#fff}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){body>header h1{background-image:url(logo_2x.png)}}#noscript-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:rgba(0,0,0,0.5);cursor:default;outline:none}#noscript{display:block;max-width:100%;margin:2rem;padding:2rem;border-radius:0.5rem;background-color:#fff;box-shadow:0 0 1rem 0 rgba(0,0,0,0.4)}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
window.Modernizr=function(e,t,r){function n(e){h.cssText=e}function i(e,t){return typeof e===t}var o,a,s="2.7.1",u={},l=!0,c=t.documentElement,d="modernizr",f=t.createElement(d),h=f.style,p=({}.toString,{}),g=[],m=g.slice,y={}.hasOwnProperty;for(var v in a=i(y,"undefined")||i(y.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return y.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function b(r){var i=this;if("function"!=typeof i)throw new TypeError;var o=m.call(arguments,1),a=function(){if(this instanceof a){var e=function(){};e.prototype=i.prototype;var t=new e,n=i.apply(t,o.concat(m.call(arguments)));return Object(n)===n?n:t}return i.apply(r,o.concat(m.call(arguments)))};return a}),p)a(p,v)&&(o=v.toLowerCase(),u[o]=p[v](),g.push((u[o]?"":"no-")+o));return u.addTest=function(e,t){if("object"==typeof e)for(var n in e)a(e,n)&&u.addTest(n,e[n]);else{if(e=e.toLowerCase(),u[e]!==r)return u;t="function"==typeof t?t():t,void 0!==l&&l&&(c.className+=" "+(t?"":"no-")+e),u[e]=t}return u},n(""),f=null,function(e,a){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function s(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function u(e){var t=y[e[g]];return t||(t={},m++,e[g]=m,y[m]=t),t}function r(e,t,n){return t||(t=a),c?t.createElement(e):(n||(n=u(t)),!(r=n.cache[e]?n.cache[e].cloneNode():p.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||h.test(e)||r.tagUrn?r:n.frag.appendChild(r));var r}function t(e,t){if(e||(e=a),c)return e.createDocumentFragment();for(var n=(t=t||u(e)).frag.cloneNode(),r=0,i=s(),o=i.length;r<o;r++)n.createElement(i[r]);return n}function i(t,n){n.cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return v.shivMethods?r(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,n.frag)}function o(e){e||(e=a);var t=u(e);return!v.shivCSS||l||t.hasCSS||(t.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||i(e,t),e}var l,c,d="3.7.0",f=e.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",m=0,y={};!function(){try{var e=a.createElement("a");e.innerHTML="<xyz></xyz>",l="hidden"in e,c=1==e.childNodes.length||function(){a.createElement("a");var e=a.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){c=l=!0}}();var v={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:!1!==f.shivCSS,supportsUnknownElements:c,shivMethods:!1!==f.shivMethods,type:"default",shivDocument:o,createElement:r,createDocumentFragment:t};e.html5=v,o(a)}(this,t),u._version=s,c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(l?" js "+g.join(" "):""),u}(0,this.document),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(E,e){"use strict";function g(e,t,n){var r,i,o=(n=n||ue).createElement("script");if(o.text=e,t)for(r in we)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function m(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?pe[ge.call(e)]||"object":typeof e}function s(e){var t=!!e&&"length"in e&&e.length,n=m(e);return!xe(e)&&!Te(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function t(e,n,r){return xe(n)?Ee.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?Ee.grep(e,function(e){return e===n!==r}):"string"!=typeof n?Ee.grep(e,function(e){return-1<he.call(n,e)!==r}):Ee.filter(n,e,r)}function n(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var n={};return Ee.each(e.match(Ae)||[],function(e,t){n[t]=!0}),n}function d(e){return e}function f(e){throw e}function u(e,t,n,r){var i;try{e&&xe(i=e.promise)?i.call(e).done(t).fail(n):e&&xe(i=e.then)?i.call(e,t,n):t.apply(undefined,[e].slice(r))}catch(e){n.apply(undefined,[e])}}function r(){ue.removeEventListener("DOMContentLoaded",r),E.removeEventListener("load",r),Ee.ready()}function i(e,t){return t.toUpperCase()}function h(e){return e.replace(He,"ms-").replace($e,i)}function o(){this.expando=Ee.expando+o.uid++}function a(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Be.test(e)?JSON.parse(e):e)}function p(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(ze,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=a(n)}catch(i){}Ue.set(e,t,n)}else n=undefined;return n}function y(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return Ee.css(e,t,"")},u=s(),l=n&&n[3]||(Ee.cssNumber[t]?"":"px"),c=e.nodeType&&(Ee.cssNumber[t]||"px"!==l&&+u)&&Ge.exec(Ee.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)Ee.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,Ee.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function v(e){var t,n=e.ownerDocument,r=e.nodeName,i=et[r];return i||(t=n.body.appendChild(n.createElement(r)),i=Ee.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),et[r]=i)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Xe.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Qe(r)&&(i[o]=v(r))):"none"!==n&&(i[o]="none",Xe.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function x(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&l(e,t)?Ee.merge([e],n):n}function T(e,t){for(var n=0,r=e.length;n<r;n++)Xe.set(e[n],"globalEval",!t||Xe.get(t[n],"globalEval"))}function w(e,t,n,r,i){for(var o,a,s,u,l,c,d=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===m(o))Ee.merge(f,o.nodeType?[o]:o);else if(st.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(nt.exec(o)||["",""])[1].toLowerCase(),u=it[s]||it._default,a.innerHTML=u[1]+Ee.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;Ee.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",h=0;o=f[h++];)if(r&&-1<Ee.inArray(o,r))i&&i.push(o);else if(l=Ze(o),a=x(d.appendChild(o),"script"),l&&T(a),n)for(c=0;o=a[c++];)rt.test(o.type||"")&&n.push(o);return d}function D(){return!0}function S(){return!1}function _(e,t){return e===C()==("focus"===t)}function C(){try{return ue.activeElement}catch(e){}}function M(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=undefined),t)M(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=undefined):null==i&&("string"==typeof n?(i=r,r=undefined):(i=r,r=n,n=undefined)),!1===i)i=S;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return Ee().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Ee.guid++)),e.each(function(){Ee.event.add(this,t,i,r,n)})}function L(e,i,o){o?(Xe.set(e,i,!1),Ee.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Xe.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(Ee.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=ce.call(arguments),Xe.set(this,i,r),t=o(this,i),this[i](),r!==(n=Xe.get(this,i))||t?Xe.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Xe.set(this,i,{value:Ee.event.trigger(Ee.extend(r[0],Ee.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):Xe.get(e,i)===undefined&&Ee.event.add(e,i,D)}function k(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")&&Ee(e).children("tbody")[0]||e}function N(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function R(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function I(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Xe.hasData(e)&&(o=Xe.access(e),a=Xe.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)Ee.event.add(t,i,l[i][n]);Ue.hasData(e)&&(s=Ue.access(e),u=Ee.extend({},s),Ue.set(t,u))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&&tt.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function A(n,r,i,o){r=de.apply([],r);var e,t,a,s,u,l,c=0,d=n.length,f=d-1,h=r[0],p=xe(h);if(p||1<d&&"string"==typeof h&&!be.checkClone&&ht.test(h))return n.each(function(e){var t=n.eq(e);p&&(r[0]=h.call(this,e,t.html())),A(t,r,i,o)});if(d&&(t=(e=w(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=Ee.map(x(e,"script"),N)).length;c<d;c++)u=e,c!==f&&(u=Ee.clone(u,!0,!0),s&&Ee.merge(a,x(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,Ee.map(a,R),c=0;c<s;c++)u=a[c],rt.test(u.type||"")&&!Xe.access(u,"globalEval")&&Ee.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?Ee._evalUrl&&!u.noModule&&Ee._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")}):g(u.textContent.replace(pt,""),u,l))}return n}function P(e,t,n){for(var r,i=t?Ee.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||Ee.cleanData(x(r)),r.parentNode&&(n&&Ze(r)&&T(x(r,"script")),r.parentNode.removeChild(r));return e}function F(e,t,n){var r,i,o,a,s=e.style;return(n=n||mt(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||Ze(e)||(a=Ee.style(e,t)),!be.pixelBoxStyles()&>.test(a)&&yt.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),a!==undefined?a+"":a}function j(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function H(e){for(var t=e[0].toUpperCase()+e.slice(1),n=vt.length;n--;)if((e=vt[n]+t)in bt)return e}function $(e){var t=Ee.cssProps[e]||xt[e];return t||(e in bt?e:xt[e]=H(e)||e)}function q(e,t,n){var r=Ge.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function X(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=Ee.css(e,n+Ye[a],!0,i)),r?("content"===n&&(u-=Ee.css(e,"padding"+Ye[a],!0,i)),"margin"!==n&&(u-=Ee.css(e,"border"+Ye[a]+"Width",!0,i))):(u+=Ee.css(e,"padding"+Ye[a],!0,i),"padding"!==n?u+=Ee.css(e,"border"+Ye[a]+"Width",!0,i):s+=Ee.css(e,"border"+Ye[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function U(e,t,n){var r=mt(e),i=(!be.boxSizingReliable()||n)&&"border-box"===Ee.css(e,"boxSizing",!1,r),o=i,a=F(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(gt.test(a)){if(!n)return a;a="auto"}return(!be.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===Ee.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===Ee.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+X(e,t,n||(i?"border":"content"),o,r,a)+"px"}function B(e,t,n,r,i){return new B.prototype.init(e,t,n,r,i)}function z(){_t&&(!1===ue.hidden&&E.requestAnimationFrame?E.requestAnimationFrame(z):E.setTimeout(z,Ee.fx.interval),Ee.fx.tick())}function W(){return E.setTimeout(function(){St=undefined}),St=Date.now()}function G(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Ye[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Y(e,t,n){for(var r,i=(J.tweeners[t]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function V(e,t,n){var r,i,o,a,s,u,l,c,d="width"in t||"height"in t,f=this,h={},p=e.style,g=e.nodeType&&Qe(e),m=Xe.get(e,"fxshow");for(r in n.queue||(null==(a=Ee._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,Ee.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],Lt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||m[r]===undefined)continue;g=!0}h[r]=m&&m[r]||Ee.style(e,r)}if((u=!Ee.isEmptyObject(t))||!Ee.isEmptyObject(h))for(r in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=m&&m.display)&&(l=Xe.get(e,"display")),"none"===(c=Ee.css(e,"display"))&&(l?c=l:(b([e],!0),l=e.style.display||l,c=Ee.css(e,"display"),b([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===Ee.css(e,"float")&&(u||(f.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1,h)u||(m?"hidden"in m&&(g=m.hidden):m=Xe.access(e,"fxshow",{display:l}),o&&(m.hidden=!g),g&&b([e],!0),f.done(function(){for(r in g||b([e]),Xe.remove(e,"fxshow"),h)Ee.style(e,r,h[r])})),u=Y(g?m[r]:0,r,f),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}function Z(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=h(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Ee.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function J(o,e,t){var n,a,r=0,i=J.prefilters.length,s=Ee.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=St||W(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:Ee.extend({},e),opts:Ee.extend(!0,{specialEasing:{},easing:Ee.easing._default},t),originalProperties:e,originalOptions:t,startTime:St||W(),duration:t.duration,tweens:[],createTween:function(e,t){var n=Ee.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(Z(c,l.opts.specialEasing);r<i;r++)if(n=J.prefilters[r].call(l,o,c,l.opts))return xe(n.stop)&&(Ee._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return Ee.map(c,Y,l),xe(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),Ee.fx.timer(Ee.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}function Q(e){return(e.match(Ae)||[]).join(" ")}function K(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Ae)||[]}function te(n,e,r,i){var t;if(Array.isArray(e))Ee.each(e,function(e,t){r||qt.test(n)?i(n,t):te(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==m(e))i(n,e);else for(t in e)te(n+"["+t+"]",e[t],r,i)}function ne(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(Ae)||[];if(xe(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function re(t,i,o,a){function s(e){var r;return u[e]=!0,Ee.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||l||u[n]?l?!(r=n):void 0:(i.dataTypes.unshift(n),s(n),!1)}),r}var u={},l=t===Kt;return s(i.dataTypes[0])||!u["*"]&&s("*")}function ie(e,t){var n,r,i=Ee.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&Ee.extend(!0,e,r),e}function oe(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),r===undefined&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function ae(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var se=[],ue=E.document,le=Object.getPrototypeOf,ce=se.slice,de=se.concat,fe=se.push,he=se.indexOf,pe={},ge=pe.toString,me=pe.hasOwnProperty,ye=me.toString,ve=ye.call(Object),be={},xe=function xe(e){return"function"==typeof e&&"number"!=typeof e.nodeType},Te=function Te(e){return null!=e&&e===e.window},we={type:!0,src:!0,nonce:!0,noModule:!0},De="3.4.1",Ee=function(e,t){return new Ee.fn.init(e,t)},Se=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Ee.fn=Ee.prototype={jquery:De,constructor:Ee,length:0,toArray:function(){return ce.call(this)},get:function(e){return null==e?ce.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Ee.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Ee.each(this,e)},map:function(n){return this.pushStack(Ee.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ce.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:fe,sort:se.sort,splice:se.splice},Ee.extend=Ee.fn.extend=function(e){var t,n,r,i,o,a,s=e||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"==typeof s||xe(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(n in t)i=t[n],"__proto__"!==n&&s!==i&&(c&&i&&(Ee.isPlainObject(i)||(o=Array.isArray(i)))?(r=s[n],a=o&&!Array.isArray(r)?[]:o||Ee.isPlainObject(r)?r:{},o=!1,s[n]=Ee.extend(c,a,i)):i!==undefined&&(s[n]=i));return s},Ee.extend({expando:"jQuery"+(De+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ge.call(e))&&(!(t=le(e))||"function"==typeof(n=me.call(t,"constructor")&&t.constructor)&&ye.call(n)===ve)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){g(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(s(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(Se,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?Ee.merge(n,"string"==typeof e?[e]:e):fe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:he.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(s(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return de.apply([],a)},guid:1,support:be}),"function"==typeof Symbol&&(Ee.fn[Symbol.iterator]=se[Symbol.iterator]),Ee.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var _e=function(n){function x(e,t,n,r){var i,o,a,s,u,l,c,d=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!r&&((t?t.ownerDocument||t:q)!==I&&R(t),t=t||I,A)){if(11!==f&&(u=be.exec(e)))if(i=u[1]){if(9===f){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(d&&(a=d.getElementById(i))&&H(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return K.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&w.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(i)),n}if(w.qsa&&!G[e+" "]&&(!P||!P.test(e))&&(1!==f||"object"!==t.nodeName.toLowerCase())){if(c=e,d=t,1===f&&de.test(e)){for((s=t.getAttribute("id"))?s=s.replace(De,Ee):t.setAttribute("id",s=$),o=(l=_(e)).length;o--;)l[o]="#"+s+" "+g(l[o]);c=l.join(","),d=xe.test(e)&&p(t.parentNode)||t}try{return K.apply(n,d.querySelectorAll(c)),n}catch(h){G(e,!0)}finally{s===$&&t.removeAttribute("id")}}}return M(e.replace(ue,"$1"),t,n,r)}function e(){function n(e,t){return r.push(e+" ")>D.cacheLength&&delete n[r.shift()],n[e+" "]=t}var r=[];return n}function u(e){return e[$]=!0,e}function i(e){var t=I.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function t(e,t){for(var n=e.split("|"),r=n.length;r--;)D.attrHandle[n[r]]=t}function l(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function r(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function o(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function a(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&_e(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function s(a){return u(function(o){return o=+o,u(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function c(){}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(s,e,t){var u=e.dir,l=e.next,c=l||u,d=t&&"parentNode"===c,f=U++;return e.first?function(e,t,n){for(;e=e[u];)if(1===e.nodeType||d)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[X,f];if(n){for(;e=e[u];)if((1===e.nodeType||d)&&s(e,t,n))return!0}else for(;e=e[u];)if(1===e.nodeType||d)if(i=(o=e[$]||(e[$]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===X&&r[1]===f)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function f(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function v(e,t,n){for(var r=0,i=t.length;r<i;r++)x(e,t[r],n);return n}function T(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function b(h,p,g,m,y,e){return m&&!m[$]&&(m=b(m)),y&&!y[$]&&(y=b(y,e)),u(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||v(p||"*",n.nodeType?[n]:n,[]),d=!h||!e&&p?c:T(c,s,h,n,r),f=g?y||(e?h:l||m)?[]:t:d;if(g&&g(d,f,n,r),m)for(i=T(f,u),m(i,[],n,r),o=i.length;o--;)(a=i[o])&&(f[u[o]]=!(d[u[o]]=a));if(e){if(y||h){if(y){for(i=[],o=f.length;o--;)(a=f[o])&&i.push(d[o]=a);y(null,f=[],i,r)}for(o=f.length;o--;)(a=f[o])&&-1<(i=y?te(e,a):s[o])&&(e[i]=!(t[i]=a))}}else f=T(f===t?f.splice(l,f.length):f),y?y(null,t,f,r):K.apply(t,f)})}function h(e){for(var i,t,n,r=e.length,o=D.relative[e[0].type],a=o||D.relative[" "],s=o?1:0,u=d(function(e){return e===i},a,!0),l=d(function(e){return-1<te(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==L)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=D.relative[e[s].type])c=[d(f(c),t)];else{if((t=D.filter[e[s].type].apply(null,e[s].matches))[$]){for(n=++s;n<r&&!D.relative[e[n].type];n++);return b(1<s&&f(c),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ue,"$1"),t,s<n&&h(e.slice(s,n)),n<r&&h(e=e.slice(n)),n<r&&g(e))}c.push(t)}return f(c)}function m(m,y){var v=0<y.length,b=0<m.length,e=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],d=[],f=L,h=e||b&&D.find.TAG("*",i),p=X+=null==f?1:Math.random()||.1,g=h.length;for(i&&(L=t===I||t||i);l!==g&&null!=(o=h[l]);l++){if(b&&o){for(a=0,t||o.ownerDocument===I||(R(o),n=!A);s=m[a++];)if(s(o,t||I,n)){r.push(o);break}i&&(X=p)}v&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,v&&l!==u){for(a=0;s=y[a++];)s(c,d,t,n);if(e){if(0<u)for(;l--;)c[l]||d[l]||(d[l]=J.call(r));d=T(d)}K.apply(r,d),i&&!e&&0<d.length&&1<u+y.length&&x.uniqueSort(r)}return i&&(X=p,L=f),c};return v?u(e):e}var y,w,D,E,S,_,C,M,L,k,N,R,I,O,A,P,F,j,H,$="sizzle"+1*new Date,q=n.document,X=0,U=0,B=e(),z=e(),W=e(),G=e(),Y=function(e,t){return e===t&&(N=!0),0},V={}.hasOwnProperty,Z=[],J=Z.pop,Q=Z.push,K=Z.push,ee=Z.slice,te=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",oe="\\["+re+"*("+ie+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+re+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(re+"+","g"),ue=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),le=new RegExp("^"+re+"*,"+re+"*"),ce=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),de=new RegExp(re+"|>"),fe=new RegExp(ae),he=new RegExp("^"+ie+"$"),pe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},ge=/HTML$/i,me=/^(?:input|select|textarea|button)$/i,ye=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xe=/[+~]/,Te=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},De=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ee=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Se=function(){R()},_e=d(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{K.apply(Z=ee.call(q.childNodes),q.childNodes),Z[q.childNodes.length].nodeType}catch(Ce){K={apply:Z.length?function(e,t){Q.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(y in w=x.support={},S=x.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!ge.test(t||n&&n.nodeName||"HTML")},R=x.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:q;return r!==I&&9===r.nodeType&&r.documentElement&&(O=(I=r).documentElement,A=!S(I),q!==I&&(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Se,!1):n.attachEvent&&n.attachEvent("onunload",Se)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(I.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(I.getElementsByClassName),w.getById=i(function(e){return O.appendChild(e).id=$,!I.getElementsByName||!I.getElementsByName($).length}),w.getById?(D.filter.ID=function(e){var t=e.replace(Te,we);return function(e){return e.getAttribute("id")===t}},D.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&A){var n=t.getElementById(e);return n?[n]:[]}}):(D.filter.ID=function(e){var n=e.replace(Te,we);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},D.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&A){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),D.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},D.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&A)return t.getElementsByClassName(e)},F=[],P=[],(w.qsa=ve.test(I.querySelectorAll))&&(i(function(e){O.appendChild(e).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||P.push("\\["+re+"*(?:value|"+ne+")"),e.querySelectorAll("[id~="+$+"-]").length||P.push("~="),e.querySelectorAll(":checked").length||P.push(":checked"),e.querySelectorAll("a#"+$+"+*").length||P.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=I.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&P.push("name"+re+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&P.push(":enabled",":disabled"),O.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.push(",.*:")})),(w.matchesSelector=ve.test(j=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&i(function(e){w.disconnectedMatch=j.call(e,"*"),j.call(e,"[s!='']:x"),F.push("!=",ae)}),P=P.length&&new RegExp(P.join("|")),F=F.length&&new RegExp(F.join("|")),t=ve.test(O.compareDocumentPosition),H=t||ve.test(O.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=t?function(e,t){if(e===t)return N=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===I||e.ownerDocument===q&&H(q,e)?-1:t===I||t.ownerDocument===q&&H(q,t)?1:k?te(k,e)-te(k,t):0:4&n?-1:1)}:function(e,t){if(e===t)return N=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===I?-1:t===I?1:i?-1:o?1:k?te(k,e)-te(k,t):0;if(i===o)return l(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?l(a[r],s[r]):a[r]===q?-1:s[r]===q?1:0}),I},x.matches=function(e,t){return x(e,null,null,t)},x.matchesSelector=function(e,t){if((e.ownerDocument||e)!==I&&R(e),w.matchesSelector&&A&&!G[t+" "]&&(!F||!F.test(t))&&(!P||!P.test(t)))try{var n=j.call(e,t);if(n||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ce){G(t,!0)}return 0<x(t,I,null,[e]).length},x.contains=function(e,t){return(e.ownerDocument||e)!==I&&R(e),H(e,t)},x.attr=function(e,t){(e.ownerDocument||e)!==I&&R(e);var n=D.attrHandle[t.toLowerCase()],r=n&&V.call(D.attrHandle,t.toLowerCase())?n(e,t,!A):undefined;return r!==undefined?r:w.attributes||!A?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},x.escape=function(e){return(e+"").replace(De,Ee)},x.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},x.uniqueSort=function(e){var t,n=[],r=0,i=0;if(N=!w.detectDuplicates,k=!w.sortStable&&e.slice(0),e.sort(Y),N){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return k=null,e},E=x.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=E(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=E(t)
|
2
|
-
;return n},(D=x.selectors={cacheLength:50,createPseudo:u,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Te,we),e[3]=(e[3]||e[4]||e[5]||"").replace(Te,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||x.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&x.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=_(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Te,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=x.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(se," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,g,m){var y="nth"!==p.slice(0,3),v="last"!==p.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==v?"nextSibling":"previousSibling",c=e.parentNode,d=b&&e.nodeName.toLowerCase(),f=!n&&!b,h=!1;if(c){if(y){for(;l;){for(a=e;a=a[l];)if(b?a.nodeName.toLowerCase()===d:1===a.nodeType)return!1;u=l="only"===p&&!u&&"nextSibling"}return!0}if(u=[v?c.firstChild:c.lastChild],v&&f){for(h=(s=(r=(i=(o=(a=c)[$]||(a[$]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]||[])[0]===X&&r[1])&&r[2],a=s&&c.childNodes[s];a=++s&&a&&a[l]||(h=s=0)||u.pop();)if(1===a.nodeType&&++h&&a===e){i[p]=[X,s,h];break}}else if(f&&(h=s=(r=(i=(o=(a=e)[$]||(a[$]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]||[])[0]===X&&r[1]),!1===h)for(;(a=++s&&a&&a[l]||(h=s=0)||u.pop())&&((b?a.nodeName.toLowerCase()!==d:1!==a.nodeType)||!++h||(f&&((i=(o=a[$]||(a[$]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]=[X,h]),a!==e)););return(h-=m)===g||h%g==0&&0<=h/g}}},PSEUDO:function(e,o){var t,a=D.pseudos[e]||D.setFilters[e.toLowerCase()]||x.error("unsupported pseudo: "+e);return a[$]?a(o):1<a.length?(t=[e,e,"",o],D.setFilters.hasOwnProperty(e.toLowerCase())?u(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=te(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:u(function(e){var r=[],i=[],s=C(e.replace(ue,"$1"));return s[$]?u(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:u(function(t){return function(e){return 0<x(t,e).length}}),contains:u(function(t){return t=t.replace(Te,we),function(e){return-1<(e.textContent||E(e)).indexOf(t)}}),lang:u(function(n){return he.test(n||"")||x.error("unsupported lang: "+n),n=n.replace(Te,we).toLowerCase(),function(e){var t;do{if(t=A?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===O},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!D.pseudos.empty(e)},header:function(e){return ye.test(e.nodeName)},input:function(e){return me.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:s(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=D.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})D.pseudos[y]=r(y);for(y in{submit:!0,reset:!0})D.pseudos[y]=o(y);return c.prototype=D.filters=D.pseudos,D.setFilters=new c,_=x.tokenize=function(e,t){var n,r,i,o,a,s,u,l=z[e+" "];if(l)return t?0:l.slice(0);for(a=e,s=[],u=D.preFilter;a;){for(o in n&&!(r=le.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=ce.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ue," ")}),a=a.slice(n.length)),D.filter)!(r=pe[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?x.error(e):z(e,s).slice(0)},C=x.compile=function(e,t){var n,r=[],i=[],o=W[e+" "];if(!o){for(t||(t=_(e)),n=t.length;n--;)(o=h(t[n]))[$]?r.push(o):i.push(o);(o=W(e,m(i,r))).selector=e}return o},M=x.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&_(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&A&&D.relative[o[1].type]){if(!(t=(D.find.ID(a.matches[0].replace(Te,we),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!D.relative[s=a.type]);)if((u=D.find[s])&&(r=u(a.matches[0].replace(Te,we),xe.test(o[0].type)&&p(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return K.apply(n,r),n;break}}return(l||C(e,c))(r,t,!A,n,!t||xe.test(e)&&p(t.parentNode)||t),n},w.sortStable=$.split("").sort(Y).join("")===$,w.detectDuplicates=!!N,R(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(I.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||t("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||t("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||t(ne,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),x}(E);Ee.find=_e,Ee.expr=_e.selectors,Ee.expr[":"]=Ee.expr.pseudos,Ee.uniqueSort=Ee.unique=_e.uniqueSort,Ee.text=_e.getText,Ee.isXMLDoc=_e.isXML,Ee.contains=_e.contains,Ee.escapeSelector=_e.escape;var Ce=function(e,t,n){for(var r=[],i=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&Ee(e).is(n))break;r.push(e)}return r},Me=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Le=Ee.expr.match.needsContext,ke=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ee.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ee.find.matchesSelector(r,e)?[r]:[]:Ee.find.matches(e,Ee.grep(t,function(e){return 1===e.nodeType}))},Ee.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(Ee(e).filter(function(){for(t=0;t<r;t++)if(Ee.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)Ee.find(e,i[t],n);return 1<r?Ee.uniqueSort(n):n},filter:function(e){return this.pushStack(t(this,e||[],!1))},not:function(e){return this.pushStack(t(this,e||[],!0))},is:function(e){return!!t(this,"string"==typeof e&&Le.test(e)?Ee(e):e||[],!1).length}});var Ne,Re=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ee.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ne,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):xe(e)?n.ready!==undefined?n.ready(e):e(Ee):Ee.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Re.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ee?t[0]:t,Ee.merge(this,Ee.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ue,!0)),ke.test(r[1])&&Ee.isPlainObject(t))for(r in t)xe(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=ue.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=Ee.fn,Ne=Ee(ue);var Ie=/^(?:parents|prev(?:Until|All))/,Oe={children:!0,contents:!0,next:!0,prev:!0};Ee.fn.extend({has:function(e){var t=Ee(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Ee.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&Ee(e);if(!Le.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&Ee.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?Ee.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?he.call(Ee(e),this[0]):he.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Ee.uniqueSort(Ee.merge(this.get(),Ee(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ee.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ce(e,"parentNode")},parentsUntil:function(e,t,n){return Ce(e,"parentNode",n)},next:function(e){return n(e,"nextSibling")},prev:function(e){return n(e,"previousSibling")},nextAll:function(e){return Ce(e,"nextSibling")},prevAll:function(e){return Ce(e,"previousSibling")},nextUntil:function(e,t,n){return Ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ce(e,"previousSibling",n)},siblings:function(e){return Me((e.parentNode||{}).firstChild,e)},children:function(e){return Me(e.firstChild)},contents:function(e){return"undefined"!=typeof e.contentDocument?e.contentDocument:(l(e,"template")&&(e=e.content||e),Ee.merge([],e.childNodes))}},function(r,i){Ee.fn[r]=function(e,t){var n=Ee.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=Ee.filter(t,n)),1<this.length&&(Oe[r]||Ee.uniqueSort(n),Ie.test(r)&&n.reverse()),this.pushStack(n)}});var Ae=/[^\x20\t\r\n\f]+/g;Ee.Callbacks=function(r){r="string"==typeof r?c(r):Ee.extend({},r);var i,e,t,n,o=[],a=[],s=-1,u=function(){for(n=n||r.once,t=i=!0;a.length;s=-1)for(e=a.shift();++s<o.length;)!1===o[s].apply(e[0],e[1])&&r.stopOnFalse&&(s=o.length,e=!1);r.memory||(e=!1),i=!1,n&&(o=e?[]:"")},l={add:function(){return o&&(e&&!i&&(s=o.length-1,a.push(e)),function n(e){Ee.each(e,function(e,t){xe(t)?r.unique&&l.has(t)||o.push(t):t&&t.length&&"string"!==m(t)&&n(t)})}(arguments),e&&!i&&u()),this},remove:function(){return Ee.each(arguments,function(e,t){for(var n;-1<(n=Ee.inArray(t,o,n));)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<Ee.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=e="",this},disabled:function(){return!o},lock:function(){return n=a=[],e||i||(o=e=""),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),i||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!t}};return l},Ee.extend({Deferred:function(e){var o=[["notify","progress",Ee.Callbacks("memory"),Ee.Callbacks("memory"),2],["resolve","done",Ee.Callbacks("once memory"),Ee.Callbacks("once memory"),0,"resolved"],["reject","fail",Ee.Callbacks("once memory"),Ee.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return Ee.Deferred(function(r){Ee.each(o,function(e,t){var n=xe(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&xe(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){function l(o,a,s,u){return function(){var n=this,r=arguments,t=function(){var e,t;if(!(o<c)){if((e=s.apply(n,r))===a.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,xe(t)?u?t.call(e,l(c,a,d,u),l(c,a,f,u)):(c++,t.call(e,l(c,a,d,u),l(c,a,f,u),l(c,a,d,a.notifyWith))):(s!==d&&(n=undefined,r=[e]),(u||a.resolveWith)(n,r))}},i=u?t:function(){try{t()}catch(e){Ee.Deferred.exceptionHook&&Ee.Deferred.exceptionHook(e,i.stackTrace),c<=o+1&&(s!==f&&(n=undefined,r=[e]),a.rejectWith(n,r))}};o?i():(Ee.Deferred.getStackHook&&(i.stackTrace=Ee.Deferred.getStackHook()),E.setTimeout(i))}}var c=0;return Ee.Deferred(function(e){o[0][3].add(l(0,e,xe(r)?r:d,e.notifyWith)),o[1][3].add(l(0,e,xe(t)?t:d)),o[2][3].add(l(0,e,xe(n)?n:f))}).promise()},promise:function(e){return null!=e?Ee.extend(e,a):a}},s={};return Ee.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?undefined:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ce.call(arguments),o=Ee.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ce.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(u(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||xe(i[t]&&i[t].then)))return o.then();for(;t--;)u(i[t],a(t),o.reject);return o.promise()}});var Pe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ee.Deferred.exceptionHook=function(e,t){E.console&&E.console.warn&&e&&Pe.test(e.name)&&E.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Ee.readyException=function(e){E.setTimeout(function(){throw e})};var Fe=Ee.Deferred();Ee.fn.ready=function(e){return Fe.then(e)["catch"](function(e){Ee.readyException(e)}),this},Ee.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Ee.readyWait:Ee.isReady)||(Ee.isReady=!0)!==e&&0<--Ee.readyWait||Fe.resolveWith(ue,[Ee])}}),Ee.ready.then=Fe.then,"complete"===ue.readyState||"loading"!==ue.readyState&&!ue.documentElement.doScroll?E.setTimeout(Ee.ready):(ue.addEventListener("DOMContentLoaded",r),E.addEventListener("load",r));var je=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===m(n))for(s in i=!0,n)je(e,t,s,n[s],!0,o,a);else if(r!==undefined&&(i=!0,xe(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(Ee(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},He=/^-ms-/,$e=/-([a-z])/g,qe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};o.uid=1,o.prototype={cache:function(e){var t=e[this.expando];return t||(t={},qe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[h(t)]=n;else for(r in t)i[h(r)]=t[r];return i},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(h):(t=h(t))in r?[t]:t.match(Ae)||[]).length;for(;n--;)delete r[t[n]]}(t===undefined||Ee.isEmptyObject(r))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!Ee.isEmptyObject(t)}};var Xe=new o,Ue=new o,Be=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ze=/[A-Z]/g;Ee.extend({hasData:function(e){return Ue.hasData(e)||Xe.hasData(e)},data:function(e,t,n){return Ue.access(e,t,n)},removeData:function(e,t){Ue.remove(e,t)},_data:function(e,t,n){return Xe.access(e,t,n)},_removeData:function(e,t){Xe.remove(e,t)}}),Ee.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(n!==undefined)return"object"==typeof n?this.each(function(){Ue.set(this,n)}):je(this,function(e){var t;if(o&&e===undefined)return(t=Ue.get(o,n))!==undefined?t:(t=p(o,n))!==undefined?t:void 0;this.each(function(){Ue.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=Ue.get(o),1===o.nodeType&&!Xe.get(o,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=h(r.slice(5)),p(o,r,i[r]));Xe.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){Ue.remove(this,e)})}}),Ee.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Xe.get(e,t),n&&(!r||Array.isArray(n)?r=Xe.access(e,t,Ee.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ee.queue(e,t),r=n.length,i=n.shift(),o=Ee._queueHooks(e,t),a=function(){Ee.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Xe.get(e,n)||Xe.access(e,n,{empty:Ee.Callbacks("once memory").add(function(){Xe.remove(e,[t+"queue",n])})})}}),Ee.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?Ee.queue(this[0],t):n===undefined?this:this.each(function(){var e=Ee.queue(this,t,n);Ee._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&Ee.dequeue(this,t)})},dequeue:function(e){return this.each(function(){Ee.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ee.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";a--;)(n=Xe.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var We=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ge=new RegExp("^(?:([+-])=|)("+We+")([a-z%]*)$","i"),Ye=["Top","Right","Bottom","Left"],Ve=ue.documentElement,Ze=function(e){return Ee.contains(e.ownerDocument,e)},Je={composed:!0};Ve.getRootNode&&(Ze=function(e){return Ee.contains(e.ownerDocument,e)||e.getRootNode(Je)===e.ownerDocument});var Qe=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&Ze(e)&&"none"===Ee.css(e,"display")},Ke=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i},et={};Ee.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Qe(this)?Ee(this).show():Ee(this).hide()})}});var tt=/^(?:checkbox|radio)$/i,nt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,rt=/^$|^module$|\/(?:java|ecma)script/i,it={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};it.optgroup=it.option,it.tbody=it.tfoot=it.colgroup=it.caption=it.thead,it.th=it.td;var ot,at,st=/<|&#?\w+;/;ot=ue.createDocumentFragment().appendChild(ue.createElement("div")),(at=ue.createElement("input")).setAttribute("type","radio"),at.setAttribute("checked","checked"),at.setAttribute("name","t"),ot.appendChild(at),be.checkClone=ot.cloneNode(!0).cloneNode(!0).lastChild.checked,ot.innerHTML="<textarea>x</textarea>",be.noCloneChecked=!!ot.cloneNode(!0).lastChild.defaultValue;var ut=/^key/,lt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ct=/^([^.]*)(?:\.(.+)|)/;Ee.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,d,f,h,p,g,m=Xe.get(t);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&Ee.find.matchesSelector(Ve,i),n.guid||(n.guid=Ee.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==Ee&&Ee.event.triggered!==e.type?Ee.event.dispatch.apply(t,arguments):undefined}),l=(e=(e||"").match(Ae)||[""]).length;l--;)h=g=(s=ct.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(d=Ee.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=Ee.event.special[h]||{},c=Ee.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ee.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=u[h])||((f=u[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),Ee.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,h,p,g,m=Xe.hasData(e)&&Xe.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(Ae)||[""]).length;l--;)if(h=g=(s=ct.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(d=Ee.event.special[h]||{},f=u[h=(r?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,m.handle)||Ee.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)Ee.event.remove(e,h+t[l],n,r,!0);Ee.isEmptyObject(u)&&Xe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=Ee.event.fix(e),u=new Array(arguments.length),l=(Xe.get(this,"events")||{})[s.type]||[],c=Ee.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=Ee.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,(r=((Ee.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))!==undefined&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)a[i=(r=t[n]).selector+" "]===undefined&&(a[i]=r.needsContext?-1<Ee(i,this).index(l):Ee.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(Ee.Event.prototype,t,{enumerable:!0,configurable:!0,get:xe(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[Ee.expando]?e:new Ee.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return tt.test(t.type)&&t.click&&l(t,"input")&&L(t,"click",D),!1},trigger:function(e){var t=this||e;return tt.test(t.type)&&t.click&&l(t,"input")&&L(t,"click"),!0},_default:function(e){var t=e.target;return tt.test(t.type)&&t.click&&l(t,"input")&&Xe.get(t,"click")||l(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Ee.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Ee.Event=function(e,t){if(!(this instanceof Ee.Event))return new Ee.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?D:S,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Ee.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Ee.expando]=!0},Ee.Event.prototype={constructor:Ee.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=D,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=D,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=D,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Ee.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&ut.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&t!==undefined&<.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},Ee.event.addProp),Ee.each({focus:"focusin",blur:"focusout"},function(e,t){Ee.event.special[e]={setup:function(){return L(this,e,_),!1},trigger:function(){return L(this,e),!0},delegateType:t}}),Ee.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){Ee.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===n||Ee.contains(n,r))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),Ee.fn.extend({on:function(e,t,n,r){return M(this,e,t,n,r)},one:function(e,t,n,r){return M(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ee(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=S),this.each(function(){Ee.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ft=/<script|<style|<link/i,ht=/checked\s*(?:[^=]|=\s*.checked.)/i,pt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Ee.extend({htmlPrefilter:function(e){return e.replace(dt,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=Ze(e);if(!(be.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ee.isXMLDoc(e)))for(a=x(s),r=0,i=(o=x(e)).length;r<i;r++)O(o[r],a[r]);if(t)if(n)for(o=o||x(e),a=a||x(s),r=0,i=o.length;r<i;r++)I(o[r],a[r]);else I(e,s);return 0<(a=x(s,"script")).length&&T(a,!u&&x(e,"script")),s},cleanData:function(e){for(var t,n,r,i=Ee.event.special,o=0;(n=e[o])!==undefined;o++)if(qe(n)){if(t=n[Xe.expando]){if(t.events)for(r in t.events)i[r]?Ee.event.remove(n,r):Ee.removeEvent(n,r,t.handle);n[Xe.expando]=undefined}n[Ue.expando]&&(n[Ue.expando]=undefined)}}}),Ee.fn.extend({detach:function(e){return P(this,e,!0)},remove:function(e){return P(this,e)},text:function(e){return je(this,function(e){return e===undefined?Ee.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return A(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||k(this,e).appendChild(e)})},prepend:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Ee.cleanData(x(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ee.clone(this,e,t)})},html:function(e){return je(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ft.test(e)&&!it[(nt.exec(e)||["",""])[1].toLowerCase()]){e=Ee.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Ee.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return A(this,arguments,function(e){var t=this.parentNode;Ee.inArray(this,n)<0&&(Ee.cleanData(x(this)),t&&t.replaceChild(e,this))},n)}}),Ee.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){Ee.fn[e]=function(e){for(var t,n=[],r=Ee(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),Ee(r[o])[a](t),fe.apply(n,t.get());return this.pushStack(n)}});var gt=new RegExp("^("+We+")(?!px)[a-z%]+$","i"),mt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=E),t.getComputedStyle(e)},yt=new RegExp(Ye.join("|"),"i");!function(){function e(){if(u){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ve.appendChild(s).appendChild(u);var e=E.getComputedStyle(u);n="1%"!==e.top,a=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),r=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),Ve.removeChild(s),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s=ue.createElement("div"),u=ue.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",be.clearCloneStyle="content-box"===u.style.backgroundClip,Ee.extend(be,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),a},scrollboxSize:function(){return e(),i}}))}();var vt=["Webkit","Moz","ms"],bt=ue.createElement("div").style,xt={},Tt=/^(none|table(?!-c[ea]).+)/,wt=/^--/,Dt={position:"absolute",visibility:"hidden",display:"block"},Et={letterSpacing:"0",fontWeight:"400"};Ee.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=F(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=h(t),u=wt.test(t),l=e.style;if(u||(t=$(s)),a=Ee.cssHooks[t]||Ee.cssHooks[s],n===undefined)return a&&"get"in a&&(i=a.get(e,!1,r))!==undefined?i:l[t];"string"===(o=typeof n)&&(i=Ge.exec(n))&&i[1]&&(n=y(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(Ee.cssNumber[s]?"":"px")),be.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===undefined||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=h(t);return wt.test(t)||(t=$(s)),(a=Ee.cssHooks[t]||Ee.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),i===undefined&&(i=F(e,t,r)),"normal"===i&&t in Et&&(i=Et[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),Ee.each(["height","width"],function(e,u){Ee.cssHooks[u]={get:function(e,t,n){if(t)return!Tt.test(Ee.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?U(e,u,n):Ke(e,Dt,function(){return U(e,u,n)})},set:function(e,t,n){var r,i=mt(e),o=!be.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===Ee.css(e,"boxSizing",!1,i),s=n?X(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-X(e,u,"border",!1,i)-.5)),s&&(r=Ge.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=Ee.css(e,u)),q(e,t,s)}}}),Ee.cssHooks.marginLeft=j(be.reliableMarginLeft,function(e,t){if(t)return(parseFloat(F(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Ee.each({margin:"",padding:"",border:"Width"},function(i,o){
|
3
|
-
Ee.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Ye[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(Ee.cssHooks[i+o].set=q)}),Ee.fn.extend({css:function(e,t){return je(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=mt(e),i=t.length;a<i;a++)o[t[a]]=Ee.css(e,t[a],!1,r);return o}return n!==undefined?Ee.style(e,t,n):Ee.css(e,t)},e,t,1<arguments.length)}}),(Ee.Tween=B).prototype={constructor:B,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||Ee.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Ee.cssNumber[n]?"":"px")},cur:function(){var e=B.propHooks[this.prop];return e&&e.get?e.get(this):B.propHooks._default.get(this)},run:function(e){var t,n=B.propHooks[this.prop];return this.options.duration?this.pos=t=Ee.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Ee.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Ee.fx.step[e.prop]?Ee.fx.step[e.prop](e):1!==e.elem.nodeType||!Ee.cssHooks[e.prop]&&null==e.elem.style[$(e.prop)]?e.elem[e.prop]=e.now:Ee.style(e.elem,e.prop,e.now+e.unit)}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ee.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Ee.fx=B.prototype.init,Ee.fx.step={};var St,_t,Ct,Mt,Lt=/^(?:toggle|show|hide)$/,kt=/queueHooks$/;Ee.Animation=Ee.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return y(n.elem,e,Ge.exec(t),n),n}]},tweener:function(e,t){xe(e)?(t=e,e=["*"]):e=e.match(Ae);for(var n,r=0,i=e.length;r<i;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[V],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),Ee.speed=function(e,t,n){var r=e&&"object"==typeof e?Ee.extend({},e):{complete:n||!n&&t||xe(e)&&e,duration:e,easing:n&&t||t&&!xe(t)&&t};return Ee.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Ee.fx.speeds?r.duration=Ee.fx.speeds[r.duration]:r.duration=Ee.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){xe(r.old)&&r.old.call(this),r.queue&&Ee.dequeue(this,r.queue)},r},Ee.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Qe).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=Ee.isEmptyObject(t),o=Ee.speed(e,n,r),a=function(){var e=J(this,Ee.extend({},t),o);(i||Xe.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=undefined),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=Ee.timers,r=Xe.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&kt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||Ee.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Xe.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=Ee.timers,o=n?n.length:0;for(t.finish=!0,Ee.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),Ee.each(["toggle","show","hide"],function(e,r){var i=Ee.fn[r];Ee.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(G(r,!0),e,t,n)}}),Ee.each({slideDown:G("show"),slideUp:G("hide"),slideToggle:G("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){Ee.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),Ee.timers=[],Ee.fx.tick=function(){var e,t=0,n=Ee.timers;for(St=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Ee.fx.stop(),St=undefined},Ee.fx.timer=function(e){Ee.timers.push(e),Ee.fx.start()},Ee.fx.interval=13,Ee.fx.start=function(){_t||(_t=!0,z())},Ee.fx.stop=function(){_t=null},Ee.fx.speeds={slow:600,fast:200,_default:400},Ee.fn.delay=function(r,e){return r=Ee.fx&&Ee.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=E.setTimeout(e,r);t.stop=function(){E.clearTimeout(n)}})},Ct=ue.createElement("input"),Mt=ue.createElement("select").appendChild(ue.createElement("option")),Ct.type="checkbox",be.checkOn=""!==Ct.value,be.optSelected=Mt.selected,(Ct=ue.createElement("input")).value="t",Ct.type="radio",be.radioValue="t"===Ct.value;var Nt,Rt=Ee.expr.attrHandle;Ee.fn.extend({attr:function(e,t){return je(this,Ee.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){Ee.removeAttr(this,e)})}}),Ee.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?Ee.prop(e,t,n):(1===o&&Ee.isXMLDoc(e)||(i=Ee.attrHooks[t.toLowerCase()]||(Ee.expr.match.bool.test(t)?Nt:undefined)),n!==undefined?null===n?void Ee.removeAttr(e,t):i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=Ee.find.attr(e,t))?undefined:r)},attrHooks:{type:{set:function(e,t){if(!be.radioValue&&"radio"===t&&l(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Ae);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Nt={set:function(e,t,n){return!1===t?Ee.removeAttr(e,n):e.setAttribute(n,n),n}},Ee.each(Ee.expr.match.bool.source.match(/\w+/g),function(e,t){var a=Rt[t]||Ee.find.attr;Rt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=Rt[o],Rt[o]=r,r=null!=a(e,t,n)?o:null,Rt[o]=i),r}});var It=/^(?:input|select|textarea|button)$/i,Ot=/^(?:a|area)$/i;Ee.fn.extend({prop:function(e,t){return je(this,Ee.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[Ee.propFix[e]||e]})}}),Ee.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Ee.isXMLDoc(e)||(t=Ee.propFix[t]||t,i=Ee.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ee.find.attr(e,"tabindex");return t?parseInt(t,10):It.test(e.nodeName)||Ot.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),be.optSelected||(Ee.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Ee.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ee.propFix[this.toLowerCase()]=this}),Ee.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(xe(t))return this.each(function(e){Ee(this).addClass(t.call(this,e,K(this)))});if((e=ee(t)).length)for(;n=this[u++];)if(i=K(n),r=1===n.nodeType&&" "+Q(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=Q(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(xe(t))return this.each(function(e){Ee(this).removeClass(t.call(this,e,K(this)))});if(!arguments.length)return this.attr("class","");if((e=ee(t)).length)for(;n=this[u++];)if(i=K(n),r=1===n.nodeType&&" "+Q(i)+" "){for(a=0;o=e[a++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(s=Q(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):xe(i)?this.each(function(e){Ee(this).toggleClass(i.call(this,e,K(this),t),t)}):this.each(function(){var e,t,n,r;if(a)for(t=0,n=Ee(this),r=ee(i);e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else i!==undefined&&"boolean"!==o||((e=K(this))&&Xe.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Xe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+Q(K(n))+" ").indexOf(t))return!0;return!1}});var At=/\r/g;Ee.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=xe(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,Ee(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=Ee.map(t,function(e){return null==e?"":e+""})),(r=Ee.valHooks[this.type]||Ee.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==undefined||(this.value=t))})):t?(r=Ee.valHooks[t.type]||Ee.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(At,""):null==e?"":e:void 0}}),Ee.extend({valHooks:{option:{get:function(e){var t=Ee.find.attr(e,"value");return null!=t?t:Q(Ee.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!l(n.parentNode,"optgroup"))){if(t=Ee(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=Ee.makeArray(t),a=i.length;a--;)((r=i[a]).selected=-1<Ee.inArray(Ee.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Ee.each(["radio","checkbox"],function(){Ee.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<Ee.inArray(Ee(e).val(),t)}},be.checkOn||(Ee.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),be.focusin="onfocusin"in E;var Pt=/^(?:focusinfocus|focusoutblur)$/,Ft=function(e){e.stopPropagation()};Ee.extend(Ee.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,d,f=[n||ue],h=me.call(e,"type")?e.type:e,p=me.call(e,"namespace")?e.namespace.split("."):[];if(o=d=a=n=n||ue,3!==n.nodeType&&8!==n.nodeType&&!Pt.test(h+Ee.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),u=h.indexOf(":")<0&&"on"+h,(e=e[Ee.expando]?e:new Ee.Event(h,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:Ee.makeArray(t,[e]),c=Ee.event.special[h]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!Te(n)){for(s=c.delegateType||h,Pt.test(s+h)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(n.ownerDocument||ue)&&f.push(a.defaultView||a.parentWindow||E)}for(i=0;(o=f[i++])&&!e.isPropagationStopped();)d=o,e.type=1<i?s:c.bindType||h,(l=(Xe.get(o,"events")||{})[e.type]&&Xe.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&qe(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),t)||!qe(n)||u&&xe(n[h])&&!Te(n)&&((a=n[u])&&(n[u]=null),Ee.event.triggered=h,e.isPropagationStopped()&&d.addEventListener(h,Ft),n[h](),e.isPropagationStopped()&&d.removeEventListener(h,Ft),Ee.event.triggered=undefined,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=Ee.extend(new Ee.Event,n,{type:e,isSimulated:!0});Ee.event.trigger(r,null,t)}}),Ee.fn.extend({trigger:function(e,t){return this.each(function(){Ee.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ee.event.trigger(e,t,n,!0)}}),be.focusin||Ee.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){Ee.event.simulate(r,e.target,Ee.event.fix(e))};Ee.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=Xe.access(e,r);t||e.addEventListener(n,i,!0),Xe.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=Xe.access(e,r)-1;t?Xe.access(e,r,t):(e.removeEventListener(n,i,!0),Xe.remove(e,r))}}});var jt=E.location,Ht=Date.now(),$t=/\?/;Ee.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new E.DOMParser).parseFromString(e,"text/xml")}catch(n){t=undefined}return t&&!t.getElementsByTagName("parsererror").length||Ee.error("Invalid XML: "+e),t};var qt=/\[\]$/,Xt=/\r?\n/g,Ut=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;Ee.param=function(e,t){var n,r=[],i=function(e,t){var n=xe(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Ee.isPlainObject(e))Ee.each(e,function(){i(this.name,this.value)});else for(n in e)te(n,e[n],t,i);return r.join("&")},Ee.fn.extend({serialize:function(){return Ee.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ee.prop(this,"elements");return e?Ee.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ee(this).is(":disabled")&&Bt.test(this.nodeName)&&!Ut.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Ee(this).val();return null==n?null:Array.isArray(n)?Ee.map(n,function(e){return{name:t.name,value:e.replace(Xt,"\r\n")}}):{name:t.name,value:n.replace(Xt,"\r\n")}}).get()}});var zt=/%20/g,Wt=/#.*$/,Gt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Zt=/^(?:GET|HEAD)$/,Jt=/^\/\//,Qt={},Kt={},en="*/".concat("*"),tn=ue.createElement("a");tn.href=jt.href,Ee.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:Vt.test(jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":en,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Ee.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,Ee.ajaxSettings),t):ie(Ee.ajaxSettings,e)},ajaxPrefilter:ne(Qt),ajaxTransport:ne(Kt),ajax:function(e,t){function n(e,t,n,r){var i,o,a,s,u,l=t;p||(p=!0,h&&E.clearTimeout(h),c=undefined,f=r||"",w.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=oe(m,w,n)),s=ae(m,s,w,i),i?(m.ifModified&&((u=w.getResponseHeader("Last-Modified"))&&(Ee.lastModified[d]=u),(u=w.getResponseHeader("etag"))&&(Ee.etag[d]=u)),204===e||"HEAD"===m.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),w.status=e,w.statusText=(t||l)+"",i?b.resolveWith(y,[o,l,w]):b.rejectWith(y,[w,l,a]),w.statusCode(T),T=undefined,g&&v.trigger(i?"ajaxSuccess":"ajaxError",[w,m,i?o:a]),x.fireWith(y,[w,l]),g&&(v.trigger("ajaxComplete",[w,m]),--Ee.active||Ee.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var c,d,f,r,h,i,p,g,o,a,m=Ee.ajaxSetup({},t),y=m.context||m,v=m.context&&(y.nodeType||y.jquery)?Ee(y):Ee.event,b=Ee.Deferred(),x=Ee.Callbacks("once memory"),T=m.statusCode||{},s={},u={},l="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(p){if(!r)for(r={};t=Yt.exec(f);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?f:null},setRequestHeader:function(e,t){return null==p&&(e=u[e.toLowerCase()]=u[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==p&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)w.always(e[w.status]);else for(t in e)T[t]=[T[t],e[t]];return this},abort:function(e){var t=e||l;return c&&c.abort(t),n(0,t),this}};if(b.promise(w),m.url=((e||m.url||jt.href)+"").replace(Jt,jt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(Ae)||[""],null==m.crossDomain){i=ue.createElement("a");try{i.href=m.url,i.href=i.href,m.crossDomain=tn.protocol+"//"+tn.host!=i.protocol+"//"+i.host}catch(D){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Ee.param(m.data,m.traditional)),re(Qt,m,t,w),p)return w;for(o in(g=Ee.event&&m.global)&&0==Ee.active++&&Ee.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Zt.test(m.type),d=m.url.replace(Wt,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(zt,"+")):(a=m.url.slice(d.length),m.data&&(m.processData||"string"==typeof m.data)&&(d+=($t.test(d)?"&":"?")+m.data,delete m.data),!1===m.cache&&(d=d.replace(Gt,"$1"),a=($t.test(d)?"&":"?")+"_="+Ht+++a),m.url=d+a),m.ifModified&&(Ee.lastModified[d]&&w.setRequestHeader("If-Modified-Since",Ee.lastModified[d]),Ee.etag[d]&&w.setRequestHeader("If-None-Match",Ee.etag[d])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+en+"; q=0.01":""):m.accepts["*"]),m.headers)w.setRequestHeader(o,m.headers[o]);if(m.beforeSend&&(!1===m.beforeSend.call(y,w,m)||p))return w.abort();if(l="abort",x.add(m.complete),w.done(m.success),w.fail(m.error),c=re(Kt,m,t,w)){if(w.readyState=1,g&&v.trigger("ajaxSend",[w,m]),p)return w;m.async&&0<m.timeout&&(h=E.setTimeout(function(){w.abort("timeout")},m.timeout));try{p=!1,c.send(s,n)}catch(D){if(p)throw D;n(-1,D)}}else n(-1,"No Transport");return w},getJSON:function(e,t,n){return Ee.get(e,t,n,"json")},getScript:function(e,t){return Ee.get(e,undefined,t,"script")}}),Ee.each(["get","post"],function(e,i){Ee[i]=function(e,t,n,r){return xe(t)&&(r=r||n,n=t,t=undefined),Ee.ajax(Ee.extend({url:e,type:i,dataType:r,data:t,success:n},Ee.isPlainObject(e)&&e))}}),Ee._evalUrl=function(e,t){return Ee.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Ee.globalEval(e,t)}})},Ee.fn.extend({wrapAll:function(e){var t;return this[0]&&(xe(e)&&(e=e.call(this[0])),t=Ee(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return xe(n)?this.each(function(e){Ee(this).wrapInner(n.call(this,e))}):this.each(function(){var e=Ee(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=xe(t);return this.each(function(e){Ee(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Ee(this).replaceWith(this.childNodes)}),this}}),Ee.expr.pseudos.hidden=function(e){return!Ee.expr.pseudos.visible(e)},Ee.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Ee.ajaxSettings.xhr=function(){try{return new E.XMLHttpRequest}catch(e){}};var nn={0:200,1223:204},rn=Ee.ajaxSettings.xhr();be.cors=!!rn&&"withCredentials"in rn,be.ajax=rn=!!rn,Ee.ajaxTransport(function(o){var a,s;if(be.cors||rn&&!o.crossDomain)return{send:function(e,t){var n,r=o.xhr();if(r.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)r[n]=o.xhrFields[n];for(n in o.mimeType&&r.overrideMimeType&&r.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=s=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(nn[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=a(),s=r.onerror=r.ontimeout=a("error"),r.onabort!==undefined?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&E.setTimeout(function(){a&&s()})},a=a("abort");try{r.send(o.hasContent&&o.data||null)}catch(i){if(a)throw i}},abort:function(){a&&a()}}}),Ee.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Ee.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Ee.globalEval(e),e}}}),Ee.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Ee.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=Ee("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),ue.head.appendChild(r[0])},abort:function(){i&&i()}}});var on,an=[],sn=/(=)\?(?=&|$)|\?\?/;Ee.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=an.pop()||Ee.expando+"_"+Ht++;return this[e]=!0,e}}),Ee.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(sn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&sn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=xe(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(sn,"$1"+r):!1!==e.jsonp&&(e.url+=($t.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||Ee.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=E[r],E[r]=function(){o=arguments},n.always(function(){i===undefined?Ee(E).removeProp(r):E[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,an.push(r)),o&&xe(i)&&i(o[0]),o=i=undefined}),"script"}),be.createHTMLDocument=((on=ue.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===on.childNodes.length),Ee.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(be.createHTMLDocument?((r=(t=ue.implementation.createHTMLDocument("")).createElement("base")).href=ue.location.href,t.head.appendChild(r)):t=ue),o=!n&&[],(i=ke.exec(e))?[t.createElement(i[1])]:(i=w([e],t,o),o&&o.length&&Ee(o).remove(),Ee.merge([],i.childNodes)));var r,i,o},Ee.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Q(e.slice(s)),e=e.slice(0,s)),xe(t)?(n=t,t=undefined):t&&"object"==typeof t&&(i="POST"),0<a.length&&Ee.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?Ee("<div>").append(Ee.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Ee.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ee.fn[t]=function(e){return this.on(t,e)}}),Ee.expr.pseudos.animated=function(t){return Ee.grep(Ee.timers,function(e){return t===e.elem}).length},Ee.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=Ee.css(e,"position"),c=Ee(e),d={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=Ee.css(e,"top"),u=Ee.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),xe(t)&&(t=t.call(e,n,Ee.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):c.css(d)}},Ee.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){Ee.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===Ee.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Ee.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=Ee(e).offset()).top+=Ee.css(e,"borderTopWidth",!0),i.left+=Ee.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-Ee.css(r,"marginTop",!0),left:t.left-i.left-Ee.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Ee.css(e,"position");)e=e.offsetParent;return e||Ve})}}),Ee.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;Ee.fn[t]=function(e){return je(this,function(e,t,n){var r;if(Te(e)?r=e:9===e.nodeType&&(r=e.defaultView),n===undefined)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),Ee.each(["top","left"],function(e,n){Ee.cssHooks[n]=j(be.pixelPosition,function(e,t){if(t)return t=F(e,n),gt.test(t)?Ee(e).position()[n]+"px":t})}),Ee.each({Height:"height",Width:"width"},function(a,s){Ee.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){Ee.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return je(this,function(e,t,n){var r;return Te(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):n===undefined?Ee.css(e,t,i):Ee.style(e,t,n,i)},s,n?e:undefined,n)}})}),Ee.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){Ee.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),Ee.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Ee.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),Ee.proxy=function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),xe(e)?(r=ce.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ce.call(arguments)))}).guid=e.guid=e.guid||Ee.guid++,i):undefined},Ee.holdReady=function(e){e?Ee.readyWait++:Ee.ready(!0)},Ee.isArray=Array.isArray,Ee.parseJSON=JSON.parse,Ee.nodeName=l,Ee.isFunction=xe,Ee.isWindow=Te,Ee.camelCase=h,Ee.type=m,Ee.now=Date.now,Ee.isNumeric=function(e){var t=Ee.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ee});var un=E.jQuery,ln=E.$;return Ee.noConflict=function(e){return E.$===Ee&&(E.$=ln),e&&E.jQuery===Ee&&(E.jQuery=un),Ee},e||(E.jQuery=E.$=Ee),Ee}),Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",MDT:"-0700",PDT:"-0800"}},Date.getMonthNumberFromName=function(e){for(var t=Date.CultureInfo.monthNames,n=Date.CultureInfo.abbreviatedMonthNames,r=e.toLowerCase(),i=0;i<t.length;i++)if(t[i].toLowerCase()==r||n[i].toLowerCase()==r)return i;return-1},Date.getDayNumberFromName=function(e){for(var t=Date.CultureInfo.dayNames,n=Date.CultureInfo.abbreviatedDayNames,r=(Date.CultureInfo.shortestDayNames,e.toLowerCase()),i=0;i<t.length;i++)if(t[i].toLowerCase()==r||n[i].toLowerCase()==r)return i;return-1},Date.isLeapYear=function(e){return e%4==0&&e%100!=0||e%400==0},Date.getDaysInMonth=function(e,t){return[31,Date.isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},Date.getTimezoneOffset=function(e,t){return t?Date.CultureInfo.abbreviatedTimeZoneDST[e.toUpperCase()]:Date.CultureInfo.abbreviatedTimeZoneStandard[e.toUpperCase()]},Date.getTimezoneAbbreviation=function(e,t){var n,r=t?Date.CultureInfo.abbreviatedTimeZoneDST:Date.CultureInfo.abbreviatedTimeZoneStandard;for(n in r)if(r[n]===e)return n;return null},Date.prototype.clone=function(){return new Date(this.getTime())},Date.prototype.compareTo=function(e){if(isNaN(this))throw new Error(this);if(e instanceof Date&&!isNaN(e))return e<this?1:this<e?-1:0;throw new TypeError(e)},Date.prototype.equals=function(e){return 0===this.compareTo(e)},Date.prototype.between=function(e,t){var n=this.getTime();return n>=e.getTime()&&n<=t.getTime()},Date.prototype.addMilliseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+e),this},Date.prototype.addSeconds=function(e){return this.addMilliseconds(1e3*e)},Date.prototype.addMinutes=function(e){return this.addMilliseconds(6e4*e)},Date.prototype.addHours=function(e){return this.addMilliseconds(36e5*e)},Date.prototype.addDays=function(e){return this.addMilliseconds(864e5*e)},Date.prototype.addWeeks=function(e){return this.addMilliseconds(6048e5*e)},Date.prototype.addMonths=function(e){var t=this.getDate();return this.setDate(1),this.setMonth(this.getMonth()+e),this.setDate(Math.min(t,this.getDaysInMonth())),this},Date.prototype.addYears=function(e){return this.addMonths(12*e)},Date.prototype.add=function(e){if("number"==typeof e)return this._orient=e,this;var t=e;return(t.millisecond||t.milliseconds)&&this.addMilliseconds(t.millisecond||t.milliseconds),(t.second||t.seconds)&&this.addSeconds(t.second||t.seconds),(t.minute||t.minutes)&&this.addMinutes(t.minute||t.minutes),(t.hour||t.hours)&&this.addHours(t.hour||t.hours),(t.month||t.months)&&this.addMonths(t.month||t.months),(t.year||t.years)&&this.addYears(t.year||t.years),(t.day||t.days)&&this.addDays(t.day||t.days),this},Date._validate=function(e,t,n,r){if("number"!=typeof e)throw new TypeError(e+" is not a Number.");if(e<t||n<e)throw new RangeError(e+" is not a valid value for "+r+".");return!0},Date.validateMillisecond=function(e){return Date._validate(e,0,999,"milliseconds")},Date.validateSecond=function(e){return Date._validate(e,0,59,"seconds")},Date.validateMinute=function(e){return Date._validate(e,0,59,"minutes")},Date.validateHour=function(e){return Date._validate(e,0,23,"hours")},Date.validateDay=function(e,t,n){return Date._validate(e,1,Date.getDaysInMonth(t,n),"days")},Date.validateMonth=function(e){return Date._validate(e,0,11,"months")},Date.validateYear=function(e){return Date._validate(e,1,9999,"seconds")},Date.prototype.set=function(e){var t=e;return t.millisecond||0===t.millisecond||(t.millisecond=-1),t.second||0===t.second||(t.second=-1),t.minute||0===t.minute||(t.minute=-1),t.hour||0===t.hour||(t.hour=-1),t.day||0===t.day||(t.day=-1),t.month||0===t.month||(t.month=-1),t.year||0===t.year||(t.year=-1),
|
4
|
-
-1!=t.millisecond&&Date.validateMillisecond(t.millisecond)&&this.addMilliseconds(t.millisecond-this.getMilliseconds()),-1!=t.second&&Date.validateSecond(t.second)&&this.addSeconds(t.second-this.getSeconds()),-1!=t.minute&&Date.validateMinute(t.minute)&&this.addMinutes(t.minute-this.getMinutes()),-1!=t.hour&&Date.validateHour(t.hour)&&this.addHours(t.hour-this.getHours()),-1!==t.month&&Date.validateMonth(t.month)&&this.addMonths(t.month-this.getMonth()),-1!=t.year&&Date.validateYear(t.year)&&this.addYears(t.year-this.getFullYear()),-1!=t.day&&Date.validateDay(t.day,this.getFullYear(),this.getMonth())&&this.addDays(t.day-this.getDate()),t.timezone&&this.setTimezone(t.timezone),t.timezoneOffset&&this.setTimezoneOffset(t.timezoneOffset),this},Date.prototype.clearTime=function(){return this.setHours(0),this.setMinutes(0),this.setSeconds(0),this.setMilliseconds(0),this},Date.prototype.isLeapYear=function(){var e=this.getFullYear();return e%4==0&&e%100!=0||e%400==0},Date.prototype.isWeekday=function(){return!(this.is().sat()||this.is().sun())},Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth())},Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})},Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})},Date.prototype.moveToDayOfWeek=function(e,t){var n=(e-this.getDay()+7*(t||1))%7;return this.addDays(0===n?n+=7*(t||1):n)},Date.prototype.moveToMonth=function(e,t){var n=(e-this.getMonth()+12*(t||1))%12;return this.addMonths(0===n?n+=12*(t||1):n)},Date.prototype.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/864e5)},Date.prototype.getWeekOfYear=function(e){var t=this.getFullYear(),n=this.getMonth(),r=this.getDate(),i=e||Date.CultureInfo.firstDayOfWeek,o=8-new Date(t,0,1).getDay();8==o&&(o=1);var a=(Date.UTC(t,n,r,0,0,0)-Date.UTC(t,0,1,0,0,0))/864e5+1,s=Math.floor((a-o+7)/7);if(s===i){t--;var u=8-new Date(t,0,1).getDay();s=2==u||8==u?53:52}return s},Date.prototype.isDST=function(){return console.log("isDST"),"D"==this.toString().match(/(E|C|M|P)(S|D)T/)[2]},Date.prototype.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST())},Date.prototype.setTimezoneOffset=function(e){var t=this.getTimezoneOffset(),n=-6*Number(e)/10;return this.addMinutes(n-t),this},Date.prototype.setTimezone=function(e){return this.setTimezoneOffset(Date.getTimezoneOffset(e))},Date.prototype.getUTCOffset=function(){var e,t=-10*this.getTimezoneOffset()/6;return t<0?(e=(t-1e4).toString())[0]+e.substr(2):"+"+(e=(t+1e4).toString()).substr(1)},Date.prototype.getDayName=function(e){return e?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()]},Date.prototype.getMonthName=function(e){return e?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()]},Date.prototype._toString=Date.prototype.toString,Date.prototype.toString=function(e){var t=this,n=function n(e){return 1==e.toString().length?"0"+e:e};return e?e.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(e){switch(e){case"hh":return n(t.getHours()<13?t.getHours():t.getHours()-12);case"h":return t.getHours()<13?t.getHours():t.getHours()-12;case"HH":return n(t.getHours());case"H":return t.getHours();case"mm":return n(t.getMinutes());case"m":return t.getMinutes();case"ss":return n(t.getSeconds());case"s":return t.getSeconds();case"yyyy":return t.getFullYear();case"yy":return t.getFullYear().toString().substring(2,4);case"dddd":return t.getDayName();case"ddd":return t.getDayName(!0);case"dd":return n(t.getDate());case"d":return t.getDate().toString();case"MMMM":return t.getMonthName();case"MMM":return t.getMonthName(!0);case"MM":return n(t.getMonth()+1);case"M":return t.getMonth()+1;case"t":return t.getHours()<12?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case"tt":return t.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case"zzz":case"zz":case"z":return""}}):this._toString()},Date.now=function(){return new Date},Date.today=function(){return Date.now().clearTime()},Date.prototype._orient=1,Date.prototype.next=function(){return this._orient=1,this},Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){return this._orient=-1,this},Date.prototype._is=!1,Date.prototype.is=function(){return this._is=!0,this},Number.prototype._dateElement="day",Number.prototype.fromNow=function(){var e={};return e[this._dateElement]=this,Date.now().add(e)},Number.prototype.ago=function(){var e={};return e[this._dateElement]=-1*this,Date.now().add(e)},function(){for(var e,t=Date.prototype,n=Number.prototype,r="sunday monday tuesday wednesday thursday friday saturday".split(/\s/),i="january february march april may june july august september october november december".split(/\s/),o="Millisecond Second Minute Hour Day Week Month Year".split(/\s/),a=function(e){return function(){return this._is?(this._is=!1,this.getDay()==e):this.moveToDayOfWeek(e,this._orient)}},s=0;s<r.length;s++)t[r[s]]=t[r[s].substring(0,3)]=a(s);for(var u=function(e){return function(){return this._is?(this._is=!1,this.getMonth()===e):this.moveToMonth(e,this._orient)}},l=0;l<i.length;l++)t[i[l]]=t[i[l].substring(0,3)]=u(l);for(var c=function(e){return function(){return"s"!=e.substring(e.length-1)&&(e+="s"),this["add"+e](this._orient)}},d=function(e){return function(){return this._dateElement=e,this}},f=0;f<o.length;f++)t[e=o[f].toLowerCase()]=t[e+"s"]=c(o[f]),n[e]=n[e+"s"]=d(e)}(),Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ")},Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern)},Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern)},Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern)},Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern)},Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},function(){Date.Parsing={Exception:function(e){this.message="Parse error at '"+e.substring(0,10)+" ...'"}};for(var m=Date.Parsing,y=m.Operators={rtoken:function(n){return function(e){var t=e.match(n);if(t)return[t[0],e.substring(t[0].length)];throw new m.Exception(e)}},token:function(){return function(e){return y.rtoken(new RegExp("^s*"+e+"s*"))(e)}},stoken:function(e){return y.rtoken(new RegExp("^"+e))},until:function(i){return function(e){for(var t=[],n=null;e.length;){try{n=i.call(this,e)}catch(r){t.push(n[0]),e=n[1];continue}break}return[t,e]}},many:function(i){return function(e){for(var t=[],n=null;e.length;){try{n=i.call(this,e)}catch(r){return[t,e]}t.push(n[0]),e=n[1]}return[t,e]}},optional:function(r){return function(e){var t=null;try{t=r.call(this,e)}catch(n){return[null,e]}return[t[0],t[1]]}},not:function(n){return function(e){try{n.call(this,e)}catch(t){return[null,e]}throw new m.Exception(e)}},ignore:function(t){return t?function(e){return[null,t.call(this,e)[1]]}:null},product:function(e){for(var t=e,n=Array.prototype.slice.call(arguments,1),r=[],i=0;i<t.length;i++)r.push(y.each(t[i],n));return r},cache:function(n){var r={},i=null;return function(e){try{i=r[e]=r[e]||n.call(this,e)}catch(t){i=r[e]=t}if(i instanceof m.Exception)throw i;return i}},any:function(){var i=arguments;return function(e){for(var t=null,n=0;n<i.length;n++)if(null!=i[n]){try{t=i[n].call(this,e)}catch(r){t=null}if(t)return t}throw new m.Exception(e)}},each:function(){var o=arguments;return function(e){for(var t=[],n=null,r=0;r<o.length;r++)if(null!=o[r]){try{n=o[r].call(this,e)}catch(i){throw new m.Exception(e)}t.push(n[0]),e=n[1]}return[t,e]}},all:function(){var e=arguments,t=t;return t.each(t.optional(e))},sequence:function(u,l,c){return l=l||y.rtoken(/^\s*/),c=c||null,1==u.length?u[0]:function(e){for(var t=null,n=null,r=[],i=0;i<u.length;i++){try{t=u[i].call(this,e)}catch(o){break}r.push(t[0]);try{n=l.call(this,t[1])}catch(a){n=null;break}e=n[1]}if(!t)throw new m.Exception(e);if(n)throw new m.Exception(n[1]);if(c)try{t=c.call(this,t[1])}catch(s){throw new m.Exception(t[1])}return[r,t?t[1]:e]}},between:function(e,t,n){n=n||e;var i=y.each(y.ignore(e),t,y.ignore(n));return function(e){var t=i.call(this,e);return[[t[0][0],r[0][2]],t[1]]}},list:function(e,t,n){return t=t||y.rtoken(/^\s*/),n=n||null,e instanceof Array?y.each(y.product(e.slice(0,-1),y.ignore(t)),e.slice(-1),y.ignore(n)):y.each(y.many(y.each(e,y.ignore(t))),px,y.ignore(n))},set:function(h,p,g){return p=p||y.rtoken(/^\s*/),g=g||null,function(e){for(var t=null,n=null,r=null,i=null,o=[[],e],a=!1,s=0;s<h.length;s++){t=n=r=null,a=1==h.length;try{t=h[s].call(this,e)}catch(c){continue}if(i=[[t[0]],t[1]],0<t[1].length&&!a)try{r=p.call(this,t[1])}catch(d){a=!0}else a=!0;if(a||0!==r[1].length||(a=!0),!a){for(var u=[],l=0;l<h.length;l++)s!=l&&u.push(h[l]);0<(n=y.set(u,p).call(this,r[1]))[0].length&&(i[0]=i[0].concat(n[0]),i[1]=n[1])}if(i[1].length<o[1].length&&(o=i),0===o[1].length)break}if(0===o[0].length)return o;if(g){try{r=g.call(this,o[1])}catch(f){throw new m.Exception(o[1])}o[1]=r[1]}return o}},forward:function(t,n){return function(e){return t[n].call(this,e)}},replace:function(n,r){return function(e){var t=n.call(this,e);return[r,t[1]]}},process:function(n,r){return function(e){var t=n.call(this,e);return[r.call(this,t[0]),t[1]]}},min:function(n,r){return function(e){var t=r.call(this,e);if(t[0].length<n)throw new m.Exception(e);return t}}},e=function(o){return function(e){var t=null,n=[];if(1<arguments.length?t=Array.prototype.slice.call(arguments):e instanceof Array&&(t=e),!t)return o.apply(null,arguments);for(var r=0,i=t.shift();r<i.length;r++)return t.unshift(i[r]),n.push(o.apply(null,t)),t.shift(),n}},t="optional not ignore cache".split(/\s/),n=0;n<t.length;n++)y[t[n]]=e(y[t[n]]);for(var i=function(t){return function(e){return e instanceof Array?t.apply(null,e):t.apply(null,arguments)}},o="each any all".split(/\s/),a=0;a<o.length;a++)y[o[a]]=i(y[o[a]])}(),function(){var a=function(e){for(var t=[],n=0;n<e.length;n++)e[n]instanceof Array?t=t.concat(a(e[n])):e[n]&&t.push(e[n]);return t};Date.Grammar={},Date.Translator={hour:function(e){return function(){this.hour=Number(e)}},minute:function(e){return function(){this.minute=Number(e)}},second:function(e){return function(){this.second=Number(e)}},meridian:function(e){return function(){this.meridian=e.slice(0,1).toLowerCase()}},timezone:function(t){return function(){var e=t.replace(/[^\d\+\-]/g,"");e.length?this.timezoneOffset=Number(e):this.timezone=t.toLowerCase()}},day:function(e){var t=e[0];return function(){this.day=Number(t.match(/\d+/)[0])}},month:function(e){return function(){this.month=3==e.length?Date.getMonthNumberFromName(e):Number(e)-1}},year:function(t){return function(){var e=Number(t);this.year=2<t.length?e:e+(e+2e3<Date.CultureInfo.twoDigitYearMax?2e3:1900)}},rday:function(e){return function(){switch(e){case"yesterday":this.days=-1;break;case"tomorrow":this.days=1;break;case"today":this.days=0;break;case"now":this.days=0,this.now=!0}}},finishExact:function(e){e=e instanceof Array?e:[e];var t=new Date;this.year=t.getFullYear(),this.month=t.getMonth(),this.day=1,this.hour=0,this.minute=0;for(var n=this.second=0;n<e.length;n++)e[n]&&e[n].call(this);if(this.hour="p"==this.meridian&&this.hour<13?this.hour+12:this.hour,this.day>Date.getDaysInMonth(this.year,this.month))throw new RangeError(this.day+" is not a valid value for days.");var r=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);return this.timezone?r.set({timezone:this.timezone}):this.timezoneOffset&&r.set({timezoneOffset:this.timezoneOffset}),r},finish:function(e){if(0===(e=e instanceof Array?a(e):[e]).length)return null;for(var t=0;t<e.length;t++)"function"==typeof e[t]&&e[t].call(this);if(this.now)return new Date;var n,r,i,o=Date.today();return!(null==this.days&&!this.orient&&!this.operator)?(i="past"==this.orient||"subtract"==this.operator?-1:1,this.weekday&&(this.unit="day",n=Date.getDayNumberFromName(this.weekday)-o.getDay(),r=7,this.days=n?(n+i*r)%r:i*r),this.month&&(this.unit="month",n=this.month-o.getMonth(),r=12,this.months=n?(n+i*r)%r:i*r,this.month=null),this.unit||(this.unit="day"),null!=this[this.unit+"s"]&&null==this.operator||(this.value||(this.value=1),"week"==this.unit&&(this.unit="day",this.value=7*this.value),this[this.unit+"s"]=this.value*i),o.add(this)):(this.meridian&&this.hour&&(this.hour=this.hour<13&&"p"==this.meridian?this.hour+12:this.hour),this.weekday&&!this.day&&(this.day=o.addDays(Date.getDayNumberFromName(this.weekday)-o.getDay()).getDate()),this.month&&!this.day&&(this.day=1),o.set(this))}};var e,s=Date.Parsing.Operators,r=Date.Grammar,t=Date.Translator;r.datePartDelimiter=s.rtoken(/^([\s\-\.\,\/\x27]+)/),r.timePartDelimiter=s.stoken(":"),r.whiteSpace=s.rtoken(/^\s*/),r.generalDelimiter=s.rtoken(/^(([\s\,]|at|on)+)/);var u={};r.ctoken=function(e){var t=u[e];if(!t){for(var n=Date.CultureInfo.regexPatterns,r=e.split(/\s+/),i=[],o=0;o<r.length;o++)i.push(s.replace(s.rtoken(n[r[o]]),r[o]));t=u[e]=s.any.apply(null,i)}return t},r.ctoken2=function(e){return s.rtoken(Date.CultureInfo.regexPatterns[e])},r.h=s.cache(s.process(s.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),t.hour)),r.hh=s.cache(s.process(s.rtoken(/^(0[0-9]|1[0-2])/),t.hour)),r.H=s.cache(s.process(s.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),t.hour)),r.HH=s.cache(s.process(s.rtoken(/^([0-1][0-9]|2[0-3])/),t.hour)),r.m=s.cache(s.process(s.rtoken(/^([0-5][0-9]|[0-9])/),t.minute)),r.mm=s.cache(s.process(s.rtoken(/^[0-5][0-9]/),t.minute)),r.s=s.cache(s.process(s.rtoken(/^([0-5][0-9]|[0-9])/),t.second)),r.ss=s.cache(s.process(s.rtoken(/^[0-5][0-9]/),t.second)),r.hms=s.cache(s.sequence([r.H,r.mm,r.ss],r.timePartDelimiter)),r.t=s.cache(s.process(r.ctoken2("shortMeridian"),t.meridian)),r.tt=s.cache(s.process(r.ctoken2("longMeridian"),t.meridian)),r.z=s.cache(s.process(s.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),t.timezone)),r.zz=s.cache(s.process(s.rtoken(/^(\+|\-)\s*\d\d\d\d/),t.timezone)),r.zzz=s.cache(s.process(r.ctoken2("timezone"),t.timezone)),r.timeSuffix=s.each(s.ignore(r.whiteSpace),s.set([r.tt,r.zzz])),r.time=s.each(s.optional(s.ignore(s.stoken("T"))),r.hms,r.timeSuffix),r.d=s.cache(s.process(s.each(s.rtoken(/^([0-2]\d|3[0-1]|\d)/),s.optional(r.ctoken2("ordinalSuffix"))),t.day)),r.dd=s.cache(s.process(s.each(s.rtoken(/^([0-2]\d|3[0-1])/),s.optional(r.ctoken2("ordinalSuffix"))),t.day)),r.ddd=r.dddd=s.cache(s.process(r.ctoken("sun mon tue wed thu fri sat"),function(e){return function(){this.weekday=e}})),r.M=s.cache(s.process(s.rtoken(/^(1[0-2]|0\d|\d)/),t.month)),r.MM=s.cache(s.process(s.rtoken(/^(1[0-2]|0\d)/),t.month)),r.MMM=r.MMMM=s.cache(s.process(r.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),t.month)),r.y=s.cache(s.process(s.rtoken(/^(\d\d?)/),t.year)),r.yy=s.cache(s.process(s.rtoken(/^(\d\d)/),t.year)),r.yyy=s.cache(s.process(s.rtoken(/^(\d\d?\d?\d?)/),t.year)),r.yyyy=s.cache(s.process(s.rtoken(/^(\d\d\d\d)/),t.year)),e=function(){return s.each(s.any.apply(null,arguments),s.not(r.ctoken2("timeContext")))},r.day=e(r.d,r.dd),r.month=e(r.M,r.MMM),r.year=e(r.yyyy,r.yy),r.orientation=s.process(r.ctoken("past future"),function(e){return function(){this.orient=e}}),r.operator=s.process(r.ctoken("add subtract"),function(e){return function(){this.operator=e}}),r.rday=s.process(r.ctoken("yesterday tomorrow today now"),t.rday),r.unit=s.process(r.ctoken("minute hour day week month year"),function(e){return function(){this.unit=e}}),r.value=s.process(s.rtoken(/^\d\d?(st|nd|rd|th)?/),function(e){return function(){this.value=e.replace(/\D/g,"")}}),r.expression=s.set([r.rday,r.operator,r.value,r.unit,r.orientation,r.ddd,r.MMM]),e=function(){return s.set(arguments,r.datePartDelimiter)},r.mdy=e(r.ddd,r.month,r.day,r.year),r.ymd=e(r.ddd,r.year,r.month,r.day),r.dmy=e(r.ddd,r.day,r.month,r.year),r.date=function(e){return(r[Date.CultureInfo.dateElementOrder]||r.mdy).call(this,e)},r.format=s.process(s.many(s.any(s.process(s.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(e){if(r[e])return r[e];throw Date.Parsing.Exception(e)}),s.process(s.rtoken(/^[^dMyhHmstz]+/),function(e){return s.ignore(s.stoken(e))}))),function(e){return s.process(s.each.apply(null,e),t.finishExact)});var n={},i=function(e){return n[e]=n[e]||r.format(e)[0]};r.formats=function(e){if(e instanceof Array){for(var t=[],n=0;n<e.length;n++)t.push(i(e[n]));return s.any.apply(null,t)}return i(e)},r._formats=r.formats(["yyyy-MM-ddTHH:mm:ss","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz","d"]),r._start=s.process(s.set([r.date,r.time,r.expression],r.generalDelimiter,r.whiteSpace),t.finish),r.start=function(e){try{var t=r._formats.call({},e);if(0===t[1].length)return t}catch(n){}return r._start.call({},e)}}(),Date._parse=Date.parse,Date.parse=function(e){var t=null;if(!e)return null;try{t=Date.Grammar.start.call({},e)}catch(n){return null}return 0===t[1].length?t[0]:null},Date.getParseFunction=function(e){var r=Date.Grammar.formats(e);return function(e){var t=null;try{t=r.call({},e)}catch(n){return null}return 0===t[1].length?t[0]:null}},Date.parseExact=function(e,t){return Date.getParseFunction(t)(e)},function(){function e(e){this.icon=e,this.opacity=.4,this.canvas=document.createElement("canvas"),this.font="Helvetica, Arial, sans-serif"}function r(e){return e=Math.round(e),isNaN(e)||e<1?"":e<10?" "+e:99<e?"99":e}function i(e,t,n,r,i){var o,a,s,u,l,c,d,f=document.getElementsByTagName("head")[0],h=document.createElement("link");h.rel="icon",a=11*(o=r.width/16),l=11*(u=o),d=2*(c=o),e.height=e.width=r.width,(s=e.getContext("2d")).font="bold "+a+"px "+n,i&&(s.globalAlpha=t),s.drawImage(r,0,0),s.globalAlpha=1,s.shadowColor="#FFF",s.shadowBlur=d,s.shadowOffsetX=0,s.shadowOffsetY=0,s.fillStyle="#FFF",s.fillText(i,u,l),s.fillText(i,u+c,l),s.fillText(i,u,l+c),s.fillText(i,u+c,l+c),s.fillStyle="#000",s.fillText(i,u+c/2,l+c/2),h.href=e.toDataURL("image/png"),f.removeChild(document.querySelector("link[rel=icon]")),f.appendChild(h)}e.prototype.set=function(e){var t=this,n=document.createElement("img");t.canvas.getContext&&(n.crossOrigin="anonymous",n.onload=function(){i(t.canvas,t.opacity,t.font,n,r(e))},n.src=this.icon)},this.Favcount=e}.call(this),function(){Favcount.VERSION="1.5.0"}.call(this);var Flexie=function(win,doc){function trim(e){return e&&(e=e.replace(LEADINGTRIM,EMPTY_STRING).replace(TRAILINGTRIM,EMPTY_STRING)),e}function determineSelectorMethod(){var engines=ENGINES,method,engine,obj;for(engine in engines)if(engines.hasOwnProperty(engine)&&(obj=engines[engine],win[engine]&&!method&&(method=eval(obj.s.replace("*",engine)),method))){ENGINE=engine;break}return method}function addEvent(e,t){var n=win[e="on"+e];"function"!=typeof win[e]?win[e]=t:win[e]=function(){n&&n(),t()}}function attachLoadMethod(handler){ENGINE||(LIBRARY=determineSelectorMethod());var engines=ENGINES,method,caller,args,engine,obj;for(engine in engines)if(engines.hasOwnProperty(engine)&&(obj=engines[engine],win[engine]&&!method&&obj.m&&(method=eval(obj.m.replace("*",engine)),caller=obj.c?eval(obj.c.replace("*",engine)):win,args=[],method&&caller))){obj.p&&args.push(obj.p),args.push(handler),method.apply(caller,args);break}method||addEvent("load",handler)}function buildSelector(e){var t=e.nodeName.toLowerCase();return e.id?t+="#"+e.id:e.FLX_DOM_ID&&(t+="["+FLX_DOM_ATTR+"='"+e.FLX_DOM_ID+"']"),t}function setFlexieId(e){e.FLX_DOM_ID||(FLX_DOM_ID+=1,e.FLX_DOM_ID=FLX_DOM_ID,e.setAttribute(FLX_DOM_ATTR,e.FLX_DOM_ID))}function buildSelectorTree(e){var t,n,r,i,o,a,s,u,l,c=[];for(u in t=(e=(e=e.replace(WHITESPACE_CHARACTERS,EMPTY_STRING)).replace(/\s?(\{|\:|\})\s?/g,PLACEHOLDER_STRING)).split(END_MUSTACHE))if(t.hasOwnProperty(u)&&(e=t[u])&&(n=[e,END_MUSTACHE].join(EMPTY_STRING),(r=/(\@media[^\{]+\{)?(.*)\{(.*)\}/.exec(n))&&r[3])){for(l in i=r[2],s=[],o=r[3].split(";"))o.hasOwnProperty(l)&&(a=o[l].split(":")).length&&a[1]&&s.push({property:a[0],value:a[1]});i&&s.length&&c.push({selector:i,properties:s})}return c}function findFlexboxElements(e){var t,n,r,i,o,f,a,s,u,l,c,d,h,p,g,m,y,v=/\s?,\s?/,b={},x={};for(f=function(e,t,n,r){var i,o,a,s;for(i={selector:trim(e),properties:[]},o=0,a=t.properties.length;o<a;o++)s=t.properties[o],i.properties.push({property:trim(s.property),value:trim(s.value)});return n&&r&&(i[n]=r),i},a=function(e,t,n,r){var i,o,a,s,u,l,c,d=n&&r?b[e]:x[e];if(d){for(a=0,s=t.properties.length;a<s;a++){for(u=t.properties[a],l=0,c=d.properties.length;l<c;l++)if(o=d.properties[l],u.property===o.property)return i=l,!1;i?d.properties[i]=u:d.properties.push(u)}n&&r&&(d[n]=r)}else n&&r?b[e]=f(e,t,n,r):x[e]=f(e,t,NULL,NULL)},u=0,l=e.length;u<l;u++)for(d=0,h=(t=trim((c=e[u]).selector).replace(v,",").split(v)).length;d<h;d++)for(p=trim(t[d]),g=0,m=(n=c.properties).length;g<m;g++)if(r=trim((y=n[g]).property),i=trim(y.value),r)switch(o=r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&a(p,c,NULL,NULL);break;case"orient":case"align":case"direction":case"pack":a(p,c,NULL,NULL);break;case"flex":case"flex-group":case"ordinal-group":a(p,c,o,i)}for(s in x)x.hasOwnProperty(s)&&FLEX_BOXES.push(x[s]);for(s in b)b.hasOwnProperty(s)&&POSSIBLE_FLEX_CHILDREN.push(b[s]);return{boxes:FLEX_BOXES,children:POSSIBLE_FLEX_CHILDREN}}function matchFlexChildren(e,t,n){var r,i,o,a,s,u,l,c,d,f=[];for(o=0,a=n.length;o<a;o++)if((s=n[o]).selector){if((r=(r=t(s.selector))[0]?r:[r])[0])for(u=0,l=r.length;u<l;u++)if((c=r[u]).nodeName!==UNDEFINED)switch(c.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:if(c.parentNode===e){for(d in setFlexieId(c),i={},s)s.hasOwnProperty(d)&&(i[d]=s[d]);i.match=c,f.push(i)}}}else setFlexieId(s),f.push({match:s,selector:buildSelector(s)});return f}function getParams(e){var t;for(t in e)e.hasOwnProperty(t)&&(e[t]=e[t]||DEFAULTS[t]);return e}function buildFlexieCall(e){var t,n,r,i,o,a,s,u,l,c,d,f,h,p,g,m,y,v,b,x,T,w,D,E,S,_,C,M,L={},k="["+FLX_PARENT_ATTR+"]";if(e){for(g=0,m=e.boxes.length;g<m;g++){for((y=e.boxes[g]).selector=trim(y.selector),t=y.selector,n=y.properties,o=a=s=u=l=NULL,v=0,b=n.length;v<b;v++)if(r=trim((x=n[v]).property),i=trim(x.value),r)switch(r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&(o=i);break;case"orient":a=i;break;case"align":s=i;break;case"direction":u=i;break;case"pack":l=i}for(v=0,b=(d=(d=(c=LIBRARY)(y.selector))[0]?d:[d]).length;v<b;v++)if((T=d[v]).nodeType)if(setFlexieId(T),f={target:T,selector:t,properties:n,children:matchFlexChildren(T,c,e.children),display:o,orient:a,align:s,direction:u,pack:l,nested:t+" "+k},h=L[T.FLX_DOM_ID]){for(w in f)if(f.hasOwnProperty(w))switch(i=f[w],w){case"selector":i&&!new RegExp(i).test(h[w])&&(h[w]+=", "+i);break;case"children":for(D=0,E=f[w].length;D<E;D++){for(S=f[w][D],p=FALSE,_=0,C=h[w].length;_<C;_++)M=h[w][_],S.match.FLX_DOM_ID===M.match.FLX_DOM_ID&&(p=TRUE);p||h[w].push(S)}break;default:i&&(h[w]=i)}}else L[T.FLX_DOM_ID]=getParams(f),L[T.FLX_DOM_ID].target.setAttribute(FLX_PARENT_ATTR,TRUE)}for(DOM_ORDERED=LIBRARY(k),FLEX_BOXES={},g=0,m=DOM_ORDERED.length;g<m;g++)T=DOM_ORDERED[g],FLEX_BOXES[T.FLX_DOM_ID]=L[T.FLX_DOM_ID];for(w in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(w)&&"box"===(y=FLEX_BOXES[w]).display&&new FLX.box(y)}}function calcPx(e,t,n){var r,i,o,a=e["offset"+n.replace(n.charAt(0),n.charAt(0).toUpperCase())]||0;if(a)for(r=0,i=t.length;r<i;r++)o=parseFloat(e.currentStyle[t[r]]),isNaN(o)||(a-=o);return a}function getTrueValue(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return!PIXEL.test(i)&&NUMBER.test(i)&&(n=o.left,r=e.runtimeStyle.left,e.runtimeStyle.left=e.currentStyle.left,o.left=i||0,i=o.pixelLeft+"px",o.left=n||0,e.runtimeStyle.left=r),i}function unAuto(e,t,n){switch(n){case"width":t=calcPx(e,[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT],n);break;case"height":t=calcPx(e,[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM],n);break;default:t=getTrueValue(e,n)}return t}function getPixelValue(e,t,n){return PIXEL.test(t)?t:t="auto"===t||"medium"===t?unAuto(e,t,n):getTrueValue(e,n)}function getComputedStyle(e,t,n){var r;if(e!==UNDEFINED)return r=win.getComputedStyle?win.getComputedStyle(e,NULL)[t]:SIZES.test(t)?getPixelValue(e,e&&e.currentStyle?e.currentStyle[t]:0,t):e.currentStyle[t],n&&(r=parseInt(r,10),isNaN(r)&&(r=0)),r}function clientWidth(e){return e.innerWidth||e.clientWidth}function clientHeight(e){return e.innerHeight||e.clientHeight}function appendProperty(e,t,n,r){var i,o,a,s=[];for(i=0,o=PREFIXES.length;i<o;i++)a=PREFIXES[i],s.push((r?a:EMPTY_STRING)+t+":"+(r?EMPTY_STRING:a)+n);return e.style.cssText+=s.join(";"),e}function appendPixelValue(e,t,n){var r,i,o=e&&e[0]?e:[e];for(r=0,i=o.length;r<i;r++)(e=o[r])&&e.style&&(e.style[t]=n?n+"px":EMPTY_STRING)}function calculateSpecificity(e){var t,n,r,i,o,a;for(n={_id:100,_class:10,_tag:1},i=r=0,o=(t=e.replace(CSS_SELECTOR,function(e,t){return"%"+t}).replace(/\s|\>|\+|\~/g,"%").split(/%/g)).length;i<o;i++)a=t[i],/#/.test(a)?r+=n._id:/\.|\[|\:/.test(a)?r+=n._class:/[a-zA-Z]+/.test(a)&&(r+=n._tag);return r}function filterDuplicates(e,t,n){var r,i,o,a,s,u,l,c=[],d=(n?"ordinal":"flex")+"Specificity";for(i=0,o=e.length;i<o;i++)if(a=e[i],!n&&a.flex||n&&a["ordinal-group"]){for(a[d]=a[d]||calculateSpecificity(a.selector),r=FALSE,s=0,u=c.length;s<u;s++)if((l=c[s]).match===a.match)return l[d]<a[d]&&(c[o]=a),r=TRUE,FALSE;r||c.push(a)}return c}function createMatchMatrix(e,t,n){var r,i,o,a,s,u,l,c,d={},f=[],h=0,p="ordinal-group",g="data-"+p;for(e=filterDuplicates(e,t,n),i=0,o=t.length;i<o;i++){for(a=t[i],s=0,u=e.length;s<u;s++)l=e[s],n?(r=l[p]||"1",l.match===a&&(l.match.setAttribute(g,r),d[r]=d[r]||[],d[r].push(l))):(r=l.flex||"0",l.match===a&&(!l[r]||l[r]&&parseInt(l[r],10)<=1)&&(h+=parseInt(r,10),d[r]=d[r]||[],d[r].push(l)));n&&!a.getAttribute(g)&&(r="1",a.setAttribute(g,r),d[r]=d[r]||[],d[r].push({match:a}))}for(c in d)d.hasOwnProperty(c)&&f.push(c);return f.sort(function(e,t){return t-e}),{keys:f,groups:d,total:h}}function attachResizeListener(){if(!RESIZE_LISTENER){var e,t,n,r,i,o=doc.body,a=doc.documentElement,s="innerWidth",u="innerHeight",l="clientWidth",c="clientHeight";addEvent("resize",function(){i&&window.clearTimeout(i),i=window.setTimeout(function(){n=win[s]||a[s]||a[l]||o[l],r=win[u]||a[u]||a[c]||o[c],e===n&&t===r||(FLX.updateInstance(NULL,NULL),e=n,t=r)},250)}),RESIZE_LISTENER=TRUE}}function cleanPositioningProperties(e){var t,n,r,i,o;for(t=0,n=e.length;t<n;t++)i=(r=e[t]).style.width,o=r.style.height,r.style.cssText=EMPTY_STRING,r.style.width=i,r.style.height=o}function sanitizeChildren(e,t){var n,r,i,o=[];for(r=0,i=t.length;r<i;r++)if(n=t[r])switch(n.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:1===n.nodeType?o.push(n):3===n.nodeType&&(n.isElementContentWhitespace||ONLY_WHITESPACE.test(n.data))&&(e.removeChild(n),r--)}return o}function parentFlex(e){for(var t,n=0,r=e.parentNode;r.FLX_DOM_ID;)n+=createMatchMatrix(FLEX_BOXES[r.FLX_DOM_ID].children,sanitizeChildren(r,r.childNodes),NULL).total,t=TRUE,r=r.parentNode;return{nested:t,flex:n}}function dimensionValues(e,t){var n,r,i,o,a,s=e.parentNode;if(s.FLX_DOM_ID)for(i=0,o=(n=FLEX_BOXES[s.FLX_DOM_ID]).properties.length;i<o;i++)if(a=n.properties[i],new RegExp(t).test(a.property))return r=TRUE,FALSE;return r}function updateChildValues(e){var t,n;if(e.flexMatrix)for(t=0,n=e.children.length;t<n;t++)e.children[t].flex=e.flexMatrix[t];if(e.ordinalMatrix)for(t=0,n=e.children.length;t<n;t++)e.children[t]["ordinal-group"]=e.ordinalMatrix[t];return e}function ensureStructuralIntegrity(e,t){var n=e.target;return n.FLX_DOM_ID||(n.FLX_DOM_ID=n.FLX_DOM_ID||++FLX_DOM_ID),e.nodes||(e.nodes=sanitizeChildren(n,n.childNodes)),e.selector||(e.selector=buildSelector(n),n.setAttribute(FLX_PARENT_ATTR,TRUE)),e.properties||(e.properties=[]),e.children||(e.children=matchFlexChildren(n,LIBRARY,sanitizeChildren(n,n.childNodes))),e.nested||(e.nested=e.selector+" ["+FLX_PARENT_ATTR+"]"),e.target=n,e._instance=t,e}var FLX={},FLX_DOM_ID=0,FLX_DOM_ATTR="data-flexie-id",FLX_PARENT_ATTR="data-flexie-parent",SUPPORT,ENGINE,ENGINES={NW:{s:"*.Dom.select"},DOMAssistant:{s:"*.$",m:"*.DOMReady"},Prototype:{s:"$$",m:"document.observe",p:"dom:loaded",c:"document"},YAHOO:{s:"*.util.Selector.query",m:"*.util.Event.onDOMReady",c:"*.util.Event"},MooTools:{s:"$$",m:"window.addEvent",p:"domready"},Sizzle:{s:"*"},jQuery:{s:"*",m:"*(document).ready"},dojo:{s:"*.query",m:"*.addOnLoad"}},LIBRARY,PIXEL=/^-?\d+(?:px)?$/i,NUMBER=/^-?\d/,SIZES=/width|height|margin|padding|border/,MSIE=/(msie) ([\w.]+)/,WHITESPACE_CHARACTERS=/\t|\n|\r/g,RESTRICTIVE_PROPERTIES=/^max\-([a-z]+)/,PROTOCOL=/^https?:\/\//i,LEADINGTRIM=/^\s\s*/,TRAILINGTRIM=/\s\s*$/,ONLY_WHITESPACE=/^\s*$/,CSS_SELECTOR=/\s?(\#|\.|\[|\:(\:)?[^first\-(line|letter)|before|after]+)/g,EMPTY_STRING="",SPACE_STRING=" ",PLACEHOLDER_STRING="$1",PADDING_RIGHT="paddingRight",PADDING_BOTTOM="paddingBottom",PADDING_LEFT="paddingLeft",PADDING_TOP="paddingTop",BORDER_RIGHT="borderRightWidth",BORDER_BOTTOM="borderBottomWidth",BORDER_LEFT="borderLeftWidth",BORDER_TOP="borderTopWidth",HORIZONTAL="horizontal",VERTICAL="vertical",INLINE_AXIS="inline-axis",BLOCK_AXIS="block-axis",INHERIT="inherit",LEFT="left",END_MUSTACHE="}",PREFIXES=" -o- -moz- -ms- -webkit- -khtml- ".split(SPACE_STRING),DEFAULTS={orient:HORIZONTAL,align:"stretch",direction:INHERIT,pack:"start"},FLEX_BOXES=[],POSSIBLE_FLEX_CHILDREN=[],DOM_ORDERED,RESIZE_LISTENER,TRUE=!0,FALSE=!1,NULL=null,UNDEFINED,BROWSER={IE:(bQ=win.navigator.userAgent,cQ=MSIE.exec(bQ.toLowerCase()),cQ&&(aQ=parseInt(cQ[2],10)),aQ)},selectivizrEngine,aQ,bQ,cQ;return selectivizrEngine=function(){function t(e){return e.replace(m,PLACEHOLDER_STRING)}function n(e){return t(e).replace(g,SPACE_STRING)}function a(e){return n(e.replace(h,PLACEHOLDER_STRING).replace(p,PLACEHOLDER_STRING))}function c(e){return e.replace(s,function(e,t,n){var r,i,o;for(i=0,o=(r=n.split(",")).length;i<o;i++)a(r[i])+SPACE_STRING;return t+r.join(",")})}function r(){if(win.XMLHttpRequest)return new win.XMLHttpRequest;try{return new win.ActiveXObject("Microsoft.XMLHTTP")}catch(e){return NULL}}function i(e){for(var t,n=/<style[^<>]*>([^<>]*)<\/style[\s]?>/gim,r=n.exec(e),i=[];r;)(t=r[1])&&i.push(t),r=n.exec(e);return i.join("\n\n")}function e(e){var t,n=r();return n.open("GET",e,FALSE),n.send(),t=200===n.status?n.responseText:EMPTY_STRING,e===window.location.href&&(t=i(t)),t}function d(e,t){function n(e){return e.substring(0,e.indexOf("/",8))}if(e){if(PROTOCOL.test(e))return n(t)===n(e)?e:NULL;if("/"===e.charAt(0))return n(t)+e;var r=t.split("?")[0];return"?"!==e.charAt(0)&&"/"!==r.charAt(r.length-1)&&(r=r.substring(0,r.lastIndexOf("/")+1)),r+e}}function f(s){return s?e(s).replace(o,EMPTY_STRING).replace(u,function(e,t,n,r,i,o){var a=f(d(n||i,s));return o?"@media "+o+" {"+a+"}":a}).replace(l,function(e,t,n,r){return n=n||EMPTY_STRING,t?e:" url("+n+d(r,s,!0)+n+") "}):EMPTY_STRING}var o=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*?/g,u=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))\s*([^;]*);/g,l=/(behavior\s*?:\s*)?\burl\(\s*(["']?)(?!data:)([^"')]+)\2\s*\)/g,s=/((?:^|(?:\s*\})+)(?:\s*@media[^\{]+\{)?)\s*([^\{]*?[\[:][^{]+)/g,h=/([(\[+~])\s+/g,p=/\s+([)\]+~])/g,g=/\s+/g,m=/^\s*((?:[\S\s]*\S)?)\s*$/;return function(){var e,t,n,r,i,o,a=[],s=doc.getElementsByTagName("BASE"),u=0<s.length?s[0].href:doc.location.href,l=doc.styleSheets;for(n=0,r=l.length;n<r;n++)(t=l[n])!=NULL&&a.push(t);for(a.push(window.location),n=0,r=a.length;n<r;n++)(t=a[n])&&((e=d(t.href,u))&&(i=c(f(e))),i&&(o=findFlexboxElements(buildSelectorTree(i))));buildFlexieCall(o)}}(),FLX.box=function(e){return this.renderModel(e)},FLX.box.prototype={properties:{boxModel:function(e,t,n){var r,i,o,a,s,u,l;if(e.style.display="block",8===BROWSER.IE&&(e.style.overflow="hidden"),!n.cleared){for(r=n.selector.split(/\s?,\s?/),i=(i=doc.styleSheets)[i.length-1],o="padding-top:"+(getComputedStyle(e,PADDING_TOP,NULL)||"0.1px;"),a=["content: '.'","display: block","height: 0","overflow: hidden"].join(";"),s=0,u=r.length;s<u;s++)l=r[s],i.addRule?BROWSER.IE<8?(e.style.zoom="1",6===BROWSER.IE?i.addRule(l.replace(/\>|\+|\~/g,""),o+"zoom:1;",0):7===BROWSER.IE&&i.addRule(l,o+"display:inline-block;",0)):(i.addRule(l,o,0),i.addRule(l+":before",a,0),i.addRule(l+":after",a+";clear:both;",0)):i.insertRule&&(i.insertRule(l+"{"+o+"}",0),i.insertRule(l+":after{"+a+";clear:both;}",0));n.cleared=TRUE}},boxDirection:function(e,t,n){var r,i,o,a,s,u;if("reverse"===n.direction&&!n.reversed||"normal"===n.direction&&n.reversed){for(o=0,a=(t=t.reverse()
|
5
|
-
).length;o<a;o++)s=t[o],e.appendChild(s);for(o=0,a=(r=LIBRARY(n.nested)).length;o<a;o++)u=r[o],(i=FLEX_BOXES[u.FLX_DOM_ID])&&i.direction===INHERIT&&(i.direction=n.direction);n.reversed=!n.reversed}},boxOrient:function(e,t,n){var r,i,o,a,s,u=this;if(r={pos:"marginLeft",opp:"marginRight",dim:"width",out:"offsetWidth",func:clientWidth,pad:[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT]},i={pos:"marginTop",opp:"marginBottom",dim:"height",out:"offsetHeight",func:clientHeight,pad:[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM]},!SUPPORT)for(o=0,a=t.length;o<a;o++)(s=t[o]).style[9<=BROWSER.IE?"cssFloat":"styleFloat"]=LEFT,n.orient!==VERTICAL&&n.orient!==BLOCK_AXIS||(s.style.clear=LEFT),6===BROWSER.IE&&(s.style.display="inline");switch(n.orient){case VERTICAL:case BLOCK_AXIS:u.props=i,u.anti=r;break;default:u.props=r,u.anti=i}},boxOrdinalGroup:function(l,c,d){var e,t;c.length&&(e=function(e){var t,n,r,i,o,a,s=e.keys,u=d.reversed?s:s.reverse();for(t=0,n=u.length;t<n;t++)for(r=u[t],i=0,o=c.length;i<o;i++)r===(a=c[i]).getAttribute("data-ordinal-group")&&l.appendChild(a)},1<(t=createMatchMatrix(d.children,c,TRUE)).keys.length&&e(t))},boxFlex:function(l,c,e){var t,n,r,i,m=this;c.length&&(t=function(e){var t,n,r,i,o,a,s,u,l,c,d=e.groups,f=e.keys;for(n=0,r=f.length;n<r;n++)for(o=0,a=d[i=f[n]].length;o<a;o++){for(s=d[i][o],t=NULL,u=0,l=s.properties.length;u<l;u++)c=s.properties[u],RESTRICTIVE_PROPERTIES.test(c.property)&&(t=parseFloat(c.value));(!t||s.match[m.props.out]>t)&&appendPixelValue(s.match,m.props.pos,NULL)}},n=function(e){var t,n,r,i,o,a,s,u=0;for(n=0,r=c.length;n<r;n++){for(u+=getComputedStyle(i=c[n],m.props.dim,TRUE),o=0,a=m.props.pad.length;o<a;o++)u+=getComputedStyle(i,s=m.props.pad[o],TRUE);u+=getComputedStyle(i,m.props.pos,TRUE),u+=getComputedStyle(i,m.props.opp,TRUE)}for(t=l[m.props.out]-u,n=0,r=m.props.pad.length;n<r;n++)s=m.props.pad[n],t-=getComputedStyle(l,s,TRUE);return{whitespace:t,ration:t/e.total}},r=function(e,t){var n,r,i,o,a,s,u,l,c,d,f,h=e.groups,p=e.keys,g=t.ration;for(s=0,u=p.length;s<u;s++)for(i=g*(l=p[s]),c=0,d=h[l].length;c<d;c++)(f=h[l][c]).match&&(n=f.match.getAttribute("data-flex"),r=f.match.getAttribute("data-specificity"),(!n||r<=f.flexSpecificity)&&(f.match.setAttribute("data-flex",l),f.match.setAttribute("data-specificity",f.flexSpecificity),o=getComputedStyle(f.match,m.props.dim,TRUE),a=Math.max(0,o+i),appendPixelValue(f.match,m.props.dim,a)))},(i=createMatchMatrix(e.children,c,NULL)).total&&(e.hasFlex=TRUE,t(i),r(i,n(i))))},boxAlign:function(e,t,n){var r,i,o,a,s,u,l,c,d=this,f=parentFlex(e);for(SUPPORT||f.flex||n.orient!==VERTICAL&&n.orient!==BLOCK_AXIS||(dimensionValues(e,d.anti.dim)||appendPixelValue(e,d.anti.dim,NULL),appendPixelValue(t,d.anti.dim,NULL)),r=e[d.anti.out],o=0,a=d.anti.pad.length;o<a;o++)r-=getComputedStyle(e,s=d.anti.pad[o],TRUE);switch(n.align){case"start":break;case"end":for(o=0,a=t.length;o<a;o++)i=r-(c=t[o])[d.anti.out],i-=getComputedStyle(c,d.anti.opp,TRUE),appendPixelValue(c,d.anti.pos,i);break;case"center":for(o=0,a=t.length;o<a;o++)i=(r-(c=t[o])[d.anti.out])/2,appendPixelValue(c,d.anti.pos,i);break;default:for(o=0,a=t.length;o<a;o++)switch((c=t[o]).nodeName.toLowerCase()){case"button":case"input":case"select":break;default:var h=0;for(u=0,l=d.anti.pad.length;u<l;u++)h+=getComputedStyle(c,s=d.anti.pad[u],TRUE),h+=getComputedStyle(e,s,TRUE);for(c.style[d.anti.dim]="100%",i=c[d.anti.out]-h,appendPixelValue(c,d.anti.dim,NULL),i=r,i-=getComputedStyle(c,d.anti.pos,TRUE),u=0,l=d.anti.pad.length;u<l;u++)i-=getComputedStyle(c,s=d.anti.pad[u],TRUE);i-=getComputedStyle(c,d.anti.opp,TRUE),i=Math.max(0,i),appendPixelValue(c,d.anti.dim,i)}}},boxPack:function(e,t,n){var r,i,o,a,s,u,l,c,d=this,f=0,h=0,p=0,g=t.length-1;for(u=0,l=t.length;u<l;u++)f+=(s=t[u])[d.props.out],f+=getComputedStyle(s,d.props.pos,TRUE),f+=getComputedStyle(s,d.props.opp,TRUE);for(h=getComputedStyle(t[0],d.props.pos,TRUE),r=e[d.props.out]-f,u=0,l=d.props.pad.length;u<l;u++)r-=getComputedStyle(e,d.props.pad[u],TRUE);switch(r<0&&(r=Math.max(0,r)),n.pack){case"end":appendPixelValue(t[0],d.props.pos,p+h+r);break;case"center":p&&(p/=2),appendPixelValue(t[0],d.props.pos,p+h+Math.floor(r/2));break;case"justify":for(a=(i=Math.floor((p+r)/g))*g-r,u=t.length-1;u;)o=i,a&&(o++,a++),c=getComputedStyle(s=t[u],d.props.pos,TRUE)+o,appendPixelValue(s,d.props.pos,c),u--}e.style.overflow=""}},setup:function(e,t,n){var r,i,o,a=this;if(e&&t&&n)if(SUPPORT&&SUPPORT.partialSupport)r=createMatchMatrix(n.children,t,NULL),i=parentFlex(e),t=sanitizeChildren(e,e.childNodes),a.properties.boxOrient.call(a,e,t,n),r.total&&LIBRARY(n.nested).length||("stretch"!==n.align||SUPPORT.boxAlignStretch||i.nested&&i.flex||a.properties.boxAlign.call(a,e,t,n),"justify"!==n.pack||SUPPORT.boxPackJustify||r.total||a.properties.boxPack.call(a,e,t,n));else if(!SUPPORT)for(o in a.properties)a.properties.hasOwnProperty(o)&&a.properties[o].call(a,e,sanitizeChildren(e,e.childNodes),n)},trackDOM:function(e){attachResizeListener(this,e)},updateModel:function(e){var t=this,n=e.target,r=e.nodes;cleanPositioningProperties(r),(e.flexMatrix||e.ordinalMatrix)&&(e=updateChildValues(e)),t.setup(n,r,e),t.bubbleUp(n,e)},renderModel:function(e){var t=this,n=e.target,r=n.childNodes;return!(!n.length&&!r)&&(e=ensureStructuralIntegrity(e,this),t.updateModel(e),win.setTimeout(function(){t.trackDOM(e)},0),t)},bubbleUp:function(e,t){for(var n,r=this,i=t.target.parentNode;i;)(n=FLEX_BOXES[i.FLX_DOM_ID])&&(cleanPositioningProperties(n.nodes),r.setup(n.target,n.nodes,n)),i=i.parentNode}},FLX.updateInstance=function(e,t){var n,r;if(e)(n=FLEX_BOXES[e.FLX_DOM_ID])&&n._instance?n._instance.updateModel(n):n||(n=new FLX.box(t));else for(r in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(r)&&(n=FLEX_BOXES[r])&&n._instance&&n._instance.updateModel(n)},FLX.getInstance=function(e){return FLEX_BOXES[e.FLX_DOM_ID]},FLX.destroyInstance=function(e){var t,n,r,i,o;if(n=function(e){for(e.target.FLX_DOM_ID=NULL,e.target.style.cssText=EMPTY_STRING,r=0,i=e.children.length;r<i;r++)e.children[r].match.style.cssText=EMPTY_STRING},e)(t=FLEX_BOXES[e.FLX_DOM_ID])&&n(t);else{for(o in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(o)&&n(FLEX_BOXES[o]);FLEX_BOXES=[]}},FLX.flexboxSupport=function(){var e,t,n,r,i={},o=100,a=doc.createElement("flxbox"),s='<b style="margin: 0; padding: 0; display:block; width: 10px; height:'+o/2+'px"></b>';for(r in a.style.width=a.style.height=o+"px",a.innerHTML=s+s+s,appendProperty(a,"display","box",NULL),appendProperty(a,"box-align","stretch",TRUE),appendProperty(a,"box-pack","justify",TRUE),doc.body.appendChild(a),e=a.firstChild.offsetHeight,t={boxAlignStretch:function(){return 100===e},boxPackJustify:function(){var e,t,n=0;for(e=0,t=a.childNodes.length;e<t;e++)n+=a.childNodes[e].offsetLeft;return 135===n}})t.hasOwnProperty(r)&&((n=(0,t[r])())||(i.partialSupport=TRUE),i[r]=n);return doc.body.removeChild(a),~a.style.display.indexOf("box")?i:FALSE},FLX.init=function(){FLX.flexboxSupported=SUPPORT=FLX.flexboxSupport(),SUPPORT&&!SUPPORT.partialSupport||!LIBRARY||selectivizrEngine()},FLX.version="1.0.3",attachLoadMethod(FLX.init),FLX}(this,document);!function(t){function s(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function u(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function l(e){for(b in T)T[b]=e[C[b]]}function n(e){var t,n,r,i,o,a;if(t=e.keyCode,-1==s(_,t)&&_.push(t),93!=t&&224!=t||(t=91),t in T)for(r in T[t]=!0,D)D[r]==t&&(c[r]=!0);else if(l(e),c.filter.call(this,e)&&t in x)for(a=h(),i=0;i<x[t].length;i++)if((n=x[t][i]).scope==a||"all"==n.scope){for(r in o=0<n.mods.length,T)(!T[r]&&-1<s(n.mods,+r)||T[r]&&-1==s(n.mods,+r))&&(o=!1);(0!=n.mods.length||T[16]||T[18]||T[17]||T[91])&&!o||!1===n.method(e,n)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function e(e){var t,n=e.keyCode,r=s(_,n);if(0<=r&&_.splice(r,1),93!=n&&224!=n||(n=91),n in T)for(t in T[n]=!1,D)D[t]==n&&(c[t]=!1)}function r(){for(b in T)T[b]=!1;for(b in D)c[b]=!1}function c(e,t,n){var r,i;r=g(e),n===undefined&&(n=t,t="all");for(var o=0;o<r.length;o++)i=[],1<(e=r[o].split("+")).length&&(i=m(e),e=[e[e.length-1]]),e=e[0],(e=S(e))in x||(x[e]=[]),x[e].push({shortcut:r[o],scope:t,method:n,key:r[o],mods:i})}function i(e,t){var n,r,i,o,a,s=[];for(n=g(e),o=0;o<n.length;o++){if(1<(r=n[o].split("+")).length&&(s=m(r),e=r[r.length-1]),e=S(e),t===undefined&&(t=h()),!x[e])return;for(i=0;i<x[e].length;i++)(a=x[e][i]).scope===t&&u(a.mods,s)&&(x[e][i]={})}}function o(e){return"string"==typeof e&&(e=S(e)),-1!=s(_,e)}function a(){return _.slice(0)}function d(e){var t=(e.target||e.srcElement).tagName;return!("INPUT"==t||"SELECT"==t||"TEXTAREA"==t)}function f(e){w=e||"all"}function h(){return w||"all"}function p(e){var t,n,r;for(t in x)for(n=x[t],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++}function g(e){var t;return""==(t=(e=e.replace(/\s/g,"")).split(","))[t.length-1]&&(t[t.length-2]+=","),t}function m(e){for(var t=e.slice(0,e.length-1),n=0;n<t.length;n++)t[n]=D[t[n]];return t}function y(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,function(){n(window.event)})}function v(){var e=t.key;return t.key=M,e}var b,x={},T={16:!1,18:!1,17:!1,91:!1},w="all",D={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,command:91},E={backspace:8,tab:9,clear:12,enter:13,"return":13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,"delete":46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220},S=function(e){return E[e]||e.toUpperCase().charCodeAt(0)},_=[];for(b=1;b<20;b++)E["f"+b]=111+b;var C={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(b in D)c[b]=!1;y(document,"keydown",function(e){n(e)}),y(document,"keyup",e),y(window,"focus",r);var M=t.key;t.key=c,t.key.setScope=f,t.key.getScope=h,t.key.deleteScope=p,t.key.filter=d,t.key.isPressed=o,t.key.getPressedKeyCodes=a,t.key.noConflict=v,t.key.unbind=i,"undefined"!=typeof module&&(module.exports=key)}(this),Window.prototype.forceJURL=!1,function(e){"use strict";function v(e){return D[e]!==undefined}function b(){i.call(this),this._isInvalid=!0}function x(e){return""==e&&b.call(this),e.toLowerCase()}function T(e){var t=e.charCodeAt(0);return 32<t&&t<127&&-1==[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function w(e){var t=e.charCodeAt(0);return 32<t&&t<127&&-1==[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function r(e,t,n){function r(e){l.push(e)}var i=t||"scheme start",o=0,a="",s=!1,u=!1,l=[];e:for(;(e[o-1]!=S||0==o)&&!this._isInvalid;){var c=e[o];switch(i){case"scheme start":if(!c||!_.test(c)){if(t){r("Invalid scheme.");break e}a="",i="no scheme";continue}a+=c.toLowerCase(),i="scheme";break;case"scheme":if(c&&C.test(c))a+=c.toLowerCase();else{if(":"!=c){if(t){if(S==c)break e;r("Code point not allowed in scheme: "+c);break e}a="",o=0,i="no scheme";continue}if(this._scheme=a,a="",t)break e;v(this._scheme)&&(this._isRelative=!0),i="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==c?(this._query="?",i="query"):"#"==c?(this._fragment="#",i="fragment"):S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._schemeData+=T(c));break;case"no scheme":if(n&&v(n._scheme)){i="relative";continue}r("Missing scheme."),b.call(this);break;case"relative or authority":if("/"!=c||"/"!=e[o+1]){r("Expected /, got: "+c),i="relative";continue}i="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),S==c){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break e}if("/"==c||"\\"==c)"\\"==c&&r("\\ is an invalid code point."),i="relative slash";else if("?"==c)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,i="query";else{if("#"!=c){var d=e[o+1],f=e[o+2];("file"!=this._scheme||!_.test(c)||":"!=d&&"|"!=d||S!=f&&"/"!=f&&"\\"!=f&&"?"!=f&&"#"!=f)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),i="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,i="fragment"}break;case"relative slash":if("/"!=c&&"\\"!=c){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),i="relative path";continue}"\\"==c&&r("\\ is an invalid code point."),i="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=c){r("Expected '/', got: "+c),i="authority ignore slashes";continue}i="authority second slash";break;case"authority second slash":if(i="authority ignore slashes","/"==c)break;r("Expected '/', got: "+c);continue;case"authority ignore slashes":if("/"!=c&&"\\"!=c){i="authority";continue}r("Expected authority, got: "+c);break;case"authority":if("@"==c){s&&(r("@ already seen."),a+="%40"),s=!0;for(var h=0;h<a.length;h++){var p=a[h];if("\t"!=p&&"\n"!=p&&"\r"!=p)if(":"!=p||null!==this._password){var g=T(p);null!==this._password?this._password+=g:this._username+=g}else this._password="";else r("Invalid whitespace in authority.")}a=""}else{if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){o-=a.length,a="",i="host";continue}a+=c}break;case"file host":if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){2!=a.length||!_.test(a[0])||":"!=a[1]&&"|"!=a[1]?(0==a.length||(this._host=x.call(this,a),a=""),i="relative path start"):i="relative path";continue}"\t"==c||"\n"==c||"\r"==c?r("Invalid whitespace in file host."):a+=c;break;case"host":case"hostname":if(":"!=c||u){if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){if(this._host=x.call(this,a),a="",i="relative path start",t)break e;continue}"\t"!=c&&"\n"!=c&&"\r"!=c?("["==c?u=!0:"]"==c&&(u=!1),a+=c):r("Invalid code point in host/hostname: "+c)}else if(this._host=x.call(this,a),a="",i="port","hostname"==t)break e;break;case"port":if(/[0-9]/.test(c))a+=c;else{if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c||t){if(""!=a){var m=parseInt(a,10);m!=D[this._scheme]&&(this._port=m+""),a=""}if(t)break e;i="relative path start";continue}"\t"==c||"\n"==c||"\r"==c?r("Invalid code point in port: "+c):b.call(this)}break;case"relative path start":if("\\"==c&&r("'\\' not allowed in path."),i="relative path","/"!=c&&"\\"!=c)continue;break;case"relative path":var y;if(S!=c&&"/"!=c&&"\\"!=c&&(t||"?"!=c&&"#"!=c))"\t"!=c&&"\n"!=c&&"\r"!=c&&(a+=T(c));else"\\"==c&&r("\\ not allowed in relative path."),(y=E[a.toLowerCase()])&&(a=y),".."==a?(this._path.pop(),"/"!=c&&"\\"!=c&&this._path.push("")):"."==a&&"/"!=c&&"\\"!=c?this._path.push(""):"."!=a&&("file"==this._scheme&&0==this._path.length&&2==a.length&&_.test(a[0])&&"|"==a[1]&&(a=a[0]+":"),this._path.push(a)),a="","?"==c?(this._query="?",i="query"):"#"==c&&(this._fragment="#",i="fragment");break;case"query":t||"#"!=c?S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._query+=w(c)):(this._fragment="#",i="fragment");break;case"fragment":S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._fragment+=c)}o++}}function i(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function o(e,t){t===undefined||t instanceof o||(t=new o(String(t))),this._url=""+e,i.call(this);var n=this._url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");r.call(this,n,null,t)}var t=!1;if(!e.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",t="http://a/c%20d"===n.href}catch(s){}if(!t){var D=Object.create(null);D.ftp=21,D.file=0,D.gopher=70,D.http=80,D.https=443,D.ws=80,D.wss=443;var E=Object.create(null);E["%2e"]=".",E[".%2e"]="..",E["%2e."]="..",E["%2e%2e"]="..";var S=undefined,_=/[a-zA-Z]/,C=/[a-zA-Z0-9\+\-\.]/;o.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""==this._username&&null==this._password||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){i.call(this),r.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||r.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],r.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&((this._query="?")==e[0]&&(e=e.slice(1)),r.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(e?((this._fragment="#")==e[0]&&(e=e.slice(1)),r.call(this,e,"fragment")):this._fragment="")},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(e=this.host)?this._scheme+"://"+e:""}};var a=e.URL;a&&(o.createObjectURL=function(){return a.createObjectURL.apply(a,arguments)},o.revokeObjectURL=function(e){a.revokeObjectURL(e)}),e.URL=o}}(window),function(){var e,h=function(e,t){return function(){return e.apply(t,arguments)}};jQuery.expr.pseudos.icontains=function(e,t,n){var r,i;return 0<=(null!=(r=null!=(i=e.textContent)?i:e.innerText)?r:"").toUpperCase().indexOf(n[3].toUpperCase())},e=function(){function e(){var t,n,r,e,i,o,a,s,u,l,c,d,f;this.nextTab=h(this.nextTab,this),this.previousTab=h(this.previousTab,this),this.openTab=h(this.openTab,this),this.selectedTab=h(this.selectedTab,this),this.getTab=h(this.getTab,this),$("#messages").on("click","tr",(t=this,function(e){return e.preventDefault(),t.loadMessage($(e.currentTarget).attr("data-message-id"))})),$("input[name=search]").on("keyup",(n=this,function(e){var t;return(t=$.trim($(e.currentTarget).val()))?n.searchMessages(t):n.clearSearch()})),$("#message").on("click",".views .format.tab a",(r=this,function(e){return e.preventDefault(),r.loadMessageBody(r.selectedMessage(),$($(e.currentTarget).parent("li")).data("message-format"))})),$("#message iframe").on("load",(e=this,function(){return e.decorateMessageBody()})),$("#resizer").on("mousedown",(i=this,function(e){var t;return e.preventDefault(),t={mouseup:function(e){return e.preventDefault(),$(window).off(t)},mousemove:function(e){return e.preventDefault(),i.resizeTo(e.clientY)}},$(window).on(t)})),this.resizeToSaved(),$("nav.app .clear a").on("click",(o=this,function(e){if(e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to clear all messages?"))return $.ajax({url:new URL("messages",document.baseURI).toString(),type:"DELETE",success:function(){return o.clearMessages()},error:function(){return alert("Error while clearing all messages.")}})})),$("nav.app .quit a").on("click",function(e){if(e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to quit?"))return $.ajax({type:"DELETE",success:function(){return location.replace($("body > header h1 a").attr("href"))},error:function(){return alert("Error while quitting.")}})}),this.favcount=new Favcount($('link[rel="icon"]').attr("href")),key("up",(a=this,function(){return a.selectedMessage()?a.loadMessage($("#messages tr.selected").prevAll(":visible").first().data("message-id")):a.loadMessage($("#messages tbody tr[data-message-id]").first().data("message-id")),!1})),key("down",(s=this,function(){return s.selectedMessage()?s.loadMessage($("#messages tr.selected").nextAll(":visible").data("message-id")):s.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1})),key("\u2318+up, ctrl+up",(u=this,function(){return u.loadMessage($("#messages tbody tr[data-message-id]:visible").first().data("message-id")),!1})),key("\u2318+down, ctrl+down",(l=this,function(){return l.loadMessage($("#messages tbody tr[data-message-id]:visible").first().data("message-id")),!1})),key("left",(c=this,function(){return c.openTab(c.previousTab()),!1})),key("right",(d=this,function(){return d.openTab(d.nextTab()),!1})),key("backspace, delete",(f=this,function(){var e;return null!=(e=f.selectedMessage())&&$.ajax({url:new URL("messages/"+e,document.baseURI).toString(),type:"DELETE",success:function(){return f.removeMessage(e)},error:function(){return alert("Error while removing message.")}}),!1})),this.refresh(),this.subscribe()}return e.prototype.parseDateRegexp=/^(\d{4})[-\/\\](\d{2})[-\/\\](\d{2})(?:\s+|T)(\d{2})[:-](\d{2})[:-](\d{2})(?:([ +-]\d{2}:\d{2}|\s*\S+|Z?))?$/,e.prototype.parseDate=function(e){var t;if(t=this.parseDateRegexp.exec(e))return new Date(t[1],t[2]-1,t[3],t[4],t[5],t[6],0)},e.prototype.offsetTimeZone=function(e){var t;return t=6e4*Date.now().getTimezoneOffset(),e.setTime(e.getTime()-t),e},e.prototype.formatDate=function(e){return"string"==typeof e&&e&&(e=this.parseDate(e)),e&&(e=this.offsetTimeZone(e)),e&&e.toString("dddd, d MMM yyyy h:mm:ss tt")},e.prototype.messagesCount=function(){return $("#messages tr").length-1},e.prototype.updateMessagesCount=function(){return this.favcount.set(this.messagesCount()),document.title="MailCatcher ("+this.messagesCount()+")"},e.prototype.tabs=function(){return $("#message ul").children(".tab")},e.prototype.getTab=function(e){return $(this.tabs()[e])},e.prototype.selectedTab=function(){return this.tabs().index($("#message li.tab.selected"))},e.prototype.openTab=function(e){return this.getTab(e).children("a").click()},e.prototype.previousTab=function(e){var t;return(t=e||0===e?e:this.selectedTab()-1)<0&&(t=this.tabs().length-1),this.getTab(t).is(":visible")?t:this.previousTab(t-1)},e.prototype.nextTab=function(e){var t;return(t=e||this.selectedTab()+1)>this.tabs().length-1&&(t=0),this.getTab(t).is(":visible")?t:this.nextTab(t+1)},e.prototype.haveMessage=function(e){return null!=e.id&&(e=e.id),0<$('#messages tbody tr[data-message-id="'+e+'"]').length},e.prototype.selectedMessage=function(){return $("#messages tr.selected").data("message-id")},e.prototype.searchMessages=function(i){var e,t,o;return t=function(){var e,t,n,r;for(r=[],e=0,t=(n=i.split(/\s+/)).length;e<t;e++)o=n[e],r.push(":icontains('"+o+"')");return r}().join(""),(e=$("#messages tbody tr")).not(t).hide(),e.filter(t).show()},e.prototype.clearSearch=function(){return $("#messages tbody tr").show()},e.prototype.addMessage=function(e){return $("<tr />").attr("data-message-id",e.id.toString()).append($("<td/>").text(e.sender||"No sender").toggleClass("blank",!e.sender)).append($("<td/>").text((e.recipients||[]).join(", ")||"No receipients").toggleClass("blank",!e.recipients.length)).append($("<td/>").text(e.subject||"No subject").toggleClass("blank",!e.subject)).append($("<td/>").text(this.formatDate(e.created_at))).prependTo($("#messages tbody")),this.updateMessagesCount()},e.prototype.removeMessage=function(e){var t,n,r;return(t=(n=$('#messages tbody tr[data-message-id="'+e+'"]')).is(".selected"))&&(r=n.next().data("message-id")||n.prev().data("message-id")),n.remove(),t&&(r?this.loadMessage(r):this.unselectMessage()),this.updateMessagesCount()},e.prototype.clearMessages=function(){return $("#messages tbody tr").remove(),this.unselectMessage(),this.updateMessagesCount()},e.prototype.scrollToRow=function(e){var t,n;return(n=e.offset().top-$("#messages").offset().top)<0?$("#messages").scrollTop($("#messages").scrollTop()+n-20):0<(t=n+e.height()-$("#messages").height())?$("#messages").scrollTop($("#messages").scrollTop()+t+20):void 0},e.prototype.unselectMessage=function(){return $("#messages tbody, #message .metadata dd").empty(),$("#message .metadata .attachments").hide(),$("#message iframe").attr("src","about:blank"),null},e.prototype.loadMessage=function(o){var e,t;if(null!=(null!=o?o.id:void 0)&&(o=o.id),o||(o=$("#messages tr.selected").attr("data-message-id")),null!=o)return $("#messages tbody tr:not([data-message-id='"+o+"'])").removeClass("selected"),(e=$("#messages tbody tr[data-message-id='"+o+"']")).addClass("selected"),this.scrollToRow(e),$.getJSON("messages/"+o+".json",(t=this,function(i){var n;return $("#message .metadata dd.created_at").text(t.formatDate(i.created_at)),$("#message .metadata dd.from").text(i.sender),$("#message .metadata dd.to").text((i.recipients||[]).join(", ")),$("#message .metadata dd.subject").text(i.subject),$("#message .views .tab.format").each(function(e,t){var n,r;return r=(n=$(t)).attr("data-message-format"),0<=$.inArray(r,i.formats)?(n.find("a").attr("href","messages/"+o+"."+r),n.show()):n.hide()}),$("#message .views .tab.selected:not(:visible)").length&&($("#message .views .tab.selected").removeClass("selected"),$("#message .views .tab:visible:first").addClass("selected")),i.attachments.length?(n=$("<ul/>").appendTo($("#message .metadata dd.attachments").empty()),$.each(i.attachments,function(e,t){return n.append($("<li>").append($("<a>").attr("href","messages/"+o+"/parts/"+t.cid).addClass(t.type.split("/",1)[0]).addClass(t.type.replace("/","-")).text(t.filename)))}),$("#message .metadata .attachments").show()):$("#message .metadata .attachments").hide(),$("#message .views .download a").attr("href","messages/"+o+".eml"),t.loadMessageBody()}))},e.prototype.loadMessageBody=function(e,t){if(e||(e=this.selectedMessage()),t||(t=$("#message .views .tab.format.selected").attr("data-message-format")),t||(t="html"),$('#message .views .tab[data-message-format="'+t+'"]:not(.selected)').addClass("selected"),$('#message .views .tab:not([data-message-format="'+t+'"]).selected').removeClass("selected"),null!=e)return $("#message iframe").attr("src","messages/"+e+"."+t)},e.prototype.decorateMessageBody=function(){var e,t,n;switch($("#message .views .tab.format.selected").attr("data-message-format")){case"html":return e=$("#message iframe").contents().find("body"),$("a",e).attr("target","_blank");case"plain":return n=(n=(n=(n=(n=(n=(t=$("#message iframe").contents()).text()).replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/\n/g,"<br/>")).replace(/((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?)/g,'<a href="$1" target="_blank">$1</a>'),t.find("html").html("<html><body>"+n+"</html></body>")}},e.prototype.refresh=function(){return $.getJSON("messages",(n=this,function(e){return $.each(e,function(e,t){if(!n.haveMessage(t))return n.addMessage(t)}),n.updateMessagesCount()}));var n},e.prototype.subscribe=function(){return"undefined"!=typeof WebSocket&&null!==WebSocket?this.subscribeWebSocket():this.subscribePoll()},e.prototype.subscribeWebSocket=function(){var e,t,n;return e="https:"===window.location.protocol,(t=new URL("messages",document.baseURI)).protocol=e?"wss":"ws",this.websocket=new WebSocket(t.toString()),this.websocket.onmessage=(n=this,function(e){var t;return"add"===(t=JSON.parse(e.data)).type?n.addMessage(t.message):"remove"===t.type?n.removeMessage(t.id):"clear"===t.type?n.clearMessages():void 0})},e.prototype.subscribePoll=function(){if(null==this.refreshInterval)return this.refreshInterval=setInterval((e=this,function(){return e.refresh()}),1e3);var e},e.prototype.resizeToSavedKey="mailcatcherSeparatorHeight",e.prototype.resizeTo=function(e){var t;return $("#messages").css({height:e-$("#messages").offset().top}),null!=(t=window.localStorage)?t.setItem(this.resizeToSavedKey,e):void 0},e.prototype.resizeToSaved=function(){var e,t;if(e=parseInt(null!=(t=window.localStorage)?t.getItem(this.resizeToSavedKey):void 0),!isNaN(e))return this.resizeTo(e)},e}(),$(function(){return window.MailCatcher=new e})}.call(this);
|
1
|
+
window.Modernizr=function(e,t,r){function n(e){h.cssText=e}function i(e,t){return typeof e===t}var o,a,s="2.7.1",u={},l=!0,c=t.documentElement,d="modernizr",f=t.createElement(d),h=f.style,p=({}.toString,{}),g=[],m=g.slice,y={}.hasOwnProperty;for(var v in a=i(y,"undefined")||i(y.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return y.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function b(r){var i=this;if("function"!=typeof i)throw new TypeError;var o=m.call(arguments,1),a=function(){if(this instanceof a){var e=function(){};e.prototype=i.prototype;var t=new e,n=i.apply(t,o.concat(m.call(arguments)));return Object(n)===n?n:t}return i.apply(r,o.concat(m.call(arguments)))};return a}),p)a(p,v)&&(o=v.toLowerCase(),u[o]=p[v](),g.push((u[o]?"":"no-")+o));return u.addTest=function(e,t){if("object"==typeof e)for(var n in e)a(e,n)&&u.addTest(n,e[n]);else{if(e=e.toLowerCase(),u[e]!==r)return u;t="function"==typeof t?t():t,void 0!==l&&l&&(c.className+=" "+(t?"":"no-")+e),u[e]=t}return u},n(""),f=null,function(e,a){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function s(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function u(e){var t=y[e[g]];return t||(t={},m++,e[g]=m,y[m]=t),t}function r(e,t,n){return t||(t=a),c?t.createElement(e):(n||(n=u(t)),!(r=n.cache[e]?n.cache[e].cloneNode():p.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||h.test(e)||r.tagUrn?r:n.frag.appendChild(r));var r}function t(e,t){if(e||(e=a),c)return e.createDocumentFragment();for(var n=(t=t||u(e)).frag.cloneNode(),r=0,i=s(),o=i.length;r<o;r++)n.createElement(i[r]);return n}function i(t,n){n.cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return v.shivMethods?r(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,n.frag)}function o(e){e||(e=a);var t=u(e);return!v.shivCSS||l||t.hasCSS||(t.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||i(e,t),e}var l,c,d="3.7.0",f=e.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",m=0,y={};!function(){try{var e=a.createElement("a");e.innerHTML="<xyz></xyz>",l="hidden"in e,c=1==e.childNodes.length||function(){a.createElement("a");var e=a.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){c=l=!0}}();var v={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:!1!==f.shivCSS,supportsUnknownElements:c,shivMethods:!1!==f.shivMethods,type:"default",shivDocument:o,createElement:r,createDocumentFragment:t};e.html5=v,o(a)}(this,t),u._version=s,c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(l?" js "+g.join(" "):""),u}(0,this.document),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(E,e){"use strict";function g(e,t,n){var r,i,o=(n=n||ue).createElement("script");if(o.text=e,t)for(r in we)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function m(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?pe[ge.call(e)]||"object":typeof e}function s(e){var t=!!e&&"length"in e&&e.length,n=m(e);return!xe(e)&&!Te(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function t(e,n,r){return xe(n)?Ee.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?Ee.grep(e,function(e){return e===n!==r}):"string"!=typeof n?Ee.grep(e,function(e){return-1<he.call(n,e)!==r}):Ee.filter(n,e,r)}function n(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var n={};return Ee.each(e.match(Ae)||[],function(e,t){n[t]=!0}),n}function d(e){return e}function f(e){throw e}function u(e,t,n,r){var i;try{e&&xe(i=e.promise)?i.call(e).done(t).fail(n):e&&xe(i=e.then)?i.call(e,t,n):t.apply(undefined,[e].slice(r))}catch(e){n.apply(undefined,[e])}}function r(){ue.removeEventListener("DOMContentLoaded",r),E.removeEventListener("load",r),Ee.ready()}function i(e,t){return t.toUpperCase()}function h(e){return e.replace(He,"ms-").replace($e,i)}function o(){this.expando=Ee.expando+o.uid++}function a(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Be.test(e)?JSON.parse(e):e)}function p(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(ze,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=a(n)}catch(i){}Ue.set(e,t,n)}else n=undefined;return n}function y(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return Ee.css(e,t,"")},u=s(),l=n&&n[3]||(Ee.cssNumber[t]?"":"px"),c=e.nodeType&&(Ee.cssNumber[t]||"px"!==l&&+u)&&Ge.exec(Ee.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)Ee.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,Ee.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function v(e){var t,n=e.ownerDocument,r=e.nodeName,i=et[r];return i||(t=n.body.appendChild(n.createElement(r)),i=Ee.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),et[r]=i)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Xe.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Je(r)&&(i[o]=v(r))):"none"!==n&&(i[o]="none",Xe.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function x(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&l(e,t)?Ee.merge([e],n):n}function T(e,t){for(var n=0,r=e.length;n<r;n++)Xe.set(e[n],"globalEval",!t||Xe.get(t[n],"globalEval"))}function w(e,t,n,r,i){for(var o,a,s,u,l,c,d=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===m(o))Ee.merge(f,o.nodeType?[o]:o);else if(st.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(nt.exec(o)||["",""])[1].toLowerCase(),u=it[s]||it._default,a.innerHTML=u[1]+Ee.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;Ee.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",h=0;o=f[h++];)if(r&&-1<Ee.inArray(o,r))i&&i.push(o);else if(l=Qe(o),a=x(d.appendChild(o),"script"),l&&T(a),n)for(c=0;o=a[c++];)rt.test(o.type||"")&&n.push(o);return d}function D(){return!0}function S(){return!1}function _(e,t){return e===C()==("focus"===t)}function C(){try{return ue.activeElement}catch(e){}}function M(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=undefined),t)M(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=undefined):null==i&&("string"==typeof n?(i=r,r=undefined):(i=r,r=n,n=undefined)),!1===i)i=S;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return Ee().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Ee.guid++)),e.each(function(){Ee.event.add(this,t,i,r,n)})}function L(e,i,o){o?(Xe.set(e,i,!1),Ee.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Xe.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(Ee.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=ce.call(arguments),Xe.set(this,i,r),t=o(this,i),this[i](),r!==(n=Xe.get(this,i))||t?Xe.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Xe.set(this,i,{value:Ee.event.trigger(Ee.extend(r[0],Ee.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):Xe.get(e,i)===undefined&&Ee.event.add(e,i,D)}function k(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")&&Ee(e).children("tbody")[0]||e}function N(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function R(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function I(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Xe.hasData(e)&&(o=Xe.access(e),a=Xe.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)Ee.event.add(t,i,l[i][n]);Ue.hasData(e)&&(s=Ue.access(e),u=Ee.extend({},s),Ue.set(t,u))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&&tt.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function A(n,r,i,o){r=de.apply([],r);var e,t,a,s,u,l,c=0,d=n.length,f=d-1,h=r[0],p=xe(h);if(p||1<d&&"string"==typeof h&&!be.checkClone&&ht.test(h))return n.each(function(e){var t=n.eq(e);p&&(r[0]=h.call(this,e,t.html())),A(t,r,i,o)});if(d&&(t=(e=w(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=Ee.map(x(e,"script"),N)).length;c<d;c++)u=e,c!==f&&(u=Ee.clone(u,!0,!0),s&&Ee.merge(a,x(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,Ee.map(a,R),c=0;c<s;c++)u=a[c],rt.test(u.type||"")&&!Xe.access(u,"globalEval")&&Ee.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?Ee._evalUrl&&!u.noModule&&Ee._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")}):g(u.textContent.replace(pt,""),u,l))}return n}function P(e,t,n){for(var r,i=t?Ee.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||Ee.cleanData(x(r)),r.parentNode&&(n&&Qe(r)&&T(x(r,"script")),r.parentNode.removeChild(r));return e}function F(e,t,n){var r,i,o,a,s=e.style;return(n=n||mt(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||Qe(e)||(a=Ee.style(e,t)),!be.pixelBoxStyles()&>.test(a)&&yt.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),a!==undefined?a+"":a}function j(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function H(e){for(var t=e[0].toUpperCase()+e.slice(1),n=vt.length;n--;)if((e=vt[n]+t)in bt)return e}function $(e){var t=Ee.cssProps[e]||xt[e];return t||(e in bt?e:xt[e]=H(e)||e)}function q(e,t,n){var r=Ge.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function X(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=Ee.css(e,n+Ye[a],!0,i)),r?("content"===n&&(u-=Ee.css(e,"padding"+Ye[a],!0,i)),"margin"!==n&&(u-=Ee.css(e,"border"+Ye[a]+"Width",!0,i))):(u+=Ee.css(e,"padding"+Ye[a],!0,i),"padding"!==n?u+=Ee.css(e,"border"+Ye[a]+"Width",!0,i):s+=Ee.css(e,"border"+Ye[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function U(e,t,n){var r=mt(e),i=(!be.boxSizingReliable()||n)&&"border-box"===Ee.css(e,"boxSizing",!1,r),o=i,a=F(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(gt.test(a)){if(!n)return a;a="auto"}return(!be.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===Ee.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===Ee.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+X(e,t,n||(i?"border":"content"),o,r,a)+"px"}function B(e,t,n,r,i){return new B.prototype.init(e,t,n,r,i)}function z(){_t&&(!1===ue.hidden&&E.requestAnimationFrame?E.requestAnimationFrame(z):E.setTimeout(z,Ee.fx.interval),Ee.fx.tick())}function W(){return E.setTimeout(function(){St=undefined}),St=Date.now()}function G(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Ye[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Y(e,t,n){for(var r,i=(Z.tweeners[t]||[]).concat(Z.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function V(e,t,n){var r,i,o,a,s,u,l,c,d="width"in t||"height"in t,f=this,h={},p=e.style,g=e.nodeType&&Je(e),m=Xe.get(e,"fxshow");for(r in n.queue||(null==(a=Ee._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,Ee.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],Lt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||m[r]===undefined)continue;g=!0}h[r]=m&&m[r]||Ee.style(e,r)}if((u=!Ee.isEmptyObject(t))||!Ee.isEmptyObject(h))for(r in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=m&&m.display)&&(l=Xe.get(e,"display")),"none"===(c=Ee.css(e,"display"))&&(l?c=l:(b([e],!0),l=e.style.display||l,c=Ee.css(e,"display"),b([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===Ee.css(e,"float")&&(u||(f.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1,h)u||(m?"hidden"in m&&(g=m.hidden):m=Xe.access(e,"fxshow",{display:l}),o&&(m.hidden=!g),g&&b([e],!0),f.done(function(){for(r in g||b([e]),Xe.remove(e,"fxshow"),h)Ee.style(e,r,h[r])})),u=Y(g?m[r]:0,r,f),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}function Q(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=h(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Ee.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function Z(o,e,t){var n,a,r=0,i=Z.prefilters.length,s=Ee.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=St||W(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:Ee.extend({},e),opts:Ee.extend(!0,{specialEasing:{},easing:Ee.easing._default},t),originalProperties:e,originalOptions:t,startTime:St||W(),duration:t.duration,tweens:[],createTween:function(e,t){var n=Ee.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(Q(c,l.opts.specialEasing);r<i;r++)if(n=Z.prefilters[r].call(l,o,c,l.opts))return xe(n.stop)&&(Ee._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return Ee.map(c,Y,l),xe(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),Ee.fx.timer(Ee.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}function J(e){return(e.match(Ae)||[]).join(" ")}function K(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Ae)||[]}function te(n,e,r,i){var t;if(Array.isArray(e))Ee.each(e,function(e,t){r||qt.test(n)?i(n,t):te(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==m(e))i(n,e);else for(t in e)te(n+"["+t+"]",e[t],r,i)}function ne(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(Ae)||[];if(xe(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function re(t,i,o,a){function s(e){var r;return u[e]=!0,Ee.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||l||u[n]?l?!(r=n):void 0:(i.dataTypes.unshift(n),s(n),!1)}),r}var u={},l=t===Kt;return s(i.dataTypes[0])||!u["*"]&&s("*")}function ie(e,t){var n,r,i=Ee.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&Ee.extend(!0,e,r),e}function oe(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),r===undefined&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function ae(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var se=[],ue=E.document,le=Object.getPrototypeOf,ce=se.slice,de=se.concat,fe=se.push,he=se.indexOf,pe={},ge=pe.toString,me=pe.hasOwnProperty,ye=me.toString,ve=ye.call(Object),be={},xe=function xe(e){return"function"==typeof e&&"number"!=typeof e.nodeType},Te=function Te(e){return null!=e&&e===e.window},we={type:!0,src:!0,nonce:!0,noModule:!0},De="3.4.1",Ee=function(e,t){return new Ee.fn.init(e,t)},Se=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Ee.fn=Ee.prototype={jquery:De,constructor:Ee,length:0,toArray:function(){return ce.call(this)},get:function(e){return null==e?ce.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Ee.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Ee.each(this,e)},map:function(n){return this.pushStack(Ee.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ce.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:fe,sort:se.sort,splice:se.splice},Ee.extend=Ee.fn.extend=function(e){var t,n,r,i,o,a,s=e||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"==typeof s||xe(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(n in t)i=t[n],"__proto__"!==n&&s!==i&&(c&&i&&(Ee.isPlainObject(i)||(o=Array.isArray(i)))?(r=s[n],a=o&&!Array.isArray(r)?[]:o||Ee.isPlainObject(r)?r:{},o=!1,s[n]=Ee.extend(c,a,i)):i!==undefined&&(s[n]=i));return s},Ee.extend({expando:"jQuery"+(De+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ge.call(e))&&(!(t=le(e))||"function"==typeof(n=me.call(t,"constructor")&&t.constructor)&&ye.call(n)===ve)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){g(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(s(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(Se,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?Ee.merge(n,"string"==typeof e?[e]:e):fe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:he.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(s(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return de.apply([],a)},guid:1,support:be}),"function"==typeof Symbol&&(Ee.fn[Symbol.iterator]=se[Symbol.iterator]),Ee.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var _e=function(n){function x(e,t,n,r){var i,o,a,s,u,l,c,d=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!r&&((t?t.ownerDocument||t:q)!==I&&R(t),t=t||I,A)){if(11!==f&&(u=be.exec(e)))if(i=u[1]){if(9===f){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(d&&(a=d.getElementById(i))&&H(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return K.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&w.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(i)),n}if(w.qsa&&!G[e+" "]&&(!P||!P.test(e))&&(1!==f||"object"!==t.nodeName.toLowerCase())){if(c=e,d=t,1===f&&de.test(e)){for((s=t.getAttribute("id"))?s=s.replace(De,Ee):t.setAttribute("id",s=$),o=(l=_(e)).length;o--;)l[o]="#"+s+" "+g(l[o]);c=l.join(","),d=xe.test(e)&&p(t.parentNode)||t}try{return K.apply(n,d.querySelectorAll(c)),n}catch(h){G(e,!0)}finally{s===$&&t.removeAttribute("id")}}}return M(e.replace(ue,"$1"),t,n,r)}function e(){function n(e,t){return r.push(e+" ")>D.cacheLength&&delete n[r.shift()],n[e+" "]=t}var r=[];return n}function u(e){return e[$]=!0,e}function i(e){var t=I.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function t(e,t){for(var n=e.split("|"),r=n.length;r--;)D.attrHandle[n[r]]=t}function l(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function r(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function o(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function a(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&_e(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function s(a){return u(function(o){return o=+o,u(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function c(){}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(s,e,t){var u=e.dir,l=e.next,c=l||u,d=t&&"parentNode"===c,f=U++;return e.first?function(e,t,n){for(;e=e[u];)if(1===e.nodeType||d)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[X,f];if(n){for(;e=e[u];)if((1===e.nodeType||d)&&s(e,t,n))return!0}else for(;e=e[u];)if(1===e.nodeType||d)if(i=(o=e[$]||(e[$]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===X&&r[1]===f)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function f(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function v(e,t,n){for(var r=0,i=t.length;r<i;r++)x(e,t[r],n);return n}function T(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function b(h,p,g,m,y,e){return m&&!m[$]&&(m=b(m)),y&&!y[$]&&(y=b(y,e)),u(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||v(p||"*",n.nodeType?[n]:n,[]),d=!h||!e&&p?c:T(c,s,h,n,r),f=g?y||(e?h:l||m)?[]:t:d;if(g&&g(d,f,n,r),m)for(i=T(f,u),m(i,[],n,r),o=i.length;o--;)(a=i[o])&&(f[u[o]]=!(d[u[o]]=a));if(e){if(y||h){if(y){for(i=[],o=f.length;o--;)(a=f[o])&&i.push(d[o]=a);y(null,f=[],i,r)}for(o=f.length;o--;)(a=f[o])&&-1<(i=y?te(e,a):s[o])&&(e[i]=!(t[i]=a))}}else f=T(f===t?f.splice(l,f.length):f),y?y(null,t,f,r):K.apply(t,f)})}function h(e){for(var i,t,n,r=e.length,o=D.relative[e[0].type],a=o||D.relative[" "],s=o?1:0,u=d(function(e){return e===i},a,!0),l=d(function(e){return-1<te(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==L)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=D.relative[e[s].type])c=[d(f(c),t)];else{if((t=D.filter[e[s].type].apply(null,e[s].matches))[$]){for(n=++s;n<r&&!D.relative[e[n].type];n++);return b(1<s&&f(c),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ue,"$1"),t,s<n&&h(e.slice(s,n)),n<r&&h(e=e.slice(n)),n<r&&g(e))}c.push(t)}return f(c)}function m(m,y){var v=0<y.length,b=0<m.length,e=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],d=[],f=L,h=e||b&&D.find.TAG("*",i),p=X+=null==f?1:Math.random()||.1,g=h.length;for(i&&(L=t===I||t||i);l!==g&&null!=(o=h[l]);l++){if(b&&o){for(a=0,t||o.ownerDocument===I||(R(o),n=!A);s=m[a++];)if(s(o,t||I,n)){r.push(o);break}i&&(X=p)}v&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,v&&l!==u){for(a=0;s=y[a++];)s(c,d,t,n);if(e){if(0<u)for(;l--;)c[l]||d[l]||(d[l]=Z.call(r));d=T(d)}K.apply(r,d),i&&!e&&0<d.length&&1<u+y.length&&x.uniqueSort(r)}return i&&(X=p,L=f),c};return v?u(e):e}var y,w,D,E,S,_,C,M,L,k,N,R,I,O,A,P,F,j,H,$="sizzle"+1*new Date,q=n.document,X=0,U=0,B=e(),z=e(),W=e(),G=e(),Y=function(e,t){return e===t&&(N=!0),0},V={}.hasOwnProperty,Q=[],Z=Q.pop,J=Q.push,K=Q.push,ee=Q.slice,te=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",oe="\\["+re+"*("+ie+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+re+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(re+"+","g"),ue=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),le=new RegExp("^"+re+"*,"+re+"*"),ce=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),de=new RegExp(re+"|>"),fe=new RegExp(ae),he=new RegExp("^"+ie+"$"),pe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},ge=/HTML$/i,me=/^(?:input|select|textarea|button)$/i,ye=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xe=/[+~]/,Te=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},De=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ee=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Se=function(){R()},_e=d(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{K.apply(Q=ee.call(q.childNodes),q.childNodes),Q[q.childNodes.length].nodeType}catch(Ce){K={apply:Q.length?function(e,t){J.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(y in w=x.support={},S=x.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!ge.test(t||n&&n.nodeName||"HTML")},R=x.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:q;return r!==I&&9===r.nodeType&&r.documentElement&&(O=(I=r).documentElement,A=!S(I),q!==I&&(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Se,!1):n.attachEvent&&n.attachEvent("onunload",Se)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(I.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(I.getElementsByClassName),w.getById=i(function(e){return O.appendChild(e).id=$,!I.getElementsByName||!I.getElementsByName($).length}),w.getById?(D.filter.ID=function(e){var t=e.replace(Te,we);return function(e){return e.getAttribute("id")===t}},D.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&A){var n=t.getElementById(e);return n?[n]:[]}}):(D.filter.ID=function(e){var n=e.replace(Te,we);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},D.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&A){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),D.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},D.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&A)return t.getElementsByClassName(e)},F=[],P=[],(w.qsa=ve.test(I.querySelectorAll))&&(i(function(e){O.appendChild(e).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||P.push("\\["+re+"*(?:value|"+ne+")"),e.querySelectorAll("[id~="+$+"-]").length||P.push("~="),e.querySelectorAll(":checked").length||P.push(":checked"),e.querySelectorAll("a#"+$+"+*").length||P.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=I.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&P.push("name"+re+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&P.push(":enabled",":disabled"),O.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.push(",.*:")})),(w.matchesSelector=ve.test(j=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&i(function(e){w.disconnectedMatch=j.call(e,"*"),j.call(e,"[s!='']:x"),F.push("!=",ae)}),P=P.length&&new RegExp(P.join("|")),F=F.length&&new RegExp(F.join("|")),t=ve.test(O.compareDocumentPosition),H=t||ve.test(O.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=t?function(e,t){if(e===t)return N=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===I||e.ownerDocument===q&&H(q,e)?-1:t===I||t.ownerDocument===q&&H(q,t)?1:k?te(k,e)-te(k,t):0:4&n?-1:1)}:function(e,t){if(e===t)return N=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===I?-1:t===I?1:i?-1:o?1:k?te(k,e)-te(k,t):0;if(i===o)return l(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?l(a[r],s[r]):a[r]===q?-1:s[r]===q?1:0}),I},x.matches=function(e,t){return x(e,null,null,t)},x.matchesSelector=function(e,t){if((e.ownerDocument||e)!==I&&R(e),w.matchesSelector&&A&&!G[t+" "]&&(!F||!F.test(t))&&(!P||!P.test(t)))try{var n=j.call(e,t);if(n||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ce){G(t,!0)}return 0<x(t,I,null,[e]).length},x.contains=function(e,t){return(e.ownerDocument||e)!==I&&R(e),H(e,t)},x.attr=function(e,t){(e.ownerDocument||e)!==I&&R(e);var n=D.attrHandle[t.toLowerCase()],r=n&&V.call(D.attrHandle,t.toLowerCase())?n(e,t,!A):undefined;return r!==undefined?r:w.attributes||!A?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},x.escape=function(e){return(e+"").replace(De,Ee)},x.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},x.uniqueSort=function(e){var t,n=[],r=0,i=0;if(N=!w.detectDuplicates,k=!w.sortStable&&e.slice(0),e.sort(Y),N){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return k=null,e},E=x.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=E(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=E(t)
|
2
|
+
;return n},(D=x.selectors={cacheLength:50,createPseudo:u,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Te,we),e[3]=(e[3]||e[4]||e[5]||"").replace(Te,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||x.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&x.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=_(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Te,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=x.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(se," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,g,m){var y="nth"!==p.slice(0,3),v="last"!==p.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==v?"nextSibling":"previousSibling",c=e.parentNode,d=b&&e.nodeName.toLowerCase(),f=!n&&!b,h=!1;if(c){if(y){for(;l;){for(a=e;a=a[l];)if(b?a.nodeName.toLowerCase()===d:1===a.nodeType)return!1;u=l="only"===p&&!u&&"nextSibling"}return!0}if(u=[v?c.firstChild:c.lastChild],v&&f){for(h=(s=(r=(i=(o=(a=c)[$]||(a[$]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]||[])[0]===X&&r[1])&&r[2],a=s&&c.childNodes[s];a=++s&&a&&a[l]||(h=s=0)||u.pop();)if(1===a.nodeType&&++h&&a===e){i[p]=[X,s,h];break}}else if(f&&(h=s=(r=(i=(o=(a=e)[$]||(a[$]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]||[])[0]===X&&r[1]),!1===h)for(;(a=++s&&a&&a[l]||(h=s=0)||u.pop())&&((b?a.nodeName.toLowerCase()!==d:1!==a.nodeType)||!++h||(f&&((i=(o=a[$]||(a[$]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]=[X,h]),a!==e)););return(h-=m)===g||h%g==0&&0<=h/g}}},PSEUDO:function(e,o){var t,a=D.pseudos[e]||D.setFilters[e.toLowerCase()]||x.error("unsupported pseudo: "+e);return a[$]?a(o):1<a.length?(t=[e,e,"",o],D.setFilters.hasOwnProperty(e.toLowerCase())?u(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=te(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:u(function(e){var r=[],i=[],s=C(e.replace(ue,"$1"));return s[$]?u(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:u(function(t){return function(e){return 0<x(t,e).length}}),contains:u(function(t){return t=t.replace(Te,we),function(e){return-1<(e.textContent||E(e)).indexOf(t)}}),lang:u(function(n){return he.test(n||"")||x.error("unsupported lang: "+n),n=n.replace(Te,we).toLowerCase(),function(e){var t;do{if(t=A?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===O},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!D.pseudos.empty(e)},header:function(e){return ye.test(e.nodeName)},input:function(e){return me.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:s(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=D.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})D.pseudos[y]=r(y);for(y in{submit:!0,reset:!0})D.pseudos[y]=o(y);return c.prototype=D.filters=D.pseudos,D.setFilters=new c,_=x.tokenize=function(e,t){var n,r,i,o,a,s,u,l=z[e+" "];if(l)return t?0:l.slice(0);for(a=e,s=[],u=D.preFilter;a;){for(o in n&&!(r=le.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=ce.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ue," ")}),a=a.slice(n.length)),D.filter)!(r=pe[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?x.error(e):z(e,s).slice(0)},C=x.compile=function(e,t){var n,r=[],i=[],o=W[e+" "];if(!o){for(t||(t=_(e)),n=t.length;n--;)(o=h(t[n]))[$]?r.push(o):i.push(o);(o=W(e,m(i,r))).selector=e}return o},M=x.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&_(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&A&&D.relative[o[1].type]){if(!(t=(D.find.ID(a.matches[0].replace(Te,we),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!D.relative[s=a.type]);)if((u=D.find[s])&&(r=u(a.matches[0].replace(Te,we),xe.test(o[0].type)&&p(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return K.apply(n,r),n;break}}return(l||C(e,c))(r,t,!A,n,!t||xe.test(e)&&p(t.parentNode)||t),n},w.sortStable=$.split("").sort(Y).join("")===$,w.detectDuplicates=!!N,R(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(I.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||t("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||t("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||t(ne,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),x}(E);Ee.find=_e,Ee.expr=_e.selectors,Ee.expr[":"]=Ee.expr.pseudos,Ee.uniqueSort=Ee.unique=_e.uniqueSort,Ee.text=_e.getText,Ee.isXMLDoc=_e.isXML,Ee.contains=_e.contains,Ee.escapeSelector=_e.escape;var Ce=function(e,t,n){for(var r=[],i=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&Ee(e).is(n))break;r.push(e)}return r},Me=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Le=Ee.expr.match.needsContext,ke=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ee.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ee.find.matchesSelector(r,e)?[r]:[]:Ee.find.matches(e,Ee.grep(t,function(e){return 1===e.nodeType}))},Ee.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(Ee(e).filter(function(){for(t=0;t<r;t++)if(Ee.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)Ee.find(e,i[t],n);return 1<r?Ee.uniqueSort(n):n},filter:function(e){return this.pushStack(t(this,e||[],!1))},not:function(e){return this.pushStack(t(this,e||[],!0))},is:function(e){return!!t(this,"string"==typeof e&&Le.test(e)?Ee(e):e||[],!1).length}});var Ne,Re=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ee.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ne,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):xe(e)?n.ready!==undefined?n.ready(e):e(Ee):Ee.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Re.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ee?t[0]:t,Ee.merge(this,Ee.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ue,!0)),ke.test(r[1])&&Ee.isPlainObject(t))for(r in t)xe(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=ue.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=Ee.fn,Ne=Ee(ue);var Ie=/^(?:parents|prev(?:Until|All))/,Oe={children:!0,contents:!0,next:!0,prev:!0};Ee.fn.extend({has:function(e){var t=Ee(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Ee.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&Ee(e);if(!Le.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&Ee.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?Ee.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?he.call(Ee(e),this[0]):he.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Ee.uniqueSort(Ee.merge(this.get(),Ee(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ee.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ce(e,"parentNode")},parentsUntil:function(e,t,n){return Ce(e,"parentNode",n)},next:function(e){return n(e,"nextSibling")},prev:function(e){return n(e,"previousSibling")},nextAll:function(e){return Ce(e,"nextSibling")},prevAll:function(e){return Ce(e,"previousSibling")},nextUntil:function(e,t,n){return Ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ce(e,"previousSibling",n)},siblings:function(e){return Me((e.parentNode||{}).firstChild,e)},children:function(e){return Me(e.firstChild)},contents:function(e){return"undefined"!=typeof e.contentDocument?e.contentDocument:(l(e,"template")&&(e=e.content||e),Ee.merge([],e.childNodes))}},function(r,i){Ee.fn[r]=function(e,t){var n=Ee.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=Ee.filter(t,n)),1<this.length&&(Oe[r]||Ee.uniqueSort(n),Ie.test(r)&&n.reverse()),this.pushStack(n)}});var Ae=/[^\x20\t\r\n\f]+/g;Ee.Callbacks=function(r){r="string"==typeof r?c(r):Ee.extend({},r);var i,e,t,n,o=[],a=[],s=-1,u=function(){for(n=n||r.once,t=i=!0;a.length;s=-1)for(e=a.shift();++s<o.length;)!1===o[s].apply(e[0],e[1])&&r.stopOnFalse&&(s=o.length,e=!1);r.memory||(e=!1),i=!1,n&&(o=e?[]:"")},l={add:function(){return o&&(e&&!i&&(s=o.length-1,a.push(e)),function n(e){Ee.each(e,function(e,t){xe(t)?r.unique&&l.has(t)||o.push(t):t&&t.length&&"string"!==m(t)&&n(t)})}(arguments),e&&!i&&u()),this},remove:function(){return Ee.each(arguments,function(e,t){for(var n;-1<(n=Ee.inArray(t,o,n));)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<Ee.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=e="",this},disabled:function(){return!o},lock:function(){return n=a=[],e||i||(o=e=""),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),i||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!t}};return l},Ee.extend({Deferred:function(e){var o=[["notify","progress",Ee.Callbacks("memory"),Ee.Callbacks("memory"),2],["resolve","done",Ee.Callbacks("once memory"),Ee.Callbacks("once memory"),0,"resolved"],["reject","fail",Ee.Callbacks("once memory"),Ee.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return Ee.Deferred(function(r){Ee.each(o,function(e,t){var n=xe(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&xe(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){function l(o,a,s,u){return function(){var n=this,r=arguments,t=function(){var e,t;if(!(o<c)){if((e=s.apply(n,r))===a.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,xe(t)?u?t.call(e,l(c,a,d,u),l(c,a,f,u)):(c++,t.call(e,l(c,a,d,u),l(c,a,f,u),l(c,a,d,a.notifyWith))):(s!==d&&(n=undefined,r=[e]),(u||a.resolveWith)(n,r))}},i=u?t:function(){try{t()}catch(e){Ee.Deferred.exceptionHook&&Ee.Deferred.exceptionHook(e,i.stackTrace),c<=o+1&&(s!==f&&(n=undefined,r=[e]),a.rejectWith(n,r))}};o?i():(Ee.Deferred.getStackHook&&(i.stackTrace=Ee.Deferred.getStackHook()),E.setTimeout(i))}}var c=0;return Ee.Deferred(function(e){o[0][3].add(l(0,e,xe(r)?r:d,e.notifyWith)),o[1][3].add(l(0,e,xe(t)?t:d)),o[2][3].add(l(0,e,xe(n)?n:f))}).promise()},promise:function(e){return null!=e?Ee.extend(e,a):a}},s={};return Ee.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?undefined:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ce.call(arguments),o=Ee.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ce.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(u(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||xe(i[t]&&i[t].then)))return o.then();for(;t--;)u(i[t],a(t),o.reject);return o.promise()}});var Pe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ee.Deferred.exceptionHook=function(e,t){E.console&&E.console.warn&&e&&Pe.test(e.name)&&E.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Ee.readyException=function(e){E.setTimeout(function(){throw e})};var Fe=Ee.Deferred();Ee.fn.ready=function(e){return Fe.then(e)["catch"](function(e){Ee.readyException(e)}),this},Ee.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Ee.readyWait:Ee.isReady)||(Ee.isReady=!0)!==e&&0<--Ee.readyWait||Fe.resolveWith(ue,[Ee])}}),Ee.ready.then=Fe.then,"complete"===ue.readyState||"loading"!==ue.readyState&&!ue.documentElement.doScroll?E.setTimeout(Ee.ready):(ue.addEventListener("DOMContentLoaded",r),E.addEventListener("load",r));var je=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===m(n))for(s in i=!0,n)je(e,t,s,n[s],!0,o,a);else if(r!==undefined&&(i=!0,xe(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(Ee(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},He=/^-ms-/,$e=/-([a-z])/g,qe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};o.uid=1,o.prototype={cache:function(e){var t=e[this.expando];return t||(t={},qe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[h(t)]=n;else for(r in t)i[h(r)]=t[r];return i},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(h):(t=h(t))in r?[t]:t.match(Ae)||[]).length;for(;n--;)delete r[t[n]]}(t===undefined||Ee.isEmptyObject(r))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!Ee.isEmptyObject(t)}};var Xe=new o,Ue=new o,Be=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ze=/[A-Z]/g;Ee.extend({hasData:function(e){return Ue.hasData(e)||Xe.hasData(e)},data:function(e,t,n){return Ue.access(e,t,n)},removeData:function(e,t){Ue.remove(e,t)},_data:function(e,t,n){return Xe.access(e,t,n)},_removeData:function(e,t){Xe.remove(e,t)}}),Ee.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(n!==undefined)return"object"==typeof n?this.each(function(){Ue.set(this,n)}):je(this,function(e){var t;if(o&&e===undefined)return(t=Ue.get(o,n))!==undefined?t:(t=p(o,n))!==undefined?t:void 0;this.each(function(){Ue.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=Ue.get(o),1===o.nodeType&&!Xe.get(o,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=h(r.slice(5)),p(o,r,i[r]));Xe.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){Ue.remove(this,e)})}}),Ee.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Xe.get(e,t),n&&(!r||Array.isArray(n)?r=Xe.access(e,t,Ee.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ee.queue(e,t),r=n.length,i=n.shift(),o=Ee._queueHooks(e,t),a=function(){Ee.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Xe.get(e,n)||Xe.access(e,n,{empty:Ee.Callbacks("once memory").add(function(){Xe.remove(e,[t+"queue",n])})})}}),Ee.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?Ee.queue(this[0],t):n===undefined?this:this.each(function(){var e=Ee.queue(this,t,n);Ee._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&Ee.dequeue(this,t)})},dequeue:function(e){return this.each(function(){Ee.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ee.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";a--;)(n=Xe.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var We=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ge=new RegExp("^(?:([+-])=|)("+We+")([a-z%]*)$","i"),Ye=["Top","Right","Bottom","Left"],Ve=ue.documentElement,Qe=function(e){return Ee.contains(e.ownerDocument,e)},Ze={composed:!0};Ve.getRootNode&&(Qe=function(e){return Ee.contains(e.ownerDocument,e)||e.getRootNode(Ze)===e.ownerDocument});var Je=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&Qe(e)&&"none"===Ee.css(e,"display")},Ke=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i},et={};Ee.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Je(this)?Ee(this).show():Ee(this).hide()})}});var tt=/^(?:checkbox|radio)$/i,nt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,rt=/^$|^module$|\/(?:java|ecma)script/i,it={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};it.optgroup=it.option,it.tbody=it.tfoot=it.colgroup=it.caption=it.thead,it.th=it.td;var ot,at,st=/<|&#?\w+;/;ot=ue.createDocumentFragment().appendChild(ue.createElement("div")),(at=ue.createElement("input")).setAttribute("type","radio"),at.setAttribute("checked","checked"),at.setAttribute("name","t"),ot.appendChild(at),be.checkClone=ot.cloneNode(!0).cloneNode(!0).lastChild.checked,ot.innerHTML="<textarea>x</textarea>",be.noCloneChecked=!!ot.cloneNode(!0).lastChild.defaultValue;var ut=/^key/,lt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ct=/^([^.]*)(?:\.(.+)|)/;Ee.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,d,f,h,p,g,m=Xe.get(t);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&Ee.find.matchesSelector(Ve,i),n.guid||(n.guid=Ee.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==Ee&&Ee.event.triggered!==e.type?Ee.event.dispatch.apply(t,arguments):undefined}),l=(e=(e||"").match(Ae)||[""]).length;l--;)h=g=(s=ct.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(d=Ee.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=Ee.event.special[h]||{},c=Ee.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ee.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=u[h])||((f=u[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),Ee.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,h,p,g,m=Xe.hasData(e)&&Xe.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(Ae)||[""]).length;l--;)if(h=g=(s=ct.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(d=Ee.event.special[h]||{},f=u[h=(r?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,m.handle)||Ee.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)Ee.event.remove(e,h+t[l],n,r,!0);Ee.isEmptyObject(u)&&Xe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=Ee.event.fix(e),u=new Array(arguments.length),l=(Xe.get(this,"events")||{})[s.type]||[],c=Ee.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=Ee.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,(r=((Ee.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))!==undefined&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)a[i=(r=t[n]).selector+" "]===undefined&&(a[i]=r.needsContext?-1<Ee(i,this).index(l):Ee.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(Ee.Event.prototype,t,{enumerable:!0,configurable:!0,get:xe(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[Ee.expando]?e:new Ee.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return tt.test(t.type)&&t.click&&l(t,"input")&&L(t,"click",D),!1},trigger:function(e){var t=this||e;return tt.test(t.type)&&t.click&&l(t,"input")&&L(t,"click"),!0},_default:function(e){var t=e.target;return tt.test(t.type)&&t.click&&l(t,"input")&&Xe.get(t,"click")||l(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Ee.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Ee.Event=function(e,t){if(!(this instanceof Ee.Event))return new Ee.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?D:S,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Ee.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Ee.expando]=!0},Ee.Event.prototype={constructor:Ee.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=D,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=D,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=D,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Ee.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&ut.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&t!==undefined&<.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},Ee.event.addProp),Ee.each({focus:"focusin",blur:"focusout"},function(e,t){Ee.event.special[e]={setup:function(){return L(this,e,_),!1},trigger:function(){return L(this,e),!0},delegateType:t}}),Ee.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){Ee.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===n||Ee.contains(n,r))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),Ee.fn.extend({on:function(e,t,n,r){return M(this,e,t,n,r)},one:function(e,t,n,r){return M(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ee(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=S),this.each(function(){Ee.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ft=/<script|<style|<link/i,ht=/checked\s*(?:[^=]|=\s*.checked.)/i,pt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Ee.extend({htmlPrefilter:function(e){return e.replace(dt,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=Qe(e);if(!(be.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ee.isXMLDoc(e)))for(a=x(s),r=0,i=(o=x(e)).length;r<i;r++)O(o[r],a[r]);if(t)if(n)for(o=o||x(e),a=a||x(s),r=0,i=o.length;r<i;r++)I(o[r],a[r]);else I(e,s);return 0<(a=x(s,"script")).length&&T(a,!u&&x(e,"script")),s},cleanData:function(e){for(var t,n,r,i=Ee.event.special,o=0;(n=e[o])!==undefined;o++)if(qe(n)){if(t=n[Xe.expando]){if(t.events)for(r in t.events)i[r]?Ee.event.remove(n,r):Ee.removeEvent(n,r,t.handle);n[Xe.expando]=undefined}n[Ue.expando]&&(n[Ue.expando]=undefined)}}}),Ee.fn.extend({detach:function(e){return P(this,e,!0)},remove:function(e){return P(this,e)},text:function(e){return je(this,function(e){return e===undefined?Ee.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return A(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||k(this,e).appendChild(e)})},prepend:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Ee.cleanData(x(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ee.clone(this,e,t)})},html:function(e){return je(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ft.test(e)&&!it[(nt.exec(e)||["",""])[1].toLowerCase()]){e=Ee.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Ee.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return A(this,arguments,function(e){var t=this.parentNode;Ee.inArray(this,n)<0&&(Ee.cleanData(x(this)),t&&t.replaceChild(e,this))},n)}}),Ee.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){Ee.fn[e]=function(e){for(var t,n=[],r=Ee(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),Ee(r[o])[a](t),fe.apply(n,t.get());return this.pushStack(n)}});var gt=new RegExp("^("+We+")(?!px)[a-z%]+$","i"),mt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=E),t.getComputedStyle(e)},yt=new RegExp(Ye.join("|"),"i");!function(){function e(){if(u){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ve.appendChild(s).appendChild(u);var e=E.getComputedStyle(u);n="1%"!==e.top,a=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),r=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),Ve.removeChild(s),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s=ue.createElement("div"),u=ue.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",be.clearCloneStyle="content-box"===u.style.backgroundClip,Ee.extend(be,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),a},scrollboxSize:function(){return e(),i}}))}();var vt=["Webkit","Moz","ms"],bt=ue.createElement("div").style,xt={},Tt=/^(none|table(?!-c[ea]).+)/,wt=/^--/,Dt={position:"absolute",visibility:"hidden",display:"block"},Et={letterSpacing:"0",fontWeight:"400"};Ee.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=F(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=h(t),u=wt.test(t),l=e.style;if(u||(t=$(s)),a=Ee.cssHooks[t]||Ee.cssHooks[s],n===undefined)return a&&"get"in a&&(i=a.get(e,!1,r))!==undefined?i:l[t];"string"===(o=typeof n)&&(i=Ge.exec(n))&&i[1]&&(n=y(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(Ee.cssNumber[s]?"":"px")),be.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===undefined||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=h(t);return wt.test(t)||(t=$(s)),(a=Ee.cssHooks[t]||Ee.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),i===undefined&&(i=F(e,t,r)),"normal"===i&&t in Et&&(i=Et[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),Ee.each(["height","width"],function(e,u){Ee.cssHooks[u]={get:function(e,t,n){if(t)return!Tt.test(Ee.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?U(e,u,n):Ke(e,Dt,function(){return U(e,u,n)})},set:function(e,t,n){var r,i=mt(e),o=!be.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===Ee.css(e,"boxSizing",!1,i),s=n?X(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-X(e,u,"border",!1,i)-.5)),s&&(r=Ge.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=Ee.css(e,u)),q(e,t,s)}}}),Ee.cssHooks.marginLeft=j(be.reliableMarginLeft,function(e,t){if(t)return(parseFloat(F(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Ee.each({margin:"",padding:"",border:"Width"},function(i,o){
|
3
|
+
Ee.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Ye[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(Ee.cssHooks[i+o].set=q)}),Ee.fn.extend({css:function(e,t){return je(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=mt(e),i=t.length;a<i;a++)o[t[a]]=Ee.css(e,t[a],!1,r);return o}return n!==undefined?Ee.style(e,t,n):Ee.css(e,t)},e,t,1<arguments.length)}}),(Ee.Tween=B).prototype={constructor:B,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||Ee.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Ee.cssNumber[n]?"":"px")},cur:function(){var e=B.propHooks[this.prop];return e&&e.get?e.get(this):B.propHooks._default.get(this)},run:function(e){var t,n=B.propHooks[this.prop];return this.options.duration?this.pos=t=Ee.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Ee.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Ee.fx.step[e.prop]?Ee.fx.step[e.prop](e):1!==e.elem.nodeType||!Ee.cssHooks[e.prop]&&null==e.elem.style[$(e.prop)]?e.elem[e.prop]=e.now:Ee.style(e.elem,e.prop,e.now+e.unit)}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ee.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Ee.fx=B.prototype.init,Ee.fx.step={};var St,_t,Ct,Mt,Lt=/^(?:toggle|show|hide)$/,kt=/queueHooks$/;Ee.Animation=Ee.extend(Z,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return y(n.elem,e,Ge.exec(t),n),n}]},tweener:function(e,t){xe(e)?(t=e,e=["*"]):e=e.match(Ae);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Z.tweeners[n]=Z.tweeners[n]||[],Z.tweeners[n].unshift(t)},prefilters:[V],prefilter:function(e,t){t?Z.prefilters.unshift(e):Z.prefilters.push(e)}}),Ee.speed=function(e,t,n){var r=e&&"object"==typeof e?Ee.extend({},e):{complete:n||!n&&t||xe(e)&&e,duration:e,easing:n&&t||t&&!xe(t)&&t};return Ee.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Ee.fx.speeds?r.duration=Ee.fx.speeds[r.duration]:r.duration=Ee.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){xe(r.old)&&r.old.call(this),r.queue&&Ee.dequeue(this,r.queue)},r},Ee.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Je).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=Ee.isEmptyObject(t),o=Ee.speed(e,n,r),a=function(){var e=Z(this,Ee.extend({},t),o);(i||Xe.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=undefined),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=Ee.timers,r=Xe.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&kt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||Ee.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Xe.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=Ee.timers,o=n?n.length:0;for(t.finish=!0,Ee.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),Ee.each(["toggle","show","hide"],function(e,r){var i=Ee.fn[r];Ee.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(G(r,!0),e,t,n)}}),Ee.each({slideDown:G("show"),slideUp:G("hide"),slideToggle:G("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){Ee.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),Ee.timers=[],Ee.fx.tick=function(){var e,t=0,n=Ee.timers;for(St=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Ee.fx.stop(),St=undefined},Ee.fx.timer=function(e){Ee.timers.push(e),Ee.fx.start()},Ee.fx.interval=13,Ee.fx.start=function(){_t||(_t=!0,z())},Ee.fx.stop=function(){_t=null},Ee.fx.speeds={slow:600,fast:200,_default:400},Ee.fn.delay=function(r,e){return r=Ee.fx&&Ee.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=E.setTimeout(e,r);t.stop=function(){E.clearTimeout(n)}})},Ct=ue.createElement("input"),Mt=ue.createElement("select").appendChild(ue.createElement("option")),Ct.type="checkbox",be.checkOn=""!==Ct.value,be.optSelected=Mt.selected,(Ct=ue.createElement("input")).value="t",Ct.type="radio",be.radioValue="t"===Ct.value;var Nt,Rt=Ee.expr.attrHandle;Ee.fn.extend({attr:function(e,t){return je(this,Ee.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){Ee.removeAttr(this,e)})}}),Ee.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?Ee.prop(e,t,n):(1===o&&Ee.isXMLDoc(e)||(i=Ee.attrHooks[t.toLowerCase()]||(Ee.expr.match.bool.test(t)?Nt:undefined)),n!==undefined?null===n?void Ee.removeAttr(e,t):i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=Ee.find.attr(e,t))?undefined:r)},attrHooks:{type:{set:function(e,t){if(!be.radioValue&&"radio"===t&&l(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Ae);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Nt={set:function(e,t,n){return!1===t?Ee.removeAttr(e,n):e.setAttribute(n,n),n}},Ee.each(Ee.expr.match.bool.source.match(/\w+/g),function(e,t){var a=Rt[t]||Ee.find.attr;Rt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=Rt[o],Rt[o]=r,r=null!=a(e,t,n)?o:null,Rt[o]=i),r}});var It=/^(?:input|select|textarea|button)$/i,Ot=/^(?:a|area)$/i;Ee.fn.extend({prop:function(e,t){return je(this,Ee.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[Ee.propFix[e]||e]})}}),Ee.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Ee.isXMLDoc(e)||(t=Ee.propFix[t]||t,i=Ee.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ee.find.attr(e,"tabindex");return t?parseInt(t,10):It.test(e.nodeName)||Ot.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),be.optSelected||(Ee.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Ee.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ee.propFix[this.toLowerCase()]=this}),Ee.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(xe(t))return this.each(function(e){Ee(this).addClass(t.call(this,e,K(this)))});if((e=ee(t)).length)for(;n=this[u++];)if(i=K(n),r=1===n.nodeType&&" "+J(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=J(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(xe(t))return this.each(function(e){Ee(this).removeClass(t.call(this,e,K(this)))});if(!arguments.length)return this.attr("class","");if((e=ee(t)).length)for(;n=this[u++];)if(i=K(n),r=1===n.nodeType&&" "+J(i)+" "){for(a=0;o=e[a++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(s=J(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):xe(i)?this.each(function(e){Ee(this).toggleClass(i.call(this,e,K(this),t),t)}):this.each(function(){var e,t,n,r;if(a)for(t=0,n=Ee(this),r=ee(i);e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else i!==undefined&&"boolean"!==o||((e=K(this))&&Xe.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Xe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+J(K(n))+" ").indexOf(t))return!0;return!1}});var At=/\r/g;Ee.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=xe(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,Ee(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=Ee.map(t,function(e){return null==e?"":e+""})),(r=Ee.valHooks[this.type]||Ee.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==undefined||(this.value=t))})):t?(r=Ee.valHooks[t.type]||Ee.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(At,""):null==e?"":e:void 0}}),Ee.extend({valHooks:{option:{get:function(e){var t=Ee.find.attr(e,"value");return null!=t?t:J(Ee.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!l(n.parentNode,"optgroup"))){if(t=Ee(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=Ee.makeArray(t),a=i.length;a--;)((r=i[a]).selected=-1<Ee.inArray(Ee.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Ee.each(["radio","checkbox"],function(){Ee.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<Ee.inArray(Ee(e).val(),t)}},be.checkOn||(Ee.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),be.focusin="onfocusin"in E;var Pt=/^(?:focusinfocus|focusoutblur)$/,Ft=function(e){e.stopPropagation()};Ee.extend(Ee.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,d,f=[n||ue],h=me.call(e,"type")?e.type:e,p=me.call(e,"namespace")?e.namespace.split("."):[];if(o=d=a=n=n||ue,3!==n.nodeType&&8!==n.nodeType&&!Pt.test(h+Ee.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),u=h.indexOf(":")<0&&"on"+h,(e=e[Ee.expando]?e:new Ee.Event(h,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:Ee.makeArray(t,[e]),c=Ee.event.special[h]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!Te(n)){for(s=c.delegateType||h,Pt.test(s+h)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(n.ownerDocument||ue)&&f.push(a.defaultView||a.parentWindow||E)}for(i=0;(o=f[i++])&&!e.isPropagationStopped();)d=o,e.type=1<i?s:c.bindType||h,(l=(Xe.get(o,"events")||{})[e.type]&&Xe.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&qe(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),t)||!qe(n)||u&&xe(n[h])&&!Te(n)&&((a=n[u])&&(n[u]=null),Ee.event.triggered=h,e.isPropagationStopped()&&d.addEventListener(h,Ft),n[h](),e.isPropagationStopped()&&d.removeEventListener(h,Ft),Ee.event.triggered=undefined,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=Ee.extend(new Ee.Event,n,{type:e,isSimulated:!0});Ee.event.trigger(r,null,t)}}),Ee.fn.extend({trigger:function(e,t){return this.each(function(){Ee.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ee.event.trigger(e,t,n,!0)}}),be.focusin||Ee.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){Ee.event.simulate(r,e.target,Ee.event.fix(e))};Ee.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=Xe.access(e,r);t||e.addEventListener(n,i,!0),Xe.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=Xe.access(e,r)-1;t?Xe.access(e,r,t):(e.removeEventListener(n,i,!0),Xe.remove(e,r))}}});var jt=E.location,Ht=Date.now(),$t=/\?/;Ee.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new E.DOMParser).parseFromString(e,"text/xml")}catch(n){t=undefined}return t&&!t.getElementsByTagName("parsererror").length||Ee.error("Invalid XML: "+e),t};var qt=/\[\]$/,Xt=/\r?\n/g,Ut=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;Ee.param=function(e,t){var n,r=[],i=function(e,t){var n=xe(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Ee.isPlainObject(e))Ee.each(e,function(){i(this.name,this.value)});else for(n in e)te(n,e[n],t,i);return r.join("&")},Ee.fn.extend({serialize:function(){return Ee.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ee.prop(this,"elements");return e?Ee.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ee(this).is(":disabled")&&Bt.test(this.nodeName)&&!Ut.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Ee(this).val();return null==n?null:Array.isArray(n)?Ee.map(n,function(e){return{name:t.name,value:e.replace(Xt,"\r\n")}}):{name:t.name,value:n.replace(Xt,"\r\n")}}).get()}});var zt=/%20/g,Wt=/#.*$/,Gt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Qt=/^(?:GET|HEAD)$/,Zt=/^\/\//,Jt={},Kt={},en="*/".concat("*"),tn=ue.createElement("a");tn.href=jt.href,Ee.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:Vt.test(jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":en,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Ee.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,Ee.ajaxSettings),t):ie(Ee.ajaxSettings,e)},ajaxPrefilter:ne(Jt),ajaxTransport:ne(Kt),ajax:function(e,t){function n(e,t,n,r){var i,o,a,s,u,l=t;p||(p=!0,h&&E.clearTimeout(h),c=undefined,f=r||"",w.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=oe(m,w,n)),s=ae(m,s,w,i),i?(m.ifModified&&((u=w.getResponseHeader("Last-Modified"))&&(Ee.lastModified[d]=u),(u=w.getResponseHeader("etag"))&&(Ee.etag[d]=u)),204===e||"HEAD"===m.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),w.status=e,w.statusText=(t||l)+"",i?b.resolveWith(y,[o,l,w]):b.rejectWith(y,[w,l,a]),w.statusCode(T),T=undefined,g&&v.trigger(i?"ajaxSuccess":"ajaxError",[w,m,i?o:a]),x.fireWith(y,[w,l]),g&&(v.trigger("ajaxComplete",[w,m]),--Ee.active||Ee.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var c,d,f,r,h,i,p,g,o,a,m=Ee.ajaxSetup({},t),y=m.context||m,v=m.context&&(y.nodeType||y.jquery)?Ee(y):Ee.event,b=Ee.Deferred(),x=Ee.Callbacks("once memory"),T=m.statusCode||{},s={},u={},l="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(p){if(!r)for(r={};t=Yt.exec(f);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?f:null},setRequestHeader:function(e,t){return null==p&&(e=u[e.toLowerCase()]=u[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==p&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)w.always(e[w.status]);else for(t in e)T[t]=[T[t],e[t]];return this},abort:function(e){var t=e||l;return c&&c.abort(t),n(0,t),this}};if(b.promise(w),m.url=((e||m.url||jt.href)+"").replace(Zt,jt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(Ae)||[""],null==m.crossDomain){i=ue.createElement("a");try{i.href=m.url,i.href=i.href,m.crossDomain=tn.protocol+"//"+tn.host!=i.protocol+"//"+i.host}catch(D){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Ee.param(m.data,m.traditional)),re(Jt,m,t,w),p)return w;for(o in(g=Ee.event&&m.global)&&0==Ee.active++&&Ee.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Qt.test(m.type),d=m.url.replace(Wt,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(zt,"+")):(a=m.url.slice(d.length),m.data&&(m.processData||"string"==typeof m.data)&&(d+=($t.test(d)?"&":"?")+m.data,delete m.data),!1===m.cache&&(d=d.replace(Gt,"$1"),a=($t.test(d)?"&":"?")+"_="+Ht+++a),m.url=d+a),m.ifModified&&(Ee.lastModified[d]&&w.setRequestHeader("If-Modified-Since",Ee.lastModified[d]),Ee.etag[d]&&w.setRequestHeader("If-None-Match",Ee.etag[d])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+en+"; q=0.01":""):m.accepts["*"]),m.headers)w.setRequestHeader(o,m.headers[o]);if(m.beforeSend&&(!1===m.beforeSend.call(y,w,m)||p))return w.abort();if(l="abort",x.add(m.complete),w.done(m.success),w.fail(m.error),c=re(Kt,m,t,w)){if(w.readyState=1,g&&v.trigger("ajaxSend",[w,m]),p)return w;m.async&&0<m.timeout&&(h=E.setTimeout(function(){w.abort("timeout")},m.timeout));try{p=!1,c.send(s,n)}catch(D){if(p)throw D;n(-1,D)}}else n(-1,"No Transport");return w},getJSON:function(e,t,n){return Ee.get(e,t,n,"json")},getScript:function(e,t){return Ee.get(e,undefined,t,"script")}}),Ee.each(["get","post"],function(e,i){Ee[i]=function(e,t,n,r){return xe(t)&&(r=r||n,n=t,t=undefined),Ee.ajax(Ee.extend({url:e,type:i,dataType:r,data:t,success:n},Ee.isPlainObject(e)&&e))}}),Ee._evalUrl=function(e,t){return Ee.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Ee.globalEval(e,t)}})},Ee.fn.extend({wrapAll:function(e){var t;return this[0]&&(xe(e)&&(e=e.call(this[0])),t=Ee(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return xe(n)?this.each(function(e){Ee(this).wrapInner(n.call(this,e))}):this.each(function(){var e=Ee(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=xe(t);return this.each(function(e){Ee(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Ee(this).replaceWith(this.childNodes)}),this}}),Ee.expr.pseudos.hidden=function(e){return!Ee.expr.pseudos.visible(e)},Ee.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Ee.ajaxSettings.xhr=function(){try{return new E.XMLHttpRequest}catch(e){}};var nn={0:200,1223:204},rn=Ee.ajaxSettings.xhr();be.cors=!!rn&&"withCredentials"in rn,be.ajax=rn=!!rn,Ee.ajaxTransport(function(o){var a,s;if(be.cors||rn&&!o.crossDomain)return{send:function(e,t){var n,r=o.xhr();if(r.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)r[n]=o.xhrFields[n];for(n in o.mimeType&&r.overrideMimeType&&r.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=s=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(nn[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=a(),s=r.onerror=r.ontimeout=a("error"),r.onabort!==undefined?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&E.setTimeout(function(){a&&s()})},a=a("abort");try{r.send(o.hasContent&&o.data||null)}catch(i){if(a)throw i}},abort:function(){a&&a()}}}),Ee.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Ee.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Ee.globalEval(e),e}}}),Ee.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Ee.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=Ee("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),ue.head.appendChild(r[0])},abort:function(){i&&i()}}});var on,an=[],sn=/(=)\?(?=&|$)|\?\?/;Ee.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=an.pop()||Ee.expando+"_"+Ht++;return this[e]=!0,e}}),Ee.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(sn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&sn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=xe(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(sn,"$1"+r):!1!==e.jsonp&&(e.url+=($t.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||Ee.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=E[r],E[r]=function(){o=arguments},n.always(function(){i===undefined?Ee(E).removeProp(r):E[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,an.push(r)),o&&xe(i)&&i(o[0]),o=i=undefined}),"script"}),be.createHTMLDocument=((on=ue.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===on.childNodes.length),Ee.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(be.createHTMLDocument?((r=(t=ue.implementation.createHTMLDocument("")).createElement("base")).href=ue.location.href,t.head.appendChild(r)):t=ue),o=!n&&[],(i=ke.exec(e))?[t.createElement(i[1])]:(i=w([e],t,o),o&&o.length&&Ee(o).remove(),Ee.merge([],i.childNodes)));var r,i,o},Ee.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=J(e.slice(s)),e=e.slice(0,s)),xe(t)?(n=t,t=undefined):t&&"object"==typeof t&&(i="POST"),0<a.length&&Ee.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?Ee("<div>").append(Ee.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Ee.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ee.fn[t]=function(e){return this.on(t,e)}}),Ee.expr.pseudos.animated=function(t){return Ee.grep(Ee.timers,function(e){return t===e.elem}).length},Ee.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=Ee.css(e,"position"),c=Ee(e),d={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=Ee.css(e,"top"),u=Ee.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),xe(t)&&(t=t.call(e,n,Ee.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):c.css(d)}},Ee.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){Ee.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===Ee.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Ee.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=Ee(e).offset()).top+=Ee.css(e,"borderTopWidth",!0),i.left+=Ee.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-Ee.css(r,"marginTop",!0),left:t.left-i.left-Ee.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Ee.css(e,"position");)e=e.offsetParent;return e||Ve})}}),Ee.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;Ee.fn[t]=function(e){return je(this,function(e,t,n){var r;if(Te(e)?r=e:9===e.nodeType&&(r=e.defaultView),n===undefined)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),Ee.each(["top","left"],function(e,n){Ee.cssHooks[n]=j(be.pixelPosition,function(e,t){if(t)return t=F(e,n),gt.test(t)?Ee(e).position()[n]+"px":t})}),Ee.each({Height:"height",Width:"width"},function(a,s){Ee.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){Ee.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return je(this,function(e,t,n){var r;return Te(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):n===undefined?Ee.css(e,t,i):Ee.style(e,t,n,i)},s,n?e:undefined,n)}})}),Ee.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){Ee.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),Ee.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Ee.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),Ee.proxy=function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),xe(e)?(r=ce.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ce.call(arguments)))}).guid=e.guid=e.guid||Ee.guid++,i):undefined},Ee.holdReady=function(e){e?Ee.readyWait++:Ee.ready(!0)},Ee.isArray=Array.isArray,Ee.parseJSON=JSON.parse,Ee.nodeName=l,Ee.isFunction=xe,Ee.isWindow=Te,Ee.camelCase=h,Ee.type=m,Ee.now=Date.now,Ee.isNumeric=function(e){var t=Ee.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ee});var un=E.jQuery,ln=E.$;return Ee.noConflict=function(e){return E.$===Ee&&(E.$=ln),e&&E.jQuery===Ee&&(E.jQuery=un),Ee},e||(E.jQuery=E.$=Ee),Ee}),Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",MDT:"-0700",PDT:"-0800"}},Date.getMonthNumberFromName=function(e){for(var t=Date.CultureInfo.monthNames,n=Date.CultureInfo.abbreviatedMonthNames,r=e.toLowerCase(),i=0;i<t.length;i++)if(t[i].toLowerCase()==r||n[i].toLowerCase()==r)return i;return-1},Date.getDayNumberFromName=function(e){for(var t=Date.CultureInfo.dayNames,n=Date.CultureInfo.abbreviatedDayNames,r=(Date.CultureInfo.shortestDayNames,e.toLowerCase()),i=0;i<t.length;i++)if(t[i].toLowerCase()==r||n[i].toLowerCase()==r)return i;return-1},Date.isLeapYear=function(e){return e%4==0&&e%100!=0||e%400==0},Date.getDaysInMonth=function(e,t){return[31,Date.isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},Date.getTimezoneOffset=function(e,t){return t?Date.CultureInfo.abbreviatedTimeZoneDST[e.toUpperCase()]:Date.CultureInfo.abbreviatedTimeZoneStandard[e.toUpperCase()]},Date.getTimezoneAbbreviation=function(e,t){var n,r=t?Date.CultureInfo.abbreviatedTimeZoneDST:Date.CultureInfo.abbreviatedTimeZoneStandard;for(n in r)if(r[n]===e)return n;return null},Date.prototype.clone=function(){return new Date(this.getTime())},Date.prototype.compareTo=function(e){if(isNaN(this))throw new Error(this);if(e instanceof Date&&!isNaN(e))return e<this?1:this<e?-1:0;throw new TypeError(e)},Date.prototype.equals=function(e){return 0===this.compareTo(e)},Date.prototype.between=function(e,t){var n=this.getTime();return n>=e.getTime()&&n<=t.getTime()},Date.prototype.addMilliseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+e),this},Date.prototype.addSeconds=function(e){return this.addMilliseconds(1e3*e)},Date.prototype.addMinutes=function(e){return this.addMilliseconds(6e4*e)},Date.prototype.addHours=function(e){return this.addMilliseconds(36e5*e)},Date.prototype.addDays=function(e){return this.addMilliseconds(864e5*e)},Date.prototype.addWeeks=function(e){return this.addMilliseconds(6048e5*e)},Date.prototype.addMonths=function(e){var t=this.getDate();return this.setDate(1),this.setMonth(this.getMonth()+e),this.setDate(Math.min(t,this.getDaysInMonth())),this},Date.prototype.addYears=function(e){return this.addMonths(12*e)},Date.prototype.add=function(e){if("number"==typeof e)return this._orient=e,this;var t=e;return(t.millisecond||t.milliseconds)&&this.addMilliseconds(t.millisecond||t.milliseconds),(t.second||t.seconds)&&this.addSeconds(t.second||t.seconds),(t.minute||t.minutes)&&this.addMinutes(t.minute||t.minutes),(t.hour||t.hours)&&this.addHours(t.hour||t.hours),(t.month||t.months)&&this.addMonths(t.month||t.months),(t.year||t.years)&&this.addYears(t.year||t.years),(t.day||t.days)&&this.addDays(t.day||t.days),this},Date._validate=function(e,t,n,r){if("number"!=typeof e)throw new TypeError(e+" is not a Number.");if(e<t||n<e)throw new RangeError(e+" is not a valid value for "+r+".");return!0},Date.validateMillisecond=function(e){return Date._validate(e,0,999,"milliseconds")},Date.validateSecond=function(e){return Date._validate(e,0,59,"seconds")},Date.validateMinute=function(e){return Date._validate(e,0,59,"minutes")},Date.validateHour=function(e){return Date._validate(e,0,23,"hours")},Date.validateDay=function(e,t,n){return Date._validate(e,1,Date.getDaysInMonth(t,n),"days")},Date.validateMonth=function(e){return Date._validate(e,0,11,"months")},Date.validateYear=function(e){return Date._validate(e,1,9999,"seconds")},Date.prototype.set=function(e){var t=e;return t.millisecond||0===t.millisecond||(t.millisecond=-1),t.second||0===t.second||(t.second=-1),t.minute||0===t.minute||(t.minute=-1),t.hour||0===t.hour||(t.hour=-1),t.day||0===t.day||(t.day=-1),t.month||0===t.month||(t.month=-1),t.year||0===t.year||(t.year=-1),
|
4
|
+
-1!=t.millisecond&&Date.validateMillisecond(t.millisecond)&&this.addMilliseconds(t.millisecond-this.getMilliseconds()),-1!=t.second&&Date.validateSecond(t.second)&&this.addSeconds(t.second-this.getSeconds()),-1!=t.minute&&Date.validateMinute(t.minute)&&this.addMinutes(t.minute-this.getMinutes()),-1!=t.hour&&Date.validateHour(t.hour)&&this.addHours(t.hour-this.getHours()),-1!==t.month&&Date.validateMonth(t.month)&&this.addMonths(t.month-this.getMonth()),-1!=t.year&&Date.validateYear(t.year)&&this.addYears(t.year-this.getFullYear()),-1!=t.day&&Date.validateDay(t.day,this.getFullYear(),this.getMonth())&&this.addDays(t.day-this.getDate()),t.timezone&&this.setTimezone(t.timezone),t.timezoneOffset&&this.setTimezoneOffset(t.timezoneOffset),this},Date.prototype.clearTime=function(){return this.setHours(0),this.setMinutes(0),this.setSeconds(0),this.setMilliseconds(0),this},Date.prototype.isLeapYear=function(){var e=this.getFullYear();return e%4==0&&e%100!=0||e%400==0},Date.prototype.isWeekday=function(){return!(this.is().sat()||this.is().sun())},Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth())},Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})},Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})},Date.prototype.moveToDayOfWeek=function(e,t){var n=(e-this.getDay()+7*(t||1))%7;return this.addDays(0===n?n+=7*(t||1):n)},Date.prototype.moveToMonth=function(e,t){var n=(e-this.getMonth()+12*(t||1))%12;return this.addMonths(0===n?n+=12*(t||1):n)},Date.prototype.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/864e5)},Date.prototype.getWeekOfYear=function(e){var t=this.getFullYear(),n=this.getMonth(),r=this.getDate(),i=e||Date.CultureInfo.firstDayOfWeek,o=8-new Date(t,0,1).getDay();8==o&&(o=1);var a=(Date.UTC(t,n,r,0,0,0)-Date.UTC(t,0,1,0,0,0))/864e5+1,s=Math.floor((a-o+7)/7);if(s===i){t--;var u=8-new Date(t,0,1).getDay();s=2==u||8==u?53:52}return s},Date.prototype.isDST=function(){return"D"==this.toString().match(/(E|C|M|P)(S|D)T/)[2]},Date.prototype.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST())},Date.prototype.setTimezoneOffset=function(e){var t=this.getTimezoneOffset(),n=-6*Number(e)/10;return this.addMinutes(n-t),this},Date.prototype.setTimezone=function(e){return this.setTimezoneOffset(Date.getTimezoneOffset(e))},Date.prototype.getUTCOffset=function(){var e,t=-10*this.getTimezoneOffset()/6;return t<0?(e=(t-1e4).toString())[0]+e.substr(2):"+"+(e=(t+1e4).toString()).substr(1)},Date.prototype.getDayName=function(e){return e?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()]},Date.prototype.getMonthName=function(e){return e?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()]},Date.prototype._toString=Date.prototype.toString,Date.prototype.toString=function(e){var t=this,n=function n(e){return 1==e.toString().length?"0"+e:e};return e?e.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(e){switch(e){case"hh":return n(t.getHours()<13?t.getHours():t.getHours()-12);case"h":return t.getHours()<13?t.getHours():t.getHours()-12;case"HH":return n(t.getHours());case"H":return t.getHours();case"mm":return n(t.getMinutes());case"m":return t.getMinutes();case"ss":return n(t.getSeconds());case"s":return t.getSeconds();case"yyyy":return t.getFullYear();case"yy":return t.getFullYear().toString().substring(2,4);case"dddd":return t.getDayName();case"ddd":return t.getDayName(!0);case"dd":return n(t.getDate());case"d":return t.getDate().toString();case"MMMM":return t.getMonthName();case"MMM":return t.getMonthName(!0);case"MM":return n(t.getMonth()+1);case"M":return t.getMonth()+1;case"t":return t.getHours()<12?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case"tt":return t.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case"zzz":case"zz":case"z":return""}}):this._toString()},Date.now=function(){return new Date},Date.today=function(){return Date.now().clearTime()},Date.prototype._orient=1,Date.prototype.next=function(){return this._orient=1,this},Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){return this._orient=-1,this},Date.prototype._is=!1,Date.prototype.is=function(){return this._is=!0,this},Number.prototype._dateElement="day",Number.prototype.fromNow=function(){var e={};return e[this._dateElement]=this,Date.now().add(e)},Number.prototype.ago=function(){var e={};return e[this._dateElement]=-1*this,Date.now().add(e)},function(){for(var e,t=Date.prototype,n=Number.prototype,r="sunday monday tuesday wednesday thursday friday saturday".split(/\s/),i="january february march april may june july august september october november december".split(/\s/),o="Millisecond Second Minute Hour Day Week Month Year".split(/\s/),a=function(e){return function(){return this._is?(this._is=!1,this.getDay()==e):this.moveToDayOfWeek(e,this._orient)}},s=0;s<r.length;s++)t[r[s]]=t[r[s].substring(0,3)]=a(s);for(var u=function(e){return function(){return this._is?(this._is=!1,this.getMonth()===e):this.moveToMonth(e,this._orient)}},l=0;l<i.length;l++)t[i[l]]=t[i[l].substring(0,3)]=u(l);for(var c=function(e){return function(){return"s"!=e.substring(e.length-1)&&(e+="s"),this["add"+e](this._orient)}},d=function(e){return function(){return this._dateElement=e,this}},f=0;f<o.length;f++)t[e=o[f].toLowerCase()]=t[e+"s"]=c(o[f]),n[e]=n[e+"s"]=d(e)}(),Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ")},Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern)},Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern)},Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern)},Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern)},Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},function(){Date.Parsing={Exception:function(e){this.message="Parse error at '"+e.substring(0,10)+" ...'"}};for(var m=Date.Parsing,y=m.Operators={rtoken:function(n){return function(e){var t=e.match(n);if(t)return[t[0],e.substring(t[0].length)];throw new m.Exception(e)}},token:function(){return function(e){return y.rtoken(new RegExp("^s*"+e+"s*"))(e)}},stoken:function(e){return y.rtoken(new RegExp("^"+e))},until:function(i){return function(e){for(var t=[],n=null;e.length;){try{n=i.call(this,e)}catch(r){t.push(n[0]),e=n[1];continue}break}return[t,e]}},many:function(i){return function(e){for(var t=[],n=null;e.length;){try{n=i.call(this,e)}catch(r){return[t,e]}t.push(n[0]),e=n[1]}return[t,e]}},optional:function(r){return function(e){var t=null;try{t=r.call(this,e)}catch(n){return[null,e]}return[t[0],t[1]]}},not:function(n){return function(e){try{n.call(this,e)}catch(t){return[null,e]}throw new m.Exception(e)}},ignore:function(t){return t?function(e){return[null,t.call(this,e)[1]]}:null},product:function(e){for(var t=e,n=Array.prototype.slice.call(arguments,1),r=[],i=0;i<t.length;i++)r.push(y.each(t[i],n));return r},cache:function(n){var r={},i=null;return function(e){try{i=r[e]=r[e]||n.call(this,e)}catch(t){i=r[e]=t}if(i instanceof m.Exception)throw i;return i}},any:function(){var i=arguments;return function(e){for(var t=null,n=0;n<i.length;n++)if(null!=i[n]){try{t=i[n].call(this,e)}catch(r){t=null}if(t)return t}throw new m.Exception(e)}},each:function(){var o=arguments;return function(e){for(var t=[],n=null,r=0;r<o.length;r++)if(null!=o[r]){try{n=o[r].call(this,e)}catch(i){throw new m.Exception(e)}t.push(n[0]),e=n[1]}return[t,e]}},all:function(){var e=arguments,t=t;return t.each(t.optional(e))},sequence:function(u,l,c){return l=l||y.rtoken(/^\s*/),c=c||null,1==u.length?u[0]:function(e){for(var t=null,n=null,r=[],i=0;i<u.length;i++){try{t=u[i].call(this,e)}catch(o){break}r.push(t[0]);try{n=l.call(this,t[1])}catch(a){n=null;break}e=n[1]}if(!t)throw new m.Exception(e);if(n)throw new m.Exception(n[1]);if(c)try{t=c.call(this,t[1])}catch(s){throw new m.Exception(t[1])}return[r,t?t[1]:e]}},between:function(e,t,n){n=n||e;var i=y.each(y.ignore(e),t,y.ignore(n));return function(e){var t=i.call(this,e);return[[t[0][0],r[0][2]],t[1]]}},list:function(e,t,n){return t=t||y.rtoken(/^\s*/),n=n||null,e instanceof Array?y.each(y.product(e.slice(0,-1),y.ignore(t)),e.slice(-1),y.ignore(n)):y.each(y.many(y.each(e,y.ignore(t))),px,y.ignore(n))},set:function(h,p,g){return p=p||y.rtoken(/^\s*/),g=g||null,function(e){for(var t=null,n=null,r=null,i=null,o=[[],e],a=!1,s=0;s<h.length;s++){t=n=r=null,a=1==h.length;try{t=h[s].call(this,e)}catch(c){continue}if(i=[[t[0]],t[1]],0<t[1].length&&!a)try{r=p.call(this,t[1])}catch(d){a=!0}else a=!0;if(a||0!==r[1].length||(a=!0),!a){for(var u=[],l=0;l<h.length;l++)s!=l&&u.push(h[l]);0<(n=y.set(u,p).call(this,r[1]))[0].length&&(i[0]=i[0].concat(n[0]),i[1]=n[1])}if(i[1].length<o[1].length&&(o=i),0===o[1].length)break}if(0===o[0].length)return o;if(g){try{r=g.call(this,o[1])}catch(f){throw new m.Exception(o[1])}o[1]=r[1]}return o}},forward:function(t,n){return function(e){return t[n].call(this,e)}},replace:function(n,r){return function(e){var t=n.call(this,e);return[r,t[1]]}},process:function(n,r){return function(e){var t=n.call(this,e);return[r.call(this,t[0]),t[1]]}},min:function(n,r){return function(e){var t=r.call(this,e);if(t[0].length<n)throw new m.Exception(e);return t}}},e=function(o){return function(e){var t=null,n=[];if(1<arguments.length?t=Array.prototype.slice.call(arguments):e instanceof Array&&(t=e),!t)return o.apply(null,arguments);for(var r=0,i=t.shift();r<i.length;r++)return t.unshift(i[r]),n.push(o.apply(null,t)),t.shift(),n}},t="optional not ignore cache".split(/\s/),n=0;n<t.length;n++)y[t[n]]=e(y[t[n]]);for(var i=function(t){return function(e){return e instanceof Array?t.apply(null,e):t.apply(null,arguments)}},o="each any all".split(/\s/),a=0;a<o.length;a++)y[o[a]]=i(y[o[a]])}(),function(){var a=function(e){for(var t=[],n=0;n<e.length;n++)e[n]instanceof Array?t=t.concat(a(e[n])):e[n]&&t.push(e[n]);return t};Date.Grammar={},Date.Translator={hour:function(e){return function(){this.hour=Number(e)}},minute:function(e){return function(){this.minute=Number(e)}},second:function(e){return function(){this.second=Number(e)}},meridian:function(e){return function(){this.meridian=e.slice(0,1).toLowerCase()}},timezone:function(t){return function(){var e=t.replace(/[^\d\+\-]/g,"");e.length?this.timezoneOffset=Number(e):this.timezone=t.toLowerCase()}},day:function(e){var t=e[0];return function(){this.day=Number(t.match(/\d+/)[0])}},month:function(e){return function(){this.month=3==e.length?Date.getMonthNumberFromName(e):Number(e)-1}},year:function(t){return function(){var e=Number(t);this.year=2<t.length?e:e+(e+2e3<Date.CultureInfo.twoDigitYearMax?2e3:1900)}},rday:function(e){return function(){switch(e){case"yesterday":this.days=-1;break;case"tomorrow":this.days=1;break;case"today":this.days=0;break;case"now":this.days=0,this.now=!0}}},finishExact:function(e){e=e instanceof Array?e:[e];var t=new Date;this.year=t.getFullYear(),this.month=t.getMonth(),this.day=1,this.hour=0,this.minute=0;for(var n=this.second=0;n<e.length;n++)e[n]&&e[n].call(this);if(this.hour="p"==this.meridian&&this.hour<13?this.hour+12:this.hour,this.day>Date.getDaysInMonth(this.year,this.month))throw new RangeError(this.day+" is not a valid value for days.");var r=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);return this.timezone?r.set({timezone:this.timezone}):this.timezoneOffset&&r.set({timezoneOffset:this.timezoneOffset}),r},finish:function(e){if(0===(e=e instanceof Array?a(e):[e]).length)return null;for(var t=0;t<e.length;t++)"function"==typeof e[t]&&e[t].call(this);if(this.now)return new Date;var n,r,i,o=Date.today();return!(null==this.days&&!this.orient&&!this.operator)?(i="past"==this.orient||"subtract"==this.operator?-1:1,this.weekday&&(this.unit="day",n=Date.getDayNumberFromName(this.weekday)-o.getDay(),r=7,this.days=n?(n+i*r)%r:i*r),this.month&&(this.unit="month",n=this.month-o.getMonth(),r=12,this.months=n?(n+i*r)%r:i*r,this.month=null),this.unit||(this.unit="day"),null!=this[this.unit+"s"]&&null==this.operator||(this.value||(this.value=1),"week"==this.unit&&(this.unit="day",this.value=7*this.value),this[this.unit+"s"]=this.value*i),o.add(this)):(this.meridian&&this.hour&&(this.hour=this.hour<13&&"p"==this.meridian?this.hour+12:this.hour),this.weekday&&!this.day&&(this.day=o.addDays(Date.getDayNumberFromName(this.weekday)-o.getDay()).getDate()),this.month&&!this.day&&(this.day=1),o.set(this))}};var e,s=Date.Parsing.Operators,r=Date.Grammar,t=Date.Translator;r.datePartDelimiter=s.rtoken(/^([\s\-\.\,\/\x27]+)/),r.timePartDelimiter=s.stoken(":"),r.whiteSpace=s.rtoken(/^\s*/),r.generalDelimiter=s.rtoken(/^(([\s\,]|at|on)+)/);var u={};r.ctoken=function(e){var t=u[e];if(!t){for(var n=Date.CultureInfo.regexPatterns,r=e.split(/\s+/),i=[],o=0;o<r.length;o++)i.push(s.replace(s.rtoken(n[r[o]]),r[o]));t=u[e]=s.any.apply(null,i)}return t},r.ctoken2=function(e){return s.rtoken(Date.CultureInfo.regexPatterns[e])},r.h=s.cache(s.process(s.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),t.hour)),r.hh=s.cache(s.process(s.rtoken(/^(0[0-9]|1[0-2])/),t.hour)),r.H=s.cache(s.process(s.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),t.hour)),r.HH=s.cache(s.process(s.rtoken(/^([0-1][0-9]|2[0-3])/),t.hour)),r.m=s.cache(s.process(s.rtoken(/^([0-5][0-9]|[0-9])/),t.minute)),r.mm=s.cache(s.process(s.rtoken(/^[0-5][0-9]/),t.minute)),r.s=s.cache(s.process(s.rtoken(/^([0-5][0-9]|[0-9])/),t.second)),r.ss=s.cache(s.process(s.rtoken(/^[0-5][0-9]/),t.second)),r.hms=s.cache(s.sequence([r.H,r.mm,r.ss],r.timePartDelimiter)),r.t=s.cache(s.process(r.ctoken2("shortMeridian"),t.meridian)),r.tt=s.cache(s.process(r.ctoken2("longMeridian"),t.meridian)),r.z=s.cache(s.process(s.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),t.timezone)),r.zz=s.cache(s.process(s.rtoken(/^(\+|\-)\s*\d\d\d\d/),t.timezone)),r.zzz=s.cache(s.process(r.ctoken2("timezone"),t.timezone)),r.timeSuffix=s.each(s.ignore(r.whiteSpace),s.set([r.tt,r.zzz])),r.time=s.each(s.optional(s.ignore(s.stoken("T"))),r.hms,r.timeSuffix),r.d=s.cache(s.process(s.each(s.rtoken(/^([0-2]\d|3[0-1]|\d)/),s.optional(r.ctoken2("ordinalSuffix"))),t.day)),r.dd=s.cache(s.process(s.each(s.rtoken(/^([0-2]\d|3[0-1])/),s.optional(r.ctoken2("ordinalSuffix"))),t.day)),r.ddd=r.dddd=s.cache(s.process(r.ctoken("sun mon tue wed thu fri sat"),function(e){return function(){this.weekday=e}})),r.M=s.cache(s.process(s.rtoken(/^(1[0-2]|0\d|\d)/),t.month)),r.MM=s.cache(s.process(s.rtoken(/^(1[0-2]|0\d)/),t.month)),r.MMM=r.MMMM=s.cache(s.process(r.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),t.month)),r.y=s.cache(s.process(s.rtoken(/^(\d\d?)/),t.year)),r.yy=s.cache(s.process(s.rtoken(/^(\d\d)/),t.year)),r.yyy=s.cache(s.process(s.rtoken(/^(\d\d?\d?\d?)/),t.year)),r.yyyy=s.cache(s.process(s.rtoken(/^(\d\d\d\d)/),t.year)),e=function(){return s.each(s.any.apply(null,arguments),s.not(r.ctoken2("timeContext")))},r.day=e(r.d,r.dd),r.month=e(r.M,r.MMM),r.year=e(r.yyyy,r.yy),r.orientation=s.process(r.ctoken("past future"),function(e){return function(){this.orient=e}}),r.operator=s.process(r.ctoken("add subtract"),function(e){return function(){this.operator=e}}),r.rday=s.process(r.ctoken("yesterday tomorrow today now"),t.rday),r.unit=s.process(r.ctoken("minute hour day week month year"),function(e){return function(){this.unit=e}}),r.value=s.process(s.rtoken(/^\d\d?(st|nd|rd|th)?/),function(e){return function(){this.value=e.replace(/\D/g,"")}}),r.expression=s.set([r.rday,r.operator,r.value,r.unit,r.orientation,r.ddd,r.MMM]),e=function(){return s.set(arguments,r.datePartDelimiter)},r.mdy=e(r.ddd,r.month,r.day,r.year),r.ymd=e(r.ddd,r.year,r.month,r.day),r.dmy=e(r.ddd,r.day,r.month,r.year),r.date=function(e){return(r[Date.CultureInfo.dateElementOrder]||r.mdy).call(this,e)},r.format=s.process(s.many(s.any(s.process(s.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(e){if(r[e])return r[e];throw Date.Parsing.Exception(e)}),s.process(s.rtoken(/^[^dMyhHmstz]+/),function(e){return s.ignore(s.stoken(e))}))),function(e){return s.process(s.each.apply(null,e),t.finishExact)});var n={},i=function(e){return n[e]=n[e]||r.format(e)[0]};r.formats=function(e){if(e instanceof Array){for(var t=[],n=0;n<e.length;n++)t.push(i(e[n]));return s.any.apply(null,t)}return i(e)},r._formats=r.formats(["yyyy-MM-ddTHH:mm:ss","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz","d"]),r._start=s.process(s.set([r.date,r.time,r.expression],r.generalDelimiter,r.whiteSpace),t.finish),r.start=function(e){try{var t=r._formats.call({},e);if(0===t[1].length)return t}catch(n){}return r._start.call({},e)}}(),Date._parse=Date.parse,Date.parse=function(e){var t=null;if(!e)return null;try{t=Date.Grammar.start.call({},e)}catch(n){return null}return 0===t[1].length?t[0]:null},Date.getParseFunction=function(e){var r=Date.Grammar.formats(e);return function(e){var t=null;try{t=r.call({},e)}catch(n){return null}return 0===t[1].length?t[0]:null}},Date.parseExact=function(e,t){return Date.getParseFunction(t)(e)},function(){function e(e){this.icon=e,this.opacity=.4,this.canvas=document.createElement("canvas"),this.font="Helvetica, Arial, sans-serif"}function r(e){return e=Math.round(e),isNaN(e)||e<1?"":e<10?" "+e:99<e?"99":e}function i(e,t,n,r,i){var o,a,s,u,l,c,d,f=document.getElementsByTagName("head")[0],h=document.createElement("link");h.rel="icon",a=11*(o=r.width/16),l=11*(u=o),d=2*(c=o),e.height=e.width=r.width,(s=e.getContext("2d")).font="bold "+a+"px "+n,i&&(s.globalAlpha=t),s.drawImage(r,0,0),s.globalAlpha=1,s.shadowColor="#FFF",s.shadowBlur=d,s.shadowOffsetX=0,s.shadowOffsetY=0,s.fillStyle="#FFF",s.fillText(i,u,l),s.fillText(i,u+c,l),s.fillText(i,u,l+c),s.fillText(i,u+c,l+c),s.fillStyle="#000",s.fillText(i,u+c/2,l+c/2),h.href=e.toDataURL("image/png"),f.removeChild(document.querySelector("link[rel=icon]")),f.appendChild(h)}e.prototype.set=function(e){var t=this,n=document.createElement("img");t.canvas.getContext&&(n.crossOrigin="anonymous",n.onload=function(){i(t.canvas,t.opacity,t.font,n,r(e))},n.src=this.icon)},this.Favcount=e}.call(this),function(){Favcount.VERSION="1.5.0"}.call(this);var Flexie=function(win,doc){function trim(e){return e&&(e=e.replace(LEADINGTRIM,EMPTY_STRING).replace(TRAILINGTRIM,EMPTY_STRING)),e}function determineSelectorMethod(){var engines=ENGINES,method,engine,obj;for(engine in engines)if(engines.hasOwnProperty(engine)&&(obj=engines[engine],win[engine]&&!method&&(method=eval(obj.s.replace("*",engine)),method))){ENGINE=engine;break}return method}function addEvent(e,t){var n=win[e="on"+e];"function"!=typeof win[e]?win[e]=t:win[e]=function(){n&&n(),t()}}function attachLoadMethod(handler){ENGINE||(LIBRARY=determineSelectorMethod());var engines=ENGINES,method,caller,args,engine,obj;for(engine in engines)if(engines.hasOwnProperty(engine)&&(obj=engines[engine],win[engine]&&!method&&obj.m&&(method=eval(obj.m.replace("*",engine)),caller=obj.c?eval(obj.c.replace("*",engine)):win,args=[],method&&caller))){obj.p&&args.push(obj.p),args.push(handler),method.apply(caller,args);break}method||addEvent("load",handler)}function buildSelector(e){var t=e.nodeName.toLowerCase();return e.id?t+="#"+e.id:e.FLX_DOM_ID&&(t+="["+FLX_DOM_ATTR+"='"+e.FLX_DOM_ID+"']"),t}function setFlexieId(e){e.FLX_DOM_ID||(FLX_DOM_ID+=1,e.FLX_DOM_ID=FLX_DOM_ID,e.setAttribute(FLX_DOM_ATTR,e.FLX_DOM_ID))}function buildSelectorTree(e){var t,n,r,i,o,a,s,u,l,c=[];for(u in t=(e=(e=e.replace(WHITESPACE_CHARACTERS,EMPTY_STRING)).replace(/\s?(\{|\:|\})\s?/g,PLACEHOLDER_STRING)).split(END_MUSTACHE))if(t.hasOwnProperty(u)&&(e=t[u])&&(n=[e,END_MUSTACHE].join(EMPTY_STRING),(r=/(\@media[^\{]+\{)?(.*)\{(.*)\}/.exec(n))&&r[3])){for(l in i=r[2],s=[],o=r[3].split(";"))o.hasOwnProperty(l)&&(a=o[l].split(":")).length&&a[1]&&s.push({property:a[0],value:a[1]});i&&s.length&&c.push({selector:i,properties:s})}return c}function findFlexboxElements(e){var t,n,r,i,o,f,a,s,u,l,c,d,h,p,g,m,y,v=/\s?,\s?/,b={},x={};for(f=function(e,t,n,r){var i,o,a,s;for(i={selector:trim(e),properties:[]},o=0,a=t.properties.length;o<a;o++)s=t.properties[o],i.properties.push({property:trim(s.property),value:trim(s.value)});return n&&r&&(i[n]=r),i},a=function(e,t,n,r){var i,o,a,s,u,l,c,d=n&&r?b[e]:x[e];if(d){for(a=0,s=t.properties.length;a<s;a++){for(u=t.properties[a],l=0,c=d.properties.length;l<c;l++)if(o=d.properties[l],u.property===o.property)return i=l,!1;i?d.properties[i]=u:d.properties.push(u)}n&&r&&(d[n]=r)}else n&&r?b[e]=f(e,t,n,r):x[e]=f(e,t,NULL,NULL)},u=0,l=e.length;u<l;u++)for(d=0,h=(t=trim((c=e[u]).selector).replace(v,",").split(v)).length;d<h;d++)for(p=trim(t[d]),g=0,m=(n=c.properties).length;g<m;g++)if(r=trim((y=n[g]).property),i=trim(y.value),r)switch(o=r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&a(p,c,NULL,NULL);break;case"orient":case"align":case"direction":case"pack":a(p,c,NULL,NULL);break;case"flex":case"flex-group":case"ordinal-group":a(p,c,o,i)}for(s in x)x.hasOwnProperty(s)&&FLEX_BOXES.push(x[s]);for(s in b)b.hasOwnProperty(s)&&POSSIBLE_FLEX_CHILDREN.push(b[s]);return{boxes:FLEX_BOXES,children:POSSIBLE_FLEX_CHILDREN}}function matchFlexChildren(e,t,n){var r,i,o,a,s,u,l,c,d,f=[];for(o=0,a=n.length;o<a;o++)if((s=n[o]).selector){if((r=(r=t(s.selector))[0]?r:[r])[0])for(u=0,l=r.length;u<l;u++)if((c=r[u]).nodeName!==UNDEFINED)switch(c.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:if(c.parentNode===e){for(d in setFlexieId(c),i={},s)s.hasOwnProperty(d)&&(i[d]=s[d]);i.match=c,f.push(i)}}}else setFlexieId(s),f.push({match:s,selector:buildSelector(s)});return f}function getParams(e){var t;for(t in e)e.hasOwnProperty(t)&&(e[t]=e[t]||DEFAULTS[t]);return e}function buildFlexieCall(e){var t,n,r,i,o,a,s,u,l,c,d,f,h,p,g,m,y,v,b,x,T,w,D,E,S,_,C,M,L={},k="["+FLX_PARENT_ATTR+"]";if(e){for(g=0,m=e.boxes.length;g<m;g++){for((y=e.boxes[g]).selector=trim(y.selector),t=y.selector,n=y.properties,o=a=s=u=l=NULL,v=0,b=n.length;v<b;v++)if(r=trim((x=n[v]).property),i=trim(x.value),r)switch(r.replace("box-",EMPTY_STRING)){case"display":"box"===i&&(o=i);break;case"orient":a=i;break;case"align":s=i;break;case"direction":u=i;break;case"pack":l=i}for(v=0,b=(d=(d=(c=LIBRARY)(y.selector))[0]?d:[d]).length;v<b;v++)if((T=d[v]).nodeType)if(setFlexieId(T),f={target:T,selector:t,properties:n,children:matchFlexChildren(T,c,e.children),display:o,orient:a,align:s,direction:u,pack:l,nested:t+" "+k},h=L[T.FLX_DOM_ID]){for(w in f)if(f.hasOwnProperty(w))switch(i=f[w],w){case"selector":i&&!new RegExp(i).test(h[w])&&(h[w]+=", "+i);break;case"children":for(D=0,E=f[w].length;D<E;D++){for(S=f[w][D],p=FALSE,_=0,C=h[w].length;_<C;_++)M=h[w][_],S.match.FLX_DOM_ID===M.match.FLX_DOM_ID&&(p=TRUE);p||h[w].push(S)}break;default:i&&(h[w]=i)}}else L[T.FLX_DOM_ID]=getParams(f),L[T.FLX_DOM_ID].target.setAttribute(FLX_PARENT_ATTR,TRUE)}for(DOM_ORDERED=LIBRARY(k),FLEX_BOXES={},g=0,m=DOM_ORDERED.length;g<m;g++)T=DOM_ORDERED[g],FLEX_BOXES[T.FLX_DOM_ID]=L[T.FLX_DOM_ID];for(w in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(w)&&"box"===(y=FLEX_BOXES[w]).display&&new FLX.box(y)}}function calcPx(e,t,n){var r,i,o,a=e["offset"+n.replace(n.charAt(0),n.charAt(0).toUpperCase())]||0;if(a)for(r=0,i=t.length;r<i;r++)o=parseFloat(e.currentStyle[t[r]]),isNaN(o)||(a-=o);return a}function getTrueValue(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return!PIXEL.test(i)&&NUMBER.test(i)&&(n=o.left,r=e.runtimeStyle.left,e.runtimeStyle.left=e.currentStyle.left,o.left=i||0,i=o.pixelLeft+"px",o.left=n||0,e.runtimeStyle.left=r),i}function unAuto(e,t,n){switch(n){case"width":t=calcPx(e,[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT],n);break;case"height":t=calcPx(e,[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM],n);break;default:t=getTrueValue(e,n)}return t}function getPixelValue(e,t,n){return PIXEL.test(t)?t:t="auto"===t||"medium"===t?unAuto(e,t,n):getTrueValue(e,n)}function getComputedStyle(e,t,n){var r;if(e!==UNDEFINED)return r=win.getComputedStyle?win.getComputedStyle(e,NULL)[t]:SIZES.test(t)?getPixelValue(e,e&&e.currentStyle?e.currentStyle[t]:0,t):e.currentStyle[t],n&&(r=parseInt(r,10),isNaN(r)&&(r=0)),r}function clientWidth(e){return e.innerWidth||e.clientWidth}function clientHeight(e){return e.innerHeight||e.clientHeight}function appendProperty(e,t,n,r){var i,o,a,s=[];for(i=0,o=PREFIXES.length;i<o;i++)a=PREFIXES[i],s.push((r?a:EMPTY_STRING)+t+":"+(r?EMPTY_STRING:a)+n);return e.style.cssText+=s.join(";"),e}function appendPixelValue(e,t,n){var r,i,o=e&&e[0]?e:[e];for(r=0,i=o.length;r<i;r++)(e=o[r])&&e.style&&(e.style[t]=n?n+"px":EMPTY_STRING)}function calculateSpecificity(e){var t,n,r,i,o,a;for(n={_id:100,_class:10,_tag:1},i=r=0,o=(t=e.replace(CSS_SELECTOR,function(e,t){return"%"+t}).replace(/\s|\>|\+|\~/g,"%").split(/%/g)).length;i<o;i++)a=t[i],/#/.test(a)?r+=n._id:/\.|\[|\:/.test(a)?r+=n._class:/[a-zA-Z]+/.test(a)&&(r+=n._tag);return r}function filterDuplicates(e,t,n){var r,i,o,a,s,u,l,c=[],d=(n?"ordinal":"flex")+"Specificity";for(i=0,o=e.length;i<o;i++)if(a=e[i],!n&&a.flex||n&&a["ordinal-group"]){for(a[d]=a[d]||calculateSpecificity(a.selector),r=FALSE,s=0,u=c.length;s<u;s++)if((l=c[s]).match===a.match)return l[d]<a[d]&&(c[o]=a),r=TRUE,FALSE;r||c.push(a)}return c}function createMatchMatrix(e,t,n){var r,i,o,a,s,u,l,c,d={},f=[],h=0,p="ordinal-group",g="data-"+p;for(e=filterDuplicates(e,t,n),i=0,o=t.length;i<o;i++){for(a=t[i],s=0,u=e.length;s<u;s++)l=e[s],n?(r=l[p]||"1",l.match===a&&(l.match.setAttribute(g,r),d[r]=d[r]||[],d[r].push(l))):(r=l.flex||"0",l.match===a&&(!l[r]||l[r]&&parseInt(l[r],10)<=1)&&(h+=parseInt(r,10),d[r]=d[r]||[],d[r].push(l)));n&&!a.getAttribute(g)&&(r="1",a.setAttribute(g,r),d[r]=d[r]||[],d[r].push({match:a}))}for(c in d)d.hasOwnProperty(c)&&f.push(c);return f.sort(function(e,t){return t-e}),{keys:f,groups:d,total:h}}function attachResizeListener(){if(!RESIZE_LISTENER){var e,t,n,r,i,o=doc.body,a=doc.documentElement,s="innerWidth",u="innerHeight",l="clientWidth",c="clientHeight";addEvent("resize",function(){i&&window.clearTimeout(i),i=window.setTimeout(function(){n=win[s]||a[s]||a[l]||o[l],r=win[u]||a[u]||a[c]||o[c],e===n&&t===r||(FLX.updateInstance(NULL,NULL),e=n,t=r)},250)}),RESIZE_LISTENER=TRUE}}function cleanPositioningProperties(e){var t,n,r,i,o;for(t=0,n=e.length;t<n;t++)i=(r=e[t]).style.width,o=r.style.height,r.style.cssText=EMPTY_STRING,r.style.width=i,r.style.height=o}function sanitizeChildren(e,t){var n,r,i,o=[];for(r=0,i=t.length;r<i;r++)if(n=t[r])switch(n.nodeName.toLowerCase()){case"script":case"style":case"link":break;default:1===n.nodeType?o.push(n):3===n.nodeType&&(n.isElementContentWhitespace||ONLY_WHITESPACE.test(n.data))&&(e.removeChild(n),r--)}return o}function parentFlex(e){for(var t,n=0,r=e.parentNode;r.FLX_DOM_ID;)n+=createMatchMatrix(FLEX_BOXES[r.FLX_DOM_ID].children,sanitizeChildren(r,r.childNodes),NULL).total,t=TRUE,r=r.parentNode;return{nested:t,flex:n}}function dimensionValues(e,t){var n,r,i,o,a,s=e.parentNode;if(s.FLX_DOM_ID)for(i=0,o=(n=FLEX_BOXES[s.FLX_DOM_ID]).properties.length;i<o;i++)if(a=n.properties[i],new RegExp(t).test(a.property))return r=TRUE,FALSE;return r}function updateChildValues(e){var t,n;if(e.flexMatrix)for(t=0,n=e.children.length;t<n;t++)e.children[t].flex=e.flexMatrix[t];if(e.ordinalMatrix)for(t=0,n=e.children.length;t<n;t++)e.children[t]["ordinal-group"]=e.ordinalMatrix[t];return e}function ensureStructuralIntegrity(e,t){var n=e.target;return n.FLX_DOM_ID||(n.FLX_DOM_ID=n.FLX_DOM_ID||++FLX_DOM_ID),e.nodes||(e.nodes=sanitizeChildren(n,n.childNodes)),e.selector||(e.selector=buildSelector(n),n.setAttribute(FLX_PARENT_ATTR,TRUE)),e.properties||(e.properties=[]),e.children||(e.children=matchFlexChildren(n,LIBRARY,sanitizeChildren(n,n.childNodes))),e.nested||(e.nested=e.selector+" ["+FLX_PARENT_ATTR+"]"),e.target=n,e._instance=t,e}var FLX={},FLX_DOM_ID=0,FLX_DOM_ATTR="data-flexie-id",FLX_PARENT_ATTR="data-flexie-parent",SUPPORT,ENGINE,ENGINES={NW:{s:"*.Dom.select"},DOMAssistant:{s:"*.$",m:"*.DOMReady"},Prototype:{s:"$$",m:"document.observe",p:"dom:loaded",c:"document"},YAHOO:{s:"*.util.Selector.query",m:"*.util.Event.onDOMReady",c:"*.util.Event"},MooTools:{s:"$$",m:"window.addEvent",p:"domready"},Sizzle:{s:"*"},jQuery:{s:"*",m:"*(document).ready"},dojo:{s:"*.query",m:"*.addOnLoad"}},LIBRARY,PIXEL=/^-?\d+(?:px)?$/i,NUMBER=/^-?\d/,SIZES=/width|height|margin|padding|border/,MSIE=/(msie) ([\w.]+)/,WHITESPACE_CHARACTERS=/\t|\n|\r/g,RESTRICTIVE_PROPERTIES=/^max\-([a-z]+)/,PROTOCOL=/^https?:\/\//i,LEADINGTRIM=/^\s\s*/,TRAILINGTRIM=/\s\s*$/,ONLY_WHITESPACE=/^\s*$/,CSS_SELECTOR=/\s?(\#|\.|\[|\:(\:)?[^first\-(line|letter)|before|after]+)/g,EMPTY_STRING="",SPACE_STRING=" ",PLACEHOLDER_STRING="$1",PADDING_RIGHT="paddingRight",PADDING_BOTTOM="paddingBottom",PADDING_LEFT="paddingLeft",PADDING_TOP="paddingTop",BORDER_RIGHT="borderRightWidth",BORDER_BOTTOM="borderBottomWidth",BORDER_LEFT="borderLeftWidth",BORDER_TOP="borderTopWidth",HORIZONTAL="horizontal",VERTICAL="vertical",INLINE_AXIS="inline-axis",BLOCK_AXIS="block-axis",INHERIT="inherit",LEFT="left",END_MUSTACHE="}",PREFIXES=" -o- -moz- -ms- -webkit- -khtml- ".split(SPACE_STRING),DEFAULTS={orient:HORIZONTAL,align:"stretch",direction:INHERIT,pack:"start"},FLEX_BOXES=[],POSSIBLE_FLEX_CHILDREN=[],DOM_ORDERED,RESIZE_LISTENER,TRUE=!0,FALSE=!1,NULL=null,UNDEFINED,BROWSER={IE:(bQ=win.navigator.userAgent,cQ=MSIE.exec(bQ.toLowerCase()),cQ&&(aQ=parseInt(cQ[2],10)),aQ)},selectivizrEngine,aQ,bQ,cQ;return selectivizrEngine=function(){function t(e){return e.replace(m,PLACEHOLDER_STRING)}function n(e){return t(e).replace(g,SPACE_STRING)}function a(e){return n(e.replace(h,PLACEHOLDER_STRING).replace(p,PLACEHOLDER_STRING))}function c(e){return e.replace(s,function(e,t,n){var r,i,o;for(i=0,o=(r=n.split(",")).length;i<o;i++)a(r[i])+SPACE_STRING;return t+r.join(",")})}function r(){if(win.XMLHttpRequest)return new win.XMLHttpRequest;try{return new win.ActiveXObject("Microsoft.XMLHTTP")}catch(e){return NULL}}function i(e){for(var t,n=/<style[^<>]*>([^<>]*)<\/style[\s]?>/gim,r=n.exec(e),i=[];r;)(t=r[1])&&i.push(t),r=n.exec(e);return i.join("\n\n")}function e(e){var t,n=r();return n.open("GET",e,FALSE),n.send(),t=200===n.status?n.responseText:EMPTY_STRING,e===window.location.href&&(t=i(t)),t}function d(e,t){function n(e){return e.substring(0,e.indexOf("/",8))}if(e){if(PROTOCOL.test(e))return n(t)===n(e)?e:NULL;if("/"===e.charAt(0))return n(t)+e;var r=t.split("?")[0];return"?"!==e.charAt(0)&&"/"!==r.charAt(r.length-1)&&(r=r.substring(0,r.lastIndexOf("/")+1)),r+e}}function f(s){return s?e(s).replace(o,EMPTY_STRING).replace(u,function(e,t,n,r,i,o){var a=f(d(n||i,s));return o?"@media "+o+" {"+a+"}":a}).replace(l,function(e,t,n,r){return n=n||EMPTY_STRING,t?e:" url("+n+d(r,s,!0)+n+") "}):EMPTY_STRING}var o=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*?/g,u=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))\s*([^;]*);/g,l=/(behavior\s*?:\s*)?\burl\(\s*(["']?)(?!data:)([^"')]+)\2\s*\)/g,s=/((?:^|(?:\s*\})+)(?:\s*@media[^\{]+\{)?)\s*([^\{]*?[\[:][^{]+)/g,h=/([(\[+~])\s+/g,p=/\s+([)\]+~])/g,g=/\s+/g,m=/^\s*((?:[\S\s]*\S)?)\s*$/;return function(){var e,t,n,r,i,o,a=[],s=doc.getElementsByTagName("BASE"),u=0<s.length?s[0].href:doc.location.href,l=doc.styleSheets;for(n=0,r=l.length;n<r;n++)(t=l[n])!=NULL&&a.push(t);for(a.push(window.location),n=0,r=a.length;n<r;n++)(t=a[n])&&((e=d(t.href,u))&&(i=c(f(e))),i&&(o=findFlexboxElements(buildSelectorTree(i))));buildFlexieCall(o)}}(),FLX.box=function(e){return this.renderModel(e)},FLX.box.prototype={properties:{boxModel:function(e,t,n){var r,i,o,a,s,u,l;if(e.style.display="block",8===BROWSER.IE&&(e.style.overflow="hidden"),!n.cleared){for(r=n.selector.split(/\s?,\s?/),i=(i=doc.styleSheets)[i.length-1],o="padding-top:"+(getComputedStyle(e,PADDING_TOP,NULL)||"0.1px;"),a=["content: '.'","display: block","height: 0","overflow: hidden"].join(";"),s=0,u=r.length;s<u;s++)l=r[s],i.addRule?BROWSER.IE<8?(e.style.zoom="1",6===BROWSER.IE?i.addRule(l.replace(/\>|\+|\~/g,""),o+"zoom:1;",0):7===BROWSER.IE&&i.addRule(l,o+"display:inline-block;",0)):(i.addRule(l,o,0),i.addRule(l+":before",a,0),i.addRule(l+":after",a+";clear:both;",0)):i.insertRule&&(i.insertRule(l+"{"+o+"}",0),i.insertRule(l+":after{"+a+";clear:both;}",0));n.cleared=TRUE}},boxDirection:function(e,t,n){var r,i,o,a,s,u;if("reverse"===n.direction&&!n.reversed||"normal"===n.direction&&n.reversed){for(o=0,a=(t=t.reverse()).length;o<a;o++)s=t[o],
|
5
|
+
e.appendChild(s);for(o=0,a=(r=LIBRARY(n.nested)).length;o<a;o++)u=r[o],(i=FLEX_BOXES[u.FLX_DOM_ID])&&i.direction===INHERIT&&(i.direction=n.direction);n.reversed=!n.reversed}},boxOrient:function(e,t,n){var r,i,o,a,s,u=this;if(r={pos:"marginLeft",opp:"marginRight",dim:"width",out:"offsetWidth",func:clientWidth,pad:[PADDING_LEFT,PADDING_RIGHT,BORDER_LEFT,BORDER_RIGHT]},i={pos:"marginTop",opp:"marginBottom",dim:"height",out:"offsetHeight",func:clientHeight,pad:[PADDING_TOP,PADDING_BOTTOM,BORDER_TOP,BORDER_BOTTOM]},!SUPPORT)for(o=0,a=t.length;o<a;o++)(s=t[o]).style[9<=BROWSER.IE?"cssFloat":"styleFloat"]=LEFT,n.orient!==VERTICAL&&n.orient!==BLOCK_AXIS||(s.style.clear=LEFT),6===BROWSER.IE&&(s.style.display="inline");switch(n.orient){case VERTICAL:case BLOCK_AXIS:u.props=i,u.anti=r;break;default:u.props=r,u.anti=i}},boxOrdinalGroup:function(l,c,d){var e,t;c.length&&(e=function(e){var t,n,r,i,o,a,s=e.keys,u=d.reversed?s:s.reverse();for(t=0,n=u.length;t<n;t++)for(r=u[t],i=0,o=c.length;i<o;i++)r===(a=c[i]).getAttribute("data-ordinal-group")&&l.appendChild(a)},1<(t=createMatchMatrix(d.children,c,TRUE)).keys.length&&e(t))},boxFlex:function(l,c,e){var t,n,r,i,m=this;c.length&&(t=function(e){var t,n,r,i,o,a,s,u,l,c,d=e.groups,f=e.keys;for(n=0,r=f.length;n<r;n++)for(o=0,a=d[i=f[n]].length;o<a;o++){for(s=d[i][o],t=NULL,u=0,l=s.properties.length;u<l;u++)c=s.properties[u],RESTRICTIVE_PROPERTIES.test(c.property)&&(t=parseFloat(c.value));(!t||s.match[m.props.out]>t)&&appendPixelValue(s.match,m.props.pos,NULL)}},n=function(e){var t,n,r,i,o,a,s,u=0;for(n=0,r=c.length;n<r;n++){for(u+=getComputedStyle(i=c[n],m.props.dim,TRUE),o=0,a=m.props.pad.length;o<a;o++)u+=getComputedStyle(i,s=m.props.pad[o],TRUE);u+=getComputedStyle(i,m.props.pos,TRUE),u+=getComputedStyle(i,m.props.opp,TRUE)}for(t=l[m.props.out]-u,n=0,r=m.props.pad.length;n<r;n++)s=m.props.pad[n],t-=getComputedStyle(l,s,TRUE);return{whitespace:t,ration:t/e.total}},r=function(e,t){var n,r,i,o,a,s,u,l,c,d,f,h=e.groups,p=e.keys,g=t.ration;for(s=0,u=p.length;s<u;s++)for(i=g*(l=p[s]),c=0,d=h[l].length;c<d;c++)(f=h[l][c]).match&&(n=f.match.getAttribute("data-flex"),r=f.match.getAttribute("data-specificity"),(!n||r<=f.flexSpecificity)&&(f.match.setAttribute("data-flex",l),f.match.setAttribute("data-specificity",f.flexSpecificity),o=getComputedStyle(f.match,m.props.dim,TRUE),a=Math.max(0,o+i),appendPixelValue(f.match,m.props.dim,a)))},(i=createMatchMatrix(e.children,c,NULL)).total&&(e.hasFlex=TRUE,t(i),r(i,n(i))))},boxAlign:function(e,t,n){var r,i,o,a,s,u,l,c,d=this,f=parentFlex(e);for(SUPPORT||f.flex||n.orient!==VERTICAL&&n.orient!==BLOCK_AXIS||(dimensionValues(e,d.anti.dim)||appendPixelValue(e,d.anti.dim,NULL),appendPixelValue(t,d.anti.dim,NULL)),r=e[d.anti.out],o=0,a=d.anti.pad.length;o<a;o++)r-=getComputedStyle(e,s=d.anti.pad[o],TRUE);switch(n.align){case"start":break;case"end":for(o=0,a=t.length;o<a;o++)i=r-(c=t[o])[d.anti.out],i-=getComputedStyle(c,d.anti.opp,TRUE),appendPixelValue(c,d.anti.pos,i);break;case"center":for(o=0,a=t.length;o<a;o++)i=(r-(c=t[o])[d.anti.out])/2,appendPixelValue(c,d.anti.pos,i);break;default:for(o=0,a=t.length;o<a;o++)switch((c=t[o]).nodeName.toLowerCase()){case"button":case"input":case"select":break;default:var h=0;for(u=0,l=d.anti.pad.length;u<l;u++)h+=getComputedStyle(c,s=d.anti.pad[u],TRUE),h+=getComputedStyle(e,s,TRUE);for(c.style[d.anti.dim]="100%",i=c[d.anti.out]-h,appendPixelValue(c,d.anti.dim,NULL),i=r,i-=getComputedStyle(c,d.anti.pos,TRUE),u=0,l=d.anti.pad.length;u<l;u++)i-=getComputedStyle(c,s=d.anti.pad[u],TRUE);i-=getComputedStyle(c,d.anti.opp,TRUE),i=Math.max(0,i),appendPixelValue(c,d.anti.dim,i)}}},boxPack:function(e,t,n){var r,i,o,a,s,u,l,c,d=this,f=0,h=0,p=0,g=t.length-1;for(u=0,l=t.length;u<l;u++)f+=(s=t[u])[d.props.out],f+=getComputedStyle(s,d.props.pos,TRUE),f+=getComputedStyle(s,d.props.opp,TRUE);for(h=getComputedStyle(t[0],d.props.pos,TRUE),r=e[d.props.out]-f,u=0,l=d.props.pad.length;u<l;u++)r-=getComputedStyle(e,d.props.pad[u],TRUE);switch(r<0&&(r=Math.max(0,r)),n.pack){case"end":appendPixelValue(t[0],d.props.pos,p+h+r);break;case"center":p&&(p/=2),appendPixelValue(t[0],d.props.pos,p+h+Math.floor(r/2));break;case"justify":for(a=(i=Math.floor((p+r)/g))*g-r,u=t.length-1;u;)o=i,a&&(o++,a++),c=getComputedStyle(s=t[u],d.props.pos,TRUE)+o,appendPixelValue(s,d.props.pos,c),u--}e.style.overflow=""}},setup:function(e,t,n){var r,i,o,a=this;if(e&&t&&n)if(SUPPORT&&SUPPORT.partialSupport)r=createMatchMatrix(n.children,t,NULL),i=parentFlex(e),t=sanitizeChildren(e,e.childNodes),a.properties.boxOrient.call(a,e,t,n),r.total&&LIBRARY(n.nested).length||("stretch"!==n.align||SUPPORT.boxAlignStretch||i.nested&&i.flex||a.properties.boxAlign.call(a,e,t,n),"justify"!==n.pack||SUPPORT.boxPackJustify||r.total||a.properties.boxPack.call(a,e,t,n));else if(!SUPPORT)for(o in a.properties)a.properties.hasOwnProperty(o)&&a.properties[o].call(a,e,sanitizeChildren(e,e.childNodes),n)},trackDOM:function(e){attachResizeListener(this,e)},updateModel:function(e){var t=this,n=e.target,r=e.nodes;cleanPositioningProperties(r),(e.flexMatrix||e.ordinalMatrix)&&(e=updateChildValues(e)),t.setup(n,r,e),t.bubbleUp(n,e)},renderModel:function(e){var t=this,n=e.target,r=n.childNodes;return!(!n.length&&!r)&&(e=ensureStructuralIntegrity(e,this),t.updateModel(e),win.setTimeout(function(){t.trackDOM(e)},0),t)},bubbleUp:function(e,t){for(var n,r=this,i=t.target.parentNode;i;)(n=FLEX_BOXES[i.FLX_DOM_ID])&&(cleanPositioningProperties(n.nodes),r.setup(n.target,n.nodes,n)),i=i.parentNode}},FLX.updateInstance=function(e,t){var n,r;if(e)(n=FLEX_BOXES[e.FLX_DOM_ID])&&n._instance?n._instance.updateModel(n):n||(n=new FLX.box(t));else for(r in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(r)&&(n=FLEX_BOXES[r])&&n._instance&&n._instance.updateModel(n)},FLX.getInstance=function(e){return FLEX_BOXES[e.FLX_DOM_ID]},FLX.destroyInstance=function(e){var t,n,r,i,o;if(n=function(e){for(e.target.FLX_DOM_ID=NULL,e.target.style.cssText=EMPTY_STRING,r=0,i=e.children.length;r<i;r++)e.children[r].match.style.cssText=EMPTY_STRING},e)(t=FLEX_BOXES[e.FLX_DOM_ID])&&n(t);else{for(o in FLEX_BOXES)FLEX_BOXES.hasOwnProperty(o)&&n(FLEX_BOXES[o]);FLEX_BOXES=[]}},FLX.flexboxSupport=function(){var e,t,n,r,i={},o=100,a=doc.createElement("flxbox"),s='<b style="margin: 0; padding: 0; display:block; width: 10px; height:'+o/2+'px"></b>';for(r in a.style.width=a.style.height=o+"px",a.innerHTML=s+s+s,appendProperty(a,"display","box",NULL),appendProperty(a,"box-align","stretch",TRUE),appendProperty(a,"box-pack","justify",TRUE),doc.body.appendChild(a),e=a.firstChild.offsetHeight,t={boxAlignStretch:function(){return 100===e},boxPackJustify:function(){var e,t,n=0;for(e=0,t=a.childNodes.length;e<t;e++)n+=a.childNodes[e].offsetLeft;return 135===n}})t.hasOwnProperty(r)&&((n=(0,t[r])())||(i.partialSupport=TRUE),i[r]=n);return doc.body.removeChild(a),~a.style.display.indexOf("box")?i:FALSE},FLX.init=function(){FLX.flexboxSupported=SUPPORT=FLX.flexboxSupport(),SUPPORT&&!SUPPORT.partialSupport||!LIBRARY||selectivizrEngine()},FLX.version="1.0.3",attachLoadMethod(FLX.init),FLX}(this,document);!function(t){function s(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function u(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function l(e){for(b in T)T[b]=e[C[b]]}function n(e){var t,n,r,i,o,a;if(t=e.keyCode,-1==s(_,t)&&_.push(t),93!=t&&224!=t||(t=91),t in T)for(r in T[t]=!0,D)D[r]==t&&(c[r]=!0);else if(l(e),c.filter.call(this,e)&&t in x)for(a=h(),i=0;i<x[t].length;i++)if((n=x[t][i]).scope==a||"all"==n.scope){for(r in o=0<n.mods.length,T)(!T[r]&&-1<s(n.mods,+r)||T[r]&&-1==s(n.mods,+r))&&(o=!1);(0!=n.mods.length||T[16]||T[18]||T[17]||T[91])&&!o||!1===n.method(e,n)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function e(e){var t,n=e.keyCode,r=s(_,n);if(0<=r&&_.splice(r,1),93!=n&&224!=n||(n=91),n in T)for(t in T[n]=!1,D)D[t]==n&&(c[t]=!1)}function r(){for(b in T)T[b]=!1;for(b in D)c[b]=!1}function c(e,t,n){var r,i;r=g(e),n===undefined&&(n=t,t="all");for(var o=0;o<r.length;o++)i=[],1<(e=r[o].split("+")).length&&(i=m(e),e=[e[e.length-1]]),e=e[0],(e=S(e))in x||(x[e]=[]),x[e].push({shortcut:r[o],scope:t,method:n,key:r[o],mods:i})}function i(e,t){var n,r,i,o,a,s=[];for(n=g(e),o=0;o<n.length;o++){if(1<(r=n[o].split("+")).length&&(s=m(r),e=r[r.length-1]),e=S(e),t===undefined&&(t=h()),!x[e])return;for(i=0;i<x[e].length;i++)(a=x[e][i]).scope===t&&u(a.mods,s)&&(x[e][i]={})}}function o(e){return"string"==typeof e&&(e=S(e)),-1!=s(_,e)}function a(){return _.slice(0)}function d(e){var t=(e.target||e.srcElement).tagName;return!("INPUT"==t||"SELECT"==t||"TEXTAREA"==t)}function f(e){w=e||"all"}function h(){return w||"all"}function p(e){var t,n,r;for(t in x)for(n=x[t],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++}function g(e){var t;return""==(t=(e=e.replace(/\s/g,"")).split(","))[t.length-1]&&(t[t.length-2]+=","),t}function m(e){for(var t=e.slice(0,e.length-1),n=0;n<t.length;n++)t[n]=D[t[n]];return t}function y(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,function(){n(window.event)})}function v(){var e=t.key;return t.key=M,e}var b,x={},T={16:!1,18:!1,17:!1,91:!1},w="all",D={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,command:91},E={backspace:8,tab:9,clear:12,enter:13,"return":13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,"delete":46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220},S=function(e){return E[e]||e.toUpperCase().charCodeAt(0)},_=[];for(b=1;b<20;b++)E["f"+b]=111+b;var C={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(b in D)c[b]=!1;y(document,"keydown",function(e){n(e)}),y(document,"keyup",e),y(window,"focus",r);var M=t.key;t.key=c,t.key.setScope=f,t.key.getScope=h,t.key.deleteScope=p,t.key.filter=d,t.key.isPressed=o,t.key.getPressedKeyCodes=a,t.key.noConflict=v,t.key.unbind=i,"undefined"!=typeof module&&(module.exports=key)}(this),Window.prototype.forceJURL=!1,function(e){"use strict";function v(e){return D[e]!==undefined}function b(){i.call(this),this._isInvalid=!0}function x(e){return""==e&&b.call(this),e.toLowerCase()}function T(e){var t=e.charCodeAt(0);return 32<t&&t<127&&-1==[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function w(e){var t=e.charCodeAt(0);return 32<t&&t<127&&-1==[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function r(e,t,n){function r(e){l.push(e)}var i=t||"scheme start",o=0,a="",s=!1,u=!1,l=[];e:for(;(e[o-1]!=S||0==o)&&!this._isInvalid;){var c=e[o];switch(i){case"scheme start":if(!c||!_.test(c)){if(t){r("Invalid scheme.");break e}a="",i="no scheme";continue}a+=c.toLowerCase(),i="scheme";break;case"scheme":if(c&&C.test(c))a+=c.toLowerCase();else{if(":"!=c){if(t){if(S==c)break e;r("Code point not allowed in scheme: "+c);break e}a="",o=0,i="no scheme";continue}if(this._scheme=a,a="",t)break e;v(this._scheme)&&(this._isRelative=!0),i="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==c?(this._query="?",i="query"):"#"==c?(this._fragment="#",i="fragment"):S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._schemeData+=T(c));break;case"no scheme":if(n&&v(n._scheme)){i="relative";continue}r("Missing scheme."),b.call(this);break;case"relative or authority":if("/"!=c||"/"!=e[o+1]){r("Expected /, got: "+c),i="relative";continue}i="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),S==c){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break e}if("/"==c||"\\"==c)"\\"==c&&r("\\ is an invalid code point."),i="relative slash";else if("?"==c)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,i="query";else{if("#"!=c){var d=e[o+1],f=e[o+2];("file"!=this._scheme||!_.test(c)||":"!=d&&"|"!=d||S!=f&&"/"!=f&&"\\"!=f&&"?"!=f&&"#"!=f)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),i="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,i="fragment"}break;case"relative slash":if("/"!=c&&"\\"!=c){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),i="relative path";continue}"\\"==c&&r("\\ is an invalid code point."),i="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=c){r("Expected '/', got: "+c),i="authority ignore slashes";continue}i="authority second slash";break;case"authority second slash":if(i="authority ignore slashes","/"==c)break;r("Expected '/', got: "+c);continue;case"authority ignore slashes":if("/"!=c&&"\\"!=c){i="authority";continue}r("Expected authority, got: "+c);break;case"authority":if("@"==c){s&&(r("@ already seen."),a+="%40"),s=!0;for(var h=0;h<a.length;h++){var p=a[h];if("\t"!=p&&"\n"!=p&&"\r"!=p)if(":"!=p||null!==this._password){var g=T(p);null!==this._password?this._password+=g:this._username+=g}else this._password="";else r("Invalid whitespace in authority.")}a=""}else{if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){o-=a.length,a="",i="host";continue}a+=c}break;case"file host":if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){2!=a.length||!_.test(a[0])||":"!=a[1]&&"|"!=a[1]?(0==a.length||(this._host=x.call(this,a),a=""),i="relative path start"):i="relative path";continue}"\t"==c||"\n"==c||"\r"==c?r("Invalid whitespace in file host."):a+=c;break;case"host":case"hostname":if(":"!=c||u){if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c){if(this._host=x.call(this,a),a="",i="relative path start",t)break e;continue}"\t"!=c&&"\n"!=c&&"\r"!=c?("["==c?u=!0:"]"==c&&(u=!1),a+=c):r("Invalid code point in host/hostname: "+c)}else if(this._host=x.call(this,a),a="",i="port","hostname"==t)break e;break;case"port":if(/[0-9]/.test(c))a+=c;else{if(S==c||"/"==c||"\\"==c||"?"==c||"#"==c||t){if(""!=a){var m=parseInt(a,10);m!=D[this._scheme]&&(this._port=m+""),a=""}if(t)break e;i="relative path start";continue}"\t"==c||"\n"==c||"\r"==c?r("Invalid code point in port: "+c):b.call(this)}break;case"relative path start":if("\\"==c&&r("'\\' not allowed in path."),i="relative path","/"!=c&&"\\"!=c)continue;break;case"relative path":var y;if(S!=c&&"/"!=c&&"\\"!=c&&(t||"?"!=c&&"#"!=c))"\t"!=c&&"\n"!=c&&"\r"!=c&&(a+=T(c));else"\\"==c&&r("\\ not allowed in relative path."),(y=E[a.toLowerCase()])&&(a=y),".."==a?(this._path.pop(),"/"!=c&&"\\"!=c&&this._path.push("")):"."==a&&"/"!=c&&"\\"!=c?this._path.push(""):"."!=a&&("file"==this._scheme&&0==this._path.length&&2==a.length&&_.test(a[0])&&"|"==a[1]&&(a=a[0]+":"),this._path.push(a)),a="","?"==c?(this._query="?",i="query"):"#"==c&&(this._fragment="#",i="fragment");break;case"query":t||"#"!=c?S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._query+=w(c)):(this._fragment="#",i="fragment");break;case"fragment":S!=c&&"\t"!=c&&"\n"!=c&&"\r"!=c&&(this._fragment+=c)}o++}}function i(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function o(e,t){t===undefined||t instanceof o||(t=new o(String(t))),this._url=""+e,i.call(this);var n=this._url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");r.call(this,n,null,t)}var t=!1;if(!e.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",t="http://a/c%20d"===n.href}catch(s){}if(!t){var D=Object.create(null);D.ftp=21,D.file=0,D.gopher=70,D.http=80,D.https=443,D.ws=80,D.wss=443;var E=Object.create(null);E["%2e"]=".",E[".%2e"]="..",E["%2e."]="..",E["%2e%2e"]="..";var S=undefined,_=/[a-zA-Z]/,C=/[a-zA-Z0-9\+\-\.]/;o.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""==this._username&&null==this._password||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){i.call(this),r.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||r.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&r.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],r.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&((this._query="?")==e[0]&&(e=e.slice(1)),r.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(e?((this._fragment="#")==e[0]&&(e=e.slice(1)),r.call(this,e,"fragment")):this._fragment="")},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(e=this.host)?this._scheme+"://"+e:""}};var a=e.URL;a&&(o.createObjectURL=function(){return a.createObjectURL.apply(a,arguments)},o.revokeObjectURL=function(e){a.revokeObjectURL(e)}),e.URL=o}}(window),function(){var e,p=function(e,t){return function(){return e.apply(t,arguments)}};jQuery.expr.pseudos.icontains=function(e,t,n){var r,i;return 0<=(null!=(r=null!=(i=e.textContent)?i:e.innerText)?r:"").toUpperCase().indexOf(n[3].toUpperCase())},e=function(){function e(){var t,n,r,e,i,o,a,s,u,l,c,d,f,h;this.nextTab=p(this.nextTab,this),this.previousTab=p(this.previousTab,this),this.openTab=p(this.openTab,this),this.selectedTab=p(this.selectedTab,this),this.getTab=p(this.getTab,this),$("#messages").on("click","tr",(t=this,function(e){return e.preventDefault(),t.loadMessage($(e.currentTarget).attr("data-message-id"))})),$("input[name=search]").on("keyup",(n=this,function(e){var t;return(t=$.trim($(e.currentTarget).val()))?n.searchMessages(t):n.clearSearch()})),$("#message").on("click",".views .format.tab a",(r=this,function(e){return e.preventDefault(),r.loadMessageBody(r.selectedMessage(),$($(e.currentTarget).parent("li")).data("message-format"))})),$("#message iframe").on("load",(e=this,function(){return e.decorateMessageBody()})),$("#resizer").on("mousedown",(i=this,function(e){var t;return e.preventDefault(),t={mouseup:function(e){return e.preventDefault(),$(window).off(t)},mousemove:function(e){return e.preventDefault(),i.resizeTo(e.clientY)}},$(window).on(t)})),this.resizeToSaved(),$("nav.app .clear a").on("click",(o=this,function(e){if(e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to clear all messages?"))return $.ajax({url:new URL("messages",document.baseURI).toString(),type:"DELETE",success:function(){return o.clearMessages()},error:function(){return alert("Error while clearing all messages.")}})})),$("nav.app .quit a").on("click",(a=this,function(e){if(e.preventDefault(),confirm("You will lose all your received messages.\n\nAre you sure you want to quit?"))return a.quitting=!0,$.ajax({type:"DELETE",success:function(){return a.hasQuit()},error:function(){return a.quitting=!1,alert("Error while quitting.")}})})),this.favcount=new Favcount($('link[rel="icon"]').attr("href")),key("up",(s=this,function(){return s.selectedMessage()?s.loadMessage($("#messages tr.selected").prevAll(":visible").first().data("message-id")):s.loadMessage($("#messages tbody tr[data-message-id]").first().data("message-id")),!1})),key("down",(u=this,function(){return u.selectedMessage()?u.loadMessage($("#messages tr.selected").nextAll(":visible").data("message-id")):u.loadMessage($("#messages tbody tr[data-message-id]:first").data("message-id")),!1})),key("\u2318+up, ctrl+up",(l=this,function(){return l.loadMessage($("#messages tbody tr[data-message-id]:visible").first().data("message-id")),!1})),key("\u2318+down, ctrl+down",(c=this,function(){return c.loadMessage($("#messages tbody tr[data-message-id]:visible").first().data("message-id")),!1})),key("left",(d=this,function(){return d.openTab(d.previousTab()),!1})),key("right",(f=this,function(){return f.openTab(f.nextTab()),!1})),key("backspace, delete",(h=this,function(){var e;return null!=(e=h.selectedMessage())&&$.ajax({url:new URL("messages/"+e,document.baseURI).toString(),type:"DELETE",success:function(){return h.removeMessage(e)},error:function(){return alert("Error while removing message.")}}),!1})),this.refresh(),this.subscribe()}return e.prototype.parseDateRegexp=/^(\d{4})[-\/\\](\d{2})[-\/\\](\d{2})(?:\s+|T)(\d{2})[:-](\d{2})[:-](\d{2})(?:([ +-]\d{2}:\d{2}|\s*\S+|Z?))?$/,e.prototype.parseDate=function(e){var t;if(t=this.parseDateRegexp.exec(e))return new Date(t[1],t[2]-1,t[3],t[4],t[5],t[6],0)},e.prototype.offsetTimeZone=function(e){var t;return t=6e4*Date.now().getTimezoneOffset(),e.setTime(e.getTime()-t),e},e.prototype.formatDate=function(e){return"string"==typeof e&&e&&(e=this.parseDate(e)),e&&(e=this.offsetTimeZone(e)),e&&e.toString("dddd, d MMM yyyy h:mm:ss tt")},e.prototype.messagesCount=function(){return $("#messages tr").length-1},e.prototype.updateMessagesCount=function(){return this.favcount.set(this.messagesCount()),document.title="MailCatcher ("+this.messagesCount()+")"},e.prototype.tabs=function(){return $("#message ul").children(".tab")},e.prototype.getTab=function(e){return $(this.tabs()[e])},e.prototype.selectedTab=function(){return this.tabs().index($("#message li.tab.selected"))},e.prototype.openTab=function(e){return this.getTab(e).children("a").click()},e.prototype.previousTab=function(e){var t;return(t=e||0===e?e:this.selectedTab()-1)<0&&(t=this.tabs().length-1),this.getTab(t).is(":visible")?t:this.previousTab(t-1)},e.prototype.nextTab=function(e){var t;return(t=e||this.selectedTab()+1)>this.tabs().length-1&&(t=0),this.getTab(t).is(":visible")?t:this.nextTab(t+1)},e.prototype.haveMessage=function(e){return null!=e.id&&(e=e.id),0<$('#messages tbody tr[data-message-id="'+e+'"]').length},e.prototype.selectedMessage=function(){return $("#messages tr.selected").data("message-id")},e.prototype.searchMessages=function(i){var e,t,o;return t=function(){var e,t,n,r;for(r=[],e=0,t=(n=i.split(/\s+/)).length;e<t;e++)o=n[e],r.push(":icontains('"+o+"')");return r}().join(""),(e=$("#messages tbody tr")).not(t).hide(),e.filter(t).show()},e.prototype.clearSearch=function(){return $("#messages tbody tr").show()},e.prototype.addMessage=function(e){return $("<tr />").attr("data-message-id",e.id.toString()).append($("<td/>").text(e.sender||"No sender").toggleClass("blank",!e.sender)).append($("<td/>").text((e.recipients||[]).join(", ")||"No receipients").toggleClass("blank",!e.recipients.length)).append($("<td/>").text(e.subject||"No subject").toggleClass("blank",!e.subject)).append($("<td/>").text(this.formatDate(e.created_at))).prependTo($("#messages tbody")),this.updateMessagesCount()},e.prototype.removeMessage=function(e){var t,n,r;return(t=(n=$('#messages tbody tr[data-message-id="'+e+'"]')).is(".selected"))&&(r=n.next().data("message-id")||n.prev().data("message-id")),n.remove(),t&&(r?this.loadMessage(r):this.unselectMessage()),this.updateMessagesCount()},e.prototype.clearMessages=function(){return $("#messages tbody tr").remove(),this.unselectMessage(),this.updateMessagesCount()},e.prototype.scrollToRow=function(e){var t,n;return(n=e.offset().top-$("#messages").offset().top)<0?$("#messages").scrollTop($("#messages").scrollTop()+n-20):0<(t=n+e.height()-$("#messages").height())?$("#messages").scrollTop($("#messages").scrollTop()+t+20):void 0},e.prototype.unselectMessage=function(){return $("#messages tbody, #message .metadata dd").empty(),$("#message .metadata .attachments").hide(),$("#message iframe").attr("src","about:blank"),null},e.prototype.loadMessage=function(o){var e,t;if(null!=(null!=o?o.id:void 0)&&(o=o.id),o||(o=$("#messages tr.selected").attr("data-message-id")),null!=o)return $("#messages tbody tr:not([data-message-id='"+o+"'])").removeClass("selected"),(e=$("#messages tbody tr[data-message-id='"+o+"']")).addClass("selected"),this.scrollToRow(e),$.getJSON("messages/"+o+".json",(t=this,function(i){var n;return $("#message .metadata dd.created_at").text(t.formatDate(i.created_at)),$("#message .metadata dd.from").text(i.sender),$("#message .metadata dd.to").text((i.recipients||[]).join(", ")),$("#message .metadata dd.subject").text(i.subject),$("#message .views .tab.format").each(function(e,t){var n,r;return r=(n=$(t)).attr("data-message-format"),0<=$.inArray(r,i.formats)?(n.find("a").attr("href","messages/"+o+"."+r),n.show()):n.hide()}),$("#message .views .tab.selected:not(:visible)").length&&($("#message .views .tab.selected").removeClass("selected"),$("#message .views .tab:visible:first").addClass("selected")),i.attachments.length?(n=$("<ul/>").appendTo($("#message .metadata dd.attachments").empty()),$.each(i.attachments,function(e,t){return n.append($("<li>").append($("<a>").attr("href","messages/"+o+"/parts/"+t.cid).addClass(t.type.split("/",1)[0]).addClass(t.type.replace("/","-")).text(t.filename)))}),$("#message .metadata .attachments").show()):$("#message .metadata .attachments").hide(),$("#message .views .download a").attr("href","messages/"+o+".eml"),t.loadMessageBody()}))},e.prototype.loadMessageBody=function(e,t){if(e||(e=this.selectedMessage()),t||(t=$("#message .views .tab.format.selected").attr("data-message-format")),t||(t="html"),$('#message .views .tab[data-message-format="'+t+'"]:not(.selected)').addClass("selected"),$('#message .views .tab:not([data-message-format="'+t+'"]).selected').removeClass("selected"),null!=e)return $("#message iframe").attr("src","messages/"+e+"."+t)},e.prototype.decorateMessageBody=function(){var e,t,n;switch($("#message .views .tab.format.selected").attr("data-message-format")){case"html":return e=$("#message iframe").contents().find("body"),$("a",e).attr("target","_blank");case"plain":return n=(n=(n=(n=(n=(n=(t=$("#message iframe").contents()).text()).replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")).replace(/((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?)/g,'<a href="$1" target="_blank">$1</a>'),t.find("html").html('<body style="font-family: sans-serif; white-space: pre-wrap">'+n+"</body>")}},e.prototype.refresh=function(){return $.getJSON("messages",(n=this,function(e){return $.each(e,function(e,t){if(!n.haveMessage(t))return n.addMessage(t)}),n.updateMessagesCount()}));var n},e.prototype.subscribe=function(){return"undefined"!=typeof WebSocket&&null!==WebSocket?this.subscribeWebSocket():this.subscribePoll()},e.prototype.subscribeWebSocket=function(){var e,t,n;return e="https:"===window.location.protocol,(t=new URL("messages",document.baseURI)).protocol=e?"wss":"ws",this.websocket=new WebSocket(t.toString()),this.websocket.onmessage=(n=this,function(e){var t;return"add"===(t=JSON.parse(e.data)).type?n.addMessage(t.message):"remove"===t.type?n.removeMessage(t.id):"clear"===t.type?n.clearMessages():"quit"!==t.type||n.quitting?void 0:(alert("MailCatcher has been quit"),n.hasQuit())})},e.prototype.subscribePoll=function(){if(null==this.refreshInterval)return this.refreshInterval=setInterval((e=this,function(){return e.refresh()}),1e3);var e},e.prototype.resizeToSavedKey="mailcatcherSeparatorHeight",e.prototype.resizeTo=function(e){var t;return $("#messages").css({height:e-$("#messages").offset().top}),null!=(t=window.localStorage)?t.setItem(this.resizeToSavedKey,e):void 0},e.prototype.resizeToSaved=function(){var e,t;if(e=parseInt(null!=(t=window.localStorage)?t.getItem(this.resizeToSavedKey):void 0),!isNaN(e))return this.resizeTo(e)},e.prototype.hasQuit=function(){return location.assign($("body > header h1 a").attr("href"))},e}(),$(function(){return window.MailCatcher=new e})}.call(this);
|
data/public/favicon.ico
CHANGED
Binary file
|
data/views/index.erb
CHANGED
@@ -8,8 +8,15 @@
|
|
8
8
|
<link rel="stylesheet" href="<%= asset_path("mailcatcher.css") %>">
|
9
9
|
</head>
|
10
10
|
<body>
|
11
|
+
<noscript>
|
12
|
+
<div id="noscript-overlay">
|
13
|
+
<div id="noscript">
|
14
|
+
MailCatcher requires JavaScript to be enabled.
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</noscript>
|
11
18
|
<header>
|
12
|
-
<h1><a href="
|
19
|
+
<h1><a href="https://mailcatcher.me" target="_blank">MailCatcher</a></h1>
|
13
20
|
<nav class="app">
|
14
21
|
<ul>
|
15
22
|
<li class="search"><input type="search" name="search" placeholder="Search messages..." incremental="true" /></li>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailcatcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0.
|
4
|
+
version: 0.8.0.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Cochran
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MIIDKDCCAhCgAwIBAgIBCDANBgkqhkiG9w0BAQsFADA6MQ0wCwYDVQQDDARzajI2
|
14
|
+
MRQwEgYKCZImiZPyLGQBGRYEc2oyNjETMBEGCgmSJomT8ixkARkWA2NvbTAeFw0y
|
15
|
+
MTA0MjcwMzIxMjZaFw0yMjA0MjcwMzIxMjZaMDoxDTALBgNVBAMMBHNqMjYxFDAS
|
16
16
|
BgoJkiaJk/IsZAEZFgRzajI2MRMwEQYKCZImiZPyLGQBGRYDY29tMIIBIjANBgkq
|
17
17
|
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsr60Eo/ttCk8GMTMFiPr3GoYMIMFvLak
|
18
18
|
xSmTk9YGCB6UiEePB4THSSA5w6IPyeaCF/nWkDp3/BAam0eZMWG1IzYQB23TqIM0
|
@@ -21,14 +21,14 @@ cert_chain:
|
|
21
21
|
4O/FL2ChjL2CPCpLZW55ShYyrzphWJwLOJe+FJ/ZBl6YXwrzQM9HKnt4titSNvyU
|
22
22
|
KzE3L63A3PZvExzLrN9u09kuWLLJfXB2sGOlw3n9t72rJiuBr3/OQQIDAQABozkw
|
23
23
|
NzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU99dfRjEKFyczTeIz
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
m3ZsDWrNC80wDQYJKoZIhvcNAQELBQADggEBAInkmTwBeGEJ7Xu9jjZIuFaE197m
|
25
|
+
YfvrzVoE6Q1DlWXpgyhhxbPIKg2acvM/Z18A7kQrF7paYl64Ti84dC64seOFIBNx
|
26
|
+
Qj/lxzPHMBoAYqeXYJhnYIXnvGCZ4Fkic5Bhs+VdcDP/uwYp3adqy+4bT/XDFZQg
|
27
|
+
tSjrAOTg3wck5aI+Tz90ONQJ83bnCRr1UPQ0T3PbWMjnNsEa9CAxUB845Sg+9yUz
|
28
|
+
Tvf+pbX8JT9rawFDogxPhL7eRAbjg4MH9amp5l8HTVCAsW8vqv7wM4rtMNAaXmik
|
29
|
+
LJghfDEf70fTtbs4Zv57pPhn1b7wBNf8fh+TZOlYAA6dFtQXoCwfE6bWgQU=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2021-
|
31
|
+
date: 2021-07-17 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: eventmachine
|
@@ -128,6 +128,34 @@ dependencies:
|
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: 0.2.3
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: capybara
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: capybara-screenshot
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
131
159
|
- !ruby/object:Gem::Dependency
|
132
160
|
name: coffee-script
|
133
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,19 +185,19 @@ dependencies:
|
|
157
185
|
- !ruby/object:Gem::Version
|
158
186
|
version: 1.0.3
|
159
187
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
188
|
+
name: rspec
|
161
189
|
requirement: !ruby/object:Gem::Requirement
|
162
190
|
requirements:
|
163
|
-
- - "
|
191
|
+
- - ">="
|
164
192
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
193
|
+
version: '0'
|
166
194
|
type: :development
|
167
195
|
prerelease: false
|
168
196
|
version_requirements: !ruby/object:Gem::Requirement
|
169
197
|
requirements:
|
170
|
-
- - "
|
198
|
+
- - ">="
|
171
199
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
200
|
+
version: '0'
|
173
201
|
- !ruby/object:Gem::Dependency
|
174
202
|
name: rake
|
175
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -216,16 +244,16 @@ dependencies:
|
|
216
244
|
name: selenium-webdriver
|
217
245
|
requirement: !ruby/object:Gem::Requirement
|
218
246
|
requirements:
|
219
|
-
- - "
|
247
|
+
- - ">="
|
220
248
|
- !ruby/object:Gem::Version
|
221
|
-
version: '
|
249
|
+
version: '0'
|
222
250
|
type: :development
|
223
251
|
prerelease: false
|
224
252
|
version_requirements: !ruby/object:Gem::Requirement
|
225
253
|
requirements:
|
226
|
-
- - "
|
254
|
+
- - ">="
|
227
255
|
- !ruby/object:Gem::Version
|
228
|
-
version: '
|
256
|
+
version: '0'
|
229
257
|
- !ruby/object:Gem::Dependency
|
230
258
|
name: sprockets
|
231
259
|
requirement: !ruby/object:Gem::Requirement
|
@@ -310,13 +338,14 @@ files:
|
|
310
338
|
- lib/mail_catcher/web/application.rb
|
311
339
|
- lib/mailcatcher.rb
|
312
340
|
- public/assets/logo.png
|
341
|
+
- public/assets/logo_2x.png
|
313
342
|
- public/assets/logo_large.png
|
314
343
|
- public/assets/mailcatcher.css
|
315
344
|
- public/assets/mailcatcher.js
|
316
345
|
- public/favicon.ico
|
317
346
|
- views/404.erb
|
318
347
|
- views/index.erb
|
319
|
-
homepage:
|
348
|
+
homepage: https://mailcatcher.me
|
320
349
|
licenses:
|
321
350
|
- MIT
|
322
351
|
metadata: {}
|
metadata.gz.sig
CHANGED
Binary file
|