passenger 6.0.6 → 6.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +28 -1
- data/CONTRIBUTING.md +1 -1
- data/CONTRIBUTORS +2 -0
- data/bin/passenger-memory-stats +65 -12
- data/passenger.gemspec +1 -1
- data/resources/templates/error_renderer/with_details/dist/bundle.js +1 -1
- data/resources/templates/error_renderer/with_details/src/GetHelpView.jsx +1 -1
- data/resources/templates/standalone/rails_asset_pipeline.erb +1 -1
- data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +1 -0
- data/src/agent/Core/ApplicationPool/Implementation.cpp +0 -1
- data/src/agent/Core/ApplicationPool/Options.h +9 -0
- data/src/agent/Core/Config.h +2 -1
- data/src/agent/Core/Controller/Config.h +5 -1
- data/src/agent/Core/Controller/InitRequest.cpp +2 -0
- data/src/agent/Core/SpawningKit/Config.h +11 -0
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +13 -0
- data/src/agent/Core/SpawningKit/Spawner.h +1 -0
- data/src/agent/Watchdog/Config.h +2 -1
- data/src/apache2_module/Config.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +10 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +10 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +25 -0
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +10 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +6 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +26 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +14 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +34 -0
- data/src/cxx_supportlib/Constants.h +3 -2
- data/src/cxx_supportlib/Hooks.h +1 -0
- data/src/cxx_supportlib/vendor-modified/modp_b64_data.h +0 -4
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +5 -1
- data/src/helper-scripts/node-loader.js +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +7 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -0
- data/src/nginx_module/Configuration.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +6 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +15 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +14 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
- data/src/nginx_module/ngx_http_passenger_module.c +2 -2
- data/src/ruby_supportlib/phusion_passenger.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +6 -0
- data/src/ruby_supportlib/phusion_passenger/constants.rb +2 -1
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +5 -1
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +7 -6
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +7 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5bed57f29715aa183e879b4f8ff0606e510f5d4
|
4
|
+
data.tar.gz: b970598c5d2970d0d95be66917b9c00992477339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a84cbe0a43944e25b8c3b18342402e445f4654f787d98cfa701e03f8c027990ef68dbaab2fda87d68eefe0b3777ef1f2c1171efa5966a41417ddaaf91b3dad3b
|
7
|
+
data.tar.gz: 34905738ff424b9c60a5993f2dd4d60374b1835b6cd34c44eeb70c14d1b2e8d0c74f77a24ce47515e419825b31ffc6178a3a133c7724d3ee4fb08acfd2d8ba50
|
data/CHANGELOG
CHANGED
@@ -1,5 +1,31 @@
|
|
1
|
+
Release 6.0.7
|
2
|
+
-------------
|
3
|
+
* Addresses regression introduced in 6.0.5 when attempting to establish database connection after fork and activerecord is not configured in the expected way. Closes GH-2281.
|
4
|
+
* Addresses regression introduced in 5.1.5 where hook scripts would fail to run. As a result the PASSENGER_ERROR_PAGE and PASSENGER_CONFIG_MANIFEST env vars have been removed from the passenger hook script environment.
|
5
|
+
* Match static rails assets on 8-digit content hash. Contributed by @mattozinga.
|
6
|
+
* Allow skipping the Apache/Nginx sections of the `passenger-memory-stats` output, through the `--no-apache` and `--no-nginx` commandline options. Closes GH-2306. Contributed by Saverio Miroddi (@saveriomiroddi).
|
7
|
+
* Fixes an issue where `passenger-memory-stats` would throw an error if a process went away while it was running. Closes GH-2305.
|
8
|
+
* Fixes a formatting issue with apr-1 include flags on macOS.
|
9
|
+
* Fixes a warning about BOOST_*_ENDIAN macros being deprecated by migrating to new suggested macros.
|
10
|
+
* Fixes an occasional issue with the node loader where the startup handshake would fail to record progress.
|
11
|
+
* Adds an option for specifying the address to bind ruby apps to, for sending requests directly to specific app instances:
|
12
|
+
- Standalone: direct_instance_request_address
|
13
|
+
- Nginx: passenger_direct_instance_request_address
|
14
|
+
- Apache: PassengerDirectInstanceRequestAddress
|
15
|
+
* Updated various library versions used in precompiled binaries (used for e.g. gem installs):
|
16
|
+
|
17
|
+
- ccache: 4.0 (was: 3.7.10)
|
18
|
+
- curl: 7.73.0 (was: 7.71.1)
|
19
|
+
- git: 2.29.1 (was: 2.27.0)
|
20
|
+
- gnupg: 2.2.23 (was: 2.2.21)
|
21
|
+
- libgpg_error: 1.39 (was: 1.38)
|
22
|
+
- ruby: 2.7.2 (was: 2.7.1)
|
23
|
+
- libassuan 2.5.4 (was: 2.5.3)
|
24
|
+
- libgcrypt 1.8.7 (was 1.8.6)
|
25
|
+
- OpenSSL 1.1.1h (was 1.0.2u)
|
26
|
+
|
1
27
|
Release 6.0.6
|
2
|
-
|
28
|
+
-------------
|
3
29
|
* Update gemspec with up to date metadata.
|
4
30
|
* Reverts the addition of the 'etc' gem to the Passenger gemspec, because it broke on normal ruby installs. Closes GH-2283.
|
5
31
|
* Builds Ubuntu focal Nginx dynamic module package against Nginx 1.18.0. Closes GH-2291.
|
@@ -14,6 +40,7 @@ Release 6.0.6
|
|
14
40
|
- libgcrypt 1.8.6 (was 1.8.5)
|
15
41
|
- RubyGems 3.1.4 (was 3.0.8)
|
16
42
|
|
43
|
+
|
17
44
|
Release 6.0.5
|
18
45
|
-------------
|
19
46
|
|
data/CONTRIBUTING.md
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
* [Further reading](#further_reading)
|
20
20
|
* [Pull requests](#pull_requests)
|
21
21
|
|
22
|
-
Thank you for your interest in Phusion Passenger. Phusion Passenger is open source so your contributions are very welcome. Although we also provide a [commercial version](https://www.phusionpassenger.com/
|
22
|
+
Thank you for your interest in Phusion Passenger. Phusion Passenger is open source so your contributions are very welcome. Although we also provide a [commercial version](https://www.phusionpassenger.com/features#premium-features) and [commercial support](https://www.phusionpassenger.com/commercial_support), the core remains open source and we remain committed to keep it that way. This guide gives you an overview of the ways with which you can contribute, as well as contribution guidelines.
|
23
23
|
|
24
24
|
You can contribute in one of the following areas:
|
25
25
|
|
data/CONTRIBUTORS
CHANGED
@@ -65,6 +65,7 @@ Luuk Hendriks (Phusion)
|
|
65
65
|
MAEDA Go
|
66
66
|
Magnus Holm
|
67
67
|
Mark R. James
|
68
|
+
Matt Ozinga
|
68
69
|
Michal Papis
|
69
70
|
Michał Pokrywka
|
70
71
|
Mike
|
@@ -72,6 +73,7 @@ Mike Boone
|
|
72
73
|
Morton Jonuschat
|
73
74
|
Nathaniel Bibler
|
74
75
|
Neil Wilson
|
76
|
+
Nicolas Maloeuvre
|
75
77
|
Ninh Bui (Phusion)
|
76
78
|
Oleksiy Shchukin
|
77
79
|
Olle Jonsson
|
data/bin/passenger-memory-stats
CHANGED
@@ -38,6 +38,7 @@ PhusionPassenger.require_passenger_lib 'platform_info'
|
|
38
38
|
PhusionPassenger.require_passenger_lib 'platform_info/ruby'
|
39
39
|
PhusionPassenger.require_passenger_lib 'admin_tools/memory_stats'
|
40
40
|
PhusionPassenger.require_passenger_lib 'utils/ansi_colors'
|
41
|
+
require 'optparse'
|
41
42
|
|
42
43
|
include PhusionPassenger
|
43
44
|
|
@@ -107,27 +108,78 @@ class Table
|
|
107
108
|
end
|
108
109
|
end
|
109
110
|
|
111
|
+
# Parses the specific commandline options.
|
112
|
+
#
|
113
|
+
# Modeled after `passenger-status` logic, with minor tweaks.
|
114
|
+
#
|
115
|
+
class CommandLineOptionsParser
|
116
|
+
def parse
|
117
|
+
options = {}
|
118
|
+
parser = create_option_parser(options)
|
119
|
+
|
120
|
+
begin
|
121
|
+
parser.parse!
|
122
|
+
options
|
123
|
+
rescue OptionParser::ParseError => e
|
124
|
+
STDERR.puts e
|
125
|
+
STDERR.puts
|
126
|
+
STDERR.puts "Please see '--help' for valid options."
|
127
|
+
|
128
|
+
exit 1
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
private
|
133
|
+
|
134
|
+
def create_option_parser(options)
|
135
|
+
OptionParser.new do |opts|
|
136
|
+
opts.banner = "Usage: #{File.basename(__FILE__)} [-h|--help] [--no-apache] [--no-nginx]"
|
137
|
+
|
138
|
+
opts.separator ""
|
139
|
+
opts.separator "Tool for inspecting the application server and Phusion Passenger's memory statistics."
|
140
|
+
opts.separator ""
|
141
|
+
|
142
|
+
opts.separator "Options:"
|
143
|
+
|
144
|
+
opts.on("--no-apache", "Do not display the Apache statistics.") do
|
145
|
+
options[:no_apache] = true
|
146
|
+
end
|
147
|
+
opts.on("--no-nginx", "Do not display the Nginx statistics.") do
|
148
|
+
options[:no_nginx] = true
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
110
154
|
class App
|
111
155
|
def initialize
|
112
156
|
@stats = AdminTools::MemoryStats.new
|
113
157
|
@colors = Utils::AnsiColors.new
|
114
158
|
end
|
115
159
|
|
116
|
-
def start
|
160
|
+
def start(options = {})
|
161
|
+
print_apache_stats = !options.fetch(:no_apache, false)
|
162
|
+
print_nginx_stats = !options.fetch(:no_nginx, false)
|
163
|
+
|
117
164
|
puts "Version: #{PhusionPassenger::VERSION_STRING}"
|
118
165
|
puts "Date : #{Time.now}"
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
"
|
126
|
-
"to your '
|
166
|
+
|
167
|
+
if print_apache_stats
|
168
|
+
if @stats.apache_processes
|
169
|
+
print_process_list("Apache processes", @stats.apache_processes)
|
170
|
+
else
|
171
|
+
puts "#{@colors.blue_bg}#{@colors.bold}#{@colors.yellow}------------- Apache processes -------------#{@colors.reset}\n"
|
172
|
+
STDERR.puts "*** WARNING: The Apache executable cannot be found."
|
173
|
+
STDERR.puts "Please set the APXS2 environment variable to your 'apxs2' " <<
|
174
|
+
"executable's filename, or set the HTTPD environment variable " <<
|
175
|
+
"to your 'httpd' or 'apache2' executable's filename."
|
176
|
+
end
|
127
177
|
end
|
128
178
|
|
129
|
-
|
130
|
-
|
179
|
+
if print_nginx_stats
|
180
|
+
puts
|
181
|
+
print_process_list("Nginx processes", @stats.nginx_processes)
|
182
|
+
end
|
131
183
|
|
132
184
|
puts
|
133
185
|
print_process_list("Passenger processes", @stats.passenger_processes, :show_ppid => false)
|
@@ -175,4 +227,5 @@ private
|
|
175
227
|
end
|
176
228
|
end
|
177
229
|
|
178
|
-
|
230
|
+
options = CommandLineOptionsParser.new.parse
|
231
|
+
App.new.start(options)
|
data/passenger.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.require_paths = ["src/ruby_supportlib"]
|
16
16
|
s.metadata = {
|
17
17
|
"bug_tracker_uri" => "https://github.com/phusion/passenger/issues",
|
18
|
-
"changelog_uri" => "https://github.com/phusion/passenger/blob/stable-#{PhusionPassenger::VERSION_STRING}/CHANGELOG",
|
18
|
+
"changelog_uri" => "https://github.com/phusion/passenger/blob/stable-#{PhusionPassenger::VERSION_STRING.split('.').slice(0,2).join('.')}/CHANGELOG",
|
19
19
|
"documentation_uri" => "https://www.phusionpassenger.com/docs/",
|
20
20
|
"homepage_uri" => "https://www.phusionpassenger.com/",
|
21
21
|
"source_code_uri" => "https://github.com/phusion/passenger",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
*
|
22
22
|
* Date: 2016-08-08
|
23
23
|
*/
|
24
|
-
function(e){function t(e,t,n,r){var o,i,s,a,l,c,f,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:H)!==O&&P(t),t=t||O,R)){if(11!==h&&(l=ye.exec(e)))if(o=l[1]){if(9===h){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(d&&(s=d.getElementById(o))&&I(t,s)&&s.id===o)return n.push(s),n}else{if(l[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&C.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(o)),n}if(C.qsa&&!$[e+" "]&&(!j||!j.test(e))){if(1!==h)d=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(be,Ce):t.setAttribute("id",a=M),c=S(e),i=c.length;i--;)c[i]="#"+a+" "+p(c[i]);f=c.join(","),d=me.test(e)&&u(t.parentNode)||t}if(f)try{return Z.apply(n,d.querySelectorAll(f)),n}catch(e){}finally{a===M&&t.removeAttribute("id")}}}return N(e.replace(ie,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>_.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[M]=!0,e}function o(e){var t=O.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)_.attrHandle[n[r]]=t}function s(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 a(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&we(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function p(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function f(e,t,n){var r=t.dir,o=t.next,i=o||r,s=n&&"parentNode"===i,a=B++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,l){var u,c,p,f=[q,a];if(l){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(p=t[M]||(t[M]={}),c=p[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[i])&&u[0]===q&&u[1]===a)return f[2]=u[2];if(c[i]=f,f[2]=e(t,n,l))return!0}return!1}}function d(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function y(e,t,n,r,o){for(var i,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(i=e[a])&&(n&&!n(i,r,o)||(s.push(i),u&&t.push(a)));return s}function m(e,t,n,o,i,s){return o&&!o[M]&&(o=m(o)),i&&!i[M]&&(i=m(i,s)),r(function(r,s,a,l){var u,c,p,f=[],d=[],m=s.length,v=r||h(t||"*",a.nodeType?[a]:a,[]),g=!e||!r&&t?v:y(v,f,e,a,l),b=n?i||(r?e:m||o)?[]:s:g;if(n&&n(g,b,a,l),o)for(u=y(b,d),o(u,[],a,l),c=u.length;c--;)(p=u[c])&&(b[d[c]]=!(g[d[c]]=p));if(r){if(i||e){if(i){for(u=[],c=b.length;c--;)(p=b[c])&&u.push(g[c]=p);i(null,b=[],u,l)}for(c=b.length;c--;)(p=b[c])&&(u=i?Y(r,p):f[c])>-1&&(r[u]=!(s[u]=p))}}else b=y(b===s?b.splice(m,b.length):b),i?i(null,s,b,l):Z.apply(s,b)})}function v(e){for(var t,n,r,o=e.length,i=_.relative[e[0].type],s=i||_.relative[" "],a=i?1:0,l=f(function(e){return e===t},s,!0),u=f(function(e){return Y(t,e)>-1},s,!0),c=[function(e,n,r){var o=!i&&(r||n!==T)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,o}];a<o;a++)if(n=_.relative[e[a].type])c=[f(d(c),n)];else{if(n=_.filter[e[a].type].apply(null,e[a].matches),n[M]){for(r=++a;r<o&&!_.relative[e[r].type];r++);return m(a>1&&d(c),a>1&&p(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ie,"$1"),n,a<r&&v(e.slice(a,r)),r<o&&v(e=e.slice(r)),r<o&&p(e))}c.push(n)}return d(c)}function g(e,n){var o=n.length>0,i=e.length>0,s=function(r,s,a,l,u){var c,p,f,d=0,h="0",m=r&&[],v=[],g=T,b=r||i&&_.find.TAG("*",u),C=q+=null==g?1:Math.random()||.1,w=b.length;for(u&&(T=s===O||s||u);h!==w&&null!=(c=b[h]);h++){if(i&&c){for(p=0,s||c.ownerDocument===O||(P(c),a=!R);f=e[p++];)if(f(c,s||O,a)){l.push(c);break}u&&(q=C)}o&&((c=!f&&c)&&d--,r&&m.push(c))}if(d+=h,o&&h!==d){for(p=0;f=n[p++];)f(m,v,s,a);if(r){if(d>0)for(;h--;)m[h]||v[h]||(v[h]=X.call(l));v=y(v)}Z.apply(l,v),u&&!r&&v.length>0&&d+n.length>1&&t.uniqueSort(l)}return u&&(q=C,T=g),m};return o?r(s):s}var b,C,_,w,x,S,E,N,T,L,k,P,O,A,R,j,D,F,I,M="sizzle"+1*new Date,H=e.document,q=0,B=0,W=n(),U=n(),$=n(),K=function(e,t){return e===t&&(k=!0),0},G={}.hasOwnProperty,V=[],X=V.pop,z=V.push,Z=V.push,J=V.slice,Y=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",oe=new RegExp(ee+"+","g"),ie=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),se=new RegExp("^"+ee+"*,"+ee+"*"),ae=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(re),ce=new RegExp("^"+te+"$"),pe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,de=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ge=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)},be=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ce=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},_e=function(){P()},we=f(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Z.apply(V=J.call(H.childNodes),H.childNodes),V[H.childNodes.length].nodeType}catch(e){Z={apply:V.length?function(e,t){z.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}C=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},P=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:H;return r!==O&&9===r.nodeType&&r.documentElement?(O=r,A=O.documentElement,R=!x(O),H!==O&&(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",_e,!1):n.attachEvent&&n.attachEvent("onunload",_e)),C.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=o(function(e){return e.appendChild(O.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=he.test(O.getElementsByClassName),C.getById=o(function(e){return A.appendChild(e).id=M,!O.getElementsByName||!O.getElementsByName(M).length}),C.getById?(_.filter.ID=function(e){var t=e.replace(ve,ge);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&R){var n=t.getElementById(e);return n?[n]:[]}}):(_.filter.ID=function(e){var t=e.replace(ve,ge);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&R){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),_.find.TAG=C.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):C.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},_.find.CLASS=C.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&R)return t.getElementsByClassName(e)},D=[],j=[],(C.qsa=he.test(O.querySelectorAll))&&(o(function(e){A.appendChild(e).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||j.push("\\["+ee+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+M+"-]").length||j.push("~="),e.querySelectorAll(":checked").length||j.push(":checked"),e.querySelectorAll("a#"+M+"+*").length||j.push(".#.+[+~]")}),o(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=O.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&j.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&j.push(":enabled",":disabled"),A.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&j.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),j.push(",.*:")})),(C.matchesSelector=he.test(F=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&o(function(e){C.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),D.push("!=",re)}),j=j.length&&new RegExp(j.join("|")),D=D.length&&new RegExp(D.join("|")),t=he.test(A.compareDocumentPosition),I=t||he.test(A.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},K=t?function(e,t){if(e===t)return k=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!C.sortDetached&&t.compareDocumentPosition(e)===n?e===O||e.ownerDocument===H&&I(H,e)?-1:t===O||t.ownerDocument===H&&I(H,t)?1:L?Y(L,e)-Y(L,t):0:4&n?-1:1)}:function(e,t){if(e===t)return k=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!o||!i)return e===O?-1:t===O?1:o?-1:i?1:L?Y(L,e)-Y(L,t):0;if(o===i)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[r]===l[r];)r++;return r?s(a[r],l[r]):a[r]===H?-1:l[r]===H?1:0},O):O},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==O&&P(e),n=n.replace(le,"='$1']"),C.matchesSelector&&R&&!$[n+" "]&&(!D||!D.test(n))&&(!j||!j.test(n)))try{var r=F.call(e,n);if(r||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,O,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==O&&P(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&P(e);var n=_.attrHandle[t.toLowerCase()],r=n&&G.call(_.attrHandle,t.toLowerCase())?n(e,t,!R):void 0;return void 0!==r?r:C.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(be,Ce)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(k=!C.detectDuplicates,L=!C.sortStable&&e.slice(0),e.sort(K),k){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return L=null,e},w=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},_=t.selectors={cacheLength:50,createPseudo:r,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(ve,ge),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,ge),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=S(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(ve,ge).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,y=i!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),g=!l&&!a,b=!1;if(m){if(i){for(;y;){for(f=t;f=f[y];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=y="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&g){for(f=m,p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],d=u[0]===q&&u[1],b=d&&u[2],f=d&&m.childNodes[d];f=++d&&f&&f[y]||(b=d=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[q,d,b];break}}else if(g&&(f=t,p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],d=u[0]===q&&u[1],b=d),!1===b)for(;(f=++d&&f&&f[y]||(b=d=0)||h.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(g&&(p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),c[e]=[q,b]),f!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=_.pseudos[e]||_.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[M]?i(n):i.length>1?(o=[e,e,"",n],_.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),s=o.length;s--;)r=Y(e,o[s]),e[r]=!(t[r]=o[s])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=E(e.replace(ie,"$1"));return o[M]?r(function(e,t,n,r){for(var i,s=o(e,null,r,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ve,ge),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,ge).toLowerCase(),function(t){var n;do{if(n=R?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===A},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.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!_.pseudos.empty(e)},header:function(e){return de.test(e.nodeName)},input:function(e){return fe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},_.pseudos.nth=_.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[b]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(b);for(b in{submit:!0,reset:!0})_.pseudos[b]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(b);return c.prototype=_.filters=_.pseudos,_.setFilters=new c,S=t.tokenize=function(e,n){var r,o,i,s,a,l,u,c=U[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],u=_.preFilter;a;){r&&!(o=se.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(i=[])),r=!1,(o=ae.exec(a))&&(r=o.shift(),i.push({value:r,type:o[0].replace(ie," ")}),a=a.slice(r.length));for(s in _.filter)!(o=pe[s].exec(a))||u[s]&&!(o=u[s](o))||(r=o.shift(),i.push({value:r,type:s,matches:o}),a=a.slice(r.length));if(!r)break}return n?a.length:a?t.error(e):U(e,l).slice(0)},E=t.compile=function(e,t){var n,r=[],o=[],i=$[e+" "];if(!i){for(t||(t=S(e)),n=t.length;n--;)i=v(t[n]),i[M]?r.push(i):o.push(i);i=$(e,g(o,r)),i.selector=e}return i},N=t.select=function(e,t,n,r){var o,i,s,a,l,c="function"==typeof e&&e,f=!r&&S(e=c.selector||e);if(n=n||[],1===f.length){if(i=f[0]=f[0].slice(0),i.length>2&&"ID"===(s=i[0]).type&&9===t.nodeType&&R&&_.relative[i[1].type]){if(!(t=(_.find.ID(s.matches[0].replace(ve,ge),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(s=i[o],!_.relative[a=s.type]);)if((l=_.find[a])&&(r=l(s.matches[0].replace(ve,ge),me.test(i[0].type)&&u(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&p(i)))return Z.apply(n,r),n;break}}return(c||E(e,f))(r,t,!R,n,!t||me.test(e)&&u(t.parentNode)||t),n},C.sortStable=M.split("").sort(K).join("")===M,C.detectDuplicates=!!k,P(),C.sortDetached=o(function(e){return 1&e.compareDocumentPosition(O.createElement("fieldset"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(Q,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(i);be.find=Se,be.expr=Se.selectors,be.expr[":"]=be.expr.pseudos,be.uniqueSort=be.unique=Se.uniqueSort,be.text=Se.getText,be.isXMLDoc=Se.isXML,be.contains=Se.contains,be.escapeSelector=Se.escape;var Ee=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&be(e).is(n))break;r.push(e)}return r},Ne=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Te=be.expr.match.needsContext,Le=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,ke=/^.[^:#\[\.,]*$/;be.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?be.find.matchesSelector(r,e)?[r]:[]:be.find.matches(e,be.grep(t,function(e){return 1===e.nodeType}))},be.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(be(e).filter(function(){for(t=0;t<r;t++)if(be.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)be.find(e,o[t],n);return r>1?be.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&Te.test(e)?be(e):e||[],!1).length}});var Pe,Oe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(be.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Pe,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Oe.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 be?t[0]:t,be.merge(this,be.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ae,!0)),Le.test(r[1])&&be.isPlainObject(t))for(r in t)be.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=ae.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):be.isFunction(e)?void 0!==n.ready?n.ready(e):e(be):be.makeArray(e,this)}).prototype=be.fn,Pe=be(ae);var Ae=/^(?:parents|prev(?:Until|All))/,Re={children:!0,contents:!0,next:!0,prev:!0};be.fn.extend({has:function(e){var t=be(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(be.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],s="string"!=typeof e&&be(e);if(!Te.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&be.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?be.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?fe.call(be(e),this[0]):fe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(be.uniqueSort(be.merge(this.get(),be(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),be.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ee(e,"parentNode")},parentsUntil:function(e,t,n){return Ee(e,"parentNode",n)},next:function(e){return p(e,"nextSibling")},prev:function(e){return p(e,"previousSibling")},nextAll:function(e){return Ee(e,"nextSibling")},prevAll:function(e){return Ee(e,"previousSibling")},nextUntil:function(e,t,n){return Ee(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ee(e,"previousSibling",n)},siblings:function(e){return Ne((e.parentNode||{}).firstChild,e)},children:function(e){return Ne(e.firstChild)},contents:function(e){return u(e,"iframe")?e.contentDocument:(u(e,"template")&&(e=e.content||e),be.merge([],e.childNodes))}},function(e,t){be.fn[e]=function(n,r){var o=be.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=be.filter(r,o)),this.length>1&&(Re[e]||be.uniqueSort(o),Ae.test(e)&&o.reverse()),this.pushStack(o)}});var je=/[^\x20\t\r\n\f]+/g;be.Callbacks=function(e){e="string"==typeof e?f(e):be.extend({},e);var t,n,r,o,i=[],s=[],a=-1,l=function(){for(o=o||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a<i.length;)!1===i[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(a=i.length-1,s.push(n)),function t(n){be.each(n,function(n,r){be.isFunction(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==be.type(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return be.each(arguments,function(e,t){for(var n;(n=be.inArray(t,i,n))>-1;)i.splice(n,1),n<=a&&a--}),this},has:function(e){return e?be.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=s=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},be.extend({Deferred:function(e){var t=[["notify","progress",be.Callbacks("memory"),be.Callbacks("memory"),2],["resolve","done",be.Callbacks("once memory"),be.Callbacks("once memory"),0,"resolved"],["reject","fail",be.Callbacks("once memory"),be.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return be.Deferred(function(n){be.each(t,function(t,r){var o=be.isFunction(e[r[4]])&&e[r[4]];s[r[1]](function(){var e=o&&o.apply(this,arguments);e&&be.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){function s(e,t,n,r){return function(){var l=this,u=arguments,c=function(){var i,c;if(!(e<a)){if((i=n.apply(l,u))===t.promise())throw new TypeError("Thenable self-resolution");c=i&&("object"===(void 0===i?"undefined":o(i))||"function"==typeof i)&&i.then,be.isFunction(c)?r?c.call(i,s(a,t,d,r),s(a,t,h,r)):(a++,c.call(i,s(a,t,d,r),s(a,t,h,r),s(a,t,d,t.notifyWith))):(n!==d&&(l=void 0,u=[i]),(r||t.resolveWith)(l,u))}},p=r?c:function(){try{c()}catch(r){be.Deferred.exceptionHook&&be.Deferred.exceptionHook(r,p.stackTrace),e+1>=a&&(n!==h&&(l=void 0,u=[r]),t.rejectWith(l,u))}};e?p():(be.Deferred.getStackHook&&(p.stackTrace=be.Deferred.getStackHook()),i.setTimeout(p))}}var a=0;return be.Deferred(function(o){t[0][3].add(s(0,o,be.isFunction(r)?r:d,o.notifyWith)),t[1][3].add(s(0,o,be.isFunction(e)?e:d)),t[2][3].add(s(0,o,be.isFunction(n)?n:h))}).promise()},promise:function(e){return null!=e?be.extend(e,r):r}},s={};return be.each(t,function(e,o){var i=o[2],a=o[5];r[o[1]]=i.add,a&&i.add(function(){n=a},t[3-e][2].disable,t[0][2].lock),i.add(o[3].fire),s[o[0]]=function(){return s[o[0]+"With"](this===s?void 0:this,arguments),this},s[o[0]+"With"]=i.fireWith}),r.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,n=t,r=Array(n),o=ue.call(arguments),i=be.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?ue.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(y(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||be.isFunction(o[n]&&o[n].then)))return i.then();for(;n--;)y(o[n],s(n),i.reject);return i.promise()}});var De=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;be.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&De.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},be.readyException=function(e){i.setTimeout(function(){throw e})};var Fe=be.Deferred();be.fn.ready=function(e){return Fe.then(e).catch(function(e){be.readyException(e)}),this},be.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--be.readyWait:be.isReady)||(be.isReady=!0,!0!==e&&--be.readyWait>0||Fe.resolveWith(ae,[be]))}}),be.ready.then=Fe.then,"complete"===ae.readyState||"loading"!==ae.readyState&&!ae.documentElement.doScroll?i.setTimeout(be.ready):(ae.addEventListener("DOMContentLoaded",m),i.addEventListener("load",m));var Ie=function e(t,n,r,o,i,s,a){var l=0,u=t.length,c=null==r;if("object"===be.type(r)){i=!0;for(l in r)e(t,n,l,r[l],!0,s,a)}else if(void 0!==o&&(i=!0,be.isFunction(o)||(a=!0),c&&(a?(n.call(t,o),n=null):(c=n,n=function(e,t,n){return c.call(be(e),n)})),n))for(;l<u;l++)n(t[l],r,a?o:o.call(t[l],l,n(t[l],r)));return i?t:c?n.call(t):u?n(t[0],r):s},Me=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};v.uid=1,v.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Me(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[be.camelCase(t)]=n;else for(r in t)o[be.camelCase(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][be.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(be.camelCase):(t=be.camelCase(t),t=t in r?[t]:t.match(je)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||be.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!be.isEmptyObject(t)}};var He=new v,qe=new v,Be=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,We=/[A-Z]/g;be.extend({hasData:function(e){return qe.hasData(e)||He.hasData(e)},data:function(e,t,n){return qe.access(e,t,n)},removeData:function(e,t){qe.remove(e,t)},_data:function(e,t,n){return He.access(e,t,n)},_removeData:function(e,t){He.remove(e,t)}}),be.fn.extend({data:function(e,t){var n,r,i,s=this[0],a=s&&s.attributes;if(void 0===e){if(this.length&&(i=qe.get(s),1===s.nodeType&&!He.get(s,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=be.camelCase(r.slice(5)),b(s,r,i[r])));He.set(s,"hasDataAttrs",!0)}return i}return"object"===(void 0===e?"undefined":o(e))?this.each(function(){qe.set(this,e)}):Ie(this,function(t){var n;if(s&&void 0===t){if(void 0!==(n=qe.get(s,e)))return n;if(void 0!==(n=b(s,e)))return n}else this.each(function(){qe.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){qe.remove(this,e)})}}),be.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=He.get(e,t),n&&(!r||Array.isArray(n)?r=He.access(e,t,be.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=be.queue(e,t),r=n.length,o=n.shift(),i=be._queueHooks(e,t),s=function(){be.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,s,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return He.get(e,n)||He.access(e,n,{empty:be.Callbacks("once memory").add(function(){He.remove(e,[t+"queue",n])})})}}),be.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?be.queue(this[0],e):void 0===t?this:this.each(function(){var n=be.queue(this,e,t);be._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&be.dequeue(this,e)})},dequeue:function(e){return this.each(function(){be.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=be.Deferred(),i=this,s=this.length,a=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=He.get(i[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),o.promise(t)}});var Ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$e=new RegExp("^(?:([+-])=|)("+Ue+")([a-z%]*)$","i"),Ke=["Top","Right","Bottom","Left"],Ge=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&be.contains(e.ownerDocument,e)&&"none"===be.css(e,"display")},Ve=function(e,t,n,r){var o,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=s[i];return o},Xe={};be.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ge(this)?be(this).show():be(this).hide()})}});var ze=/^(?:checkbox|radio)$/i,Ze=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|\/(?:java|ecma)script/i,Ye={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,"",""]};Ye.optgroup=Ye.option,Ye.tbody=Ye.tfoot=Ye.colgroup=Ye.caption=Ye.thead,Ye.th=Ye.td;var Qe=/<|&#?\w+;/;!function(){var e=ae.createDocumentFragment(),t=e.appendChild(ae.createElement("div")),n=ae.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ge.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ge.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var et=ae.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;be.event={global:{},add:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,d,h,y,m=He.get(e);if(m)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&be.find.matchesSelector(et,o),n.guid||(n.guid=be.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(t){return void 0!==be&&be.event.triggered!==t.type?be.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(je)||[""],u=t.length;u--;)a=rt.exec(t[u])||[],d=y=a[1],h=(a[2]||"").split(".").sort(),d&&(p=be.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=be.event.special[d]||{},c=be.extend({type:d,origType:y,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&be.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[d])||(f=l[d]=[],f.delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(d,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),be.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,d,h,y,m=He.hasData(e)&&He.get(e);if(m&&(l=m.events)){for(t=(t||"").match(je)||[""],u=t.length;u--;)if(a=rt.exec(t[u])||[],d=y=a[1],h=(a[2]||"").split(".").sort(),d){for(p=be.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=l[d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=f.length;i--;)c=f[i],!o&&y!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&!1!==p.teardown.call(e,h,m.handle)||be.removeEvent(e,d,m.handle),delete l[d])}else for(d in l)be.event.remove(e,d+t[u],n,r,!0);be.isEmptyObject(l)&&He.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,s,a=be.event.fix(e),l=new Array(arguments.length),u=(He.get(this,"events")||{})[a.type]||[],c=be.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,a)){for(s=be.event.handlers.call(this,a,u),t=0;(o=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(i.namespace)||(a.handleObj=i,a.data=i.data,void 0!==(r=((be.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l))&&!1===(a.result=r)&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,r,o,i,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],s={},n=0;n<l;n++)r=t[n],o=r.selector+" ",void 0===s[o]&&(s[o]=r.needsContext?be(o,this).index(u)>-1:be.find(o,this,null,[u]).length),s[o]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(be.Event.prototype,e,{enumerable:!0,configurable:!0,get:be.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[be.expando]?e:new be.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==L()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===L()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&u(this,"input"))return this.click(),!1},_default:function(e){return u(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},be.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},be.Event=function(e,t){if(!(this instanceof be.Event))return new be.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?N:T,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&&be.extend(this,t),this.timeStamp=e&&e.timeStamp||be.now(),this[be.expando]=!0},be.Event.prototype={constructor:be.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=N,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=N,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=N,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},be.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,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&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&nt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},be.event.addProp),be.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){be.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||be.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),be.fn.extend({on:function(e,t,n,r){return k(this,e,t,n,r)},one:function(e,t,n,r){return k(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,be(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===(void 0===e?"undefined":o(e))){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=T),this.each(function(){be.event.remove(this,e,n,t)})}});var ot=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,it=/<script|<style|<link/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^true\/(.*)/,lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;be.extend({htmlPrefilter:function(e){return e.replace(ot,"<$1></$2>")},clone:function(e,t,n){var r,o,i,s,a=e.cloneNode(!0),l=be.contains(e.ownerDocument,e);if(!(ge.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||be.isXMLDoc(e)))for(s=x(a),i=x(e),r=0,o=i.length;r<o;r++)j(i[r],s[r]);if(t)if(n)for(i=i||x(e),s=s||x(a),r=0,o=i.length;r<o;r++)R(i[r],s[r]);else R(e,a);return s=x(a,"script"),s.length>0&&S(s,!l&&x(e,"script")),a},cleanData:function(e){for(var t,n,r,o=be.event.special,i=0;void 0!==(n=e[i]);i++)if(Me(n)){if(t=n[He.expando]){if(t.events)for(r in t.events)o[r]?be.event.remove(n,r):be.removeEvent(n,r,t.handle);n[He.expando]=void 0}n[qe.expando]&&(n[qe.expando]=void 0)}}}),be.fn.extend({detach:function(e){return F(this,e,!0)},remove:function(e){return F(this,e)},text:function(e){return Ie(this,function(e){return void 0===e?be.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 D(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){P(this,e).appendChild(e)}})},prepend:function(){return D(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=P(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return D(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return D(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&&(be.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 be.clone(this,e,t)})},html:function(e){return Ie(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!it.test(e)&&!Ye[(Ze.exec(e)||["",""])[1].toLowerCase()]){e=be.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(be.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return D(this,arguments,function(t){var n=this.parentNode;be.inArray(this,e)<0&&(be.cleanData(x(this)),n&&n.replaceChild(t,this))},e)}}),be.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){be.fn[e]=function(e){for(var n,r=[],o=be(e),i=o.length-1,s=0;s<=i;s++)n=s===i?this:this.clone(!0),be(o[s])[t](n),pe.apply(r,n.get());return this.pushStack(r)}});var ut=/^margin/,ct=new RegExp("^("+Ue+")(?!px)[a-z%]+$","i"),pt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)};!function(){function e(){if(a){a.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",et.appendChild(s);var e=i.getComputedStyle(a);t="1%"!==e.top,o="2px"===e.marginLeft,n="4px"===e.width,a.style.marginRight="50%",r="4px"===e.marginRight,et.removeChild(s),a=null}}var t,n,r,o,s=ae.createElement("div"),a=ae.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",ge.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),be.extend(ge,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return e(),n},pixelMarginRight:function(){return e(),r},reliableMarginLeft:function(){return e(),o}}))}();var ft=/^(none|table(?!-c[ea]).+)/,dt=/^--/,ht={position:"absolute",visibility:"hidden",display:"block"},yt={letterSpacing:"0",fontWeight:"400"},mt=["Webkit","Moz","ms"],vt=ae.createElement("div").style;be.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=I(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,s,a,l=be.camelCase(t),u=dt.test(t),c=e.style;if(u||(t=q(l)),a=be.cssHooks[t]||be.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];s=void 0===n?"undefined":o(n),"string"===s&&(i=$e.exec(n))&&i[1]&&(n=C(e,t,i),s="number"),null!=n&&n===n&&("number"===s&&(n+=i&&i[3]||(be.cssNumber[l]?"":"px")),ge.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,s,a=be.camelCase(t);return dt.test(t)||(t=q(a)),s=be.cssHooks[t]||be.cssHooks[a],s&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=I(e,t,r)),"normal"===o&&t in yt&&(o=yt[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),be.each(["height","width"],function(e,t){be.cssHooks[t]={get:function(e,n,r){if(n)return!ft.test(be.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?U(e,t,r):Ve(e,ht,function(){return U(e,t,r)})},set:function(e,n,r){var o,i=r&&pt(e),s=r&&W(e,t,r,"border-box"===be.css(e,"boxSizing",!1,i),i);return s&&(o=$e.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=be.css(e,t)),B(e,n,s)}}}),be.cssHooks.marginLeft=M(ge.reliableMarginLeft,function(e,t){if(t)return(parseFloat(I(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),be.each({margin:"",padding:"",border:"Width"},function(e,t){be.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+Ke[r]+t]=i[r]||i[r-2]||i[0];return o}},ut.test(e)||(be.cssHooks[e+t].set=B)}),be.fn.extend({css:function(e,t){return Ie(this,function(e,t,n){var r,o,i={},s=0;if(Array.isArray(t)){for(r=pt(e),o=t.length;s<o;s++)i[t[s]]=be.css(e,t[s],!1,r);return i}return void 0!==n?be.style(e,t,n):be.css(e,t)},e,t,arguments.length>1)}}),be.Tween=$,$.prototype={constructor:$,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||be.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(be.cssNumber[n]?"":"px")},cur:function(){var e=$.propHooks[this.prop];return e&&e.get?e.get(this):$.propHooks._default.get(this)},run:function(e){var t,n=$.propHooks[this.prop];return this.options.duration?this.pos=t=be.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):$.propHooks._default.set(this),this}},$.prototype.init.prototype=$.prototype,$.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=be.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){be.fx.step[e.prop]?be.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[be.cssProps[e.prop]]&&!be.cssHooks[e.prop]?e.elem[e.prop]=e.now:be.style(e.elem,e.prop,e.now+e.unit)}}},$.propHooks.scrollTop=$.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},be.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},be.fx=$.prototype.init,be.fx.step={};var gt,bt,Ct=/^(?:toggle|show|hide)$/,_t=/queueHooks$/;be.Animation=be.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return C(n.elem,e,$e.exec(t),n),n}]},tweener:function(e,t){be.isFunction(e)?(t=e,e=["*"]):e=e.match(je);for(var n,r=0,o=e.length;r<o;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[z],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),be.speed=function(e,t,n){var r=e&&"object"===(void 0===e?"undefined":o(e))?be.extend({},e):{complete:n||!n&&t||be.isFunction(e)&&e,duration:e,easing:n&&t||t&&!be.isFunction(t)&&t};return be.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in be.fx.speeds?r.duration=be.fx.speeds[r.duration]:r.duration=be.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){be.isFunction(r.old)&&r.old.call(this),r.queue&&be.dequeue(this,r.queue)},r},be.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ge).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=be.isEmptyObject(e),i=be.speed(t,n,r),s=function(){var t=J(this,be.extend({},e),i);(o||He.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||!1===i.queue?this.each(s):this.queue(i.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=be.timers,s=He.get(this);if(o)s[o]&&s[o].stop&&r(s[o]);else for(o in s)s[o]&&s[o].stop&&_t.test(o)&&r(s[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||be.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=He.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=be.timers,s=r?r.length:0;for(n.finish=!0,be.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),be.each(["toggle","show","hide"],function(e,t){var n=be.fn[t];be.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,r,o)}}),be.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){be.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),be.timers=[],be.fx.tick=function(){var e,t=0,n=be.timers;for(gt=be.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||be.fx.stop(),gt=void 0},be.fx.timer=function(e){be.timers.push(e),be.fx.start()},be.fx.interval=13,be.fx.start=function(){bt||(bt=!0,K())},be.fx.stop=function(){bt=null},be.fx.speeds={slow:600,fast:200,_default:400},be.fn.delay=function(e,t){return e=be.fx?be.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r)}})},function(){var e=ae.createElement("input"),t=ae.createElement("select"),n=t.appendChild(ae.createElement("option"));e.type="checkbox",ge.checkOn=""!==e.value,ge.optSelected=n.selected,e=ae.createElement("input"),e.value="t",e.type="radio",ge.radioValue="t"===e.value}();var wt,xt=be.expr.attrHandle;be.fn.extend({attr:function(e,t){return Ie(this,be.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){be.removeAttr(this,e)})}}),be.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?be.prop(e,t,n):(1===i&&be.isXMLDoc(e)||(o=be.attrHooks[t.toLowerCase()]||(be.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void be.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=be.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ge.radioValue&&"radio"===t&&u(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(je);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?be.removeAttr(e,n):e.setAttribute(n,n),n}},be.each(be.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||be.find.attr;xt[t]=function(e,t,r){var o,i,s=t.toLowerCase();return r||(i=xt[s],xt[s]=o,o=null!=n(e,t,r)?s:null,xt[s]=i),o}});var St=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;be.fn.extend({prop:function(e,t){return Ie(this,be.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[be.propFix[e]||e]})}}),be.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&be.isXMLDoc(e)||(t=be.propFix[t]||t,o=be.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=be.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ge.optSelected||(be.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)}}),be.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){be.propFix[this.toLowerCase()]=this}),be.fn.extend({addClass:function(e){var t,n,r,o,i,s,a,l=0;if(be.isFunction(e))return this.each(function(t){be(this).addClass(e.call(this,t,Q(this)))});if("string"==typeof e&&e)for(t=e.match(je)||[];n=this[l++];)if(o=Q(n),r=1===n.nodeType&&" "+Y(o)+" "){for(s=0;i=t[s++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=Y(r),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,o,i,s,a,l=0;if(be.isFunction(e))return this.each(function(t){be(this).removeClass(e.call(this,t,Q(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(je)||[];n=this[l++];)if(o=Q(n),r=1===n.nodeType&&" "+Y(o)+" "){for(s=0;i=t[s++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=Y(r),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":o(e);return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):be.isFunction(e)?this.each(function(n){be(this).toggleClass(e.call(this,n,Q(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=be(this),i=e.match(je)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=Q(this),t&&He.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":He.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Y(Q(n))+" ").indexOf(t)>-1)return!0;return!1}});var Nt=/\r/g;be.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=be.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,be(this).val()):e,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=be.map(o,function(e){return null==e?"":e+""})),(t=be.valHooks[this.type]||be.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return(t=be.valHooks[o.type]||be.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Nt,""):null==n?"":n)}}}),be.extend({valHooks:{option:{get:function(e){var t=be.find.attr(e,"value");return null!=t?t:Y(be.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?i+1:o.length;for(r=i<0?l:s?i:0;r<l;r++)if(n=o[r],(n.selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(t=be(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=be.makeArray(t),s=o.length;s--;)r=o[s],(r.selected=be.inArray(be.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),be.each(["radio","checkbox"],function(){be.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=be.inArray(be(e).val(),t)>-1}},ge.checkOn||(be.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Tt=/^(?:focusinfocus|focusoutblur)$/;be.extend(be.event,{trigger:function(e,t,n,r){var s,a,l,u,c,p,f,d=[n||ae],h=ye.call(e,"type")?e.type:e,y=ye.call(e,"namespace")?e.namespace.split("."):[];if(a=l=n=n||ae,3!==n.nodeType&&8!==n.nodeType&&!Tt.test(h+be.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),c=h.indexOf(":")<0&&"on"+h,e=e[be.expando]?e:new be.Event(h,"object"===(void 0===e?"undefined":o(e))&&e),e.isTrigger=r?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:be.makeArray(t,[e]),f=be.event.special[h]||{},r||!f.trigger||!1!==f.trigger.apply(n,t))){if(!r&&!f.noBubble&&!be.isWindow(n)){for(u=f.delegateType||h,Tt.test(u+h)||(a=a.parentNode);a;a=a.parentNode)d.push(a),l=a;l===(n.ownerDocument||ae)&&d.push(l.defaultView||l.parentWindow||i)}for(s=0;(a=d[s++])&&!e.isPropagationStopped();)e.type=s>1?u:f.bindType||h,p=(He.get(a,"events")||{})[e.type]&&He.get(a,"handle"),p&&p.apply(a,t),(p=c&&a[c])&&p.apply&&Me(a)&&(e.result=p.apply(a,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(d.pop(),t)||!Me(n)||c&&be.isFunction(n[h])&&!be.isWindow(n)&&(l=n[c],l&&(n[c]=null),be.event.triggered=h,n[h](),be.event.triggered=void 0,l&&(n[c]=l)),e.result}},simulate:function(e,t,n){var r=be.extend(new be.Event,n,{type:e,isSimulated:!0});be.event.trigger(r,null,t)}}),be.fn.extend({trigger:function(e,t){return this.each(function(){be.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return be.event.trigger(e,t,n,!0)}}),be.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,t){be.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),be.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ge.focusin="onfocusin"in i,ge.focusin||be.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){be.event.simulate(t,e.target,be.event.fix(e))};be.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=He.access(r,t);o||r.addEventListener(e,n,!0),He.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=He.access(r,t)-1;o?He.access(r,t,o):(r.removeEventListener(e,n,!0),He.remove(r,t))}}});var Lt=i.location,kt=be.now(),Pt=/\?/;be.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||be.error("Invalid XML: "+e),t};var Ot=/\[\]$/,At=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;be.param=function(e,t){var n,r=[],o=function(e,t){var n=be.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!be.isPlainObject(e))be.each(e,function(){o(this.name,this.value)});else for(n in e)ee(n,e[n],t,o);return r.join("&")},be.fn.extend({serialize:function(){return be.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=be.prop(this,"elements");return e?be.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!be(this).is(":disabled")&&jt.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!ze.test(e))}).map(function(e,t){var n=be(this).val();return null==n?null:Array.isArray(n)?be.map(n,function(e){return{name:t.name,value:e.replace(At,"\r\n")}}):{name:t.name,value:n.replace(At,"\r\n")}}).get()}});var Dt=/%20/g,Ft=/#.*$/,It=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qt=/^(?:GET|HEAD)$/,Bt=/^\/\//,Wt={},Ut={},$t="*/".concat("*"),Kt=ae.createElement("a");Kt.href=Lt.href,be.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Lt.href,type:"GET",isLocal:Ht.test(Lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,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":be.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,be.ajaxSettings),t):re(be.ajaxSettings,e)},ajaxPrefilter:te(Wt),ajaxTransport:te(Ut),ajax:function(e,t){function n(e,t,n,o){var l,c,d,h,_,w=t;p||(p=!0,u&&i.clearTimeout(u),r=void 0,a=o||"",S.readyState=e>0?4:0,l=e>=200&&e<300||304===e,n&&(h=oe(y,S,n)),h=ie(y,h,S,l),l?(y.ifModified&&(_=S.getResponseHeader("Last-Modified"),_&&(be.lastModified[s]=_),(_=S.getResponseHeader("etag"))&&(be.etag[s]=_)),204===e||"HEAD"===y.type?w="nocontent":304===e?w="notmodified":(w=h.state,c=h.data,d=h.error,l=!d)):(d=w,!e&&w||(w="error",e<0&&(e=0))),S.status=e,S.statusText=(t||w)+"",l?g.resolveWith(m,[c,w,S]):g.rejectWith(m,[S,w,d]),S.statusCode(C),C=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[S,y,l?c:d]),b.fireWith(m,[S,w]),f&&(v.trigger("ajaxComplete",[S,y]),--be.active||be.event.trigger("ajaxStop")))}"object"===(void 0===e?"undefined":o(e))&&(t=e,e=void 0),t=t||{};var r,s,a,l,u,c,p,f,d,h,y=be.ajaxSetup({},t),m=y.context||y,v=y.context&&(m.nodeType||m.jquery)?be(m):be.event,g=be.Deferred(),b=be.Callbacks("once memory"),C=y.statusCode||{},_={},w={},x="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(p){if(!l)for(l={};t=Mt.exec(a);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return p?a:null},setRequestHeader:function(e,t){return null==p&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==p&&(y.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)S.always(e[S.status]);else for(t in e)C[t]=[C[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),n(0,t),this}};if(g.promise(S),y.url=((e||y.url||Lt.href)+"").replace(Bt,Lt.protocol+"//"),y.type=t.method||t.type||y.method||y.type,y.dataTypes=(y.dataType||"*").toLowerCase().match(je)||[""],null==y.crossDomain){c=ae.createElement("a");try{c.href=y.url,c.href=c.href,y.crossDomain=Kt.protocol+"//"+Kt.host!=c.protocol+"//"+c.host}catch(e){y.crossDomain=!0}}if(y.data&&y.processData&&"string"!=typeof y.data&&(y.data=be.param(y.data,y.traditional)),ne(Wt,y,t,S),p)return S;f=be.event&&y.global,f&&0==be.active++&&be.event.trigger("ajaxStart"),y.type=y.type.toUpperCase(),y.hasContent=!qt.test(y.type),s=y.url.replace(Ft,""),y.hasContent?y.data&&y.processData&&0===(y.contentType||"").indexOf("application/x-www-form-urlencoded")&&(y.data=y.data.replace(Dt,"+")):(h=y.url.slice(s.length),y.data&&(s+=(Pt.test(s)?"&":"?")+y.data,delete y.data),!1===y.cache&&(s=s.replace(It,"$1"),h=(Pt.test(s)?"&":"?")+"_="+kt+++h),y.url=s+h),y.ifModified&&(be.lastModified[s]&&S.setRequestHeader("If-Modified-Since",be.lastModified[s]),be.etag[s]&&S.setRequestHeader("If-None-Match",be.etag[s])),(y.data&&y.hasContent&&!1!==y.contentType||t.contentType)&&S.setRequestHeader("Content-Type",y.contentType),S.setRequestHeader("Accept",y.dataTypes[0]&&y.accepts[y.dataTypes[0]]?y.accepts[y.dataTypes[0]]+("*"!==y.dataTypes[0]?", "+$t+"; q=0.01":""):y.accepts["*"]);for(d in y.headers)S.setRequestHeader(d,y.headers[d]);if(y.beforeSend&&(!1===y.beforeSend.call(m,S,y)||p))return S.abort();if(x="abort",b.add(y.complete),S.done(y.success),S.fail(y.error),r=ne(Ut,y,t,S)){if(S.readyState=1,f&&v.trigger("ajaxSend",[S,y]),p)return S;y.async&&y.timeout>0&&(u=i.setTimeout(function(){S.abort("timeout")},y.timeout));try{p=!1,r.send(_,n)}catch(e){if(p)throw e;n(-1,e)}}else n(-1,"No Transport");return S},getJSON:function(e,t,n){return be.get(e,t,n,"json")},getScript:function(e,t){return be.get(e,void 0,t,"script")}}),be.each(["get","post"],function(e,t){be[t]=function(e,n,r,o){return be.isFunction(n)&&(o=o||r,r=n,n=void 0),be.ajax(be.extend({url:e,type:t,dataType:o,data:n,success:r},be.isPlainObject(e)&&e))}}),be._evalUrl=function(e){return be.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},be.fn.extend({wrapAll:function(e){var t;return this[0]&&(be.isFunction(e)&&(e=e.call(this[0])),t=be(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return be.isFunction(e)?this.each(function(t){be(this).wrapInner(e.call(this,t))}):this.each(function(){var t=be(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=be.isFunction(e);return this.each(function(n){be(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){be(this).replaceWith(this.childNodes)}),this}}),be.expr.pseudos.hidden=function(e){return!be.expr.pseudos.visible(e)},be.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},be.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Gt={0:200,1223:204},Vt=be.ajaxSettings.xhr();ge.cors=!!Vt&&"withCredentials"in Vt,ge.ajax=Vt=!!Vt,be.ajaxTransport(function(e){var t,n;if(ge.cors||Vt&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Gt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),be.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),be.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 be.globalEval(e),e}}}),be.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),be.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=be("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),ae.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Xt=[],zt=/(=)\?(?=&|$)|\?\?/;be.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||be.expando+"_"+kt++;return this[e]=!0,e}}),be.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,a=!1!==e.jsonp&&(zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=be.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(zt,"$1"+r):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||be.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments},n.always(function(){void 0===o?be(i).removeProp(r):i[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),s&&be.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),ge.createHTMLDocument=function(){var e=ae.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),be.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,o,i;return t||(ge.createHTMLDocument?(t=ae.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=ae.location.href,t.head.appendChild(r)):t=ae),o=Le.exec(e),i=!n&&[],o?[t.createElement(o[1])]:(o=E([e],t,i),i&&i.length&&be(i).remove(),be.merge([],o.childNodes))},be.fn.load=function(e,t,n){var r,i,s,a=this,l=e.indexOf(" ");return l>-1&&(r=Y(e.slice(l)),e=e.slice(0,l)),be.isFunction(t)?(n=t,t=void 0):t&&"object"===(void 0===t?"undefined":o(t))&&(i="POST"),a.length>0&&be.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){s=arguments,a.html(r?be("<div>").append(be.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},be.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){be.fn[t]=function(e){return this.on(t,e)}}),be.expr.pseudos.animated=function(e){return be.grep(be.timers,function(t){return e===t.elem}).length},be.offset={setOffset:function(e,t,n){var r,o,i,s,a,l,u,c=be.css(e,"position"),p=be(e),f={};"static"===c&&(e.style.position="relative"),a=p.offset(),i=be.css(e,"top"),l=be.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1,u?(r=p.position(),s=r.top,o=r.left):(s=parseFloat(i)||0,o=parseFloat(l)||0),be.isFunction(t)&&(t=t.call(e,n,be.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+o),"using"in t?t.using.call(e,f):p.css(f)}},be.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){be.offset.setOffset(this,e,t)});var t,n,r,o,i=this[0];if(i)return i.getClientRects().length?(r=i.getBoundingClientRect(),t=i.ownerDocument,n=t.documentElement,o=t.defaultView,{top:r.top+o.pageYOffset-n.clientTop,left:r.left+o.pageXOffset-n.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===be.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),u(e[0],"html")||(r=e.offset()),r={top:r.top+be.css(e[0],"borderTopWidth",!0),left:r.left+be.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-be.css(n,"marginTop",!0),left:t.left-r.left-be.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===be.css(e,"position");)e=e.offsetParent;return e||et})}}),be.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;be.fn[e]=function(r){return Ie(this,function(e,r,o){var i;if(be.isWindow(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o},e,r,arguments.length)}}),be.each(["top","left"],function(e,t){be.cssHooks[t]=M(ge.pixelPosition,function(e,n){if(n)return n=I(e,t),ct.test(n)?be(e).position()[t]+"px":n})}),be.each({Height:"height",Width:"width"},function(e,t){be.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){be.fn[r]=function(o,i){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(!0===o||!0===i?"margin":"border");return Ie(this,function(t,n,o){var i;return be.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?be.css(t,n,a):be.style(t,n,o,a)},t,s?o:void 0,s)}})}),be.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)}}),be.holdReady=function(e){e?be.readyWait++:be.ready(!0)},be.isArray=Array.isArray,be.parseJSON=JSON.parse,be.nodeName=u,n=[],void 0!==(r=function(){return be}.apply(t,n))&&(e.exports=r);var Zt=i.jQuery,Jt=i.$;return be.noConflict=function(e){return i.$===be&&(i.$=Jt),e&&i.jQuery===be&&(i.jQuery=Zt),be},s||(i.jQuery=i.$=be),be})}).call(t,n(5)(e))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,this.props.children)}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeKey:e.defaultActiveKey},n}return i(t,e),s(t,[{key:"render",value:function(){var e,t=[],n=[];for(e=0;e<this.props.children.length;e++){var r=this.props.children[e];void 0!==r&&(t.push(this._buildNav(r)),n.push(this._buildContent(r)))}return(0,a.h)("div",{className:this.props.className},(0,a.h)("ul",{className:"nav nav-tabs",role:"tablist"},t),(0,a.h)("div",{className:"tab-content"},n))}},{key:"getActiveKey",value:function(){return this.state.activeKey}},{key:"setActiveKey",value:function(e){this.setState({activeKey:e})}},{key:"_buildNav",value:function(e){var t;this.getActiveKey()===e.attributes.eventKey&&(t="active");var n=this,r=function(t){n._handleTabClick(t,e)};return(0,a.h)("li",{role:"presentation",className:t,key:e.attributes.eventKey},(0,a.h)("a",{href:"#"+this._buildIdForTab(e),"aria-controls":this._buildIdForTab(e),role:"tab","data-toggle":"tab",onClick:r},e.attributes.title))}},{key:"_buildContent",value:function(e){var t="tab-pane";return this.getActiveKey()===e.attributes.eventKey&&(t+=" active"),(0,a.h)("div",{role:"tabpanel",className:t,id:this._buildIdForTab(e),key:e.attributes.eventKey},e)}},{key:"_buildIdForTab",value:function(e){return e.attributes.id?e.attributes.id:void 0===this.props.id||""===this.props.id?e.attributes.eventKey:this.props.id+"-"+e.attributes.eventKey}},{key:"_handleTabClick",value:function(e,t){e.preventDefault(),this.setActiveKey(t.attributes.eventKey)}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e){window.ErrorPage=e;for(var t=0;t<window.errorPageExtensions.length;t++)window.errorPageExtensions[t]()}var o=n(0);n(1),n(22),n(16);var i=n(9),s=function(e){return e&&e.__esModule?e:{default:e}}(i);n(18),window.errorPageExtensions=[],window.renderErrorPage=function(){(0,o.render)((0,o.h)(s.default,{spec:window.spec,ref:r}),document.getElementById("root"))}},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=n(3),c=r(u),p=n(2),f=r(p),d=n(8),h=r(d),y=n(11),m=r(y),v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return(0,l.h)("div",{className:"details-view"},(0,l.h)("p",null,"Error ID: ",this.props.spec.error.id),(0,l.h)(c.default,{defaultActiveKey:"problem-location",id:"details-process-tabs"},(0,l.h)(f.default,{eventKey:"problem-location",title:"Problem location"},(0,l.h)("p",null),(0,l.h)(h.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"core-process",title:this.props.spec.short_program_name+" core"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.core_process})),this.maybeRenderPreloaderProcessDetailsTab(),(0,l.h)(f.default,{eventKey:"subprocess",title:"Subprocess"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.subprocess})),(0,l.h)(f.default,{eventKey:"system-wide",title:"System-wide stats"},(0,l.h)("p",null),(0,l.h)("pre",null,this.props.spec.diagnostics.system_wide.system_metrics))))}},{key:"maybeRenderPreloaderProcessDetailsTab",value:function(){if("SPAWN_THROUGH_PRELOADER"===this.props.spec.journey.type)return(0,l.h)(f.default,{eventKey:"preloader",title:"Preloader process"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.preloader_process}))}}]),t}(l.Component);t.default=v},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,(0,a.h)("p",null,"If you are stuck with a problem, please do not hesitate to contact one of the support resources."," "+this.props.spec.program_name+" ","has a friendly community of users who look out for each other. We —"," Passenger's ","authors — are also ready to help you whenever we can."),(0,a.h)("div",{className:"row"},(0,a.h)("div",{className:"col-sm-4"},(0,a.h)("h2",null,"Community support"),(0,a.h)("p",null,"Post a message to Stack Overflow. Support is provided by the community on a best-effort basis, so sometimes a bit of patience will help."),(0,a.h)("p",null,(0,a.h)("a",{href:"https://stackoverflow.com/questions/tagged/passenger",className:"btn btn-primary"},"Submit to Stack Overflow"))),(0,a.h)("div",{className:"col-sm-4"},(0,a.h)("h2",null,"Enterprise support"),(0,a.h)("p",null,"If you are a"," ",(0,a.h)("a",{href:"https://www.phusionpassenger.com/enterprise"},"Passenger Enterprise")," ","customer, then you are eligible for basic priority support."),(0,a.h)("p",null,(0,a.h)("small",null,"For most customers, this basic priority support has a response time of 3 working days, with a maximum of 1 support incident per month. Please consult your contract for the exact support level that you are eligible for.")),(0,a.h)("p",null,(0,a.h)("a",{href:"https://www.phusionpassenger.com/customers/help_support",className:"btn btn-primary"},"Submit Enterprise support ticket"))),(0,a.h)("div",{className:"col-sm-4"},(0,a.h)("h2",null,"Bug report"),(0,a.h)("p",null,"Do you suspect this error is a bug? Please send us a bug report."),(0,a.h)("p",null,(0,a.h)("em",null,"Please attach this error page")," so that we can help you better."),(0,a.h)("p",null,(0,a.h)("a",{href:"http://github.com/phusion/passenger/issues",className:"btn btn-primary"},"Submit bug report to Github")))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(17);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props.spec.journey;return"SPAWN_DIRECTLY"===e.type?this.renderSpawnDirectlyJourney():"START_PRELOADER"===e.type?this.renderStartPreloaderJourney():this.renderSpawnThroughPreloaderJourney()}},{key:"renderSpawnDirectlyJourney",value:function(){var e=this;return(0,a.h)("table",{className:"journey spawn-directly"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name," core",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Spawn subprocess (fork())",["SPAWNING_KIT_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow(),this.renderCell("subprocess","Basic initialization before exec()",["SUBPROCESS_BEFORE_FIRST_EXEC"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (1)",["SUBPROCESS_SPAWN_ENV_SETUPPER_BEFORE_SHELL"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load OS shell",["SUBPROCESS_OS_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (2)",["SUBPROCESS_SPAWN_ENV_SETUPPER_AFTER_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),function(){return e.props.spec.journey.steps.SUBPROCESS_EXEC_WRAPPER?e.props.spec.config.wrapper_supplied_by_third_party?[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize third-party wrapper",["SUBPROCESS_EXEC_WRAPPER","SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{server:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER","SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[]}(),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load or execute application",["SUBPROCESS_APP_LOAD_OR_EXEC"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening for requests",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderStartPreloaderJourney",value:function(){var e=this;return(0,a.h)("table",{className:"journey start-preloader"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name," core",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Spawn subprocess (fork())",["SPAWNING_KIT_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow(),this.renderCell("subprocess","Basic initialization before exec()",["SUBPROCESS_BEFORE_FIRST_EXEC"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (1)",["SUBPROCESS_SPAWN_ENV_SETUPPER_BEFORE_SHELL"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load OS shell",["SUBPROCESS_OS_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (2)",["SUBPROCESS_SPAWN_ENV_SETUPPER_AFTER_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),function(){return e.props.spec.journey.steps.SUBPROCESS_EXEC_WRAPPER?e.props.spec.config.wrapper_supplied_by_third_party?[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER"])),(0,a.h)("tr",{key:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess")),(0,a.h)("tr",{key:"prep-inside-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize third-party preloading wrapper",["SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER"])),(0,a.h)("tr",{key:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess")),(0,a.h)("tr",{key:"prep-inside-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize "+e.props.spec.short_program_name+"-internal preloading wrapper",["SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[]}(),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load application",["SUBPROCESS_APP_LOAD_OR_EXEC"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening for preloader commands",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderSpawnThroughPreloaderJourney",value:function(){return(0,a.h)("table",{className:"journey spawn-through-preloader"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name,(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"preloader"},"In preloader",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.preloader_process.pid||"unknown")),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Tell preloader to spawn a subprocess",["SPAWNING_KIT_CONNECT_TO_PRELOADER","SPAWNING_KIT_SEND_COMMAND_TO_PRELOADER"]),this.renderProcessBoundaryArrow("small"),this.renderCell("preloader","Preparation work",["PRELOADER_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader")),(0,a.h)("tr",null,this.renderCell("server-core","Receive and process preloader response",["SPAWNING_KIT_READ_RESPONSE_FROM_PRELOADER","SPAWNING_KIT_PARSE_RESPONSE_FROM_PRELOADER","SPAWNING_KIT_PROCESS_RESPONSE_FROM_PRELOADER"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Spawn subprocess (fork())",["PRELOADER_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow("small"),this.renderCell("subprocess","Preparation",["SUBPROCESS_PREPARE_AFTER_FORKING_FROM_PRELOADER"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Send response to "+this.props.spec.short_program_name+" core",["PRELOADER_SEND_RESPONSE"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Finish",["PRELOADER_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderCell",value:function(e,t,n){function r(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_NOT_STARTED"!==s.steps[t].state)return!1}return!0}var o,i,s=this.props.spec.journey;!function(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_ERRORED"===s.steps[t].state)return!0}return!1}()?!function(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_PERFORMED"!==s.steps[t].state)return!1}return!0}()?r()?(o="not-started",i=(0,a.h)("span",{className:"glyphicon glyphicon-unchecked","aria-hidden":"true"})):(o="in-progress",i=(0,a.h)("span",{className:"glyphicon glyphicon-option-horizontal","aria-hidden":"true"})):(o="done",i=(0,a.h)("span",{className:"glyphicon glyphicon-ok","aria-hidden":"true"})):(o="error",i=(0,a.h)("span",{className:"glyphicon glyphicon-remove","aria-hidden":"true"}));var l=e+" "+o;return(0,a.h)("td",{className:l},(0,a.h)("span",{className:"status-label"},i),(0,a.h)("span",{className:"title"},t," ",function(){var e,t;for(e=0;e<n.length;e++){var o=n[e];void 0!==s.steps[o].duration?(void 0===t&&(t=0),t+=s.steps[o].duration):void 0!==s.steps[o].begin_time&&(void 0===t&&(t=0),t-=s.steps[o].begin_time.relative_timestamp)}if(void 0!==t)return r()?(0,a.h)("span",{className:"duration"},"— skipped"):(0,a.h)("span",{className:"duration"},"— ",t.toFixed(1),"s")}()))}},{key:"renderStepSeparator",value:function(e){return(0,a.h)("td",{className:e+" step-separator"},"|")}},{key:"renderProcessBoundaryArrow",value:function(e){var t;return t="small"===e?90:130,(0,a.h)("td",{className:"process-boundary arrow"},(0,a.h)("svg",{width:t,height:"20",viewBox:"0 0 130 20",version:"1.1",className:"arrow-image"},(0,a.h)("defs",{id:"defs4"},(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"TriangleOutM",style:"overflow:visible"},(0,a.h)("path",{id:"path4287",d:"m 5.77,0 -8.65,5 0,-10 8.65,5 z",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:1pt;stroke-opacity:1",transform:"scale(0.4,0.4)"})),(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"Arrow2Lend",style:"overflow:visible"},(0,a.h)("path",{id:"path4163",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1",d:"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z",transform:"matrix(-1.1,0,0,-1.1,-1.1,0)"})),(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"Arrow1Lend",style:"overflow:visible"},(0,a.h)("path",{id:"path4145",d:"M 0,0 5,-5 -12.5,0 5,5 0,0 Z",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:1pt;stroke-opacity:1",transform:"matrix(-0.8,0,0,-0.8,-10,0)"}))),(0,a.h)("g",{id:"layer1",transform:"translate(0,-1032.3622)"},(0,a.h)("path",{style:"fill:none;fill-rule:evenodd;stroke:#aaa;stroke-width:3.99429917;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#TriangleOutM)",d:"m 0,1042.3622 118.75284,0",id:"path3336"}))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=n(3),c=r(u),p=n(2),f=r(p),d=n(15),h=r(d),y=n(13),m=(r(y),n(10)),v=r(m),g=n(12),b=r(g),C=n(7),_=r(C),w=n(6),x=r(w),S=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={systemComponentsViewCollapsed:!1},e.Preact={Component:l.Component,h:l.h,render:l.render},e.Components={Tabs:c.default,Tab:f.default},e._extraTabs=[],window.localStorage&&(e.state.systemComponentsViewCollapsed="true"===window.localStorage.getItem("_passenger_error_page_system_components_collapsed")),e}return s(t,e),a(t,[{key:"render",value:function(){var e=this;return(0,l.h)("div",null,(0,l.h)("div",{className:"page-title-container container"},(0,l.h)("h1",{className:"page-title"},"Error starting web application")),(0,l.h)("div",{className:"page-system-components-container"},(0,l.h)("div",{className:"collapse-button"},this._renderCollapseButton()),(0,l.h)("div",{class:"container"},(0,l.h)(h.default,{spec:this.props.spec,collapsed:this.state.systemComponentsViewCollapsed}))),(0,l.h)("div",{className:"page-main container"},(0,l.h)(c.default,{className:"page-main-tabs",defaultActiveKey:"problem-description",ref:function(t){e.tabs=t}},(0,l.h)(f.default,{eventKey:"problem-description",title:"What happened?"},(0,l.h)("p",null),(0,l.h)(v.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"solution-description",title:"How do I solve this?"},(0,l.h)("p",null),(0,l.h)(b.default,{spec:this.props.spec})),this._renderExtraTabs(),(0,l.h)(f.default,{eventKey:"get-help",title:"Get help"},(0,l.h)("p",null),(0,l.h)(_.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"details",title:"Detailed diagnostics"},(0,l.h)("p",null),(0,l.h)(x.default,{spec:this.props.spec})))),(0,l.h)("footer",null,(0,l.h)("div",null,"This website is powered by ",(0,l.h)("a",{href:"https://www.phusionpassenger.com"},(0,l.h)("b",null,"Phusion Passenger")),"®, the smart application server built by ",(0,l.h)("b",null,"Phusion"),"®.")))}},{key:"addExtraTab",value:function(e,t,n){this._extraTabs.push({key:e,title:t,component:n})}},{key:"setActiveTab",value:function(e){this.tabs.setActiveKey(e)}},{key:"_renderCollapseButton",value:function(){return this.state.systemComponentsViewCollapsed?(0,l.h)("a",{href:"javascript:void(0)",onClick:this._handleExpandSystemComponentsView.bind(this)},"Expand"):(0,l.h)("a",{href:"javascript:void(0)",onClick:this._handleCollapseSystemComponentsView.bind(this)},"Collapse")}},{key:"_renderExtraTabs",value:function(){return this._extraTabs.map(function(e){return(0,l.h)(f.default,{eventKey:e.key,title:e.title},e.component)})}},{key:"_handleExpandSystemComponentsView",value:function(){if(this.setState({systemComponentsViewCollapsed:!1}),window.localStorage)try{window.localStorage.setItem("_passenger_error_page_system_components_collapsed","false")}catch(e){}}},{key:"_handleCollapseSystemComponentsView",value:function(){if(this.setState({systemComponentsViewCollapsed:!0}),window.localStorage)try{window.localStorage.setItem("_passenger_error_page_system_components_collapsed","true")}catch(e){}}}]),t}(l.Component);t.default=S},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"problem-description"},(0,a.h)("div",{dangerouslySetInnerHTML:{__html:this.props.spec.error.problem_description_html}}))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,(0,a.h)("dl",null,this.renderBeforeItems(),(0,a.h)("dt",null,"User and group"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.user_info)),(0,a.h)("dt",null,"Ulimits"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.ulimits)),(0,a.h)("dt",null,"Environment variables"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.envvars)),this.renderAfterItems()))}},{key:"renderBeforeItems",value:function(){var e=[];return this.props.spec.pid&&(e.push((0,a.h)("dt",{key:"pid-header"},"PID")),e.push((0,a.h)("dd",{key:"pid-content"},this.props.spec.pid))),this.props.spec.stdout_and_err&&(e.push((0,a.h)("dt",{key:"stdout-and-err-header"},"Stdout and stderr output")),e.push((0,a.h)("dd",{key:"stdout-and-err-content"},(0,a.h)("pre",null,this.props.spec.stdout_and_err)))),this.props.spec.backtrace&&(e.push((0,a.h)("dt",{key:"backtrace-header"},"Backtrace")),e.push((0,a.h)("dd",{key:"backtrace-content"},(0,a.h)("pre",null,this.props.spec.backtrace)))),e}},{key:"renderAfterItems",value:function(){var e=[];if(this.props.spec.annotations){var t=!0,n=!1,r=void 0;try{for(var o,i=Object.keys(this.props.spec.annotations)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value,l=this.props.spec.annotations[s];e.push((0,a.h)("dt",{key:s},s)),e.push((0,a.h)("dd",{key:s+"-value"},(0,a.h)("pre",null,l)))}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}}return e}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(19);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"solution-description"},(0,a.h)("div",{dangerouslySetInnerHTML:{__html:this.props.spec.error.solution_description_html}}))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"summary-view"},(0,a.h)("h3",null,"Error message"),(0,a.h)("p",null,this.props.spec.error.summary),(0,a.h)("h3",null,"Learn more"),(0,a.h)("ul",null,(0,a.h)("li",null,(0,a.h)("a",{href:"#",onClick:this.props.problemDescriptionButtonClicked},"Learn what this error means")),(0,a.h)("li",null,(0,a.h)("a",{href:"#",onClick:this.props.solutionDescriptionButtonClicked},"Learn how to solve this error"))),(0,a.h)("h3",null,"Additional information"),(0,a.h)("p",null,"Error ID: ",this.props.spec.error.id),(0,a.h)("pre",null,this.props.spec.error.aux_details))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(20);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.getStatusLabelAndClass(),t=e[0],n=e[1];return(0,a.h)("div",{className:"system-component-view "+n},(0,a.h)("div",{className:"icon"},this.getIcon()),(0,a.h)("div",{className:"name"},this.props.children),(0,a.h)("div",{className:"status-icon"},this.getStatusIcon()),(0,a.h)("div",{className:"status-label"},t))}},{key:"getIcon",value:function(){return"APP_SERVER"==this.props.type?this.getCoreServerIcon():"PREPARATION_WORK"==this.props.type?this.getPreparationWorkIcon():"APP"==this.props.type?this.getAppIcon():(0,a.h)("span",{class:"glyphicon glyphicon-asterisk","aria-hidden":"true"})}},{key:"getStatusIcon",value:function(){return"WORKING"===this.props.status||"DONE"==this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-ok","aria-hidden":"true"}):"ERROR"===this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-remove","aria-hidden":"true"}):"NOT_REACHED"===this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-minus-sign","aria-hidden":"true"}):(0,a.h)("span",{class:"glyphicon glyphicon-question-sign","aria-hidden":"true"})}},{key:"getStatusLabelAndClass",value:function(){return"WORKING"===this.props.status?["Working","working"]:"DONE"===this.props.status?["Done","done"]:"ERROR"===this.props.status?["Error","error"]:"NOT_REACHED"===this.props.status?["Not reached","not_reached"]:["Unknown","unknown"]}},{key:"getCoreServerIcon",value:function(){return(0,a.h)("svg",{width:"76px",height:"64px",viewBox:"0 0 76 64",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"linearGradient-1"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{id:"64"},(0,a.h)("path",{d:"M40.0317529,63.6095765 L35.7398406,63.6095765 C35.4232667,63.6095765 35.1234596,63.4559002 34.9378267,63.1985725 L31.1337497,57.9027436 C31.054706,57.7938895 30.9992157,57.6694278 30.9700734,57.534961 L30.882247,57.12996 L30.7616855,57.0303105 C30.5413213,57.4329103 30.1357234,57.9359601 29.4742315,57.9871855 C29.0802108,58.0176006 27.3528268,57.9999919 26.628659,57.9903871 C26.3943224,57.9875857 26.1675708,57.9003424 25.9899221,57.7442649 L19.7913804,52.3187716 C19.6001586,52.1514886 19.4819923,51.9209742 19.4572412,51.6696494 L18.9566312,46.6511582 L16.6288347,44.5112959 C16.3917036,44.3536176 16.0352087,43.9926384 16.0352087,43.2554725 C16.0352087,42.9449183 15.9481808,40.1203162 15.8918921,38.3538393 L14.5617226,37.4321818 C14.2942516,37.2460894 14.1349666,36.941138 14.1349666,36.6165769 L14.1349666,31.794183 C14.1349666,31.3255504 14.4399634,30.7292543 15.108641,30.5283546 C15.2256097,30.4919365 16.1094618,30.1209524 17.3705678,29.5714796 C17.2300457,29.1188549 16.8963057,28.1823901 16.4711465,27.0710384 C16.3441976,26.931369 16.2352131,26.834521 16.1928968,26.8049063 C15.9326115,26.6792439 14.4806829,25.7615883 0.618097645,16.3132981 C0.469990543,16.212448 0.35182423,16.0723785 0.276373442,15.9082971 C0.194535286,15.7310091 -0.0657499724,15.0938928 0.0156889734,14.3579274 C0.0747721301,13.825263 0.486358174,11.8838993 0.660813171,11.0742974 C0.697540539,10.9070144 0.7757858,10.7525377 0.887165535,10.6264751 C1.27759342,10.1834552 1.9825992,9.81167062 2.79060129,10.0958117 C3.28522312,10.2710987 19.4967631,15.6889882 21.8333422,16.4693756 C21.855698,16.4349585 21.8808483,16.3925374 21.908793,16.3409118 C22.4165888,15.39044 24.3288072,13.7620316 24.9032711,13.2857952 C25.0697419,13.1473265 25.2721416,13.0692877 25.4889129,13.0592828 L25.8737519,13.0432748 C26.6334495,12.3209162 28.815135,10.4543897 31.5920433,9.88250579 C31.5924425,9.88130519 31.5928418,9.8801046 31.5936402,9.878904 C31.7213875,9.56514825 32.588872,5.90012889 33.5685346,1.53716307 C33.5944833,1.41750366 33.6447838,1.30224645 33.7170409,1.19579361 C33.976927,0.815204677 34.3933035,0.329763698 34.902297,0.176887809 C35.0017004,0.146872909 35.2943217,0.0588292035 37.4456672,0.0188093372 L37.4456672,0 L37.856854,0.0108053639 L37.8855972,0.411004027 L37.9003679,0.0112055626 L38.3055666,0.00520258262 L38.3059658,0.0184091385 C40.4752758,0.0580288062 40.7694939,0.146872909 40.8696958,0.176887809 C41.3774916,0.329763698 41.7942673,0.815204677 42.0537542,1.19579361 C42.1256121,1.30024546 42.1763118,1.41630307 42.2030589,1.53916406 C43.1831207,5.90132949 44.0506052,9.56634884 44.1787518,9.88170539 C44.179151,9.88210559 44.179151,9.88250579 44.179151,9.88250579 C46.957257,10.4543897 49.138144,12.3209162 49.8978417,13.0432748 L50.2810838,13.0592828 C50.4986535,13.0692877 50.7010532,13.1473265 50.8679232,13.285395 C51.4427864,13.7620316 53.355404,15.3908402 53.8628005,16.341312 C53.890346,16.3925374 53.9154963,16.4349585 53.9382513,16.4697758 C56.3255302,15.6717796 72.4943546,10.2678971 72.980593,10.0958117 C73.7885951,9.81167062 74.4936009,10.1834552 74.8848272,10.6268753 C74.9966061,10.7533381 75.0744522,10.908215 75.1103811,11.0738972 C75.2461127,11.7014087 75.6932285,13.7932471 75.7555053,14.3579274 C75.8373435,15.0970944 75.5762598,15.7322096 75.4944217,15.9094977 C75.4201685,16.0719783 75.3020022,16.2116476 75.1538951,16.3128979 C60.9707438,25.9792964 59.7787012,26.7168626 59.5623291,26.81251 C59.5435662,26.8277176 59.4329849,26.9249659 59.3000478,27.0710384 C58.8708965,28.1939958 58.5351604,29.1368639 58.397832,29.570279 C59.6617325,30.1209524 60.546383,30.4919365 60.6645493,30.5287548 C61.3316301,30.7296545 61.6362277,31.3255504 61.6362277,31.794183 L61.6362277,36.6165769 C61.6362277,36.941138 61.4773419,37.2460894 61.2106693,37.4317816 L59.8793022,38.3538393 C59.8230136,40.1203162 59.7359857,42.9449183 59.7359857,43.2554725 C59.7359857,43.9922382 59.3798899,44.3532174 59.143158,44.5112959 L56.8145631,46.6511582 L56.3139531,51.6700496 C56.2892021,51.9213744 56.1710357,52.1514886 55.9810115,52.3183714 L49.7804738,57.7450653 C49.6044219,57.9003424 49.3772711,57.9875857 49.1417369,57.9903871 C48.4187667,57.9999919 46.691782,58.0172004 46.297362,57.9871855 C45.6366686,57.9359601 45.2306715,57.4329103 45.0099081,57.0299103 L44.8893465,57.12996 L44.8019194,57.5337604 C44.7723778,57.6694278 44.7168875,57.7938895 44.6370454,57.9039442 L40.8337668,63.1977721 C40.6485332,63.4555 40.3487261,63.6095765 40.0317529,63.6095765",id:"Fill-1",fill:"url(#linearGradient-1)"}),(0,a.h)("path",{d:"M49.1630548,41.072749 C49.1630548,41.072749 48.6879943,49.7638633 48.3079458,54.1452383 C48.3079458,54.1452383 48.1893803,55.0260756 47.7378732,55.1453348 C47.2867653,55.2641938 47.4292835,53.5021191 47.4292835,53.5021191 L48.0704156,41.191608 C48.0704156,41.191608 48.2368864,40.4536416 48.7119469,40.4300299 C49.3055729,40.4292295 49.1630548,41.072749 49.1630548,41.072749",id:"Fill-5",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M46.6571704,36.4414499 C46.6571704,36.4414499 47.500303,37.8345415 46.3601578,39.7871108 C45.2200126,41.7392798 42.5361202,40.2749529 42.5361202,40.2749529 C42.5361202,40.2749529 41.0039503,39.4297334 42.6431087,38.3700073 C44.2818678,37.3106814 45.8850973,36.4414499 45.8850973,36.4414499 C45.8850973,36.4414499 46.5058696,36.0872741 46.6571704,36.4414499",id:"Fill-7",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M49.2818199,37.3701109 C49.4007846,37.7270882 49.7213507,37.3701109 49.7213507,37.3701109 L51.8826764,34.8580639 L52.0607243,34.4174452 C52.0607243,34.4174452 52.1202067,33.6674729 52.084677,33.4769783 C52.0491472,33.2864838 52.1557364,33.1912365 52.1557364,33.1912365 C52.1557364,33.1912365 55.6001248,28.9887503 55.7186903,28.5957553 C55.837655,28.2027602 55.6001248,28.2980075 55.6001248,28.2980075 C52.6307969,29.940823 51.0990262,31.0481727 51.0990262,31.0481727 C51.0990262,31.0481727 48.2247105,33.2508661 48.0111328,33.4769783 C47.797156,33.7030906 48.0111328,33.9888324 48.0111328,33.9888324",id:"Fill-9",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M54.6340353,38.5431332 L53.398878,49.8907663 C53.398878,49.8907663 53.4304156,50.2085241 53.2088538,50.5258816 C52.9872919,50.8432392 49.376832,54.2405256 49.376832,54.2405256 C49.376832,54.2405256 49.1692425,54.4942516 49.1780252,53.637026 C49.1868078,52.7798005 49.7253428,48.747799 49.7568804,40.5885486 L49.8203549,40.0178653 C49.8203549,40.0178653 49.8518925,39.5408285 50.1684665,39.2550867 C50.4854396,38.9693448 53.6523767,35.381964 53.6523767,35.381964 C53.6523767,35.381964 53.9054761,35.1914694 53.9054761,34.8737117 L53.9054761,33.2228922 C53.9054761,33.2228922 53.8424009,32.873919 54.348999,32.4929299 C54.8555972,32.1119407 55.5841564,31.7309516 55.5841564,31.7309516 L59.0996042,32.5245456 C59.0996042,32.5245456 59.3846405,32.6197928 59.3846405,33.1596608 L59.3846405,35.0325906 C59.3846405,35.0325906 59.3527036,35.4135797 58.9726552,35.6677059 C58.5926068,35.9214318 54.6340353,38.5431332 54.6340353,38.5431332",id:"Fill-11",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M66.7953051,18.8092171 L46.1150026,31.3182267 C46.1150026,31.3182267 44.9668732,32.1038167 45.322969,30.873606 C45.6714797,29.4765125 46.5900631,26.5242469 46.5900631,26.5242469 C46.5900631,26.5242469 46.707431,26.0824276 46.9573368,25.9207474 C47.539785,25.6350055 58.6641853,20.1983067 59.0677871,19.9838002 C59.4083137,19.8093136 59.7013342,19.1585905 59.7013342,19.1585905 L60.5772021,17.4313331 C60.5772021,17.4313331 60.7253092,17.2576469 60.9480686,17.175206 C61.1708281,17.092765 67.5869396,14.713584 67.5869396,14.713584 C67.5869396,14.713584 68.0304624,14.459858 67.8719759,14.9677101 C67.7138885,15.4755622 67.238828,18.2061177 67.238828,18.2061177 C67.238828,18.2061177 67.1861322,18.5730999 66.7953051,18.8092171",id:"Fill-13",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M59.4953815,18.1187143 L59.067827,18.951928 C59.067827,18.951928 58.8542494,19.4045526 58.4027423,19.6662826 C57.9516344,19.9284127 46.7166528,25.1430013 46.7166528,25.1430013 C46.7166528,25.1430013 46.5421978,25.2622605 46.4076639,24.8096358 C46.2651457,24.262164 45.2567399,23.1428084 45.2567399,23.1428084 C45.2567399,23.1428084 44.9589289,22.7698232 45.5765076,22.5713247 C46.3366044,22.3095947 59.4953815,17.5712426 59.4953815,17.5712426 C59.4953815,17.5712426 59.8159475,17.4940042 59.4953815,18.1187143",id:"Fill-15",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M32.0477022,13.8564785 C29.3438494,15.0222572 27.5789397,16.754317 27.3022868,17.0252515 C27.2527847,17.0740758 27.2156581,17.0072426 27.2156581,17.0072426 L26.3154384,15.9995424 C26.0938766,15.7138005 25.6663221,16.0787817 25.6663221,16.0787817 C24.446734,17.0312545 23.7341432,18.0629667 23.544119,18.3963321 C23.3808419,18.6752706 23.6710679,18.7617135 23.6710679,18.7617135 C23.6710679,18.7617135 29.7989494,20.9363931 30.0524481,20.9840167 C30.5334967,21.127688 30.5722201,21.1100793 30.6524615,20.8267386 C30.6975723,20.6686602 32.1111767,14.4595779 32.1427143,14.1262124 C32.212177,13.7612312 32.0477022,13.8564785 32.0477022,13.8564785",id:"Fill-17",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M52.2271153,18.3964922 C52.0370911,18.0631267 51.3245003,17.0314146 50.1053114,16.0789418 C50.1053114,16.0789418 49.6777569,15.7139606 49.4557958,15.9993022 L48.5555761,17.0074027 C48.5555761,17.0074027 48.5188488,17.0738356 48.4693467,17.0254116 C48.1926938,16.7540769 46.4273849,15.0224173 43.7239312,13.8566386 C43.7239312,13.8566386 43.5594565,13.7613913 43.6289191,14.1263725 C43.6604568,14.459738 45.073662,20.66842 45.1187728,20.8264985 C45.1994133,21.1098392 45.2381367,21.1278481 45.7187862,20.9841768 C45.9722849,20.9365531 52.1005655,18.7614734 52.1005655,18.7614734 C52.1005655,18.7614734 52.3903924,18.6754307 52.2271153,18.3964922",id:"Fill-19",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M40.3746747,17.7853488 L37.8907869,17.7853488 L37.8808066,17.7853488 L35.3969188,17.7853488 C35.3969188,17.7853488 35.0168704,17.7793459 35.0168704,17.568041 C35.0168704,17.3567361 36.1570156,6.23681603 36.1570156,6.23681603 C36.1570156,6.23681603 36.3705932,6.11795702 36.3945459,6.33206331 C36.4180993,6.54656979 36.2787748,13.8209809 36.2787748,13.8209809 C36.2787748,13.8209809 36.2636048,14.0350872 36.537064,14.0470931 C36.7749935,14.0574983 37.6456716,14.0586989 37.8983719,14.0586989 L37.8983719,14.0586989 L37.9319056,14.0586989 L37.9678345,14.0586989 L37.9678345,14.0586989 C38.20776,14.0586989 38.9985961,14.0570981 39.2345295,14.0470931 C39.5075895,14.0350872 39.4928187,13.8209809 39.4928187,13.8209809 C39.4928187,13.8209809 39.3534942,6.54656979 39.3770477,6.33206331 C39.4010003,6.11795702 39.6145779,6.23681603 39.6145779,6.23681603 C39.6145779,6.23681603 40.7547232,17.3567361 40.7547232,17.568041 C40.7547232,17.7793459 40.3746747,17.7853488 40.3746747,17.7853488 M39.8760608,2.85553752 C39.8285548,2.54618395 39.5195658,2.54618395 39.5195658,2.54618395 L37.8983719,2.47454839 L37.8728224,2.47454839 L36.2520277,2.54618395 C36.2520277,2.54618395 35.9430388,2.54618395 35.8955327,2.85553752 C35.8480267,3.16529129 32.5701091,20.3806372 32.5701091,20.3806372 C32.5701091,20.3806372 32.475097,20.8332619 32.9026515,20.6903909 C34.9302417,19.6702846 37.7794072,19.5974484 37.8855972,19.5950472 C37.9921864,19.5974484 40.8409526,19.6702846 42.8685428,20.6903909 C43.2960973,20.8332619 43.2010852,20.3806372 43.2010852,20.3806372 C43.2010852,20.3806372 39.9235669,3.16529129 39.8760608,2.85553752",id:"Fill-21",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M33.1284449,38.3701674 C31.4896858,37.3104413 29.8860571,36.44161 29.8860571,36.44161 C29.8860571,36.44161 29.265684,36.087034 29.1143832,36.44161 C29.1143832,36.44161 28.2712506,37.8343014 29.4109966,39.7868707 C30.5511418,41.7394399 33.2354334,40.275113 33.2354334,40.275113 C33.2354334,40.275113 34.7672041,39.4298934 33.1284449,38.3701674",id:"Fill-23",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M24.6725673,31.0482127 C24.6725673,31.0482127 23.1403974,29.940863 20.1714688,28.2980475 C20.1714688,28.2980475 19.9339385,28.2028002 20.0529032,28.5957953 C20.1714688,28.9883902 23.6154579,33.1912765 23.6154579,33.1912765 C23.6154579,33.1912765 23.7224463,33.2865238 23.6869166,33.4770184 C23.6513868,33.6675129 23.71047,34.4174852 23.71047,34.4174852 L23.8889171,34.858104 L26.0502428,37.370151 C26.0502428,37.370151 26.3708089,37.7271282 26.4897736,37.370151 L27.7604607,33.9888725 C27.7604607,33.9888725 27.9740383,33.7031306 27.7604607,33.4770184 C27.5464839,33.2509061 24.6725673,31.0482127 24.6725673,31.0482127",id:"Fill-25",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M28.34231,53.5022391 L27.7011779,41.191728 C27.7011779,41.191728 27.5347072,40.4537617 27.0596466,40.4297498 C26.4660206,40.4293496 26.6085388,41.072869 26.6085388,41.072869 C26.6085388,41.072869 27.0835993,49.7639834 27.4636477,54.1449582 C27.4636477,54.1449582 27.5822132,55.0261956 28.0337203,55.1450546 C28.4848282,55.2643138 28.34231,53.5022391 28.34231,53.5022391",id:"Fill-27",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M26.0145933,40.5885886 L25.9511189,40.0179053 C25.9511189,40.0179053 25.9195812,39.5408685 25.6030073,39.2551267 C25.2860341,38.9693848 22.1190971,35.382004 22.1190971,35.382004 C22.1190971,35.382004 21.8659976,35.1915095 21.8659976,34.8737517 L21.8659976,33.2229322 C21.8659976,33.2229322 21.9290729,32.8735588 21.4224748,32.4925697 C20.9158766,32.1119807 20.1873174,31.7309916 20.1873174,31.7309916 L16.6718696,32.5245856 C16.6718696,32.5245856 16.3868333,32.6198329 16.3868333,33.1593007 L16.3868333,35.0326306 C16.3868333,35.0326306 16.4187701,35.4136197 16.7988185,35.6677459 C17.1788669,35.9214718 21.1374384,38.5431733 21.1374384,38.5431733 L22.3725958,49.8908064 C22.3725958,49.8908064 22.3410582,50.2081639 22.56262,50.5259216 C22.7841818,50.8432792 26.3946418,54.2405656 26.3946418,54.2405656 C26.3946418,54.2405656 26.6022312,54.4942916 26.5934486,53.637066 C26.584666,52.7798405 26.046131,48.747839 26.0145933,40.5885886",id:"Fill-29",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M30.448385,30.873606 C30.0998743,29.4765125 29.1816901,26.5242469 29.1816901,26.5242469 C29.1816901,26.5242469 29.063923,26.0824276 28.8140172,25.9207474 C28.231569,25.6350055 17.1075679,20.1983067 16.7035669,19.9838002 C16.3630403,19.8093136 16.070419,19.1585905 16.070419,19.1585905 L15.1941519,17.4313331 C15.1941519,17.4313331 15.0460448,17.2576469 14.8232854,17.175206 C14.6005259,17.092765 8.18441444,14.713584 8.18441444,14.713584 C8.18441444,14.713584 7.74089155,14.459858 7.89937813,14.9677101 C8.05786471,15.4755622 8.53292522,18.2061177 8.53292522,18.2061177 C8.53292522,18.2061177 8.58562101,18.5730999 8.9760489,18.8092171 L29.6563514,31.3182267 C29.6563514,31.3182267 30.8044808,32.1038167 30.448385,30.873606",id:"Fill-31",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M16.7036068,18.952088 C16.7036068,18.952088 16.9171844,19.4043125 17.3686915,19.6664426 C17.8197994,19.9281726 29.054781,25.1431613 29.054781,25.1431613 C29.054781,25.1431613 29.229236,25.2620204 29.36377,24.8097959 C29.5062881,24.2619239 30.5146939,23.1425682 30.5146939,23.1425682 C30.5146939,23.1425682 30.812505,22.7699833 30.1949263,22.5714847 C29.4348295,22.3093546 16.2760524,17.5710024 16.2760524,17.5710024 C16.2760524,17.5710024 15.9554863,17.4941643 16.2760524,18.1188744 L16.7036068,18.952088 Z",id:"Fill-33",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M37.8857169,32.1730511 C35.663312,32.1322308 33.7814336,30.3161293 33.7814336,28.0798191 C33.7814336,25.843509 35.663312,24.0274075 37.8857169,23.9865872 C40.1081219,24.0274075 41.9900003,25.843509 41.9900003,28.0798191 C41.9900003,30.3161293 40.1081219,32.1322308 37.8857169,32.1730511 M45.3549457,25.5241505 C42.9141726,21.123566 38.4194614,21.236422 37.8857169,21.2664369 C37.3519725,21.236422 32.8572612,21.123566 30.4164881,25.5241505 C30.4164881,25.5241505 30.2899384,25.8255001 30.2899384,26.0636183 C30.2899384,26.3017365 32.7287154,35.1753414 32.7287154,35.1753414 C32.7287154,35.1753414 32.7762215,35.2865967 32.9818149,35.5883465 C33.1878075,35.8896961 35.6265846,37.6677787 35.6265846,37.6677787 C35.6265846,37.6677787 35.8006404,37.9058969 36.4182191,37.9375126 C36.9483706,37.9647261 37.6869101,37.9455166 37.8857169,37.9391134 C38.0845238,37.9455166 38.8230632,37.9647261 39.3532148,37.9375126 C39.9707935,37.9058969 40.1448492,37.6677787 40.1448492,37.6677787 C40.1448492,37.6677787 42.5836263,35.8896961 42.7896189,35.5883465 C42.9952123,35.2865967 43.0427184,35.1753414 43.0427184,35.1753414 C43.0427184,35.1753414 45.4814955,26.3017365 45.4814955,26.0636183 C45.4814955,25.8255001 45.3549457,25.5241505 45.3549457,25.5241505",id:"Fill-35",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M46.1148429,51.795752 L46.1148429,49.6050645 C46.1148429,49.3193227 45.8138382,49.6210725 45.8138382,49.6210725 L44.3730874,50.6687926 C43.9135961,51.0337737 43.5810538,50.7640398 43.5810538,50.7640398 C43.5810538,50.7640398 42.0293225,49.1764517 41.8077607,48.8590942 C41.5861988,48.5417367 41.2851941,48.5733524 41.2851941,48.5733524 L34.4862398,48.5733524 C34.4862398,48.5733524 34.185235,48.5417367 33.9636732,48.8590942 C33.7421113,49.1764517 32.1903801,50.7640398 32.1903801,50.7640398 C32.1903801,50.7640398 31.8578377,51.0337737 31.3983464,50.6687926 L29.9575956,49.6210725 C29.9575956,49.6210725 29.6565909,49.3193227 29.6565909,49.6050645 L29.6565909,51.795752 C29.6565909,51.795752 29.6406225,52.2083568 29.9891333,52.4784909 C30.337644,52.7482248 32.7919903,54.4150522 32.7919903,54.4150522 C32.7919903,54.4150522 33.2650548,54.6807842 33.5995932,54.0024474 L35.1197868,51.255884 C35.1197868,51.255884 35.2147989,51.0337737 35.8004408,51.0177658 C36.3250034,51.0037588 39.4332565,51.0033586 39.9709931,51.0177658 C40.5566349,51.0337737 40.651647,51.255884 40.651647,51.255884 L42.1718407,54.0024474 C42.5063791,54.6807842 42.9794435,54.4150522 42.9794435,54.4150522 C42.9794435,54.4150522 45.4337898,52.7482248 45.7823006,52.4784909 C46.1308114,52.2083568 46.1148429,51.795752 46.1148429,51.795752",id:"Fill-37",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M45.9958383,41.7191899 L43.918746,42.6184363 C43.9159515,42.6196369 43.913157,42.6208375 43.9103625,42.6224383 C43.8640541,42.6508524 43.342286,42.9477998 42.6468612,42.4935743 C42.6468612,42.4935743 38.5517598,40.0179454 37.9796911,40.0179454 C37.9764974,40.0179454 37.9737029,40.019146 37.9705092,40.0195462 C37.9677148,40.0195462 37.9653195,40.0179454 37.9621258,40.0179454 L37.7401648,40.0179454 C37.7210027,40.0179454 37.7042358,40.0247487 37.6886666,40.0335531 C36.8447356,40.2444578 33.1244928,42.4935743 33.1244928,42.4935743 C32.4294672,42.9477998 31.9072999,42.6508524 31.8609915,42.6224383 C31.858197,42.6208375 31.8558017,42.6196369 31.852608,42.6184363 L29.7755157,41.7191899 C29.770326,41.7167887 29.0281936,41.2929783 29.0549407,41.9376983 C29.0569368,41.985322 29.4665268,47.2559384 29.4665268,47.2559384 C29.4816968,48.1847995 29.8349981,48.4489306 29.8749191,48.4757439 C29.8769152,48.4773447 29.8789112,48.4781451 29.8813065,48.4797459 L30.9819299,49.0784431 C30.9851236,49.0804441 31.5875323,49.4514282 31.8474183,49.229318 C31.8534065,49.2241154 31.8597938,49.2221144 31.865782,49.2169118 C31.9316517,49.1556814 32.3899454,48.7218661 32.7129067,48.1924033 C33.0478443,47.6429305 33.5879762,47.5925055 33.6286956,47.5893039 C33.6306917,47.5893039 33.6322885,47.5889037 33.6338854,47.5889037 L42.1374686,47.5889037 C42.1394647,47.5889037 42.1410615,47.5893039 42.1426584,47.5893039 C42.183777,47.5925055 42.7235097,47.6429305 43.0588465,48.1924033 C43.3814086,48.7218661 43.8401015,49.1556814 43.9059712,49.2169118 C43.9115602,49.2221144 43.9183467,49.2241154 43.9243349,49.229318 C44.1838217,49.4514282 44.7862304,49.0804441 44.7894241,49.0784431 L45.8904467,48.4797459 C45.892842,48.4781451 45.8944388,48.4773447 45.8968341,48.4757439 C45.9363559,48.4489306 46.2900564,48.1847995 46.3048272,47.2559384 C46.3048272,47.2559384 46.7144172,41.985322 46.7164133,41.9376983 C46.7431604,41.2929783 46.0014272,41.7167887 45.9958383,41.7191899",id:"Fill-39",fill:"#F6F6F6"}))))}},{key:"getPreparationWorkIcon",value:function(){return(0,a.h)("svg",{width:"60px",height:"63px",viewBox:"0 0 60 63",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("path",{d:"M14.4973229,0.57613464 L14.4973229,0.57613464 L14.4973229,0.57613464 C15.7389717,0.483042186 16.8213633,1.4132827 16.9159945,2.65481525 L17.018698,4.0022539 C19.48808,4.31319289 21.7290427,5.43245748 23.4489057,7.1006423 L25.501023,5.70083779 L25.501023,5.70083779 C26.5297293,4.99912951 27.9324051,5.26330879 28.6353673,6.29115865 L28.6353673,6.29115865 L28.6353673,6.29115865 C29.3374289,7.31769165 29.0743928,8.71899441 28.0478598,9.42105596 C28.0472866,9.42144796 28.0467133,9.42183969 28.0461397,9.42223115 L25.9825488,10.8307522 C26.4405558,11.9204863 26.7542672,13.0895474 26.8489064,14.3315663 C26.9441298,15.5735852 26.8121023,16.7773881 26.5246796,17.921551 L28.7834642,19.0089268 L28.7834642,19.0089268 C29.9037141,19.5482136 30.3750531,20.8932569 29.8364672,22.013844 L29.8364672,22.013844 L29.8364672,22.013844 C29.2980038,23.1341764 27.9532841,23.6058744 26.8329517,23.0674109 C26.8329218,23.0673966 26.8328919,23.0673822 26.832862,23.0673679 L24.5863286,21.9874982 C23.1386994,23.8930852 21.0940254,25.3342903 18.7011726,26.0105971 L18.8039409,27.3588855 L18.8039409,27.3588855 C18.8983997,28.5981567 17.9703459,29.6793586 16.7310746,29.7738175 C16.7302653,29.7738792 16.7294558,29.7739404 16.7286464,29.7740012 L16.7286464,29.7740012 L16.7286464,29.7740012 C15.4874259,29.8672578 14.405203,28.9376026 14.3102175,27.6965132 L14.2069792,26.3475925 C11.7381814,26.0360744 9.49780284,24.9173889 7.77677152,23.2492041 L5.7247553,24.6491485 L5.7247553,24.6491485 C4.69629315,25.350795 3.29387177,25.0868194 2.59089406,24.0592667 L2.59089406,24.0592667 L2.59089406,24.0592667 C1.88884172,23.0330667 2.15161535,21.6320413 3.17781539,20.929989 C3.1783965,20.9295914 3.17897779,20.9291942 3.17955927,20.9287972 L5.24429672,19.5190942 C4.78570555,18.4305182 4.47199414,17.260878 4.37677075,16.0182801 C4.28213156,14.7768402 4.41474327,13.5736163 4.70216601,12.4282954 L2.44258307,11.3415899 L2.44258307,11.3415899 C1.32193216,10.8026332 0.850231251,9.45736218 1.38891784,8.33658138 L1.38891784,8.33658138 L1.38891784,8.33658138 C1.92748633,7.2160463 3.27245552,6.74426916 4.39299061,7.28283765 C4.39309115,7.28288597 4.39319169,7.2829343 4.39329222,7.28298264 L6.63934858,8.36292724 C8.08697778,6.4573402 10.1310676,5.01613506 12.5250888,4.33924924 L12.421943,2.99175511 L12.421943,2.99175511 C12.3270934,1.75264107 13.254703,0.671249865 14.493817,0.576400243 C14.4949856,0.576310796 14.4961542,0.576222261 14.4973229,0.57613464 Z M8.93931474,15.8092503 C9.2097959,19.3477014 12.1663945,22.0401899 15.6592819,22.0407689 C15.8292819,22.0407689 15.9998662,22.0343996 16.1716188,22.0210819 C19.8841626,21.7431476 22.6631667,18.5104243 22.3798333,14.8005804 C22.0964999,11.0901575 18.8577362,8.30965649 15.1451924,8.58874885 C11.433817,8.86726218 8.65539715,12.0994065 8.93931474,15.8092503 Z",id:"path-1"}),(0,a.h)("linearGradient",{x1:"50%",y1:"15.6382541%",x2:"50%",y2:"140.143913%",id:"linearGradient-3"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"})),(0,a.h)("polygon",{id:"path-4",points:"0.11958422 43.4272341 39.5907306 43.4272341 39.5907306 0.274518023 0.11958422 0.274518023 0.11958422 43.4272341"}),(0,a.h)("linearGradient",{x1:"50%",y1:"-42.489415%",x2:"50%",y2:"100%",id:"linearGradient-6"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"})),(0,a.h)("path",{d:"M14.9556219,14.9517072 L14.9556219,14.9517072 L14.9556219,14.9517072 C14.4428638,15.4204211 13.6473938,15.3853707 13.1778483,14.873374 L12.2481815,13.859657 C11.1014115,14.5469654 9.74374791,14.8712221 8.36505344,14.7293598 L8.13563373,15.4494351 L8.13563373,15.4494351 C7.92518674,16.1099612 7.22061964,16.4763434 6.55902211,16.2692895 L6.55902211,16.2692895 L6.55902211,16.2692895 C5.90179748,16.0636041 5.53575255,15.3640774 5.74143789,14.7068528 C5.74207508,14.7048167 5.74271751,14.7027823 5.74336515,14.7007496 L5.97278486,13.9806742 C4.76175366,13.3124739 3.8381452,12.2736944 3.29835126,11.0588899 L1.93918358,11.3619848 L1.93918358,11.3619848 C1.26646216,11.5120019 0.599500784,11.0882663 0.449483669,10.4155449 C0.449207184,10.4143051 0.448932593,10.4130648 0.448659896,10.4118241 L0.448659896,10.4118241 L0.448659896,10.4118241 C0.30009348,9.73589873 0.726203899,9.06713019 1.40160583,8.91620181 L2.7684886,8.61075198 C2.75972571,7.9541322 2.84209686,7.2853528 3.05299038,6.62352175 C3.26329971,5.96226973 3.58343724,5.36818517 3.97134111,4.83547776 L3.03641137,3.81568872 L3.03641137,3.81568872 C2.56784991,3.30459807 2.60232663,2.51043311 3.11341728,2.04187165 C3.11391608,2.04141435 3.11441526,2.04095746 3.1149148,2.04050097 L3.1149148,2.04050097 L3.1149148,2.04050097 C3.62785783,1.57176559 4.42347869,1.60688511 4.89312629,2.11899306 L5.82264737,3.13255116 C6.96941739,2.4452428 8.32708093,2.12040709 9.7051912,2.26226938 L9.93442176,1.54300535 L9.93442176,1.54300535 C10.144983,0.882320592 10.8497253,0.515855343 11.5115146,0.722918691 L11.5115146,0.722918691 L11.5115146,0.722918691 C12.1687965,0.928571712 12.534914,1.62811864 12.329261,2.28540049 C12.3286044,2.28749903 12.3279422,2.28959583 12.3272745,2.29169086 L12.098044,3.0109549 C13.308491,3.67915528 14.2320994,4.71793472 14.7724776,5.93331824 L16.1314275,5.62996705 L16.1314275,5.62996705 C16.8040917,5.4798118 17.4711186,5.90338894 17.6212738,6.57605308 C17.6215744,6.57739973 17.6218728,6.57874688 17.6221689,6.58009452 L17.6221689,6.58009452 L17.6221689,6.58009452 C17.7707262,7.2561383 17.344428,7.92497222 16.6688758,8.07574904 L15.301756,8.38087716 C15.3111031,9.03807597 15.2281478,9.70685537 15.0178385,10.3681074 C14.8075291,11.0293594 14.4873916,11.624023 14.0994877,12.1567304 L15.0341301,13.1765398 L15.0341301,13.1765398 C15.5026777,13.6877827 15.4680664,14.4820598 14.9568235,14.9506074 C14.9564232,14.9509743 14.9560227,14.9513409 14.9556219,14.9517072 Z M9.98794041,5.50599426 C8.33525962,4.98892066 6.57041386,5.90841996 6.04464055,7.55981292 C5.51828304,9.21120588 6.43079184,10.9685613 8.08288843,11.4856349 C9.73498503,12.0027085 11.5009992,11.0837882 12.0267725,9.43239525 C12.5525458,7.78042327 11.640037,6.02306786 9.98794041,5.50599426 Z",id:"path-7"}),(0,a.h)("linearGradient",{x1:"50%",y1:"-80.5345186%",x2:"50%",y2:"100%",id:"linearGradient-9"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{transform:"translate(-1.000000, 0.000000)"},(0,a.h)("g",{id:"Group-5",transform:"translate(0.000000, 0.300516)"},(0,a.h)("mask",{id:"mask-2",fill:"white"},(0,a.h)("use",{href:"#path-1"})),(0,a.h)("g",{id:"Clip-4"}),(0,a.h)("polygon",{id:"Fill-3",fill:"url(#linearGradient-3)",mask:"url(#mask-2)",points:"-5.33017303 39.3361571 39.98915 35.933778 36.5564344 -8.9861949 -8.76288858 -5.58381586"})),(0,a.h)("g",{id:"Group-15",transform:"translate(2.920963, 19.408499)"},(0,a.h)("g",{id:"Group-8",transform:"translate(19.278355, 0.000000)"},(0,a.h)("mask",{id:"mask-5",fill:"white"},(0,a.h)("use",{href:"#path-4"})),(0,a.h)("g",{id:"Clip-7"}),(0,a.h)("path",{d:"M37.1135237,9.019334 L37.2064838,9.14183334 L37.2064838,9.14183334 C38.2080665,10.4616811 37.9500618,12.3435723 36.6302141,13.345155 C36.61783,13.3545529 36.6053729,13.3638543 36.5928442,13.3730585 L33.8385953,15.39646 C35.2500046,18.3356152 35.7167744,21.6974621 35.0303481,24.9950368 L36.8128658,25.7538381 L36.8128658,25.7538381 C38.3373407,26.402793 39.0470898,28.1647059 38.3981349,29.6891808 C38.3955936,29.6951506 38.3930329,29.7011122 38.3904529,29.7070654 L38.3491533,29.8023629 L38.3491533,29.8023629 C37.6932916,31.3157406 35.9387276,32.015813 34.4211959,31.3696211 L32.603028,30.5954129 C30.6629245,33.3591221 27.8809994,35.3382459 24.7584901,36.3469158 L25.1744593,39.7221436 L25.1744593,39.7221436 C25.3771197,41.3665568 24.2083482,42.8639059 22.563935,43.0665663 C22.5547682,43.067696 22.5455963,43.0687834 22.5364196,43.0698284 L22.3493673,43.0911291 L22.3493673,43.0911291 C20.7144126,43.277311 19.2346282,42.1117484 19.0326243,40.478673 L18.605774,37.0278548 C16.9875606,36.8894667 15.3611684,36.526415 13.7856011,35.8553195 C12.2100337,35.184803 10.8260815,34.2658827 9.60979256,33.1975728 L6.76317569,35.28773 L6.76317569,35.28773 C5.44260009,36.257376 3.58833504,35.9882559 2.59789995,34.6831997 L2.50453301,34.5601739 L2.50453301,34.5601739 C1.50290079,33.2403637 1.76083499,31.3584628 3.08064517,30.3568306 C3.09311631,30.347366 3.10566136,30.3379992 3.11827915,30.3287309 L5.87212848,28.3059291 C4.46071922,25.3661949 3.99394936,22.0043479 4.68037563,18.7067733 L2.89778102,17.9477129 L2.89778102,17.9477129 C1.37337593,17.2985941 0.663816144,15.5366049 1.31293488,14.0121998 C1.3154839,14.0062137 1.3180524,14.0002358 1.32064031,13.9942663 L1.36190542,13.8990813 L1.36190542,13.8990813 C2.01792018,12.3858712 3.77242404,11.6859973 5.28984046,12.332223 L7.10769577,13.1063972 C9.04838349,10.342688 11.8297243,8.36356417 14.9522336,7.35489428 L14.5362803,3.9797948 L14.5362803,3.9797948 C14.3336199,2.3353816 15.5023914,0.838032582 17.1468046,0.635372155 C17.1560138,0.634237206 17.1652281,0.633144989 17.1744474,0.632095537 L17.362743,0.610661354 L17.362743,0.610661354 C18.998074,0.424507426 20.4780291,1.59068713 20.679491,3.22420286 L21.1049498,6.67395525 C22.7243316,6.81292239 24.3489712,7.17539504 25.9251227,7.84649057 C27.5012743,8.51758609 28.8863949,9.4370854 30.1009312,10.5042373 L32.9487859,8.41426933 L32.9487859,8.41426933 C34.2694039,7.44510151 36.1232879,7.71443894 37.1135237,9.019334 Z M15.6894847,31.6312972 C21.0576302,33.9173068 27.2600027,31.4946462 29.5477009,26.2179477 C31.8342306,20.9412492 29.3379757,14.8122189 23.9698302,12.5267883 C18.6011004,10.2407787 12.3975595,12.6657555 10.1110298,17.942454 C7.82391586,23.2185734 10.3207549,29.3458666 15.6894847,31.6312972 Z",id:"Fill-6",fill:"url(#linearGradient-6)",mask:"url(#mask-5)"})),(0,a.h)("g",{id:"Group-14",transform:"translate(0.000000, 15.633804)"},(0,a.h)("g",{id:"Group-13"},(0,a.h)("mask",{id:"mask-8",fill:"white"},(0,a.h)("use",{href:"#path-7"})),(0,a.h)("g",{id:"Clip-12"}),(0,a.h)("polygon",{id:"Fill-11",fill:"url(#linearGradient-9)",mask:"url(#mask-8)",points:"-10.0293597 16.6790689 14.1007145 24.2301963 21.7191699 0.312791892 -2.41090433 -7.23833558"})))))))}},{key:"getAppIcon",value:function(){return(0,a.h)("svg",{width:"64px",height:"64px",viewBox:"0 0 64 64",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"linearGradient-1"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{id:"Group-21"},(0,a.h)("path",{d:"M16,10 C16,11.106 16.896,12 18,12 C19.104,12 20,11.106 20,10 C20,8.896 19.104,8 18,8 C16.896,8 16,8.896 16,10 Z M24,10 C24,11.106 24.896,12 26,12 C27.104,12 28,11.106 28,10 C28,8.896 27.104,8 26,8 C24.896,8 24,8.896 24,10 Z M56,60 L8,60 C5.792,60 4,58.208 4,56 L4,18 L60,18 L60,56 C60,58.208 58.208,60 56,60 Z M8,0 C3.582,0 0,3.582 0,8 L0,56 C0,60.418 3.582,64 8,64 L56,64 C60.418,64 64,60.418 64,56 L64,16 C64,11.582 60.418,8 56,8 L43.4909668,8 C33.5795898,8 38.9165039,0 28.5126953,0 L8,0 Z M8,10 C8,11.106 8.896,12 10,12 C11.104,12 12,11.106 12,10 C12,8.896 11.104,8 10,8 C8.896,8 8,8.896 8,10 Z",id:"Fill-109",fill:"url(#linearGradient-1)"}),(0,a.h)("path",{d:"M15.2918884,33.9521484 L17.6908142,33.9521484 L19.0687439,40.4682617 L20.4798767,33.9521484 L22.9452087,33.9521484 L20.3221619,43 L17.8900329,43 L16.4705994,36.4091797 L15.0345642,43 L12.5775329,43 L10.0374939,33.9521484 L12.5775329,33.9521484 L13.9886658,40.4433594 L15.2918884,33.9521484 Z M30.0110331,33.9521484 L32.4099589,33.9521484 L33.7878886,40.4682617 L35.1990214,33.9521484 L37.6643534,33.9521484 L35.0413066,43 L32.6091776,43 L31.1897441,36.4091797 L29.7537089,43 L27.2966776,43 L24.7566386,33.9521484 L27.2966776,33.9521484 L28.7078105,40.4433594 L30.0110331,33.9521484 Z M44.7301778,33.9521484 L47.1291036,33.9521484 L48.5070333,40.4682617 L49.9181661,33.9521484 L52.3834981,33.9521484 L49.7604513,43 L47.3283224,43 L45.9088888,36.4091797 L44.4728536,43 L42.0158224,43 L39.4757833,33.9521484 L42.0158224,33.9521484 L43.4269552,40.4433594 L44.7301778,33.9521484 Z",id:"www",fill:"#5C606C"}))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=n(14),u=function(e){return e&&e.__esModule?e:{default:e}}(l);n(21);var c=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return this.props.collapsed?this.renderCollapsed():this.renderExpanded()}},{key:"renderCollapsed",value:function(){return(0,a.h)("div",{className:"system-components collapsed"},"...")}},{key:"renderExpanded",value:function(){return(0,a.h)("div",{className:"system-components row"},(0,a.h)("div",{className:"col-sm-3"},(0,a.h)(u.default,{type:"APP_SERVER",status:"WORKING"},this.props.spec.short_program_name," ",(0,a.h)("br",{class:"hidden-xs"}),"application server")),(0,a.h)("div",{className:"col-sm-1"},this.buildDivider()),(0,a.h)("div",{className:"col-sm-4"},(0,a.h)(u.default,{type:"PREPARATION_WORK",status:this.getPreparationWorkStatus()},"Preparation work"," ",(0,a.h)("br",{class:"hidden-xs"}),"before executing the app")),(0,a.h)("div",{className:"col-sm-1"},this.buildDivider()),(0,a.h)("div",{className:"col-sm-3"},(0,a.h)(u.default,{type:"APP",status:this.getWebAppStatus()},"Web"," ",(0,a.h)("br",{class:"hidden-xs"}),"application")))}},{key:"getGeneralSystemStatus",value:function(){var e=this.props.spec.journey;return e.steps.SUBPROCESS_APP_LOAD_OR_EXEC&&"STEP_ERRORED"===e.steps.SUBPROCESS_APP_LOAD_OR_EXEC.state?"app-error":e.steps.SUBPROCESS_LISTEN&&"STEP_ERRORED"===e.steps.SUBPROCESS_LISTEN.state?"app-error":"preparation-error"}},{key:"getPreparationWorkStatus",value:function(){return"app-error"===this.getGeneralSystemStatus()?"DONE":"ERROR"}},{key:"getWebAppStatus",value:function(){return"app-error"===this.getGeneralSystemStatus()?"ERROR":"NOT_REACHED"}},{key:"buildDivider",value:function(){return(0,a.h)("div",{className:"divider"},(0,a.h)("span",{className:"glyphicon glyphicon-menu-right hidden-xs","aria-hidden":"true"}),(0,a.h)("div",{className:"visible-xs"}))}}]),t}(a.Component);t.default=c},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};/*!
|
24
|
+
function(e){function t(e,t,n,r){var o,i,s,a,l,c,f,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:H)!==O&&P(t),t=t||O,R)){if(11!==h&&(l=ye.exec(e)))if(o=l[1]){if(9===h){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(d&&(s=d.getElementById(o))&&I(t,s)&&s.id===o)return n.push(s),n}else{if(l[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&C.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(o)),n}if(C.qsa&&!$[e+" "]&&(!j||!j.test(e))){if(1!==h)d=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(be,Ce):t.setAttribute("id",a=M),c=S(e),i=c.length;i--;)c[i]="#"+a+" "+p(c[i]);f=c.join(","),d=me.test(e)&&u(t.parentNode)||t}if(f)try{return Z.apply(n,d.querySelectorAll(f)),n}catch(e){}finally{a===M&&t.removeAttribute("id")}}}return N(e.replace(ie,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>_.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[M]=!0,e}function o(e){var t=O.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)_.attrHandle[n[r]]=t}function s(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 a(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&we(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function p(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function f(e,t,n){var r=t.dir,o=t.next,i=o||r,s=n&&"parentNode"===i,a=B++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,l){var u,c,p,f=[q,a];if(l){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(p=t[M]||(t[M]={}),c=p[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[i])&&u[0]===q&&u[1]===a)return f[2]=u[2];if(c[i]=f,f[2]=e(t,n,l))return!0}return!1}}function d(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function y(e,t,n,r,o){for(var i,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(i=e[a])&&(n&&!n(i,r,o)||(s.push(i),u&&t.push(a)));return s}function m(e,t,n,o,i,s){return o&&!o[M]&&(o=m(o)),i&&!i[M]&&(i=m(i,s)),r(function(r,s,a,l){var u,c,p,f=[],d=[],m=s.length,v=r||h(t||"*",a.nodeType?[a]:a,[]),g=!e||!r&&t?v:y(v,f,e,a,l),b=n?i||(r?e:m||o)?[]:s:g;if(n&&n(g,b,a,l),o)for(u=y(b,d),o(u,[],a,l),c=u.length;c--;)(p=u[c])&&(b[d[c]]=!(g[d[c]]=p));if(r){if(i||e){if(i){for(u=[],c=b.length;c--;)(p=b[c])&&u.push(g[c]=p);i(null,b=[],u,l)}for(c=b.length;c--;)(p=b[c])&&(u=i?Y(r,p):f[c])>-1&&(r[u]=!(s[u]=p))}}else b=y(b===s?b.splice(m,b.length):b),i?i(null,s,b,l):Z.apply(s,b)})}function v(e){for(var t,n,r,o=e.length,i=_.relative[e[0].type],s=i||_.relative[" "],a=i?1:0,l=f(function(e){return e===t},s,!0),u=f(function(e){return Y(t,e)>-1},s,!0),c=[function(e,n,r){var o=!i&&(r||n!==T)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,o}];a<o;a++)if(n=_.relative[e[a].type])c=[f(d(c),n)];else{if(n=_.filter[e[a].type].apply(null,e[a].matches),n[M]){for(r=++a;r<o&&!_.relative[e[r].type];r++);return m(a>1&&d(c),a>1&&p(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ie,"$1"),n,a<r&&v(e.slice(a,r)),r<o&&v(e=e.slice(r)),r<o&&p(e))}c.push(n)}return d(c)}function g(e,n){var o=n.length>0,i=e.length>0,s=function(r,s,a,l,u){var c,p,f,d=0,h="0",m=r&&[],v=[],g=T,b=r||i&&_.find.TAG("*",u),C=q+=null==g?1:Math.random()||.1,w=b.length;for(u&&(T=s===O||s||u);h!==w&&null!=(c=b[h]);h++){if(i&&c){for(p=0,s||c.ownerDocument===O||(P(c),a=!R);f=e[p++];)if(f(c,s||O,a)){l.push(c);break}u&&(q=C)}o&&((c=!f&&c)&&d--,r&&m.push(c))}if(d+=h,o&&h!==d){for(p=0;f=n[p++];)f(m,v,s,a);if(r){if(d>0)for(;h--;)m[h]||v[h]||(v[h]=X.call(l));v=y(v)}Z.apply(l,v),u&&!r&&v.length>0&&d+n.length>1&&t.uniqueSort(l)}return u&&(q=C,T=g),m};return o?r(s):s}var b,C,_,w,x,S,E,N,T,L,k,P,O,A,R,j,D,F,I,M="sizzle"+1*new Date,H=e.document,q=0,B=0,W=n(),U=n(),$=n(),K=function(e,t){return e===t&&(k=!0),0},G={}.hasOwnProperty,V=[],X=V.pop,z=V.push,Z=V.push,J=V.slice,Y=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",oe=new RegExp(ee+"+","g"),ie=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),se=new RegExp("^"+ee+"*,"+ee+"*"),ae=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(re),ce=new RegExp("^"+te+"$"),pe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,de=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ge=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)},be=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ce=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},_e=function(){P()},we=f(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Z.apply(V=J.call(H.childNodes),H.childNodes),V[H.childNodes.length].nodeType}catch(e){Z={apply:V.length?function(e,t){z.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}C=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},P=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:H;return r!==O&&9===r.nodeType&&r.documentElement?(O=r,A=O.documentElement,R=!x(O),H!==O&&(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",_e,!1):n.attachEvent&&n.attachEvent("onunload",_e)),C.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=o(function(e){return e.appendChild(O.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=he.test(O.getElementsByClassName),C.getById=o(function(e){return A.appendChild(e).id=M,!O.getElementsByName||!O.getElementsByName(M).length}),C.getById?(_.filter.ID=function(e){var t=e.replace(ve,ge);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&R){var n=t.getElementById(e);return n?[n]:[]}}):(_.filter.ID=function(e){var t=e.replace(ve,ge);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&R){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),_.find.TAG=C.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):C.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},_.find.CLASS=C.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&R)return t.getElementsByClassName(e)},D=[],j=[],(C.qsa=he.test(O.querySelectorAll))&&(o(function(e){A.appendChild(e).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||j.push("\\["+ee+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+M+"-]").length||j.push("~="),e.querySelectorAll(":checked").length||j.push(":checked"),e.querySelectorAll("a#"+M+"+*").length||j.push(".#.+[+~]")}),o(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=O.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&j.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&j.push(":enabled",":disabled"),A.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&j.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),j.push(",.*:")})),(C.matchesSelector=he.test(F=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&o(function(e){C.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),D.push("!=",re)}),j=j.length&&new RegExp(j.join("|")),D=D.length&&new RegExp(D.join("|")),t=he.test(A.compareDocumentPosition),I=t||he.test(A.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},K=t?function(e,t){if(e===t)return k=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!C.sortDetached&&t.compareDocumentPosition(e)===n?e===O||e.ownerDocument===H&&I(H,e)?-1:t===O||t.ownerDocument===H&&I(H,t)?1:L?Y(L,e)-Y(L,t):0:4&n?-1:1)}:function(e,t){if(e===t)return k=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!o||!i)return e===O?-1:t===O?1:o?-1:i?1:L?Y(L,e)-Y(L,t):0;if(o===i)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[r]===l[r];)r++;return r?s(a[r],l[r]):a[r]===H?-1:l[r]===H?1:0},O):O},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==O&&P(e),n=n.replace(le,"='$1']"),C.matchesSelector&&R&&!$[n+" "]&&(!D||!D.test(n))&&(!j||!j.test(n)))try{var r=F.call(e,n);if(r||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,O,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==O&&P(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&P(e);var n=_.attrHandle[t.toLowerCase()],r=n&&G.call(_.attrHandle,t.toLowerCase())?n(e,t,!R):void 0;return void 0!==r?r:C.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(be,Ce)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(k=!C.detectDuplicates,L=!C.sortStable&&e.slice(0),e.sort(K),k){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return L=null,e},w=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},_=t.selectors={cacheLength:50,createPseudo:r,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(ve,ge),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,ge),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=S(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(ve,ge).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,y=i!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),g=!l&&!a,b=!1;if(m){if(i){for(;y;){for(f=t;f=f[y];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=y="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&g){for(f=m,p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],d=u[0]===q&&u[1],b=d&&u[2],f=d&&m.childNodes[d];f=++d&&f&&f[y]||(b=d=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[q,d,b];break}}else if(g&&(f=t,p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],d=u[0]===q&&u[1],b=d),!1===b)for(;(f=++d&&f&&f[y]||(b=d=0)||h.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(g&&(p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),c[e]=[q,b]),f!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=_.pseudos[e]||_.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[M]?i(n):i.length>1?(o=[e,e,"",n],_.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),s=o.length;s--;)r=Y(e,o[s]),e[r]=!(t[r]=o[s])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=E(e.replace(ie,"$1"));return o[M]?r(function(e,t,n,r){for(var i,s=o(e,null,r,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ve,ge),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,ge).toLowerCase(),function(t){var n;do{if(n=R?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===A},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.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!_.pseudos.empty(e)},header:function(e){return de.test(e.nodeName)},input:function(e){return fe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},_.pseudos.nth=_.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[b]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(b);for(b in{submit:!0,reset:!0})_.pseudos[b]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(b);return c.prototype=_.filters=_.pseudos,_.setFilters=new c,S=t.tokenize=function(e,n){var r,o,i,s,a,l,u,c=U[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],u=_.preFilter;a;){r&&!(o=se.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(i=[])),r=!1,(o=ae.exec(a))&&(r=o.shift(),i.push({value:r,type:o[0].replace(ie," ")}),a=a.slice(r.length));for(s in _.filter)!(o=pe[s].exec(a))||u[s]&&!(o=u[s](o))||(r=o.shift(),i.push({value:r,type:s,matches:o}),a=a.slice(r.length));if(!r)break}return n?a.length:a?t.error(e):U(e,l).slice(0)},E=t.compile=function(e,t){var n,r=[],o=[],i=$[e+" "];if(!i){for(t||(t=S(e)),n=t.length;n--;)i=v(t[n]),i[M]?r.push(i):o.push(i);i=$(e,g(o,r)),i.selector=e}return i},N=t.select=function(e,t,n,r){var o,i,s,a,l,c="function"==typeof e&&e,f=!r&&S(e=c.selector||e);if(n=n||[],1===f.length){if(i=f[0]=f[0].slice(0),i.length>2&&"ID"===(s=i[0]).type&&9===t.nodeType&&R&&_.relative[i[1].type]){if(!(t=(_.find.ID(s.matches[0].replace(ve,ge),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(s=i[o],!_.relative[a=s.type]);)if((l=_.find[a])&&(r=l(s.matches[0].replace(ve,ge),me.test(i[0].type)&&u(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&p(i)))return Z.apply(n,r),n;break}}return(c||E(e,f))(r,t,!R,n,!t||me.test(e)&&u(t.parentNode)||t),n},C.sortStable=M.split("").sort(K).join("")===M,C.detectDuplicates=!!k,P(),C.sortDetached=o(function(e){return 1&e.compareDocumentPosition(O.createElement("fieldset"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(Q,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(i);be.find=Se,be.expr=Se.selectors,be.expr[":"]=be.expr.pseudos,be.uniqueSort=be.unique=Se.uniqueSort,be.text=Se.getText,be.isXMLDoc=Se.isXML,be.contains=Se.contains,be.escapeSelector=Se.escape;var Ee=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&be(e).is(n))break;r.push(e)}return r},Ne=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Te=be.expr.match.needsContext,Le=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,ke=/^.[^:#\[\.,]*$/;be.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?be.find.matchesSelector(r,e)?[r]:[]:be.find.matches(e,be.grep(t,function(e){return 1===e.nodeType}))},be.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(be(e).filter(function(){for(t=0;t<r;t++)if(be.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)be.find(e,o[t],n);return r>1?be.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&Te.test(e)?be(e):e||[],!1).length}});var Pe,Oe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(be.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Pe,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Oe.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 be?t[0]:t,be.merge(this,be.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ae,!0)),Le.test(r[1])&&be.isPlainObject(t))for(r in t)be.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=ae.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):be.isFunction(e)?void 0!==n.ready?n.ready(e):e(be):be.makeArray(e,this)}).prototype=be.fn,Pe=be(ae);var Ae=/^(?:parents|prev(?:Until|All))/,Re={children:!0,contents:!0,next:!0,prev:!0};be.fn.extend({has:function(e){var t=be(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(be.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],s="string"!=typeof e&&be(e);if(!Te.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&be.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?be.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?fe.call(be(e),this[0]):fe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(be.uniqueSort(be.merge(this.get(),be(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),be.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ee(e,"parentNode")},parentsUntil:function(e,t,n){return Ee(e,"parentNode",n)},next:function(e){return p(e,"nextSibling")},prev:function(e){return p(e,"previousSibling")},nextAll:function(e){return Ee(e,"nextSibling")},prevAll:function(e){return Ee(e,"previousSibling")},nextUntil:function(e,t,n){return Ee(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ee(e,"previousSibling",n)},siblings:function(e){return Ne((e.parentNode||{}).firstChild,e)},children:function(e){return Ne(e.firstChild)},contents:function(e){return u(e,"iframe")?e.contentDocument:(u(e,"template")&&(e=e.content||e),be.merge([],e.childNodes))}},function(e,t){be.fn[e]=function(n,r){var o=be.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=be.filter(r,o)),this.length>1&&(Re[e]||be.uniqueSort(o),Ae.test(e)&&o.reverse()),this.pushStack(o)}});var je=/[^\x20\t\r\n\f]+/g;be.Callbacks=function(e){e="string"==typeof e?f(e):be.extend({},e);var t,n,r,o,i=[],s=[],a=-1,l=function(){for(o=o||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a<i.length;)!1===i[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(a=i.length-1,s.push(n)),function t(n){be.each(n,function(n,r){be.isFunction(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==be.type(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return be.each(arguments,function(e,t){for(var n;(n=be.inArray(t,i,n))>-1;)i.splice(n,1),n<=a&&a--}),this},has:function(e){return e?be.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=s=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},be.extend({Deferred:function(e){var t=[["notify","progress",be.Callbacks("memory"),be.Callbacks("memory"),2],["resolve","done",be.Callbacks("once memory"),be.Callbacks("once memory"),0,"resolved"],["reject","fail",be.Callbacks("once memory"),be.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return be.Deferred(function(n){be.each(t,function(t,r){var o=be.isFunction(e[r[4]])&&e[r[4]];s[r[1]](function(){var e=o&&o.apply(this,arguments);e&&be.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){function s(e,t,n,r){return function(){var l=this,u=arguments,c=function(){var i,c;if(!(e<a)){if((i=n.apply(l,u))===t.promise())throw new TypeError("Thenable self-resolution");c=i&&("object"===(void 0===i?"undefined":o(i))||"function"==typeof i)&&i.then,be.isFunction(c)?r?c.call(i,s(a,t,d,r),s(a,t,h,r)):(a++,c.call(i,s(a,t,d,r),s(a,t,h,r),s(a,t,d,t.notifyWith))):(n!==d&&(l=void 0,u=[i]),(r||t.resolveWith)(l,u))}},p=r?c:function(){try{c()}catch(r){be.Deferred.exceptionHook&&be.Deferred.exceptionHook(r,p.stackTrace),e+1>=a&&(n!==h&&(l=void 0,u=[r]),t.rejectWith(l,u))}};e?p():(be.Deferred.getStackHook&&(p.stackTrace=be.Deferred.getStackHook()),i.setTimeout(p))}}var a=0;return be.Deferred(function(o){t[0][3].add(s(0,o,be.isFunction(r)?r:d,o.notifyWith)),t[1][3].add(s(0,o,be.isFunction(e)?e:d)),t[2][3].add(s(0,o,be.isFunction(n)?n:h))}).promise()},promise:function(e){return null!=e?be.extend(e,r):r}},s={};return be.each(t,function(e,o){var i=o[2],a=o[5];r[o[1]]=i.add,a&&i.add(function(){n=a},t[3-e][2].disable,t[0][2].lock),i.add(o[3].fire),s[o[0]]=function(){return s[o[0]+"With"](this===s?void 0:this,arguments),this},s[o[0]+"With"]=i.fireWith}),r.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,n=t,r=Array(n),o=ue.call(arguments),i=be.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?ue.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(y(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||be.isFunction(o[n]&&o[n].then)))return i.then();for(;n--;)y(o[n],s(n),i.reject);return i.promise()}});var De=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;be.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&De.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},be.readyException=function(e){i.setTimeout(function(){throw e})};var Fe=be.Deferred();be.fn.ready=function(e){return Fe.then(e).catch(function(e){be.readyException(e)}),this},be.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--be.readyWait:be.isReady)||(be.isReady=!0,!0!==e&&--be.readyWait>0||Fe.resolveWith(ae,[be]))}}),be.ready.then=Fe.then,"complete"===ae.readyState||"loading"!==ae.readyState&&!ae.documentElement.doScroll?i.setTimeout(be.ready):(ae.addEventListener("DOMContentLoaded",m),i.addEventListener("load",m));var Ie=function e(t,n,r,o,i,s,a){var l=0,u=t.length,c=null==r;if("object"===be.type(r)){i=!0;for(l in r)e(t,n,l,r[l],!0,s,a)}else if(void 0!==o&&(i=!0,be.isFunction(o)||(a=!0),c&&(a?(n.call(t,o),n=null):(c=n,n=function(e,t,n){return c.call(be(e),n)})),n))for(;l<u;l++)n(t[l],r,a?o:o.call(t[l],l,n(t[l],r)));return i?t:c?n.call(t):u?n(t[0],r):s},Me=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};v.uid=1,v.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Me(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[be.camelCase(t)]=n;else for(r in t)o[be.camelCase(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][be.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(be.camelCase):(t=be.camelCase(t),t=t in r?[t]:t.match(je)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||be.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!be.isEmptyObject(t)}};var He=new v,qe=new v,Be=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,We=/[A-Z]/g;be.extend({hasData:function(e){return qe.hasData(e)||He.hasData(e)},data:function(e,t,n){return qe.access(e,t,n)},removeData:function(e,t){qe.remove(e,t)},_data:function(e,t,n){return He.access(e,t,n)},_removeData:function(e,t){He.remove(e,t)}}),be.fn.extend({data:function(e,t){var n,r,i,s=this[0],a=s&&s.attributes;if(void 0===e){if(this.length&&(i=qe.get(s),1===s.nodeType&&!He.get(s,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=be.camelCase(r.slice(5)),b(s,r,i[r])));He.set(s,"hasDataAttrs",!0)}return i}return"object"===(void 0===e?"undefined":o(e))?this.each(function(){qe.set(this,e)}):Ie(this,function(t){var n;if(s&&void 0===t){if(void 0!==(n=qe.get(s,e)))return n;if(void 0!==(n=b(s,e)))return n}else this.each(function(){qe.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){qe.remove(this,e)})}}),be.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=He.get(e,t),n&&(!r||Array.isArray(n)?r=He.access(e,t,be.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=be.queue(e,t),r=n.length,o=n.shift(),i=be._queueHooks(e,t),s=function(){be.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,s,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return He.get(e,n)||He.access(e,n,{empty:be.Callbacks("once memory").add(function(){He.remove(e,[t+"queue",n])})})}}),be.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?be.queue(this[0],e):void 0===t?this:this.each(function(){var n=be.queue(this,e,t);be._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&be.dequeue(this,e)})},dequeue:function(e){return this.each(function(){be.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=be.Deferred(),i=this,s=this.length,a=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=He.get(i[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),o.promise(t)}});var Ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$e=new RegExp("^(?:([+-])=|)("+Ue+")([a-z%]*)$","i"),Ke=["Top","Right","Bottom","Left"],Ge=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&be.contains(e.ownerDocument,e)&&"none"===be.css(e,"display")},Ve=function(e,t,n,r){var o,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=s[i];return o},Xe={};be.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ge(this)?be(this).show():be(this).hide()})}});var ze=/^(?:checkbox|radio)$/i,Ze=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|\/(?:java|ecma)script/i,Ye={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,"",""]};Ye.optgroup=Ye.option,Ye.tbody=Ye.tfoot=Ye.colgroup=Ye.caption=Ye.thead,Ye.th=Ye.td;var Qe=/<|&#?\w+;/;!function(){var e=ae.createDocumentFragment(),t=e.appendChild(ae.createElement("div")),n=ae.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ge.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ge.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var et=ae.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;be.event={global:{},add:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,d,h,y,m=He.get(e);if(m)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&be.find.matchesSelector(et,o),n.guid||(n.guid=be.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(t){return void 0!==be&&be.event.triggered!==t.type?be.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(je)||[""],u=t.length;u--;)a=rt.exec(t[u])||[],d=y=a[1],h=(a[2]||"").split(".").sort(),d&&(p=be.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=be.event.special[d]||{},c=be.extend({type:d,origType:y,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&be.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[d])||(f=l[d]=[],f.delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(d,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),be.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,d,h,y,m=He.hasData(e)&&He.get(e);if(m&&(l=m.events)){for(t=(t||"").match(je)||[""],u=t.length;u--;)if(a=rt.exec(t[u])||[],d=y=a[1],h=(a[2]||"").split(".").sort(),d){for(p=be.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=l[d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=f.length;i--;)c=f[i],!o&&y!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&!1!==p.teardown.call(e,h,m.handle)||be.removeEvent(e,d,m.handle),delete l[d])}else for(d in l)be.event.remove(e,d+t[u],n,r,!0);be.isEmptyObject(l)&&He.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,s,a=be.event.fix(e),l=new Array(arguments.length),u=(He.get(this,"events")||{})[a.type]||[],c=be.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,a)){for(s=be.event.handlers.call(this,a,u),t=0;(o=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(i.namespace)||(a.handleObj=i,a.data=i.data,void 0!==(r=((be.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l))&&!1===(a.result=r)&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,r,o,i,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],s={},n=0;n<l;n++)r=t[n],o=r.selector+" ",void 0===s[o]&&(s[o]=r.needsContext?be(o,this).index(u)>-1:be.find(o,this,null,[u]).length),s[o]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(be.Event.prototype,e,{enumerable:!0,configurable:!0,get:be.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[be.expando]?e:new be.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==L()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===L()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&u(this,"input"))return this.click(),!1},_default:function(e){return u(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},be.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},be.Event=function(e,t){if(!(this instanceof be.Event))return new be.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?N:T,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&&be.extend(this,t),this.timeStamp=e&&e.timeStamp||be.now(),this[be.expando]=!0},be.Event.prototype={constructor:be.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=N,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=N,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=N,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},be.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,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&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&nt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},be.event.addProp),be.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){be.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||be.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),be.fn.extend({on:function(e,t,n,r){return k(this,e,t,n,r)},one:function(e,t,n,r){return k(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,be(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===(void 0===e?"undefined":o(e))){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=T),this.each(function(){be.event.remove(this,e,n,t)})}});var ot=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,it=/<script|<style|<link/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^true\/(.*)/,lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;be.extend({htmlPrefilter:function(e){return e.replace(ot,"<$1></$2>")},clone:function(e,t,n){var r,o,i,s,a=e.cloneNode(!0),l=be.contains(e.ownerDocument,e);if(!(ge.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||be.isXMLDoc(e)))for(s=x(a),i=x(e),r=0,o=i.length;r<o;r++)j(i[r],s[r]);if(t)if(n)for(i=i||x(e),s=s||x(a),r=0,o=i.length;r<o;r++)R(i[r],s[r]);else R(e,a);return s=x(a,"script"),s.length>0&&S(s,!l&&x(e,"script")),a},cleanData:function(e){for(var t,n,r,o=be.event.special,i=0;void 0!==(n=e[i]);i++)if(Me(n)){if(t=n[He.expando]){if(t.events)for(r in t.events)o[r]?be.event.remove(n,r):be.removeEvent(n,r,t.handle);n[He.expando]=void 0}n[qe.expando]&&(n[qe.expando]=void 0)}}}),be.fn.extend({detach:function(e){return F(this,e,!0)},remove:function(e){return F(this,e)},text:function(e){return Ie(this,function(e){return void 0===e?be.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 D(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){P(this,e).appendChild(e)}})},prepend:function(){return D(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=P(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return D(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return D(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&&(be.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 be.clone(this,e,t)})},html:function(e){return Ie(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!it.test(e)&&!Ye[(Ze.exec(e)||["",""])[1].toLowerCase()]){e=be.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(be.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return D(this,arguments,function(t){var n=this.parentNode;be.inArray(this,e)<0&&(be.cleanData(x(this)),n&&n.replaceChild(t,this))},e)}}),be.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){be.fn[e]=function(e){for(var n,r=[],o=be(e),i=o.length-1,s=0;s<=i;s++)n=s===i?this:this.clone(!0),be(o[s])[t](n),pe.apply(r,n.get());return this.pushStack(r)}});var ut=/^margin/,ct=new RegExp("^("+Ue+")(?!px)[a-z%]+$","i"),pt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)};!function(){function e(){if(a){a.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",et.appendChild(s);var e=i.getComputedStyle(a);t="1%"!==e.top,o="2px"===e.marginLeft,n="4px"===e.width,a.style.marginRight="50%",r="4px"===e.marginRight,et.removeChild(s),a=null}}var t,n,r,o,s=ae.createElement("div"),a=ae.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",ge.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),be.extend(ge,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return e(),n},pixelMarginRight:function(){return e(),r},reliableMarginLeft:function(){return e(),o}}))}();var ft=/^(none|table(?!-c[ea]).+)/,dt=/^--/,ht={position:"absolute",visibility:"hidden",display:"block"},yt={letterSpacing:"0",fontWeight:"400"},mt=["Webkit","Moz","ms"],vt=ae.createElement("div").style;be.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=I(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,s,a,l=be.camelCase(t),u=dt.test(t),c=e.style;if(u||(t=q(l)),a=be.cssHooks[t]||be.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];s=void 0===n?"undefined":o(n),"string"===s&&(i=$e.exec(n))&&i[1]&&(n=C(e,t,i),s="number"),null!=n&&n===n&&("number"===s&&(n+=i&&i[3]||(be.cssNumber[l]?"":"px")),ge.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,s,a=be.camelCase(t);return dt.test(t)||(t=q(a)),s=be.cssHooks[t]||be.cssHooks[a],s&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=I(e,t,r)),"normal"===o&&t in yt&&(o=yt[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),be.each(["height","width"],function(e,t){be.cssHooks[t]={get:function(e,n,r){if(n)return!ft.test(be.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?U(e,t,r):Ve(e,ht,function(){return U(e,t,r)})},set:function(e,n,r){var o,i=r&&pt(e),s=r&&W(e,t,r,"border-box"===be.css(e,"boxSizing",!1,i),i);return s&&(o=$e.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=be.css(e,t)),B(e,n,s)}}}),be.cssHooks.marginLeft=M(ge.reliableMarginLeft,function(e,t){if(t)return(parseFloat(I(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),be.each({margin:"",padding:"",border:"Width"},function(e,t){be.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+Ke[r]+t]=i[r]||i[r-2]||i[0];return o}},ut.test(e)||(be.cssHooks[e+t].set=B)}),be.fn.extend({css:function(e,t){return Ie(this,function(e,t,n){var r,o,i={},s=0;if(Array.isArray(t)){for(r=pt(e),o=t.length;s<o;s++)i[t[s]]=be.css(e,t[s],!1,r);return i}return void 0!==n?be.style(e,t,n):be.css(e,t)},e,t,arguments.length>1)}}),be.Tween=$,$.prototype={constructor:$,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||be.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(be.cssNumber[n]?"":"px")},cur:function(){var e=$.propHooks[this.prop];return e&&e.get?e.get(this):$.propHooks._default.get(this)},run:function(e){var t,n=$.propHooks[this.prop];return this.options.duration?this.pos=t=be.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):$.propHooks._default.set(this),this}},$.prototype.init.prototype=$.prototype,$.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=be.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){be.fx.step[e.prop]?be.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[be.cssProps[e.prop]]&&!be.cssHooks[e.prop]?e.elem[e.prop]=e.now:be.style(e.elem,e.prop,e.now+e.unit)}}},$.propHooks.scrollTop=$.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},be.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},be.fx=$.prototype.init,be.fx.step={};var gt,bt,Ct=/^(?:toggle|show|hide)$/,_t=/queueHooks$/;be.Animation=be.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return C(n.elem,e,$e.exec(t),n),n}]},tweener:function(e,t){be.isFunction(e)?(t=e,e=["*"]):e=e.match(je);for(var n,r=0,o=e.length;r<o;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[z],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),be.speed=function(e,t,n){var r=e&&"object"===(void 0===e?"undefined":o(e))?be.extend({},e):{complete:n||!n&&t||be.isFunction(e)&&e,duration:e,easing:n&&t||t&&!be.isFunction(t)&&t};return be.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in be.fx.speeds?r.duration=be.fx.speeds[r.duration]:r.duration=be.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){be.isFunction(r.old)&&r.old.call(this),r.queue&&be.dequeue(this,r.queue)},r},be.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ge).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=be.isEmptyObject(e),i=be.speed(t,n,r),s=function(){var t=J(this,be.extend({},e),i);(o||He.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||!1===i.queue?this.each(s):this.queue(i.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=be.timers,s=He.get(this);if(o)s[o]&&s[o].stop&&r(s[o]);else for(o in s)s[o]&&s[o].stop&&_t.test(o)&&r(s[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||be.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=He.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=be.timers,s=r?r.length:0;for(n.finish=!0,be.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),be.each(["toggle","show","hide"],function(e,t){var n=be.fn[t];be.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,r,o)}}),be.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){be.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),be.timers=[],be.fx.tick=function(){var e,t=0,n=be.timers;for(gt=be.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||be.fx.stop(),gt=void 0},be.fx.timer=function(e){be.timers.push(e),be.fx.start()},be.fx.interval=13,be.fx.start=function(){bt||(bt=!0,K())},be.fx.stop=function(){bt=null},be.fx.speeds={slow:600,fast:200,_default:400},be.fn.delay=function(e,t){return e=be.fx?be.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r)}})},function(){var e=ae.createElement("input"),t=ae.createElement("select"),n=t.appendChild(ae.createElement("option"));e.type="checkbox",ge.checkOn=""!==e.value,ge.optSelected=n.selected,e=ae.createElement("input"),e.value="t",e.type="radio",ge.radioValue="t"===e.value}();var wt,xt=be.expr.attrHandle;be.fn.extend({attr:function(e,t){return Ie(this,be.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){be.removeAttr(this,e)})}}),be.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?be.prop(e,t,n):(1===i&&be.isXMLDoc(e)||(o=be.attrHooks[t.toLowerCase()]||(be.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void be.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=be.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ge.radioValue&&"radio"===t&&u(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(je);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?be.removeAttr(e,n):e.setAttribute(n,n),n}},be.each(be.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||be.find.attr;xt[t]=function(e,t,r){var o,i,s=t.toLowerCase();return r||(i=xt[s],xt[s]=o,o=null!=n(e,t,r)?s:null,xt[s]=i),o}});var St=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;be.fn.extend({prop:function(e,t){return Ie(this,be.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[be.propFix[e]||e]})}}),be.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&be.isXMLDoc(e)||(t=be.propFix[t]||t,o=be.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=be.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ge.optSelected||(be.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)}}),be.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){be.propFix[this.toLowerCase()]=this}),be.fn.extend({addClass:function(e){var t,n,r,o,i,s,a,l=0;if(be.isFunction(e))return this.each(function(t){be(this).addClass(e.call(this,t,Q(this)))});if("string"==typeof e&&e)for(t=e.match(je)||[];n=this[l++];)if(o=Q(n),r=1===n.nodeType&&" "+Y(o)+" "){for(s=0;i=t[s++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=Y(r),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,o,i,s,a,l=0;if(be.isFunction(e))return this.each(function(t){be(this).removeClass(e.call(this,t,Q(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(je)||[];n=this[l++];)if(o=Q(n),r=1===n.nodeType&&" "+Y(o)+" "){for(s=0;i=t[s++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=Y(r),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":o(e);return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):be.isFunction(e)?this.each(function(n){be(this).toggleClass(e.call(this,n,Q(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=be(this),i=e.match(je)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=Q(this),t&&He.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":He.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Y(Q(n))+" ").indexOf(t)>-1)return!0;return!1}});var Nt=/\r/g;be.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=be.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,be(this).val()):e,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=be.map(o,function(e){return null==e?"":e+""})),(t=be.valHooks[this.type]||be.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return(t=be.valHooks[o.type]||be.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Nt,""):null==n?"":n)}}}),be.extend({valHooks:{option:{get:function(e){var t=be.find.attr(e,"value");return null!=t?t:Y(be.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?i+1:o.length;for(r=i<0?l:s?i:0;r<l;r++)if(n=o[r],(n.selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(t=be(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=be.makeArray(t),s=o.length;s--;)r=o[s],(r.selected=be.inArray(be.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),be.each(["radio","checkbox"],function(){be.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=be.inArray(be(e).val(),t)>-1}},ge.checkOn||(be.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Tt=/^(?:focusinfocus|focusoutblur)$/;be.extend(be.event,{trigger:function(e,t,n,r){var s,a,l,u,c,p,f,d=[n||ae],h=ye.call(e,"type")?e.type:e,y=ye.call(e,"namespace")?e.namespace.split("."):[];if(a=l=n=n||ae,3!==n.nodeType&&8!==n.nodeType&&!Tt.test(h+be.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),c=h.indexOf(":")<0&&"on"+h,e=e[be.expando]?e:new be.Event(h,"object"===(void 0===e?"undefined":o(e))&&e),e.isTrigger=r?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:be.makeArray(t,[e]),f=be.event.special[h]||{},r||!f.trigger||!1!==f.trigger.apply(n,t))){if(!r&&!f.noBubble&&!be.isWindow(n)){for(u=f.delegateType||h,Tt.test(u+h)||(a=a.parentNode);a;a=a.parentNode)d.push(a),l=a;l===(n.ownerDocument||ae)&&d.push(l.defaultView||l.parentWindow||i)}for(s=0;(a=d[s++])&&!e.isPropagationStopped();)e.type=s>1?u:f.bindType||h,p=(He.get(a,"events")||{})[e.type]&&He.get(a,"handle"),p&&p.apply(a,t),(p=c&&a[c])&&p.apply&&Me(a)&&(e.result=p.apply(a,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(d.pop(),t)||!Me(n)||c&&be.isFunction(n[h])&&!be.isWindow(n)&&(l=n[c],l&&(n[c]=null),be.event.triggered=h,n[h](),be.event.triggered=void 0,l&&(n[c]=l)),e.result}},simulate:function(e,t,n){var r=be.extend(new be.Event,n,{type:e,isSimulated:!0});be.event.trigger(r,null,t)}}),be.fn.extend({trigger:function(e,t){return this.each(function(){be.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return be.event.trigger(e,t,n,!0)}}),be.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,t){be.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),be.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ge.focusin="onfocusin"in i,ge.focusin||be.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){be.event.simulate(t,e.target,be.event.fix(e))};be.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=He.access(r,t);o||r.addEventListener(e,n,!0),He.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=He.access(r,t)-1;o?He.access(r,t,o):(r.removeEventListener(e,n,!0),He.remove(r,t))}}});var Lt=i.location,kt=be.now(),Pt=/\?/;be.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||be.error("Invalid XML: "+e),t};var Ot=/\[\]$/,At=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;be.param=function(e,t){var n,r=[],o=function(e,t){var n=be.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!be.isPlainObject(e))be.each(e,function(){o(this.name,this.value)});else for(n in e)ee(n,e[n],t,o);return r.join("&")},be.fn.extend({serialize:function(){return be.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=be.prop(this,"elements");return e?be.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!be(this).is(":disabled")&&jt.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!ze.test(e))}).map(function(e,t){var n=be(this).val();return null==n?null:Array.isArray(n)?be.map(n,function(e){return{name:t.name,value:e.replace(At,"\r\n")}}):{name:t.name,value:n.replace(At,"\r\n")}}).get()}});var Dt=/%20/g,Ft=/#.*$/,It=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qt=/^(?:GET|HEAD)$/,Bt=/^\/\//,Wt={},Ut={},$t="*/".concat("*"),Kt=ae.createElement("a");Kt.href=Lt.href,be.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Lt.href,type:"GET",isLocal:Ht.test(Lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,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":be.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,be.ajaxSettings),t):re(be.ajaxSettings,e)},ajaxPrefilter:te(Wt),ajaxTransport:te(Ut),ajax:function(e,t){function n(e,t,n,o){var l,c,d,h,_,w=t;p||(p=!0,u&&i.clearTimeout(u),r=void 0,a=o||"",S.readyState=e>0?4:0,l=e>=200&&e<300||304===e,n&&(h=oe(y,S,n)),h=ie(y,h,S,l),l?(y.ifModified&&(_=S.getResponseHeader("Last-Modified"),_&&(be.lastModified[s]=_),(_=S.getResponseHeader("etag"))&&(be.etag[s]=_)),204===e||"HEAD"===y.type?w="nocontent":304===e?w="notmodified":(w=h.state,c=h.data,d=h.error,l=!d)):(d=w,!e&&w||(w="error",e<0&&(e=0))),S.status=e,S.statusText=(t||w)+"",l?g.resolveWith(m,[c,w,S]):g.rejectWith(m,[S,w,d]),S.statusCode(C),C=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[S,y,l?c:d]),b.fireWith(m,[S,w]),f&&(v.trigger("ajaxComplete",[S,y]),--be.active||be.event.trigger("ajaxStop")))}"object"===(void 0===e?"undefined":o(e))&&(t=e,e=void 0),t=t||{};var r,s,a,l,u,c,p,f,d,h,y=be.ajaxSetup({},t),m=y.context||y,v=y.context&&(m.nodeType||m.jquery)?be(m):be.event,g=be.Deferred(),b=be.Callbacks("once memory"),C=y.statusCode||{},_={},w={},x="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(p){if(!l)for(l={};t=Mt.exec(a);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return p?a:null},setRequestHeader:function(e,t){return null==p&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==p&&(y.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)S.always(e[S.status]);else for(t in e)C[t]=[C[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),n(0,t),this}};if(g.promise(S),y.url=((e||y.url||Lt.href)+"").replace(Bt,Lt.protocol+"//"),y.type=t.method||t.type||y.method||y.type,y.dataTypes=(y.dataType||"*").toLowerCase().match(je)||[""],null==y.crossDomain){c=ae.createElement("a");try{c.href=y.url,c.href=c.href,y.crossDomain=Kt.protocol+"//"+Kt.host!=c.protocol+"//"+c.host}catch(e){y.crossDomain=!0}}if(y.data&&y.processData&&"string"!=typeof y.data&&(y.data=be.param(y.data,y.traditional)),ne(Wt,y,t,S),p)return S;f=be.event&&y.global,f&&0==be.active++&&be.event.trigger("ajaxStart"),y.type=y.type.toUpperCase(),y.hasContent=!qt.test(y.type),s=y.url.replace(Ft,""),y.hasContent?y.data&&y.processData&&0===(y.contentType||"").indexOf("application/x-www-form-urlencoded")&&(y.data=y.data.replace(Dt,"+")):(h=y.url.slice(s.length),y.data&&(s+=(Pt.test(s)?"&":"?")+y.data,delete y.data),!1===y.cache&&(s=s.replace(It,"$1"),h=(Pt.test(s)?"&":"?")+"_="+kt+++h),y.url=s+h),y.ifModified&&(be.lastModified[s]&&S.setRequestHeader("If-Modified-Since",be.lastModified[s]),be.etag[s]&&S.setRequestHeader("If-None-Match",be.etag[s])),(y.data&&y.hasContent&&!1!==y.contentType||t.contentType)&&S.setRequestHeader("Content-Type",y.contentType),S.setRequestHeader("Accept",y.dataTypes[0]&&y.accepts[y.dataTypes[0]]?y.accepts[y.dataTypes[0]]+("*"!==y.dataTypes[0]?", "+$t+"; q=0.01":""):y.accepts["*"]);for(d in y.headers)S.setRequestHeader(d,y.headers[d]);if(y.beforeSend&&(!1===y.beforeSend.call(m,S,y)||p))return S.abort();if(x="abort",b.add(y.complete),S.done(y.success),S.fail(y.error),r=ne(Ut,y,t,S)){if(S.readyState=1,f&&v.trigger("ajaxSend",[S,y]),p)return S;y.async&&y.timeout>0&&(u=i.setTimeout(function(){S.abort("timeout")},y.timeout));try{p=!1,r.send(_,n)}catch(e){if(p)throw e;n(-1,e)}}else n(-1,"No Transport");return S},getJSON:function(e,t,n){return be.get(e,t,n,"json")},getScript:function(e,t){return be.get(e,void 0,t,"script")}}),be.each(["get","post"],function(e,t){be[t]=function(e,n,r,o){return be.isFunction(n)&&(o=o||r,r=n,n=void 0),be.ajax(be.extend({url:e,type:t,dataType:o,data:n,success:r},be.isPlainObject(e)&&e))}}),be._evalUrl=function(e){return be.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},be.fn.extend({wrapAll:function(e){var t;return this[0]&&(be.isFunction(e)&&(e=e.call(this[0])),t=be(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return be.isFunction(e)?this.each(function(t){be(this).wrapInner(e.call(this,t))}):this.each(function(){var t=be(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=be.isFunction(e);return this.each(function(n){be(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){be(this).replaceWith(this.childNodes)}),this}}),be.expr.pseudos.hidden=function(e){return!be.expr.pseudos.visible(e)},be.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},be.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Gt={0:200,1223:204},Vt=be.ajaxSettings.xhr();ge.cors=!!Vt&&"withCredentials"in Vt,ge.ajax=Vt=!!Vt,be.ajaxTransport(function(e){var t,n;if(ge.cors||Vt&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Gt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),be.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),be.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 be.globalEval(e),e}}}),be.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),be.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=be("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),ae.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Xt=[],zt=/(=)\?(?=&|$)|\?\?/;be.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||be.expando+"_"+kt++;return this[e]=!0,e}}),be.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,a=!1!==e.jsonp&&(zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=be.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(zt,"$1"+r):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||be.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments},n.always(function(){void 0===o?be(i).removeProp(r):i[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),s&&be.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),ge.createHTMLDocument=function(){var e=ae.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),be.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,o,i;return t||(ge.createHTMLDocument?(t=ae.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=ae.location.href,t.head.appendChild(r)):t=ae),o=Le.exec(e),i=!n&&[],o?[t.createElement(o[1])]:(o=E([e],t,i),i&&i.length&&be(i).remove(),be.merge([],o.childNodes))},be.fn.load=function(e,t,n){var r,i,s,a=this,l=e.indexOf(" ");return l>-1&&(r=Y(e.slice(l)),e=e.slice(0,l)),be.isFunction(t)?(n=t,t=void 0):t&&"object"===(void 0===t?"undefined":o(t))&&(i="POST"),a.length>0&&be.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){s=arguments,a.html(r?be("<div>").append(be.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},be.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){be.fn[t]=function(e){return this.on(t,e)}}),be.expr.pseudos.animated=function(e){return be.grep(be.timers,function(t){return e===t.elem}).length},be.offset={setOffset:function(e,t,n){var r,o,i,s,a,l,u,c=be.css(e,"position"),p=be(e),f={};"static"===c&&(e.style.position="relative"),a=p.offset(),i=be.css(e,"top"),l=be.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1,u?(r=p.position(),s=r.top,o=r.left):(s=parseFloat(i)||0,o=parseFloat(l)||0),be.isFunction(t)&&(t=t.call(e,n,be.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+o),"using"in t?t.using.call(e,f):p.css(f)}},be.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){be.offset.setOffset(this,e,t)});var t,n,r,o,i=this[0];if(i)return i.getClientRects().length?(r=i.getBoundingClientRect(),t=i.ownerDocument,n=t.documentElement,o=t.defaultView,{top:r.top+o.pageYOffset-n.clientTop,left:r.left+o.pageXOffset-n.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===be.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),u(e[0],"html")||(r=e.offset()),r={top:r.top+be.css(e[0],"borderTopWidth",!0),left:r.left+be.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-be.css(n,"marginTop",!0),left:t.left-r.left-be.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===be.css(e,"position");)e=e.offsetParent;return e||et})}}),be.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;be.fn[e]=function(r){return Ie(this,function(e,r,o){var i;if(be.isWindow(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o},e,r,arguments.length)}}),be.each(["top","left"],function(e,t){be.cssHooks[t]=M(ge.pixelPosition,function(e,n){if(n)return n=I(e,t),ct.test(n)?be(e).position()[t]+"px":n})}),be.each({Height:"height",Width:"width"},function(e,t){be.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){be.fn[r]=function(o,i){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(!0===o||!0===i?"margin":"border");return Ie(this,function(t,n,o){var i;return be.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?be.css(t,n,a):be.style(t,n,o,a)},t,s?o:void 0,s)}})}),be.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)}}),be.holdReady=function(e){e?be.readyWait++:be.ready(!0)},be.isArray=Array.isArray,be.parseJSON=JSON.parse,be.nodeName=u,n=[],void 0!==(r=function(){return be}.apply(t,n))&&(e.exports=r);var Zt=i.jQuery,Jt=i.$;return be.noConflict=function(e){return i.$===be&&(i.$=Jt),e&&i.jQuery===be&&(i.jQuery=Zt),be},s||(i.jQuery=i.$=be),be})}).call(t,n(5)(e))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,this.props.children)}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeKey:e.defaultActiveKey},n}return i(t,e),s(t,[{key:"render",value:function(){var e,t=[],n=[];for(e=0;e<this.props.children.length;e++){var r=this.props.children[e];void 0!==r&&(t.push(this._buildNav(r)),n.push(this._buildContent(r)))}return(0,a.h)("div",{className:this.props.className},(0,a.h)("ul",{className:"nav nav-tabs",role:"tablist"},t),(0,a.h)("div",{className:"tab-content"},n))}},{key:"getActiveKey",value:function(){return this.state.activeKey}},{key:"setActiveKey",value:function(e){this.setState({activeKey:e})}},{key:"_buildNav",value:function(e){var t;this.getActiveKey()===e.attributes.eventKey&&(t="active");var n=this,r=function(t){n._handleTabClick(t,e)};return(0,a.h)("li",{role:"presentation",className:t,key:e.attributes.eventKey},(0,a.h)("a",{href:"#"+this._buildIdForTab(e),"aria-controls":this._buildIdForTab(e),role:"tab","data-toggle":"tab",onClick:r},e.attributes.title))}},{key:"_buildContent",value:function(e){var t="tab-pane";return this.getActiveKey()===e.attributes.eventKey&&(t+=" active"),(0,a.h)("div",{role:"tabpanel",className:t,id:this._buildIdForTab(e),key:e.attributes.eventKey},e)}},{key:"_buildIdForTab",value:function(e){return e.attributes.id?e.attributes.id:void 0===this.props.id||""===this.props.id?e.attributes.eventKey:this.props.id+"-"+e.attributes.eventKey}},{key:"_handleTabClick",value:function(e,t){e.preventDefault(),this.setActiveKey(t.attributes.eventKey)}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e){window.ErrorPage=e;for(var t=0;t<window.errorPageExtensions.length;t++)window.errorPageExtensions[t]()}var o=n(0);n(1),n(22),n(16);var i=n(9),s=function(e){return e&&e.__esModule?e:{default:e}}(i);n(18),window.errorPageExtensions=[],window.renderErrorPage=function(){(0,o.render)((0,o.h)(s.default,{spec:window.spec,ref:r}),document.getElementById("root"))}},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=n(3),c=r(u),p=n(2),f=r(p),d=n(8),h=r(d),y=n(11),m=r(y),v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return(0,l.h)("div",{className:"details-view"},(0,l.h)("p",null,"Error ID: ",this.props.spec.error.id),(0,l.h)(c.default,{defaultActiveKey:"problem-location",id:"details-process-tabs"},(0,l.h)(f.default,{eventKey:"problem-location",title:"Problem location"},(0,l.h)("p",null),(0,l.h)(h.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"core-process",title:this.props.spec.short_program_name+" core"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.core_process})),this.maybeRenderPreloaderProcessDetailsTab(),(0,l.h)(f.default,{eventKey:"subprocess",title:"Subprocess"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.subprocess})),(0,l.h)(f.default,{eventKey:"system-wide",title:"System-wide stats"},(0,l.h)("p",null),(0,l.h)("pre",null,this.props.spec.diagnostics.system_wide.system_metrics))))}},{key:"maybeRenderPreloaderProcessDetailsTab",value:function(){if("SPAWN_THROUGH_PRELOADER"===this.props.spec.journey.type)return(0,l.h)(f.default,{eventKey:"preloader",title:"Preloader process"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.preloader_process}))}}]),t}(l.Component);t.default=v},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,(0,a.h)("p",null,"If you are stuck with a problem, please do not hesitate to contact one of the support resources."," "+this.props.spec.program_name+" ","has a friendly community of users who look out for each other. We —"," Passenger's ","authors — are also ready to help you whenever we can."),(0,a.h)("div",{className:"row"},(0,a.h)("div",{className:"col-sm-4"},(0,a.h)("h2",null,"Community support"),(0,a.h)("p",null,"Post a message to Stack Overflow. Support is provided by the community on a best-effort basis, so sometimes a bit of patience will help."),(0,a.h)("p",null,(0,a.h)("a",{href:"https://stackoverflow.com/questions/tagged/passenger",className:"btn btn-primary"},"Submit to Stack Overflow"))),(0,a.h)("div",{className:"col-sm-4"},(0,a.h)("h2",null,"Enterprise support"),(0,a.h)("p",null,"If you are a"," ",(0,a.h)("a",{href:"https://www.phusionpassenger.com/features#premium-features"},"Passenger Enterprise")," ","customer, then you are eligible for basic priority support."),(0,a.h)("p",null,(0,a.h)("small",null,"For most customers, this basic priority support has a response time of 3 working days, with a maximum of 1 support incident per month. Please consult your contract for the exact support level that you are eligible for.")),(0,a.h)("p",null,(0,a.h)("a",{href:"https://www.phusionpassenger.com/customers/help_support",className:"btn btn-primary"},"Submit Enterprise support ticket"))),(0,a.h)("div",{className:"col-sm-4"},(0,a.h)("h2",null,"Bug report"),(0,a.h)("p",null,"Do you suspect this error is a bug? Please send us a bug report."),(0,a.h)("p",null,(0,a.h)("em",null,"Please attach this error page")," so that we can help you better."),(0,a.h)("p",null,(0,a.h)("a",{href:"http://github.com/phusion/passenger/issues",className:"btn btn-primary"},"Submit bug report to Github")))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(17);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props.spec.journey;return"SPAWN_DIRECTLY"===e.type?this.renderSpawnDirectlyJourney():"START_PRELOADER"===e.type?this.renderStartPreloaderJourney():this.renderSpawnThroughPreloaderJourney()}},{key:"renderSpawnDirectlyJourney",value:function(){var e=this;return(0,a.h)("table",{className:"journey spawn-directly"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name," core",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Spawn subprocess (fork())",["SPAWNING_KIT_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow(),this.renderCell("subprocess","Basic initialization before exec()",["SUBPROCESS_BEFORE_FIRST_EXEC"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (1)",["SUBPROCESS_SPAWN_ENV_SETUPPER_BEFORE_SHELL"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load OS shell",["SUBPROCESS_OS_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (2)",["SUBPROCESS_SPAWN_ENV_SETUPPER_AFTER_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),function(){return e.props.spec.journey.steps.SUBPROCESS_EXEC_WRAPPER?e.props.spec.config.wrapper_supplied_by_third_party?[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize third-party wrapper",["SUBPROCESS_EXEC_WRAPPER","SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{server:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER","SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[]}(),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load or execute application",["SUBPROCESS_APP_LOAD_OR_EXEC"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening for requests",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderStartPreloaderJourney",value:function(){var e=this;return(0,a.h)("table",{className:"journey start-preloader"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name," core",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Spawn subprocess (fork())",["SPAWNING_KIT_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow(),this.renderCell("subprocess","Basic initialization before exec()",["SUBPROCESS_BEFORE_FIRST_EXEC"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (1)",["SUBPROCESS_SPAWN_ENV_SETUPPER_BEFORE_SHELL"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load OS shell",["SUBPROCESS_OS_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (2)",["SUBPROCESS_SPAWN_ENV_SETUPPER_AFTER_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),function(){return e.props.spec.journey.steps.SUBPROCESS_EXEC_WRAPPER?e.props.spec.config.wrapper_supplied_by_third_party?[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER"])),(0,a.h)("tr",{key:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess")),(0,a.h)("tr",{key:"prep-inside-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize third-party preloading wrapper",["SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER"])),(0,a.h)("tr",{key:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess")),(0,a.h)("tr",{key:"prep-inside-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize "+e.props.spec.short_program_name+"-internal preloading wrapper",["SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[]}(),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load application",["SUBPROCESS_APP_LOAD_OR_EXEC"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening for preloader commands",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderSpawnThroughPreloaderJourney",value:function(){return(0,a.h)("table",{className:"journey spawn-through-preloader"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name,(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"preloader"},"In preloader",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.preloader_process.pid||"unknown")),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Tell preloader to spawn a subprocess",["SPAWNING_KIT_CONNECT_TO_PRELOADER","SPAWNING_KIT_SEND_COMMAND_TO_PRELOADER"]),this.renderProcessBoundaryArrow("small"),this.renderCell("preloader","Preparation work",["PRELOADER_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader")),(0,a.h)("tr",null,this.renderCell("server-core","Receive and process preloader response",["SPAWNING_KIT_READ_RESPONSE_FROM_PRELOADER","SPAWNING_KIT_PARSE_RESPONSE_FROM_PRELOADER","SPAWNING_KIT_PROCESS_RESPONSE_FROM_PRELOADER"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Spawn subprocess (fork())",["PRELOADER_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow("small"),this.renderCell("subprocess","Preparation",["SUBPROCESS_PREPARE_AFTER_FORKING_FROM_PRELOADER"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Send response to "+this.props.spec.short_program_name+" core",["PRELOADER_SEND_RESPONSE"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Finish",["PRELOADER_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderCell",value:function(e,t,n){function r(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_NOT_STARTED"!==s.steps[t].state)return!1}return!0}var o,i,s=this.props.spec.journey;!function(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_ERRORED"===s.steps[t].state)return!0}return!1}()?!function(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_PERFORMED"!==s.steps[t].state)return!1}return!0}()?r()?(o="not-started",i=(0,a.h)("span",{className:"glyphicon glyphicon-unchecked","aria-hidden":"true"})):(o="in-progress",i=(0,a.h)("span",{className:"glyphicon glyphicon-option-horizontal","aria-hidden":"true"})):(o="done",i=(0,a.h)("span",{className:"glyphicon glyphicon-ok","aria-hidden":"true"})):(o="error",i=(0,a.h)("span",{className:"glyphicon glyphicon-remove","aria-hidden":"true"}));var l=e+" "+o;return(0,a.h)("td",{className:l},(0,a.h)("span",{className:"status-label"},i),(0,a.h)("span",{className:"title"},t," ",function(){var e,t;for(e=0;e<n.length;e++){var o=n[e];void 0!==s.steps[o].duration?(void 0===t&&(t=0),t+=s.steps[o].duration):void 0!==s.steps[o].begin_time&&(void 0===t&&(t=0),t-=s.steps[o].begin_time.relative_timestamp)}if(void 0!==t)return r()?(0,a.h)("span",{className:"duration"},"— skipped"):(0,a.h)("span",{className:"duration"},"— ",t.toFixed(1),"s")}()))}},{key:"renderStepSeparator",value:function(e){return(0,a.h)("td",{className:e+" step-separator"},"|")}},{key:"renderProcessBoundaryArrow",value:function(e){var t;return t="small"===e?90:130,(0,a.h)("td",{className:"process-boundary arrow"},(0,a.h)("svg",{width:t,height:"20",viewBox:"0 0 130 20",version:"1.1",className:"arrow-image"},(0,a.h)("defs",{id:"defs4"},(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"TriangleOutM",style:"overflow:visible"},(0,a.h)("path",{id:"path4287",d:"m 5.77,0 -8.65,5 0,-10 8.65,5 z",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:1pt;stroke-opacity:1",transform:"scale(0.4,0.4)"})),(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"Arrow2Lend",style:"overflow:visible"},(0,a.h)("path",{id:"path4163",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1",d:"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z",transform:"matrix(-1.1,0,0,-1.1,-1.1,0)"})),(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"Arrow1Lend",style:"overflow:visible"},(0,a.h)("path",{id:"path4145",d:"M 0,0 5,-5 -12.5,0 5,5 0,0 Z",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:1pt;stroke-opacity:1",transform:"matrix(-0.8,0,0,-0.8,-10,0)"}))),(0,a.h)("g",{id:"layer1",transform:"translate(0,-1032.3622)"},(0,a.h)("path",{style:"fill:none;fill-rule:evenodd;stroke:#aaa;stroke-width:3.99429917;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#TriangleOutM)",d:"m 0,1042.3622 118.75284,0",id:"path3336"}))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=n(3),c=r(u),p=n(2),f=r(p),d=n(15),h=r(d),y=n(13),m=(r(y),n(10)),v=r(m),g=n(12),b=r(g),C=n(7),_=r(C),w=n(6),x=r(w),S=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={systemComponentsViewCollapsed:!1},e.Preact={Component:l.Component,h:l.h,render:l.render},e.Components={Tabs:c.default,Tab:f.default},e._extraTabs=[],window.localStorage&&(e.state.systemComponentsViewCollapsed="true"===window.localStorage.getItem("_passenger_error_page_system_components_collapsed")),e}return s(t,e),a(t,[{key:"render",value:function(){var e=this;return(0,l.h)("div",null,(0,l.h)("div",{className:"page-title-container container"},(0,l.h)("h1",{className:"page-title"},"Error starting web application")),(0,l.h)("div",{className:"page-system-components-container"},(0,l.h)("div",{className:"collapse-button"},this._renderCollapseButton()),(0,l.h)("div",{class:"container"},(0,l.h)(h.default,{spec:this.props.spec,collapsed:this.state.systemComponentsViewCollapsed}))),(0,l.h)("div",{className:"page-main container"},(0,l.h)(c.default,{className:"page-main-tabs",defaultActiveKey:"problem-description",ref:function(t){e.tabs=t}},(0,l.h)(f.default,{eventKey:"problem-description",title:"What happened?"},(0,l.h)("p",null),(0,l.h)(v.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"solution-description",title:"How do I solve this?"},(0,l.h)("p",null),(0,l.h)(b.default,{spec:this.props.spec})),this._renderExtraTabs(),(0,l.h)(f.default,{eventKey:"get-help",title:"Get help"},(0,l.h)("p",null),(0,l.h)(_.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"details",title:"Detailed diagnostics"},(0,l.h)("p",null),(0,l.h)(x.default,{spec:this.props.spec})))),(0,l.h)("footer",null,(0,l.h)("div",null,"This website is powered by ",(0,l.h)("a",{href:"https://www.phusionpassenger.com"},(0,l.h)("b",null,"Phusion Passenger")),"®, the smart application server built by ",(0,l.h)("b",null,"Phusion"),"®.")))}},{key:"addExtraTab",value:function(e,t,n){this._extraTabs.push({key:e,title:t,component:n})}},{key:"setActiveTab",value:function(e){this.tabs.setActiveKey(e)}},{key:"_renderCollapseButton",value:function(){return this.state.systemComponentsViewCollapsed?(0,l.h)("a",{href:"javascript:void(0)",onClick:this._handleExpandSystemComponentsView.bind(this)},"Expand"):(0,l.h)("a",{href:"javascript:void(0)",onClick:this._handleCollapseSystemComponentsView.bind(this)},"Collapse")}},{key:"_renderExtraTabs",value:function(){return this._extraTabs.map(function(e){return(0,l.h)(f.default,{eventKey:e.key,title:e.title},e.component)})}},{key:"_handleExpandSystemComponentsView",value:function(){if(this.setState({systemComponentsViewCollapsed:!1}),window.localStorage)try{window.localStorage.setItem("_passenger_error_page_system_components_collapsed","false")}catch(e){}}},{key:"_handleCollapseSystemComponentsView",value:function(){if(this.setState({systemComponentsViewCollapsed:!0}),window.localStorage)try{window.localStorage.setItem("_passenger_error_page_system_components_collapsed","true")}catch(e){}}}]),t}(l.Component);t.default=S},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"problem-description"},(0,a.h)("div",{dangerouslySetInnerHTML:{__html:this.props.spec.error.problem_description_html}}))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,(0,a.h)("dl",null,this.renderBeforeItems(),(0,a.h)("dt",null,"User and group"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.user_info)),(0,a.h)("dt",null,"Ulimits"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.ulimits)),(0,a.h)("dt",null,"Environment variables"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.envvars)),this.renderAfterItems()))}},{key:"renderBeforeItems",value:function(){var e=[];return this.props.spec.pid&&(e.push((0,a.h)("dt",{key:"pid-header"},"PID")),e.push((0,a.h)("dd",{key:"pid-content"},this.props.spec.pid))),this.props.spec.stdout_and_err&&(e.push((0,a.h)("dt",{key:"stdout-and-err-header"},"Stdout and stderr output")),e.push((0,a.h)("dd",{key:"stdout-and-err-content"},(0,a.h)("pre",null,this.props.spec.stdout_and_err)))),this.props.spec.backtrace&&(e.push((0,a.h)("dt",{key:"backtrace-header"},"Backtrace")),e.push((0,a.h)("dd",{key:"backtrace-content"},(0,a.h)("pre",null,this.props.spec.backtrace)))),e}},{key:"renderAfterItems",value:function(){var e=[];if(this.props.spec.annotations){var t=!0,n=!1,r=void 0;try{for(var o,i=Object.keys(this.props.spec.annotations)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value,l=this.props.spec.annotations[s];e.push((0,a.h)("dt",{key:s},s)),e.push((0,a.h)("dd",{key:s+"-value"},(0,a.h)("pre",null,l)))}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}}return e}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(19);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"solution-description"},(0,a.h)("div",{dangerouslySetInnerHTML:{__html:this.props.spec.error.solution_description_html}}))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"summary-view"},(0,a.h)("h3",null,"Error message"),(0,a.h)("p",null,this.props.spec.error.summary),(0,a.h)("h3",null,"Learn more"),(0,a.h)("ul",null,(0,a.h)("li",null,(0,a.h)("a",{href:"#",onClick:this.props.problemDescriptionButtonClicked},"Learn what this error means")),(0,a.h)("li",null,(0,a.h)("a",{href:"#",onClick:this.props.solutionDescriptionButtonClicked},"Learn how to solve this error"))),(0,a.h)("h3",null,"Additional information"),(0,a.h)("p",null,"Error ID: ",this.props.spec.error.id),(0,a.h)("pre",null,this.props.spec.error.aux_details))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(20);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.getStatusLabelAndClass(),t=e[0],n=e[1];return(0,a.h)("div",{className:"system-component-view "+n},(0,a.h)("div",{className:"icon"},this.getIcon()),(0,a.h)("div",{className:"name"},this.props.children),(0,a.h)("div",{className:"status-icon"},this.getStatusIcon()),(0,a.h)("div",{className:"status-label"},t))}},{key:"getIcon",value:function(){return"APP_SERVER"==this.props.type?this.getCoreServerIcon():"PREPARATION_WORK"==this.props.type?this.getPreparationWorkIcon():"APP"==this.props.type?this.getAppIcon():(0,a.h)("span",{class:"glyphicon glyphicon-asterisk","aria-hidden":"true"})}},{key:"getStatusIcon",value:function(){return"WORKING"===this.props.status||"DONE"==this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-ok","aria-hidden":"true"}):"ERROR"===this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-remove","aria-hidden":"true"}):"NOT_REACHED"===this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-minus-sign","aria-hidden":"true"}):(0,a.h)("span",{class:"glyphicon glyphicon-question-sign","aria-hidden":"true"})}},{key:"getStatusLabelAndClass",value:function(){return"WORKING"===this.props.status?["Working","working"]:"DONE"===this.props.status?["Done","done"]:"ERROR"===this.props.status?["Error","error"]:"NOT_REACHED"===this.props.status?["Not reached","not_reached"]:["Unknown","unknown"]}},{key:"getCoreServerIcon",value:function(){return(0,a.h)("svg",{width:"76px",height:"64px",viewBox:"0 0 76 64",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"linearGradient-1"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{id:"64"},(0,a.h)("path",{d:"M40.0317529,63.6095765 L35.7398406,63.6095765 C35.4232667,63.6095765 35.1234596,63.4559002 34.9378267,63.1985725 L31.1337497,57.9027436 C31.054706,57.7938895 30.9992157,57.6694278 30.9700734,57.534961 L30.882247,57.12996 L30.7616855,57.0303105 C30.5413213,57.4329103 30.1357234,57.9359601 29.4742315,57.9871855 C29.0802108,58.0176006 27.3528268,57.9999919 26.628659,57.9903871 C26.3943224,57.9875857 26.1675708,57.9003424 25.9899221,57.7442649 L19.7913804,52.3187716 C19.6001586,52.1514886 19.4819923,51.9209742 19.4572412,51.6696494 L18.9566312,46.6511582 L16.6288347,44.5112959 C16.3917036,44.3536176 16.0352087,43.9926384 16.0352087,43.2554725 C16.0352087,42.9449183 15.9481808,40.1203162 15.8918921,38.3538393 L14.5617226,37.4321818 C14.2942516,37.2460894 14.1349666,36.941138 14.1349666,36.6165769 L14.1349666,31.794183 C14.1349666,31.3255504 14.4399634,30.7292543 15.108641,30.5283546 C15.2256097,30.4919365 16.1094618,30.1209524 17.3705678,29.5714796 C17.2300457,29.1188549 16.8963057,28.1823901 16.4711465,27.0710384 C16.3441976,26.931369 16.2352131,26.834521 16.1928968,26.8049063 C15.9326115,26.6792439 14.4806829,25.7615883 0.618097645,16.3132981 C0.469990543,16.212448 0.35182423,16.0723785 0.276373442,15.9082971 C0.194535286,15.7310091 -0.0657499724,15.0938928 0.0156889734,14.3579274 C0.0747721301,13.825263 0.486358174,11.8838993 0.660813171,11.0742974 C0.697540539,10.9070144 0.7757858,10.7525377 0.887165535,10.6264751 C1.27759342,10.1834552 1.9825992,9.81167062 2.79060129,10.0958117 C3.28522312,10.2710987 19.4967631,15.6889882 21.8333422,16.4693756 C21.855698,16.4349585 21.8808483,16.3925374 21.908793,16.3409118 C22.4165888,15.39044 24.3288072,13.7620316 24.9032711,13.2857952 C25.0697419,13.1473265 25.2721416,13.0692877 25.4889129,13.0592828 L25.8737519,13.0432748 C26.6334495,12.3209162 28.815135,10.4543897 31.5920433,9.88250579 C31.5924425,9.88130519 31.5928418,9.8801046 31.5936402,9.878904 C31.7213875,9.56514825 32.588872,5.90012889 33.5685346,1.53716307 C33.5944833,1.41750366 33.6447838,1.30224645 33.7170409,1.19579361 C33.976927,0.815204677 34.3933035,0.329763698 34.902297,0.176887809 C35.0017004,0.146872909 35.2943217,0.0588292035 37.4456672,0.0188093372 L37.4456672,0 L37.856854,0.0108053639 L37.8855972,0.411004027 L37.9003679,0.0112055626 L38.3055666,0.00520258262 L38.3059658,0.0184091385 C40.4752758,0.0580288062 40.7694939,0.146872909 40.8696958,0.176887809 C41.3774916,0.329763698 41.7942673,0.815204677 42.0537542,1.19579361 C42.1256121,1.30024546 42.1763118,1.41630307 42.2030589,1.53916406 C43.1831207,5.90132949 44.0506052,9.56634884 44.1787518,9.88170539 C44.179151,9.88210559 44.179151,9.88250579 44.179151,9.88250579 C46.957257,10.4543897 49.138144,12.3209162 49.8978417,13.0432748 L50.2810838,13.0592828 C50.4986535,13.0692877 50.7010532,13.1473265 50.8679232,13.285395 C51.4427864,13.7620316 53.355404,15.3908402 53.8628005,16.341312 C53.890346,16.3925374 53.9154963,16.4349585 53.9382513,16.4697758 C56.3255302,15.6717796 72.4943546,10.2678971 72.980593,10.0958117 C73.7885951,9.81167062 74.4936009,10.1834552 74.8848272,10.6268753 C74.9966061,10.7533381 75.0744522,10.908215 75.1103811,11.0738972 C75.2461127,11.7014087 75.6932285,13.7932471 75.7555053,14.3579274 C75.8373435,15.0970944 75.5762598,15.7322096 75.4944217,15.9094977 C75.4201685,16.0719783 75.3020022,16.2116476 75.1538951,16.3128979 C60.9707438,25.9792964 59.7787012,26.7168626 59.5623291,26.81251 C59.5435662,26.8277176 59.4329849,26.9249659 59.3000478,27.0710384 C58.8708965,28.1939958 58.5351604,29.1368639 58.397832,29.570279 C59.6617325,30.1209524 60.546383,30.4919365 60.6645493,30.5287548 C61.3316301,30.7296545 61.6362277,31.3255504 61.6362277,31.794183 L61.6362277,36.6165769 C61.6362277,36.941138 61.4773419,37.2460894 61.2106693,37.4317816 L59.8793022,38.3538393 C59.8230136,40.1203162 59.7359857,42.9449183 59.7359857,43.2554725 C59.7359857,43.9922382 59.3798899,44.3532174 59.143158,44.5112959 L56.8145631,46.6511582 L56.3139531,51.6700496 C56.2892021,51.9213744 56.1710357,52.1514886 55.9810115,52.3183714 L49.7804738,57.7450653 C49.6044219,57.9003424 49.3772711,57.9875857 49.1417369,57.9903871 C48.4187667,57.9999919 46.691782,58.0172004 46.297362,57.9871855 C45.6366686,57.9359601 45.2306715,57.4329103 45.0099081,57.0299103 L44.8893465,57.12996 L44.8019194,57.5337604 C44.7723778,57.6694278 44.7168875,57.7938895 44.6370454,57.9039442 L40.8337668,63.1977721 C40.6485332,63.4555 40.3487261,63.6095765 40.0317529,63.6095765",id:"Fill-1",fill:"url(#linearGradient-1)"}),(0,a.h)("path",{d:"M49.1630548,41.072749 C49.1630548,41.072749 48.6879943,49.7638633 48.3079458,54.1452383 C48.3079458,54.1452383 48.1893803,55.0260756 47.7378732,55.1453348 C47.2867653,55.2641938 47.4292835,53.5021191 47.4292835,53.5021191 L48.0704156,41.191608 C48.0704156,41.191608 48.2368864,40.4536416 48.7119469,40.4300299 C49.3055729,40.4292295 49.1630548,41.072749 49.1630548,41.072749",id:"Fill-5",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M46.6571704,36.4414499 C46.6571704,36.4414499 47.500303,37.8345415 46.3601578,39.7871108 C45.2200126,41.7392798 42.5361202,40.2749529 42.5361202,40.2749529 C42.5361202,40.2749529 41.0039503,39.4297334 42.6431087,38.3700073 C44.2818678,37.3106814 45.8850973,36.4414499 45.8850973,36.4414499 C45.8850973,36.4414499 46.5058696,36.0872741 46.6571704,36.4414499",id:"Fill-7",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M49.2818199,37.3701109 C49.4007846,37.7270882 49.7213507,37.3701109 49.7213507,37.3701109 L51.8826764,34.8580639 L52.0607243,34.4174452 C52.0607243,34.4174452 52.1202067,33.6674729 52.084677,33.4769783 C52.0491472,33.2864838 52.1557364,33.1912365 52.1557364,33.1912365 C52.1557364,33.1912365 55.6001248,28.9887503 55.7186903,28.5957553 C55.837655,28.2027602 55.6001248,28.2980075 55.6001248,28.2980075 C52.6307969,29.940823 51.0990262,31.0481727 51.0990262,31.0481727 C51.0990262,31.0481727 48.2247105,33.2508661 48.0111328,33.4769783 C47.797156,33.7030906 48.0111328,33.9888324 48.0111328,33.9888324",id:"Fill-9",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M54.6340353,38.5431332 L53.398878,49.8907663 C53.398878,49.8907663 53.4304156,50.2085241 53.2088538,50.5258816 C52.9872919,50.8432392 49.376832,54.2405256 49.376832,54.2405256 C49.376832,54.2405256 49.1692425,54.4942516 49.1780252,53.637026 C49.1868078,52.7798005 49.7253428,48.747799 49.7568804,40.5885486 L49.8203549,40.0178653 C49.8203549,40.0178653 49.8518925,39.5408285 50.1684665,39.2550867 C50.4854396,38.9693448 53.6523767,35.381964 53.6523767,35.381964 C53.6523767,35.381964 53.9054761,35.1914694 53.9054761,34.8737117 L53.9054761,33.2228922 C53.9054761,33.2228922 53.8424009,32.873919 54.348999,32.4929299 C54.8555972,32.1119407 55.5841564,31.7309516 55.5841564,31.7309516 L59.0996042,32.5245456 C59.0996042,32.5245456 59.3846405,32.6197928 59.3846405,33.1596608 L59.3846405,35.0325906 C59.3846405,35.0325906 59.3527036,35.4135797 58.9726552,35.6677059 C58.5926068,35.9214318 54.6340353,38.5431332 54.6340353,38.5431332",id:"Fill-11",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M66.7953051,18.8092171 L46.1150026,31.3182267 C46.1150026,31.3182267 44.9668732,32.1038167 45.322969,30.873606 C45.6714797,29.4765125 46.5900631,26.5242469 46.5900631,26.5242469 C46.5900631,26.5242469 46.707431,26.0824276 46.9573368,25.9207474 C47.539785,25.6350055 58.6641853,20.1983067 59.0677871,19.9838002 C59.4083137,19.8093136 59.7013342,19.1585905 59.7013342,19.1585905 L60.5772021,17.4313331 C60.5772021,17.4313331 60.7253092,17.2576469 60.9480686,17.175206 C61.1708281,17.092765 67.5869396,14.713584 67.5869396,14.713584 C67.5869396,14.713584 68.0304624,14.459858 67.8719759,14.9677101 C67.7138885,15.4755622 67.238828,18.2061177 67.238828,18.2061177 C67.238828,18.2061177 67.1861322,18.5730999 66.7953051,18.8092171",id:"Fill-13",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M59.4953815,18.1187143 L59.067827,18.951928 C59.067827,18.951928 58.8542494,19.4045526 58.4027423,19.6662826 C57.9516344,19.9284127 46.7166528,25.1430013 46.7166528,25.1430013 C46.7166528,25.1430013 46.5421978,25.2622605 46.4076639,24.8096358 C46.2651457,24.262164 45.2567399,23.1428084 45.2567399,23.1428084 C45.2567399,23.1428084 44.9589289,22.7698232 45.5765076,22.5713247 C46.3366044,22.3095947 59.4953815,17.5712426 59.4953815,17.5712426 C59.4953815,17.5712426 59.8159475,17.4940042 59.4953815,18.1187143",id:"Fill-15",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M32.0477022,13.8564785 C29.3438494,15.0222572 27.5789397,16.754317 27.3022868,17.0252515 C27.2527847,17.0740758 27.2156581,17.0072426 27.2156581,17.0072426 L26.3154384,15.9995424 C26.0938766,15.7138005 25.6663221,16.0787817 25.6663221,16.0787817 C24.446734,17.0312545 23.7341432,18.0629667 23.544119,18.3963321 C23.3808419,18.6752706 23.6710679,18.7617135 23.6710679,18.7617135 C23.6710679,18.7617135 29.7989494,20.9363931 30.0524481,20.9840167 C30.5334967,21.127688 30.5722201,21.1100793 30.6524615,20.8267386 C30.6975723,20.6686602 32.1111767,14.4595779 32.1427143,14.1262124 C32.212177,13.7612312 32.0477022,13.8564785 32.0477022,13.8564785",id:"Fill-17",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M52.2271153,18.3964922 C52.0370911,18.0631267 51.3245003,17.0314146 50.1053114,16.0789418 C50.1053114,16.0789418 49.6777569,15.7139606 49.4557958,15.9993022 L48.5555761,17.0074027 C48.5555761,17.0074027 48.5188488,17.0738356 48.4693467,17.0254116 C48.1926938,16.7540769 46.4273849,15.0224173 43.7239312,13.8566386 C43.7239312,13.8566386 43.5594565,13.7613913 43.6289191,14.1263725 C43.6604568,14.459738 45.073662,20.66842 45.1187728,20.8264985 C45.1994133,21.1098392 45.2381367,21.1278481 45.7187862,20.9841768 C45.9722849,20.9365531 52.1005655,18.7614734 52.1005655,18.7614734 C52.1005655,18.7614734 52.3903924,18.6754307 52.2271153,18.3964922",id:"Fill-19",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M40.3746747,17.7853488 L37.8907869,17.7853488 L37.8808066,17.7853488 L35.3969188,17.7853488 C35.3969188,17.7853488 35.0168704,17.7793459 35.0168704,17.568041 C35.0168704,17.3567361 36.1570156,6.23681603 36.1570156,6.23681603 C36.1570156,6.23681603 36.3705932,6.11795702 36.3945459,6.33206331 C36.4180993,6.54656979 36.2787748,13.8209809 36.2787748,13.8209809 C36.2787748,13.8209809 36.2636048,14.0350872 36.537064,14.0470931 C36.7749935,14.0574983 37.6456716,14.0586989 37.8983719,14.0586989 L37.8983719,14.0586989 L37.9319056,14.0586989 L37.9678345,14.0586989 L37.9678345,14.0586989 C38.20776,14.0586989 38.9985961,14.0570981 39.2345295,14.0470931 C39.5075895,14.0350872 39.4928187,13.8209809 39.4928187,13.8209809 C39.4928187,13.8209809 39.3534942,6.54656979 39.3770477,6.33206331 C39.4010003,6.11795702 39.6145779,6.23681603 39.6145779,6.23681603 C39.6145779,6.23681603 40.7547232,17.3567361 40.7547232,17.568041 C40.7547232,17.7793459 40.3746747,17.7853488 40.3746747,17.7853488 M39.8760608,2.85553752 C39.8285548,2.54618395 39.5195658,2.54618395 39.5195658,2.54618395 L37.8983719,2.47454839 L37.8728224,2.47454839 L36.2520277,2.54618395 C36.2520277,2.54618395 35.9430388,2.54618395 35.8955327,2.85553752 C35.8480267,3.16529129 32.5701091,20.3806372 32.5701091,20.3806372 C32.5701091,20.3806372 32.475097,20.8332619 32.9026515,20.6903909 C34.9302417,19.6702846 37.7794072,19.5974484 37.8855972,19.5950472 C37.9921864,19.5974484 40.8409526,19.6702846 42.8685428,20.6903909 C43.2960973,20.8332619 43.2010852,20.3806372 43.2010852,20.3806372 C43.2010852,20.3806372 39.9235669,3.16529129 39.8760608,2.85553752",id:"Fill-21",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M33.1284449,38.3701674 C31.4896858,37.3104413 29.8860571,36.44161 29.8860571,36.44161 C29.8860571,36.44161 29.265684,36.087034 29.1143832,36.44161 C29.1143832,36.44161 28.2712506,37.8343014 29.4109966,39.7868707 C30.5511418,41.7394399 33.2354334,40.275113 33.2354334,40.275113 C33.2354334,40.275113 34.7672041,39.4298934 33.1284449,38.3701674",id:"Fill-23",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M24.6725673,31.0482127 C24.6725673,31.0482127 23.1403974,29.940863 20.1714688,28.2980475 C20.1714688,28.2980475 19.9339385,28.2028002 20.0529032,28.5957953 C20.1714688,28.9883902 23.6154579,33.1912765 23.6154579,33.1912765 C23.6154579,33.1912765 23.7224463,33.2865238 23.6869166,33.4770184 C23.6513868,33.6675129 23.71047,34.4174852 23.71047,34.4174852 L23.8889171,34.858104 L26.0502428,37.370151 C26.0502428,37.370151 26.3708089,37.7271282 26.4897736,37.370151 L27.7604607,33.9888725 C27.7604607,33.9888725 27.9740383,33.7031306 27.7604607,33.4770184 C27.5464839,33.2509061 24.6725673,31.0482127 24.6725673,31.0482127",id:"Fill-25",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M28.34231,53.5022391 L27.7011779,41.191728 C27.7011779,41.191728 27.5347072,40.4537617 27.0596466,40.4297498 C26.4660206,40.4293496 26.6085388,41.072869 26.6085388,41.072869 C26.6085388,41.072869 27.0835993,49.7639834 27.4636477,54.1449582 C27.4636477,54.1449582 27.5822132,55.0261956 28.0337203,55.1450546 C28.4848282,55.2643138 28.34231,53.5022391 28.34231,53.5022391",id:"Fill-27",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M26.0145933,40.5885886 L25.9511189,40.0179053 C25.9511189,40.0179053 25.9195812,39.5408685 25.6030073,39.2551267 C25.2860341,38.9693848 22.1190971,35.382004 22.1190971,35.382004 C22.1190971,35.382004 21.8659976,35.1915095 21.8659976,34.8737517 L21.8659976,33.2229322 C21.8659976,33.2229322 21.9290729,32.8735588 21.4224748,32.4925697 C20.9158766,32.1119807 20.1873174,31.7309916 20.1873174,31.7309916 L16.6718696,32.5245856 C16.6718696,32.5245856 16.3868333,32.6198329 16.3868333,33.1593007 L16.3868333,35.0326306 C16.3868333,35.0326306 16.4187701,35.4136197 16.7988185,35.6677459 C17.1788669,35.9214718 21.1374384,38.5431733 21.1374384,38.5431733 L22.3725958,49.8908064 C22.3725958,49.8908064 22.3410582,50.2081639 22.56262,50.5259216 C22.7841818,50.8432792 26.3946418,54.2405656 26.3946418,54.2405656 C26.3946418,54.2405656 26.6022312,54.4942916 26.5934486,53.637066 C26.584666,52.7798405 26.046131,48.747839 26.0145933,40.5885886",id:"Fill-29",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M30.448385,30.873606 C30.0998743,29.4765125 29.1816901,26.5242469 29.1816901,26.5242469 C29.1816901,26.5242469 29.063923,26.0824276 28.8140172,25.9207474 C28.231569,25.6350055 17.1075679,20.1983067 16.7035669,19.9838002 C16.3630403,19.8093136 16.070419,19.1585905 16.070419,19.1585905 L15.1941519,17.4313331 C15.1941519,17.4313331 15.0460448,17.2576469 14.8232854,17.175206 C14.6005259,17.092765 8.18441444,14.713584 8.18441444,14.713584 C8.18441444,14.713584 7.74089155,14.459858 7.89937813,14.9677101 C8.05786471,15.4755622 8.53292522,18.2061177 8.53292522,18.2061177 C8.53292522,18.2061177 8.58562101,18.5730999 8.9760489,18.8092171 L29.6563514,31.3182267 C29.6563514,31.3182267 30.8044808,32.1038167 30.448385,30.873606",id:"Fill-31",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M16.7036068,18.952088 C16.7036068,18.952088 16.9171844,19.4043125 17.3686915,19.6664426 C17.8197994,19.9281726 29.054781,25.1431613 29.054781,25.1431613 C29.054781,25.1431613 29.229236,25.2620204 29.36377,24.8097959 C29.5062881,24.2619239 30.5146939,23.1425682 30.5146939,23.1425682 C30.5146939,23.1425682 30.812505,22.7699833 30.1949263,22.5714847 C29.4348295,22.3093546 16.2760524,17.5710024 16.2760524,17.5710024 C16.2760524,17.5710024 15.9554863,17.4941643 16.2760524,18.1188744 L16.7036068,18.952088 Z",id:"Fill-33",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M37.8857169,32.1730511 C35.663312,32.1322308 33.7814336,30.3161293 33.7814336,28.0798191 C33.7814336,25.843509 35.663312,24.0274075 37.8857169,23.9865872 C40.1081219,24.0274075 41.9900003,25.843509 41.9900003,28.0798191 C41.9900003,30.3161293 40.1081219,32.1322308 37.8857169,32.1730511 M45.3549457,25.5241505 C42.9141726,21.123566 38.4194614,21.236422 37.8857169,21.2664369 C37.3519725,21.236422 32.8572612,21.123566 30.4164881,25.5241505 C30.4164881,25.5241505 30.2899384,25.8255001 30.2899384,26.0636183 C30.2899384,26.3017365 32.7287154,35.1753414 32.7287154,35.1753414 C32.7287154,35.1753414 32.7762215,35.2865967 32.9818149,35.5883465 C33.1878075,35.8896961 35.6265846,37.6677787 35.6265846,37.6677787 C35.6265846,37.6677787 35.8006404,37.9058969 36.4182191,37.9375126 C36.9483706,37.9647261 37.6869101,37.9455166 37.8857169,37.9391134 C38.0845238,37.9455166 38.8230632,37.9647261 39.3532148,37.9375126 C39.9707935,37.9058969 40.1448492,37.6677787 40.1448492,37.6677787 C40.1448492,37.6677787 42.5836263,35.8896961 42.7896189,35.5883465 C42.9952123,35.2865967 43.0427184,35.1753414 43.0427184,35.1753414 C43.0427184,35.1753414 45.4814955,26.3017365 45.4814955,26.0636183 C45.4814955,25.8255001 45.3549457,25.5241505 45.3549457,25.5241505",id:"Fill-35",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M46.1148429,51.795752 L46.1148429,49.6050645 C46.1148429,49.3193227 45.8138382,49.6210725 45.8138382,49.6210725 L44.3730874,50.6687926 C43.9135961,51.0337737 43.5810538,50.7640398 43.5810538,50.7640398 C43.5810538,50.7640398 42.0293225,49.1764517 41.8077607,48.8590942 C41.5861988,48.5417367 41.2851941,48.5733524 41.2851941,48.5733524 L34.4862398,48.5733524 C34.4862398,48.5733524 34.185235,48.5417367 33.9636732,48.8590942 C33.7421113,49.1764517 32.1903801,50.7640398 32.1903801,50.7640398 C32.1903801,50.7640398 31.8578377,51.0337737 31.3983464,50.6687926 L29.9575956,49.6210725 C29.9575956,49.6210725 29.6565909,49.3193227 29.6565909,49.6050645 L29.6565909,51.795752 C29.6565909,51.795752 29.6406225,52.2083568 29.9891333,52.4784909 C30.337644,52.7482248 32.7919903,54.4150522 32.7919903,54.4150522 C32.7919903,54.4150522 33.2650548,54.6807842 33.5995932,54.0024474 L35.1197868,51.255884 C35.1197868,51.255884 35.2147989,51.0337737 35.8004408,51.0177658 C36.3250034,51.0037588 39.4332565,51.0033586 39.9709931,51.0177658 C40.5566349,51.0337737 40.651647,51.255884 40.651647,51.255884 L42.1718407,54.0024474 C42.5063791,54.6807842 42.9794435,54.4150522 42.9794435,54.4150522 C42.9794435,54.4150522 45.4337898,52.7482248 45.7823006,52.4784909 C46.1308114,52.2083568 46.1148429,51.795752 46.1148429,51.795752",id:"Fill-37",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M45.9958383,41.7191899 L43.918746,42.6184363 C43.9159515,42.6196369 43.913157,42.6208375 43.9103625,42.6224383 C43.8640541,42.6508524 43.342286,42.9477998 42.6468612,42.4935743 C42.6468612,42.4935743 38.5517598,40.0179454 37.9796911,40.0179454 C37.9764974,40.0179454 37.9737029,40.019146 37.9705092,40.0195462 C37.9677148,40.0195462 37.9653195,40.0179454 37.9621258,40.0179454 L37.7401648,40.0179454 C37.7210027,40.0179454 37.7042358,40.0247487 37.6886666,40.0335531 C36.8447356,40.2444578 33.1244928,42.4935743 33.1244928,42.4935743 C32.4294672,42.9477998 31.9072999,42.6508524 31.8609915,42.6224383 C31.858197,42.6208375 31.8558017,42.6196369 31.852608,42.6184363 L29.7755157,41.7191899 C29.770326,41.7167887 29.0281936,41.2929783 29.0549407,41.9376983 C29.0569368,41.985322 29.4665268,47.2559384 29.4665268,47.2559384 C29.4816968,48.1847995 29.8349981,48.4489306 29.8749191,48.4757439 C29.8769152,48.4773447 29.8789112,48.4781451 29.8813065,48.4797459 L30.9819299,49.0784431 C30.9851236,49.0804441 31.5875323,49.4514282 31.8474183,49.229318 C31.8534065,49.2241154 31.8597938,49.2221144 31.865782,49.2169118 C31.9316517,49.1556814 32.3899454,48.7218661 32.7129067,48.1924033 C33.0478443,47.6429305 33.5879762,47.5925055 33.6286956,47.5893039 C33.6306917,47.5893039 33.6322885,47.5889037 33.6338854,47.5889037 L42.1374686,47.5889037 C42.1394647,47.5889037 42.1410615,47.5893039 42.1426584,47.5893039 C42.183777,47.5925055 42.7235097,47.6429305 43.0588465,48.1924033 C43.3814086,48.7218661 43.8401015,49.1556814 43.9059712,49.2169118 C43.9115602,49.2221144 43.9183467,49.2241154 43.9243349,49.229318 C44.1838217,49.4514282 44.7862304,49.0804441 44.7894241,49.0784431 L45.8904467,48.4797459 C45.892842,48.4781451 45.8944388,48.4773447 45.8968341,48.4757439 C45.9363559,48.4489306 46.2900564,48.1847995 46.3048272,47.2559384 C46.3048272,47.2559384 46.7144172,41.985322 46.7164133,41.9376983 C46.7431604,41.2929783 46.0014272,41.7167887 45.9958383,41.7191899",id:"Fill-39",fill:"#F6F6F6"}))))}},{key:"getPreparationWorkIcon",value:function(){return(0,a.h)("svg",{width:"60px",height:"63px",viewBox:"0 0 60 63",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("path",{d:"M14.4973229,0.57613464 L14.4973229,0.57613464 L14.4973229,0.57613464 C15.7389717,0.483042186 16.8213633,1.4132827 16.9159945,2.65481525 L17.018698,4.0022539 C19.48808,4.31319289 21.7290427,5.43245748 23.4489057,7.1006423 L25.501023,5.70083779 L25.501023,5.70083779 C26.5297293,4.99912951 27.9324051,5.26330879 28.6353673,6.29115865 L28.6353673,6.29115865 L28.6353673,6.29115865 C29.3374289,7.31769165 29.0743928,8.71899441 28.0478598,9.42105596 C28.0472866,9.42144796 28.0467133,9.42183969 28.0461397,9.42223115 L25.9825488,10.8307522 C26.4405558,11.9204863 26.7542672,13.0895474 26.8489064,14.3315663 C26.9441298,15.5735852 26.8121023,16.7773881 26.5246796,17.921551 L28.7834642,19.0089268 L28.7834642,19.0089268 C29.9037141,19.5482136 30.3750531,20.8932569 29.8364672,22.013844 L29.8364672,22.013844 L29.8364672,22.013844 C29.2980038,23.1341764 27.9532841,23.6058744 26.8329517,23.0674109 C26.8329218,23.0673966 26.8328919,23.0673822 26.832862,23.0673679 L24.5863286,21.9874982 C23.1386994,23.8930852 21.0940254,25.3342903 18.7011726,26.0105971 L18.8039409,27.3588855 L18.8039409,27.3588855 C18.8983997,28.5981567 17.9703459,29.6793586 16.7310746,29.7738175 C16.7302653,29.7738792 16.7294558,29.7739404 16.7286464,29.7740012 L16.7286464,29.7740012 L16.7286464,29.7740012 C15.4874259,29.8672578 14.405203,28.9376026 14.3102175,27.6965132 L14.2069792,26.3475925 C11.7381814,26.0360744 9.49780284,24.9173889 7.77677152,23.2492041 L5.7247553,24.6491485 L5.7247553,24.6491485 C4.69629315,25.350795 3.29387177,25.0868194 2.59089406,24.0592667 L2.59089406,24.0592667 L2.59089406,24.0592667 C1.88884172,23.0330667 2.15161535,21.6320413 3.17781539,20.929989 C3.1783965,20.9295914 3.17897779,20.9291942 3.17955927,20.9287972 L5.24429672,19.5190942 C4.78570555,18.4305182 4.47199414,17.260878 4.37677075,16.0182801 C4.28213156,14.7768402 4.41474327,13.5736163 4.70216601,12.4282954 L2.44258307,11.3415899 L2.44258307,11.3415899 C1.32193216,10.8026332 0.850231251,9.45736218 1.38891784,8.33658138 L1.38891784,8.33658138 L1.38891784,8.33658138 C1.92748633,7.2160463 3.27245552,6.74426916 4.39299061,7.28283765 C4.39309115,7.28288597 4.39319169,7.2829343 4.39329222,7.28298264 L6.63934858,8.36292724 C8.08697778,6.4573402 10.1310676,5.01613506 12.5250888,4.33924924 L12.421943,2.99175511 L12.421943,2.99175511 C12.3270934,1.75264107 13.254703,0.671249865 14.493817,0.576400243 C14.4949856,0.576310796 14.4961542,0.576222261 14.4973229,0.57613464 Z M8.93931474,15.8092503 C9.2097959,19.3477014 12.1663945,22.0401899 15.6592819,22.0407689 C15.8292819,22.0407689 15.9998662,22.0343996 16.1716188,22.0210819 C19.8841626,21.7431476 22.6631667,18.5104243 22.3798333,14.8005804 C22.0964999,11.0901575 18.8577362,8.30965649 15.1451924,8.58874885 C11.433817,8.86726218 8.65539715,12.0994065 8.93931474,15.8092503 Z",id:"path-1"}),(0,a.h)("linearGradient",{x1:"50%",y1:"15.6382541%",x2:"50%",y2:"140.143913%",id:"linearGradient-3"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"})),(0,a.h)("polygon",{id:"path-4",points:"0.11958422 43.4272341 39.5907306 43.4272341 39.5907306 0.274518023 0.11958422 0.274518023 0.11958422 43.4272341"}),(0,a.h)("linearGradient",{x1:"50%",y1:"-42.489415%",x2:"50%",y2:"100%",id:"linearGradient-6"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"})),(0,a.h)("path",{d:"M14.9556219,14.9517072 L14.9556219,14.9517072 L14.9556219,14.9517072 C14.4428638,15.4204211 13.6473938,15.3853707 13.1778483,14.873374 L12.2481815,13.859657 C11.1014115,14.5469654 9.74374791,14.8712221 8.36505344,14.7293598 L8.13563373,15.4494351 L8.13563373,15.4494351 C7.92518674,16.1099612 7.22061964,16.4763434 6.55902211,16.2692895 L6.55902211,16.2692895 L6.55902211,16.2692895 C5.90179748,16.0636041 5.53575255,15.3640774 5.74143789,14.7068528 C5.74207508,14.7048167 5.74271751,14.7027823 5.74336515,14.7007496 L5.97278486,13.9806742 C4.76175366,13.3124739 3.8381452,12.2736944 3.29835126,11.0588899 L1.93918358,11.3619848 L1.93918358,11.3619848 C1.26646216,11.5120019 0.599500784,11.0882663 0.449483669,10.4155449 C0.449207184,10.4143051 0.448932593,10.4130648 0.448659896,10.4118241 L0.448659896,10.4118241 L0.448659896,10.4118241 C0.30009348,9.73589873 0.726203899,9.06713019 1.40160583,8.91620181 L2.7684886,8.61075198 C2.75972571,7.9541322 2.84209686,7.2853528 3.05299038,6.62352175 C3.26329971,5.96226973 3.58343724,5.36818517 3.97134111,4.83547776 L3.03641137,3.81568872 L3.03641137,3.81568872 C2.56784991,3.30459807 2.60232663,2.51043311 3.11341728,2.04187165 C3.11391608,2.04141435 3.11441526,2.04095746 3.1149148,2.04050097 L3.1149148,2.04050097 L3.1149148,2.04050097 C3.62785783,1.57176559 4.42347869,1.60688511 4.89312629,2.11899306 L5.82264737,3.13255116 C6.96941739,2.4452428 8.32708093,2.12040709 9.7051912,2.26226938 L9.93442176,1.54300535 L9.93442176,1.54300535 C10.144983,0.882320592 10.8497253,0.515855343 11.5115146,0.722918691 L11.5115146,0.722918691 L11.5115146,0.722918691 C12.1687965,0.928571712 12.534914,1.62811864 12.329261,2.28540049 C12.3286044,2.28749903 12.3279422,2.28959583 12.3272745,2.29169086 L12.098044,3.0109549 C13.308491,3.67915528 14.2320994,4.71793472 14.7724776,5.93331824 L16.1314275,5.62996705 L16.1314275,5.62996705 C16.8040917,5.4798118 17.4711186,5.90338894 17.6212738,6.57605308 C17.6215744,6.57739973 17.6218728,6.57874688 17.6221689,6.58009452 L17.6221689,6.58009452 L17.6221689,6.58009452 C17.7707262,7.2561383 17.344428,7.92497222 16.6688758,8.07574904 L15.301756,8.38087716 C15.3111031,9.03807597 15.2281478,9.70685537 15.0178385,10.3681074 C14.8075291,11.0293594 14.4873916,11.624023 14.0994877,12.1567304 L15.0341301,13.1765398 L15.0341301,13.1765398 C15.5026777,13.6877827 15.4680664,14.4820598 14.9568235,14.9506074 C14.9564232,14.9509743 14.9560227,14.9513409 14.9556219,14.9517072 Z M9.98794041,5.50599426 C8.33525962,4.98892066 6.57041386,5.90841996 6.04464055,7.55981292 C5.51828304,9.21120588 6.43079184,10.9685613 8.08288843,11.4856349 C9.73498503,12.0027085 11.5009992,11.0837882 12.0267725,9.43239525 C12.5525458,7.78042327 11.640037,6.02306786 9.98794041,5.50599426 Z",id:"path-7"}),(0,a.h)("linearGradient",{x1:"50%",y1:"-80.5345186%",x2:"50%",y2:"100%",id:"linearGradient-9"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{transform:"translate(-1.000000, 0.000000)"},(0,a.h)("g",{id:"Group-5",transform:"translate(0.000000, 0.300516)"},(0,a.h)("mask",{id:"mask-2",fill:"white"},(0,a.h)("use",{href:"#path-1"})),(0,a.h)("g",{id:"Clip-4"}),(0,a.h)("polygon",{id:"Fill-3",fill:"url(#linearGradient-3)",mask:"url(#mask-2)",points:"-5.33017303 39.3361571 39.98915 35.933778 36.5564344 -8.9861949 -8.76288858 -5.58381586"})),(0,a.h)("g",{id:"Group-15",transform:"translate(2.920963, 19.408499)"},(0,a.h)("g",{id:"Group-8",transform:"translate(19.278355, 0.000000)"},(0,a.h)("mask",{id:"mask-5",fill:"white"},(0,a.h)("use",{href:"#path-4"})),(0,a.h)("g",{id:"Clip-7"}),(0,a.h)("path",{d:"M37.1135237,9.019334 L37.2064838,9.14183334 L37.2064838,9.14183334 C38.2080665,10.4616811 37.9500618,12.3435723 36.6302141,13.345155 C36.61783,13.3545529 36.6053729,13.3638543 36.5928442,13.3730585 L33.8385953,15.39646 C35.2500046,18.3356152 35.7167744,21.6974621 35.0303481,24.9950368 L36.8128658,25.7538381 L36.8128658,25.7538381 C38.3373407,26.402793 39.0470898,28.1647059 38.3981349,29.6891808 C38.3955936,29.6951506 38.3930329,29.7011122 38.3904529,29.7070654 L38.3491533,29.8023629 L38.3491533,29.8023629 C37.6932916,31.3157406 35.9387276,32.015813 34.4211959,31.3696211 L32.603028,30.5954129 C30.6629245,33.3591221 27.8809994,35.3382459 24.7584901,36.3469158 L25.1744593,39.7221436 L25.1744593,39.7221436 C25.3771197,41.3665568 24.2083482,42.8639059 22.563935,43.0665663 C22.5547682,43.067696 22.5455963,43.0687834 22.5364196,43.0698284 L22.3493673,43.0911291 L22.3493673,43.0911291 C20.7144126,43.277311 19.2346282,42.1117484 19.0326243,40.478673 L18.605774,37.0278548 C16.9875606,36.8894667 15.3611684,36.526415 13.7856011,35.8553195 C12.2100337,35.184803 10.8260815,34.2658827 9.60979256,33.1975728 L6.76317569,35.28773 L6.76317569,35.28773 C5.44260009,36.257376 3.58833504,35.9882559 2.59789995,34.6831997 L2.50453301,34.5601739 L2.50453301,34.5601739 C1.50290079,33.2403637 1.76083499,31.3584628 3.08064517,30.3568306 C3.09311631,30.347366 3.10566136,30.3379992 3.11827915,30.3287309 L5.87212848,28.3059291 C4.46071922,25.3661949 3.99394936,22.0043479 4.68037563,18.7067733 L2.89778102,17.9477129 L2.89778102,17.9477129 C1.37337593,17.2985941 0.663816144,15.5366049 1.31293488,14.0121998 C1.3154839,14.0062137 1.3180524,14.0002358 1.32064031,13.9942663 L1.36190542,13.8990813 L1.36190542,13.8990813 C2.01792018,12.3858712 3.77242404,11.6859973 5.28984046,12.332223 L7.10769577,13.1063972 C9.04838349,10.342688 11.8297243,8.36356417 14.9522336,7.35489428 L14.5362803,3.9797948 L14.5362803,3.9797948 C14.3336199,2.3353816 15.5023914,0.838032582 17.1468046,0.635372155 C17.1560138,0.634237206 17.1652281,0.633144989 17.1744474,0.632095537 L17.362743,0.610661354 L17.362743,0.610661354 C18.998074,0.424507426 20.4780291,1.59068713 20.679491,3.22420286 L21.1049498,6.67395525 C22.7243316,6.81292239 24.3489712,7.17539504 25.9251227,7.84649057 C27.5012743,8.51758609 28.8863949,9.4370854 30.1009312,10.5042373 L32.9487859,8.41426933 L32.9487859,8.41426933 C34.2694039,7.44510151 36.1232879,7.71443894 37.1135237,9.019334 Z M15.6894847,31.6312972 C21.0576302,33.9173068 27.2600027,31.4946462 29.5477009,26.2179477 C31.8342306,20.9412492 29.3379757,14.8122189 23.9698302,12.5267883 C18.6011004,10.2407787 12.3975595,12.6657555 10.1110298,17.942454 C7.82391586,23.2185734 10.3207549,29.3458666 15.6894847,31.6312972 Z",id:"Fill-6",fill:"url(#linearGradient-6)",mask:"url(#mask-5)"})),(0,a.h)("g",{id:"Group-14",transform:"translate(0.000000, 15.633804)"},(0,a.h)("g",{id:"Group-13"},(0,a.h)("mask",{id:"mask-8",fill:"white"},(0,a.h)("use",{href:"#path-7"})),(0,a.h)("g",{id:"Clip-12"}),(0,a.h)("polygon",{id:"Fill-11",fill:"url(#linearGradient-9)",mask:"url(#mask-8)",points:"-10.0293597 16.6790689 14.1007145 24.2301963 21.7191699 0.312791892 -2.41090433 -7.23833558"})))))))}},{key:"getAppIcon",value:function(){return(0,a.h)("svg",{width:"64px",height:"64px",viewBox:"0 0 64 64",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"linearGradient-1"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{id:"Group-21"},(0,a.h)("path",{d:"M16,10 C16,11.106 16.896,12 18,12 C19.104,12 20,11.106 20,10 C20,8.896 19.104,8 18,8 C16.896,8 16,8.896 16,10 Z M24,10 C24,11.106 24.896,12 26,12 C27.104,12 28,11.106 28,10 C28,8.896 27.104,8 26,8 C24.896,8 24,8.896 24,10 Z M56,60 L8,60 C5.792,60 4,58.208 4,56 L4,18 L60,18 L60,56 C60,58.208 58.208,60 56,60 Z M8,0 C3.582,0 0,3.582 0,8 L0,56 C0,60.418 3.582,64 8,64 L56,64 C60.418,64 64,60.418 64,56 L64,16 C64,11.582 60.418,8 56,8 L43.4909668,8 C33.5795898,8 38.9165039,0 28.5126953,0 L8,0 Z M8,10 C8,11.106 8.896,12 10,12 C11.104,12 12,11.106 12,10 C12,8.896 11.104,8 10,8 C8.896,8 8,8.896 8,10 Z",id:"Fill-109",fill:"url(#linearGradient-1)"}),(0,a.h)("path",{d:"M15.2918884,33.9521484 L17.6908142,33.9521484 L19.0687439,40.4682617 L20.4798767,33.9521484 L22.9452087,33.9521484 L20.3221619,43 L17.8900329,43 L16.4705994,36.4091797 L15.0345642,43 L12.5775329,43 L10.0374939,33.9521484 L12.5775329,33.9521484 L13.9886658,40.4433594 L15.2918884,33.9521484 Z M30.0110331,33.9521484 L32.4099589,33.9521484 L33.7878886,40.4682617 L35.1990214,33.9521484 L37.6643534,33.9521484 L35.0413066,43 L32.6091776,43 L31.1897441,36.4091797 L29.7537089,43 L27.2966776,43 L24.7566386,33.9521484 L27.2966776,33.9521484 L28.7078105,40.4433594 L30.0110331,33.9521484 Z M44.7301778,33.9521484 L47.1291036,33.9521484 L48.5070333,40.4682617 L49.9181661,33.9521484 L52.3834981,33.9521484 L49.7604513,43 L47.3283224,43 L45.9088888,36.4091797 L44.4728536,43 L42.0158224,43 L39.4757833,33.9521484 L42.0158224,33.9521484 L43.4269552,40.4433594 L44.7301778,33.9521484 Z",id:"www",fill:"#5C606C"}))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=n(14),u=function(e){return e&&e.__esModule?e:{default:e}}(l);n(21);var c=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return this.props.collapsed?this.renderCollapsed():this.renderExpanded()}},{key:"renderCollapsed",value:function(){return(0,a.h)("div",{className:"system-components collapsed"},"...")}},{key:"renderExpanded",value:function(){return(0,a.h)("div",{className:"system-components row"},(0,a.h)("div",{className:"col-sm-3"},(0,a.h)(u.default,{type:"APP_SERVER",status:"WORKING"},this.props.spec.short_program_name," ",(0,a.h)("br",{class:"hidden-xs"}),"application server")),(0,a.h)("div",{className:"col-sm-1"},this.buildDivider()),(0,a.h)("div",{className:"col-sm-4"},(0,a.h)(u.default,{type:"PREPARATION_WORK",status:this.getPreparationWorkStatus()},"Preparation work"," ",(0,a.h)("br",{class:"hidden-xs"}),"before executing the app")),(0,a.h)("div",{className:"col-sm-1"},this.buildDivider()),(0,a.h)("div",{className:"col-sm-3"},(0,a.h)(u.default,{type:"APP",status:this.getWebAppStatus()},"Web"," ",(0,a.h)("br",{class:"hidden-xs"}),"application")))}},{key:"getGeneralSystemStatus",value:function(){var e=this.props.spec.journey;return e.steps.SUBPROCESS_APP_LOAD_OR_EXEC&&"STEP_ERRORED"===e.steps.SUBPROCESS_APP_LOAD_OR_EXEC.state?"app-error":e.steps.SUBPROCESS_LISTEN&&"STEP_ERRORED"===e.steps.SUBPROCESS_LISTEN.state?"app-error":"preparation-error"}},{key:"getPreparationWorkStatus",value:function(){return"app-error"===this.getGeneralSystemStatus()?"DONE":"ERROR"}},{key:"getWebAppStatus",value:function(){return"app-error"===this.getGeneralSystemStatus()?"ERROR":"NOT_REACHED"}},{key:"buildDivider",value:function(){return(0,a.h)("div",{className:"divider"},(0,a.h)("span",{className:"glyphicon glyphicon-menu-right hidden-xs","aria-hidden":"true"}),(0,a.h)("div",{className:"visible-xs"}))}}]),t}(a.Component);t.default=c},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};/*!
|
25
25
|
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
26
26
|
* Copyright 2011-2017 Twitter, Inc.
|
27
27
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
@@ -30,7 +30,7 @@ class GetHelpView extends Component {
|
|
30
30
|
<p>
|
31
31
|
If you are a
|
32
32
|
{' '}
|
33
|
-
<a href="https://www.phusionpassenger.com/
|
33
|
+
<a href="https://www.phusionpassenger.com/features#premium-features">Passenger Enterprise</a>
|
34
34
|
{' '}
|
35
35
|
customer, then you are eligible for
|
36
36
|
basic priority support.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Rails asset pipeline & webpacker support.
|
2
|
-
location ~ "^/(assets|packs)/.+-([0-9a-f]{32}|[0-9a-f]{64}|[0-9a-f]{20})\..+" {
|
2
|
+
location ~ "^/(assets|packs)/.+-([0-9a-f]{32}|[0-9a-f]{64}|[0-9a-f]{20}|[0-9a-f]{8})\..+" {
|
3
3
|
error_page 490 = @static_asset;
|
4
4
|
error_page 491 = @dynamic_request;
|
5
5
|
recursive_error_pages on;
|
@@ -243,6 +243,7 @@ Group::inspectConfigInAdminPanelFormat(Json::Value &result) const {
|
|
243
243
|
result["max_processes"] = VAL(options.maxProcesses, 0u);
|
244
244
|
result["environment"] = SVAL(options.environment); // TODO: default value depends on integration mode
|
245
245
|
result["spawn_method"] = SVAL(options.spawnMethod, DEFAULT_SPAWN_METHOD);
|
246
|
+
result["bind_address"] = SVAL(options.bindAddress, DEFAULT_BIND_ADDRESS);
|
246
247
|
result["start_timeout"] = VAL(options.startTimeout / 1000.0, DEFAULT_START_TIMEOUT / 1000.0);
|
247
248
|
result["max_preloader_idle_time"] = VAL((Json::UInt) options.maxPreloaderIdleTime,
|
248
249
|
(Json::UInt) DEFAULT_MAX_PRELOADER_IDLE_TIME);
|
@@ -231,7 +231,6 @@ void processAndLogNewSpawnException(SpawningKit::SpawnException &e, const Option
|
|
231
231
|
hOptions.environment.push_back(make_pair("PASSENGER_APP_GROUP_NAME", options.getAppGroupName()));
|
232
232
|
hOptions.environment.push_back(make_pair("PASSENGER_ERROR_MESSAGE", e.what()));
|
233
233
|
hOptions.environment.push_back(make_pair("PASSENGER_ERROR_ID", errorId));
|
234
|
-
hOptions.environment.push_back(make_pair("PASSENGER_ERROR_PAGE", errorPage));
|
235
234
|
oxt::thread(boost::bind(runHookScripts, hOptions),
|
236
235
|
"Hook: spawn_failed", 256 * 1024);
|
237
236
|
}
|
@@ -92,6 +92,7 @@ private:
|
|
92
92
|
result.push_back(&options.environment);
|
93
93
|
result.push_back(&options.baseURI);
|
94
94
|
result.push_back(&options.spawnMethod);
|
95
|
+
result.push_back(&options.bindAddress);
|
95
96
|
|
96
97
|
result.push_back(&options.user);
|
97
98
|
result.push_back(&options.group);
|
@@ -230,6 +231,12 @@ public:
|
|
230
231
|
*/
|
231
232
|
StaticString spawnMethod;
|
232
233
|
|
234
|
+
/**
|
235
|
+
* The address that Passenger binds to in order to allow sending HTTP
|
236
|
+
* requests to individual application processes.
|
237
|
+
*/
|
238
|
+
StaticString bindAddress;
|
239
|
+
|
233
240
|
/** See overview. */
|
234
241
|
StaticString user;
|
235
242
|
/** See class overview. */
|
@@ -442,6 +449,7 @@ public:
|
|
442
449
|
environment(DEFAULT_APP_ENV, sizeof(DEFAULT_APP_ENV) - 1),
|
443
450
|
baseURI("/", 1),
|
444
451
|
spawnMethod(DEFAULT_SPAWN_METHOD, sizeof(DEFAULT_SPAWN_METHOD) - 1),
|
452
|
+
bindAddress(DEFAULT_BIND_ADDRESS, sizeof(DEFAULT_BIND_ADDRESS) - 1),
|
445
453
|
defaultUser(PASSENGER_DEFAULT_USER, sizeof(PASSENGER_DEFAULT_USER) - 1),
|
446
454
|
lveMinUid(DEFAULT_LVE_MIN_UID),
|
447
455
|
integrationMode(DEFAULT_INTEGRATION_MODE, sizeof(DEFAULT_INTEGRATION_MODE) - 1),
|
@@ -569,6 +577,7 @@ public:
|
|
569
577
|
appendKeyValue (vec, "environment", environment);
|
570
578
|
appendKeyValue (vec, "base_uri", baseURI);
|
571
579
|
appendKeyValue (vec, "spawn_method", spawnMethod);
|
580
|
+
appendKeyValue (vec, "bind_address", bindAddress);
|
572
581
|
appendKeyValue (vec, "user", user);
|
573
582
|
appendKeyValue (vec, "group", group);
|
574
583
|
appendKeyValue (vec, "default_user", defaultUser);
|
data/src/agent/Core/Config.h
CHANGED
@@ -116,6 +116,7 @@ using namespace std;
|
|
116
116
|
* controller_threads unsigned integer - default,read_only
|
117
117
|
* default_abort_websockets_on_process_shutdown boolean - default(true)
|
118
118
|
* default_app_file_descriptor_ulimit unsigned integer - -
|
119
|
+
* default_bind_address string - default("127.0.0.1")
|
119
120
|
* default_environment string - default("production")
|
120
121
|
* default_force_max_concurrent_requests_per_process integer - default(-1)
|
121
122
|
* default_friendly_error_pages string - default("auto")
|
@@ -163,7 +164,7 @@ using namespace std;
|
|
163
164
|
* security_update_checker_interval unsigned integer - default(86400)
|
164
165
|
* security_update_checker_proxy_url string - -
|
165
166
|
* security_update_checker_url string - default("https://securitycheck.phusionpassenger.com/v1/check.json")
|
166
|
-
* server_software string - default("Phusion_Passenger/6.0.
|
167
|
+
* server_software string - default("Phusion_Passenger/6.0.7")
|
167
168
|
* show_version_in_header boolean - default(true)
|
168
169
|
* single_app_mode_app_root string - default,read_only
|
169
170
|
* single_app_mode_app_start_command string - read_only
|
@@ -87,6 +87,7 @@ parseControllerBenchmarkMode(const StaticString &mode) {
|
|
87
87
|
* client_freelist_limit unsigned integer - default(0)
|
88
88
|
* default_abort_websockets_on_process_shutdown boolean - default(true)
|
89
89
|
* default_app_file_descriptor_ulimit unsigned integer - -
|
90
|
+
* default_bind_address string - default("127.0.0.1")
|
90
91
|
* default_environment string - default("production")
|
91
92
|
* default_force_max_concurrent_requests_per_process integer - default(-1)
|
92
93
|
* default_friendly_error_pages string - default("auto")
|
@@ -114,7 +115,7 @@ parseControllerBenchmarkMode(const StaticString &mode) {
|
|
114
115
|
* multi_app boolean - default(true),read_only
|
115
116
|
* request_freelist_limit unsigned integer - default(1024)
|
116
117
|
* response_buffer_high_watermark unsigned integer - default(134217728)
|
117
|
-
* server_software string - default("Phusion_Passenger/6.0.
|
118
|
+
* server_software string - default("Phusion_Passenger/6.0.7")
|
118
119
|
* show_version_in_header boolean - default(true)
|
119
120
|
* start_reading_after_accept boolean - default(true)
|
120
121
|
* stat_throttle_rate unsigned integer - default(10)
|
@@ -162,6 +163,7 @@ private:
|
|
162
163
|
add("default_friendly_error_pages", STRING_TYPE, OPTIONAL, "auto");
|
163
164
|
add("default_environment", STRING_TYPE, OPTIONAL, DEFAULT_APP_ENV);
|
164
165
|
add("default_spawn_method", STRING_TYPE, OPTIONAL, DEFAULT_SPAWN_METHOD);
|
166
|
+
add("default_bind_address", STRING_TYPE, OPTIONAL, DEFAULT_BIND_ADDRESS);
|
165
167
|
add("default_load_shell_envvars", BOOL_TYPE, OPTIONAL, false);
|
166
168
|
add("default_meteor_app_settings", STRING_TYPE, OPTIONAL);
|
167
169
|
add("default_app_file_descriptor_ulimit", UINT_TYPE, OPTIONAL);
|
@@ -427,6 +429,7 @@ public:
|
|
427
429
|
StaticString defaultFriendlyErrorPages;
|
428
430
|
StaticString defaultEnvironment;
|
429
431
|
StaticString defaultSpawnMethod;
|
432
|
+
StaticString defaultBindAddress;
|
430
433
|
StaticString defaultMeteorAppSettings;
|
431
434
|
unsigned int defaultAppFileDescriptorUlimit;
|
432
435
|
unsigned int defaultMinInstances;
|
@@ -460,6 +463,7 @@ public:
|
|
460
463
|
defaultFriendlyErrorPages(psg_pstrdup(pool, config["default_friendly_error_pages"].asString())),
|
461
464
|
defaultEnvironment(psg_pstrdup(pool, config["default_environment"].asString())),
|
462
465
|
defaultSpawnMethod(psg_pstrdup(pool, config["default_spawn_method"].asString())),
|
466
|
+
defaultBindAddress(psg_pstrdup(pool, config["default_bind_address"].asString())),
|
463
467
|
defaultMeteorAppSettings(psg_pstrdup(pool, config["default_meteor_app_settings"].asString())),
|
464
468
|
defaultAppFileDescriptorUlimit(config["default_app_file_descriptor_ulimit"].asUInt()),
|
465
469
|
defaultMinInstances(config["default_min_instances"].asUInt()),
|
@@ -200,6 +200,7 @@ Controller::fillPoolOptionsFromConfigCaches(Options &options,
|
|
200
200
|
options.forceMaxConcurrentRequestsPerProcess = requestConfig->defaultForceMaxConcurrentRequestsPerProcess;
|
201
201
|
options.environment = requestConfig->defaultEnvironment;
|
202
202
|
options.spawnMethod = requestConfig->defaultSpawnMethod;
|
203
|
+
options.bindAddress = requestConfig->defaultBindAddress;
|
203
204
|
options.loadShellEnvvars = requestConfig->defaultLoadShellEnvvars;
|
204
205
|
options.statThrottleRate = mainConfig.statThrottleRate;
|
205
206
|
options.maxRequests = requestConfig->defaultMaxRequests;
|
@@ -367,6 +368,7 @@ Controller::createNewPoolOptions(Client *client, Request *req,
|
|
367
368
|
fillPoolOption(req, options.group, "!~PASSENGER_GROUP");
|
368
369
|
fillPoolOption(req, options.minProcesses, "!~PASSENGER_MIN_PROCESSES");
|
369
370
|
fillPoolOption(req, options.spawnMethod, "!~PASSENGER_SPAWN_METHOD");
|
371
|
+
fillPoolOption(req, options.bindAddress, "!~PASSENGER_DIRECT_INSTANCE_REQUEST_ADDRESS");
|
370
372
|
fillPoolOption(req, options.appStartCommand, "!~PASSENGER_APP_START_COMMAND");
|
371
373
|
fillPoolOptionSecToMsec(req, options.startTimeout, "!~PASSENGER_START_TIMEOUT");
|
372
374
|
fillPoolOption(req, options.maxPreloaderIdleTime, "!~PASSENGER_MAX_PRELOADER_IDLE_TIME");
|
@@ -251,6 +251,17 @@ public:
|
|
251
251
|
*/
|
252
252
|
StaticString spawnMethod;
|
253
253
|
|
254
|
+
/**
|
255
|
+
* The address that Passenger binds to in order to allow sending HTTP
|
256
|
+
* requests to individual application processes.
|
257
|
+
*
|
258
|
+
* @hinted_parseable
|
259
|
+
* @require_non_empty
|
260
|
+
* @pass_during_handshake
|
261
|
+
* @non_confidential
|
262
|
+
*/
|
263
|
+
StaticString bindAddress;
|
264
|
+
|
254
265
|
/**
|
255
266
|
* The base URI on which the app runs. If the app is running on the
|
256
267
|
* root URI, then this value must be "/".
|
@@ -51,6 +51,7 @@ Passenger::SpawningKit::Config::internStrings() {
|
|
51
51
|
totalSize += appType.size() + 1;
|
52
52
|
totalSize += appEnv.size() + 1;
|
53
53
|
totalSize += spawnMethod.size() + 1;
|
54
|
+
totalSize += bindAddress.size() + 1;
|
54
55
|
totalSize += baseURI.size() + 1;
|
55
56
|
totalSize += user.size() + 1;
|
56
57
|
totalSize += group.size() + 1;
|
@@ -90,6 +91,8 @@ Passenger::SpawningKit::Config::internStrings() {
|
|
90
91
|
pos = appendData(pos, end, "\0", 1);
|
91
92
|
pos = appendData(pos, end, spawnMethod);
|
92
93
|
pos = appendData(pos, end, "\0", 1);
|
94
|
+
pos = appendData(pos, end, bindAddress);
|
95
|
+
pos = appendData(pos, end, "\0", 1);
|
93
96
|
pos = appendData(pos, end, baseURI);
|
94
97
|
pos = appendData(pos, end, "\0", 1);
|
95
98
|
pos = appendData(pos, end, user);
|
@@ -147,6 +150,10 @@ Passenger::SpawningKit::Config::internStrings() {
|
|
147
150
|
spawnMethod = StaticString(pos, tmpSize);
|
148
151
|
pos += tmpSize + 1;
|
149
152
|
|
153
|
+
tmpSize = bindAddress.size();
|
154
|
+
bindAddress = StaticString(pos, tmpSize);
|
155
|
+
pos += tmpSize + 1;
|
156
|
+
|
150
157
|
tmpSize = baseURI.size();
|
151
158
|
baseURI = StaticString(pos, tmpSize);
|
152
159
|
pos += tmpSize + 1;
|
@@ -221,6 +228,10 @@ Passenger::SpawningKit::Config::validate(vector<StaticString> &errors) const {
|
|
221
228
|
ok = false;
|
222
229
|
errors.push_back(P_STATIC_STRING("spawn_method may not be empty"));
|
223
230
|
}
|
231
|
+
if (OXT_UNLIKELY(bindAddress.empty())) {
|
232
|
+
ok = false;
|
233
|
+
errors.push_back(P_STATIC_STRING("bind_address may not be empty"));
|
234
|
+
}
|
224
235
|
if (OXT_UNLIKELY(baseURI.empty())) {
|
225
236
|
ok = false;
|
226
237
|
errors.push_back(P_STATIC_STRING("base_uri may not be empty"));
|
@@ -287,6 +298,7 @@ Passenger::SpawningKit::Config::getConfidentialFieldsToPassToApp() const {
|
|
287
298
|
doc["app_type"] = appType.toString();
|
288
299
|
doc["app_env"] = appEnv.toString();
|
289
300
|
doc["spawn_method"] = spawnMethod.toString();
|
301
|
+
doc["bind_address"] = bindAddress.toString();
|
290
302
|
doc["base_uri"] = baseURI.toString();
|
291
303
|
doc["user"] = user.toString();
|
292
304
|
doc["group"] = group.toString();
|
@@ -340,6 +352,7 @@ Passenger::SpawningKit::Config::getNonConfidentialFieldsToPassToApp() const {
|
|
340
352
|
doc["app_type"] = appType.toString();
|
341
353
|
doc["app_env"] = appEnv.toString();
|
342
354
|
doc["spawn_method"] = spawnMethod.toString();
|
355
|
+
doc["bind_address"] = bindAddress.toString();
|
343
356
|
doc["base_uri"] = baseURI.toString();
|
344
357
|
doc["user"] = user.toString();
|
345
358
|
doc["group"] = group.toString();
|
data/src/agent/Watchdog/Config.h
CHANGED
@@ -103,6 +103,7 @@ using namespace std;
|
|
103
103
|
* daemonize boolean - default(false)
|
104
104
|
* default_abort_websockets_on_process_shutdown boolean - default(true)
|
105
105
|
* default_app_file_descriptor_ulimit unsigned integer - -
|
106
|
+
* default_bind_address string - default("127.0.0.1")
|
106
107
|
* default_environment string - default("production")
|
107
108
|
* default_force_max_concurrent_requests_per_process integer - default(-1)
|
108
109
|
* default_friendly_error_pages string - default("auto")
|
@@ -152,7 +153,7 @@ using namespace std;
|
|
152
153
|
* security_update_checker_interval unsigned integer - default(86400)
|
153
154
|
* security_update_checker_proxy_url string - -
|
154
155
|
* security_update_checker_url string - default("https://securitycheck.phusionpassenger.com/v1/check.json")
|
155
|
-
* server_software string - default("Phusion_Passenger/6.0.
|
156
|
+
* server_software string - default("Phusion_Passenger/6.0.7")
|
156
157
|
* setsid boolean - default(false)
|
157
158
|
* show_version_in_header boolean - default(true)
|
158
159
|
* single_app_mode_app_root string - default,read_only
|
@@ -183,7 +183,7 @@ static const char *
|
|
183
183
|
cmd_passenger_enterprise_only(cmd_parms *cmd, void *pcfg, const char *arg) {
|
184
184
|
return "this feature is only available in Phusion Passenger Enterprise. "
|
185
185
|
"You are currently running the open source Phusion Passenger Enterprise. "
|
186
|
-
"Please learn more about and/or buy Phusion Passenger Enterprise at https://www.phusionpassenger.com/
|
186
|
+
"Please learn more about and/or buy Phusion Passenger Enterprise at https://www.phusionpassenger.com/features#premium-features";
|
187
187
|
}
|
188
188
|
|
189
189
|
static const char *
|